From 688f6228c04bd31c429efed8041b6cb201b986f1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Sep 2023 11:26:27 +0100 Subject: [PATCH] ci: regenerated with OpenAPI Doc prealpha, Speakeay CLI 1.83.2 (#60) Co-authored-by: speakeasybot --- .../CodatSyncExpenses/Accounts.cs | 2 +- .../CodatSyncExpenses.csproj | 2 +- .../CodatSyncExpenses/CodatSyncExpensesSDK.cs | 2 +- .../CodatSyncExpenses/Companies.cs | 2 +- .../CodatSyncExpenses/Configuration.cs | 2 +- .../CodatSyncExpenses/Connections.cs | 2 +- .../CodatSyncExpenses/Customers.cs | 2 +- .../CodatSyncExpenses/Expenses.cs | 2 +- .../CodatSyncExpenses/ManageData.cs | 2 +- .../Models/Shared/AccountingAddressType.cs | 57 ++++++++ .../Models/Shared/CompanyConfiguration.cs | 23 ++++ .../Models/Shared/Contact.cs | 75 +++++++++++ .../Models/Shared/ContactPhone.cs | 32 +++++ .../Models/Shared/CreateCustomerResponse.cs | 13 ++ .../Models/Shared/CreateSupplierResponse.cs | 10 ++ .../Models/Shared/Customer.cs | 105 ++++++++++++++- .../Models/Shared/CustomerStatus.cs | 57 ++++++++ .../CodatSyncExpenses/Models/Shared/Items.cs | 62 +++++++++ .../Models/Shared/Metadata.cs | 26 ++++ .../Models/Shared/PhoneNumberType.cs | 61 +++++++++ .../Models/Shared/SupplementalData.cs | 32 +++++ .../Models/Shared/Supplier.cs | 87 ++++++++++++- .../Shared/SupplierAccountingAddress.cs | 62 +++++++++ .../Models/Shared/SupplierStatus.cs | 57 ++++++++ .../Models/Shared/SupplierSupplementalData.cs | 32 +++++ .../Models/Shared/UpdateCustomerResponse.cs | 13 ++ .../Models/Shared/UpdateSupplierResponse.cs | 10 ++ .../CodatSyncExpenses/PushOperations.cs | 2 +- .../CodatSyncExpenses/Suppliers.cs | 2 +- sync-for-expenses/CodatSyncExpenses/Sync.cs | 2 +- .../CodatSyncExpenses/TransactionStatus.cs | 2 +- sync-for-expenses/RELEASES.md | 12 +- .../models/shared/AccountingAddressType.md | 12 ++ .../models/shared/CompanyConfiguration.md | 10 +- .../docs/models/shared/Contact.md | 13 ++ .../docs/models/shared/ContactPhone.md | 9 ++ .../models/shared/CreateCustomerResponse.md | 2 +- .../models/shared/CreateSupplierResponse.md | 2 +- .../docs/models/shared/Customer.md | 29 ++++- .../docs/models/shared/CustomerStatus.md | 12 ++ sync-for-expenses/docs/models/shared/Items.md | 14 ++ .../docs/models/shared/Metadata.md | 8 ++ .../docs/models/shared/PhoneNumberType.md | 14 ++ .../docs/models/shared/SupplementalData.md | 12 ++ .../docs/models/shared/Supplier.md | 25 +++- .../shared/SupplierAccountingAddress.md | 14 ++ .../docs/models/shared/SupplierStatus.md | 12 ++ .../models/shared/SupplierSupplementalData.md | 12 ++ .../models/shared/UpdateCustomerResponse.md | 2 +- .../models/shared/UpdateSupplierResponse.md | 2 +- .../docs/sdks/configuration/README.md | 89 ++++++++++++- .../docs/sdks/connections/README.md | 6 +- .../docs/sdks/customers/README.md | 122 +++++++++++++++++- .../docs/sdks/expenses/README.md | 10 +- .../docs/sdks/managedata/README.md | 4 +- .../docs/sdks/pushoperations/README.md | 4 +- .../docs/sdks/suppliers/README.md | 74 ++++++++++- sync-for-expenses/docs/sdks/sync/README.md | 2 +- sync-for-expenses/files.gen | 22 ++++ sync-for-expenses/gen.yaml | 4 +- 60 files changed, 1332 insertions(+), 61 deletions(-) create mode 100755 sync-for-expenses/CodatSyncExpenses/Models/Shared/AccountingAddressType.cs create mode 100755 sync-for-expenses/CodatSyncExpenses/Models/Shared/Contact.cs create mode 100755 sync-for-expenses/CodatSyncExpenses/Models/Shared/ContactPhone.cs create mode 100755 sync-for-expenses/CodatSyncExpenses/Models/Shared/CustomerStatus.cs create mode 100755 sync-for-expenses/CodatSyncExpenses/Models/Shared/Items.cs create mode 100755 sync-for-expenses/CodatSyncExpenses/Models/Shared/Metadata.cs create mode 100755 sync-for-expenses/CodatSyncExpenses/Models/Shared/PhoneNumberType.cs create mode 100755 sync-for-expenses/CodatSyncExpenses/Models/Shared/SupplementalData.cs create mode 100755 sync-for-expenses/CodatSyncExpenses/Models/Shared/SupplierAccountingAddress.cs create mode 100755 sync-for-expenses/CodatSyncExpenses/Models/Shared/SupplierStatus.cs create mode 100755 sync-for-expenses/CodatSyncExpenses/Models/Shared/SupplierSupplementalData.cs create mode 100755 sync-for-expenses/docs/models/shared/AccountingAddressType.md create mode 100755 sync-for-expenses/docs/models/shared/Contact.md create mode 100755 sync-for-expenses/docs/models/shared/ContactPhone.md create mode 100755 sync-for-expenses/docs/models/shared/CustomerStatus.md create mode 100755 sync-for-expenses/docs/models/shared/Items.md create mode 100755 sync-for-expenses/docs/models/shared/Metadata.md create mode 100755 sync-for-expenses/docs/models/shared/PhoneNumberType.md create mode 100755 sync-for-expenses/docs/models/shared/SupplementalData.md create mode 100755 sync-for-expenses/docs/models/shared/SupplierAccountingAddress.md create mode 100755 sync-for-expenses/docs/models/shared/SupplierStatus.md create mode 100755 sync-for-expenses/docs/models/shared/SupplierSupplementalData.md diff --git a/sync-for-expenses/CodatSyncExpenses/Accounts.cs b/sync-for-expenses/CodatSyncExpenses/Accounts.cs index d2751a833..d4238ba20 100755 --- a/sync-for-expenses/CodatSyncExpenses/Accounts.cs +++ b/sync-for-expenses/CodatSyncExpenses/Accounts.cs @@ -28,7 +28,7 @@ public class AccountsSDK: IAccountsSDK { public SDKConfig Config { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.6.0"; + private const string _sdkVersion = "0.7.0"; private const string _sdkGenVersion = "2.109.3"; private const string _openapiDocVersion = "prealpha"; private string _serverUrl = ""; diff --git a/sync-for-expenses/CodatSyncExpenses/CodatSyncExpenses.csproj b/sync-for-expenses/CodatSyncExpenses/CodatSyncExpenses.csproj index cdf0695b2..2ede65db1 100755 --- a/sync-for-expenses/CodatSyncExpenses/CodatSyncExpenses.csproj +++ b/sync-for-expenses/CodatSyncExpenses/CodatSyncExpenses.csproj @@ -2,7 +2,7 @@ true Codat.Sync.Expenses - 0.6.0 + 0.7.0 Codat net6.0 enable diff --git a/sync-for-expenses/CodatSyncExpenses/CodatSyncExpensesSDK.cs b/sync-for-expenses/CodatSyncExpenses/CodatSyncExpensesSDK.cs index fbd40ec36..b3ce352fd 100755 --- a/sync-for-expenses/CodatSyncExpenses/CodatSyncExpensesSDK.cs +++ b/sync-for-expenses/CodatSyncExpenses/CodatSyncExpensesSDK.cs @@ -45,7 +45,7 @@ public class CodatSyncExpensesSDK: ICodatSyncExpensesSDK }; private const string _language = "csharp"; - private const string _sdkVersion = "0.6.0"; + private const string _sdkVersion = "0.7.0"; private const string _sdkGenVersion = "2.109.3"; private const string _openapiDocVersion = "prealpha"; private string _serverUrl = ""; diff --git a/sync-for-expenses/CodatSyncExpenses/Companies.cs b/sync-for-expenses/CodatSyncExpenses/Companies.cs index 5ecd7ee3b..3f8dd7cde 100755 --- a/sync-for-expenses/CodatSyncExpenses/Companies.cs +++ b/sync-for-expenses/CodatSyncExpenses/Companies.cs @@ -32,7 +32,7 @@ public class CompaniesSDK: ICompaniesSDK { public SDKConfig Config { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.6.0"; + private const string _sdkVersion = "0.7.0"; private const string _sdkGenVersion = "2.109.3"; private const string _openapiDocVersion = "prealpha"; private string _serverUrl = ""; diff --git a/sync-for-expenses/CodatSyncExpenses/Configuration.cs b/sync-for-expenses/CodatSyncExpenses/Configuration.cs index b18bbab26..9ed249598 100755 --- a/sync-for-expenses/CodatSyncExpenses/Configuration.cs +++ b/sync-for-expenses/CodatSyncExpenses/Configuration.cs @@ -30,7 +30,7 @@ public class ConfigurationSDK: IConfigurationSDK { public SDKConfig Config { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.6.0"; + private const string _sdkVersion = "0.7.0"; private const string _sdkGenVersion = "2.109.3"; private const string _openapiDocVersion = "prealpha"; private string _serverUrl = ""; diff --git a/sync-for-expenses/CodatSyncExpenses/Connections.cs b/sync-for-expenses/CodatSyncExpenses/Connections.cs index 89574b1cc..a562b13b3 100755 --- a/sync-for-expenses/CodatSyncExpenses/Connections.cs +++ b/sync-for-expenses/CodatSyncExpenses/Connections.cs @@ -33,7 +33,7 @@ public class ConnectionsSDK: IConnectionsSDK { public SDKConfig Config { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.6.0"; + private const string _sdkVersion = "0.7.0"; private const string _sdkGenVersion = "2.109.3"; private const string _openapiDocVersion = "prealpha"; private string _serverUrl = ""; diff --git a/sync-for-expenses/CodatSyncExpenses/Customers.cs b/sync-for-expenses/CodatSyncExpenses/Customers.cs index 44b2fa8aa..bb2ef91d0 100755 --- a/sync-for-expenses/CodatSyncExpenses/Customers.cs +++ b/sync-for-expenses/CodatSyncExpenses/Customers.cs @@ -31,7 +31,7 @@ public class CustomersSDK: ICustomersSDK { public SDKConfig Config { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.6.0"; + private const string _sdkVersion = "0.7.0"; private const string _sdkGenVersion = "2.109.3"; private const string _openapiDocVersion = "prealpha"; private string _serverUrl = ""; diff --git a/sync-for-expenses/CodatSyncExpenses/Expenses.cs b/sync-for-expenses/CodatSyncExpenses/Expenses.cs index 31e109393..de6b922c3 100755 --- a/sync-for-expenses/CodatSyncExpenses/Expenses.cs +++ b/sync-for-expenses/CodatSyncExpenses/Expenses.cs @@ -30,7 +30,7 @@ public class ExpensesSDK: IExpensesSDK { public SDKConfig Config { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.6.0"; + private const string _sdkVersion = "0.7.0"; private const string _sdkGenVersion = "2.109.3"; private const string _openapiDocVersion = "prealpha"; private string _serverUrl = ""; diff --git a/sync-for-expenses/CodatSyncExpenses/ManageData.cs b/sync-for-expenses/CodatSyncExpenses/ManageData.cs index 7181868d6..16800aa14 100755 --- a/sync-for-expenses/CodatSyncExpenses/ManageData.cs +++ b/sync-for-expenses/CodatSyncExpenses/ManageData.cs @@ -33,7 +33,7 @@ public class ManageDataSDK: IManageDataSDK { public SDKConfig Config { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.6.0"; + private const string _sdkVersion = "0.7.0"; private const string _sdkGenVersion = "2.109.3"; private const string _openapiDocVersion = "prealpha"; private string _serverUrl = ""; diff --git a/sync-for-expenses/CodatSyncExpenses/Models/Shared/AccountingAddressType.cs b/sync-for-expenses/CodatSyncExpenses/Models/Shared/AccountingAddressType.cs new file mode 100755 index 000000000..89eb15551 --- /dev/null +++ b/sync-for-expenses/CodatSyncExpenses/Models/Shared/AccountingAddressType.cs @@ -0,0 +1,57 @@ + +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace CodatSyncExpenses.Models.Shared +{ + using Newtonsoft.Json; + using System; + + + /// + /// The type of the address + /// + public enum AccountingAddressType + { + [JsonProperty("Unknown")] + Unknown, + [JsonProperty("Billing")] + Billing, + [JsonProperty("Delivery")] + Delivery, + } + + public static class AccountingAddressTypeExtension + { + public static string Value(this AccountingAddressType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString())[0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static AccountingAddressType ToEnum(this string value) + { + foreach(var field in typeof(AccountingAddressType).GetFields()) + { + var attribute = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0] as JsonPropertyAttribute; + if (attribute != null && attribute.PropertyName == value) + { + var enumVal = field.GetValue(null); + + if (enumVal is AccountingAddressType) + { + return (AccountingAddressType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum AccountingAddressType"); + } + } + +} \ No newline at end of file diff --git a/sync-for-expenses/CodatSyncExpenses/Models/Shared/CompanyConfiguration.cs b/sync-for-expenses/CodatSyncExpenses/Models/Shared/CompanyConfiguration.cs index 71a5faa67..ddded3370 100755 --- a/sync-for-expenses/CodatSyncExpenses/Models/Shared/CompanyConfiguration.cs +++ b/sync-for-expenses/CodatSyncExpenses/Models/Shared/CompanyConfiguration.cs @@ -18,9 +18,32 @@ public class CompanyConfiguration [JsonProperty("bankAccount")] public BankAccount BankAccount { get; set; } = default!; + /// + /// > View the coverage for customers in the Data coverage explorer. + /// + /// + /// + /// ## Overview + /// + /// A customer is a person or organisation that buys goods or services. From the Customers endpoints, you can retrieve a [list of all the customers of a company](https://api.codat.io/swagger/index.html#/Customers/get_companies__companyId__data_customers). + /// + /// Customers' data links to accounts receivable [invoices](https://docs.codat.io/accounting-api#/schemas/Invoice). + /// + /// + /// [JsonProperty("customer")] public Customer Customer { get; set; } = default!; + /// + /// > View the coverage for suppliers in the Data coverage explorer. + /// + /// + /// + /// ## Overview + /// + /// From the **Suppliers** endpoints, you can retrieve a list of [all the suppliers for a company](https://docs.codat.io/accounting-api#/operations/list-suppliers). Suppliers' data links to accounts payable [bills](https://docs.codat.io/accounting-api#/schemas/Bill). + /// + /// [JsonProperty("supplier")] public Supplier Supplier { get; set; } = default!; diff --git a/sync-for-expenses/CodatSyncExpenses/Models/Shared/Contact.cs b/sync-for-expenses/CodatSyncExpenses/Models/Shared/Contact.cs new file mode 100755 index 000000000..b57c9d6e2 --- /dev/null +++ b/sync-for-expenses/CodatSyncExpenses/Models/Shared/Contact.cs @@ -0,0 +1,75 @@ + +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace CodatSyncExpenses.Models.Shared +{ + using Newtonsoft.Json; + using System.Collections.Generic; + + + public class Contact + { + [JsonProperty("address")] + public Items? Address { get; set; } + + /// + /// Email of a contact for a customer. + /// + [JsonProperty("email")] + public string? Email { get; set; } + + /// + /// In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example: + /// + /// + /// + /// ``` + /// 2020-10-08T22:40:50Z + /// 2021-01-01T00:00:00 + /// ``` + /// + /// + /// + /// When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information: + /// + /// - Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z` + /// - Unqualified local time: `2021-11-15T01:00:00` + /// - UTC time offsets: `2021-11-15T01:00:00-05:00` + /// + /// > Time zones + /// > + /// > Not all dates from Codat will contain information about time zones. + /// > Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. + /// + /// + [JsonProperty("modifiedDate")] + public string? ModifiedDate { get; set; } + + /// + /// Name of a contact for a customer. + /// + [JsonProperty("name")] + public string? Name { get; set; } + + /// + /// An array of Phone numbers. + /// + [JsonProperty("phone")] + public List? Phone { get; set; } + + /// + /// Status of customer. + /// + [JsonProperty("status")] + public CustomerStatus Status { get; set; } = default!; + + } + +} \ No newline at end of file diff --git a/sync-for-expenses/CodatSyncExpenses/Models/Shared/ContactPhone.cs b/sync-for-expenses/CodatSyncExpenses/Models/Shared/ContactPhone.cs new file mode 100755 index 000000000..51c7d3e48 --- /dev/null +++ b/sync-for-expenses/CodatSyncExpenses/Models/Shared/ContactPhone.cs @@ -0,0 +1,32 @@ + +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace CodatSyncExpenses.Models.Shared +{ + using Newtonsoft.Json; + + + public class ContactPhone + { + /// + /// A phone number. + /// + [JsonProperty("number")] + public string Number { get; set; } = default!; + + /// + /// The type of phone number + /// + [JsonProperty("type")] + public PhoneNumberType Type { get; set; } = default!; + + } + +} \ No newline at end of file diff --git a/sync-for-expenses/CodatSyncExpenses/Models/Shared/CreateCustomerResponse.cs b/sync-for-expenses/CodatSyncExpenses/Models/Shared/CreateCustomerResponse.cs index ee5a121c6..dd29fa5aa 100755 --- a/sync-for-expenses/CodatSyncExpenses/Models/Shared/CreateCustomerResponse.cs +++ b/sync-for-expenses/CodatSyncExpenses/Models/Shared/CreateCustomerResponse.cs @@ -56,6 +56,19 @@ public class CreateCustomerResponse [JsonProperty("completedOnUtc")] public string? CompletedOnUtc { get; set; } + /// + /// > View the coverage for customers in the Data coverage explorer. + /// + /// + /// + /// ## Overview + /// + /// A customer is a person or organisation that buys goods or services. From the Customers endpoints, you can retrieve a [list of all the customers of a company](https://api.codat.io/swagger/index.html#/Customers/get_companies__companyId__data_customers). + /// + /// Customers' data links to accounts receivable [invoices](https://docs.codat.io/accounting-api#/schemas/Invoice). + /// + /// + /// [JsonProperty("data")] public Customer? Data { get; set; } diff --git a/sync-for-expenses/CodatSyncExpenses/Models/Shared/CreateSupplierResponse.cs b/sync-for-expenses/CodatSyncExpenses/Models/Shared/CreateSupplierResponse.cs index 11fc079b9..40a2dcabe 100755 --- a/sync-for-expenses/CodatSyncExpenses/Models/Shared/CreateSupplierResponse.cs +++ b/sync-for-expenses/CodatSyncExpenses/Models/Shared/CreateSupplierResponse.cs @@ -56,6 +56,16 @@ public class CreateSupplierResponse [JsonProperty("completedOnUtc")] public string? CompletedOnUtc { get; set; } + /// + /// > View the coverage for suppliers in the Data coverage explorer. + /// + /// + /// + /// ## Overview + /// + /// From the **Suppliers** endpoints, you can retrieve a list of [all the suppliers for a company](https://docs.codat.io/accounting-api#/operations/list-suppliers). Suppliers' data links to accounts payable [bills](https://docs.codat.io/accounting-api#/schemas/Bill). + /// + /// [JsonProperty("data")] public Supplier? Data { get; set; } diff --git a/sync-for-expenses/CodatSyncExpenses/Models/Shared/Customer.cs b/sync-for-expenses/CodatSyncExpenses/Models/Shared/Customer.cs index b05082943..b35a147c7 100755 --- a/sync-for-expenses/CodatSyncExpenses/Models/Shared/Customer.cs +++ b/sync-for-expenses/CodatSyncExpenses/Models/Shared/Customer.cs @@ -11,16 +11,119 @@ namespace CodatSyncExpenses.Models.Shared { using Newtonsoft.Json; + using System.Collections.Generic; + /// + /// > View the coverage for customers in the Data coverage explorer. + /// + /// + /// + /// ## Overview + /// + /// A customer is a person or organisation that buys goods or services. From the Customers endpoints, you can retrieve a [list of all the customers of a company](https://api.codat.io/swagger/index.html#/Customers/get_companies__companyId__data_customers). + /// + /// Customers' data links to accounts receivable [invoices](https://docs.codat.io/accounting-api#/schemas/Invoice). + /// + /// + /// public class Customer { /// - /// id of the customer for all income related activities to be associated to. + /// An array of Addresses. + /// + [JsonProperty("addresses")] + public List? Addresses { get; set; } + + /// + /// Name of the main contact for the identified customer. + /// + [JsonProperty("contactName")] + public string? ContactName { get; set; } + + /// + /// An array of Contacts. + /// + [JsonProperty("contacts")] + public List? Contacts { get; set; } + + /// + /// Name of the customer as recorded in the accounting system, typically the company name. + /// + [JsonProperty("customerName")] + public string? CustomerName { get; set; } + + /// + /// The currency data type in Codat is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, e.g. _GBP_. + /// + /// + /// + /// ## Unknown currencies + /// + /// In line with the ISO 4217 specification, the code _XXX_ is used when the data source does not return a currency for a transaction. + /// + /// There are only a very small number of edge cases where this currency code is returned by the Codat system. + /// + /// + [JsonProperty("defaultCurrency")] + public string? DefaultCurrency { get; set; } + + /// + /// Email address the customer can be contacted by. + /// + [JsonProperty("emailAddress")] + public string? EmailAddress { get; set; } + + /// + /// Identifier for the customer, unique to the company in the accounting platform. /// [JsonProperty("id")] public string? Id { get; set; } + [JsonProperty("metadata")] + public Metadata? Metadata { get; set; } + + [JsonProperty("modifiedDate")] + public string? ModifiedDate { get; set; } + + /// + /// Phone number the customer can be contacted by. + /// + [JsonProperty("phone")] + public string? Phone { get; set; } + + /// + /// Company number. In the UK, this is typically the Companies House company registration number. + /// + [JsonProperty("registrationNumber")] + public string? RegistrationNumber { get; set; } + + [JsonProperty("sourceModifiedDate")] + public string? SourceModifiedDate { get; set; } + + /// + /// Status of customer. + /// + [JsonProperty("status")] + public CustomerStatus Status { get; set; } = default!; + + /// + /// Supplemental data is additional data you can include in our standard data types. + /// + /// + /// + /// It is referenced as a configured dynamic key value pair that is unique to the accounting platform. [Learn more](https://docs.codat.io/using-the-api/supplemental-data/overview) about supplemental data. + /// + /// + [JsonProperty("supplementalData")] + public SupplementalData? SupplementalData { get; set; } + + /// + /// Company tax number. + /// + [JsonProperty("taxNumber")] + public string? TaxNumber { get; set; } + } } \ No newline at end of file diff --git a/sync-for-expenses/CodatSyncExpenses/Models/Shared/CustomerStatus.cs b/sync-for-expenses/CodatSyncExpenses/Models/Shared/CustomerStatus.cs new file mode 100755 index 000000000..8d950bc1d --- /dev/null +++ b/sync-for-expenses/CodatSyncExpenses/Models/Shared/CustomerStatus.cs @@ -0,0 +1,57 @@ + +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace CodatSyncExpenses.Models.Shared +{ + using Newtonsoft.Json; + using System; + + + /// + /// Status of customer. + /// + public enum CustomerStatus + { + [JsonProperty("Unknown")] + Unknown, + [JsonProperty("Active")] + Active, + [JsonProperty("Archived")] + Archived, + } + + public static class CustomerStatusExtension + { + public static string Value(this CustomerStatus value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString())[0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static CustomerStatus ToEnum(this string value) + { + foreach(var field in typeof(CustomerStatus).GetFields()) + { + var attribute = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0] as JsonPropertyAttribute; + if (attribute != null && attribute.PropertyName == value) + { + var enumVal = field.GetValue(null); + + if (enumVal is CustomerStatus) + { + return (CustomerStatus)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum CustomerStatus"); + } + } + +} \ No newline at end of file diff --git a/sync-for-expenses/CodatSyncExpenses/Models/Shared/Items.cs b/sync-for-expenses/CodatSyncExpenses/Models/Shared/Items.cs new file mode 100755 index 000000000..a2b38aeb9 --- /dev/null +++ b/sync-for-expenses/CodatSyncExpenses/Models/Shared/Items.cs @@ -0,0 +1,62 @@ + +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace CodatSyncExpenses.Models.Shared +{ + using Newtonsoft.Json; + + + public class Items + { + /// + /// City of the customer address. + /// + [JsonProperty("city")] + public string? City { get; set; } + + /// + /// Country of the customer address. + /// + [JsonProperty("country")] + public string? Country { get; set; } + + /// + /// Line 1 of the customer address. + /// + [JsonProperty("line1")] + public string? Line1 { get; set; } + + /// + /// Line 2 of the customer address. + /// + [JsonProperty("line2")] + public string? Line2 { get; set; } + + /// + /// Postal code or zip code. + /// + [JsonProperty("postalCode")] + public string? PostalCode { get; set; } + + /// + /// Region of the customer address. + /// + [JsonProperty("region")] + public string? Region { get; set; } + + /// + /// The type of the address + /// + [JsonProperty("type")] + public AccountingAddressType Type { get; set; } = default!; + + } + +} \ No newline at end of file diff --git a/sync-for-expenses/CodatSyncExpenses/Models/Shared/Metadata.cs b/sync-for-expenses/CodatSyncExpenses/Models/Shared/Metadata.cs new file mode 100755 index 000000000..407d6fdd8 --- /dev/null +++ b/sync-for-expenses/CodatSyncExpenses/Models/Shared/Metadata.cs @@ -0,0 +1,26 @@ + +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace CodatSyncExpenses.Models.Shared +{ + using Newtonsoft.Json; + + + public class Metadata + { + /// + /// Indicates whether the record has been deleted in the third-party system this record originated from. + /// + [JsonProperty("isDeleted")] + public bool? IsDeleted { get; set; } + + } + +} \ No newline at end of file diff --git a/sync-for-expenses/CodatSyncExpenses/Models/Shared/PhoneNumberType.cs b/sync-for-expenses/CodatSyncExpenses/Models/Shared/PhoneNumberType.cs new file mode 100755 index 000000000..8c56f809c --- /dev/null +++ b/sync-for-expenses/CodatSyncExpenses/Models/Shared/PhoneNumberType.cs @@ -0,0 +1,61 @@ + +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace CodatSyncExpenses.Models.Shared +{ + using Newtonsoft.Json; + using System; + + + /// + /// The type of phone number + /// + public enum PhoneNumberType + { + [JsonProperty("Primary")] + Primary, + [JsonProperty("Landline")] + Landline, + [JsonProperty("Mobile")] + Mobile, + [JsonProperty("Fax")] + Fax, + [JsonProperty("Unknown")] + Unknown, + } + + public static class PhoneNumberTypeExtension + { + public static string Value(this PhoneNumberType value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString())[0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static PhoneNumberType ToEnum(this string value) + { + foreach(var field in typeof(PhoneNumberType).GetFields()) + { + var attribute = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0] as JsonPropertyAttribute; + if (attribute != null && attribute.PropertyName == value) + { + var enumVal = field.GetValue(null); + + if (enumVal is PhoneNumberType) + { + return (PhoneNumberType)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum PhoneNumberType"); + } + } + +} \ No newline at end of file diff --git a/sync-for-expenses/CodatSyncExpenses/Models/Shared/SupplementalData.cs b/sync-for-expenses/CodatSyncExpenses/Models/Shared/SupplementalData.cs new file mode 100755 index 000000000..907a1f2e9 --- /dev/null +++ b/sync-for-expenses/CodatSyncExpenses/Models/Shared/SupplementalData.cs @@ -0,0 +1,32 @@ + +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace CodatSyncExpenses.Models.Shared +{ + using Newtonsoft.Json; + using System.Collections.Generic; + + + /// + /// Supplemental data is additional data you can include in our standard data types. + /// + /// + /// + /// It is referenced as a configured dynamic key value pair that is unique to the accounting platform. [Learn more](https://docs.codat.io/using-the-api/supplemental-data/overview) about supplemental data. + /// + /// + public class SupplementalData + { + [JsonProperty("content")] + public Dictionary>? Content { get; set; } + + } + +} \ No newline at end of file diff --git a/sync-for-expenses/CodatSyncExpenses/Models/Shared/Supplier.cs b/sync-for-expenses/CodatSyncExpenses/Models/Shared/Supplier.cs index 35a0eb056..32f457be6 100755 --- a/sync-for-expenses/CodatSyncExpenses/Models/Shared/Supplier.cs +++ b/sync-for-expenses/CodatSyncExpenses/Models/Shared/Supplier.cs @@ -11,16 +11,101 @@ namespace CodatSyncExpenses.Models.Shared { using Newtonsoft.Json; + using System.Collections.Generic; + /// + /// > View the coverage for suppliers in the Data coverage explorer. + /// + /// + /// + /// ## Overview + /// + /// From the **Suppliers** endpoints, you can retrieve a list of [all the suppliers for a company](https://docs.codat.io/accounting-api#/operations/list-suppliers). Suppliers' data links to accounts payable [bills](https://docs.codat.io/accounting-api#/schemas/Bill). + /// + /// public class Supplier { /// - /// id of the supplier for all purchases to be associated to + /// An array of Addresses. + /// + [JsonProperty("addresses")] + public List? Addresses { get; set; } + + /// + /// Name of the main contact for the supplier. + /// + [JsonProperty("contactName")] + public string? ContactName { get; set; } + + /// + /// Default currency the supplier's transactional data is recorded in. + /// + [JsonProperty("defaultCurrency")] + public string? DefaultCurrency { get; set; } + + /// + /// Email address that the supplier may be contacted on. + /// + [JsonProperty("emailAddress")] + public string? EmailAddress { get; set; } + + /// + /// Identifier for the supplier, unique to the company in the accounting platform. /// [JsonProperty("id")] public string? Id { get; set; } + [JsonProperty("metadata")] + public Metadata? Metadata { get; set; } + + [JsonProperty("modifiedDate")] + public string? ModifiedDate { get; set; } + + /// + /// Phone number that the supplier may be contacted on. + /// + [JsonProperty("phone")] + public string? Phone { get; set; } + + /// + /// Company number of the supplier. In the UK, this is typically the company registration number issued by Companies House. + /// + [JsonProperty("registrationNumber")] + public string? RegistrationNumber { get; set; } + + [JsonProperty("sourceModifiedDate")] + public string? SourceModifiedDate { get; set; } + + /// + /// Status of the supplier. + /// + [JsonProperty("status")] + public SupplierStatus Status { get; set; } = default!; + + /// + /// Supplemental data is additional data you can include in our standard data types. + /// + /// + /// + /// It is referenced as a configured dynamic key value pair that is unique to the accounting platform. [Learn more](https://docs.codat.io/using-the-api/supplemental-data/overview) about supplemental data. + /// + /// + [JsonProperty("supplementalData")] + public SupplierSupplementalData? SupplementalData { get; set; } + + /// + /// Name of the supplier as recorded in the accounting system, typically the company name. + /// + [JsonProperty("supplierName")] + public string? SupplierName { get; set; } + + /// + /// Supplier's company tax number. + /// + [JsonProperty("taxNumber")] + public string? TaxNumber { get; set; } + } } \ No newline at end of file diff --git a/sync-for-expenses/CodatSyncExpenses/Models/Shared/SupplierAccountingAddress.cs b/sync-for-expenses/CodatSyncExpenses/Models/Shared/SupplierAccountingAddress.cs new file mode 100755 index 000000000..14316e425 --- /dev/null +++ b/sync-for-expenses/CodatSyncExpenses/Models/Shared/SupplierAccountingAddress.cs @@ -0,0 +1,62 @@ + +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace CodatSyncExpenses.Models.Shared +{ + using Newtonsoft.Json; + + + public class SupplierAccountingAddress + { + /// + /// City of the customer address. + /// + [JsonProperty("city")] + public string? City { get; set; } + + /// + /// Country of the customer address. + /// + [JsonProperty("country")] + public string? Country { get; set; } + + /// + /// Line 1 of the customer address. + /// + [JsonProperty("line1")] + public string? Line1 { get; set; } + + /// + /// Line 2 of the customer address. + /// + [JsonProperty("line2")] + public string? Line2 { get; set; } + + /// + /// Postal code or zip code. + /// + [JsonProperty("postalCode")] + public string? PostalCode { get; set; } + + /// + /// Region of the customer address. + /// + [JsonProperty("region")] + public string? Region { get; set; } + + /// + /// The type of the address + /// + [JsonProperty("type")] + public AccountingAddressType Type { get; set; } = default!; + + } + +} \ No newline at end of file diff --git a/sync-for-expenses/CodatSyncExpenses/Models/Shared/SupplierStatus.cs b/sync-for-expenses/CodatSyncExpenses/Models/Shared/SupplierStatus.cs new file mode 100755 index 000000000..abf59f029 --- /dev/null +++ b/sync-for-expenses/CodatSyncExpenses/Models/Shared/SupplierStatus.cs @@ -0,0 +1,57 @@ + +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace CodatSyncExpenses.Models.Shared +{ + using Newtonsoft.Json; + using System; + + + /// + /// Status of the supplier. + /// + public enum SupplierStatus + { + [JsonProperty("Unknown")] + Unknown, + [JsonProperty("Active")] + Active, + [JsonProperty("Archived")] + Archived, + } + + public static class SupplierStatusExtension + { + public static string Value(this SupplierStatus value) + { + return ((JsonPropertyAttribute)value.GetType().GetMember(value.ToString())[0].GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0]).PropertyName ?? value.ToString(); + } + + public static SupplierStatus ToEnum(this string value) + { + foreach(var field in typeof(SupplierStatus).GetFields()) + { + var attribute = field.GetCustomAttributes(typeof(JsonPropertyAttribute), false)[0] as JsonPropertyAttribute; + if (attribute != null && attribute.PropertyName == value) + { + var enumVal = field.GetValue(null); + + if (enumVal is SupplierStatus) + { + return (SupplierStatus)enumVal; + } + } + } + + throw new Exception($"Unknown value {value} for enum SupplierStatus"); + } + } + +} \ No newline at end of file diff --git a/sync-for-expenses/CodatSyncExpenses/Models/Shared/SupplierSupplementalData.cs b/sync-for-expenses/CodatSyncExpenses/Models/Shared/SupplierSupplementalData.cs new file mode 100755 index 000000000..9a5c9f3ca --- /dev/null +++ b/sync-for-expenses/CodatSyncExpenses/Models/Shared/SupplierSupplementalData.cs @@ -0,0 +1,32 @@ + +//------------------------------------------------------------------------------ +// +// This code was generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. +// +// Changes to this file may cause incorrect behavior and will be lost when +// the code is regenerated. +// +//------------------------------------------------------------------------------ +#nullable enable +namespace CodatSyncExpenses.Models.Shared +{ + using Newtonsoft.Json; + using System.Collections.Generic; + + + /// + /// Supplemental data is additional data you can include in our standard data types. + /// + /// + /// + /// It is referenced as a configured dynamic key value pair that is unique to the accounting platform. [Learn more](https://docs.codat.io/using-the-api/supplemental-data/overview) about supplemental data. + /// + /// + public class SupplierSupplementalData + { + [JsonProperty("content")] + public Dictionary>? Content { get; set; } + + } + +} \ No newline at end of file diff --git a/sync-for-expenses/CodatSyncExpenses/Models/Shared/UpdateCustomerResponse.cs b/sync-for-expenses/CodatSyncExpenses/Models/Shared/UpdateCustomerResponse.cs index 2a3a5da44..47f209e37 100755 --- a/sync-for-expenses/CodatSyncExpenses/Models/Shared/UpdateCustomerResponse.cs +++ b/sync-for-expenses/CodatSyncExpenses/Models/Shared/UpdateCustomerResponse.cs @@ -56,6 +56,19 @@ public class UpdateCustomerResponse [JsonProperty("completedOnUtc")] public string? CompletedOnUtc { get; set; } + /// + /// > View the coverage for customers in the Data coverage explorer. + /// + /// + /// + /// ## Overview + /// + /// A customer is a person or organisation that buys goods or services. From the Customers endpoints, you can retrieve a [list of all the customers of a company](https://api.codat.io/swagger/index.html#/Customers/get_companies__companyId__data_customers). + /// + /// Customers' data links to accounts receivable [invoices](https://docs.codat.io/accounting-api#/schemas/Invoice). + /// + /// + /// [JsonProperty("data")] public Customer? Data { get; set; } diff --git a/sync-for-expenses/CodatSyncExpenses/Models/Shared/UpdateSupplierResponse.cs b/sync-for-expenses/CodatSyncExpenses/Models/Shared/UpdateSupplierResponse.cs index 77a737843..e7eda72d7 100755 --- a/sync-for-expenses/CodatSyncExpenses/Models/Shared/UpdateSupplierResponse.cs +++ b/sync-for-expenses/CodatSyncExpenses/Models/Shared/UpdateSupplierResponse.cs @@ -56,6 +56,16 @@ public class UpdateSupplierResponse [JsonProperty("completedOnUtc")] public string? CompletedOnUtc { get; set; } + /// + /// > View the coverage for suppliers in the Data coverage explorer. + /// + /// + /// + /// ## Overview + /// + /// From the **Suppliers** endpoints, you can retrieve a list of [all the suppliers for a company](https://docs.codat.io/accounting-api#/operations/list-suppliers). Suppliers' data links to accounts payable [bills](https://docs.codat.io/accounting-api#/schemas/Bill). + /// + /// [JsonProperty("data")] public Supplier? Data { get; set; } diff --git a/sync-for-expenses/CodatSyncExpenses/PushOperations.cs b/sync-for-expenses/CodatSyncExpenses/PushOperations.cs index 5ac7add9d..0b7ed3b70 100755 --- a/sync-for-expenses/CodatSyncExpenses/PushOperations.cs +++ b/sync-for-expenses/CodatSyncExpenses/PushOperations.cs @@ -29,7 +29,7 @@ public class PushOperationsSDK: IPushOperationsSDK { public SDKConfig Config { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.6.0"; + private const string _sdkVersion = "0.7.0"; private const string _sdkGenVersion = "2.109.3"; private const string _openapiDocVersion = "prealpha"; private string _serverUrl = ""; diff --git a/sync-for-expenses/CodatSyncExpenses/Suppliers.cs b/sync-for-expenses/CodatSyncExpenses/Suppliers.cs index b3bf6dec1..78af1ead8 100755 --- a/sync-for-expenses/CodatSyncExpenses/Suppliers.cs +++ b/sync-for-expenses/CodatSyncExpenses/Suppliers.cs @@ -31,7 +31,7 @@ public class SuppliersSDK: ISuppliersSDK { public SDKConfig Config { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.6.0"; + private const string _sdkVersion = "0.7.0"; private const string _sdkGenVersion = "2.109.3"; private const string _openapiDocVersion = "prealpha"; private string _serverUrl = ""; diff --git a/sync-for-expenses/CodatSyncExpenses/Sync.cs b/sync-for-expenses/CodatSyncExpenses/Sync.cs index f5a5d0042..a373ece53 100755 --- a/sync-for-expenses/CodatSyncExpenses/Sync.cs +++ b/sync-for-expenses/CodatSyncExpenses/Sync.cs @@ -33,7 +33,7 @@ public class SyncSDK: ISyncSDK { public SDKConfig Config { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.6.0"; + private const string _sdkVersion = "0.7.0"; private const string _sdkGenVersion = "2.109.3"; private const string _openapiDocVersion = "prealpha"; private string _serverUrl = ""; diff --git a/sync-for-expenses/CodatSyncExpenses/TransactionStatus.cs b/sync-for-expenses/CodatSyncExpenses/TransactionStatus.cs index 0c67b0f2a..1fd7ffc7a 100755 --- a/sync-for-expenses/CodatSyncExpenses/TransactionStatus.cs +++ b/sync-for-expenses/CodatSyncExpenses/TransactionStatus.cs @@ -29,7 +29,7 @@ public class TransactionStatusSDK: ITransactionStatusSDK { public SDKConfig Config { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.6.0"; + private const string _sdkVersion = "0.7.0"; private const string _sdkGenVersion = "2.109.3"; private const string _openapiDocVersion = "prealpha"; private string _serverUrl = ""; diff --git a/sync-for-expenses/RELEASES.md b/sync-for-expenses/RELEASES.md index 4781557b0..7c1396f23 100644 --- a/sync-for-expenses/RELEASES.md +++ b/sync-for-expenses/RELEASES.md @@ -50,4 +50,14 @@ Based on: ### Generated - [csharp v0.6.0] sync-for-expenses ### Releases -- [NuGet v0.6.0] https://www.nuget.org/packages/Codat.Sync.Expenses/0.6.0 - sync-for-expenses \ No newline at end of file +- [NuGet v0.6.0] https://www.nuget.org/packages/Codat.Sync.Expenses/0.6.0 - sync-for-expenses + +## 2023-09-14 10:12:33 +### Changes +Based on: +- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Expenses.yaml +- Speakeasy CLI 1.83.2 (2.109.3) https://github.com/speakeasy-api/speakeasy +### Generated +- [csharp v0.7.0] sync-for-expenses +### Releases +- [NuGet v0.7.0] https://www.nuget.org/packages/Codat.Sync.Expenses/0.7.0 - sync-for-expenses \ No newline at end of file diff --git a/sync-for-expenses/docs/models/shared/AccountingAddressType.md b/sync-for-expenses/docs/models/shared/AccountingAddressType.md new file mode 100755 index 000000000..2c5f98c72 --- /dev/null +++ b/sync-for-expenses/docs/models/shared/AccountingAddressType.md @@ -0,0 +1,12 @@ +# AccountingAddressType + +The type of the address + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `Unknown` | Unknown | +| `Billing` | Billing | +| `Delivery` | Delivery | \ No newline at end of file diff --git a/sync-for-expenses/docs/models/shared/CompanyConfiguration.md b/sync-for-expenses/docs/models/shared/CompanyConfiguration.md index b34f82338..e7c5e1531 100755 --- a/sync-for-expenses/docs/models/shared/CompanyConfiguration.md +++ b/sync-for-expenses/docs/models/shared/CompanyConfiguration.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | -| `bankAccount` | [BankAccount](../../models/shared/BankAccount.md) | :heavy_check_mark: | N/A | -| `customer` | [Customer](../../models/shared/Customer.md) | :heavy_check_mark: | N/A | -| `supplier` | [Supplier](../../models/shared/Supplier.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `bankAccount` | [BankAccount](../../models/shared/BankAccount.md) | :heavy_check_mark: | N/A | +| `customer` | [Customer](../../models/shared/Customer.md) | :heavy_check_mark: | > View the coverage for customers in the Data coverage explorer.

## Overview

A customer is a person or organisation that buys goods or services. From the Customers endpoints, you can retrieve a [list of all the customers of a company](https://api.codat.io/swagger/index.html#/Customers/get_companies__companyId__data_customers).

Customers' data links to accounts receivable [invoices](https://docs.codat.io/accounting-api#/schemas/Invoice).
| +| `supplier` | [Supplier](../../models/shared/Supplier.md) | :heavy_check_mark: | > View the coverage for suppliers in the Data coverage explorer.

## Overview

From the **Suppliers** endpoints, you can retrieve a list of [all the suppliers for a company](https://docs.codat.io/accounting-api#/operations/list-suppliers). Suppliers' data links to accounts payable [bills](https://docs.codat.io/accounting-api#/schemas/Bill). | \ No newline at end of file diff --git a/sync-for-expenses/docs/models/shared/Contact.md b/sync-for-expenses/docs/models/shared/Contact.md new file mode 100755 index 000000000..aeff72a51 --- /dev/null +++ b/sync-for-expenses/docs/models/shared/Contact.md @@ -0,0 +1,13 @@ +# Contact + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `address` | [Items](../../models/shared/Items.md) | :heavy_minus_sign: | N/A | | +| `email` | *string* | :heavy_minus_sign: | Email of a contact for a customer. | | +| `modifiedDate` | *string* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:

```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```



When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:

- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`

> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z | +| `name` | *string* | :heavy_minus_sign: | Name of a contact for a customer. | | +| `phone` | List<[ContactPhone](../../models/shared/ContactPhone.md)> | :heavy_minus_sign: | An array of Phone numbers. | | +| `status` | [CustomerStatus](../../models/shared/CustomerStatus.md) | :heavy_check_mark: | Status of customer. | | \ No newline at end of file diff --git a/sync-for-expenses/docs/models/shared/ContactPhone.md b/sync-for-expenses/docs/models/shared/ContactPhone.md new file mode 100755 index 000000000..4a8bf0b3e --- /dev/null +++ b/sync-for-expenses/docs/models/shared/ContactPhone.md @@ -0,0 +1,9 @@ +# ContactPhone + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `number` | *string* | :heavy_check_mark: | A phone number. | +44 25691 154789 | +| `type` | [PhoneNumberType](../../models/shared/PhoneNumberType.md) | :heavy_check_mark: | The type of phone number | | \ No newline at end of file diff --git a/sync-for-expenses/docs/models/shared/CreateCustomerResponse.md b/sync-for-expenses/docs/models/shared/CreateCustomerResponse.md index 126f46423..3f4798c49 100755 --- a/sync-for-expenses/docs/models/shared/CreateCustomerResponse.md +++ b/sync-for-expenses/docs/models/shared/CreateCustomerResponse.md @@ -8,7 +8,7 @@ | `changes` | List<[PushOperationChange](../../models/shared/PushOperationChange.md)> | :heavy_minus_sign: | Contains a single entry that communicates which record has changed and the manner in which it changed. | | | `companyId` | *string* | :heavy_check_mark: | Unique identifier for your SMB in Codat. | 8a210b68-6988-11ed-a1eb-0242ac120002 | | `completedOnUtc` | *string* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:

```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```



When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:

- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`

> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z | -| `data` | [Customer](../../models/shared/Customer.md) | :heavy_minus_sign: | N/A | | +| `data` | [Customer](../../models/shared/Customer.md) | :heavy_minus_sign: | > View the coverage for customers in the Data coverage explorer.

## Overview

A customer is a person or organisation that buys goods or services. From the Customers endpoints, you can retrieve a [list of all the customers of a company](https://api.codat.io/swagger/index.html#/Customers/get_companies__companyId__data_customers).

Customers' data links to accounts receivable [invoices](https://docs.codat.io/accounting-api#/schemas/Invoice).
| | | `dataConnectionKey` | *string* | :heavy_check_mark: | Unique identifier for a company's data connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 | | `dataType` | [DataType](../../models/shared/DataType.md) | :heavy_minus_sign: | Available Data types | invoices | | `errorMessage` | *string* | :heavy_minus_sign: | N/A | | diff --git a/sync-for-expenses/docs/models/shared/CreateSupplierResponse.md b/sync-for-expenses/docs/models/shared/CreateSupplierResponse.md index 3b657b386..ceb23e45c 100755 --- a/sync-for-expenses/docs/models/shared/CreateSupplierResponse.md +++ b/sync-for-expenses/docs/models/shared/CreateSupplierResponse.md @@ -8,7 +8,7 @@ | `changes` | List<[PushOperationChange](../../models/shared/PushOperationChange.md)> | :heavy_minus_sign: | Contains a single entry that communicates which record has changed and the manner in which it changed. | | | `companyId` | *string* | :heavy_check_mark: | Unique identifier for your SMB in Codat. | 8a210b68-6988-11ed-a1eb-0242ac120002 | | `completedOnUtc` | *string* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:

```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```



When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:

- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`

> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z | -| `data` | [Supplier](../../models/shared/Supplier.md) | :heavy_minus_sign: | N/A | | +| `data` | [Supplier](../../models/shared/Supplier.md) | :heavy_minus_sign: | > View the coverage for suppliers in the Data coverage explorer.

## Overview

From the **Suppliers** endpoints, you can retrieve a list of [all the suppliers for a company](https://docs.codat.io/accounting-api#/operations/list-suppliers). Suppliers' data links to accounts payable [bills](https://docs.codat.io/accounting-api#/schemas/Bill). | | | `dataConnectionKey` | *string* | :heavy_check_mark: | Unique identifier for a company's data connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 | | `dataType` | [DataType](../../models/shared/DataType.md) | :heavy_minus_sign: | Available Data types | invoices | | `errorMessage` | *string* | :heavy_minus_sign: | N/A | | diff --git a/sync-for-expenses/docs/models/shared/Customer.md b/sync-for-expenses/docs/models/shared/Customer.md index b36b47cd4..d987f85ef 100755 --- a/sync-for-expenses/docs/models/shared/Customer.md +++ b/sync-for-expenses/docs/models/shared/Customer.md @@ -1,8 +1,31 @@ # Customer +> View the coverage for customers in the Data coverage explorer. + +## Overview + +A customer is a person or organisation that buys goods or services. From the Customers endpoints, you can retrieve a [list of all the customers of a company](https://api.codat.io/swagger/index.html#/Customers/get_companies__companyId__data_customers). + +Customers' data links to accounts receivable [invoices](https://docs.codat.io/accounting-api#/schemas/Invoice). + + ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | id of the customer for all income related activities to be associated to. | 142 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `addresses` | List<[Items](../../models/shared/Items.md)> | :heavy_minus_sign: | An array of Addresses. | | +| `contactName` | *string* | :heavy_minus_sign: | Name of the main contact for the identified customer. | | +| `contacts` | List<[Contact](../../models/shared/Contact.md)> | :heavy_minus_sign: | An array of Contacts. | | +| `customerName` | *string* | :heavy_minus_sign: | Name of the customer as recorded in the accounting system, typically the company name. | | +| `defaultCurrency` | *string* | :heavy_minus_sign: | The currency data type in Codat is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, e.g. _GBP_.

## Unknown currencies

In line with the ISO 4217 specification, the code _XXX_ is used when the data source does not return a currency for a transaction.

There are only a very small number of edge cases where this currency code is returned by the Codat system. | GBP | +| `emailAddress` | *string* | :heavy_minus_sign: | Email address the customer can be contacted by. | | +| `id` | *string* | :heavy_minus_sign: | Identifier for the customer, unique to the company in the accounting platform. | | +| `metadata` | [Metadata](../../models/shared/Metadata.md) | :heavy_minus_sign: | N/A | | +| `modifiedDate` | *string* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z | +| `phone` | *string* | :heavy_minus_sign: | Phone number the customer can be contacted by. | | +| `registrationNumber` | *string* | :heavy_minus_sign: | Company number. In the UK, this is typically the Companies House company registration number. | | +| `sourceModifiedDate` | *string* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z | +| `status` | [CustomerStatus](../../models/shared/CustomerStatus.md) | :heavy_check_mark: | Status of customer. | | +| `supplementalData` | [SupplementalData](../../models/shared/SupplementalData.md) | :heavy_minus_sign: | Supplemental data is additional data you can include in our standard data types.

It is referenced as a configured dynamic key value pair that is unique to the accounting platform. [Learn more](https://docs.codat.io/using-the-api/supplemental-data/overview) about supplemental data. | | +| `taxNumber` | *string* | :heavy_minus_sign: | Company tax number. | | \ No newline at end of file diff --git a/sync-for-expenses/docs/models/shared/CustomerStatus.md b/sync-for-expenses/docs/models/shared/CustomerStatus.md new file mode 100755 index 000000000..228196657 --- /dev/null +++ b/sync-for-expenses/docs/models/shared/CustomerStatus.md @@ -0,0 +1,12 @@ +# CustomerStatus + +Status of customer. + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `Unknown` | Unknown | +| `Active` | Active | +| `Archived` | Archived | \ No newline at end of file diff --git a/sync-for-expenses/docs/models/shared/Items.md b/sync-for-expenses/docs/models/shared/Items.md new file mode 100755 index 000000000..547dc5100 --- /dev/null +++ b/sync-for-expenses/docs/models/shared/Items.md @@ -0,0 +1,14 @@ +# Items + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `city` | *string* | :heavy_minus_sign: | City of the customer address. | +| `country` | *string* | :heavy_minus_sign: | Country of the customer address. | +| `line1` | *string* | :heavy_minus_sign: | Line 1 of the customer address. | +| `line2` | *string* | :heavy_minus_sign: | Line 2 of the customer address. | +| `postalCode` | *string* | :heavy_minus_sign: | Postal code or zip code. | +| `region` | *string* | :heavy_minus_sign: | Region of the customer address. | +| `type` | [AccountingAddressType](../../models/shared/AccountingAddressType.md) | :heavy_check_mark: | The type of the address | \ No newline at end of file diff --git a/sync-for-expenses/docs/models/shared/Metadata.md b/sync-for-expenses/docs/models/shared/Metadata.md new file mode 100755 index 000000000..72bdd487d --- /dev/null +++ b/sync-for-expenses/docs/models/shared/Metadata.md @@ -0,0 +1,8 @@ +# Metadata + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `isDeleted` | *bool* | :heavy_minus_sign: | Indicates whether the record has been deleted in the third-party system this record originated from. | \ No newline at end of file diff --git a/sync-for-expenses/docs/models/shared/PhoneNumberType.md b/sync-for-expenses/docs/models/shared/PhoneNumberType.md new file mode 100755 index 000000000..4d49c6915 --- /dev/null +++ b/sync-for-expenses/docs/models/shared/PhoneNumberType.md @@ -0,0 +1,14 @@ +# PhoneNumberType + +The type of phone number + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `Primary` | Primary | +| `Landline` | Landline | +| `Mobile` | Mobile | +| `Fax` | Fax | +| `Unknown` | Unknown | \ No newline at end of file diff --git a/sync-for-expenses/docs/models/shared/SupplementalData.md b/sync-for-expenses/docs/models/shared/SupplementalData.md new file mode 100755 index 000000000..6b986b745 --- /dev/null +++ b/sync-for-expenses/docs/models/shared/SupplementalData.md @@ -0,0 +1,12 @@ +# SupplementalData + +Supplemental data is additional data you can include in our standard data types. + +It is referenced as a configured dynamic key value pair that is unique to the accounting platform. [Learn more](https://docs.codat.io/using-the-api/supplemental-data/overview) about supplemental data. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `content` | Dictionary> | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/sync-for-expenses/docs/models/shared/Supplier.md b/sync-for-expenses/docs/models/shared/Supplier.md index b10a5e102..907977ae9 100755 --- a/sync-for-expenses/docs/models/shared/Supplier.md +++ b/sync-for-expenses/docs/models/shared/Supplier.md @@ -1,8 +1,27 @@ # Supplier +> View the coverage for suppliers in the Data coverage explorer. + +## Overview + +From the **Suppliers** endpoints, you can retrieve a list of [all the suppliers for a company](https://docs.codat.io/accounting-api#/operations/list-suppliers). Suppliers' data links to accounts payable [bills](https://docs.codat.io/accounting-api#/schemas/Bill). + ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `id` | *string* | :heavy_minus_sign: | id of the supplier for all purchases to be associated to | 124 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `addresses` | List<[SupplierAccountingAddress](../../models/shared/SupplierAccountingAddress.md)> | :heavy_minus_sign: | An array of Addresses. | | +| `contactName` | *string* | :heavy_minus_sign: | Name of the main contact for the supplier. | | +| `defaultCurrency` | *string* | :heavy_minus_sign: | Default currency the supplier's transactional data is recorded in. | | +| `emailAddress` | *string* | :heavy_minus_sign: | Email address that the supplier may be contacted on. | | +| `id` | *string* | :heavy_minus_sign: | Identifier for the supplier, unique to the company in the accounting platform. | | +| `metadata` | [Metadata](../../models/shared/Metadata.md) | :heavy_minus_sign: | N/A | | +| `modifiedDate` | *string* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z | +| `phone` | *string* | :heavy_minus_sign: | Phone number that the supplier may be contacted on. | +44 25691 154789 | +| `registrationNumber` | *string* | :heavy_minus_sign: | Company number of the supplier. In the UK, this is typically the company registration number issued by Companies House. | | +| `sourceModifiedDate` | *string* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z | +| `status` | [SupplierStatus](../../models/shared/SupplierStatus.md) | :heavy_check_mark: | Status of the supplier. | | +| `supplementalData` | [SupplierSupplementalData](../../models/shared/SupplierSupplementalData.md) | :heavy_minus_sign: | Supplemental data is additional data you can include in our standard data types.

It is referenced as a configured dynamic key value pair that is unique to the accounting platform. [Learn more](https://docs.codat.io/using-the-api/supplemental-data/overview) about supplemental data. | | +| `supplierName` | *string* | :heavy_minus_sign: | Name of the supplier as recorded in the accounting system, typically the company name. | | +| `taxNumber` | *string* | :heavy_minus_sign: | Supplier's company tax number. | | \ No newline at end of file diff --git a/sync-for-expenses/docs/models/shared/SupplierAccountingAddress.md b/sync-for-expenses/docs/models/shared/SupplierAccountingAddress.md new file mode 100755 index 000000000..683fb9486 --- /dev/null +++ b/sync-for-expenses/docs/models/shared/SupplierAccountingAddress.md @@ -0,0 +1,14 @@ +# SupplierAccountingAddress + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `city` | *string* | :heavy_minus_sign: | City of the customer address. | +| `country` | *string* | :heavy_minus_sign: | Country of the customer address. | +| `line1` | *string* | :heavy_minus_sign: | Line 1 of the customer address. | +| `line2` | *string* | :heavy_minus_sign: | Line 2 of the customer address. | +| `postalCode` | *string* | :heavy_minus_sign: | Postal code or zip code. | +| `region` | *string* | :heavy_minus_sign: | Region of the customer address. | +| `type` | [AccountingAddressType](../../models/shared/AccountingAddressType.md) | :heavy_check_mark: | The type of the address | \ No newline at end of file diff --git a/sync-for-expenses/docs/models/shared/SupplierStatus.md b/sync-for-expenses/docs/models/shared/SupplierStatus.md new file mode 100755 index 000000000..328b27e13 --- /dev/null +++ b/sync-for-expenses/docs/models/shared/SupplierStatus.md @@ -0,0 +1,12 @@ +# SupplierStatus + +Status of the supplier. + + +## Values + +| Name | Value | +| ---------- | ---------- | +| `Unknown` | Unknown | +| `Active` | Active | +| `Archived` | Archived | \ No newline at end of file diff --git a/sync-for-expenses/docs/models/shared/SupplierSupplementalData.md b/sync-for-expenses/docs/models/shared/SupplierSupplementalData.md new file mode 100755 index 000000000..30c53f6c1 --- /dev/null +++ b/sync-for-expenses/docs/models/shared/SupplierSupplementalData.md @@ -0,0 +1,12 @@ +# SupplierSupplementalData + +Supplemental data is additional data you can include in our standard data types. + +It is referenced as a configured dynamic key value pair that is unique to the accounting platform. [Learn more](https://docs.codat.io/using-the-api/supplemental-data/overview) about supplemental data. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `content` | Dictionary> | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/sync-for-expenses/docs/models/shared/UpdateCustomerResponse.md b/sync-for-expenses/docs/models/shared/UpdateCustomerResponse.md index 1f0f3ee04..180d6d098 100755 --- a/sync-for-expenses/docs/models/shared/UpdateCustomerResponse.md +++ b/sync-for-expenses/docs/models/shared/UpdateCustomerResponse.md @@ -8,7 +8,7 @@ | `changes` | List<[PushOperationChange](../../models/shared/PushOperationChange.md)> | :heavy_minus_sign: | Contains a single entry that communicates which record has changed and the manner in which it changed. | | | `companyId` | *string* | :heavy_check_mark: | Unique identifier for your SMB in Codat. | 8a210b68-6988-11ed-a1eb-0242ac120002 | | `completedOnUtc` | *string* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:

```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```



When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:

- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`

> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z | -| `data` | [Customer](../../models/shared/Customer.md) | :heavy_minus_sign: | N/A | | +| `data` | [Customer](../../models/shared/Customer.md) | :heavy_minus_sign: | > View the coverage for customers in the Data coverage explorer.

## Overview

A customer is a person or organisation that buys goods or services. From the Customers endpoints, you can retrieve a [list of all the customers of a company](https://api.codat.io/swagger/index.html#/Customers/get_companies__companyId__data_customers).

Customers' data links to accounts receivable [invoices](https://docs.codat.io/accounting-api#/schemas/Invoice).
| | | `dataConnectionKey` | *string* | :heavy_check_mark: | Unique identifier for a company's data connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 | | `dataType` | [DataType](../../models/shared/DataType.md) | :heavy_minus_sign: | Available Data types | invoices | | `errorMessage` | *string* | :heavy_minus_sign: | N/A | | diff --git a/sync-for-expenses/docs/models/shared/UpdateSupplierResponse.md b/sync-for-expenses/docs/models/shared/UpdateSupplierResponse.md index 7f389fcd1..23b1856f9 100755 --- a/sync-for-expenses/docs/models/shared/UpdateSupplierResponse.md +++ b/sync-for-expenses/docs/models/shared/UpdateSupplierResponse.md @@ -8,7 +8,7 @@ | `changes` | List<[PushOperationChange](../../models/shared/PushOperationChange.md)> | :heavy_minus_sign: | Contains a single entry that communicates which record has changed and the manner in which it changed. | | | `companyId` | *string* | :heavy_check_mark: | Unique identifier for your SMB in Codat. | 8a210b68-6988-11ed-a1eb-0242ac120002 | | `completedOnUtc` | *string* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:

```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```



When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:

- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`

> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z | -| `data` | [Supplier](../../models/shared/Supplier.md) | :heavy_minus_sign: | N/A | | +| `data` | [Supplier](../../models/shared/Supplier.md) | :heavy_minus_sign: | > View the coverage for suppliers in the Data coverage explorer.

## Overview

From the **Suppliers** endpoints, you can retrieve a list of [all the suppliers for a company](https://docs.codat.io/accounting-api#/operations/list-suppliers). Suppliers' data links to accounts payable [bills](https://docs.codat.io/accounting-api#/schemas/Bill). | | | `dataConnectionKey` | *string* | :heavy_check_mark: | Unique identifier for a company's data connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 | | `dataType` | [DataType](../../models/shared/DataType.md) | :heavy_minus_sign: | Available Data types | invoices | | `errorMessage` | *string* | :heavy_minus_sign: | N/A | | diff --git a/sync-for-expenses/docs/sdks/configuration/README.md b/sync-for-expenses/docs/sdks/configuration/README.md index 848b684de..cf937a999 100755 --- a/sync-for-expenses/docs/sdks/configuration/README.md +++ b/sync-for-expenses/docs/sdks/configuration/README.md @@ -105,10 +105,95 @@ var res = await sdk.Configuration.SetAsync(new SetCompanyConfigurationRequest() Id = "32", }, Customer = new Customer() { - Id = "142", + Addresses = new List() { + new Items() { + City = "Fort Donnybury", + Country = "Kyrgyz Republic", + Line1 = "minus", + Line2 = "placeat", + PostalCode = "45398-0306", + Region = "perferendis", + Type = CodatSyncExpenses.Models.Shared.AccountingAddressType.Billing, + }, + }, + ContactName = "repellendus", + Contacts = new List() { + new Contact() { + Address = new Items() { + City = "San Antonio", + Country = "Burundi", + Line1 = "at", + Line2 = "at", + PostalCode = "47845-7617", + Region = "officia", + Type = CodatSyncExpenses.Models.Shared.AccountingAddressType.Billing, + }, + Email = "Kale_Welch10@gmail.com", + ModifiedDate = "2022-10-23T00:00:00.000Z", + Name = "Pauline Dibbert", + Phone = new List() { + new ContactPhone() { + Number = "(877) 492-8687", + Type = CodatSyncExpenses.Models.Shared.PhoneNumberType.Landline, + }, + }, + Status = CodatSyncExpenses.Models.Shared.CustomerStatus.Active, + }, + }, + CustomerName = "aspernatur", + DefaultCurrency = "GBP", + EmailAddress = "ad", + Id = "929396fe-a759-46eb-90fa-aa2352c59559", + Metadata = new Metadata() { + IsDeleted = false, + }, + ModifiedDate = "2022-10-23T00:00:00.000Z", + Phone = "799.262.6196 x524", + RegistrationNumber = "quam", + SourceModifiedDate = "2022-10-23T00:00:00.000Z", + Status = CodatSyncExpenses.Models.Shared.CustomerStatus.Unknown, + SupplementalData = new SupplementalData() { + Content = new Dictionary>() { + { "error", new Dictionary() { + { "quia", "quis" }, + } }, + }, + }, + TaxNumber = "vitae", }, Supplier = new Supplier() { - Id = "124", + Addresses = new List() { + new SupplierAccountingAddress() { + City = "O'Konborough", + Country = "Burkina Faso", + Line1 = "quo", + Line2 = "sequi", + PostalCode = "36800-6860", + Region = "reiciendis", + Type = CodatSyncExpenses.Models.Shared.AccountingAddressType.Delivery, + }, + }, + ContactName = "vero", + DefaultCurrency = "nihil", + EmailAddress = "praesentium", + Id = "f097b007-4f15-4471-b5e6-e13b99d488e1", + Metadata = new Metadata() { + IsDeleted = false, + }, + ModifiedDate = "2022-10-23T00:00:00.000Z", + Phone = "(877) 492-8687", + RegistrationNumber = "veritatis", + SourceModifiedDate = "2022-10-23T00:00:00.000Z", + Status = CodatSyncExpenses.Models.Shared.SupplierStatus.Unknown, + SupplementalData = new SupplierSupplementalData() { + Content = new Dictionary>() { + { "enim", new Dictionary() { + { "consequatur", "est" }, + } }, + }, + }, + SupplierName = "quibusdam", + TaxNumber = "explicabo", }, }, CompanyId = "8a210b68-6988-11ed-a1eb-0242ac120002", diff --git a/sync-for-expenses/docs/sdks/connections/README.md b/sync-for-expenses/docs/sdks/connections/README.md index 5da8d87fd..4b4afbcd4 100755 --- a/sync-for-expenses/docs/sdks/connections/README.md +++ b/sync-for-expenses/docs/sdks/connections/README.md @@ -34,7 +34,7 @@ var sdk = new CodatSyncExpensesSDK( var res = await sdk.Connections.CreateAsync(new CreateConnectionRequest() { RequestBody = new CreateConnectionRequestBody() { - PlatformKey = "ipsa", + PlatformKey = "deserunt", }, CompanyId = "8a210b68-6988-11ed-a1eb-0242ac120002", }); @@ -187,7 +187,7 @@ var res = await sdk.Connections.ListAsync(new ListConnectionsRequest() { OrderBy = "-modifiedDate", Page = 1, PageSize = 100, - Query = "delectus", + Query = "distinctio", }); // handle response @@ -224,7 +224,7 @@ var sdk = new CodatSyncExpensesSDK( var res = await sdk.Connections.UnlinkAsync(new UnlinkConnectionRequest() { RequestBody = new UnlinkConnectionUpdateConnection() { - Status = CodatSyncExpenses.Models.Shared.DataConnectionStatus.Linked, + Status = CodatSyncExpenses.Models.Shared.DataConnectionStatus.Deauthorized, }, CompanyId = "8a210b68-6988-11ed-a1eb-0242ac120002", ConnectionId = "2e9d2c44-f675-40ba-8049-353bfcb5e171", diff --git a/sync-for-expenses/docs/sdks/customers/README.md b/sync-for-expenses/docs/sdks/customers/README.md index 1fe7373cf..a2be71b26 100755 --- a/sync-for-expenses/docs/sdks/customers/README.md +++ b/sync-for-expenses/docs/sdks/customers/README.md @@ -39,11 +39,65 @@ var sdk = new CodatSyncExpensesSDK( var res = await sdk.Customers.CreateAsync(new CreateCustomerRequest() { Customer = new Customer() { - Id = "142", + Addresses = new List() { + new Items() { + City = "West Christa", + Country = "Iceland", + Line1 = "cupiditate", + Line2 = "quos", + PostalCode = "18301", + Region = "dolorum", + Type = CodatSyncExpenses.Models.Shared.AccountingAddressType.Billing, + }, + }, + ContactName = "tempora", + Contacts = new List() { + new Contact() { + Address = new Items() { + City = "Riceboro", + Country = "Vanuatu", + Line1 = "eum", + Line2 = "non", + PostalCode = "53585-6289", + Region = "dolorum", + Type = CodatSyncExpenses.Models.Shared.AccountingAddressType.Billing, + }, + Email = "Rose.Wolff29@yahoo.com", + ModifiedDate = "2022-10-23T00:00:00.000Z", + Name = "Nathaniel Hyatt", + Phone = new List() { + new ContactPhone() { + Number = "+44 25691 154789", + Type = CodatSyncExpenses.Models.Shared.PhoneNumberType.Mobile, + }, + }, + Status = CodatSyncExpenses.Models.Shared.CustomerStatus.Unknown, + }, + }, + CustomerName = "accusamus", + DefaultCurrency = "EUR", + EmailAddress = "quidem", + Id = "9ba88f3a-6699-4707-8ba4-469b6e214195", + Metadata = new Metadata() { + IsDeleted = false, + }, + ModifiedDate = "2022-10-23T00:00:00.000Z", + Phone = "606-963-4281 x3049", + RegistrationNumber = "debitis", + SourceModifiedDate = "2022-10-23T00:00:00.000Z", + Status = CodatSyncExpenses.Models.Shared.CustomerStatus.Archived, + SupplementalData = new SupplementalData() { + Content = new Dictionary>() { + { "deleniti", new Dictionary() { + { "facilis", "in" }, + } }, + }, + }, + TaxNumber = "architecto", }, CompanyId = "8a210b68-6988-11ed-a1eb-0242ac120002", ConnectionId = "2e9d2c44-f675-40ba-8049-353bfcb5e171", - TimeoutInMinutes = 383441, + TimeoutInMinutes = 99569, }); // handle response @@ -87,7 +141,7 @@ var sdk = new CodatSyncExpensesSDK( var res = await sdk.Customers.GetAsync(new GetCustomerRequest() { CompanyId = "8a210b68-6988-11ed-a1eb-0242ac120002", - CustomerId = "molestiae", + CustomerId = "repudiandae", }); // handle response @@ -132,7 +186,7 @@ var res = await sdk.Customers.ListAsync(new ListCustomersRequest() { OrderBy = "-modifiedDate", Page = 1, PageSize = 100, - Query = "minus", + Query = "ullam", }); // handle response @@ -178,13 +232,67 @@ var sdk = new CodatSyncExpensesSDK( var res = await sdk.Customers.UpdateAsync(new UpdateCustomerRequest() { Customer = new Customer() { - Id = "142", + Addresses = new List() { + new Items() { + City = "Kossworth", + Country = "Sudan", + Line1 = "sed", + Line2 = "saepe", + PostalCode = "01561-1788", + Region = "maxime", + Type = CodatSyncExpenses.Models.Shared.AccountingAddressType.Billing, + }, + }, + ContactName = "excepturi", + Contacts = new List() { + new Contact() { + Address = new Items() { + City = "South Alexanneton", + Country = "Wallis and Futuna", + Line1 = "quidem", + Line2 = "ipsam", + PostalCode = "47083", + Region = "voluptatibus", + Type = CodatSyncExpenses.Models.Shared.AccountingAddressType.Unknown, + }, + Email = "Darian.Anderson94@hotmail.com", + ModifiedDate = "2022-10-23T00:00:00.000Z", + Name = "Ernest Hayes", + Phone = new List() { + new ContactPhone() { + Number = "+44 25691 154789", + Type = CodatSyncExpenses.Models.Shared.PhoneNumberType.Landline, + }, + }, + Status = CodatSyncExpenses.Models.Shared.CustomerStatus.Unknown, + }, + }, + CustomerName = "eos", + DefaultCurrency = "GBP", + EmailAddress = "dolores", + Id = "c73d5fe9-b90c-4289-89b3-fe49a8d9cbf4", + Metadata = new Metadata() { + IsDeleted = false, + }, + ModifiedDate = "2022-10-23T00:00:00.000Z", + Phone = "1-322-329-5744 x926", + RegistrationNumber = "numquam", + SourceModifiedDate = "2022-10-23T00:00:00.000Z", + Status = CodatSyncExpenses.Models.Shared.CustomerStatus.Unknown, + SupplementalData = new SupplementalData() { + Content = new Dictionary>() { + { "ipsa", new Dictionary() { + { "iure", "odio" }, + } }, + }, + }, + TaxNumber = "quaerat", }, CompanyId = "8a210b68-6988-11ed-a1eb-0242ac120002", ConnectionId = "2e9d2c44-f675-40ba-8049-353bfcb5e171", - CustomerId = "placeat", + CustomerId = "accusamus", ForceUpdate = false, - TimeoutInMinutes = 528895, + TimeoutInMinutes = 696344, }); // handle response diff --git a/sync-for-expenses/docs/sdks/expenses/README.md b/sync-for-expenses/docs/sdks/expenses/README.md index ccf3e027b..cfe2aa023 100755 --- a/sync-for-expenses/docs/sdks/expenses/README.md +++ b/sync-for-expenses/docs/sdks/expenses/README.md @@ -39,7 +39,7 @@ var res = await sdk.Expenses.CreateAsync(new CreateExpenseTransactionRequest() { Id = "40e3e57c-2322-4898-966c-ca41adfd23fd", }, Currency = "GBP", - CurrencyRate = 4799.77M, + CurrencyRate = 9764.05M, Id = "4d7c6929-7770-412b-91bb-44d3bc71d111", IssueDate = "2022-10-23T00:00:00.000Z", Lines = new List() { @@ -110,7 +110,7 @@ var res = await sdk.Expenses.UpdateAsync(new UpdateExpenseTransactionRequest() { Id = "40e3e57c-2322-4898-966c-ca41adfd23fd", }, Currency = "GBP", - CurrencyRate = 3927.85M, + CurrencyRate = 6176.58M, IssueDate = "2022-06-28T00:00:00.000Z", Lines = new List() { new ExpenseTransactionLine() { @@ -131,7 +131,7 @@ var res = await sdk.Expenses.UpdateAsync(new UpdateExpenseTransactionRequest() { }, MerchantName = "Amazon UK", Notes = "APPLE.COM/BILL - 09001077498 - Card Ending: 4590", - Type = "recusandae", + Type = "eos", }, CompanyId = "8a210b68-6988-11ed-a1eb-0242ac120002", TransactionId = "336694d8-2dca-4cb5-a28d-3ccb83e55eee", @@ -171,8 +171,8 @@ var sdk = new CodatSyncExpensesSDK( var res = await sdk.Expenses.UploadAttachmentAsync(new UploadExpenseAttachmentRequest() { RequestBody = new UploadExpenseAttachmentRequestBody() { - Content = "temporibus as bytes <<<>>>", - RequestBody = "ab", + Content = "atque as bytes <<<>>>", + RequestBody = "sit", }, CompanyId = "8a210b68-6988-11ed-a1eb-0242ac120002", SyncId = "6fb40d5e-b13e-11ed-afa1-0242ac120002", diff --git a/sync-for-expenses/docs/sdks/managedata/README.md b/sync-for-expenses/docs/sdks/managedata/README.md index a393dffe6..9a0c6c68b 100755 --- a/sync-for-expenses/docs/sdks/managedata/README.md +++ b/sync-for-expenses/docs/sdks/managedata/README.md @@ -107,7 +107,7 @@ var res = await sdk.ManageData.ListPullOperationsAsync(new ListPullOperationsReq OrderBy = "-modifiedDate", Page = 1, PageSize = 100, - Query = "quis", + Query = "fugiat", }); // handle response @@ -186,7 +186,7 @@ var sdk = new CodatSyncExpensesSDK( var res = await sdk.ManageData.RefreshDataTypeAsync(new RefreshDataTypeRequest() { CompanyId = "8a210b68-6988-11ed-a1eb-0242ac120002", - ConnectionId = "1a05dfc2-ddf7-4cc7-8ca1-ba928fc81674", + ConnectionId = "1ba77a89-ebf7-437a-a420-3ce5e6a95d8a", DataType = CodatSyncExpenses.Models.Shared.DataType.Invoices, }); diff --git a/sync-for-expenses/docs/sdks/pushoperations/README.md b/sync-for-expenses/docs/sdks/pushoperations/README.md index 78a1aaa99..482cfb303 100755 --- a/sync-for-expenses/docs/sdks/pushoperations/README.md +++ b/sync-for-expenses/docs/sdks/pushoperations/README.md @@ -28,7 +28,7 @@ var sdk = new CodatSyncExpensesSDK( var res = await sdk.PushOperations.GetAsync(new GetPushOperationRequest() { CompanyId = "8a210b68-6988-11ed-a1eb-0242ac120002", - PushOperationKey = "2cb73920-5929-4396-bea7-596eb10faaa2", + PushOperationKey = "0d446ce2-af7a-473c-b3be-453f870b326b", }); // handle response @@ -68,7 +68,7 @@ var res = await sdk.PushOperations.ListAsync(new ListPushOperationsRequest() { OrderBy = "-modifiedDate", Page = 1, PageSize = 100, - Query = "dolorem", + Query = "voluptas", }); // handle response diff --git a/sync-for-expenses/docs/sdks/suppliers/README.md b/sync-for-expenses/docs/sdks/suppliers/README.md index 7bc8d93b8..ec108ed7e 100755 --- a/sync-for-expenses/docs/sdks/suppliers/README.md +++ b/sync-for-expenses/docs/sdks/suppliers/README.md @@ -39,11 +39,42 @@ var sdk = new CodatSyncExpensesSDK( var res = await sdk.Suppliers.CreateAsync(new CreateSupplierRequest() { Supplier = new Supplier() { - Id = "124", + Addresses = new List() { + new SupplierAccountingAddress() { + City = "Kohlerberg", + Country = "Faroe Islands", + Line1 = "qui", + Line2 = "cupiditate", + PostalCode = "87165-2117", + Region = "facilis", + Type = CodatSyncExpenses.Models.Shared.AccountingAddressType.Billing, + }, + }, + ContactName = "quam", + DefaultCurrency = "molestias", + EmailAddress = "temporibus", + Id = "2322715b-f0cb-4b1e-b1b8-b90f3443a110", + Metadata = new Metadata() { + IsDeleted = false, + }, + ModifiedDate = "2022-10-23T00:00:00.000Z", + Phone = "01224 658 999", + RegistrationNumber = "consequatur", + SourceModifiedDate = "2022-10-23T00:00:00.000Z", + Status = CodatSyncExpenses.Models.Shared.SupplierStatus.Archived, + SupplementalData = new SupplierSupplementalData() { + Content = new Dictionary>() { + { "porro", new Dictionary() { + { "doloribus", "ut" }, + } }, + }, + }, + SupplierName = "facilis", + TaxNumber = "cupiditate", }, CompanyId = "8a210b68-6988-11ed-a1eb-0242ac120002", ConnectionId = "2e9d2c44-f675-40ba-8049-353bfcb5e171", - TimeoutInMinutes = 358152, + TimeoutInMinutes = 181631, }); // handle response @@ -132,7 +163,7 @@ var res = await sdk.Suppliers.ListAsync(new ListSuppliersRequest() { OrderBy = "-modifiedDate", Page = 1, PageSize = 100, - Query = "nobis", + Query = "laudantium", }); // handle response @@ -178,13 +209,44 @@ var sdk = new CodatSyncExpensesSDK( var res = await sdk.Suppliers.UpdateAsync(new UpdateSupplierRequest() { Supplier = new Supplier() { - Id = "124", + Addresses = new List() { + new SupplierAccountingAddress() { + City = "Krisworth", + Country = "Senegal", + Line1 = "vero", + Line2 = "omnis", + PostalCode = "29428", + Region = "tenetur", + Type = CodatSyncExpenses.Models.Shared.AccountingAddressType.Billing, + }, + }, + ContactName = "hic", + DefaultCurrency = "distinctio", + EmailAddress = "quod", + Id = "7abd74dd-39c0-4f5d-acff-7c70a45626d4", + Metadata = new Metadata() { + IsDeleted = false, + }, + ModifiedDate = "2022-10-23T00:00:00.000Z", + Phone = "(877) 492-8687", + RegistrationNumber = "laudantium", + SourceModifiedDate = "2022-10-23T00:00:00.000Z", + Status = CodatSyncExpenses.Models.Shared.SupplierStatus.Unknown, + SupplementalData = new SupplierSupplementalData() { + Content = new Dictionary>() { + { "maiores", new Dictionary() { + { "quasi", "ex" }, + } }, + }, + }, + SupplierName = "nulla", + TaxNumber = "excepturi", }, CompanyId = "8a210b68-6988-11ed-a1eb-0242ac120002", ConnectionId = "2e9d2c44-f675-40ba-8049-353bfcb5e171", ForceUpdate = false, - SupplierId = "9wg4lep4ush5cxs79pl8sozmsndbaukll3ind4g7buqbm1h2", - TimeoutInMinutes = 607831, + SupplierId = "EILBDVJVNUAGVKRQ", + TimeoutInMinutes = 343605, }); // handle response diff --git a/sync-for-expenses/docs/sdks/sync/README.md b/sync-for-expenses/docs/sdks/sync/README.md index f790b2c48..3f3eb00e2 100755 --- a/sync-for-expenses/docs/sdks/sync/README.md +++ b/sync-for-expenses/docs/sdks/sync/README.md @@ -141,7 +141,7 @@ var sdk = new CodatSyncExpensesSDK( var res = await sdk.Sync.InitiateSyncAsync(new InitiateSyncRequest() { InitiateSync = new InitiateSync() { DatasetIds = new List() { - "55907aff-1a3a-42fa-9467-739251aa52c3", + "fce6c556-146c-43e2-90fb-008c42e141aa", }, }, CompanyId = "8a210b68-6988-11ed-a1eb-0242ac120002", diff --git a/sync-for-expenses/files.gen b/sync-for-expenses/files.gen index 607b1bcd6..cce3252ca 100755 --- a/sync-for-expenses/files.gen +++ b/sync-for-expenses/files.gen @@ -130,8 +130,19 @@ CodatSyncExpenses/Models/Shared/Companies.cs CodatSyncExpenses/Models/Shared/Links.cs CodatSyncExpenses/Models/Shared/HalRef.cs CodatSyncExpenses/Models/Shared/CompanyConfiguration.cs +CodatSyncExpenses/Models/Shared/SupplierAccountingAddress.cs +CodatSyncExpenses/Models/Shared/SupplierSupplementalData.cs CodatSyncExpenses/Models/Shared/Supplier.cs +CodatSyncExpenses/Models/Shared/SupplierStatus.cs +CodatSyncExpenses/Models/Shared/Metadata.cs +CodatSyncExpenses/Models/Shared/AccountingAddressType.cs CodatSyncExpenses/Models/Shared/Customer.cs +CodatSyncExpenses/Models/Shared/SupplementalData.cs +CodatSyncExpenses/Models/Shared/CustomerStatus.cs +CodatSyncExpenses/Models/Shared/ContactPhone.cs +CodatSyncExpenses/Models/Shared/Contact.cs +CodatSyncExpenses/Models/Shared/PhoneNumberType.cs +CodatSyncExpenses/Models/Shared/Items.cs CodatSyncExpenses/Models/Shared/BankAccount.cs CodatSyncExpenses/Models/Shared/MappingOptions.cs CodatSyncExpenses/Models/Shared/TrackingCategoryMappingInfo.cs @@ -302,8 +313,19 @@ docs/models/shared/Companies.md docs/models/shared/Links.md docs/models/shared/HalRef.md docs/models/shared/CompanyConfiguration.md +docs/models/shared/SupplierAccountingAddress.md +docs/models/shared/SupplierSupplementalData.md docs/models/shared/Supplier.md +docs/models/shared/SupplierStatus.md +docs/models/shared/Metadata.md +docs/models/shared/AccountingAddressType.md docs/models/shared/Customer.md +docs/models/shared/SupplementalData.md +docs/models/shared/CustomerStatus.md +docs/models/shared/ContactPhone.md +docs/models/shared/Contact.md +docs/models/shared/PhoneNumberType.md +docs/models/shared/Items.md docs/models/shared/BankAccount.md docs/models/shared/MappingOptions.md docs/models/shared/TrackingCategoryMappingInfo.md diff --git a/sync-for-expenses/gen.yaml b/sync-for-expenses/gen.yaml index 31f46883c..bb99c8639 100644 --- a/sync-for-expenses/gen.yaml +++ b/sync-for-expenses/gen.yaml @@ -1,6 +1,6 @@ configVersion: 1.0.0 management: - docChecksum: 99ebe2d8404dff82c77a51ebcd0892e8 + docChecksum: 8dbb339010a0bc08c6f46f0de7b59bb3 docVersion: prealpha speakeasyVersion: 1.83.2 generationVersion: 2.109.3 @@ -17,7 +17,7 @@ features: globalServerURLs: 2.82.0 nameOverrides: 2.81.1 csharp: - version: 0.6.0 + version: 0.7.0 author: Codat description: Push expenses to accounting platforms. dotnetVersion: net6.0