From 104d3946a9617e1c887a904af9975a3f347476a0 Mon Sep 17 00:00:00 2001 From: Reng van Oord Date: Mon, 2 Oct 2023 15:54:37 +0200 Subject: [PATCH] Fixed checking for 200 response code --- .../BccCode.Tripletex.Client.csproj | 8 +- .../TripletexClientGenerated.cs | 23783 +++++++++------- 2 files changed, 13121 insertions(+), 10670 deletions(-) diff --git a/BccCode.Tripletex.Client/BccCode.Tripletex.Client.csproj b/BccCode.Tripletex.Client/BccCode.Tripletex.Client.csproj index 01003fe..61d6b55 100644 --- a/BccCode.Tripletex.Client/BccCode.Tripletex.Client.csproj +++ b/BccCode.Tripletex.Client/BccCode.Tripletex.Client.csproj @@ -6,6 +6,10 @@ Debug;Release;Generate + + + + @@ -201,8 +205,10 @@ - + + + diff --git a/BccCode.Tripletex.Client/TripletexClientGenerated.cs b/BccCode.Tripletex.Client/TripletexClientGenerated.cs index 5b159e2..aacf627 100644 --- a/BccCode.Tripletex.Client/TripletexClientGenerated.cs +++ b/BccCode.Tripletex.Client/TripletexClientGenerated.cs @@ -419,6 +419,24 @@ public partial interface ITripletexClient /// A server side error occurred. System.Threading.Tasks.Task CloseBankReconciliationAsync(int accountId, string start = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Get the last banking day + /// + /// Fields filter pattern + /// successful operation + /// A server side error occurred. + System.Threading.Tasks.Task GetBankReconciliationPreviousBankingDayAsync(string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Get all unmatched transactions in csv format + /// + /// ID for reconciliation + /// successful operation + /// A server side error occurred. + System.Threading.Tasks.Task GetBankReconciliationTransactionsUnmatchedcsvAsync(int? reconciliationId = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// Get bank reconciliation match by ID. @@ -658,17 +676,6 @@ public partial interface ITripletexClient /// A server side error occurred. System.Threading.Tasks.Task GetBankStatementTransactionDetailsAsync(int id, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// Check if any of the employee ids requires level 4 authorizations to make changes - /// - /// List of IDs - /// List of IDs - /// Fields filter pattern - /// successful operation - /// A server side error occurred. - System.Threading.Tasks.Task AccountantClientAccessRequiresLevel4Authorization_getRequiresLevel4AuthorizationAsync(string customerIds = null, string employeeIds = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// Get consumer token by token string. @@ -1143,13 +1150,14 @@ public partial interface ITripletexClient /// /// Get divisions. /// + /// Containing /// From index /// Number of elements to return /// Sorting pattern /// Fields filter pattern /// successful operation /// A server side error occurred. - System.Threading.Tasks.Task GetDivisionsAsync(int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task GetDivisionsAsync(string query = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -1219,7 +1227,7 @@ public partial interface ITripletexClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Find documents archived associated with project object type. + /// [BETA] Find documents archived associated with customer object type. /// /// Element ID /// From and including @@ -1230,17 +1238,17 @@ public partial interface ITripletexClient /// Fields filter pattern /// successful operation /// A server side error occurred. - System.Threading.Tasks.Task GetDocumentArchiveProjectAsync(int id, string periodDateFrom = null, string periodDateTo = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task GetDocumentArchiveCustomerAsync(int id, string periodDateFrom = null, string periodDateTo = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Upload file to Project Document Archive. + /// [BETA] Upload file to Customer Document Archive. /// /// The file /// Element ID /// successfully created /// A server side error occurred. - System.Threading.Tasks.Task GetDocumentArchiveProjectAsync(FileParameter file, int id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task GetDocumentArchiveCustomerAsync(FileParameter file, int id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -1253,7 +1261,7 @@ public partial interface ITripletexClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Find documents archived associated with customer object type. + /// [BETA] Find documents archived associated with project object type. /// /// Element ID /// From and including @@ -1264,17 +1272,17 @@ public partial interface ITripletexClient /// Fields filter pattern /// successful operation /// A server side error occurred. - System.Threading.Tasks.Task GetDocumentArchiveCustomerAsync(int id, string periodDateFrom = null, string periodDateTo = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task GetDocumentArchiveProjectAsync(int id, string periodDateFrom = null, string periodDateTo = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Upload file to Customer Document Archive. + /// [BETA] Upload file to Project Document Archive. /// /// The file /// Element ID /// successfully created /// A server side error occurred. - System.Threading.Tasks.Task GetDocumentArchiveCustomerAsync(FileParameter file, int id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task GetDocumentArchiveProjectAsync(FileParameter file, int id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -1474,13 +1482,16 @@ public partial interface ITripletexClient /// Containing /// Containing /// Equals + /// Equals + /// Equals + /// Equals /// Fields filter pattern /// From index /// Number of elements to return /// Sorting pattern /// successful operation /// A server side error occurred. - System.Threading.Tasks.Task GetEmployeeSearchForEmployeesAndContactsAsync(string id = null, string firstName = null, string lastName = null, string email = null, bool? includeContacts = null, string fields = null, int? from = null, int? count = null, string sorting = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task GetEmployeeSearchForEmployeesAndContactsAsync(string id = null, string firstName = null, string lastName = null, string email = null, bool? includeContacts = null, bool? isInactive = null, bool? hasSystemAccess = null, bool? excludeReadOnly = null, string fields = null, int? from = null, int? count = null, string sorting = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -1518,13 +1529,14 @@ public partial interface ITripletexClient /// List of IDs /// Containing /// List of IDs + /// Containing /// From index /// Number of elements to return /// Sorting pattern /// Fields filter pattern /// successful operation /// A server side error occurred. - System.Threading.Tasks.Task GetEmployeeCategoriesAsync(string id = null, string name = null, string number = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task GetEmployeeCategoriesAsync(string id = null, string name = null, string number = null, string query = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -1660,20 +1672,19 @@ public partial interface ITripletexClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Find all maritime employment type IDs. + /// Find all salary type IDs. /// - /// maritimeEmploymentType /// From index /// Number of elements to return /// Sorting pattern /// Fields filter pattern /// successful operation /// A server side error occurred. - System.Threading.Tasks.Task GetEmploymentMaritimeEmploymentTypeAsync(Type type, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task GetEmploymentSalaryTypeAsync(int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Find all salary type IDs. + /// Find all schedule type IDs. /// /// From index /// Number of elements to return @@ -1681,11 +1692,11 @@ public partial interface ITripletexClient /// Fields filter pattern /// successful operation /// A server side error occurred. - System.Threading.Tasks.Task GetEmploymentSalaryTypeAsync(int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task GetEmploymentScheduleTypeAsync(int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Find all schedule type IDs. + /// Find all employment form type IDs. /// /// From index /// Number of elements to return @@ -1693,11 +1704,11 @@ public partial interface ITripletexClient /// Fields filter pattern /// successful operation /// A server side error occurred. - System.Threading.Tasks.Task GetEmploymentScheduleTypeAsync(int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task GetEmploymentFormTypeAsync(int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Find all employment form type IDs. + /// Find all employment end reason type IDs. /// /// From index /// Number of elements to return @@ -1705,19 +1716,20 @@ public partial interface ITripletexClient /// Fields filter pattern /// successful operation /// A server side error occurred. - System.Threading.Tasks.Task GetEmploymentFormTypeAsync(int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task GetEmploymentEndReasonTypeAsync(int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Find all employment end reason type IDs. + /// Find all maritime employment type IDs. /// + /// maritimeEmploymentType /// From index /// Number of elements to return /// Sorting pattern /// Fields filter pattern /// successful operation /// A server side error occurred. - System.Threading.Tasks.Task GetEmploymentEndReasonTypeAsync(int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task GetEmploymentMaritimeEmploymentTypeAsync(Type type, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -1876,16 +1888,6 @@ public partial interface ITripletexClient /// A server side error occurred. System.Threading.Tasks.Task AddEmployeeHourlyCostAndRateAsync(HourlyCostAndRate body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// [BETA] Get employee login info. - /// - /// Element ID - /// Fields filter pattern - /// successful operation - /// A server side error occurred. - System.Threading.Tasks.Task GetEmployeeLogininfoAsync(int id, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// Find next of kin by ID. @@ -3112,17 +3114,6 @@ public partial interface ITripletexClient /// A server side error occurred. System.Threading.Tasks.Task UpdateLedgerVoucherListAsync(bool? sendToLedger = null, System.Collections.Generic.IEnumerable body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// Upload a document to create one or more vouchers. Valid document formats are PDF, PNG, JPEG and TIFF. Send as multipart form. - /// - /// The file - /// Optional description to use for the voucher(s). If omitted the file name will be used. - /// If the document consists of several pages, should the document be split into one voucher per page? - /// successfully created - /// A server side error occurred. - System.Threading.Tasks.Task ImportLedgerVoucherAsync(FileParameter file, string description = null, bool? split = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// Get PDF representation of voucher by ID. @@ -3132,17 +3123,6 @@ public partial interface ITripletexClient /// A server side error occurred. System.Threading.Tasks.Task DownloadLedgerVoucherPdfAsync(int voucherId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// Send voucher to ledger. - /// - /// ID of voucher that should be sent to ledger. - /// Version of voucher that should be sent to ledger. - /// Voucher number to use. If omitted or 0 the system will assign the number. - /// successful operation - /// A server side error occurred. - System.Threading.Tasks.Task SendLedgerVoucherToLedgerAsync(int id, int? version = null, int? number = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// Upload attachment to voucher. If the voucher already has an attachment the content will be appended to the existing attachment as new PDF page(s). Valid document formats are PDF, PNG, JPEG and TIFF. Non PDF formats will be converted to PDF. Send as multipart form. @@ -3176,6 +3156,28 @@ public partial interface ITripletexClient /// A server side error occurred. System.Threading.Tasks.Task SendLedgerVoucherToInboxAsync(int id, int? version = null, string comment = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Send voucher to ledger. + /// + /// ID of voucher that should be sent to ledger. + /// Version of voucher that should be sent to ledger. + /// Voucher number to use. If omitted or 0 the system will assign the number. + /// successful operation + /// A server side error occurred. + System.Threading.Tasks.Task SendLedgerVoucherToLedgerAsync(int id, int? version = null, int? number = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Upload a document to create one or more vouchers. Valid document formats are PDF, PNG, JPEG and TIFF. Send as multipart form. + /// + /// The file + /// Optional description to use for the voucher(s). If omitted the file name will be used. + /// If the document consists of several pages, should the document be split into one voucher per page? + /// successfully created + /// A server side error occurred. + System.Threading.Tasks.Task ImportLedgerVoucherAsync(FileParameter file, string description = null, bool? split = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// Find non-posted vouchers. @@ -3349,24 +3351,6 @@ public partial interface ITripletexClient /// A server side error occurred. System.Threading.Tasks.Task GetSubscriptionPackagesAsync(string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// Returns the invoice history for an account. - /// - /// Fields filter pattern - /// successful operation - /// A server side error occurred. - System.Threading.Tasks.Task GetSubscriptionInvoiceHistoryAsync(string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// Returns the additional order lines for an account. - /// - /// Fields filter pattern - /// successful operation - /// A server side error occurred. - System.Threading.Tasks.Task GetSubscriptionAdditionalOrderLinesAsync(string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// Returns the services that are available for an account. @@ -3391,10 +3375,11 @@ public partial interface ITripletexClient /// Update order. /// /// Element ID + /// Should order lines and order groups be saved and not included lines/groups be removed? Only applies if non null list of order lines or order groups is set. /// Partial object describing what should be updated /// successful operation /// A server side error occurred. - System.Threading.Tasks.Task UpdateOrderAsync(int id, Order body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task UpdateOrderAsync(int id, bool? updateLinesAndGroups = null, Order body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -3508,7 +3493,7 @@ public partial interface ITripletexClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [Beta] Get orderGroup by ID. A orderGroup is a way to group orderLines, and add comments and subtotals + /// Get orderGroup by ID. A orderGroup is a way to group orderLines, and add comments and subtotals /// /// Element ID /// Fields filter pattern @@ -3518,7 +3503,7 @@ public partial interface ITripletexClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [Beta] Delete orderGroup by ID. + /// Delete orderGroup by ID. /// /// Element ID /// successful operation @@ -3527,7 +3512,7 @@ public partial interface ITripletexClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Find orderGroups corresponding with sent data. + /// Find orderGroups corresponding with sent data. /// /// List of IDs /// List of IDs @@ -3544,7 +3529,7 @@ public partial interface ITripletexClient /// [Beta] Post orderGroup. /// /// JSON representing the new object to be created. Should not have ID and version set. - /// List of IDs + /// Deprecated. Put order lines in the dto instead. /// successfully created /// A server side error occurred. System.Threading.Tasks.Task AddOrderOrderGroupAsync(OrderGroup body = null, string orderLineIds = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -3554,8 +3539,8 @@ public partial interface ITripletexClient /// [Beta] Put orderGroup. /// /// JSON representing the new object to be created. Should not have ID and version set. - /// List of IDs - /// Should existing orderLines be removed from this orderGroup + /// Deprecated. Put order lines in the dto instead. + /// Deprecated. Should existing orderLines be removed from this orderGroup. This will always happen if orderLineIds is not empty. /// successful operation /// A server side error occurred. System.Threading.Tasks.Task UpdateOrderOrderGroupAsync(OrderGroup body = null, string orderLineIds = null, bool? removeExistingOrderLines = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); @@ -3607,6 +3592,17 @@ public partial interface ITripletexClient /// A server side error occurred. System.Threading.Tasks.Task AddOrderOrderlineListAsync(System.Collections.Generic.IEnumerable body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// [BETA] Get order line template from order and product + /// + /// Equals + /// Equals + /// Fields filter pattern + /// successful operation + /// A server side error occurred. + System.Threading.Tasks.Task GetOrderOrderlineOrderLineTemplateAsync(int orderId, int productId, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// [BETA] Get external product by ID. @@ -4273,7 +4269,7 @@ public partial interface ITripletexClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Add new project. + /// Add new project. /// /// JSON representing the new object to be created. Should not have ID and version set. /// successfully created @@ -4449,6 +4445,17 @@ public partial interface ITripletexClient /// A server side error occurred. System.Threading.Tasks.Task AddProjectOrderlineListAsync(System.Collections.Generic.IEnumerable body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// [BETA] Get order line template from project and product + /// + /// Equals + /// Equals + /// Fields filter pattern + /// successful operation + /// A server side error occurred. + System.Threading.Tasks.Task GetProjectOrderlineOrderLineTemplateAsync(int projectId, int productId, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// [BETA] Find project participant by ID. @@ -4839,14 +4846,14 @@ public partial interface ITripletexClient /// /// Get resource plan entries in the specified period. /// - /// Equals - /// Equals /// From and including /// To and excluding + /// Equals + /// Equals /// Fields filter pattern /// successful operation /// A server side error occurred. - System.Threading.Tasks.Task GetProjectResourcePlanBudgetAsync(PeriodType periodType, int? projectId = null, string periodStart = null, string periodEnd = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task GetProjectResourcePlanBudgetAsync(string periodStart, string periodEnd, PeriodType periodType, int? projectId = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -5072,20 +5079,6 @@ public partial interface ITripletexClient /// A server side error occurred. System.Threading.Tasks.Task GetTransportTypeAsync(int id, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// [BETA] Search transport type. - /// - /// List of valid suppliers ids. - /// Containing - /// From index - /// Number of elements to return - /// Sorting pattern - /// Fields filter pattern - /// successful operation - /// A server side error occurred. - System.Threading.Tasks.Task GetTransportTypesAsync(System.Collections.Generic.IEnumerable supplierId = null, string name = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// [BETA] Get deviation by order line ID. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' @@ -6049,7 +6042,7 @@ public partial interface ITripletexClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Delete supplier by ID + /// Delete supplier by ID /// /// Element ID /// successful operation @@ -6089,7 +6082,7 @@ public partial interface ITripletexClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Create multiple suppliers. Related supplier addresses may also be created. + /// Create multiple suppliers. Related supplier addresses may also be created. /// /// JSON representing a list of new objects to be created. Should not have ID and version set. /// successfully created @@ -6098,7 +6091,7 @@ public partial interface ITripletexClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Update multiple suppliers. Addresses can also be updated. + /// Update multiple suppliers. Addresses can also be updated. /// /// JSON representing updates to objects. Should have ID and version set. /// successful operation @@ -6340,23 +6333,23 @@ public partial interface ITripletexClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Only for allocated hours on the company's internal holiday/vacation activity. Mark the allocated hour entry as unapproved. A notification will be sent to the entry's employee if the entry's approval status or comment has changed. + /// Only for allocated hours on the company's internal holiday/vacation activity. Mark the allocated hour entry as approved. The hours will be copied to the time sheet. A notification will be sent to the entry's employee if the entry's approval status or comment has changed. /// /// Element ID - /// Comment to be added to the unapproved hour entry. + /// Comment to be added to the approved hour entry. /// successful operation /// A server side error occurred. - System.Threading.Tasks.Task UnapproveTimesheetAllocatedAsync(int id, string managerComment = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task ApproveTimesheetAllocatedAsync(int id, string managerComment = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Only for allocated hours on the company's internal holiday/vacation activity. Mark the allocated hour entry as approved. The hours will be copied to the time sheet. A notification will be sent to the entry's employee if the entry's approval status or comment has changed. + /// Only for allocated hours on the company's internal holiday/vacation activity. Mark the allocated hour entry as unapproved. A notification will be sent to the entry's employee if the entry's approval status or comment has changed. /// /// Element ID - /// Comment to be added to the approved hour entry. + /// Comment to be added to the unapproved hour entry. /// successful operation /// A server side error occurred. - System.Threading.Tasks.Task ApproveTimesheetAllocatedAsync(int id, string managerComment = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task UnapproveTimesheetAllocatedAsync(int id, string managerComment = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -6574,25 +6567,28 @@ public partial interface ITripletexClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// reopen month(s). If id is provided the other args are ignored + /// Find monthly status for given month. /// - /// Element ID /// List of IDs. Defaults to ID of token owner. /// 2020-01 + /// From index + /// Number of elements to return + /// Sorting pattern + /// Fields filter pattern /// successful operation /// A server side error occurred. - System.Threading.Tasks.Task ReopenTimesheetMonthAsync(int? id = null, string employeeIds = null, string monthYear = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task GetTimesheetMonthByMonthNumberAsync(string employeeIds, string monthYear, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// unapprove month(s). If id is provided the other args are ignored + /// reopen month(s). If id is provided the other args are ignored /// /// Element ID /// List of IDs. Defaults to ID of token owner. /// 2020-01 /// successful operation /// A server side error occurred. - System.Threading.Tasks.Task UnapproveTimesheetMonthAsync(int? id = null, string employeeIds = null, string monthYear = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task ReopenTimesheetMonthAsync(int? id = null, string employeeIds = null, string monthYear = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -6608,17 +6604,14 @@ public partial interface ITripletexClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Find monthly status for given month. + /// unapprove month(s). If id is provided the other args are ignored /// + /// Element ID /// List of IDs. Defaults to ID of token owner. /// 2020-01 - /// From index - /// Number of elements to return - /// Sorting pattern - /// Fields filter pattern /// successful operation /// A server side error occurred. - System.Threading.Tasks.Task GetTimesheetMonthByMonthNumberAsync(string employeeIds, string monthYear, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task UnapproveTimesheetMonthAsync(int? id = null, string employeeIds = null, string monthYear = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -6849,25 +6842,25 @@ public partial interface ITripletexClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Unapprove week. By ID or (ISO-8601 week and employeeId combination). + /// Approve week. By ID or (ISO-8601 week and employeeId combination). /// /// Equals /// Equals /// ISO-8601 week-year /// successful operation /// A server side error occurred. - System.Threading.Tasks.Task UnapproveTimesheetWeekAsync(int? id = null, int? employeeId = null, string weekYear = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task ApproveTimesheetWeekAsync(int? id = null, int? employeeId = null, string weekYear = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Approve week. By ID or (ISO-8601 week and employeeId combination). + /// Unapprove week. By ID or (ISO-8601 week and employeeId combination). /// /// Equals /// Equals /// ISO-8601 week-year /// successful operation /// A server side error occurred. - System.Threading.Tasks.Task ApproveTimesheetWeekAsync(int? id = null, int? employeeId = null, string weekYear = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task UnapproveTimesheetWeekAsync(int? id = null, int? employeeId = null, string weekYear = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -7028,6 +7021,24 @@ public partial interface ITripletexClient /// A server side error occurred. System.Threading.Tasks.Task AddTravelExpenseCostParticipantAsync(TravelExpenseParticipant body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Create participants on cost. + /// + /// JSON representing the new object to be created. Should not have ID and version set. + /// successfully created + /// A server side error occurred. + System.Threading.Tasks.Task AddTravelExpenseCostParticipantListAsync(System.Collections.Generic.IEnumerable body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Delete cost participants. + /// + /// JSON representing objects to delete. Should have ID and version set. + /// successful operation + /// A server side error occurred. + System.Threading.Tasks.Task DeleteTravelExpenseCostParticipantListAsync(System.Collections.Generic.IEnumerable body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// Get cost's participants by costId. @@ -7196,6 +7207,24 @@ public partial interface ITripletexClient /// A server side error occurred. System.Threading.Tasks.Task AddTravelExpensePassengerAsync(Passenger body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Create passengers. + /// + /// JSON representing the new object to be created. Should not have ID and version set. + /// successfully created + /// A server side error occurred. + System.Threading.Tasks.Task AddTravelExpensePassengerListAsync(System.Collections.Generic.IEnumerable body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Delete passengers. + /// + /// JSON representing objects to delete. Should have ID and version set. + /// successful operation + /// A server side error occurred. + System.Threading.Tasks.Task DeleteTravelExpensePassengerListAsync(System.Collections.Generic.IEnumerable body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// Get per diem compensation by ID. @@ -7327,6 +7356,15 @@ public partial interface ITripletexClient /// A server side error occurred. System.Threading.Tasks.Task AddTravelExpenseAsync(TravelExpense body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Approve travel expenses. + /// + /// ID of the elements + /// successful operation + /// A server side error occurred. + System.Threading.Tasks.Task ApproveTravelExpenseAsync(string id = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// Unapprove travel expenses. @@ -7338,12 +7376,32 @@ public partial interface ITripletexClient /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Approve travel expenses. + /// Deliver travel expenses. /// /// ID of the elements /// successful operation /// A server side error occurred. - System.Threading.Tasks.Task ApproveTravelExpenseAsync(string id = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + System.Threading.Tasks.Task DeliverTravelExpenseDeliverAsync(string id = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Undeliver travel expenses. + /// + /// ID of the elements + /// Partial object describing what should be updated + /// successful operation + /// A server side error occurred. + System.Threading.Tasks.Task UndeliverTravelExpenseUndeliverAsync(string id = null, TravelExpense body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Create vouchers + /// + /// yyyy-MM-dd. Defaults to today. + /// ID of the elements + /// successful operation + /// A server side error occurred. + System.Threading.Tasks.Task CreateTravelExpenseAsync(string date, string id = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// @@ -7388,35 +7446,6 @@ public partial interface ITripletexClient /// A server side error occurred. System.Threading.Tasks.Task UploadTravelExpenseAttachmentListAsync(int travelExpenseId, System.IO.Stream body, bool? createNewCost = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// Deliver travel expenses. - /// - /// ID of the elements - /// successful operation - /// A server side error occurred. - System.Threading.Tasks.Task DeliverTravelExpenseDeliverAsync(string id = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// Undeliver travel expenses. - /// - /// ID of the elements - /// Partial object describing what should be updated - /// successful operation - /// A server side error occurred. - System.Threading.Tasks.Task UndeliverTravelExpenseUndeliverAsync(string id = null, TravelExpense body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// Create vouchers - /// - /// yyyy-MM-dd. Defaults to today. - /// ID of the elements - /// successful operation - /// A server side error occurred. - System.Threading.Tasks.Task CreateTravelExpenseAsync(string date, string id = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// Get travel expense rate by ID. @@ -7724,13 +7753,6 @@ public partial interface ITripletexClient /// A server side error occurred. System.Threading.Tasks.Task GetInternalSegmentationAsync(string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// Element ID - /// Fields filter pattern - /// successful operation - /// A server side error occurred. - System.Threading.Tasks.Task GetYearEndNoteAsync(int id, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); - } [System.CodeDom.Compiler.GeneratedCode("NSwag", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] @@ -7817,7 +7839,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -7953,7 +7975,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -8028,7 +8050,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -8103,7 +8125,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -8209,7 +8231,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -8290,7 +8312,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -8370,7 +8392,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -8491,7 +8513,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -8572,7 +8594,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -8652,7 +8674,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -8818,7 +8840,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -8893,7 +8915,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -8968,7 +8990,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -9044,7 +9066,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -9120,7 +9142,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -9262,7 +9284,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -9414,7 +9436,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -9490,7 +9512,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -9631,7 +9653,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -9712,7 +9734,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -9833,7 +9855,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -9913,7 +9935,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -10004,7 +10026,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -10085,7 +10107,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -10165,7 +10187,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -10306,7 +10328,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -10412,7 +10434,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -10487,7 +10509,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -10567,7 +10589,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -10653,7 +10675,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -10739,7 +10761,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -10768,6 +10790,146 @@ public string BaseUrl } } + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Get the last banking day + /// + /// Fields filter pattern + /// successful operation + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task GetBankReconciliationPreviousBankingDayAsync(string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + var urlBuilder_ = new System.Text.StringBuilder(); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/bank/reconciliation/previousBankingDay?"); + if (fields != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; + + var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + request_.Method = new System.Net.Http.HttpMethod("GET"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (response_.IsSuccessStatusCode) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Get all unmatched transactions in csv format + /// + /// ID for reconciliation + /// successful operation + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task GetBankReconciliationTransactionsUnmatchedcsvAsync(int? reconciliationId = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + var urlBuilder_ = new System.Text.StringBuilder(); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/bank/reconciliation/transactions/unmatched:csv?"); + if (reconciliationId != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("reconciliationId") + "=").Append(System.Uri.EscapeDataString(ConvertToString(reconciliationId, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; + + var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + request_.Content = new System.Net.Http.StringContent(string.Empty, System.Text.Encoding.UTF8, "text/csv; charset=utf-8"); + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("text/csv; charset=utf-8")); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + return default(FileResponse); + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// Get bank reconciliation match by ID. @@ -10820,7 +10982,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -10900,7 +11062,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -11041,7 +11203,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -11142,7 +11304,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -11248,7 +11410,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -11323,7 +11485,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -11400,7 +11562,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -11481,7 +11643,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -11624,7 +11786,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -11725,7 +11887,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -11801,7 +11963,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -11876,7 +12038,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -11956,7 +12118,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -12037,7 +12199,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -12203,7 +12365,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -12320,7 +12482,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -12401,7 +12563,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -12497,7 +12659,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -12578,7 +12740,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -12607,92 +12769,6 @@ public string BaseUrl } } - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// Check if any of the employee ids requires level 4 authorizations to make changes - /// - /// List of IDs - /// List of IDs - /// Fields filter pattern - /// successful operation - /// A server side error occurred. - public virtual async System.Threading.Tasks.Task AccountantClientAccessRequiresLevel4Authorization_getRequiresLevel4AuthorizationAsync(string customerIds = null, string employeeIds = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/accountantClientAccess/requiresLevel4Authorization?"); - if (customerIds != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("customerIds") + "=").Append(System.Uri.EscapeDataString(ConvertToString(customerIds, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (employeeIds != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("employeeIds") + "=").Append(System.Uri.EscapeDataString(ConvertToString(employeeIds, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (fields != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; - - var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); - var disposeClient_ = false; - try - { - using (var request_ = new System.Net.Http.HttpRequestMessage()) - { - request_.Method = new System.Net.Http.HttpMethod("GET"); - request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); - - PrepareRequest(client_, request_, urlBuilder_); - - var url_ = urlBuilder_.ToString(); - request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); - - PrepareRequest(client_, request_, url_); - - var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); - var disposeResponse_ = true; - try - { - var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); - if (response_.Content != null && response_.Content.Headers != null) - { - foreach (var item_ in response_.Content.Headers) - headers_[item_.Key] = item_.Value; - } - - ProcessResponse(client_, response_); - - var status_ = (int)response_.StatusCode; - if (status_ == 200) - { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); - } - return objectResponse_.Object; - } - else - { - var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); - } - } - finally - { - if (disposeResponse_) - response_.Dispose(); - } - } - } - finally - { - if (disposeClient_) - client_.Dispose(); - } - } - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// Get consumer token by token string. @@ -12745,7 +12821,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -12842,7 +12918,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -12989,7 +13065,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -13065,7 +13141,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -13156,7 +13232,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -13237,7 +13313,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -13312,7 +13388,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -13403,7 +13479,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -13479,7 +13555,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -13554,7 +13630,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -13645,7 +13721,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -13720,7 +13796,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -13801,7 +13877,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -13881,7 +13957,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -14002,7 +14078,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -14077,7 +14153,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -14219,7 +14295,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -14325,7 +14401,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -14406,7 +14482,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -14507,7 +14583,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -14593,7 +14669,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -14674,7 +14750,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -14754,7 +14830,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -14945,7 +15021,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -15020,7 +15096,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -15095,7 +15171,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -15170,7 +15246,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -15251,7 +15327,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -15331,7 +15407,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -15447,7 +15523,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -15522,7 +15598,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -15603,7 +15679,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -15683,7 +15759,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -15849,7 +15925,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -15965,7 +16041,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -16040,7 +16116,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -16115,7 +16191,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -16190,7 +16266,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -16270,7 +16346,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -16303,16 +16379,21 @@ public string BaseUrl /// /// Get divisions. /// + /// Containing /// From index /// Number of elements to return /// Sorting pattern /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetDivisionsAsync(int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetDivisionsAsync(string query = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { var urlBuilder_ = new System.Text.StringBuilder(); urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/division?"); + if (query != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("query") + "=").Append(System.Uri.EscapeDataString(ConvertToString(query, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } if (from != null) { urlBuilder_.Append(System.Uri.EscapeDataString("from") + "=").Append(System.Uri.EscapeDataString(ConvertToString(from, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -16361,7 +16442,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -16436,7 +16517,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -16511,7 +16592,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -16586,7 +16667,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -16667,7 +16748,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -16748,7 +16829,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -16828,7 +16909,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -16919,7 +17000,7 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Find documents archived associated with project object type. + /// [BETA] Find documents archived associated with customer object type. /// /// Element ID /// From and including @@ -16930,13 +17011,13 @@ public string BaseUrl /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetDocumentArchiveProjectAsync(int id, string periodDateFrom = null, string periodDateTo = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetDocumentArchiveCustomerAsync(int id, string periodDateFrom = null, string periodDateTo = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (id == null) throw new System.ArgumentNullException("id"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/documentArchive/project/{id}?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/documentArchive/customer/{id}?"); urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); if (periodDateFrom != null) { @@ -16994,7 +17075,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -17025,19 +17106,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Upload file to Project Document Archive. + /// [BETA] Upload file to Customer Document Archive. /// /// The file /// Element ID /// successfully created /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetDocumentArchiveProjectAsync(FileParameter file, int id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetDocumentArchiveCustomerAsync(FileParameter file, int id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (id == null) throw new System.ArgumentNullException("id"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/documentArchive/project/{id}"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/documentArchive/customer/{id}"); urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); @@ -17085,7 +17166,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -17171,7 +17252,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -17202,7 +17283,7 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Find documents archived associated with customer object type. + /// [BETA] Find documents archived associated with project object type. /// /// Element ID /// From and including @@ -17213,13 +17294,13 @@ public string BaseUrl /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetDocumentArchiveCustomerAsync(int id, string periodDateFrom = null, string periodDateTo = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetDocumentArchiveProjectAsync(int id, string periodDateFrom = null, string periodDateTo = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (id == null) throw new System.ArgumentNullException("id"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/documentArchive/customer/{id}?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/documentArchive/project/{id}?"); urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); if (periodDateFrom != null) { @@ -17277,7 +17358,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -17308,19 +17389,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Upload file to Customer Document Archive. + /// [BETA] Upload file to Project Document Archive. /// /// The file /// Element ID /// successfully created /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetDocumentArchiveCustomerAsync(FileParameter file, int id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetDocumentArchiveProjectAsync(FileParameter file, int id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (id == null) throw new System.ArgumentNullException("id"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/documentArchive/customer/{id}"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/documentArchive/project/{id}"); urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); @@ -17368,7 +17449,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -17474,7 +17555,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -17565,7 +17646,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -17671,7 +17752,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -17762,7 +17843,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -17868,7 +17949,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -17959,7 +18040,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -18065,7 +18146,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -18156,7 +18237,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -18262,7 +18343,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -18353,7 +18434,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -18434,7 +18515,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -18514,7 +18595,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -18675,7 +18756,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -18750,7 +18831,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -18825,7 +18906,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -18863,13 +18944,16 @@ public string BaseUrl /// Containing /// Containing /// Equals + /// Equals + /// Equals + /// Equals /// Fields filter pattern /// From index /// Number of elements to return /// Sorting pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetEmployeeSearchForEmployeesAndContactsAsync(string id = null, string firstName = null, string lastName = null, string email = null, bool? includeContacts = null, string fields = null, int? from = null, int? count = null, string sorting = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetEmployeeSearchForEmployeesAndContactsAsync(string id = null, string firstName = null, string lastName = null, string email = null, bool? includeContacts = null, bool? isInactive = null, bool? hasSystemAccess = null, bool? excludeReadOnly = null, string fields = null, int? from = null, int? count = null, string sorting = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { var urlBuilder_ = new System.Text.StringBuilder(); urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/searchForEmployeesAndContacts?"); @@ -18893,6 +18977,18 @@ public string BaseUrl { urlBuilder_.Append(System.Uri.EscapeDataString("includeContacts") + "=").Append(System.Uri.EscapeDataString(ConvertToString(includeContacts, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } + if (isInactive != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("isInactive") + "=").Append(System.Uri.EscapeDataString(ConvertToString(isInactive, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (hasSystemAccess != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("hasSystemAccess") + "=").Append(System.Uri.EscapeDataString(ConvertToString(hasSystemAccess, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (excludeReadOnly != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("excludeReadOnly") + "=").Append(System.Uri.EscapeDataString(ConvertToString(excludeReadOnly, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } if (fields != null) { urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -18941,7 +19037,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -19022,7 +19118,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -19102,7 +19198,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -19198,13 +19294,14 @@ public string BaseUrl /// List of IDs /// Containing /// List of IDs + /// Containing /// From index /// Number of elements to return /// Sorting pattern /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetEmployeeCategoriesAsync(string id = null, string name = null, string number = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetEmployeeCategoriesAsync(string id = null, string name = null, string number = null, string query = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { var urlBuilder_ = new System.Text.StringBuilder(); urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/category?"); @@ -19220,6 +19317,10 @@ public string BaseUrl { urlBuilder_.Append(System.Uri.EscapeDataString("number") + "=").Append(System.Uri.EscapeDataString(ConvertToString(number, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } + if (query != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("query") + "=").Append(System.Uri.EscapeDataString(ConvertToString(query, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } if (from != null) { urlBuilder_.Append(System.Uri.EscapeDataString("from") + "=").Append(System.Uri.EscapeDataString(ConvertToString(from, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -19268,7 +19369,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -19343,7 +19444,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -19418,7 +19519,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -19493,7 +19594,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -19635,7 +19736,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -19715,7 +19816,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -19811,7 +19912,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -19886,7 +19987,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -19967,7 +20068,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -20047,7 +20148,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -20143,7 +20244,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -20218,7 +20319,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -20309,7 +20410,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -20340,23 +20441,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Find all maritime employment type IDs. + /// Find all salary type IDs. /// - /// maritimeEmploymentType /// From index /// Number of elements to return /// Sorting pattern /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetEmploymentMaritimeEmploymentTypeAsync(Type type, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetEmploymentSalaryTypeAsync(int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (type == null) - throw new System.ArgumentNullException("type"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/employment/employmentType/maritimeEmploymentType?"); - urlBuilder_.Append(System.Uri.EscapeDataString("type") + "=").Append(System.Uri.EscapeDataString(ConvertToString(type, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/employment/employmentType/salaryType?"); if (from != null) { urlBuilder_.Append(System.Uri.EscapeDataString("from") + "=").Append(System.Uri.EscapeDataString(ConvertToString(from, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -20405,7 +20501,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -20436,7 +20532,7 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Find all salary type IDs. + /// Find all schedule type IDs. /// /// From index /// Number of elements to return @@ -20444,10 +20540,10 @@ public string BaseUrl /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetEmploymentSalaryTypeAsync(int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetEmploymentScheduleTypeAsync(int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/employment/employmentType/salaryType?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/employment/employmentType/scheduleType?"); if (from != null) { urlBuilder_.Append(System.Uri.EscapeDataString("from") + "=").Append(System.Uri.EscapeDataString(ConvertToString(from, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -20496,7 +20592,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -20527,7 +20623,7 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Find all schedule type IDs. + /// Find all employment form type IDs. /// /// From index /// Number of elements to return @@ -20535,10 +20631,10 @@ public string BaseUrl /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetEmploymentScheduleTypeAsync(int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetEmploymentFormTypeAsync(int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/employment/employmentType/scheduleType?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/employment/employmentType/employmentFormType?"); if (from != null) { urlBuilder_.Append(System.Uri.EscapeDataString("from") + "=").Append(System.Uri.EscapeDataString(ConvertToString(from, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -20587,7 +20683,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -20618,7 +20714,7 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Find all employment form type IDs. + /// Find all employment end reason type IDs. /// /// From index /// Number of elements to return @@ -20626,10 +20722,10 @@ public string BaseUrl /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetEmploymentFormTypeAsync(int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetEmploymentEndReasonTypeAsync(int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/employment/employmentType/employmentFormType?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/employment/employmentType/employmentEndReasonType?"); if (from != null) { urlBuilder_.Append(System.Uri.EscapeDataString("from") + "=").Append(System.Uri.EscapeDataString(ConvertToString(from, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -20678,7 +20774,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -20709,18 +20805,23 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Find all employment end reason type IDs. + /// Find all maritime employment type IDs. /// + /// maritimeEmploymentType /// From index /// Number of elements to return /// Sorting pattern /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetEmploymentEndReasonTypeAsync(int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetEmploymentMaritimeEmploymentTypeAsync(Type type, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (type == null) + throw new System.ArgumentNullException("type"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/employment/employmentType/employmentEndReasonType?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/employment/employmentType/maritimeEmploymentType?"); + urlBuilder_.Append(System.Uri.EscapeDataString("type") + "=").Append(System.Uri.EscapeDataString(ConvertToString(type, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); if (from != null) { urlBuilder_.Append(System.Uri.EscapeDataString("from") + "=").Append(System.Uri.EscapeDataString(ConvertToString(from, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -20769,7 +20870,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -20850,7 +20951,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -20930,7 +21031,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -21041,7 +21142,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -21116,7 +21217,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -21191,7 +21292,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -21282,7 +21383,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -21363,7 +21464,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -21469,7 +21570,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -21560,7 +21661,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -21651,7 +21752,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -21732,7 +21833,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -21812,7 +21913,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -21908,7 +22009,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -21983,7 +22084,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -22014,19 +22115,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Get employee login info. + /// Find next of kin by ID. /// /// Element ID /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetEmployeeLogininfoAsync(int id, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetEmployeeNextOfKinAsync(int id, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (id == null) throw new System.ArgumentNullException("id"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/logininfo/{id}?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/nextOfKin/{id}?"); urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); if (fields != null) { @@ -22064,9 +22165,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -22095,20 +22196,115 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Find next of kin by ID. + /// Update next of kin. /// /// Element ID - /// Fields filter pattern + /// Partial object describing what should be updated /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetEmployeeNextOfKinAsync(int id, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task UpdateEmployeeNextOfKinAsync(int id, NextOfKin body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (id == null) throw new System.ArgumentNullException("id"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/nextOfKin/{id}?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/nextOfKin/{id}"); urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); + + var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (response_.IsSuccessStatusCode) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Find all next of kin for employee. + /// + /// Employee ID. Defaults to ID of token owner. + /// From index + /// Number of elements to return + /// Sorting pattern + /// Fields filter pattern + /// successful operation + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task GetEmployeeNextOfKinsAsync(int? employeeId = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + var urlBuilder_ = new System.Text.StringBuilder(); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/nextOfKin?"); + if (employeeId != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("employeeId") + "=").Append(System.Uri.EscapeDataString(ConvertToString(employeeId, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (from != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("from") + "=").Append(System.Uri.EscapeDataString(ConvertToString(from, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (count != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (sorting != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("sorting") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sorting, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } if (fields != null) { urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -22145,7 +22341,82 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Create next of kin. + /// + /// JSON representing the new object to be created. Should not have ID and version set. + /// successfully created + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task AddEmployeeNextOfKinAsync(NextOfKin body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + var urlBuilder_ = new System.Text.StringBuilder(); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/nextOfKin"); + + var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -22176,19 +22447,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Update next of kin. + /// Update employee preferences information. /// /// Element ID /// Partial object describing what should be updated /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task UpdateEmployeeNextOfKinAsync(int id, NextOfKin body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task UpdateEmployeePreferencesAsync(int id, EmployeePreferences body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (id == null) throw new System.ArgumentNullException("id"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/nextOfKin/{id}"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/preferences/{id}"); urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); @@ -22225,9 +22496,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -22256,34 +22527,24 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Find all next of kin for employee. + /// Find employee preferences corresponding with sent data. /// - /// Employee ID. Defaults to ID of token owner. - /// From index - /// Number of elements to return - /// Sorting pattern + /// Equals + /// Equals /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetEmployeeNextOfKinsAsync(int? employeeId = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetEmployeePreferencesAsync(string id = null, int? employeeId = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/nextOfKin?"); - if (employeeId != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("employeeId") + "=").Append(System.Uri.EscapeDataString(ConvertToString(employeeId, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (from != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("from") + "=").Append(System.Uri.EscapeDataString(ConvertToString(from, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (count != null) + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/preferences?"); + if (id != null) { - urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(System.Uri.EscapeDataString("id") + "=").Append(System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } - if (sorting != null) + if (employeeId != null) { - urlBuilder_.Append(System.Uri.EscapeDataString("sorting") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sorting, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(System.Uri.EscapeDataString("employeeId") + "=").Append(System.Uri.EscapeDataString(ConvertToString(employeeId, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } if (fields != null) { @@ -22321,9 +22582,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -22352,15 +22613,15 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Create next of kin. + /// Update multiple employee preferences. /// - /// JSON representing the new object to be created. Should not have ID and version set. - /// successfully created + /// JSON representing updates to objects. Should have ID and version set. + /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task AddEmployeeNextOfKinAsync(NextOfKin body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task UpdateEmployeePreferencesListAsync(System.Collections.Generic.IEnumerable body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/nextOfKin"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/preferences/list"); var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); var disposeClient_ = false; @@ -22372,7 +22633,7 @@ public string BaseUrl var content_ = new System.Net.Http.StringContent(json_); content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Method = new System.Net.Http.HttpMethod("PUT"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -22396,9 +22657,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -22427,20 +22688,20 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Update employee preferences information. + /// Get employee preferences for current user /// - /// Element ID - /// Partial object describing what should be updated + /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task UpdateEmployeePreferencesAsync(int id, EmployeePreferences body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetEmployeePreferencesLoggedInEmployeePreferencesAsync(string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (id == null) - throw new System.ArgumentNullException("id"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/preferences/{id}"); - urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/preferences/>loggedInEmployeePreferences?"); + if (fields != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); var disposeClient_ = false; @@ -22448,11 +22709,7 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); - var content_ = new System.Net.Http.StringContent(json_); - content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Method = new System.Net.Http.HttpMethod("GET"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -22476,7 +22733,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -22507,25 +22764,20 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Find employee preferences corresponding with sent data. + /// Find standard time by ID. /// - /// Equals - /// Equals + /// Element ID /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetEmployeePreferencesAsync(string id = null, int? employeeId = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetEmployeeStandardTimeAsync(int id, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (id == null) + throw new System.ArgumentNullException("id"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/preferences?"); - if (id != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("id") + "=").Append(System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (employeeId != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("employeeId") + "=").Append(System.Uri.EscapeDataString(ConvertToString(employeeId, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/standardTime/{id}?"); + urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); if (fields != null) { urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -22562,9 +22814,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -22593,15 +22845,20 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Update multiple employee preferences. + /// Update standard time. /// - /// JSON representing updates to objects. Should have ID and version set. + /// Element ID + /// Partial object describing what should be updated /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task UpdateEmployeePreferencesListAsync(System.Collections.Generic.IEnumerable body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task UpdateEmployeeStandardTimeAsync(int id, StandardTime body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (id == null) + throw new System.ArgumentNullException("id"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/preferences/list"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/standardTime/{id}"); + urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); var disposeClient_ = false; @@ -22637,9 +22894,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -22668,15 +22925,35 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Get employee preferences for current user + /// Find all standard times for employee. /// + /// Employee ID. Defaults to ID of token owner. + /// From index + /// Number of elements to return + /// Sorting pattern /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetEmployeePreferencesLoggedInEmployeePreferencesAsync(string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetEmployeeStandardTimesAsync(int? employeeId = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/preferences/>loggedInEmployeePreferences?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/standardTime?"); + if (employeeId != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("employeeId") + "=").Append(System.Uri.EscapeDataString(ConvertToString(employeeId, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (from != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("from") + "=").Append(System.Uri.EscapeDataString(ConvertToString(from, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (count != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (sorting != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("sorting") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sorting, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } if (fields != null) { urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -22713,9 +22990,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -22744,20 +23021,100 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Find standard time by ID. + /// Create standard time. /// - /// Element ID + /// JSON representing the new object to be created. Should not have ID and version set. + /// successfully created + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task AddEmployeeStandardTimeAsync(StandardTime body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + var urlBuilder_ = new System.Text.StringBuilder(); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/standardTime"); + + var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (response_.IsSuccessStatusCode) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Find standard time for employee by date. + /// + /// Employee ID. Defaults to ID of token owner. + /// yyyy-MM-dd. Defaults to today. /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetEmployeeStandardTimeAsync(int id, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetEmployeeStandardTimeByDateAsync(int? employeeId = null, string date = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (id == null) - throw new System.ArgumentNullException("id"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/standardTime/{id}?"); - urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/standardTime/byDate?"); + if (employeeId != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("employeeId") + "=").Append(System.Uri.EscapeDataString(ConvertToString(employeeId, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (date != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("date") + "=").Append(System.Uri.EscapeDataString(ConvertToString(date, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } if (fields != null) { urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -22794,7 +23151,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -22825,20 +23182,25 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Update standard time. + /// Get entitlement by ID. /// /// Element ID - /// Partial object describing what should be updated + /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task UpdateEmployeeStandardTimeAsync(int id, StandardTime body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetEmployeeEntitlementAsync(int id, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (id == null) throw new System.ArgumentNullException("id"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/standardTime/{id}"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/entitlement/{id}?"); urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); + if (fields != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); var disposeClient_ = false; @@ -22846,11 +23208,7 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); - var content_ = new System.Net.Http.StringContent(json_); - content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Method = new System.Net.Http.HttpMethod("GET"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -22874,9 +23232,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -22905,7 +23263,7 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Find all standard times for employee. + /// Find all entitlements for user. /// /// Employee ID. Defaults to ID of token owner. /// From index @@ -22914,10 +23272,10 @@ public string BaseUrl /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetEmployeeStandardTimesAsync(int? employeeId = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetEmployeeEntitlementsAsync(int? employeeId = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/standardTime?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/entitlement?"); if (employeeId != null) { urlBuilder_.Append(System.Uri.EscapeDataString("employeeId") + "=").Append(System.Uri.EscapeDataString(ConvertToString(employeeId, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -22970,347 +23328,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); - } - return objectResponse_.Object; - } - else - { - var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); - } - } - finally - { - if (disposeResponse_) - response_.Dispose(); - } - } - } - finally - { - if (disposeClient_) - client_.Dispose(); - } - } - - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// Create standard time. - /// - /// JSON representing the new object to be created. Should not have ID and version set. - /// successfully created - /// A server side error occurred. - public virtual async System.Threading.Tasks.Task AddEmployeeStandardTimeAsync(StandardTime body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/standardTime"); - - var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); - var disposeClient_ = false; - try - { - using (var request_ = new System.Net.Http.HttpRequestMessage()) - { - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); - var content_ = new System.Net.Http.StringContent(json_); - content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("POST"); - request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); - - PrepareRequest(client_, request_, urlBuilder_); - - var url_ = urlBuilder_.ToString(); - request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); - - PrepareRequest(client_, request_, url_); - - var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); - var disposeResponse_ = true; - try - { - var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); - if (response_.Content != null && response_.Content.Headers != null) - { - foreach (var item_ in response_.Content.Headers) - headers_[item_.Key] = item_.Value; - } - - ProcessResponse(client_, response_); - - var status_ = (int)response_.StatusCode; - if (status_ == 200) - { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); - } - return objectResponse_.Object; - } - else - { - var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); - } - } - finally - { - if (disposeResponse_) - response_.Dispose(); - } - } - } - finally - { - if (disposeClient_) - client_.Dispose(); - } - } - - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// Find standard time for employee by date. - /// - /// Employee ID. Defaults to ID of token owner. - /// yyyy-MM-dd. Defaults to today. - /// Fields filter pattern - /// successful operation - /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetEmployeeStandardTimeByDateAsync(int? employeeId = null, string date = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/standardTime/byDate?"); - if (employeeId != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("employeeId") + "=").Append(System.Uri.EscapeDataString(ConvertToString(employeeId, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (date != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("date") + "=").Append(System.Uri.EscapeDataString(ConvertToString(date, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (fields != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; - - var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); - var disposeClient_ = false; - try - { - using (var request_ = new System.Net.Http.HttpRequestMessage()) - { - request_.Method = new System.Net.Http.HttpMethod("GET"); - request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); - - PrepareRequest(client_, request_, urlBuilder_); - - var url_ = urlBuilder_.ToString(); - request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); - - PrepareRequest(client_, request_, url_); - - var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); - var disposeResponse_ = true; - try - { - var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); - if (response_.Content != null && response_.Content.Headers != null) - { - foreach (var item_ in response_.Content.Headers) - headers_[item_.Key] = item_.Value; - } - - ProcessResponse(client_, response_); - - var status_ = (int)response_.StatusCode; - if (status_ == 200) - { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); - } - return objectResponse_.Object; - } - else - { - var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); - } - } - finally - { - if (disposeResponse_) - response_.Dispose(); - } - } - } - finally - { - if (disposeClient_) - client_.Dispose(); - } - } - - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// Get entitlement by ID. - /// - /// Element ID - /// Fields filter pattern - /// successful operation - /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetEmployeeEntitlementAsync(int id, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - if (id == null) - throw new System.ArgumentNullException("id"); - - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/entitlement/{id}?"); - urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); - if (fields != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; - - var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); - var disposeClient_ = false; - try - { - using (var request_ = new System.Net.Http.HttpRequestMessage()) - { - request_.Method = new System.Net.Http.HttpMethod("GET"); - request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); - - PrepareRequest(client_, request_, urlBuilder_); - - var url_ = urlBuilder_.ToString(); - request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); - - PrepareRequest(client_, request_, url_); - - var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); - var disposeResponse_ = true; - try - { - var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); - if (response_.Content != null && response_.Content.Headers != null) - { - foreach (var item_ in response_.Content.Headers) - headers_[item_.Key] = item_.Value; - } - - ProcessResponse(client_, response_); - - var status_ = (int)response_.StatusCode; - if (status_ == 200) - { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); - } - return objectResponse_.Object; - } - else - { - var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); - } - } - finally - { - if (disposeResponse_) - response_.Dispose(); - } - } - } - finally - { - if (disposeClient_) - client_.Dispose(); - } - } - - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// Find all entitlements for user. - /// - /// Employee ID. Defaults to ID of token owner. - /// From index - /// Number of elements to return - /// Sorting pattern - /// Fields filter pattern - /// successful operation - /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetEmployeeEntitlementsAsync(int? employeeId = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/employee/entitlement?"); - if (employeeId != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("employeeId") + "=").Append(System.Uri.EscapeDataString(ConvertToString(employeeId, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (from != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("from") + "=").Append(System.Uri.EscapeDataString(ConvertToString(from, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (count != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (sorting != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("sorting") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sorting, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (fields != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; - - var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); - var disposeClient_ = false; - try - { - using (var request_ = new System.Net.Http.HttpRequestMessage()) - { - request_.Method = new System.Net.Http.HttpMethod("GET"); - request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); - - PrepareRequest(client_, request_, urlBuilder_); - - var url_ = urlBuilder_.ToString(); - request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); - - PrepareRequest(client_, request_, url_); - - var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); - var disposeResponse_ = true; - try - { - var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); - if (response_.Content != null && response_.Content.Headers != null) - { - foreach (var item_ in response_.Content.Headers) - headers_[item_.Key] = item_.Value; - } - - ProcessResponse(client_, response_); - - var status_ = (int)response_.StatusCode; - if (status_ == 200) - { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -23556,7 +23576,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -23632,7 +23652,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -23713,7 +23733,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -23794,7 +23814,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -23874,7 +23894,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -24025,7 +24045,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -24100,7 +24120,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -24175,7 +24195,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -24250,7 +24270,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -24392,7 +24412,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -24472,7 +24492,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -24648,7 +24668,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -24723,7 +24743,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -24838,7 +24858,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -24919,7 +24939,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -24999,7 +25019,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -25165,7 +25185,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -25240,7 +25260,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -25315,7 +25335,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -25390,7 +25410,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -25532,7 +25552,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -25612,7 +25632,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -25778,7 +25798,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -25859,7 +25879,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -25940,7 +25960,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -26020,7 +26040,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -26196,7 +26216,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -26271,7 +26291,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -26352,7 +26372,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -26478,7 +26498,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -26569,7 +26589,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -26655,7 +26675,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -26808,7 +26828,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -26905,7 +26925,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -27002,7 +27022,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -27175,7 +27195,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -27256,7 +27276,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -27362,7 +27382,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -27443,7 +27463,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -27549,7 +27569,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -27690,7 +27710,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -27821,7 +27841,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -27902,7 +27922,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -27982,7 +28002,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -28173,7 +28193,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -28248,7 +28268,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -28323,7 +28343,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -28398,7 +28418,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -28540,7 +28560,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -28666,7 +28686,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -28747,7 +28767,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -28853,7 +28873,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -28934,7 +28954,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -29040,7 +29060,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -29121,7 +29141,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -29201,7 +29221,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -29370,7 +29390,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -29445,7 +29465,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -29520,7 +29540,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -29595,7 +29615,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -29676,7 +29696,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -29832,7 +29852,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -29973,7 +29993,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -30054,7 +30074,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -30170,7 +30190,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -30257,7 +30277,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -30333,7 +30353,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -30414,7 +30434,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -30545,7 +30565,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -30626,7 +30646,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -30712,7 +30732,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -30854,7 +30874,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -30980,7 +31000,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -31061,7 +31081,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -31142,7 +31162,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -31223,7 +31243,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -31254,22 +31274,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Upload a document to create one or more vouchers. Valid document formats are PDF, PNG, JPEG and TIFF. Send as multipart form. + /// Get PDF representation of voucher by ID. /// - /// The file - /// Optional description to use for the voucher(s). If omitted the file name will be used. - /// If the document consists of several pages, should the document be split into one voucher per page? - /// successfully created + /// Voucher ID from which PDF is downloaded. + /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task ImportLedgerVoucherAsync(FileParameter file, string description = null, bool? split = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task DownloadLedgerVoucherPdfAsync(int voucherId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (voucherId == null) + throw new System.ArgumentNullException("voucherId"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/ledger/voucher/importDocument?"); - if (split != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("split") + "=").Append(System.Uri.EscapeDataString(ConvertToString(split, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/ledger/voucher/{voucherId}/pdf"); + urlBuilder_.Replace("{voucherId}", System.Uri.EscapeDataString(ConvertToString(voucherId, System.Globalization.CultureInfo.InvariantCulture))); var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); var disposeClient_ = false; @@ -31277,28 +31294,8 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - var boundary_ = System.Guid.NewGuid().ToString(); - var content_ = new System.Net.Http.MultipartFormDataContent(boundary_); - content_.Headers.Remove("Content-Type"); - content_.Headers.TryAddWithoutValidation("Content-Type", "multipart/form-data; boundary=" + boundary_); - - if (file == null) - throw new System.ArgumentNullException("file"); - else - { - var content_file_ = new System.Net.Http.StreamContent(file.Data); - if (!string.IsNullOrEmpty(file.ContentType)) - content_file_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse(file.ContentType); - content_.Add(content_file_, "file", file.FileName ?? "file"); - } - - if (description != null) - { - content_.Add(new System.Net.Http.StringContent(ConvertToString(description, System.Globalization.CultureInfo.InvariantCulture)), "description"); - } - request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("POST"); - request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + request_.Method = new System.Net.Http.HttpMethod("GET"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/octet-stream")); PrepareRequest(client_, request_, urlBuilder_); @@ -31321,9 +31318,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -31352,18 +31349,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Get PDF representation of voucher by ID. + /// Upload attachment to voucher. If the voucher already has an attachment the content will be appended to the existing attachment as new PDF page(s). Valid document formats are PDF, PNG, JPEG and TIFF. Non PDF formats will be converted to PDF. Send as multipart form. /// - /// Voucher ID from which PDF is downloaded. + /// Voucher ID to upload attachment to. + /// The file /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task DownloadLedgerVoucherPdfAsync(int voucherId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task UploadLedgerVoucherAttachmentAsync(int voucherId, FileParameter file, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (voucherId == null) throw new System.ArgumentNullException("voucherId"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/ledger/voucher/{voucherId}/pdf"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/ledger/voucher/{voucherId}/attachment"); urlBuilder_.Replace("{voucherId}", System.Uri.EscapeDataString(ConvertToString(voucherId, System.Globalization.CultureInfo.InvariantCulture))); var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); @@ -31372,8 +31370,22 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Method = new System.Net.Http.HttpMethod("GET"); - request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/octet-stream")); + var boundary_ = System.Guid.NewGuid().ToString(); + var content_ = new System.Net.Http.MultipartFormDataContent(boundary_); + content_.Headers.Remove("Content-Type"); + content_.Headers.TryAddWithoutValidation("Content-Type", "multipart/form-data; boundary=" + boundary_); + + if (file == null) + throw new System.ArgumentNullException("file"); + else + { + var content_file_ = new System.Net.Http.StreamContent(file.Data); + if (!string.IsNullOrEmpty(file.ContentType)) + content_file_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse(file.ContentType); + content_.Add(content_file_, "file", file.FileName ?? "file"); + } + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); PrepareRequest(client_, request_, urlBuilder_); @@ -31396,20 +31408,6 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) - { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); - } - return objectResponse_.Object; - } - else - { - var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); - } } finally { @@ -31427,28 +31425,33 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Send voucher to ledger. + /// Delete attachment. /// - /// ID of voucher that should be sent to ledger. - /// Version of voucher that should be sent to ledger. - /// Voucher number to use. If omitted or 0 the system will assign the number. + /// ID of voucher containing the attachment to delete. + /// Version of voucher containing the attachment to delete. + /// Should the attachment be sent to inbox rather than deleted? + /// If sendToInbox is true, should the attachment be split into one voucher per page? /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task SendLedgerVoucherToLedgerAsync(int id, int? version = null, int? number = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task DeleteLedgerVoucherAttachmentAsync(int voucherId, int? version = null, bool? sendToInbox = null, bool? split = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (id == null) - throw new System.ArgumentNullException("id"); + if (voucherId == null) + throw new System.ArgumentNullException("voucherId"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/ledger/voucher/{id}/:sendToLedger?"); - urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/ledger/voucher/{voucherId}/attachment?"); + urlBuilder_.Replace("{voucherId}", System.Uri.EscapeDataString(ConvertToString(voucherId, System.Globalization.CultureInfo.InvariantCulture))); if (version != null) { urlBuilder_.Append(System.Uri.EscapeDataString("version") + "=").Append(System.Uri.EscapeDataString(ConvertToString(version, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } - if (number != null) + if (sendToInbox != null) { - urlBuilder_.Append(System.Uri.EscapeDataString("number") + "=").Append(System.Uri.EscapeDataString(ConvertToString(number, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(System.Uri.EscapeDataString("sendToInbox") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sendToInbox, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (split != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("split") + "=").Append(System.Uri.EscapeDataString(ConvertToString(split, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } urlBuilder_.Length--; @@ -31458,9 +31461,7 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Content = new System.Net.Http.StringContent(string.Empty, System.Text.Encoding.UTF8, "application/json"); - request_.Method = new System.Net.Http.HttpMethod("PUT"); - request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + request_.Method = new System.Net.Http.HttpMethod("DELETE"); PrepareRequest(client_, request_, urlBuilder_); @@ -31483,20 +31484,6 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) - { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); - } - return objectResponse_.Object; - } - else - { - var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); - } } finally { @@ -31514,20 +31501,30 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Upload attachment to voucher. If the voucher already has an attachment the content will be appended to the existing attachment as new PDF page(s). Valid document formats are PDF, PNG, JPEG and TIFF. Non PDF formats will be converted to PDF. Send as multipart form. + /// Send voucher to inbox. /// - /// Voucher ID to upload attachment to. - /// The file + /// ID of voucher that should be sent to inbox. + /// Version of voucher that should be sent to inbox. + /// Description of why the voucher was rejected. This parameter is only used if the approval feature is enabled. /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task UploadLedgerVoucherAttachmentAsync(int voucherId, FileParameter file, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task SendLedgerVoucherToInboxAsync(int id, int? version = null, string comment = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (voucherId == null) - throw new System.ArgumentNullException("voucherId"); + if (id == null) + throw new System.ArgumentNullException("id"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/ledger/voucher/{voucherId}/attachment"); - urlBuilder_.Replace("{voucherId}", System.Uri.EscapeDataString(ConvertToString(voucherId, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/ledger/voucher/{id}/:sendToInbox?"); + urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); + if (version != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("version") + "=").Append(System.Uri.EscapeDataString(ConvertToString(version, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (comment != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("comment") + "=").Append(System.Uri.EscapeDataString(ConvertToString(comment, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); var disposeClient_ = false; @@ -31535,22 +31532,9 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - var boundary_ = System.Guid.NewGuid().ToString(); - var content_ = new System.Net.Http.MultipartFormDataContent(boundary_); - content_.Headers.Remove("Content-Type"); - content_.Headers.TryAddWithoutValidation("Content-Type", "multipart/form-data; boundary=" + boundary_); - - if (file == null) - throw new System.ArgumentNullException("file"); - else - { - var content_file_ = new System.Net.Http.StreamContent(file.Data); - if (!string.IsNullOrEmpty(file.ContentType)) - content_file_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse(file.ContentType); - content_.Add(content_file_, "file", file.FileName ?? "file"); - } - request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Content = new System.Net.Http.StringContent(string.Empty, System.Text.Encoding.UTF8, "application/json"); + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -31573,6 +31557,20 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; + if (response_.IsSuccessStatusCode) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } } finally { @@ -31590,33 +31588,28 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Delete attachment. + /// Send voucher to ledger. /// - /// ID of voucher containing the attachment to delete. - /// Version of voucher containing the attachment to delete. - /// Should the attachment be sent to inbox rather than deleted? - /// If sendToInbox is true, should the attachment be split into one voucher per page? + /// ID of voucher that should be sent to ledger. + /// Version of voucher that should be sent to ledger. + /// Voucher number to use. If omitted or 0 the system will assign the number. /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task DeleteLedgerVoucherAttachmentAsync(int voucherId, int? version = null, bool? sendToInbox = null, bool? split = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task SendLedgerVoucherToLedgerAsync(int id, int? version = null, int? number = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (voucherId == null) - throw new System.ArgumentNullException("voucherId"); + if (id == null) + throw new System.ArgumentNullException("id"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/ledger/voucher/{voucherId}/attachment?"); - urlBuilder_.Replace("{voucherId}", System.Uri.EscapeDataString(ConvertToString(voucherId, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/ledger/voucher/{id}/:sendToLedger?"); + urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); if (version != null) { urlBuilder_.Append(System.Uri.EscapeDataString("version") + "=").Append(System.Uri.EscapeDataString(ConvertToString(version, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } - if (sendToInbox != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("sendToInbox") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sendToInbox, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (split != null) + if (number != null) { - urlBuilder_.Append(System.Uri.EscapeDataString("split") + "=").Append(System.Uri.EscapeDataString(ConvertToString(split, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(System.Uri.EscapeDataString("number") + "=").Append(System.Uri.EscapeDataString(ConvertToString(number, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } urlBuilder_.Length--; @@ -31626,7 +31619,9 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Method = new System.Net.Http.HttpMethod("DELETE"); + request_.Content = new System.Net.Http.StringContent(string.Empty, System.Text.Encoding.UTF8, "application/json"); + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -31649,6 +31644,20 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; + if (response_.IsSuccessStatusCode) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } } finally { @@ -31666,28 +31675,20 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Send voucher to inbox. + /// Upload a document to create one or more vouchers. Valid document formats are PDF, PNG, JPEG and TIFF. Send as multipart form. /// - /// ID of voucher that should be sent to inbox. - /// Version of voucher that should be sent to inbox. - /// Description of why the voucher was rejected. This parameter is only used if the approval feature is enabled. - /// successful operation + /// The file + /// Optional description to use for the voucher(s). If omitted the file name will be used. + /// If the document consists of several pages, should the document be split into one voucher per page? + /// successfully created /// A server side error occurred. - public virtual async System.Threading.Tasks.Task SendLedgerVoucherToInboxAsync(int id, int? version = null, string comment = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task ImportLedgerVoucherAsync(FileParameter file, string description = null, bool? split = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (id == null) - throw new System.ArgumentNullException("id"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/ledger/voucher/{id}/:sendToInbox?"); - urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); - if (version != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("version") + "=").Append(System.Uri.EscapeDataString(ConvertToString(version, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (comment != null) + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/ledger/voucher/importDocument?"); + if (split != null) { - urlBuilder_.Append(System.Uri.EscapeDataString("comment") + "=").Append(System.Uri.EscapeDataString(ConvertToString(comment, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(System.Uri.EscapeDataString("split") + "=").Append(System.Uri.EscapeDataString(ConvertToString(split, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } urlBuilder_.Length--; @@ -31697,8 +31698,27 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Content = new System.Net.Http.StringContent(string.Empty, System.Text.Encoding.UTF8, "application/json"); - request_.Method = new System.Net.Http.HttpMethod("PUT"); + var boundary_ = System.Guid.NewGuid().ToString(); + var content_ = new System.Net.Http.MultipartFormDataContent(boundary_); + content_.Headers.Remove("Content-Type"); + content_.Headers.TryAddWithoutValidation("Content-Type", "multipart/form-data; boundary=" + boundary_); + + if (file == null) + throw new System.ArgumentNullException("file"); + else + { + var content_file_ = new System.Net.Http.StreamContent(file.Data); + if (!string.IsNullOrEmpty(file.ContentType)) + content_file_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse(file.ContentType); + content_.Add(content_file_, "file", file.FileName ?? "file"); + } + + if (description != null) + { + content_.Add(new System.Net.Http.StringContent(ConvertToString(description, System.Globalization.CultureInfo.InvariantCulture)), "description"); + } + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -31722,9 +31742,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -31833,7 +31853,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -31939,7 +31959,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -32035,7 +32055,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -32363,7 +32383,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -32560,7 +32580,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -32641,7 +32661,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -32737,7 +32757,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -32838,7 +32858,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -32934,7 +32954,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -33010,7 +33030,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -33039,158 +33059,6 @@ public string BaseUrl } } - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// Returns the invoice history for an account. - /// - /// Fields filter pattern - /// successful operation - /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetSubscriptionInvoiceHistoryAsync(string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/subscription/invoiceHistory?"); - if (fields != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; - - var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); - var disposeClient_ = false; - try - { - using (var request_ = new System.Net.Http.HttpRequestMessage()) - { - request_.Method = new System.Net.Http.HttpMethod("GET"); - request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); - - PrepareRequest(client_, request_, urlBuilder_); - - var url_ = urlBuilder_.ToString(); - request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); - - PrepareRequest(client_, request_, url_); - - var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); - var disposeResponse_ = true; - try - { - var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); - if (response_.Content != null && response_.Content.Headers != null) - { - foreach (var item_ in response_.Content.Headers) - headers_[item_.Key] = item_.Value; - } - - ProcessResponse(client_, response_); - - var status_ = (int)response_.StatusCode; - if (status_ == 200) - { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); - } - return objectResponse_.Object; - } - else - { - var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); - } - } - finally - { - if (disposeResponse_) - response_.Dispose(); - } - } - } - finally - { - if (disposeClient_) - client_.Dispose(); - } - } - - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// Returns the additional order lines for an account. - /// - /// Fields filter pattern - /// successful operation - /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetSubscriptionAdditionalOrderLinesAsync(string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/subscription/additionalOrderLines?"); - if (fields != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; - - var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); - var disposeClient_ = false; - try - { - using (var request_ = new System.Net.Http.HttpRequestMessage()) - { - request_.Method = new System.Net.Http.HttpMethod("GET"); - request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); - - PrepareRequest(client_, request_, urlBuilder_); - - var url_ = urlBuilder_.ToString(); - request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); - - PrepareRequest(client_, request_, url_); - - var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); - var disposeResponse_ = true; - try - { - var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); - if (response_.Content != null && response_.Content.Headers != null) - { - foreach (var item_ in response_.Content.Headers) - headers_[item_.Key] = item_.Value; - } - - ProcessResponse(client_, response_); - - var status_ = (int)response_.StatusCode; - if (status_ == 200) - { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); - } - return objectResponse_.Object; - } - else - { - var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); - } - } - finally - { - if (disposeResponse_) - response_.Dispose(); - } - } - } - finally - { - if (disposeClient_) - client_.Dispose(); - } - } - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// Returns the services that are available for an account. @@ -33238,7 +33106,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -33319,7 +33187,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -33353,17 +33221,23 @@ public string BaseUrl /// Update order. /// /// Element ID + /// Should order lines and order groups be saved and not included lines/groups be removed? Only applies if non null list of order lines or order groups is set. /// Partial object describing what should be updated /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task UpdateOrderAsync(int id, Order body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task UpdateOrderAsync(int id, bool? updateLinesAndGroups = null, Order body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (id == null) throw new System.ArgumentNullException("id"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/order/{id}"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/order/{id}?"); urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); + if (updateLinesAndGroups != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("updateLinesAndGroups") + "=").Append(System.Uri.EscapeDataString(ConvertToString(updateLinesAndGroups, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); var disposeClient_ = false; @@ -33399,7 +33273,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -33585,7 +33459,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -33660,7 +33534,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -33751,7 +33625,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -33826,7 +33700,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -33973,7 +33847,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -34065,7 +33939,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -34147,7 +34021,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -34239,7 +34113,7 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [Beta] Get orderGroup by ID. A orderGroup is a way to group orderLines, and add comments and subtotals + /// Get orderGroup by ID. A orderGroup is a way to group orderLines, and add comments and subtotals /// /// Element ID /// Fields filter pattern @@ -34289,7 +34163,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -34320,7 +34194,7 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [Beta] Delete orderGroup by ID. + /// Delete orderGroup by ID. /// /// Element ID /// successful operation @@ -34380,7 +34254,7 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Find orderGroups corresponding with sent data. + /// Find orderGroups corresponding with sent data. /// /// List of IDs /// List of IDs @@ -34450,7 +34324,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -34484,7 +34358,7 @@ public string BaseUrl /// [Beta] Post orderGroup. /// /// JSON representing the new object to be created. Should not have ID and version set. - /// List of IDs + /// Deprecated. Put order lines in the dto instead. /// successfully created /// A server side error occurred. public virtual async System.Threading.Tasks.Task AddOrderOrderGroupAsync(OrderGroup body = null, string orderLineIds = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -34531,7 +34405,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -34565,8 +34439,8 @@ public string BaseUrl /// [Beta] Put orderGroup. /// /// JSON representing the new object to be created. Should not have ID and version set. - /// List of IDs - /// Should existing orderLines be removed from this orderGroup + /// Deprecated. Put order lines in the dto instead. + /// Deprecated. Should existing orderLines be removed from this orderGroup. This will always happen if orderLineIds is not empty. /// successful operation /// A server side error occurred. public virtual async System.Threading.Tasks.Task UpdateOrderOrderGroupAsync(OrderGroup body = null, string orderLineIds = null, bool? removeExistingOrderLines = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) @@ -34617,7 +34491,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -34698,7 +34572,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -34778,7 +34652,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -34913,7 +34787,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -34988,7 +34862,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -35017,6 +34891,92 @@ public string BaseUrl } } + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// [BETA] Get order line template from order and product + /// + /// Equals + /// Equals + /// Fields filter pattern + /// successful operation + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task GetOrderOrderlineOrderLineTemplateAsync(int orderId, int productId, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + if (orderId == null) + throw new System.ArgumentNullException("orderId"); + + if (productId == null) + throw new System.ArgumentNullException("productId"); + + var urlBuilder_ = new System.Text.StringBuilder(); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/order/orderline/orderLineTemplate?"); + urlBuilder_.Append(System.Uri.EscapeDataString("orderId") + "=").Append(System.Uri.EscapeDataString(ConvertToString(orderId, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(System.Uri.EscapeDataString("productId") + "=").Append(System.Uri.EscapeDataString(ConvertToString(productId, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + if (fields != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; + + var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + request_.Method = new System.Net.Http.HttpMethod("GET"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (response_.IsSuccessStatusCode) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// [BETA] Get external product by ID. @@ -35069,7 +35029,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -35190,7 +35150,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -35271,7 +35231,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -35351,7 +35311,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -35602,7 +35562,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -35677,7 +35637,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -35752,7 +35712,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -35827,7 +35787,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -35918,7 +35878,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -36059,7 +36019,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -36139,7 +36099,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -36315,7 +36275,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -36390,7 +36350,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -36465,7 +36425,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -36540,7 +36500,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -36621,7 +36581,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -36727,7 +36687,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -36808,7 +36768,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -36888,7 +36848,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -37054,7 +37014,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -37129,7 +37089,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -37204,7 +37164,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -37279,7 +37239,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -37355,7 +37315,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -37430,7 +37390,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -37511,7 +37471,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -37591,7 +37551,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -37752,7 +37712,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -37858,7 +37818,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -37933,7 +37893,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -38008,7 +37968,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -38083,7 +38043,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -38225,7 +38185,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -38391,7 +38351,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -38466,7 +38426,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -38541,7 +38501,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -38713,7 +38673,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -38794,7 +38754,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -38874,7 +38834,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -39030,7 +38990,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -39141,7 +39101,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -39216,7 +39176,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -39291,7 +39251,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -39366,7 +39326,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -39447,7 +39407,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -39573,7 +39533,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -39654,7 +39614,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -39734,7 +39694,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -39965,7 +39925,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -39996,7 +39956,7 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Add new project. + /// Add new project. /// /// JSON representing the new object to be created. Should not have ID and version set. /// successfully created @@ -40040,7 +40000,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -40175,7 +40135,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -40250,7 +40210,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -40417,7 +40377,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -40524,7 +40484,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -40605,7 +40565,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -40685,7 +40645,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -40796,7 +40756,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -40871,7 +40831,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -40952,7 +40912,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -41032,7 +40992,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -41188,7 +41148,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -41263,7 +41223,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -41338,7 +41298,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -41369,20 +41329,25 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Find project participant by ID. + /// [BETA] Get order line template from project and product /// - /// Element ID + /// Equals + /// Equals /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetProjectParticipantAsync(int id, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetProjectOrderlineOrderLineTemplateAsync(int projectId, int productId, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (id == null) - throw new System.ArgumentNullException("id"); + if (projectId == null) + throw new System.ArgumentNullException("projectId"); + + if (productId == null) + throw new System.ArgumentNullException("productId"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/project/participant/{id}?"); - urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/project/orderline/orderLineTemplate?"); + urlBuilder_.Append(System.Uri.EscapeDataString("projectId") + "=").Append(System.Uri.EscapeDataString(ConvertToString(projectId, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(System.Uri.EscapeDataString("productId") + "=").Append(System.Uri.EscapeDataString(ConvertToString(productId, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); if (fields != null) { urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -41419,9 +41384,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -41450,20 +41415,25 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Update project participant. + /// [BETA] Find project participant by ID. /// /// Element ID - /// Partial object describing what should be updated + /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task UpdateProjectParticipantAsync(int id, ProjectParticipant body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetProjectParticipantAsync(int id, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (id == null) throw new System.ArgumentNullException("id"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/project/participant/{id}"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/project/participant/{id}?"); urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); + if (fields != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); var disposeClient_ = false; @@ -41471,11 +41441,7 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); - var content_ = new System.Net.Http.StringContent(json_); - content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Method = new System.Net.Http.HttpMethod("GET"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -41499,7 +41465,87 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// [BETA] Update project participant. + /// + /// Element ID + /// Partial object describing what should be updated + /// successful operation + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task UpdateProjectParticipantAsync(int id, ProjectParticipant body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + if (id == null) + throw new System.ArgumentNullException("id"); + + var urlBuilder_ = new System.Text.StringBuilder(); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/project/participant/{id}"); + urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); + + var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -41574,7 +41620,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -41649,7 +41695,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -41801,7 +41847,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -41892,7 +41938,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -41983,7 +42029,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -42089,7 +42135,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -42180,7 +42226,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -42261,7 +42307,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -42342,7 +42388,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -42477,7 +42523,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -42619,7 +42665,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -42715,7 +42761,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -42796,7 +42842,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -42887,7 +42933,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -42968,7 +43014,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -43048,7 +43094,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -43229,7 +43275,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -43304,7 +43350,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -43379,7 +43425,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -43454,7 +43500,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -43596,7 +43642,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -43677,7 +43723,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -43758,7 +43804,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -43838,7 +43884,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -44009,7 +44055,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -44084,7 +44130,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -44159,7 +44205,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -44234,7 +44280,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -44328,33 +44374,33 @@ public string BaseUrl /// /// Get resource plan entries in the specified period. /// - /// Equals - /// Equals /// From and including /// To and excluding + /// Equals + /// Equals /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetProjectResourcePlanBudgetAsync(PeriodType periodType, int? projectId = null, string periodStart = null, string periodEnd = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetProjectResourcePlanBudgetAsync(string periodStart, string periodEnd, PeriodType periodType, int? projectId = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (periodStart == null) + throw new System.ArgumentNullException("periodStart"); + + if (periodEnd == null) + throw new System.ArgumentNullException("periodEnd"); + if (periodType == null) throw new System.ArgumentNullException("periodType"); var urlBuilder_ = new System.Text.StringBuilder(); urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/project/resourcePlanBudget?"); + urlBuilder_.Append(System.Uri.EscapeDataString("periodStart") + "=").Append(System.Uri.EscapeDataString(ConvertToString(periodStart, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(System.Uri.EscapeDataString("periodEnd") + "=").Append(System.Uri.EscapeDataString(ConvertToString(periodEnd, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); urlBuilder_.Append(System.Uri.EscapeDataString("periodType") + "=").Append(System.Uri.EscapeDataString(ConvertToString(periodType, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); if (projectId != null) { urlBuilder_.Append(System.Uri.EscapeDataString("projectId") + "=").Append(System.Uri.EscapeDataString(ConvertToString(projectId, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } - if (periodStart != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("periodStart") + "=").Append(System.Uri.EscapeDataString(ConvertToString(periodStart, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (periodEnd != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("periodEnd") + "=").Append(System.Uri.EscapeDataString(ConvertToString(periodEnd, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } if (fields != null) { urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -44391,7 +44437,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -44472,7 +44518,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -44547,7 +44593,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -44643,7 +44689,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -44724,7 +44770,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -44805,7 +44851,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -44966,7 +45012,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -45047,7 +45093,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -45158,7 +45204,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -45239,7 +45285,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -45319,7 +45365,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -45520,7 +45566,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -45595,7 +45641,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -45677,7 +45723,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -45774,7 +45820,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -45916,7 +45962,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -45996,7 +46042,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -46077,7 +46123,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -46108,40 +46154,20 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Search transport type. + /// [BETA] Get deviation by order line ID. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' /// - /// List of valid suppliers ids. - /// Containing - /// From index - /// Number of elements to return - /// Sorting pattern + /// Element ID /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetTransportTypesAsync(System.Collections.Generic.IEnumerable supplierId = null, string name = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetPurchaseOrderDeviationAsync(int id, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (id == null) + throw new System.ArgumentNullException("id"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/transportType?"); - if (supplierId != null) - { - foreach (var item_ in supplierId) { urlBuilder_.Append(System.Uri.EscapeDataString("supplierId") + "=").Append(System.Uri.EscapeDataString(ConvertToString(item_, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } - } - if (name != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("name") + "=").Append(System.Uri.EscapeDataString(ConvertToString(name, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (from != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("from") + "=").Append(System.Uri.EscapeDataString(ConvertToString(from, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (count != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (sorting != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("sorting") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sorting, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/deviation/{id}?"); + urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); if (fields != null) { urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -46178,9 +46204,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -46209,25 +46235,20 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Get deviation by order line ID. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' + /// Update deviation. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' /// /// Element ID - /// Fields filter pattern + /// Partial object describing what should be updated /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetPurchaseOrderDeviationAsync(int id, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task UpdatePurchaseOrderDeviationAsync(int id, Deviation body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (id == null) throw new System.ArgumentNullException("id"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/deviation/{id}?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/deviation/{id}"); urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); - if (fields != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); var disposeClient_ = false; @@ -46235,7 +46256,11 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Method = new System.Net.Http.HttpMethod("GET"); + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("PUT"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -46259,7 +46284,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -46290,13 +46315,12 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Update deviation. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' + /// [BETA] Delete goods receipt by purchase order ID. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' /// /// Element ID - /// Partial object describing what should be updated /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task UpdatePurchaseOrderDeviationAsync(int id, Deviation body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task DeletePurchaseOrderDeviationAsync(int id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (id == null) throw new System.ArgumentNullException("id"); @@ -46311,11 +46335,88 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); - var content_ = new System.Net.Http.StringContent(json_); - content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Method = new System.Net.Http.HttpMethod("DELETE"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// [BETA] Find handled deviations for purchase order. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' + /// + /// Equals + /// From index + /// Number of elements to return + /// Sorting pattern + /// Fields filter pattern + /// successful operation + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task GetPurchaseOrderDeviationsAsync(int purchaseOrderId, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + if (purchaseOrderId == null) + throw new System.ArgumentNullException("purchaseOrderId"); + + var urlBuilder_ = new System.Text.StringBuilder(); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/deviation?"); + urlBuilder_.Append(System.Uri.EscapeDataString("purchaseOrderId") + "=").Append(System.Uri.EscapeDataString(ConvertToString(purchaseOrderId, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + if (from != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("from") + "=").Append(System.Uri.EscapeDataString(ConvertToString(from, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (count != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (sorting != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("sorting") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sorting, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (fields != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; + + var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + request_.Method = new System.Net.Http.HttpMethod("GET"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -46339,9 +46440,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -46370,19 +46471,15 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Delete goods receipt by purchase order ID. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' + /// [BETA] Register deviation on goods receipt. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' /// - /// Element ID - /// successful operation + /// JSON representing the new object to be created. Should not have ID and version set. + /// successfully created /// A server side error occurred. - public virtual async System.Threading.Tasks.Task DeletePurchaseOrderDeviationAsync(int id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task AddPurchaseOrderDeviationAsync(Deviation body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (id == null) - throw new System.ArgumentNullException("id"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/deviation/{id}"); - urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/deviation"); var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); var disposeClient_ = false; @@ -46390,7 +46487,12 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Method = new System.Net.Http.HttpMethod("DELETE"); + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -46413,6 +46515,20 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; + if (response_.IsSuccessStatusCode) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } } finally { @@ -46430,40 +46546,15 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Find handled deviations for purchase order. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' + /// [BETA] Register multiple deviations. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' /// - /// Equals - /// From index - /// Number of elements to return - /// Sorting pattern - /// Fields filter pattern - /// successful operation + /// JSON representing a list of new objects to be created. Should not have ID and version set. + /// successfully created /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetPurchaseOrderDeviationsAsync(int purchaseOrderId, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task AddPurchaseOrderDeviationListAsync(System.Collections.Generic.IEnumerable body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (purchaseOrderId == null) - throw new System.ArgumentNullException("purchaseOrderId"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/deviation?"); - urlBuilder_.Append(System.Uri.EscapeDataString("purchaseOrderId") + "=").Append(System.Uri.EscapeDataString(ConvertToString(purchaseOrderId, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - if (from != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("from") + "=").Append(System.Uri.EscapeDataString(ConvertToString(from, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (count != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (sorting != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("sorting") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sorting, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (fields != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/deviation/list"); var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); var disposeClient_ = false; @@ -46471,7 +46562,11 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Method = new System.Net.Http.HttpMethod("GET"); + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -46495,7 +46590,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -46526,15 +46621,15 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Register deviation on goods receipt. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' + /// [BETA] Update multiple deviations. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' /// - /// JSON representing the new object to be created. Should not have ID and version set. - /// successfully created + /// JSON representing updates to objects. Should have ID and version set. + /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task AddPurchaseOrderDeviationAsync(Deviation body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task UpdatePurchaseOrderDeviationListAsync(System.Collections.Generic.IEnumerable body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/deviation"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/deviation/list"); var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); var disposeClient_ = false; @@ -46546,7 +46641,7 @@ public string BaseUrl var content_ = new System.Net.Http.StringContent(json_); content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Method = new System.Net.Http.HttpMethod("PUT"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -46570,9 +46665,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -46601,15 +46696,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Register multiple deviations. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' + /// [BETA] Approve deviations. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' /// - /// JSON representing a list of new objects to be created. Should not have ID and version set. - /// successfully created + /// Purchase Order ID. + /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task AddPurchaseOrderDeviationListAsync(System.Collections.Generic.IEnumerable body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task ApprovePurchaseOrderDeviationAsync(int id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (id == null) + throw new System.ArgumentNullException("id"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/deviation/list"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/deviation/{id}/:approve"); + urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); var disposeClient_ = false; @@ -46617,11 +46716,8 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); - var content_ = new System.Net.Http.StringContent(json_); - content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Content = new System.Net.Http.StringContent(string.Empty, System.Text.Encoding.UTF8, "application/json"); + request_.Method = new System.Net.Http.HttpMethod("PUT"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -46645,9 +46741,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -46676,15 +46772,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Update multiple deviations. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' + /// [BETA] Send deviations to approval. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' /// - /// JSON representing updates to objects. Should have ID and version set. + /// Purchase Order ID. /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task UpdatePurchaseOrderDeviationListAsync(System.Collections.Generic.IEnumerable body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task DeliverPurchaseOrderDeviationDeliverAsync(int id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (id == null) + throw new System.ArgumentNullException("id"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/deviation/list"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/deviation/{id}/:deliver"); + urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); var disposeClient_ = false; @@ -46692,10 +46792,7 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); - var content_ = new System.Net.Http.StringContent(json_); - content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - request_.Content = content_; + request_.Content = new System.Net.Http.StringContent(string.Empty, System.Text.Encoding.UTF8, "application/json"); request_.Method = new System.Net.Http.HttpMethod("PUT"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); @@ -46720,9 +46817,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -46751,18 +46848,18 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Approve deviations. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' + /// [BETA] Undeliver the deviations. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' /// /// Purchase Order ID. /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task ApprovePurchaseOrderDeviationAsync(int id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task UndeliverPurchaseOrderDeviationUndeliverAsync(int id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (id == null) throw new System.ArgumentNullException("id"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/deviation/{id}/:approve"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/deviation/{id}/:undeliver"); urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); @@ -46796,7 +46893,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -46827,19 +46924,25 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Send deviations to approval. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' + /// [BETA] Get goods receipt by purchase order ID. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' /// - /// Purchase Order ID. + /// Element ID + /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task DeliverPurchaseOrderDeviationDeliverAsync(int id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetPurchaseOrderGoodsReceiptAsync(int id, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (id == null) throw new System.ArgumentNullException("id"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/deviation/{id}/:deliver"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/goodsReceipt/{id}?"); urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); + if (fields != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); var disposeClient_ = false; @@ -46847,8 +46950,7 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Content = new System.Net.Http.StringContent(string.Empty, System.Text.Encoding.UTF8, "application/json"); - request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Method = new System.Net.Http.HttpMethod("GET"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -46872,9 +46974,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -46903,19 +47005,26 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Undeliver the deviations. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' + /// [BETA] Update goods receipt. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' /// - /// Purchase Order ID. + /// Goods Receipt ID. + /// Partial object describing what should be updated + /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task UndeliverPurchaseOrderDeviationUndeliverAsync(int id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task UpdatePurchaseOrderGoodsReceiptAsync(int id, GoodsReceipt body = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (id == null) throw new System.ArgumentNullException("id"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/deviation/{id}/:undeliver"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/goodsReceipt/{id}?"); urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); + if (fields != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); var disposeClient_ = false; @@ -46923,7 +47032,10 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Content = new System.Net.Http.StringContent(string.Empty, System.Text.Encoding.UTF8, "application/json"); + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + request_.Content = content_; request_.Method = new System.Net.Http.HttpMethod("PUT"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); @@ -46948,9 +47060,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -46979,20 +47091,110 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Get goods receipt by purchase order ID. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' + /// [BETA] Delete goods receipt by ID. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' /// /// Element ID - /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetPurchaseOrderGoodsReceiptAsync(int id, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task DeletePurchaseOrderGoodsReceiptAsync(int id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (id == null) throw new System.ArgumentNullException("id"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/goodsReceipt/{id}?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/goodsReceipt/{id}"); urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); + + var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + request_.Method = new System.Net.Http.HttpMethod("DELETE"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// [BETA] Get goods receipt. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' + /// + /// Format is yyyy-MM-dd (from and incl.). + /// Format is yyyy-MM-dd (to and incl.). + /// Equals + /// Equals + /// From index + /// Number of elements to return + /// Sorting pattern + /// Fields filter pattern + /// successful operation + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task GetPurchaseOrderGoodsReceiptsAsync(string receivedDateFrom = null, string receivedDateTo = null, Status? status = null, bool? withoutPurchase = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + var urlBuilder_ = new System.Text.StringBuilder(); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/goodsReceipt?"); + if (receivedDateFrom != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("receivedDateFrom") + "=").Append(System.Uri.EscapeDataString(ConvertToString(receivedDateFrom, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (receivedDateTo != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("receivedDateTo") + "=").Append(System.Uri.EscapeDataString(ConvertToString(receivedDateTo, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (status != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("status") + "=").Append(System.Uri.EscapeDataString(ConvertToString(status, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (withoutPurchase != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("withoutPurchase") + "=").Append(System.Uri.EscapeDataString(ConvertToString(withoutPurchase, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (from != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("from") + "=").Append(System.Uri.EscapeDataString(ConvertToString(from, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (count != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (sorting != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("sorting") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sorting, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } if (fields != null) { urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -47029,9 +47231,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -47060,21 +47262,16 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Update goods receipt. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' + /// [BETA] Register goods receipt without an existing purchase order. When registration of several goods receipt, use /list for better performance. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' /// - /// Goods Receipt ID. - /// Partial object describing what should be updated + /// JSON representing the new object to be created. Should not have ID and version set. /// Fields filter pattern - /// successful operation + /// successfully created /// A server side error occurred. - public virtual async System.Threading.Tasks.Task UpdatePurchaseOrderGoodsReceiptAsync(int id, GoodsReceipt body = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task AddPurchaseOrderGoodsReceiptAsync(GoodsReceipt body = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (id == null) - throw new System.ArgumentNullException("id"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/goodsReceipt/{id}?"); - urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/goodsReceipt?"); if (fields != null) { urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -47091,7 +47288,7 @@ public string BaseUrl var content_ = new System.Net.Http.StringContent(json_); content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Method = new System.Net.Http.HttpMethod("POST"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -47115,7 +47312,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -47146,19 +47343,21 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Delete goods receipt by ID. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' + /// [BETA] Register multiple goods receipt without an existing purchase order. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' /// - /// Element ID - /// successful operation + /// JSON representing a list of new objects to be created. Should not have ID and version set. + /// Fields filter pattern + /// successfully created /// A server side error occurred. - public virtual async System.Threading.Tasks.Task DeletePurchaseOrderGoodsReceiptAsync(int id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task AddPurchaseOrderGoodsReceiptListAsync(System.Collections.Generic.IEnumerable body = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (id == null) - throw new System.ArgumentNullException("id"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/goodsReceipt/{id}"); - urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/goodsReceipt/list?"); + if (fields != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); var disposeClient_ = false; @@ -47166,7 +47365,12 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Method = new System.Net.Http.HttpMethod("DELETE"); + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -47189,6 +47393,20 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; + if (response_.IsSuccessStatusCode) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } } finally { @@ -47206,54 +47424,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Get goods receipt. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' + /// [BETA] Delete multiple goods receipt by ID. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' /// - /// Format is yyyy-MM-dd (from and incl.). - /// Format is yyyy-MM-dd (to and incl.). - /// Equals - /// Equals - /// From index - /// Number of elements to return - /// Sorting pattern - /// Fields filter pattern + /// ID of the elements /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetPurchaseOrderGoodsReceiptsAsync(string receivedDateFrom = null, string receivedDateTo = null, Status? status = null, bool? withoutPurchase = null, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task DeletePurchaseOrderGoodsReceiptListAsync(string ids, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (ids == null) + throw new System.ArgumentNullException("ids"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/goodsReceipt?"); - if (receivedDateFrom != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("receivedDateFrom") + "=").Append(System.Uri.EscapeDataString(ConvertToString(receivedDateFrom, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (receivedDateTo != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("receivedDateTo") + "=").Append(System.Uri.EscapeDataString(ConvertToString(receivedDateTo, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (status != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("status") + "=").Append(System.Uri.EscapeDataString(ConvertToString(status, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (withoutPurchase != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("withoutPurchase") + "=").Append(System.Uri.EscapeDataString(ConvertToString(withoutPurchase, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (from != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("from") + "=").Append(System.Uri.EscapeDataString(ConvertToString(from, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (count != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (sorting != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("sorting") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sorting, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (fields != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/goodsReceipt/list?"); + urlBuilder_.Append(System.Uri.EscapeDataString("ids") + "=").Append(System.Uri.EscapeDataString(ConvertToString(ids, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); urlBuilder_.Length--; var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); @@ -47262,8 +47445,7 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Method = new System.Net.Http.HttpMethod("GET"); - request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + request_.Method = new System.Net.Http.HttpMethod("DELETE"); PrepareRequest(client_, request_, urlBuilder_); @@ -47286,20 +47468,6 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) - { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); - } - return objectResponse_.Object; - } - else - { - var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); - } } finally { @@ -47317,16 +47485,35 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Register goods receipt without an existing purchase order. When registration of several goods receipt, use /list for better performance. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' + /// [BETA] Register goods receipt. Quantity received on the products is set to the same as quantity ordered. To update the quantity received, use PUT /purchaseOrder/goodsReceiptLine/{id}. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' /// - /// JSON representing the new object to be created. Should not have ID and version set. + /// Purchase Order ID. + /// yyyy-MM-dd. Defaults to today. + /// ID of inventory. Main inventory is set as default + /// Containing /// Fields filter pattern - /// successfully created + /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task AddPurchaseOrderGoodsReceiptAsync(GoodsReceipt body = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task RegisterPurchaseOrderGoodsReceiptAsync(int id, string registrationDate, int? inventoryId = null, string comment = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (id == null) + throw new System.ArgumentNullException("id"); + + if (registrationDate == null) + throw new System.ArgumentNullException("registrationDate"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/goodsReceipt?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/goodsReceipt/{id}/:registerGoodsReceipt?"); + urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(System.Uri.EscapeDataString("registrationDate") + "=").Append(System.Uri.EscapeDataString(ConvertToString(registrationDate, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + if (inventoryId != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("inventoryId") + "=").Append(System.Uri.EscapeDataString(ConvertToString(inventoryId, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (comment != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("comment") + "=").Append(System.Uri.EscapeDataString(ConvertToString(comment, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } if (fields != null) { urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -47339,11 +47526,8 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); - var content_ = new System.Net.Http.StringContent(json_); - content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Content = new System.Net.Http.StringContent(string.Empty, System.Text.Encoding.UTF8, "application/json"); + request_.Method = new System.Net.Http.HttpMethod("PUT"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -47367,7 +47551,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -47398,16 +47582,25 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Register multiple goods receipt without an existing purchase order. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' + /// [BETA] Confirm goods receipt. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' /// - /// JSON representing a list of new objects to be created. Should not have ID and version set. + /// Purchase Order ID. + /// Create restorder if quantity received is less than ordered /// Fields filter pattern - /// successfully created + /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task AddPurchaseOrderGoodsReceiptListAsync(System.Collections.Generic.IEnumerable body = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task ConfirmPurchaseOrderGoodsReceiptAsync(int id, bool? createRestOrder = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (id == null) + throw new System.ArgumentNullException("id"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/goodsReceipt/list?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/goodsReceipt/{id}/:confirm?"); + urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); + if (createRestOrder != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("createRestOrder") + "=").Append(System.Uri.EscapeDataString(ConvertToString(createRestOrder, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } if (fields != null) { urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -47420,11 +47613,8 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); - var content_ = new System.Net.Http.StringContent(json_); - content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Content = new System.Net.Http.StringContent(string.Empty, System.Text.Encoding.UTF8, "application/json"); + request_.Method = new System.Net.Http.HttpMethod("PUT"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -47448,9 +47638,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -47479,19 +47669,34 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Delete multiple goods receipt by ID. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' + /// [BETA] Receive all ordered products and approve goods receipt. Only available for users that have activated the Logistics/Logistics Plus Beta-program in 'Our customer account' /// - /// ID of the elements + /// Purchase Order ID. + /// The approval date for the subscription. + /// ID of inventory. Main inventory is set as default + /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task DeletePurchaseOrderGoodsReceiptListAsync(string ids, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task ReceiveAndConfirmPurchaseOrderGoodsReceiptReceiveAndConfirmAsync(int id, string receivedDate, int? inventoryId = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (ids == null) - throw new System.ArgumentNullException("ids"); + if (id == null) + throw new System.ArgumentNullException("id"); + + if (receivedDate == null) + throw new System.ArgumentNullException("receivedDate"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/goodsReceipt/list?"); - urlBuilder_.Append(System.Uri.EscapeDataString("ids") + "=").Append(System.Uri.EscapeDataString(ConvertToString(ids, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/goodsReceipt/{id}/:receiveAndConfirm?"); + urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(System.Uri.EscapeDataString("receivedDate") + "=").Append(System.Uri.EscapeDataString(ConvertToString(receivedDate, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + if (inventoryId != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("inventoryId") + "=").Append(System.Uri.EscapeDataString(ConvertToString(inventoryId, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (fields != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } urlBuilder_.Length--; var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); @@ -47500,7 +47705,9 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Method = new System.Net.Http.HttpMethod("DELETE"); + request_.Content = new System.Net.Http.StringContent(string.Empty, System.Text.Encoding.UTF8, "application/json"); + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -47523,6 +47730,20 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; + if (response_.IsSuccessStatusCode) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } } finally { @@ -47540,35 +47761,20 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Register goods receipt. Quantity received on the products is set to the same as quantity ordered. To update the quantity received, use PUT /purchaseOrder/goodsReceiptLine/{id}. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' + /// [BETA] Get goods receipt line by purchase order line ID. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' /// - /// Purchase Order ID. - /// yyyy-MM-dd. Defaults to today. - /// ID of inventory. Main inventory is set as default - /// Containing + /// Element ID /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task RegisterPurchaseOrderGoodsReceiptAsync(int id, string registrationDate, int? inventoryId = null, string comment = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetPurchaseOrderGoodsReceiptLineAsync(int id, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (id == null) throw new System.ArgumentNullException("id"); - if (registrationDate == null) - throw new System.ArgumentNullException("registrationDate"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/goodsReceipt/{id}/:registerGoodsReceipt?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/goodsReceiptLine/{id}?"); urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); - urlBuilder_.Append(System.Uri.EscapeDataString("registrationDate") + "=").Append(System.Uri.EscapeDataString(ConvertToString(registrationDate, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - if (inventoryId != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("inventoryId") + "=").Append(System.Uri.EscapeDataString(ConvertToString(inventoryId, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (comment != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("comment") + "=").Append(System.Uri.EscapeDataString(ConvertToString(comment, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } if (fields != null) { urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -47581,8 +47787,7 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Content = new System.Net.Http.StringContent(string.Empty, System.Text.Encoding.UTF8, "application/json"); - request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Method = new System.Net.Http.HttpMethod("GET"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -47606,267 +47811,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) - { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); - } - return objectResponse_.Object; - } - else - { - var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); - } - } - finally - { - if (disposeResponse_) - response_.Dispose(); - } - } - } - finally - { - if (disposeClient_) - client_.Dispose(); - } - } - - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// [BETA] Confirm goods receipt. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' - /// - /// Purchase Order ID. - /// Create restorder if quantity received is less than ordered - /// Fields filter pattern - /// successful operation - /// A server side error occurred. - public virtual async System.Threading.Tasks.Task ConfirmPurchaseOrderGoodsReceiptAsync(int id, bool? createRestOrder = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - if (id == null) - throw new System.ArgumentNullException("id"); - - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/goodsReceipt/{id}/:confirm?"); - urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); - if (createRestOrder != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("createRestOrder") + "=").Append(System.Uri.EscapeDataString(ConvertToString(createRestOrder, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (fields != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; - - var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); - var disposeClient_ = false; - try - { - using (var request_ = new System.Net.Http.HttpRequestMessage()) - { - request_.Content = new System.Net.Http.StringContent(string.Empty, System.Text.Encoding.UTF8, "application/json"); - request_.Method = new System.Net.Http.HttpMethod("PUT"); - request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); - - PrepareRequest(client_, request_, urlBuilder_); - - var url_ = urlBuilder_.ToString(); - request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); - - PrepareRequest(client_, request_, url_); - - var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); - var disposeResponse_ = true; - try - { - var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); - if (response_.Content != null && response_.Content.Headers != null) - { - foreach (var item_ in response_.Content.Headers) - headers_[item_.Key] = item_.Value; - } - - ProcessResponse(client_, response_); - - var status_ = (int)response_.StatusCode; - if (status_ == 200) - { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); - } - return objectResponse_.Object; - } - else - { - var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); - } - } - finally - { - if (disposeResponse_) - response_.Dispose(); - } - } - } - finally - { - if (disposeClient_) - client_.Dispose(); - } - } - - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// [BETA] Receive all ordered products and approve goods receipt. Only available for users that have activated the Logistics/Logistics Plus Beta-program in 'Our customer account' - /// - /// Purchase Order ID. - /// The approval date for the subscription. - /// ID of inventory. Main inventory is set as default - /// Fields filter pattern - /// successful operation - /// A server side error occurred. - public virtual async System.Threading.Tasks.Task ReceiveAndConfirmPurchaseOrderGoodsReceiptReceiveAndConfirmAsync(int id, string receivedDate, int? inventoryId = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - if (id == null) - throw new System.ArgumentNullException("id"); - - if (receivedDate == null) - throw new System.ArgumentNullException("receivedDate"); - - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/goodsReceipt/{id}/:receiveAndConfirm?"); - urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); - urlBuilder_.Append(System.Uri.EscapeDataString("receivedDate") + "=").Append(System.Uri.EscapeDataString(ConvertToString(receivedDate, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - if (inventoryId != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("inventoryId") + "=").Append(System.Uri.EscapeDataString(ConvertToString(inventoryId, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (fields != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; - - var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); - var disposeClient_ = false; - try - { - using (var request_ = new System.Net.Http.HttpRequestMessage()) - { - request_.Content = new System.Net.Http.StringContent(string.Empty, System.Text.Encoding.UTF8, "application/json"); - request_.Method = new System.Net.Http.HttpMethod("PUT"); - request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); - - PrepareRequest(client_, request_, urlBuilder_); - - var url_ = urlBuilder_.ToString(); - request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); - - PrepareRequest(client_, request_, url_); - - var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); - var disposeResponse_ = true; - try - { - var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); - if (response_.Content != null && response_.Content.Headers != null) - { - foreach (var item_ in response_.Content.Headers) - headers_[item_.Key] = item_.Value; - } - - ProcessResponse(client_, response_); - - var status_ = (int)response_.StatusCode; - if (status_ == 200) - { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); - } - return objectResponse_.Object; - } - else - { - var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); - } - } - finally - { - if (disposeResponse_) - response_.Dispose(); - } - } - } - finally - { - if (disposeClient_) - client_.Dispose(); - } - } - - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// - /// [BETA] Get goods receipt line by purchase order line ID. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' - /// - /// Element ID - /// Fields filter pattern - /// successful operation - /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetPurchaseOrderGoodsReceiptLineAsync(int id, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - if (id == null) - throw new System.ArgumentNullException("id"); - - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/purchaseOrder/goodsReceiptLine/{id}?"); - urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); - if (fields != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; - - var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); - var disposeClient_ = false; - try - { - using (var request_ = new System.Net.Http.HttpRequestMessage()) - { - request_.Method = new System.Net.Http.HttpMethod("GET"); - request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); - - PrepareRequest(client_, request_, urlBuilder_); - - var url_ = urlBuilder_.ToString(); - request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); - - PrepareRequest(client_, request_, url_); - - var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); - var disposeResponse_ = true; - try - { - var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); - if (response_.Content != null && response_.Content.Headers != null) - { - foreach (var item_ in response_.Content.Headers) - headers_[item_.Key] = item_.Value; - } - - ProcessResponse(client_, response_); - - var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -47946,7 +47891,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -48102,7 +48047,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -48177,7 +48122,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -48252,7 +48197,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -48327,7 +48272,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -48468,7 +48413,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -48634,7 +48579,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -48709,7 +48654,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -48784,7 +48729,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -48926,7 +48871,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -49006,7 +48951,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -49141,7 +49086,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -49216,7 +49161,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -49291,7 +49236,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -49432,7 +49377,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -49558,7 +49503,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -49633,7 +49578,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -49714,7 +49659,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -49850,7 +49795,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -49946,7 +49891,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -50047,7 +49992,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -50148,7 +50093,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -50249,7 +50194,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -50350,7 +50295,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -50636,7 +50581,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -50717,7 +50662,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -50843,7 +50788,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -50929,7 +50874,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -51010,7 +50955,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -51091,7 +51036,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -51237,7 +51182,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -51312,7 +51257,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -51388,7 +51333,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -51463,7 +51408,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -51543,7 +51488,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -51634,7 +51579,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -51709,7 +51654,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -51784,7 +51729,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -51859,7 +51804,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -52001,7 +51946,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -52081,7 +52026,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -52237,7 +52182,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -52312,7 +52257,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -52387,7 +52332,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -52462,7 +52407,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -52604,7 +52549,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -52684,7 +52629,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -52775,7 +52720,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -52850,7 +52795,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -52931,7 +52876,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -53012,7 +52957,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -53153,7 +53098,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -53244,7 +53189,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -53326,7 +53271,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -53479,7 +53424,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -53559,7 +53504,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -53590,7 +53535,7 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Delete supplier by ID + /// Delete supplier by ID /// /// Element ID /// successful operation @@ -53760,7 +53705,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -53835,7 +53780,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -53866,7 +53811,7 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Create multiple suppliers. Related supplier addresses may also be created. + /// Create multiple suppliers. Related supplier addresses may also be created. /// /// JSON representing a list of new objects to be created. Should not have ID and version set. /// successfully created @@ -53910,7 +53855,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -53941,7 +53886,7 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// [BETA] Update multiple suppliers. Addresses can also be updated. + /// Update multiple suppliers. Addresses can also be updated. /// /// JSON representing updates to objects. Should have ID and version set. /// successful operation @@ -53985,7 +53930,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -54066,7 +54011,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -54192,7 +54137,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -54274,7 +54219,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -54349,7 +54294,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -54455,7 +54400,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -54546,7 +54491,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -54628,7 +54573,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -54715,7 +54660,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -54802,7 +54747,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -54883,7 +54828,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -54975,7 +54920,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -55082,7 +55027,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -55163,7 +55108,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -55244,7 +55189,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -55325,7 +55270,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -55405,7 +55350,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -55592,7 +55537,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -55667,7 +55612,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -55742,7 +55687,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -55817,7 +55762,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -55848,19 +55793,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Only for allocated hours on the company's internal holiday/vacation activity. Mark the allocated hour entry as unapproved. A notification will be sent to the entry's employee if the entry's approval status or comment has changed. + /// Only for allocated hours on the company's internal holiday/vacation activity. Mark the allocated hour entry as approved. The hours will be copied to the time sheet. A notification will be sent to the entry's employee if the entry's approval status or comment has changed. /// /// Element ID - /// Comment to be added to the unapproved hour entry. + /// Comment to be added to the approved hour entry. /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task UnapproveTimesheetAllocatedAsync(int id, string managerComment = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task ApproveTimesheetAllocatedAsync(int id, string managerComment = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (id == null) throw new System.ArgumentNullException("id"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/timesheet/allocated/{id}/:unapprove?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/timesheet/allocated/{id}/:approve?"); urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); if (managerComment != null) { @@ -55899,7 +55844,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -55930,19 +55875,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Only for allocated hours on the company's internal holiday/vacation activity. Mark the allocated hour entry as approved. The hours will be copied to the time sheet. A notification will be sent to the entry's employee if the entry's approval status or comment has changed. + /// Only for allocated hours on the company's internal holiday/vacation activity. Mark the allocated hour entry as unapproved. A notification will be sent to the entry's employee if the entry's approval status or comment has changed. /// /// Element ID - /// Comment to be added to the approved hour entry. + /// Comment to be added to the unapproved hour entry. /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task ApproveTimesheetAllocatedAsync(int id, string managerComment = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task UnapproveTimesheetAllocatedAsync(int id, string managerComment = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (id == null) throw new System.ArgumentNullException("id"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/timesheet/allocated/{id}/:approve?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/timesheet/allocated/{id}/:unapprove?"); urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); if (managerComment != null) { @@ -55981,7 +55926,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -56078,7 +56023,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -56175,7 +56120,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -56256,7 +56201,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -56336,7 +56281,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -56497,7 +56442,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -56572,7 +56517,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -56653,7 +56598,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -56733,7 +56678,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -56925,7 +56870,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -57000,7 +56945,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -57075,7 +57020,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -57150,7 +57095,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -57246,7 +57191,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -57347,7 +57292,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -57438,7 +57383,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -57519,7 +57464,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -57606,7 +57551,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -57637,28 +57582,43 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// reopen month(s). If id is provided the other args are ignored + /// Find monthly status for given month. /// - /// Element ID /// List of IDs. Defaults to ID of token owner. /// 2020-01 + /// From index + /// Number of elements to return + /// Sorting pattern + /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task ReopenTimesheetMonthAsync(int? id = null, string employeeIds = null, string monthYear = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task GetTimesheetMonthByMonthNumberAsync(string employeeIds, string monthYear, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (employeeIds == null) + throw new System.ArgumentNullException("employeeIds"); + + if (monthYear == null) + throw new System.ArgumentNullException("monthYear"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/timesheet/month/:reopen?"); - if (id != null) + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/timesheet/month/byMonthNumber?"); + urlBuilder_.Append(System.Uri.EscapeDataString("employeeIds") + "=").Append(System.Uri.EscapeDataString(ConvertToString(employeeIds, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(System.Uri.EscapeDataString("monthYear") + "=").Append(System.Uri.EscapeDataString(ConvertToString(monthYear, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + if (from != null) { - urlBuilder_.Append(System.Uri.EscapeDataString("id") + "=").Append(System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(System.Uri.EscapeDataString("from") + "=").Append(System.Uri.EscapeDataString(ConvertToString(from, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } - if (employeeIds != null) + if (count != null) { - urlBuilder_.Append(System.Uri.EscapeDataString("employeeIds") + "=").Append(System.Uri.EscapeDataString(ConvertToString(employeeIds, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } - if (monthYear != null) + if (sorting != null) { - urlBuilder_.Append(System.Uri.EscapeDataString("monthYear") + "=").Append(System.Uri.EscapeDataString(ConvertToString(monthYear, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(System.Uri.EscapeDataString("sorting") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sorting, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (fields != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } urlBuilder_.Length--; @@ -57668,8 +57628,7 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Content = new System.Net.Http.StringContent(string.Empty, System.Text.Encoding.UTF8, "application/json"); - request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Method = new System.Net.Http.HttpMethod("GET"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -57693,7 +57652,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -57724,17 +57683,17 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// unapprove month(s). If id is provided the other args are ignored + /// reopen month(s). If id is provided the other args are ignored /// /// Element ID /// List of IDs. Defaults to ID of token owner. /// 2020-01 /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task UnapproveTimesheetMonthAsync(int? id = null, string employeeIds = null, string monthYear = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task ReopenTimesheetMonthAsync(int? id = null, string employeeIds = null, string monthYear = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/timesheet/month/:unapprove?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/timesheet/month/:reopen?"); if (id != null) { urlBuilder_.Append(System.Uri.EscapeDataString("id") + "=").Append(System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -57780,7 +57739,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -57872,7 +57831,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -57903,43 +57862,28 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Find monthly status for given month. + /// unapprove month(s). If id is provided the other args are ignored /// + /// Element ID /// List of IDs. Defaults to ID of token owner. /// 2020-01 - /// From index - /// Number of elements to return - /// Sorting pattern - /// Fields filter pattern /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetTimesheetMonthByMonthNumberAsync(string employeeIds, string monthYear, int? from = null, int? count = null, string sorting = null, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task UnapproveTimesheetMonthAsync(int? id = null, string employeeIds = null, string monthYear = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (employeeIds == null) - throw new System.ArgumentNullException("employeeIds"); - - if (monthYear == null) - throw new System.ArgumentNullException("monthYear"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/timesheet/month/byMonthNumber?"); - urlBuilder_.Append(System.Uri.EscapeDataString("employeeIds") + "=").Append(System.Uri.EscapeDataString(ConvertToString(employeeIds, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - urlBuilder_.Append(System.Uri.EscapeDataString("monthYear") + "=").Append(System.Uri.EscapeDataString(ConvertToString(monthYear, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - if (from != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("from") + "=").Append(System.Uri.EscapeDataString(ConvertToString(from, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (count != null) + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/timesheet/month/:unapprove?"); + if (id != null) { - urlBuilder_.Append(System.Uri.EscapeDataString("count") + "=").Append(System.Uri.EscapeDataString(ConvertToString(count, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(System.Uri.EscapeDataString("id") + "=").Append(System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } - if (sorting != null) + if (employeeIds != null) { - urlBuilder_.Append(System.Uri.EscapeDataString("sorting") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sorting, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(System.Uri.EscapeDataString("employeeIds") + "=").Append(System.Uri.EscapeDataString(ConvertToString(employeeIds, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } - if (fields != null) + if (monthYear != null) { - urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(System.Uri.EscapeDataString("monthYear") + "=").Append(System.Uri.EscapeDataString(ConvertToString(monthYear, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } urlBuilder_.Length--; @@ -57949,7 +57893,8 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Method = new System.Net.Http.HttpMethod("GET"); + request_.Content = new System.Net.Http.StringContent(string.Empty, System.Text.Encoding.UTF8, "application/json"); + request_.Method = new System.Net.Http.HttpMethod("PUT"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -57973,7 +57918,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -58054,7 +57999,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -58134,7 +58079,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -58305,7 +58250,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -58380,7 +58325,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -58461,7 +58406,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -58541,7 +58486,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -58707,7 +58652,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -58782,7 +58727,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -58858,7 +58803,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -58939,7 +58884,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -59019,7 +58964,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -59116,7 +59061,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -59314,7 +59259,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -59395,7 +59340,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -59506,7 +59451,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -59593,7 +59538,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -59680,7 +59625,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -59711,17 +59656,17 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Unapprove week. By ID or (ISO-8601 week and employeeId combination). + /// Approve week. By ID or (ISO-8601 week and employeeId combination). /// /// Equals /// Equals /// ISO-8601 week-year /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task UnapproveTimesheetWeekAsync(int? id = null, int? employeeId = null, string weekYear = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task ApproveTimesheetWeekAsync(int? id = null, int? employeeId = null, string weekYear = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/timesheet/week/:unapprove?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/timesheet/week/:approve?"); if (id != null) { urlBuilder_.Append(System.Uri.EscapeDataString("id") + "=").Append(System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -59767,7 +59712,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -59798,17 +59743,17 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Approve week. By ID or (ISO-8601 week and employeeId combination). + /// Unapprove week. By ID or (ISO-8601 week and employeeId combination). /// /// Equals /// Equals /// ISO-8601 week-year /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task ApproveTimesheetWeekAsync(int? id = null, int? employeeId = null, string weekYear = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task UnapproveTimesheetWeekAsync(int? id = null, int? employeeId = null, string weekYear = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/timesheet/week/:approve?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/timesheet/week/:unapprove?"); if (id != null) { urlBuilder_.Append(System.Uri.EscapeDataString("id") + "=").Append(System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -59854,7 +59799,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -59935,7 +59880,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -60015,7 +59960,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -60221,7 +60166,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -60296,7 +60241,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -60377,7 +60322,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -60457,7 +60402,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -60663,7 +60608,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -60738,7 +60683,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -60813,7 +60758,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -60894,7 +60839,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -61029,7 +60974,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -61058,6 +61003,141 @@ public string BaseUrl } } + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Create participants on cost. + /// + /// JSON representing the new object to be created. Should not have ID and version set. + /// successfully created + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task AddTravelExpenseCostParticipantListAsync(System.Collections.Generic.IEnumerable body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + var urlBuilder_ = new System.Text.StringBuilder(); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/costParticipant/list"); + + var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (response_.IsSuccessStatusCode) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Delete cost participants. + /// + /// JSON representing objects to delete. Should have ID and version set. + /// successful operation + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task DeleteTravelExpenseCostParticipantListAsync(System.Collections.Generic.IEnumerable body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + var urlBuilder_ = new System.Text.StringBuilder(); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/costParticipant/list"); + + var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("DELETE"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// Get cost's participants by costId. @@ -61125,7 +61205,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -61212,7 +61292,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -61293,7 +61373,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -61428,7 +61508,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -61509,7 +61589,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -61589,7 +61669,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -61810,7 +61890,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -61885,7 +61965,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -61966,7 +62046,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -62046,7 +62126,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -62207,7 +62287,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -62282,7 +62362,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -62313,25 +62393,15 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Get per diem compensation by ID. + /// Create passengers. /// - /// Element ID - /// Fields filter pattern - /// successful operation + /// JSON representing the new object to be created. Should not have ID and version set. + /// successfully created /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetTravelExpensePerDiemCompensationAsync(int id, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task AddTravelExpensePassengerListAsync(System.Collections.Generic.IEnumerable body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (id == null) - throw new System.ArgumentNullException("id"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/perDiemCompensation/{id}?"); - urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); - if (fields != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/passenger/list"); var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); var disposeClient_ = false; @@ -62339,7 +62409,11 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Method = new System.Net.Http.HttpMethod("GET"); + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -62363,7 +62437,148 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Delete passengers. + /// + /// JSON representing objects to delete. Should have ID and version set. + /// successful operation + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task DeleteTravelExpensePassengerListAsync(System.Collections.Generic.IEnumerable body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + var urlBuilder_ = new System.Text.StringBuilder(); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/passenger/list"); + + var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("DELETE"); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + } + finally + { + if (disposeResponse_) + response_.Dispose(); + } + } + } + finally + { + if (disposeClient_) + client_.Dispose(); + } + } + + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// Get per diem compensation by ID. + /// + /// Element ID + /// Fields filter pattern + /// successful operation + /// A server side error occurred. + public virtual async System.Threading.Tasks.Task GetTravelExpensePerDiemCompensationAsync(int id, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + { + if (id == null) + throw new System.ArgumentNullException("id"); + + var urlBuilder_ = new System.Text.StringBuilder(); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/perDiemCompensation/{id}?"); + urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); + if (fields != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; + + var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); + var disposeClient_ = false; + try + { + using (var request_ = new System.Net.Http.HttpRequestMessage()) + { + request_.Method = new System.Net.Http.HttpMethod("GET"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + + PrepareRequest(client_, request_, urlBuilder_); + + var url_ = urlBuilder_.ToString(); + request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); + + PrepareRequest(client_, request_, url_); + + var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + var disposeResponse_ = true; + try + { + var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); + if (response_.Content != null && response_.Content.Headers != null) + { + foreach (var item_ in response_.Content.Headers) + headers_[item_.Key] = item_.Value; + } + + ProcessResponse(client_, response_); + + var status_ = (int)response_.StatusCode; + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -62443,7 +62658,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -62669,7 +62884,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -62744,7 +62959,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -62825,7 +63040,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -62905,7 +63120,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -63042,7 +63257,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -63168,7 +63383,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -63243,7 +63458,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -63274,15 +63489,15 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Unapprove travel expenses. + /// Approve travel expenses. /// /// ID of the elements /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task UnapproveTravelExpenseAsync(string id = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task ApproveTravelExpenseAsync(string id = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/:unapprove?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/:approve?"); if (id != null) { urlBuilder_.Append(System.Uri.EscapeDataString("id") + "=").Append(System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -63320,7 +63535,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -63351,15 +63566,15 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Approve travel expenses. + /// Unapprove travel expenses. /// /// ID of the elements /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task ApproveTravelExpenseAsync(string id = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task UnapproveTravelExpenseAsync(string id = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/:approve?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/:unapprove?"); if (id != null) { urlBuilder_.Append(System.Uri.EscapeDataString("id") + "=").Append(System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); @@ -63397,7 +63612,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -63428,19 +63643,20 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Get attachment by travel expense ID. + /// Deliver travel expenses. /// - /// Travel Expense ID from which PDF is downloaded. + /// ID of the elements /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task DownloadTravelExpenseAttachmentAsync(int travelExpenseId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task DeliverTravelExpenseDeliverAsync(string id = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (travelExpenseId == null) - throw new System.ArgumentNullException("travelExpenseId"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/{travelExpenseId}/attachment"); - urlBuilder_.Replace("{travelExpenseId}", System.Uri.EscapeDataString(ConvertToString(travelExpenseId, System.Globalization.CultureInfo.InvariantCulture))); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/:deliver?"); + if (id != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("id") + "=").Append(System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + urlBuilder_.Length--; var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); var disposeClient_ = false; @@ -63448,8 +63664,9 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Method = new System.Net.Http.HttpMethod("GET"); - request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/octet-stream")); + request_.Content = new System.Net.Http.StringContent(string.Empty, System.Text.Encoding.UTF8, "application/json"); + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -63472,9 +63689,9 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) { throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); @@ -63503,24 +63720,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Upload attachment to travel expense. + /// Undeliver travel expenses. /// - /// Travel Expense ID to upload attachment to. - /// The file - /// Create new cost row when you add the attachment + /// ID of the elements + /// Partial object describing what should be updated /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task UploadTravelExpenseAttachmentAsync(int travelExpenseId, FileParameter file, bool? createNewCost = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task UndeliverTravelExpenseUndeliverAsync(string id = null, TravelExpense body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (travelExpenseId == null) - throw new System.ArgumentNullException("travelExpenseId"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/{travelExpenseId}/attachment?"); - urlBuilder_.Replace("{travelExpenseId}", System.Uri.EscapeDataString(ConvertToString(travelExpenseId, System.Globalization.CultureInfo.InvariantCulture))); - if (createNewCost != null) + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/:undeliver?"); + if (id != null) { - urlBuilder_.Append(System.Uri.EscapeDataString("createNewCost") + "=").Append(System.Uri.EscapeDataString(ConvertToString(createNewCost, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(System.Uri.EscapeDataString("id") + "=").Append(System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } urlBuilder_.Length--; @@ -63530,22 +63742,12 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - var boundary_ = System.Guid.NewGuid().ToString(); - var content_ = new System.Net.Http.MultipartFormDataContent(boundary_); - content_.Headers.Remove("Content-Type"); - content_.Headers.TryAddWithoutValidation("Content-Type", "multipart/form-data; boundary=" + boundary_); - - if (file == null) - throw new System.ArgumentNullException("file"); - else - { - var content_file_ = new System.Net.Http.StreamContent(file.Data); - if (!string.IsNullOrEmpty(file.ContentType)) - content_file_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse(file.ContentType); - content_.Add(content_file_, "file", file.FileName ?? "file"); - } + var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); + var content_ = new System.Net.Http.StringContent(json_); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -63568,6 +63770,20 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; + if (response_.IsSuccessStatusCode) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } } finally { @@ -63585,33 +63801,23 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Delete attachment. + /// Create vouchers /// - /// ID of attachment containing the attachment to delete. - /// Version of voucher containing the attachment to delete. - /// Should the attachment be sent to inbox rather than deleted? - /// If sendToInbox is true, should the attachment be split into one voucher per page? + /// yyyy-MM-dd. Defaults to today. + /// ID of the elements /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task DeleteTravelExpenseAttachmentAsync(int travelExpenseId, int? version = null, bool? sendToInbox = null, bool? split = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task CreateTravelExpenseAsync(string date, string id = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (travelExpenseId == null) - throw new System.ArgumentNullException("travelExpenseId"); + if (date == null) + throw new System.ArgumentNullException("date"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/{travelExpenseId}/attachment?"); - urlBuilder_.Replace("{travelExpenseId}", System.Uri.EscapeDataString(ConvertToString(travelExpenseId, System.Globalization.CultureInfo.InvariantCulture))); - if (version != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("version") + "=").Append(System.Uri.EscapeDataString(ConvertToString(version, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (sendToInbox != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("sendToInbox") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sendToInbox, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - if (split != null) + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/:createVouchers?"); + urlBuilder_.Append(System.Uri.EscapeDataString("date") + "=").Append(System.Uri.EscapeDataString(ConvertToString(date, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + if (id != null) { - urlBuilder_.Append(System.Uri.EscapeDataString("split") + "=").Append(System.Uri.EscapeDataString(ConvertToString(split, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(System.Uri.EscapeDataString("id") + "=").Append(System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } urlBuilder_.Length--; @@ -63621,7 +63827,9 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Method = new System.Net.Http.HttpMethod("DELETE"); + request_.Content = new System.Net.Http.StringContent(string.Empty, System.Text.Encoding.UTF8, "application/json"); + request_.Method = new System.Net.Http.HttpMethod("PUT"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); PrepareRequest(client_, request_, urlBuilder_); @@ -63644,6 +63852,20 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; + if (response_.IsSuccessStatusCode) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } } finally { @@ -63661,29 +63883,19 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Upload multiple attachments to travel expense. + /// Get attachment by travel expense ID. /// - /// Travel Expense ID to upload attachment to. - /// Multipart files - /// Create new cost row when you add the attachment + /// Travel Expense ID from which PDF is downloaded. /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task UploadTravelExpenseAttachmentListAsync(int travelExpenseId, System.IO.Stream body, bool? createNewCost = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task DownloadTravelExpenseAttachmentAsync(int travelExpenseId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { if (travelExpenseId == null) throw new System.ArgumentNullException("travelExpenseId"); - if (body == null) - throw new System.ArgumentNullException("body"); - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/{travelExpenseId}/attachment/list?"); + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/{travelExpenseId}/attachment"); urlBuilder_.Replace("{travelExpenseId}", System.Uri.EscapeDataString(ConvertToString(travelExpenseId, System.Globalization.CultureInfo.InvariantCulture))); - if (createNewCost != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("createNewCost") + "=").Append(System.Uri.EscapeDataString(ConvertToString(createNewCost, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); var disposeClient_ = false; @@ -63691,10 +63903,8 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - var content_ = new System.Net.Http.StreamContent(body); - content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("multipart/form-data"); - request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("POST"); + request_.Method = new System.Net.Http.HttpMethod("GET"); + request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/octet-stream")); PrepareRequest(client_, request_, urlBuilder_); @@ -63717,6 +63927,20 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; + if (response_.IsSuccessStatusCode) + { + var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); + if (objectResponse_.Object == null) + { + throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); + } + return objectResponse_.Object; + } + else + { + var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); + throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); + } } finally { @@ -63734,18 +63958,24 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Deliver travel expenses. + /// Upload attachment to travel expense. /// - /// ID of the elements + /// Travel Expense ID to upload attachment to. + /// The file + /// Create new cost row when you add the attachment /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task DeliverTravelExpenseDeliverAsync(string id = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task UploadTravelExpenseAttachmentAsync(int travelExpenseId, FileParameter file, bool? createNewCost = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (travelExpenseId == null) + throw new System.ArgumentNullException("travelExpenseId"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/:deliver?"); - if (id != null) + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/{travelExpenseId}/attachment?"); + urlBuilder_.Replace("{travelExpenseId}", System.Uri.EscapeDataString(ConvertToString(travelExpenseId, System.Globalization.CultureInfo.InvariantCulture))); + if (createNewCost != null) { - urlBuilder_.Append(System.Uri.EscapeDataString("id") + "=").Append(System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(System.Uri.EscapeDataString("createNewCost") + "=").Append(System.Uri.EscapeDataString(ConvertToString(createNewCost, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } urlBuilder_.Length--; @@ -63755,9 +63985,22 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Content = new System.Net.Http.StringContent(string.Empty, System.Text.Encoding.UTF8, "application/json"); - request_.Method = new System.Net.Http.HttpMethod("PUT"); - request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + var boundary_ = System.Guid.NewGuid().ToString(); + var content_ = new System.Net.Http.MultipartFormDataContent(boundary_); + content_.Headers.Remove("Content-Type"); + content_.Headers.TryAddWithoutValidation("Content-Type", "multipart/form-data; boundary=" + boundary_); + + if (file == null) + throw new System.ArgumentNullException("file"); + else + { + var content_file_ = new System.Net.Http.StreamContent(file.Data); + if (!string.IsNullOrEmpty(file.ContentType)) + content_file_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse(file.ContentType); + content_.Add(content_file_, "file", file.FileName ?? "file"); + } + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); PrepareRequest(client_, request_, urlBuilder_); @@ -63780,20 +64023,6 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) - { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); - } - return objectResponse_.Object; - } - else - { - var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); - } } finally { @@ -63811,19 +64040,33 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Undeliver travel expenses. + /// Delete attachment. /// - /// ID of the elements - /// Partial object describing what should be updated + /// ID of attachment containing the attachment to delete. + /// Version of voucher containing the attachment to delete. + /// Should the attachment be sent to inbox rather than deleted? + /// If sendToInbox is true, should the attachment be split into one voucher per page? /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task UndeliverTravelExpenseUndeliverAsync(string id = null, TravelExpense body = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task DeleteTravelExpenseAttachmentAsync(int travelExpenseId, int? version = null, bool? sendToInbox = null, bool? split = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { + if (travelExpenseId == null) + throw new System.ArgumentNullException("travelExpenseId"); + var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/:undeliver?"); - if (id != null) + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/{travelExpenseId}/attachment?"); + urlBuilder_.Replace("{travelExpenseId}", System.Uri.EscapeDataString(ConvertToString(travelExpenseId, System.Globalization.CultureInfo.InvariantCulture))); + if (version != null) { - urlBuilder_.Append(System.Uri.EscapeDataString("id") + "=").Append(System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(System.Uri.EscapeDataString("version") + "=").Append(System.Uri.EscapeDataString(ConvertToString(version, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (sendToInbox != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("sendToInbox") + "=").Append(System.Uri.EscapeDataString(ConvertToString(sendToInbox, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + } + if (split != null) + { + urlBuilder_.Append(System.Uri.EscapeDataString("split") + "=").Append(System.Uri.EscapeDataString(ConvertToString(split, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } urlBuilder_.Length--; @@ -63833,12 +64076,7 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value); - var content_ = new System.Net.Http.StringContent(json_); - content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - request_.Content = content_; - request_.Method = new System.Net.Http.HttpMethod("PUT"); - request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + request_.Method = new System.Net.Http.HttpMethod("DELETE"); PrepareRequest(client_, request_, urlBuilder_); @@ -63861,20 +64099,6 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) - { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); - } - return objectResponse_.Object; - } - else - { - var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); - } } finally { @@ -63892,23 +64116,27 @@ public string BaseUrl /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// - /// Create vouchers + /// Upload multiple attachments to travel expense. /// - /// yyyy-MM-dd. Defaults to today. - /// ID of the elements + /// Travel Expense ID to upload attachment to. + /// Multipart files + /// Create new cost row when you add the attachment /// successful operation /// A server side error occurred. - public virtual async System.Threading.Tasks.Task CreateTravelExpenseAsync(string date, string id = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public virtual async System.Threading.Tasks.Task UploadTravelExpenseAttachmentListAsync(int travelExpenseId, System.IO.Stream body, bool? createNewCost = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - if (date == null) - throw new System.ArgumentNullException("date"); + if (travelExpenseId == null) + throw new System.ArgumentNullException("travelExpenseId"); + + if (body == null) + throw new System.ArgumentNullException("body"); var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/:createVouchers?"); - urlBuilder_.Append(System.Uri.EscapeDataString("date") + "=").Append(System.Uri.EscapeDataString(ConvertToString(date, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - if (id != null) + urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/travelExpense/{travelExpenseId}/attachment/list?"); + urlBuilder_.Replace("{travelExpenseId}", System.Uri.EscapeDataString(ConvertToString(travelExpenseId, System.Globalization.CultureInfo.InvariantCulture))); + if (createNewCost != null) { - urlBuilder_.Append(System.Uri.EscapeDataString("id") + "=").Append(System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); + urlBuilder_.Append(System.Uri.EscapeDataString("createNewCost") + "=").Append(System.Uri.EscapeDataString(ConvertToString(createNewCost, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); } urlBuilder_.Length--; @@ -63918,9 +64146,10 @@ public string BaseUrl { using (var request_ = new System.Net.Http.HttpRequestMessage()) { - request_.Content = new System.Net.Http.StringContent(string.Empty, System.Text.Encoding.UTF8, "application/json"); - request_.Method = new System.Net.Http.HttpMethod("PUT"); - request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); + var content_ = new System.Net.Http.StreamContent(body); + content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("multipart/form-data"); + request_.Content = content_; + request_.Method = new System.Net.Http.HttpMethod("POST"); PrepareRequest(client_, request_, urlBuilder_); @@ -63943,20 +64172,6 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) - { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); - } - return objectResponse_.Object; - } - else - { - var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); - } } finally { @@ -64024,7 +64239,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -64165,7 +64380,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -64246,7 +64461,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -64397,7 +64612,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -64478,7 +64693,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -64589,7 +64804,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -64670,7 +64885,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -64781,7 +64996,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -64862,7 +65077,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -64973,7 +65188,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -65049,7 +65264,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -65130,7 +65345,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -65236,7 +65451,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -65327,7 +65542,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -65418,7 +65633,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -65514,7 +65729,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -65589,7 +65804,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -65670,7 +65885,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -65781,7 +65996,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -65856,7 +66071,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -65932,7 +66147,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -66010,7 +66225,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -66216,7 +66431,7 @@ public string BaseUrl ProcessResponse(client_, response_); var status_ = (int)response_.StatusCode; - if (status_ == 200) + if (response_.IsSuccessStatusCode) { var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); if (objectResponse_.Object == null) @@ -66245,84 +66460,6 @@ public string BaseUrl } } - /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. - /// Element ID - /// Fields filter pattern - /// successful operation - /// A server side error occurred. - public virtual async System.Threading.Tasks.Task GetYearEndNoteAsync(int id, string fields = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - if (id == null) - throw new System.ArgumentNullException("id"); - - var urlBuilder_ = new System.Text.StringBuilder(); - urlBuilder_.Append(BaseUrl != null ? BaseUrl.TrimEnd('/') : "").Append("/yearEnd/note/{id}?"); - urlBuilder_.Replace("{id}", System.Uri.EscapeDataString(ConvertToString(id, System.Globalization.CultureInfo.InvariantCulture))); - if (fields != null) - { - urlBuilder_.Append(System.Uri.EscapeDataString("fields") + "=").Append(System.Uri.EscapeDataString(ConvertToString(fields, System.Globalization.CultureInfo.InvariantCulture))).Append("&"); - } - urlBuilder_.Length--; - - var client_ = await CreateHttpClientAsync(cancellationToken).ConfigureAwait(false); - var disposeClient_ = false; - try - { - using (var request_ = new System.Net.Http.HttpRequestMessage()) - { - request_.Method = new System.Net.Http.HttpMethod("GET"); - request_.Headers.Accept.Add(System.Net.Http.Headers.MediaTypeWithQualityHeaderValue.Parse("application/json")); - - PrepareRequest(client_, request_, urlBuilder_); - - var url_ = urlBuilder_.ToString(); - request_.RequestUri = new System.Uri(url_, System.UriKind.RelativeOrAbsolute); - - PrepareRequest(client_, request_, url_); - - var response_ = await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); - var disposeResponse_ = true; - try - { - var headers_ = System.Linq.Enumerable.ToDictionary(response_.Headers, h_ => h_.Key, h_ => h_.Value); - if (response_.Content != null && response_.Content.Headers != null) - { - foreach (var item_ in response_.Content.Headers) - headers_[item_.Key] = item_.Value; - } - - ProcessResponse(client_, response_); - - var status_ = (int)response_.StatusCode; - if (status_ == 200) - { - var objectResponse_ = await ReadObjectResponseAsync(response_, headers_, cancellationToken).ConfigureAwait(false); - if (objectResponse_.Object == null) - { - throw new TripletexApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); - } - return objectResponse_.Object; - } - else - { - var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false); - throw new TripletexApiException("The HTTP status code of the response was not expected (" + status_ + ").", status_, responseData_, headers_, null); - } - } - finally - { - if (disposeResponse_) - response_.Dispose(); - } - } - } - finally - { - if (disposeClient_) - client_.Dispose(); - } - } - protected struct ObjectResponseResult { public ObjectResponseResult(T responseObject, string responseText) @@ -66426,6 +66563,114 @@ private string ConvertToString(object value, System.Globalization.CultureInfo cu } } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class AccountSuggestionDTO + { + [Newtonsoft.Json.JsonProperty("accountNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? AccountNumber { get; set; } + + [Newtonsoft.Json.JsonProperty("accountName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AccountName { get; set; } + + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + [Newtonsoft.Json.JsonProperty("tags", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Tags { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static AccountSuggestionDTO FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ListResponse + { + /// + /// Indicates whether there are more values available. Note: The value is not exact + /// + [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? FullResultSize { get; set; } + + [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? From { get; set; } + + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + /// + /// Used to know if the paginated list has changed. + /// + [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VersionDigest { get; set; } + + [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Values { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ListResponse FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ListResponseAccountSuggestionDTO + { + /// + /// Indicates whether there are more values available. Note: The value is not exact + /// + [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? FullResultSize { get; set; } + + [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? From { get; set; } + + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + /// + /// Used to know if the paginated list has changed. + /// + [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VersionDigest { get; set; } + + [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Values { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ListResponseAccountSuggestionDTO FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class Activity { @@ -66575,45 +66820,6 @@ public static ResponseWrapperActivity FromJson(string data) } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ListResponse - { - /// - /// Indicates whether there are more values available. Note: The value is not exact - /// - [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? FullResultSize { get; set; } - - [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? From { get; set; } - - [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - /// - /// Used to know if the paginated list has changed. - /// - [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string VersionDigest { get; set; } - - [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Values { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static ListResponse FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ListResponseActivity { @@ -66815,10 +67021,11 @@ public static ListResponseAddon FromJson(string data) } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperString + public partial class ResponseWrapperAddonStatusType { [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Value { get; set; } + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ResponseWrapperAddonStatusTypeValue? Value { get; set; } public string ToJson() { @@ -66826,21 +67033,20 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ResponseWrapperString FromJson(string data) + public static ResponseWrapperAddonStatusType FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperAddonStatusType + public partial class ResponseWrapperString { [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ResponseWrapperAddonStatusTypeValue? Value { get; set; } + public string Value { get; set; } public string ToJson() { @@ -66848,10 +67054,10 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ResponseWrapperAddonStatusType FromJson(string data) + public static ResponseWrapperString FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } @@ -67683,6 +67889,9 @@ public partial class Account [Newtonsoft.Json.JsonProperty("invoicingDepartment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public Department InvoicingDepartment { get; set; } + [Newtonsoft.Json.JsonProperty("isPostingsExist", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsPostingsExist { get; set; } + public string ToJson() { @@ -67800,12 +68009,6 @@ public partial class Asset [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public Account Account { get; set; } - /// - /// Depreciation account for the asset. - /// - [Newtonsoft.Json.JsonProperty("depreciationAccount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Account DepreciationAccount { get; set; } - /// /// Incoming balance for the asset. /// @@ -67818,16 +68021,6 @@ public partial class Asset [Newtonsoft.Json.JsonProperty("lifetime", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Lifetime { get; set; } - /// - /// Depreciation method - /// - [Newtonsoft.Json.JsonProperty("depreciationMethod", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public AssetDepreciationMethod? DepreciationMethod { get; set; } - - [Newtonsoft.Json.JsonProperty("depreciationFrom", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DepreciationFrom { get; set; } - /// /// Status /// @@ -67835,12 +68028,6 @@ public partial class Asset [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] public AssetStatus? Status { get; set; } - [Newtonsoft.Json.JsonProperty("customMonthlyWriteOff", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? CustomMonthlyWriteOff { get; set; } - - [Newtonsoft.Json.JsonProperty("taxRelatedDepreciationPercentage", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? TaxRelatedDepreciationPercentage { get; set; } - [Newtonsoft.Json.JsonProperty("depreciationRemainingValue", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public decimal? DepreciationRemainingValue { get; set; } @@ -67856,6 +68043,13 @@ public partial class Asset [Newtonsoft.Json.JsonProperty("externalAccumulatedDepreciation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public decimal? ExternalAccumulatedDepreciation { get; set; } + /// + /// Depreciation method + /// + [Newtonsoft.Json.JsonProperty("depreciationMethod", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public AssetDepreciationMethod? DepreciationMethod { get; set; } + public string ToJson() { @@ -67976,6 +68170,9 @@ public partial class Division [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } + [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayName { get; set; } + [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Name { get; set; } @@ -68172,6 +68369,9 @@ public partial class EmployeeCategory [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } + [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayName { get; set; } + [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Name { get; set; } @@ -68264,6 +68464,12 @@ public partial class Employment [Newtonsoft.Json.JsonProperty("employmentDetails", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.List EmploymentDetails { get; set; } + /// + /// If true, access to the employee will be removed when the employment ends. <br />This field is part of the Employee object, therefore changing it for one Employment affects all Employments. + /// + [Newtonsoft.Json.JsonProperty("isRemoveAccessAtEmploymentEnded", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsRemoveAccessAtEmploymentEnded { get; set; } + public string ToJson() { @@ -68684,34 +68890,46 @@ public static ResponseWrapperTlxNumber FromJson(string data) } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class AssetDetails + public partial class AccommodationAllowance { - [Newtonsoft.Json.JsonProperty("assetId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? AssetId { get; set; } + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } - [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - [Newtonsoft.Json.JsonProperty("dateOfAcquisition", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DateOfAcquisition { get; set; } + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } - [Newtonsoft.Json.JsonProperty("acquisitionCost", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AcquisitionCost { get; set; } + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("balanceIn", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? BalanceIn { get; set; } + [Newtonsoft.Json.JsonProperty("travelExpense", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TravelExpense TravelExpense { get; set; } - [Newtonsoft.Json.JsonProperty("balanceOut", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? BalanceOut { get; set; } + [Newtonsoft.Json.JsonProperty("rateType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TravelExpenseRate RateType { get; set; } - [Newtonsoft.Json.JsonProperty("balanceChange", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? BalanceChange { get; set; } + [Newtonsoft.Json.JsonProperty("rateCategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TravelExpenseRateCategory RateCategory { get; set; } - [Newtonsoft.Json.JsonProperty("status", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Status { get; set; } + [Newtonsoft.Json.JsonProperty("zone", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Zone { get; set; } - [Newtonsoft.Json.JsonProperty("lifetime", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Lifetime { get; set; } + [Newtonsoft.Json.JsonProperty("location", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Location { get; set; } + + [Newtonsoft.Json.JsonProperty("address", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Address { get; set; } + + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + [Newtonsoft.Json.JsonProperty("rate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Rate { get; set; } + + [Newtonsoft.Json.JsonProperty("amount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Amount { get; set; } public string ToJson() { @@ -68719,47 +68937,35 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static AssetDetails FromJson(string data) + public static AccommodationAllowance FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class AssetGroup + public partial class CloseGroup { - [Newtonsoft.Json.JsonProperty("accountId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? AccountId { get; set; } - - [Newtonsoft.Json.JsonProperty("accountNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int AccountNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("accountName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AccountName { get; set; } - - [Newtonsoft.Json.JsonProperty("balanceGroupName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string BalanceGroupName { get; set; } - - [Newtonsoft.Json.JsonProperty("assetCount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? AssetCount { get; set; } + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } - [Newtonsoft.Json.JsonProperty("acquisitionCostSum", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AcquisitionCostSum { get; set; } + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - [Newtonsoft.Json.JsonProperty("balanceInSum", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? BalanceInSum { get; set; } + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } - [Newtonsoft.Json.JsonProperty("balanceOutSum", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? BalanceOutSum { get; set; } + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("balanceChangeSum", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? BalanceChangeSum { get; set; } + [Newtonsoft.Json.JsonProperty("date", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Date { get; set; } - [Newtonsoft.Json.JsonProperty("assetDetails", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List AssetDetails { get; set; } + [Newtonsoft.Json.JsonProperty("postings", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Postings { get; set; } public string ToJson() { @@ -68767,26 +68973,42 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static AssetGroup FromJson(string data) + public static CloseGroup FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class AssetOverview + public partial class CompanyBankAccountPresentation { - [Newtonsoft.Json.JsonProperty("assetGroups", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List AssetGroups { get; set; } + /// + /// Iban-number + /// + [Newtonsoft.Json.JsonProperty("iban", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Iban { get; set; } - [Newtonsoft.Json.JsonProperty("startDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string StartDate { get; set; } + /// + /// Bban-number + /// + [Newtonsoft.Json.JsonProperty("bban", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Bban { get; set; } - [Newtonsoft.Json.JsonProperty("endDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string EndDate { get; set; } + /// + /// BIC/SWIFT for this bankaccount + /// + [Newtonsoft.Json.JsonProperty("bic", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Bic { get; set; } + + [Newtonsoft.Json.JsonProperty("country", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Country Country { get; set; } + + [Newtonsoft.Json.JsonProperty("provider", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CompanyBankAccountPresentationProvider? Provider { get; set; } public string ToJson() { @@ -68794,44 +69016,62 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static AssetOverview FromJson(string data) + public static CompanyBankAccountPresentation FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperAssetOverview + public partial class Contact { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public AssetOverview Value { get; set; } + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } - public string ToJson() - { + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } - } - public static ResponseWrapperAssetOverview FromJson(string data) - { + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("firstName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FirstName { get; set; } - } + [Newtonsoft.Json.JsonProperty("lastName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string LastName { get; set; } - } + [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayName { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class AssetDeleteInfo - { - [Newtonsoft.Json.JsonProperty("assetCount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? AssetCount { get; set; } + [Newtonsoft.Json.JsonProperty("email", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Email { get; set; } - [Newtonsoft.Json.JsonProperty("importDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ImportDate { get; set; } + /// + /// The country of the mobile phone number. If not set, the country is derived as best as possible from phoneNumberMobile. NB! 8 digit numbers are assumed to be Norwegian. + /// + [Newtonsoft.Json.JsonProperty("phoneNumberMobileCountry", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Country PhoneNumberMobileCountry { get; set; } + + [Newtonsoft.Json.JsonProperty("phoneNumberMobile", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PhoneNumberMobile { get; set; } + + [Newtonsoft.Json.JsonProperty("phoneNumberWork", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PhoneNumberWork { get; set; } + + [Newtonsoft.Json.JsonProperty("customer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Customer Customer { get; set; } + + [Newtonsoft.Json.JsonProperty("department", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Department Department { get; set; } + + [Newtonsoft.Json.JsonProperty("isInactive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsInactive { get; set; } public string ToJson() { @@ -68839,62 +69079,86 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static AssetDeleteInfo FromJson(string data) + public static Contact FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperAssetDeleteInfo + public partial class Cost { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public AssetDeleteInfo Value { get; set; } + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } - public string ToJson() - { + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } - } - public static ResponseWrapperAssetDeleteInfo FromJson(string data) - { + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("travelExpense", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TravelExpense TravelExpense { get; set; } - } + [Newtonsoft.Json.JsonProperty("vatType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public VatType VatType { get; set; } - } + [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Currency Currency { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class AssetAccountRow - { - /// - /// Account number - /// - [Newtonsoft.Json.JsonProperty("accountNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AccountNumber { get; set; } + [Newtonsoft.Json.JsonProperty("costCategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TravelCostCategory CostCategory { get; set; } - /// - /// Account name - /// - [Newtonsoft.Json.JsonProperty("accountName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AccountName { get; set; } + [Newtonsoft.Json.JsonProperty("paymentType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TravelPaymentType PaymentType { get; set; } = new TravelPaymentType(); - /// - /// Assets - /// - [Newtonsoft.Json.JsonProperty("assets", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Assets { get; set; } + [Newtonsoft.Json.JsonProperty("category", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Category { get; set; } + + [Newtonsoft.Json.JsonProperty("comments", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Comments { get; set; } + + [Newtonsoft.Json.JsonProperty("rate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Rate { get; set; } + + [Newtonsoft.Json.JsonProperty("amountCurrencyIncVat", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal AmountCurrencyIncVat { get; set; } + + [Newtonsoft.Json.JsonProperty("amountNOKInclVAT", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountNOKInclVAT { get; set; } + + [Newtonsoft.Json.JsonProperty("amountNOKInclVATLow", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountNOKInclVATLow { get; set; } + + [Newtonsoft.Json.JsonProperty("amountNOKInclVATMedium", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountNOKInclVATMedium { get; set; } + + [Newtonsoft.Json.JsonProperty("amountNOKInclVATHigh", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountNOKInclVATHigh { get; set; } + + [Newtonsoft.Json.JsonProperty("isPaidByEmployee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsPaidByEmployee { get; set; } + + [Newtonsoft.Json.JsonProperty("isChargeable", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsChargeable { get; set; } + + [Newtonsoft.Json.JsonProperty("date", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Date { get; set; } /// - /// Balance difference. This is the sum amount on the account that is not connected to an asset after the import. + /// Link to individual expense participant. /// - [Newtonsoft.Json.JsonProperty("balanceDifference", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? BalanceDifference { get; set; } + [Newtonsoft.Json.JsonProperty("participants", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Participants { get; set; } + + [Newtonsoft.Json.JsonProperty("predictions", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.Dictionary Predictions { get; set; } public string ToJson() { @@ -68902,137 +69166,213 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static AssetAccountRow FromJson(string data) + public static Cost FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class AssetImport + public partial class Customer { + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } + + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } + + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } + + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } + [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Name { get; set; } - [Newtonsoft.Json.JsonProperty("lifetime", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int Lifetime { get; set; } + [Newtonsoft.Json.JsonProperty("organizationNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string OrganizationNumber { get; set; } - [Newtonsoft.Json.JsonProperty("dateOfAcquisition", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DateOfAcquisition { get; set; } + [Newtonsoft.Json.JsonProperty("supplierNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? SupplierNumber { get; set; } - [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } + [Newtonsoft.Json.JsonProperty("customerNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? CustomerNumber { get; set; } /// - /// Acquisition cost. + /// Defines if the customer is also a supplier. /// - [Newtonsoft.Json.JsonProperty("acquisitionCost", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AcquisitionCost { get; set; } + [Newtonsoft.Json.JsonProperty("isSupplier", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsSupplier { get; set; } + + [Newtonsoft.Json.JsonProperty("isCustomer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsCustomer { get; set; } + + [Newtonsoft.Json.JsonProperty("isInactive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsInactive { get; set; } + + [Newtonsoft.Json.JsonProperty("accountManager", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Employee AccountManager { get; set; } + + [Newtonsoft.Json.JsonProperty("department", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Department Department { get; set; } + + [Newtonsoft.Json.JsonProperty("email", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Email { get; set; } + + [Newtonsoft.Json.JsonProperty("invoiceEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string InvoiceEmail { get; set; } /// - /// Incoming balance for the asset. + /// The email address of the customer where the noticing emails are sent in case of an overdue /// - [Newtonsoft.Json.JsonProperty("incomingBalance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? IncomingBalance { get; set; } + [Newtonsoft.Json.JsonProperty("overdueNoticeEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string OverdueNoticeEmail { get; set; } /// - /// Accumulated depreciation for the asset. + /// [DEPRECATED] List of the bank account numbers for this customer. Norwegian bank account numbers only. /// - [Newtonsoft.Json.JsonProperty("externalAccumulatedDepreciation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? ExternalAccumulatedDepreciation { get; set; } + [Newtonsoft.Json.JsonProperty("bankAccounts", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List BankAccounts { get; set; } - public string ToJson() - { + [Newtonsoft.Json.JsonProperty("phoneNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PhoneNumber { get; set; } - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("phoneNumberMobile", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PhoneNumberMobile { get; set; } - } - public static AssetImport FromJson(string data) - { + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("language", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CustomerLanguage? Language { get; set; } - } + [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayName { get; set; } - } + [Newtonsoft.Json.JsonProperty("isPrivateIndividual", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsPrivateIndividual { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ListResponseAssetAccountRow - { /// - /// Indicates whether there are more values available. Note: The value is not exact + /// Enables various orders on one customer invoice. /// - [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? FullResultSize { get; set; } - - [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? From { get; set; } + [Newtonsoft.Json.JsonProperty("singleCustomerInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? SingleCustomerInvoice { get; set; } - [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } + /// + /// Define the invoicing method for the customer.<br>EMAIL: Send invoices as email.<br>EHF: Send invoices as EHF.<br>EFAKTURA: Send invoices as EFAKTURA.<br>AVTALEGIRO: Send invoices as AVTALEGIRO.<br>VIPPS: Send invoices through VIPPS.<br>PAPER: Send invoices as paper invoice.<br>MANUAL: User will have to send invocie manually.<br> + /// + [Newtonsoft.Json.JsonProperty("invoiceSendMethod", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CustomerInvoiceSendMethod? InvoiceSendMethod { get; set; } /// - /// Used to know if the paginated list has changed. + /// Define the invoice attachment type for emailing to the customer.<br>LINK: Send invoice as link in email.<br>ATTACHMENT: Send invoice as attachment in email.<br> /// - [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string VersionDigest { get; set; } + [Newtonsoft.Json.JsonProperty("emailAttachmentType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CustomerEmailAttachmentType? EmailAttachmentType { get; set; } - [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Values { get; set; } + [Newtonsoft.Json.JsonProperty("postalAddress", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Address PostalAddress { get; set; } - public string ToJson() - { + [Newtonsoft.Json.JsonProperty("physicalAddress", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Address PhysicalAddress { get; set; } - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("deliveryAddress", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public DeliveryAddress DeliveryAddress { get; set; } - } - public static ListResponseAssetAccountRow FromJson(string data) - { + /// + /// Category 1 of this customer + /// + [Newtonsoft.Json.JsonProperty("category1", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CustomerCategory Category1 { get; set; } - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + /// + /// Category 2 of this customer + /// + [Newtonsoft.Json.JsonProperty("category2", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CustomerCategory Category2 { get; set; } - } + /// + /// Category 3 of this customer + /// + [Newtonsoft.Json.JsonProperty("category3", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CustomerCategory Category3 { get; set; } - } + /// + /// Number of days/months in which invoices created from this customer is due + /// + [Newtonsoft.Json.JsonProperty("invoicesDueIn", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? InvoicesDueIn { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class AuthConfigDTO - { - [Newtonsoft.Json.JsonProperty("loginUrl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string LoginUrl { get; set; } + /// + /// Set the time unit of invoicesDueIn. The special case RECURRING_DAY_OF_MONTH enables the due date to be fixed to a specific day of the month, in this case the fixed due date will automatically be set as standard on all invoices created from this customer. Note that when RECURRING_DAY_OF_MONTH is set, the due date will be set to the last day of month if "31" is set in invoicesDueIn. + /// + [Newtonsoft.Json.JsonProperty("invoicesDueInType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CustomerInvoicesDueInType? InvoicesDueInType { get; set; } - [Newtonsoft.Json.JsonProperty("logoutUrl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string LogoutUrl { get; set; } + /// + /// The preferred currency for this customer + /// + [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Currency Currency { get; set; } - [Newtonsoft.Json.JsonProperty("refreshSessionIframeUrl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RefreshSessionIframeUrl { get; set; } + /// + /// List of bankAccount for this customer + /// + [Newtonsoft.Json.JsonProperty("bankAccountPresentation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List BankAccountPresentation { get; set; } - [Newtonsoft.Json.JsonProperty("checkSessionIframeUrl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CheckSessionIframeUrl { get; set; } + /// + /// Can be used to specify the ledger account of the customer if it's different from the default 1500 account. + /// + [Newtonsoft.Json.JsonProperty("ledgerAccount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Account LedgerAccount { get; set; } - public string ToJson() - { + /// + /// If true; send this customers invoices to factoring (if factoring is turned on in account). + /// + [Newtonsoft.Json.JsonProperty("isFactoring", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsFactoring { get; set; } - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + /// + /// Is sms-notification on/off + /// + [Newtonsoft.Json.JsonProperty("invoiceSendSMSNotification", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? InvoiceSendSMSNotification { get; set; } - } - public static AuthConfigDTO FromJson(string data) - { + /// + /// Has automatic soft reminders enabled for this customer. + /// + [Newtonsoft.Json.JsonProperty("isAutomaticSoftReminderEnabled", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsAutomaticSoftReminderEnabled { get; set; } - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + /// + /// Has automatic reminders enabled for this customer. + /// + [Newtonsoft.Json.JsonProperty("isAutomaticReminderEnabled", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsAutomaticReminderEnabled { get; set; } - } + /// + /// Has automatic notice of debt collection enabled for this customer. + /// + [Newtonsoft.Json.JsonProperty("isAutomaticNoticeOfDebtCollectionEnabled", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsAutomaticNoticeOfDebtCollectionEnabled { get; set; } - } + /// + /// Default discount percentage for this customer. + /// + [Newtonsoft.Json.JsonProperty("discountPercentage", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? DiscountPercentage { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperAuthConfigDTO - { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public AuthConfigDTO Value { get; set; } + [Newtonsoft.Json.JsonProperty("website", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Website { get; set; } public string ToJson() { @@ -69040,41 +69380,44 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ResponseWrapperAuthConfigDTO FromJson(string data) + public static Customer FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class BalanceSheetAccount + public partial class CustomerCategory { - [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Account Account { get; set; } + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } - [Newtonsoft.Json.JsonProperty("balanceIn", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? BalanceIn { get; set; } + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - [Newtonsoft.Json.JsonProperty("balanceChange", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? BalanceChange { get; set; } + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } - [Newtonsoft.Json.JsonProperty("balanceOut", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? BalanceOut { get; set; } + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } - /// - /// The start date for this period - inclusive. - /// - [Newtonsoft.Json.JsonProperty("startDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string StartDate { get; set; } + [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } - /// - /// The end date for this period - exclusive. - /// - [Newtonsoft.Json.JsonProperty("endDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string EndDate { get; set; } + [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Number { get; set; } + + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + [Newtonsoft.Json.JsonProperty("type", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Type { get; set; } + + [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayName { get; set; } public string ToJson() { @@ -69082,38 +69425,38 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static BalanceSheetAccount FromJson(string data) + public static CustomerCategory FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ListResponseBalanceSheetAccount + public partial class DiscountGroup { - /// - /// Indicates whether there are more values available. Note: The value is not exact - /// - [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? FullResultSize { get; set; } + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } - [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? From { get; set; } + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } - /// - /// Used to know if the paginated list has changed. - /// - [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string VersionDigest { get; set; } + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Values { get; set; } + [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } + + [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Number { get; set; } + + [Newtonsoft.Json.JsonProperty("nameAndNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string NameAndNumber { get; set; } public string ToJson() { @@ -69121,29 +69464,47 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ListResponseBalanceSheetAccount FromJson(string data) + public static DiscountGroup FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class BalanceSheet + public partial class Document { - [Newtonsoft.Json.JsonProperty("rows", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Rows { get; set; } + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } - [Newtonsoft.Json.JsonProperty("sumBalanceIn", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? SumBalanceIn { get; set; } + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - [Newtonsoft.Json.JsonProperty("sumBalanceChange", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? SumBalanceChange { get; set; } + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } - [Newtonsoft.Json.JsonProperty("sumBalanceOut", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? SumBalanceOut { get; set; } + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } + + /// + /// The name of the document. + /// + [Newtonsoft.Json.JsonProperty("fileName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FileName { get; set; } + + /// + /// The size of the document in bytes. + /// + [Newtonsoft.Json.JsonProperty("size", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Size { get; set; } + + /// + /// Type of the document + /// + [Newtonsoft.Json.JsonProperty("mimeType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string MimeType { get; set; } public string ToJson() { @@ -69151,38 +69512,47 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static BalanceSheet FromJson(string data) + public static Document FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class BalanceSheetRow + public partial class DrivingStop { - [Newtonsoft.Json.JsonProperty("accountId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? AccountId { get; set; } + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } - [Newtonsoft.Json.JsonProperty("accountNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? AccountNumber { get; set; } + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - [Newtonsoft.Json.JsonProperty("accountName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AccountName { get; set; } + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } - [Newtonsoft.Json.JsonProperty("postingCount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? PostingCount { get; set; } + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("balanceIn", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? BalanceIn { get; set; } + [Newtonsoft.Json.JsonProperty("locationName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string LocationName { get; set; } - [Newtonsoft.Json.JsonProperty("balanceChange", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? BalanceChange { get; set; } + [Newtonsoft.Json.JsonProperty("latitude", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Latitude { get; set; } - [Newtonsoft.Json.JsonProperty("balanceOut", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? BalanceOut { get; set; } + [Newtonsoft.Json.JsonProperty("longitude", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Longitude { get; set; } + + [Newtonsoft.Json.JsonProperty("sortIndex", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? SortIndex { get; set; } + + [Newtonsoft.Json.JsonProperty("type", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Type { get; set; } + + [Newtonsoft.Json.JsonProperty("mileageAllowance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public MileageAllowance MileageAllowance { get; set; } = new MileageAllowance(); public string ToJson() { @@ -69190,68 +69560,74 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static BalanceSheetRow FromJson(string data) + public static DrivingStop FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperBalanceSheet + public partial class Inventory { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public BalanceSheet Value { get; set; } + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } - public string ToJson() - { + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } - } - public static ResponseWrapperBalanceSheet FromJson(string data) - { + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } - } + [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Number { get; set; } - } + [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayName { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class BalanceSheetSettingsDTO - { - [Newtonsoft.Json.JsonProperty("showEmployeeModule", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ShowEmployeeModule { get; set; } + [Newtonsoft.Json.JsonProperty("isMainInventory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsMainInventory { get; set; } - [Newtonsoft.Json.JsonProperty("showDepartmentModule", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ShowDepartmentModule { get; set; } + [Newtonsoft.Json.JsonProperty("isInactive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsInactive { get; set; } - [Newtonsoft.Json.JsonProperty("showProductModule", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ShowProductModule { get; set; } + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } - public string ToJson() - { + [Newtonsoft.Json.JsonProperty("email", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Email { get; set; } - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("phone", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Phone { get; set; } - } - public static BalanceSheetSettingsDTO FromJson(string data) - { + [Newtonsoft.Json.JsonProperty("deletable", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Deletable { get; set; } - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("address", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Address Address { get; set; } - } + [Newtonsoft.Json.JsonProperty("lastStocking", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string LastStocking { get; set; } - } + [Newtonsoft.Json.JsonProperty("status", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Status { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperBalanceSheetSettingsDTO - { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public BalanceSheetSettingsDTO Value { get; set; } + [Newtonsoft.Json.JsonProperty("hasLocations", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? HasLocations { get; set; } + + [Newtonsoft.Json.JsonProperty("mainInventory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? MainInventory { get; set; } + + [Newtonsoft.Json.JsonProperty("inactive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Inactive { get; set; } public string ToJson() { @@ -69259,38 +69635,47 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ResponseWrapperBalanceSheetSettingsDTO FromJson(string data) + public static Inventory FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class AutoPaySupport + public partial class InventoryLocation { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } - [Newtonsoft.Json.JsonProperty("uploadNeeded", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? UploadNeeded { get; set; } + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - [Newtonsoft.Json.JsonProperty("isEikaType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsEikaType { get; set; } + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } - [Newtonsoft.Json.JsonProperty("hasOrgNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? HasOrgNumber { get; set; } + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("isPsd2Type", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsPsd2Type { get; set; } + [Newtonsoft.Json.JsonProperty("inventory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Inventory Inventory { get; set; } = new Inventory(); - [Newtonsoft.Json.JsonProperty("hasApproveInOnlineBanking", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? HasApproveInOnlineBanking { get; set; } + [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Number { get; set; } - [Newtonsoft.Json.JsonProperty("requiredBankFieldIds", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List RequiredBankFieldIds { get; set; } + [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } + + [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayName { get; set; } + + [Newtonsoft.Json.JsonProperty("isInactive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsInactive { get; set; } + + [Newtonsoft.Json.JsonProperty("isDeletable", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsDeletable { get; set; } public string ToJson() { @@ -69298,17 +69683,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static AutoPaySupport FromJson(string data) + public static InventoryLocation FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class Bank + public partial class Invoice { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -69323,94 +69708,209 @@ public partial class Bank public string Url { get; set; } /// - /// Bank name + /// If value is set to 0, the invoice number will be generated. /// - [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } + [Newtonsoft.Json.JsonProperty("invoiceNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? InvoiceNumber { get; set; } + + [Newtonsoft.Json.JsonProperty("invoiceDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string InvoiceDate { get; set; } /// - /// Bank statement file formats supported. + /// The invoice customer /// - [Newtonsoft.Json.JsonProperty("bankStatementFileFormatSupport", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.List BankStatementFileFormatSupport { get; set; } + [Newtonsoft.Json.JsonProperty("customer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Customer Customer { get; set; } /// - /// Register numbers belonging to bank. + /// The id of the original invoice if this is a credit note. /// - [Newtonsoft.Json.JsonProperty("registerNumbers", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List RegisterNumbers { get; set; } + [Newtonsoft.Json.JsonProperty("creditedInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? CreditedInvoice { get; set; } + + [Newtonsoft.Json.JsonProperty("isCredited", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsCredited { get; set; } + + [Newtonsoft.Json.JsonProperty("invoiceDueDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string InvoiceDueDate { get; set; } /// - /// Bank name to comply with LoadableDropdown + /// KID - Kundeidentifikasjonsnummer. /// - [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DisplayName { get; set; } + [Newtonsoft.Json.JsonProperty("kid", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Kid { get; set; } /// - /// The autoPay support for this bank + /// Comment text for the invoice. This was specified on the order as invoiceComment. /// - [Newtonsoft.Json.JsonProperty("autoPaySupport", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public AutoPaySupport AutoPaySupport { get; set; } + [Newtonsoft.Json.JsonProperty("invoiceComment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string InvoiceComment { get; set; } - public string ToJson() - { + /// + /// Comment text for the specific invoice. + /// + [Newtonsoft.Json.JsonProperty("comment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Comment { get; set; } - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + /// + /// Related orders. Only one order per invoice is supported at the moment. + /// + [Newtonsoft.Json.JsonProperty("orders", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Orders { get; set; } = new System.Collections.Generic.List(); - } - public static Bank FromJson(string data) - { + /// + /// Orderlines connected to the invoice. + /// + [Newtonsoft.Json.JsonProperty("orderLines", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List OrderLines { get; set; } - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + /// + /// Travel reports connected to the invoice. + /// + [Newtonsoft.Json.JsonProperty("travelReports", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List TravelReports { get; set; } - } + /// + /// ProjectInvoiceDetails contains additional information about the invoice, in particular invoices for projects. It contains information about the charged project, the fee amount, extra percent and amount, extra costs, travel expenses, invoice and project comments, akonto amount and values determining if extra costs, akonto and hours should be included. ProjectInvoiceDetails is an object which represents the relation between an invoice and a Project, Orderline and OrderOut object. + /// + [Newtonsoft.Json.JsonProperty("projectInvoiceDetails", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List ProjectInvoiceDetails { get; set; } - } + /// + /// The invoice voucher. + /// + [Newtonsoft.Json.JsonProperty("voucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Voucher Voucher { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperBank - { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Bank Value { get; set; } + /// + /// The delivery date. + /// + [Newtonsoft.Json.JsonProperty("deliveryDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DeliveryDate { get; set; } - public string ToJson() - { + /// + /// In the company’s currency, typically NOK. + /// + [Newtonsoft.Json.JsonProperty("amount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Amount { get; set; } - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + /// + /// In the specified currency. + /// + [Newtonsoft.Json.JsonProperty("amountCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountCurrency { get; set; } - } - public static ResponseWrapperBank FromJson(string data) - { + /// + /// Amount excluding VAT (NOK). + /// + [Newtonsoft.Json.JsonProperty("amountExcludingVat", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountExcludingVat { get; set; } - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + /// + /// Amount excluding VAT in the specified currency. + /// + [Newtonsoft.Json.JsonProperty("amountExcludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountExcludingVatCurrency { get; set; } - } + /// + /// Amount of round off to nearest integer. + /// + [Newtonsoft.Json.JsonProperty("amountRoundoff", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountRoundoff { get; set; } - } + /// + /// Amount of round off to nearest integer in the specified currency. + /// + [Newtonsoft.Json.JsonProperty("amountRoundoffCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountRoundoffCurrency { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ListResponseBank - { /// - /// Indicates whether there are more values available. Note: The value is not exact + /// The amount outstanding based on the history collection, excluding reminders and any existing remits, in the invoice currency. /// - [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? FullResultSize { get; set; } + [Newtonsoft.Json.JsonProperty("amountOutstanding", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountOutstanding { get; set; } - [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? From { get; set; } + /// + /// The amountCurrency outstanding based on the history collection, excluding reminders and any existing remits, in the invoice currency. + /// + [Newtonsoft.Json.JsonProperty("amountCurrencyOutstanding", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountCurrencyOutstanding { get; set; } - [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } + /// + /// The amount outstanding based on the history collection and including the last reminder and any existing remits. This is the total invoice balance including reminders and remittances, in the invoice currency. + /// + [Newtonsoft.Json.JsonProperty("amountOutstandingTotal", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountOutstandingTotal { get; set; } /// - /// Used to know if the paginated list has changed. + /// The amountCurrency outstanding based on the history collection and including the last reminder and any existing remits. This is the total invoice balance including reminders and remittances, in the invoice currency. /// - [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string VersionDigest { get; set; } + [Newtonsoft.Json.JsonProperty("amountCurrencyOutstandingTotal", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountCurrencyOutstandingTotal { get; set; } - [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Values { get; set; } + /// + /// The sum of all open remittances of the invoice. Remittances are reimbursement payments back to the customer and are therefore relevant to the bookkeeping of the invoice in the accounts. + /// + [Newtonsoft.Json.JsonProperty("sumRemits", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? SumRemits { get; set; } + + [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Currency Currency { get; set; } + + [Newtonsoft.Json.JsonProperty("isCreditNote", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsCreditNote { get; set; } + + [Newtonsoft.Json.JsonProperty("isCharged", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsCharged { get; set; } + + [Newtonsoft.Json.JsonProperty("isApproved", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsApproved { get; set; } + + /// + /// The invoice postings, which includes a posting for the invoice with a positive amount, and one or more posting for the payments with negative amounts. + /// + [Newtonsoft.Json.JsonProperty("postings", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Postings { get; set; } + + /// + /// Invoice debt collection and reminders. + /// + [Newtonsoft.Json.JsonProperty("reminders", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Reminders { get; set; } + + /// + /// Deprecated Invoice remarks - please use the 'invoiceRemark' instead. + /// + [Newtonsoft.Json.JsonProperty("invoiceRemarks", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string InvoiceRemarks { get; set; } + + /// + /// Invoice remark - automatically stops reminder/notice of debt collection until specified date. + /// + [Newtonsoft.Json.JsonProperty("invoiceRemark", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public InvoiceRemark InvoiceRemark { get; set; } + + /// + /// [BETA] Optional. Used to specify payment type for prepaid invoices. Payment type can be specified here, or as a parameter to the /invoice API endpoint. + /// + [Newtonsoft.Json.JsonProperty("paymentTypeId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? PaymentTypeId { get; set; } + + /// + /// [BETA] Optional. Used to specify the prepaid amount of the invoice. The paid amount can be specified here, or as a parameter to the /invoice API endpoint. + /// + [Newtonsoft.Json.JsonProperty("paidAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? PaidAmount { get; set; } + + [Newtonsoft.Json.JsonProperty("isPeriodizationPossible", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsPeriodizationPossible { get; set; } + + /// + /// [Deprecated] EHF (Peppol) send status. This only shows status for historic EHFs. + /// + [Newtonsoft.Json.JsonProperty("ehfSendStatus", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public InvoiceEhfSendStatus? EhfSendStatus { get; set; } public string ToJson() { @@ -69418,17 +69918,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ListResponseBank FromJson(string data) + public static Invoice FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class BankDashboardAdvice + public partial class InvoiceRemark { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -69442,36 +69942,11 @@ public partial class BankDashboardAdvice [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } - /// - /// The advice type. - /// - [Newtonsoft.Json.JsonProperty("adviceType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public BankDashboardAdviceAdviceType? AdviceType { get; set; } - - /// - /// The advice is active. - /// - [Newtonsoft.Json.JsonProperty("isActive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsActive { get; set; } - - /// - /// The date the advice was updated. - /// - [Newtonsoft.Json.JsonProperty("dateUpdated", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DateUpdated { get; set; } - - /// - /// The advice has been cancelled. - /// - [Newtonsoft.Json.JsonProperty("isCancelled", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsCancelled { get; set; } + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } - /// - /// The date the advice has been cancelled by the user. - /// - [Newtonsoft.Json.JsonProperty("dateCancelled", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DateCancelled { get; set; } + [Newtonsoft.Json.JsonProperty("postponeRemindersTo", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PostponeRemindersTo { get; set; } public string ToJson() { @@ -69479,20 +69954,27 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static BankDashboardAdvice FromJson(string data) + public static InvoiceRemark FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperBankDashboardAdvice + public partial class Link { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public BankDashboardAdvice Value { get; set; } + [Newtonsoft.Json.JsonProperty("rel", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Rel { get; set; } + + [Newtonsoft.Json.JsonProperty("type", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public LinkType? Type { get; set; } + + [Newtonsoft.Json.JsonProperty("href", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Href { get; set; } public string ToJson() { @@ -69500,38 +69982,95 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ResponseWrapperBankDashboardAdvice FromJson(string data) + public static Link FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ListResponseBankDashboardAdvice + public partial class MileageAllowance { + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } + + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } + + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } + + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } + + [Newtonsoft.Json.JsonProperty("travelExpense", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TravelExpense TravelExpense { get; set; } + + [Newtonsoft.Json.JsonProperty("rateType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TravelExpenseRate RateType { get; set; } + + [Newtonsoft.Json.JsonProperty("rateCategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TravelExpenseRateCategory RateCategory { get; set; } + + [Newtonsoft.Json.JsonProperty("date", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Date { get; set; } + + [Newtonsoft.Json.JsonProperty("departureLocation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DepartureLocation { get; set; } + + [Newtonsoft.Json.JsonProperty("destination", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Destination { get; set; } + + [Newtonsoft.Json.JsonProperty("km", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Km { get; set; } + + [Newtonsoft.Json.JsonProperty("rate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Rate { get; set; } + + [Newtonsoft.Json.JsonProperty("amount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Amount { get; set; } + + [Newtonsoft.Json.JsonProperty("isCompanyCar", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsCompanyCar { get; set; } + /// - /// Indicates whether there are more values available. Note: The value is not exact + /// The corresponded number for the vehicleType. Default value = 0. /// - [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? FullResultSize { get; set; } + [Newtonsoft.Json.JsonProperty("vehicleType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? VehicleType { get; set; } - [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? From { get; set; } + /// + /// Link to individual passengers. + /// + [Newtonsoft.Json.JsonProperty("passengers", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Passengers { get; set; } - [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } + /// + /// Passenger mileage allowance associated with this mileage allowance. + /// + [Newtonsoft.Json.JsonProperty("passengerSupplement", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public MileageAllowance PassengerSupplement { get; set; } /// - /// Used to know if the paginated list has changed. + /// Trailer mileage allowance supplement associated with this mileage allowance. /// - [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string VersionDigest { get; set; } + [Newtonsoft.Json.JsonProperty("trailerSupplement", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public MileageAllowance TrailerSupplement { get; set; } - [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Values { get; set; } + /// + /// Toll cost associated with this mileage allowance. + /// + [Newtonsoft.Json.JsonProperty("tollCost", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Cost TollCost { get; set; } + + /// + /// Link to individual mileage stops. + /// + [Newtonsoft.Json.JsonProperty("drivingStops", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List DrivingStops { get; set; } public string ToJson() { @@ -69539,17 +70078,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ListResponseBankDashboardAdvice FromJson(string data) + public static MileageAllowance FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class BankAgreementDTO + public partial class Order { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -69563,116 +70102,244 @@ public partial class BankAgreementDTO [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } + [Newtonsoft.Json.JsonProperty("customer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Customer Customer { get; set; } = new Customer(); + + [Newtonsoft.Json.JsonProperty("contact", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Contact Contact { get; set; } + + [Newtonsoft.Json.JsonProperty("attn", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Contact Attn { get; set; } + + [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayName { get; set; } + + [Newtonsoft.Json.JsonProperty("receiverEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ReceiverEmail { get; set; } + + [Newtonsoft.Json.JsonProperty("overdueNoticeEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string OverdueNoticeEmail { get; set; } + + [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Number { get; set; } + + [Newtonsoft.Json.JsonProperty("reference", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Reference { get; set; } + /// - /// The IBAN property. + /// If the contact is not an employee /// - [Newtonsoft.Json.JsonProperty("iban", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Iban { get; set; } + [Newtonsoft.Json.JsonProperty("ourContact", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Contact OurContact { get; set; } /// - /// The BBAN property. + /// If the contact is an employee /// - [Newtonsoft.Json.JsonProperty("bban", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Bban { get; set; } + [Newtonsoft.Json.JsonProperty("ourContactEmployee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Employee OurContactEmployee { get; set; } + + [Newtonsoft.Json.JsonProperty("department", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Department Department { get; set; } + + [Newtonsoft.Json.JsonProperty("orderDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string OrderDate { get; set; } + + [Newtonsoft.Json.JsonProperty("project", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Project Project { get; set; } /// - /// The description property. + /// Comment to be displayed in the invoice based on this order. Can be also found in Invoice.invoiceComment on Invoice objects. /// - [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } + [Newtonsoft.Json.JsonProperty("invoiceComment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string InvoiceComment { get; set; } + + [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Currency Currency { get; set; } /// - /// display name needed for LoadableDropdown component + /// Number of days/months in which invoices created from this order is due /// - [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DisplayName { get; set; } + [Newtonsoft.Json.JsonProperty("invoicesDueIn", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? InvoicesDueIn { get; set; } /// - /// The account for bank agreement. + /// Logistics only /// - [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Account Account { get; set; } + [Newtonsoft.Json.JsonProperty("status", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public OrderStatus? Status { get; set; } - [Newtonsoft.Json.JsonProperty("uploaderEmployee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Employee UploaderEmployee { get; set; } + /// + /// Set the time unit of invoicesDueIn. The special case RECURRING_DAY_OF_MONTH enables the due date to be fixed to a specific day of the month, in this case the fixed due date will automatically be set as standard on all invoices created from this order. Note that when RECURRING_DAY_OF_MONTH is set, the due date will be set to the last day of month if "31" is set in invoicesDueIn. + /// + [Newtonsoft.Json.JsonProperty("invoicesDueInType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public OrderInvoicesDueInType? InvoicesDueInType { get; set; } - [Newtonsoft.Json.JsonProperty("dateCreated", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DateCreated { get; set; } + /// + /// Show account statement - open posts on invoices created from this order + /// + [Newtonsoft.Json.JsonProperty("isShowOpenPostsOnInvoices", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsShowOpenPostsOnInvoices { get; set; } - [Newtonsoft.Json.JsonProperty("bank", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Bank Bank { get; set; } + /// + /// Denotes if this order is closed. A closed order can no longer be invoiced unless it is opened again. + /// + [Newtonsoft.Json.JsonProperty("isClosed", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsClosed { get; set; } - [Newtonsoft.Json.JsonProperty("country", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Country Country { get; set; } + [Newtonsoft.Json.JsonProperty("deliveryDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DeliveryDate { get; set; } - [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Currency Currency { get; set; } + /// + /// Delivery address of this order. This can be a new or existing address + ///
(useful to know, especially if the delivery is to a private person: if 'deliveryAddress.name' is set, we ignore the state of 'customer.id') + ///
+ [Newtonsoft.Json.JsonProperty("deliveryAddress", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public DeliveryAddress DeliveryAddress { get; set; } - [Newtonsoft.Json.JsonProperty("isActive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsActive { get; set; } + [Newtonsoft.Json.JsonProperty("deliveryComment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DeliveryComment { get; set; } - [Newtonsoft.Json.JsonProperty("balance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public BankStatementBalance Balance { get; set; } + [Newtonsoft.Json.JsonProperty("isPrioritizeAmountsIncludingVat", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsPrioritizeAmountsIncludingVat { get; set; } - [Newtonsoft.Json.JsonProperty("active", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Active { get; set; } + [Newtonsoft.Json.JsonProperty("orderLineSorting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public OrderLineSorting? OrderLineSorting { get; set; } - public string ToJson() - { + /// + /// Order line groups + /// + [Newtonsoft.Json.JsonProperty("orderGroups", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List OrderGroups { get; set; } - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + /// + /// Order lines tied to the order. New OrderLines may be embedded here, in some endpoints. + /// + [Newtonsoft.Json.JsonProperty("orderLines", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List OrderLines { get; set; } - } - public static BankAgreementDTO FromJson(string data) - { + /// + /// If true, the order is a subscription, which enables periodical invoicing of order lines. First, create an order with isSubscription=true, then approve it for subscription invoicing with the :approveSubscriptionInvoice method. + /// + [Newtonsoft.Json.JsonProperty("isSubscription", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsSubscription { get; set; } - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + /// + /// Number of months/years the subscription shall run + /// + [Newtonsoft.Json.JsonProperty("subscriptionDuration", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? SubscriptionDuration { get; set; } - } + /// + /// The time unit of subscriptionDuration + /// + [Newtonsoft.Json.JsonProperty("subscriptionDurationType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public OrderSubscriptionDurationType? SubscriptionDurationType { get; set; } - } + /// + /// Number of periods on each invoice + /// + [Newtonsoft.Json.JsonProperty("subscriptionPeriodsOnInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? SubscriptionPeriodsOnInvoice { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class BankStatementBalance - { /// - /// Booked balance on the given date. + /// The time unit of subscriptionPeriodsOnInvoice /// - [Newtonsoft.Json.JsonProperty("bookedAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? BookedAmount { get; set; } + [Newtonsoft.Json.JsonProperty("subscriptionPeriodsOnInvoiceType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public OrderSubscriptionPeriodsOnInvoiceType? SubscriptionPeriodsOnInvoiceType { get; set; } - [Newtonsoft.Json.JsonProperty("bookedDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string BookedDate { get; set; } + /// + /// Invoicing in advance/in arrears + /// + [Newtonsoft.Json.JsonProperty("subscriptionInvoicingTimeInAdvanceOrArrears", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public OrderSubscriptionInvoicingTimeInAdvanceOrArrears? SubscriptionInvoicingTimeInAdvanceOrArrears { get; set; } /// - /// Available balance. + /// Number of days/months invoicing in advance/in arrears /// - [Newtonsoft.Json.JsonProperty("availableAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AvailableAmount { get; set; } + [Newtonsoft.Json.JsonProperty("subscriptionInvoicingTime", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? SubscriptionInvoicingTime { get; set; } - [Newtonsoft.Json.JsonProperty("availableDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AvailableDate { get; set; } + /// + /// The time unit of subscriptionInvoicingTime + /// + [Newtonsoft.Json.JsonProperty("subscriptionInvoicingTimeType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public OrderSubscriptionInvoicingTimeType? SubscriptionInvoicingTimeType { get; set; } - public string ToJson() - { + /// + /// Automatic invoicing. Starts when the subscription is approved + /// + [Newtonsoft.Json.JsonProperty("isSubscriptionAutoInvoicing", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsSubscriptionAutoInvoicing { get; set; } - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + /// + /// [BETA] Preliminary invoice if order is not charged + /// + [Newtonsoft.Json.JsonProperty("preliminaryInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Invoice PreliminaryInvoice { get; set; } - } - public static BankStatementBalance FromJson(string data) - { + /// + /// [BETA] Attachments belonging to this order + /// + [Newtonsoft.Json.JsonProperty("attachment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Attachment { get; set; } - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + /// + /// Description of how this invoice will be sent + /// + [Newtonsoft.Json.JsonProperty("sendMethodDescription", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string SendMethodDescription { get; set; } - } + [Newtonsoft.Json.JsonProperty("canCreateBackorder", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? CanCreateBackorder { get; set; } - } + /// + /// Is the on account(a konto) amounts including vat + /// + [Newtonsoft.Json.JsonProperty("invoiceOnAccountVatHigh", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? InvoiceOnAccountVatHigh { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperBankAgreementDTO - { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public BankAgreementDTO Value { get; set; } + /// + /// Amount paid on account(a konto) + /// + [Newtonsoft.Json.JsonProperty("totalInvoicedOnAccountAmountAbsoluteCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? TotalInvoicedOnAccountAmountAbsoluteCurrency { get; set; } + + /// + /// Is sms-notification on/off + /// + [Newtonsoft.Json.JsonProperty("invoiceSendSMSNotification", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? InvoiceSendSMSNotification { get; set; } + + /// + /// The phone number of the receiver of sms notifications + /// + [Newtonsoft.Json.JsonProperty("invoiceSMSNotificationNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string InvoiceSMSNotificationNumber { get; set; } + + /// + /// Set mark-up (%) for order lines. + /// + [Newtonsoft.Json.JsonProperty("markUpOrderLines", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? MarkUpOrderLines { get; set; } + + /// + /// Default discount percentage for order lines. + /// + [Newtonsoft.Json.JsonProperty("discountPercentage", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? DiscountPercentage { get; set; } + + [Newtonsoft.Json.JsonProperty("customerName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CustomerName { get; set; } + + [Newtonsoft.Json.JsonProperty("projectManagerNameAndNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ProjectManagerNameAndNumber { get; set; } public string ToJson() { @@ -69680,38 +70347,50 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ResponseWrapperBankAgreementDTO FromJson(string data) + public static Order FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ListResponseBankAgreementDTO + public partial class OrderGroup { - /// - /// Indicates whether there are more values available. Note: The value is not exact - /// - [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? FullResultSize { get; set; } + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } - [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? From { get; set; } + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } + + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } + + [Newtonsoft.Json.JsonProperty("order", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Order Order { get; set; } + + [Newtonsoft.Json.JsonProperty("title", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Title { get; set; } + + [Newtonsoft.Json.JsonProperty("comment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Comment { get; set; } /// - /// Used to know if the paginated list has changed. + /// Minimum 1. Defines the presentation order of the orderGroups. Does not need to be, and is often not continuous. /// - [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string VersionDigest { get; set; } + [Newtonsoft.Json.JsonProperty("sortIndex", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? SortIndex { get; set; } - [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Values { get; set; } + /// + /// Order lines belonging to the OrderGroup. Order lines that does not belong to a group, can be posted on the orderLines field on the order. + /// + [Newtonsoft.Json.JsonProperty("orderLines", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List OrderLines { get; set; } public string ToJson() { @@ -69719,17 +70398,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ListResponseBankAgreementDTO FromJson(string data) + public static OrderGroup FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class AutopayBankAgreement + public partial class OrderLine { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -69743,77 +70422,98 @@ public partial class AutopayBankAgreement [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } - /// - /// The IBAN property. - /// - [Newtonsoft.Json.JsonProperty("iban", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Iban { get; set; } + [Newtonsoft.Json.JsonProperty("product", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Product Product { get; set; } - /// - /// The BBAN property. - /// - [Newtonsoft.Json.JsonProperty("bban", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Bban { get; set; } + [Newtonsoft.Json.JsonProperty("inventory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Inventory Inventory { get; set; } /// - /// The description property. + /// Inventory location field -- beta program /// + [Newtonsoft.Json.JsonProperty("inventoryLocation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public InventoryLocation InventoryLocation { get; set; } + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Description { get; set; } + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Count { get; set; } + /// - /// display name needed for LoadableDropdown component + /// Unit price purchase (cost) excluding VAT in the order's currency /// - [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DisplayName { get; set; } + [Newtonsoft.Json.JsonProperty("unitCostCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? UnitCostCurrency { get; set; } /// - /// The account for bank agreement. + /// Unit price of purchase excluding VAT in the order's currency /// - [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Account Account { get; set; } - - [Newtonsoft.Json.JsonProperty("uploaderEmployee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Employee UploaderEmployee { get; set; } + [Newtonsoft.Json.JsonProperty("unitPriceExcludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? UnitPriceExcludingVatCurrency { get; set; } - [Newtonsoft.Json.JsonProperty("dateCreated", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DateCreated { get; set; } + /// + /// The order line's currency. Determined by the order's currency. + /// + [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Currency Currency { get; set; } - [Newtonsoft.Json.JsonProperty("bank", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Bank Bank { get; set; } + /// + /// Markup given as a percentage (%) + /// + [Newtonsoft.Json.JsonProperty("markup", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Markup { get; set; } - [Newtonsoft.Json.JsonProperty("country", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Country Country { get; set; } + /// + /// Discount given as a percentage (%) + /// + [Newtonsoft.Json.JsonProperty("discount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Discount { get; set; } - [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Currency Currency { get; set; } + [Newtonsoft.Json.JsonProperty("vatType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public VatType VatType { get; set; } - [Newtonsoft.Json.JsonProperty("isActive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsActive { get; set; } + /// + /// Total amount on order line excluding VAT in the order's currency + /// + [Newtonsoft.Json.JsonProperty("amountExcludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountExcludingVatCurrency { get; set; } - [Newtonsoft.Json.JsonProperty("balance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public BankStatementBalance Balance { get; set; } + /// + /// Total amount on order line including VAT in the order's currency + /// + [Newtonsoft.Json.JsonProperty("amountIncludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountIncludingVatCurrency { get; set; } - [Newtonsoft.Json.JsonProperty("accountInBankId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AccountInBankId { get; set; } + /// + /// The related Order for this OrderLine. This field is required when creating a new OrderLine in the API. + /// + [Newtonsoft.Json.JsonProperty("order", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Order Order { get; set; } - [Newtonsoft.Json.JsonProperty("division", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Division { get; set; } + /// + /// Unit price of purchase including VAT in the order's currency + /// + [Newtonsoft.Json.JsonProperty("unitPriceIncludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? UnitPriceIncludingVatCurrency { get; set; } - [Newtonsoft.Json.JsonProperty("ccmAgreementId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CcmAgreementId { get; set; } + [Newtonsoft.Json.JsonProperty("isSubscription", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsSubscription { get; set; } - [Newtonsoft.Json.JsonProperty("organisationNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string OrganisationNumber { get; set; } + [Newtonsoft.Json.JsonProperty("subscriptionPeriodStart", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string SubscriptionPeriodStart { get; set; } - [Newtonsoft.Json.JsonProperty("approveInOnlineBanking", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ApproveInOnlineBanking { get; set; } + [Newtonsoft.Json.JsonProperty("subscriptionPeriodEnd", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string SubscriptionPeriodEnd { get; set; } - [Newtonsoft.Json.JsonProperty("isUsed", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsUsed { get; set; } + [Newtonsoft.Json.JsonProperty("orderGroup", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public OrderGroup OrderGroup { get; set; } - [Newtonsoft.Json.JsonProperty("active", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Active { get; set; } + /// + /// Minimum 1. Defines the presentation order of the lines. Does not need to be, and is often not continuous. + /// + [Newtonsoft.Json.JsonProperty("sortIndex", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? SortIndex { get; set; } public string ToJson() { @@ -69821,38 +70521,35 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static AutopayBankAgreement FromJson(string data) + public static OrderLine FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ListResponseAutopayBankAgreement + public partial class Passenger { - /// - /// Indicates whether there are more values available. Note: The value is not exact - /// - [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? FullResultSize { get; set; } + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } - [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? From { get; set; } + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } - /// - /// Used to know if the paginated list has changed. - /// - [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string VersionDigest { get; set; } + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Values { get; set; } + [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } + + [Newtonsoft.Json.JsonProperty("mileageAllowance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public MileageAllowance MileageAllowance { get; set; } public string ToJson() { @@ -69860,65 +70557,65 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ListResponseAutopayBankAgreement FromJson(string data) + public static Passenger FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class BankAgreementCreationDTO + public partial class Payslip { - /// - /// Bank ID - /// - [Newtonsoft.Json.JsonProperty("bankId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int BankId { get; set; } + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } - /// - /// Customer number in bank - /// - [Newtonsoft.Json.JsonProperty("accountInBankId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AccountInBankId { get; set; } + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - /// - /// Customer Id from Bank - /// - [Newtonsoft.Json.JsonProperty("ccmAgreementId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CcmAgreementId { get; set; } + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } - /// - /// Division (DNB only) - /// - [Newtonsoft.Json.JsonProperty("division", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Division { get; set; } + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } - /// - /// Organization number - /// - [Newtonsoft.Json.JsonProperty("organizationNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string OrganizationNumber { get; set; } + [Newtonsoft.Json.JsonProperty("transaction", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public SalaryTransaction Transaction { get; set; } - /// - /// Electronic agreement creation initiated. - /// - [Newtonsoft.Json.JsonProperty("electronicCreation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ElectronicCreation { get; set; } + [Newtonsoft.Json.JsonProperty("employee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Employee Employee { get; set; } = new Employee(); /// - /// Accounting approve payments + /// Voucher date. /// - [Newtonsoft.Json.JsonProperty("approveInOnlineBanking", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ApproveInOnlineBanking { get; set; } + [Newtonsoft.Json.JsonProperty("date", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Date { get; set; } + + [Newtonsoft.Json.JsonProperty("year", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Year { get; set; } + + [Newtonsoft.Json.JsonProperty("month", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Month { get; set; } /// - /// JSON representing a list of new objects to be created. Should not have ID and version set. + /// Link to salary specifications. /// - [Newtonsoft.Json.JsonProperty("bankAccounts", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List BankAccounts { get; set; } = new System.Collections.Generic.List(); + [Newtonsoft.Json.JsonProperty("specifications", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Specifications { get; set; } + + [Newtonsoft.Json.JsonProperty("vacationAllowanceAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? VacationAllowanceAmount { get; set; } + + [Newtonsoft.Json.JsonProperty("grossAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? GrossAmount { get; set; } + + [Newtonsoft.Json.JsonProperty("amount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Amount { get; set; } + + [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Number { get; set; } public string ToJson() { @@ -69926,74 +70623,78 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static BankAgreementCreationDTO FromJson(string data) + public static Payslip FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class BankAgreementUpdateDTO + public partial class PerDiemCompensation { - /// - /// Id of agreement to update. - /// [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int Id { get; set; } + public int? Id { get; set; } - /// - /// The description property. - /// - [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - /// - /// The account for bank agreement. Only id is populated - /// - [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Account Account { get; set; } + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } - /// - /// Customer number in bank - /// - [Newtonsoft.Json.JsonProperty("accountInBankId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AccountInBankId { get; set; } + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } + + [Newtonsoft.Json.JsonProperty("travelExpense", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TravelExpense TravelExpense { get; set; } + + [Newtonsoft.Json.JsonProperty("rateType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TravelExpenseRate RateType { get; set; } + + [Newtonsoft.Json.JsonProperty("rateCategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TravelExpenseRateCategory RateCategory { get; set; } + + [Newtonsoft.Json.JsonProperty("countryCode", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CountryCode { get; set; } /// - /// Organization number + /// Optional travel expense zone id. If not specified, the value from field zone will be used. /// - [Newtonsoft.Json.JsonProperty("organisationNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string OrganisationNumber { get; set; } + [Newtonsoft.Json.JsonProperty("travelExpenseZoneId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? TravelExpenseZoneId { get; set; } /// - /// Accounting approve payments + /// Set what sort of accommodation was had overnight. /// - [Newtonsoft.Json.JsonProperty("approveInOnlineBanking", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ApproveInOnlineBanking { get; set; } + [Newtonsoft.Json.JsonProperty("overnightAccommodation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public PerDiemCompensationOvernightAccommodation? OvernightAccommodation { get; set; } - public string ToJson() - { + [Newtonsoft.Json.JsonProperty("location", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Location { get; set; } - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("address", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Address { get; set; } - } - public static BankAgreementUpdateDTO FromJson(string data) - { + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("rate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Rate { get; set; } - } + [Newtonsoft.Json.JsonProperty("amount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Amount { get; set; } - } + [Newtonsoft.Json.JsonProperty("isDeductionForBreakfast", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsDeductionForBreakfast { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperListInteger - { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Value { get; set; } + [Newtonsoft.Json.JsonProperty("isDeductionForLunch", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsDeductionForLunch { get; set; } + + [Newtonsoft.Json.JsonProperty("isDeductionForDinner", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsDeductionForDinner { get; set; } public string ToJson() { @@ -70001,106 +70702,126 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ResponseWrapperListInteger FromJson(string data) + public static PerDiemCompensation FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ElectronicSupportDTO + public partial class Posting { - /// - /// Bank ID - /// - [Newtonsoft.Json.JsonProperty("bankId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? BankId { get; set; } + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } - /// - /// Name of the bank - /// - [Newtonsoft.Json.JsonProperty("bankName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string BankName { get; set; } + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } + + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } + + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } + + [Newtonsoft.Json.JsonProperty("voucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Voucher Voucher { get; set; } + + [Newtonsoft.Json.JsonProperty("date", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Date { get; set; } + + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Account Account { get; set; } /// - /// Type of electronic agreement creation is supported by this bank.COMPLETE: Supports creating the agreement towards AutoPay and Tripletex though the bank.PARTIAL: Supports creating the agreement towards AutoPay only. + /// The Amortization account. AmortizationAccountId, amortizationStartDate and amortizationEndDate should be provided. If amortizationStartDate and amortizationEndDate are provided, while amortizationAccountId is NULL, then the default amortization account will be used. /// - [Newtonsoft.Json.JsonProperty("type", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ElectronicSupportDTOType? Type { get; set; } + [Newtonsoft.Json.JsonProperty("amortizationAccount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Account AmortizationAccount { get; set; } /// - /// Bank url for ordering electronic agreements for ElectronicSupportDTO of type PARTIAL. + /// Amortization start date. AmortizationAccountId, amortizationStartDate and amortizationEndDate should be provided. /// - [Newtonsoft.Json.JsonProperty("bankUrl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string BankUrl { get; set; } + [Newtonsoft.Json.JsonProperty("amortizationStartDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AmortizationStartDate { get; set; } - public string ToJson() - { + [Newtonsoft.Json.JsonProperty("amortizationEndDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AmortizationEndDate { get; set; } - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("customer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Customer Customer { get; set; } - } - public static ElectronicSupportDTO FromJson(string data) - { + [Newtonsoft.Json.JsonProperty("supplier", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Supplier Supplier { get; set; } - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("employee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Employee Employee { get; set; } - } + [Newtonsoft.Json.JsonProperty("project", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Project Project { get; set; } - } + [Newtonsoft.Json.JsonProperty("product", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Product Product { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperListElectronicSupportDTO - { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Value { get; set; } + [Newtonsoft.Json.JsonProperty("department", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Department Department { get; set; } - public string ToJson() - { + [Newtonsoft.Json.JsonProperty("vatType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public VatType VatType { get; set; } - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("amount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Amount { get; set; } - } - public static ResponseWrapperListElectronicSupportDTO FromJson(string data) - { + [Newtonsoft.Json.JsonProperty("amountCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountCurrency { get; set; } - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("amountGross", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountGross { get; set; } - } + [Newtonsoft.Json.JsonProperty("amountGrossCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountGrossCurrency { get; set; } - } + [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Currency Currency { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperAutoPayStatus - { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ResponseWrapperAutoPayStatusValue? Value { get; set; } + [Newtonsoft.Json.JsonProperty("closeGroup", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CloseGroup CloseGroup { get; set; } - public string ToJson() - { + [Newtonsoft.Json.JsonProperty("invoiceNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string InvoiceNumber { get; set; } - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("termOfPayment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TermOfPayment { get; set; } - } - public static ResponseWrapperAutoPayStatus FromJson(string data) - { + [Newtonsoft.Json.JsonProperty("row", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Row { get; set; } - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("type", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public PostingType? Type { get; set; } - } + /// + /// External reference for identifying payment basis of the posting, e.g., KID, customer identification or credit note number. + /// + [Newtonsoft.Json.JsonProperty("externalRef", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ExternalRef { get; set; } - } + [Newtonsoft.Json.JsonProperty("systemGenerated", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? SystemGenerated { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperElectronicSupportDTO - { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ElectronicSupportDTO Value { get; set; } + [Newtonsoft.Json.JsonProperty("taxTransactionType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TaxTransactionType { get; set; } + + [Newtonsoft.Json.JsonProperty("taxTransactionTypeId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? TaxTransactionTypeId { get; set; } + + [Newtonsoft.Json.JsonProperty("matched", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Matched { get; set; } public string ToJson() { @@ -70108,32 +70829,23 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ResponseWrapperElectronicSupportDTO FromJson(string data) + public static Posting FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class BankOnboardingDTO + public partial class Prediction { - [Newtonsoft.Json.JsonProperty("steps", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Steps { get; set; } - - [Newtonsoft.Json.JsonProperty("hasFullAccess", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? HasFullAccess { get; set; } - - [Newtonsoft.Json.JsonProperty("companyOrgnr", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CompanyOrgnr { get; set; } - - [Newtonsoft.Json.JsonProperty("lockedCurrenciesMap", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.Dictionary LockedCurrenciesMap { get; set; } + [Newtonsoft.Json.JsonProperty("predictedValue", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PredictedValue { get; set; } - [Newtonsoft.Json.JsonProperty("userIsAutoPayProvisioned", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? UserIsAutoPayProvisioned { get; set; } + [Newtonsoft.Json.JsonProperty("confidence", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Confidence { get; set; } public string ToJson() { @@ -70141,117 +70853,169 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static BankOnboardingDTO FromJson(string data) + public static Prediction FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class BankOnboardingStepDTO + public partial class Product { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } - [Newtonsoft.Json.JsonProperty("state", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public BankOnboardingStepDTOState? State { get; set; } + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - [Newtonsoft.Json.JsonProperty("accessible", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Accessible { get; set; } + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } - public string ToJson() - { + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } - } - public static BankOnboardingStepDTO FromJson(string data) - { + [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Number { get; set; } - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("displayNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayNumber { get; set; } - } + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } - } + [Newtonsoft.Json.JsonProperty("ean", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Ean { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperBankOnboardingDTO - { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public BankOnboardingDTO Value { get; set; } + [Newtonsoft.Json.JsonProperty("elNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ElNumber { get; set; } - public string ToJson() - { + [Newtonsoft.Json.JsonProperty("nrfNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string NrfNumber { get; set; } - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + /// + /// Price purchase (cost) excluding VAT in the product's currency + /// + [Newtonsoft.Json.JsonProperty("costExcludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? CostExcludingVatCurrency { get; set; } - } - public static ResponseWrapperBankOnboardingDTO FromJson(string data) - { + [Newtonsoft.Json.JsonProperty("expenses", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Expenses { get; set; } - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("expensesInPercent", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? ExpensesInPercent { get; set; } - } + /// + /// Cost price of purchase + /// + [Newtonsoft.Json.JsonProperty("costPrice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? CostPrice { get; set; } - } + [Newtonsoft.Json.JsonProperty("profit", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Profit { get; set; } + + [Newtonsoft.Json.JsonProperty("profitInPercent", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? ProfitInPercent { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ListResponseEmployee - { /// - /// Indicates whether there are more values available. Note: The value is not exact + /// Price of purchase excluding VAT in the product's currency /// - [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? FullResultSize { get; set; } + [Newtonsoft.Json.JsonProperty("priceExcludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? PriceExcludingVatCurrency { get; set; } - [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? From { get; set; } + /// + /// Price of purchase including VAT in the product's currency + /// + [Newtonsoft.Json.JsonProperty("priceIncludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? PriceIncludingVatCurrency { get; set; } - [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } + [Newtonsoft.Json.JsonProperty("isInactive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsInactive { get; set; } + + [Newtonsoft.Json.JsonProperty("discountGroup", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public DiscountGroup DiscountGroup { get; set; } + + [Newtonsoft.Json.JsonProperty("productUnit", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ProductUnit ProductUnit { get; set; } + + [Newtonsoft.Json.JsonProperty("isStockItem", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsStockItem { get; set; } /// - /// Used to know if the paginated list has changed. + /// From January 23rd 2023 this field will be available only on demand /// - [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string VersionDigest { get; set; } + [Newtonsoft.Json.JsonProperty("stockOfGoods", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? StockOfGoods { get; set; } - [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Values { get; set; } + [Newtonsoft.Json.JsonProperty("vatType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public VatType VatType { get; set; } - public string ToJson() - { + [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Currency Currency { get; set; } - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("department", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Department Department { get; set; } - } - public static ListResponseEmployee FromJson(string data) - { + [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Account Account { get; set; } - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("discountPrice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? DiscountPrice { get; set; } - } + [Newtonsoft.Json.JsonProperty("supplier", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Supplier Supplier { get; set; } - } + [Newtonsoft.Json.JsonProperty("resaleProduct", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Product ResaleProduct { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class BankOnboardingAccessRequestDTO - { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } + /// + /// For performance reasons, field is deprecated and it will always return false. + /// + [Newtonsoft.Json.JsonProperty("isDeletable", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsDeletable { get; set; } - [Newtonsoft.Json.JsonProperty("requesteeEmployeeId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? RequesteeEmployeeId { get; set; } + [Newtonsoft.Json.JsonProperty("hasSupplierProductConnected", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? HasSupplierProductConnected { get; set; } - [Newtonsoft.Json.JsonProperty("requesteeName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RequesteeName { get; set; } + [Newtonsoft.Json.JsonProperty("weight", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Weight { get; set; } - [Newtonsoft.Json.JsonProperty("roleId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? RoleId { get; set; } + [Newtonsoft.Json.JsonProperty("weightUnit", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ProductWeightUnit? WeightUnit { get; set; } + + [Newtonsoft.Json.JsonProperty("volume", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Volume { get; set; } + + [Newtonsoft.Json.JsonProperty("volumeUnit", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ProductVolumeUnit? VolumeUnit { get; set; } + + [Newtonsoft.Json.JsonProperty("hsnCode", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string HsnCode { get; set; } + + [Newtonsoft.Json.JsonProperty("image", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Document Image { get; set; } + + [Newtonsoft.Json.JsonProperty("markupListPercentage", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? MarkupListPercentage { get; set; } + + [Newtonsoft.Json.JsonProperty("markupNetPercentage", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? MarkupNetPercentage { get; set; } + + [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayName { get; set; } + + /// + /// This feature is available only in pilot + /// + [Newtonsoft.Json.JsonProperty("mainSupplierProduct", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public SupplierProduct MainSupplierProduct { get; set; } public string ToJson() { @@ -70259,17 +71023,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static BankOnboardingAccessRequestDTO FromJson(string data) + public static Product FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class AccommodationAllowance + public partial class ProductUnit { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -70283,32 +71047,29 @@ public partial class AccommodationAllowance [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("travelExpense", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TravelExpense TravelExpense { get; set; } - - [Newtonsoft.Json.JsonProperty("rateType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TravelExpenseRate RateType { get; set; } + [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayName { get; set; } - [Newtonsoft.Json.JsonProperty("rateCategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TravelExpenseRateCategory RateCategory { get; set; } + [Newtonsoft.Json.JsonProperty("displayNameShort", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayNameShort { get; set; } - [Newtonsoft.Json.JsonProperty("zone", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Zone { get; set; } + [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } - [Newtonsoft.Json.JsonProperty("location", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Location { get; set; } + [Newtonsoft.Json.JsonProperty("nameEN", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string NameEN { get; set; } - [Newtonsoft.Json.JsonProperty("address", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Address { get; set; } + [Newtonsoft.Json.JsonProperty("nameShort", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string NameShort { get; set; } - [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } + [Newtonsoft.Json.JsonProperty("nameShortEN", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string NameShortEN { get; set; } - [Newtonsoft.Json.JsonProperty("rate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Rate { get; set; } + [Newtonsoft.Json.JsonProperty("commonCode", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CommonCode { get; set; } - [Newtonsoft.Json.JsonProperty("amount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Amount { get; set; } + [Newtonsoft.Json.JsonProperty("isDeletable", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsDeletable { get; set; } public string ToJson() { @@ -70316,17 +71077,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static AccommodationAllowance FromJson(string data) + public static ProductUnit FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class AccountingPeriod + public partial class Project { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -70343,90 +71104,248 @@ public partial class AccountingPeriod [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Name { get; set; } + /// + /// If NULL, a number is generated automatically. + /// [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Number { get; set; } + public string Number { get; set; } - [Newtonsoft.Json.JsonProperty("start", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Start { get; set; } + [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayName { get; set; } - [Newtonsoft.Json.JsonProperty("end", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string End { get; set; } + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + [Newtonsoft.Json.JsonProperty("projectManager", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Employee ProjectManager { get; set; } = new Employee(); + + [Newtonsoft.Json.JsonProperty("department", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Department Department { get; set; } + + [Newtonsoft.Json.JsonProperty("mainProject", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Project MainProject { get; set; } + + [Newtonsoft.Json.JsonProperty("startDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string StartDate { get; set; } + + [Newtonsoft.Json.JsonProperty("endDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EndDate { get; set; } + + /// + /// The project's customer + /// + [Newtonsoft.Json.JsonProperty("customer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Customer Customer { get; set; } [Newtonsoft.Json.JsonProperty("isClosed", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? IsClosed { get; set; } - public string ToJson() - { + [Newtonsoft.Json.JsonProperty("isReadyForInvoicing", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsReadyForInvoicing { get; set; } - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("isInternal", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool IsInternal { get; set; } - } - public static AccountingPeriod FromJson(string data) - { + [Newtonsoft.Json.JsonProperty("isOffer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsOffer { get; set; } - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + /// + /// Project is fixed price if set to true, hourly rate if set to false. + /// + [Newtonsoft.Json.JsonProperty("isFixedPrice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsFixedPrice { get; set; } - } + [Newtonsoft.Json.JsonProperty("projectCategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ProjectCategory ProjectCategory { get; set; } - } + [Newtonsoft.Json.JsonProperty("deliveryAddress", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public DeliveryAddress DeliveryAddress { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class BankReconciliation - { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } + /// + /// Defines project name presentation in overviews. + /// + [Newtonsoft.Json.JsonProperty("displayNameFormat", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ProjectDisplayNameFormat? DisplayNameFormat { get; set; } - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } + [Newtonsoft.Json.JsonProperty("reference", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Reference { get; set; } - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } + [Newtonsoft.Json.JsonProperty("externalAccountsNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ExternalAccountsNumber { get; set; } - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } + /// + /// Project discount percentage. + /// + [Newtonsoft.Json.JsonProperty("discountPercentage", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? DiscountPercentage { get; set; } - [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Account Account { get; set; } = new Account(); + /// + /// The default vat type for this project. + /// + [Newtonsoft.Json.JsonProperty("vatType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public VatType VatType { get; set; } - [Newtonsoft.Json.JsonProperty("accountingPeriod", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public AccountingPeriod AccountingPeriod { get; set; } = new AccountingPeriod(); + /// + /// Fixed price amount, in the project's currency. + /// + [Newtonsoft.Json.JsonProperty("fixedprice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Fixedprice { get; set; } - [Newtonsoft.Json.JsonProperty("voucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Voucher Voucher { get; set; } + [Newtonsoft.Json.JsonProperty("contributionMarginPercent", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? ContributionMarginPercent { get; set; } + + [Newtonsoft.Json.JsonProperty("numberOfSubProjects", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? NumberOfSubProjects { get; set; } + + [Newtonsoft.Json.JsonProperty("numberOfProjectParticipants", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? NumberOfProjectParticipants { get; set; } /// - /// Bank transactions tied to the bank reconciliation + /// Order lines tied to the order /// - [Newtonsoft.Json.JsonProperty("transactions", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Transactions { get; set; } + [Newtonsoft.Json.JsonProperty("orderLines", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List OrderLines { get; set; } - [Newtonsoft.Json.JsonProperty("isClosed", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsClosed { get; set; } + [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Currency Currency { get; set; } /// - /// Type of Bank Reconciliation. + /// Set mark-up (%) for order lines. /// - [Newtonsoft.Json.JsonProperty("type", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("markUpOrderLines", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? MarkUpOrderLines { get; set; } + + /// + /// Set mark-up (%) for fees earned. + /// + [Newtonsoft.Json.JsonProperty("markUpFeesEarned", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? MarkUpFeesEarned { get; set; } + + /// + /// Set to true if an hourly rate project has a price ceiling. + /// + [Newtonsoft.Json.JsonProperty("isPriceCeiling", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsPriceCeiling { get; set; } + + /// + /// Price ceiling amount, in the project's currency. + /// + [Newtonsoft.Json.JsonProperty("priceCeilingAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? PriceCeilingAmount { get; set; } + + /// + /// Project Rate Types tied to the project. + /// + [Newtonsoft.Json.JsonProperty("projectHourlyRates", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List ProjectHourlyRates { get; set; } + + /// + /// Set to true if only project participants can register information on the project + /// + [Newtonsoft.Json.JsonProperty("forParticipantsOnly", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ForParticipantsOnly { get; set; } + + /// + /// Link to individual project participants. + /// + [Newtonsoft.Json.JsonProperty("participants", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Participants { get; set; } + + /// + /// Customer contact person. + /// + [Newtonsoft.Json.JsonProperty("contact", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Contact Contact { get; set; } + + /// + /// Customer in attention of person + /// + [Newtonsoft.Json.JsonProperty("attention", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Contact Attention { get; set; } + + /// + /// Comment for project invoices + /// + [Newtonsoft.Json.JsonProperty("invoiceComment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string InvoiceComment { get; set; } + + /// + /// Invoicing plans tied to the project + /// + [Newtonsoft.Json.JsonProperty("invoicingPlan", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List InvoicingPlan { get; set; } + + [Newtonsoft.Json.JsonProperty("preliminaryInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Invoice PreliminaryInvoice { get; set; } + + /// + /// Set to true if a general project activity must be linked to project to allow time tracking. + /// + [Newtonsoft.Json.JsonProperty("generalProjectActivitiesPerProjectOnly", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? GeneralProjectActivitiesPerProjectOnly { get; set; } + + /// + /// Project Activities + /// + [Newtonsoft.Json.JsonProperty("projectActivities", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List ProjectActivities { get; set; } + + [Newtonsoft.Json.JsonProperty("hierarchyNameAndNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string HierarchyNameAndNumber { get; set; } + + /// + /// invoice due date + /// + [Newtonsoft.Json.JsonProperty("invoiceDueDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? InvoiceDueDate { get; set; } + + /// + /// Set the time unit of invoiceDueDate. The special case RECURRING_DAY_OF_MONTH enables the due date to be fixed to a specific day of the month, in this case the fixed due date will automatically be set as standard on all invoices created from this project. Note that when RECURRING_DAY_OF_MONTH is set, the due date will be set to the last day of month if "31" is set in invoicesDueIn. + /// + [Newtonsoft.Json.JsonProperty("invoiceDueDateType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public BankReconciliationType Type { get; set; } + public ProjectInvoiceDueDateType? InvoiceDueDateType { get; set; } - [Newtonsoft.Json.JsonProperty("bankAccountClosingBalanceCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? BankAccountClosingBalanceCurrency { get; set; } + /// + /// receiver email + /// + [Newtonsoft.Json.JsonProperty("invoiceReceiverEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string InvoiceReceiverEmail { get; set; } - [Newtonsoft.Json.JsonProperty("closedDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ClosedDate { get; set; } + /// + /// READ/WRITE access on project + /// + [Newtonsoft.Json.JsonProperty("accessType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ProjectAccessType? AccessType { get; set; } - [Newtonsoft.Json.JsonProperty("closedByContact", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Contact ClosedByContact { get; set; } + [Newtonsoft.Json.JsonProperty("useProductNetPrice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? UseProductNetPrice { get; set; } - [Newtonsoft.Json.JsonProperty("closedByEmployee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Employee ClosedByEmployee { get; set; } + [Newtonsoft.Json.JsonProperty("ignoreCompanyProductDiscountAgreement", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IgnoreCompanyProductDiscountAgreement { get; set; } - [Newtonsoft.Json.JsonProperty("approvable", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Approvable { get; set; } + [Newtonsoft.Json.JsonProperty("customerName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CustomerName { get; set; } - [Newtonsoft.Json.JsonProperty("autoPayReconciliation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? AutoPayReconciliation { get; set; } + [Newtonsoft.Json.JsonProperty("hierarchyLevel", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? HierarchyLevel { get; set; } + + [Newtonsoft.Json.JsonProperty("projectManagerNameAndNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ProjectManagerNameAndNumber { get; set; } + + /// + /// Amount paid on account(a konto) + /// + [Newtonsoft.Json.JsonProperty("totalInvoicedOnAccountAmountAbsoluteCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? TotalInvoicedOnAccountAmountAbsoluteCurrency { get; set; } + + /// + /// The on account(a konto) amounts including VAT + /// + [Newtonsoft.Json.JsonProperty("invoiceOnAccountVatHigh", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? InvoiceOnAccountVatHigh { get; set; } public string ToJson() { @@ -70434,17 +71353,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static BankReconciliation FromJson(string data) + public static Project FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class BankStatement + public partial class ProjectActivity { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -70459,40 +71378,40 @@ public partial class BankStatement public string Url { get; set; } /// - /// Opening balance on the account. + /// Add existing project activity or create new project specific activity /// - [Newtonsoft.Json.JsonProperty("openingBalanceCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? OpeningBalanceCurrency { get; set; } + [Newtonsoft.Json.JsonProperty("activity", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Activity Activity { get; set; } - /// - /// Closing balance on the account. - /// - [Newtonsoft.Json.JsonProperty("closingBalanceCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? ClosingBalanceCurrency { get; set; } + [Newtonsoft.Json.JsonProperty("project", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Project Project { get; set; } + + [Newtonsoft.Json.JsonProperty("startDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string StartDate { get; set; } + + [Newtonsoft.Json.JsonProperty("endDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EndDate { get; set; } + + [Newtonsoft.Json.JsonProperty("isClosed", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsClosed { get; set; } /// - /// Bank statement file name. + /// Set budget hours /// - [Newtonsoft.Json.JsonProperty("fileName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string FileName { get; set; } + [Newtonsoft.Json.JsonProperty("budgetHours", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BudgetHours { get; set; } /// - /// Bank + /// Set budget hourly rate /// - [Newtonsoft.Json.JsonProperty("bank", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Bank Bank { get; set; } - - [Newtonsoft.Json.JsonProperty("fromDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string FromDate { get; set; } - - [Newtonsoft.Json.JsonProperty("toDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ToDate { get; set; } + [Newtonsoft.Json.JsonProperty("budgetHourlyRateCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BudgetHourlyRateCurrency { get; set; } /// - /// Bank transactions tied to the bank statement + /// Set budget fee /// - [Newtonsoft.Json.JsonProperty("transactions", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Transactions { get; set; } + [Newtonsoft.Json.JsonProperty("budgetFeeCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BudgetFeeCurrency { get; set; } public string ToJson() { @@ -70500,17 +71419,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static BankStatement FromJson(string data) + public static ProjectActivity FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class BankTransaction + public partial class ProjectCategory { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -70524,36 +71443,17 @@ public partial class BankTransaction [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("postedDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PostedDate { get; set; } + [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } + + [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Number { get; set; } [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Description { get; set; } - [Newtonsoft.Json.JsonProperty("amountCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountCurrency { get; set; } - - [Newtonsoft.Json.JsonProperty("bankStatement", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public BankStatement BankStatement { get; set; } - - [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Account Account { get; set; } - - [Newtonsoft.Json.JsonProperty("groupedPostings", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List GroupedPostings { get; set; } - - [Newtonsoft.Json.JsonProperty("matchType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public BankTransactionMatchType? MatchType { get; set; } - - [Newtonsoft.Json.JsonProperty("companyId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? CompanyId { get; set; } - - [Newtonsoft.Json.JsonProperty("matched", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Matched { get; set; } - - [Newtonsoft.Json.JsonProperty("bankReconciliationMatchSum", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TlxNumber BankReconciliationMatchSum { get; set; } + [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayName { get; set; } public string ToJson() { @@ -70561,51 +71461,60 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static BankTransaction FromJson(string data) + public static ProjectCategory FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class BankTransactionPosting + public partial class ProjectHourlyRate { - [Newtonsoft.Json.JsonProperty("voucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Voucher Voucher { get; set; } - - [Newtonsoft.Json.JsonProperty("date", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Date { get; set; } + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } - [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Account Account { get; set; } + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } - [Newtonsoft.Json.JsonProperty("customer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Customer Customer { get; set; } + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("supplier", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Supplier Supplier { get; set; } + [Newtonsoft.Json.JsonProperty("project", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Project Project { get; set; } - [Newtonsoft.Json.JsonProperty("amount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Amount { get; set; } + [Newtonsoft.Json.JsonProperty("startDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string StartDate { get; set; } - [Newtonsoft.Json.JsonProperty("amountCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountCurrency { get; set; } + /// + /// Show on contract confirmation/offers + /// + [Newtonsoft.Json.JsonProperty("showInProjectOrder", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ShowInProjectOrder { get; set; } - [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Currency Currency { get; set; } + /// + /// Defines the model used for the hourly rate. + /// + [Newtonsoft.Json.JsonProperty("hourlyRateModel", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ProjectHourlyRateHourlyRateModel HourlyRateModel { get; set; } - [Newtonsoft.Json.JsonProperty("invoiceNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string InvoiceNumber { get; set; } + /// + /// Project specific rates if hourlyRateModel is TYPE_PROJECT_SPECIFIC_HOURLY_RATES. + /// + [Newtonsoft.Json.JsonProperty("projectSpecificRates", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List ProjectSpecificRates { get; set; } - [Newtonsoft.Json.JsonProperty("postingMatchType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public BankTransactionPostingPostingMatchType? PostingMatchType { get; set; } + /// + /// Fixed Hourly rates if hourlyRateModel is TYPE_FIXED_HOURLY_RATE. + /// + [Newtonsoft.Json.JsonProperty("fixedRate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? FixedRate { get; set; } public string ToJson() { @@ -70613,17 +71522,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static BankTransactionPosting FromJson(string data) + public static ProjectHourlyRate FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class CloseGroup + public partial class ProjectInvoiceDetails { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -70637,11 +71546,116 @@ public partial class CloseGroup [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("date", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Date { get; set; } + /// + /// The Project related to the Invoice and ProjectInvoiceAdditionalInfo. + /// + [Newtonsoft.Json.JsonProperty("project", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Project Project { get; set; } - [Newtonsoft.Json.JsonProperty("postings", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Postings { get; set; } + /// + /// Fee amount of the project. For example: 100 NOK. + /// + [Newtonsoft.Json.JsonProperty("feeAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? FeeAmount { get; set; } + + /// + /// Fee amount of the project in the invoice currency. + /// + [Newtonsoft.Json.JsonProperty("feeAmountCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? FeeAmountCurrency { get; set; } + + /// + /// The percentage value of mark-up of amountFee. For example: 10%. + /// + [Newtonsoft.Json.JsonProperty("markupPercent", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? MarkupPercent { get; set; } + + /// + /// The amount value of mark-up of amountFee on the project invoice. For example: 10 NOK. + /// + [Newtonsoft.Json.JsonProperty("markupAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? MarkupAmount { get; set; } + + /// + /// The amount value of mark-up of amountFee on the project invoice, in the invoice currency. + /// + [Newtonsoft.Json.JsonProperty("markupAmountCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? MarkupAmountCurrency { get; set; } + + /// + /// The amount of chargeable manual order lines and vendor invoices on the project invoice. + /// + [Newtonsoft.Json.JsonProperty("amountOrderLinesAndReinvoicing", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountOrderLinesAndReinvoicing { get; set; } + + /// + /// The amount of chargeable manual order lines and vendor invoices on the project invoice, in the invoice currency. + /// + [Newtonsoft.Json.JsonProperty("amountOrderLinesAndReinvoicingCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountOrderLinesAndReinvoicingCurrency { get; set; } + + /// + /// The amount of travel costs and expenses on the project invoice. + /// + [Newtonsoft.Json.JsonProperty("amountTravelReportsAndExpenses", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountTravelReportsAndExpenses { get; set; } + + /// + /// The amount of travel costs and expenses on the project invoice, in the invoice currency. + /// + [Newtonsoft.Json.JsonProperty("amountTravelReportsAndExpensesCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountTravelReportsAndExpensesCurrency { get; set; } + + /// + /// The fee comment on the project invoice. + /// + [Newtonsoft.Json.JsonProperty("feeInvoiceText", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FeeInvoiceText { get; set; } + + /// + /// The comment on the project invoice. + /// + [Newtonsoft.Json.JsonProperty("invoiceText", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string InvoiceText { get; set; } + + /// + /// Determines if extra costs should be included on the project invoice. + /// + [Newtonsoft.Json.JsonProperty("includeOrderLinesAndReinvoicing", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IncludeOrderLinesAndReinvoicing { get; set; } + + /// + /// Determines if hours should be included on the project invoice. + /// + [Newtonsoft.Json.JsonProperty("includeHours", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IncludeHours { get; set; } + + /// + /// Determines if akonto should be included on the project invoice. + /// + [Newtonsoft.Json.JsonProperty("includeOnAccountBalance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IncludeOnAccountBalance { get; set; } + + /// + /// The akonto amount on the project invoice. + /// + [Newtonsoft.Json.JsonProperty("onAccountBalanceAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? OnAccountBalanceAmount { get; set; } + + /// + /// The akonto amount on the project invoice in the invoice currency. + /// + [Newtonsoft.Json.JsonProperty("onAccountBalanceAmountCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? OnAccountBalanceAmountCurrency { get; set; } + + /// + /// The VAT type of the project invoice. + /// + [Newtonsoft.Json.JsonProperty("vatType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public VatType VatType { get; set; } + + [Newtonsoft.Json.JsonProperty("invoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Invoice Invoice { get; set; } public string ToJson() { @@ -70649,42 +71663,107 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static CloseGroup FromJson(string data) + public static ProjectInvoiceDetails FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class CompanyBankAccountPresentation + public partial class ProjectOrderLine { + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } + + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } + + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } + + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } + + [Newtonsoft.Json.JsonProperty("product", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Product Product { get; set; } + + [Newtonsoft.Json.JsonProperty("inventory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Inventory Inventory { get; set; } + /// - /// Iban-number + /// Inventory location field -- beta program /// - [Newtonsoft.Json.JsonProperty("iban", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Iban { get; set; } + [Newtonsoft.Json.JsonProperty("inventoryLocation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public InventoryLocation InventoryLocation { get; set; } + + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Count { get; set; } /// - /// Bban-number + /// Unit price purchase (cost) excluding VAT in the order's currency /// - [Newtonsoft.Json.JsonProperty("bban", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Bban { get; set; } + [Newtonsoft.Json.JsonProperty("unitCostCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? UnitCostCurrency { get; set; } /// - /// BIC/SWIFT for this bankaccount + /// Unit price of purchase excluding VAT in the order's currency /// - [Newtonsoft.Json.JsonProperty("bic", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Bic { get; set; } + [Newtonsoft.Json.JsonProperty("unitPriceExcludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? UnitPriceExcludingVatCurrency { get; set; } - [Newtonsoft.Json.JsonProperty("country", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Country Country { get; set; } + /// + /// The order line's currency. Determined by the order's currency. + /// + [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Currency Currency { get; set; } + + /// + /// Markup given as a percentage (%) + /// + [Newtonsoft.Json.JsonProperty("markup", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Markup { get; set; } + + /// + /// Discount given as a percentage (%) + /// + [Newtonsoft.Json.JsonProperty("discount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Discount { get; set; } + + [Newtonsoft.Json.JsonProperty("vatType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public VatType VatType { get; set; } + + /// + /// Total amount on order line excluding VAT in the order's currency + /// + [Newtonsoft.Json.JsonProperty("amountExcludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountExcludingVatCurrency { get; set; } + + /// + /// Total amount on order line including VAT in the order's currency + /// + [Newtonsoft.Json.JsonProperty("amountIncludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountIncludingVatCurrency { get; set; } + + [Newtonsoft.Json.JsonProperty("project", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Project Project { get; set; } = new Project(); + + [Newtonsoft.Json.JsonProperty("date", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Date { get; set; } + + [Newtonsoft.Json.JsonProperty("isChargeable", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsChargeable { get; set; } + + [Newtonsoft.Json.JsonProperty("isBudget", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsBudget { get; set; } - [Newtonsoft.Json.JsonProperty("provider", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CompanyBankAccountPresentationProvider? Provider { get; set; } + [Newtonsoft.Json.JsonProperty("invoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Invoice Invoice { get; set; } public string ToJson() { @@ -70692,17 +71771,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static CompanyBankAccountPresentation FromJson(string data) + public static ProjectOrderLine FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class Contact + public partial class ProjectParticipant { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -70716,38 +71795,14 @@ public partial class Contact [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("firstName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string FirstName { get; set; } - - [Newtonsoft.Json.JsonProperty("lastName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string LastName { get; set; } - - [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DisplayName { get; set; } - - [Newtonsoft.Json.JsonProperty("email", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Email { get; set; } - - /// - /// The country of the mobile phone number. If not set, the country is derived as best as possible from phoneNumberMobile. NB! 8 digit numbers are assumed to be Norwegian. - /// - [Newtonsoft.Json.JsonProperty("phoneNumberMobileCountry", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Country PhoneNumberMobileCountry { get; set; } - - [Newtonsoft.Json.JsonProperty("phoneNumberMobile", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PhoneNumberMobile { get; set; } - - [Newtonsoft.Json.JsonProperty("phoneNumberWork", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PhoneNumberWork { get; set; } - - [Newtonsoft.Json.JsonProperty("customer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Customer Customer { get; set; } + [Newtonsoft.Json.JsonProperty("project", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Project Project { get; set; } - [Newtonsoft.Json.JsonProperty("department", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Department Department { get; set; } + [Newtonsoft.Json.JsonProperty("employee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Employee Employee { get; set; } - [Newtonsoft.Json.JsonProperty("isInactive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsInactive { get; set; } + [Newtonsoft.Json.JsonProperty("adminAccess", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? AdminAccess { get; set; } public string ToJson() { @@ -70755,17 +71810,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static Contact FromJson(string data) + public static ProjectParticipant FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class Cost + public partial class ProjectSpecificRate { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -70779,62 +71834,20 @@ public partial class Cost [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("travelExpense", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TravelExpense TravelExpense { get; set; } - - [Newtonsoft.Json.JsonProperty("vatType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public VatType VatType { get; set; } - - [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Currency Currency { get; set; } - - [Newtonsoft.Json.JsonProperty("costCategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TravelCostCategory CostCategory { get; set; } - - [Newtonsoft.Json.JsonProperty("paymentType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TravelPaymentType PaymentType { get; set; } = new TravelPaymentType(); - - [Newtonsoft.Json.JsonProperty("category", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Category { get; set; } - - [Newtonsoft.Json.JsonProperty("comments", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Comments { get; set; } - - [Newtonsoft.Json.JsonProperty("rate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Rate { get; set; } - - [Newtonsoft.Json.JsonProperty("amountCurrencyIncVat", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal AmountCurrencyIncVat { get; set; } - - [Newtonsoft.Json.JsonProperty("amountNOKInclVAT", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountNOKInclVAT { get; set; } - - [Newtonsoft.Json.JsonProperty("amountNOKInclVATLow", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountNOKInclVATLow { get; set; } - - [Newtonsoft.Json.JsonProperty("amountNOKInclVATMedium", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountNOKInclVATMedium { get; set; } - - [Newtonsoft.Json.JsonProperty("amountNOKInclVATHigh", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountNOKInclVATHigh { get; set; } - - [Newtonsoft.Json.JsonProperty("isPaidByEmployee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsPaidByEmployee { get; set; } + [Newtonsoft.Json.JsonProperty("hourlyRate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal HourlyRate { get; set; } - [Newtonsoft.Json.JsonProperty("isChargeable", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsChargeable { get; set; } + [Newtonsoft.Json.JsonProperty("hourlyCostPercentage", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? HourlyCostPercentage { get; set; } - [Newtonsoft.Json.JsonProperty("date", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Date { get; set; } + [Newtonsoft.Json.JsonProperty("projectHourlyRate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ProjectHourlyRate ProjectHourlyRate { get; set; } = new ProjectHourlyRate(); - /// - /// Link to individual expense participant. - /// - [Newtonsoft.Json.JsonProperty("participants", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Participants { get; set; } + [Newtonsoft.Json.JsonProperty("employee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Employee Employee { get; set; } - [Newtonsoft.Json.JsonProperty("predictions", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.Dictionary Predictions { get; set; } + [Newtonsoft.Json.JsonProperty("activity", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Activity Activity { get; set; } public string ToJson() { @@ -70842,17 +71855,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static Cost FromJson(string data) + public static ProjectSpecificRate FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class Customer + public partial class Reminder { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -70866,183 +71879,90 @@ public partial class Customer [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } - - [Newtonsoft.Json.JsonProperty("organizationNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string OrganizationNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("supplierNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? SupplierNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("customerNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? CustomerNumber { get; set; } - - /// - /// Defines if the customer is also a supplier. - /// - [Newtonsoft.Json.JsonProperty("isSupplier", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsSupplier { get; set; } - - [Newtonsoft.Json.JsonProperty("isCustomer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsCustomer { get; set; } - - [Newtonsoft.Json.JsonProperty("isInactive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsInactive { get; set; } - - [Newtonsoft.Json.JsonProperty("accountManager", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Employee AccountManager { get; set; } - - [Newtonsoft.Json.JsonProperty("email", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Email { get; set; } - - [Newtonsoft.Json.JsonProperty("invoiceEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string InvoiceEmail { get; set; } - - /// - /// The email address of the customer where the noticing emails are sent in case of an overdue - /// - [Newtonsoft.Json.JsonProperty("overdueNoticeEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string OverdueNoticeEmail { get; set; } - /// - /// [DEPRECATED] List of the bank account numbers for this customer. Norwegian bank account numbers only. + /// Creation date of the invoice reminder. /// - [Newtonsoft.Json.JsonProperty("bankAccounts", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List BankAccounts { get; set; } - - [Newtonsoft.Json.JsonProperty("phoneNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PhoneNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("phoneNumberMobile", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PhoneNumberMobile { get; set; } - - [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - [Newtonsoft.Json.JsonProperty("language", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CustomerLanguage? Language { get; set; } - - [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DisplayName { get; set; } - - [Newtonsoft.Json.JsonProperty("isPrivateIndividual", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsPrivateIndividual { get; set; } + [Newtonsoft.Json.JsonProperty("reminderDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ReminderDate { get; set; } /// - /// Enables various orders on one customer invoice. + /// The fee part of the reminder, in the company's currency. /// - [Newtonsoft.Json.JsonProperty("singleCustomerInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? SingleCustomerInvoice { get; set; } + [Newtonsoft.Json.JsonProperty("charge", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Charge { get; set; } /// - /// Define the invoicing method for the customer.<br>EMAIL: Send invoices as email.<br>EHF: Send invoices as EHF.<br>EFAKTURA: Send invoices as EFAKTURA.<br>AVTALEGIRO: Send invoices as AVTALEGIRO.<br>VIPPS: Send invoices through VIPPS.<br>PAPER: Send invoices as paper invoice.<br>MANUAL: User will have to send invocie manually.<br> + /// The fee part of the reminder, in the invoice currency. /// - [Newtonsoft.Json.JsonProperty("invoiceSendMethod", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CustomerInvoiceSendMethod? InvoiceSendMethod { get; set; } + [Newtonsoft.Json.JsonProperty("chargeCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? ChargeCurrency { get; set; } /// - /// Define the invoice attachment type for emailing to the customer.<br>LINK: Send invoice as link in email.<br>ATTACHMENT: Send invoice as attachment in email.<br> + /// The total fee part of all reminders, in the company's currency. /// - [Newtonsoft.Json.JsonProperty("emailAttachmentType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CustomerEmailAttachmentType? EmailAttachmentType { get; set; } - - [Newtonsoft.Json.JsonProperty("postalAddress", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Address PostalAddress { get; set; } - - [Newtonsoft.Json.JsonProperty("physicalAddress", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Address PhysicalAddress { get; set; } - - [Newtonsoft.Json.JsonProperty("deliveryAddress", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public DeliveryAddress DeliveryAddress { get; set; } + [Newtonsoft.Json.JsonProperty("totalCharge", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? TotalCharge { get; set; } /// - /// Category 1 of this customer + /// The total fee part of all reminders, in the invoice currency. /// - [Newtonsoft.Json.JsonProperty("category1", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CustomerCategory Category1 { get; set; } + [Newtonsoft.Json.JsonProperty("totalChargeCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? TotalChargeCurrency { get; set; } /// - /// Category 2 of this customer + /// The total amount to pay in reminder's currency. /// - [Newtonsoft.Json.JsonProperty("category2", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CustomerCategory Category2 { get; set; } + [Newtonsoft.Json.JsonProperty("totalAmountCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? TotalAmountCurrency { get; set; } /// - /// Category 3 of this customer + /// The interests part of the reminder. /// - [Newtonsoft.Json.JsonProperty("category3", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CustomerCategory Category3 { get; set; } + [Newtonsoft.Json.JsonProperty("interests", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Interests { get; set; } /// - /// Number of days/months in which invoices created from this customer is due + /// The reminder interest rate. /// - [Newtonsoft.Json.JsonProperty("invoicesDueIn", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? InvoicesDueIn { get; set; } + [Newtonsoft.Json.JsonProperty("interestRate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? InterestRate { get; set; } /// - /// Set the time unit of invoicesDueIn. The special case RECURRING_DAY_OF_MONTH enables the due date to be fixed to a specific day of the month, in this case the fixed due date will automatically be set as standard on all invoices created from this customer. Note that when RECURRING_DAY_OF_MONTH is set, the due date will be set to the last day of month if "31" is set in invoicesDueIn. + /// The reminder term of payment date. /// - [Newtonsoft.Json.JsonProperty("invoicesDueInType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CustomerInvoicesDueInType? InvoicesDueInType { get; set; } + [Newtonsoft.Json.JsonProperty("termOfPayment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string TermOfPayment { get; set; } /// - /// The preferred currency for this customer + /// The reminder currency. /// [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public Currency Currency { get; set; } - /// - /// List of bankAccount for this customer - /// - [Newtonsoft.Json.JsonProperty("bankAccountPresentation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List BankAccountPresentation { get; set; } - - /// - /// Can be used to specify the ledger account of the customer if it's different from the default 1500 account. - /// - [Newtonsoft.Json.JsonProperty("ledgerAccount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Account LedgerAccount { get; set; } + [Newtonsoft.Json.JsonProperty("type", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ReminderType Type { get; set; } - /// - /// If true; send this customers invoices to factoring (if factoring is turned on in account). - /// - [Newtonsoft.Json.JsonProperty("isFactoring", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsFactoring { get; set; } + [Newtonsoft.Json.JsonProperty("comment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Comment { get; set; } /// - /// Is sms-notification on/off + /// KID - Kundeidentifikasjonsnummer. /// - [Newtonsoft.Json.JsonProperty("invoiceSendSMSNotification", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? InvoiceSendSMSNotification { get; set; } + [Newtonsoft.Json.JsonProperty("kid", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Kid { get; set; } - /// - /// Has automatic soft reminders enabled for this customer. - /// - [Newtonsoft.Json.JsonProperty("isAutomaticSoftReminderEnabled", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsAutomaticSoftReminderEnabled { get; set; } + [Newtonsoft.Json.JsonProperty("bankAccountNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string BankAccountNumber { get; set; } - /// - /// Has automatic reminders enabled for this customer. - /// - [Newtonsoft.Json.JsonProperty("isAutomaticReminderEnabled", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsAutomaticReminderEnabled { get; set; } + [Newtonsoft.Json.JsonProperty("bankAccountIBAN", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string BankAccountIBAN { get; set; } - /// - /// Has automatic notice of debt collection enabled for this customer. - /// - [Newtonsoft.Json.JsonProperty("isAutomaticNoticeOfDebtCollectionEnabled", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsAutomaticNoticeOfDebtCollectionEnabled { get; set; } + [Newtonsoft.Json.JsonProperty("bankAccountSWIFT", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string BankAccountSWIFT { get; set; } - /// - /// Default discount percentage for this customer. - /// - [Newtonsoft.Json.JsonProperty("discountPercentage", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? DiscountPercentage { get; set; } + [Newtonsoft.Json.JsonProperty("bank", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Bank { get; set; } public string ToJson() { @@ -71050,44 +71970,20 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static Customer FromJson(string data) + public static Reminder FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class CustomerCategory + public partial class ResponseWrapperVoucher { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } - - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } - - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } - - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } - - [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } - - [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Number { get; set; } - - [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - [Newtonsoft.Json.JsonProperty("type", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Type { get; set; } - - [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DisplayName { get; set; } + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Voucher Value { get; set; } public string ToJson() { @@ -71095,17 +71991,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static CustomerCategory FromJson(string data) + public static ResponseWrapperVoucher FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class DiscountGroup + public partial class SalarySpecification { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -71119,14 +72015,38 @@ public partial class DiscountGroup [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } + [Newtonsoft.Json.JsonProperty("rate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal Rate { get; set; } - [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Number { get; set; } + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal Count { get; set; } - [Newtonsoft.Json.JsonProperty("nameAndNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string NameAndNumber { get; set; } + [Newtonsoft.Json.JsonProperty("project", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Project Project { get; set; } + + [Newtonsoft.Json.JsonProperty("department", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Department Department { get; set; } + + [Newtonsoft.Json.JsonProperty("salaryType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public SalaryType SalaryType { get; set; } = new SalaryType(); + + [Newtonsoft.Json.JsonProperty("payslip", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Payslip Payslip { get; set; } + + [Newtonsoft.Json.JsonProperty("employee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Employee Employee { get; set; } + + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + [Newtonsoft.Json.JsonProperty("year", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Year { get; set; } + + [Newtonsoft.Json.JsonProperty("month", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Month { get; set; } + + [Newtonsoft.Json.JsonProperty("amount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Amount { get; set; } public string ToJson() { @@ -71134,17 +72054,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static DiscountGroup FromJson(string data) + public static SalarySpecification FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class Document + public partial class SalaryTransaction { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -71159,22 +72079,34 @@ public partial class Document public string Url { get; set; } /// - /// The name of the document. + /// Voucher date. /// - [Newtonsoft.Json.JsonProperty("fileName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string FileName { get; set; } + [Newtonsoft.Json.JsonProperty("date", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Date { get; set; } + + [Newtonsoft.Json.JsonProperty("year", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int Year { get; set; } + + [Newtonsoft.Json.JsonProperty("month", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int Month { get; set; } /// - /// The size of the document in bytes. + /// With historical wage vouchers you can update the wage system with information dated before the opening balance. /// - [Newtonsoft.Json.JsonProperty("size", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Size { get; set; } + [Newtonsoft.Json.JsonProperty("isHistorical", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsHistorical { get; set; } /// - /// Type of the document + /// The date payslips are made available to the employee. Defaults to voucherDate. /// - [Newtonsoft.Json.JsonProperty("mimeType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string MimeType { get; set; } + [Newtonsoft.Json.JsonProperty("paySlipsAvailableDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PaySlipsAvailableDate { get; set; } + + /// + /// Link to individual payslip objects. + /// + [Newtonsoft.Json.JsonProperty("payslips", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Payslips { get; set; } = new System.Collections.Generic.List(); public string ToJson() { @@ -71182,17 +72114,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static Document FromJson(string data) + public static SalaryTransaction FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class DrivingStop + public partial class SalaryType { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -71206,23 +72138,17 @@ public partial class DrivingStop [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("locationName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string LocationName { get; set; } - - [Newtonsoft.Json.JsonProperty("latitude", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Latitude { get; set; } - - [Newtonsoft.Json.JsonProperty("longitude", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Longitude { get; set; } + [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Number { get; set; } - [Newtonsoft.Json.JsonProperty("sortIndex", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? SortIndex { get; set; } + [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } - [Newtonsoft.Json.JsonProperty("type", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Type { get; set; } + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } - [Newtonsoft.Json.JsonProperty("mileageAllowance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public MileageAllowance MileageAllowance { get; set; } = new MileageAllowance(); + [Newtonsoft.Json.JsonProperty("showInTimesheet", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ShowInTimesheet { get; set; } public string ToJson() { @@ -71230,17 +72156,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static DrivingStop FromJson(string data) + public static SalaryType FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class Inventory + public partial class Supplier { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -71257,95 +72183,119 @@ public partial class Inventory [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Name { get; set; } - [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Number { get; set; } + [Newtonsoft.Json.JsonProperty("organizationNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string OrganizationNumber { get; set; } - [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DisplayName { get; set; } + [Newtonsoft.Json.JsonProperty("supplierNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? SupplierNumber { get; set; } - [Newtonsoft.Json.JsonProperty("isMainInventory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsMainInventory { get; set; } + [Newtonsoft.Json.JsonProperty("customerNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? CustomerNumber { get; set; } + + [Newtonsoft.Json.JsonProperty("isSupplier", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsSupplier { get; set; } + + /// + /// Determine if the supplier is also a customer + /// + [Newtonsoft.Json.JsonProperty("isCustomer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsCustomer { get; set; } [Newtonsoft.Json.JsonProperty("isInactive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? IsInactive { get; set; } - [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - [Newtonsoft.Json.JsonProperty("email", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Email { get; set; } - [Newtonsoft.Json.JsonProperty("phone", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Phone { get; set; } - - [Newtonsoft.Json.JsonProperty("deletable", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Deletable { get; set; } - - [Newtonsoft.Json.JsonProperty("address", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Address Address { get; set; } + /// + /// [DEPRECATED] List of the bank account numbers for this supplier. Norwegian bank account numbers only. + /// + [Newtonsoft.Json.JsonProperty("bankAccounts", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List BankAccounts { get; set; } - [Newtonsoft.Json.JsonProperty("lastStocking", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string LastStocking { get; set; } + [Newtonsoft.Json.JsonProperty("invoiceEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string InvoiceEmail { get; set; } - [Newtonsoft.Json.JsonProperty("status", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Status { get; set; } + /// + /// The email address of the customer where the noticing emails are sent in case of an overdue + /// + [Newtonsoft.Json.JsonProperty("overdueNoticeEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string OverdueNoticeEmail { get; set; } - [Newtonsoft.Json.JsonProperty("hasLocations", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? HasLocations { get; set; } + [Newtonsoft.Json.JsonProperty("phoneNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PhoneNumber { get; set; } - [Newtonsoft.Json.JsonProperty("mainInventory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? MainInventory { get; set; } + [Newtonsoft.Json.JsonProperty("phoneNumberMobile", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PhoneNumberMobile { get; set; } - [Newtonsoft.Json.JsonProperty("inactive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Inactive { get; set; } + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } - public string ToJson() - { + [Newtonsoft.Json.JsonProperty("isPrivateIndividual", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsPrivateIndividual { get; set; } - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("showProducts", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ShowProducts { get; set; } - } - public static Inventory FromJson(string data) - { + [Newtonsoft.Json.JsonProperty("accountManager", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Employee AccountManager { get; set; } - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("postalAddress", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Address PostalAddress { get; set; } - } + [Newtonsoft.Json.JsonProperty("physicalAddress", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Address PhysicalAddress { get; set; } - } + [Newtonsoft.Json.JsonProperty("deliveryAddress", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public DeliveryAddress DeliveryAddress { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class InventoryLocation - { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } + /// + /// Category 1 of this supplier + /// + [Newtonsoft.Json.JsonProperty("category1", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CustomerCategory Category1 { get; set; } - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } + /// + /// Category 2 of this supplier + /// + [Newtonsoft.Json.JsonProperty("category2", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CustomerCategory Category2 { get; set; } - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } + /// + /// Category 3 of this supplier + /// + [Newtonsoft.Json.JsonProperty("category3", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CustomerCategory Category3 { get; set; } - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } + /// + /// List of bankAccount for this supplier + /// + [Newtonsoft.Json.JsonProperty("bankAccountPresentation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List BankAccountPresentation { get; set; } - [Newtonsoft.Json.JsonProperty("inventory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Inventory Inventory { get; set; } = new Inventory(); + /// + /// The preferred currency for this supplier + /// + [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Currency Currency { get; set; } - [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Number { get; set; } + /// + /// Can be used to specify the ledger account of the supplier if it's different from the default 2400 account + /// + [Newtonsoft.Json.JsonProperty("ledgerAccount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Account LedgerAccount { get; set; } - [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } + [Newtonsoft.Json.JsonProperty("isWholesaler", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsWholesaler { get; set; } [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string DisplayName { get; set; } - [Newtonsoft.Json.JsonProperty("isInactive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsInactive { get; set; } + [Newtonsoft.Json.JsonProperty("locale", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Locale { get; set; } - [Newtonsoft.Json.JsonProperty("isDeletable", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsDeletable { get; set; } + [Newtonsoft.Json.JsonProperty("website", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Website { get; set; } public string ToJson() { @@ -71353,17 +72303,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static InventoryLocation FromJson(string data) + public static Supplier FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class Invoice + public partial class SupplierProduct { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -71377,210 +72327,89 @@ public partial class Invoice [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } - /// - /// If value is set to 0, the invoice number will be generated. - /// - [Newtonsoft.Json.JsonProperty("invoiceNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? InvoiceNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("invoiceDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string InvoiceDate { get; set; } - - /// - /// The invoice customer - /// - [Newtonsoft.Json.JsonProperty("customer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Customer Customer { get; set; } - - /// - /// The id of the original invoice if this is a credit note. - /// - [Newtonsoft.Json.JsonProperty("creditedInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? CreditedInvoice { get; set; } - - [Newtonsoft.Json.JsonProperty("isCredited", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsCredited { get; set; } - - [Newtonsoft.Json.JsonProperty("invoiceDueDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string InvoiceDueDate { get; set; } - - /// - /// KID - Kundeidentifikasjonsnummer. - /// - [Newtonsoft.Json.JsonProperty("kid", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Kid { get; set; } - - /// - /// Comment text for the invoice. This was specified on the order as invoiceComment. - /// - [Newtonsoft.Json.JsonProperty("invoiceComment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string InvoiceComment { get; set; } - - /// - /// Comment text for the specific invoice. - /// - [Newtonsoft.Json.JsonProperty("comment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Comment { get; set; } - - /// - /// Related orders. Only one order per invoice is supported at the moment. - /// - [Newtonsoft.Json.JsonProperty("orders", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Orders { get; set; } = new System.Collections.Generic.List(); - - /// - /// Orderlines connected to the invoice. - /// - [Newtonsoft.Json.JsonProperty("orderLines", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List OrderLines { get; set; } - - /// - /// Travel reports connected to the invoice. - /// - [Newtonsoft.Json.JsonProperty("travelReports", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List TravelReports { get; set; } - - /// - /// ProjectInvoiceDetails contains additional information about the invoice, in particular invoices for projects. It contains information about the charged project, the fee amount, extra percent and amount, extra costs, travel expenses, invoice and project comments, akonto amount and values determining if extra costs, akonto and hours should be included. ProjectInvoiceDetails is an object which represents the relation between an invoice and a Project, Orderline and OrderOut object. - /// - [Newtonsoft.Json.JsonProperty("projectInvoiceDetails", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List ProjectInvoiceDetails { get; set; } + [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } - /// - /// The invoice voucher. - /// - [Newtonsoft.Json.JsonProperty("voucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Voucher Voucher { get; set; } + [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayName { get; set; } - /// - /// The delivery date. - /// - [Newtonsoft.Json.JsonProperty("deliveryDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DeliveryDate { get; set; } + [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Number { get; set; } - /// - /// In the company’s currency, typically NOK. - /// - [Newtonsoft.Json.JsonProperty("amount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Amount { get; set; } + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } - /// - /// In the specified currency. - /// - [Newtonsoft.Json.JsonProperty("amountCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountCurrency { get; set; } + [Newtonsoft.Json.JsonProperty("ean", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Ean { get; set; } /// - /// Amount excluding VAT (NOK). + /// Price purchase (cost) excluding VAT in the product's currency /// - [Newtonsoft.Json.JsonProperty("amountExcludingVat", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountExcludingVat { get; set; } + [Newtonsoft.Json.JsonProperty("costExcludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? CostExcludingVatCurrency { get; set; } /// - /// Amount excluding VAT in the specified currency. + /// Price purchase (cost) in the company's currency /// - [Newtonsoft.Json.JsonProperty("amountExcludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountExcludingVatCurrency { get; set; } + [Newtonsoft.Json.JsonProperty("cost", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Cost { get; set; } /// - /// Amount of round off to nearest integer. + /// Price of purchase excluding VAT in the product's currency /// - [Newtonsoft.Json.JsonProperty("amountRoundoff", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountRoundoff { get; set; } + [Newtonsoft.Json.JsonProperty("priceExcludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? PriceExcludingVatCurrency { get; set; } /// - /// Amount of round off to nearest integer in the specified currency. + /// Price of purchase including VAT in the product's currency /// - [Newtonsoft.Json.JsonProperty("amountRoundoffCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountRoundoffCurrency { get; set; } + [Newtonsoft.Json.JsonProperty("priceIncludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? PriceIncludingVatCurrency { get; set; } - /// - /// The amount outstanding based on the history collection, excluding reminders and any existing remits, in the invoice currency. - /// - [Newtonsoft.Json.JsonProperty("amountOutstanding", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountOutstanding { get; set; } + [Newtonsoft.Json.JsonProperty("isInactive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsInactive { get; set; } - /// - /// The amountCurrency outstanding based on the history collection, excluding reminders and any existing remits, in the invoice currency. - /// - [Newtonsoft.Json.JsonProperty("amountCurrencyOutstanding", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountCurrencyOutstanding { get; set; } + [Newtonsoft.Json.JsonProperty("productUnit", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ProductUnit ProductUnit { get; set; } - /// - /// The amount outstanding based on the history collection and including the last reminder and any existing remits. This is the total invoice balance including reminders and remittances, in the invoice currency. - /// - [Newtonsoft.Json.JsonProperty("amountOutstandingTotal", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountOutstandingTotal { get; set; } + [Newtonsoft.Json.JsonProperty("isStockItem", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsStockItem { get; set; } - /// - /// The amountCurrency outstanding based on the history collection and including the last reminder and any existing remits. This is the total invoice balance including reminders and remittances, in the invoice currency. - /// - [Newtonsoft.Json.JsonProperty("amountCurrencyOutstandingTotal", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountCurrencyOutstandingTotal { get; set; } + [Newtonsoft.Json.JsonProperty("stockOfGoods", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? StockOfGoods { get; set; } - /// - /// The sum of all open remittances of the invoice. Remittances are reimbursement payments back to the customer and are therefore relevant to the bookkeeping of the invoice in the accounts. - /// - [Newtonsoft.Json.JsonProperty("sumRemits", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? SumRemits { get; set; } + [Newtonsoft.Json.JsonProperty("vatType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public VatType VatType { get; set; } [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public Currency Currency { get; set; } - [Newtonsoft.Json.JsonProperty("isCreditNote", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsCreditNote { get; set; } - - [Newtonsoft.Json.JsonProperty("isCharged", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsCharged { get; set; } - - [Newtonsoft.Json.JsonProperty("isApproved", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsApproved { get; set; } - - /// - /// The invoice postings, which includes a posting for the invoice with a positive amount, and one or more posting for the payments with negative amounts. - /// - [Newtonsoft.Json.JsonProperty("postings", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Postings { get; set; } + [Newtonsoft.Json.JsonProperty("discountPrice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? DiscountPrice { get; set; } - /// - /// Invoice debt collection and reminders. - /// - [Newtonsoft.Json.JsonProperty("reminders", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Reminders { get; set; } + [Newtonsoft.Json.JsonProperty("supplier", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Supplier Supplier { get; set; } = new Supplier(); - /// - /// Deprecated Invoice remarks - please use the 'invoiceRemark' instead. - /// - [Newtonsoft.Json.JsonProperty("invoiceRemarks", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string InvoiceRemarks { get; set; } + [Newtonsoft.Json.JsonProperty("resaleProduct", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Product ResaleProduct { get; set; } - /// - /// Invoice remark - automatically stops reminder/notice of debt collection until specified date. - /// - [Newtonsoft.Json.JsonProperty("invoiceRemark", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public InvoiceRemark InvoiceRemark { get; set; } + [Newtonsoft.Json.JsonProperty("isDeletable", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsDeletable { get; set; } - /// - /// [BETA] Optional. Used to specify payment type for prepaid invoices. Payment type can be specified here, or as a parameter to the /invoice API endpoint. - /// - [Newtonsoft.Json.JsonProperty("paymentTypeId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? PaymentTypeId { get; set; } + [Newtonsoft.Json.JsonProperty("vendorName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VendorName { get; set; } - /// - /// [BETA] Optional. Used to specify the prepaid amount of the invoice. The paid amount can be specified here, or as a parameter to the /invoice API endpoint. - /// - [Newtonsoft.Json.JsonProperty("paidAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? PaidAmount { get; set; } + [Newtonsoft.Json.JsonProperty("isEfoNelfoProduct", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsEfoNelfoProduct { get; set; } - [Newtonsoft.Json.JsonProperty("isPeriodizationPossible", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsPeriodizationPossible { get; set; } + [Newtonsoft.Json.JsonProperty("wholesalerId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? WholesalerId { get; set; } /// - /// [Deprecated] EHF (Peppol) send status. This only shows status for historic EHFs. + /// This feature is available only in pilot /// - [Newtonsoft.Json.JsonProperty("ehfSendStatus", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public InvoiceEhfSendStatus? EhfSendStatus { get; set; } + [Newtonsoft.Json.JsonProperty("isMainSupplierProduct", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsMainSupplierProduct { get; set; } public string ToJson() { @@ -71588,17 +72417,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static Invoice FromJson(string data) + public static SupplierProduct FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class InvoiceRemark + public partial class TravelCostCategory { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -71615,8 +72444,26 @@ public partial class InvoiceRemark [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Description { get; set; } - [Newtonsoft.Json.JsonProperty("postponeRemindersTo", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PostponeRemindersTo { get; set; } + [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Account Account { get; set; } + + [Newtonsoft.Json.JsonProperty("vatType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public VatType VatType { get; set; } + + [Newtonsoft.Json.JsonProperty("isVatLocked", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsVatLocked { get; set; } + + [Newtonsoft.Json.JsonProperty("showOnTravelExpenses", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ShowOnTravelExpenses { get; set; } + + [Newtonsoft.Json.JsonProperty("showOnEmployeeExpenses", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ShowOnEmployeeExpenses { get; set; } + + [Newtonsoft.Json.JsonProperty("isInactive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsInactive { get; set; } + + [Newtonsoft.Json.JsonProperty("sequence", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Sequence { get; set; } public string ToJson() { @@ -71624,27 +72471,50 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static InvoiceRemark FromJson(string data) + public static TravelCostCategory FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class Link + public partial class TravelDetails { - [Newtonsoft.Json.JsonProperty("rel", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Rel { get; set; } + [Newtonsoft.Json.JsonProperty("isForeignTravel", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsForeignTravel { get; set; } - [Newtonsoft.Json.JsonProperty("type", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public LinkType? Type { get; set; } + [Newtonsoft.Json.JsonProperty("isDayTrip", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsDayTrip { get; set; } - [Newtonsoft.Json.JsonProperty("href", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Href { get; set; } + [Newtonsoft.Json.JsonProperty("isCompensationFromRates", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsCompensationFromRates { get; set; } + + [Newtonsoft.Json.JsonProperty("departureDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DepartureDate { get; set; } + + [Newtonsoft.Json.JsonProperty("returnDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ReturnDate { get; set; } + + [Newtonsoft.Json.JsonProperty("detailedJourneyDescription", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DetailedJourneyDescription { get; set; } + + [Newtonsoft.Json.JsonProperty("departureFrom", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DepartureFrom { get; set; } + + [Newtonsoft.Json.JsonProperty("destination", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Destination { get; set; } + + [Newtonsoft.Json.JsonProperty("departureTime", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DepartureTime { get; set; } + + [Newtonsoft.Json.JsonProperty("returnTime", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ReturnTime { get; set; } + + [Newtonsoft.Json.JsonProperty("purpose", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Purpose { get; set; } public string ToJson() { @@ -71652,17 +72522,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static Link FromJson(string data) + public static TravelDetails FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class MileageAllowance + public partial class TravelExpense { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -71676,71 +72546,150 @@ public partial class MileageAllowance [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("travelExpense", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TravelExpense TravelExpense { get; set; } + [Newtonsoft.Json.JsonProperty("project", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Project Project { get; set; } - [Newtonsoft.Json.JsonProperty("rateType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TravelExpenseRate RateType { get; set; } + [Newtonsoft.Json.JsonProperty("employee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Employee Employee { get; set; } = new Employee(); - [Newtonsoft.Json.JsonProperty("rateCategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TravelExpenseRateCategory RateCategory { get; set; } + [Newtonsoft.Json.JsonProperty("approvedBy", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Employee ApprovedBy { get; set; } - [Newtonsoft.Json.JsonProperty("date", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Date { get; set; } + [Newtonsoft.Json.JsonProperty("completedBy", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Employee CompletedBy { get; set; } - [Newtonsoft.Json.JsonProperty("departureLocation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DepartureLocation { get; set; } + [Newtonsoft.Json.JsonProperty("rejectedBy", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Employee RejectedBy { get; set; } - [Newtonsoft.Json.JsonProperty("destination", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Destination { get; set; } + [Newtonsoft.Json.JsonProperty("department", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Department Department { get; set; } - [Newtonsoft.Json.JsonProperty("km", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Km { get; set; } + [Newtonsoft.Json.JsonProperty("payslip", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Payslip Payslip { get; set; } - [Newtonsoft.Json.JsonProperty("rate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Rate { get; set; } + [Newtonsoft.Json.JsonProperty("vatType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public VatType VatType { get; set; } + + [Newtonsoft.Json.JsonProperty("paymentCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Currency PaymentCurrency { get; set; } + + [Newtonsoft.Json.JsonProperty("travelDetails", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TravelDetails TravelDetails { get; set; } + + [Newtonsoft.Json.JsonProperty("voucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Voucher Voucher { get; set; } + + [Newtonsoft.Json.JsonProperty("attachment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Document Attachment { get; set; } + + [Newtonsoft.Json.JsonProperty("isCompleted", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsCompleted { get; set; } + + [Newtonsoft.Json.JsonProperty("isApproved", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsApproved { get; set; } + + [Newtonsoft.Json.JsonProperty("rejectedComment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RejectedComment { get; set; } + + [Newtonsoft.Json.JsonProperty("isChargeable", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsChargeable { get; set; } + + [Newtonsoft.Json.JsonProperty("isFixedInvoicedAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsFixedInvoicedAmount { get; set; } + + [Newtonsoft.Json.JsonProperty("isIncludeAttachedReceiptsWhenReinvoicing", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsIncludeAttachedReceiptsWhenReinvoicing { get; set; } + + [Newtonsoft.Json.JsonProperty("completedDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CompletedDate { get; set; } + + [Newtonsoft.Json.JsonProperty("approvedDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ApprovedDate { get; set; } + + [Newtonsoft.Json.JsonProperty("date", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Date { get; set; } + + [Newtonsoft.Json.JsonProperty("travelAdvance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? TravelAdvance { get; set; } + + [Newtonsoft.Json.JsonProperty("fixedInvoicedAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? FixedInvoicedAmount { get; set; } [Newtonsoft.Json.JsonProperty("amount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public decimal? Amount { get; set; } - [Newtonsoft.Json.JsonProperty("isCompanyCar", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsCompanyCar { get; set; } + [Newtonsoft.Json.JsonProperty("paymentAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? PaymentAmount { get; set; } + + [Newtonsoft.Json.JsonProperty("chargeableAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? ChargeableAmount { get; set; } + + [Newtonsoft.Json.JsonProperty("lowRateVAT", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? LowRateVAT { get; set; } + + [Newtonsoft.Json.JsonProperty("mediumRateVAT", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? MediumRateVAT { get; set; } + + [Newtonsoft.Json.JsonProperty("highRateVAT", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? HighRateVAT { get; set; } + + [Newtonsoft.Json.JsonProperty("paymentAmountCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? PaymentAmountCurrency { get; set; } + + [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Number { get; set; } + + [Newtonsoft.Json.JsonProperty("invoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Invoice Invoice { get; set; } + + [Newtonsoft.Json.JsonProperty("title", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Title { get; set; } /// - /// The corresponded number for the vehicleType. Default value = 0. + /// Link to individual per diem compensations. /// - [Newtonsoft.Json.JsonProperty("vehicleType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? VehicleType { get; set; } + [Newtonsoft.Json.JsonProperty("perDiemCompensations", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List PerDiemCompensations { get; set; } /// - /// Link to individual passengers. + /// Link to individual mileage allowances. /// - [Newtonsoft.Json.JsonProperty("passengers", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Passengers { get; set; } + [Newtonsoft.Json.JsonProperty("mileageAllowances", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List MileageAllowances { get; set; } + + /// + /// Link to individual accommodation allowances. + /// + [Newtonsoft.Json.JsonProperty("accommodationAllowances", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List AccommodationAllowances { get; set; } + + /// + /// Link to individual costs. + /// + [Newtonsoft.Json.JsonProperty("costs", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Costs { get; set; } + + [Newtonsoft.Json.JsonProperty("attachmentCount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? AttachmentCount { get; set; } + + [Newtonsoft.Json.JsonProperty("state", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public TravelExpenseState? State { get; set; } + + [Newtonsoft.Json.JsonProperty("actions", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Actions { get; set; } - /// - /// Passenger mileage allowance associated with this mileage allowance. - /// - [Newtonsoft.Json.JsonProperty("passengerSupplement", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public MileageAllowance PassengerSupplement { get; set; } + [Newtonsoft.Json.JsonProperty("isSalaryAdmin", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsSalaryAdmin { get; set; } - /// - /// Trailer mileage allowance supplement associated with this mileage allowance. - /// - [Newtonsoft.Json.JsonProperty("trailerSupplement", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public MileageAllowance TrailerSupplement { get; set; } + [Newtonsoft.Json.JsonProperty("showPayslip", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ShowPayslip { get; set; } - /// - /// Toll cost associated with this mileage allowance. - /// - [Newtonsoft.Json.JsonProperty("tollCost", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Cost TollCost { get; set; } + [Newtonsoft.Json.JsonProperty("accountingPeriodClosed", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? AccountingPeriodClosed { get; set; } - /// - /// Link to individual mileage stops. - /// - [Newtonsoft.Json.JsonProperty("drivingStops", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List DrivingStops { get; set; } + [Newtonsoft.Json.JsonProperty("accountingPeriodVATClosed", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? AccountingPeriodVATClosed { get; set; } public string ToJson() { @@ -71748,17 +72697,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static MileageAllowance FromJson(string data) + public static TravelExpense FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class Order + public partial class TravelExpenseParticipant { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -71772,213 +72721,132 @@ public partial class Order [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("customer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Customer Customer { get; set; } = new Customer(); - - [Newtonsoft.Json.JsonProperty("contact", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Contact Contact { get; set; } - - [Newtonsoft.Json.JsonProperty("attn", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Contact Attn { get; set; } - [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string DisplayName { get; set; } - [Newtonsoft.Json.JsonProperty("receiverEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ReceiverEmail { get; set; } + /// + /// Optional employee id in case the participant is an employee + /// + [Newtonsoft.Json.JsonProperty("employeeId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? EmployeeId { get; set; } - [Newtonsoft.Json.JsonProperty("overdueNoticeEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string OverdueNoticeEmail { get; set; } + [Newtonsoft.Json.JsonProperty("cost", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Cost Cost { get; set; } = new Cost(); - [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Number { get; set; } + public string ToJson() + { - [Newtonsoft.Json.JsonProperty("reference", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Reference { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - /// - /// If the contact is not an employee - /// - [Newtonsoft.Json.JsonProperty("ourContact", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Contact OurContact { get; set; } + } + public static TravelExpenseParticipant FromJson(string data) + { - /// - /// If the contact is an employee - /// - [Newtonsoft.Json.JsonProperty("ourContactEmployee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Employee OurContactEmployee { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("department", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Department Department { get; set; } + } - [Newtonsoft.Json.JsonProperty("orderDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string OrderDate { get; set; } + } - [Newtonsoft.Json.JsonProperty("project", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Project Project { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class TravelExpenseRate + { + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } - /// - /// Comment to be displayed in the invoice based on this order. Can be also found in Invoice.invoiceComment on Invoice objects. - /// - [Newtonsoft.Json.JsonProperty("invoiceComment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string InvoiceComment { get; set; } + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Currency Currency { get; set; } + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } - /// - /// Number of days/months in which invoices created from this order is due - /// - [Newtonsoft.Json.JsonProperty("invoicesDueIn", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? InvoicesDueIn { get; set; } + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } - /// - /// Set the time unit of invoicesDueIn. The special case RECURRING_DAY_OF_MONTH enables the due date to be fixed to a specific day of the month, in this case the fixed due date will automatically be set as standard on all invoices created from this order. Note that when RECURRING_DAY_OF_MONTH is set, the due date will be set to the last day of month if "31" is set in invoicesDueIn. - /// - [Newtonsoft.Json.JsonProperty("invoicesDueInType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public OrderInvoicesDueInType? InvoicesDueInType { get; set; } + [Newtonsoft.Json.JsonProperty("rateCategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TravelExpenseRateCategory RateCategory { get; set; } = new TravelExpenseRateCategory(); - /// - /// Show account statement - open posts on invoices created from this order - /// - [Newtonsoft.Json.JsonProperty("isShowOpenPostsOnInvoices", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsShowOpenPostsOnInvoices { get; set; } + [Newtonsoft.Json.JsonProperty("zone", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Zone { get; set; } - /// - /// Denotes if this order is closed. A closed order can no longer be invoiced unless it is opened again. - /// - [Newtonsoft.Json.JsonProperty("isClosed", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsClosed { get; set; } + [Newtonsoft.Json.JsonProperty("rate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Rate { get; set; } - [Newtonsoft.Json.JsonProperty("deliveryDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DeliveryDate { get; set; } + [Newtonsoft.Json.JsonProperty("breakfastDeductionRate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BreakfastDeductionRate { get; set; } - /// - /// Delivery address of this order. This can be a new or existing address - ///
(useful to know, especially if the delivery is to a private person: if 'deliveryAddress.name' is set, we ignore the state of 'customer.id') - ///
- [Newtonsoft.Json.JsonProperty("deliveryAddress", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public DeliveryAddress DeliveryAddress { get; set; } + [Newtonsoft.Json.JsonProperty("lunchDeductionRate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? LunchDeductionRate { get; set; } - [Newtonsoft.Json.JsonProperty("deliveryComment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DeliveryComment { get; set; } + [Newtonsoft.Json.JsonProperty("dinnerDeductionRate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? DinnerDeductionRate { get; set; } - [Newtonsoft.Json.JsonProperty("isPrioritizeAmountsIncludingVat", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsPrioritizeAmountsIncludingVat { get; set; } + public string ToJson() + { - [Newtonsoft.Json.JsonProperty("orderLineSorting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public OrderLineSorting? OrderLineSorting { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - /// - /// Order lines tied to the order. New OrderLines may be embedded here, in some endpoints. - /// - [Newtonsoft.Json.JsonProperty("orderLines", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List OrderLines { get; set; } + } + public static TravelExpenseRate FromJson(string data) + { - /// - /// If true, the order is a subscription, which enables periodical invoicing of order lines. First, create an order with isSubscription=true, then approve it for subscription invoicing with the :approveSubscriptionInvoice method. - /// - [Newtonsoft.Json.JsonProperty("isSubscription", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsSubscription { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - /// - /// Number of months/years the subscription shall run - /// - [Newtonsoft.Json.JsonProperty("subscriptionDuration", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? SubscriptionDuration { get; set; } + } - /// - /// The time unit of subscriptionDuration - /// - [Newtonsoft.Json.JsonProperty("subscriptionDurationType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public OrderSubscriptionDurationType? SubscriptionDurationType { get; set; } + } - /// - /// Number of periods on each invoice - /// - [Newtonsoft.Json.JsonProperty("subscriptionPeriodsOnInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? SubscriptionPeriodsOnInvoice { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class TravelExpenseRateCategory + { + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } - /// - /// The time unit of subscriptionPeriodsOnInvoice - /// - [Newtonsoft.Json.JsonProperty("subscriptionPeriodsOnInvoiceType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public OrderSubscriptionPeriodsOnInvoiceType? SubscriptionPeriodsOnInvoiceType { get; set; } + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - /// - /// Invoicing in advance/in arrears - /// - [Newtonsoft.Json.JsonProperty("subscriptionInvoicingTimeInAdvanceOrArrears", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public OrderSubscriptionInvoicingTimeInAdvanceOrArrears? SubscriptionInvoicingTimeInAdvanceOrArrears { get; set; } + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } - /// - /// Number of days/months invoicing in advance/in arrears - /// - [Newtonsoft.Json.JsonProperty("subscriptionInvoicingTime", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? SubscriptionInvoicingTime { get; set; } + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } - /// - /// The time unit of subscriptionInvoicingTime - /// - [Newtonsoft.Json.JsonProperty("subscriptionInvoicingTimeType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public OrderSubscriptionInvoicingTimeType? SubscriptionInvoicingTimeType { get; set; } + [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } - /// - /// Automatic invoicing. Starts when the subscription is approved - /// - [Newtonsoft.Json.JsonProperty("isSubscriptionAutoInvoicing", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsSubscriptionAutoInvoicing { get; set; } + [Newtonsoft.Json.JsonProperty("ameldingWageCode", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? AmeldingWageCode { get; set; } - /// - /// [BETA] Preliminary invoice if order is not charged - /// - [Newtonsoft.Json.JsonProperty("preliminaryInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Invoice PreliminaryInvoice { get; set; } + [Newtonsoft.Json.JsonProperty("wageCodeNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string WageCodeNumber { get; set; } - /// - /// [BETA] Attachments belonging to this order - /// - [Newtonsoft.Json.JsonProperty("attachment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Attachment { get; set; } + [Newtonsoft.Json.JsonProperty("isValidDayTrip", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsValidDayTrip { get; set; } - /// - /// Description of how this invoice will be sent - /// - [Newtonsoft.Json.JsonProperty("sendMethodDescription", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string SendMethodDescription { get; set; } + [Newtonsoft.Json.JsonProperty("isValidAccommodation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsValidAccommodation { get; set; } - [Newtonsoft.Json.JsonProperty("canCreateBackorder", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? CanCreateBackorder { get; set; } + [Newtonsoft.Json.JsonProperty("isValidDomestic", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsValidDomestic { get; set; } - /// - /// Is the on account(a konto) amounts including vat - /// - [Newtonsoft.Json.JsonProperty("invoiceOnAccountVatHigh", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? InvoiceOnAccountVatHigh { get; set; } + [Newtonsoft.Json.JsonProperty("isValidForeignTravel", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsValidForeignTravel { get; set; } - /// - /// Amount paid on account(a konto) - /// - [Newtonsoft.Json.JsonProperty("totalInvoicedOnAccountAmountAbsoluteCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? TotalInvoicedOnAccountAmountAbsoluteCurrency { get; set; } + [Newtonsoft.Json.JsonProperty("isRequiresZone", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsRequiresZone { get; set; } - /// - /// Is sms-notification on/off - /// - [Newtonsoft.Json.JsonProperty("invoiceSendSMSNotification", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? InvoiceSendSMSNotification { get; set; } + [Newtonsoft.Json.JsonProperty("isRequiresOvernightAccommodation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsRequiresOvernightAccommodation { get; set; } - /// - /// The phone number of the receiver of sms notifications - /// - [Newtonsoft.Json.JsonProperty("invoiceSMSNotificationNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string InvoiceSMSNotificationNumber { get; set; } + [Newtonsoft.Json.JsonProperty("fromDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FromDate { get; set; } + + [Newtonsoft.Json.JsonProperty("toDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ToDate { get; set; } + + [Newtonsoft.Json.JsonProperty("type", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public TravelExpenseRateCategoryType? Type { get; set; } public string ToJson() { @@ -71986,17 +72854,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static Order FromJson(string data) + public static TravelExpenseRateCategory FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class OrderGroup + public partial class TravelPaymentType { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -72010,20 +72878,20 @@ public partial class OrderGroup [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("order", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Order Order { get; set; } = new Order(); + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } - [Newtonsoft.Json.JsonProperty("title", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Title { get; set; } + [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Account Account { get; set; } - [Newtonsoft.Json.JsonProperty("comment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Comment { get; set; } + [Newtonsoft.Json.JsonProperty("showOnTravelExpenses", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ShowOnTravelExpenses { get; set; } - /// - /// Minimum 1. Defines the presentation order of the orderGroups. Does not need to be, and is often not continuous. - /// - [Newtonsoft.Json.JsonProperty("sortIndex", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? SortIndex { get; set; } + [Newtonsoft.Json.JsonProperty("showOnEmployeeExpenses", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ShowOnEmployeeExpenses { get; set; } + + [Newtonsoft.Json.JsonProperty("isInactive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsInactive { get; set; } public string ToJson() { @@ -72031,17 +72899,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static OrderGroup FromJson(string data) + public static TravelPaymentType FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class OrderLine + public partial class Voucher { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -72055,92 +72923,78 @@ public partial class OrderLine [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("product", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Product Product { get; set; } - - [Newtonsoft.Json.JsonProperty("inventory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Inventory Inventory { get; set; } + [Newtonsoft.Json.JsonProperty("date", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Date { get; set; } /// - /// Inventory location field -- beta program + /// System generated number that cannot be changed. /// - [Newtonsoft.Json.JsonProperty("inventoryLocation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public InventoryLocation InventoryLocation { get; set; } - - [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Count { get; set; } + [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Number { get; set; } /// - /// Unit price purchase (cost) excluding VAT in the order's currency + /// Temporary voucher number. /// - [Newtonsoft.Json.JsonProperty("unitCostCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? UnitCostCurrency { get; set; } + [Newtonsoft.Json.JsonProperty("tempNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? TempNumber { get; set; } /// - /// Unit price of purchase excluding VAT in the order's currency + /// System generated number that cannot be changed. /// - [Newtonsoft.Json.JsonProperty("unitPriceExcludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? UnitPriceExcludingVatCurrency { get; set; } + [Newtonsoft.Json.JsonProperty("year", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Year { get; set; } + + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } /// - /// The order line's currency. Determined by the order's currency. + /// Voucher type. Must not be of type 'Utgående faktura' ('Outgoing Invoice') on new vouchers, instead use voucherType=null or use the Invoice endpoint. /// - [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Currency Currency { get; set; } + [Newtonsoft.Json.JsonProperty("voucherType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public VoucherType VoucherType { get; set; } + + [Newtonsoft.Json.JsonProperty("reverseVoucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Voucher ReverseVoucher { get; set; } + + [Newtonsoft.Json.JsonProperty("postings", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Postings { get; set; } = new System.Collections.Generic.List(); /// - /// Markup given as a percentage (%) + /// If the documentation for the voucher has been generated by the system (e.g. an invoice) then this is a reference to the generated document. This document is always a PDF. Note that a voucher may have both a document, an attachment and an ediDocument. /// - [Newtonsoft.Json.JsonProperty("markup", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Markup { get; set; } + [Newtonsoft.Json.JsonProperty("document", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Document Document { get; set; } /// - /// Discount given as a percentage (%) + /// If the documentation for the voucher has been provided from an external source (e.g. another system via API or a user upload) then this is a reference to the document. This is always a PDF. Note that a voucher may have both a document, an attachment and an ediDocument. /// - [Newtonsoft.Json.JsonProperty("discount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Discount { get; set; } - - [Newtonsoft.Json.JsonProperty("vatType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public VatType VatType { get; set; } + [Newtonsoft.Json.JsonProperty("attachment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Document Attachment { get; set; } /// - /// Total amount on order line excluding VAT in the order's currency + /// External voucher number. /// - [Newtonsoft.Json.JsonProperty("amountExcludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountExcludingVatCurrency { get; set; } + [Newtonsoft.Json.JsonProperty("externalVoucherNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ExternalVoucherNumber { get; set; } /// - /// Total amount on order line including VAT in the order's currency + /// If the voucher is created based on a machine readable document (such as EHF or EFO/NELFO) then this is a reference to that document. Note that a voucher may have both a document, an attachment and an ediDocument. /// - [Newtonsoft.Json.JsonProperty("amountIncludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountIncludingVatCurrency { get; set; } + [Newtonsoft.Json.JsonProperty("ediDocument", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Document EdiDocument { get; set; } /// - /// The related Order for this OrderLine. This field is required when creating a new OrderLine in the API. + /// Supplier voucher type - simple and detailed. /// - [Newtonsoft.Json.JsonProperty("order", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Order Order { get; set; } + [Newtonsoft.Json.JsonProperty("supplierVoucherType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public VoucherSupplierVoucherType? SupplierVoucherType { get; set; } /// - /// Unit price of purchase including VAT in the order's currency + /// Voucher was auto matched /// - [Newtonsoft.Json.JsonProperty("unitPriceIncludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? UnitPriceIncludingVatCurrency { get; set; } - - [Newtonsoft.Json.JsonProperty("isSubscription", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsSubscription { get; set; } - - [Newtonsoft.Json.JsonProperty("subscriptionPeriodStart", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string SubscriptionPeriodStart { get; set; } - - [Newtonsoft.Json.JsonProperty("subscriptionPeriodEnd", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string SubscriptionPeriodEnd { get; set; } - - [Newtonsoft.Json.JsonProperty("orderGroup", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public OrderGroup OrderGroup { get; set; } + [Newtonsoft.Json.JsonProperty("wasAutoMatched", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? WasAutoMatched { get; set; } public string ToJson() { @@ -72148,17 +73002,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static OrderLine FromJson(string data) + public static Voucher FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class Passenger + public partial class VoucherType { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -72175,74 +73029,72 @@ public partial class Passenger [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Name { get; set; } - [Newtonsoft.Json.JsonProperty("mileageAllowance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public MileageAllowance MileageAllowance { get; set; } - public string ToJson() { return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static Passenger FromJson(string data) + public static VoucherType FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class Payslip + public partial class AssetDepreciationSpecification { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } - - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } - - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } - - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } - - [Newtonsoft.Json.JsonProperty("transaction", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public SalaryTransaction Transaction { get; set; } - - [Newtonsoft.Json.JsonProperty("employee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Employee Employee { get; set; } = new Employee(); - /// - /// Voucher date. + /// For STRAIGHT_LINE: the total amount to write off. FOR TAX_RELATED: the base amount to calculate the write off amounts from. Not used for CUSTOM /// - [Newtonsoft.Json.JsonProperty("date", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Date { get; set; } + [Newtonsoft.Json.JsonProperty("amount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal Amount { get; set; } - [Newtonsoft.Json.JsonProperty("year", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Year { get; set; } + /// + /// The balance account for the asset. This should be the account where the value of the asset is stored. + /// + [Newtonsoft.Json.JsonProperty("balanceAccount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Account BalanceAccount { get; set; } = new Account(); - [Newtonsoft.Json.JsonProperty("month", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Month { get; set; } + /// + /// Depreciation account for the asset. + /// + [Newtonsoft.Json.JsonProperty("depreciationAccount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Account DepreciationAccount { get; set; } = new Account(); /// - /// Link to salary specifications. + /// The depreciation period in months. /// - [Newtonsoft.Json.JsonProperty("specifications", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Specifications { get; set; } + [Newtonsoft.Json.JsonProperty("noOfMonths", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int NoOfMonths { get; set; } - [Newtonsoft.Json.JsonProperty("vacationAllowanceAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? VacationAllowanceAmount { get; set; } + /// + /// The depreciation method. + /// + [Newtonsoft.Json.JsonProperty("depreciationMethod", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public AssetDepreciationSpecificationDepreciationMethod DepreciationMethod { get; set; } - [Newtonsoft.Json.JsonProperty("grossAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? GrossAmount { get; set; } + /// + /// The start date for the depreciation. This will also be the voucher date + /// + [Newtonsoft.Json.JsonProperty("startDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string StartDate { get; set; } - [Newtonsoft.Json.JsonProperty("amount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Amount { get; set; } + /// + /// The monthly amount to write off. Only used for CUSTOM + /// + [Newtonsoft.Json.JsonProperty("customMonthlyWriteOffAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? CustomMonthlyWriteOffAmount { get; set; } - [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Number { get; set; } + /// + /// How many percent to depreciate for each year. Only used for TAX_RELATED + /// + [Newtonsoft.Json.JsonProperty("taxRelatedDepreciationPercentage", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? TaxRelatedDepreciationPercentage { get; set; } public string ToJson() { @@ -72250,78 +73102,38 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static Payslip FromJson(string data) + public static AssetDepreciationSpecification FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class PerDiemCompensation + public partial class ListResponseVoucher { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } - - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } - - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } - - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } - - [Newtonsoft.Json.JsonProperty("travelExpense", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TravelExpense TravelExpense { get; set; } - - [Newtonsoft.Json.JsonProperty("rateType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TravelExpenseRate RateType { get; set; } - - [Newtonsoft.Json.JsonProperty("rateCategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TravelExpenseRateCategory RateCategory { get; set; } - - [Newtonsoft.Json.JsonProperty("countryCode", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CountryCode { get; set; } - - /// - /// Optional travel expense zone id. If not specified, the value from field zone will be used. - /// - [Newtonsoft.Json.JsonProperty("travelExpenseZoneId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? TravelExpenseZoneId { get; set; } - /// - /// Set what sort of accommodation was had overnight. + /// Indicates whether there are more values available. Note: The value is not exact /// - [Newtonsoft.Json.JsonProperty("overnightAccommodation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public PerDiemCompensationOvernightAccommodation? OvernightAccommodation { get; set; } - - [Newtonsoft.Json.JsonProperty("location", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Location { get; set; } + [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? FullResultSize { get; set; } - [Newtonsoft.Json.JsonProperty("address", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Address { get; set; } + [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? From { get; set; } [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Count { get; set; } - [Newtonsoft.Json.JsonProperty("rate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Rate { get; set; } - - [Newtonsoft.Json.JsonProperty("amount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Amount { get; set; } - - [Newtonsoft.Json.JsonProperty("isDeductionForBreakfast", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsDeductionForBreakfast { get; set; } - - [Newtonsoft.Json.JsonProperty("isDeductionForLunch", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsDeductionForLunch { get; set; } + /// + /// Used to know if the paginated list has changed. + /// + [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VersionDigest { get; set; } - [Newtonsoft.Json.JsonProperty("isDeductionForDinner", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsDeductionForDinner { get; set; } + [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Values { get; set; } public string ToJson() { @@ -72329,126 +73141,119 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static PerDiemCompensation FromJson(string data) + public static ListResponseVoucher FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class Posting + public partial class AssetDetails { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } + [Newtonsoft.Json.JsonProperty("assetId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? AssetId { get; set; } - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } + [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } + [Newtonsoft.Json.JsonProperty("dateOfAcquisition", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DateOfAcquisition { get; set; } - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } + [Newtonsoft.Json.JsonProperty("acquisitionCost", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AcquisitionCost { get; set; } - [Newtonsoft.Json.JsonProperty("voucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Voucher Voucher { get; set; } + [Newtonsoft.Json.JsonProperty("balanceIn", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BalanceIn { get; set; } - [Newtonsoft.Json.JsonProperty("date", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Date { get; set; } + [Newtonsoft.Json.JsonProperty("balanceOut", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BalanceOut { get; set; } - [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } + [Newtonsoft.Json.JsonProperty("balanceChange", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BalanceChange { get; set; } - [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Account Account { get; set; } + [Newtonsoft.Json.JsonProperty("status", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Status { get; set; } - /// - /// The Amortization account. AmortizationAccountId, amortizationStartDate and amortizationEndDate should be provided. If amortizationStartDate and amortizationEndDate are provided, while amortizationAccountId is NULL, then the default amortization account will be used. - /// - [Newtonsoft.Json.JsonProperty("amortizationAccount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Account AmortizationAccount { get; set; } + [Newtonsoft.Json.JsonProperty("lifetime", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Lifetime { get; set; } - /// - /// Amortization start date. AmortizationAccountId, amortizationStartDate and amortizationEndDate should be provided. - /// - [Newtonsoft.Json.JsonProperty("amortizationStartDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AmortizationStartDate { get; set; } + public string ToJson() + { - [Newtonsoft.Json.JsonProperty("amortizationEndDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AmortizationEndDate { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("customer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Customer Customer { get; set; } + } + public static AssetDetails FromJson(string data) + { - [Newtonsoft.Json.JsonProperty("supplier", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Supplier Supplier { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("employee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Employee Employee { get; set; } + } - [Newtonsoft.Json.JsonProperty("project", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Project Project { get; set; } + } - [Newtonsoft.Json.JsonProperty("product", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Product Product { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class AssetGroup + { + [Newtonsoft.Json.JsonProperty("accountId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? AccountId { get; set; } - [Newtonsoft.Json.JsonProperty("department", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Department Department { get; set; } + [Newtonsoft.Json.JsonProperty("accountNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int AccountNumber { get; set; } - [Newtonsoft.Json.JsonProperty("vatType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public VatType VatType { get; set; } + [Newtonsoft.Json.JsonProperty("accountName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AccountName { get; set; } - [Newtonsoft.Json.JsonProperty("amount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Amount { get; set; } + [Newtonsoft.Json.JsonProperty("balanceGroupName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string BalanceGroupName { get; set; } - [Newtonsoft.Json.JsonProperty("amountCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountCurrency { get; set; } + [Newtonsoft.Json.JsonProperty("assetCount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? AssetCount { get; set; } - [Newtonsoft.Json.JsonProperty("amountGross", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountGross { get; set; } + [Newtonsoft.Json.JsonProperty("acquisitionCostSum", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AcquisitionCostSum { get; set; } - [Newtonsoft.Json.JsonProperty("amountGrossCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountGrossCurrency { get; set; } + [Newtonsoft.Json.JsonProperty("balanceInSum", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BalanceInSum { get; set; } - [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Currency Currency { get; set; } + [Newtonsoft.Json.JsonProperty("balanceOutSum", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BalanceOutSum { get; set; } - [Newtonsoft.Json.JsonProperty("closeGroup", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CloseGroup CloseGroup { get; set; } + [Newtonsoft.Json.JsonProperty("balanceChangeSum", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BalanceChangeSum { get; set; } - [Newtonsoft.Json.JsonProperty("invoiceNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string InvoiceNumber { get; set; } + [Newtonsoft.Json.JsonProperty("assetDetails", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List AssetDetails { get; set; } - [Newtonsoft.Json.JsonProperty("termOfPayment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TermOfPayment { get; set; } + public string ToJson() + { - [Newtonsoft.Json.JsonProperty("row", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Row { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("type", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public PostingType? Type { get; set; } + } + public static AssetGroup FromJson(string data) + { - /// - /// External reference for identifying payment basis of the posting, e.g., KID, customer identification or credit note number. - /// - [Newtonsoft.Json.JsonProperty("externalRef", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ExternalRef { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("systemGenerated", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? SystemGenerated { get; set; } + } - [Newtonsoft.Json.JsonProperty("taxTransactionType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TaxTransactionType { get; set; } + } - [Newtonsoft.Json.JsonProperty("taxTransactionTypeId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? TaxTransactionTypeId { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class AssetOverview + { + [Newtonsoft.Json.JsonProperty("assetGroups", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List AssetGroups { get; set; } - [Newtonsoft.Json.JsonProperty("matched", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Matched { get; set; } + [Newtonsoft.Json.JsonProperty("startDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string StartDate { get; set; } + + [Newtonsoft.Json.JsonProperty("endDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EndDate { get; set; } public string ToJson() { @@ -72456,23 +73261,20 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static Posting FromJson(string data) + public static AssetOverview FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class Prediction + public partial class ResponseWrapperAssetOverview { - [Newtonsoft.Json.JsonProperty("predictedValue", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PredictedValue { get; set; } - - [Newtonsoft.Json.JsonProperty("confidence", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Confidence { get; set; } + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public AssetOverview Value { get; set; } public string ToJson() { @@ -72480,169 +73282,86 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static Prediction FromJson(string data) + public static ResponseWrapperAssetOverview FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class Product + public partial class AssetDeleteInfo { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } - - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } - - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } - - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } + [Newtonsoft.Json.JsonProperty("assetCount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? AssetCount { get; set; } - [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } + [Newtonsoft.Json.JsonProperty("importDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ImportDate { get; set; } - [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Number { get; set; } + public string ToJson() + { - [Newtonsoft.Json.JsonProperty("displayNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DisplayNumber { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } + } + public static AssetDeleteInfo FromJson(string data) + { - [Newtonsoft.Json.JsonProperty("ean", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Ean { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("elNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ElNumber { get; set; } + } - [Newtonsoft.Json.JsonProperty("nrfNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string NrfNumber { get; set; } + } - /// - /// Price purchase (cost) excluding VAT in the product's currency - /// - [Newtonsoft.Json.JsonProperty("costExcludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? CostExcludingVatCurrency { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperAssetDeleteInfo + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public AssetDeleteInfo Value { get; set; } - [Newtonsoft.Json.JsonProperty("expenses", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Expenses { get; set; } + public string ToJson() + { - [Newtonsoft.Json.JsonProperty("expensesInPercent", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? ExpensesInPercent { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - /// - /// Cost price of purchase - /// - [Newtonsoft.Json.JsonProperty("costPrice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? CostPrice { get; set; } + } + public static ResponseWrapperAssetDeleteInfo FromJson(string data) + { - [Newtonsoft.Json.JsonProperty("profit", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Profit { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("profitInPercent", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? ProfitInPercent { get; set; } + } - /// - /// Price of purchase excluding VAT in the product's currency - /// - [Newtonsoft.Json.JsonProperty("priceExcludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? PriceExcludingVatCurrency { get; set; } + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class AssetAccountRow + { /// - /// Price of purchase including VAT in the product's currency + /// Account number /// - [Newtonsoft.Json.JsonProperty("priceIncludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? PriceIncludingVatCurrency { get; set; } - - [Newtonsoft.Json.JsonProperty("isInactive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsInactive { get; set; } - - [Newtonsoft.Json.JsonProperty("discountGroup", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public DiscountGroup DiscountGroup { get; set; } - - [Newtonsoft.Json.JsonProperty("productUnit", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ProductUnit ProductUnit { get; set; } - - [Newtonsoft.Json.JsonProperty("isStockItem", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsStockItem { get; set; } + [Newtonsoft.Json.JsonProperty("accountNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AccountNumber { get; set; } /// - /// From January 23rd 2023 this field will be available only on demand + /// Account name /// - [Newtonsoft.Json.JsonProperty("stockOfGoods", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? StockOfGoods { get; set; } - - [Newtonsoft.Json.JsonProperty("vatType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public VatType VatType { get; set; } - - [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Currency Currency { get; set; } - - [Newtonsoft.Json.JsonProperty("department", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Department Department { get; set; } - - [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Account Account { get; set; } - - [Newtonsoft.Json.JsonProperty("discountPrice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? DiscountPrice { get; set; } - - [Newtonsoft.Json.JsonProperty("supplier", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Supplier Supplier { get; set; } - - [Newtonsoft.Json.JsonProperty("resaleProduct", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Product ResaleProduct { get; set; } + [Newtonsoft.Json.JsonProperty("accountName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AccountName { get; set; } /// - /// For performance reasons, field is deprecated and it will always return false. + /// Assets /// - [Newtonsoft.Json.JsonProperty("isDeletable", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsDeletable { get; set; } - - [Newtonsoft.Json.JsonProperty("hasSupplierProductConnected", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? HasSupplierProductConnected { get; set; } - - [Newtonsoft.Json.JsonProperty("weight", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Weight { get; set; } - - [Newtonsoft.Json.JsonProperty("weightUnit", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ProductWeightUnit? WeightUnit { get; set; } - - [Newtonsoft.Json.JsonProperty("volume", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Volume { get; set; } - - [Newtonsoft.Json.JsonProperty("volumeUnit", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ProductVolumeUnit? VolumeUnit { get; set; } - - [Newtonsoft.Json.JsonProperty("hsnCode", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string HsnCode { get; set; } - - [Newtonsoft.Json.JsonProperty("image", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Document Image { get; set; } - - [Newtonsoft.Json.JsonProperty("markupListPercentage", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? MarkupListPercentage { get; set; } - - [Newtonsoft.Json.JsonProperty("markupNetPercentage", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? MarkupNetPercentage { get; set; } - - [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DisplayName { get; set; } + [Newtonsoft.Json.JsonProperty("assets", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Assets { get; set; } /// - /// This feature is available only in pilot + /// Balance difference. This is the sum amount on the account that is not connected to an asset after the import. /// - [Newtonsoft.Json.JsonProperty("mainSupplierProduct", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public SupplierProduct MainSupplierProduct { get; set; } + [Newtonsoft.Json.JsonProperty("balanceDifference", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BalanceDifference { get; set; } public string ToJson() { @@ -72650,53 +73369,47 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static Product FromJson(string data) + public static AssetAccountRow FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ProductUnit + public partial class AssetImport { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } - - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } - - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } - - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } - - [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DisplayName { get; set; } - - [Newtonsoft.Json.JsonProperty("displayNameShort", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DisplayNameShort { get; set; } - [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Name { get; set; } - [Newtonsoft.Json.JsonProperty("nameEN", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string NameEN { get; set; } + [Newtonsoft.Json.JsonProperty("lifetime", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int Lifetime { get; set; } - [Newtonsoft.Json.JsonProperty("nameShort", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string NameShort { get; set; } + [Newtonsoft.Json.JsonProperty("dateOfAcquisition", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DateOfAcquisition { get; set; } - [Newtonsoft.Json.JsonProperty("nameShortEN", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string NameShortEN { get; set; } + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } - [Newtonsoft.Json.JsonProperty("commonCode", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CommonCode { get; set; } + /// + /// Acquisition cost. + /// + [Newtonsoft.Json.JsonProperty("acquisitionCost", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AcquisitionCost { get; set; } - [Newtonsoft.Json.JsonProperty("isDeletable", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsDeletable { get; set; } + /// + /// Incoming balance for the asset. + /// + [Newtonsoft.Json.JsonProperty("incomingBalance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? IncomingBalance { get; set; } + + /// + /// Accumulated depreciation for the asset. + /// + [Newtonsoft.Json.JsonProperty("externalAccumulatedDepreciation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? ExternalAccumulatedDepreciation { get; set; } public string ToJson() { @@ -72704,272 +73417,200 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ProductUnit FromJson(string data) + public static AssetImport FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class Project + public partial class ListResponseAssetAccountRow { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } - - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } - - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } - - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } - - [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } + /// + /// Indicates whether there are more values available. Note: The value is not exact + /// + [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? FullResultSize { get; set; } - [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Number { get; set; } + [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? From { get; set; } - [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DisplayName { get; set; } + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } - [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } + /// + /// Used to know if the paginated list has changed. + /// + [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VersionDigest { get; set; } - [Newtonsoft.Json.JsonProperty("projectManager", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Employee ProjectManager { get; set; } = new Employee(); + [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Values { get; set; } - [Newtonsoft.Json.JsonProperty("department", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Department Department { get; set; } + public string ToJson() + { - [Newtonsoft.Json.JsonProperty("mainProject", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Project MainProject { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("startDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string StartDate { get; set; } + } + public static ListResponseAssetAccountRow FromJson(string data) + { - [Newtonsoft.Json.JsonProperty("endDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string EndDate { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - /// - /// The project's customer - /// - [Newtonsoft.Json.JsonProperty("customer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Customer Customer { get; set; } + } - [Newtonsoft.Json.JsonProperty("isClosed", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsClosed { get; set; } + } - [Newtonsoft.Json.JsonProperty("isReadyForInvoicing", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsReadyForInvoicing { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class AuthConfigDTO + { + [Newtonsoft.Json.JsonProperty("loginUrl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string LoginUrl { get; set; } - [Newtonsoft.Json.JsonProperty("isInternal", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool IsInternal { get; set; } + [Newtonsoft.Json.JsonProperty("logoutUrl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string LogoutUrl { get; set; } - [Newtonsoft.Json.JsonProperty("isOffer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsOffer { get; set; } + [Newtonsoft.Json.JsonProperty("refreshSessionIframeUrl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RefreshSessionIframeUrl { get; set; } - /// - /// Project is fixed price if set to true, hourly rate if set to false. - /// - [Newtonsoft.Json.JsonProperty("isFixedPrice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsFixedPrice { get; set; } + [Newtonsoft.Json.JsonProperty("checkSessionIframeUrl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CheckSessionIframeUrl { get; set; } - [Newtonsoft.Json.JsonProperty("projectCategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ProjectCategory ProjectCategory { get; set; } + public string ToJson() + { - [Newtonsoft.Json.JsonProperty("deliveryAddress", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public DeliveryAddress DeliveryAddress { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - /// - /// Defines project name presentation in overviews. - /// - [Newtonsoft.Json.JsonProperty("displayNameFormat", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ProjectDisplayNameFormat? DisplayNameFormat { get; set; } + } + public static AuthConfigDTO FromJson(string data) + { - [Newtonsoft.Json.JsonProperty("reference", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Reference { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("externalAccountsNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ExternalAccountsNumber { get; set; } + } - /// - /// Project discount percentage. - /// - [Newtonsoft.Json.JsonProperty("discountPercentage", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? DiscountPercentage { get; set; } + } - /// - /// The default vat type for this project. - /// - [Newtonsoft.Json.JsonProperty("vatType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public VatType VatType { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperAuthConfigDTO + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public AuthConfigDTO Value { get; set; } - /// - /// Fixed price amount, in the project's currency. - /// - [Newtonsoft.Json.JsonProperty("fixedprice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Fixedprice { get; set; } + public string ToJson() + { - [Newtonsoft.Json.JsonProperty("contributionMarginPercent", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? ContributionMarginPercent { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("numberOfSubProjects", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? NumberOfSubProjects { get; set; } + } + public static ResponseWrapperAuthConfigDTO FromJson(string data) + { - [Newtonsoft.Json.JsonProperty("numberOfProjectParticipants", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? NumberOfProjectParticipants { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - /// - /// Order lines tied to the order - /// - [Newtonsoft.Json.JsonProperty("orderLines", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List OrderLines { get; set; } + } - [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Currency Currency { get; set; } + } - /// - /// Set mark-up (%) for order lines. - /// - [Newtonsoft.Json.JsonProperty("markUpOrderLines", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? MarkUpOrderLines { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class BalanceSheetAccount + { + [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Account Account { get; set; } - /// - /// Set mark-up (%) for fees earned. - /// - [Newtonsoft.Json.JsonProperty("markUpFeesEarned", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? MarkUpFeesEarned { get; set; } + [Newtonsoft.Json.JsonProperty("balanceIn", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BalanceIn { get; set; } - /// - /// Set to true if an hourly rate project has a price ceiling. - /// - [Newtonsoft.Json.JsonProperty("isPriceCeiling", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsPriceCeiling { get; set; } + [Newtonsoft.Json.JsonProperty("balanceChange", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BalanceChange { get; set; } - /// - /// Price ceiling amount, in the project's currency. - /// - [Newtonsoft.Json.JsonProperty("priceCeilingAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? PriceCeilingAmount { get; set; } + [Newtonsoft.Json.JsonProperty("balanceOut", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BalanceOut { get; set; } /// - /// Project Rate Types tied to the project. + /// The start date for this period - inclusive. /// - [Newtonsoft.Json.JsonProperty("projectHourlyRates", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List ProjectHourlyRates { get; set; } + [Newtonsoft.Json.JsonProperty("startDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string StartDate { get; set; } /// - /// Set to true if only project participants can register information on the project + /// The end date for this period - exclusive. /// - [Newtonsoft.Json.JsonProperty("forParticipantsOnly", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ForParticipantsOnly { get; set; } + [Newtonsoft.Json.JsonProperty("endDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EndDate { get; set; } - /// - /// Link to individual project participants. - /// - [Newtonsoft.Json.JsonProperty("participants", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Participants { get; set; } + public string ToJson() + { - /// - /// Customer contact person. - /// - [Newtonsoft.Json.JsonProperty("contact", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Contact Contact { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - /// - /// Customer in attention of person - /// - [Newtonsoft.Json.JsonProperty("attention", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Contact Attention { get; set; } + } + public static BalanceSheetAccount FromJson(string data) + { - /// - /// Comment for project invoices - /// - [Newtonsoft.Json.JsonProperty("invoiceComment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string InvoiceComment { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - /// - /// Invoicing plans tied to the project - /// - [Newtonsoft.Json.JsonProperty("invoicingPlan", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List InvoicingPlan { get; set; } + } - [Newtonsoft.Json.JsonProperty("preliminaryInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Invoice PreliminaryInvoice { get; set; } + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ListResponseBalanceSheetAccount + { /// - /// Set to true if a general project activity must be linked to project to allow time tracking. + /// Indicates whether there are more values available. Note: The value is not exact /// - [Newtonsoft.Json.JsonProperty("generalProjectActivitiesPerProjectOnly", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? GeneralProjectActivitiesPerProjectOnly { get; set; } + [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? FullResultSize { get; set; } - /// - /// Project Activities - /// - [Newtonsoft.Json.JsonProperty("projectActivities", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List ProjectActivities { get; set; } + [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? From { get; set; } - [Newtonsoft.Json.JsonProperty("hierarchyNameAndNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string HierarchyNameAndNumber { get; set; } + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } /// - /// invoice due date + /// Used to know if the paginated list has changed. /// - [Newtonsoft.Json.JsonProperty("invoiceDueDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? InvoiceDueDate { get; set; } + [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VersionDigest { get; set; } - /// - /// Set the time unit of invoiceDueDate. The special case RECURRING_DAY_OF_MONTH enables the due date to be fixed to a specific day of the month, in this case the fixed due date will automatically be set as standard on all invoices created from this project. Note that when RECURRING_DAY_OF_MONTH is set, the due date will be set to the last day of month if "31" is set in invoicesDueIn. - /// - [Newtonsoft.Json.JsonProperty("invoiceDueDateType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ProjectInvoiceDueDateType? InvoiceDueDateType { get; set; } + [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Values { get; set; } - /// - /// receiver email - /// - [Newtonsoft.Json.JsonProperty("invoiceReceiverEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string InvoiceReceiverEmail { get; set; } + public string ToJson() + { - /// - /// READ/WRITE access on project - /// - [Newtonsoft.Json.JsonProperty("accessType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ProjectAccessType? AccessType { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("useProductNetPrice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? UseProductNetPrice { get; set; } + } + public static ListResponseBalanceSheetAccount FromJson(string data) + { - [Newtonsoft.Json.JsonProperty("ignoreCompanyProductDiscountAgreement", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IgnoreCompanyProductDiscountAgreement { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("customerName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CustomerName { get; set; } + } - [Newtonsoft.Json.JsonProperty("hierarchyLevel", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? HierarchyLevel { get; set; } + } - [Newtonsoft.Json.JsonProperty("projectManagerNameAndNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ProjectManagerNameAndNumber { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class BalanceSheet + { + [Newtonsoft.Json.JsonProperty("rows", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Rows { get; set; } - /// - /// Amount paid on account(a konto) - /// - [Newtonsoft.Json.JsonProperty("totalInvoicedOnAccountAmountAbsoluteCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? TotalInvoicedOnAccountAmountAbsoluteCurrency { get; set; } + [Newtonsoft.Json.JsonProperty("sumBalanceIn", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? SumBalanceIn { get; set; } - /// - /// The on account(a konto) amounts including VAT - /// - [Newtonsoft.Json.JsonProperty("invoiceOnAccountVatHigh", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? InvoiceOnAccountVatHigh { get; set; } + [Newtonsoft.Json.JsonProperty("sumBalanceChange", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? SumBalanceChange { get; set; } + + [Newtonsoft.Json.JsonProperty("sumBalanceOut", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? SumBalanceOut { get; set; } public string ToJson() { @@ -72977,65 +73618,59 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static Project FromJson(string data) + public static BalanceSheet FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ProjectActivity + public partial class BalanceSheetRow { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } + [Newtonsoft.Json.JsonProperty("accountId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? AccountId { get; set; } - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } + [Newtonsoft.Json.JsonProperty("accountNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? AccountNumber { get; set; } - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } + [Newtonsoft.Json.JsonProperty("accountName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AccountName { get; set; } - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } + [Newtonsoft.Json.JsonProperty("postingCount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? PostingCount { get; set; } - /// - /// Add existing project activity or create new project specific activity - /// - [Newtonsoft.Json.JsonProperty("activity", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Activity Activity { get; set; } + [Newtonsoft.Json.JsonProperty("balanceIn", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BalanceIn { get; set; } - [Newtonsoft.Json.JsonProperty("project", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Project Project { get; set; } + [Newtonsoft.Json.JsonProperty("balanceChange", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BalanceChange { get; set; } - [Newtonsoft.Json.JsonProperty("startDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string StartDate { get; set; } + [Newtonsoft.Json.JsonProperty("balanceOut", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BalanceOut { get; set; } - [Newtonsoft.Json.JsonProperty("endDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string EndDate { get; set; } + public string ToJson() + { - [Newtonsoft.Json.JsonProperty("isClosed", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsClosed { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - /// - /// Set budget hours - /// - [Newtonsoft.Json.JsonProperty("budgetHours", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? BudgetHours { get; set; } + } + public static BalanceSheetRow FromJson(string data) + { - /// - /// Set budget hourly rate - /// - [Newtonsoft.Json.JsonProperty("budgetHourlyRateCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? BudgetHourlyRateCurrency { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - /// - /// Set budget fee - /// - [Newtonsoft.Json.JsonProperty("budgetFeeCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? BudgetFeeCurrency { get; set; } + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperBalanceSheet + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public BalanceSheet Value { get; set; } public string ToJson() { @@ -73043,41 +73678,47 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ProjectActivity FromJson(string data) + public static ResponseWrapperBalanceSheet FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ProjectCategory + public partial class BalanceSheetSettingsDTO { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } + [Newtonsoft.Json.JsonProperty("showEmployeeModule", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ShowEmployeeModule { get; set; } - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } + [Newtonsoft.Json.JsonProperty("showDepartmentModule", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ShowDepartmentModule { get; set; } - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } + [Newtonsoft.Json.JsonProperty("showProductModule", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ShowProductModule { get; set; } - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } + public string ToJson() + { - [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Number { get; set; } + } + public static BalanceSheetSettingsDTO FromJson(string data) + { - [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DisplayName { get; set; } + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperBalanceSheetSettingsDTO + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public BalanceSheetSettingsDTO Value { get; set; } public string ToJson() { @@ -73085,60 +73726,38 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ProjectCategory FromJson(string data) + public static ResponseWrapperBalanceSheetSettingsDTO FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ProjectHourlyRate + public partial class AutoPaySupport { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } - - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } - - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } - - [Newtonsoft.Json.JsonProperty("project", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Project Project { get; set; } + [Newtonsoft.Json.JsonProperty("uploadNeeded", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? UploadNeeded { get; set; } - [Newtonsoft.Json.JsonProperty("startDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string StartDate { get; set; } + [Newtonsoft.Json.JsonProperty("isEikaType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsEikaType { get; set; } - /// - /// Show on contract confirmation/offers - /// - [Newtonsoft.Json.JsonProperty("showInProjectOrder", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ShowInProjectOrder { get; set; } + [Newtonsoft.Json.JsonProperty("hasOrgNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? HasOrgNumber { get; set; } - /// - /// Defines the model used for the hourly rate. - /// - [Newtonsoft.Json.JsonProperty("hourlyRateModel", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ProjectHourlyRateHourlyRateModel HourlyRateModel { get; set; } + [Newtonsoft.Json.JsonProperty("isPsd2Type", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsPsd2Type { get; set; } - /// - /// Project specific rates if hourlyRateModel is TYPE_PROJECT_SPECIFIC_HOURLY_RATES. - /// - [Newtonsoft.Json.JsonProperty("projectSpecificRates", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List ProjectSpecificRates { get; set; } + [Newtonsoft.Json.JsonProperty("hasApproveInOnlineBanking", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? HasApproveInOnlineBanking { get; set; } - /// - /// Fixed Hourly rates if hourlyRateModel is TYPE_FIXED_HOURLY_RATE. - /// - [Newtonsoft.Json.JsonProperty("fixedRate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? FixedRate { get; set; } + [Newtonsoft.Json.JsonProperty("requiredBankFieldIds", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List RequiredBankFieldIds { get; set; } public string ToJson() { @@ -73146,17 +73765,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ProjectHourlyRate FromJson(string data) + public static AutoPaySupport FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ProjectInvoiceDetails + public partial class Bank { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -73171,115 +73790,94 @@ public partial class ProjectInvoiceDetails public string Url { get; set; } /// - /// The Project related to the Invoice and ProjectInvoiceAdditionalInfo. + /// Bank name /// - [Newtonsoft.Json.JsonProperty("project", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Project Project { get; set; } + [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } /// - /// Fee amount of the project. For example: 100 NOK. + /// Bank statement file formats supported. /// - [Newtonsoft.Json.JsonProperty("feeAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? FeeAmount { get; set; } + [Newtonsoft.Json.JsonProperty("bankStatementFileFormatSupport", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.List BankStatementFileFormatSupport { get; set; } /// - /// Fee amount of the project in the invoice currency. + /// Register numbers belonging to bank. /// - [Newtonsoft.Json.JsonProperty("feeAmountCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? FeeAmountCurrency { get; set; } + [Newtonsoft.Json.JsonProperty("registerNumbers", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List RegisterNumbers { get; set; } /// - /// The percentage value of mark-up of amountFee. For example: 10%. + /// Bank name to comply with LoadableDropdown /// - [Newtonsoft.Json.JsonProperty("markupPercent", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? MarkupPercent { get; set; } + [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayName { get; set; } /// - /// The amount value of mark-up of amountFee on the project invoice. For example: 10 NOK. + /// The autoPay support for this bank /// - [Newtonsoft.Json.JsonProperty("markupAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? MarkupAmount { get; set; } + [Newtonsoft.Json.JsonProperty("autoPaySupport", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public AutoPaySupport AutoPaySupport { get; set; } - /// - /// The amount value of mark-up of amountFee on the project invoice, in the invoice currency. - /// - [Newtonsoft.Json.JsonProperty("markupAmountCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? MarkupAmountCurrency { get; set; } + public string ToJson() + { - /// - /// The amount of chargeable manual order lines and vendor invoices on the project invoice. - /// - [Newtonsoft.Json.JsonProperty("amountOrderLinesAndReinvoicing", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountOrderLinesAndReinvoicing { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - /// - /// The amount of chargeable manual order lines and vendor invoices on the project invoice, in the invoice currency. - /// - [Newtonsoft.Json.JsonProperty("amountOrderLinesAndReinvoicingCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountOrderLinesAndReinvoicingCurrency { get; set; } + } + public static Bank FromJson(string data) + { - /// - /// The amount of travel costs and expenses on the project invoice. - /// - [Newtonsoft.Json.JsonProperty("amountTravelReportsAndExpenses", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountTravelReportsAndExpenses { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - /// - /// The amount of travel costs and expenses on the project invoice, in the invoice currency. - /// - [Newtonsoft.Json.JsonProperty("amountTravelReportsAndExpensesCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountTravelReportsAndExpensesCurrency { get; set; } + } - /// - /// The fee comment on the project invoice. - /// - [Newtonsoft.Json.JsonProperty("feeInvoiceText", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string FeeInvoiceText { get; set; } + } - /// - /// The comment on the project invoice. - /// - [Newtonsoft.Json.JsonProperty("invoiceText", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string InvoiceText { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperBank + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Bank Value { get; set; } - /// - /// Determines if extra costs should be included on the project invoice. - /// - [Newtonsoft.Json.JsonProperty("includeOrderLinesAndReinvoicing", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IncludeOrderLinesAndReinvoicing { get; set; } + public string ToJson() + { - /// - /// Determines if hours should be included on the project invoice. - /// - [Newtonsoft.Json.JsonProperty("includeHours", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IncludeHours { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - /// - /// Determines if akonto should be included on the project invoice. - /// - [Newtonsoft.Json.JsonProperty("includeOnAccountBalance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IncludeOnAccountBalance { get; set; } + } + public static ResponseWrapperBank FromJson(string data) + { - /// - /// The akonto amount on the project invoice. - /// - [Newtonsoft.Json.JsonProperty("onAccountBalanceAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? OnAccountBalanceAmount { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ListResponseBank + { /// - /// The akonto amount on the project invoice in the invoice currency. + /// Indicates whether there are more values available. Note: The value is not exact /// - [Newtonsoft.Json.JsonProperty("onAccountBalanceAmountCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? OnAccountBalanceAmountCurrency { get; set; } + [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? FullResultSize { get; set; } + + [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? From { get; set; } + + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } /// - /// The VAT type of the project invoice. + /// Used to know if the paginated list has changed. /// - [Newtonsoft.Json.JsonProperty("vatType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public VatType VatType { get; set; } + [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VersionDigest { get; set; } - [Newtonsoft.Json.JsonProperty("invoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Invoice Invoice { get; set; } + [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Values { get; set; } public string ToJson() { @@ -73287,17 +73885,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ProjectInvoiceDetails FromJson(string data) + public static ListResponseBank FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ProjectOrderLine + public partial class BankDashboardAdvice { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -73311,83 +73909,36 @@ public partial class ProjectOrderLine [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("product", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Product Product { get; set; } - - [Newtonsoft.Json.JsonProperty("inventory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Inventory Inventory { get; set; } - - /// - /// Inventory location field -- beta program - /// - [Newtonsoft.Json.JsonProperty("inventoryLocation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public InventoryLocation InventoryLocation { get; set; } - - [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Count { get; set; } - - /// - /// Unit price purchase (cost) excluding VAT in the order's currency - /// - [Newtonsoft.Json.JsonProperty("unitCostCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? UnitCostCurrency { get; set; } - - /// - /// Unit price of purchase excluding VAT in the order's currency - /// - [Newtonsoft.Json.JsonProperty("unitPriceExcludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? UnitPriceExcludingVatCurrency { get; set; } - /// - /// The order line's currency. Determined by the order's currency. + /// The advice type. /// - [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Currency Currency { get; set; } + [Newtonsoft.Json.JsonProperty("adviceType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public BankDashboardAdviceAdviceType? AdviceType { get; set; } /// - /// Markup given as a percentage (%) + /// The advice is active. /// - [Newtonsoft.Json.JsonProperty("markup", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Markup { get; set; } + [Newtonsoft.Json.JsonProperty("isActive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsActive { get; set; } /// - /// Discount given as a percentage (%) + /// The date the advice was updated. /// - [Newtonsoft.Json.JsonProperty("discount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Discount { get; set; } - - [Newtonsoft.Json.JsonProperty("vatType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public VatType VatType { get; set; } + [Newtonsoft.Json.JsonProperty("dateUpdated", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DateUpdated { get; set; } /// - /// Total amount on order line excluding VAT in the order's currency + /// The advice has been cancelled. /// - [Newtonsoft.Json.JsonProperty("amountExcludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountExcludingVatCurrency { get; set; } + [Newtonsoft.Json.JsonProperty("isCancelled", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsCancelled { get; set; } /// - /// Total amount on order line including VAT in the order's currency + /// The date the advice has been cancelled by the user. /// - [Newtonsoft.Json.JsonProperty("amountIncludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? AmountIncludingVatCurrency { get; set; } - - [Newtonsoft.Json.JsonProperty("project", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Project Project { get; set; } = new Project(); - - [Newtonsoft.Json.JsonProperty("date", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Date { get; set; } - - [Newtonsoft.Json.JsonProperty("isChargeable", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsChargeable { get; set; } - - [Newtonsoft.Json.JsonProperty("isBudget", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsBudget { get; set; } - - [Newtonsoft.Json.JsonProperty("invoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Invoice Invoice { get; set; } + [Newtonsoft.Json.JsonProperty("dateCancelled", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DateCancelled { get; set; } public string ToJson() { @@ -73395,38 +73946,20 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ProjectOrderLine FromJson(string data) + public static BankDashboardAdvice FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ProjectParticipant + public partial class ResponseWrapperBankDashboardAdvice { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } - - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } - - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } - - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } - - [Newtonsoft.Json.JsonProperty("project", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Project Project { get; set; } - - [Newtonsoft.Json.JsonProperty("employee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Employee Employee { get; set; } - - [Newtonsoft.Json.JsonProperty("adminAccess", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? AdminAccess { get; set; } + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public BankDashboardAdvice Value { get; set; } public string ToJson() { @@ -73434,44 +73967,38 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ProjectParticipant FromJson(string data) + public static ResponseWrapperBankDashboardAdvice FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ProjectSpecificRate + public partial class ListResponseBankDashboardAdvice { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } - - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } - - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } - - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } - - [Newtonsoft.Json.JsonProperty("hourlyRate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal HourlyRate { get; set; } + /// + /// Indicates whether there are more values available. Note: The value is not exact + /// + [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? FullResultSize { get; set; } - [Newtonsoft.Json.JsonProperty("hourlyCostPercentage", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? HourlyCostPercentage { get; set; } + [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? From { get; set; } - [Newtonsoft.Json.JsonProperty("projectHourlyRate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ProjectHourlyRate ProjectHourlyRate { get; set; } = new ProjectHourlyRate(); + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } - [Newtonsoft.Json.JsonProperty("employee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Employee Employee { get; set; } + /// + /// Used to know if the paginated list has changed. + /// + [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VersionDigest { get; set; } - [Newtonsoft.Json.JsonProperty("activity", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Activity Activity { get; set; } + [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Values { get; set; } public string ToJson() { @@ -73479,17 +74006,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ProjectSpecificRate FromJson(string data) + public static ListResponseBankDashboardAdvice FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class Reminder + public partial class BankAgreementDTO { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -73504,89 +74031,58 @@ public partial class Reminder public string Url { get; set; } /// - /// Creation date of the invoice reminder. + /// The IBAN property. /// - [Newtonsoft.Json.JsonProperty("reminderDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ReminderDate { get; set; } + [Newtonsoft.Json.JsonProperty("iban", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Iban { get; set; } /// - /// The fee part of the reminder, in the company's currency. + /// The BBAN property. /// - [Newtonsoft.Json.JsonProperty("charge", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Charge { get; set; } + [Newtonsoft.Json.JsonProperty("bban", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Bban { get; set; } /// - /// The fee part of the reminder, in the invoice currency. + /// The description property. /// - [Newtonsoft.Json.JsonProperty("chargeCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? ChargeCurrency { get; set; } + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } /// - /// The total fee part of all reminders, in the company's currency. + /// display name needed for LoadableDropdown component /// - [Newtonsoft.Json.JsonProperty("totalCharge", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? TotalCharge { get; set; } + [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayName { get; set; } /// - /// The total fee part of all reminders, in the invoice currency. + /// The account for bank agreement. /// - [Newtonsoft.Json.JsonProperty("totalChargeCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? TotalChargeCurrency { get; set; } + [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Account Account { get; set; } - /// - /// The total amount to pay in reminder's currency. - /// - [Newtonsoft.Json.JsonProperty("totalAmountCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? TotalAmountCurrency { get; set; } + [Newtonsoft.Json.JsonProperty("uploaderEmployee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Employee UploaderEmployee { get; set; } - /// - /// The interests part of the reminder. - /// - [Newtonsoft.Json.JsonProperty("interests", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Interests { get; set; } + [Newtonsoft.Json.JsonProperty("dateCreated", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DateCreated { get; set; } - /// - /// The reminder interest rate. - /// - [Newtonsoft.Json.JsonProperty("interestRate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? InterestRate { get; set; } + [Newtonsoft.Json.JsonProperty("bank", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Bank Bank { get; set; } - /// - /// The reminder term of payment date. - /// - [Newtonsoft.Json.JsonProperty("termOfPayment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TermOfPayment { get; set; } + [Newtonsoft.Json.JsonProperty("country", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Country Country { get; set; } - /// - /// The reminder currency. - /// [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public Currency Currency { get; set; } - [Newtonsoft.Json.JsonProperty("type", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public ReminderType Type { get; set; } - - [Newtonsoft.Json.JsonProperty("comment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Comment { get; set; } - - /// - /// KID - Kundeidentifikasjonsnummer. - /// - [Newtonsoft.Json.JsonProperty("kid", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Kid { get; set; } - - [Newtonsoft.Json.JsonProperty("bankAccountNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string BankAccountNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("bankAccountIBAN", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string BankAccountIBAN { get; set; } + [Newtonsoft.Json.JsonProperty("isActive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsActive { get; set; } - [Newtonsoft.Json.JsonProperty("bankAccountSWIFT", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string BankAccountSWIFT { get; set; } + [Newtonsoft.Json.JsonProperty("balance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public BankStatementBalance Balance { get; set; } - [Newtonsoft.Json.JsonProperty("bank", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Bank { get; set; } + [Newtonsoft.Json.JsonProperty("active", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Active { get; set; } public string ToJson() { @@ -73594,20 +74090,35 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static Reminder FromJson(string data) + public static BankAgreementDTO FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperBankReconciliation + public partial class BankStatementBalance { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public BankReconciliation Value { get; set; } + /// + /// Booked balance on the given date. + /// + [Newtonsoft.Json.JsonProperty("bookedAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BookedAmount { get; set; } + + [Newtonsoft.Json.JsonProperty("bookedDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string BookedDate { get; set; } + + /// + /// Available balance. + /// + [Newtonsoft.Json.JsonProperty("availableAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AvailableAmount { get; set; } + + [Newtonsoft.Json.JsonProperty("availableDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AvailableDate { get; set; } public string ToJson() { @@ -73615,62 +74126,59 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ResponseWrapperBankReconciliation FromJson(string data) + public static BankStatementBalance FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class SalarySpecification + public partial class ResponseWrapperBankAgreementDTO { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } - - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } - - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } - - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public BankAgreementDTO Value { get; set; } - [Newtonsoft.Json.JsonProperty("rate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal Rate { get; set; } + public string ToJson() + { - [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal Count { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("project", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Project Project { get; set; } + } + public static ResponseWrapperBankAgreementDTO FromJson(string data) + { - [Newtonsoft.Json.JsonProperty("department", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Department Department { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("salaryType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public SalaryType SalaryType { get; set; } = new SalaryType(); + } - [Newtonsoft.Json.JsonProperty("payslip", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Payslip Payslip { get; set; } + } - [Newtonsoft.Json.JsonProperty("employee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Employee Employee { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ListResponseBankAgreementDTO + { + /// + /// Indicates whether there are more values available. Note: The value is not exact + /// + [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? FullResultSize { get; set; } - [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } + [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? From { get; set; } - [Newtonsoft.Json.JsonProperty("year", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Year { get; set; } + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } - [Newtonsoft.Json.JsonProperty("month", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Month { get; set; } + /// + /// Used to know if the paginated list has changed. + /// + [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VersionDigest { get; set; } - [Newtonsoft.Json.JsonProperty("amount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Amount { get; set; } + [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Values { get; set; } public string ToJson() { @@ -73678,17 +74186,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static SalarySpecification FromJson(string data) + public static ListResponseBankAgreementDTO FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class SalaryTransaction + public partial class AutopayBankAgreement { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -73703,34 +74211,76 @@ public partial class SalaryTransaction public string Url { get; set; } /// - /// Voucher date. + /// The IBAN property. /// - [Newtonsoft.Json.JsonProperty("date", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Date { get; set; } - - [Newtonsoft.Json.JsonProperty("year", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int Year { get; set; } + [Newtonsoft.Json.JsonProperty("iban", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Iban { get; set; } - [Newtonsoft.Json.JsonProperty("month", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int Month { get; set; } + /// + /// The BBAN property. + /// + [Newtonsoft.Json.JsonProperty("bban", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Bban { get; set; } /// - /// With historical wage vouchers you can update the wage system with information dated before the opening balance. + /// The description property. /// - [Newtonsoft.Json.JsonProperty("isHistorical", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsHistorical { get; set; } + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } /// - /// The date payslips are made available to the employee. Defaults to voucherDate. + /// display name needed for LoadableDropdown component /// - [Newtonsoft.Json.JsonProperty("paySlipsAvailableDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PaySlipsAvailableDate { get; set; } + [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayName { get; set; } /// - /// Link to individual payslip objects. + /// The account for bank agreement. /// - [Newtonsoft.Json.JsonProperty("payslips", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Payslips { get; set; } = new System.Collections.Generic.List(); + [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Account Account { get; set; } + + [Newtonsoft.Json.JsonProperty("uploaderEmployee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Employee UploaderEmployee { get; set; } + + [Newtonsoft.Json.JsonProperty("dateCreated", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DateCreated { get; set; } + + [Newtonsoft.Json.JsonProperty("bank", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Bank Bank { get; set; } + + [Newtonsoft.Json.JsonProperty("country", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Country Country { get; set; } + + [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Currency Currency { get; set; } + + [Newtonsoft.Json.JsonProperty("isActive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsActive { get; set; } + + [Newtonsoft.Json.JsonProperty("balance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public BankStatementBalance Balance { get; set; } + + [Newtonsoft.Json.JsonProperty("accountInBankId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AccountInBankId { get; set; } + + [Newtonsoft.Json.JsonProperty("division", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Division { get; set; } + + [Newtonsoft.Json.JsonProperty("ccmAgreementId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CcmAgreementId { get; set; } + + [Newtonsoft.Json.JsonProperty("organisationNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string OrganisationNumber { get; set; } + + [Newtonsoft.Json.JsonProperty("approveInOnlineBanking", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ApproveInOnlineBanking { get; set; } + + [Newtonsoft.Json.JsonProperty("isUsed", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsUsed { get; set; } + + [Newtonsoft.Json.JsonProperty("active", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Active { get; set; } public string ToJson() { @@ -73738,41 +74288,38 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static SalaryTransaction FromJson(string data) + public static AutopayBankAgreement FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class SalaryType + public partial class ListResponseAutopayBankAgreement { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } - - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } - - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } - - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } + /// + /// Indicates whether there are more values available. Note: The value is not exact + /// + [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? FullResultSize { get; set; } - [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Number { get; set; } + [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? From { get; set; } - [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } - [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } + /// + /// Used to know if the paginated list has changed. + /// + [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VersionDigest { get; set; } - [Newtonsoft.Json.JsonProperty("showInTimesheet", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ShowInTimesheet { get; set; } + [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Values { get; set; } public string ToJson() { @@ -73780,143 +74327,119 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static SalaryType FromJson(string data) + public static ListResponseAutopayBankAgreement FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class Supplier + public partial class BankAgreementCreationDTO { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } - - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } + /// + /// Bank ID + /// + [Newtonsoft.Json.JsonProperty("bankId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int BankId { get; set; } - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } + /// + /// Customer number in bank + /// + [Newtonsoft.Json.JsonProperty("accountInBankId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AccountInBankId { get; set; } - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } + /// + /// Customer Id from Bank + /// + [Newtonsoft.Json.JsonProperty("ccmAgreementId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CcmAgreementId { get; set; } - [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } + /// + /// Division (DNB only) + /// + [Newtonsoft.Json.JsonProperty("division", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Division { get; set; } + /// + /// Organization number + /// [Newtonsoft.Json.JsonProperty("organizationNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string OrganizationNumber { get; set; } - [Newtonsoft.Json.JsonProperty("supplierNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? SupplierNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("customerNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? CustomerNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("isSupplier", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsSupplier { get; set; } - /// - /// Determine if the supplier is also a customer + /// Electronic agreement creation initiated. /// - [Newtonsoft.Json.JsonProperty("isCustomer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsCustomer { get; set; } - - [Newtonsoft.Json.JsonProperty("isInactive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsInactive { get; set; } - - [Newtonsoft.Json.JsonProperty("email", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Email { get; set; } + [Newtonsoft.Json.JsonProperty("electronicCreation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ElectronicCreation { get; set; } /// - /// [DEPRECATED] List of the bank account numbers for this supplier. Norwegian bank account numbers only. + /// Accounting approve payments /// - [Newtonsoft.Json.JsonProperty("bankAccounts", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List BankAccounts { get; set; } - - [Newtonsoft.Json.JsonProperty("invoiceEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string InvoiceEmail { get; set; } + [Newtonsoft.Json.JsonProperty("approveInOnlineBanking", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ApproveInOnlineBanking { get; set; } /// - /// The email address of the customer where the noticing emails are sent in case of an overdue + /// JSON representing a list of new objects to be created. Should not have ID and version set. /// - [Newtonsoft.Json.JsonProperty("overdueNoticeEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string OverdueNoticeEmail { get; set; } - - [Newtonsoft.Json.JsonProperty("phoneNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PhoneNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("phoneNumberMobile", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PhoneNumberMobile { get; set; } - - [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } + [Newtonsoft.Json.JsonProperty("bankAccounts", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List BankAccounts { get; set; } = new System.Collections.Generic.List(); - [Newtonsoft.Json.JsonProperty("isPrivateIndividual", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsPrivateIndividual { get; set; } + public string ToJson() + { - [Newtonsoft.Json.JsonProperty("showProducts", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ShowProducts { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("accountManager", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Employee AccountManager { get; set; } + } + public static BankAgreementCreationDTO FromJson(string data) + { - [Newtonsoft.Json.JsonProperty("postalAddress", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Address PostalAddress { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("physicalAddress", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Address PhysicalAddress { get; set; } + } - [Newtonsoft.Json.JsonProperty("deliveryAddress", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public DeliveryAddress DeliveryAddress { get; set; } + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class BankAgreementUpdateDTO + { /// - /// Category 1 of this supplier + /// Id of agreement to update. /// - [Newtonsoft.Json.JsonProperty("category1", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CustomerCategory Category1 { get; set; } + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int Id { get; set; } /// - /// Category 2 of this supplier + /// The description property. /// - [Newtonsoft.Json.JsonProperty("category2", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CustomerCategory Category2 { get; set; } + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } /// - /// Category 3 of this supplier + /// The account for bank agreement. Only id is populated /// - [Newtonsoft.Json.JsonProperty("category3", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public CustomerCategory Category3 { get; set; } + [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Account Account { get; set; } /// - /// List of bankAccount for this supplier + /// Customer number in bank /// - [Newtonsoft.Json.JsonProperty("bankAccountPresentation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List BankAccountPresentation { get; set; } + [Newtonsoft.Json.JsonProperty("accountInBankId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AccountInBankId { get; set; } /// - /// The preferred currency for this supplier + /// Organization number /// - [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Currency Currency { get; set; } + [Newtonsoft.Json.JsonProperty("organisationNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string OrganisationNumber { get; set; } /// - /// Can be used to specify the ledger account of the supplier if it's different from the default 2400 account + /// Accounting approve payments /// - [Newtonsoft.Json.JsonProperty("ledgerAccount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Account LedgerAccount { get; set; } - - [Newtonsoft.Json.JsonProperty("isWholesaler", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsWholesaler { get; set; } - - [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DisplayName { get; set; } - - [Newtonsoft.Json.JsonProperty("locale", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Locale { get; set; } + [Newtonsoft.Json.JsonProperty("approveInOnlineBanking", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ApproveInOnlineBanking { get; set; } public string ToJson() { @@ -73924,113 +74447,84 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static Supplier FromJson(string data) + public static BankAgreementUpdateDTO FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class SupplierProduct + public partial class ResponseWrapperListInteger { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } - - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } - - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Value { get; set; } - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } + public string ToJson() + { - [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DisplayName { get; set; } + } + public static ResponseWrapperListInteger FromJson(string data) + { - [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Number { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } + } - [Newtonsoft.Json.JsonProperty("ean", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Ean { get; set; } + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ElectronicSupportDTO + { /// - /// Price purchase (cost) excluding VAT in the product's currency + /// Bank ID /// - [Newtonsoft.Json.JsonProperty("costExcludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? CostExcludingVatCurrency { get; set; } + [Newtonsoft.Json.JsonProperty("bankId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? BankId { get; set; } /// - /// Price purchase (cost) in the company's currency + /// Name of the bank /// - [Newtonsoft.Json.JsonProperty("cost", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Cost { get; set; } + [Newtonsoft.Json.JsonProperty("bankName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string BankName { get; set; } /// - /// Price of purchase excluding VAT in the product's currency + /// Type of electronic agreement creation is supported by this bank.COMPLETE: Supports creating the agreement towards AutoPay and Tripletex though the bank.PARTIAL: Supports creating the agreement towards AutoPay only. /// - [Newtonsoft.Json.JsonProperty("priceExcludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? PriceExcludingVatCurrency { get; set; } + [Newtonsoft.Json.JsonProperty("type", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ElectronicSupportDTOType? Type { get; set; } /// - /// Price of purchase including VAT in the product's currency + /// Bank url for ordering electronic agreements for ElectronicSupportDTO of type PARTIAL. /// - [Newtonsoft.Json.JsonProperty("priceIncludingVatCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? PriceIncludingVatCurrency { get; set; } - - [Newtonsoft.Json.JsonProperty("isInactive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsInactive { get; set; } - - [Newtonsoft.Json.JsonProperty("productUnit", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ProductUnit ProductUnit { get; set; } - - [Newtonsoft.Json.JsonProperty("isStockItem", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsStockItem { get; set; } - - [Newtonsoft.Json.JsonProperty("stockOfGoods", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? StockOfGoods { get; set; } - - [Newtonsoft.Json.JsonProperty("vatType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public VatType VatType { get; set; } - - [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Currency Currency { get; set; } - - [Newtonsoft.Json.JsonProperty("discountPrice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? DiscountPrice { get; set; } + [Newtonsoft.Json.JsonProperty("bankUrl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string BankUrl { get; set; } - [Newtonsoft.Json.JsonProperty("supplier", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Supplier Supplier { get; set; } = new Supplier(); + public string ToJson() + { - [Newtonsoft.Json.JsonProperty("resaleProduct", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Product ResaleProduct { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("isDeletable", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsDeletable { get; set; } + } + public static ElectronicSupportDTO FromJson(string data) + { - [Newtonsoft.Json.JsonProperty("vendorName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string VendorName { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("isEfoNelfoProduct", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsEfoNelfoProduct { get; set; } + } - [Newtonsoft.Json.JsonProperty("wholesalerId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? WholesalerId { get; set; } + } - /// - /// This feature is available only in pilot - /// - [Newtonsoft.Json.JsonProperty("isMainSupplierProduct", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsMainSupplierProduct { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperListElectronicSupportDTO + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Value { get; set; } public string ToJson() { @@ -74038,53 +74532,42 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static SupplierProduct FromJson(string data) + public static ResponseWrapperListElectronicSupportDTO FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class TravelCostCategory + public partial class ResponseWrapperAutoPayStatus { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } - - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } - - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } - - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } - - [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ResponseWrapperAutoPayStatusValue? Value { get; set; } - [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Account Account { get; set; } + public string ToJson() + { - [Newtonsoft.Json.JsonProperty("vatType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public VatType VatType { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("isVatLocked", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsVatLocked { get; set; } + } + public static ResponseWrapperAutoPayStatus FromJson(string data) + { - [Newtonsoft.Json.JsonProperty("showOnTravelExpenses", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ShowOnTravelExpenses { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("showOnEmployeeExpenses", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ShowOnEmployeeExpenses { get; set; } + } - [Newtonsoft.Json.JsonProperty("isInactive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsInactive { get; set; } + } - [Newtonsoft.Json.JsonProperty("sequence", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Sequence { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperElectronicSupportDTO + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ElectronicSupportDTO Value { get; set; } public string ToJson() { @@ -74092,50 +74575,35 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static TravelCostCategory FromJson(string data) + public static ResponseWrapperElectronicSupportDTO FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class TravelDetails + public partial class BankOnboardingDTO { - [Newtonsoft.Json.JsonProperty("isForeignTravel", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsForeignTravel { get; set; } - - [Newtonsoft.Json.JsonProperty("isDayTrip", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsDayTrip { get; set; } - - [Newtonsoft.Json.JsonProperty("isCompensationFromRates", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsCompensationFromRates { get; set; } - - [Newtonsoft.Json.JsonProperty("departureDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DepartureDate { get; set; } - - [Newtonsoft.Json.JsonProperty("returnDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ReturnDate { get; set; } - - [Newtonsoft.Json.JsonProperty("detailedJourneyDescription", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DetailedJourneyDescription { get; set; } + [Newtonsoft.Json.JsonProperty("steps", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Steps { get; set; } - [Newtonsoft.Json.JsonProperty("departureFrom", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DepartureFrom { get; set; } + [Newtonsoft.Json.JsonProperty("hasFullAccess", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? HasFullAccess { get; set; } - [Newtonsoft.Json.JsonProperty("destination", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Destination { get; set; } + [Newtonsoft.Json.JsonProperty("companyOrgnr", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CompanyOrgnr { get; set; } - [Newtonsoft.Json.JsonProperty("departureTime", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DepartureTime { get; set; } + [Newtonsoft.Json.JsonProperty("autoPayTwoFAEnabled", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? AutoPayTwoFAEnabled { get; set; } - [Newtonsoft.Json.JsonProperty("returnTime", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ReturnTime { get; set; } + [Newtonsoft.Json.JsonProperty("lockedCurrenciesMap", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.Dictionary LockedCurrenciesMap { get; set; } - [Newtonsoft.Json.JsonProperty("purpose", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Purpose { get; set; } + [Newtonsoft.Json.JsonProperty("userIsAutoPayProvisioned", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? UserIsAutoPayProvisioned { get; set; } public string ToJson() { @@ -74143,174 +74611,117 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static TravelDetails FromJson(string data) + public static BankOnboardingDTO FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class TravelExpense + public partial class BankOnboardingStepDTO { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } - - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } - - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } - - [Newtonsoft.Json.JsonProperty("project", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Project Project { get; set; } - - [Newtonsoft.Json.JsonProperty("employee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Employee Employee { get; set; } = new Employee(); - - [Newtonsoft.Json.JsonProperty("approvedBy", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Employee ApprovedBy { get; set; } - - [Newtonsoft.Json.JsonProperty("completedBy", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Employee CompletedBy { get; set; } - - [Newtonsoft.Json.JsonProperty("rejectedBy", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Employee RejectedBy { get; set; } - - [Newtonsoft.Json.JsonProperty("department", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Department Department { get; set; } - - [Newtonsoft.Json.JsonProperty("payslip", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Payslip Payslip { get; set; } - - [Newtonsoft.Json.JsonProperty("vatType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public VatType VatType { get; set; } - - [Newtonsoft.Json.JsonProperty("paymentCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Currency PaymentCurrency { get; set; } - - [Newtonsoft.Json.JsonProperty("travelDetails", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TravelDetails TravelDetails { get; set; } - - [Newtonsoft.Json.JsonProperty("voucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Voucher Voucher { get; set; } - - [Newtonsoft.Json.JsonProperty("attachment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Document Attachment { get; set; } - - [Newtonsoft.Json.JsonProperty("isCompleted", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsCompleted { get; set; } - - [Newtonsoft.Json.JsonProperty("isApproved", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsApproved { get; set; } - - [Newtonsoft.Json.JsonProperty("rejectedComment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string RejectedComment { get; set; } - - [Newtonsoft.Json.JsonProperty("isChargeable", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsChargeable { get; set; } + [Newtonsoft.Json.JsonProperty("state", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public BankOnboardingStepDTOState? State { get; set; } - [Newtonsoft.Json.JsonProperty("isFixedInvoicedAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsFixedInvoicedAmount { get; set; } + [Newtonsoft.Json.JsonProperty("accessible", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Accessible { get; set; } - [Newtonsoft.Json.JsonProperty("isIncludeAttachedReceiptsWhenReinvoicing", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsIncludeAttachedReceiptsWhenReinvoicing { get; set; } + public string ToJson() + { - [Newtonsoft.Json.JsonProperty("completedDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CompletedDate { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("approvedDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ApprovedDate { get; set; } + } + public static BankOnboardingStepDTO FromJson(string data) + { - [Newtonsoft.Json.JsonProperty("date", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Date { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("travelAdvance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? TravelAdvance { get; set; } + } - [Newtonsoft.Json.JsonProperty("fixedInvoicedAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? FixedInvoicedAmount { get; set; } + } - [Newtonsoft.Json.JsonProperty("amount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Amount { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperBankOnboardingDTO + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public BankOnboardingDTO Value { get; set; } - [Newtonsoft.Json.JsonProperty("paymentAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? PaymentAmount { get; set; } + public string ToJson() + { - [Newtonsoft.Json.JsonProperty("chargeableAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? ChargeableAmount { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("lowRateVAT", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? LowRateVAT { get; set; } + } + public static ResponseWrapperBankOnboardingDTO FromJson(string data) + { - [Newtonsoft.Json.JsonProperty("mediumRateVAT", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? MediumRateVAT { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("highRateVAT", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? HighRateVAT { get; set; } + } - [Newtonsoft.Json.JsonProperty("paymentAmountCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? PaymentAmountCurrency { get; set; } + } - [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Number { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ListResponseEmployee + { + /// + /// Indicates whether there are more values available. Note: The value is not exact + /// + [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? FullResultSize { get; set; } - [Newtonsoft.Json.JsonProperty("invoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Invoice Invoice { get; set; } + [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? From { get; set; } - [Newtonsoft.Json.JsonProperty("title", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Title { get; set; } + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } /// - /// Link to individual per diem compensations. + /// Used to know if the paginated list has changed. /// - [Newtonsoft.Json.JsonProperty("perDiemCompensations", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List PerDiemCompensations { get; set; } + [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VersionDigest { get; set; } - /// - /// Link to individual mileage allowances. - /// - [Newtonsoft.Json.JsonProperty("mileageAllowances", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List MileageAllowances { get; set; } + [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Values { get; set; } - /// - /// Link to individual accommodation allowances. - /// - [Newtonsoft.Json.JsonProperty("accommodationAllowances", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List AccommodationAllowances { get; set; } + public string ToJson() + { - /// - /// Link to individual costs. - /// - [Newtonsoft.Json.JsonProperty("costs", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Costs { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("attachmentCount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? AttachmentCount { get; set; } + } + public static ListResponseEmployee FromJson(string data) + { - [Newtonsoft.Json.JsonProperty("state", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public TravelExpenseState? State { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("actions", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Actions { get; set; } + } - [Newtonsoft.Json.JsonProperty("isSalaryAdmin", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsSalaryAdmin { get; set; } + } - [Newtonsoft.Json.JsonProperty("showPayslip", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ShowPayslip { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class BankOnboardingAccessRequestDTO + { + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } - [Newtonsoft.Json.JsonProperty("accountingPeriodClosed", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? AccountingPeriodClosed { get; set; } + [Newtonsoft.Json.JsonProperty("requesteeEmployeeId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? RequesteeEmployeeId { get; set; } - [Newtonsoft.Json.JsonProperty("accountingPeriodVATClosed", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? AccountingPeriodVATClosed { get; set; } + [Newtonsoft.Json.JsonProperty("requesteeName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RequesteeName { get; set; } + + [Newtonsoft.Json.JsonProperty("roleId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? RoleId { get; set; } public string ToJson() { @@ -74318,17 +74729,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static TravelExpense FromJson(string data) + public static BankOnboardingAccessRequestDTO FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class TravelExpenseParticipant + public partial class AccountingPeriod { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -74342,17 +74753,20 @@ public partial class TravelExpenseParticipant [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DisplayName { get; set; } + [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } - /// - /// Optional employee id in case the participant is an employee - /// - [Newtonsoft.Json.JsonProperty("employeeId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? EmployeeId { get; set; } + [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Number { get; set; } - [Newtonsoft.Json.JsonProperty("cost", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Cost Cost { get; set; } = new Cost(); + [Newtonsoft.Json.JsonProperty("start", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Start { get; set; } + + [Newtonsoft.Json.JsonProperty("end", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string End { get; set; } + + [Newtonsoft.Json.JsonProperty("isClosed", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsClosed { get; set; } public string ToJson() { @@ -74360,17 +74774,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static TravelExpenseParticipant FromJson(string data) + public static AccountingPeriod FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class TravelExpenseRate + public partial class BankReconciliation { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -74384,23 +74798,48 @@ public partial class TravelExpenseRate [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("rateCategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TravelExpenseRateCategory RateCategory { get; set; } = new TravelExpenseRateCategory(); + [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Account Account { get; set; } = new Account(); - [Newtonsoft.Json.JsonProperty("zone", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Zone { get; set; } + [Newtonsoft.Json.JsonProperty("accountingPeriod", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public AccountingPeriod AccountingPeriod { get; set; } = new AccountingPeriod(); - [Newtonsoft.Json.JsonProperty("rate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Rate { get; set; } + [Newtonsoft.Json.JsonProperty("voucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Voucher Voucher { get; set; } - [Newtonsoft.Json.JsonProperty("breakfastDeductionRate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? BreakfastDeductionRate { get; set; } + /// + /// Bank transactions tied to the bank reconciliation + /// + [Newtonsoft.Json.JsonProperty("transactions", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Transactions { get; set; } - [Newtonsoft.Json.JsonProperty("lunchDeductionRate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? LunchDeductionRate { get; set; } + [Newtonsoft.Json.JsonProperty("isClosed", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsClosed { get; set; } - [Newtonsoft.Json.JsonProperty("dinnerDeductionRate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? DinnerDeductionRate { get; set; } + /// + /// Type of Bank Reconciliation. + /// + [Newtonsoft.Json.JsonProperty("type", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public BankReconciliationType Type { get; set; } + + [Newtonsoft.Json.JsonProperty("bankAccountClosingBalanceCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BankAccountClosingBalanceCurrency { get; set; } + + [Newtonsoft.Json.JsonProperty("closedDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ClosedDate { get; set; } + + [Newtonsoft.Json.JsonProperty("closedByContact", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Contact ClosedByContact { get; set; } + + [Newtonsoft.Json.JsonProperty("closedByEmployee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Employee ClosedByEmployee { get; set; } + + [Newtonsoft.Json.JsonProperty("approvable", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Approvable { get; set; } + + [Newtonsoft.Json.JsonProperty("autoPayReconciliation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? AutoPayReconciliation { get; set; } public string ToJson() { @@ -74408,17 +74847,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static TravelExpenseRate FromJson(string data) + public static BankReconciliation FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class TravelExpenseRateCategory + public partial class BankStatement { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -74432,32 +74871,29 @@ public partial class TravelExpenseRateCategory [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } - - [Newtonsoft.Json.JsonProperty("ameldingWageCode", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? AmeldingWageCode { get; set; } - - [Newtonsoft.Json.JsonProperty("wageCodeNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string WageCodeNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("isValidDayTrip", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsValidDayTrip { get; set; } - - [Newtonsoft.Json.JsonProperty("isValidAccommodation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsValidAccommodation { get; set; } - - [Newtonsoft.Json.JsonProperty("isValidDomestic", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsValidDomestic { get; set; } + /// + /// Opening balance on the account. + /// + [Newtonsoft.Json.JsonProperty("openingBalanceCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? OpeningBalanceCurrency { get; set; } - [Newtonsoft.Json.JsonProperty("isValidForeignTravel", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsValidForeignTravel { get; set; } + /// + /// Closing balance on the account. + /// + [Newtonsoft.Json.JsonProperty("closingBalanceCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? ClosingBalanceCurrency { get; set; } - [Newtonsoft.Json.JsonProperty("isRequiresZone", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsRequiresZone { get; set; } + /// + /// Bank statement file name. + /// + [Newtonsoft.Json.JsonProperty("fileName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FileName { get; set; } - [Newtonsoft.Json.JsonProperty("isRequiresOvernightAccommodation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsRequiresOvernightAccommodation { get; set; } + /// + /// Bank + /// + [Newtonsoft.Json.JsonProperty("bank", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Bank Bank { get; set; } [Newtonsoft.Json.JsonProperty("fromDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string FromDate { get; set; } @@ -74465,9 +74901,11 @@ public partial class TravelExpenseRateCategory [Newtonsoft.Json.JsonProperty("toDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ToDate { get; set; } - [Newtonsoft.Json.JsonProperty("type", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public TravelExpenseRateCategoryType? Type { get; set; } + /// + /// Bank transactions tied to the bank statement + /// + [Newtonsoft.Json.JsonProperty("transactions", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Transactions { get; set; } public string ToJson() { @@ -74475,17 +74913,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static TravelExpenseRateCategory FromJson(string data) + public static BankStatement FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class TravelPaymentType + public partial class BankTransaction { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } @@ -74499,20 +74937,36 @@ public partial class TravelPaymentType [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } + [Newtonsoft.Json.JsonProperty("postedDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PostedDate { get; set; } + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Description { get; set; } + [Newtonsoft.Json.JsonProperty("amountCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountCurrency { get; set; } + + [Newtonsoft.Json.JsonProperty("bankStatement", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public BankStatement BankStatement { get; set; } + [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public Account Account { get; set; } - [Newtonsoft.Json.JsonProperty("showOnTravelExpenses", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ShowOnTravelExpenses { get; set; } + [Newtonsoft.Json.JsonProperty("groupedPostings", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List GroupedPostings { get; set; } - [Newtonsoft.Json.JsonProperty("showOnEmployeeExpenses", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ShowOnEmployeeExpenses { get; set; } + [Newtonsoft.Json.JsonProperty("matchType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public BankTransactionMatchType? MatchType { get; set; } - [Newtonsoft.Json.JsonProperty("isInactive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsInactive { get; set; } + [Newtonsoft.Json.JsonProperty("companyId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? CompanyId { get; set; } + + [Newtonsoft.Json.JsonProperty("matched", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Matched { get; set; } + + [Newtonsoft.Json.JsonProperty("bankReconciliationMatchSum", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TlxNumber BankReconciliationMatchSum { get; set; } public string ToJson() { @@ -74520,96 +74974,51 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static TravelPaymentType FromJson(string data) + public static BankTransaction FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class Voucher + public partial class BankTransactionPosting { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } - - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } - - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } - - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } + [Newtonsoft.Json.JsonProperty("voucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Voucher Voucher { get; set; } [Newtonsoft.Json.JsonProperty("date", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Date { get; set; } - /// - /// System generated number that cannot be changed. - /// - [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Number { get; set; } - - /// - /// Temporary voucher number. - /// - [Newtonsoft.Json.JsonProperty("tempNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? TempNumber { get; set; } - - /// - /// System generated number that cannot be changed. - /// - [Newtonsoft.Json.JsonProperty("year", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Year { get; set; } - [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Description { get; set; } - /// - /// Voucher type. Must not be of type 'Utgående faktura' ('Outgoing Invoice') on new vouchers, instead use voucherType=null or use the Invoice endpoint. - /// - [Newtonsoft.Json.JsonProperty("voucherType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public VoucherType VoucherType { get; set; } + [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Account Account { get; set; } - [Newtonsoft.Json.JsonProperty("reverseVoucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Voucher ReverseVoucher { get; set; } + [Newtonsoft.Json.JsonProperty("customer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Customer Customer { get; set; } - [Newtonsoft.Json.JsonProperty("postings", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Postings { get; set; } = new System.Collections.Generic.List(); + [Newtonsoft.Json.JsonProperty("supplier", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Supplier Supplier { get; set; } - /// - /// If the documentation for the voucher has been generated by the system (e.g. an invoice) then this is a reference to the generated document. This document is always a PDF. Note that a voucher may have both a document, an attachment and an ediDocument. - /// - [Newtonsoft.Json.JsonProperty("document", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Document Document { get; set; } + [Newtonsoft.Json.JsonProperty("amount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Amount { get; set; } - /// - /// If the documentation for the voucher has been provided from an external source (e.g. another system via API or a user upload) then this is a reference to the document. This is always a PDF. Note that a voucher may have both a document, an attachment and an ediDocument. - /// - [Newtonsoft.Json.JsonProperty("attachment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Document Attachment { get; set; } + [Newtonsoft.Json.JsonProperty("amountCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountCurrency { get; set; } - /// - /// External voucher number. - /// - [Newtonsoft.Json.JsonProperty("externalVoucherNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ExternalVoucherNumber { get; set; } + [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Currency Currency { get; set; } - /// - /// If the voucher is created based on a machine readable document (such as EHF or EFO/NELFO) then this is a reference to that document. Note that a voucher may have both a document, an attachment and an ediDocument. - /// - [Newtonsoft.Json.JsonProperty("ediDocument", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Document EdiDocument { get; set; } + [Newtonsoft.Json.JsonProperty("invoiceNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string InvoiceNumber { get; set; } - /// - /// Supplier voucher type - simple and detailed. - /// - [Newtonsoft.Json.JsonProperty("supplierVoucherType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonProperty("postingMatchType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public VoucherSupplierVoucherType? SupplierVoucherType { get; set; } + public BankTransactionPostingPostingMatchType? PostingMatchType { get; set; } public string ToJson() { @@ -74617,32 +75026,20 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static Voucher FromJson(string data) + public static BankTransactionPosting FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class VoucherType + public partial class ResponseWrapperBankReconciliation { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } - - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } - - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } - - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } - - [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public BankReconciliation Value { get; set; } public string ToJson() { @@ -74650,10 +75047,10 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static VoucherType FromJson(string data) + public static ResponseWrapperBankReconciliation FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } @@ -74894,6 +75291,27 @@ public static ListResponseBankReconciliationAdjustment FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperDate + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.DateTimeOffset? Value { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ResponseWrapperDate FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class FileIdForIncomingPaymentsDTO { @@ -75951,12 +76369,12 @@ public static ResponseWrapperBringCredentials FromJson(string data) [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class Checkout { - [Newtonsoft.Json.JsonProperty("payingCustomer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? PayingCustomer { get; set; } - [Newtonsoft.Json.JsonProperty("proxyOrClient", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? ProxyOrClient { get; set; } + [Newtonsoft.Json.JsonProperty("payingCustomer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? PayingCustomer { get; set; } + /// /// Information about the company. /// @@ -76094,6 +76512,153 @@ public static ResponseWrapperCheckout FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class EmployeeRoleModelDTO + { + [Newtonsoft.Json.JsonProperty("companyId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? CompanyId { get; set; } + + [Newtonsoft.Json.JsonProperty("customerId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? CustomerId { get; set; } + + [Newtonsoft.Json.JsonProperty("employeeId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? EmployeeId { get; set; } + + [Newtonsoft.Json.JsonProperty("hasAccess", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? HasAccess { get; set; } + + [Newtonsoft.Json.JsonProperty("role", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public EmployeeRoleModelDTORole? Role { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static EmployeeRoleModelDTO FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class Category + { + [Newtonsoft.Json.JsonProperty("category", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Category1? Category1 { get; set; } + + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static Category FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperListRoleCategoryContainerDTO + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Value { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ResponseWrapperListRoleCategoryContainerDTO FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class RoleCategoryContainerDTO + { + [Newtonsoft.Json.JsonProperty("category", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Category Category { get; set; } + + [Newtonsoft.Json.JsonProperty("roleContainers", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List RoleContainers { get; set; } + + [Newtonsoft.Json.JsonProperty("hidden", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Hidden { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static RoleCategoryContainerDTO FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class RoleContainerDTO + { + [Newtonsoft.Json.JsonProperty("container", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public RoleContainerDTOContainer? Container { get; set; } + + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + [Newtonsoft.Json.JsonProperty("category", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Category Category { get; set; } + + [Newtonsoft.Json.JsonProperty("clientHasRequirements", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ClientHasRequirements { get; set; } + + [Newtonsoft.Json.JsonProperty("dependencies", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.List Dependencies { get; set; } + + [Newtonsoft.Json.JsonProperty("reversedDependencies", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.List ReversedDependencies { get; set; } + + [Newtonsoft.Json.JsonProperty("hidden", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Hidden { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static RoleContainerDTO FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class AuthorizationManager { @@ -76350,7 +76915,10 @@ public partial class AccountantClientAccessRole public bool? HasAccess { get; set; } [Newtonsoft.Json.JsonProperty("dependencies", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.List Dependencies { get; set; } + public System.Collections.Generic.List Dependencies { get; set; } + + [Newtonsoft.Json.JsonProperty("reversedDependencies", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.List ReversedDependencies { get; set; } public string ToJson() { @@ -76388,153 +76956,6 @@ public static ResponseWrapperListAccountantClientAccessModel FromJson(string dat } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class EmployeeRoleModelDTO - { - [Newtonsoft.Json.JsonProperty("companyId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? CompanyId { get; set; } - - [Newtonsoft.Json.JsonProperty("customerId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? CustomerId { get; set; } - - [Newtonsoft.Json.JsonProperty("employeeId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? EmployeeId { get; set; } - - [Newtonsoft.Json.JsonProperty("hasAccess", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? HasAccess { get; set; } - - [Newtonsoft.Json.JsonProperty("role", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public EmployeeRoleModelDTORole? Role { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static EmployeeRoleModelDTO FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class Category - { - [Newtonsoft.Json.JsonProperty("category", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public Category1? Category1 { get; set; } - - [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static Category FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperListRoleCategoryContainerDTO - { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Value { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static ResponseWrapperListRoleCategoryContainerDTO FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class RoleCategoryContainerDTO - { - [Newtonsoft.Json.JsonProperty("category", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Category Category { get; set; } - - [Newtonsoft.Json.JsonProperty("roleContainers", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List RoleContainers { get; set; } - - [Newtonsoft.Json.JsonProperty("hidden", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Hidden { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static RoleCategoryContainerDTO FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class RoleContainerDTO - { - [Newtonsoft.Json.JsonProperty("container", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public RoleContainerDTOContainer? Container { get; set; } - - [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } - - [Newtonsoft.Json.JsonProperty("category", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Category Category { get; set; } - - [Newtonsoft.Json.JsonProperty("clientHasRequirements", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ClientHasRequirements { get; set; } - - [Newtonsoft.Json.JsonProperty("dependencies", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.List Dependencies { get; set; } - - [Newtonsoft.Json.JsonProperty("reversedDependencies", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.List ReversedDependencies { get; set; } - - [Newtonsoft.Json.JsonProperty("hidden", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Hidden { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static RoleContainerDTO FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class AccountantCustomer { @@ -76895,6 +77316,63 @@ public static ResponseWrapperListClientForRemit FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ClientForTravelsAndExpenses + { + [Newtonsoft.Json.JsonProperty("clientId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? ClientId { get; set; } + + [Newtonsoft.Json.JsonProperty("clientName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ClientName { get; set; } + + [Newtonsoft.Json.JsonProperty("customerId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? CustomerId { get; set; } + + [Newtonsoft.Json.JsonProperty("authorized", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Authorized { get; set; } + + [Newtonsoft.Json.JsonProperty("forTravelsAndExpensesCount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? ForTravelsAndExpensesCount { get; set; } + + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ClientForTravelsAndExpenses FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperListClientForTravelsAndExpenses + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Value { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ResponseWrapperListClientForTravelsAndExpenses FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class AccountantClient { @@ -76967,6 +77445,45 @@ public static ListResponseAccountantClient FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ListResponseCompany + { + /// + /// Indicates whether there are more values available. Note: The value is not exact + /// + [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? FullResultSize { get; set; } + + [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? From { get; set; } + + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + /// + /// Used to know if the paginated list has changed. + /// + [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VersionDigest { get; set; } + + [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Values { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ListResponseCompany FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ResponseWrapperListTodoListHarmonization { @@ -77625,45 +78142,6 @@ public static TodoListSingleChanges FromJson(string data) } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ListResponseCompany - { - /// - /// Indicates whether there are more values available. Note: The value is not exact - /// - [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? FullResultSize { get; set; } - - [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? From { get; set; } - - [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - /// - /// Used to know if the paginated list has changed. - /// - [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string VersionDigest { get; set; } - - [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Values { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static ListResponseCompany FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ListResponseTodoListComment { @@ -79021,6 +79499,18 @@ public partial class Modules [Newtonsoft.Json.JsonProperty("moduleProductAccounting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? ModuleProductAccounting { get; set; } + /// + /// read only + /// + [Newtonsoft.Json.JsonProperty("moduleVacationBalance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleVacationBalance { get; set; } + + /// + /// read only + /// + [Newtonsoft.Json.JsonProperty("moduleHolydayPlan", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleHolydayPlan { get; set; } + public string ToJson() { @@ -79183,6 +79673,12 @@ public partial class CompanyRepresentative [Newtonsoft.Json.JsonProperty("email", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Email { get; set; } + [Newtonsoft.Json.JsonProperty("employeeId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? EmployeeId { get; set; } + + [Newtonsoft.Json.JsonProperty("canReceiveReminder", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? CanReceiveReminder { get; set; } + public string ToJson() { @@ -80142,6 +80638,108 @@ public static EmployeeEmail FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ListResponseMobileEmployee + { + /// + /// Indicates whether there are more values available. Note: The value is not exact + /// + [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? FullResultSize { get; set; } + + [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? From { get; set; } + + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + /// + /// Used to know if the paginated list has changed. + /// + [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VersionDigest { get; set; } + + [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Values { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ListResponseMobileEmployee FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class MobileEmployee + { + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } + + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } + + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } + + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } + + [Newtonsoft.Json.JsonProperty("firstName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FirstName { get; set; } + + [Newtonsoft.Json.JsonProperty("lastName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string LastName { get; set; } + + [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayName { get; set; } + + [Newtonsoft.Json.JsonProperty("employeeNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EmployeeNumber { get; set; } + + [Newtonsoft.Json.JsonProperty("department", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Department Department { get; set; } + + [Newtonsoft.Json.JsonProperty("dateOfBirth", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DateOfBirth { get; set; } + + [Newtonsoft.Json.JsonProperty("email", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Email { get; set; } + + /// + /// Determines if salary information can be registered on the user including hours, travel expenses and employee expenses. The user may also be selected as a project member on projects. + /// + [Newtonsoft.Json.JsonProperty("allowInformationRegistration", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? AllowInformationRegistration { get; set; } + + [Newtonsoft.Json.JsonProperty("isContact", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsContact { get; set; } + + [Newtonsoft.Json.JsonProperty("pictureId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? PictureId { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static MobileEmployee FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ResponseWrapperEmployeeCategory { @@ -82021,9 +82619,6 @@ public static ResponseWrapperSpacesuitNotificationMeta FromJson(string data) [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class SpacesuitNotificationMeta { - [Newtonsoft.Json.JsonProperty("stompUrl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string StompUrl { get; set; } - [Newtonsoft.Json.JsonProperty("sseUrl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string SseUrl { get; set; } @@ -82295,179 +82890,6 @@ public static UserFeedback FromJson(string data) } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class FundingPartnerApplication - { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } - - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } - - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } - - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } - - /// - /// The firstname property - /// - [Newtonsoft.Json.JsonProperty("firstName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string FirstName { get; set; } - - /// - /// The lastName property - /// - [Newtonsoft.Json.JsonProperty("lastName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string LastName { get; set; } - - /// - /// The email property - /// - [Newtonsoft.Json.JsonProperty("email", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Email { get; set; } - - /// - /// The phoneNumber property - /// - [Newtonsoft.Json.JsonProperty("phoneNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PhoneNumber { get; set; } - - /// - /// The comment property - /// - [Newtonsoft.Json.JsonProperty("comments", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Comments { get; set; } - - /// - /// The loanType property - /// - [Newtonsoft.Json.JsonProperty("loanType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public FundingPartnerApplicationLoanType LoanType { get; set; } - - /// - /// The amount property - /// - [Newtonsoft.Json.JsonProperty("amount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int Amount { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static FundingPartnerApplication FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperFundingPartnerApplication - { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public FundingPartnerApplication Value { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static ResponseWrapperFundingPartnerApplication FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class FundingPartnerQualify - { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } - - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } - - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } - - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } - - /// - /// Which loan type to check - /// - [Newtonsoft.Json.JsonProperty("loanType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public FundingPartnerQualifyLoanType? LoanType { get; set; } - - /// - /// Overall if the company qualifies the automatic check - /// - [Newtonsoft.Json.JsonProperty("qualify", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Qualify { get; set; } - - [Newtonsoft.Json.JsonProperty("employee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Employee Employee { get; set; } - - [Newtonsoft.Json.JsonProperty("realEstateBalance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? RealEstateBalance { get; set; } - - [Newtonsoft.Json.JsonProperty("otherRevenue", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? OtherRevenue { get; set; } - - [Newtonsoft.Json.JsonProperty("otherPositiveResult", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? OtherPositiveResult { get; set; } - - [Newtonsoft.Json.JsonProperty("otherResultBelowLimit", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? OtherResultBelowLimit { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static FundingPartnerQualify FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperFundingPartnerQualify - { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public FundingPartnerQualify Value { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static ResponseWrapperFundingPartnerQualify FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class IdPortenLogin { @@ -82615,6 +83037,14 @@ public static AutoPayMessageDTO FromJson(string data) [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class AutoPayTransaction : PaymentDTO { + [Newtonsoft.Json.JsonProperty("sendToBank", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? SendToBank { get; set; } + + [Newtonsoft.Json.JsonProperty("smsApproval", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? SmsApproval { get; set; } + + [Newtonsoft.Json.JsonProperty("rejectionMessage", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RejectionMessage { get; set; } public string ToJson() { @@ -82633,7 +83063,6 @@ public static AutoPayTransaction FromJson(string data) [Newtonsoft.Json.JsonConverter(typeof(JsonInheritanceConverter), "paymentSource")] [JsonInheritanceAttribute("AutoPayTransaction", typeof(AutoPayTransaction))] - [JsonInheritanceAttribute("ZtlTransaction", typeof(ZtlTransaction))] [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class PaymentDTO { @@ -82781,6 +83210,55 @@ public partial class PaymentDTO [Newtonsoft.Json.JsonProperty("displayStatus", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string DisplayStatus { get; set; } + /// + /// Can this payment be approved. + /// + [Newtonsoft.Json.JsonProperty("isApproveDisabled", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsApproveDisabled { get; set; } + + /// + /// Can this payment be deleted + /// + [Newtonsoft.Json.JsonProperty("isDeleteDisabled", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsDeleteDisabled { get; set; } + + /// + /// Can this payment be cancelled. + /// + [Newtonsoft.Json.JsonProperty("isCancelDisabled", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsCancelDisabled { get; set; } + + /// + /// The type of the source voucher connected to this payment. + /// + [Newtonsoft.Json.JsonProperty("sourceVoucherType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public PaymentDTOSourceVoucherType? SourceVoucherType { get; set; } + + /// + /// The id of the connected invoice/wage period transaction/vat returns/wage transaction. + /// + [Newtonsoft.Json.JsonProperty("idForVoucherUrl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? IdForVoucherUrl { get; set; } + + /// + /// Is the due date invalid, if this is a salary payment. + /// + [Newtonsoft.Json.JsonProperty("isSalaryDateInvalid", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsSalaryDateInvalid { get; set; } + + /// + /// Is this transaction expired. + /// + [Newtonsoft.Json.JsonProperty("expired", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Expired { get; set; } + + /// + /// The payment receiver link or name + /// + [Newtonsoft.Json.JsonProperty("receiverLink", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ReceiverLink { get; set; } + public string ToJson() { @@ -82818,8 +83296,213 @@ public static ResponseWrapperPaymentDTO FromJson(string data) } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ZtlTransaction : PaymentDTO + public partial class ZtlTransaction { + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } + + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } + + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } + + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } + + [Newtonsoft.Json.JsonProperty("paymentSource", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ZtlTransactionPaymentSource? PaymentSource { get; set; } + + [Newtonsoft.Json.JsonProperty("paymentDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PaymentDate { get; set; } + + [Newtonsoft.Json.JsonProperty("bookingDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string BookingDate { get; set; } + + [Newtonsoft.Json.JsonProperty("valueDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ValueDate { get; set; } + + /// + /// In the specified currency. + /// + [Newtonsoft.Json.JsonProperty("amountCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountCurrency { get; set; } + + [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Currency Currency { get; set; } + + [Newtonsoft.Json.JsonProperty("creditorName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CreditorName { get; set; } + + [Newtonsoft.Json.JsonProperty("creditorBban", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CreditorBban { get; set; } + + [Newtonsoft.Json.JsonProperty("creditorBankName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CreditorBankName { get; set; } + + [Newtonsoft.Json.JsonProperty("creditorBankAddress", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CreditorBankAddress { get; set; } + + [Newtonsoft.Json.JsonProperty("creditorBankPostalCode", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CreditorBankPostalCode { get; set; } + + [Newtonsoft.Json.JsonProperty("creditorBankPostalCity", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CreditorBankPostalCity { get; set; } + + /// + /// The payment status.NOT_APPROVED: Payment not approved yet.<br>APPROVED: Payment approved, but not yet sent to bank.<br>SENT_TO_AUTOPAY: Payment sent to bank.<br>RECEIVED_BY_BANK: Payment received by the bank.<br>ACCEPTED_BY_BANK: Payment that was accepted by the bank.<br>FAILED: Payment that failed.<br>CANCELLED: Cancelled payment.<br>SUCCESS: Payment that ended successfully.<br> + /// + [Newtonsoft.Json.JsonProperty("status", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ZtlTransactionStatus? Status { get; set; } + + /// + /// The payment status Id. Usually all the payments in one batch have the same status ID, at least to the point of being received by bank.NEW: Payment is new.<br>PENDING_SIGNING: Payment is sent to AutoPay but not signed yet, requires re-approving.<br>CANCELLED: Payment was cancelled by ERP.<br>ERROR: Payment that failed.<br>RECEIVED_BY_BANK: Payment was received by the bank.<br>ACCEPTED_BY_BANK: Payment was accepted by bank.<br>CANCELLED_IN_BANK: Payment was cancelled in bank.<br>REJECTED_BY_BANK: Payment was rejected by bank.<br>PAID: Payment is paid.<br>OTHER: In case status in unknown. Will never be a final status.<br> + /// + [Newtonsoft.Json.JsonProperty("statusId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ZtlTransactionStatusId? StatusId { get; set; } + + [Newtonsoft.Json.JsonProperty("isFinalStatus", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsFinalStatus { get; set; } + + [Newtonsoft.Json.JsonProperty("isForeignPayment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsForeignPayment { get; set; } + + [Newtonsoft.Json.JsonProperty("isSalary", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsSalary { get; set; } + + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + /// + /// KID - Kundeidentifikasjonsnummer. + /// + [Newtonsoft.Json.JsonProperty("kid", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Kid { get; set; } + + [Newtonsoft.Json.JsonProperty("receiverReference", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ReceiverReference { get; set; } + + /// + /// Voucher that was paid. + /// + [Newtonsoft.Json.JsonProperty("sourceVoucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Voucher SourceVoucher { get; set; } + + /// + /// The payment posting. + /// + [Newtonsoft.Json.JsonProperty("postings", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Posting Postings { get; set; } + + /// + /// The payment account. + /// + [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Account Account { get; set; } + + /// + /// Amount specified in the currency of the bank agreements account. + /// + [Newtonsoft.Json.JsonProperty("amountInAccountCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? AmountInAccountCurrency { get; set; } + + /// + /// Can this payment date be changed. + /// + [Newtonsoft.Json.JsonProperty("isDisabledForUpdate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsDisabledForUpdate { get; set; } + + /// + /// Can this payment amount be changed. + /// + [Newtonsoft.Json.JsonProperty("isDisabledForAmountChange", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsDisabledForAmountChange { get; set; } + + /// + /// Is this payment selectable. + /// + [Newtonsoft.Json.JsonProperty("isSelectable", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsSelectable { get; set; } + + /// + /// Who approved this payment. + /// + [Newtonsoft.Json.JsonProperty("acceptors", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Acceptors { get; set; } + + /// + /// The payment category. + /// + [Newtonsoft.Json.JsonProperty("paymentCategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ZtlTransactionPaymentCategory? PaymentCategory { get; set; } + + /// + /// The payment filter status. + /// + [Newtonsoft.Json.JsonProperty("displayStatus", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayStatus { get; set; } + + /// + /// Can this payment be approved. + /// + [Newtonsoft.Json.JsonProperty("isApproveDisabled", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsApproveDisabled { get; set; } + + /// + /// Can this payment be deleted + /// + [Newtonsoft.Json.JsonProperty("isDeleteDisabled", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsDeleteDisabled { get; set; } + + /// + /// Can this payment be cancelled. + /// + [Newtonsoft.Json.JsonProperty("isCancelDisabled", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsCancelDisabled { get; set; } + + /// + /// The type of the source voucher connected to this payment. + /// + [Newtonsoft.Json.JsonProperty("sourceVoucherType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ZtlTransactionSourceVoucherType? SourceVoucherType { get; set; } + + /// + /// The id of the connected invoice/wage period transaction/vat returns/wage transaction. + /// + [Newtonsoft.Json.JsonProperty("idForVoucherUrl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? IdForVoucherUrl { get; set; } + + /// + /// Is the due date invalid, if this is a salary payment. + /// + [Newtonsoft.Json.JsonProperty("isSalaryDateInvalid", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsSalaryDateInvalid { get; set; } + + /// + /// Is this transaction expired. + /// + [Newtonsoft.Json.JsonProperty("expired", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Expired { get; set; } + + /// + /// The payment receiver link or name + /// + [Newtonsoft.Json.JsonProperty("receiverLink", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ReceiverLink { get; set; } + + [Newtonsoft.Json.JsonProperty("statusReason", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string StatusReason { get; set; } + + [Newtonsoft.Json.JsonProperty("paymentId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PaymentId { get; set; } + + [Newtonsoft.Json.JsonProperty("endToEndId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EndToEndId { get; set; } public string ToJson() { @@ -82875,6 +83558,63 @@ public static ListResponsePaymentDTO FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ApproveResponseDTO + { + /// + /// The redirect URL to AutoPay 2FA or ZTL SCA after payments are sent to be approved + /// + [Newtonsoft.Json.JsonProperty("redirectUrl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RedirectUrl { get; set; } + + /// + /// List of payments that will be sent to AutoPay approval/ZTL + /// + [Newtonsoft.Json.JsonProperty("toBeApproved", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List ToBeApproved { get; set; } + + /// + /// List of payments that won't be sent to AutoPay approval/ZTL + /// + [Newtonsoft.Json.JsonProperty("notApproved", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List NotApproved { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ApproveResponseDTO FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperApproveResponseDTO + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ApproveResponseDTO Value { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ResponseWrapperApproveResponseDTO FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ListResponseAutoPayTransaction { @@ -82915,25 +83655,76 @@ public static ListResponseAutoPayTransaction FromJson(string data) } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ApproveResponseDTO + public partial class CurrencyPaymentsSumDTO { /// - /// The redirect URL to AutoPay 2FA or ZTL SCA after payments are sent to be approved + /// Currency of the sum + /// + [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Currency Currency { get; set; } + + /// + /// Sum of the payments + /// + [Newtonsoft.Json.JsonProperty("sum", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TlxNumber Sum { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static CurrencyPaymentsSumDTO FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperListCurrencyPaymentsSumDTO + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Value { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ResponseWrapperListCurrencyPaymentsSumDTO FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class CancelResponseDTO + { + /// + /// The redirect URL to ZTL SCA for cancelling the payment /// [Newtonsoft.Json.JsonProperty("redirectUrl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string RedirectUrl { get; set; } /// - /// List of payments that will be sent to AutoPay approval/ZTL + /// Was the cancellation successful? /// - [Newtonsoft.Json.JsonProperty("toBeApproved", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List ToBeApproved { get; set; } + [Newtonsoft.Json.JsonProperty("cancellationSuccessful", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? CancellationSuccessful { get; set; } /// - /// List of payments that won't be sent to AutoPay approval/ZTL + /// Payment to be cancelled /// - [Newtonsoft.Json.JsonProperty("notApproved", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List NotApproved { get; set; } + [Newtonsoft.Json.JsonProperty("paymentToBeCancelled", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public PaymentDTO PaymentToBeCancelled { get; set; } public string ToJson() { @@ -82941,20 +83732,20 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ApproveResponseDTO FromJson(string data) + public static CancelResponseDTO FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperApproveResponseDTO + public partial class ResponseWrapperCancelResponseDTO { [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ApproveResponseDTO Value { get; set; } + public CancelResponseDTO Value { get; set; } public string ToJson() { @@ -82962,20 +83753,20 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ResponseWrapperApproveResponseDTO FromJson(string data) + public static ResponseWrapperCancelResponseDTO FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperMapIntegerTlxNumber + public partial class ResponseWrapperListString { [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.Dictionary Value { get; set; } + public System.Collections.Generic.List Value { get; set; } public string ToJson() { @@ -82983,10 +83774,10 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ResponseWrapperMapIntegerTlxNumber FromJson(string data) + public static ResponseWrapperListString FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } @@ -83022,12 +83813,12 @@ public static LinkMobilityReportDTO FromJson(string data) [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class PGCallbackDTO { - [Newtonsoft.Json.JsonProperty("odpcompanyID", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? OdpcompanyID { get; set; } - [Newtonsoft.Json.JsonProperty("odpcustomerID", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? OdpcustomerID { get; set; } + [Newtonsoft.Json.JsonProperty("odpcompanyID", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? OdpcompanyID { get; set; } + [Newtonsoft.Json.JsonProperty("pgRequestId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string PgRequestId { get; set; } @@ -83068,6 +83859,45 @@ public static PGCallbackDTO FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ListResponseZtlTransaction + { + /// + /// Indicates whether there are more values available. Note: The value is not exact + /// + [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? FullResultSize { get; set; } + + [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? From { get; set; } + + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + /// + /// Used to know if the paginated list has changed. + /// + [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VersionDigest { get; set; } + + [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Values { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ListResponseZtlTransaction FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ResponseWrapperInventory { @@ -83735,6 +84565,9 @@ public partial class PaymentType [Newtonsoft.Json.JsonProperty("supplier", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public Supplier Supplier { get; set; } + [Newtonsoft.Json.JsonProperty("currencyId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? CurrencyId { get; set; } + public string ToJson() { @@ -83995,6 +84828,13 @@ public partial class InvoiceSettings [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] public InvoiceSettingsDefaultSendTypeB2C? DefaultSendTypeB2C { get; set; } + [Newtonsoft.Json.JsonProperty("newOrderOfferOurContactDefaultValue", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public InvoiceSettingsNewOrderOfferOurContactDefaultValue? NewOrderOfferOurContactDefaultValue { get; set; } + + [Newtonsoft.Json.JsonProperty("defaultOrderInvoiceComment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DefaultOrderInvoiceComment { get; set; } + [Newtonsoft.Json.JsonProperty("showBackorder", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? ShowBackorder { get; set; } @@ -84046,6 +84886,12 @@ public partial class InvoiceSettings [Newtonsoft.Json.JsonProperty("externalInvoiceNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? ExternalInvoiceNumber { get; set; } + /// + /// Has company sent first invoice + /// + [Newtonsoft.Json.JsonProperty("hasSentFirstInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? HasSentFirstInvoice { get; set; } + public string ToJson() { @@ -84707,6 +85553,9 @@ public partial class InvoiceSummaryDTO [Newtonsoft.Json.JsonProperty("outstandingOrdersSum", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public TlxNumber OutstandingOrdersSum { get; set; } + [Newtonsoft.Json.JsonProperty("showInvoiceAction", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ShowInvoiceAction { get; set; } + public string ToJson() { @@ -84767,6 +85616,12 @@ public partial class InvoiceOverviewMetaDTO [Newtonsoft.Json.JsonProperty("hasModuleProjectEconomy", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? HasModuleProjectEconomy { get; set; } + [Newtonsoft.Json.JsonProperty("hasModuleDepartment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? HasModuleDepartment { get; set; } + + [Newtonsoft.Json.JsonProperty("hasModuleDepartmentAccounting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? HasModuleDepartmentAccounting { get; set; } + [Newtonsoft.Json.JsonProperty("isVatOn", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? IsVatOn { get; set; } @@ -84779,6 +85634,9 @@ public partial class InvoiceOverviewMetaDTO [Newtonsoft.Json.JsonProperty("isCreditActionAllowed", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? IsCreditActionAllowed { get; set; } + [Newtonsoft.Json.JsonProperty("companyCurrencyId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? CompanyCurrencyId { get; set; } + public string ToJson() { @@ -84836,6 +85694,108 @@ public static ResponseWrapperMapFeatureBoolean FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class LastPosted + { + [Newtonsoft.Json.JsonProperty("voucherId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? VoucherId { get; set; } + + [Newtonsoft.Json.JsonProperty("voucherNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? VoucherNumber { get; set; } + + [Newtonsoft.Json.JsonProperty("voucherDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VoucherDate { get; set; } + + [Newtonsoft.Json.JsonProperty("timestamp", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Timestamp { get; set; } + + [Newtonsoft.Json.JsonProperty("supplier", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Supplier { get; set; } + + [Newtonsoft.Json.JsonProperty("amount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TlxNumber Amount { get; set; } + + [Newtonsoft.Json.JsonProperty("attestationStatus", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AttestationStatus { get; set; } + + [Newtonsoft.Json.JsonProperty("paymentStatus", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PaymentStatus { get; set; } + + [Newtonsoft.Json.JsonProperty("postedByEmployee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PostedByEmployee { get; set; } + + [Newtonsoft.Json.JsonProperty("actualEmployeeId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? ActualEmployeeId { get; set; } + + [Newtonsoft.Json.JsonProperty("automaticallyPosted", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? AutomaticallyPosted { get; set; } + + [Newtonsoft.Json.JsonProperty("commentCount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? CommentCount { get; set; } + + [Newtonsoft.Json.JsonProperty("lastComment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string LastComment { get; set; } + + [Newtonsoft.Json.JsonProperty("companyId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? CompanyId { get; set; } + + [Newtonsoft.Json.JsonProperty("hasAttachment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? HasAttachment { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static LastPosted FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ListResponseLastPosted + { + /// + /// Indicates whether there are more values available. Note: The value is not exact + /// + [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? FullResultSize { get; set; } + + [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? From { get; set; } + + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + /// + /// Used to know if the paginated list has changed. + /// + [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VersionDigest { get; set; } + + [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Values { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ListResponseLastPosted FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class LedgerAccount { @@ -84863,6 +85823,9 @@ public partial class LedgerAccount [Newtonsoft.Json.JsonProperty("closingBalanceCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public decimal? ClosingBalanceCurrency { get; set; } + [Newtonsoft.Json.JsonProperty("balanceOutInAccountCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BalanceOutInAccountCurrency { get; set; } + /// /// Link to postings on this account. /// @@ -85691,27 +86654,6 @@ public static ListResponseVatType FromJson(string data) } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperVoucher - { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Voucher Value { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static ResponseWrapperVoucher FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class OpeningBalance { @@ -85883,45 +86825,6 @@ public static OpeningBalanceSupplierPosting FromJson(string data) } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ListResponseVoucher - { - /// - /// Indicates whether there are more values available. Note: The value is not exact - /// - [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? FullResultSize { get; set; } - - [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? From { get; set; } - - [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - /// - /// Used to know if the paginated list has changed. - /// - [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string VersionDigest { get; set; } - - [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Values { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static ListResponseVoucher FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class VoucherSearchResponse { @@ -86274,6 +87177,12 @@ public partial class VoucherInternal [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] public VoucherInternalSupplierVoucherType? SupplierVoucherType { get; set; } + /// + /// Voucher was auto matched + /// + [Newtonsoft.Json.JsonProperty("wasAutoMatched", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? WasAutoMatched { get; set; } + [Newtonsoft.Json.JsonProperty("urlDetails", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string UrlDetails { get; set; } @@ -86553,6 +87462,120 @@ public static SearchCompletionDTO FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ListResponsePersonAutoCompleteDTO + { + /// + /// Indicates whether there are more values available. Note: The value is not exact + /// + [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? FullResultSize { get; set; } + + [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? From { get; set; } + + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + /// + /// Used to know if the paginated list has changed. + /// + [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VersionDigest { get; set; } + + [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Values { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ListResponsePersonAutoCompleteDTO FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class PersonAutoCompleteDTO + { + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Id { get; set; } + + [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } + + [Newtonsoft.Json.JsonProperty("alternateName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AlternateName { get; set; } + + [Newtonsoft.Json.JsonProperty("address", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Address { get; set; } + + [Newtonsoft.Json.JsonProperty("postalCode", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PostalCode { get; set; } + + [Newtonsoft.Json.JsonProperty("postalArea", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PostalArea { get; set; } + + [Newtonsoft.Json.JsonProperty("latitude", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Latitude { get; set; } + + [Newtonsoft.Json.JsonProperty("longitude", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Longitude { get; set; } + + [Newtonsoft.Json.JsonProperty("category", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Category { get; set; } + + [Newtonsoft.Json.JsonProperty("score", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Score { get; set; } + + [Newtonsoft.Json.JsonProperty("sources", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.List Sources { get; set; } + + [Newtonsoft.Json.JsonProperty("firstname", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Firstname { get; set; } + + [Newtonsoft.Json.JsonProperty("lastname", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Lastname { get; set; } + + [Newtonsoft.Json.JsonProperty("phoneNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PhoneNumber { get; set; } + + [Newtonsoft.Json.JsonProperty("phoneNumberMobile", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PhoneNumberMobile { get; set; } + + [Newtonsoft.Json.JsonProperty("email", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Email { get; set; } + + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } + + [Newtonsoft.Json.JsonProperty("countryId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? CountryId { get; set; } + + [Newtonsoft.Json.JsonProperty("reserved", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Reserved { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static PersonAutoCompleteDTO FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class Coordinate { @@ -86829,120 +87852,6 @@ public static TripSearchDTO FromJson(string data) } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ListResponsePersonAutoCompleteDTO - { - /// - /// Indicates whether there are more values available. Note: The value is not exact - /// - [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? FullResultSize { get; set; } - - [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? From { get; set; } - - [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - /// - /// Used to know if the paginated list has changed. - /// - [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string VersionDigest { get; set; } - - [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Values { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static ListResponsePersonAutoCompleteDTO FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class PersonAutoCompleteDTO - { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Id { get; set; } - - [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } - - [Newtonsoft.Json.JsonProperty("alternateName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AlternateName { get; set; } - - [Newtonsoft.Json.JsonProperty("address", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Address { get; set; } - - [Newtonsoft.Json.JsonProperty("postalCode", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PostalCode { get; set; } - - [Newtonsoft.Json.JsonProperty("postalArea", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PostalArea { get; set; } - - [Newtonsoft.Json.JsonProperty("latitude", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Latitude { get; set; } - - [Newtonsoft.Json.JsonProperty("longitude", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Longitude { get; set; } - - [Newtonsoft.Json.JsonProperty("category", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Category { get; set; } - - [Newtonsoft.Json.JsonProperty("score", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Score { get; set; } - - [Newtonsoft.Json.JsonProperty("sources", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.List Sources { get; set; } - - [Newtonsoft.Json.JsonProperty("firstname", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Firstname { get; set; } - - [Newtonsoft.Json.JsonProperty("lastname", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Lastname { get; set; } - - [Newtonsoft.Json.JsonProperty("phoneNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PhoneNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("phoneNumberMobile", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PhoneNumberMobile { get; set; } - - [Newtonsoft.Json.JsonProperty("email", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Email { get; set; } - - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } - - [Newtonsoft.Json.JsonProperty("countryId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? CountryId { get; set; } - - [Newtonsoft.Json.JsonProperty("reserved", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Reserved { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static PersonAutoCompleteDTO FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class MobileAppSpecificRightsInfo { @@ -87045,6 +87954,12 @@ public partial class MobileAppSpecificRightsInfo [Newtonsoft.Json.JsonProperty("customerEnabled", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? CustomerEnabled { get; set; } + [Newtonsoft.Json.JsonProperty("userIsAuthCustomerInfo", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? UserIsAuthCustomerInfo { get; set; } + + [Newtonsoft.Json.JsonProperty("userIsAuthProductAdmin", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? UserIsAuthProductAdmin { get; set; } + public string ToJson() { @@ -87081,6 +87996,75 @@ public static ResponseWrapperMobileAppSpecificRightsInfo FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperWorkingHoursCollection + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public WorkingHoursCollection Value { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ResponseWrapperWorkingHoursCollection FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class WorkingHours + { + [Newtonsoft.Json.JsonProperty("hours", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Hours { get; set; } + + [Newtonsoft.Json.JsonProperty("date", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Date { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static WorkingHours FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class WorkingHoursCollection + { + [Newtonsoft.Json.JsonProperty("employeeWorkingHours", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List EmployeeWorkingHours { get; set; } + + [Newtonsoft.Json.JsonProperty("companyWorkingHours", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List CompanyWorkingHours { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static WorkingHoursCollection FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ListResponseMunicipality { @@ -87216,6 +88200,13 @@ public partial class MySubscriptionModuleDTO [Newtonsoft.Json.JsonProperty("deactivationError", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string DeactivationError { get; set; } + [Newtonsoft.Json.JsonProperty("possibleStartDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(DateFormatConverter))] + public System.DateTime? PossibleStartDate { get; set; } + + [Newtonsoft.Json.JsonProperty("ordered", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Ordered { get; set; } + public string ToJson() { @@ -87280,107 +88271,28 @@ public static AccountClosureInfoDTO FromJson(string data) } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class MySubscriptionAccountInfoDTO - { - [Newtonsoft.Json.JsonProperty("readOnlyPackagePrice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TlxNumber ReadOnlyPackagePrice { get; set; } - - [Newtonsoft.Json.JsonProperty("voucherModule", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string VoucherModule { get; set; } - - [Newtonsoft.Json.JsonProperty("suspended", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Suspended { get; set; } - - [Newtonsoft.Json.JsonProperty("canReopen", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? CanReopen { get; set; } - - [Newtonsoft.Json.JsonProperty("reopenLimitDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(DateFormatConverter))] - public System.DateTime? ReopenLimitDate { get; set; } - - [Newtonsoft.Json.JsonProperty("reopenNumberOfDays", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? ReopenNumberOfDays { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static MySubscriptionAccountInfoDTO FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperMySubscriptionAccountInfoDTO - { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public MySubscriptionAccountInfoDTO Value { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static ResponseWrapperMySubscriptionAccountInfoDTO FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class InvoiceOrderLineDTO + public partial class AccountClosureFeedback { [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } - [Newtonsoft.Json.JsonProperty("invoiceNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string InvoiceNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("kid", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Kid { get; set; } - - [Newtonsoft.Json.JsonProperty("date", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Date { get; set; } - - [Newtonsoft.Json.JsonProperty("termOfPayment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? TermOfPayment { get; set; } - - [Newtonsoft.Json.JsonProperty("amountCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TlxNumber AmountCurrency { get; set; } - - [Newtonsoft.Json.JsonProperty("amountCurrencyOutstanding", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TlxNumber AmountCurrencyOutstanding { get; set; } - - [Newtonsoft.Json.JsonProperty("isReminder", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsReminder { get; set; } - - [Newtonsoft.Json.JsonProperty("isLastReminder", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsLastReminder { get; set; } + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } - [Newtonsoft.Json.JsonProperty("lastReminderType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? LastReminderType { get; set; } + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } - [Newtonsoft.Json.JsonProperty("hasCreditNote", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? HasCreditNote { get; set; } + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("reminderType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? ReminderType { get; set; } + [Newtonsoft.Json.JsonProperty("customerCompanyId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? CustomerCompanyId { get; set; } - [Newtonsoft.Json.JsonProperty("reminderTypeDescription", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ReminderTypeDescription { get; set; } + [Newtonsoft.Json.JsonProperty("reason", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Reason { get; set; } - [Newtonsoft.Json.JsonProperty("statusText", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string StatusText { get; set; } + [Newtonsoft.Json.JsonProperty("comment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Comment { get; set; } public string ToJson() { @@ -87388,20 +88300,20 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static InvoiceOrderLineDTO FromJson(string data) + public static AccountClosureFeedback FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperInvoiceOrderLineDTOOf + public partial class ResponseWrapperAccountClosureFeedback { [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Value { get; set; } + public AccountClosureFeedback Value { get; set; } public string ToJson() { @@ -87409,32 +88321,36 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ResponseWrapperInvoiceOrderLineDTOOf FromJson(string data) + public static ResponseWrapperAccountClosureFeedback FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class AdditionalServiceOrderLineDTO + public partial class MySubscriptionAccountInfoDTO { - [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Description { get; set; } + [Newtonsoft.Json.JsonProperty("readOnlyPackagePrice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TlxNumber ReadOnlyPackagePrice { get; set; } - [Newtonsoft.Json.JsonProperty("type", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Type { get; set; } + [Newtonsoft.Json.JsonProperty("voucherModule", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VoucherModule { get; set; } - [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TlxNumber Count { get; set; } + [Newtonsoft.Json.JsonProperty("suspended", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Suspended { get; set; } - [Newtonsoft.Json.JsonProperty("unitPrice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TlxNumber UnitPrice { get; set; } + [Newtonsoft.Json.JsonProperty("canReopen", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? CanReopen { get; set; } + + [Newtonsoft.Json.JsonProperty("reopenLimitDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(DateFormatConverter))] + public System.DateTime? ReopenLimitDate { get; set; } - [Newtonsoft.Json.JsonProperty("total", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TlxNumber Total { get; set; } + [Newtonsoft.Json.JsonProperty("reopenNumberOfDays", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? ReopenNumberOfDays { get; set; } public string ToJson() { @@ -87442,20 +88358,20 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static AdditionalServiceOrderLineDTO FromJson(string data) + public static MySubscriptionAccountInfoDTO FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperAdditionalServiceOrderLineDTOOf + public partial class ResponseWrapperMySubscriptionAccountInfoDTO { [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Value { get; set; } + public MySubscriptionAccountInfoDTO Value { get; set; } public string ToJson() { @@ -87463,10 +88379,10 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ResponseWrapperAdditionalServiceOrderLineDTOOf FromJson(string data) + public static ResponseWrapperMySubscriptionAccountInfoDTO FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } @@ -87550,66 +88466,6 @@ public static ServiceActivationResponseDTO FromJson(string data) } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class AccountClosureFeedback - { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } - - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } - - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } - - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } - - [Newtonsoft.Json.JsonProperty("customerCompanyId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? CustomerCompanyId { get; set; } - - [Newtonsoft.Json.JsonProperty("reason", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Reason { get; set; } - - [Newtonsoft.Json.JsonProperty("comment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Comment { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static AccountClosureFeedback FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperAccountClosureFeedback - { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public AccountClosureFeedback Value { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static ResponseWrapperAccountClosureFeedback FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ResponseWrapperOrder { @@ -87700,6 +88556,15 @@ public partial class OrderOffer [Newtonsoft.Json.JsonProperty("customer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public Customer Customer { get; set; } + [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayName { get; set; } + + [Newtonsoft.Json.JsonProperty("customerName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CustomerName { get; set; } + + [Newtonsoft.Json.JsonProperty("projectManagerNameAndNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ProjectManagerNameAndNumber { get; set; } + public string ToJson() { @@ -88338,6 +89203,12 @@ public partial class AdvancedPaymentWidget [Newtonsoft.Json.JsonProperty("amount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public TlxNumber Amount { get; set; } + /// + /// Prepaid Amount value in invoice currency + /// + [Newtonsoft.Json.JsonProperty("prepaidAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TlxNumber PrepaidAmount { get; set; } + /// /// Amount value in payment type currency /// @@ -89301,14 +90172,38 @@ public partial class ProductSettings [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Url { get; set; } - [Newtonsoft.Json.JsonProperty("warehouse", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Warehouse { get; set; } + [Newtonsoft.Json.JsonProperty("moduleWarehouse", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleWarehouse { get; set; } - [Newtonsoft.Json.JsonProperty("productPurchase", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ProductPurchase { get; set; } + [Newtonsoft.Json.JsonProperty("hasWarehouseLocation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? HasWarehouseLocation { get; set; } - [Newtonsoft.Json.JsonProperty("purchaseOrder", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? PurchaseOrder { get; set; } + [Newtonsoft.Json.JsonProperty("newCustomerAfterLogisticsRelease", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? NewCustomerAfterLogisticsRelease { get; set; } + + [Newtonsoft.Json.JsonProperty("productSetCostFromOrderLine", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ProductSetCostFromOrderLine { get; set; } + + [Newtonsoft.Json.JsonProperty("purchaseOrderDefaultComment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PurchaseOrderDefaultComment { get; set; } + + [Newtonsoft.Json.JsonProperty("modulePurchaseOrderNumberSeries", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModulePurchaseOrderNumberSeries { get; set; } + + [Newtonsoft.Json.JsonProperty("purchaseOrderNumberSeries", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PurchaseOrderNumberSeries { get; set; } + + [Newtonsoft.Json.JsonProperty("showOnboardingWizard", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ShowOnboardingWizard { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleSuggestedProductNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleSuggestedProductNumber { get; set; } + + [Newtonsoft.Json.JsonProperty("suggestedProductNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string SuggestedProductNumber { get; set; } + + [Newtonsoft.Json.JsonProperty("purchaseOrderModule", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? PurchaseOrderModule { get; set; } public string ToJson() { @@ -89378,6 +90273,15 @@ public partial class ProductImport [Newtonsoft.Json.JsonProperty("productImportHeaders", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.List ProductImportHeaders { get; set; } + [Newtonsoft.Json.JsonProperty("countCreated", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? CountCreated { get; set; } + + [Newtonsoft.Json.JsonProperty("countUpdated", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? CountUpdated { get; set; } + + [Newtonsoft.Json.JsonProperty("countIgnored", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? CountIgnored { get; set; } + public string ToJson() { @@ -89399,18 +90303,18 @@ public partial class ProductImportFieldDTO [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Id { get; set; } - [Newtonsoft.Json.JsonProperty("textKey", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string TextKey { get; set; } + [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayName { get; set; } [Newtonsoft.Json.JsonProperty("format", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Format { get; set; } + [Newtonsoft.Json.JsonProperty("isMandatory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsMandatory { get; set; } + [Newtonsoft.Json.JsonProperty("sequence", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Sequence { get; set; } - [Newtonsoft.Json.JsonProperty("mandatory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Mandatory { get; set; } - public string ToJson() { @@ -89493,10 +90397,28 @@ public static ResponseWrapperProductImport FromJson(string data) } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperListProductImportFieldDTO + public partial class ListResponseProductImportFieldDTO { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Value { get; set; } + /// + /// Indicates whether there are more values available. Note: The value is not exact + /// + [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? FullResultSize { get; set; } + + [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? From { get; set; } + + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + /// + /// Used to know if the paginated list has changed. + /// + [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VersionDigest { get; set; } + + [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Values { get; set; } public string ToJson() { @@ -89504,10 +90426,10 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ResponseWrapperListProductImportFieldDTO FromJson(string data) + public static ListResponseProductImportFieldDTO FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } @@ -89678,6 +90600,9 @@ public partial class ProductImportRowErrorMessage [Newtonsoft.Json.JsonProperty("errorMessage", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ErrorMessage { get; set; } + [Newtonsoft.Json.JsonProperty("fieldName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FieldName { get; set; } + public string ToJson() { @@ -89751,12 +90676,12 @@ public partial class ProductRowJSON [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Number { get; set; } + [Newtonsoft.Json.JsonProperty("vatTypeId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VatTypeId { get; set; } + [Newtonsoft.Json.JsonProperty("productUnit", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ProductUnit { get; set; } - [Newtonsoft.Json.JsonProperty("inactive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Inactive { get; set; } - [Newtonsoft.Json.JsonProperty("eanGtin", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string EanGtin { get; set; } @@ -89769,8 +90694,11 @@ public partial class ProductRowJSON [Newtonsoft.Json.JsonProperty("sellingPriceInclVat", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string SellingPriceInclVat { get; set; } - [Newtonsoft.Json.JsonProperty("stockItem", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? StockItem { get; set; } + [Newtonsoft.Json.JsonProperty("rowNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? RowNumber { get; set; } + + [Newtonsoft.Json.JsonProperty("currencyCode", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CurrencyCode { get; set; } public string ToJson() { @@ -93763,10 +94691,6 @@ public partial class CellBlueprintV1 [Newtonsoft.Json.JsonProperty("rowReference", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string RowReference { get; set; } - [Newtonsoft.Json.JsonProperty("defaultAxis", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CellBlueprintV1DefaultAxis? DefaultAxis { get; set; } - [Newtonsoft.Json.JsonProperty("expression", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Expression { get; set; } @@ -93809,6 +94733,9 @@ public partial class HeaderBlueprintV1 [Newtonsoft.Json.JsonProperty("hideSelf", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? HideSelf { get; set; } + [Newtonsoft.Json.JsonProperty("visibilityExpression", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VisibilityExpression { get; set; } + [Newtonsoft.Json.JsonProperty("removeEmpty", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? RemoveEmpty { get; set; } @@ -93894,7 +94821,7 @@ public partial class Report /// blueprint /// [Newtonsoft.Json.JsonProperty("blueprint", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ReportBlueprintV1 Blueprint { get; set; } + public ReportBlueprintV2 Blueprint { get; set; } public string ToJson() { @@ -93912,7 +94839,7 @@ public static Report FromJson(string data) } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ReportBlueprintV1 + public partial class ReportBlueprintV2 { [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Name { get; set; } @@ -93941,10 +94868,10 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ReportBlueprintV1 FromJson(string data) + public static ReportBlueprintV2 FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } @@ -94467,6 +95394,9 @@ public static ReportGroupFilter FromJson(string data) [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ReportSettings { + [Newtonsoft.Json.JsonProperty("headers", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ReportSettingsHeaders Headers { get; set; } + [Newtonsoft.Json.JsonProperty("filters", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public ReportSettingsFilters Filters { get; set; } @@ -94562,10 +95492,22 @@ public static ReportSettingsFiltersOptionsPeriod FromJson(string data) } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperReport + public partial class ReportSettingsHeaders { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Report Value { get; set; } + [Newtonsoft.Json.JsonProperty("showColumnHeaders", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ShowColumnHeaders { get; set; } + + [Newtonsoft.Json.JsonProperty("showRowHeaders", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ShowRowHeaders { get; set; } + + [Newtonsoft.Json.JsonProperty("columnHeaderVisibilityExpression", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ColumnHeaderVisibilityExpression { get; set; } + + [Newtonsoft.Json.JsonProperty("rowHeaderVisibilityExpression", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string RowHeaderVisibilityExpression { get; set; } + + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } public string ToJson() { @@ -94573,38 +95515,20 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ResponseWrapperReport FromJson(string data) + public static ReportSettingsHeaders FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ListResponseReport + public partial class ResponseWrapperReport { - /// - /// Indicates whether there are more values available. Note: The value is not exact - /// - [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? FullResultSize { get; set; } - - [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? From { get; set; } - - [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - /// - /// Used to know if the paginated list has changed. - /// - [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string VersionDigest { get; set; } - - [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Values { get; set; } + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Report Value { get; set; } public string ToJson() { @@ -94612,17 +95536,17 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ListResponseReport FromJson(string data) + public static ResponseWrapperReport FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ListResponseReportAccess + public partial class ListResponseReport { /// /// Indicates whether there are more values available. Note: The value is not exact @@ -94643,7 +95567,7 @@ public partial class ListResponseReportAccess public string VersionDigest { get; set; } [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Values { get; set; } + public System.Collections.Generic.List Values { get; set; } public string ToJson() { @@ -94651,10 +95575,10 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ListResponseReportAccess FromJson(string data) + public static ListResponseReport FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } @@ -94771,102 +95695,6 @@ public static ReportAuthorization FromJson(string data) } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperReportAccess - { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ReportAccess Value { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static ResponseWrapperReportAccess FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ListResponseReportClientAccess - { - /// - /// Indicates whether there are more values available. Note: The value is not exact - /// - [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? FullResultSize { get; set; } - - [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? From { get; set; } - - [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - /// - /// Used to know if the paginated list has changed. - /// - [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string VersionDigest { get; set; } - - [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Values { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static ListResponseReportClientAccess FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ReportClientAccess - { - /// - /// All ReportAccess for this client - /// - [Newtonsoft.Json.JsonProperty("reportAccess", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List ReportAccess { get; set; } - - /// - /// The name of the client these ReportAccess are for - /// - [Newtonsoft.Json.JsonProperty("clientName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ClientName { get; set; } - - /// - /// The id of the client these ReportAccess are for - /// - [Newtonsoft.Json.JsonProperty("clientId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public long? ClientId { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static ReportClientAccess FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ReportResult { @@ -94882,6 +95710,9 @@ public partial class ReportResult [Newtonsoft.Json.JsonProperty("tableContent", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.List> TableContent { get; set; } + [Newtonsoft.Json.JsonProperty("rowDepth", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? RowDepth { get; set; } + [Newtonsoft.Json.JsonProperty("height", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? Height { get; set; } @@ -94891,9 +95722,6 @@ public partial class ReportResult [Newtonsoft.Json.JsonProperty("columnDepth", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? ColumnDepth { get; set; } - [Newtonsoft.Json.JsonProperty("rowDepth", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? RowDepth { get; set; } - public string ToJson() { @@ -95111,6 +95939,141 @@ public static ResponseWrapperReportResultEnvelope FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ListResponseReportAccess + { + /// + /// Indicates whether there are more values available. Note: The value is not exact + /// + [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? FullResultSize { get; set; } + + [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? From { get; set; } + + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + /// + /// Used to know if the paginated list has changed. + /// + [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VersionDigest { get; set; } + + [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Values { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ListResponseReportAccess FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperReportAccess + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ReportAccess Value { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ResponseWrapperReportAccess FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ListResponseReportClientAccess + { + /// + /// Indicates whether there are more values available. Note: The value is not exact + /// + [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? FullResultSize { get; set; } + + [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? From { get; set; } + + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + /// + /// Used to know if the paginated list has changed. + /// + [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VersionDigest { get; set; } + + [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Values { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ListResponseReportClientAccess FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ReportClientAccess + { + /// + /// All ReportAccess for this client + /// + [Newtonsoft.Json.JsonProperty("reportAccess", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List ReportAccess { get; set; } + + /// + /// The name of the client these ReportAccess are for + /// + [Newtonsoft.Json.JsonProperty("clientName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ClientName { get; set; } + + /// + /// The id of the client these ReportAccess are for + /// + [Newtonsoft.Json.JsonProperty("clientId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long? ClientId { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ReportClientAccess FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ResponseWrapperReportAuthorization { @@ -96549,6 +97512,144 @@ public static ListResponseSalaryType FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperTskInternalContextDTO + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TskInternalContextDTO Value { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ResponseWrapperTskInternalContextDTO FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class TskInternalContextDTO + { + [Newtonsoft.Json.JsonProperty("companyName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CompanyName { get; set; } + + [Newtonsoft.Json.JsonProperty("showDepartment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ShowDepartment { get; set; } + + [Newtonsoft.Json.JsonProperty("showDivision", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ShowDivision { get; set; } + + [Newtonsoft.Json.JsonProperty("showEmployeeCategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ShowEmployeeCategory { get; set; } + + [Newtonsoft.Json.JsonProperty("maxEmployeesPerSalaryTransaction", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? MaxEmployeesPerSalaryTransaction { get; set; } + + [Newtonsoft.Json.JsonProperty("isCompanyPayInAdvance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsCompanyPayInAdvance { get; set; } + + [Newtonsoft.Json.JsonProperty("isLoginEmployeeWageDepartmentOnly", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsLoginEmployeeWageDepartmentOnly { get; set; } + + [Newtonsoft.Json.JsonProperty("companyPayInAdvance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? CompanyPayInAdvance { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static TskInternalContextDTO FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class CreateSalaryEmployee + { + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } + + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } + + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } + + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } + + [Newtonsoft.Json.JsonProperty("firstName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FirstName { get; set; } + + [Newtonsoft.Json.JsonProperty("lastName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string LastName { get; set; } + + [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayName { get; set; } + + [Newtonsoft.Json.JsonProperty("number", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Number { get; set; } + + [Newtonsoft.Json.JsonProperty("department", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Department Department { get; set; } + + [Newtonsoft.Json.JsonProperty("employeeCategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public EmployeeCategory EmployeeCategory { get; set; } + + [Newtonsoft.Json.JsonProperty("pictureId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? PictureId { get; set; } + + [Newtonsoft.Json.JsonProperty("isContact", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsContact { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static CreateSalaryEmployee FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperCreateSalaryEmployee + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CreateSalaryEmployee Value { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ResponseWrapperCreateSalaryEmployee FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ResponseWrapperSalaryV2Employee { @@ -96609,6 +97710,9 @@ public partial class SalaryV2Employee [Newtonsoft.Json.JsonProperty("nameAndNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string NameAndNumber { get; set; } + [Newtonsoft.Json.JsonProperty("bankAccountOrIban", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string BankAccountOrIban { get; set; } + public string ToJson() { @@ -96822,10 +97926,10 @@ public static SalaryV2PaymentType FromJson(string data) public partial class SalaryV2PaymentValidationResult { [Newtonsoft.Json.JsonProperty("warnings", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Warnings { get; set; } + public System.Collections.Generic.List Warnings { get; set; } [Newtonsoft.Json.JsonProperty("validations", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Validations { get; set; } + public System.Collections.Generic.List Validations { get; set; } [Newtonsoft.Json.JsonProperty("poisonPills", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.List PoisonPills { get; set; } @@ -97191,6 +98295,9 @@ public partial class SalaryV2Transaction [Newtonsoft.Json.JsonProperty("useLandscapeForBankList", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? UseLandscapeForBankList { get; set; } + [Newtonsoft.Json.JsonProperty("numberEmployees", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? NumberEmployees { get; set; } + /// /// Payment type in use, or default payment type /// @@ -97410,6 +98517,30 @@ public static SalaryV2Voucher FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ValidationLinkDTO + { + [Newtonsoft.Json.JsonProperty("message", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Message { get; set; } + + [Newtonsoft.Json.JsonProperty("href", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Href { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ValidationLinkDTO FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ResponseWrapperSalaryV2Specification { @@ -97644,27 +98775,6 @@ public static SalaryV2Modules FromJson(string data) } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperListSalaryV2Voucher - { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Value { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static ResponseWrapperListSalaryV2Voucher FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ResponseWrapperListSalaryV2Employee { @@ -97687,10 +98797,10 @@ public static ResponseWrapperListSalaryV2Employee FromJson(string data) } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperListEmployment + public partial class ResponseWrapperListSalaryV2Voucher { [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Value { get; set; } + public System.Collections.Generic.List Value { get; set; } public string ToJson() { @@ -97698,10 +98808,10 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ResponseWrapperListEmployment FromJson(string data) + public static ResponseWrapperListSalaryV2Voucher FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } @@ -97728,6 +98838,214 @@ public static ResponseWrapperListSalaryV2PaymentType FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class CreateSalaryWithSearch + { + [Newtonsoft.Json.JsonProperty("year", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Year { get; set; } + + [Newtonsoft.Json.JsonProperty("month", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Month { get; set; } + + [Newtonsoft.Json.JsonProperty("employmentIds", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EmploymentIds { get; set; } + + [Newtonsoft.Json.JsonProperty("specTypesToAdd", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string SpecTypesToAdd { get; set; } + + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + [Newtonsoft.Json.JsonProperty("date", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Date { get; set; } + + [Newtonsoft.Json.JsonProperty("allSelected", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? AllSelected { get; set; } + + [Newtonsoft.Json.JsonProperty("explicitlyDeselectedEmploymentIds", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ExplicitlyDeselectedEmploymentIds { get; set; } + + [Newtonsoft.Json.JsonProperty("departmentIds", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DepartmentIds { get; set; } + + [Newtonsoft.Json.JsonProperty("employeeCategoryIds", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string EmployeeCategoryIds { get; set; } + + [Newtonsoft.Json.JsonProperty("divisionIds", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DivisionIds { get; set; } + + [Newtonsoft.Json.JsonProperty("employeeAvailability", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CreateSalaryWithSearchEmployeeAvailability? EmployeeAvailability { get; set; } + + [Newtonsoft.Json.JsonProperty("contactsFilter", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CreateSalaryWithSearchContactsFilter? ContactsFilter { get; set; } + + [Newtonsoft.Json.JsonProperty("orderBy", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CreateSalaryWithSearchOrderBy? OrderBy { get; set; } + + [Newtonsoft.Json.JsonProperty("orderDirection", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CreateSalaryWithSearchOrderDirection? OrderDirection { get; set; } + + [Newtonsoft.Json.JsonProperty("query", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Query { get; set; } + + [Newtonsoft.Json.JsonProperty("isHistorical", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsHistorical { get; set; } + + [Newtonsoft.Json.JsonProperty("historical", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Historical { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static CreateSalaryWithSearch FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperListEmployment + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Value { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ResponseWrapperListEmployment FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class CreateSalaryEmployeeToEmploymentRelationship + { + /// + /// Employee + /// + [Newtonsoft.Json.JsonProperty("employee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public CreateSalaryEmployee Employee { get; set; } + + /// + /// Employments + /// + [Newtonsoft.Json.JsonProperty("employments", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Employments { get; set; } + + /// + /// ValidationResults + /// + [Newtonsoft.Json.JsonProperty("validationResults", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List ValidationResults { get; set; } + + /// + /// Previous Salaries + /// + [Newtonsoft.Json.JsonProperty("previousSalaries", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List PreviousSalaries { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static CreateSalaryEmployeeToEmploymentRelationship FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ListResponseCreateSalaryEmployeeToEmploymentRelationship + { + /// + /// Indicates whether there are more values available. Note: The value is not exact + /// + [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? FullResultSize { get; set; } + + [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? From { get; set; } + + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + /// + /// Used to know if the paginated list has changed. + /// + [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VersionDigest { get; set; } + + [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Values { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ListResponseCreateSalaryEmployeeToEmploymentRelationship FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class PreviousSalaryAggregates + { + [Newtonsoft.Json.JsonProperty("salaryTransactionId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? SalaryTransactionId { get; set; } + + [Newtonsoft.Json.JsonProperty("wagePaymentIdOfEmployee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? WagePaymentIdOfEmployee { get; set; } + + [Newtonsoft.Json.JsonProperty("displayName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DisplayName { get; set; } + + [Newtonsoft.Json.JsonProperty("isAccessibleToLoggedInUser", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsAccessibleToLoggedInUser { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static PreviousSalaryAggregates FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ResponseWrapperSalaryV2Overview { @@ -98313,27 +99631,6 @@ public static TaxcardEmployeeInternal FromJson(string data) } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperDate - { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.DateTimeOffset? Value { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static ResponseWrapperDate FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class PrepareTaxcardsArgsInternal { @@ -98373,27 +99670,6 @@ public static PrepareTaxcardsArgsInternal FromJson(string data) } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperListString - { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Value { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static ResponseWrapperListString FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class PhonePrefixCountryInternal { @@ -99298,6 +100574,33 @@ public static ListResponseSalaryTransaction FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ShardInfo + { + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public long Id { get; set; } + + [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } + + [Newtonsoft.Json.JsonProperty("status", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Status { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ShardInfo FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ListResponseSignatureCombinationDTO { @@ -99343,6 +100646,9 @@ public partial class SignatureCombinationDTO [Newtonsoft.Json.JsonProperty("signatureCombinationDescription", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string SignatureCombinationDescription { get; set; } + [Newtonsoft.Json.JsonProperty("uniqueKey", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string UniqueKey { get; set; } + [Newtonsoft.Json.JsonProperty("companyRepresentativeDTOList", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.List CompanyRepresentativeDTOList { get; set; } @@ -99361,6 +100667,28 @@ public static SignatureCombinationDTO FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperSignatureStatus + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public ResponseWrapperSignatureStatusValue? Value { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ResponseWrapperSignatureStatus FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ResponseWrapperMapStringBoolean { @@ -100174,6 +101502,9 @@ public partial class AutomationRuleDetails [Newtonsoft.Json.JsonProperty("distributionKeyId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? DistributionKeyId { get; set; } + [Newtonsoft.Json.JsonProperty("distributionKeyName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DistributionKeyName { get; set; } + [Newtonsoft.Json.JsonProperty("accountName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string AccountName { get; set; } @@ -100295,16 +101626,16 @@ public partial class SupplierAutomation public int? AutomatedCount { get; set; } /// - /// Number of EHF vouchers last 90 days. + /// Number of EHF vouchers last 190 days. /// - [Newtonsoft.Json.JsonProperty("voucherCountLast90DaysEhf", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? VoucherCountLast90DaysEhf { get; set; } + [Newtonsoft.Json.JsonProperty("voucherCountLast190DaysEhf", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? VoucherCountLast190DaysEhf { get; set; } /// - /// Number of non-EHF vouchers last 90 days. + /// Number of non-EHF vouchers last 190 days. /// - [Newtonsoft.Json.JsonProperty("voucherCountLast90DaysNonEhf", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? VoucherCountLast90DaysNonEhf { get; set; } + [Newtonsoft.Json.JsonProperty("voucherCountLast190DaysNonEhf", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? VoucherCountLast190DaysNonEhf { get; set; } /// /// Number of EHF vouchers send from this supplier regardless of time. @@ -100360,6 +101691,12 @@ public partial class SupplierAutomation [Newtonsoft.Json.JsonProperty("dateRequestEhfSent", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string DateRequestEhfSent { get; set; } + /// + /// Whether to allow sending EHF requests + /// + [Newtonsoft.Json.JsonProperty("allowSendEhfRequest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool AllowSendEhfRequest { get; set; } + public string ToJson() { @@ -100486,15 +101823,15 @@ public partial class AutomationSettingsDTO [Newtonsoft.Json.JsonProperty("canAccessWelcomeBanner", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? CanAccessWelcomeBanner { get; set; } + [Newtonsoft.Json.JsonProperty("hasAutomation2022ToolbarPilot", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? HasAutomation2022ToolbarPilot { get; set; } + [Newtonsoft.Json.JsonProperty("hasBookkeepingBeforeAttestationSetting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? HasBookkeepingBeforeAttestationSetting { get; set; } [Newtonsoft.Json.JsonProperty("hasVoucherApprovalModule", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? HasVoucherApprovalModule { get; set; } - [Newtonsoft.Json.JsonProperty("hasFabricAiMaxAmountPilotFlag", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? HasFabricAiMaxAmountPilotFlag { get; set; } - [Newtonsoft.Json.JsonProperty("testAccount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? TestAccount { get; set; } @@ -101944,6 +103281,27 @@ public static ListResponseMileageAllowance FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperMapIntegerTlxNumber + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.Dictionary Value { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ResponseWrapperMapIntegerTlxNumber FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ResponseWrapperPassenger { @@ -102810,779 +104168,331 @@ public partial class TripletexAccount [Newtonsoft.Json.JsonProperty("modules", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.List Modules { get; set; } = new System.Collections.Generic.List(); - /// - /// Password for the administrator user to create. Not a part of the administrator employee object since this is a value that never can be read (it is salted and hashed before storing) - /// - [Newtonsoft.Json.JsonProperty("administratorPassword", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AdministratorPassword { get; set; } - - /// - /// Should the regular creation emails be sent to the company created and its users? If false you probably want to set autoValidateUserLogin to true - /// - [Newtonsoft.Json.JsonProperty("sendEmails", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? SendEmails { get; set; } - - /// - /// If true, the users created will be allowed to log in without validating their email address. ONLY USE THIS IF YOU ALREADY HAVE VALIDATED THE USER EMAILS. - /// - [Newtonsoft.Json.JsonProperty("autoValidateUserLogin", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? AutoValidateUserLogin { get; set; } - - /// - /// Create an API token for the administrator user for the consumer token used during this call. The token will be returned in the response. - /// - [Newtonsoft.Json.JsonProperty("createAdministratorApiToken", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? CreateAdministratorApiToken { get; set; } - - /// - /// Create an API token for the company to use to call their clients, only possible for accounting and auditor accounts. The token will be returned in the response. - /// - [Newtonsoft.Json.JsonProperty("createCompanyOwnedApiToken", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? CreateCompanyOwnedApiToken { get; set; } - - /// - /// Should the company we are creating be able to create new Tripletex accounts? - /// - [Newtonsoft.Json.JsonProperty("mayCreateTripletexAccounts", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? MayCreateTripletexAccounts { get; set; } - - /// - /// Used to calculate prices. - /// - [Newtonsoft.Json.JsonProperty("numberOfVouchers", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public TripletexAccountNumberOfVouchers? NumberOfVouchers { get; set; } - - /// - /// The chart of accounts to use for the new company - /// - [Newtonsoft.Json.JsonProperty("chartOfAccountsType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public TripletexAccountChartOfAccountsType? ChartOfAccountsType { get; set; } - - /// - /// VAT type - /// - [Newtonsoft.Json.JsonProperty("vatStatusType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public TripletexAccountVatStatusType? VatStatusType { get; set; } - - /// - /// VAT period - /// - [Newtonsoft.Json.JsonProperty("vatTermType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public TripletexAccountVatTermType? VatTermType { get; set; } - - /// - /// Main bank account - /// - [Newtonsoft.Json.JsonProperty("bankAccount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string BankAccount { get; set; } - - /// - /// Swedish post account number (PlusGirot) - /// - [Newtonsoft.Json.JsonProperty("postAccount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PostAccount { get; set; } - - /// - /// Number of users Prepaid. Only available for some consumers. - /// - [Newtonsoft.Json.JsonProperty("numberOfPrepaidUsers", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? NumberOfPrepaidUsers { get; set; } - - /// - /// Customer category id used to indicate that the customer is created by Salesforce - /// - [Newtonsoft.Json.JsonProperty("customerCategoryId2", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? CustomerCategoryId2 { get; set; } - - /// - /// Marketing consent - /// - [Newtonsoft.Json.JsonProperty("marketingConsent", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public TripletexAccountMarketingConsent? MarketingConsent { get; set; } - - /// - /// Start date for invoicing - /// - [Newtonsoft.Json.JsonProperty("invoiceStartDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string InvoiceStartDate { get; set; } - - /// - /// Email address used for invoices/reminders - /// - [Newtonsoft.Json.JsonProperty("invoiceEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string InvoiceEmail { get; set; } - - /// - /// Customer card id is used to indicate what customer account to use when creating the TripletexCompany object. 0 means customer account does not already exist. - /// - [Newtonsoft.Json.JsonProperty("customerCardId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? CustomerCardId { get; set; } - - /// - /// Terms and conditions - /// - [Newtonsoft.Json.JsonProperty("signedTC", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public TripletexAccountSignedTC? SignedTC { get; set; } - - [Newtonsoft.Json.JsonProperty("auditor", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Auditor { get; set; } - - [Newtonsoft.Json.JsonProperty("reseller", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Reseller { get; set; } - - [Newtonsoft.Json.JsonProperty("accountingOffice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? AccountingOffice { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static TripletexAccount FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperTripletexAccountReturn - { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TripletexAccountReturn Value { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static ResponseWrapperTripletexAccountReturn FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class CustomerTripletexAccount2 - { - /// - /// Administrator user to create in the new company. Leave empty if calling this enpoint as an auditor og accountant company - /// - [Newtonsoft.Json.JsonProperty("administrator", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Employee Administrator { get; set; } - - /// - /// The customer id to an already created customer to create a Tripletex account for. - /// - [Newtonsoft.Json.JsonProperty("customerId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? CustomerId { get; set; } - - [Newtonsoft.Json.JsonProperty("accountType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CustomerTripletexAccount2AccountType AccountType { get; set; } - - /// - /// If the accounting office is both an accounatant and an auditor - /// - [Newtonsoft.Json.JsonProperty("accessRequestType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CustomerTripletexAccount2AccessRequestType? AccessRequestType { get; set; } - - [Newtonsoft.Json.JsonProperty("modules", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Modules { get; set; } = new System.Collections.Generic.List(); - - [Newtonsoft.Json.JsonProperty("type", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CustomerTripletexAccount2Type Type { get; set; } - - /// - /// Should the emails normally sent during creation be sent in this case? - /// - [Newtonsoft.Json.JsonProperty("sendEmails", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? SendEmails { get; set; } - - /// - /// Should the user be automatically validated? - /// - [Newtonsoft.Json.JsonProperty("autoValidateUserLogin", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? AutoValidateUserLogin { get; set; } - - /// - /// Creates a token for the admin user. The accounting office could also use their tokens so you might not need this. - /// - [Newtonsoft.Json.JsonProperty("createApiToken", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? CreateApiToken { get; set; } - - /// - /// Should the invoices for this account be sent to the customer? - /// - [Newtonsoft.Json.JsonProperty("sendInvoiceToCustomer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? SendInvoiceToCustomer { get; set; } - - /// - /// The address to send the invoice to at the customer. - /// - [Newtonsoft.Json.JsonProperty("customerInvoiceEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CustomerInvoiceEmail { get; set; } - - /// - /// Should the receipt for this order be sent to the user creating the account? - /// - [Newtonsoft.Json.JsonProperty("creatorReceivingReceipt", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? CreatorReceivingReceipt { get; set; } - - /// - /// The number of employees in the customer company. Is used for calculating prices and setting some default settings, i.e. approval settings for timesheet. - /// - [Newtonsoft.Json.JsonProperty("numberOfEmployees", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? NumberOfEmployees { get; set; } - - /// - /// The password of the administrator user. - /// - [Newtonsoft.Json.JsonProperty("administratorPassword", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AdministratorPassword { get; set; } - - /// - /// The chart of accounts to use for the new company - /// - [Newtonsoft.Json.JsonProperty("chartOfAccountsType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CustomerTripletexAccount2ChartOfAccountsType? ChartOfAccountsType { get; set; } - - /// - /// VAT type - /// - [Newtonsoft.Json.JsonProperty("vatStatusType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CustomerTripletexAccount2VatStatusType? VatStatusType { get; set; } - - /// - /// VAT period - /// - [Newtonsoft.Json.JsonProperty("vatTermType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public CustomerTripletexAccount2VatTermType? VatTermType { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static CustomerTripletexAccount2 FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class OnboardAccountDTO - { - [Newtonsoft.Json.JsonProperty("companyName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CompanyName { get; set; } - - [Newtonsoft.Json.JsonProperty("orgNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string OrgNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("address", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Address { get; set; } - - [Newtonsoft.Json.JsonProperty("city", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string City { get; set; } - - [Newtonsoft.Json.JsonProperty("postalCode", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PostalCode { get; set; } - - [Newtonsoft.Json.JsonProperty("municipality", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Municipality { get; set; } - - [Newtonsoft.Json.JsonProperty("startDateMunicipality", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(DateFormatConverter))] - public System.DateTime? StartDateMunicipality { get; set; } - - [Newtonsoft.Json.JsonProperty("registrationDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(DateFormatConverter))] - public System.DateTime? RegistrationDate { get; set; } - - [Newtonsoft.Json.JsonProperty("vatRegistered", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? VatRegistered { get; set; } - - [Newtonsoft.Json.JsonProperty("logisticsModule", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? LogisticsModule { get; set; } - - [Newtonsoft.Json.JsonProperty("salaryModule", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? SalaryModule { get; set; } - - [Newtonsoft.Json.JsonProperty("enterprises", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Enterprises { get; set; } - - [Newtonsoft.Json.JsonProperty("packageId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? PackageId { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static OnboardAccountDTO FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class AgroToTripletexDTO - { - [Newtonsoft.Json.JsonProperty("userEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string UserEmail { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static AgroToTripletexDTO FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperTripletexCompanyModules - { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TripletexCompanyModules Value { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static ResponseWrapperTripletexCompanyModules FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class TripletexCompanyModules - { - [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Id { get; set; } - - [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Version { get; set; } - - [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Changes { get; set; } - - [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Url { get; set; } - - [Newtonsoft.Json.JsonProperty("companyId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? CompanyId { get; set; } - - [Newtonsoft.Json.JsonProperty("modulehourlist", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Modulehourlist { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleTravelExpense", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleTravelExpense { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleInvoice { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleaccountinginternal", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduleaccountinginternal { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleAccountingExternal", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleAccountingExternal { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleproject", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduleproject { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleproduct", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduleproduct { get; set; } - - [Newtonsoft.Json.JsonProperty("modulecustomer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Modulecustomer { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleemployee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduleemployee { get; set; } - - [Newtonsoft.Json.JsonProperty("moduledepartment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduledepartment { get; set; } - - [Newtonsoft.Json.JsonProperty("approveinvoices", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Approveinvoices { get; set; } - - [Newtonsoft.Json.JsonProperty("approvehourlists", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Approvehourlists { get; set; } - - [Newtonsoft.Json.JsonProperty("approvetravelreports", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Approvetravelreports { get; set; } - - [Newtonsoft.Json.JsonProperty("modulebudget", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Modulebudget { get; set; } - - [Newtonsoft.Json.JsonProperty("modulenote", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Modulenote { get; set; } - - [Newtonsoft.Json.JsonProperty("moduletask", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduletask { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleresourceallocation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduleresourceallocation { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleprojecteconomy", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduleprojecteconomy { get; set; } - - [Newtonsoft.Json.JsonProperty("modulereferencefee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Modulereferencefee { get; set; } - - [Newtonsoft.Json.JsonProperty("modulehistorical", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Modulehistorical { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleprojectcategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduleprojectcategory { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleprojectlocation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduleprojectlocation { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleProjectBudget", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleProjectBudget { get; set; } - - [Newtonsoft.Json.JsonProperty("modulesubscription", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Modulesubscription { get; set; } - - [Newtonsoft.Json.JsonProperty("completeweeklyhourlists", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Completeweeklyhourlists { get; set; } - - [Newtonsoft.Json.JsonProperty("completemonthlyhourlists", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Completemonthlyhourlists { get; set; } - - [Newtonsoft.Json.JsonProperty("approvemonthlyhourlists", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Approvemonthlyhourlists { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleprojectprognosis", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduleprojectprognosis { get; set; } - - [Newtonsoft.Json.JsonProperty("modulebunches", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Modulebunches { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleVacationBalance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleVacationBalance { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleAccountingReports", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleAccountingReports { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleCustomerCategories", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleCustomerCategories { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleCustomerCategory1", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleCustomerCategory1 { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleCustomerCategory2", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleCustomerCategory2 { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleCustomerCategory3", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleCustomerCategory3 { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleprojectsubcontract", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduleprojectsubcontract { get; set; } - - [Newtonsoft.Json.JsonProperty("modulePayrollAccounting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModulePayrollAccounting { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleTimeBalance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleTimeBalance { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleWorkingHours", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleWorkingHours { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleCurrency { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleWageExport", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleWageExport { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleAutoCustomerNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleAutoCustomerNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleAutoVendorNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleAutoVendorNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleProvisionSalary", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleProvisionSalary { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleOrderNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleOrderNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleOrderDiscount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleOrderDiscount { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleOrderMarkup", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleOrderMarkup { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleOrderLineCost", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleOrderLineCost { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleStopWatch", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleStopWatch { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleContact", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleContact { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleAutoProjectNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleAutoProjectNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleResourceGroups", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleResourceGroups { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleOcr", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleOcr { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleTravelExpenseRates", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleTravelExpenseRates { get; set; } + /// + /// Password for the administrator user to create. Not a part of the administrator employee object since this is a value that never can be read (it is salted and hashed before storing) + /// + [Newtonsoft.Json.JsonProperty("administratorPassword", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AdministratorPassword { get; set; } - [Newtonsoft.Json.JsonProperty("monthlyHourlistMinusTimeWarning", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? MonthlyHourlistMinusTimeWarning { get; set; } + /// + /// Should the regular creation emails be sent to the company created and its users? If false you probably want to set autoValidateUserLogin to true + /// + [Newtonsoft.Json.JsonProperty("sendEmails", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? SendEmails { get; set; } - [Newtonsoft.Json.JsonProperty("moduleVoucherScanning", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleVoucherScanning { get; set; } + /// + /// If true, the users created will be allowed to log in without validating their email address. ONLY USE THIS IF YOU ALREADY HAVE VALIDATED THE USER EMAILS. SendEmails must be false for this to have any effect. + /// + [Newtonsoft.Json.JsonProperty("autoValidateUserLogin", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? AutoValidateUserLogin { get; set; } - [Newtonsoft.Json.JsonProperty("moduleInvoiceScanning", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleInvoiceScanning { get; set; } + /// + /// Create an API token for the administrator user for the consumer token used during this call. The token will be returned in the response. + /// + [Newtonsoft.Json.JsonProperty("createAdministratorApiToken", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? CreateAdministratorApiToken { get; set; } - [Newtonsoft.Json.JsonProperty("moduleProjectParticipants", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleProjectParticipants { get; set; } + /// + /// Create an API token for the company to use to call their clients, only possible for accounting and auditor accounts. The token will be returned in the response. + /// + [Newtonsoft.Json.JsonProperty("createCompanyOwnedApiToken", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? CreateCompanyOwnedApiToken { get; set; } - [Newtonsoft.Json.JsonProperty("moduleHolydayPlan", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleHolydayPlan { get; set; } + /// + /// Should the company we are creating be able to create new Tripletex accounts? + /// + [Newtonsoft.Json.JsonProperty("mayCreateTripletexAccounts", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? MayCreateTripletexAccounts { get; set; } - [Newtonsoft.Json.JsonProperty("moduleEmployeeCategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleEmployeeCategory { get; set; } + /// + /// Used to calculate prices. + /// + [Newtonsoft.Json.JsonProperty("numberOfVouchers", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public TripletexAccountNumberOfVouchers? NumberOfVouchers { get; set; } - [Newtonsoft.Json.JsonProperty("moduleProductInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleProductInvoice { get; set; } + /// + /// The chart of accounts to use for the new company + /// + [Newtonsoft.Json.JsonProperty("chartOfAccountsType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public TripletexAccountChartOfAccountsType? ChartOfAccountsType { get; set; } - [Newtonsoft.Json.JsonProperty("autoInvoicing", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? AutoInvoicing { get; set; } + /// + /// VAT type + /// + [Newtonsoft.Json.JsonProperty("vatStatusType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public TripletexAccountVatStatusType? VatStatusType { get; set; } - [Newtonsoft.Json.JsonProperty("moduleInvoiceFeeComment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleInvoiceFeeComment { get; set; } + /// + /// VAT period + /// + [Newtonsoft.Json.JsonProperty("vatTermType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public TripletexAccountVatTermType? VatTermType { get; set; } - [Newtonsoft.Json.JsonProperty("moduleEmployeeAccounting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleEmployeeAccounting { get; set; } + /// + /// Main bank account + /// + [Newtonsoft.Json.JsonProperty("bankAccount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string BankAccount { get; set; } - [Newtonsoft.Json.JsonProperty("moduleDepartmentAccounting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleDepartmentAccounting { get; set; } + /// + /// Swedish post account number (PlusGirot) + /// + [Newtonsoft.Json.JsonProperty("postAccount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PostAccount { get; set; } - [Newtonsoft.Json.JsonProperty("moduleProjectAccounting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleProjectAccounting { get; set; } + /// + /// Number of users Prepaid. Only available for some consumers. + /// + [Newtonsoft.Json.JsonProperty("numberOfPrepaidUsers", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? NumberOfPrepaidUsers { get; set; } - [Newtonsoft.Json.JsonProperty("moduleProductAccounting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleProductAccounting { get; set; } + /// + /// Customer category id used to indicate that the customer is created by Salesforce + /// + [Newtonsoft.Json.JsonProperty("customerCategoryId2", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? CustomerCategoryId2 { get; set; } - [Newtonsoft.Json.JsonProperty("moduleSubscriptionAddressList", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleSubscriptionAddressList { get; set; } + /// + /// Marketing consent + /// + [Newtonsoft.Json.JsonProperty("marketingConsent", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public TripletexAccountMarketingConsent? MarketingConsent { get; set; } - [Newtonsoft.Json.JsonProperty("moduleElectro", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleElectro { get; set; } + /// + /// Start date for invoicing + /// + [Newtonsoft.Json.JsonProperty("invoiceStartDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string InvoiceStartDate { get; set; } - [Newtonsoft.Json.JsonProperty("moduleNrf", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleNrf { get; set; } + /// + /// Email address used for invoices/reminders + /// + [Newtonsoft.Json.JsonProperty("invoiceEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string InvoiceEmail { get; set; } - [Newtonsoft.Json.JsonProperty("moduleGtin", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleGtin { get; set; } + /// + /// Customer card id is used to indicate what customer account to use when creating the TripletexCompany object. 0 means customer account does not already exist. + /// + [Newtonsoft.Json.JsonProperty("customerCardId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? CustomerCardId { get; set; } - [Newtonsoft.Json.JsonProperty("moduleElproffen", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleElproffen { get; set; } + /// + /// Terms and conditions + /// + [Newtonsoft.Json.JsonProperty("signedTC", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public TripletexAccountSignedTC? SignedTC { get; set; } - [Newtonsoft.Json.JsonProperty("moduleRorkjop", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleRorkjop { get; set; } + [Newtonsoft.Json.JsonProperty("accountingOffice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? AccountingOffice { get; set; } - [Newtonsoft.Json.JsonProperty("moduleOrderExt", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleOrderExt { get; set; } + [Newtonsoft.Json.JsonProperty("auditor", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Auditor { get; set; } - [Newtonsoft.Json.JsonProperty("moduleResultBudget", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleResultBudget { get; set; } + [Newtonsoft.Json.JsonProperty("reseller", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Reseller { get; set; } - [Newtonsoft.Json.JsonProperty("moduleAmortization", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleAmortization { get; set; } + public string ToJson() + { - [Newtonsoft.Json.JsonProperty("moduleChangeDebtCollector", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleChangeDebtCollector { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("moduleVoucherTypes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleVoucherTypes { get; set; } + } + public static TripletexAccount FromJson(string data) + { - [Newtonsoft.Json.JsonProperty("moduleOnninen123", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleOnninen123 { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("moduleElektroUnion", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleElektroUnion { get; set; } + } - [Newtonsoft.Json.JsonProperty("moduleAhlsellPartner", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleAhlsellPartner { get; set; } + } - [Newtonsoft.Json.JsonProperty("moduleArchive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleArchive { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperTripletexAccountReturn + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TripletexAccountReturn Value { get; set; } - [Newtonsoft.Json.JsonProperty("moduleWarehouse", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleWarehouse { get; set; } + public string ToJson() + { - [Newtonsoft.Json.JsonProperty("moduleProjectBudgetReferenceFee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleProjectBudgetReferenceFee { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("moduleNetsEboks", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleNetsEboks { get; set; } + } + public static ResponseWrapperTripletexAccountReturn FromJson(string data) + { - [Newtonsoft.Json.JsonProperty("moduleNetsPrintSalary", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleNetsPrintSalary { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("moduleNetsPrintInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleNetsPrintInvoice { get; set; } + } - [Newtonsoft.Json.JsonProperty("moduleInvoiceImport", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleInvoiceImport { get; set; } + } - [Newtonsoft.Json.JsonProperty("moduleEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleEmail { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class CustomerTripletexAccount2 + { + /// + /// Administrator user to create in the new company. Leave empty if calling this enpoint as an auditor og accountant company + /// + [Newtonsoft.Json.JsonProperty("administrator", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Employee Administrator { get; set; } - [Newtonsoft.Json.JsonProperty("moduleOcrAutoPay", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleOcrAutoPay { get; set; } + /// + /// The customer id to an already created customer to create a Tripletex account for. + /// + [Newtonsoft.Json.JsonProperty("customerId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? CustomerId { get; set; } - [Newtonsoft.Json.JsonProperty("moduleApproveVoucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleApproveVoucher { get; set; } + [Newtonsoft.Json.JsonProperty("accountType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CustomerTripletexAccount2AccountType AccountType { get; set; } - [Newtonsoft.Json.JsonProperty("moduleApproveDepartmentVoucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleApproveDepartmentVoucher { get; set; } + /// + /// If the accounting office is both an accounatant and an auditor + /// + [Newtonsoft.Json.JsonProperty("accessRequestType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CustomerTripletexAccount2AccessRequestType? AccessRequestType { get; set; } - [Newtonsoft.Json.JsonProperty("moduleApproveProjectVoucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleApproveProjectVoucher { get; set; } + [Newtonsoft.Json.JsonProperty("modules", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Modules { get; set; } = new System.Collections.Generic.List(); - [Newtonsoft.Json.JsonProperty("moduleOrderOut", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleOrderOut { get; set; } + [Newtonsoft.Json.JsonProperty("type", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CustomerTripletexAccount2Type Type { get; set; } - [Newtonsoft.Json.JsonProperty("moduleMesan", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleMesan { get; set; } + /// + /// Should the emails normally sent during creation be sent in this case? + /// + [Newtonsoft.Json.JsonProperty("sendEmails", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? SendEmails { get; set; } - [Newtonsoft.Json.JsonProperty("moduleDivisions", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleDivisions { get; set; } + /// + /// Should the user be automatically validated? SendEmails must be false for this to have any effect. + /// + [Newtonsoft.Json.JsonProperty("autoValidateUserLogin", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? AutoValidateUserLogin { get; set; } - [Newtonsoft.Json.JsonProperty("moduleBoligmappa", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleBoligmappa { get; set; } + /// + /// Creates a token for the admin user. The accounting office could also use their tokens so you might not need this. + /// + [Newtonsoft.Json.JsonProperty("createApiToken", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? CreateApiToken { get; set; } - [Newtonsoft.Json.JsonProperty("moduleAdditionProjectMarkup", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleAdditionProjectMarkup { get; set; } + /// + /// Should the invoices for this account be sent to the customer? + /// + [Newtonsoft.Json.JsonProperty("sendInvoiceToCustomer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? SendInvoiceToCustomer { get; set; } - [Newtonsoft.Json.JsonProperty("moduleWageProjectAccounting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleWageProjectAccounting { get; set; } + /// + /// The address to send the invoice to at the customer. + /// + [Newtonsoft.Json.JsonProperty("customerInvoiceEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CustomerInvoiceEmail { get; set; } - [Newtonsoft.Json.JsonProperty("moduleAccountantConnectClient", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleAccountantConnectClient { get; set; } + /// + /// Should the receipt for this order be sent to the user creating the account? + /// + [Newtonsoft.Json.JsonProperty("creatorReceivingReceipt", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? CreatorReceivingReceipt { get; set; } - [Newtonsoft.Json.JsonProperty("moduleWageAmortization", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleWageAmortization { get; set; } + /// + /// The number of employees in the customer company. Is used for calculating prices and setting some default settings, i.e. approval settings for timesheet. + /// + [Newtonsoft.Json.JsonProperty("numberOfEmployees", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? NumberOfEmployees { get; set; } - [Newtonsoft.Json.JsonProperty("moduleSubscriptionsPeriodisation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleSubscriptionsPeriodisation { get; set; } + /// + /// The password of the administrator user. + /// + [Newtonsoft.Json.JsonProperty("administratorPassword", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string AdministratorPassword { get; set; } - [Newtonsoft.Json.JsonProperty("moduleActivityHourlyWageWageCode", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleActivityHourlyWageWageCode { get; set; } + /// + /// The chart of accounts to use for the new company + /// + [Newtonsoft.Json.JsonProperty("chartOfAccountsType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CustomerTripletexAccount2ChartOfAccountsType? ChartOfAccountsType { get; set; } - [Newtonsoft.Json.JsonProperty("moduleCRM", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleCRM { get; set; } + /// + /// VAT type + /// + [Newtonsoft.Json.JsonProperty("vatStatusType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CustomerTripletexAccount2VatStatusType? VatStatusType { get; set; } - [Newtonsoft.Json.JsonProperty("moduleApi20", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleApi20 { get; set; } + /// + /// VAT period + /// + [Newtonsoft.Json.JsonProperty("vatTermType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public CustomerTripletexAccount2VatTermType? VatTermType { get; set; } - [Newtonsoft.Json.JsonProperty("moduleControlSchemaRequiredInvoicing", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleControlSchemaRequiredInvoicing { get; set; } + public string ToJson() + { - [Newtonsoft.Json.JsonProperty("moduleControlSchemaRequiredHourTracking", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleControlSchemaRequiredHourTracking { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("moduleFinanceTax", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleFinanceTax { get; set; } + } + public static CustomerTripletexAccount2 FromJson(string data) + { - [Newtonsoft.Json.JsonProperty("modulePensionreport", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModulePensionreport { get; set; } + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("moduleAgro", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleAgro { get; set; } + } - [Newtonsoft.Json.JsonProperty("moduleMamut", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleMamut { get; set; } + } - [Newtonsoft.Json.JsonProperty("moduleInvoiceOptionPaper", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleInvoiceOptionPaper { get; set; } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class OnboardAccountDTO + { + [Newtonsoft.Json.JsonProperty("companyName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CompanyName { get; set; } - [Newtonsoft.Json.JsonProperty("moduleSmartScan", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleSmartScan { get; set; } + [Newtonsoft.Json.JsonProperty("orgNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string OrgNumber { get; set; } - [Newtonsoft.Json.JsonProperty("moduleOffer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleOffer { get; set; } + [Newtonsoft.Json.JsonProperty("address", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Address { get; set; } - [Newtonsoft.Json.JsonProperty("moduleAutoBankReconciliation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleAutoBankReconciliation { get; set; } + [Newtonsoft.Json.JsonProperty("city", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string City { get; set; } - [Newtonsoft.Json.JsonProperty("moduleVoucherAutomation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleVoucherAutomation { get; set; } + [Newtonsoft.Json.JsonProperty("postalCode", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PostalCode { get; set; } - [Newtonsoft.Json.JsonProperty("moduleEncryptedPaySlip", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleEncryptedPaySlip { get; set; } + [Newtonsoft.Json.JsonProperty("municipality", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Municipality { get; set; } - [Newtonsoft.Json.JsonProperty("moduleInvoiceOptionVipps", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleInvoiceOptionVipps { get; set; } + [Newtonsoft.Json.JsonProperty("startDateMunicipality", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(DateFormatConverter))] + public System.DateTime? StartDateMunicipality { get; set; } - [Newtonsoft.Json.JsonProperty("moduleInvoiceOptionEfaktura", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleInvoiceOptionEfaktura { get; set; } + [Newtonsoft.Json.JsonProperty("registrationDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(DateFormatConverter))] + public System.DateTime? RegistrationDate { get; set; } - [Newtonsoft.Json.JsonProperty("moduleInvoiceOptionAvtaleGiro", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleInvoiceOptionAvtaleGiro { get; set; } + [Newtonsoft.Json.JsonProperty("vatRegistered", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? VatRegistered { get; set; } - [Newtonsoft.Json.JsonProperty("moduleFactoringAprila", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleFactoringAprila { get; set; } + [Newtonsoft.Json.JsonProperty("logisticsModule", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? LogisticsModule { get; set; } - [Newtonsoft.Json.JsonProperty("moduleFactoringVismaFinance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public TripletexCompanyModulesModuleFactoringVismaFinance? ModuleFactoringVismaFinance { get; set; } + [Newtonsoft.Json.JsonProperty("salaryModule", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? SalaryModule { get; set; } - [Newtonsoft.Json.JsonProperty("moduleCashCreditAprila", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleCashCreditAprila { get; set; } + [Newtonsoft.Json.JsonProperty("enterprises", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Enterprises { get; set; } - [Newtonsoft.Json.JsonProperty("moduleInvoiceOptionAutoinvoiceEhf", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleInvoiceOptionAutoinvoiceEhf { get; set; } + [Newtonsoft.Json.JsonProperty("packageId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? PackageId { get; set; } public string ToJson() { @@ -103590,38 +104500,20 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static TripletexCompanyModules FromJson(string data) + public static OnboardAccountDTO FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ListResponseTripletexCompanyModules + public partial class AgroToTripletexDTO { - /// - /// Indicates whether there are more values available. Note: The value is not exact - /// - [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? FullResultSize { get; set; } - - [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? From { get; set; } - - [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - /// - /// Used to know if the paginated list has changed. - /// - [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string VersionDigest { get; set; } - - [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Values { get; set; } + [Newtonsoft.Json.JsonProperty("userEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string UserEmail { get; set; } public string ToJson() { @@ -103629,10 +104521,10 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ListResponseTripletexCompanyModules FromJson(string data) + public static AgroToTripletexDTO FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } @@ -103743,6 +104635,12 @@ public partial class SalesForceAccountInfo [Newtonsoft.Json.JsonProperty("customerCompanyId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? CustomerCompanyId { get; set; } + /// + /// Represents the companyId of the creator of the account + /// + [Newtonsoft.Json.JsonProperty("creatorCompanyId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? CreatorCompanyId { get; set; } + [Newtonsoft.Json.JsonProperty("isReseller", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? IsReseller { get; set; } @@ -103776,6 +104674,18 @@ public partial class SalesForceAccountInfo [Newtonsoft.Json.JsonProperty("endDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string EndDate { get; set; } + /// + /// Tripletex account invoice start date + /// + [Newtonsoft.Json.JsonProperty("invoiceStartDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string InvoiceStartDate { get; set; } + + /// + /// Tripletex account invoice postpone date + /// + [Newtonsoft.Json.JsonProperty("invoicePostponeDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string InvoicePostponeDate { get; set; } + /// /// Active main module /// @@ -104192,45 +105102,6 @@ public static ResponseWrapperSalesForceEmployee FromJson(string data) } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ListResponseSalesForceEmployee - { - /// - /// Indicates whether there are more values available. Note: The value is not exact - /// - [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? FullResultSize { get; set; } - - [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? From { get; set; } - - [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - /// - /// Used to know if the paginated list has changed. - /// - [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string VersionDigest { get; set; } - - [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Values { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static ListResponseSalesForceEmployee FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ResponseWrapperSalesForceUserOverview { @@ -104288,93 +105159,6 @@ public static SalesForceUserOverview FromJson(string data) } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperSalesForceCustomerStats - { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public SalesForceCustomerStats Value { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static ResponseWrapperSalesForceCustomerStats FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class SalesForceCustomerStats - { - /// - /// Customer Id - /// - [Newtonsoft.Json.JsonProperty("customerId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? CustomerId { get; set; } - - /// - /// Number of users - /// - [Newtonsoft.Json.JsonProperty("numberOfUsers", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? NumberOfUsers { get; set; } - - /// - /// Number of employees - /// - [Newtonsoft.Json.JsonProperty("numberOfEmployees", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? NumberOfEmployees { get; set; } - - /// - /// Number of invoiced transactions EHF - /// - [Newtonsoft.Json.JsonProperty("numberOfInvoicedTransactionsEHF", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? NumberOfInvoicedTransactionsEHF { get; set; } - - /// - /// Number of invoiced employees on last invoice - /// - [Newtonsoft.Json.JsonProperty("numberOfInvoicedEmployeesOnLastInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? NumberOfInvoicedEmployeesOnLastInvoice { get; set; } - - /// - /// Last Admin login to Tripletex date - /// - [Newtonsoft.Json.JsonProperty("dateOfLastAdminLogin", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DateOfLastAdminLogin { get; set; } - - /// - /// Total charged startup-fees for all the customer's products - /// - [Newtonsoft.Json.JsonProperty("totalStartupFees", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TlxNumber TotalStartupFees { get; set; } - - /// - /// Total monthly service fees including discounts. - /// - [Newtonsoft.Json.JsonProperty("totalMonthlyFees", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TlxNumber TotalMonthlyFees { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static SalesForceCustomerStats FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class DashboardContextDTO { @@ -104417,8 +105201,11 @@ public partial class DashboardContextDTO [Newtonsoft.Json.JsonProperty("showMamutTourMe", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? ShowMamutTourMe { get; set; } - [Newtonsoft.Json.JsonProperty("authYearEndReport", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? AuthYearEndReport { get; set; } + [Newtonsoft.Json.JsonProperty("showEaccountingMessage", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ShowEaccountingMessage { get; set; } + + [Newtonsoft.Json.JsonProperty("segmentationData", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public SegmentationData SegmentationData { get; set; } public string ToJson() { @@ -104457,34 +105244,73 @@ public static ResponseWrapperDashboardContextDTO FromJson(string data) } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class Widgets + public partial class SegmentationData { - [Newtonsoft.Json.JsonProperty("content", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.List Content { get; set; } + [Newtonsoft.Json.JsonProperty("contextId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? ContextId { get; set; } - [Newtonsoft.Json.JsonProperty("sidebar", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public System.Collections.Generic.List Sidebar { get; set; } + [Newtonsoft.Json.JsonProperty("orgNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string OrgNumber { get; set; } - public string ToJson() - { + [Newtonsoft.Json.JsonProperty("isTrialAccount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsTrialAccount { get; set; } - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("isTestOrFreeCompany", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsTestOrFreeCompany { get; set; } - } - public static Widgets FromJson(string data) - { + [Newtonsoft.Json.JsonProperty("employeeId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? EmployeeId { get; set; } - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + [Newtonsoft.Json.JsonProperty("isAccountant", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsAccountant { get; set; } - } + [Newtonsoft.Json.JsonProperty("isReseller", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsReseller { get; set; } - } + [Newtonsoft.Json.JsonProperty("employeeNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? EmployeeNumber { get; set; } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperRequestlogModel - { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public RequestlogModel Value { get; set; } + [Newtonsoft.Json.JsonProperty("packageName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string PackageName { get; set; } + + [Newtonsoft.Json.JsonProperty("industry", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Industry { get; set; } + + [Newtonsoft.Json.JsonProperty("outgoingInvoices", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? OutgoingInvoices { get; set; } + + [Newtonsoft.Json.JsonProperty("incomingInvoices", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? IncomingInvoices { get; set; } + + [Newtonsoft.Json.JsonProperty("companyStartDateYear", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CompanyStartDateYear { get; set; } + + [Newtonsoft.Json.JsonProperty("companyType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CompanyType { get; set; } + + [Newtonsoft.Json.JsonProperty("companyName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CompanyName { get; set; } + + [Newtonsoft.Json.JsonProperty("mainAccountBank", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string MainAccountBank { get; set; } + + [Newtonsoft.Json.JsonProperty("modules", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public SegmentationModules Modules { get; set; } + + [Newtonsoft.Json.JsonProperty("roles", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public SegmentationRoles Roles { get; set; } + + [Newtonsoft.Json.JsonProperty("pilotFeatures", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.Dictionary PilotFeatures { get; set; } + + [Newtonsoft.Json.JsonProperty("hackedOrSupportAccess", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? HackedOrSupportAccess { get; set; } + + [Newtonsoft.Json.JsonProperty("tripletexCustomerCategoryId3", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? TripletexCustomerCategoryId3 { get; set; } + + [Newtonsoft.Json.JsonProperty("tripletexCustomerCategoryId2", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? TripletexCustomerCategoryId2 { get; set; } public string ToJson() { @@ -104492,36 +105318,389 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ResponseWrapperRequestlogModel FromJson(string data) + public static SegmentationData FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class BankBalance + public partial class SegmentationModules { - /// - /// Bank balance amount - /// - [Newtonsoft.Json.JsonProperty("moneyAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? MoneyAmount { get; set; } + [Newtonsoft.Json.JsonProperty("moduleaccountinginternal", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Moduleaccountinginternal { get; set; } - /// - /// Currency - /// - [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Currency { get; set; } + [Newtonsoft.Json.JsonProperty("moduleaccountingexternal", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Moduleaccountingexternal { get; set; } - /// - /// Bank balance date - /// - [Newtonsoft.Json.JsonProperty("bankBalanceDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(DateFormatConverter))] - public System.DateTime? BankBalanceDate { get; set; } + [Newtonsoft.Json.JsonProperty("moduledepartment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Moduledepartment { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleprojectprognosis", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Moduleprojectprognosis { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleresourceallocation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Moduleresourceallocation { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleprojecteconomy", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Moduleprojecteconomy { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleinvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Moduleinvoice { get; set; } + + [Newtonsoft.Json.JsonProperty("modulebudget", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Modulebudget { get; set; } + + [Newtonsoft.Json.JsonProperty("modulereferencefee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Modulereferencefee { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleHourCost", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleHourCost { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleemployee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Moduleemployee { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleproject", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Moduleproject { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleprojectcategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Moduleprojectcategory { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleProjectBudget", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleProjectBudget { get; set; } + + [Newtonsoft.Json.JsonProperty("moduletask", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Moduletask { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleTravelExpense", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleTravelExpense { get; set; } + + [Newtonsoft.Json.JsonProperty("modulecustomer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Modulecustomer { get; set; } + + [Newtonsoft.Json.JsonProperty("modulenote", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Modulenote { get; set; } + + [Newtonsoft.Json.JsonProperty("modulesubscription", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Modulesubscription { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleproduct", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Moduleproduct { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleVoucherExport", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleVoucherExport { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleaccountingreports", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Moduleaccountingreports { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleCustomerCategories", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleCustomerCategories { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleCustomerCategory1", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleCustomerCategory1 { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleCustomerCategory2", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleCustomerCategory2 { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleCustomerCategory3", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleCustomerCategory3 { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleprojectsubcontract", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Moduleprojectsubcontract { get; set; } + + [Newtonsoft.Json.JsonProperty("approvehourlists", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Approvehourlists { get; set; } + + [Newtonsoft.Json.JsonProperty("approveinvoices", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Approveinvoices { get; set; } + + [Newtonsoft.Json.JsonProperty("approvetravelreports", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Approvetravelreports { get; set; } + + [Newtonsoft.Json.JsonProperty("completeweeklyhourlists", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Completeweeklyhourlists { get; set; } + + [Newtonsoft.Json.JsonProperty("completemonthlyhourlists", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Completemonthlyhourlists { get; set; } + + [Newtonsoft.Json.JsonProperty("approvemonthlyhourlists", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Approvemonthlyhourlists { get; set; } + + [Newtonsoft.Json.JsonProperty("invoiceapprovedhoursmandatory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Invoiceapprovedhoursmandatory { get; set; } + + [Newtonsoft.Json.JsonProperty("modulePayrollAccounting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModulePayrollAccounting { get; set; } + + [Newtonsoft.Json.JsonProperty("modulePayrollAccountingNO", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModulePayrollAccountingNO { get; set; } + + [Newtonsoft.Json.JsonProperty("modulehourlist", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Modulehourlist { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleTimeBalance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleTimeBalance { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleVacationBalance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleVacationBalance { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleWorkingHours", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleWorkingHours { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleCurrency { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleContact", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleContact { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleAutoProjectNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleAutoProjectNumber { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleWageExport", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleWageExport { get; set; } + + [Newtonsoft.Json.JsonProperty("approveWeeklyHourlists", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ApproveWeeklyHourlists { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleProvisionSalary", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleProvisionSalary { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleOrderNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleOrderNumber { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleOrderDiscount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleOrderDiscount { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleOrderMarkup", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleOrderMarkup { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleOrderLineCost", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleOrderLineCost { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleResourceGroups", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleResourceGroups { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleVendor", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleVendor { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleAutoCustomerNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleAutoCustomerNumber { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleAutoVendorNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleAutoVendorNumber { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleHistorical", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleHistorical { get; set; } + + [Newtonsoft.Json.JsonProperty("showTravelReportLetterhead", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ShowTravelReportLetterhead { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleOcr", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleOcr { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleRemit", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleRemit { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleRemitNets", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleRemitNets { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleRemitZtl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleRemitZtl { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleRemitAutoPay", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleRemitAutoPay { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleTravelExpenseRates", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleTravelExpenseRates { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleVoucherScanning", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleVoucherScanning { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleInvoiceScanning", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleInvoiceScanning { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleHolydayPlan", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleHolydayPlan { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleEmployeeCategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleEmployeeCategory { get; set; } + + [Newtonsoft.Json.JsonProperty("multipleCustomerCategories", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? MultipleCustomerCategories { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleProductInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleProductInvoice { get; set; } + + [Newtonsoft.Json.JsonProperty("autoInvoicing", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? AutoInvoicing { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleFactoring", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleFactoring { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleEmployeeAccounting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleEmployeeAccounting { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleDepartmentAccounting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleDepartmentAccounting { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleProjectAccounting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleProjectAccounting { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleWageProjectAccounting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleWageProjectAccounting { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleProductAccounting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleProductAccounting { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleElectro", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleElectro { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleNrf", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleNrf { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleResultBudget", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleResultBudget { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleVoucherTypes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleVoucherTypes { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleWarehouse", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleWarehouse { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleNetsEboks", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleNetsEboks { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleNetsPrintSalary", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleNetsPrintSalary { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleNetsPrintInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleNetsPrintInvoice { get; set; } + + [Newtonsoft.Json.JsonProperty("hourlyRateProjectsWriteUpDown", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? HourlyRateProjectsWriteUpDown { get; set; } + + [Newtonsoft.Json.JsonProperty("showRecentlyClosedProjectsOnSupplierInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ShowRecentlyClosedProjectsOnSupplierInvoice { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleEmail { get; set; } + + [Newtonsoft.Json.JsonProperty("sendPayslipsByEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? SendPayslipsByEmail { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleApproveVoucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleApproveVoucher { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleApproveProjectVoucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleApproveProjectVoucher { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleApproveDepartmentVoucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleApproveDepartmentVoucher { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleArchive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleArchive { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleOrderOut", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleOrderOut { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleMesan", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleMesan { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleAccountantConnectClient", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleAccountantConnectClient { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleDivisions", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleDivisions { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleBoligmappa", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleBoligmappa { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleAdditionProjectMarkup", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleAdditionProjectMarkup { get; set; } + + [Newtonsoft.Json.JsonProperty("tripletexSupportLoginAccessCompanyLevel", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? TripletexSupportLoginAccessCompanyLevel { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleCRM", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleCRM { get; set; } + + [Newtonsoft.Json.JsonProperty("modulePensionreport", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModulePensionreport { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleControlSchemaRequiredInvoicing", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleControlSchemaRequiredInvoicing { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleControlSchemaRequiredHourTracking", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleControlSchemaRequiredHourTracking { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleInvoiceOptionVipps", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleInvoiceOptionVipps { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleInvoiceOptionEfaktura", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleInvoiceOptionEfaktura { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleInvoiceOptionPaper", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleInvoiceOptionPaper { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleInvoiceOptionAvtaleGiro", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleInvoiceOptionAvtaleGiro { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleInvoiceOptionEhfIncoming", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleInvoiceOptionEhfIncoming { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleInvoiceOptionEhfOutbound", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleInvoiceOptionEhfOutbound { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleAPI20", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleAPI20 { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleAgro", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleAgro { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleMamut", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleMamut { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleFactoringAprila", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleFactoringAprila { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleCashCreditAprila", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleCashCreditAprila { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleInvoiceOptionAutoinvoiceEhf", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleInvoiceOptionAutoinvoiceEhf { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleSmartScan", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleSmartScan { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleAutoBankReconciliation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleAutoBankReconciliation { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleOffer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleOffer { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleVoucherAutomation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleVoucherAutomation { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleAmortization", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleAmortization { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleEncryptedPaySlip", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleEncryptedPaySlip { get; set; } + + [Newtonsoft.Json.JsonProperty("hourCostFactorProject", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? HourCostFactorProject { get; set; } + + [Newtonsoft.Json.JsonProperty("yearEndReport", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? YearEndReport { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleLogistics", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleLogistics { get; set; } + + [Newtonsoft.Json.JsonProperty("moduleIndustry", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ModuleIndustry { get; set; } public string ToJson() { @@ -104529,35 +105708,65 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static BankBalance FromJson(string data) + public static SegmentationModules FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class BankingSummaryDTO + public partial class SegmentationRoles { - /// - /// Amount of money coming in the account - /// - [Newtonsoft.Json.JsonProperty("moneyIn", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public MoneyAmount MoneyIn { get; set; } + [Newtonsoft.Json.JsonProperty("roleAdministrator", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? RoleAdministrator { get; set; } - /// - /// Amount of money going out of the account - /// - [Newtonsoft.Json.JsonProperty("moneyOut", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public MoneyAmount MoneyOut { get; set; } + [Newtonsoft.Json.JsonProperty("roleAccountAdministrator", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? RoleAccountAdministrator { get; set; } - /// - /// Bank balance - /// - [Newtonsoft.Json.JsonProperty("bankBalance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public BankBalance BankBalance { get; set; } + [Newtonsoft.Json.JsonProperty("roleSystemAdministrator", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? RoleSystemAdministrator { get; set; } + + [Newtonsoft.Json.JsonProperty("isAuthInvoicing", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsAuthInvoicing { get; set; } + + [Newtonsoft.Json.JsonProperty("isAuthCompanyAdmin", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsAuthCompanyAdmin { get; set; } + + [Newtonsoft.Json.JsonProperty("isAuthReadOnly", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsAuthReadOnly { get; set; } + + [Newtonsoft.Json.JsonProperty("isAuthCreateOrder", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsAuthCreateOrder { get; set; } + + [Newtonsoft.Json.JsonProperty("isAuthAccountingSettings", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsAuthAccountingSettings { get; set; } + + [Newtonsoft.Json.JsonProperty("isAuthCompanyWageAdmin", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsAuthCompanyWageAdmin { get; set; } + + [Newtonsoft.Json.JsonProperty("isAuthTravelsAndExpensesAdminSettings", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsAuthTravelsAndExpensesAdminSettings { get; set; } + + [Newtonsoft.Json.JsonProperty("isAuthInvoiceAdminSettings", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsAuthInvoiceAdminSettings { get; set; } + + [Newtonsoft.Json.JsonProperty("isAuthInboxVoucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsAuthInboxVoucher { get; set; } + + [Newtonsoft.Json.JsonProperty("isAutWageAdminSetting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsAutWageAdminSetting { get; set; } + + [Newtonsoft.Json.JsonProperty("isAuthWageSettings", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsAuthWageSettings { get; set; } + + [Newtonsoft.Json.JsonProperty("isAuthBankReconciliation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsAuthBankReconciliation { get; set; } + + [Newtonsoft.Json.JsonProperty("isAuthAllVouchers", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsAuthAllVouchers { get; set; } public string ToJson() { @@ -104565,35 +105774,23 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static BankingSummaryDTO FromJson(string data) + public static SegmentationRoles FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class MoneyAmount + public partial class Widgets { - /// - /// Amount of money - /// - [Newtonsoft.Json.JsonProperty("amount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? Amount { get; set; } - - /// - /// Currency - /// - [Newtonsoft.Json.JsonProperty("currency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Currency { get; set; } + [Newtonsoft.Json.JsonProperty("content", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.List Content { get; set; } - /// - /// Percentage change compared to previous 30 days - /// - [Newtonsoft.Json.JsonProperty("percentageChange", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? PercentageChange { get; set; } + [Newtonsoft.Json.JsonProperty("sidebar", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, ItemConverterType = typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public System.Collections.Generic.List Sidebar { get; set; } public string ToJson() { @@ -104601,20 +105798,20 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static MoneyAmount FromJson(string data) + public static Widgets FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperBankingSummaryDTO + public partial class ResponseWrapperRequestlogModel { [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public BankingSummaryDTO Value { get; set; } + public RequestlogModel Value { get; set; } public string ToJson() { @@ -104622,10 +105819,10 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ResponseWrapperBankingSummaryDTO FromJson(string data) + public static ResponseWrapperRequestlogModel FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } @@ -104640,6 +105837,9 @@ public partial class GetStartedSummaryDTO [Newtonsoft.Json.JsonProperty("totalNumberOfTasks", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? TotalNumberOfTasks { get; set; } + [Newtonsoft.Json.JsonProperty("daysRemaining", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? DaysRemaining { get; set; } + [Newtonsoft.Json.JsonProperty("tasks", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.List Tasks { get; set; } @@ -104917,6 +106117,9 @@ public partial class SalarySummaryDTO [Newtonsoft.Json.JsonProperty("validAltInnConfig", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? ValidAltInnConfig { get; set; } + [Newtonsoft.Json.JsonProperty("salaryVoucherPresent", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? SalaryVoucherPresent { get; set; } + public string ToJson() { @@ -105130,6 +106333,200 @@ public static VoucherSummaryDTO FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ListResponseVatStatus + { + /// + /// Indicates whether there are more values available. Note: The value is not exact + /// + [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? FullResultSize { get; set; } + + [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? From { get; set; } + + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + /// + /// Used to know if the paginated list has changed. + /// + [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VersionDigest { get; set; } + + [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Values { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ListResponseVatStatus FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class VatDeliveryStatus + { + /// + /// The delivery status of the VAT + /// + [Newtonsoft.Json.JsonProperty("status", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public VatDeliveryStatusStatus? Status { get; set; } + + /// + /// Employee that last updated the payment status + /// + [Newtonsoft.Json.JsonProperty("employee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Employee Employee { get; set; } + + /// + /// Date and time the delivery status was updated + /// + [Newtonsoft.Json.JsonProperty("time", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Time { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static VatDeliveryStatus FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class VatPaymentStatus + { + /// + /// The payment status of the VAT + /// + [Newtonsoft.Json.JsonProperty("status", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public VatPaymentStatusStatus? Status { get; set; } + + /// + /// Total amount in NOK + /// + [Newtonsoft.Json.JsonProperty("totalAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? TotalAmount { get; set; } + + /// + /// Remaining amount in NOK + /// + [Newtonsoft.Json.JsonProperty("remainingAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? RemainingAmount { get; set; } + + /// + /// Employee that last updated the payment status + /// + [Newtonsoft.Json.JsonProperty("employee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Employee Employee { get; set; } + + /// + /// Date and time the delivery status was updated + /// + [Newtonsoft.Json.JsonProperty("time", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Time { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static VatPaymentStatus FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class VatStatus + { + /// + /// Information about the company + /// + [Newtonsoft.Json.JsonProperty("company", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Company Company { get; set; } + + /// + /// Year of VAT + /// + [Newtonsoft.Json.JsonProperty("year", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Year { get; set; } + + /// + /// VAT term + /// + [Newtonsoft.Json.JsonProperty("term", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Term { get; set; } + + /// + /// The delivery status + /// + [Newtonsoft.Json.JsonProperty("deliveryStatus", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public VatDeliveryStatus DeliveryStatus { get; set; } + + /// + /// The payment status + /// + [Newtonsoft.Json.JsonProperty("paymentStatus", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public VatPaymentStatus PaymentStatus { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static VatStatus FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperVatStatus + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public VatStatus Value { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ResponseWrapperVatStatus FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ResponseWrapperVatReturns2022 { @@ -105207,10 +106604,10 @@ public partial class VatReturns2022 public int? ReceiptId { get; set; } [Newtonsoft.Json.JsonProperty("totalAmountVatToPay", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TlxNumber TotalAmountVatToPay { get; set; } + public decimal? TotalAmountVatToPay { get; set; } [Newtonsoft.Json.JsonProperty("remainingAmountVatToPay", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public TlxNumber RemainingAmountVatToPay { get; set; } + public decimal? RemainingAmountVatToPay { get; set; } [Newtonsoft.Json.JsonProperty("isPaid", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? IsPaid { get; set; } @@ -106187,28 +107584,10 @@ public static Comment FromJson(string data) } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ListResponseComment + public partial class ResponseWrapperComment { - /// - /// Indicates whether there are more values available. Note: The value is not exact - /// - [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? FullResultSize { get; set; } - - [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? From { get; set; } - - [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? Count { get; set; } - - /// - /// Used to know if the paginated list has changed. - /// - [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string VersionDigest { get; set; } - - [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Values { get; set; } + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Comment Value { get; set; } public string ToJson() { @@ -106216,20 +107595,23 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ListResponseComment FromJson(string data) + public static ResponseWrapperComment FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperComment + public partial class CommentCreation { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public Comment Value { get; set; } + /// + /// The text of the comment to be created + /// + [Newtonsoft.Json.JsonProperty("commentText", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CommentText { get; set; } public string ToJson() { @@ -106237,23 +107619,38 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ResponseWrapperComment FromJson(string data) + public static CommentCreation FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class CommentCreation + public partial class ListResponseComment { /// - /// The text of the comment to be created + /// Indicates whether there are more values available. Note: The value is not exact /// - [Newtonsoft.Json.JsonProperty("commentText", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CommentText { get; set; } + [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? FullResultSize { get; set; } + + [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? From { get; set; } + + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + /// + /// Used to know if the paginated list has changed. + /// + [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VersionDigest { get; set; } + + [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Values { get; set; } public string ToJson() { @@ -106261,10 +107658,10 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static CommentCreation FromJson(string data) + public static ListResponseComment FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } @@ -106282,6 +107679,12 @@ public partial class ArchiveModelTypes [Newtonsoft.Json.JsonProperty("project", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? Project { get; set; } + [Newtonsoft.Json.JsonProperty("order", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Order { get; set; } + + [Newtonsoft.Json.JsonProperty("offer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Offer { get; set; } + [Newtonsoft.Json.JsonProperty("product", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? Product { get; set; } @@ -106364,6 +107767,13 @@ public partial class VoucherInboxArchive [Newtonsoft.Json.JsonProperty("modelId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? ModelId { get; set; } + /// + /// Add to document to invoice + /// + [Newtonsoft.Json.JsonProperty("addToInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public VoucherInboxArchiveAddToInvoice? AddToInvoice { get; set; } + public string ToJson() { @@ -106469,9 +107879,6 @@ public partial class VoucherInboxContext [Newtonsoft.Json.JsonProperty("contextId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? ContextId { get; set; } - [Newtonsoft.Json.JsonProperty("locale", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Locale { get; set; } - [Newtonsoft.Json.JsonProperty("companyName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string CompanyName { get; set; } @@ -106490,41 +107897,26 @@ public partial class VoucherInboxContext [Newtonsoft.Json.JsonProperty("showGoToPayment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? ShowGoToPayment { get; set; } - [Newtonsoft.Json.JsonProperty("hasDepartment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? HasDepartment { get; set; } - - [Newtonsoft.Json.JsonProperty("hasProject", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? HasProject { get; set; } + [Newtonsoft.Json.JsonProperty("showClientInbox", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ShowClientInbox { get; set; } [Newtonsoft.Json.JsonProperty("hasAutomation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? HasAutomation { get; set; } - [Newtonsoft.Json.JsonProperty("canUserUpload", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? CanUserUpload { get; set; } - - [Newtonsoft.Json.JsonProperty("canUserEdit", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? CanUserEdit { get; set; } - - [Newtonsoft.Json.JsonProperty("canUserDelete", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? CanUserDelete { get; set; } + [Newtonsoft.Json.JsonProperty("hasEfoNelfoInvoices", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? HasEfoNelfoInvoices { get; set; } - [Newtonsoft.Json.JsonProperty("canUserRegisterIncomingInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? CanUserRegisterIncomingInvoice { get; set; } + [Newtonsoft.Json.JsonProperty("hasBankAgreement", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? HasBankAgreement { get; set; } - [Newtonsoft.Json.JsonProperty("canUserRegisterBankReconciliation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? CanUserRegisterBankReconciliation { get; set; } + [Newtonsoft.Json.JsonProperty("canUserUpload", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? CanUserUpload { get; set; } [Newtonsoft.Json.JsonProperty("canUserRegisterAdvancedVoucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? CanUserRegisterAdvancedVoucher { get; set; } - [Newtonsoft.Json.JsonProperty("canUserRegisterPaymentIn", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? CanUserRegisterPaymentIn { get; set; } - - [Newtonsoft.Json.JsonProperty("canUserRegisterIncome", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? CanUserRegisterIncome { get; set; } - - [Newtonsoft.Json.JsonProperty("canUserRegisterCustomsDeclaration", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? CanUserRegisterCustomsDeclaration { get; set; } + [Newtonsoft.Json.JsonProperty("canUserAccessAutomationPage", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? CanUserAccessAutomationPage { get; set; } [Newtonsoft.Json.JsonProperty("inDeveloperMode", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? InDeveloperMode { get; set; } @@ -106541,8 +107933,8 @@ public partial class VoucherInboxContext [Newtonsoft.Json.JsonProperty("employeeId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? EmployeeId { get; set; } - [Newtonsoft.Json.JsonProperty("automatedVouchersThisWeek", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? AutomatedVouchersThisWeek { get; set; } + [Newtonsoft.Json.JsonProperty("automatedVouchersLast30Days", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? AutomatedVouchersLast30Days { get; set; } [Newtonsoft.Json.JsonProperty("tripletexStartDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string TripletexStartDate { get; set; } @@ -106592,6 +107984,9 @@ public partial class VoucherInboxItem [Newtonsoft.Json.JsonProperty("companyId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? CompanyId { get; set; } + [Newtonsoft.Json.JsonProperty("companyName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CompanyName { get; set; } + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Description { get; set; } @@ -106599,6 +107994,10 @@ public partial class VoucherInboxItem [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] public VoucherInboxItemType? Type { get; set; } + [Newtonsoft.Json.JsonProperty("filterType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public VoucherInboxItemFilterType? FilterType { get; set; } + [Newtonsoft.Json.JsonProperty("receivedDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ReceivedDate { get; set; } @@ -106648,41 +108047,21 @@ public partial class VoucherInboxItem [Newtonsoft.Json.JsonProperty("invoiceDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string InvoiceDate { get; set; } - [Newtonsoft.Json.JsonProperty("invoiceDateSourceType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public VoucherInboxItemInvoiceDateSourceType? InvoiceDateSourceType { get; set; } - [Newtonsoft.Json.JsonProperty("dueDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string DueDate { get; set; } [Newtonsoft.Json.JsonProperty("isDue", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? IsDue { get; set; } - [Newtonsoft.Json.JsonProperty("dueDateSourceType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public VoucherInboxItemDueDateSourceType? DueDateSourceType { get; set; } - [Newtonsoft.Json.JsonProperty("supplierName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string SupplierName { get; set; } - [Newtonsoft.Json.JsonProperty("supplierSourceType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public VoucherInboxItemSupplierSourceType? SupplierSourceType { get; set; } - [Newtonsoft.Json.JsonProperty("invoiceAmount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public decimal? InvoiceAmount { get; set; } - [Newtonsoft.Json.JsonProperty("invoiceAmountSourceType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public VoucherInboxItemInvoiceAmountSourceType? InvoiceAmountSourceType { get; set; } - [Newtonsoft.Json.JsonProperty("invoiceCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string InvoiceCurrency { get; set; } - [Newtonsoft.Json.JsonProperty("invoiceCurrencySourceType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public VoucherInboxItemInvoiceCurrencySourceType? InvoiceCurrencySourceType { get; set; } - [Newtonsoft.Json.JsonProperty("documents", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.List Documents { get; set; } @@ -106695,10 +108074,6 @@ public partial class VoucherInboxItem [Newtonsoft.Json.JsonProperty("account", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Account { get; set; } - [Newtonsoft.Json.JsonProperty("accountSourceType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public VoucherInboxItemAccountSourceType? AccountSourceType { get; set; } - [Newtonsoft.Json.JsonProperty("vatNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string VatNumber { get; set; } @@ -106708,10 +108083,6 @@ public partial class VoucherInboxItem [Newtonsoft.Json.JsonProperty("vatPercentage", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public decimal? VatPercentage { get; set; } - [Newtonsoft.Json.JsonProperty("vatSourceType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public VoucherInboxItemVatSourceType? VatSourceType { get; set; } - [Newtonsoft.Json.JsonProperty("departmentId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? DepartmentId { get; set; } @@ -106721,33 +108092,18 @@ public partial class VoucherInboxItem [Newtonsoft.Json.JsonProperty("project", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Project { get; set; } - [Newtonsoft.Json.JsonProperty("projectSourceType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public VoucherInboxItemProjectSourceType? ProjectSourceType { get; set; } - [Newtonsoft.Json.JsonProperty("department", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Department { get; set; } - [Newtonsoft.Json.JsonProperty("departmentSourceType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public VoucherInboxItemDepartmentSourceType? DepartmentSourceType { get; set; } - [Newtonsoft.Json.JsonProperty("paymentTypeId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? PaymentTypeId { get; set; } [Newtonsoft.Json.JsonProperty("paymentType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string PaymentType { get; set; } - [Newtonsoft.Json.JsonProperty("paymentTypeSourceType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public VoucherInboxItemPaymentTypeSourceType? PaymentTypeSourceType { get; set; } - [Newtonsoft.Json.JsonProperty("importFailureReason", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ImportFailureReason { get; set; } - [Newtonsoft.Json.JsonProperty("accountingPeriod", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string AccountingPeriod { get; set; } - [Newtonsoft.Json.JsonProperty("filename", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Filename { get; set; } @@ -106835,6 +108191,15 @@ public partial class VoucherInboxItem [Newtonsoft.Json.JsonProperty("canBeReclaimed", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? CanBeReclaimed { get; set; } + [Newtonsoft.Json.JsonProperty("canChangeDescription", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? CanChangeDescription { get; set; } + + [Newtonsoft.Json.JsonProperty("preferDetailedInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? PreferDetailedInvoice { get; set; } + + [Newtonsoft.Json.JsonProperty("approvalHasBeenRejected", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ApprovalHasBeenRejected { get; set; } + [Newtonsoft.Json.JsonProperty("allowPostingBeforeVoucherApproved", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? AllowPostingBeforeVoucherApproved { get; set; } @@ -107707,6 +109072,78 @@ public static ResponseWrapperMenu FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ListResponseMenuItemDTO + { + /// + /// Indicates whether there are more values available. Note: The value is not exact + /// + [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? FullResultSize { get; set; } + + [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? From { get; set; } + + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + /// + /// Used to know if the paginated list has changed. + /// + [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VersionDigest { get; set; } + + [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Values { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ListResponseMenuItemDTO FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class MenuItemDTO + { + [Newtonsoft.Json.JsonProperty("title", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Title { get; set; } + + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Id { get; set; } + + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } + + [Newtonsoft.Json.JsonProperty("category", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Category { get; set; } + + [Newtonsoft.Json.JsonProperty("child", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Child { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static MenuItemDTO FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ListResponseNews { @@ -108150,6 +109587,9 @@ public partial class HelpCenterArticles [Newtonsoft.Json.JsonProperty("helpCenterUrl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string HelpCenterUrl { get; set; } + [Newtonsoft.Json.JsonProperty("helpCenterSearchUrl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string HelpCenterSearchUrl { get; set; } + [Newtonsoft.Json.JsonProperty("keyboardShortcutsArticleUrl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string KeyboardShortcutsArticleUrl { get; set; } @@ -108304,460 +109744,10 @@ public static ResponseWrapperSegmentationData FromJson(string data) } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class SegmentationData - { - [Newtonsoft.Json.JsonProperty("contextId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? ContextId { get; set; } - - [Newtonsoft.Json.JsonProperty("orgNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string OrgNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("isTrialAccount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsTrialAccount { get; set; } - - [Newtonsoft.Json.JsonProperty("isTestOrFreeCompany", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsTestOrFreeCompany { get; set; } - - [Newtonsoft.Json.JsonProperty("employeeId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? EmployeeId { get; set; } - - [Newtonsoft.Json.JsonProperty("isAccountant", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsAccountant { get; set; } - - [Newtonsoft.Json.JsonProperty("isReseller", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsReseller { get; set; } - - [Newtonsoft.Json.JsonProperty("employeeNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? EmployeeNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("packageName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string PackageName { get; set; } - - [Newtonsoft.Json.JsonProperty("industry", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Industry { get; set; } - - [Newtonsoft.Json.JsonProperty("outgoingInvoices", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? OutgoingInvoices { get; set; } - - [Newtonsoft.Json.JsonProperty("incomingInvoices", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? IncomingInvoices { get; set; } - - [Newtonsoft.Json.JsonProperty("companyStartDateYear", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CompanyStartDateYear { get; set; } - - [Newtonsoft.Json.JsonProperty("companyType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CompanyType { get; set; } - - [Newtonsoft.Json.JsonProperty("companyName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CompanyName { get; set; } - - [Newtonsoft.Json.JsonProperty("mainAccountBank", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string MainAccountBank { get; set; } - - [Newtonsoft.Json.JsonProperty("modules", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public SegmentationModules Modules { get; set; } - - [Newtonsoft.Json.JsonProperty("roles", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public SegmentationRoles Roles { get; set; } - - [Newtonsoft.Json.JsonProperty("pilotFeatures", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.Dictionary PilotFeatures { get; set; } - - [Newtonsoft.Json.JsonProperty("hackedOrSupportAccess", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? HackedOrSupportAccess { get; set; } - - [Newtonsoft.Json.JsonProperty("tripletexCustomerCategoryId3", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? TripletexCustomerCategoryId3 { get; set; } - - [Newtonsoft.Json.JsonProperty("tripletexCustomerCategoryId2", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public int? TripletexCustomerCategoryId2 { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static SegmentationData FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class SegmentationModules + public partial class ResponseWrapperSupportAPIMeta { - [Newtonsoft.Json.JsonProperty("moduleaccountinginternal", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduleaccountinginternal { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleaccountingexternal", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduleaccountingexternal { get; set; } - - [Newtonsoft.Json.JsonProperty("moduledepartment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduledepartment { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleprojectprognosis", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduleprojectprognosis { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleresourceallocation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduleresourceallocation { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleprojecteconomy", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduleprojecteconomy { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleinvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduleinvoice { get; set; } - - [Newtonsoft.Json.JsonProperty("modulebudget", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Modulebudget { get; set; } - - [Newtonsoft.Json.JsonProperty("modulereferencefee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Modulereferencefee { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleHourCost", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleHourCost { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleemployee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduleemployee { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleproject", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduleproject { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleprojectcategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduleprojectcategory { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleProjectBudget", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleProjectBudget { get; set; } - - [Newtonsoft.Json.JsonProperty("moduletask", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduletask { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleTravelExpense", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleTravelExpense { get; set; } - - [Newtonsoft.Json.JsonProperty("modulecustomer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Modulecustomer { get; set; } - - [Newtonsoft.Json.JsonProperty("modulenote", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Modulenote { get; set; } - - [Newtonsoft.Json.JsonProperty("modulesubscription", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Modulesubscription { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleproduct", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduleproduct { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleVoucherExport", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleVoucherExport { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleaccountingreports", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduleaccountingreports { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleCustomerCategories", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleCustomerCategories { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleCustomerCategory1", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleCustomerCategory1 { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleCustomerCategory2", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleCustomerCategory2 { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleCustomerCategory3", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleCustomerCategory3 { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleprojectsubcontract", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Moduleprojectsubcontract { get; set; } - - [Newtonsoft.Json.JsonProperty("approvehourlists", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Approvehourlists { get; set; } - - [Newtonsoft.Json.JsonProperty("approveinvoices", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Approveinvoices { get; set; } - - [Newtonsoft.Json.JsonProperty("approvetravelreports", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Approvetravelreports { get; set; } - - [Newtonsoft.Json.JsonProperty("completeweeklyhourlists", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Completeweeklyhourlists { get; set; } - - [Newtonsoft.Json.JsonProperty("completemonthlyhourlists", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Completemonthlyhourlists { get; set; } - - [Newtonsoft.Json.JsonProperty("approvemonthlyhourlists", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Approvemonthlyhourlists { get; set; } - - [Newtonsoft.Json.JsonProperty("invoiceapprovedhoursmandatory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Invoiceapprovedhoursmandatory { get; set; } - - [Newtonsoft.Json.JsonProperty("modulePayrollAccounting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModulePayrollAccounting { get; set; } - - [Newtonsoft.Json.JsonProperty("modulePayrollAccountingNO", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModulePayrollAccountingNO { get; set; } - - [Newtonsoft.Json.JsonProperty("modulehourlist", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Modulehourlist { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleTimeBalance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleTimeBalance { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleVacationBalance", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleVacationBalance { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleWorkingHours", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleWorkingHours { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleCurrency", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleCurrency { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleContact", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleContact { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleAutoProjectNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleAutoProjectNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleWageExport", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleWageExport { get; set; } - - [Newtonsoft.Json.JsonProperty("approveWeeklyHourlists", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ApproveWeeklyHourlists { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleProvisionSalary", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleProvisionSalary { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleOrderNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleOrderNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleOrderDiscount", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleOrderDiscount { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleOrderMarkup", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleOrderMarkup { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleOrderLineCost", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleOrderLineCost { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleResourceGroups", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleResourceGroups { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleVendor", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleVendor { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleAutoCustomerNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleAutoCustomerNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleAutoVendorNumber", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleAutoVendorNumber { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleHistorical", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleHistorical { get; set; } - - [Newtonsoft.Json.JsonProperty("showTravelReportLetterhead", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ShowTravelReportLetterhead { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleOcr", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleOcr { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleRemit", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleRemit { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleRemitNets", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleRemitNets { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleRemitZtl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleRemitZtl { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleRemitAutoPay", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleRemitAutoPay { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleTravelExpenseRates", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleTravelExpenseRates { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleVoucherScanning", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleVoucherScanning { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleInvoiceScanning", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleInvoiceScanning { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleHolydayPlan", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleHolydayPlan { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleEmployeeCategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleEmployeeCategory { get; set; } - - [Newtonsoft.Json.JsonProperty("multipleCustomerCategories", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? MultipleCustomerCategories { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleProductInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleProductInvoice { get; set; } - - [Newtonsoft.Json.JsonProperty("autoInvoicing", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? AutoInvoicing { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleFactoring", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleFactoring { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleEmployeeAccounting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleEmployeeAccounting { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleDepartmentAccounting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleDepartmentAccounting { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleProjectAccounting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleProjectAccounting { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleWageProjectAccounting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleWageProjectAccounting { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleProductAccounting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleProductAccounting { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleElectro", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleElectro { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleNrf", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleNrf { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleResultBudget", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleResultBudget { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleVoucherTypes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleVoucherTypes { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleWarehouse", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleWarehouse { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleNetsEboks", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleNetsEboks { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleNetsPrintSalary", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleNetsPrintSalary { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleNetsPrintInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleNetsPrintInvoice { get; set; } - - [Newtonsoft.Json.JsonProperty("hourlyRateProjectsWriteUpDown", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? HourlyRateProjectsWriteUpDown { get; set; } - - [Newtonsoft.Json.JsonProperty("showRecentlyClosedProjectsOnSupplierInvoice", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ShowRecentlyClosedProjectsOnSupplierInvoice { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleEmail { get; set; } - - [Newtonsoft.Json.JsonProperty("sendPayslipsByEmail", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? SendPayslipsByEmail { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleApproveVoucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleApproveVoucher { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleApproveProjectVoucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleApproveProjectVoucher { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleApproveDepartmentVoucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleApproveDepartmentVoucher { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleArchive", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleArchive { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleOrderOut", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleOrderOut { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleMesan", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleMesan { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleAccountantConnectClient", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleAccountantConnectClient { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleDivisions", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleDivisions { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleBoligmappa", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleBoligmappa { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleAdditionProjectMarkup", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleAdditionProjectMarkup { get; set; } - - [Newtonsoft.Json.JsonProperty("tripletexSupportLoginAccessCompanyLevel", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? TripletexSupportLoginAccessCompanyLevel { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleCRM", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleCRM { get; set; } - - [Newtonsoft.Json.JsonProperty("modulePensionreport", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModulePensionreport { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleControlSchemaRequiredInvoicing", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleControlSchemaRequiredInvoicing { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleControlSchemaRequiredHourTracking", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleControlSchemaRequiredHourTracking { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleInvoiceOptionVipps", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleInvoiceOptionVipps { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleInvoiceOptionEfaktura", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleInvoiceOptionEfaktura { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleInvoiceOptionPaper", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleInvoiceOptionPaper { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleInvoiceOptionAvtaleGiro", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleInvoiceOptionAvtaleGiro { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleInvoiceOptionEhfIncoming", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleInvoiceOptionEhfIncoming { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleInvoiceOptionEhfOutbound", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleInvoiceOptionEhfOutbound { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleAPI20", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleAPI20 { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleAgro", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleAgro { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleMamut", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleMamut { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleFactoringAprila", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleFactoringAprila { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleCashCreditAprila", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleCashCreditAprila { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleInvoiceOptionAutoinvoiceEhf", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleInvoiceOptionAutoinvoiceEhf { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleSmartScan", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleSmartScan { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleAutoBankReconciliation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleAutoBankReconciliation { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleOffer", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleOffer { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleVoucherAutomation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleVoucherAutomation { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleAmortization", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleAmortization { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleEncryptedPaySlip", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleEncryptedPaySlip { get; set; } - - [Newtonsoft.Json.JsonProperty("hourCostFactorProject", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? HourCostFactorProject { get; set; } - - [Newtonsoft.Json.JsonProperty("yearEndReport", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? YearEndReport { get; set; } - - [Newtonsoft.Json.JsonProperty("moduleLogistics", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? ModuleLogistics { get; set; } + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public SupportAPIMeta Value { get; set; } public string ToJson() { @@ -108765,59 +109755,26 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static SegmentationModules FromJson(string data) + public static ResponseWrapperSupportAPIMeta FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class SegmentationRoles + public partial class SupportAPIMeta { - [Newtonsoft.Json.JsonProperty("roleAdministrator", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? RoleAdministrator { get; set; } - - [Newtonsoft.Json.JsonProperty("roleAccountAdministrator", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? RoleAccountAdministrator { get; set; } - - [Newtonsoft.Json.JsonProperty("roleSystemAdministrator", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? RoleSystemAdministrator { get; set; } - - [Newtonsoft.Json.JsonProperty("isAuthInvoicing", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsAuthInvoicing { get; set; } - - [Newtonsoft.Json.JsonProperty("isAuthCompanyAdmin", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsAuthCompanyAdmin { get; set; } - - [Newtonsoft.Json.JsonProperty("isAuthReadOnly", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsAuthReadOnly { get; set; } - - [Newtonsoft.Json.JsonProperty("isAuthCreateOrder", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsAuthCreateOrder { get; set; } - - [Newtonsoft.Json.JsonProperty("isAuthAccountingSettings", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsAuthAccountingSettings { get; set; } - - [Newtonsoft.Json.JsonProperty("isAuthCompanyWageAdmin", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsAuthCompanyWageAdmin { get; set; } - - [Newtonsoft.Json.JsonProperty("isAuthTravelsAndExpensesAdminSettings", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsAuthTravelsAndExpensesAdminSettings { get; set; } - - [Newtonsoft.Json.JsonProperty("isAuthInvoiceAdminSettings", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsAuthInvoiceAdminSettings { get; set; } - - [Newtonsoft.Json.JsonProperty("isAuthInboxVoucher", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsAuthInboxVoucher { get; set; } + [Newtonsoft.Json.JsonProperty("available", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Available { get; set; } - [Newtonsoft.Json.JsonProperty("isAutWageAdminSetting", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsAutWageAdminSetting { get; set; } + [Newtonsoft.Json.JsonProperty("sseUrl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string SseUrl { get; set; } - [Newtonsoft.Json.JsonProperty("isAuthWageSettings", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? IsAuthWageSettings { get; set; } + [Newtonsoft.Json.JsonProperty("alwaysShowChatButton", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? AlwaysShowChatButton { get; set; } public string ToJson() { @@ -108825,10 +109782,10 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static SegmentationRoles FromJson(string data) + public static SupportAPIMeta FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } @@ -108908,10 +109865,10 @@ public static ListResponseChatResponseDTO FromJson(string data) } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperSupportAPIMeta + public partial class ResponseWrapperChatResponseDTO { [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public SupportAPIMeta Value { get; set; } + public ChatResponseDTO Value { get; set; } public string ToJson() { @@ -108919,23 +109876,53 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ResponseWrapperSupportAPIMeta FromJson(string data) + public static ResponseWrapperChatResponseDTO FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class SupportAPIMeta + public partial class ResponseWrapperZendeskChatMetaDTO { - [Newtonsoft.Json.JsonProperty("available", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public bool? Available { get; set; } + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public ZendeskChatMetaDTO Value { get; set; } - [Newtonsoft.Json.JsonProperty("sseUrl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string SseUrl { get; set; } + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ResponseWrapperZendeskChatMetaDTO FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ZendeskChatMetaDTO + { + [Newtonsoft.Json.JsonProperty("apiKey", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ApiKey { get; set; } + + [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Name { get; set; } + + [Newtonsoft.Json.JsonProperty("email", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Email { get; set; } + + [Newtonsoft.Json.JsonProperty("locale", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Locale { get; set; } + + [Newtonsoft.Json.JsonProperty("departments", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Departments { get; set; } public string ToJson() { @@ -108943,20 +109930,27 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static SupportAPIMeta FromJson(string data) + public static ZendeskChatMetaDTO FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperChatResponseDTO + public partial class Altinn2ReceptionReceipt { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ChatResponseDTO Value { get; set; } + [Newtonsoft.Json.JsonProperty("subReceipts", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List SubReceipts { get; set; } + + [Newtonsoft.Json.JsonProperty("messages", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Messages { get; set; } + + [Newtonsoft.Json.JsonProperty("status", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Altinn2ReceptionReceiptStatus? Status { get; set; } public string ToJson() { @@ -108964,20 +109958,42 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ResponseWrapperChatResponseDTO FromJson(string data) + public static Altinn2ReceptionReceipt FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ResponseWrapperZendeskChatMetaDTO + public partial class Altinn2ReceptionReceiptMessage { - [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public ZendeskChatMetaDTO Value { get; set; } + [Newtonsoft.Json.JsonProperty("severity", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public Altinn2ReceptionReceiptMessageSeverity? Severity { get; set; } + + [Newtonsoft.Json.JsonProperty("subject", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Subject { get; set; } + + [Newtonsoft.Json.JsonProperty("description", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Description { get; set; } + + [Newtonsoft.Json.JsonProperty("fieldName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FieldName { get; set; } + + [Newtonsoft.Json.JsonProperty("deviationInfo", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Altinn2ReceptionReceiptMessageDeviationInfo DeviationInfo { get; set; } + + [Newtonsoft.Json.JsonProperty("positionInfo", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Altinn2ReceptionReceiptMessagePositionInfo PositionInfo { get; set; } + + [Newtonsoft.Json.JsonProperty("raw", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Raw { get; set; } + + [Newtonsoft.Json.JsonProperty("xpath", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Xpath { get; set; } public string ToJson() { @@ -108985,32 +110001,47 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ResponseWrapperZendeskChatMetaDTO FromJson(string data) + public static Altinn2ReceptionReceiptMessage FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class ZendeskChatMetaDTO + public partial class Altinn2ReceptionReceiptMessageDeviationInfo { - [Newtonsoft.Json.JsonProperty("apiKey", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ApiKey { get; set; } + [Newtonsoft.Json.JsonProperty("submittedValue", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string SubmittedValue { get; set; } - [Newtonsoft.Json.JsonProperty("name", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Name { get; set; } + [Newtonsoft.Json.JsonProperty("expectedValue", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ExpectedValue { get; set; } - [Newtonsoft.Json.JsonProperty("email", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Email { get; set; } + public string ToJson() + { - [Newtonsoft.Json.JsonProperty("locale", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Locale { get; set; } + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - [Newtonsoft.Json.JsonProperty("departments", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List Departments { get; set; } + } + public static Altinn2ReceptionReceiptMessageDeviationInfo FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class Altinn2ReceptionReceiptMessagePositionInfo + { + [Newtonsoft.Json.JsonProperty("line", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Line { get; set; } + + [Newtonsoft.Json.JsonProperty("position", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Position { get; set; } public string ToJson() { @@ -109018,10 +110049,10 @@ public string ToJson() return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); } - public static ZendeskChatMetaDTO FromJson(string data) + public static Altinn2ReceptionReceiptMessagePositionInfo FromJson(string data) { - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); } @@ -109099,6 +110130,38 @@ public static AnnualAccountsSubTotalSection FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class AnnualAccountsSubmissionResult + { + [Newtonsoft.Json.JsonProperty("failureStep", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public AnnualAccountsSubmissionResultFailureStep FailureStep { get; set; } + + [Newtonsoft.Json.JsonProperty("failureCategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public AnnualAccountsSubmissionResultFailureCategory? FailureCategory { get; set; } + + [Newtonsoft.Json.JsonProperty("failureMainMessage", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FailureMainMessage { get; set; } + + [Newtonsoft.Json.JsonProperty("receptionReceipt", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Altinn2ReceptionReceipt ReceptionReceipt { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static AnnualAccountsSubmissionResult FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ResponseWrapperYearEndAnnualAccounts { @@ -109145,9 +110208,14 @@ public partial class YearEndAnnualAccounts [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] public YearEndAnnualAccountsStatus? Status { get; set; } - [Newtonsoft.Json.JsonProperty("submissionReceptionStatus", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public YearEndAnnualAccountsSubmissionReceptionStatus? SubmissionReceptionStatus { get; set; } + [Newtonsoft.Json.JsonProperty("submissionInProgress", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? SubmissionInProgress { get; set; } + + [Newtonsoft.Json.JsonProperty("submissionAttemptDate", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string SubmissionAttemptDate { get; set; } + + [Newtonsoft.Json.JsonProperty("submissionResult", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public AnnualAccountsSubmissionResult SubmissionResult { get; set; } [Newtonsoft.Json.JsonProperty("operatingProfitRevenues", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public AnnualAccountsSubTotalSection OperatingProfitRevenues { get; set; } @@ -109420,6 +110488,9 @@ public partial class TangibleFixedAsset [Newtonsoft.Json.JsonProperty("depreciation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public decimal? Depreciation { get; set; } + [Newtonsoft.Json.JsonProperty("writeupsOrWritedowns", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? WriteupsOrWritedowns { get; set; } + [Newtonsoft.Json.JsonProperty("depreciationTaxValue", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public decimal? DepreciationTaxValue { get; set; } @@ -109492,6 +110563,150 @@ public static TangibleFixedAsset FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class TaxReturnSubmissionResult + { + [Newtonsoft.Json.JsonProperty("failureStep", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public TaxReturnSubmissionResultFailureStep FailureStep { get; set; } + + [Newtonsoft.Json.JsonProperty("failureCategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public TaxReturnSubmissionResultFailureCategory? FailureCategory { get; set; } + + [Newtonsoft.Json.JsonProperty("failureMessage", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FailureMessage { get; set; } + + [Newtonsoft.Json.JsonProperty("validationResult", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TaxReturnValidationResult ValidationResult { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static TaxReturnSubmissionResult FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class TaxReturnValidationDeviation + { + [Newtonsoft.Json.JsonProperty("deviationType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string DeviationType { get; set; } + + [Newtonsoft.Json.JsonProperty("occurrenceIdentifier", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string OccurrenceIdentifier { get; set; } + + [Newtonsoft.Json.JsonProperty("receivedValue", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? ReceivedValue { get; set; } + + [Newtonsoft.Json.JsonProperty("calculatedValue", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? CalculatedValue { get; set; } + + [Newtonsoft.Json.JsonProperty("deviationInValue", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? DeviationInValue { get; set; } + + [Newtonsoft.Json.JsonProperty("receivedText", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string ReceivedText { get; set; } + + [Newtonsoft.Json.JsonProperty("calculatedText", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CalculatedText { get; set; } + + [Newtonsoft.Json.JsonProperty("path", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Path { get; set; } + + [Newtonsoft.Json.JsonProperty("otherInformation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string OtherInformation { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static TaxReturnValidationDeviation FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class TaxReturnValidationGuidance + { + [Newtonsoft.Json.JsonProperty("guidanceType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string GuidanceType { get; set; } + + [Newtonsoft.Json.JsonProperty("occurrenceIdentifier", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string OccurrenceIdentifier { get; set; } + + [Newtonsoft.Json.JsonProperty("helpText", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string HelpText { get; set; } + + [Newtonsoft.Json.JsonProperty("strategyOfService", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string StrategyOfService { get; set; } + + [Newtonsoft.Json.JsonProperty("path", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Path { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static TaxReturnValidationGuidance FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class TaxReturnValidationResult + { + [Newtonsoft.Json.JsonProperty("resultFromValidation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public TaxReturnValidationResultResultFromValidation? ResultFromValidation { get; set; } + + [Newtonsoft.Json.JsonProperty("causesOfValidatedWithError", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List CausesOfValidatedWithError { get; set; } + + [Newtonsoft.Json.JsonProperty("deviationsAtValidation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List DeviationsAtValidation { get; set; } + + [Newtonsoft.Json.JsonProperty("deviationsAfterCalculation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List DeviationsAfterCalculation { get; set; } + + [Newtonsoft.Json.JsonProperty("guidancesAfterControl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List GuidancesAfterControl { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static TaxReturnValidationResult FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class YearEndReport { @@ -109524,7 +110739,7 @@ public partial class YearEndReport public AltinnInstance AltinnMetadata { get; set; } [Newtonsoft.Json.JsonProperty("submissionResult", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public YearEndSubmissionResult SubmissionResult { get; set; } + public TaxReturnSubmissionResult SubmissionResult { get; set; } [Newtonsoft.Json.JsonProperty("submissionInProgress", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public bool? SubmissionInProgress { get; set; } @@ -109682,150 +110897,6 @@ public static YearEndReportType FromJson(string data) } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class YearEndSubmissionResult - { - [Newtonsoft.Json.JsonProperty("failureStep", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public YearEndSubmissionResultFailureStep FailureStep { get; set; } - - [Newtonsoft.Json.JsonProperty("failureCategory", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public YearEndSubmissionResultFailureCategory? FailureCategory { get; set; } - - [Newtonsoft.Json.JsonProperty("failureMessage", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string FailureMessage { get; set; } - - [Newtonsoft.Json.JsonProperty("validationResult", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public YearEndValidationResult ValidationResult { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static YearEndSubmissionResult FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class YearEndValidationDeviation - { - [Newtonsoft.Json.JsonProperty("deviationType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string DeviationType { get; set; } - - [Newtonsoft.Json.JsonProperty("occurrenceIdentifier", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string OccurrenceIdentifier { get; set; } - - [Newtonsoft.Json.JsonProperty("receivedValue", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? ReceivedValue { get; set; } - - [Newtonsoft.Json.JsonProperty("calculatedValue", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? CalculatedValue { get; set; } - - [Newtonsoft.Json.JsonProperty("deviationInValue", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public decimal? DeviationInValue { get; set; } - - [Newtonsoft.Json.JsonProperty("receivedText", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string ReceivedText { get; set; } - - [Newtonsoft.Json.JsonProperty("calculatedText", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string CalculatedText { get; set; } - - [Newtonsoft.Json.JsonProperty("path", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Path { get; set; } - - [Newtonsoft.Json.JsonProperty("otherInformation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string OtherInformation { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static YearEndValidationDeviation FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class YearEndValidationGuidance - { - [Newtonsoft.Json.JsonProperty("guidanceType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string GuidanceType { get; set; } - - [Newtonsoft.Json.JsonProperty("occurrenceIdentifier", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string OccurrenceIdentifier { get; set; } - - [Newtonsoft.Json.JsonProperty("helpText", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string HelpText { get; set; } - - [Newtonsoft.Json.JsonProperty("strategyOfService", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string StrategyOfService { get; set; } - - [Newtonsoft.Json.JsonProperty("path", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Path { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static YearEndValidationGuidance FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public partial class YearEndValidationResult - { - [Newtonsoft.Json.JsonProperty("resultFromValidation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] - public YearEndValidationResultResultFromValidation? ResultFromValidation { get; set; } - - [Newtonsoft.Json.JsonProperty("causesOfValidatedWithError", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List CausesOfValidatedWithError { get; set; } - - [Newtonsoft.Json.JsonProperty("deviationsAtValidation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List DeviationsAtValidation { get; set; } - - [Newtonsoft.Json.JsonProperty("deviationsAfterCalculation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List DeviationsAfterCalculation { get; set; } - - [Newtonsoft.Json.JsonProperty("guidancesAfterControl", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public System.Collections.Generic.List GuidancesAfterControl { get; set; } - - public string ToJson() - { - - return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); - - } - public static YearEndValidationResult FromJson(string data) - { - - return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); - - } - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ResponseWrapperTaxCalculation { @@ -109976,6 +111047,99 @@ public static ResponseWrapperYearEndReport FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperListYearEndReportComment + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Value { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ResponseWrapperListYearEndReportComment FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class YearEndReportComment + { + [Newtonsoft.Json.JsonProperty("id", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Id { get; set; } + + [Newtonsoft.Json.JsonProperty("version", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Version { get; set; } + + [Newtonsoft.Json.JsonProperty("changes", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Changes { get; set; } + + [Newtonsoft.Json.JsonProperty("url", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Url { get; set; } + + [Newtonsoft.Json.JsonProperty("yearEndReport", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public YearEndReport YearEndReport { get; set; } + + [Newtonsoft.Json.JsonProperty("employee", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public Employee Employee { get; set; } + + [Newtonsoft.Json.JsonProperty("stepType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? StepType { get; set; } + + [Newtonsoft.Json.JsonProperty("comment", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Comment { get; set; } + + [Newtonsoft.Json.JsonProperty("date", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string Date { get; set; } + + [Newtonsoft.Json.JsonProperty("uploaderName", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string UploaderName { get; set; } + + [Newtonsoft.Json.JsonProperty("disabled", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? Disabled { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static YearEndReportComment FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperYearEndReportComment + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public YearEndReportComment Value { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ResponseWrapperYearEndReportComment FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class AccountSpecification { @@ -110542,6 +111706,12 @@ public partial class Dividend [Newtonsoft.Json.JsonProperty("difference", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public TlxNumber Difference { get; set; } + [Newtonsoft.Json.JsonProperty("equity", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TlxNumber Equity { get; set; } + + [Newtonsoft.Json.JsonProperty("maxCalculatedDividend", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TlxNumber MaxCalculatedDividend { get; set; } + public string ToJson() { @@ -110741,6 +111911,9 @@ public partial class GenericDataOverview [Newtonsoft.Json.JsonProperty("typeOfGoodsPosts", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.List TypeOfGoodsPosts { get; set; } + [Newtonsoft.Json.JsonProperty("multiUnitBuildingUnitPosts", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List MultiUnitBuildingUnitPosts { get; set; } + [Newtonsoft.Json.JsonProperty("cashRegisterSystemPosts", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public System.Collections.Generic.List CashRegisterSystemPosts { get; set; } @@ -110804,6 +111977,46 @@ public static GenericDataOverview FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class MultiUnitBuildingUnit + { + [Newtonsoft.Json.JsonProperty("groupId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? GroupId { get; set; } + + [Newtonsoft.Json.JsonProperty("genericDataType", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] + public MultiUnitBuildingUnitGenericDataType? GenericDataType { get; set; } + + [Newtonsoft.Json.JsonProperty("genericDataSubTypeGroupId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? GenericDataSubTypeGroupId { get; set; } + + [Newtonsoft.Json.JsonProperty("unitNo", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string UnitNo { get; set; } + + [Newtonsoft.Json.JsonProperty("area", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Area { get; set; } + + [Newtonsoft.Json.JsonProperty("constructionYear", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? ConstructionYear { get; set; } + + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? Value { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static MultiUnitBuildingUnit FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ResponseWrapperGenericDataOverview { @@ -111257,6 +112470,9 @@ public partial class SharesAndSecurities [Newtonsoft.Json.JsonProperty("shareClass", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string ShareClass { get; set; } + [Newtonsoft.Json.JsonProperty("financialProduct", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string FinancialProduct { get; set; } + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public TlxNumber Value { get; set; } @@ -111269,8 +112485,8 @@ public partial class SharesAndSecurities [Newtonsoft.Json.JsonProperty("lossRealisation", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public TlxNumber LossRealisation { get; set; } - [Newtonsoft.Json.JsonProperty("country", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] - public string Country { get; set; } + [Newtonsoft.Json.JsonProperty("countryCode", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string CountryCode { get; set; } [Newtonsoft.Json.JsonProperty("sharesByTheStartOfTheYear", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public TlxNumber SharesByTheStartOfTheYear { get; set; } @@ -111924,6 +113140,9 @@ public partial class TaxReturnOverview [Newtonsoft.Json.JsonProperty("taxableProfitForTheYear", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public decimal? TaxableProfitForTheYear { get; set; } + [Newtonsoft.Json.JsonProperty("taxableProfitToTaxReturn", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? TaxableProfitToTaxReturn { get; set; } + [Newtonsoft.Json.JsonProperty("accumulatedLossFromPreviousYear", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public decimal? AccumulatedLossFromPreviousYear { get; set; } @@ -112446,6 +113665,12 @@ public partial class YearEndReportNote [Newtonsoft.Json.JsonProperty("grouping", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string Grouping { get; set; } + [Newtonsoft.Json.JsonProperty("isMandatoryPreviousYear", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? IsMandatoryPreviousYear { get; set; } + + [Newtonsoft.Json.JsonProperty("groupingPreviousYear", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string GroupingPreviousYear { get; set; } + public string ToJson() { @@ -112461,6 +113686,45 @@ public static YearEndReportNote FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ListResponseYearEndReportNote + { + /// + /// Indicates whether there are more values available. Note: The value is not exact + /// + [Newtonsoft.Json.JsonProperty("fullResultSize", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? FullResultSize { get; set; } + + [Newtonsoft.Json.JsonProperty("from", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? From { get; set; } + + [Newtonsoft.Json.JsonProperty("count", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? Count { get; set; } + + /// + /// Used to know if the paginated list has changed. + /// + [Newtonsoft.Json.JsonProperty("versionDigest", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string VersionDigest { get; set; } + + [Newtonsoft.Json.JsonProperty("values", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public System.Collections.Generic.List Values { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ListResponseYearEndReportNote FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ExtraordinaryIncomeAndCost { @@ -112911,15 +114175,42 @@ public partial class PersonalIncomeOverview [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] public PersonalIncomeOverviewBusinessActivityType? BusinessActivityType { get; set; } + [Newtonsoft.Json.JsonProperty("industryId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? IndustryId { get; set; } + + [Newtonsoft.Json.JsonProperty("businessActivityTitle", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public string BusinessActivityTitle { get; set; } + [Newtonsoft.Json.JsonProperty("businessActivityDescription", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string BusinessActivityDescription { get; set; } [Newtonsoft.Json.JsonProperty("businessIncome", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public decimal? BusinessIncome { get; set; } + [Newtonsoft.Json.JsonProperty("businessIncomeForestry", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BusinessIncomeForestry { get; set; } + + [Newtonsoft.Json.JsonProperty("businessIncomeAgriculture", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BusinessIncomeAgriculture { get; set; } + + [Newtonsoft.Json.JsonProperty("businessIncomeForestryAndAgriculture", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BusinessIncomeForestryAndAgriculture { get; set; } + + [Newtonsoft.Json.JsonProperty("hideFromPersonalIncome", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? HideFromPersonalIncome { get; set; } + + [Newtonsoft.Json.JsonProperty("showForestryAndAgricultureCombo", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public bool? ShowForestryAndAgricultureCombo { get; set; } + [Newtonsoft.Json.JsonProperty("businessIncomeAfterSharedWithSpouse", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public decimal? BusinessIncomeAfterSharedWithSpouse { get; set; } + [Newtonsoft.Json.JsonProperty("businessIncomeAfterSharedWithSpouseForestry", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BusinessIncomeAfterSharedWithSpouseForestry { get; set; } + + [Newtonsoft.Json.JsonProperty("businessIncomeAfterSharedWithSpouseAgriculture", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? BusinessIncomeAfterSharedWithSpouseAgriculture { get; set; } + [Newtonsoft.Json.JsonProperty("correctedBusinessIncome", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public decimal? CorrectedBusinessIncome { get; set; } @@ -112944,6 +114235,12 @@ public partial class PersonalIncomeOverview [Newtonsoft.Json.JsonProperty("calculatedBusinessIncomeSpouse", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public decimal? CalculatedBusinessIncomeSpouse { get; set; } + [Newtonsoft.Json.JsonProperty("calculatedBusinessIncomeSpouseForestry", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? CalculatedBusinessIncomeSpouseForestry { get; set; } + + [Newtonsoft.Json.JsonProperty("calculatedBusinessIncomeSpouseAgriculture", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public decimal? CalculatedBusinessIncomeSpouseAgriculture { get; set; } + [Newtonsoft.Json.JsonProperty("afterCoordination", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public decimal? AfterCoordination { get; set; } @@ -113220,6 +114517,48 @@ public static TaxAdminCalculatedRentalValue FromJson(string data) } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class ResponseWrapperTaxAdminCalculatedMarketValue + { + [Newtonsoft.Json.JsonProperty("value", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TaxAdminCalculatedMarketValue Value { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static ResponseWrapperTaxAdminCalculatedMarketValue FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class TaxAdminCalculatedMarketValue + { + [Newtonsoft.Json.JsonProperty("marketValue", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public TlxNumber MarketValue { get; set; } + + public string ToJson() + { + + return Newtonsoft.Json.JsonConvert.SerializeObject(this, new Newtonsoft.Json.JsonSerializerSettings()); + + } + public static TaxAdminCalculatedMarketValue FromJson(string data) + { + + return Newtonsoft.Json.JsonConvert.DeserializeObject(data, new Newtonsoft.Json.JsonSerializerSettings()); + + } + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public partial class ListResponseRiskFreeInterestRate { @@ -113677,6 +115016,9 @@ public partial class ZtlEmployee [Newtonsoft.Json.JsonProperty("pictureId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public int? PictureId { get; set; } + [Newtonsoft.Json.JsonProperty("companyId", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] + public int? CompanyId { get; set; } + [Newtonsoft.Json.JsonProperty("consent", NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public ZtlConsent Consent { get; set; } @@ -114784,24 +116126,6 @@ public enum AccountLedgerType } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum AssetDepreciationMethod - { - - [System.Runtime.Serialization.EnumMember(Value = @"MANUAL")] - MANUAL = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"STRAIGHT_LINE")] - STRAIGHT_LINE = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"TAX_RELATED")] - TAX_RELATED = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"CUSTOMIZED_AMOUNT")] - CUSTOMIZED_AMOUNT = 3, - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public enum AssetStatus { @@ -114823,6 +116147,24 @@ public enum AssetStatus } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum AssetDepreciationMethod + { + + [System.Runtime.Serialization.EnumMember(Value = @"MANUAL")] + MANUAL = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"TAX_RELATED")] + TAX_RELATED = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"STRAIGHT_LINE")] + STRAIGHT_LINE = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOMIZED_AMOUNT")] + CUSTOMIZED_AMOUNT = 3, + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public enum EmployeeUserType { @@ -114908,6 +116250,9 @@ public enum EmploymentDetailsEmploymentType [System.Runtime.Serialization.EnumMember(Value = @"FREELANCE")] FREELANCE = 2, + [System.Runtime.Serialization.EnumMember(Value = @"NOT_CHOSEN")] + NOT_CHOSEN = 3, + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] @@ -114920,6 +116265,9 @@ public enum EmploymentDetailsEmploymentForm [System.Runtime.Serialization.EnumMember(Value = @"TEMPORARY")] TEMPORARY = 1, + [System.Runtime.Serialization.EnumMember(Value = @"NOT_CHOSEN")] + NOT_CHOSEN = 2, + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] @@ -114938,8 +116286,11 @@ public enum EmploymentDetailsRemunerationType [System.Runtime.Serialization.EnumMember(Value = @"FEE")] FEE = 3, + [System.Runtime.Serialization.EnumMember(Value = @"NOT_CHOSEN")] + NOT_CHOSEN = 4, + [System.Runtime.Serialization.EnumMember(Value = @"PIECEWORK_WAGE")] - PIECEWORK_WAGE = 4, + PIECEWORK_WAGE = 5, } @@ -114965,6 +116316,9 @@ public enum EmploymentDetailsWorkingHoursScheme [System.Runtime.Serialization.EnumMember(Value = @"OTHER_SHIFT")] OTHER_SHIFT = 5, + [System.Runtime.Serialization.EnumMember(Value = @"NOT_CHOSEN")] + NOT_CHOSEN = 6, + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] @@ -115027,183 +116381,6 @@ public enum MaritimeEmploymentTradeArea } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum BankStatementFileFormatSupport - { - - [System.Runtime.Serialization.EnumMember(Value = @"DNB_CSV")] - DNB_CSV = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"EIKA_TELEPAY")] - EIKA_TELEPAY = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"SPAREBANK1_TELEPAY")] - SPAREBANK1_TELEPAY = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"VISMA_ACCOUNT_STATEMENT")] - VISMA_ACCOUNT_STATEMENT = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"HANDELSBANKEN_TELEPAY")] - HANDELSBANKEN_TELEPAY = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"SPAREBANKEN_VEST_TELEPAY")] - SPAREBANKEN_VEST_TELEPAY = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"NORDEA_CSV")] - NORDEA_CSV = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERWISE")] - TRANSFERWISE = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"SPAREBANKEN_SOR_TELEPAY")] - SPAREBANKEN_SOR_TELEPAY = 8, - - [System.Runtime.Serialization.EnumMember(Value = @"SPAREBANKEN_OST_TELEPAY")] - SPAREBANKEN_OST_TELEPAY = 9, - - [System.Runtime.Serialization.EnumMember(Value = @"DANSKE_BANK_CSV")] - DANSKE_BANK_CSV = 10, - - [System.Runtime.Serialization.EnumMember(Value = @"CULTURA_BANK_TELEPAY")] - CULTURA_BANK_TELEPAY = 11, - - [System.Runtime.Serialization.EnumMember(Value = @"SBANKEN_PRIVAT_CSV")] - SBANKEN_PRIVAT_CSV = 12, - - [System.Runtime.Serialization.EnumMember(Value = @"HAUGESUND_SPAREBANK_CSV")] - HAUGESUND_SPAREBANK_CSV = 13, - - [System.Runtime.Serialization.EnumMember(Value = @"VISMA_ACCOUNT_STATEMENT_PSD2")] - VISMA_ACCOUNT_STATEMENT_PSD2 = 14, - - [System.Runtime.Serialization.EnumMember(Value = @"SBANKEN_BEDRIFT_CSV")] - SBANKEN_BEDRIFT_CSV = 15, - - [System.Runtime.Serialization.EnumMember(Value = @"LANDKREDITT_TELEPAY")] - LANDKREDITT_TELEPAY = 16, - - [System.Runtime.Serialization.EnumMember(Value = @"ZTL")] - ZTL = 17, - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum BankDashboardAdviceAdviceType - { - - [System.Runtime.Serialization.EnumMember(Value = @"SHORTEN_DUE_DATE_ON_OUTGOING_INVOICES_TO_CUSTOMERS")] - SHORTEN_DUE_DATE_ON_OUTGOING_INVOICES_TO_CUSTOMERS = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"INCREASE_DUE_DATE_ON_INCOMING_INVOICES_FROM_VENDORS")] - INCREASE_DUE_DATE_ON_INCOMING_INVOICES_FROM_VENDORS = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"APPLY_FOR_CASH_CREDIT_WITH_TRIPLETEX_APRILA")] - APPLY_FOR_CASH_CREDIT_WITH_TRIPLETEX_APRILA = 2, - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum ElectronicSupportDTOType - { - - [System.Runtime.Serialization.EnumMember(Value = @"PARTIAL")] - PARTIAL = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"COMPLETE")] - COMPLETE = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"PSD2")] - PSD2 = 2, - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum ResponseWrapperAutoPayStatusValue - { - - [System.Runtime.Serialization.EnumMember(Value = @"OK")] - OK = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"NOT_ACTIVE")] - NOT_ACTIVE = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"SERVICE_DOWN")] - SERVICE_DOWN = 2, - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum BankOnboardingStepDTOState - { - - [System.Runtime.Serialization.EnumMember(Value = @"INCOMPLETE")] - INCOMPLETE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"COMPLETED")] - COMPLETED = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"PROCESSING")] - PROCESSING = 2, - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum BankReconciliationType - { - - [System.Runtime.Serialization.EnumMember(Value = @"MANUAL")] - MANUAL = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"AUTOMATIC")] - AUTOMATIC = 1, - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum BankTransactionMatchType - { - - [System.Runtime.Serialization.EnumMember(Value = @"ONE_TRANSACTION_TO_ONE_POSTING")] - ONE_TRANSACTION_TO_ONE_POSTING = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"ONE_TRANSACTION_TO_MANY_POSTINGS")] - ONE_TRANSACTION_TO_MANY_POSTINGS = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"MANY_TRANSACTIONS_TO_ONE_POSTING")] - MANY_TRANSACTIONS_TO_ONE_POSTING = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"MANY_TRANSACTIONS_TO_MANY_POSTINGS")] - MANY_TRANSACTIONS_TO_MANY_POSTINGS = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"NO_MATCH")] - NO_MATCH = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"UNKNOWN")] - UNKNOWN = 5, - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum BankTransactionPostingPostingMatchType - { - - [System.Runtime.Serialization.EnumMember(Value = @"DEFAULT")] - DEFAULT = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"INTERNAL_TRANSFER")] - INTERNAL_TRANSFER = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"WAGE")] - WAGE = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"TAX")] - TAX = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"VAT")] - VAT = 4, - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public enum CompanyBankAccountPresentationProvider { @@ -115318,6 +116495,42 @@ public enum LinkType } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum OrderStatus + { + + [System.Runtime.Serialization.EnumMember(Value = @"NOT_CHOSEN")] + NOT_CHOSEN = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"NEW")] + NEW = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"CONFIRMATION_SENT")] + CONFIRMATION_SENT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"READY_FOR_PICKING")] + READY_FOR_PICKING = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"PICKED")] + PICKED = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"PACKED")] + PACKED = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"READY_FOR_SHIPPING")] + READY_FOR_SHIPPING = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"READY_FOR_INVOICING")] + READY_FOR_INVOICING = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"INVOICED")] + INVOICED = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"CANCELLED")] + CANCELLED = 9, + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public enum OrderInvoicesDueInType { @@ -115597,6 +116810,201 @@ public enum VoucherSupplierVoucherType } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum AssetDepreciationSpecificationDepreciationMethod + { + + [System.Runtime.Serialization.EnumMember(Value = @"MANUAL")] + MANUAL = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"TAX_RELATED")] + TAX_RELATED = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"STRAIGHT_LINE")] + STRAIGHT_LINE = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOMIZED_AMOUNT")] + CUSTOMIZED_AMOUNT = 3, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum BankStatementFileFormatSupport + { + + [System.Runtime.Serialization.EnumMember(Value = @"DNB_CSV")] + DNB_CSV = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"EIKA_TELEPAY")] + EIKA_TELEPAY = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"SPAREBANK1_TELEPAY")] + SPAREBANK1_TELEPAY = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"VISMA_ACCOUNT_STATEMENT")] + VISMA_ACCOUNT_STATEMENT = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"HANDELSBANKEN_TELEPAY")] + HANDELSBANKEN_TELEPAY = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"SPAREBANKEN_VEST_TELEPAY")] + SPAREBANKEN_VEST_TELEPAY = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"NORDEA_CSV")] + NORDEA_CSV = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERWISE")] + TRANSFERWISE = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"SPAREBANKEN_SOR_TELEPAY")] + SPAREBANKEN_SOR_TELEPAY = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"SPAREBANKEN_OST_TELEPAY")] + SPAREBANKEN_OST_TELEPAY = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"DANSKE_BANK_CSV")] + DANSKE_BANK_CSV = 10, + + [System.Runtime.Serialization.EnumMember(Value = @"CULTURA_BANK_TELEPAY")] + CULTURA_BANK_TELEPAY = 11, + + [System.Runtime.Serialization.EnumMember(Value = @"SBANKEN_PRIVAT_CSV")] + SBANKEN_PRIVAT_CSV = 12, + + [System.Runtime.Serialization.EnumMember(Value = @"HAUGESUND_SPAREBANK_CSV")] + HAUGESUND_SPAREBANK_CSV = 13, + + [System.Runtime.Serialization.EnumMember(Value = @"VISMA_ACCOUNT_STATEMENT_PSD2")] + VISMA_ACCOUNT_STATEMENT_PSD2 = 14, + + [System.Runtime.Serialization.EnumMember(Value = @"SBANKEN_BEDRIFT_CSV")] + SBANKEN_BEDRIFT_CSV = 15, + + [System.Runtime.Serialization.EnumMember(Value = @"LANDKREDITT_TELEPAY")] + LANDKREDITT_TELEPAY = 16, + + [System.Runtime.Serialization.EnumMember(Value = @"ZTL")] + ZTL = 17, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum BankDashboardAdviceAdviceType + { + + [System.Runtime.Serialization.EnumMember(Value = @"SHORTEN_DUE_DATE_ON_OUTGOING_INVOICES_TO_CUSTOMERS")] + SHORTEN_DUE_DATE_ON_OUTGOING_INVOICES_TO_CUSTOMERS = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"INCREASE_DUE_DATE_ON_INCOMING_INVOICES_FROM_VENDORS")] + INCREASE_DUE_DATE_ON_INCOMING_INVOICES_FROM_VENDORS = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"APPLY_FOR_CASH_CREDIT_WITH_TRIPLETEX_APRILA")] + APPLY_FOR_CASH_CREDIT_WITH_TRIPLETEX_APRILA = 2, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum ElectronicSupportDTOType + { + + [System.Runtime.Serialization.EnumMember(Value = @"PARTIAL")] + PARTIAL = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"COMPLETE")] + COMPLETE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"PSD2")] + PSD2 = 2, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum ResponseWrapperAutoPayStatusValue + { + + [System.Runtime.Serialization.EnumMember(Value = @"OK")] + OK = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"NOT_ACTIVE")] + NOT_ACTIVE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"SERVICE_DOWN")] + SERVICE_DOWN = 2, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum BankOnboardingStepDTOState + { + + [System.Runtime.Serialization.EnumMember(Value = @"INCOMPLETE")] + INCOMPLETE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"COMPLETED")] + COMPLETED = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"PROCESSING")] + PROCESSING = 2, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum BankReconciliationType + { + + [System.Runtime.Serialization.EnumMember(Value = @"MANUAL")] + MANUAL = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTOMATIC")] + AUTOMATIC = 1, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum BankTransactionMatchType + { + + [System.Runtime.Serialization.EnumMember(Value = @"ONE_TRANSACTION_TO_ONE_POSTING")] + ONE_TRANSACTION_TO_ONE_POSTING = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"ONE_TRANSACTION_TO_MANY_POSTINGS")] + ONE_TRANSACTION_TO_MANY_POSTINGS = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"MANY_TRANSACTIONS_TO_ONE_POSTING")] + MANY_TRANSACTIONS_TO_ONE_POSTING = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"MANY_TRANSACTIONS_TO_MANY_POSTINGS")] + MANY_TRANSACTIONS_TO_MANY_POSTINGS = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"NO_MATCH")] + NO_MATCH = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"UNKNOWN")] + UNKNOWN = 5, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum BankTransactionPostingPostingMatchType + { + + [System.Runtime.Serialization.EnumMember(Value = @"DEFAULT")] + DEFAULT = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"INTERNAL_TRANSFER")] + INTERNAL_TRANSFER = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"WAGE")] + WAGE = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"TAX")] + TAX = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"VAT")] + VAT = 4, + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public enum BankReconciliationMatchType { @@ -115853,7 +117261,298 @@ public enum CompanyMigration } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum RoleContainers + public enum EmployeeRoleModelDTORole + { + + [System.Runtime.Serialization.EnumMember(Value = @"ROLE_ADMINISTRATOR")] + ROLE_ADMINISTRATOR = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_READ_ONLY")] + AUTH_READ_ONLY = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_LOGIN")] + AUTH_LOGIN = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_ALL_VOUCHERS")] + AUTH_ALL_VOUCHERS = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_COMPANY_ACCOUNTING_REPORTS")] + AUTH_COMPANY_ACCOUNTING_REPORTS = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_ACCOUNTING_SETTINGS")] + AUTH_ACCOUNTING_SETTINGS = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_COMPANY_RESULT_BUDGET")] + AUTH_COMPANY_RESULT_BUDGET = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_COMPANY_CUSTOMER_ACCOUNTING_REPORTS")] + AUTH_COMPANY_CUSTOMER_ACCOUNTING_REPORTS = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_COMPANY_VENDOR_ACCOUNTING_REPORTS")] + AUTH_COMPANY_VENDOR_ACCOUNTING_REPORTS = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_COMPANY_EMPLOYEE_ACCOUNTING_REPORTS")] + AUTH_COMPANY_EMPLOYEE_ACCOUNTING_REPORTS = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_COMPANY_ASSET_ACCOUNTING_REPORTS")] + AUTH_COMPANY_ASSET_ACCOUNTING_REPORTS = 10, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_COMPANY_ATTESTOR")] + AUTH_COMPANY_ATTESTOR = 11, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_DIRECT_REMIT_ADMIN")] + AUTH_DIRECT_REMIT_ADMIN = 12, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_DIRECT_REMIT_LIGHT")] + AUTH_DIRECT_REMIT_LIGHT = 13, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_MANAGE_BANK_ACCOUNT_NUMBERS")] + AUTH_MANAGE_BANK_ACCOUNT_NUMBERS = 14, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_DIRECT_REMIT_CREATE_NEW")] + AUTH_DIRECT_REMIT_CREATE_NEW = 15, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_DIRECT_REMIT_ADMIN_ZTL")] + AUTH_DIRECT_REMIT_ADMIN_ZTL = 16, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_COMPANY_ADMIN")] + AUTH_COMPANY_ADMIN = 17, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_EMPLOYEE_INFO")] + AUTH_EMPLOYEE_INFO = 18, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_COMPANY_EMPLOYEE_ADMIN")] + AUTH_COMPANY_EMPLOYEE_ADMIN = 19, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_CUSTOMER_ADMIN")] + AUTH_CUSTOMER_ADMIN = 20, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_CUSTOMER_INFO")] + AUTH_CUSTOMER_INFO = 21, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_CREATE_CUSTOMER")] + AUTH_CREATE_CUSTOMER = 22, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_INBOX_ARCHIVE_ALL_EMPLOYEES")] + AUTH_INBOX_ARCHIVE_ALL_EMPLOYEES = 23, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_ARCHIVE_READ")] + AUTH_ARCHIVE_READ = 24, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_ARCHIVE_WRITE")] + AUTH_ARCHIVE_WRITE = 25, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_ARCHIVE_ADMIN")] + AUTH_ARCHIVE_ADMIN = 26, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_CREATE_NOTE")] + AUTH_CREATE_NOTE = 27, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_CREATE_NOTE_TEMPLATE")] + AUTH_CREATE_NOTE_TEMPLATE = 28, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_INVOICING")] + AUTH_INVOICING = 29, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_OFFER_ADMIN")] + AUTH_OFFER_ADMIN = 30, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_ORDER_ADMIN")] + AUTH_ORDER_ADMIN = 31, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_CREATE_OFFER")] + AUTH_CREATE_OFFER = 32, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_CREATE_ORDER")] + AUTH_CREATE_ORDER = 33, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_FACTORING_EXPORT")] + AUTH_FACTORING_EXPORT = 34, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_INVOICE_ADMIN_SETTINGS")] + AUTH_INVOICE_ADMIN_SETTINGS = 35, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_PROJECT_MANAGER")] + AUTH_PROJECT_MANAGER = 36, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_PROJECT_MANAGER_COMPANY")] + AUTH_PROJECT_MANAGER_COMPANY = 37, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_DEPARTMENT_REPORT")] + AUTH_DEPARTMENT_REPORT = 38, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_CREATE_PROJECT")] + AUTH_CREATE_PROJECT = 39, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_PROJECT_EXTRA_COSTS")] + AUTH_PROJECT_EXTRA_COSTS = 40, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_PROJECT_INFO")] + AUTH_PROJECT_INFO = 41, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_PROJECT_ADMIN_SETTINGS")] + AUTH_PROJECT_ADMIN_SETTINGS = 42, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_PROJECT_OWN_PROJECT_RESULT_REPORT")] + AUTH_PROJECT_OWN_PROJECT_RESULT_REPORT = 43, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_PROJECT_CONTROL_FORMS")] + AUTH_PROJECT_CONTROL_FORMS = 44, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_PRODUCT_ADMIN")] + AUTH_PRODUCT_ADMIN = 45, + + [System.Runtime.Serialization.EnumMember(Value = @"REPORT_ADMINISTRATOR")] + REPORT_ADMINISTRATOR = 46, + + [System.Runtime.Serialization.EnumMember(Value = @"REPORT_AUTHOR")] + REPORT_AUTHOR = 47, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_COMPANY_WAGE_ADMIN")] + AUTH_COMPANY_WAGE_ADMIN = 48, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_WAGE_ADMIN_SETTINGS")] + AUTH_WAGE_ADMIN_SETTINGS = 49, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_WAGE_INFORMATION")] + AUTH_WAGE_INFORMATION = 50, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_TASK_ADMIN")] + AUTH_TASK_ADMIN = 51, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_HOURS_COMPANY")] + AUTH_HOURS_COMPANY = 52, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_HOUR_STATISTICS_COMPANY")] + AUTH_HOUR_STATISTICS_COMPANY = 53, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_HOURLIST")] + AUTH_HOURLIST = 54, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_HOURLIST_SETTINGS")] + AUTH_HOURLIST_SETTINGS = 55, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_HOLYDAY_PLAN")] + AUTH_HOLYDAY_PLAN = 56, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_TRAVEL_REPORTS_COMPANY")] + AUTH_TRAVEL_REPORTS_COMPANY = 57, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_TRAVEL_REPORT")] + AUTH_TRAVEL_REPORT = 58, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_TRAVEL_EXPENSE_ADMIN_SETTINGS")] + AUTH_TRAVEL_EXPENSE_ADMIN_SETTINGS = 59, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_VOUCHER_EXPORT")] + AUTH_VOUCHER_EXPORT = 60, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_INBOX_VOUCHER")] + AUTH_INBOX_VOUCHER = 61, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_INCOMPLETE_VOUCHERS")] + AUTH_INCOMPLETE_VOUCHERS = 62, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_INCOMING_INVOICE")] + AUTH_INCOMING_INVOICE = 63, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_VOUCHER_SETTINGS")] + AUTH_VOUCHER_SETTINGS = 64, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_BANK_RECONCILIATION")] + AUTH_BANK_RECONCILIATION = 65, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_VAT_REPORT")] + AUTH_VAT_REPORT = 66, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_SICKNESS_REIMBURSEMENT")] + AUTH_SICKNESS_REIMBURSEMENT = 67, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_REGISTER_INCOME")] + AUTH_REGISTER_INCOME = 68, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_ADVANCED_VOUCHER")] + AUTH_ADVANCED_VOUCHER = 69, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_VOUCHER_IMPORT")] + AUTH_VOUCHER_IMPORT = 70, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_PRODUCT_INVOICE")] + AUTH_PRODUCT_INVOICE = 71, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_CUSTOMS_DECLARATION")] + AUTH_CUSTOMS_DECLARATION = 72, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_VOUCHER_AUTOMATION")] + AUTH_VOUCHER_AUTOMATION = 73, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTH_REMIT_FILES_VOUCHER_OVERVIEW")] + AUTH_REMIT_FILES_VOUCHER_OVERVIEW = 74, + + [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_REPORT_ADMINISTRATOR")] + YEAR_END_REPORT_ADMINISTRATOR = 75, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum Category1 + { + + [System.Runtime.Serialization.EnumMember(Value = @"GENERAL")] + GENERAL = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING")] + ACCOUNTING = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"VOUCHER_APPROVAL")] + VOUCHER_APPROVAL = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"BANK")] + BANK = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"COMPANY")] + COMPANY = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOMER")] + CUSTOMER = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"DOCUMENT")] + DOCUMENT = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"INVOICING")] + INVOICING = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"PROJECT")] + PROJECT = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"PRODUCT")] + PRODUCT = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"REPORT")] + REPORT = 10, + + [System.Runtime.Serialization.EnumMember(Value = @"WAGE")] + WAGE = 11, + + [System.Runtime.Serialization.EnumMember(Value = @"TASK")] + TASK = 12, + + [System.Runtime.Serialization.EnumMember(Value = @"HOUR_LIST")] + HOUR_LIST = 13, + + [System.Runtime.Serialization.EnumMember(Value = @"TRAVEL_REPORT")] + TRAVEL_REPORT = 14, + + [System.Runtime.Serialization.EnumMember(Value = @"VOUCHER")] + VOUCHER = 15, + + [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_REPORT")] + YEAR_END_REPORT = 16, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum RoleContainerDTOContainer { [System.Runtime.Serialization.EnumMember(Value = @"ROLE_ADMINISTRATOR")] @@ -116087,79 +117786,7 @@ public enum RoleContainers } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum AccountantClientAccessCategoryModelCategory - { - - [System.Runtime.Serialization.EnumMember(Value = @"GENERAL")] - GENERAL = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING")] - ACCOUNTING = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"VOUCHER_APPROVAL")] - VOUCHER_APPROVAL = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"BANK")] - BANK = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"COMPANY")] - COMPANY = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"CUSTOMER")] - CUSTOMER = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"DOCUMENT")] - DOCUMENT = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"INVOICING")] - INVOICING = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"PROJECT")] - PROJECT = 8, - - [System.Runtime.Serialization.EnumMember(Value = @"PRODUCT")] - PRODUCT = 9, - - [System.Runtime.Serialization.EnumMember(Value = @"REPORT")] - REPORT = 10, - - [System.Runtime.Serialization.EnumMember(Value = @"WAGE")] - WAGE = 11, - - [System.Runtime.Serialization.EnumMember(Value = @"TASK")] - TASK = 12, - - [System.Runtime.Serialization.EnumMember(Value = @"HOUR_LIST")] - HOUR_LIST = 13, - - [System.Runtime.Serialization.EnumMember(Value = @"TRAVEL_REPORT")] - TRAVEL_REPORT = 14, - - [System.Runtime.Serialization.EnumMember(Value = @"VOUCHER")] - VOUCHER = 15, - - [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_REPORT")] - YEAR_END_REPORT = 16, - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum AccountantClientAccessCategoryModelAccessLevel - { - - [System.Runtime.Serialization.EnumMember(Value = @"NONE")] - NONE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"SOME")] - SOME = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"ALL")] - ALL = 2, - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum AccountantClientAccessRoleRole + public enum Dependencies { [System.Runtime.Serialization.EnumMember(Value = @"ROLE_ADMINISTRATOR")] @@ -116393,7 +118020,7 @@ public enum AccountantClientAccessRoleRole } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum Dependencies + public enum ReversedDependencies { [System.Runtime.Serialization.EnumMember(Value = @"ROLE_ADMINISTRATOR")] @@ -116627,7 +118254,7 @@ public enum Dependencies } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum EmployeeRoleModelDTORole + public enum RoleContainers { [System.Runtime.Serialization.EnumMember(Value = @"ROLE_ADMINISTRATOR")] @@ -116861,7 +118488,7 @@ public enum EmployeeRoleModelDTORole } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum Category1 + public enum AccountantClientAccessCategoryModelCategory { [System.Runtime.Serialization.EnumMember(Value = @"GENERAL")] @@ -116918,7 +118545,22 @@ public enum Category1 } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum RoleContainerDTOContainer + public enum AccountantClientAccessCategoryModelAccessLevel + { + + [System.Runtime.Serialization.EnumMember(Value = @"NONE")] + NONE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"SOME")] + SOME = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"ALL")] + ALL = 2, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum AccountantClientAccessRoleRole { [System.Runtime.Serialization.EnumMember(Value = @"ROLE_ADMINISTRATOR")] @@ -117386,7 +119028,7 @@ public enum Dependencies2 } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum ReversedDependencies + public enum ReversedDependencies2 { [System.Runtime.Serialization.EnumMember(Value = @"ROLE_ADMINISTRATOR")] @@ -117899,113 +119541,110 @@ public enum SalesModuleDTOName [System.Runtime.Serialization.EnumMember(Value = @"SMART")] SMART = 12, - [System.Runtime.Serialization.EnumMember(Value = @"PLUSS")] - PLUSS = 13, - [System.Runtime.Serialization.EnumMember(Value = @"KOMPLETT")] - KOMPLETT = 14, + KOMPLETT = 13, [System.Runtime.Serialization.EnumMember(Value = @"VVS")] - VVS = 15, + VVS = 14, [System.Runtime.Serialization.EnumMember(Value = @"ELECTRO")] - ELECTRO = 16, + ELECTRO = 15, [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_OFFICE")] - ACCOUNTING_OFFICE = 17, + ACCOUNTING_OFFICE = 16, [System.Runtime.Serialization.EnumMember(Value = @"SMART_WAGE")] - SMART_WAGE = 18, + SMART_WAGE = 17, [System.Runtime.Serialization.EnumMember(Value = @"SMART_TIME_TRACKING")] - SMART_TIME_TRACKING = 19, + SMART_TIME_TRACKING = 18, [System.Runtime.Serialization.EnumMember(Value = @"SMART_PROJECT")] - SMART_PROJECT = 20, + SMART_PROJECT = 19, [System.Runtime.Serialization.EnumMember(Value = @"OCR")] - OCR = 21, + OCR = 20, [System.Runtime.Serialization.EnumMember(Value = @"API_V2")] - API_V2 = 22, + API_V2 = 21, [System.Runtime.Serialization.EnumMember(Value = @"ELECTRONIC_VOUCHERS")] - ELECTRONIC_VOUCHERS = 23, + ELECTRONIC_VOUCHERS = 22, [System.Runtime.Serialization.EnumMember(Value = @"UP_TO_100_VOUCHERS")] - UP_TO_100_VOUCHERS = 24, + UP_TO_100_VOUCHERS = 23, [System.Runtime.Serialization.EnumMember(Value = @"UP_TO_500_VOUCHERS")] - UP_TO_500_VOUCHERS = 25, + UP_TO_500_VOUCHERS = 24, [System.Runtime.Serialization.EnumMember(Value = @"UP_TO_1000_VOUCHERS")] - UP_TO_1000_VOUCHERS = 26, + UP_TO_1000_VOUCHERS = 25, [System.Runtime.Serialization.EnumMember(Value = @"UP_TO_2000_VOUCHERS")] - UP_TO_2000_VOUCHERS = 27, + UP_TO_2000_VOUCHERS = 26, [System.Runtime.Serialization.EnumMember(Value = @"UP_TO_3500_VOUCHERS")] - UP_TO_3500_VOUCHERS = 28, + UP_TO_3500_VOUCHERS = 27, [System.Runtime.Serialization.EnumMember(Value = @"UP_TO_5000_VOUCHERS")] - UP_TO_5000_VOUCHERS = 29, + UP_TO_5000_VOUCHERS = 28, [System.Runtime.Serialization.EnumMember(Value = @"UP_TO_10000_VOUCHERS")] - UP_TO_10000_VOUCHERS = 30, + UP_TO_10000_VOUCHERS = 29, [System.Runtime.Serialization.EnumMember(Value = @"UNLIMITED_VOUCHERS")] - UNLIMITED_VOUCHERS = 31, + UNLIMITED_VOUCHERS = 30, [System.Runtime.Serialization.EnumMember(Value = @"UP_TO_100_VOUCHERS_AUTOMATION")] - UP_TO_100_VOUCHERS_AUTOMATION = 32, + UP_TO_100_VOUCHERS_AUTOMATION = 31, [System.Runtime.Serialization.EnumMember(Value = @"UP_TO_500_VOUCHERS_AUTOMATION")] - UP_TO_500_VOUCHERS_AUTOMATION = 33, + UP_TO_500_VOUCHERS_AUTOMATION = 32, [System.Runtime.Serialization.EnumMember(Value = @"UP_TO_1000_VOUCHERS_AUTOMATION")] - UP_TO_1000_VOUCHERS_AUTOMATION = 34, + UP_TO_1000_VOUCHERS_AUTOMATION = 33, [System.Runtime.Serialization.EnumMember(Value = @"UP_TO_2000_VOUCHERS_AUTOMATION")] - UP_TO_2000_VOUCHERS_AUTOMATION = 35, + UP_TO_2000_VOUCHERS_AUTOMATION = 34, [System.Runtime.Serialization.EnumMember(Value = @"UP_TO_3500_VOUCHERS_AUTOMATION")] - UP_TO_3500_VOUCHERS_AUTOMATION = 36, + UP_TO_3500_VOUCHERS_AUTOMATION = 35, [System.Runtime.Serialization.EnumMember(Value = @"UP_TO_5000_VOUCHERS_AUTOMATION")] - UP_TO_5000_VOUCHERS_AUTOMATION = 37, + UP_TO_5000_VOUCHERS_AUTOMATION = 36, [System.Runtime.Serialization.EnumMember(Value = @"UP_TO_10000_VOUCHERS_AUTOMATION")] - UP_TO_10000_VOUCHERS_AUTOMATION = 38, + UP_TO_10000_VOUCHERS_AUTOMATION = 37, [System.Runtime.Serialization.EnumMember(Value = @"UNLIMITED_VOUCHERS_AUTOMATION")] - UNLIMITED_VOUCHERS_AUTOMATION = 39, + UNLIMITED_VOUCHERS_AUTOMATION = 38, [System.Runtime.Serialization.EnumMember(Value = @"LOGISTICS")] - LOGISTICS = 40, + LOGISTICS = 39, [System.Runtime.Serialization.EnumMember(Value = @"MIKRO")] - MIKRO = 41, + MIKRO = 40, [System.Runtime.Serialization.EnumMember(Value = @"AUTOPLUS_MINI")] - AUTOPLUS_MINI = 42, + AUTOPLUS_MINI = 41, [System.Runtime.Serialization.EnumMember(Value = @"AUTOPLUS_MEDIUM")] - AUTOPLUS_MEDIUM = 43, + AUTOPLUS_MEDIUM = 42, [System.Runtime.Serialization.EnumMember(Value = @"AUTOPLUS_STOR")] - AUTOPLUS_STOR = 44, + AUTOPLUS_STOR = 43, [System.Runtime.Serialization.EnumMember(Value = @"INTEGRATION_PARTNER")] - INTEGRATION_PARTNER = 45, + INTEGRATION_PARTNER = 44, [System.Runtime.Serialization.EnumMember(Value = @"PROJECT")] - PROJECT = 46, + PROJECT = 45, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_REPORTING_ENK")] - YEAR_END_REPORTING_ENK = 47, + YEAR_END_REPORTING_ENK = 46, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_REPORTING_AS")] - YEAR_END_REPORTING_AS = 48, + YEAR_END_REPORTING_AS = 47, } @@ -118073,6 +119712,9 @@ public enum CompanyRepresentativeSignatureStatus [System.Runtime.Serialization.EnumMember(Value = @"SIGNED")] SIGNED = 2, + [System.Runtime.Serialization.EnumMember(Value = @"NOT_A_SIGNER")] + NOT_A_SIGNER = 3, + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] @@ -118112,6 +119754,9 @@ public enum EmploymentType1 [System.Runtime.Serialization.EnumMember(Value = @"FREELANCE")] FREELANCE = 2, + [System.Runtime.Serialization.EnumMember(Value = @"NOT_CHOSEN")] + NOT_CHOSEN = 3, + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] @@ -118202,8 +119847,11 @@ public enum RemunerationType1 [System.Runtime.Serialization.EnumMember(Value = @"FEE")] FEE = 3, + [System.Runtime.Serialization.EnumMember(Value = @"NOT_CHOSEN")] + NOT_CHOSEN = 4, + [System.Runtime.Serialization.EnumMember(Value = @"PIECEWORK_WAGE")] - PIECEWORK_WAGE = 4, + PIECEWORK_WAGE = 5, } @@ -118229,6 +119877,9 @@ public enum WorkingHoursScheme1 [System.Runtime.Serialization.EnumMember(Value = @"OTHER_SHIFT")] OTHER_SHIFT = 5, + [System.Runtime.Serialization.EnumMember(Value = @"NOT_CHOSEN")] + NOT_CHOSEN = 6, + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] @@ -118286,31 +119937,217 @@ public enum SubscriptionStatus } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum FundingPartnerApplicationLoanType + public enum PaymentDTOStatus { - [System.Runtime.Serialization.EnumMember(Value = @"OTHER")] - OTHER = 0, + [System.Runtime.Serialization.EnumMember(Value = @"NOT_APPROVED")] + NOT_APPROVED = 0, - [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE")] - REAL_ESTATE = 1, + [System.Runtime.Serialization.EnumMember(Value = @"CANCELLED")] + CANCELLED = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"APPROVED")] + APPROVED = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"SENT_TO_AUTOPAY")] + SENT_TO_AUTOPAY = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"RECEIVED_BY_BANK")] + RECEIVED_BY_BANK = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"ACCEPTED_BY_BANK")] + ACCEPTED_BY_BANK = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"FAILED")] + FAILED = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"SUCCESS")] + SUCCESS = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"NOT_UPDATED")] + NOT_UPDATED = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"ON_HOLD")] + ON_HOLD = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"IMPORTED")] + IMPORTED = 10, + + [System.Runtime.Serialization.EnumMember(Value = @"INITIALIZED")] + INITIALIZED = 11, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTHORIZATION_REQUIRED")] + AUTHORIZATION_REQUIRED = 12, + + [System.Runtime.Serialization.EnumMember(Value = @"SETTLEMENT_IN_PROGRESS")] + SETTLEMENT_IN_PROGRESS = 13, + + [System.Runtime.Serialization.EnumMember(Value = @"REJECTED")] + REJECTED = 14, + + [System.Runtime.Serialization.EnumMember(Value = @"BOOKED")] + BOOKED = 15, + + [System.Runtime.Serialization.EnumMember(Value = @"SETTLEMENT_COMPLETED")] + SETTLEMENT_COMPLETED = 16, + + [System.Runtime.Serialization.EnumMember(Value = @"BATCH_FAILED")] + BATCH_FAILED = 17, + + [System.Runtime.Serialization.EnumMember(Value = @"BATCH_TIMEOUT")] + BATCH_TIMEOUT = 18, + + [System.Runtime.Serialization.EnumMember(Value = @"CANCEL_PENDING")] + CANCEL_PENDING = 19, + + [System.Runtime.Serialization.EnumMember(Value = @"PAYROLL_AWAITING_AUTHORIZATION")] + PAYROLL_AWAITING_AUTHORIZATION = 20, + + [System.Runtime.Serialization.EnumMember(Value = @"PAYROLL_SETTLEMENT_IN_PROGRESS")] + PAYROLL_SETTLEMENT_IN_PROGRESS = 21, + + [System.Runtime.Serialization.EnumMember(Value = @"PAYROLL_SETTLEMENT_COMPLETED")] + PAYROLL_SETTLEMENT_COMPLETED = 22, + + [System.Runtime.Serialization.EnumMember(Value = @"PAYROLL_CANCELLED")] + PAYROLL_CANCELLED = 23, + + [System.Runtime.Serialization.EnumMember(Value = @"PAYROLL_SETTLEMENT_NOT_COMPLETED_IN_TIME")] + PAYROLL_SETTLEMENT_NOT_COMPLETED_IN_TIME = 24, + + [System.Runtime.Serialization.EnumMember(Value = @"PAYROLL_PAYMENT_INITIATED")] + PAYROLL_PAYMENT_INITIATED = 25, + + [System.Runtime.Serialization.EnumMember(Value = @"PAYROLL_PAYMENT_ACCEPTED_TECHNICAL_VALIDATION")] + PAYROLL_PAYMENT_ACCEPTED_TECHNICAL_VALIDATION = 26, + + [System.Runtime.Serialization.EnumMember(Value = @"PAYROLL_ACCEPTED_FOR_EXECUTION")] + PAYROLL_ACCEPTED_FOR_EXECUTION = 27, + + [System.Runtime.Serialization.EnumMember(Value = @"PAYROLL_FAILED")] + PAYROLL_FAILED = 28, + + [System.Runtime.Serialization.EnumMember(Value = @"PAYROLL_EXECUTION_COMPLETED")] + PAYROLL_EXECUTION_COMPLETED = 29, } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum FundingPartnerQualifyLoanType + public enum PaymentDTOStatusId { + [System.Runtime.Serialization.EnumMember(Value = @"NEW")] + NEW = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"PENDING_SIGNING")] + PENDING_SIGNING = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"CANCELLED")] + CANCELLED = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"ERROR")] + ERROR = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"RECEIVED_BY_BANK")] + RECEIVED_BY_BANK = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"ACCEPTED_BY_BANK")] + ACCEPTED_BY_BANK = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"CANCELLED_IN_BANK")] + CANCELLED_IN_BANK = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"REJECTED_BY_BANK")] + REJECTED_BY_BANK = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"PAID")] + PAID = 8, + [System.Runtime.Serialization.EnumMember(Value = @"OTHER")] - OTHER = 0, + OTHER = 9, - [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE")] - REAL_ESTATE = 1, + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum PaymentDTOPaymentCategory + { + + [System.Runtime.Serialization.EnumMember(Value = @"TRANSFER_BETWEEN_ACCOUNTS")] + TRANSFER_BETWEEN_ACCOUNTS = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"REIMBURSEMENT")] + REIMBURSEMENT = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"SUPPLIER_INVOICE")] + SUPPLIER_INVOICE = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"WITHHOLDING_TAX")] + WITHHOLDING_TAX = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"TAX_DEDUCTION")] + TAX_DEDUCTION = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"VAT")] + VAT = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"SALARY")] + SALARY = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"ENI")] + ENI = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"REGISTERED")] + REGISTERED = 8, } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum PaymentDTOStatus + public enum PaymentDTOSourceVoucherType + { + + [System.Runtime.Serialization.EnumMember(Value = @"REGULAR")] + REGULAR = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTOPAY_PAYMENT")] + AUTOPAY_PAYMENT = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"ZTL_PAYMENT")] + ZTL_PAYMENT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"WAGE_PERIOD_TRANSACTION")] + WAGE_PERIOD_TRANSACTION = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOMS_DECLARATIONS")] + CUSTOMS_DECLARATIONS = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"VAT_RETURNS")] + VAT_RETURNS = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"WAGE_TRANSACTION")] + WAGE_TRANSACTION = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"INCOMING_INVOICE_DETAILED")] + INCOMING_INVOICE_DETAILED = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"INVOICE_IN")] + INVOICE_IN = 8, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum ZtlTransactionPaymentSource + { + + [System.Runtime.Serialization.EnumMember(Value = @"AutoPayTransaction")] + AutoPayTransaction = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"ZtlTransaction")] + ZtlTransaction = 1, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum ZtlTransactionStatus { [System.Runtime.Serialization.EnumMember(Value = @"NOT_APPROVED")] @@ -118400,10 +120237,13 @@ public enum PaymentDTOStatus [System.Runtime.Serialization.EnumMember(Value = @"PAYROLL_FAILED")] PAYROLL_FAILED = 28, + [System.Runtime.Serialization.EnumMember(Value = @"PAYROLL_EXECUTION_COMPLETED")] + PAYROLL_EXECUTION_COMPLETED = 29, + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum PaymentDTOStatusId + public enum ZtlTransactionStatusId { [System.Runtime.Serialization.EnumMember(Value = @"NEW")] @@ -118439,7 +120279,7 @@ public enum PaymentDTOStatusId } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum PaymentDTOPaymentCategory + public enum ZtlTransactionPaymentCategory { [System.Runtime.Serialization.EnumMember(Value = @"TRANSFER_BETWEEN_ACCOUNTS")] @@ -118471,6 +120311,39 @@ public enum PaymentDTOPaymentCategory } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum ZtlTransactionSourceVoucherType + { + + [System.Runtime.Serialization.EnumMember(Value = @"REGULAR")] + REGULAR = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"AUTOPAY_PAYMENT")] + AUTOPAY_PAYMENT = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"ZTL_PAYMENT")] + ZTL_PAYMENT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"WAGE_PERIOD_TRANSACTION")] + WAGE_PERIOD_TRANSACTION = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOMS_DECLARATIONS")] + CUSTOMS_DECLARATIONS = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"VAT_RETURNS")] + VAT_RETURNS = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"WAGE_TRANSACTION")] + WAGE_TRANSACTION = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"INCOMING_INVOICE_DETAILED")] + INCOMING_INVOICE_DETAILED = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"INVOICE_IN")] + INVOICE_IN = 8, + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public enum StocktakingTypeOfStocktaking { @@ -118564,6 +120437,21 @@ public enum InvoiceSettingsDefaultSendTypeB2C } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum InvoiceSettingsNewOrderOfferOurContactDefaultValue + { + + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNT_MANAGER")] + ACCOUNT_MANAGER = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"LOGIN_USER")] + LOGIN_USER = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"NONE")] + NONE = 2, + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public enum SendTypes { @@ -119011,6 +120899,54 @@ public enum Sources } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum Sources2 + { + + [System.Runtime.Serialization.EnumMember(Value = @"SEARCH1881")] + SEARCH1881 = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"TRIPLETEX")] + TRIPLETEX = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"NICKNAME")] + NICKNAME = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"EMPLOYEE")] + EMPLOYEE = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"CONTACT")] + CONTACT = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"ACTIVITY")] + ACTIVITY = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"PROJECT")] + PROJECT = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"ORDER")] + ORDER = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"OFFER")] + OFFER = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOMER")] + CUSTOMER = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"COMPANY")] + COMPANY = 10, + + [System.Runtime.Serialization.EnumMember(Value = @"CONTROLSCHEMA")] + CONTROLSCHEMA = 11, + + [System.Runtime.Serialization.EnumMember(Value = @"HOUR")] + HOUR = 12, + + [System.Runtime.Serialization.EnumMember(Value = @"TRAVELEXPENSE")] + TRAVELEXPENSE = 13, + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public enum PriceVehicle { @@ -119101,54 +121037,6 @@ public enum TripSearchDTOVehicleType } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum Sources2 - { - - [System.Runtime.Serialization.EnumMember(Value = @"SEARCH1881")] - SEARCH1881 = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"TRIPLETEX")] - TRIPLETEX = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"NICKNAME")] - NICKNAME = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"EMPLOYEE")] - EMPLOYEE = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"CONTACT")] - CONTACT = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"ACTIVITY")] - ACTIVITY = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"PROJECT")] - PROJECT = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"ORDER")] - ORDER = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"OFFER")] - OFFER = 8, - - [System.Runtime.Serialization.EnumMember(Value = @"CUSTOMER")] - CUSTOMER = 9, - - [System.Runtime.Serialization.EnumMember(Value = @"COMPANY")] - COMPANY = 10, - - [System.Runtime.Serialization.EnumMember(Value = @"CONTROLSCHEMA")] - CONTROLSCHEMA = 11, - - [System.Runtime.Serialization.EnumMember(Value = @"HOUR")] - HOUR = 12, - - [System.Runtime.Serialization.EnumMember(Value = @"TRAVELEXPENSE")] - TRAVELEXPENSE = 13, - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public enum PaymentTypeAutomationPaymentIntegration { @@ -119575,21 +121463,6 @@ public enum GoodsReceiptStatus } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum CellBlueprintV1DefaultAxis - { - - [System.Runtime.Serialization.EnumMember(Value = @"NONE")] - NONE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"ROW")] - ROW = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"COL")] - COL = 2, - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public enum ReportGroupAutoGroupDefaultOrder { @@ -119968,6 +121841,75 @@ public enum RequiredSupplementFields } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum CreateSalaryWithSearchEmployeeAvailability + { + + [System.Runtime.Serialization.EnumMember(Value = @"START_NOT_AFTER")] + START_NOT_AFTER = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"ACTIVE")] + ACTIVE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"RESIGNED")] + RESIGNED = 2, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum CreateSalaryWithSearchContactsFilter + { + + [System.Runtime.Serialization.EnumMember(Value = @"INCLUDE_CONTACTS")] + INCLUDE_CONTACTS = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"ONLY_CONTACTS")] + ONLY_CONTACTS = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"NONE")] + NONE = 2, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum CreateSalaryWithSearchOrderBy + { + + [System.Runtime.Serialization.EnumMember(Value = @"FIRSTNAME")] + FIRSTNAME = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"STARTDATE")] + STARTDATE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"DEPARTMENT")] + DEPARTMENT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"DIVISION")] + DIVISION = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"STATUS")] + STATUS = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"PREVIOUS_SALARIES")] + PREVIOUS_SALARIES = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"NUMBER")] + NUMBER = 6, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum CreateSalaryWithSearchOrderDirection + { + + [System.Runtime.Serialization.EnumMember(Value = @"ASC")] + ASC = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"DESC")] + DESC = 1, + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public enum SalarySettingsPayrollTaxCalcMethod { @@ -120001,6 +121943,24 @@ public enum SalarySettingsPayrollTaxCalcMethod } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum ResponseWrapperSignatureStatusValue + { + + [System.Runtime.Serialization.EnumMember(Value = @"NOT_SIGNED")] + NOT_SIGNED = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"PENDING_SIGNATURE")] + PENDING_SIGNATURE = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"SIGNED")] + SIGNED = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"NOT_A_SIGNER")] + NOT_A_SIGNER = 3, + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public enum ResponseWrapperCompanyVerificationTypeValue { @@ -120445,39 +122405,6 @@ public enum CustomerTripletexAccount2VatTermType } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum TripletexCompanyModulesModuleFactoringVismaFinance - { - - [System.Runtime.Serialization.EnumMember(Value = @"OFF")] - OFF = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"STARTED")] - STARTED = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"SIGNING_STARTED")] - SIGNING_STARTED = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"ON")] - ON = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"IN_REVIEW")] - IN_REVIEW = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"DEACTIVATED_FROM_ON")] - DEACTIVATED_FROM_ON = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"DEACTIVATED_FROM_OFF")] - DEACTIVATED_FROM_OFF = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"FAILED")] - FAILED = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"OPTED_OUT")] - OPTED_OUT = 8, - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public enum SalesForceAccountInfoActiveMainModule { @@ -120803,6 +122730,9 @@ public enum SalesForceAccountInfoActiveMainModule [System.Runtime.Serialization.EnumMember(Value = @"RACKBEAT")] RACKBEAT = 106, + [System.Runtime.Serialization.EnumMember(Value = @"DIYPACKAGE")] + DIYPACKAGE = 107, + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] @@ -120887,8 +122817,11 @@ public enum Content [System.Runtime.Serialization.EnumMember(Value = @"UPSALE")] UPSALE = 11, + [System.Runtime.Serialization.EnumMember(Value = @"UPSALE_AUTOMATION")] + UPSALE_AUTOMATION = 12, + [System.Runtime.Serialization.EnumMember(Value = @"VOUCHER_SUMMARY")] - VOUCHER_SUMMARY = 12, + VOUCHER_SUMMARY = 13, } @@ -120932,8 +122865,11 @@ public enum Sidebar [System.Runtime.Serialization.EnumMember(Value = @"UPSALE")] UPSALE = 11, + [System.Runtime.Serialization.EnumMember(Value = @"UPSALE_AUTOMATION")] + UPSALE_AUTOMATION = 12, + [System.Runtime.Serialization.EnumMember(Value = @"VOUCHER_SUMMARY")] - VOUCHER_SUMMARY = 12, + VOUCHER_SUMMARY = 13, } @@ -120955,6 +122891,57 @@ public enum GetStartedTaskWidgetDTOStatus } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum VatDeliveryStatusStatus + { + + [System.Runtime.Serialization.EnumMember(Value = @"NOT_STARTED")] + NOT_STARTED = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"NOT_SENT")] + NOT_SENT = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"SENDING")] + SENDING = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"WAITING_FOR_REPLY")] + WAITING_FOR_REPLY = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"RECEIPT_RECEIVED")] + RECEIPT_RECEIVED = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"MANUAL_DELIVERY")] + MANUAL_DELIVERY = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"DELIVERY_FORBIDDEN")] + DELIVERY_FORBIDDEN = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"FAILED")] + FAILED = 7, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum VatPaymentStatusStatus + { + + [System.Runtime.Serialization.EnumMember(Value = @"NOT_STARTED")] + NOT_STARTED = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"NOT_PAID")] + NOT_PAID = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"NO_TAX_TO_PAY")] + NO_TAX_TO_PAY = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"AMOUNT_CREDITED")] + AMOUNT_CREDITED = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"PAYMENT_REGISTERED")] + PAYMENT_REGISTERED = 4, + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public enum VatReturns2022Status { @@ -121163,20 +123150,38 @@ public enum VoucherInboxArchiveModelType [System.Runtime.Serialization.EnumMember(Value = @"PROJECT")] PROJECT = 3, - [System.Runtime.Serialization.EnumMember(Value = @"PRODUCT")] - PRODUCT = 4, + [System.Runtime.Serialization.EnumMember(Value = @"ORDER")] + ORDER = 4, - [System.Runtime.Serialization.EnumMember(Value = @"INVOICE")] - INVOICE = 5, + [System.Runtime.Serialization.EnumMember(Value = @"OFFER")] + OFFER = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"PRODUCT")] + PRODUCT = 6, [System.Runtime.Serialization.EnumMember(Value = @"EMPLOYEE")] - EMPLOYEE = 6, + EMPLOYEE = 7, [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNT")] - ACCOUNT = 7, + ACCOUNT = 8, [System.Runtime.Serialization.EnumMember(Value = @"ASSET")] - ASSET = 8, + ASSET = 9, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum VoucherInboxArchiveAddToInvoice + { + + [System.Runtime.Serialization.EnumMember(Value = @"ADD_TO_INVOICE_NONE")] + ADD_TO_INVOICE_NONE = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"ADD_TO_INVOICE_NEXT")] + ADD_TO_INVOICE_NEXT = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"ADD_TO_INVOICE_ALL")] + ADD_TO_INVOICE_ALL = 2, } @@ -121208,230 +123213,62 @@ public enum VoucherInboxItemType } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum VoucherInboxItemInvoiceType + public enum VoucherInboxItemFilterType { [System.Runtime.Serialization.EnumMember(Value = @"UNKNOWN")] UNKNOWN = 0, - [System.Runtime.Serialization.EnumMember(Value = @"PDF")] - PDF = 1, - [System.Runtime.Serialization.EnumMember(Value = @"EHF")] - EHF = 2, + EHF = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"EHF_WITH_PREDICTIONS")] + EHF_WITH_PREDICTIONS = 2, [System.Runtime.Serialization.EnumMember(Value = @"EFO_NELFO")] EFO_NELFO = 3, - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum VoucherInboxItemInvoiceDateSourceType - { - - [System.Runtime.Serialization.EnumMember(Value = @"NONE")] - NONE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"EDI")] - EDI = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"SMART_SCAN")] - SMART_SCAN = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"FABRIC_AI")] - FABRIC_AI = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"LAST_VOUCHER")] - LAST_VOUCHER = 4, - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum VoucherInboxItemDueDateSourceType - { - - [System.Runtime.Serialization.EnumMember(Value = @"NONE")] - NONE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"EDI")] - EDI = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"SMART_SCAN")] - SMART_SCAN = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"FABRIC_AI")] - FABRIC_AI = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"LAST_VOUCHER")] - LAST_VOUCHER = 4, - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum VoucherInboxItemSupplierSourceType - { - - [System.Runtime.Serialization.EnumMember(Value = @"NONE")] - NONE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"EDI")] - EDI = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"SMART_SCAN")] - SMART_SCAN = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"FABRIC_AI")] - FABRIC_AI = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"LAST_VOUCHER")] - LAST_VOUCHER = 4, - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum VoucherInboxItemInvoiceAmountSourceType - { - - [System.Runtime.Serialization.EnumMember(Value = @"NONE")] - NONE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"EDI")] - EDI = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"SMART_SCAN")] - SMART_SCAN = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"FABRIC_AI")] - FABRIC_AI = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"LAST_VOUCHER")] - LAST_VOUCHER = 4, - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum VoucherInboxItemInvoiceCurrencySourceType - { - - [System.Runtime.Serialization.EnumMember(Value = @"NONE")] - NONE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"EDI")] - EDI = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"SMART_SCAN")] - SMART_SCAN = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"FABRIC_AI")] - FABRIC_AI = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"LAST_VOUCHER")] - LAST_VOUCHER = 4, - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum VoucherInboxItemAccountSourceType - { - - [System.Runtime.Serialization.EnumMember(Value = @"NONE")] - NONE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"EDI")] - EDI = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"SMART_SCAN")] - SMART_SCAN = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"FABRIC_AI")] - FABRIC_AI = 3, + [System.Runtime.Serialization.EnumMember(Value = @"EFO_NELFO_WITH_PREDICTIONS")] + EFO_NELFO_WITH_PREDICTIONS = 4, - [System.Runtime.Serialization.EnumMember(Value = @"LAST_VOUCHER")] - LAST_VOUCHER = 4, - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum VoucherInboxItemVatSourceType - { - - [System.Runtime.Serialization.EnumMember(Value = @"NONE")] - NONE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"EDI")] - EDI = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"SMART_SCAN")] - SMART_SCAN = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"FABRIC_AI")] - FABRIC_AI = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"LAST_VOUCHER")] - LAST_VOUCHER = 4, - - } - - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum VoucherInboxItemProjectSourceType - { - - [System.Runtime.Serialization.EnumMember(Value = @"NONE")] - NONE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"EDI")] - EDI = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"SMART_SCAN")] - SMART_SCAN = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"FABRIC_AI")] - FABRIC_AI = 3, + [System.Runtime.Serialization.EnumMember(Value = @"INVOICE")] + INVOICE = 5, - [System.Runtime.Serialization.EnumMember(Value = @"LAST_VOUCHER")] - LAST_VOUCHER = 4, + [System.Runtime.Serialization.EnumMember(Value = @"PDF_INVOICE")] + PDF_INVOICE = 6, - } + [System.Runtime.Serialization.EnumMember(Value = @"PDF_RECEIPT")] + PDF_RECEIPT = 7, - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum VoucherInboxItemDepartmentSourceType - { + [System.Runtime.Serialization.EnumMember(Value = @"PDF_CREDIT_NOTE")] + PDF_CREDIT_NOTE = 8, - [System.Runtime.Serialization.EnumMember(Value = @"NONE")] - NONE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"EDI")] - EDI = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"SMART_SCAN")] - SMART_SCAN = 2, + [System.Runtime.Serialization.EnumMember(Value = @"ERROR_EHF_IMPORT")] + ERROR_EHF_IMPORT = 9, - [System.Runtime.Serialization.EnumMember(Value = @"FABRIC_AI")] - FABRIC_AI = 3, + [System.Runtime.Serialization.EnumMember(Value = @"REPLAYABLE_VOUCHER")] + REPLAYABLE_VOUCHER = 10, - [System.Runtime.Serialization.EnumMember(Value = @"LAST_VOUCHER")] - LAST_VOUCHER = 4, + [System.Runtime.Serialization.EnumMember(Value = @"REMINDER_SPECIFICATION")] + REMINDER_SPECIFICATION = 11, } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum VoucherInboxItemPaymentTypeSourceType + public enum VoucherInboxItemInvoiceType { - [System.Runtime.Serialization.EnumMember(Value = @"NONE")] - NONE = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"EDI")] - EDI = 1, + [System.Runtime.Serialization.EnumMember(Value = @"UNKNOWN")] + UNKNOWN = 0, - [System.Runtime.Serialization.EnumMember(Value = @"SMART_SCAN")] - SMART_SCAN = 2, + [System.Runtime.Serialization.EnumMember(Value = @"PDF")] + PDF = 1, - [System.Runtime.Serialization.EnumMember(Value = @"FABRIC_AI")] - FABRIC_AI = 3, + [System.Runtime.Serialization.EnumMember(Value = @"EHF")] + EHF = 2, - [System.Runtime.Serialization.EnumMember(Value = @"LAST_VOUCHER")] - LAST_VOUCHER = 4, + [System.Runtime.Serialization.EnumMember(Value = @"EFO_NELFO")] + EFO_NELFO = 3, } @@ -121550,6 +123387,12 @@ public enum PageOptionsType [System.Runtime.Serialization.EnumMember(Value = @"BankAccountsOverviewViewOptions")] BankAccountsOverviewViewOptions = 4, + [System.Runtime.Serialization.EnumMember(Value = @"PaymentsOverviewViewOptions")] + PaymentsOverviewViewOptions = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"InvoiceOverviewOptions")] + InvoiceOverviewOptions = 6, + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] @@ -121579,6 +123422,84 @@ public enum ChatResponseDTOFeedback } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum Altinn2ReceptionReceiptStatus + { + + [System.Runtime.Serialization.EnumMember(Value = @"NotSet")] + NotSet = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"Ok")] + Ok = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"UnExpectedError")] + UnExpectedError = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"ValidationFailed")] + ValidationFailed = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"Rejected")] + Rejected = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"Unknown")] + Unknown = 5, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum Altinn2ReceptionReceiptMessageSeverity + { + + [System.Runtime.Serialization.EnumMember(Value = @"Warning")] + Warning = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"Error")] + Error = 1, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum AnnualAccountsSubmissionResultFailureStep + { + + [System.Runtime.Serialization.EnumMember(Value = @"INITIATING_PERSONAL_AUTHENTICATION")] + INITIATING_PERSONAL_AUTHENTICATION = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"FETCHING_SIGNING_TEXT")] + FETCHING_SIGNING_TEXT = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"SUBMITTING")] + SUBMITTING = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"FETCHING_ASYNC_RECEIPT")] + FETCHING_ASYNC_RECEIPT = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"NONE")] + NONE = 4, + + } + + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum AnnualAccountsSubmissionResultFailureCategory + { + + [System.Runtime.Serialization.EnumMember(Value = @"UNKNOWN")] + UNKNOWN = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"INTERNAL_VALIDATION_FAILED")] + INTERNAL_VALIDATION_FAILED = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"EXTERNAL_SERVICE_OTHER_ERROR")] + EXTERNAL_SERVICE_OTHER_ERROR = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"EXTERNAL_SERVICE_APPLICATION_ERROR")] + EXTERNAL_SERVICE_APPLICATION_ERROR = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"UNEXPECTED_RESPONSE_CONTENT")] + UNEXPECTED_RESPONSE_CONTENT = 4, + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public enum YearEndAnnualAccountsStatus { @@ -121606,30 +123527,6 @@ public enum YearEndAnnualAccountsStatus } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum YearEndAnnualAccountsSubmissionReceptionStatus - { - - [System.Runtime.Serialization.EnumMember(Value = @"NotSet")] - NotSet = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"Ok")] - Ok = 1, - - [System.Runtime.Serialization.EnumMember(Value = @"UnExpectedError")] - UnExpectedError = 2, - - [System.Runtime.Serialization.EnumMember(Value = @"ValidationFailed")] - ValidationFailed = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"Rejected")] - Rejected = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"Unknown")] - Unknown = 5, - - } - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public enum BasicDataBusinessActivityType { @@ -121751,6 +123648,9 @@ public enum GenericDataSubType [System.Runtime.Serialization.EnumMember(Value = @"ENTERTAINMENT")] ENTERTAINMENT = 7, + [System.Runtime.Serialization.EnumMember(Value = @"MULTI_UNIT_BUILDING_UNIT")] + MULTI_UNIT_BUILDING_UNIT = 8, + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] @@ -121967,11 +123867,11 @@ public enum GenericDataPostType [System.Runtime.Serialization.EnumMember(Value = @"TOTAL_WITHDRAWAL_COST_FOR_ENTERTAINMENT")] TOTAL_WITHDRAWAL_COST_FOR_ENTERTAINMENT = 69, - [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_CREDITSALES")] - OPENING_BALANCE_CREDITSALES = 70, + [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_CREDIT_SALES")] + OPENING_BALANCE_CREDIT_SALES = 70, - [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_CREDITSALES")] - CLOSING_BALANCE_CREDITSALES = 71, + [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_CREDIT_SALES")] + CLOSING_BALANCE_CREDIT_SALES = 71, [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_WRITE_DOWN_NEW_COMPANY")] OPENING_BALANCE_WRITE_DOWN_NEW_COMPANY = 72, @@ -121979,11 +123879,11 @@ public enum GenericDataPostType [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_WRITE_DOWN_NEW_COMPANY")] CLOSING_BALANCE_WRITE_DOWN_NEW_COMPANY = 73, - [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS")] - OPENING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS = 74, + [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS")] + OPENING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS = 74, - [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS")] - CLOSING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS = 75, + [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS")] + CLOSING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS = 75, [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_PRODUCT_UNDER_MANUFACTURING")] OPENING_BALANCE_PRODUCT_UNDER_MANUFACTURING = 76, @@ -122078,14 +123978,14 @@ public enum GenericDataPostType [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS")] ACCOUNTING_LOSS = 106, - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_NORWEAGIAN_SDF")] - ACCOUNTING_DEFICIT_NORWEAGIAN_SDF = 107, + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_NORWEGIAN_SDF")] + ACCOUNTING_DEFICIT_NORWEGIAN_SDF = 107, [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_FOREIGN_SDF")] ACCOUNTING_DEFICIT_FOREIGN_SDF = 108, - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_NORWEAGIAN_SDF")] - ACCOUNTING_LOSS_NORWEAGIAN_SDF = 109, + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_NORWEGIAN_SDF")] + ACCOUNTING_LOSS_NORWEGIAN_SDF = 109, [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_FOREIGN_SDF")] ACCOUNTING_LOSS_FOREIGN_SDF = 110, @@ -122159,11 +124059,11 @@ public enum GenericDataPostType [System.Runtime.Serialization.EnumMember(Value = @"SHARE_OF_DEDUCTIBLE_DEFICIT_FOREIGN_SDF")] SHARE_OF_DEDUCTIBLE_DEFICIT_FOREIGN_SDF = 133, - [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIXATION_NORWEGIAN_SDF")] - DEDUCTIBLE_LOSS_ON_REALIXATION_NORWEGIAN_SDF = 134, + [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIZATION_NORWEGIAN_SDF")] + DEDUCTIBLE_LOSS_ON_REALIZATION_NORWEGIAN_SDF = 134, - [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIXATION_FOREIGN_SDF")] - DEDUCTIBLE_LOSS_ON_REALIXATION_FOREIGN_SDF = 135, + [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIZATION_FOREIGN_SDF")] + DEDUCTIBLE_LOSS_ON_REALIZATION_FOREIGN_SDF = 135, [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_WITHDRAWAL_NORWEGIAN_TAX_AREA")] DEDUCTIBLE_LOSS_ON_WITHDRAWAL_NORWEGIAN_TAX_AREA = 136, @@ -122231,14 +124131,14 @@ public enum GenericDataPostType [System.Runtime.Serialization.EnumMember(Value = @"OWN_BUSINESS_PROPERTIES")] OWN_BUSINESS_PROPERTIES = 157, - [System.Runtime.Serialization.EnumMember(Value = @"OWN_ASSET_PAPIR")] - OWN_ASSET_PAPIR = 158, + [System.Runtime.Serialization.EnumMember(Value = @"OWN_ASSET_PAPER")] + OWN_ASSET_PAPER = 158, - [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERED_BY")] - TRANSFERED_BY = 159, + [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERRED_BY")] + TRANSFERRED_BY = 159, - [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERED_DATE")] - TRANSFERED_DATE = 160, + [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERRED_DATE")] + TRANSFERRED_DATE = 160, [System.Runtime.Serialization.EnumMember(Value = @"SET_ACCOUNTANT_REVISED")] SET_ACCOUNTANT_REVISED = 161, @@ -122246,8 +124146,8 @@ public enum GenericDataPostType [System.Runtime.Serialization.EnumMember(Value = @"IS_TAXABLE")] IS_TAXABLE = 162, - [System.Runtime.Serialization.EnumMember(Value = @"REQUIRE_AUDITORS_SIGNATURE")] - REQUIRE_AUDITORS_SIGNATURE = 163, + [System.Runtime.Serialization.EnumMember(Value = @"AUDITING_OBLIGATION")] + AUDITING_OBLIGATION = 163, [System.Runtime.Serialization.EnumMember(Value = @"VALIDATION_ONLY_ON_SUBMIT")] VALIDATION_ONLY_ON_SUBMIT = 164, @@ -122264,8 +124164,8 @@ public enum GenericDataPostType [System.Runtime.Serialization.EnumMember(Value = @"PARENT_COMPANY")] PARENT_COMPANY = 168, - [System.Runtime.Serialization.EnumMember(Value = @"SMALL_ENTERPRICES")] - SMALL_ENTERPRICES = 169, + [System.Runtime.Serialization.EnumMember(Value = @"SMALL_ENTERPRISES")] + SMALL_ENTERPRISES = 169, [System.Runtime.Serialization.EnumMember(Value = @"PREPARED_BY_AUTHORIZED_ACCOUNTANT")] PREPARED_BY_AUTHORIZED_ACCOUNTANT = 170, @@ -122282,508 +124182,508 @@ public enum GenericDataPostType [System.Runtime.Serialization.EnumMember(Value = @"SHOW_RESULT_AND_BALANCE_PREVIOUS_YEAR")] SHOW_RESULT_AND_BALANCE_PREVIOUS_YEAR = 174, + [System.Runtime.Serialization.EnumMember(Value = @"DATE_START")] + DATE_START = 175, + + [System.Runtime.Serialization.EnumMember(Value = @"DATE_END")] + DATE_END = 176, + + [System.Runtime.Serialization.EnumMember(Value = @"INCLUDE_PREVIOUS_YEAR_IN_RESULT")] + INCLUDE_PREVIOUS_YEAR_IN_RESULT = 177, + + [System.Runtime.Serialization.EnumMember(Value = @"DISTRIBUTE_INCOME_MODULE_INDUSTRY")] + DISTRIBUTE_INCOME_MODULE_INDUSTRY = 178, + [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_BRREG_DOC_ID")] - YEAR_END_BRREG_DOC_ID = 175, + YEAR_END_BRREG_DOC_ID = 179, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_BRREG_DOC_FETCHER_NAME")] - YEAR_END_BRREG_DOC_FETCHER_NAME = 176, + YEAR_END_BRREG_DOC_FETCHER_NAME = 180, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT")] - YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT = 177, + YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT = 181, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT")] - YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT = 178, + YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT = 182, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE")] - YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE = 179, + YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE = 183, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS")] - YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS = 180, + YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS = 184, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_INVENTORIES")] - YEAR_END_DOCUMENTATION_INVENTORIES = 181, + YEAR_END_DOCUMENTATION_INVENTORIES = 185, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS")] - YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS = 182, + YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS = 186, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROFIT_LOSS")] - YEAR_END_DOCUMENTATION_PROFIT_LOSS = 183, + YEAR_END_DOCUMENTATION_PROFIT_LOSS = 187, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_BALANCE")] - YEAR_END_DOCUMENTATION_BALANCE = 184, + YEAR_END_DOCUMENTATION_BALANCE = 188, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PERSONAL_INCOME")] - YEAR_END_DOCUMENTATION_PERSONAL_INCOME = 185, + YEAR_END_DOCUMENTATION_PERSONAL_INCOME = 189, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES")] - YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES = 186, + YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES = 190, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES")] - YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES = 187, + YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES = 191, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT")] - YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT = 188, + YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT = 192, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS")] - YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS = 189, + YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS = 193, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION")] - YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION = 190, + YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION = 194, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_RETURN")] - YEAR_END_DOCUMENTATION_TAX_RETURN = 191, + YEAR_END_DOCUMENTATION_TAX_RETURN = 195, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_DIVIDEND")] - YEAR_END_DOCUMENTATION_DIVIDEND = 192, + YEAR_END_DOCUMENTATION_DIVIDEND = 196, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_DISPOSITIONS")] - YEAR_END_DOCUMENTATION_DISPOSITIONS = 193, + YEAR_END_DOCUMENTATION_DISPOSITIONS = 197, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROPERTIES")] - YEAR_END_DOCUMENTATION_PROPERTIES = 194, + YEAR_END_DOCUMENTATION_PROPERTIES = 198, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_SECURITIES")] - YEAR_END_DOCUMENTATION_SECURITIES = 195, + YEAR_END_DOCUMENTATION_SECURITIES = 199, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_CALCULATION")] - YEAR_END_DOCUMENTATION_TAX_CALCULATION = 196, + YEAR_END_DOCUMENTATION_TAX_CALCULATION = 200, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_AUDIT_REPORT")] - YEAR_END_DOCUMENTATION_AUDIT_REPORT = 197, + YEAR_END_DOCUMENTATION_AUDIT_REPORT = 201, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ANNUAL_REPORT")] - YEAR_END_DOCUMENTATION_ANNUAL_REPORT = 198, + YEAR_END_DOCUMENTATION_ANNUAL_REPORT = 202, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT")] - YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT = 199, + YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT = 203, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS")] - YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS = 200, + YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS = 204, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVER_ORG_NR")] - RECEIVER_ORG_NR = 201, + RECEIVER_ORG_NR = 205, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVER_NAME")] - RECEIVER_NAME = 202, + RECEIVER_NAME = 206, [System.Runtime.Serialization.EnumMember(Value = @"CONCERN_CONNECTION")] - CONCERN_CONNECTION = 203, + CONCERN_CONNECTION = 207, [System.Runtime.Serialization.EnumMember(Value = @"VOTING_LIMIT")] - VOTING_LIMIT = 204, + VOTING_LIMIT = 208, [System.Runtime.Serialization.EnumMember(Value = @"DATE_OF_ACQUISITION")] - DATE_OF_ACQUISITION = 205, + DATE_OF_ACQUISITION = 209, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION")] - RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 206, + RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 210, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION")] - RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 207, + RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 211, [System.Runtime.Serialization.EnumMember(Value = @"SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION")] - SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 208, + SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 212, [System.Runtime.Serialization.EnumMember(Value = @"SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION")] - SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 209, + SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 213, [System.Runtime.Serialization.EnumMember(Value = @"APPLICATION_OF_LOSS_CARRY_FORWARDS")] - APPLICATION_OF_LOSS_CARRY_FORWARDS = 210, + APPLICATION_OF_LOSS_CARRY_FORWARDS = 214, [System.Runtime.Serialization.EnumMember(Value = @"ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS")] - ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS = 211, + ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS = 215, [System.Runtime.Serialization.EnumMember(Value = @"CORRECTIONS_AND_OTHER_CAPITAL")] - CORRECTIONS_AND_OTHER_CAPITAL = 212, + CORRECTIONS_AND_OTHER_CAPITAL = 216, [System.Runtime.Serialization.EnumMember(Value = @"CORRECTIONS_AND_OTHER_DEBT")] - CORRECTIONS_AND_OTHER_DEBT = 213, + CORRECTIONS_AND_OTHER_DEBT = 217, [System.Runtime.Serialization.EnumMember(Value = @"NUMBER_OF_SHARES")] - NUMBER_OF_SHARES = 214, + NUMBER_OF_SHARES = 218, [System.Runtime.Serialization.EnumMember(Value = @"IS_PART_OF_GROUP_COMPANY")] - IS_PART_OF_GROUP_COMPANY = 215, + IS_PART_OF_GROUP_COMPANY = 219, [System.Runtime.Serialization.EnumMember(Value = @"IS_LISTED_ON_THE_STOCK_EXCHANGE")] - IS_LISTED_ON_THE_STOCK_EXCHANGE = 216, + IS_LISTED_ON_THE_STOCK_EXCHANGE = 220, [System.Runtime.Serialization.EnumMember(Value = @"IS_REORGANIZED_ACROSS_BORDERS")] - IS_REORGANIZED_ACROSS_BORDERS = 217, + IS_REORGANIZED_ACROSS_BORDERS = 221, - [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OR_TRANSFERED_ASSETS")] - HAS_RECEIVED_OR_TRANSFERED_ASSETS = 218, + [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OR_TRANSFERRED_ASSETS")] + HAS_RECEIVED_OR_TRANSFERRED_ASSETS = 222, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_NAME")] - HEAD_OF_GROUP_NAME = 219, + HEAD_OF_GROUP_NAME = 223, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_COUNTRY_CODE")] - HEAD_OF_GROUP_COUNTRY_CODE = 220, + HEAD_OF_GROUP_COUNTRY_CODE = 224, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_LAST_YEAR_NAME")] - HEAD_OF_GROUP_LAST_YEAR_NAME = 221, + HEAD_OF_GROUP_LAST_YEAR_NAME = 225, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE")] - HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE = 222, + HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE = 226, [System.Runtime.Serialization.EnumMember(Value = @"FOREIGN_OWNERSHIP_COMPANY_NAME")] - FOREIGN_OWNERSHIP_COMPANY_NAME = 223, + FOREIGN_OWNERSHIP_COMPANY_NAME = 227, [System.Runtime.Serialization.EnumMember(Value = @"FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE")] - FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE = 224, + FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE = 228, [System.Runtime.Serialization.EnumMember(Value = @"OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY")] - OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY = 225, + OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY = 229, [System.Runtime.Serialization.EnumMember(Value = @"HAS_PERMANENT_ESTABLISHMENT_ABROAD")] - HAS_PERMANENT_ESTABLISHMENT_ABROAD = 226, + HAS_PERMANENT_ESTABLISHMENT_ABROAD = 230, [System.Runtime.Serialization.EnumMember(Value = @"COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME")] - COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME = 227, + COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME = 231, [System.Runtime.Serialization.EnumMember(Value = @"COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE")] - COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE = 228, + COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE = 232, [System.Runtime.Serialization.EnumMember(Value = @"HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER")] - HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER = 229, + HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER = 233, [System.Runtime.Serialization.EnumMember(Value = @"HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID")] - HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID = 230, + HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID = 234, [System.Runtime.Serialization.EnumMember(Value = @"IS_SMALL_OR_MEDIUM_SIZED_BUSINESS")] - IS_SMALL_OR_MEDIUM_SIZED_BUSINESS = 231, + IS_SMALL_OR_MEDIUM_SIZED_BUSINESS = 235, [System.Runtime.Serialization.EnumMember(Value = @"HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR")] - HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR = 232, + HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR = 236, [System.Runtime.Serialization.EnumMember(Value = @"IS_GROUP_COMPANY")] - IS_GROUP_COMPANY = 233, + IS_GROUP_COMPANY = 237, [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OTHER_PUBLIC_SUPPORT")] - HAS_RECEIVED_OTHER_PUBLIC_SUPPORT = 234, + HAS_RECEIVED_OTHER_PUBLIC_SUPPORT = 238, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_TONNAGE_TAX_REGIME")] - AID_SCHEME_TONNAGE_TAX_REGIME = 235, + AID_SCHEME_TONNAGE_TAX_REGIME = 239, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS")] - AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS = 236, + AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS = 240, - [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FOR_LONGTERM_INVESTMENTS")] - AID_SCHEME_FOR_LONGTERM_INVESTMENTS = 237, + [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FOR_LONG_TERM_INVESTMENTS")] + AID_SCHEME_FOR_LONG_TERM_INVESTMENTS = 241, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP")] - AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP = 238, + AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP = 242, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_TAX_FUN")] - AID_SCHEME_TAX_FUN = 239, + AID_SCHEME_TAX_FUN = 243, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES")] - AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES = 240, + AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES = 244, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS")] - AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS = 241, + AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS = 245, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES")] - AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES = 242, + AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES = 246, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS = 243, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS = 247, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS")] - AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS = 244, + AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS = 248, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES = 245, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES = 249, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS = 246, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS = 250, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR = 247, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR = 251, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING = 248, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING = 252, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE = 249, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE = 253, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES = 250, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES = 254, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS = 251, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS = 255, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS = 252, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS = 256, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY")] - AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY = 253, + AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY = 257, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY")] - AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY = 254, + AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY = 258, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL")] - AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL = 255, + AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL = 259, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_CO2_TAX_GAS")] - AID_SCHEME_EXEMPTION_CO2_TAX_GAS = 256, + AID_SCHEME_EXEMPTION_CO2_TAX_GAS = 260, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_NOX_DUTY")] - AID_SCHEME_EXEMPTION_NOX_DUTY = 257, + AID_SCHEME_EXEMPTION_NOX_DUTY = 261, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_TRANSFER_FEE")] - AID_SCHEME_EXEMPTION_TRANSFER_FEE = 258, + AID_SCHEME_EXEMPTION_TRANSFER_FEE = 262, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX")] - AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX = 259, + AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX = 263, [System.Runtime.Serialization.EnumMember(Value = @"OTHER_CORRECTIONS")] - OTHER_CORRECTIONS = 260, + OTHER_CORRECTIONS = 264, [System.Runtime.Serialization.EnumMember(Value = @"DEFERRED_TAX_ASSETS_IN_BALANCE")] - DEFERRED_TAX_ASSETS_IN_BALANCE = 261, + DEFERRED_TAX_ASSETS_IN_BALANCE = 265, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_NAME")] - SHARES_AND_SECURITIES_NAME = 262, + SHARES_AND_SECURITIES_NAME = 266, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_STOCK_TYPE")] - SHARES_AND_SECURITIES_STOCK_TYPE = 263, + SHARES_AND_SECURITIES_STOCK_TYPE = 267, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_VAT_NUMBER")] - SHARES_AND_SECURITIES_VAT_NUMBER = 264, + SHARES_AND_SECURITIES_VAT_NUMBER = 268, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_ISIN")] - SHARES_AND_SECURITIES_ISIN = 265, + SHARES_AND_SECURITIES_ISIN = 269, - [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_COUNTRY")] - SHARES_AND_SECURITIES_COUNTRY = 266, + [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_COUNTRY_CODE")] + SHARES_AND_SECURITIES_COUNTRY_CODE = 270, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARE_CLASS")] - SHARES_AND_SECURITIES_SHARE_CLASS = 267, + SHARES_AND_SECURITIES_SHARE_CLASS = 271, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR")] - SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR = 268, + SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR = 272, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR")] - SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR = 269, + SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR = 273, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_VALUE")] - SHARES_AND_SECURITIES_VALUE = 270, + SHARES_AND_SECURITIES_VALUE = 274, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_TOTAL_VALUE")] - SHARES_AND_SECURITIES_TOTAL_VALUE = 271, + SHARES_AND_SECURITIES_TOTAL_VALUE = 275, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_DIVIDEND")] - SHARES_AND_SECURITIES_DIVIDEND = 272, + SHARES_AND_SECURITIES_DIVIDEND = 276, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_INTEREST_INCOME")] - SHARES_AND_SECURITIES_INTEREST_INCOME = 273, + SHARES_AND_SECURITIES_INTEREST_INCOME = 277, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_PROFIT_REALISATION")] - SHARES_AND_SECURITIES_PROFIT_REALISATION = 274, + SHARES_AND_SECURITIES_PROFIT_REALISATION = 278, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_LOSS_REALISATION")] - SHARES_AND_SECURITIES_LOSS_REALISATION = 275, + SHARES_AND_SECURITIES_LOSS_REALISATION = 279, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_PROFIT_INTEREST")] - SHARES_AND_SECURITIES_PROFIT_INTEREST = 276, + SHARES_AND_SECURITIES_PROFIT_INTEREST = 280, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_LOSS_INTEREST")] - SHARES_AND_SECURITIES_LOSS_INTEREST = 277, + SHARES_AND_SECURITIES_LOSS_INTEREST = 281, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_EXEMPTION_METHOD")] - SHARES_AND_SECURITIES_EXEMPTION_METHOD = 278, + SHARES_AND_SECURITIES_EXEMPTION_METHOD = 282, + + [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_FINANCIAL_PRODUCT")] + SHARES_AND_SECURITIES_FINANCIAL_PRODUCT = 283, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_TYPE")] - REAL_ESTATE_TYPE = 279, + REAL_ESTATE_TYPE = 284, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DESCRIPTION")] - REAL_ESTATE_DESCRIPTION = 280, + REAL_ESTATE_DESCRIPTION = 285, [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_PROPERTY_TYPE")] - COMMERCIAL_PROPERTY_TYPE = 281, + COMMERCIAL_PROPERTY_TYPE = 286, [System.Runtime.Serialization.EnumMember(Value = @"SHARE_OF_ASSET_VALUE")] - SHARE_OF_ASSET_VALUE = 282, + SHARE_OF_ASSET_VALUE = 287, [System.Runtime.Serialization.EnumMember(Value = @"INTERNAL_PROPERTY_IDENTIFIER")] - INTERNAL_PROPERTY_IDENTIFIER = 283, + INTERNAL_PROPERTY_IDENTIFIER = 288, [System.Runtime.Serialization.EnumMember(Value = @"ASSET_VALUE_FOR_ASSET_SHARE")] - ASSET_VALUE_FOR_ASSET_SHARE = 284, + ASSET_VALUE_FOR_ASSET_SHARE = 289, [System.Runtime.Serialization.EnumMember(Value = @"VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE")] - VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE = 285, + VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE = 290, [System.Runtime.Serialization.EnumMember(Value = @"TOTAL_AREA")] - TOTAL_AREA = 286, + TOTAL_AREA = 291, [System.Runtime.Serialization.EnumMember(Value = @"CALCULATED_RENTAL_VALUE")] - CALCULATED_RENTAL_VALUE = 287, + CALCULATED_RENTAL_VALUE = 292, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SERG_NO")] - REAL_ESTATE_SERG_NO = 288, + REAL_ESTATE_SERG_NO = 293, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ADDRESS")] - REAL_ESTATE_ADDRESS = 289, + REAL_ESTATE_ADDRESS = 294, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ZIP_CODE")] - REAL_ESTATE_ZIP_CODE = 290, + REAL_ESTATE_ZIP_CODE = 295, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_POSTAL_PLACE_NAME")] - REAL_ESTATE_POSTAL_PLACE_NAME = 291, + REAL_ESTATE_POSTAL_PLACE_NAME = 296, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_COUNTRY_CODE")] + REAL_ESTATE_COUNTRY_CODE = 297, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MUNICIPALITY_NO")] - REAL_ESTATE_MUNICIPALITY_NO = 292, + REAL_ESTATE_MUNICIPALITY_NO = 298, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MUNICIPALITY_NAME")] - REAL_ESTATE_MUNICIPALITY_NAME = 293, + REAL_ESTATE_MUNICIPALITY_NAME = 299, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_CADASTRAL_UNIT_NO")] - REAL_ESTATE_CADASTRAL_UNIT_NO = 294, + REAL_ESTATE_CADASTRAL_UNIT_NO = 300, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PROPERTY_UNIT_NO")] - REAL_ESTATE_PROPERTY_UNIT_NO = 295, + REAL_ESTATE_PROPERTY_UNIT_NO = 301, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_LEASEHOLD_NO")] - REAL_ESTATE_LEASEHOLD_NO = 296, + REAL_ESTATE_LEASEHOLD_NO = 302, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SECTION_NO")] - REAL_ESTATE_SECTION_NO = 297, + REAL_ESTATE_SECTION_NO = 303, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE")] - REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE = 298, + REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE = 304, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PREV_YEAR_ASSET_VALUE")] - REAL_ESTATE_PREV_YEAR_ASSET_VALUE = 299, + REAL_ESTATE_PREV_YEAR_ASSET_VALUE = 305, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_YEARLY")] - REAL_ESTATE_EXPENSES_YEARLY = 300, + REAL_ESTATE_EXPENSES_YEARLY = 306, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY")] - REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY = 301, + REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY = 307, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY")] - REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY = 302, + REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY = 308, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DATE_DOCUMENTED")] - REAL_ESTATE_DATE_DOCUMENTED = 303, + REAL_ESTATE_DATE_DOCUMENTED = 309, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MARKET_VALUE_MANUAL")] - REAL_ESTATE_MARKET_VALUE_MANUAL = 304, + REAL_ESTATE_MARKET_VALUE_MANUAL = 310, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MARKET_VALUE_CALCULATED")] - REAL_ESTATE_MARKET_VALUE_CALCULATED = 305, + REAL_ESTATE_MARKET_VALUE_CALCULATED = 311, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_USE_VALUE_MARKET")] - REAL_ESTATE_USE_VALUE_MARKET = 306, + REAL_ESTATE_USE_VALUE_MARKET = 312, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DWELLING_TYPE")] - REAL_ESTATE_DWELLING_TYPE = 307, + REAL_ESTATE_DWELLING_TYPE = 313, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_TYPE")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_TYPE = 314, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_NAME")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_NAME = 315, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_ORG_NO")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_ORG_NO = 316, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_SHARE_NO")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_SHARE_NO = 317, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE")] - REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE = 308, + REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE = 318, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_CONSTRUCTION_YEAR")] - REAL_ESTATE_CONSTRUCTION_YEAR = 309, + REAL_ESTATE_CONSTRUCTION_YEAR = 319, - [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SELF_OWNED_DWELLING_CALCULATED_MARKET_VALUE")] - REAL_ESTATE_SELF_OWNED_DWELLING_CALCULATED_MARKET_VALUE = 310, + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SELF_OWNED_OR_COOPERATIVE_DWELLING_CALCULATED_MARKET_VALUE")] + REAL_ESTATE_SELF_OWNED_OR_COOPERATIVE_DWELLING_CALCULATED_MARKET_VALUE = 320, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_AREA_TOTAL")] - REAL_ESTATE_RENTAL_AREA_TOTAL = 311, + REAL_ESTATE_RENTAL_AREA_TOTAL = 321, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_PERIOD_MONTHS")] - REAL_ESTATE_RENTAL_PERIOD_MONTHS = 312, + REAL_ESTATE_RENTAL_PERIOD_MONTHS = 322, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED")] - REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED = 313, + REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED = 323, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR")] - REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR = 314, + REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR = 324, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO")] - REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO = 315, + REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO = 325, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_ASSET_VALUE_BASE")] - REAL_ESTATE_RENTAL_ASSET_VALUE_BASE = 316, + REAL_ESTATE_RENTAL_ASSET_VALUE_BASE = 326, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_INCOME")] - REAL_ESTATE_RENTAL_GROSS_INCOME = 317, + REAL_ESTATE_RENTAL_GROSS_INCOME = 327, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL")] - REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL = 318, + REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL = 328, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_YEARLY_MANUAL = 319, + REAL_ESTATE_EXPENSES_YEARLY_MANUAL = 329, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL = 320, + REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL = 330, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL = 321, + REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL = 331, - [System.Runtime.Serialization.EnumMember(Value = @"YEARLY_DIVIDEND")] - YEARLY_DIVIDEND = 322, + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_ROW_ID")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_ROW_ID = 332, - } + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_NO")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_NO = 333, - [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum YearEndReportStatus - { + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_AREA")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_AREA = 334, - [System.Runtime.Serialization.EnumMember(Value = @"STARTED")] - STARTED = 0, - - [System.Runtime.Serialization.EnumMember(Value = @"UPDATED")] - UPDATED = 1, + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_CONSTRUCTION_YEAR")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_CONSTRUCTION_YEAR = 335, - [System.Runtime.Serialization.EnumMember(Value = @"RESTARTED")] - RESTARTED = 2, + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_VALUE")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_VALUE = 336, - [System.Runtime.Serialization.EnumMember(Value = @"COMPLEMENTARY_DATA_DOWNLOADED")] - COMPLEMENTARY_DATA_DOWNLOADED = 3, - - [System.Runtime.Serialization.EnumMember(Value = @"COMPLEMENTARY_DATA_MODIFIED")] - COMPLEMENTARY_DATA_MODIFIED = 4, - - [System.Runtime.Serialization.EnumMember(Value = @"PREVALIDATED_ACCEPTED")] - PREVALIDATED_ACCEPTED = 5, - - [System.Runtime.Serialization.EnumMember(Value = @"PREVALIDATED_DECLINED")] - PREVALIDATED_DECLINED = 6, - - [System.Runtime.Serialization.EnumMember(Value = @"ALTINN_INSTANCE_CREATED_AND_INITIATED")] - ALTINN_INSTANCE_CREATED_AND_INITIATED = 7, - - [System.Runtime.Serialization.EnumMember(Value = @"ALTINN_INSTANCE_MAIN_CONTENT_UPLOADED")] - ALTINN_INSTANCE_MAIN_CONTENT_UPLOADED = 8, - - [System.Runtime.Serialization.EnumMember(Value = @"ALTINN_INSTANCE_CLOSED")] - ALTINN_INSTANCE_CLOSED = 9, - - [System.Runtime.Serialization.EnumMember(Value = @"ALTINN_INSTANCE_APPROVED_FOR_TRANSFER")] - ALTINN_INSTANCE_APPROVED_FOR_TRANSFER = 10, - - [System.Runtime.Serialization.EnumMember(Value = @"CONTENT_PROCESSING_AT_RECIPIENT")] - CONTENT_PROCESSING_AT_RECIPIENT = 11, - - [System.Runtime.Serialization.EnumMember(Value = @"ALTINN_INSTANCE_HAS_FEEDBACK")] - ALTINN_INSTANCE_HAS_FEEDBACK = 12, + [System.Runtime.Serialization.EnumMember(Value = @"YEARLY_DIVIDEND")] + YEARLY_DIVIDEND = 337, - [System.Runtime.Serialization.EnumMember(Value = @"FEEDBACK_ACCEPTED")] - FEEDBACK_ACCEPTED = 13, + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_CREDIT")] + DIVIDEND_CREDIT = 338, - [System.Runtime.Serialization.EnumMember(Value = @"FEEDBACK_DECLINED")] - FEEDBACK_DECLINED = 14, + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_SECURITY_OFFERED")] + DIVIDEND_SECURITY_OFFERED = 339, - [System.Runtime.Serialization.EnumMember(Value = @"USER_MARKED_AS_DELIVERED")] - USER_MARKED_AS_DELIVERED = 15, + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_DISPOSITIONS")] + DIVIDEND_DISPOSITIONS = 340, } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum YearEndSubmissionResultFailureStep + public enum TaxReturnSubmissionResultFailureStep { [System.Runtime.Serialization.EnumMember(Value = @"DOWNLOADING_COMPLEMENTARY_DATA")] @@ -122813,7 +124713,7 @@ public enum YearEndSubmissionResultFailureStep } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum YearEndSubmissionResultFailureCategory + public enum TaxReturnSubmissionResultFailureCategory { [System.Runtime.Serialization.EnumMember(Value = @"UNKNOWN")] @@ -122834,7 +124734,7 @@ public enum YearEndSubmissionResultFailureCategory } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] - public enum YearEndValidationResultResultFromValidation + public enum TaxReturnValidationResultResultFromValidation { [System.Runtime.Serialization.EnumMember(Value = @"validatedOK")] @@ -122845,6 +124745,60 @@ public enum YearEndValidationResultResultFromValidation } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum YearEndReportStatus + { + + [System.Runtime.Serialization.EnumMember(Value = @"STARTED")] + STARTED = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"UPDATED")] + UPDATED = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"RESTARTED")] + RESTARTED = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"COMPLEMENTARY_DATA_DOWNLOADED")] + COMPLEMENTARY_DATA_DOWNLOADED = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"COMPLEMENTARY_DATA_MODIFIED")] + COMPLEMENTARY_DATA_MODIFIED = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"PREVALIDATED_ACCEPTED")] + PREVALIDATED_ACCEPTED = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"PREVALIDATED_DECLINED")] + PREVALIDATED_DECLINED = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"ALTINN_INSTANCE_CREATED_AND_INITIATED")] + ALTINN_INSTANCE_CREATED_AND_INITIATED = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"ALTINN_INSTANCE_MAIN_CONTENT_UPLOADED")] + ALTINN_INSTANCE_MAIN_CONTENT_UPLOADED = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"ALTINN_INSTANCE_CLOSED")] + ALTINN_INSTANCE_CLOSED = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"ALTINN_INSTANCE_APPROVED_FOR_TRANSFER")] + ALTINN_INSTANCE_APPROVED_FOR_TRANSFER = 10, + + [System.Runtime.Serialization.EnumMember(Value = @"CONTENT_PROCESSING_AT_RECIPIENT")] + CONTENT_PROCESSING_AT_RECIPIENT = 11, + + [System.Runtime.Serialization.EnumMember(Value = @"ALTINN_INSTANCE_HAS_FEEDBACK")] + ALTINN_INSTANCE_HAS_FEEDBACK = 12, + + [System.Runtime.Serialization.EnumMember(Value = @"FEEDBACK_ACCEPTED")] + FEEDBACK_ACCEPTED = 13, + + [System.Runtime.Serialization.EnumMember(Value = @"FEEDBACK_DECLINED")] + FEEDBACK_DECLINED = 14, + + [System.Runtime.Serialization.EnumMember(Value = @"USER_MARKED_AS_DELIVERED")] + USER_MARKED_AS_DELIVERED = 15, + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public enum ChecklistPropertyChecklistType { @@ -123086,6 +125040,12 @@ public enum EnumType1 [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE")] REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE = 14, + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_TYPE")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_TYPE = 15, + + [System.Runtime.Serialization.EnumMember(Value = @"FINANCIAL_PRODUCT")] + FINANCIAL_PRODUCT = 16, + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] @@ -125494,6 +127454,63 @@ public enum GenericDataOverviewGenericDataType } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public enum MultiUnitBuildingUnitGenericDataType + { + + [System.Runtime.Serialization.EnumMember(Value = @"MISC")] + MISC = 0, + + [System.Runtime.Serialization.EnumMember(Value = @"TRANSPORT")] + TRANSPORT = 1, + + [System.Runtime.Serialization.EnumMember(Value = @"ACCOMMODATION_AND_RESTAURANT")] + ACCOMMODATION_AND_RESTAURANT = 2, + + [System.Runtime.Serialization.EnumMember(Value = @"PROFIT_AND_LOSS")] + PROFIT_AND_LOSS = 3, + + [System.Runtime.Serialization.EnumMember(Value = @"CUSTOMER_RECEIVABLE")] + CUSTOMER_RECEIVABLE = 4, + + [System.Runtime.Serialization.EnumMember(Value = @"INVENTORIES")] + INVENTORIES = 5, + + [System.Runtime.Serialization.EnumMember(Value = @"TANGIBLE_FIXED_ASSETS")] + TANGIBLE_FIXED_ASSETS = 6, + + [System.Runtime.Serialization.EnumMember(Value = @"RECONCILIATION_OF_EQUITY")] + RECONCILIATION_OF_EQUITY = 7, + + [System.Runtime.Serialization.EnumMember(Value = @"PERMANENT_DIFFERENCES")] + PERMANENT_DIFFERENCES = 8, + + [System.Runtime.Serialization.EnumMember(Value = @"TEMPORARY_DIFFERENCES")] + TEMPORARY_DIFFERENCES = 9, + + [System.Runtime.Serialization.EnumMember(Value = @"DOCUMENT_DOWNLOADED")] + DOCUMENT_DOWNLOADED = 10, + + [System.Runtime.Serialization.EnumMember(Value = @"GROUP_CONTRIBUTIONS")] + GROUP_CONTRIBUTIONS = 11, + + [System.Runtime.Serialization.EnumMember(Value = @"TAX_RETURN")] + TAX_RETURN = 12, + + [System.Runtime.Serialization.EnumMember(Value = @"TAX_CALCULATIONS")] + TAX_CALCULATIONS = 13, + + [System.Runtime.Serialization.EnumMember(Value = @"DOCUMENTATION")] + DOCUMENTATION = 14, + + [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES")] + SHARES_AND_SECURITIES = 15, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE")] + REAL_ESTATE = 16, + + } + [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] public enum TypeOfGoodsGenericDataType { @@ -125798,11 +127815,11 @@ public enum PermanentDifferencesPostType [System.Runtime.Serialization.EnumMember(Value = @"TOTAL_WITHDRAWAL_COST_FOR_ENTERTAINMENT")] TOTAL_WITHDRAWAL_COST_FOR_ENTERTAINMENT = 69, - [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_CREDITSALES")] - OPENING_BALANCE_CREDITSALES = 70, + [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_CREDIT_SALES")] + OPENING_BALANCE_CREDIT_SALES = 70, - [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_CREDITSALES")] - CLOSING_BALANCE_CREDITSALES = 71, + [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_CREDIT_SALES")] + CLOSING_BALANCE_CREDIT_SALES = 71, [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_WRITE_DOWN_NEW_COMPANY")] OPENING_BALANCE_WRITE_DOWN_NEW_COMPANY = 72, @@ -125810,11 +127827,11 @@ public enum PermanentDifferencesPostType [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_WRITE_DOWN_NEW_COMPANY")] CLOSING_BALANCE_WRITE_DOWN_NEW_COMPANY = 73, - [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS")] - OPENING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS = 74, + [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS")] + OPENING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS = 74, - [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS")] - CLOSING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS = 75, + [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS")] + CLOSING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS = 75, [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_PRODUCT_UNDER_MANUFACTURING")] OPENING_BALANCE_PRODUCT_UNDER_MANUFACTURING = 76, @@ -125909,14 +127926,14 @@ public enum PermanentDifferencesPostType [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS")] ACCOUNTING_LOSS = 106, - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_NORWEAGIAN_SDF")] - ACCOUNTING_DEFICIT_NORWEAGIAN_SDF = 107, + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_NORWEGIAN_SDF")] + ACCOUNTING_DEFICIT_NORWEGIAN_SDF = 107, [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_FOREIGN_SDF")] ACCOUNTING_DEFICIT_FOREIGN_SDF = 108, - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_NORWEAGIAN_SDF")] - ACCOUNTING_LOSS_NORWEAGIAN_SDF = 109, + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_NORWEGIAN_SDF")] + ACCOUNTING_LOSS_NORWEGIAN_SDF = 109, [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_FOREIGN_SDF")] ACCOUNTING_LOSS_FOREIGN_SDF = 110, @@ -125990,11 +128007,11 @@ public enum PermanentDifferencesPostType [System.Runtime.Serialization.EnumMember(Value = @"SHARE_OF_DEDUCTIBLE_DEFICIT_FOREIGN_SDF")] SHARE_OF_DEDUCTIBLE_DEFICIT_FOREIGN_SDF = 133, - [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIXATION_NORWEGIAN_SDF")] - DEDUCTIBLE_LOSS_ON_REALIXATION_NORWEGIAN_SDF = 134, + [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIZATION_NORWEGIAN_SDF")] + DEDUCTIBLE_LOSS_ON_REALIZATION_NORWEGIAN_SDF = 134, - [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIXATION_FOREIGN_SDF")] - DEDUCTIBLE_LOSS_ON_REALIXATION_FOREIGN_SDF = 135, + [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIZATION_FOREIGN_SDF")] + DEDUCTIBLE_LOSS_ON_REALIZATION_FOREIGN_SDF = 135, [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_WITHDRAWAL_NORWEGIAN_TAX_AREA")] DEDUCTIBLE_LOSS_ON_WITHDRAWAL_NORWEGIAN_TAX_AREA = 136, @@ -126062,14 +128079,14 @@ public enum PermanentDifferencesPostType [System.Runtime.Serialization.EnumMember(Value = @"OWN_BUSINESS_PROPERTIES")] OWN_BUSINESS_PROPERTIES = 157, - [System.Runtime.Serialization.EnumMember(Value = @"OWN_ASSET_PAPIR")] - OWN_ASSET_PAPIR = 158, + [System.Runtime.Serialization.EnumMember(Value = @"OWN_ASSET_PAPER")] + OWN_ASSET_PAPER = 158, - [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERED_BY")] - TRANSFERED_BY = 159, + [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERRED_BY")] + TRANSFERRED_BY = 159, - [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERED_DATE")] - TRANSFERED_DATE = 160, + [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERRED_DATE")] + TRANSFERRED_DATE = 160, [System.Runtime.Serialization.EnumMember(Value = @"SET_ACCOUNTANT_REVISED")] SET_ACCOUNTANT_REVISED = 161, @@ -126077,8 +128094,8 @@ public enum PermanentDifferencesPostType [System.Runtime.Serialization.EnumMember(Value = @"IS_TAXABLE")] IS_TAXABLE = 162, - [System.Runtime.Serialization.EnumMember(Value = @"REQUIRE_AUDITORS_SIGNATURE")] - REQUIRE_AUDITORS_SIGNATURE = 163, + [System.Runtime.Serialization.EnumMember(Value = @"AUDITING_OBLIGATION")] + AUDITING_OBLIGATION = 163, [System.Runtime.Serialization.EnumMember(Value = @"VALIDATION_ONLY_ON_SUBMIT")] VALIDATION_ONLY_ON_SUBMIT = 164, @@ -126095,8 +128112,8 @@ public enum PermanentDifferencesPostType [System.Runtime.Serialization.EnumMember(Value = @"PARENT_COMPANY")] PARENT_COMPANY = 168, - [System.Runtime.Serialization.EnumMember(Value = @"SMALL_ENTERPRICES")] - SMALL_ENTERPRICES = 169, + [System.Runtime.Serialization.EnumMember(Value = @"SMALL_ENTERPRISES")] + SMALL_ENTERPRISES = 169, [System.Runtime.Serialization.EnumMember(Value = @"PREPARED_BY_AUTHORIZED_ACCOUNTANT")] PREPARED_BY_AUTHORIZED_ACCOUNTANT = 170, @@ -126113,449 +128130,503 @@ public enum PermanentDifferencesPostType [System.Runtime.Serialization.EnumMember(Value = @"SHOW_RESULT_AND_BALANCE_PREVIOUS_YEAR")] SHOW_RESULT_AND_BALANCE_PREVIOUS_YEAR = 174, + [System.Runtime.Serialization.EnumMember(Value = @"DATE_START")] + DATE_START = 175, + + [System.Runtime.Serialization.EnumMember(Value = @"DATE_END")] + DATE_END = 176, + + [System.Runtime.Serialization.EnumMember(Value = @"INCLUDE_PREVIOUS_YEAR_IN_RESULT")] + INCLUDE_PREVIOUS_YEAR_IN_RESULT = 177, + + [System.Runtime.Serialization.EnumMember(Value = @"DISTRIBUTE_INCOME_MODULE_INDUSTRY")] + DISTRIBUTE_INCOME_MODULE_INDUSTRY = 178, + [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_BRREG_DOC_ID")] - YEAR_END_BRREG_DOC_ID = 175, + YEAR_END_BRREG_DOC_ID = 179, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_BRREG_DOC_FETCHER_NAME")] - YEAR_END_BRREG_DOC_FETCHER_NAME = 176, + YEAR_END_BRREG_DOC_FETCHER_NAME = 180, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT")] - YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT = 177, + YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT = 181, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT")] - YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT = 178, + YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT = 182, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE")] - YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE = 179, + YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE = 183, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS")] - YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS = 180, + YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS = 184, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_INVENTORIES")] - YEAR_END_DOCUMENTATION_INVENTORIES = 181, + YEAR_END_DOCUMENTATION_INVENTORIES = 185, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS")] - YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS = 182, + YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS = 186, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROFIT_LOSS")] - YEAR_END_DOCUMENTATION_PROFIT_LOSS = 183, + YEAR_END_DOCUMENTATION_PROFIT_LOSS = 187, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_BALANCE")] - YEAR_END_DOCUMENTATION_BALANCE = 184, + YEAR_END_DOCUMENTATION_BALANCE = 188, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PERSONAL_INCOME")] - YEAR_END_DOCUMENTATION_PERSONAL_INCOME = 185, + YEAR_END_DOCUMENTATION_PERSONAL_INCOME = 189, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES")] - YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES = 186, + YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES = 190, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES")] - YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES = 187, + YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES = 191, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT")] - YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT = 188, + YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT = 192, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS")] - YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS = 189, + YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS = 193, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION")] - YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION = 190, + YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION = 194, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_RETURN")] - YEAR_END_DOCUMENTATION_TAX_RETURN = 191, + YEAR_END_DOCUMENTATION_TAX_RETURN = 195, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_DIVIDEND")] - YEAR_END_DOCUMENTATION_DIVIDEND = 192, + YEAR_END_DOCUMENTATION_DIVIDEND = 196, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_DISPOSITIONS")] - YEAR_END_DOCUMENTATION_DISPOSITIONS = 193, + YEAR_END_DOCUMENTATION_DISPOSITIONS = 197, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROPERTIES")] - YEAR_END_DOCUMENTATION_PROPERTIES = 194, + YEAR_END_DOCUMENTATION_PROPERTIES = 198, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_SECURITIES")] - YEAR_END_DOCUMENTATION_SECURITIES = 195, + YEAR_END_DOCUMENTATION_SECURITIES = 199, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_CALCULATION")] - YEAR_END_DOCUMENTATION_TAX_CALCULATION = 196, + YEAR_END_DOCUMENTATION_TAX_CALCULATION = 200, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_AUDIT_REPORT")] - YEAR_END_DOCUMENTATION_AUDIT_REPORT = 197, + YEAR_END_DOCUMENTATION_AUDIT_REPORT = 201, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ANNUAL_REPORT")] - YEAR_END_DOCUMENTATION_ANNUAL_REPORT = 198, + YEAR_END_DOCUMENTATION_ANNUAL_REPORT = 202, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT")] - YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT = 199, + YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT = 203, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS")] - YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS = 200, + YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS = 204, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVER_ORG_NR")] - RECEIVER_ORG_NR = 201, + RECEIVER_ORG_NR = 205, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVER_NAME")] - RECEIVER_NAME = 202, + RECEIVER_NAME = 206, [System.Runtime.Serialization.EnumMember(Value = @"CONCERN_CONNECTION")] - CONCERN_CONNECTION = 203, + CONCERN_CONNECTION = 207, [System.Runtime.Serialization.EnumMember(Value = @"VOTING_LIMIT")] - VOTING_LIMIT = 204, + VOTING_LIMIT = 208, [System.Runtime.Serialization.EnumMember(Value = @"DATE_OF_ACQUISITION")] - DATE_OF_ACQUISITION = 205, + DATE_OF_ACQUISITION = 209, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION")] - RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 206, + RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 210, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION")] - RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 207, + RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 211, [System.Runtime.Serialization.EnumMember(Value = @"SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION")] - SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 208, + SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 212, [System.Runtime.Serialization.EnumMember(Value = @"SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION")] - SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 209, + SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 213, [System.Runtime.Serialization.EnumMember(Value = @"APPLICATION_OF_LOSS_CARRY_FORWARDS")] - APPLICATION_OF_LOSS_CARRY_FORWARDS = 210, + APPLICATION_OF_LOSS_CARRY_FORWARDS = 214, [System.Runtime.Serialization.EnumMember(Value = @"ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS")] - ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS = 211, + ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS = 215, [System.Runtime.Serialization.EnumMember(Value = @"CORRECTIONS_AND_OTHER_CAPITAL")] - CORRECTIONS_AND_OTHER_CAPITAL = 212, + CORRECTIONS_AND_OTHER_CAPITAL = 216, [System.Runtime.Serialization.EnumMember(Value = @"CORRECTIONS_AND_OTHER_DEBT")] - CORRECTIONS_AND_OTHER_DEBT = 213, + CORRECTIONS_AND_OTHER_DEBT = 217, [System.Runtime.Serialization.EnumMember(Value = @"NUMBER_OF_SHARES")] - NUMBER_OF_SHARES = 214, + NUMBER_OF_SHARES = 218, [System.Runtime.Serialization.EnumMember(Value = @"IS_PART_OF_GROUP_COMPANY")] - IS_PART_OF_GROUP_COMPANY = 215, + IS_PART_OF_GROUP_COMPANY = 219, [System.Runtime.Serialization.EnumMember(Value = @"IS_LISTED_ON_THE_STOCK_EXCHANGE")] - IS_LISTED_ON_THE_STOCK_EXCHANGE = 216, + IS_LISTED_ON_THE_STOCK_EXCHANGE = 220, [System.Runtime.Serialization.EnumMember(Value = @"IS_REORGANIZED_ACROSS_BORDERS")] - IS_REORGANIZED_ACROSS_BORDERS = 217, + IS_REORGANIZED_ACROSS_BORDERS = 221, - [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OR_TRANSFERED_ASSETS")] - HAS_RECEIVED_OR_TRANSFERED_ASSETS = 218, + [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OR_TRANSFERRED_ASSETS")] + HAS_RECEIVED_OR_TRANSFERRED_ASSETS = 222, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_NAME")] - HEAD_OF_GROUP_NAME = 219, + HEAD_OF_GROUP_NAME = 223, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_COUNTRY_CODE")] - HEAD_OF_GROUP_COUNTRY_CODE = 220, + HEAD_OF_GROUP_COUNTRY_CODE = 224, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_LAST_YEAR_NAME")] - HEAD_OF_GROUP_LAST_YEAR_NAME = 221, + HEAD_OF_GROUP_LAST_YEAR_NAME = 225, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE")] - HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE = 222, + HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE = 226, [System.Runtime.Serialization.EnumMember(Value = @"FOREIGN_OWNERSHIP_COMPANY_NAME")] - FOREIGN_OWNERSHIP_COMPANY_NAME = 223, + FOREIGN_OWNERSHIP_COMPANY_NAME = 227, [System.Runtime.Serialization.EnumMember(Value = @"FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE")] - FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE = 224, + FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE = 228, [System.Runtime.Serialization.EnumMember(Value = @"OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY")] - OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY = 225, + OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY = 229, [System.Runtime.Serialization.EnumMember(Value = @"HAS_PERMANENT_ESTABLISHMENT_ABROAD")] - HAS_PERMANENT_ESTABLISHMENT_ABROAD = 226, + HAS_PERMANENT_ESTABLISHMENT_ABROAD = 230, [System.Runtime.Serialization.EnumMember(Value = @"COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME")] - COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME = 227, + COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME = 231, [System.Runtime.Serialization.EnumMember(Value = @"COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE")] - COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE = 228, + COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE = 232, [System.Runtime.Serialization.EnumMember(Value = @"HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER")] - HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER = 229, + HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER = 233, [System.Runtime.Serialization.EnumMember(Value = @"HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID")] - HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID = 230, + HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID = 234, [System.Runtime.Serialization.EnumMember(Value = @"IS_SMALL_OR_MEDIUM_SIZED_BUSINESS")] - IS_SMALL_OR_MEDIUM_SIZED_BUSINESS = 231, + IS_SMALL_OR_MEDIUM_SIZED_BUSINESS = 235, [System.Runtime.Serialization.EnumMember(Value = @"HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR")] - HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR = 232, + HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR = 236, [System.Runtime.Serialization.EnumMember(Value = @"IS_GROUP_COMPANY")] - IS_GROUP_COMPANY = 233, + IS_GROUP_COMPANY = 237, [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OTHER_PUBLIC_SUPPORT")] - HAS_RECEIVED_OTHER_PUBLIC_SUPPORT = 234, + HAS_RECEIVED_OTHER_PUBLIC_SUPPORT = 238, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_TONNAGE_TAX_REGIME")] - AID_SCHEME_TONNAGE_TAX_REGIME = 235, + AID_SCHEME_TONNAGE_TAX_REGIME = 239, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS")] - AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS = 236, + AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS = 240, - [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FOR_LONGTERM_INVESTMENTS")] - AID_SCHEME_FOR_LONGTERM_INVESTMENTS = 237, + [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FOR_LONG_TERM_INVESTMENTS")] + AID_SCHEME_FOR_LONG_TERM_INVESTMENTS = 241, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP")] - AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP = 238, + AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP = 242, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_TAX_FUN")] - AID_SCHEME_TAX_FUN = 239, + AID_SCHEME_TAX_FUN = 243, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES")] - AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES = 240, + AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES = 244, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS")] - AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS = 241, + AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS = 245, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES")] - AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES = 242, + AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES = 246, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS = 243, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS = 247, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS")] - AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS = 244, + AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS = 248, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES = 245, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES = 249, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS = 246, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS = 250, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR = 247, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR = 251, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING = 248, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING = 252, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE = 249, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE = 253, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES = 250, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES = 254, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS = 251, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS = 255, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS = 252, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS = 256, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY")] - AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY = 253, + AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY = 257, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY")] - AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY = 254, + AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY = 258, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL")] - AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL = 255, + AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL = 259, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_CO2_TAX_GAS")] - AID_SCHEME_EXEMPTION_CO2_TAX_GAS = 256, + AID_SCHEME_EXEMPTION_CO2_TAX_GAS = 260, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_NOX_DUTY")] - AID_SCHEME_EXEMPTION_NOX_DUTY = 257, + AID_SCHEME_EXEMPTION_NOX_DUTY = 261, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_TRANSFER_FEE")] - AID_SCHEME_EXEMPTION_TRANSFER_FEE = 258, + AID_SCHEME_EXEMPTION_TRANSFER_FEE = 262, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX")] - AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX = 259, + AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX = 263, [System.Runtime.Serialization.EnumMember(Value = @"OTHER_CORRECTIONS")] - OTHER_CORRECTIONS = 260, + OTHER_CORRECTIONS = 264, [System.Runtime.Serialization.EnumMember(Value = @"DEFERRED_TAX_ASSETS_IN_BALANCE")] - DEFERRED_TAX_ASSETS_IN_BALANCE = 261, + DEFERRED_TAX_ASSETS_IN_BALANCE = 265, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_NAME")] - SHARES_AND_SECURITIES_NAME = 262, + SHARES_AND_SECURITIES_NAME = 266, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_STOCK_TYPE")] - SHARES_AND_SECURITIES_STOCK_TYPE = 263, + SHARES_AND_SECURITIES_STOCK_TYPE = 267, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_VAT_NUMBER")] - SHARES_AND_SECURITIES_VAT_NUMBER = 264, + SHARES_AND_SECURITIES_VAT_NUMBER = 268, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_ISIN")] - SHARES_AND_SECURITIES_ISIN = 265, + SHARES_AND_SECURITIES_ISIN = 269, - [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_COUNTRY")] - SHARES_AND_SECURITIES_COUNTRY = 266, + [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_COUNTRY_CODE")] + SHARES_AND_SECURITIES_COUNTRY_CODE = 270, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARE_CLASS")] - SHARES_AND_SECURITIES_SHARE_CLASS = 267, + SHARES_AND_SECURITIES_SHARE_CLASS = 271, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR")] - SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR = 268, + SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR = 272, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR")] - SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR = 269, + SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR = 273, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_VALUE")] - SHARES_AND_SECURITIES_VALUE = 270, + SHARES_AND_SECURITIES_VALUE = 274, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_TOTAL_VALUE")] - SHARES_AND_SECURITIES_TOTAL_VALUE = 271, + SHARES_AND_SECURITIES_TOTAL_VALUE = 275, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_DIVIDEND")] - SHARES_AND_SECURITIES_DIVIDEND = 272, + SHARES_AND_SECURITIES_DIVIDEND = 276, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_INTEREST_INCOME")] - SHARES_AND_SECURITIES_INTEREST_INCOME = 273, + SHARES_AND_SECURITIES_INTEREST_INCOME = 277, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_PROFIT_REALISATION")] - SHARES_AND_SECURITIES_PROFIT_REALISATION = 274, + SHARES_AND_SECURITIES_PROFIT_REALISATION = 278, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_LOSS_REALISATION")] - SHARES_AND_SECURITIES_LOSS_REALISATION = 275, + SHARES_AND_SECURITIES_LOSS_REALISATION = 279, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_PROFIT_INTEREST")] - SHARES_AND_SECURITIES_PROFIT_INTEREST = 276, + SHARES_AND_SECURITIES_PROFIT_INTEREST = 280, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_LOSS_INTEREST")] - SHARES_AND_SECURITIES_LOSS_INTEREST = 277, + SHARES_AND_SECURITIES_LOSS_INTEREST = 281, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_EXEMPTION_METHOD")] - SHARES_AND_SECURITIES_EXEMPTION_METHOD = 278, + SHARES_AND_SECURITIES_EXEMPTION_METHOD = 282, + + [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_FINANCIAL_PRODUCT")] + SHARES_AND_SECURITIES_FINANCIAL_PRODUCT = 283, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_TYPE")] - REAL_ESTATE_TYPE = 279, + REAL_ESTATE_TYPE = 284, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DESCRIPTION")] - REAL_ESTATE_DESCRIPTION = 280, + REAL_ESTATE_DESCRIPTION = 285, [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_PROPERTY_TYPE")] - COMMERCIAL_PROPERTY_TYPE = 281, + COMMERCIAL_PROPERTY_TYPE = 286, [System.Runtime.Serialization.EnumMember(Value = @"SHARE_OF_ASSET_VALUE")] - SHARE_OF_ASSET_VALUE = 282, + SHARE_OF_ASSET_VALUE = 287, [System.Runtime.Serialization.EnumMember(Value = @"INTERNAL_PROPERTY_IDENTIFIER")] - INTERNAL_PROPERTY_IDENTIFIER = 283, + INTERNAL_PROPERTY_IDENTIFIER = 288, [System.Runtime.Serialization.EnumMember(Value = @"ASSET_VALUE_FOR_ASSET_SHARE")] - ASSET_VALUE_FOR_ASSET_SHARE = 284, + ASSET_VALUE_FOR_ASSET_SHARE = 289, [System.Runtime.Serialization.EnumMember(Value = @"VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE")] - VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE = 285, + VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE = 290, [System.Runtime.Serialization.EnumMember(Value = @"TOTAL_AREA")] - TOTAL_AREA = 286, + TOTAL_AREA = 291, [System.Runtime.Serialization.EnumMember(Value = @"CALCULATED_RENTAL_VALUE")] - CALCULATED_RENTAL_VALUE = 287, + CALCULATED_RENTAL_VALUE = 292, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SERG_NO")] - REAL_ESTATE_SERG_NO = 288, + REAL_ESTATE_SERG_NO = 293, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ADDRESS")] - REAL_ESTATE_ADDRESS = 289, + REAL_ESTATE_ADDRESS = 294, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ZIP_CODE")] - REAL_ESTATE_ZIP_CODE = 290, + REAL_ESTATE_ZIP_CODE = 295, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_POSTAL_PLACE_NAME")] - REAL_ESTATE_POSTAL_PLACE_NAME = 291, + REAL_ESTATE_POSTAL_PLACE_NAME = 296, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_COUNTRY_CODE")] + REAL_ESTATE_COUNTRY_CODE = 297, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MUNICIPALITY_NO")] - REAL_ESTATE_MUNICIPALITY_NO = 292, + REAL_ESTATE_MUNICIPALITY_NO = 298, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MUNICIPALITY_NAME")] - REAL_ESTATE_MUNICIPALITY_NAME = 293, + REAL_ESTATE_MUNICIPALITY_NAME = 299, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_CADASTRAL_UNIT_NO")] - REAL_ESTATE_CADASTRAL_UNIT_NO = 294, + REAL_ESTATE_CADASTRAL_UNIT_NO = 300, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PROPERTY_UNIT_NO")] - REAL_ESTATE_PROPERTY_UNIT_NO = 295, + REAL_ESTATE_PROPERTY_UNIT_NO = 301, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_LEASEHOLD_NO")] - REAL_ESTATE_LEASEHOLD_NO = 296, + REAL_ESTATE_LEASEHOLD_NO = 302, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SECTION_NO")] - REAL_ESTATE_SECTION_NO = 297, + REAL_ESTATE_SECTION_NO = 303, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE")] - REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE = 298, + REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE = 304, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PREV_YEAR_ASSET_VALUE")] - REAL_ESTATE_PREV_YEAR_ASSET_VALUE = 299, + REAL_ESTATE_PREV_YEAR_ASSET_VALUE = 305, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_YEARLY")] - REAL_ESTATE_EXPENSES_YEARLY = 300, + REAL_ESTATE_EXPENSES_YEARLY = 306, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY")] - REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY = 301, + REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY = 307, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY")] - REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY = 302, + REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY = 308, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DATE_DOCUMENTED")] - REAL_ESTATE_DATE_DOCUMENTED = 303, + REAL_ESTATE_DATE_DOCUMENTED = 309, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MARKET_VALUE_MANUAL")] - REAL_ESTATE_MARKET_VALUE_MANUAL = 304, + REAL_ESTATE_MARKET_VALUE_MANUAL = 310, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MARKET_VALUE_CALCULATED")] - REAL_ESTATE_MARKET_VALUE_CALCULATED = 305, + REAL_ESTATE_MARKET_VALUE_CALCULATED = 311, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_USE_VALUE_MARKET")] - REAL_ESTATE_USE_VALUE_MARKET = 306, + REAL_ESTATE_USE_VALUE_MARKET = 312, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DWELLING_TYPE")] - REAL_ESTATE_DWELLING_TYPE = 307, + REAL_ESTATE_DWELLING_TYPE = 313, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_TYPE")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_TYPE = 314, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_NAME")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_NAME = 315, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_ORG_NO")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_ORG_NO = 316, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_SHARE_NO")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_SHARE_NO = 317, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE")] - REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE = 308, + REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE = 318, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_CONSTRUCTION_YEAR")] - REAL_ESTATE_CONSTRUCTION_YEAR = 309, + REAL_ESTATE_CONSTRUCTION_YEAR = 319, - [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SELF_OWNED_DWELLING_CALCULATED_MARKET_VALUE")] - REAL_ESTATE_SELF_OWNED_DWELLING_CALCULATED_MARKET_VALUE = 310, + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SELF_OWNED_OR_COOPERATIVE_DWELLING_CALCULATED_MARKET_VALUE")] + REAL_ESTATE_SELF_OWNED_OR_COOPERATIVE_DWELLING_CALCULATED_MARKET_VALUE = 320, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_AREA_TOTAL")] - REAL_ESTATE_RENTAL_AREA_TOTAL = 311, + REAL_ESTATE_RENTAL_AREA_TOTAL = 321, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_PERIOD_MONTHS")] - REAL_ESTATE_RENTAL_PERIOD_MONTHS = 312, + REAL_ESTATE_RENTAL_PERIOD_MONTHS = 322, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED")] - REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED = 313, + REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED = 323, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR")] - REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR = 314, + REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR = 324, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO")] - REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO = 315, + REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO = 325, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_ASSET_VALUE_BASE")] - REAL_ESTATE_RENTAL_ASSET_VALUE_BASE = 316, + REAL_ESTATE_RENTAL_ASSET_VALUE_BASE = 326, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_INCOME")] - REAL_ESTATE_RENTAL_GROSS_INCOME = 317, + REAL_ESTATE_RENTAL_GROSS_INCOME = 327, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL")] - REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL = 318, + REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL = 328, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_YEARLY_MANUAL = 319, + REAL_ESTATE_EXPENSES_YEARLY_MANUAL = 329, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL = 320, + REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL = 330, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL = 321, + REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL = 331, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_ROW_ID")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_ROW_ID = 332, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_NO")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_NO = 333, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_AREA")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_AREA = 334, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_CONSTRUCTION_YEAR")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_CONSTRUCTION_YEAR = 335, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_VALUE")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_VALUE = 336, [System.Runtime.Serialization.EnumMember(Value = @"YEARLY_DIVIDEND")] - YEARLY_DIVIDEND = 322, + YEARLY_DIVIDEND = 337, + + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_CREDIT")] + DIVIDEND_CREDIT = 338, + + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_SECURITY_OFFERED")] + DIVIDEND_SECURITY_OFFERED = 339, + + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_DISPOSITIONS")] + DIVIDEND_DISPOSITIONS = 340, } @@ -126644,6 +128715,9 @@ public enum SharesAndSecuritiesGenericDataSubType [System.Runtime.Serialization.EnumMember(Value = @"ENTERTAINMENT")] ENTERTAINMENT = 7, + [System.Runtime.Serialization.EnumMember(Value = @"MULTI_UNIT_BUILDING_UNIT")] + MULTI_UNIT_BUILDING_UNIT = 8, + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] @@ -126860,11 +128934,11 @@ public enum SharesAndSecuritiesPostType [System.Runtime.Serialization.EnumMember(Value = @"TOTAL_WITHDRAWAL_COST_FOR_ENTERTAINMENT")] TOTAL_WITHDRAWAL_COST_FOR_ENTERTAINMENT = 69, - [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_CREDITSALES")] - OPENING_BALANCE_CREDITSALES = 70, + [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_CREDIT_SALES")] + OPENING_BALANCE_CREDIT_SALES = 70, - [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_CREDITSALES")] - CLOSING_BALANCE_CREDITSALES = 71, + [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_CREDIT_SALES")] + CLOSING_BALANCE_CREDIT_SALES = 71, [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_WRITE_DOWN_NEW_COMPANY")] OPENING_BALANCE_WRITE_DOWN_NEW_COMPANY = 72, @@ -126872,11 +128946,11 @@ public enum SharesAndSecuritiesPostType [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_WRITE_DOWN_NEW_COMPANY")] CLOSING_BALANCE_WRITE_DOWN_NEW_COMPANY = 73, - [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS")] - OPENING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS = 74, + [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS")] + OPENING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS = 74, - [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS")] - CLOSING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS = 75, + [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS")] + CLOSING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS = 75, [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_PRODUCT_UNDER_MANUFACTURING")] OPENING_BALANCE_PRODUCT_UNDER_MANUFACTURING = 76, @@ -126971,14 +129045,14 @@ public enum SharesAndSecuritiesPostType [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS")] ACCOUNTING_LOSS = 106, - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_NORWEAGIAN_SDF")] - ACCOUNTING_DEFICIT_NORWEAGIAN_SDF = 107, + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_NORWEGIAN_SDF")] + ACCOUNTING_DEFICIT_NORWEGIAN_SDF = 107, [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_FOREIGN_SDF")] ACCOUNTING_DEFICIT_FOREIGN_SDF = 108, - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_NORWEAGIAN_SDF")] - ACCOUNTING_LOSS_NORWEAGIAN_SDF = 109, + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_NORWEGIAN_SDF")] + ACCOUNTING_LOSS_NORWEGIAN_SDF = 109, [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_FOREIGN_SDF")] ACCOUNTING_LOSS_FOREIGN_SDF = 110, @@ -127052,11 +129126,11 @@ public enum SharesAndSecuritiesPostType [System.Runtime.Serialization.EnumMember(Value = @"SHARE_OF_DEDUCTIBLE_DEFICIT_FOREIGN_SDF")] SHARE_OF_DEDUCTIBLE_DEFICIT_FOREIGN_SDF = 133, - [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIXATION_NORWEGIAN_SDF")] - DEDUCTIBLE_LOSS_ON_REALIXATION_NORWEGIAN_SDF = 134, + [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIZATION_NORWEGIAN_SDF")] + DEDUCTIBLE_LOSS_ON_REALIZATION_NORWEGIAN_SDF = 134, - [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIXATION_FOREIGN_SDF")] - DEDUCTIBLE_LOSS_ON_REALIXATION_FOREIGN_SDF = 135, + [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIZATION_FOREIGN_SDF")] + DEDUCTIBLE_LOSS_ON_REALIZATION_FOREIGN_SDF = 135, [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_WITHDRAWAL_NORWEGIAN_TAX_AREA")] DEDUCTIBLE_LOSS_ON_WITHDRAWAL_NORWEGIAN_TAX_AREA = 136, @@ -127124,14 +129198,14 @@ public enum SharesAndSecuritiesPostType [System.Runtime.Serialization.EnumMember(Value = @"OWN_BUSINESS_PROPERTIES")] OWN_BUSINESS_PROPERTIES = 157, - [System.Runtime.Serialization.EnumMember(Value = @"OWN_ASSET_PAPIR")] - OWN_ASSET_PAPIR = 158, + [System.Runtime.Serialization.EnumMember(Value = @"OWN_ASSET_PAPER")] + OWN_ASSET_PAPER = 158, - [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERED_BY")] - TRANSFERED_BY = 159, + [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERRED_BY")] + TRANSFERRED_BY = 159, - [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERED_DATE")] - TRANSFERED_DATE = 160, + [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERRED_DATE")] + TRANSFERRED_DATE = 160, [System.Runtime.Serialization.EnumMember(Value = @"SET_ACCOUNTANT_REVISED")] SET_ACCOUNTANT_REVISED = 161, @@ -127139,8 +129213,8 @@ public enum SharesAndSecuritiesPostType [System.Runtime.Serialization.EnumMember(Value = @"IS_TAXABLE")] IS_TAXABLE = 162, - [System.Runtime.Serialization.EnumMember(Value = @"REQUIRE_AUDITORS_SIGNATURE")] - REQUIRE_AUDITORS_SIGNATURE = 163, + [System.Runtime.Serialization.EnumMember(Value = @"AUDITING_OBLIGATION")] + AUDITING_OBLIGATION = 163, [System.Runtime.Serialization.EnumMember(Value = @"VALIDATION_ONLY_ON_SUBMIT")] VALIDATION_ONLY_ON_SUBMIT = 164, @@ -127157,8 +129231,8 @@ public enum SharesAndSecuritiesPostType [System.Runtime.Serialization.EnumMember(Value = @"PARENT_COMPANY")] PARENT_COMPANY = 168, - [System.Runtime.Serialization.EnumMember(Value = @"SMALL_ENTERPRICES")] - SMALL_ENTERPRICES = 169, + [System.Runtime.Serialization.EnumMember(Value = @"SMALL_ENTERPRISES")] + SMALL_ENTERPRISES = 169, [System.Runtime.Serialization.EnumMember(Value = @"PREPARED_BY_AUTHORIZED_ACCOUNTANT")] PREPARED_BY_AUTHORIZED_ACCOUNTANT = 170, @@ -127175,449 +129249,503 @@ public enum SharesAndSecuritiesPostType [System.Runtime.Serialization.EnumMember(Value = @"SHOW_RESULT_AND_BALANCE_PREVIOUS_YEAR")] SHOW_RESULT_AND_BALANCE_PREVIOUS_YEAR = 174, + [System.Runtime.Serialization.EnumMember(Value = @"DATE_START")] + DATE_START = 175, + + [System.Runtime.Serialization.EnumMember(Value = @"DATE_END")] + DATE_END = 176, + + [System.Runtime.Serialization.EnumMember(Value = @"INCLUDE_PREVIOUS_YEAR_IN_RESULT")] + INCLUDE_PREVIOUS_YEAR_IN_RESULT = 177, + + [System.Runtime.Serialization.EnumMember(Value = @"DISTRIBUTE_INCOME_MODULE_INDUSTRY")] + DISTRIBUTE_INCOME_MODULE_INDUSTRY = 178, + [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_BRREG_DOC_ID")] - YEAR_END_BRREG_DOC_ID = 175, + YEAR_END_BRREG_DOC_ID = 179, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_BRREG_DOC_FETCHER_NAME")] - YEAR_END_BRREG_DOC_FETCHER_NAME = 176, + YEAR_END_BRREG_DOC_FETCHER_NAME = 180, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT")] - YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT = 177, + YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT = 181, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT")] - YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT = 178, + YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT = 182, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE")] - YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE = 179, + YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE = 183, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS")] - YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS = 180, + YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS = 184, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_INVENTORIES")] - YEAR_END_DOCUMENTATION_INVENTORIES = 181, + YEAR_END_DOCUMENTATION_INVENTORIES = 185, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS")] - YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS = 182, + YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS = 186, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROFIT_LOSS")] - YEAR_END_DOCUMENTATION_PROFIT_LOSS = 183, + YEAR_END_DOCUMENTATION_PROFIT_LOSS = 187, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_BALANCE")] - YEAR_END_DOCUMENTATION_BALANCE = 184, + YEAR_END_DOCUMENTATION_BALANCE = 188, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PERSONAL_INCOME")] - YEAR_END_DOCUMENTATION_PERSONAL_INCOME = 185, + YEAR_END_DOCUMENTATION_PERSONAL_INCOME = 189, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES")] - YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES = 186, + YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES = 190, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES")] - YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES = 187, + YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES = 191, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT")] - YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT = 188, + YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT = 192, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS")] - YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS = 189, + YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS = 193, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION")] - YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION = 190, + YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION = 194, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_RETURN")] - YEAR_END_DOCUMENTATION_TAX_RETURN = 191, + YEAR_END_DOCUMENTATION_TAX_RETURN = 195, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_DIVIDEND")] - YEAR_END_DOCUMENTATION_DIVIDEND = 192, + YEAR_END_DOCUMENTATION_DIVIDEND = 196, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_DISPOSITIONS")] - YEAR_END_DOCUMENTATION_DISPOSITIONS = 193, + YEAR_END_DOCUMENTATION_DISPOSITIONS = 197, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROPERTIES")] - YEAR_END_DOCUMENTATION_PROPERTIES = 194, + YEAR_END_DOCUMENTATION_PROPERTIES = 198, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_SECURITIES")] - YEAR_END_DOCUMENTATION_SECURITIES = 195, + YEAR_END_DOCUMENTATION_SECURITIES = 199, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_CALCULATION")] - YEAR_END_DOCUMENTATION_TAX_CALCULATION = 196, + YEAR_END_DOCUMENTATION_TAX_CALCULATION = 200, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_AUDIT_REPORT")] - YEAR_END_DOCUMENTATION_AUDIT_REPORT = 197, + YEAR_END_DOCUMENTATION_AUDIT_REPORT = 201, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ANNUAL_REPORT")] - YEAR_END_DOCUMENTATION_ANNUAL_REPORT = 198, + YEAR_END_DOCUMENTATION_ANNUAL_REPORT = 202, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT")] - YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT = 199, + YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT = 203, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS")] - YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS = 200, + YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS = 204, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVER_ORG_NR")] - RECEIVER_ORG_NR = 201, + RECEIVER_ORG_NR = 205, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVER_NAME")] - RECEIVER_NAME = 202, + RECEIVER_NAME = 206, [System.Runtime.Serialization.EnumMember(Value = @"CONCERN_CONNECTION")] - CONCERN_CONNECTION = 203, + CONCERN_CONNECTION = 207, [System.Runtime.Serialization.EnumMember(Value = @"VOTING_LIMIT")] - VOTING_LIMIT = 204, + VOTING_LIMIT = 208, [System.Runtime.Serialization.EnumMember(Value = @"DATE_OF_ACQUISITION")] - DATE_OF_ACQUISITION = 205, + DATE_OF_ACQUISITION = 209, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION")] - RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 206, + RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 210, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION")] - RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 207, + RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 211, [System.Runtime.Serialization.EnumMember(Value = @"SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION")] - SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 208, + SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 212, [System.Runtime.Serialization.EnumMember(Value = @"SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION")] - SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 209, + SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 213, [System.Runtime.Serialization.EnumMember(Value = @"APPLICATION_OF_LOSS_CARRY_FORWARDS")] - APPLICATION_OF_LOSS_CARRY_FORWARDS = 210, + APPLICATION_OF_LOSS_CARRY_FORWARDS = 214, [System.Runtime.Serialization.EnumMember(Value = @"ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS")] - ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS = 211, + ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS = 215, [System.Runtime.Serialization.EnumMember(Value = @"CORRECTIONS_AND_OTHER_CAPITAL")] - CORRECTIONS_AND_OTHER_CAPITAL = 212, + CORRECTIONS_AND_OTHER_CAPITAL = 216, [System.Runtime.Serialization.EnumMember(Value = @"CORRECTIONS_AND_OTHER_DEBT")] - CORRECTIONS_AND_OTHER_DEBT = 213, + CORRECTIONS_AND_OTHER_DEBT = 217, [System.Runtime.Serialization.EnumMember(Value = @"NUMBER_OF_SHARES")] - NUMBER_OF_SHARES = 214, + NUMBER_OF_SHARES = 218, [System.Runtime.Serialization.EnumMember(Value = @"IS_PART_OF_GROUP_COMPANY")] - IS_PART_OF_GROUP_COMPANY = 215, + IS_PART_OF_GROUP_COMPANY = 219, [System.Runtime.Serialization.EnumMember(Value = @"IS_LISTED_ON_THE_STOCK_EXCHANGE")] - IS_LISTED_ON_THE_STOCK_EXCHANGE = 216, + IS_LISTED_ON_THE_STOCK_EXCHANGE = 220, [System.Runtime.Serialization.EnumMember(Value = @"IS_REORGANIZED_ACROSS_BORDERS")] - IS_REORGANIZED_ACROSS_BORDERS = 217, + IS_REORGANIZED_ACROSS_BORDERS = 221, - [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OR_TRANSFERED_ASSETS")] - HAS_RECEIVED_OR_TRANSFERED_ASSETS = 218, + [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OR_TRANSFERRED_ASSETS")] + HAS_RECEIVED_OR_TRANSFERRED_ASSETS = 222, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_NAME")] - HEAD_OF_GROUP_NAME = 219, + HEAD_OF_GROUP_NAME = 223, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_COUNTRY_CODE")] - HEAD_OF_GROUP_COUNTRY_CODE = 220, + HEAD_OF_GROUP_COUNTRY_CODE = 224, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_LAST_YEAR_NAME")] - HEAD_OF_GROUP_LAST_YEAR_NAME = 221, + HEAD_OF_GROUP_LAST_YEAR_NAME = 225, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE")] - HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE = 222, + HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE = 226, [System.Runtime.Serialization.EnumMember(Value = @"FOREIGN_OWNERSHIP_COMPANY_NAME")] - FOREIGN_OWNERSHIP_COMPANY_NAME = 223, + FOREIGN_OWNERSHIP_COMPANY_NAME = 227, [System.Runtime.Serialization.EnumMember(Value = @"FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE")] - FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE = 224, + FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE = 228, [System.Runtime.Serialization.EnumMember(Value = @"OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY")] - OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY = 225, + OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY = 229, [System.Runtime.Serialization.EnumMember(Value = @"HAS_PERMANENT_ESTABLISHMENT_ABROAD")] - HAS_PERMANENT_ESTABLISHMENT_ABROAD = 226, + HAS_PERMANENT_ESTABLISHMENT_ABROAD = 230, [System.Runtime.Serialization.EnumMember(Value = @"COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME")] - COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME = 227, + COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME = 231, [System.Runtime.Serialization.EnumMember(Value = @"COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE")] - COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE = 228, + COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE = 232, [System.Runtime.Serialization.EnumMember(Value = @"HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER")] - HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER = 229, + HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER = 233, [System.Runtime.Serialization.EnumMember(Value = @"HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID")] - HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID = 230, + HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID = 234, [System.Runtime.Serialization.EnumMember(Value = @"IS_SMALL_OR_MEDIUM_SIZED_BUSINESS")] - IS_SMALL_OR_MEDIUM_SIZED_BUSINESS = 231, + IS_SMALL_OR_MEDIUM_SIZED_BUSINESS = 235, [System.Runtime.Serialization.EnumMember(Value = @"HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR")] - HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR = 232, + HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR = 236, [System.Runtime.Serialization.EnumMember(Value = @"IS_GROUP_COMPANY")] - IS_GROUP_COMPANY = 233, + IS_GROUP_COMPANY = 237, [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OTHER_PUBLIC_SUPPORT")] - HAS_RECEIVED_OTHER_PUBLIC_SUPPORT = 234, + HAS_RECEIVED_OTHER_PUBLIC_SUPPORT = 238, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_TONNAGE_TAX_REGIME")] - AID_SCHEME_TONNAGE_TAX_REGIME = 235, + AID_SCHEME_TONNAGE_TAX_REGIME = 239, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS")] - AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS = 236, + AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS = 240, - [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FOR_LONGTERM_INVESTMENTS")] - AID_SCHEME_FOR_LONGTERM_INVESTMENTS = 237, + [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FOR_LONG_TERM_INVESTMENTS")] + AID_SCHEME_FOR_LONG_TERM_INVESTMENTS = 241, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP")] - AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP = 238, + AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP = 242, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_TAX_FUN")] - AID_SCHEME_TAX_FUN = 239, + AID_SCHEME_TAX_FUN = 243, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES")] - AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES = 240, + AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES = 244, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS")] - AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS = 241, + AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS = 245, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES")] - AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES = 242, + AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES = 246, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS = 243, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS = 247, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS")] - AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS = 244, + AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS = 248, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES = 245, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES = 249, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS = 246, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS = 250, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR = 247, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR = 251, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING = 248, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING = 252, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE = 249, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE = 253, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES = 250, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES = 254, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS = 251, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS = 255, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS = 252, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS = 256, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY")] - AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY = 253, + AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY = 257, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY")] - AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY = 254, + AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY = 258, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL")] - AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL = 255, + AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL = 259, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_CO2_TAX_GAS")] - AID_SCHEME_EXEMPTION_CO2_TAX_GAS = 256, + AID_SCHEME_EXEMPTION_CO2_TAX_GAS = 260, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_NOX_DUTY")] - AID_SCHEME_EXEMPTION_NOX_DUTY = 257, + AID_SCHEME_EXEMPTION_NOX_DUTY = 261, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_TRANSFER_FEE")] - AID_SCHEME_EXEMPTION_TRANSFER_FEE = 258, + AID_SCHEME_EXEMPTION_TRANSFER_FEE = 262, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX")] - AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX = 259, + AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX = 263, [System.Runtime.Serialization.EnumMember(Value = @"OTHER_CORRECTIONS")] - OTHER_CORRECTIONS = 260, + OTHER_CORRECTIONS = 264, [System.Runtime.Serialization.EnumMember(Value = @"DEFERRED_TAX_ASSETS_IN_BALANCE")] - DEFERRED_TAX_ASSETS_IN_BALANCE = 261, + DEFERRED_TAX_ASSETS_IN_BALANCE = 265, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_NAME")] - SHARES_AND_SECURITIES_NAME = 262, + SHARES_AND_SECURITIES_NAME = 266, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_STOCK_TYPE")] - SHARES_AND_SECURITIES_STOCK_TYPE = 263, + SHARES_AND_SECURITIES_STOCK_TYPE = 267, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_VAT_NUMBER")] - SHARES_AND_SECURITIES_VAT_NUMBER = 264, + SHARES_AND_SECURITIES_VAT_NUMBER = 268, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_ISIN")] - SHARES_AND_SECURITIES_ISIN = 265, + SHARES_AND_SECURITIES_ISIN = 269, - [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_COUNTRY")] - SHARES_AND_SECURITIES_COUNTRY = 266, + [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_COUNTRY_CODE")] + SHARES_AND_SECURITIES_COUNTRY_CODE = 270, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARE_CLASS")] - SHARES_AND_SECURITIES_SHARE_CLASS = 267, + SHARES_AND_SECURITIES_SHARE_CLASS = 271, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR")] - SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR = 268, + SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR = 272, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR")] - SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR = 269, + SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR = 273, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_VALUE")] - SHARES_AND_SECURITIES_VALUE = 270, + SHARES_AND_SECURITIES_VALUE = 274, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_TOTAL_VALUE")] - SHARES_AND_SECURITIES_TOTAL_VALUE = 271, + SHARES_AND_SECURITIES_TOTAL_VALUE = 275, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_DIVIDEND")] - SHARES_AND_SECURITIES_DIVIDEND = 272, + SHARES_AND_SECURITIES_DIVIDEND = 276, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_INTEREST_INCOME")] - SHARES_AND_SECURITIES_INTEREST_INCOME = 273, + SHARES_AND_SECURITIES_INTEREST_INCOME = 277, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_PROFIT_REALISATION")] - SHARES_AND_SECURITIES_PROFIT_REALISATION = 274, + SHARES_AND_SECURITIES_PROFIT_REALISATION = 278, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_LOSS_REALISATION")] - SHARES_AND_SECURITIES_LOSS_REALISATION = 275, + SHARES_AND_SECURITIES_LOSS_REALISATION = 279, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_PROFIT_INTEREST")] - SHARES_AND_SECURITIES_PROFIT_INTEREST = 276, + SHARES_AND_SECURITIES_PROFIT_INTEREST = 280, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_LOSS_INTEREST")] - SHARES_AND_SECURITIES_LOSS_INTEREST = 277, + SHARES_AND_SECURITIES_LOSS_INTEREST = 281, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_EXEMPTION_METHOD")] - SHARES_AND_SECURITIES_EXEMPTION_METHOD = 278, + SHARES_AND_SECURITIES_EXEMPTION_METHOD = 282, + + [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_FINANCIAL_PRODUCT")] + SHARES_AND_SECURITIES_FINANCIAL_PRODUCT = 283, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_TYPE")] - REAL_ESTATE_TYPE = 279, + REAL_ESTATE_TYPE = 284, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DESCRIPTION")] - REAL_ESTATE_DESCRIPTION = 280, + REAL_ESTATE_DESCRIPTION = 285, [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_PROPERTY_TYPE")] - COMMERCIAL_PROPERTY_TYPE = 281, + COMMERCIAL_PROPERTY_TYPE = 286, [System.Runtime.Serialization.EnumMember(Value = @"SHARE_OF_ASSET_VALUE")] - SHARE_OF_ASSET_VALUE = 282, + SHARE_OF_ASSET_VALUE = 287, [System.Runtime.Serialization.EnumMember(Value = @"INTERNAL_PROPERTY_IDENTIFIER")] - INTERNAL_PROPERTY_IDENTIFIER = 283, + INTERNAL_PROPERTY_IDENTIFIER = 288, [System.Runtime.Serialization.EnumMember(Value = @"ASSET_VALUE_FOR_ASSET_SHARE")] - ASSET_VALUE_FOR_ASSET_SHARE = 284, + ASSET_VALUE_FOR_ASSET_SHARE = 289, [System.Runtime.Serialization.EnumMember(Value = @"VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE")] - VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE = 285, + VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE = 290, [System.Runtime.Serialization.EnumMember(Value = @"TOTAL_AREA")] - TOTAL_AREA = 286, + TOTAL_AREA = 291, [System.Runtime.Serialization.EnumMember(Value = @"CALCULATED_RENTAL_VALUE")] - CALCULATED_RENTAL_VALUE = 287, + CALCULATED_RENTAL_VALUE = 292, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SERG_NO")] - REAL_ESTATE_SERG_NO = 288, + REAL_ESTATE_SERG_NO = 293, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ADDRESS")] - REAL_ESTATE_ADDRESS = 289, + REAL_ESTATE_ADDRESS = 294, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ZIP_CODE")] - REAL_ESTATE_ZIP_CODE = 290, + REAL_ESTATE_ZIP_CODE = 295, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_POSTAL_PLACE_NAME")] - REAL_ESTATE_POSTAL_PLACE_NAME = 291, + REAL_ESTATE_POSTAL_PLACE_NAME = 296, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_COUNTRY_CODE")] + REAL_ESTATE_COUNTRY_CODE = 297, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MUNICIPALITY_NO")] - REAL_ESTATE_MUNICIPALITY_NO = 292, + REAL_ESTATE_MUNICIPALITY_NO = 298, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MUNICIPALITY_NAME")] - REAL_ESTATE_MUNICIPALITY_NAME = 293, + REAL_ESTATE_MUNICIPALITY_NAME = 299, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_CADASTRAL_UNIT_NO")] - REAL_ESTATE_CADASTRAL_UNIT_NO = 294, + REAL_ESTATE_CADASTRAL_UNIT_NO = 300, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PROPERTY_UNIT_NO")] - REAL_ESTATE_PROPERTY_UNIT_NO = 295, + REAL_ESTATE_PROPERTY_UNIT_NO = 301, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_LEASEHOLD_NO")] - REAL_ESTATE_LEASEHOLD_NO = 296, + REAL_ESTATE_LEASEHOLD_NO = 302, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SECTION_NO")] - REAL_ESTATE_SECTION_NO = 297, + REAL_ESTATE_SECTION_NO = 303, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE")] - REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE = 298, + REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE = 304, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PREV_YEAR_ASSET_VALUE")] - REAL_ESTATE_PREV_YEAR_ASSET_VALUE = 299, + REAL_ESTATE_PREV_YEAR_ASSET_VALUE = 305, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_YEARLY")] - REAL_ESTATE_EXPENSES_YEARLY = 300, + REAL_ESTATE_EXPENSES_YEARLY = 306, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY")] - REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY = 301, + REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY = 307, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY")] - REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY = 302, + REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY = 308, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DATE_DOCUMENTED")] - REAL_ESTATE_DATE_DOCUMENTED = 303, + REAL_ESTATE_DATE_DOCUMENTED = 309, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MARKET_VALUE_MANUAL")] - REAL_ESTATE_MARKET_VALUE_MANUAL = 304, + REAL_ESTATE_MARKET_VALUE_MANUAL = 310, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MARKET_VALUE_CALCULATED")] - REAL_ESTATE_MARKET_VALUE_CALCULATED = 305, + REAL_ESTATE_MARKET_VALUE_CALCULATED = 311, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_USE_VALUE_MARKET")] - REAL_ESTATE_USE_VALUE_MARKET = 306, + REAL_ESTATE_USE_VALUE_MARKET = 312, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DWELLING_TYPE")] - REAL_ESTATE_DWELLING_TYPE = 307, + REAL_ESTATE_DWELLING_TYPE = 313, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_TYPE")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_TYPE = 314, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_NAME")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_NAME = 315, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_ORG_NO")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_ORG_NO = 316, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_SHARE_NO")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_SHARE_NO = 317, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE")] - REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE = 308, + REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE = 318, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_CONSTRUCTION_YEAR")] - REAL_ESTATE_CONSTRUCTION_YEAR = 309, + REAL_ESTATE_CONSTRUCTION_YEAR = 319, - [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SELF_OWNED_DWELLING_CALCULATED_MARKET_VALUE")] - REAL_ESTATE_SELF_OWNED_DWELLING_CALCULATED_MARKET_VALUE = 310, + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SELF_OWNED_OR_COOPERATIVE_DWELLING_CALCULATED_MARKET_VALUE")] + REAL_ESTATE_SELF_OWNED_OR_COOPERATIVE_DWELLING_CALCULATED_MARKET_VALUE = 320, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_AREA_TOTAL")] - REAL_ESTATE_RENTAL_AREA_TOTAL = 311, + REAL_ESTATE_RENTAL_AREA_TOTAL = 321, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_PERIOD_MONTHS")] - REAL_ESTATE_RENTAL_PERIOD_MONTHS = 312, + REAL_ESTATE_RENTAL_PERIOD_MONTHS = 322, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED")] - REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED = 313, + REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED = 323, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR")] - REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR = 314, + REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR = 324, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO")] - REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO = 315, + REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO = 325, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_ASSET_VALUE_BASE")] - REAL_ESTATE_RENTAL_ASSET_VALUE_BASE = 316, + REAL_ESTATE_RENTAL_ASSET_VALUE_BASE = 326, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_INCOME")] - REAL_ESTATE_RENTAL_GROSS_INCOME = 317, + REAL_ESTATE_RENTAL_GROSS_INCOME = 327, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL")] - REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL = 318, + REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL = 328, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_YEARLY_MANUAL = 319, + REAL_ESTATE_EXPENSES_YEARLY_MANUAL = 329, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL = 320, + REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL = 330, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL = 321, + REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL = 331, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_ROW_ID")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_ROW_ID = 332, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_NO")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_NO = 333, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_AREA")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_AREA = 334, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_CONSTRUCTION_YEAR")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_CONSTRUCTION_YEAR = 335, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_VALUE")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_VALUE = 336, [System.Runtime.Serialization.EnumMember(Value = @"YEARLY_DIVIDEND")] - YEARLY_DIVIDEND = 322, + YEARLY_DIVIDEND = 337, + + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_CREDIT")] + DIVIDEND_CREDIT = 338, + + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_SECURITY_OFFERED")] + DIVIDEND_SECURITY_OFFERED = 339, + + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_DISPOSITIONS")] + DIVIDEND_DISPOSITIONS = 340, } @@ -127835,11 +129963,11 @@ public enum InventoriesDetailsOpeningBalancePostType [System.Runtime.Serialization.EnumMember(Value = @"TOTAL_WITHDRAWAL_COST_FOR_ENTERTAINMENT")] TOTAL_WITHDRAWAL_COST_FOR_ENTERTAINMENT = 69, - [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_CREDITSALES")] - OPENING_BALANCE_CREDITSALES = 70, + [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_CREDIT_SALES")] + OPENING_BALANCE_CREDIT_SALES = 70, - [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_CREDITSALES")] - CLOSING_BALANCE_CREDITSALES = 71, + [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_CREDIT_SALES")] + CLOSING_BALANCE_CREDIT_SALES = 71, [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_WRITE_DOWN_NEW_COMPANY")] OPENING_BALANCE_WRITE_DOWN_NEW_COMPANY = 72, @@ -127847,11 +129975,11 @@ public enum InventoriesDetailsOpeningBalancePostType [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_WRITE_DOWN_NEW_COMPANY")] CLOSING_BALANCE_WRITE_DOWN_NEW_COMPANY = 73, - [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS")] - OPENING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS = 74, + [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS")] + OPENING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS = 74, - [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS")] - CLOSING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS = 75, + [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS")] + CLOSING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS = 75, [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_PRODUCT_UNDER_MANUFACTURING")] OPENING_BALANCE_PRODUCT_UNDER_MANUFACTURING = 76, @@ -127946,14 +130074,14 @@ public enum InventoriesDetailsOpeningBalancePostType [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS")] ACCOUNTING_LOSS = 106, - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_NORWEAGIAN_SDF")] - ACCOUNTING_DEFICIT_NORWEAGIAN_SDF = 107, + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_NORWEGIAN_SDF")] + ACCOUNTING_DEFICIT_NORWEGIAN_SDF = 107, [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_FOREIGN_SDF")] ACCOUNTING_DEFICIT_FOREIGN_SDF = 108, - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_NORWEAGIAN_SDF")] - ACCOUNTING_LOSS_NORWEAGIAN_SDF = 109, + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_NORWEGIAN_SDF")] + ACCOUNTING_LOSS_NORWEGIAN_SDF = 109, [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_FOREIGN_SDF")] ACCOUNTING_LOSS_FOREIGN_SDF = 110, @@ -128027,11 +130155,11 @@ public enum InventoriesDetailsOpeningBalancePostType [System.Runtime.Serialization.EnumMember(Value = @"SHARE_OF_DEDUCTIBLE_DEFICIT_FOREIGN_SDF")] SHARE_OF_DEDUCTIBLE_DEFICIT_FOREIGN_SDF = 133, - [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIXATION_NORWEGIAN_SDF")] - DEDUCTIBLE_LOSS_ON_REALIXATION_NORWEGIAN_SDF = 134, + [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIZATION_NORWEGIAN_SDF")] + DEDUCTIBLE_LOSS_ON_REALIZATION_NORWEGIAN_SDF = 134, - [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIXATION_FOREIGN_SDF")] - DEDUCTIBLE_LOSS_ON_REALIXATION_FOREIGN_SDF = 135, + [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIZATION_FOREIGN_SDF")] + DEDUCTIBLE_LOSS_ON_REALIZATION_FOREIGN_SDF = 135, [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_WITHDRAWAL_NORWEGIAN_TAX_AREA")] DEDUCTIBLE_LOSS_ON_WITHDRAWAL_NORWEGIAN_TAX_AREA = 136, @@ -128099,14 +130227,14 @@ public enum InventoriesDetailsOpeningBalancePostType [System.Runtime.Serialization.EnumMember(Value = @"OWN_BUSINESS_PROPERTIES")] OWN_BUSINESS_PROPERTIES = 157, - [System.Runtime.Serialization.EnumMember(Value = @"OWN_ASSET_PAPIR")] - OWN_ASSET_PAPIR = 158, + [System.Runtime.Serialization.EnumMember(Value = @"OWN_ASSET_PAPER")] + OWN_ASSET_PAPER = 158, - [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERED_BY")] - TRANSFERED_BY = 159, + [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERRED_BY")] + TRANSFERRED_BY = 159, - [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERED_DATE")] - TRANSFERED_DATE = 160, + [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERRED_DATE")] + TRANSFERRED_DATE = 160, [System.Runtime.Serialization.EnumMember(Value = @"SET_ACCOUNTANT_REVISED")] SET_ACCOUNTANT_REVISED = 161, @@ -128114,8 +130242,8 @@ public enum InventoriesDetailsOpeningBalancePostType [System.Runtime.Serialization.EnumMember(Value = @"IS_TAXABLE")] IS_TAXABLE = 162, - [System.Runtime.Serialization.EnumMember(Value = @"REQUIRE_AUDITORS_SIGNATURE")] - REQUIRE_AUDITORS_SIGNATURE = 163, + [System.Runtime.Serialization.EnumMember(Value = @"AUDITING_OBLIGATION")] + AUDITING_OBLIGATION = 163, [System.Runtime.Serialization.EnumMember(Value = @"VALIDATION_ONLY_ON_SUBMIT")] VALIDATION_ONLY_ON_SUBMIT = 164, @@ -128132,8 +130260,8 @@ public enum InventoriesDetailsOpeningBalancePostType [System.Runtime.Serialization.EnumMember(Value = @"PARENT_COMPANY")] PARENT_COMPANY = 168, - [System.Runtime.Serialization.EnumMember(Value = @"SMALL_ENTERPRICES")] - SMALL_ENTERPRICES = 169, + [System.Runtime.Serialization.EnumMember(Value = @"SMALL_ENTERPRISES")] + SMALL_ENTERPRISES = 169, [System.Runtime.Serialization.EnumMember(Value = @"PREPARED_BY_AUTHORIZED_ACCOUNTANT")] PREPARED_BY_AUTHORIZED_ACCOUNTANT = 170, @@ -128150,449 +130278,503 @@ public enum InventoriesDetailsOpeningBalancePostType [System.Runtime.Serialization.EnumMember(Value = @"SHOW_RESULT_AND_BALANCE_PREVIOUS_YEAR")] SHOW_RESULT_AND_BALANCE_PREVIOUS_YEAR = 174, + [System.Runtime.Serialization.EnumMember(Value = @"DATE_START")] + DATE_START = 175, + + [System.Runtime.Serialization.EnumMember(Value = @"DATE_END")] + DATE_END = 176, + + [System.Runtime.Serialization.EnumMember(Value = @"INCLUDE_PREVIOUS_YEAR_IN_RESULT")] + INCLUDE_PREVIOUS_YEAR_IN_RESULT = 177, + + [System.Runtime.Serialization.EnumMember(Value = @"DISTRIBUTE_INCOME_MODULE_INDUSTRY")] + DISTRIBUTE_INCOME_MODULE_INDUSTRY = 178, + [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_BRREG_DOC_ID")] - YEAR_END_BRREG_DOC_ID = 175, + YEAR_END_BRREG_DOC_ID = 179, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_BRREG_DOC_FETCHER_NAME")] - YEAR_END_BRREG_DOC_FETCHER_NAME = 176, + YEAR_END_BRREG_DOC_FETCHER_NAME = 180, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT")] - YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT = 177, + YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT = 181, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT")] - YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT = 178, + YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT = 182, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE")] - YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE = 179, + YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE = 183, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS")] - YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS = 180, + YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS = 184, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_INVENTORIES")] - YEAR_END_DOCUMENTATION_INVENTORIES = 181, + YEAR_END_DOCUMENTATION_INVENTORIES = 185, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS")] - YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS = 182, + YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS = 186, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROFIT_LOSS")] - YEAR_END_DOCUMENTATION_PROFIT_LOSS = 183, + YEAR_END_DOCUMENTATION_PROFIT_LOSS = 187, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_BALANCE")] - YEAR_END_DOCUMENTATION_BALANCE = 184, + YEAR_END_DOCUMENTATION_BALANCE = 188, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PERSONAL_INCOME")] - YEAR_END_DOCUMENTATION_PERSONAL_INCOME = 185, + YEAR_END_DOCUMENTATION_PERSONAL_INCOME = 189, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES")] - YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES = 186, + YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES = 190, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES")] - YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES = 187, + YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES = 191, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT")] - YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT = 188, + YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT = 192, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS")] - YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS = 189, + YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS = 193, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION")] - YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION = 190, + YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION = 194, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_RETURN")] - YEAR_END_DOCUMENTATION_TAX_RETURN = 191, + YEAR_END_DOCUMENTATION_TAX_RETURN = 195, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_DIVIDEND")] - YEAR_END_DOCUMENTATION_DIVIDEND = 192, + YEAR_END_DOCUMENTATION_DIVIDEND = 196, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_DISPOSITIONS")] - YEAR_END_DOCUMENTATION_DISPOSITIONS = 193, + YEAR_END_DOCUMENTATION_DISPOSITIONS = 197, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROPERTIES")] - YEAR_END_DOCUMENTATION_PROPERTIES = 194, + YEAR_END_DOCUMENTATION_PROPERTIES = 198, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_SECURITIES")] - YEAR_END_DOCUMENTATION_SECURITIES = 195, + YEAR_END_DOCUMENTATION_SECURITIES = 199, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_CALCULATION")] - YEAR_END_DOCUMENTATION_TAX_CALCULATION = 196, + YEAR_END_DOCUMENTATION_TAX_CALCULATION = 200, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_AUDIT_REPORT")] - YEAR_END_DOCUMENTATION_AUDIT_REPORT = 197, + YEAR_END_DOCUMENTATION_AUDIT_REPORT = 201, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ANNUAL_REPORT")] - YEAR_END_DOCUMENTATION_ANNUAL_REPORT = 198, + YEAR_END_DOCUMENTATION_ANNUAL_REPORT = 202, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT")] - YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT = 199, + YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT = 203, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS")] - YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS = 200, + YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS = 204, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVER_ORG_NR")] - RECEIVER_ORG_NR = 201, + RECEIVER_ORG_NR = 205, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVER_NAME")] - RECEIVER_NAME = 202, + RECEIVER_NAME = 206, [System.Runtime.Serialization.EnumMember(Value = @"CONCERN_CONNECTION")] - CONCERN_CONNECTION = 203, + CONCERN_CONNECTION = 207, [System.Runtime.Serialization.EnumMember(Value = @"VOTING_LIMIT")] - VOTING_LIMIT = 204, + VOTING_LIMIT = 208, [System.Runtime.Serialization.EnumMember(Value = @"DATE_OF_ACQUISITION")] - DATE_OF_ACQUISITION = 205, + DATE_OF_ACQUISITION = 209, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION")] - RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 206, + RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 210, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION")] - RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 207, + RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 211, [System.Runtime.Serialization.EnumMember(Value = @"SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION")] - SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 208, + SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 212, [System.Runtime.Serialization.EnumMember(Value = @"SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION")] - SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 209, + SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 213, [System.Runtime.Serialization.EnumMember(Value = @"APPLICATION_OF_LOSS_CARRY_FORWARDS")] - APPLICATION_OF_LOSS_CARRY_FORWARDS = 210, + APPLICATION_OF_LOSS_CARRY_FORWARDS = 214, [System.Runtime.Serialization.EnumMember(Value = @"ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS")] - ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS = 211, + ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS = 215, [System.Runtime.Serialization.EnumMember(Value = @"CORRECTIONS_AND_OTHER_CAPITAL")] - CORRECTIONS_AND_OTHER_CAPITAL = 212, + CORRECTIONS_AND_OTHER_CAPITAL = 216, [System.Runtime.Serialization.EnumMember(Value = @"CORRECTIONS_AND_OTHER_DEBT")] - CORRECTIONS_AND_OTHER_DEBT = 213, + CORRECTIONS_AND_OTHER_DEBT = 217, [System.Runtime.Serialization.EnumMember(Value = @"NUMBER_OF_SHARES")] - NUMBER_OF_SHARES = 214, + NUMBER_OF_SHARES = 218, [System.Runtime.Serialization.EnumMember(Value = @"IS_PART_OF_GROUP_COMPANY")] - IS_PART_OF_GROUP_COMPANY = 215, + IS_PART_OF_GROUP_COMPANY = 219, [System.Runtime.Serialization.EnumMember(Value = @"IS_LISTED_ON_THE_STOCK_EXCHANGE")] - IS_LISTED_ON_THE_STOCK_EXCHANGE = 216, + IS_LISTED_ON_THE_STOCK_EXCHANGE = 220, [System.Runtime.Serialization.EnumMember(Value = @"IS_REORGANIZED_ACROSS_BORDERS")] - IS_REORGANIZED_ACROSS_BORDERS = 217, + IS_REORGANIZED_ACROSS_BORDERS = 221, - [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OR_TRANSFERED_ASSETS")] - HAS_RECEIVED_OR_TRANSFERED_ASSETS = 218, + [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OR_TRANSFERRED_ASSETS")] + HAS_RECEIVED_OR_TRANSFERRED_ASSETS = 222, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_NAME")] - HEAD_OF_GROUP_NAME = 219, + HEAD_OF_GROUP_NAME = 223, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_COUNTRY_CODE")] - HEAD_OF_GROUP_COUNTRY_CODE = 220, + HEAD_OF_GROUP_COUNTRY_CODE = 224, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_LAST_YEAR_NAME")] - HEAD_OF_GROUP_LAST_YEAR_NAME = 221, + HEAD_OF_GROUP_LAST_YEAR_NAME = 225, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE")] - HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE = 222, + HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE = 226, [System.Runtime.Serialization.EnumMember(Value = @"FOREIGN_OWNERSHIP_COMPANY_NAME")] - FOREIGN_OWNERSHIP_COMPANY_NAME = 223, + FOREIGN_OWNERSHIP_COMPANY_NAME = 227, [System.Runtime.Serialization.EnumMember(Value = @"FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE")] - FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE = 224, + FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE = 228, [System.Runtime.Serialization.EnumMember(Value = @"OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY")] - OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY = 225, + OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY = 229, [System.Runtime.Serialization.EnumMember(Value = @"HAS_PERMANENT_ESTABLISHMENT_ABROAD")] - HAS_PERMANENT_ESTABLISHMENT_ABROAD = 226, + HAS_PERMANENT_ESTABLISHMENT_ABROAD = 230, [System.Runtime.Serialization.EnumMember(Value = @"COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME")] - COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME = 227, + COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME = 231, [System.Runtime.Serialization.EnumMember(Value = @"COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE")] - COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE = 228, + COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE = 232, [System.Runtime.Serialization.EnumMember(Value = @"HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER")] - HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER = 229, + HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER = 233, [System.Runtime.Serialization.EnumMember(Value = @"HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID")] - HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID = 230, + HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID = 234, [System.Runtime.Serialization.EnumMember(Value = @"IS_SMALL_OR_MEDIUM_SIZED_BUSINESS")] - IS_SMALL_OR_MEDIUM_SIZED_BUSINESS = 231, + IS_SMALL_OR_MEDIUM_SIZED_BUSINESS = 235, [System.Runtime.Serialization.EnumMember(Value = @"HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR")] - HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR = 232, + HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR = 236, [System.Runtime.Serialization.EnumMember(Value = @"IS_GROUP_COMPANY")] - IS_GROUP_COMPANY = 233, + IS_GROUP_COMPANY = 237, [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OTHER_PUBLIC_SUPPORT")] - HAS_RECEIVED_OTHER_PUBLIC_SUPPORT = 234, + HAS_RECEIVED_OTHER_PUBLIC_SUPPORT = 238, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_TONNAGE_TAX_REGIME")] - AID_SCHEME_TONNAGE_TAX_REGIME = 235, + AID_SCHEME_TONNAGE_TAX_REGIME = 239, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS")] - AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS = 236, + AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS = 240, - [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FOR_LONGTERM_INVESTMENTS")] - AID_SCHEME_FOR_LONGTERM_INVESTMENTS = 237, + [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FOR_LONG_TERM_INVESTMENTS")] + AID_SCHEME_FOR_LONG_TERM_INVESTMENTS = 241, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP")] - AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP = 238, + AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP = 242, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_TAX_FUN")] - AID_SCHEME_TAX_FUN = 239, + AID_SCHEME_TAX_FUN = 243, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES")] - AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES = 240, + AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES = 244, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS")] - AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS = 241, + AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS = 245, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES")] - AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES = 242, + AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES = 246, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS = 243, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS = 247, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS")] - AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS = 244, + AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS = 248, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES = 245, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES = 249, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS = 246, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS = 250, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR = 247, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR = 251, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING = 248, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING = 252, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE = 249, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE = 253, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES = 250, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES = 254, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS = 251, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS = 255, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS = 252, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS = 256, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY")] - AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY = 253, + AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY = 257, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY")] - AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY = 254, + AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY = 258, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL")] - AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL = 255, + AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL = 259, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_CO2_TAX_GAS")] - AID_SCHEME_EXEMPTION_CO2_TAX_GAS = 256, + AID_SCHEME_EXEMPTION_CO2_TAX_GAS = 260, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_NOX_DUTY")] - AID_SCHEME_EXEMPTION_NOX_DUTY = 257, + AID_SCHEME_EXEMPTION_NOX_DUTY = 261, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_TRANSFER_FEE")] - AID_SCHEME_EXEMPTION_TRANSFER_FEE = 258, + AID_SCHEME_EXEMPTION_TRANSFER_FEE = 262, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX")] - AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX = 259, + AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX = 263, [System.Runtime.Serialization.EnumMember(Value = @"OTHER_CORRECTIONS")] - OTHER_CORRECTIONS = 260, + OTHER_CORRECTIONS = 264, [System.Runtime.Serialization.EnumMember(Value = @"DEFERRED_TAX_ASSETS_IN_BALANCE")] - DEFERRED_TAX_ASSETS_IN_BALANCE = 261, + DEFERRED_TAX_ASSETS_IN_BALANCE = 265, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_NAME")] - SHARES_AND_SECURITIES_NAME = 262, + SHARES_AND_SECURITIES_NAME = 266, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_STOCK_TYPE")] - SHARES_AND_SECURITIES_STOCK_TYPE = 263, + SHARES_AND_SECURITIES_STOCK_TYPE = 267, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_VAT_NUMBER")] - SHARES_AND_SECURITIES_VAT_NUMBER = 264, + SHARES_AND_SECURITIES_VAT_NUMBER = 268, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_ISIN")] - SHARES_AND_SECURITIES_ISIN = 265, + SHARES_AND_SECURITIES_ISIN = 269, - [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_COUNTRY")] - SHARES_AND_SECURITIES_COUNTRY = 266, + [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_COUNTRY_CODE")] + SHARES_AND_SECURITIES_COUNTRY_CODE = 270, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARE_CLASS")] - SHARES_AND_SECURITIES_SHARE_CLASS = 267, + SHARES_AND_SECURITIES_SHARE_CLASS = 271, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR")] - SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR = 268, + SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR = 272, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR")] - SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR = 269, + SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR = 273, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_VALUE")] - SHARES_AND_SECURITIES_VALUE = 270, + SHARES_AND_SECURITIES_VALUE = 274, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_TOTAL_VALUE")] - SHARES_AND_SECURITIES_TOTAL_VALUE = 271, + SHARES_AND_SECURITIES_TOTAL_VALUE = 275, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_DIVIDEND")] - SHARES_AND_SECURITIES_DIVIDEND = 272, + SHARES_AND_SECURITIES_DIVIDEND = 276, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_INTEREST_INCOME")] - SHARES_AND_SECURITIES_INTEREST_INCOME = 273, + SHARES_AND_SECURITIES_INTEREST_INCOME = 277, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_PROFIT_REALISATION")] - SHARES_AND_SECURITIES_PROFIT_REALISATION = 274, + SHARES_AND_SECURITIES_PROFIT_REALISATION = 278, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_LOSS_REALISATION")] - SHARES_AND_SECURITIES_LOSS_REALISATION = 275, + SHARES_AND_SECURITIES_LOSS_REALISATION = 279, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_PROFIT_INTEREST")] - SHARES_AND_SECURITIES_PROFIT_INTEREST = 276, + SHARES_AND_SECURITIES_PROFIT_INTEREST = 280, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_LOSS_INTEREST")] - SHARES_AND_SECURITIES_LOSS_INTEREST = 277, + SHARES_AND_SECURITIES_LOSS_INTEREST = 281, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_EXEMPTION_METHOD")] - SHARES_AND_SECURITIES_EXEMPTION_METHOD = 278, + SHARES_AND_SECURITIES_EXEMPTION_METHOD = 282, + + [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_FINANCIAL_PRODUCT")] + SHARES_AND_SECURITIES_FINANCIAL_PRODUCT = 283, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_TYPE")] - REAL_ESTATE_TYPE = 279, + REAL_ESTATE_TYPE = 284, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DESCRIPTION")] - REAL_ESTATE_DESCRIPTION = 280, + REAL_ESTATE_DESCRIPTION = 285, [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_PROPERTY_TYPE")] - COMMERCIAL_PROPERTY_TYPE = 281, + COMMERCIAL_PROPERTY_TYPE = 286, [System.Runtime.Serialization.EnumMember(Value = @"SHARE_OF_ASSET_VALUE")] - SHARE_OF_ASSET_VALUE = 282, + SHARE_OF_ASSET_VALUE = 287, [System.Runtime.Serialization.EnumMember(Value = @"INTERNAL_PROPERTY_IDENTIFIER")] - INTERNAL_PROPERTY_IDENTIFIER = 283, + INTERNAL_PROPERTY_IDENTIFIER = 288, [System.Runtime.Serialization.EnumMember(Value = @"ASSET_VALUE_FOR_ASSET_SHARE")] - ASSET_VALUE_FOR_ASSET_SHARE = 284, + ASSET_VALUE_FOR_ASSET_SHARE = 289, [System.Runtime.Serialization.EnumMember(Value = @"VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE")] - VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE = 285, + VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE = 290, [System.Runtime.Serialization.EnumMember(Value = @"TOTAL_AREA")] - TOTAL_AREA = 286, + TOTAL_AREA = 291, [System.Runtime.Serialization.EnumMember(Value = @"CALCULATED_RENTAL_VALUE")] - CALCULATED_RENTAL_VALUE = 287, + CALCULATED_RENTAL_VALUE = 292, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SERG_NO")] - REAL_ESTATE_SERG_NO = 288, + REAL_ESTATE_SERG_NO = 293, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ADDRESS")] - REAL_ESTATE_ADDRESS = 289, + REAL_ESTATE_ADDRESS = 294, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ZIP_CODE")] - REAL_ESTATE_ZIP_CODE = 290, + REAL_ESTATE_ZIP_CODE = 295, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_POSTAL_PLACE_NAME")] - REAL_ESTATE_POSTAL_PLACE_NAME = 291, + REAL_ESTATE_POSTAL_PLACE_NAME = 296, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_COUNTRY_CODE")] + REAL_ESTATE_COUNTRY_CODE = 297, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MUNICIPALITY_NO")] - REAL_ESTATE_MUNICIPALITY_NO = 292, + REAL_ESTATE_MUNICIPALITY_NO = 298, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MUNICIPALITY_NAME")] - REAL_ESTATE_MUNICIPALITY_NAME = 293, + REAL_ESTATE_MUNICIPALITY_NAME = 299, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_CADASTRAL_UNIT_NO")] - REAL_ESTATE_CADASTRAL_UNIT_NO = 294, + REAL_ESTATE_CADASTRAL_UNIT_NO = 300, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PROPERTY_UNIT_NO")] - REAL_ESTATE_PROPERTY_UNIT_NO = 295, + REAL_ESTATE_PROPERTY_UNIT_NO = 301, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_LEASEHOLD_NO")] - REAL_ESTATE_LEASEHOLD_NO = 296, + REAL_ESTATE_LEASEHOLD_NO = 302, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SECTION_NO")] - REAL_ESTATE_SECTION_NO = 297, + REAL_ESTATE_SECTION_NO = 303, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE")] - REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE = 298, + REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE = 304, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PREV_YEAR_ASSET_VALUE")] - REAL_ESTATE_PREV_YEAR_ASSET_VALUE = 299, + REAL_ESTATE_PREV_YEAR_ASSET_VALUE = 305, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_YEARLY")] - REAL_ESTATE_EXPENSES_YEARLY = 300, + REAL_ESTATE_EXPENSES_YEARLY = 306, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY")] - REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY = 301, + REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY = 307, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY")] - REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY = 302, + REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY = 308, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DATE_DOCUMENTED")] - REAL_ESTATE_DATE_DOCUMENTED = 303, + REAL_ESTATE_DATE_DOCUMENTED = 309, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MARKET_VALUE_MANUAL")] - REAL_ESTATE_MARKET_VALUE_MANUAL = 304, + REAL_ESTATE_MARKET_VALUE_MANUAL = 310, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MARKET_VALUE_CALCULATED")] - REAL_ESTATE_MARKET_VALUE_CALCULATED = 305, + REAL_ESTATE_MARKET_VALUE_CALCULATED = 311, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_USE_VALUE_MARKET")] - REAL_ESTATE_USE_VALUE_MARKET = 306, + REAL_ESTATE_USE_VALUE_MARKET = 312, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DWELLING_TYPE")] - REAL_ESTATE_DWELLING_TYPE = 307, + REAL_ESTATE_DWELLING_TYPE = 313, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_TYPE")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_TYPE = 314, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_NAME")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_NAME = 315, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_ORG_NO")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_ORG_NO = 316, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_SHARE_NO")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_SHARE_NO = 317, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE")] - REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE = 308, + REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE = 318, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_CONSTRUCTION_YEAR")] - REAL_ESTATE_CONSTRUCTION_YEAR = 309, + REAL_ESTATE_CONSTRUCTION_YEAR = 319, - [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SELF_OWNED_DWELLING_CALCULATED_MARKET_VALUE")] - REAL_ESTATE_SELF_OWNED_DWELLING_CALCULATED_MARKET_VALUE = 310, + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SELF_OWNED_OR_COOPERATIVE_DWELLING_CALCULATED_MARKET_VALUE")] + REAL_ESTATE_SELF_OWNED_OR_COOPERATIVE_DWELLING_CALCULATED_MARKET_VALUE = 320, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_AREA_TOTAL")] - REAL_ESTATE_RENTAL_AREA_TOTAL = 311, + REAL_ESTATE_RENTAL_AREA_TOTAL = 321, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_PERIOD_MONTHS")] - REAL_ESTATE_RENTAL_PERIOD_MONTHS = 312, + REAL_ESTATE_RENTAL_PERIOD_MONTHS = 322, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED")] - REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED = 313, + REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED = 323, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR")] - REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR = 314, + REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR = 324, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO")] - REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO = 315, + REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO = 325, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_ASSET_VALUE_BASE")] - REAL_ESTATE_RENTAL_ASSET_VALUE_BASE = 316, + REAL_ESTATE_RENTAL_ASSET_VALUE_BASE = 326, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_INCOME")] - REAL_ESTATE_RENTAL_GROSS_INCOME = 317, + REAL_ESTATE_RENTAL_GROSS_INCOME = 327, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL")] - REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL = 318, + REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL = 328, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_YEARLY_MANUAL = 319, + REAL_ESTATE_EXPENSES_YEARLY_MANUAL = 329, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL = 320, + REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL = 330, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL = 321, + REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL = 331, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_ROW_ID")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_ROW_ID = 332, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_NO")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_NO = 333, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_AREA")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_AREA = 334, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_CONSTRUCTION_YEAR")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_CONSTRUCTION_YEAR = 335, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_VALUE")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_VALUE = 336, [System.Runtime.Serialization.EnumMember(Value = @"YEARLY_DIVIDEND")] - YEARLY_DIVIDEND = 322, + YEARLY_DIVIDEND = 337, + + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_CREDIT")] + DIVIDEND_CREDIT = 338, + + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_SECURITY_OFFERED")] + DIVIDEND_SECURITY_OFFERED = 339, + + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_DISPOSITIONS")] + DIVIDEND_DISPOSITIONS = 340, } @@ -128810,11 +130992,11 @@ public enum InventoriesDetailsClosingBalancePostType [System.Runtime.Serialization.EnumMember(Value = @"TOTAL_WITHDRAWAL_COST_FOR_ENTERTAINMENT")] TOTAL_WITHDRAWAL_COST_FOR_ENTERTAINMENT = 69, - [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_CREDITSALES")] - OPENING_BALANCE_CREDITSALES = 70, + [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_CREDIT_SALES")] + OPENING_BALANCE_CREDIT_SALES = 70, - [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_CREDITSALES")] - CLOSING_BALANCE_CREDITSALES = 71, + [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_CREDIT_SALES")] + CLOSING_BALANCE_CREDIT_SALES = 71, [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_WRITE_DOWN_NEW_COMPANY")] OPENING_BALANCE_WRITE_DOWN_NEW_COMPANY = 72, @@ -128822,11 +131004,11 @@ public enum InventoriesDetailsClosingBalancePostType [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_WRITE_DOWN_NEW_COMPANY")] CLOSING_BALANCE_WRITE_DOWN_NEW_COMPANY = 73, - [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS")] - OPENING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS = 74, + [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS")] + OPENING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS = 74, - [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS")] - CLOSING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS = 75, + [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS")] + CLOSING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS = 75, [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_PRODUCT_UNDER_MANUFACTURING")] OPENING_BALANCE_PRODUCT_UNDER_MANUFACTURING = 76, @@ -128921,14 +131103,14 @@ public enum InventoriesDetailsClosingBalancePostType [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS")] ACCOUNTING_LOSS = 106, - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_NORWEAGIAN_SDF")] - ACCOUNTING_DEFICIT_NORWEAGIAN_SDF = 107, + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_NORWEGIAN_SDF")] + ACCOUNTING_DEFICIT_NORWEGIAN_SDF = 107, [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_FOREIGN_SDF")] ACCOUNTING_DEFICIT_FOREIGN_SDF = 108, - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_NORWEAGIAN_SDF")] - ACCOUNTING_LOSS_NORWEAGIAN_SDF = 109, + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_NORWEGIAN_SDF")] + ACCOUNTING_LOSS_NORWEGIAN_SDF = 109, [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_FOREIGN_SDF")] ACCOUNTING_LOSS_FOREIGN_SDF = 110, @@ -129002,11 +131184,11 @@ public enum InventoriesDetailsClosingBalancePostType [System.Runtime.Serialization.EnumMember(Value = @"SHARE_OF_DEDUCTIBLE_DEFICIT_FOREIGN_SDF")] SHARE_OF_DEDUCTIBLE_DEFICIT_FOREIGN_SDF = 133, - [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIXATION_NORWEGIAN_SDF")] - DEDUCTIBLE_LOSS_ON_REALIXATION_NORWEGIAN_SDF = 134, + [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIZATION_NORWEGIAN_SDF")] + DEDUCTIBLE_LOSS_ON_REALIZATION_NORWEGIAN_SDF = 134, - [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIXATION_FOREIGN_SDF")] - DEDUCTIBLE_LOSS_ON_REALIXATION_FOREIGN_SDF = 135, + [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIZATION_FOREIGN_SDF")] + DEDUCTIBLE_LOSS_ON_REALIZATION_FOREIGN_SDF = 135, [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_WITHDRAWAL_NORWEGIAN_TAX_AREA")] DEDUCTIBLE_LOSS_ON_WITHDRAWAL_NORWEGIAN_TAX_AREA = 136, @@ -129074,14 +131256,14 @@ public enum InventoriesDetailsClosingBalancePostType [System.Runtime.Serialization.EnumMember(Value = @"OWN_BUSINESS_PROPERTIES")] OWN_BUSINESS_PROPERTIES = 157, - [System.Runtime.Serialization.EnumMember(Value = @"OWN_ASSET_PAPIR")] - OWN_ASSET_PAPIR = 158, + [System.Runtime.Serialization.EnumMember(Value = @"OWN_ASSET_PAPER")] + OWN_ASSET_PAPER = 158, - [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERED_BY")] - TRANSFERED_BY = 159, + [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERRED_BY")] + TRANSFERRED_BY = 159, - [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERED_DATE")] - TRANSFERED_DATE = 160, + [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERRED_DATE")] + TRANSFERRED_DATE = 160, [System.Runtime.Serialization.EnumMember(Value = @"SET_ACCOUNTANT_REVISED")] SET_ACCOUNTANT_REVISED = 161, @@ -129089,8 +131271,8 @@ public enum InventoriesDetailsClosingBalancePostType [System.Runtime.Serialization.EnumMember(Value = @"IS_TAXABLE")] IS_TAXABLE = 162, - [System.Runtime.Serialization.EnumMember(Value = @"REQUIRE_AUDITORS_SIGNATURE")] - REQUIRE_AUDITORS_SIGNATURE = 163, + [System.Runtime.Serialization.EnumMember(Value = @"AUDITING_OBLIGATION")] + AUDITING_OBLIGATION = 163, [System.Runtime.Serialization.EnumMember(Value = @"VALIDATION_ONLY_ON_SUBMIT")] VALIDATION_ONLY_ON_SUBMIT = 164, @@ -129107,8 +131289,8 @@ public enum InventoriesDetailsClosingBalancePostType [System.Runtime.Serialization.EnumMember(Value = @"PARENT_COMPANY")] PARENT_COMPANY = 168, - [System.Runtime.Serialization.EnumMember(Value = @"SMALL_ENTERPRICES")] - SMALL_ENTERPRICES = 169, + [System.Runtime.Serialization.EnumMember(Value = @"SMALL_ENTERPRISES")] + SMALL_ENTERPRISES = 169, [System.Runtime.Serialization.EnumMember(Value = @"PREPARED_BY_AUTHORIZED_ACCOUNTANT")] PREPARED_BY_AUTHORIZED_ACCOUNTANT = 170, @@ -129125,449 +131307,503 @@ public enum InventoriesDetailsClosingBalancePostType [System.Runtime.Serialization.EnumMember(Value = @"SHOW_RESULT_AND_BALANCE_PREVIOUS_YEAR")] SHOW_RESULT_AND_BALANCE_PREVIOUS_YEAR = 174, + [System.Runtime.Serialization.EnumMember(Value = @"DATE_START")] + DATE_START = 175, + + [System.Runtime.Serialization.EnumMember(Value = @"DATE_END")] + DATE_END = 176, + + [System.Runtime.Serialization.EnumMember(Value = @"INCLUDE_PREVIOUS_YEAR_IN_RESULT")] + INCLUDE_PREVIOUS_YEAR_IN_RESULT = 177, + + [System.Runtime.Serialization.EnumMember(Value = @"DISTRIBUTE_INCOME_MODULE_INDUSTRY")] + DISTRIBUTE_INCOME_MODULE_INDUSTRY = 178, + [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_BRREG_DOC_ID")] - YEAR_END_BRREG_DOC_ID = 175, + YEAR_END_BRREG_DOC_ID = 179, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_BRREG_DOC_FETCHER_NAME")] - YEAR_END_BRREG_DOC_FETCHER_NAME = 176, + YEAR_END_BRREG_DOC_FETCHER_NAME = 180, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT")] - YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT = 177, + YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT = 181, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT")] - YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT = 178, + YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT = 182, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE")] - YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE = 179, + YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE = 183, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS")] - YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS = 180, + YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS = 184, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_INVENTORIES")] - YEAR_END_DOCUMENTATION_INVENTORIES = 181, + YEAR_END_DOCUMENTATION_INVENTORIES = 185, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS")] - YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS = 182, + YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS = 186, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROFIT_LOSS")] - YEAR_END_DOCUMENTATION_PROFIT_LOSS = 183, + YEAR_END_DOCUMENTATION_PROFIT_LOSS = 187, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_BALANCE")] - YEAR_END_DOCUMENTATION_BALANCE = 184, + YEAR_END_DOCUMENTATION_BALANCE = 188, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PERSONAL_INCOME")] - YEAR_END_DOCUMENTATION_PERSONAL_INCOME = 185, + YEAR_END_DOCUMENTATION_PERSONAL_INCOME = 189, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES")] - YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES = 186, + YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES = 190, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES")] - YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES = 187, + YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES = 191, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT")] - YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT = 188, + YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT = 192, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS")] - YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS = 189, + YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS = 193, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION")] - YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION = 190, + YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION = 194, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_RETURN")] - YEAR_END_DOCUMENTATION_TAX_RETURN = 191, + YEAR_END_DOCUMENTATION_TAX_RETURN = 195, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_DIVIDEND")] - YEAR_END_DOCUMENTATION_DIVIDEND = 192, + YEAR_END_DOCUMENTATION_DIVIDEND = 196, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_DISPOSITIONS")] - YEAR_END_DOCUMENTATION_DISPOSITIONS = 193, + YEAR_END_DOCUMENTATION_DISPOSITIONS = 197, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROPERTIES")] - YEAR_END_DOCUMENTATION_PROPERTIES = 194, + YEAR_END_DOCUMENTATION_PROPERTIES = 198, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_SECURITIES")] - YEAR_END_DOCUMENTATION_SECURITIES = 195, + YEAR_END_DOCUMENTATION_SECURITIES = 199, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_CALCULATION")] - YEAR_END_DOCUMENTATION_TAX_CALCULATION = 196, + YEAR_END_DOCUMENTATION_TAX_CALCULATION = 200, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_AUDIT_REPORT")] - YEAR_END_DOCUMENTATION_AUDIT_REPORT = 197, + YEAR_END_DOCUMENTATION_AUDIT_REPORT = 201, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ANNUAL_REPORT")] - YEAR_END_DOCUMENTATION_ANNUAL_REPORT = 198, + YEAR_END_DOCUMENTATION_ANNUAL_REPORT = 202, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT")] - YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT = 199, + YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT = 203, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS")] - YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS = 200, + YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS = 204, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVER_ORG_NR")] - RECEIVER_ORG_NR = 201, + RECEIVER_ORG_NR = 205, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVER_NAME")] - RECEIVER_NAME = 202, + RECEIVER_NAME = 206, [System.Runtime.Serialization.EnumMember(Value = @"CONCERN_CONNECTION")] - CONCERN_CONNECTION = 203, + CONCERN_CONNECTION = 207, [System.Runtime.Serialization.EnumMember(Value = @"VOTING_LIMIT")] - VOTING_LIMIT = 204, + VOTING_LIMIT = 208, [System.Runtime.Serialization.EnumMember(Value = @"DATE_OF_ACQUISITION")] - DATE_OF_ACQUISITION = 205, + DATE_OF_ACQUISITION = 209, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION")] - RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 206, + RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 210, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION")] - RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 207, + RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 211, [System.Runtime.Serialization.EnumMember(Value = @"SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION")] - SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 208, + SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 212, [System.Runtime.Serialization.EnumMember(Value = @"SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION")] - SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 209, + SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 213, [System.Runtime.Serialization.EnumMember(Value = @"APPLICATION_OF_LOSS_CARRY_FORWARDS")] - APPLICATION_OF_LOSS_CARRY_FORWARDS = 210, + APPLICATION_OF_LOSS_CARRY_FORWARDS = 214, [System.Runtime.Serialization.EnumMember(Value = @"ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS")] - ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS = 211, + ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS = 215, [System.Runtime.Serialization.EnumMember(Value = @"CORRECTIONS_AND_OTHER_CAPITAL")] - CORRECTIONS_AND_OTHER_CAPITAL = 212, + CORRECTIONS_AND_OTHER_CAPITAL = 216, [System.Runtime.Serialization.EnumMember(Value = @"CORRECTIONS_AND_OTHER_DEBT")] - CORRECTIONS_AND_OTHER_DEBT = 213, + CORRECTIONS_AND_OTHER_DEBT = 217, [System.Runtime.Serialization.EnumMember(Value = @"NUMBER_OF_SHARES")] - NUMBER_OF_SHARES = 214, + NUMBER_OF_SHARES = 218, [System.Runtime.Serialization.EnumMember(Value = @"IS_PART_OF_GROUP_COMPANY")] - IS_PART_OF_GROUP_COMPANY = 215, + IS_PART_OF_GROUP_COMPANY = 219, [System.Runtime.Serialization.EnumMember(Value = @"IS_LISTED_ON_THE_STOCK_EXCHANGE")] - IS_LISTED_ON_THE_STOCK_EXCHANGE = 216, + IS_LISTED_ON_THE_STOCK_EXCHANGE = 220, [System.Runtime.Serialization.EnumMember(Value = @"IS_REORGANIZED_ACROSS_BORDERS")] - IS_REORGANIZED_ACROSS_BORDERS = 217, + IS_REORGANIZED_ACROSS_BORDERS = 221, - [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OR_TRANSFERED_ASSETS")] - HAS_RECEIVED_OR_TRANSFERED_ASSETS = 218, + [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OR_TRANSFERRED_ASSETS")] + HAS_RECEIVED_OR_TRANSFERRED_ASSETS = 222, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_NAME")] - HEAD_OF_GROUP_NAME = 219, + HEAD_OF_GROUP_NAME = 223, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_COUNTRY_CODE")] - HEAD_OF_GROUP_COUNTRY_CODE = 220, + HEAD_OF_GROUP_COUNTRY_CODE = 224, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_LAST_YEAR_NAME")] - HEAD_OF_GROUP_LAST_YEAR_NAME = 221, + HEAD_OF_GROUP_LAST_YEAR_NAME = 225, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE")] - HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE = 222, + HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE = 226, [System.Runtime.Serialization.EnumMember(Value = @"FOREIGN_OWNERSHIP_COMPANY_NAME")] - FOREIGN_OWNERSHIP_COMPANY_NAME = 223, + FOREIGN_OWNERSHIP_COMPANY_NAME = 227, [System.Runtime.Serialization.EnumMember(Value = @"FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE")] - FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE = 224, + FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE = 228, [System.Runtime.Serialization.EnumMember(Value = @"OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY")] - OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY = 225, + OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY = 229, [System.Runtime.Serialization.EnumMember(Value = @"HAS_PERMANENT_ESTABLISHMENT_ABROAD")] - HAS_PERMANENT_ESTABLISHMENT_ABROAD = 226, + HAS_PERMANENT_ESTABLISHMENT_ABROAD = 230, [System.Runtime.Serialization.EnumMember(Value = @"COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME")] - COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME = 227, + COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME = 231, [System.Runtime.Serialization.EnumMember(Value = @"COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE")] - COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE = 228, + COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE = 232, [System.Runtime.Serialization.EnumMember(Value = @"HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER")] - HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER = 229, + HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER = 233, [System.Runtime.Serialization.EnumMember(Value = @"HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID")] - HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID = 230, + HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID = 234, [System.Runtime.Serialization.EnumMember(Value = @"IS_SMALL_OR_MEDIUM_SIZED_BUSINESS")] - IS_SMALL_OR_MEDIUM_SIZED_BUSINESS = 231, + IS_SMALL_OR_MEDIUM_SIZED_BUSINESS = 235, [System.Runtime.Serialization.EnumMember(Value = @"HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR")] - HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR = 232, + HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR = 236, [System.Runtime.Serialization.EnumMember(Value = @"IS_GROUP_COMPANY")] - IS_GROUP_COMPANY = 233, + IS_GROUP_COMPANY = 237, [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OTHER_PUBLIC_SUPPORT")] - HAS_RECEIVED_OTHER_PUBLIC_SUPPORT = 234, + HAS_RECEIVED_OTHER_PUBLIC_SUPPORT = 238, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_TONNAGE_TAX_REGIME")] - AID_SCHEME_TONNAGE_TAX_REGIME = 235, + AID_SCHEME_TONNAGE_TAX_REGIME = 239, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS")] - AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS = 236, + AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS = 240, - [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FOR_LONGTERM_INVESTMENTS")] - AID_SCHEME_FOR_LONGTERM_INVESTMENTS = 237, + [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FOR_LONG_TERM_INVESTMENTS")] + AID_SCHEME_FOR_LONG_TERM_INVESTMENTS = 241, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP")] - AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP = 238, + AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP = 242, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_TAX_FUN")] - AID_SCHEME_TAX_FUN = 239, + AID_SCHEME_TAX_FUN = 243, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES")] - AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES = 240, + AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES = 244, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS")] - AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS = 241, + AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS = 245, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES")] - AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES = 242, + AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES = 246, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS = 243, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS = 247, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS")] - AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS = 244, + AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS = 248, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES = 245, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES = 249, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS = 246, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS = 250, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR = 247, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR = 251, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING = 248, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING = 252, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE = 249, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE = 253, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES = 250, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES = 254, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS = 251, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS = 255, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS = 252, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS = 256, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY")] - AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY = 253, + AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY = 257, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY")] - AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY = 254, + AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY = 258, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL")] - AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL = 255, + AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL = 259, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_CO2_TAX_GAS")] - AID_SCHEME_EXEMPTION_CO2_TAX_GAS = 256, + AID_SCHEME_EXEMPTION_CO2_TAX_GAS = 260, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_NOX_DUTY")] - AID_SCHEME_EXEMPTION_NOX_DUTY = 257, + AID_SCHEME_EXEMPTION_NOX_DUTY = 261, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_TRANSFER_FEE")] - AID_SCHEME_EXEMPTION_TRANSFER_FEE = 258, + AID_SCHEME_EXEMPTION_TRANSFER_FEE = 262, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX")] - AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX = 259, + AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX = 263, [System.Runtime.Serialization.EnumMember(Value = @"OTHER_CORRECTIONS")] - OTHER_CORRECTIONS = 260, + OTHER_CORRECTIONS = 264, [System.Runtime.Serialization.EnumMember(Value = @"DEFERRED_TAX_ASSETS_IN_BALANCE")] - DEFERRED_TAX_ASSETS_IN_BALANCE = 261, + DEFERRED_TAX_ASSETS_IN_BALANCE = 265, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_NAME")] - SHARES_AND_SECURITIES_NAME = 262, + SHARES_AND_SECURITIES_NAME = 266, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_STOCK_TYPE")] - SHARES_AND_SECURITIES_STOCK_TYPE = 263, + SHARES_AND_SECURITIES_STOCK_TYPE = 267, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_VAT_NUMBER")] - SHARES_AND_SECURITIES_VAT_NUMBER = 264, + SHARES_AND_SECURITIES_VAT_NUMBER = 268, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_ISIN")] - SHARES_AND_SECURITIES_ISIN = 265, + SHARES_AND_SECURITIES_ISIN = 269, - [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_COUNTRY")] - SHARES_AND_SECURITIES_COUNTRY = 266, + [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_COUNTRY_CODE")] + SHARES_AND_SECURITIES_COUNTRY_CODE = 270, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARE_CLASS")] - SHARES_AND_SECURITIES_SHARE_CLASS = 267, + SHARES_AND_SECURITIES_SHARE_CLASS = 271, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR")] - SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR = 268, + SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR = 272, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR")] - SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR = 269, + SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR = 273, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_VALUE")] - SHARES_AND_SECURITIES_VALUE = 270, + SHARES_AND_SECURITIES_VALUE = 274, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_TOTAL_VALUE")] - SHARES_AND_SECURITIES_TOTAL_VALUE = 271, + SHARES_AND_SECURITIES_TOTAL_VALUE = 275, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_DIVIDEND")] - SHARES_AND_SECURITIES_DIVIDEND = 272, + SHARES_AND_SECURITIES_DIVIDEND = 276, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_INTEREST_INCOME")] - SHARES_AND_SECURITIES_INTEREST_INCOME = 273, + SHARES_AND_SECURITIES_INTEREST_INCOME = 277, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_PROFIT_REALISATION")] - SHARES_AND_SECURITIES_PROFIT_REALISATION = 274, + SHARES_AND_SECURITIES_PROFIT_REALISATION = 278, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_LOSS_REALISATION")] - SHARES_AND_SECURITIES_LOSS_REALISATION = 275, + SHARES_AND_SECURITIES_LOSS_REALISATION = 279, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_PROFIT_INTEREST")] - SHARES_AND_SECURITIES_PROFIT_INTEREST = 276, + SHARES_AND_SECURITIES_PROFIT_INTEREST = 280, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_LOSS_INTEREST")] - SHARES_AND_SECURITIES_LOSS_INTEREST = 277, + SHARES_AND_SECURITIES_LOSS_INTEREST = 281, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_EXEMPTION_METHOD")] - SHARES_AND_SECURITIES_EXEMPTION_METHOD = 278, + SHARES_AND_SECURITIES_EXEMPTION_METHOD = 282, + + [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_FINANCIAL_PRODUCT")] + SHARES_AND_SECURITIES_FINANCIAL_PRODUCT = 283, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_TYPE")] - REAL_ESTATE_TYPE = 279, + REAL_ESTATE_TYPE = 284, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DESCRIPTION")] - REAL_ESTATE_DESCRIPTION = 280, + REAL_ESTATE_DESCRIPTION = 285, [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_PROPERTY_TYPE")] - COMMERCIAL_PROPERTY_TYPE = 281, + COMMERCIAL_PROPERTY_TYPE = 286, [System.Runtime.Serialization.EnumMember(Value = @"SHARE_OF_ASSET_VALUE")] - SHARE_OF_ASSET_VALUE = 282, + SHARE_OF_ASSET_VALUE = 287, [System.Runtime.Serialization.EnumMember(Value = @"INTERNAL_PROPERTY_IDENTIFIER")] - INTERNAL_PROPERTY_IDENTIFIER = 283, + INTERNAL_PROPERTY_IDENTIFIER = 288, [System.Runtime.Serialization.EnumMember(Value = @"ASSET_VALUE_FOR_ASSET_SHARE")] - ASSET_VALUE_FOR_ASSET_SHARE = 284, + ASSET_VALUE_FOR_ASSET_SHARE = 289, [System.Runtime.Serialization.EnumMember(Value = @"VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE")] - VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE = 285, + VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE = 290, [System.Runtime.Serialization.EnumMember(Value = @"TOTAL_AREA")] - TOTAL_AREA = 286, + TOTAL_AREA = 291, [System.Runtime.Serialization.EnumMember(Value = @"CALCULATED_RENTAL_VALUE")] - CALCULATED_RENTAL_VALUE = 287, + CALCULATED_RENTAL_VALUE = 292, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SERG_NO")] - REAL_ESTATE_SERG_NO = 288, + REAL_ESTATE_SERG_NO = 293, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ADDRESS")] - REAL_ESTATE_ADDRESS = 289, + REAL_ESTATE_ADDRESS = 294, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ZIP_CODE")] - REAL_ESTATE_ZIP_CODE = 290, + REAL_ESTATE_ZIP_CODE = 295, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_POSTAL_PLACE_NAME")] - REAL_ESTATE_POSTAL_PLACE_NAME = 291, + REAL_ESTATE_POSTAL_PLACE_NAME = 296, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_COUNTRY_CODE")] + REAL_ESTATE_COUNTRY_CODE = 297, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MUNICIPALITY_NO")] - REAL_ESTATE_MUNICIPALITY_NO = 292, + REAL_ESTATE_MUNICIPALITY_NO = 298, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MUNICIPALITY_NAME")] - REAL_ESTATE_MUNICIPALITY_NAME = 293, + REAL_ESTATE_MUNICIPALITY_NAME = 299, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_CADASTRAL_UNIT_NO")] - REAL_ESTATE_CADASTRAL_UNIT_NO = 294, + REAL_ESTATE_CADASTRAL_UNIT_NO = 300, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PROPERTY_UNIT_NO")] - REAL_ESTATE_PROPERTY_UNIT_NO = 295, + REAL_ESTATE_PROPERTY_UNIT_NO = 301, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_LEASEHOLD_NO")] - REAL_ESTATE_LEASEHOLD_NO = 296, + REAL_ESTATE_LEASEHOLD_NO = 302, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SECTION_NO")] - REAL_ESTATE_SECTION_NO = 297, + REAL_ESTATE_SECTION_NO = 303, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE")] - REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE = 298, + REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE = 304, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PREV_YEAR_ASSET_VALUE")] - REAL_ESTATE_PREV_YEAR_ASSET_VALUE = 299, + REAL_ESTATE_PREV_YEAR_ASSET_VALUE = 305, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_YEARLY")] - REAL_ESTATE_EXPENSES_YEARLY = 300, + REAL_ESTATE_EXPENSES_YEARLY = 306, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY")] - REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY = 301, + REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY = 307, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY")] - REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY = 302, + REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY = 308, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DATE_DOCUMENTED")] - REAL_ESTATE_DATE_DOCUMENTED = 303, + REAL_ESTATE_DATE_DOCUMENTED = 309, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MARKET_VALUE_MANUAL")] - REAL_ESTATE_MARKET_VALUE_MANUAL = 304, + REAL_ESTATE_MARKET_VALUE_MANUAL = 310, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MARKET_VALUE_CALCULATED")] - REAL_ESTATE_MARKET_VALUE_CALCULATED = 305, + REAL_ESTATE_MARKET_VALUE_CALCULATED = 311, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_USE_VALUE_MARKET")] - REAL_ESTATE_USE_VALUE_MARKET = 306, + REAL_ESTATE_USE_VALUE_MARKET = 312, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DWELLING_TYPE")] - REAL_ESTATE_DWELLING_TYPE = 307, + REAL_ESTATE_DWELLING_TYPE = 313, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_TYPE")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_TYPE = 314, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_NAME")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_NAME = 315, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_ORG_NO")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_ORG_NO = 316, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_SHARE_NO")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_SHARE_NO = 317, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE")] - REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE = 308, + REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE = 318, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_CONSTRUCTION_YEAR")] - REAL_ESTATE_CONSTRUCTION_YEAR = 309, + REAL_ESTATE_CONSTRUCTION_YEAR = 319, - [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SELF_OWNED_DWELLING_CALCULATED_MARKET_VALUE")] - REAL_ESTATE_SELF_OWNED_DWELLING_CALCULATED_MARKET_VALUE = 310, + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SELF_OWNED_OR_COOPERATIVE_DWELLING_CALCULATED_MARKET_VALUE")] + REAL_ESTATE_SELF_OWNED_OR_COOPERATIVE_DWELLING_CALCULATED_MARKET_VALUE = 320, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_AREA_TOTAL")] - REAL_ESTATE_RENTAL_AREA_TOTAL = 311, + REAL_ESTATE_RENTAL_AREA_TOTAL = 321, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_PERIOD_MONTHS")] - REAL_ESTATE_RENTAL_PERIOD_MONTHS = 312, + REAL_ESTATE_RENTAL_PERIOD_MONTHS = 322, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED")] - REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED = 313, + REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED = 323, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR")] - REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR = 314, + REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR = 324, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO")] - REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO = 315, + REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO = 325, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_ASSET_VALUE_BASE")] - REAL_ESTATE_RENTAL_ASSET_VALUE_BASE = 316, + REAL_ESTATE_RENTAL_ASSET_VALUE_BASE = 326, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_INCOME")] - REAL_ESTATE_RENTAL_GROSS_INCOME = 317, + REAL_ESTATE_RENTAL_GROSS_INCOME = 327, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL")] - REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL = 318, + REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL = 328, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_YEARLY_MANUAL = 319, + REAL_ESTATE_EXPENSES_YEARLY_MANUAL = 329, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL = 320, + REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL = 330, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL = 321, + REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL = 331, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_ROW_ID")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_ROW_ID = 332, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_NO")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_NO = 333, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_AREA")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_AREA = 334, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_CONSTRUCTION_YEAR")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_CONSTRUCTION_YEAR = 335, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_VALUE")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_VALUE = 336, [System.Runtime.Serialization.EnumMember(Value = @"YEARLY_DIVIDEND")] - YEARLY_DIVIDEND = 322, + YEARLY_DIVIDEND = 337, + + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_CREDIT")] + DIVIDEND_CREDIT = 338, + + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_SECURITY_OFFERED")] + DIVIDEND_SECURITY_OFFERED = 339, + + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_DISPOSITIONS")] + DIVIDEND_DISPOSITIONS = 340, } @@ -129785,11 +132021,11 @@ public enum ChangeOfEquityPostType [System.Runtime.Serialization.EnumMember(Value = @"TOTAL_WITHDRAWAL_COST_FOR_ENTERTAINMENT")] TOTAL_WITHDRAWAL_COST_FOR_ENTERTAINMENT = 69, - [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_CREDITSALES")] - OPENING_BALANCE_CREDITSALES = 70, + [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_CREDIT_SALES")] + OPENING_BALANCE_CREDIT_SALES = 70, - [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_CREDITSALES")] - CLOSING_BALANCE_CREDITSALES = 71, + [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_CREDIT_SALES")] + CLOSING_BALANCE_CREDIT_SALES = 71, [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_WRITE_DOWN_NEW_COMPANY")] OPENING_BALANCE_WRITE_DOWN_NEW_COMPANY = 72, @@ -129797,11 +132033,11 @@ public enum ChangeOfEquityPostType [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_WRITE_DOWN_NEW_COMPANY")] CLOSING_BALANCE_WRITE_DOWN_NEW_COMPANY = 73, - [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS")] - OPENING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS = 74, + [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS")] + OPENING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS = 74, - [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS")] - CLOSING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS = 75, + [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS")] + CLOSING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS = 75, [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_PRODUCT_UNDER_MANUFACTURING")] OPENING_BALANCE_PRODUCT_UNDER_MANUFACTURING = 76, @@ -129896,14 +132132,14 @@ public enum ChangeOfEquityPostType [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS")] ACCOUNTING_LOSS = 106, - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_NORWEAGIAN_SDF")] - ACCOUNTING_DEFICIT_NORWEAGIAN_SDF = 107, + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_NORWEGIAN_SDF")] + ACCOUNTING_DEFICIT_NORWEGIAN_SDF = 107, [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_FOREIGN_SDF")] ACCOUNTING_DEFICIT_FOREIGN_SDF = 108, - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_NORWEAGIAN_SDF")] - ACCOUNTING_LOSS_NORWEAGIAN_SDF = 109, + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_NORWEGIAN_SDF")] + ACCOUNTING_LOSS_NORWEGIAN_SDF = 109, [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_FOREIGN_SDF")] ACCOUNTING_LOSS_FOREIGN_SDF = 110, @@ -129977,11 +132213,11 @@ public enum ChangeOfEquityPostType [System.Runtime.Serialization.EnumMember(Value = @"SHARE_OF_DEDUCTIBLE_DEFICIT_FOREIGN_SDF")] SHARE_OF_DEDUCTIBLE_DEFICIT_FOREIGN_SDF = 133, - [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIXATION_NORWEGIAN_SDF")] - DEDUCTIBLE_LOSS_ON_REALIXATION_NORWEGIAN_SDF = 134, + [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIZATION_NORWEGIAN_SDF")] + DEDUCTIBLE_LOSS_ON_REALIZATION_NORWEGIAN_SDF = 134, - [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIXATION_FOREIGN_SDF")] - DEDUCTIBLE_LOSS_ON_REALIXATION_FOREIGN_SDF = 135, + [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIZATION_FOREIGN_SDF")] + DEDUCTIBLE_LOSS_ON_REALIZATION_FOREIGN_SDF = 135, [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_WITHDRAWAL_NORWEGIAN_TAX_AREA")] DEDUCTIBLE_LOSS_ON_WITHDRAWAL_NORWEGIAN_TAX_AREA = 136, @@ -130049,14 +132285,14 @@ public enum ChangeOfEquityPostType [System.Runtime.Serialization.EnumMember(Value = @"OWN_BUSINESS_PROPERTIES")] OWN_BUSINESS_PROPERTIES = 157, - [System.Runtime.Serialization.EnumMember(Value = @"OWN_ASSET_PAPIR")] - OWN_ASSET_PAPIR = 158, + [System.Runtime.Serialization.EnumMember(Value = @"OWN_ASSET_PAPER")] + OWN_ASSET_PAPER = 158, - [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERED_BY")] - TRANSFERED_BY = 159, + [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERRED_BY")] + TRANSFERRED_BY = 159, - [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERED_DATE")] - TRANSFERED_DATE = 160, + [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERRED_DATE")] + TRANSFERRED_DATE = 160, [System.Runtime.Serialization.EnumMember(Value = @"SET_ACCOUNTANT_REVISED")] SET_ACCOUNTANT_REVISED = 161, @@ -130064,8 +132300,8 @@ public enum ChangeOfEquityPostType [System.Runtime.Serialization.EnumMember(Value = @"IS_TAXABLE")] IS_TAXABLE = 162, - [System.Runtime.Serialization.EnumMember(Value = @"REQUIRE_AUDITORS_SIGNATURE")] - REQUIRE_AUDITORS_SIGNATURE = 163, + [System.Runtime.Serialization.EnumMember(Value = @"AUDITING_OBLIGATION")] + AUDITING_OBLIGATION = 163, [System.Runtime.Serialization.EnumMember(Value = @"VALIDATION_ONLY_ON_SUBMIT")] VALIDATION_ONLY_ON_SUBMIT = 164, @@ -130082,8 +132318,8 @@ public enum ChangeOfEquityPostType [System.Runtime.Serialization.EnumMember(Value = @"PARENT_COMPANY")] PARENT_COMPANY = 168, - [System.Runtime.Serialization.EnumMember(Value = @"SMALL_ENTERPRICES")] - SMALL_ENTERPRICES = 169, + [System.Runtime.Serialization.EnumMember(Value = @"SMALL_ENTERPRISES")] + SMALL_ENTERPRISES = 169, [System.Runtime.Serialization.EnumMember(Value = @"PREPARED_BY_AUTHORIZED_ACCOUNTANT")] PREPARED_BY_AUTHORIZED_ACCOUNTANT = 170, @@ -130100,449 +132336,503 @@ public enum ChangeOfEquityPostType [System.Runtime.Serialization.EnumMember(Value = @"SHOW_RESULT_AND_BALANCE_PREVIOUS_YEAR")] SHOW_RESULT_AND_BALANCE_PREVIOUS_YEAR = 174, + [System.Runtime.Serialization.EnumMember(Value = @"DATE_START")] + DATE_START = 175, + + [System.Runtime.Serialization.EnumMember(Value = @"DATE_END")] + DATE_END = 176, + + [System.Runtime.Serialization.EnumMember(Value = @"INCLUDE_PREVIOUS_YEAR_IN_RESULT")] + INCLUDE_PREVIOUS_YEAR_IN_RESULT = 177, + + [System.Runtime.Serialization.EnumMember(Value = @"DISTRIBUTE_INCOME_MODULE_INDUSTRY")] + DISTRIBUTE_INCOME_MODULE_INDUSTRY = 178, + [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_BRREG_DOC_ID")] - YEAR_END_BRREG_DOC_ID = 175, + YEAR_END_BRREG_DOC_ID = 179, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_BRREG_DOC_FETCHER_NAME")] - YEAR_END_BRREG_DOC_FETCHER_NAME = 176, + YEAR_END_BRREG_DOC_FETCHER_NAME = 180, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT")] - YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT = 177, + YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT = 181, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT")] - YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT = 178, + YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT = 182, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE")] - YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE = 179, + YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE = 183, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS")] - YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS = 180, + YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS = 184, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_INVENTORIES")] - YEAR_END_DOCUMENTATION_INVENTORIES = 181, + YEAR_END_DOCUMENTATION_INVENTORIES = 185, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS")] - YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS = 182, + YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS = 186, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROFIT_LOSS")] - YEAR_END_DOCUMENTATION_PROFIT_LOSS = 183, + YEAR_END_DOCUMENTATION_PROFIT_LOSS = 187, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_BALANCE")] - YEAR_END_DOCUMENTATION_BALANCE = 184, + YEAR_END_DOCUMENTATION_BALANCE = 188, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PERSONAL_INCOME")] - YEAR_END_DOCUMENTATION_PERSONAL_INCOME = 185, + YEAR_END_DOCUMENTATION_PERSONAL_INCOME = 189, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES")] - YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES = 186, + YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES = 190, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES")] - YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES = 187, + YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES = 191, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT")] - YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT = 188, + YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT = 192, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS")] - YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS = 189, + YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS = 193, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION")] - YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION = 190, + YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION = 194, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_RETURN")] - YEAR_END_DOCUMENTATION_TAX_RETURN = 191, + YEAR_END_DOCUMENTATION_TAX_RETURN = 195, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_DIVIDEND")] - YEAR_END_DOCUMENTATION_DIVIDEND = 192, + YEAR_END_DOCUMENTATION_DIVIDEND = 196, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_DISPOSITIONS")] - YEAR_END_DOCUMENTATION_DISPOSITIONS = 193, + YEAR_END_DOCUMENTATION_DISPOSITIONS = 197, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROPERTIES")] - YEAR_END_DOCUMENTATION_PROPERTIES = 194, + YEAR_END_DOCUMENTATION_PROPERTIES = 198, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_SECURITIES")] - YEAR_END_DOCUMENTATION_SECURITIES = 195, + YEAR_END_DOCUMENTATION_SECURITIES = 199, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_CALCULATION")] - YEAR_END_DOCUMENTATION_TAX_CALCULATION = 196, + YEAR_END_DOCUMENTATION_TAX_CALCULATION = 200, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_AUDIT_REPORT")] - YEAR_END_DOCUMENTATION_AUDIT_REPORT = 197, + YEAR_END_DOCUMENTATION_AUDIT_REPORT = 201, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ANNUAL_REPORT")] - YEAR_END_DOCUMENTATION_ANNUAL_REPORT = 198, + YEAR_END_DOCUMENTATION_ANNUAL_REPORT = 202, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT")] - YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT = 199, + YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT = 203, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS")] - YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS = 200, + YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS = 204, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVER_ORG_NR")] - RECEIVER_ORG_NR = 201, + RECEIVER_ORG_NR = 205, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVER_NAME")] - RECEIVER_NAME = 202, + RECEIVER_NAME = 206, [System.Runtime.Serialization.EnumMember(Value = @"CONCERN_CONNECTION")] - CONCERN_CONNECTION = 203, + CONCERN_CONNECTION = 207, [System.Runtime.Serialization.EnumMember(Value = @"VOTING_LIMIT")] - VOTING_LIMIT = 204, + VOTING_LIMIT = 208, [System.Runtime.Serialization.EnumMember(Value = @"DATE_OF_ACQUISITION")] - DATE_OF_ACQUISITION = 205, + DATE_OF_ACQUISITION = 209, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION")] - RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 206, + RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 210, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION")] - RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 207, + RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 211, [System.Runtime.Serialization.EnumMember(Value = @"SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION")] - SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 208, + SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 212, [System.Runtime.Serialization.EnumMember(Value = @"SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION")] - SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 209, + SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 213, [System.Runtime.Serialization.EnumMember(Value = @"APPLICATION_OF_LOSS_CARRY_FORWARDS")] - APPLICATION_OF_LOSS_CARRY_FORWARDS = 210, + APPLICATION_OF_LOSS_CARRY_FORWARDS = 214, [System.Runtime.Serialization.EnumMember(Value = @"ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS")] - ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS = 211, + ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS = 215, [System.Runtime.Serialization.EnumMember(Value = @"CORRECTIONS_AND_OTHER_CAPITAL")] - CORRECTIONS_AND_OTHER_CAPITAL = 212, + CORRECTIONS_AND_OTHER_CAPITAL = 216, [System.Runtime.Serialization.EnumMember(Value = @"CORRECTIONS_AND_OTHER_DEBT")] - CORRECTIONS_AND_OTHER_DEBT = 213, + CORRECTIONS_AND_OTHER_DEBT = 217, [System.Runtime.Serialization.EnumMember(Value = @"NUMBER_OF_SHARES")] - NUMBER_OF_SHARES = 214, + NUMBER_OF_SHARES = 218, [System.Runtime.Serialization.EnumMember(Value = @"IS_PART_OF_GROUP_COMPANY")] - IS_PART_OF_GROUP_COMPANY = 215, + IS_PART_OF_GROUP_COMPANY = 219, [System.Runtime.Serialization.EnumMember(Value = @"IS_LISTED_ON_THE_STOCK_EXCHANGE")] - IS_LISTED_ON_THE_STOCK_EXCHANGE = 216, + IS_LISTED_ON_THE_STOCK_EXCHANGE = 220, [System.Runtime.Serialization.EnumMember(Value = @"IS_REORGANIZED_ACROSS_BORDERS")] - IS_REORGANIZED_ACROSS_BORDERS = 217, + IS_REORGANIZED_ACROSS_BORDERS = 221, - [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OR_TRANSFERED_ASSETS")] - HAS_RECEIVED_OR_TRANSFERED_ASSETS = 218, + [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OR_TRANSFERRED_ASSETS")] + HAS_RECEIVED_OR_TRANSFERRED_ASSETS = 222, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_NAME")] - HEAD_OF_GROUP_NAME = 219, + HEAD_OF_GROUP_NAME = 223, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_COUNTRY_CODE")] - HEAD_OF_GROUP_COUNTRY_CODE = 220, + HEAD_OF_GROUP_COUNTRY_CODE = 224, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_LAST_YEAR_NAME")] - HEAD_OF_GROUP_LAST_YEAR_NAME = 221, + HEAD_OF_GROUP_LAST_YEAR_NAME = 225, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE")] - HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE = 222, + HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE = 226, [System.Runtime.Serialization.EnumMember(Value = @"FOREIGN_OWNERSHIP_COMPANY_NAME")] - FOREIGN_OWNERSHIP_COMPANY_NAME = 223, + FOREIGN_OWNERSHIP_COMPANY_NAME = 227, [System.Runtime.Serialization.EnumMember(Value = @"FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE")] - FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE = 224, + FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE = 228, [System.Runtime.Serialization.EnumMember(Value = @"OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY")] - OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY = 225, + OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY = 229, [System.Runtime.Serialization.EnumMember(Value = @"HAS_PERMANENT_ESTABLISHMENT_ABROAD")] - HAS_PERMANENT_ESTABLISHMENT_ABROAD = 226, + HAS_PERMANENT_ESTABLISHMENT_ABROAD = 230, [System.Runtime.Serialization.EnumMember(Value = @"COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME")] - COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME = 227, + COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME = 231, [System.Runtime.Serialization.EnumMember(Value = @"COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE")] - COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE = 228, + COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE = 232, [System.Runtime.Serialization.EnumMember(Value = @"HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER")] - HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER = 229, + HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER = 233, [System.Runtime.Serialization.EnumMember(Value = @"HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID")] - HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID = 230, + HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID = 234, [System.Runtime.Serialization.EnumMember(Value = @"IS_SMALL_OR_MEDIUM_SIZED_BUSINESS")] - IS_SMALL_OR_MEDIUM_SIZED_BUSINESS = 231, + IS_SMALL_OR_MEDIUM_SIZED_BUSINESS = 235, [System.Runtime.Serialization.EnumMember(Value = @"HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR")] - HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR = 232, + HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR = 236, [System.Runtime.Serialization.EnumMember(Value = @"IS_GROUP_COMPANY")] - IS_GROUP_COMPANY = 233, + IS_GROUP_COMPANY = 237, [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OTHER_PUBLIC_SUPPORT")] - HAS_RECEIVED_OTHER_PUBLIC_SUPPORT = 234, + HAS_RECEIVED_OTHER_PUBLIC_SUPPORT = 238, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_TONNAGE_TAX_REGIME")] - AID_SCHEME_TONNAGE_TAX_REGIME = 235, + AID_SCHEME_TONNAGE_TAX_REGIME = 239, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS")] - AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS = 236, + AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS = 240, - [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FOR_LONGTERM_INVESTMENTS")] - AID_SCHEME_FOR_LONGTERM_INVESTMENTS = 237, + [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FOR_LONG_TERM_INVESTMENTS")] + AID_SCHEME_FOR_LONG_TERM_INVESTMENTS = 241, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP")] - AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP = 238, + AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP = 242, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_TAX_FUN")] - AID_SCHEME_TAX_FUN = 239, + AID_SCHEME_TAX_FUN = 243, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES")] - AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES = 240, + AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES = 244, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS")] - AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS = 241, + AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS = 245, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES")] - AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES = 242, + AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES = 246, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS = 243, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS = 247, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS")] - AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS = 244, + AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS = 248, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES = 245, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES = 249, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS = 246, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS = 250, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR = 247, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR = 251, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING = 248, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING = 252, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE = 249, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE = 253, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES = 250, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES = 254, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS = 251, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS = 255, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS = 252, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS = 256, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY")] - AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY = 253, + AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY = 257, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY")] - AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY = 254, + AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY = 258, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL")] - AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL = 255, + AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL = 259, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_CO2_TAX_GAS")] - AID_SCHEME_EXEMPTION_CO2_TAX_GAS = 256, + AID_SCHEME_EXEMPTION_CO2_TAX_GAS = 260, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_NOX_DUTY")] - AID_SCHEME_EXEMPTION_NOX_DUTY = 257, + AID_SCHEME_EXEMPTION_NOX_DUTY = 261, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_TRANSFER_FEE")] - AID_SCHEME_EXEMPTION_TRANSFER_FEE = 258, + AID_SCHEME_EXEMPTION_TRANSFER_FEE = 262, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX")] - AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX = 259, + AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX = 263, [System.Runtime.Serialization.EnumMember(Value = @"OTHER_CORRECTIONS")] - OTHER_CORRECTIONS = 260, + OTHER_CORRECTIONS = 264, [System.Runtime.Serialization.EnumMember(Value = @"DEFERRED_TAX_ASSETS_IN_BALANCE")] - DEFERRED_TAX_ASSETS_IN_BALANCE = 261, + DEFERRED_TAX_ASSETS_IN_BALANCE = 265, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_NAME")] - SHARES_AND_SECURITIES_NAME = 262, + SHARES_AND_SECURITIES_NAME = 266, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_STOCK_TYPE")] - SHARES_AND_SECURITIES_STOCK_TYPE = 263, + SHARES_AND_SECURITIES_STOCK_TYPE = 267, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_VAT_NUMBER")] - SHARES_AND_SECURITIES_VAT_NUMBER = 264, + SHARES_AND_SECURITIES_VAT_NUMBER = 268, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_ISIN")] - SHARES_AND_SECURITIES_ISIN = 265, + SHARES_AND_SECURITIES_ISIN = 269, - [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_COUNTRY")] - SHARES_AND_SECURITIES_COUNTRY = 266, + [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_COUNTRY_CODE")] + SHARES_AND_SECURITIES_COUNTRY_CODE = 270, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARE_CLASS")] - SHARES_AND_SECURITIES_SHARE_CLASS = 267, + SHARES_AND_SECURITIES_SHARE_CLASS = 271, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR")] - SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR = 268, + SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR = 272, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR")] - SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR = 269, + SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR = 273, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_VALUE")] - SHARES_AND_SECURITIES_VALUE = 270, + SHARES_AND_SECURITIES_VALUE = 274, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_TOTAL_VALUE")] - SHARES_AND_SECURITIES_TOTAL_VALUE = 271, + SHARES_AND_SECURITIES_TOTAL_VALUE = 275, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_DIVIDEND")] - SHARES_AND_SECURITIES_DIVIDEND = 272, + SHARES_AND_SECURITIES_DIVIDEND = 276, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_INTEREST_INCOME")] - SHARES_AND_SECURITIES_INTEREST_INCOME = 273, + SHARES_AND_SECURITIES_INTEREST_INCOME = 277, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_PROFIT_REALISATION")] - SHARES_AND_SECURITIES_PROFIT_REALISATION = 274, + SHARES_AND_SECURITIES_PROFIT_REALISATION = 278, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_LOSS_REALISATION")] - SHARES_AND_SECURITIES_LOSS_REALISATION = 275, + SHARES_AND_SECURITIES_LOSS_REALISATION = 279, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_PROFIT_INTEREST")] - SHARES_AND_SECURITIES_PROFIT_INTEREST = 276, + SHARES_AND_SECURITIES_PROFIT_INTEREST = 280, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_LOSS_INTEREST")] - SHARES_AND_SECURITIES_LOSS_INTEREST = 277, + SHARES_AND_SECURITIES_LOSS_INTEREST = 281, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_EXEMPTION_METHOD")] - SHARES_AND_SECURITIES_EXEMPTION_METHOD = 278, + SHARES_AND_SECURITIES_EXEMPTION_METHOD = 282, + + [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_FINANCIAL_PRODUCT")] + SHARES_AND_SECURITIES_FINANCIAL_PRODUCT = 283, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_TYPE")] - REAL_ESTATE_TYPE = 279, + REAL_ESTATE_TYPE = 284, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DESCRIPTION")] - REAL_ESTATE_DESCRIPTION = 280, + REAL_ESTATE_DESCRIPTION = 285, [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_PROPERTY_TYPE")] - COMMERCIAL_PROPERTY_TYPE = 281, + COMMERCIAL_PROPERTY_TYPE = 286, [System.Runtime.Serialization.EnumMember(Value = @"SHARE_OF_ASSET_VALUE")] - SHARE_OF_ASSET_VALUE = 282, + SHARE_OF_ASSET_VALUE = 287, [System.Runtime.Serialization.EnumMember(Value = @"INTERNAL_PROPERTY_IDENTIFIER")] - INTERNAL_PROPERTY_IDENTIFIER = 283, + INTERNAL_PROPERTY_IDENTIFIER = 288, [System.Runtime.Serialization.EnumMember(Value = @"ASSET_VALUE_FOR_ASSET_SHARE")] - ASSET_VALUE_FOR_ASSET_SHARE = 284, + ASSET_VALUE_FOR_ASSET_SHARE = 289, [System.Runtime.Serialization.EnumMember(Value = @"VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE")] - VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE = 285, + VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE = 290, [System.Runtime.Serialization.EnumMember(Value = @"TOTAL_AREA")] - TOTAL_AREA = 286, + TOTAL_AREA = 291, [System.Runtime.Serialization.EnumMember(Value = @"CALCULATED_RENTAL_VALUE")] - CALCULATED_RENTAL_VALUE = 287, + CALCULATED_RENTAL_VALUE = 292, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SERG_NO")] - REAL_ESTATE_SERG_NO = 288, + REAL_ESTATE_SERG_NO = 293, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ADDRESS")] - REAL_ESTATE_ADDRESS = 289, + REAL_ESTATE_ADDRESS = 294, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ZIP_CODE")] - REAL_ESTATE_ZIP_CODE = 290, + REAL_ESTATE_ZIP_CODE = 295, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_POSTAL_PLACE_NAME")] - REAL_ESTATE_POSTAL_PLACE_NAME = 291, + REAL_ESTATE_POSTAL_PLACE_NAME = 296, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_COUNTRY_CODE")] + REAL_ESTATE_COUNTRY_CODE = 297, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MUNICIPALITY_NO")] - REAL_ESTATE_MUNICIPALITY_NO = 292, + REAL_ESTATE_MUNICIPALITY_NO = 298, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MUNICIPALITY_NAME")] - REAL_ESTATE_MUNICIPALITY_NAME = 293, + REAL_ESTATE_MUNICIPALITY_NAME = 299, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_CADASTRAL_UNIT_NO")] - REAL_ESTATE_CADASTRAL_UNIT_NO = 294, + REAL_ESTATE_CADASTRAL_UNIT_NO = 300, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PROPERTY_UNIT_NO")] - REAL_ESTATE_PROPERTY_UNIT_NO = 295, + REAL_ESTATE_PROPERTY_UNIT_NO = 301, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_LEASEHOLD_NO")] - REAL_ESTATE_LEASEHOLD_NO = 296, + REAL_ESTATE_LEASEHOLD_NO = 302, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SECTION_NO")] - REAL_ESTATE_SECTION_NO = 297, + REAL_ESTATE_SECTION_NO = 303, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE")] - REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE = 298, + REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE = 304, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PREV_YEAR_ASSET_VALUE")] - REAL_ESTATE_PREV_YEAR_ASSET_VALUE = 299, + REAL_ESTATE_PREV_YEAR_ASSET_VALUE = 305, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_YEARLY")] - REAL_ESTATE_EXPENSES_YEARLY = 300, + REAL_ESTATE_EXPENSES_YEARLY = 306, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY")] - REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY = 301, + REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY = 307, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY")] - REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY = 302, + REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY = 308, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DATE_DOCUMENTED")] - REAL_ESTATE_DATE_DOCUMENTED = 303, + REAL_ESTATE_DATE_DOCUMENTED = 309, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MARKET_VALUE_MANUAL")] - REAL_ESTATE_MARKET_VALUE_MANUAL = 304, + REAL_ESTATE_MARKET_VALUE_MANUAL = 310, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MARKET_VALUE_CALCULATED")] - REAL_ESTATE_MARKET_VALUE_CALCULATED = 305, + REAL_ESTATE_MARKET_VALUE_CALCULATED = 311, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_USE_VALUE_MARKET")] - REAL_ESTATE_USE_VALUE_MARKET = 306, + REAL_ESTATE_USE_VALUE_MARKET = 312, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DWELLING_TYPE")] - REAL_ESTATE_DWELLING_TYPE = 307, + REAL_ESTATE_DWELLING_TYPE = 313, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_TYPE")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_TYPE = 314, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_NAME")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_NAME = 315, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_ORG_NO")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_ORG_NO = 316, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_SHARE_NO")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_SHARE_NO = 317, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE")] - REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE = 308, + REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE = 318, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_CONSTRUCTION_YEAR")] - REAL_ESTATE_CONSTRUCTION_YEAR = 309, + REAL_ESTATE_CONSTRUCTION_YEAR = 319, - [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SELF_OWNED_DWELLING_CALCULATED_MARKET_VALUE")] - REAL_ESTATE_SELF_OWNED_DWELLING_CALCULATED_MARKET_VALUE = 310, + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SELF_OWNED_OR_COOPERATIVE_DWELLING_CALCULATED_MARKET_VALUE")] + REAL_ESTATE_SELF_OWNED_OR_COOPERATIVE_DWELLING_CALCULATED_MARKET_VALUE = 320, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_AREA_TOTAL")] - REAL_ESTATE_RENTAL_AREA_TOTAL = 311, + REAL_ESTATE_RENTAL_AREA_TOTAL = 321, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_PERIOD_MONTHS")] - REAL_ESTATE_RENTAL_PERIOD_MONTHS = 312, + REAL_ESTATE_RENTAL_PERIOD_MONTHS = 322, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED")] - REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED = 313, + REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED = 323, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR")] - REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR = 314, + REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR = 324, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO")] - REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO = 315, + REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO = 325, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_ASSET_VALUE_BASE")] - REAL_ESTATE_RENTAL_ASSET_VALUE_BASE = 316, + REAL_ESTATE_RENTAL_ASSET_VALUE_BASE = 326, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_INCOME")] - REAL_ESTATE_RENTAL_GROSS_INCOME = 317, + REAL_ESTATE_RENTAL_GROSS_INCOME = 327, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL")] - REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL = 318, + REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL = 328, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_YEARLY_MANUAL = 319, + REAL_ESTATE_EXPENSES_YEARLY_MANUAL = 329, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL = 320, + REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL = 330, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL = 321, + REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL = 331, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_ROW_ID")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_ROW_ID = 332, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_NO")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_NO = 333, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_AREA")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_AREA = 334, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_CONSTRUCTION_YEAR")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_CONSTRUCTION_YEAR = 335, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_VALUE")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_VALUE = 336, [System.Runtime.Serialization.EnumMember(Value = @"YEARLY_DIVIDEND")] - YEARLY_DIVIDEND = 322, + YEARLY_DIVIDEND = 337, + + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_CREDIT")] + DIVIDEND_CREDIT = 338, + + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_SECURITY_OFFERED")] + DIVIDEND_SECURITY_OFFERED = 339, + + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_DISPOSITIONS")] + DIVIDEND_DISPOSITIONS = 340, } @@ -130760,11 +133050,11 @@ public enum AidSchemePostType [System.Runtime.Serialization.EnumMember(Value = @"TOTAL_WITHDRAWAL_COST_FOR_ENTERTAINMENT")] TOTAL_WITHDRAWAL_COST_FOR_ENTERTAINMENT = 69, - [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_CREDITSALES")] - OPENING_BALANCE_CREDITSALES = 70, + [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_CREDIT_SALES")] + OPENING_BALANCE_CREDIT_SALES = 70, - [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_CREDITSALES")] - CLOSING_BALANCE_CREDITSALES = 71, + [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_CREDIT_SALES")] + CLOSING_BALANCE_CREDIT_SALES = 71, [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_WRITE_DOWN_NEW_COMPANY")] OPENING_BALANCE_WRITE_DOWN_NEW_COMPANY = 72, @@ -130772,11 +133062,11 @@ public enum AidSchemePostType [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_WRITE_DOWN_NEW_COMPANY")] CLOSING_BALANCE_WRITE_DOWN_NEW_COMPANY = 73, - [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS")] - OPENING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS = 74, + [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS")] + OPENING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS = 74, - [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS")] - CLOSING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS = 75, + [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS")] + CLOSING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS = 75, [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_PRODUCT_UNDER_MANUFACTURING")] OPENING_BALANCE_PRODUCT_UNDER_MANUFACTURING = 76, @@ -130871,14 +133161,14 @@ public enum AidSchemePostType [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS")] ACCOUNTING_LOSS = 106, - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_NORWEAGIAN_SDF")] - ACCOUNTING_DEFICIT_NORWEAGIAN_SDF = 107, + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_NORWEGIAN_SDF")] + ACCOUNTING_DEFICIT_NORWEGIAN_SDF = 107, [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_FOREIGN_SDF")] ACCOUNTING_DEFICIT_FOREIGN_SDF = 108, - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_NORWEAGIAN_SDF")] - ACCOUNTING_LOSS_NORWEAGIAN_SDF = 109, + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_NORWEGIAN_SDF")] + ACCOUNTING_LOSS_NORWEGIAN_SDF = 109, [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_FOREIGN_SDF")] ACCOUNTING_LOSS_FOREIGN_SDF = 110, @@ -130952,11 +133242,11 @@ public enum AidSchemePostType [System.Runtime.Serialization.EnumMember(Value = @"SHARE_OF_DEDUCTIBLE_DEFICIT_FOREIGN_SDF")] SHARE_OF_DEDUCTIBLE_DEFICIT_FOREIGN_SDF = 133, - [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIXATION_NORWEGIAN_SDF")] - DEDUCTIBLE_LOSS_ON_REALIXATION_NORWEGIAN_SDF = 134, + [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIZATION_NORWEGIAN_SDF")] + DEDUCTIBLE_LOSS_ON_REALIZATION_NORWEGIAN_SDF = 134, - [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIXATION_FOREIGN_SDF")] - DEDUCTIBLE_LOSS_ON_REALIXATION_FOREIGN_SDF = 135, + [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIZATION_FOREIGN_SDF")] + DEDUCTIBLE_LOSS_ON_REALIZATION_FOREIGN_SDF = 135, [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_WITHDRAWAL_NORWEGIAN_TAX_AREA")] DEDUCTIBLE_LOSS_ON_WITHDRAWAL_NORWEGIAN_TAX_AREA = 136, @@ -131024,14 +133314,14 @@ public enum AidSchemePostType [System.Runtime.Serialization.EnumMember(Value = @"OWN_BUSINESS_PROPERTIES")] OWN_BUSINESS_PROPERTIES = 157, - [System.Runtime.Serialization.EnumMember(Value = @"OWN_ASSET_PAPIR")] - OWN_ASSET_PAPIR = 158, + [System.Runtime.Serialization.EnumMember(Value = @"OWN_ASSET_PAPER")] + OWN_ASSET_PAPER = 158, - [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERED_BY")] - TRANSFERED_BY = 159, + [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERRED_BY")] + TRANSFERRED_BY = 159, - [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERED_DATE")] - TRANSFERED_DATE = 160, + [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERRED_DATE")] + TRANSFERRED_DATE = 160, [System.Runtime.Serialization.EnumMember(Value = @"SET_ACCOUNTANT_REVISED")] SET_ACCOUNTANT_REVISED = 161, @@ -131039,8 +133329,8 @@ public enum AidSchemePostType [System.Runtime.Serialization.EnumMember(Value = @"IS_TAXABLE")] IS_TAXABLE = 162, - [System.Runtime.Serialization.EnumMember(Value = @"REQUIRE_AUDITORS_SIGNATURE")] - REQUIRE_AUDITORS_SIGNATURE = 163, + [System.Runtime.Serialization.EnumMember(Value = @"AUDITING_OBLIGATION")] + AUDITING_OBLIGATION = 163, [System.Runtime.Serialization.EnumMember(Value = @"VALIDATION_ONLY_ON_SUBMIT")] VALIDATION_ONLY_ON_SUBMIT = 164, @@ -131057,8 +133347,8 @@ public enum AidSchemePostType [System.Runtime.Serialization.EnumMember(Value = @"PARENT_COMPANY")] PARENT_COMPANY = 168, - [System.Runtime.Serialization.EnumMember(Value = @"SMALL_ENTERPRICES")] - SMALL_ENTERPRICES = 169, + [System.Runtime.Serialization.EnumMember(Value = @"SMALL_ENTERPRISES")] + SMALL_ENTERPRISES = 169, [System.Runtime.Serialization.EnumMember(Value = @"PREPARED_BY_AUTHORIZED_ACCOUNTANT")] PREPARED_BY_AUTHORIZED_ACCOUNTANT = 170, @@ -131075,449 +133365,503 @@ public enum AidSchemePostType [System.Runtime.Serialization.EnumMember(Value = @"SHOW_RESULT_AND_BALANCE_PREVIOUS_YEAR")] SHOW_RESULT_AND_BALANCE_PREVIOUS_YEAR = 174, + [System.Runtime.Serialization.EnumMember(Value = @"DATE_START")] + DATE_START = 175, + + [System.Runtime.Serialization.EnumMember(Value = @"DATE_END")] + DATE_END = 176, + + [System.Runtime.Serialization.EnumMember(Value = @"INCLUDE_PREVIOUS_YEAR_IN_RESULT")] + INCLUDE_PREVIOUS_YEAR_IN_RESULT = 177, + + [System.Runtime.Serialization.EnumMember(Value = @"DISTRIBUTE_INCOME_MODULE_INDUSTRY")] + DISTRIBUTE_INCOME_MODULE_INDUSTRY = 178, + [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_BRREG_DOC_ID")] - YEAR_END_BRREG_DOC_ID = 175, + YEAR_END_BRREG_DOC_ID = 179, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_BRREG_DOC_FETCHER_NAME")] - YEAR_END_BRREG_DOC_FETCHER_NAME = 176, + YEAR_END_BRREG_DOC_FETCHER_NAME = 180, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT")] - YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT = 177, + YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT = 181, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT")] - YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT = 178, + YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT = 182, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE")] - YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE = 179, + YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE = 183, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS")] - YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS = 180, + YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS = 184, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_INVENTORIES")] - YEAR_END_DOCUMENTATION_INVENTORIES = 181, + YEAR_END_DOCUMENTATION_INVENTORIES = 185, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS")] - YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS = 182, + YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS = 186, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROFIT_LOSS")] - YEAR_END_DOCUMENTATION_PROFIT_LOSS = 183, + YEAR_END_DOCUMENTATION_PROFIT_LOSS = 187, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_BALANCE")] - YEAR_END_DOCUMENTATION_BALANCE = 184, + YEAR_END_DOCUMENTATION_BALANCE = 188, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PERSONAL_INCOME")] - YEAR_END_DOCUMENTATION_PERSONAL_INCOME = 185, + YEAR_END_DOCUMENTATION_PERSONAL_INCOME = 189, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES")] - YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES = 186, + YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES = 190, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES")] - YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES = 187, + YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES = 191, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT")] - YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT = 188, + YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT = 192, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS")] - YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS = 189, + YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS = 193, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION")] - YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION = 190, + YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION = 194, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_RETURN")] - YEAR_END_DOCUMENTATION_TAX_RETURN = 191, + YEAR_END_DOCUMENTATION_TAX_RETURN = 195, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_DIVIDEND")] - YEAR_END_DOCUMENTATION_DIVIDEND = 192, + YEAR_END_DOCUMENTATION_DIVIDEND = 196, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_DISPOSITIONS")] - YEAR_END_DOCUMENTATION_DISPOSITIONS = 193, + YEAR_END_DOCUMENTATION_DISPOSITIONS = 197, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROPERTIES")] - YEAR_END_DOCUMENTATION_PROPERTIES = 194, + YEAR_END_DOCUMENTATION_PROPERTIES = 198, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_SECURITIES")] - YEAR_END_DOCUMENTATION_SECURITIES = 195, + YEAR_END_DOCUMENTATION_SECURITIES = 199, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_CALCULATION")] - YEAR_END_DOCUMENTATION_TAX_CALCULATION = 196, + YEAR_END_DOCUMENTATION_TAX_CALCULATION = 200, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_AUDIT_REPORT")] - YEAR_END_DOCUMENTATION_AUDIT_REPORT = 197, + YEAR_END_DOCUMENTATION_AUDIT_REPORT = 201, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ANNUAL_REPORT")] - YEAR_END_DOCUMENTATION_ANNUAL_REPORT = 198, + YEAR_END_DOCUMENTATION_ANNUAL_REPORT = 202, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT")] - YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT = 199, + YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT = 203, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS")] - YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS = 200, + YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS = 204, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVER_ORG_NR")] - RECEIVER_ORG_NR = 201, + RECEIVER_ORG_NR = 205, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVER_NAME")] - RECEIVER_NAME = 202, + RECEIVER_NAME = 206, [System.Runtime.Serialization.EnumMember(Value = @"CONCERN_CONNECTION")] - CONCERN_CONNECTION = 203, + CONCERN_CONNECTION = 207, [System.Runtime.Serialization.EnumMember(Value = @"VOTING_LIMIT")] - VOTING_LIMIT = 204, + VOTING_LIMIT = 208, [System.Runtime.Serialization.EnumMember(Value = @"DATE_OF_ACQUISITION")] - DATE_OF_ACQUISITION = 205, + DATE_OF_ACQUISITION = 209, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION")] - RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 206, + RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 210, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION")] - RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 207, + RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 211, [System.Runtime.Serialization.EnumMember(Value = @"SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION")] - SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 208, + SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 212, [System.Runtime.Serialization.EnumMember(Value = @"SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION")] - SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 209, + SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 213, [System.Runtime.Serialization.EnumMember(Value = @"APPLICATION_OF_LOSS_CARRY_FORWARDS")] - APPLICATION_OF_LOSS_CARRY_FORWARDS = 210, + APPLICATION_OF_LOSS_CARRY_FORWARDS = 214, [System.Runtime.Serialization.EnumMember(Value = @"ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS")] - ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS = 211, + ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS = 215, [System.Runtime.Serialization.EnumMember(Value = @"CORRECTIONS_AND_OTHER_CAPITAL")] - CORRECTIONS_AND_OTHER_CAPITAL = 212, + CORRECTIONS_AND_OTHER_CAPITAL = 216, [System.Runtime.Serialization.EnumMember(Value = @"CORRECTIONS_AND_OTHER_DEBT")] - CORRECTIONS_AND_OTHER_DEBT = 213, + CORRECTIONS_AND_OTHER_DEBT = 217, [System.Runtime.Serialization.EnumMember(Value = @"NUMBER_OF_SHARES")] - NUMBER_OF_SHARES = 214, + NUMBER_OF_SHARES = 218, [System.Runtime.Serialization.EnumMember(Value = @"IS_PART_OF_GROUP_COMPANY")] - IS_PART_OF_GROUP_COMPANY = 215, + IS_PART_OF_GROUP_COMPANY = 219, [System.Runtime.Serialization.EnumMember(Value = @"IS_LISTED_ON_THE_STOCK_EXCHANGE")] - IS_LISTED_ON_THE_STOCK_EXCHANGE = 216, + IS_LISTED_ON_THE_STOCK_EXCHANGE = 220, [System.Runtime.Serialization.EnumMember(Value = @"IS_REORGANIZED_ACROSS_BORDERS")] - IS_REORGANIZED_ACROSS_BORDERS = 217, + IS_REORGANIZED_ACROSS_BORDERS = 221, - [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OR_TRANSFERED_ASSETS")] - HAS_RECEIVED_OR_TRANSFERED_ASSETS = 218, + [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OR_TRANSFERRED_ASSETS")] + HAS_RECEIVED_OR_TRANSFERRED_ASSETS = 222, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_NAME")] - HEAD_OF_GROUP_NAME = 219, + HEAD_OF_GROUP_NAME = 223, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_COUNTRY_CODE")] - HEAD_OF_GROUP_COUNTRY_CODE = 220, + HEAD_OF_GROUP_COUNTRY_CODE = 224, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_LAST_YEAR_NAME")] - HEAD_OF_GROUP_LAST_YEAR_NAME = 221, + HEAD_OF_GROUP_LAST_YEAR_NAME = 225, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE")] - HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE = 222, + HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE = 226, [System.Runtime.Serialization.EnumMember(Value = @"FOREIGN_OWNERSHIP_COMPANY_NAME")] - FOREIGN_OWNERSHIP_COMPANY_NAME = 223, + FOREIGN_OWNERSHIP_COMPANY_NAME = 227, [System.Runtime.Serialization.EnumMember(Value = @"FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE")] - FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE = 224, + FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE = 228, [System.Runtime.Serialization.EnumMember(Value = @"OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY")] - OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY = 225, + OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY = 229, [System.Runtime.Serialization.EnumMember(Value = @"HAS_PERMANENT_ESTABLISHMENT_ABROAD")] - HAS_PERMANENT_ESTABLISHMENT_ABROAD = 226, + HAS_PERMANENT_ESTABLISHMENT_ABROAD = 230, [System.Runtime.Serialization.EnumMember(Value = @"COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME")] - COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME = 227, + COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME = 231, [System.Runtime.Serialization.EnumMember(Value = @"COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE")] - COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE = 228, + COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE = 232, [System.Runtime.Serialization.EnumMember(Value = @"HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER")] - HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER = 229, + HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER = 233, [System.Runtime.Serialization.EnumMember(Value = @"HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID")] - HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID = 230, + HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID = 234, [System.Runtime.Serialization.EnumMember(Value = @"IS_SMALL_OR_MEDIUM_SIZED_BUSINESS")] - IS_SMALL_OR_MEDIUM_SIZED_BUSINESS = 231, + IS_SMALL_OR_MEDIUM_SIZED_BUSINESS = 235, [System.Runtime.Serialization.EnumMember(Value = @"HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR")] - HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR = 232, + HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR = 236, [System.Runtime.Serialization.EnumMember(Value = @"IS_GROUP_COMPANY")] - IS_GROUP_COMPANY = 233, + IS_GROUP_COMPANY = 237, [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OTHER_PUBLIC_SUPPORT")] - HAS_RECEIVED_OTHER_PUBLIC_SUPPORT = 234, + HAS_RECEIVED_OTHER_PUBLIC_SUPPORT = 238, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_TONNAGE_TAX_REGIME")] - AID_SCHEME_TONNAGE_TAX_REGIME = 235, + AID_SCHEME_TONNAGE_TAX_REGIME = 239, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS")] - AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS = 236, + AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS = 240, - [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FOR_LONGTERM_INVESTMENTS")] - AID_SCHEME_FOR_LONGTERM_INVESTMENTS = 237, + [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FOR_LONG_TERM_INVESTMENTS")] + AID_SCHEME_FOR_LONG_TERM_INVESTMENTS = 241, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP")] - AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP = 238, + AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP = 242, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_TAX_FUN")] - AID_SCHEME_TAX_FUN = 239, + AID_SCHEME_TAX_FUN = 243, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES")] - AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES = 240, + AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES = 244, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS")] - AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS = 241, + AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS = 245, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES")] - AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES = 242, + AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES = 246, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS = 243, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS = 247, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS")] - AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS = 244, + AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS = 248, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES = 245, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES = 249, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS = 246, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS = 250, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR = 247, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR = 251, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING = 248, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING = 252, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE = 249, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE = 253, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES = 250, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES = 254, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS = 251, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS = 255, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS = 252, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS = 256, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY")] - AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY = 253, + AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY = 257, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY")] - AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY = 254, + AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY = 258, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL")] - AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL = 255, + AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL = 259, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_CO2_TAX_GAS")] - AID_SCHEME_EXEMPTION_CO2_TAX_GAS = 256, + AID_SCHEME_EXEMPTION_CO2_TAX_GAS = 260, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_NOX_DUTY")] - AID_SCHEME_EXEMPTION_NOX_DUTY = 257, + AID_SCHEME_EXEMPTION_NOX_DUTY = 261, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_TRANSFER_FEE")] - AID_SCHEME_EXEMPTION_TRANSFER_FEE = 258, + AID_SCHEME_EXEMPTION_TRANSFER_FEE = 262, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX")] - AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX = 259, + AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX = 263, [System.Runtime.Serialization.EnumMember(Value = @"OTHER_CORRECTIONS")] - OTHER_CORRECTIONS = 260, + OTHER_CORRECTIONS = 264, [System.Runtime.Serialization.EnumMember(Value = @"DEFERRED_TAX_ASSETS_IN_BALANCE")] - DEFERRED_TAX_ASSETS_IN_BALANCE = 261, + DEFERRED_TAX_ASSETS_IN_BALANCE = 265, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_NAME")] - SHARES_AND_SECURITIES_NAME = 262, + SHARES_AND_SECURITIES_NAME = 266, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_STOCK_TYPE")] - SHARES_AND_SECURITIES_STOCK_TYPE = 263, + SHARES_AND_SECURITIES_STOCK_TYPE = 267, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_VAT_NUMBER")] - SHARES_AND_SECURITIES_VAT_NUMBER = 264, + SHARES_AND_SECURITIES_VAT_NUMBER = 268, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_ISIN")] - SHARES_AND_SECURITIES_ISIN = 265, + SHARES_AND_SECURITIES_ISIN = 269, - [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_COUNTRY")] - SHARES_AND_SECURITIES_COUNTRY = 266, + [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_COUNTRY_CODE")] + SHARES_AND_SECURITIES_COUNTRY_CODE = 270, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARE_CLASS")] - SHARES_AND_SECURITIES_SHARE_CLASS = 267, + SHARES_AND_SECURITIES_SHARE_CLASS = 271, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR")] - SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR = 268, + SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR = 272, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR")] - SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR = 269, + SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR = 273, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_VALUE")] - SHARES_AND_SECURITIES_VALUE = 270, + SHARES_AND_SECURITIES_VALUE = 274, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_TOTAL_VALUE")] - SHARES_AND_SECURITIES_TOTAL_VALUE = 271, + SHARES_AND_SECURITIES_TOTAL_VALUE = 275, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_DIVIDEND")] - SHARES_AND_SECURITIES_DIVIDEND = 272, + SHARES_AND_SECURITIES_DIVIDEND = 276, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_INTEREST_INCOME")] - SHARES_AND_SECURITIES_INTEREST_INCOME = 273, + SHARES_AND_SECURITIES_INTEREST_INCOME = 277, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_PROFIT_REALISATION")] - SHARES_AND_SECURITIES_PROFIT_REALISATION = 274, + SHARES_AND_SECURITIES_PROFIT_REALISATION = 278, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_LOSS_REALISATION")] - SHARES_AND_SECURITIES_LOSS_REALISATION = 275, + SHARES_AND_SECURITIES_LOSS_REALISATION = 279, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_PROFIT_INTEREST")] - SHARES_AND_SECURITIES_PROFIT_INTEREST = 276, + SHARES_AND_SECURITIES_PROFIT_INTEREST = 280, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_LOSS_INTEREST")] - SHARES_AND_SECURITIES_LOSS_INTEREST = 277, + SHARES_AND_SECURITIES_LOSS_INTEREST = 281, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_EXEMPTION_METHOD")] - SHARES_AND_SECURITIES_EXEMPTION_METHOD = 278, + SHARES_AND_SECURITIES_EXEMPTION_METHOD = 282, + + [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_FINANCIAL_PRODUCT")] + SHARES_AND_SECURITIES_FINANCIAL_PRODUCT = 283, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_TYPE")] - REAL_ESTATE_TYPE = 279, + REAL_ESTATE_TYPE = 284, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DESCRIPTION")] - REAL_ESTATE_DESCRIPTION = 280, + REAL_ESTATE_DESCRIPTION = 285, [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_PROPERTY_TYPE")] - COMMERCIAL_PROPERTY_TYPE = 281, + COMMERCIAL_PROPERTY_TYPE = 286, [System.Runtime.Serialization.EnumMember(Value = @"SHARE_OF_ASSET_VALUE")] - SHARE_OF_ASSET_VALUE = 282, + SHARE_OF_ASSET_VALUE = 287, [System.Runtime.Serialization.EnumMember(Value = @"INTERNAL_PROPERTY_IDENTIFIER")] - INTERNAL_PROPERTY_IDENTIFIER = 283, + INTERNAL_PROPERTY_IDENTIFIER = 288, [System.Runtime.Serialization.EnumMember(Value = @"ASSET_VALUE_FOR_ASSET_SHARE")] - ASSET_VALUE_FOR_ASSET_SHARE = 284, + ASSET_VALUE_FOR_ASSET_SHARE = 289, [System.Runtime.Serialization.EnumMember(Value = @"VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE")] - VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE = 285, + VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE = 290, [System.Runtime.Serialization.EnumMember(Value = @"TOTAL_AREA")] - TOTAL_AREA = 286, + TOTAL_AREA = 291, [System.Runtime.Serialization.EnumMember(Value = @"CALCULATED_RENTAL_VALUE")] - CALCULATED_RENTAL_VALUE = 287, + CALCULATED_RENTAL_VALUE = 292, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SERG_NO")] - REAL_ESTATE_SERG_NO = 288, + REAL_ESTATE_SERG_NO = 293, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ADDRESS")] - REAL_ESTATE_ADDRESS = 289, + REAL_ESTATE_ADDRESS = 294, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ZIP_CODE")] - REAL_ESTATE_ZIP_CODE = 290, + REAL_ESTATE_ZIP_CODE = 295, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_POSTAL_PLACE_NAME")] - REAL_ESTATE_POSTAL_PLACE_NAME = 291, + REAL_ESTATE_POSTAL_PLACE_NAME = 296, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_COUNTRY_CODE")] + REAL_ESTATE_COUNTRY_CODE = 297, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MUNICIPALITY_NO")] - REAL_ESTATE_MUNICIPALITY_NO = 292, + REAL_ESTATE_MUNICIPALITY_NO = 298, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MUNICIPALITY_NAME")] - REAL_ESTATE_MUNICIPALITY_NAME = 293, + REAL_ESTATE_MUNICIPALITY_NAME = 299, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_CADASTRAL_UNIT_NO")] - REAL_ESTATE_CADASTRAL_UNIT_NO = 294, + REAL_ESTATE_CADASTRAL_UNIT_NO = 300, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PROPERTY_UNIT_NO")] - REAL_ESTATE_PROPERTY_UNIT_NO = 295, + REAL_ESTATE_PROPERTY_UNIT_NO = 301, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_LEASEHOLD_NO")] - REAL_ESTATE_LEASEHOLD_NO = 296, + REAL_ESTATE_LEASEHOLD_NO = 302, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SECTION_NO")] - REAL_ESTATE_SECTION_NO = 297, + REAL_ESTATE_SECTION_NO = 303, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE")] - REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE = 298, + REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE = 304, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PREV_YEAR_ASSET_VALUE")] - REAL_ESTATE_PREV_YEAR_ASSET_VALUE = 299, + REAL_ESTATE_PREV_YEAR_ASSET_VALUE = 305, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_YEARLY")] - REAL_ESTATE_EXPENSES_YEARLY = 300, + REAL_ESTATE_EXPENSES_YEARLY = 306, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY")] - REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY = 301, + REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY = 307, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY")] - REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY = 302, + REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY = 308, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DATE_DOCUMENTED")] - REAL_ESTATE_DATE_DOCUMENTED = 303, + REAL_ESTATE_DATE_DOCUMENTED = 309, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MARKET_VALUE_MANUAL")] - REAL_ESTATE_MARKET_VALUE_MANUAL = 304, + REAL_ESTATE_MARKET_VALUE_MANUAL = 310, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MARKET_VALUE_CALCULATED")] - REAL_ESTATE_MARKET_VALUE_CALCULATED = 305, + REAL_ESTATE_MARKET_VALUE_CALCULATED = 311, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_USE_VALUE_MARKET")] - REAL_ESTATE_USE_VALUE_MARKET = 306, + REAL_ESTATE_USE_VALUE_MARKET = 312, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DWELLING_TYPE")] - REAL_ESTATE_DWELLING_TYPE = 307, + REAL_ESTATE_DWELLING_TYPE = 313, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_TYPE")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_TYPE = 314, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_NAME")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_NAME = 315, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_ORG_NO")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_ORG_NO = 316, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_SHARE_NO")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_SHARE_NO = 317, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE")] - REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE = 308, + REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE = 318, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_CONSTRUCTION_YEAR")] - REAL_ESTATE_CONSTRUCTION_YEAR = 309, + REAL_ESTATE_CONSTRUCTION_YEAR = 319, - [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SELF_OWNED_DWELLING_CALCULATED_MARKET_VALUE")] - REAL_ESTATE_SELF_OWNED_DWELLING_CALCULATED_MARKET_VALUE = 310, + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SELF_OWNED_OR_COOPERATIVE_DWELLING_CALCULATED_MARKET_VALUE")] + REAL_ESTATE_SELF_OWNED_OR_COOPERATIVE_DWELLING_CALCULATED_MARKET_VALUE = 320, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_AREA_TOTAL")] - REAL_ESTATE_RENTAL_AREA_TOTAL = 311, + REAL_ESTATE_RENTAL_AREA_TOTAL = 321, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_PERIOD_MONTHS")] - REAL_ESTATE_RENTAL_PERIOD_MONTHS = 312, + REAL_ESTATE_RENTAL_PERIOD_MONTHS = 322, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED")] - REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED = 313, + REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED = 323, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR")] - REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR = 314, + REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR = 324, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO")] - REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO = 315, + REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO = 325, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_ASSET_VALUE_BASE")] - REAL_ESTATE_RENTAL_ASSET_VALUE_BASE = 316, + REAL_ESTATE_RENTAL_ASSET_VALUE_BASE = 326, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_INCOME")] - REAL_ESTATE_RENTAL_GROSS_INCOME = 317, + REAL_ESTATE_RENTAL_GROSS_INCOME = 327, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL")] - REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL = 318, + REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL = 328, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_YEARLY_MANUAL = 319, + REAL_ESTATE_EXPENSES_YEARLY_MANUAL = 329, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL = 320, + REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL = 330, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL = 321, + REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL = 331, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_ROW_ID")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_ROW_ID = 332, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_NO")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_NO = 333, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_AREA")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_AREA = 334, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_CONSTRUCTION_YEAR")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_CONSTRUCTION_YEAR = 335, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_VALUE")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_VALUE = 336, [System.Runtime.Serialization.EnumMember(Value = @"YEARLY_DIVIDEND")] - YEARLY_DIVIDEND = 322, + YEARLY_DIVIDEND = 337, + + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_CREDIT")] + DIVIDEND_CREDIT = 338, + + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_SECURITY_OFFERED")] + DIVIDEND_SECURITY_OFFERED = 339, + + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_DISPOSITIONS")] + DIVIDEND_DISPOSITIONS = 340, } @@ -131606,6 +133950,9 @@ public enum DocumentationGenericDataGenericDataSubType [System.Runtime.Serialization.EnumMember(Value = @"ENTERTAINMENT")] ENTERTAINMENT = 7, + [System.Runtime.Serialization.EnumMember(Value = @"MULTI_UNIT_BUILDING_UNIT")] + MULTI_UNIT_BUILDING_UNIT = 8, + } [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] @@ -131822,11 +134169,11 @@ public enum DocumentationGenericDataPostType [System.Runtime.Serialization.EnumMember(Value = @"TOTAL_WITHDRAWAL_COST_FOR_ENTERTAINMENT")] TOTAL_WITHDRAWAL_COST_FOR_ENTERTAINMENT = 69, - [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_CREDITSALES")] - OPENING_BALANCE_CREDITSALES = 70, + [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_CREDIT_SALES")] + OPENING_BALANCE_CREDIT_SALES = 70, - [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_CREDITSALES")] - CLOSING_BALANCE_CREDITSALES = 71, + [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_CREDIT_SALES")] + CLOSING_BALANCE_CREDIT_SALES = 71, [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_WRITE_DOWN_NEW_COMPANY")] OPENING_BALANCE_WRITE_DOWN_NEW_COMPANY = 72, @@ -131834,11 +134181,11 @@ public enum DocumentationGenericDataPostType [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_WRITE_DOWN_NEW_COMPANY")] CLOSING_BALANCE_WRITE_DOWN_NEW_COMPANY = 73, - [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS")] - OPENING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS = 74, + [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS")] + OPENING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS = 74, - [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS")] - CLOSING_BALANCE_RAW_MATERIAL_AND_SEMIFINISHED_PRODUCTS = 75, + [System.Runtime.Serialization.EnumMember(Value = @"CLOSING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS")] + CLOSING_BALANCE_RAW_MATERIAL_AND_SEMI_FINISHED_PRODUCTS = 75, [System.Runtime.Serialization.EnumMember(Value = @"OPENING_BALANCE_PRODUCT_UNDER_MANUFACTURING")] OPENING_BALANCE_PRODUCT_UNDER_MANUFACTURING = 76, @@ -131933,14 +134280,14 @@ public enum DocumentationGenericDataPostType [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS")] ACCOUNTING_LOSS = 106, - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_NORWEAGIAN_SDF")] - ACCOUNTING_DEFICIT_NORWEAGIAN_SDF = 107, + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_NORWEGIAN_SDF")] + ACCOUNTING_DEFICIT_NORWEGIAN_SDF = 107, [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_DEFICIT_FOREIGN_SDF")] ACCOUNTING_DEFICIT_FOREIGN_SDF = 108, - [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_NORWEAGIAN_SDF")] - ACCOUNTING_LOSS_NORWEAGIAN_SDF = 109, + [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_NORWEGIAN_SDF")] + ACCOUNTING_LOSS_NORWEGIAN_SDF = 109, [System.Runtime.Serialization.EnumMember(Value = @"ACCOUNTING_LOSS_FOREIGN_SDF")] ACCOUNTING_LOSS_FOREIGN_SDF = 110, @@ -132014,11 +134361,11 @@ public enum DocumentationGenericDataPostType [System.Runtime.Serialization.EnumMember(Value = @"SHARE_OF_DEDUCTIBLE_DEFICIT_FOREIGN_SDF")] SHARE_OF_DEDUCTIBLE_DEFICIT_FOREIGN_SDF = 133, - [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIXATION_NORWEGIAN_SDF")] - DEDUCTIBLE_LOSS_ON_REALIXATION_NORWEGIAN_SDF = 134, + [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIZATION_NORWEGIAN_SDF")] + DEDUCTIBLE_LOSS_ON_REALIZATION_NORWEGIAN_SDF = 134, - [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIXATION_FOREIGN_SDF")] - DEDUCTIBLE_LOSS_ON_REALIXATION_FOREIGN_SDF = 135, + [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_REALIZATION_FOREIGN_SDF")] + DEDUCTIBLE_LOSS_ON_REALIZATION_FOREIGN_SDF = 135, [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTIBLE_LOSS_ON_WITHDRAWAL_NORWEGIAN_TAX_AREA")] DEDUCTIBLE_LOSS_ON_WITHDRAWAL_NORWEGIAN_TAX_AREA = 136, @@ -132086,14 +134433,14 @@ public enum DocumentationGenericDataPostType [System.Runtime.Serialization.EnumMember(Value = @"OWN_BUSINESS_PROPERTIES")] OWN_BUSINESS_PROPERTIES = 157, - [System.Runtime.Serialization.EnumMember(Value = @"OWN_ASSET_PAPIR")] - OWN_ASSET_PAPIR = 158, + [System.Runtime.Serialization.EnumMember(Value = @"OWN_ASSET_PAPER")] + OWN_ASSET_PAPER = 158, - [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERED_BY")] - TRANSFERED_BY = 159, + [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERRED_BY")] + TRANSFERRED_BY = 159, - [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERED_DATE")] - TRANSFERED_DATE = 160, + [System.Runtime.Serialization.EnumMember(Value = @"TRANSFERRED_DATE")] + TRANSFERRED_DATE = 160, [System.Runtime.Serialization.EnumMember(Value = @"SET_ACCOUNTANT_REVISED")] SET_ACCOUNTANT_REVISED = 161, @@ -132101,8 +134448,8 @@ public enum DocumentationGenericDataPostType [System.Runtime.Serialization.EnumMember(Value = @"IS_TAXABLE")] IS_TAXABLE = 162, - [System.Runtime.Serialization.EnumMember(Value = @"REQUIRE_AUDITORS_SIGNATURE")] - REQUIRE_AUDITORS_SIGNATURE = 163, + [System.Runtime.Serialization.EnumMember(Value = @"AUDITING_OBLIGATION")] + AUDITING_OBLIGATION = 163, [System.Runtime.Serialization.EnumMember(Value = @"VALIDATION_ONLY_ON_SUBMIT")] VALIDATION_ONLY_ON_SUBMIT = 164, @@ -132119,8 +134466,8 @@ public enum DocumentationGenericDataPostType [System.Runtime.Serialization.EnumMember(Value = @"PARENT_COMPANY")] PARENT_COMPANY = 168, - [System.Runtime.Serialization.EnumMember(Value = @"SMALL_ENTERPRICES")] - SMALL_ENTERPRICES = 169, + [System.Runtime.Serialization.EnumMember(Value = @"SMALL_ENTERPRISES")] + SMALL_ENTERPRISES = 169, [System.Runtime.Serialization.EnumMember(Value = @"PREPARED_BY_AUTHORIZED_ACCOUNTANT")] PREPARED_BY_AUTHORIZED_ACCOUNTANT = 170, @@ -132137,449 +134484,503 @@ public enum DocumentationGenericDataPostType [System.Runtime.Serialization.EnumMember(Value = @"SHOW_RESULT_AND_BALANCE_PREVIOUS_YEAR")] SHOW_RESULT_AND_BALANCE_PREVIOUS_YEAR = 174, + [System.Runtime.Serialization.EnumMember(Value = @"DATE_START")] + DATE_START = 175, + + [System.Runtime.Serialization.EnumMember(Value = @"DATE_END")] + DATE_END = 176, + + [System.Runtime.Serialization.EnumMember(Value = @"INCLUDE_PREVIOUS_YEAR_IN_RESULT")] + INCLUDE_PREVIOUS_YEAR_IN_RESULT = 177, + + [System.Runtime.Serialization.EnumMember(Value = @"DISTRIBUTE_INCOME_MODULE_INDUSTRY")] + DISTRIBUTE_INCOME_MODULE_INDUSTRY = 178, + [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_BRREG_DOC_ID")] - YEAR_END_BRREG_DOC_ID = 175, + YEAR_END_BRREG_DOC_ID = 179, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_BRREG_DOC_FETCHER_NAME")] - YEAR_END_BRREG_DOC_FETCHER_NAME = 176, + YEAR_END_BRREG_DOC_FETCHER_NAME = 180, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT")] - YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT = 177, + YEAR_END_DOCUMENTATION_ACCOMMODATION_AND_RESTAURANT = 181, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT")] - YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT = 178, + YEAR_END_DOCUMENTATION_PROFIT_AND_LOSS_ACCOUNT = 182, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE")] - YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE = 179, + YEAR_END_DOCUMENTATION_COMMERCIAL_VEHICLE = 183, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS")] - YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS = 180, + YEAR_END_DOCUMENTATION_TANGIBLE_FIXED_ASSETS = 184, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_INVENTORIES")] - YEAR_END_DOCUMENTATION_INVENTORIES = 181, + YEAR_END_DOCUMENTATION_INVENTORIES = 185, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS")] - YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS = 182, + YEAR_END_DOCUMENTATION_ACCOUNTS_RECEIVABLE_FROM_CUSTOMERS = 186, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROFIT_LOSS")] - YEAR_END_DOCUMENTATION_PROFIT_LOSS = 183, + YEAR_END_DOCUMENTATION_PROFIT_LOSS = 187, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_BALANCE")] - YEAR_END_DOCUMENTATION_BALANCE = 184, + YEAR_END_DOCUMENTATION_BALANCE = 188, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PERSONAL_INCOME")] - YEAR_END_DOCUMENTATION_PERSONAL_INCOME = 185, + YEAR_END_DOCUMENTATION_PERSONAL_INCOME = 189, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES")] - YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES = 186, + YEAR_END_DOCUMENTATION_PERMANENT_DIFFERENCES = 190, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES")] - YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES = 187, + YEAR_END_DOCUMENTATION_TEMPORARY_DIFFERENCES = 191, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT")] - YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT = 188, + YEAR_END_DOCUMENTATION_TAX_RELATED_RESULT = 192, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS")] - YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS = 189, + YEAR_END_DOCUMENTATION_GROUP_CONTRIBUTIONS = 193, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION")] - YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION = 190, + YEAR_END_DOCUMENTATION_EQUITY_RECONCILIATION = 194, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_RETURN")] - YEAR_END_DOCUMENTATION_TAX_RETURN = 191, + YEAR_END_DOCUMENTATION_TAX_RETURN = 195, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_DIVIDEND")] - YEAR_END_DOCUMENTATION_DIVIDEND = 192, + YEAR_END_DOCUMENTATION_DIVIDEND = 196, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_DISPOSITIONS")] - YEAR_END_DOCUMENTATION_DISPOSITIONS = 193, + YEAR_END_DOCUMENTATION_DISPOSITIONS = 197, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_PROPERTIES")] - YEAR_END_DOCUMENTATION_PROPERTIES = 194, + YEAR_END_DOCUMENTATION_PROPERTIES = 198, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_SECURITIES")] - YEAR_END_DOCUMENTATION_SECURITIES = 195, + YEAR_END_DOCUMENTATION_SECURITIES = 199, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_TAX_CALCULATION")] - YEAR_END_DOCUMENTATION_TAX_CALCULATION = 196, + YEAR_END_DOCUMENTATION_TAX_CALCULATION = 200, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_AUDIT_REPORT")] - YEAR_END_DOCUMENTATION_AUDIT_REPORT = 197, + YEAR_END_DOCUMENTATION_AUDIT_REPORT = 201, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ANNUAL_REPORT")] - YEAR_END_DOCUMENTATION_ANNUAL_REPORT = 198, + YEAR_END_DOCUMENTATION_ANNUAL_REPORT = 202, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT")] - YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT = 199, + YEAR_END_DOCUMENTATION_CASH_FLOW_STATEMENT = 203, [System.Runtime.Serialization.EnumMember(Value = @"YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS")] - YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS = 200, + YEAR_END_DOCUMENTATION_ANNEXES_TO_THE_ANNUAL_ACCOUNTS = 204, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVER_ORG_NR")] - RECEIVER_ORG_NR = 201, + RECEIVER_ORG_NR = 205, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVER_NAME")] - RECEIVER_NAME = 202, + RECEIVER_NAME = 206, [System.Runtime.Serialization.EnumMember(Value = @"CONCERN_CONNECTION")] - CONCERN_CONNECTION = 203, + CONCERN_CONNECTION = 207, [System.Runtime.Serialization.EnumMember(Value = @"VOTING_LIMIT")] - VOTING_LIMIT = 204, + VOTING_LIMIT = 208, [System.Runtime.Serialization.EnumMember(Value = @"DATE_OF_ACQUISITION")] - DATE_OF_ACQUISITION = 205, + DATE_OF_ACQUISITION = 209, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION")] - RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 206, + RECEIVED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 210, [System.Runtime.Serialization.EnumMember(Value = @"RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION")] - RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 207, + RECEIVED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 211, [System.Runtime.Serialization.EnumMember(Value = @"SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION")] - SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 208, + SUBMITTED_GROUP_CONTRIBUTIONS_WITH_TAX_AFFECTION = 212, [System.Runtime.Serialization.EnumMember(Value = @"SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION")] - SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 209, + SUBMITTED_GROUP_CONTRIBUTIONS_WITHOUT_TAX_AFFECTION = 213, [System.Runtime.Serialization.EnumMember(Value = @"APPLICATION_OF_LOSS_CARRY_FORWARDS")] - APPLICATION_OF_LOSS_CARRY_FORWARDS = 210, + APPLICATION_OF_LOSS_CARRY_FORWARDS = 214, [System.Runtime.Serialization.EnumMember(Value = @"ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS")] - ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS = 211, + ACCUMULATED_LOSS_FROM_PREVIOUS_YEARS = 215, [System.Runtime.Serialization.EnumMember(Value = @"CORRECTIONS_AND_OTHER_CAPITAL")] - CORRECTIONS_AND_OTHER_CAPITAL = 212, + CORRECTIONS_AND_OTHER_CAPITAL = 216, [System.Runtime.Serialization.EnumMember(Value = @"CORRECTIONS_AND_OTHER_DEBT")] - CORRECTIONS_AND_OTHER_DEBT = 213, + CORRECTIONS_AND_OTHER_DEBT = 217, [System.Runtime.Serialization.EnumMember(Value = @"NUMBER_OF_SHARES")] - NUMBER_OF_SHARES = 214, + NUMBER_OF_SHARES = 218, [System.Runtime.Serialization.EnumMember(Value = @"IS_PART_OF_GROUP_COMPANY")] - IS_PART_OF_GROUP_COMPANY = 215, + IS_PART_OF_GROUP_COMPANY = 219, [System.Runtime.Serialization.EnumMember(Value = @"IS_LISTED_ON_THE_STOCK_EXCHANGE")] - IS_LISTED_ON_THE_STOCK_EXCHANGE = 216, + IS_LISTED_ON_THE_STOCK_EXCHANGE = 220, [System.Runtime.Serialization.EnumMember(Value = @"IS_REORGANIZED_ACROSS_BORDERS")] - IS_REORGANIZED_ACROSS_BORDERS = 217, + IS_REORGANIZED_ACROSS_BORDERS = 221, - [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OR_TRANSFERED_ASSETS")] - HAS_RECEIVED_OR_TRANSFERED_ASSETS = 218, + [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OR_TRANSFERRED_ASSETS")] + HAS_RECEIVED_OR_TRANSFERRED_ASSETS = 222, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_NAME")] - HEAD_OF_GROUP_NAME = 219, + HEAD_OF_GROUP_NAME = 223, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_COUNTRY_CODE")] - HEAD_OF_GROUP_COUNTRY_CODE = 220, + HEAD_OF_GROUP_COUNTRY_CODE = 224, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_LAST_YEAR_NAME")] - HEAD_OF_GROUP_LAST_YEAR_NAME = 221, + HEAD_OF_GROUP_LAST_YEAR_NAME = 225, [System.Runtime.Serialization.EnumMember(Value = @"HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE")] - HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE = 222, + HEAD_OF_GROUP_LAST_YEAR_COUNTRY_CODE = 226, [System.Runtime.Serialization.EnumMember(Value = @"FOREIGN_OWNERSHIP_COMPANY_NAME")] - FOREIGN_OWNERSHIP_COMPANY_NAME = 223, + FOREIGN_OWNERSHIP_COMPANY_NAME = 227, [System.Runtime.Serialization.EnumMember(Value = @"FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE")] - FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE = 224, + FOREIGN_OWNERSHIP_COMPANY_COUNTRY_CODE = 228, [System.Runtime.Serialization.EnumMember(Value = @"OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY")] - OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY = 225, + OWNS_MIN_50_PERCENT_OF_FOREIGN_COMPANY = 229, [System.Runtime.Serialization.EnumMember(Value = @"HAS_PERMANENT_ESTABLISHMENT_ABROAD")] - HAS_PERMANENT_ESTABLISHMENT_ABROAD = 226, + HAS_PERMANENT_ESTABLISHMENT_ABROAD = 230, [System.Runtime.Serialization.EnumMember(Value = @"COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME")] - COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME = 227, + COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_NAME = 231, [System.Runtime.Serialization.EnumMember(Value = @"COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE")] - COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE = 228, + COUNTRY_FOR_COUNTRY_REPORTABLE_ENTERPRISE_COUNTRY_CODE = 232, [System.Runtime.Serialization.EnumMember(Value = @"HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER")] - HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER = 229, + HAS_PERFORMANCE_BETWEEN_SHAREHOLDERS_AND_OTHER = 233, [System.Runtime.Serialization.EnumMember(Value = @"HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID")] - HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID = 230, + HAS_OUTSTANDING_PAYMENT_CLAIMS_RELATED_TO_ILLEGAL_STATE_AID = 234, [System.Runtime.Serialization.EnumMember(Value = @"IS_SMALL_OR_MEDIUM_SIZED_BUSINESS")] - IS_SMALL_OR_MEDIUM_SIZED_BUSINESS = 231, + IS_SMALL_OR_MEDIUM_SIZED_BUSINESS = 235, [System.Runtime.Serialization.EnumMember(Value = @"HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR")] - HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR = 232, + HAD_FINANCIAL_DIFFICULTIES_LAST_YEAR = 236, [System.Runtime.Serialization.EnumMember(Value = @"IS_GROUP_COMPANY")] - IS_GROUP_COMPANY = 233, + IS_GROUP_COMPANY = 237, [System.Runtime.Serialization.EnumMember(Value = @"HAS_RECEIVED_OTHER_PUBLIC_SUPPORT")] - HAS_RECEIVED_OTHER_PUBLIC_SUPPORT = 234, + HAS_RECEIVED_OTHER_PUBLIC_SUPPORT = 238, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_TONNAGE_TAX_REGIME")] - AID_SCHEME_TONNAGE_TAX_REGIME = 235, + AID_SCHEME_TONNAGE_TAX_REGIME = 239, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS")] - AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS = 236, + AID_SCHEME_RULES_FOR_ELECTRIC_DELIVERY_TRUCKS = 240, - [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FOR_LONGTERM_INVESTMENTS")] - AID_SCHEME_FOR_LONGTERM_INVESTMENTS = 237, + [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FOR_LONG_TERM_INVESTMENTS")] + AID_SCHEME_FOR_LONG_TERM_INVESTMENTS = 241, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP")] - AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP = 238, + AID_SCHEME_EMPLOYMENT_RELATED_OPTIONS_START_UP = 242, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_TAX_FUN")] - AID_SCHEME_TAX_FUN = 239, + AID_SCHEME_TAX_FUN = 243, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES")] - AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES = 240, + AID_SCHEME_FAVOURABLE_DEPRECIATION_RULES = 244, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS")] - AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS = 241, + AID_SCHEME_REGIONALLY_DIFFERENTIATED_INSURANCE_CONTRIBUTIONS = 245, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES")] - AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES = 242, + AID_SCHEME_FAVOURABLE_DETERMINED_LIST_PRICES_ELECTRIC_VEHICLES = 246, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS = 243, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_CARS = 247, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS")] - AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS = 244, + AID_SCHEME_VAT_EXEMPTION_LEASING_ELECTRIC_CARS = 248, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES = 245, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_BATTERIES = 249, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS")] - AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS = 246, + AID_SCHEME_VAT_EXEMPTION_TURNOVER_ELECTRIC_NEWS = 250, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR = 247, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_INDUSTRIAL_SECTOR = 251, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING = 248, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_DISTRICT_HEATING = 252, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE = 249, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_TARGET_ZONE = 253, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES = 250, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_DATA_CENTRES = 254, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS = 251, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_COMMERCIAL_VESSELS = 255, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS")] - AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS = 252, + AID_SCHEME_REDUCED_ELECTRICITY_TAX_ENERGY_PRODUCTS = 256, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY")] - AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY = 253, + AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_WOOD_INDUSTRY = 257, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY")] - AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY = 254, + AID_SCHEME_REDUCED_BASIC_TAX_MINERAL_OIL_PIGMENT_INDUSTRY = 258, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL")] - AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL = 255, + AID_SCHEME_EXEMPTION_CO2_TAX_MINERAL_OIL = 259, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_CO2_TAX_GAS")] - AID_SCHEME_EXEMPTION_CO2_TAX_GAS = 256, + AID_SCHEME_EXEMPTION_CO2_TAX_GAS = 260, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_NOX_DUTY")] - AID_SCHEME_EXEMPTION_NOX_DUTY = 257, + AID_SCHEME_EXEMPTION_NOX_DUTY = 261, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_EXEMPTION_TRANSFER_FEE")] - AID_SCHEME_EXEMPTION_TRANSFER_FEE = 258, + AID_SCHEME_EXEMPTION_TRANSFER_FEE = 262, [System.Runtime.Serialization.EnumMember(Value = @"AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX")] - AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX = 259, + AID_SCHEME_REDUCED_ROAD_TRAFFIC_INSURANCE_TAX = 263, [System.Runtime.Serialization.EnumMember(Value = @"OTHER_CORRECTIONS")] - OTHER_CORRECTIONS = 260, + OTHER_CORRECTIONS = 264, [System.Runtime.Serialization.EnumMember(Value = @"DEFERRED_TAX_ASSETS_IN_BALANCE")] - DEFERRED_TAX_ASSETS_IN_BALANCE = 261, + DEFERRED_TAX_ASSETS_IN_BALANCE = 265, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_NAME")] - SHARES_AND_SECURITIES_NAME = 262, + SHARES_AND_SECURITIES_NAME = 266, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_STOCK_TYPE")] - SHARES_AND_SECURITIES_STOCK_TYPE = 263, + SHARES_AND_SECURITIES_STOCK_TYPE = 267, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_VAT_NUMBER")] - SHARES_AND_SECURITIES_VAT_NUMBER = 264, + SHARES_AND_SECURITIES_VAT_NUMBER = 268, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_ISIN")] - SHARES_AND_SECURITIES_ISIN = 265, + SHARES_AND_SECURITIES_ISIN = 269, - [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_COUNTRY")] - SHARES_AND_SECURITIES_COUNTRY = 266, + [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_COUNTRY_CODE")] + SHARES_AND_SECURITIES_COUNTRY_CODE = 270, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARE_CLASS")] - SHARES_AND_SECURITIES_SHARE_CLASS = 267, + SHARES_AND_SECURITIES_SHARE_CLASS = 271, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR")] - SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR = 268, + SHARES_AND_SECURITIES_SHARES_BY_THE_START_OF_THE_YEAR = 272, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR")] - SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR = 269, + SHARES_AND_SECURITIES_SHARES_BY_THE_END_OF_THE_YEAR = 273, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_VALUE")] - SHARES_AND_SECURITIES_VALUE = 270, + SHARES_AND_SECURITIES_VALUE = 274, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_TOTAL_VALUE")] - SHARES_AND_SECURITIES_TOTAL_VALUE = 271, + SHARES_AND_SECURITIES_TOTAL_VALUE = 275, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_DIVIDEND")] - SHARES_AND_SECURITIES_DIVIDEND = 272, + SHARES_AND_SECURITIES_DIVIDEND = 276, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_INTEREST_INCOME")] - SHARES_AND_SECURITIES_INTEREST_INCOME = 273, + SHARES_AND_SECURITIES_INTEREST_INCOME = 277, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_PROFIT_REALISATION")] - SHARES_AND_SECURITIES_PROFIT_REALISATION = 274, + SHARES_AND_SECURITIES_PROFIT_REALISATION = 278, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_LOSS_REALISATION")] - SHARES_AND_SECURITIES_LOSS_REALISATION = 275, + SHARES_AND_SECURITIES_LOSS_REALISATION = 279, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_PROFIT_INTEREST")] - SHARES_AND_SECURITIES_PROFIT_INTEREST = 276, + SHARES_AND_SECURITIES_PROFIT_INTEREST = 280, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_LOSS_INTEREST")] - SHARES_AND_SECURITIES_LOSS_INTEREST = 277, + SHARES_AND_SECURITIES_LOSS_INTEREST = 281, [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_EXEMPTION_METHOD")] - SHARES_AND_SECURITIES_EXEMPTION_METHOD = 278, + SHARES_AND_SECURITIES_EXEMPTION_METHOD = 282, + + [System.Runtime.Serialization.EnumMember(Value = @"SHARES_AND_SECURITIES_FINANCIAL_PRODUCT")] + SHARES_AND_SECURITIES_FINANCIAL_PRODUCT = 283, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_TYPE")] - REAL_ESTATE_TYPE = 279, + REAL_ESTATE_TYPE = 284, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DESCRIPTION")] - REAL_ESTATE_DESCRIPTION = 280, + REAL_ESTATE_DESCRIPTION = 285, [System.Runtime.Serialization.EnumMember(Value = @"COMMERCIAL_PROPERTY_TYPE")] - COMMERCIAL_PROPERTY_TYPE = 281, + COMMERCIAL_PROPERTY_TYPE = 286, [System.Runtime.Serialization.EnumMember(Value = @"SHARE_OF_ASSET_VALUE")] - SHARE_OF_ASSET_VALUE = 282, + SHARE_OF_ASSET_VALUE = 287, [System.Runtime.Serialization.EnumMember(Value = @"INTERNAL_PROPERTY_IDENTIFIER")] - INTERNAL_PROPERTY_IDENTIFIER = 283, + INTERNAL_PROPERTY_IDENTIFIER = 288, [System.Runtime.Serialization.EnumMember(Value = @"ASSET_VALUE_FOR_ASSET_SHARE")] - ASSET_VALUE_FOR_ASSET_SHARE = 284, + ASSET_VALUE_FOR_ASSET_SHARE = 289, [System.Runtime.Serialization.EnumMember(Value = @"VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE")] - VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE = 285, + VALUE_BEFORE_VALUATION_DISCOUNT_ASSET_SHARE = 290, [System.Runtime.Serialization.EnumMember(Value = @"TOTAL_AREA")] - TOTAL_AREA = 286, + TOTAL_AREA = 291, [System.Runtime.Serialization.EnumMember(Value = @"CALCULATED_RENTAL_VALUE")] - CALCULATED_RENTAL_VALUE = 287, + CALCULATED_RENTAL_VALUE = 292, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SERG_NO")] - REAL_ESTATE_SERG_NO = 288, + REAL_ESTATE_SERG_NO = 293, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ADDRESS")] - REAL_ESTATE_ADDRESS = 289, + REAL_ESTATE_ADDRESS = 294, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ZIP_CODE")] - REAL_ESTATE_ZIP_CODE = 290, + REAL_ESTATE_ZIP_CODE = 295, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_POSTAL_PLACE_NAME")] - REAL_ESTATE_POSTAL_PLACE_NAME = 291, + REAL_ESTATE_POSTAL_PLACE_NAME = 296, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_COUNTRY_CODE")] + REAL_ESTATE_COUNTRY_CODE = 297, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MUNICIPALITY_NO")] - REAL_ESTATE_MUNICIPALITY_NO = 292, + REAL_ESTATE_MUNICIPALITY_NO = 298, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MUNICIPALITY_NAME")] - REAL_ESTATE_MUNICIPALITY_NAME = 293, + REAL_ESTATE_MUNICIPALITY_NAME = 299, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_CADASTRAL_UNIT_NO")] - REAL_ESTATE_CADASTRAL_UNIT_NO = 294, + REAL_ESTATE_CADASTRAL_UNIT_NO = 300, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PROPERTY_UNIT_NO")] - REAL_ESTATE_PROPERTY_UNIT_NO = 295, + REAL_ESTATE_PROPERTY_UNIT_NO = 301, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_LEASEHOLD_NO")] - REAL_ESTATE_LEASEHOLD_NO = 296, + REAL_ESTATE_LEASEHOLD_NO = 302, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SECTION_NO")] - REAL_ESTATE_SECTION_NO = 297, + REAL_ESTATE_SECTION_NO = 303, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE")] - REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE = 298, + REAL_ESTATE_OWNERSHIP_SHARE_PERCENTAGE = 304, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PREV_YEAR_ASSET_VALUE")] - REAL_ESTATE_PREV_YEAR_ASSET_VALUE = 299, + REAL_ESTATE_PREV_YEAR_ASSET_VALUE = 305, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_YEARLY")] - REAL_ESTATE_EXPENSES_YEARLY = 300, + REAL_ESTATE_EXPENSES_YEARLY = 306, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY")] - REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY = 301, + REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY = 307, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY")] - REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY = 302, + REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY = 308, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DATE_DOCUMENTED")] - REAL_ESTATE_DATE_DOCUMENTED = 303, + REAL_ESTATE_DATE_DOCUMENTED = 309, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MARKET_VALUE_MANUAL")] - REAL_ESTATE_MARKET_VALUE_MANUAL = 304, + REAL_ESTATE_MARKET_VALUE_MANUAL = 310, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MARKET_VALUE_CALCULATED")] - REAL_ESTATE_MARKET_VALUE_CALCULATED = 305, + REAL_ESTATE_MARKET_VALUE_CALCULATED = 311, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_USE_VALUE_MARKET")] - REAL_ESTATE_USE_VALUE_MARKET = 306, + REAL_ESTATE_USE_VALUE_MARKET = 312, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_DWELLING_TYPE")] - REAL_ESTATE_DWELLING_TYPE = 307, + REAL_ESTATE_DWELLING_TYPE = 313, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_TYPE")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_TYPE = 314, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_NAME")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_NAME = 315, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_ORG_NO")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_ORG_NO = 316, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_SHARE_NO")] + REAL_ESTATE_ASSOCIATION_OR_COOPERATIVE_DWELLING_OWNERSHIP_SHARE_NO = 317, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE")] - REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE = 308, + REAL_ESTATE_PRIMARY_SECONDARY_DWELLING_TYPE = 318, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_CONSTRUCTION_YEAR")] - REAL_ESTATE_CONSTRUCTION_YEAR = 309, + REAL_ESTATE_CONSTRUCTION_YEAR = 319, - [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SELF_OWNED_DWELLING_CALCULATED_MARKET_VALUE")] - REAL_ESTATE_SELF_OWNED_DWELLING_CALCULATED_MARKET_VALUE = 310, + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_SELF_OWNED_OR_COOPERATIVE_DWELLING_CALCULATED_MARKET_VALUE")] + REAL_ESTATE_SELF_OWNED_OR_COOPERATIVE_DWELLING_CALCULATED_MARKET_VALUE = 320, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_AREA_TOTAL")] - REAL_ESTATE_RENTAL_AREA_TOTAL = 311, + REAL_ESTATE_RENTAL_AREA_TOTAL = 321, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_PERIOD_MONTHS")] - REAL_ESTATE_RENTAL_PERIOD_MONTHS = 312, + REAL_ESTATE_RENTAL_PERIOD_MONTHS = 322, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED")] - REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED = 313, + REAL_ESTATE_RENTAL_INCOME_TOTAL_CALCULATED = 323, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR")] - REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR = 314, + REAL_ESTATE_RENTAL_GROSS_ANNUAL_PREV_YEAR = 324, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO")] - REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO = 315, + REAL_ESTATE_RENTAL_GROSS_ANNUAL_PRIOR_YEAR_TWO = 325, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_ASSET_VALUE_BASE")] - REAL_ESTATE_RENTAL_ASSET_VALUE_BASE = 316, + REAL_ESTATE_RENTAL_ASSET_VALUE_BASE = 326, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_RENTAL_GROSS_INCOME")] - REAL_ESTATE_RENTAL_GROSS_INCOME = 317, + REAL_ESTATE_RENTAL_GROSS_INCOME = 327, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL")] - REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL = 318, + REAL_ESTATE_PREV_YEAR_ASSET_VALUE_MANUAL = 328, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_YEARLY_MANUAL = 319, + REAL_ESTATE_EXPENSES_YEARLY_MANUAL = 329, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL = 320, + REAL_ESTATE_EXPENSES_FARM_HOUSE_YEARLY_MANUAL = 330, [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL")] - REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL = 321, + REAL_ESTATE_EXPENSES_OTHER_PROPERTY_YEARLY_MANUAL = 331, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_ROW_ID")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_ROW_ID = 332, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_NO")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_NO = 333, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_AREA")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_AREA = 334, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_CONSTRUCTION_YEAR")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_CONSTRUCTION_YEAR = 335, + + [System.Runtime.Serialization.EnumMember(Value = @"REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_VALUE")] + REAL_ESTATE_MULTI_UNIT_BUILDING_UNIT_VALUE = 336, [System.Runtime.Serialization.EnumMember(Value = @"YEARLY_DIVIDEND")] - YEARLY_DIVIDEND = 322, + YEARLY_DIVIDEND = 337, + + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_CREDIT")] + DIVIDEND_CREDIT = 338, + + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_SECURITY_OFFERED")] + DIVIDEND_SECURITY_OFFERED = 339, + + [System.Runtime.Serialization.EnumMember(Value = @"DIVIDEND_DISPOSITIONS")] + DIVIDEND_DISPOSITIONS = 340, } @@ -134813,23 +137214,32 @@ public enum PersonalIncomePostType [System.Runtime.Serialization.EnumMember(Value = @"BUSINESS_TYPE_DESCRIPTION")] BUSINESS_TYPE_DESCRIPTION = 15, + [System.Runtime.Serialization.EnumMember(Value = @"INDUSTRY_TYPE")] + INDUSTRY_TYPE = 16, + + [System.Runtime.Serialization.EnumMember(Value = @"INCOME_AMOUNT_FROM_PROFIT_AND_LOSS_ACCOUNT")] + INCOME_AMOUNT_FROM_PROFIT_AND_LOSS_ACCOUNT = 17, + + [System.Runtime.Serialization.EnumMember(Value = @"DEDUCTED_AMOUNT_FROM_PROFIT_AND_LOSS_ACCOUNT")] + DEDUCTED_AMOUNT_FROM_PROFIT_AND_LOSS_ACCOUNT = 18, + [System.Runtime.Serialization.EnumMember(Value = @"DISTRIBUTE_INCOME")] - DISTRIBUTE_INCOME = 16, + DISTRIBUTE_INCOME = 19, [System.Runtime.Serialization.EnumMember(Value = @"NEGATIVE_PERSONAL_INCOME_PREVIOUS_YEAR_SPOUSE")] - NEGATIVE_PERSONAL_INCOME_PREVIOUS_YEAR_SPOUSE = 17, + NEGATIVE_PERSONAL_INCOME_PREVIOUS_YEAR_SPOUSE = 20, [System.Runtime.Serialization.EnumMember(Value = @"COORDINATION_ENK_SPOUSE")] - COORDINATION_ENK_SPOUSE = 18, + COORDINATION_ENK_SPOUSE = 21, [System.Runtime.Serialization.EnumMember(Value = @"COORDINATION_ANS_DA_SPOUSE")] - COORDINATION_ANS_DA_SPOUSE = 19, + COORDINATION_ANS_DA_SPOUSE = 22, [System.Runtime.Serialization.EnumMember(Value = @"COORDINATION_LOTT_SPOUSE")] - COORDINATION_LOTT_SPOUSE = 20, + COORDINATION_LOTT_SPOUSE = 23, [System.Runtime.Serialization.EnumMember(Value = @"NEGATIVE_PERSONAL_INCOME_CARRIED_FORWARD_NEXT_YEAR_SPOUSE")] - NEGATIVE_PERSONAL_INCOME_CARRIED_FORWARD_NEXT_YEAR_SPOUSE = 21, + NEGATIVE_PERSONAL_INCOME_CARRIED_FORWARD_NEXT_YEAR_SPOUSE = 24, } @@ -135075,6 +137485,41 @@ public FileParameter(System.IO.Stream data, string fileName, string contentType) public string ContentType { get; private set; } } + [System.CodeDom.Compiler.GeneratedCode("NSwag", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")] + public partial class FileResponse : System.IDisposable + { + private System.IDisposable _client; + private System.IDisposable _response; + + public int StatusCode { get; private set; } + + public System.Collections.Generic.IReadOnlyDictionary> Headers { get; private set; } + + public System.IO.Stream Stream { get; private set; } + + public bool IsPartial + { + get { return StatusCode == 206; } + } + + public FileResponse(int statusCode, System.Collections.Generic.IReadOnlyDictionary> headers, System.IO.Stream stream, System.IDisposable client, System.IDisposable response) + { + StatusCode = statusCode; + Headers = headers; + Stream = stream; + _client = client; + _response = response; + } + + public void Dispose() + { + Stream.Dispose(); + if (_response != null) + _response.Dispose(); + if (_client != null) + _client.Dispose(); + } + } [System.CodeDom.Compiler.GeneratedCode("NSwag", "13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v12.0.0.0))")]