diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock
index 0cd530c8..bcc04be6 100644
--- a/.speakeasy/workflow.lock
+++ b/.speakeasy/workflow.lock
@@ -1,4 +1,4 @@
-speakeasyVersion: 1.423.5
+speakeasyVersion: 1.431.0
sources:
accounting-source:
sourceNamespace: accounting-source
@@ -9,8 +9,8 @@ sources:
- main
bank-feeds-source:
sourceNamespace: bank-feeds-source
- sourceRevisionDigest: sha256:4e8af09e166edeb95d268f2c1bb0d9d33401e55f5a50aedebbb6465dd005566f
- sourceBlobDigest: sha256:24d837ec7ccccb55559e6de16951a64c09874b48e5ca92b7af36ea0b95b0eac2
+ sourceRevisionDigest: sha256:a6479feafb8f4f49461fb9347578ab34619bcba818605cb5ab74f241dc1eb328
+ sourceBlobDigest: sha256:a490b555d6f186cd37f72a06e06ba49293a0f371d145db2d9913d5081ecfc5a2
tags:
- latest
- main
@@ -72,8 +72,8 @@ targets:
bank-feeds-library:
source: bank-feeds-source
sourceNamespace: bank-feeds-source
- sourceRevisionDigest: sha256:4e8af09e166edeb95d268f2c1bb0d9d33401e55f5a50aedebbb6465dd005566f
- sourceBlobDigest: sha256:24d837ec7ccccb55559e6de16951a64c09874b48e5ca92b7af36ea0b95b0eac2
+ sourceRevisionDigest: sha256:a6479feafb8f4f49461fb9347578ab34619bcba818605cb5ab74f241dc1eb328
+ sourceBlobDigest: sha256:a490b555d6f186cd37f72a06e06ba49293a0f371d145db2d9913d5081ecfc5a2
banking-library:
source: banking-source
sourceNamespace: banking-source
diff --git a/bank-feeds/.speakeasy/gen.lock b/bank-feeds/.speakeasy/gen.lock
index 9e6970b3..9958f563 100755
--- a/bank-feeds/.speakeasy/gen.lock
+++ b/bank-feeds/.speakeasy/gen.lock
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 1f92decd-6f40-4ee5-936f-9c85d706eb7e
management:
- docChecksum: 013890de98917d65fc592f4de8d32cf4
+ docChecksum: c57bceaa5f2d5b6d55426976a49ec69d
docVersion: 3.0.0
- speakeasyVersion: 1.396.7
- generationVersion: 2.415.6
- releaseVersion: 0.2.0
- configChecksum: 685ec54060496b7b1b5d96b3e495642c
+ speakeasyVersion: 1.431.0
+ generationVersion: 2.451.0
+ releaseVersion: 1.0.0
+ configChecksum: e9dddd187545257ee4cbe11d552f73a9
repoURL: https://github.com/codatio/client-sdk-java.git
repoSubDirectory: bank-feeds
published: true
@@ -14,7 +14,7 @@ features:
java:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.1
- core: 3.29.7
+ core: 3.30.7
decimal: 0.0.1
deprecations: 2.81.1
examples: 2.81.3
@@ -27,7 +27,8 @@ features:
nullables: 0.1.0
retries: 0.1.1
sdkHooks: 0.1.0
- unions: 0.0.5
+ tests: 0.1.0
+ unions: 0.0.6
webhooks: 1.0.0
generatedFiles:
- .gitattributes
@@ -63,6 +64,8 @@ generatedFiles:
- docs/models/components/Companies.md
- docs/models/components/Company.md
- docs/models/components/CompanyInformation.md
+ - docs/models/components/CompanyReference.md
+ - docs/models/components/CompanyReferenceLinks.md
- docs/models/components/CompanyRequestBody.md
- docs/models/components/CompanySyncStatus.md
- docs/models/components/Configuration.md
@@ -80,7 +83,6 @@ generatedFiles:
- docs/models/components/ErrorStatus.md
- docs/models/components/ErrorValidation.md
- docs/models/components/ErrorValidationItem.md
- - docs/models/components/GroupReference.md
- docs/models/components/HalRef.md
- docs/models/components/Links.md
- docs/models/components/Metadata.md
@@ -109,7 +111,6 @@ generatedFiles:
- docs/models/components/SyncAsBankFeeds.md
- docs/models/components/SyncAsExpenses.md
- docs/models/components/SyncConfiguration.md
- - docs/models/components/Tags.md
- docs/models/components/TargetAccountOption.md
- docs/models/components/Type.md
- docs/models/components/Validation.md
@@ -165,6 +166,7 @@ generatedFiles:
- docs/models/operations/ListCreateOperationsResponse.md
- docs/models/operations/ListSourceAccountsRequest.md
- docs/models/operations/ListSourceAccountsResponse.md
+ - docs/models/operations/ListSourceAccountsResponseBody.md
- docs/models/operations/SetConfigurationRequest.md
- docs/models/operations/SetConfigurationResponse.md
- docs/models/operations/UnlinkConnectionRequest.md
@@ -236,6 +238,8 @@ generatedFiles:
- src/main/java/io/codat/bank_feeds/models/components/Companies.java
- src/main/java/io/codat/bank_feeds/models/components/Company.java
- src/main/java/io/codat/bank_feeds/models/components/CompanyInformation.java
+ - src/main/java/io/codat/bank_feeds/models/components/CompanyReference.java
+ - src/main/java/io/codat/bank_feeds/models/components/CompanyReferenceLinks.java
- src/main/java/io/codat/bank_feeds/models/components/CompanyRequestBody.java
- src/main/java/io/codat/bank_feeds/models/components/CompanySyncStatus.java
- src/main/java/io/codat/bank_feeds/models/components/Configuration.java
@@ -253,7 +257,6 @@ generatedFiles:
- src/main/java/io/codat/bank_feeds/models/components/ErrorStatus.java
- src/main/java/io/codat/bank_feeds/models/components/ErrorValidation.java
- src/main/java/io/codat/bank_feeds/models/components/ErrorValidationItem.java
- - src/main/java/io/codat/bank_feeds/models/components/GroupReference.java
- src/main/java/io/codat/bank_feeds/models/components/HalRef.java
- src/main/java/io/codat/bank_feeds/models/components/Links.java
- src/main/java/io/codat/bank_feeds/models/components/Metadata.java
@@ -282,7 +285,6 @@ generatedFiles:
- src/main/java/io/codat/bank_feeds/models/components/SyncAsBankFeeds.java
- src/main/java/io/codat/bank_feeds/models/components/SyncAsExpenses.java
- src/main/java/io/codat/bank_feeds/models/components/SyncConfiguration.java
- - src/main/java/io/codat/bank_feeds/models/components/Tags.java
- src/main/java/io/codat/bank_feeds/models/components/TargetAccountOption.java
- src/main/java/io/codat/bank_feeds/models/components/Type.java
- src/main/java/io/codat/bank_feeds/models/components/Validation.java
@@ -364,6 +366,7 @@ generatedFiles:
- src/main/java/io/codat/bank_feeds/models/operations/ListSourceAccountsRequest.java
- src/main/java/io/codat/bank_feeds/models/operations/ListSourceAccountsRequestBuilder.java
- src/main/java/io/codat/bank_feeds/models/operations/ListSourceAccountsResponse.java
+ - src/main/java/io/codat/bank_feeds/models/operations/ListSourceAccountsResponseBody.java
- src/main/java/io/codat/bank_feeds/models/operations/SDKMethodInterfaces.java
- src/main/java/io/codat/bank_feeds/models/operations/SetConfigurationRequest.java
- src/main/java/io/codat/bank_feeds/models/operations/SetConfigurationRequestBuilder.java
@@ -425,14 +428,14 @@ examples:
create-company:
With no description:
requestBody:
- application/json: {"description": "Requested early access to the new financing scheme.", "groups": [], "name": "Technicalium"}
+ application/json: {"description": "Requested early access to the new financing scheme.", "name": "Technicalium"}
responses:
"200":
application/json: {"created": "2022-11-10T10:45:18.1950523Z", "createdByUserName": "Dan Tzabar", "dataConnections": [], "description": "", "id": "ab12c58d-a678-4ebf-a159-ae99e1807bd0", "lastSync": "2022-10-23T00:00:00Z", "name": "Technicalium", "redirect": "https://link.codat.io/company/ab12c58d-a678-4ebf-a159-ae99e1807bd0"}
"400": {}
With a description:
requestBody:
- application/json: {"description": "Technology services, including web and app design and development", "groups": [], "name": "Technicalium"}
+ application/json: {"description": "Technology services, including web and app design and development", "name": "Technicalium"}
responses:
"200":
application/json: {"created": "2022-11-10T10:45:18.1950523Z", "createdByUserName": "Dan Tzabar", "dataConnections": [], "description": "Technology services, including web and app design and development", "id": "ab12c58d-a678-4ebf-a159-ae99e1807bd0", "lastSync": "2022-10-23T00:00:00Z", "name": "Technicalium", "redirect": "https://link.codat.io/company/ab12c58d-a678-4ebf-a159-ae99e1807bd0"}
@@ -446,10 +449,16 @@ examples:
"400": {}
Malformed query:
requestBody:
- application/json: {"description": "Requested early access to the new financing scheme.", "groups": [], "name": "Bank of Dave"}
+ application/json: {"description": "Requested early access to the new financing scheme.", "name": "Bank of Dave"}
responses:
"400":
application/json: {"canBeRetried": "Unknown", "correlationId": "bc997528a9d7abb9161ef45f05d38599", "detailedErrorCode": 0, "error": "Error processing request - not valid.", "service": "PublicApi", "statusCode": 400}
+ With a tag:
+ requestBody:
+ application/json: {"description": "Requested early access to the new financing scheme.", "name": "Bank of Dave"}
+ responses:
+ "200":
+ application/json: {"created": "2022-11-10T10:45:18.1950523Z", "createdByUserName": "Dan Tzabar", "dataConnections": [], "description": "", "id": "ab12c58d-a678-4ebf-a159-ae99e1807bd0", "lastSync": "2022-10-23T00:00:00Z", "name": "Technicalium", "redirect": "https://link.codat.io/company/ab12c58d-a678-4ebf-a159-ae99e1807bd0", "tags": {"region": "us"}}
delete-company:
Unauthorized:
parameters:
@@ -501,7 +510,7 @@ examples:
orderBy: "-modifiedDate"
responses:
"200":
- application/json: {"_links": {"current": {"href": "/companies?page=1&pageSize=100"}, "self": {"href": "/companies"}}, "pageNumber": 1, "pageSize": 100, "results": [{"created": "2022-01-01T11:30:00Z", "createdByUserName": "Mike Smith", "dataConnections": [{"created": "2022-01-01T11:30:00Z", "dataConnectionErrors": [], "id": "51baa045-4836-4317-a42e-3542e991e581", "integrationId": "1c312d69-e638-46d4-ad31-72e6c3ba8390", "integrationKey": "vjms", "lastSync": "2022-01-01T12:30:00.000Z", "linkUrl": "https://link-api.codat.io/companies/3fa85f64-5717-4562-b3fc-2c963f66afa6/connections/51baa045-4836-4317-a42e-3542e991e581/start", "platformName": "Pandle", "sourceId": "396c3158-5dd7-481b-a7c4-a795ca31792b", "sourceType": "Accounting", "status": "Linked"}], "description": "My Test Company make testing software", "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "lastSync": "2022-01-01T12:30:00.000Z", "name": "My Test Company", "redirect": "https://link.codat.io/company/3fa85f64-5717-4562-b3fc-2c963f66afa6"}], "totalResults": 1}
+ application/json: {"_links": {"current": {"href": "/companies?page=1&pageSize=100"}, "self": {"href": "/companies"}}, "pageNumber": 1, "pageSize": 100, "results": [{"created": "2022-01-01T11:30:00Z", "createdByUserName": "Mike Smith", "dataConnections": [{"created": "2022-01-01T11:30:00Z", "dataConnectionErrors": [{"erroredOnUtc": "2022-10-23T00:00:00Z", "resolvedOnUtc": "2022-10-23T00:00:00Z"}, {"erroredOnUtc": "2022-10-23T00:00:00Z", "resolvedOnUtc": "2022-10-23T00:00:00Z"}, {"erroredOnUtc": "2022-10-23T00:00:00Z", "resolvedOnUtc": "2022-10-23T00:00:00Z"}], "id": "51baa045-4836-4317-a42e-3542e991e581", "integrationId": "1c312d69-e638-46d4-ad31-72e6c3ba8390", "integrationKey": "vjms", "lastSync": "2022-01-01T12:30:00.000Z", "linkUrl": "https://link-api.codat.io/companies/3fa85f64-5717-4562-b3fc-2c963f66afa6/connections/51baa045-4836-4317-a42e-3542e991e581/start", "platformName": "Pandle", "sourceId": "396c3158-5dd7-481b-a7c4-a795ca31792b", "sourceType": "Accounting", "status": "Linked"}], "description": "My Test Company make testing software", "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "lastSync": "2022-01-01T12:30:00.000Z", "name": "My Test Company", "redirect": "https://link.codat.io/company/3fa85f64-5717-4562-b3fc-2c963f66afa6"}], "totalResults": 1}
List of Companies:
parameters:
query:
@@ -511,7 +520,7 @@ examples:
orderBy: "-modifiedDate"
responses:
"200":
- application/json: {"_links": {"current": {"href": "/companies?page=1&pageSize=100"}, "self": {"href": "/companies"}}, "pageNumber": 1, "pageSize": 100, "results": [{"created": "2022-01-01T11:30:00Z", "createdByUserName": "Joe Bloggs", "dataConnections": [{"created": "2022-01-01T11:30:00Z", "dataConnectionErrors": [], "id": "51baa045-4836-4317-a42e-3542e991e581", "integrationId": "1c312d69-e638-46d4-ad31-72e6c3ba8390", "integrationKey": "vjms", "lastSync": "2022-01-01T12:30:00.000Z", "linkUrl": "https://link-api.codat.io/companies/d1568dde-adf6-11ed-afa1-0242ac120002/connections/51baa045-4836-4317-a42e-3542e991e581/start", "platformName": "Pandle", "sourceId": "396c3158-5dd7-481b-a7c4-a795ca31792b", "sourceType": "Accounting", "status": "Linked"}], "description": "Technology services, including web and app design and development", "id": "d1568dde-adf6-11ed-afa1-0242ac120002", "lastSync": "2022-01-01T12:30:00.000Z", "name": "Technicalium", "redirect": "https://link.codat.io/company/d1568dde-adf6-11ed-afa1-0242ac120002"}, {"created": "2022-01-01T11:30:00Z", "createdByUserName": "Mike Smith", "dataConnections": [{"created": "2022-01-01T11:30:00Z", "dataConnectionErrors": [], "id": "a70bc148-dc21-46b2-a257-d9c58ac15cbb", "integrationId": "1c312d69-e638-46d4-ad31-72e6c3ba8390", "integrationKey": "vjms", "lastSync": "2022-01-01T12:30:00.000Z", "linkUrl": "https://link-api.codat.io/companies/096db70b-78de-4ff0-aa98-299cb5fe17a0/connections/a70bc148-dc21-46b2-a257-d9c58ac15cbb/start", "platformName": "Pandle", "sourceId": "396c3158-5dd7-481b-a7c4-a795ca31792b", "sourceType": "Accounting", "status": "Linked"}], "description": "A new digital agency with a passion for creating amazing digital experiences", "id": "096db70b-78de-4ff0-aa98-299cb5fe17a0", "lastSync": "2022-01-01T12:30:00.000Z", "name": "Godata", "redirect": "https://link.codat.io/company/096db70b-78de-4ff0-aa98-299cb5fe17a0"}], "totalResults": 2}
+ application/json: {"_links": {"current": {"href": "/companies?page=1&pageSize=100"}, "self": {"href": "/companies"}}, "pageNumber": 1, "pageSize": 100, "results": [{"created": "2022-01-01T11:30:00Z", "createdByUserName": "Joe Bloggs", "dataConnections": [{"created": "2022-01-01T11:30:00Z", "dataConnectionErrors": [{"erroredOnUtc": "2022-10-23T00:00:00Z", "resolvedOnUtc": "2022-10-23T00:00:00Z"}, {"erroredOnUtc": "2022-10-23T00:00:00Z", "resolvedOnUtc": "2022-10-23T00:00:00Z"}], "id": "51baa045-4836-4317-a42e-3542e991e581", "integrationId": "1c312d69-e638-46d4-ad31-72e6c3ba8390", "integrationKey": "vjms", "lastSync": "2022-01-01T12:30:00.000Z", "linkUrl": "https://link-api.codat.io/companies/d1568dde-adf6-11ed-afa1-0242ac120002/connections/51baa045-4836-4317-a42e-3542e991e581/start", "platformName": "Pandle", "sourceId": "396c3158-5dd7-481b-a7c4-a795ca31792b", "sourceType": "Accounting", "status": "Linked"}], "description": "Technology services, including web and app design and development", "id": "d1568dde-adf6-11ed-afa1-0242ac120002", "lastSync": "2022-01-01T12:30:00.000Z", "name": "Technicalium", "redirect": "https://link.codat.io/company/d1568dde-adf6-11ed-afa1-0242ac120002"}, {"created": "2022-01-01T11:30:00Z", "createdByUserName": "Mike Smith", "dataConnections": [{"created": "2022-01-01T11:30:00Z", "dataConnectionErrors": [{"erroredOnUtc": "2022-10-23T00:00:00Z", "resolvedOnUtc": "2022-10-23T00:00:00Z"}, {"erroredOnUtc": "2022-10-23T00:00:00Z", "resolvedOnUtc": "2022-10-23T00:00:00Z"}], "id": "a70bc148-dc21-46b2-a257-d9c58ac15cbb", "integrationId": "1c312d69-e638-46d4-ad31-72e6c3ba8390", "integrationKey": "vjms", "lastSync": "2022-01-01T12:30:00.000Z", "linkUrl": "https://link-api.codat.io/companies/096db70b-78de-4ff0-aa98-299cb5fe17a0/connections/a70bc148-dc21-46b2-a257-d9c58ac15cbb/start", "platformName": "Pandle", "sourceId": "396c3158-5dd7-481b-a7c4-a795ca31792b", "sourceType": "Accounting", "status": "Linked"}], "description": "A new digital agency with a passion for creating amazing digital experiences", "id": "096db70b-78de-4ff0-aa98-299cb5fe17a0", "lastSync": "2022-01-01T12:30:00.000Z", "name": "Godata", "redirect": "https://link.codat.io/company/096db70b-78de-4ff0-aa98-299cb5fe17a0"}], "totalResults": 2}
Malformed query:
parameters:
query:
@@ -538,27 +547,27 @@ examples:
path:
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002"
requestBody:
- application/json: {"description": "Requested early access to the new financing scheme.", "groups": [], "name": "New Name"}
+ application/json: {"description": "Requested early access to the new financing scheme.", "name": "New Name"}
responses:
"200":
- application/json: {"created": "2022-01-01T12:00:00.000Z", "createdByUserName": "string", "dataConnections": [{"created": "2022-10-27T09:53:29Z", "dataConnectionErrors": [], "id": "ee2eb431-c0fa-4dc9-93fa-d29781c12bcd", "integrationId": "bf083d72-62c7-493e-aec9-81b4dbba7e2c", "integrationKey": "dfxm", "lastSync": "2022-10-27T10:22:43.6464237Z", "linkUrl": "https://link-api.codat.io/companies/86bd88cb-44ab-4dfb-b32f-87b19b14287f/connections/ee2eb431-c0fa-4dc9-93fa-d29781c12bcd/start", "platformName": "Basiq", "sourceId": "bdd831ce-eebd-4896-89a7-20e5ee8989ee", "sourceType": "Banking", "status": "Linked"}], "description": "Requested early access to the new financing scheme.", "id": "0498e921-9b53-4396-a412-4f2f5983b0a2", "lastSync": "2022-01-01T12:00:00.000Z", "name": "string", "redirect": "https://link.codat.io/company/27628208-459c-46a2-a705-5641ce25f739"}
+ application/json: {"created": "2022-01-01T12:00:00.000Z", "createdByUserName": "string", "dataConnections": [{"created": "2022-10-27T09:53:29Z", "dataConnectionErrors": [{"erroredOnUtc": "2022-10-23T00:00:00Z", "resolvedOnUtc": "2022-10-23T00:00:00Z"}, {"erroredOnUtc": "2022-10-23T00:00:00Z", "resolvedOnUtc": "2022-10-23T00:00:00Z"}, {"erroredOnUtc": "2022-10-23T00:00:00Z", "resolvedOnUtc": "2022-10-23T00:00:00Z"}], "id": "ee2eb431-c0fa-4dc9-93fa-d29781c12bcd", "integrationId": "bf083d72-62c7-493e-aec9-81b4dbba7e2c", "integrationKey": "dfxm", "lastSync": "2022-10-27T10:22:43.6464237Z", "linkUrl": "https://link-api.codat.io/companies/86bd88cb-44ab-4dfb-b32f-87b19b14287f/connections/ee2eb431-c0fa-4dc9-93fa-d29781c12bcd/start", "platformName": "Basiq", "sourceId": "bdd831ce-eebd-4896-89a7-20e5ee8989ee", "sourceType": "Banking", "status": "Linked"}], "description": "Requested early access to the new financing scheme.", "id": "0498e921-9b53-4396-a412-4f2f5983b0a2", "lastSync": "2022-01-01T12:00:00.000Z", "name": "string", "redirect": "https://link.codat.io/company/27628208-459c-46a2-a705-5641ce25f739", "tags": {"region": "us", "uid": "f6b0c253-16c7-4da1-a0c5-9c871e9c9d6c"}}
"401": {}
Update description:
parameters:
path:
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002"
requestBody:
- application/json: {"description": "Additional documents required", "groups": [], "name": "Same name"}
+ application/json: {"description": "Additional documents required", "name": "Same name"}
responses:
"200":
- application/json: {"created": "2022-01-01T12:00:00.000Z", "createdByUserName": "string", "dataConnections": [{"created": "2022-10-27T09:53:29Z", "dataConnectionErrors": [], "id": "ee2eb431-c0fa-4dc9-93fa-d29781c12bcd", "integrationId": "bf083d72-62c7-493e-aec9-81b4dbba7e2c", "integrationKey": "dfxm", "lastSync": "2022-10-27T10:22:43.6464237Z", "linkUrl": "https://link-api.codat.io/companies/86bd88cb-44ab-4dfb-b32f-87b19b14287f/connections/ee2eb431-c0fa-4dc9-93fa-d29781c12bcd/start", "platformName": "Basiq", "sourceId": "bdd831ce-eebd-4896-89a7-20e5ee8989ee", "sourceType": "Banking", "status": "Linked"}], "description": "Requested early access to the new financing scheme.", "id": "0498e921-9b53-4396-a412-4f2f5983b0a2", "lastSync": "2022-01-01T12:00:00.000Z", "name": "string", "redirect": "https://link.codat.io/company/27628208-459c-46a2-a705-5641ce25f739"}
+ application/json: {"created": "2022-01-01T12:00:00.000Z", "createdByUserName": "string", "dataConnections": [{"created": "2022-10-27T09:53:29Z", "dataConnectionErrors": [], "id": "ee2eb431-c0fa-4dc9-93fa-d29781c12bcd", "integrationId": "bf083d72-62c7-493e-aec9-81b4dbba7e2c", "integrationKey": "dfxm", "lastSync": "2022-10-27T10:22:43.6464237Z", "linkUrl": "https://link-api.codat.io/companies/86bd88cb-44ab-4dfb-b32f-87b19b14287f/connections/ee2eb431-c0fa-4dc9-93fa-d29781c12bcd/start", "platformName": "Basiq", "sourceId": "bdd831ce-eebd-4896-89a7-20e5ee8989ee", "sourceType": "Banking", "status": "Linked"}], "description": "Requested early access to the new financing scheme.", "id": "0498e921-9b53-4396-a412-4f2f5983b0a2", "lastSync": "2022-01-01T12:00:00.000Z", "name": "string", "redirect": "https://link.codat.io/company/27628208-459c-46a2-a705-5641ce25f739", "tags": {"region": "us", "uid": "f6b0c253-16c7-4da1-a0c5-9c871e9c9d6c"}}
"401": {}
Unauthorized:
parameters:
path:
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002"
requestBody:
- application/json: {"description": "Requested early access to the new financing scheme.", "groups": [], "name": "Bank of Dave"}
+ application/json: {"description": "Requested early access to the new financing scheme.", "name": "Bank of Dave"}
responses:
"401":
application/json: {"canBeRetried": "Unknown", "correlationId": "7eb40d6b415d7bcd99ce658268284056", "detailedErrorCode": 0, "error": "Unauthorized", "service": "PublicApi", "statusCode": 401}
@@ -632,7 +641,7 @@ examples:
orderBy: "-modifiedDate"
responses:
"200":
- application/json: {"_links": {"current": {"href": "string"}, "next": {"href": "string"}, "previous": {"href": "string"}, "self": {"href": "string"}}, "pageNumber": 0, "pageSize": 0, "results": [{"created": "2022-10-27T09:53:29Z", "dataConnectionErrors": [], "id": "ee2eb431-c0fa-4dc9-93fa-d29781c12bcd", "integrationId": "bf083d72-62c7-493e-aec9-81b4dbba7e2c", "integrationKey": "dfxm", "lastSync": "2022-10-27T10:22:43.6464237Z", "linkUrl": "https://link-api.codat.io/companies/86bd88cb-44ab-4dfb-b32f-87b19b14287f/connections/ee2eb431-c0fa-4dc9-93fa-d29781c12bcd/start", "platformName": "Basiq", "sourceId": "bdd831ce-eebd-4896-89a7-20e5ee8989ee", "sourceType": "Banking", "status": "Linked"}], "totalResults": 0}
+ application/json: {"_links": {"current": {"href": "string"}, "next": {"href": "string"}, "previous": {"href": "string"}, "self": {"href": "string"}}, "pageNumber": 0, "pageSize": 0, "results": [{"created": "2022-10-27T09:53:29Z", "dataConnectionErrors": [{"erroredOnUtc": "2022-10-23T00:00:00Z", "resolvedOnUtc": "2022-10-23T00:00:00Z"}, {"erroredOnUtc": "2022-10-23T00:00:00Z", "resolvedOnUtc": "2022-10-23T00:00:00Z"}, {"erroredOnUtc": "2022-10-23T00:00:00Z", "resolvedOnUtc": "2022-10-23T00:00:00Z"}], "id": "ee2eb431-c0fa-4dc9-93fa-d29781c12bcd", "integrationId": "bf083d72-62c7-493e-aec9-81b4dbba7e2c", "integrationKey": "dfxm", "lastSync": "2022-10-27T10:22:43.6464237Z", "linkUrl": "https://link-api.codat.io/companies/86bd88cb-44ab-4dfb-b32f-87b19b14287f/connections/ee2eb431-c0fa-4dc9-93fa-d29781c12bcd/start", "platformName": "Basiq", "sourceId": "bdd831ce-eebd-4896-89a7-20e5ee8989ee", "sourceType": "Banking", "status": "Linked"}], "totalResults": 0}
Malformed query:
parameters:
path:
@@ -688,6 +697,17 @@ examples:
responses:
"400":
application/json: {"canBeRetried": "Unknown", "correlationId": "bc997528a9d7abb9161ef45f05d38599", "detailedErrorCode": 0, "error": "Error processing request - not valid.", "service": "PublicApi", "statusCode": 400}
+ Example:
+ parameters:
+ path:
+ companyId: "8a210b68-6988-11ed-a1eb-0242ac120002"
+ connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171"
+ requestBody:
+ application/json: {"sourceAccountId": "acc-002", "targetAccountId": "account-081"}
+ responses:
+ "200":
+ application/json: {"error": "A feed connection already exists to this account", "sourceAccountId": "acc-002", "status": "Failed", "targetAccountId": "account-081"}
+ "400": {}
get-bank-account-mapping:
Unauthorized:
parameters:
@@ -697,6 +717,14 @@ examples:
responses:
"401":
application/json: {"canBeRetried": "Unknown", "correlationId": "7eb40d6b415d7bcd99ce658268284056", "detailedErrorCode": 0, "error": "Unauthorized", "service": "PublicApi", "statusCode": 401}
+ Example:
+ parameters:
+ path:
+ companyId: "8a210b68-6988-11ed-a1eb-0242ac120002"
+ connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171"
+ responses:
+ "200":
+ application/json: [{"feedStartDate": "2022-10-23T00:00:00Z", "sourceAccountId": "account-001", "sourceAccountName": "account-001", "sourceAccountNumber": "12345670", "sourceBalance": "99.99", "sourceCurrency": "GBP", "status": "pending", "targetAccountOptions": [{"accountNumber": "789", "id": "d21e25d6-98c5-4bfb-b469-105833bea3c8", "name": "Money Bank account", "sortCode": "123456"}, {"accountNumber": "99887766", "id": "d06ff4b2-e4f2-4681-9841-014bd008cdab", "name": "Bank of Dave account", "sortCode": "998866"}, {"accountNumber": "123456789", "id": "c8f252fc-84f3-4a8b-ace8-ae99f41a81ae", "name": "LuxLend account", "sortCode": "123456"}]}]
get-company-information:
Malformed query:
parameters:
@@ -1090,7 +1118,7 @@ examples:
path:
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002"
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171"
- accountId: "EILBDVJVNUAGVKRQ"
+ accountId: "9wg4lep4ush5cxs79pl8sozmsndbaukll3ind4g7buqbm1h2"
query: {}
requestBody:
application/json: {"accountId": "49cd5a42-b311-4750-9361-52e2ed1d4653", "transactions": [{"amount": 100, "balance": -999.99, "counterparty": "ACME INC", "date": "2023-08-22T10:21:00Z", "description": "Repayment of Credit Card", "id": "716422529", "reconciled": false, "reference": "reference for transaction", "transactionType": "Credit"}, {"amount": -100, "balance": -999.99, "counterparty": "ACME INC", "date": "2023-08-22T10:22:00Z", "description": "Amazon Purchase", "id": "716422530", "reconciled": false, "reference": "reference for transaction", "transactionType": "Debit"}, {"amount": -60, "balance": -999.99, "counterparty": "ACME INC", "date": "2023-08-22T10:23:00Z", "description": "Office Supplies", "id": "716422531", "reconciled": false, "reference": "reference for transaction", "transactionType": "Debit"}]}
@@ -1103,7 +1131,7 @@ examples:
path:
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002"
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171"
- accountId: "9wg4lep4ush5cxs79pl8sozmsndbaukll3ind4g7buqbm1h2"
+ accountId: "13d946f0-c5d5-42bc-b092-97ece17923ab"
query: {}
requestBody:
application/json: {"accountId": "49cd5a42-b311-4750-9361-52e2ed1d4653", "transactions": [{"amount": 100, "balance": 100, "counterparty": "Bank of Example", "date": "2023-08-22T10:21:00Z", "description": "Repayment of Credit Card", "id": "716422529", "reconciled": false, "reference": "Ref-12345", "transactionType": "Credit"}, {"amount": -100, "balance": 0, "counterparty": "Amazon", "date": "2023-08-22T10:22:00Z", "description": "Amazon Purchase", "id": "716422530", "reconciled": false, "reference": "Ref-12346", "transactionType": "Debit"}, {"amount": -60, "balance": -60, "counterparty": "Office Mart", "date": "2023-08-22T10:23:00Z", "description": "Office Supplies", "id": "716422531", "reconciled": false, "reference": "Ref-12347", "transactionType": "Debit"}]}
@@ -1116,7 +1144,7 @@ examples:
path:
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002"
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171"
- accountId: "9wg4lep4ush5cxs79pl8sozmsndbaukll3ind4g7buqbm1h2"
+ accountId: "13d946f0-c5d5-42bc-b092-97ece17923ab"
query: {}
requestBody:
application/json: {"accountId": "7110701885", "transactions": []}
diff --git a/bank-feeds/.speakeasy/gen.yaml b/bank-feeds/.speakeasy/gen.yaml
index 624e0255..0b317518 100644
--- a/bank-feeds/.speakeasy/gen.yaml
+++ b/bank-feeds/.speakeasy/gen.yaml
@@ -9,9 +9,10 @@ generation:
requestResponseComponentNamesFeb2024: false
auth:
oAuth2ClientCredentialsEnabled: false
+ oAuth2PasswordEnabled: false
telemetryEnabled: true
java:
- version: 0.2.0
+ version: 1.0.0
additionalDependencies: []
additionalPlugins: []
artifactID: bank-feeds
diff --git a/bank-feeds/README.md b/bank-feeds/README.md
index 6c02fa78..b6768827 100644
--- a/bank-feeds/README.md
+++ b/bank-feeds/README.md
@@ -51,7 +51,7 @@ The samples below show how a published SDK artifact is used:
Gradle:
```groovy
-implementation 'io.codat:bank-feeds:0.2.0'
+implementation 'io.codat:bank-feeds:1.0.0'
```
Maven:
@@ -59,7 +59,7 @@ Maven:
io.codat
bank-feeds
- 0.2.0
+ 1.0.0
```
@@ -89,47 +89,30 @@ package hello.world;
import io.codat.bank_feeds.CodatBankFeeds;
import io.codat.bank_feeds.models.components.CompanyRequestBody;
-import io.codat.bank_feeds.models.components.GroupReference;
-import io.codat.bank_feeds.models.errors.SDKError;
+import io.codat.bank_feeds.models.errors.ErrorMessage;
import io.codat.bank_feeds.models.operations.CreateCompanyResponse;
import java.lang.Exception;
-import java.util.List;
public class Application {
- public static void main(String[] args) throws Exception {
- try {
- CodatBankFeeds sdk = CodatBankFeeds.builder()
+ public static void main(String[] args) throws ErrorMessage, Exception {
+
+ CodatBankFeeds sdk = CodatBankFeeds.builder()
.authHeader("Basic BASE_64_ENCODED(API_KEY)")
- .build();
+ .build();
- CompanyRequestBody req = CompanyRequestBody.builder()
+ CompanyRequestBody req = CompanyRequestBody.builder()
.name("Bank of Dave")
.description("Requested early access to the new financing scheme.")
- .groups(List.of(
- GroupReference.builder()
- .id("60d2fa12-8a04-11ee-b9d1-0242ac120002")
- .build()))
.build();
- CreateCompanyResponse res = sdk.companies().create()
+ CreateCompanyResponse res = sdk.companies().create()
.request(req)
.call();
- if (res.company().isPresent()) {
- // handle response
- }
- } catch (io.codat.bank_feeds.models.errors.ErrorMessage e) {
- // handle exception
- throw e;
- } catch (SDKError e) {
- // handle exception
- throw e;
- } catch (Exception e) {
- // handle exception
- throw e;
+ if (res.company().isPresent()) {
+ // handle response
}
-
}
}
```
@@ -144,7 +127,7 @@ public class Application {
### [accountMapping()](docs/sdks/accountmapping/README.md)
* [create](docs/sdks/accountmapping/README.md#create) - Create bank feed account mapping
-* [get](docs/sdks/accountmapping/README.md#get) - List bank feed account mappings
+* [get](docs/sdks/accountmapping/README.md#get) - List bank feed accounts
### [bankAccounts()](docs/sdks/bankaccounts/README.md)
@@ -211,33 +194,27 @@ package hello.world;
import io.codat.bank_feeds.CodatBankFeeds;
import io.codat.bank_feeds.models.components.CompanyRequestBody;
-import io.codat.bank_feeds.models.components.GroupReference;
-import io.codat.bank_feeds.models.errors.SDKError;
+import io.codat.bank_feeds.models.errors.ErrorMessage;
import io.codat.bank_feeds.models.operations.CreateCompanyResponse;
import io.codat.bank_feeds.utils.BackoffStrategy;
import io.codat.bank_feeds.utils.RetryConfig;
import java.lang.Exception;
-import java.util.List;
import java.util.concurrent.TimeUnit;
public class Application {
- public static void main(String[] args) throws Exception {
- try {
- CodatBankFeeds sdk = CodatBankFeeds.builder()
+ public static void main(String[] args) throws ErrorMessage, Exception {
+
+ CodatBankFeeds sdk = CodatBankFeeds.builder()
.authHeader("Basic BASE_64_ENCODED(API_KEY)")
- .build();
+ .build();
- CompanyRequestBody req = CompanyRequestBody.builder()
+ CompanyRequestBody req = CompanyRequestBody.builder()
.name("Bank of Dave")
.description("Requested early access to the new financing scheme.")
- .groups(List.of(
- GroupReference.builder()
- .id("60d2fa12-8a04-11ee-b9d1-0242ac120002")
- .build()))
.build();
- CreateCompanyResponse res = sdk.companies().create()
+ CreateCompanyResponse res = sdk.companies().create()
.request(req)
.retryConfig(RetryConfig.builder()
.backoff(BackoffStrategy.builder()
@@ -251,20 +228,9 @@ public class Application {
.build())
.call();
- if (res.company().isPresent()) {
- // handle response
- }
- } catch (io.codat.bank_feeds.models.errors.ErrorMessage e) {
- // handle exception
- throw e;
- } catch (SDKError e) {
- // handle exception
- throw e;
- } catch (Exception e) {
- // handle exception
- throw e;
+ if (res.company().isPresent()) {
+ // handle response
}
-
}
}
```
@@ -275,20 +241,18 @@ package hello.world;
import io.codat.bank_feeds.CodatBankFeeds;
import io.codat.bank_feeds.models.components.CompanyRequestBody;
-import io.codat.bank_feeds.models.components.GroupReference;
-import io.codat.bank_feeds.models.errors.SDKError;
+import io.codat.bank_feeds.models.errors.ErrorMessage;
import io.codat.bank_feeds.models.operations.CreateCompanyResponse;
import io.codat.bank_feeds.utils.BackoffStrategy;
import io.codat.bank_feeds.utils.RetryConfig;
import java.lang.Exception;
-import java.util.List;
import java.util.concurrent.TimeUnit;
public class Application {
- public static void main(String[] args) throws Exception {
- try {
- CodatBankFeeds sdk = CodatBankFeeds.builder()
+ public static void main(String[] args) throws ErrorMessage, Exception {
+
+ CodatBankFeeds sdk = CodatBankFeeds.builder()
.retryConfig(RetryConfig.builder()
.backoff(BackoffStrategy.builder()
.initialInterval(1L, TimeUnit.MILLISECONDS)
@@ -300,35 +264,20 @@ public class Application {
.build())
.build())
.authHeader("Basic BASE_64_ENCODED(API_KEY)")
- .build();
+ .build();
- CompanyRequestBody req = CompanyRequestBody.builder()
+ CompanyRequestBody req = CompanyRequestBody.builder()
.name("Bank of Dave")
.description("Requested early access to the new financing scheme.")
- .groups(List.of(
- GroupReference.builder()
- .id("60d2fa12-8a04-11ee-b9d1-0242ac120002")
- .build()))
.build();
- CreateCompanyResponse res = sdk.companies().create()
+ CreateCompanyResponse res = sdk.companies().create()
.request(req)
.call();
- if (res.company().isPresent()) {
- // handle response
- }
- } catch (io.codat.bank_feeds.models.errors.ErrorMessage e) {
- // handle exception
- throw e;
- } catch (SDKError e) {
- // handle exception
- throw e;
- } catch (Exception e) {
- // handle exception
- throw e;
+ if (res.company().isPresent()) {
+ // handle response
}
-
}
}
```
@@ -337,12 +286,14 @@ public class Application {
## Error Handling
-Handling errors in this SDK should largely match your expectations. All operations return a response object or raise an error. If Error objects are specified in your OpenAPI Spec, the SDK will throw the appropriate Exception type.
+Handling errors in this SDK should largely match your expectations. All operations return a response object or raise an exception.
-| Error Object | Status Code | Content Type |
-| --------------------------- | --------------------------- | --------------------------- |
-| models/errors/ErrorMessage | 400,401,402,403,429,500,503 | application/json |
-| models/errors/SDKError | 4xx-5xx | \*\/* |
+By default, an API error will throw a `models/errors/SDKError` exception. When custom error responses are specified for an operation, the SDK may also throw their associated exception. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `create` method throws the following exceptions:
+
+| Error Type | Status Code | Content Type |
+| --------------------------------- | --------------------------------- | --------------------------------- |
+| models/errors/ErrorMessage | 400, 401, 402, 403, 429, 500, 503 | application/json |
+| models/errors/SDKError | 4XX, 5XX | \*/\* |
### Example
@@ -351,47 +302,30 @@ package hello.world;
import io.codat.bank_feeds.CodatBankFeeds;
import io.codat.bank_feeds.models.components.CompanyRequestBody;
-import io.codat.bank_feeds.models.components.GroupReference;
-import io.codat.bank_feeds.models.errors.SDKError;
+import io.codat.bank_feeds.models.errors.ErrorMessage;
import io.codat.bank_feeds.models.operations.CreateCompanyResponse;
import java.lang.Exception;
-import java.util.List;
public class Application {
- public static void main(String[] args) throws Exception {
- try {
- CodatBankFeeds sdk = CodatBankFeeds.builder()
+ public static void main(String[] args) throws ErrorMessage, Exception {
+
+ CodatBankFeeds sdk = CodatBankFeeds.builder()
.authHeader("Basic BASE_64_ENCODED(API_KEY)")
- .build();
+ .build();
- CompanyRequestBody req = CompanyRequestBody.builder()
+ CompanyRequestBody req = CompanyRequestBody.builder()
.name("Bank of Dave")
.description("Requested early access to the new financing scheme.")
- .groups(List.of(
- GroupReference.builder()
- .id("60d2fa12-8a04-11ee-b9d1-0242ac120002")
- .build()))
.build();
- CreateCompanyResponse res = sdk.companies().create()
+ CreateCompanyResponse res = sdk.companies().create()
.request(req)
.call();
- if (res.company().isPresent()) {
- // handle response
- }
- } catch (io.codat.bank_feeds.models.errors.ErrorMessage e) {
- // handle exception
- throw e;
- } catch (SDKError e) {
- // handle exception
- throw e;
- } catch (Exception e) {
- // handle exception
- throw e;
+ if (res.company().isPresent()) {
+ // handle response
}
-
}
}
```
@@ -415,48 +349,31 @@ package hello.world;
import io.codat.bank_feeds.CodatBankFeeds;
import io.codat.bank_feeds.models.components.CompanyRequestBody;
-import io.codat.bank_feeds.models.components.GroupReference;
-import io.codat.bank_feeds.models.errors.SDKError;
+import io.codat.bank_feeds.models.errors.ErrorMessage;
import io.codat.bank_feeds.models.operations.CreateCompanyResponse;
import java.lang.Exception;
-import java.util.List;
public class Application {
- public static void main(String[] args) throws Exception {
- try {
- CodatBankFeeds sdk = CodatBankFeeds.builder()
+ public static void main(String[] args) throws ErrorMessage, Exception {
+
+ CodatBankFeeds sdk = CodatBankFeeds.builder()
.serverIndex(0)
.authHeader("Basic BASE_64_ENCODED(API_KEY)")
- .build();
+ .build();
- CompanyRequestBody req = CompanyRequestBody.builder()
+ CompanyRequestBody req = CompanyRequestBody.builder()
.name("Bank of Dave")
.description("Requested early access to the new financing scheme.")
- .groups(List.of(
- GroupReference.builder()
- .id("60d2fa12-8a04-11ee-b9d1-0242ac120002")
- .build()))
.build();
- CreateCompanyResponse res = sdk.companies().create()
+ CreateCompanyResponse res = sdk.companies().create()
.request(req)
.call();
- if (res.company().isPresent()) {
- // handle response
- }
- } catch (io.codat.bank_feeds.models.errors.ErrorMessage e) {
- // handle exception
- throw e;
- } catch (SDKError e) {
- // handle exception
- throw e;
- } catch (Exception e) {
- // handle exception
- throw e;
+ if (res.company().isPresent()) {
+ // handle response
}
-
}
}
```
@@ -470,48 +387,31 @@ package hello.world;
import io.codat.bank_feeds.CodatBankFeeds;
import io.codat.bank_feeds.models.components.CompanyRequestBody;
-import io.codat.bank_feeds.models.components.GroupReference;
-import io.codat.bank_feeds.models.errors.SDKError;
+import io.codat.bank_feeds.models.errors.ErrorMessage;
import io.codat.bank_feeds.models.operations.CreateCompanyResponse;
import java.lang.Exception;
-import java.util.List;
public class Application {
- public static void main(String[] args) throws Exception {
- try {
- CodatBankFeeds sdk = CodatBankFeeds.builder()
+ public static void main(String[] args) throws ErrorMessage, Exception {
+
+ CodatBankFeeds sdk = CodatBankFeeds.builder()
.serverURL("https://api.codat.io")
.authHeader("Basic BASE_64_ENCODED(API_KEY)")
- .build();
+ .build();
- CompanyRequestBody req = CompanyRequestBody.builder()
+ CompanyRequestBody req = CompanyRequestBody.builder()
.name("Bank of Dave")
.description("Requested early access to the new financing scheme.")
- .groups(List.of(
- GroupReference.builder()
- .id("60d2fa12-8a04-11ee-b9d1-0242ac120002")
- .build()))
.build();
- CreateCompanyResponse res = sdk.companies().create()
+ CreateCompanyResponse res = sdk.companies().create()
.request(req)
.call();
- if (res.company().isPresent()) {
- // handle response
- }
- } catch (io.codat.bank_feeds.models.errors.ErrorMessage e) {
- // handle exception
- throw e;
- } catch (SDKError e) {
- // handle exception
- throw e;
- } catch (Exception e) {
- // handle exception
- throw e;
+ if (res.company().isPresent()) {
+ // handle response
}
-
}
}
```
@@ -534,47 +434,30 @@ package hello.world;
import io.codat.bank_feeds.CodatBankFeeds;
import io.codat.bank_feeds.models.components.CompanyRequestBody;
-import io.codat.bank_feeds.models.components.GroupReference;
-import io.codat.bank_feeds.models.errors.SDKError;
+import io.codat.bank_feeds.models.errors.ErrorMessage;
import io.codat.bank_feeds.models.operations.CreateCompanyResponse;
import java.lang.Exception;
-import java.util.List;
public class Application {
- public static void main(String[] args) throws Exception {
- try {
- CodatBankFeeds sdk = CodatBankFeeds.builder()
+ public static void main(String[] args) throws ErrorMessage, Exception {
+
+ CodatBankFeeds sdk = CodatBankFeeds.builder()
.authHeader("Basic BASE_64_ENCODED(API_KEY)")
- .build();
+ .build();
- CompanyRequestBody req = CompanyRequestBody.builder()
+ CompanyRequestBody req = CompanyRequestBody.builder()
.name("Bank of Dave")
.description("Requested early access to the new financing scheme.")
- .groups(List.of(
- GroupReference.builder()
- .id("60d2fa12-8a04-11ee-b9d1-0242ac120002")
- .build()))
.build();
- CreateCompanyResponse res = sdk.companies().create()
+ CreateCompanyResponse res = sdk.companies().create()
.request(req)
.call();
- if (res.company().isPresent()) {
- // handle response
- }
- } catch (io.codat.bank_feeds.models.errors.ErrorMessage e) {
- // handle exception
- throw e;
- } catch (SDKError e) {
- // handle exception
- throw e;
- } catch (Exception e) {
- // handle exception
- throw e;
+ if (res.company().isPresent()) {
+ // handle response
}
-
}
}
```
diff --git a/bank-feeds/RELEASES.md b/bank-feeds/RELEASES.md
index 1e8f1a62..9132d6b4 100644
--- a/bank-feeds/RELEASES.md
+++ b/bank-feeds/RELEASES.md
@@ -18,4 +18,14 @@ Based on:
### Generated
- [java v0.2.0] bank-feeds
### Releases
-- [Maven Central v0.2.0] https://central.sonatype.com/artifact/io.codat/bank-feeds/0.2.0 - bank-feeds
\ No newline at end of file
+- [Maven Central v0.2.0] https://central.sonatype.com/artifact/io.codat/bank-feeds/0.2.0 - bank-feeds
+
+## 2024-11-06 14:34:00
+### Changes
+Based on:
+- OpenAPI Doc
+- Speakeasy CLI 1.431.0 (2.451.0) https://github.com/speakeasy-api/speakeasy
+### Generated
+- [java v1.0.0] bank-feeds
+### Releases
+- [Maven Central v1.0.0] https://central.sonatype.com/artifact/io.codat/bank-feeds/1.0.0 - bank-feeds
\ No newline at end of file
diff --git a/bank-feeds/USAGE.md b/bank-feeds/USAGE.md
index 61bc9fd3..565deaa9 100644
--- a/bank-feeds/USAGE.md
+++ b/bank-feeds/USAGE.md
@@ -4,47 +4,30 @@ package hello.world;
import io.codat.bank_feeds.CodatBankFeeds;
import io.codat.bank_feeds.models.components.CompanyRequestBody;
-import io.codat.bank_feeds.models.components.GroupReference;
-import io.codat.bank_feeds.models.errors.SDKError;
+import io.codat.bank_feeds.models.errors.ErrorMessage;
import io.codat.bank_feeds.models.operations.CreateCompanyResponse;
import java.lang.Exception;
-import java.util.List;
public class Application {
- public static void main(String[] args) throws Exception {
- try {
- CodatBankFeeds sdk = CodatBankFeeds.builder()
+ public static void main(String[] args) throws ErrorMessage, Exception {
+
+ CodatBankFeeds sdk = CodatBankFeeds.builder()
.authHeader("Basic BASE_64_ENCODED(API_KEY)")
- .build();
+ .build();
- CompanyRequestBody req = CompanyRequestBody.builder()
+ CompanyRequestBody req = CompanyRequestBody.builder()
.name("Bank of Dave")
.description("Requested early access to the new financing scheme.")
- .groups(List.of(
- GroupReference.builder()
- .id("60d2fa12-8a04-11ee-b9d1-0242ac120002")
- .build()))
.build();
- CreateCompanyResponse res = sdk.companies().create()
+ CreateCompanyResponse res = sdk.companies().create()
.request(req)
.call();
- if (res.company().isPresent()) {
- // handle response
- }
- } catch (io.codat.bank_feeds.models.errors.ErrorMessage e) {
- // handle exception
- throw e;
- } catch (SDKError e) {
- // handle exception
- throw e;
- } catch (Exception e) {
- // handle exception
- throw e;
+ if (res.company().isPresent()) {
+ // handle response
}
-
}
}
```
diff --git a/bank-feeds/build.gradle b/bank-feeds/build.gradle
index e28b1438..502cecba 100644
--- a/bank-feeds/build.gradle
+++ b/bank-feeds/build.gradle
@@ -63,7 +63,7 @@ tasks.withType(Javadoc) {
}
group = "io.codat"
-version = "0.2.0"
+version = "1.0.0"
sourcesJar {
archiveBaseName = "bank-feeds"
@@ -101,7 +101,7 @@ publishing {
maven(MavenPublication) {
groupId = 'io.codat'
artifactId = 'bank-feeds'
- version = '0.2.0'
+ version = '1.0.0'
from components.java
diff --git a/bank-feeds/docs/models/components/AccountInfo.md b/bank-feeds/docs/models/components/AccountInfo.md
index 2d75d35a..f680aeb1 100644
--- a/bank-feeds/docs/models/components/AccountInfo.md
+++ b/bank-feeds/docs/models/components/AccountInfo.md
@@ -5,7 +5,7 @@
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `accountOpenDate` | *JsonNullable* | :heavy_minus_sign: | In Codat's data model, dates are represented using the ISO 8601 standard. Date fields are formatted as strings; for example:
```
2020-10-08
``` | 2022-10-23 |
-| `availableBalance` | *JsonNullable* | :heavy_minus_sign: | Balance of funds available for use. This includes pending activity. | |
-| `description` | *JsonNullable* | :heavy_minus_sign: | Description of the account. | |
-| `nickname` | *JsonNullable* | :heavy_minus_sign: | Name given to the account by the user. Used in UIs to assist in account selection. | |
\ No newline at end of file
+| `accountOpenDate` | *JsonNullable\* | :heavy_minus_sign: | In Codat's data model, dates are represented using the ISO 8601 standard. Date fields are formatted as strings; for example:
```
2020-10-08
``` | 2022-10-23 |
+| `availableBalance` | *JsonNullable\* | :heavy_minus_sign: | Balance of funds available for use. This includes pending activity. | |
+| `description` | *JsonNullable\* | :heavy_minus_sign: | Description of the account. | |
+| `nickname` | *JsonNullable\* | :heavy_minus_sign: | Name given to the account by the user. Used in UIs to assist in account selection. | |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/AccountingBankAccount.md b/bank-feeds/docs/models/components/AccountingBankAccount.md
index 8872012f..0225c76a 100644
--- a/bank-feeds/docs/models/components/AccountingBankAccount.md
+++ b/bank-feeds/docs/models/components/AccountingBankAccount.md
@@ -4,9 +4,7 @@
>
> This datatype was originally used for accessing bank account data both in accounting integrations and open banking aggregators.
>
-> To view bank account data through the Banking API, please refer to the new datatype [here](https://docs.codat.io/bank-feeds-api#/schemas/Account)
-
-> View the coverage for bank accounts in the Data coverage explorer.
+> To view bank account data through the Banking API, please refer to the new [Banking: Account](https://docs.codat.io/bank-feeds-api#/schemas/Account) data type.
## Overview
@@ -24,20 +22,20 @@ Bank accounts data includes:
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `accountName` | *JsonNullable* | :heavy_minus_sign: | Name of the bank account in the accounting software. | |
-| `accountNumber` | *JsonNullable* | :heavy_minus_sign: | Account number for the bank account.
Xero integrations
Only a UK account number shows for bank accounts with GBP currency and a combined total of sort code and account number that equals 14 digits, For non-GBP accounts, the full bank account number is populated.
FreeAgent integrations
For Credit accounts, only the last four digits are required. For other types, the field is optional. | |
-| `accountType` | [Optional](../../models/components/BankAccountCreateResponseBankAccountType.md) | :heavy_minus_sign: | The type of transactions and balances on the account.
For Credit accounts, positive balances are liabilities, and positive transactions **reduce** liabilities.
For Debit accounts, positive balances are assets, and positive transactions **increase** assets. | |
-| `availableBalance` | *JsonNullable* | :heavy_minus_sign: | Total available balance of the bank account as reported by the underlying data source. This may take into account overdrafts or pending transactions for example. | |
-| `balance` | *JsonNullable* | :heavy_minus_sign: | Balance of the bank account. | |
-| `currency` | *Optional* | :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 |
-| `iBan` | *JsonNullable* | :heavy_minus_sign: | International bank account number of the account. Often used when making or receiving international payments. | |
-| `id` | *Optional* | :heavy_minus_sign: | Identifier for the account, unique for the company in the accounting software. | |
-| `institution` | *JsonNullable* | :heavy_minus_sign: | The institution of the bank account. | |
-| `metadata` | [Optional](../../models/components/Metadata.md) | :heavy_minus_sign: | N/A | |
-| `modifiedDate` | *Optional* | :heavy_minus_sign: | N/A | 2022-10-23 00:00:00 +0000 UTC |
-| `nominalCode` | *JsonNullable* | :heavy_minus_sign: | Code used to identify each nominal account for a business. | |
-| `overdraftLimit` | *JsonNullable* | :heavy_minus_sign: | Pre-arranged overdraft limit of the account.
The value is always positive. For example, an overdraftLimit of `1000` means that the balance of the account can go down to `-1000`. | |
-| `sortCode` | *JsonNullable* | :heavy_minus_sign: | Sort code for the bank account.
Xero integrations
The sort code is only displayed when the currency = GBP and the sort code and account number sum to 14 digits. For non-GBP accounts, this field is not populated. | |
-| `sourceModifiedDate` | *Optional* | :heavy_minus_sign: | N/A | 2022-10-23 00:00:00 +0000 UTC |
-| `status` | [Optional](../../models/components/BankAccountStatus.md) | :heavy_minus_sign: | Status of the bank account. | Active |
-| `supplementalData` | [Optional](../../models/components/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 software. [Learn more](https://docs.codat.io/using-the-api/supplemental-data/overview) about supplemental data. | |
\ No newline at end of file
+| `accountName` | *JsonNullable\* | :heavy_minus_sign: | Name of the bank account in the accounting software. | |
+| `accountNumber` | *JsonNullable\* | :heavy_minus_sign: | Account number for the bank account.
Xero integrations
Only a UK account number shows for bank accounts with GBP currency and a combined total of sort code and account number that equals 14 digits, For non-GBP accounts, the full bank account number is populated.
FreeAgent integrations
For Credit accounts, only the last four digits are required. For other types, the field is optional. | |
+| `accountType` | [Optional\](../../models/components/BankAccountCreateResponseBankAccountType.md) | :heavy_minus_sign: | The type of transactions and balances on the account.
For Credit accounts, positive balances are liabilities, and positive transactions **reduce** liabilities.
For Debit accounts, positive balances are assets, and positive transactions **increase** assets. | |
+| `availableBalance` | *JsonNullable\* | :heavy_minus_sign: | Total available balance of the bank account as reported by the underlying data source. This may take into account overdrafts or pending transactions for example. | |
+| `balance` | *JsonNullable\* | :heavy_minus_sign: | Balance of the bank account. | |
+| `currency` | *Optional\* | :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 |
+| `iBan` | *JsonNullable\* | :heavy_minus_sign: | International bank account number of the account. Often used when making or receiving international payments. | |
+| `id` | *Optional\* | :heavy_minus_sign: | Identifier for the account, unique for the company in the accounting software. | |
+| `institution` | *JsonNullable\* | :heavy_minus_sign: | The institution of the bank account. | |
+| `metadata` | [Optional\](../../models/components/Metadata.md) | :heavy_minus_sign: | N/A | |
+| `modifiedDate` | *Optional\* | :heavy_minus_sign: | N/A | 2022-10-23 00:00:00 +0000 UTC |
+| `nominalCode` | *JsonNullable\* | :heavy_minus_sign: | Code used to identify each nominal account for a business. | |
+| `overdraftLimit` | *JsonNullable\* | :heavy_minus_sign: | Pre-arranged overdraft limit of the account.
The value is always positive. For example, an overdraftLimit of `1000` means that the balance of the account can go down to `-1000`. | |
+| `sortCode` | *JsonNullable\* | :heavy_minus_sign: | Sort code for the bank account.
Xero integrations
The sort code is only displayed when the currency = GBP and the sort code and account number sum to 14 digits. For non-GBP accounts, this field is not populated. | |
+| `sourceModifiedDate` | *Optional\* | :heavy_minus_sign: | N/A | 2022-10-23 00:00:00 +0000 UTC |
+| `status` | [Optional\](../../models/components/BankAccountStatus.md) | :heavy_minus_sign: | Status of the bank account. | Active |
+| `supplementalData` | [Optional\](../../models/components/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 software. [Learn more](https://docs.codat.io/using-the-api/supplemental-data/overview) about supplemental data. | |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/BankAccountCreateResponse.md b/bank-feeds/docs/models/components/BankAccountCreateResponse.md
index 5e5736a3..2d351027 100644
--- a/bank-feeds/docs/models/components/BankAccountCreateResponse.md
+++ b/bank-feeds/docs/models/components/BankAccountCreateResponse.md
@@ -5,17 +5,17 @@
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `changes` | List<[PushOperationChange](../../models/components/PushOperationChange.md)> | :heavy_minus_sign: | Contains a single entry that communicates which record has changed and the manner in which it changed. | |
+| `changes` | List\<[PushOperationChange](../../models/components/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` | *Optional* | :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-23 00:00:00 +0000 UTC |
-| `data` | [JsonNullable](../../models/components/AccountingBankAccount.md) | :heavy_minus_sign: | N/A | |
+| `completedOnUtc` | *Optional\* | :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-23 00:00:00 +0000 UTC |
+| `data` | [JsonNullable\](../../models/components/AccountingBankAccount.md) | :heavy_minus_sign: | N/A | |
| `dataConnectionKey` | *String* | :heavy_check_mark: | Unique identifier for a company's data connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
-| `dataType` | [Optional](../../models/components/DataType.md) | :heavy_minus_sign: | Available data types | invoices |
-| `errorMessage` | *JsonNullable* | :heavy_minus_sign: | A message about the error. | |
+| `dataType` | [Optional\](../../models/components/DataType.md) | :heavy_minus_sign: | Available data types | invoices |
+| `errorMessage` | *JsonNullable\* | :heavy_minus_sign: | A message about the error. | |
| `pushOperationKey` | *String* | :heavy_check_mark: | A unique identifier generated by Codat to represent this single push operation. This identifier can be used to track the status of the push, and should be persisted. | |
| `requestedOnUtc` | *String* | :heavy_check_mark: | 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-23 00:00:00 +0000 UTC |
| `status` | [PushOperationStatus](../../models/components/PushOperationStatus.md) | :heavy_check_mark: | The current status of the push operation. | |
| `statusCode` | *long* | :heavy_check_mark: | Push status code. | |
-| `timeoutInMinutes` | *JsonNullable* | :heavy_minus_sign: | Number of minutes the push operation must complete within before it times out. | |
-| ~~`timeoutInSeconds`~~ | *JsonNullable* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.
Number of seconds the push operation must complete within before it times out. | |
-| `validation` | [Optional](../../models/components/Validation.md) | :heavy_minus_sign: | A human-readable object describing validation decisions Codat has made when pushing data into the platform. If a push has failed because of validation errors, they will be detailed here. | |
\ No newline at end of file
+| `timeoutInMinutes` | *JsonNullable\* | :heavy_minus_sign: | Number of minutes the push operation must complete within before it times out. | |
+| ~~`timeoutInSeconds`~~ | *JsonNullable\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.
Number of seconds the push operation must complete within before it times out. | |
+| `validation` | [Optional\](../../models/components/Validation.md) | :heavy_minus_sign: | A human-readable object describing validation decisions Codat has made when pushing data into the platform. If a push has failed because of validation errors, they will be detailed here. | |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/BankAccountCredentials.md b/bank-feeds/docs/models/components/BankAccountCredentials.md
index 17a0f24b..71915677 100644
--- a/bank-feeds/docs/models/components/BankAccountCredentials.md
+++ b/bank-feeds/docs/models/components/BankAccountCredentials.md
@@ -7,5 +7,5 @@ Result of generate credentials
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
-| `password` | *Optional* | :heavy_minus_sign: | Password to enable the bank feeds platform to securely retrieve transactions. | cO0ajh0uGyTN0Pwh |
-| `username` | *Optional* | :heavy_minus_sign: | Username used by the bank feeds platform to retrieve transactions | S0MW-TR0P-7DS0 |
\ No newline at end of file
+| `password` | *Optional\* | :heavy_minus_sign: | Password to enable the bank feeds platform to securely retrieve transactions. | cO0ajh0uGyTN0Pwh |
+| `username` | *Optional\* | :heavy_minus_sign: | Username used by the bank feeds platform to retrieve transactions | S0MW-TR0P-7DS0 |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/BankAccountOption.md b/bank-feeds/docs/models/components/BankAccountOption.md
index 5aea02bc..70c28288 100644
--- a/bank-feeds/docs/models/components/BankAccountOption.md
+++ b/bank-feeds/docs/models/components/BankAccountOption.md
@@ -5,6 +5,6 @@
| Field | Type | Required | Description |
| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- |
-| `accountType` | *Optional* | :heavy_minus_sign: | The type of account. |
-| `id` | *Optional* | :heavy_minus_sign: | Unique identifier for the bank account. |
-| `name` | *Optional* | :heavy_minus_sign: | Name of bank account. |
\ No newline at end of file
+| `accountType` | *Optional\* | :heavy_minus_sign: | The type of account. |
+| `id` | *Optional\* | :heavy_minus_sign: | Unique identifier for the bank account. |
+| `name` | *Optional\* | :heavy_minus_sign: | Name of bank account. |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/BankAccountPrototype.md b/bank-feeds/docs/models/components/BankAccountPrototype.md
index f2f782ee..a969c1b8 100644
--- a/bank-feeds/docs/models/components/BankAccountPrototype.md
+++ b/bank-feeds/docs/models/components/BankAccountPrototype.md
@@ -5,15 +5,15 @@
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `accountName` | *JsonNullable* | :heavy_minus_sign: | Name of the bank account in the accounting software. | |
-| `accountNumber` | *JsonNullable* | :heavy_minus_sign: | Account number for the bank account.
Xero integrations
Only a UK account number shows for bank accounts with GBP currency and a combined total of sort code and account number that equals 14 digits, For non-GBP accounts, the full bank account number is populated.
FreeAgent integrations
For Credit accounts, only the last four digits are required. For other types, the field is optional. | |
-| `accountType` | [Optional](../../models/components/BankAccountType.md) | :heavy_minus_sign: | The type of transactions and balances on the account.
For Credit accounts, positive balances are liabilities, and positive transactions **reduce** liabilities.
For Debit accounts, positive balances are assets, and positive transactions **increase** assets. | |
-| `availableBalance` | *JsonNullable* | :heavy_minus_sign: | Total available balance of the bank account as reported by the underlying data source. This may take into account overdrafts or pending transactions for example. | |
-| `balance` | *JsonNullable* | :heavy_minus_sign: | Balance of the bank account. | |
-| `currency` | *Optional* | :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 |
-| `iBan` | *JsonNullable* | :heavy_minus_sign: | International bank account number of the account. Often used when making or receiving international payments. | |
-| `institution` | *JsonNullable* | :heavy_minus_sign: | The institution of the bank account. | |
-| `nominalCode` | *JsonNullable* | :heavy_minus_sign: | Code used to identify each nominal account for a business. | |
-| `overdraftLimit` | *JsonNullable* | :heavy_minus_sign: | Pre-arranged overdraft limit of the account.
The value is always positive. For example, an overdraftLimit of `1000` means that the balance of the account can go down to `-1000`. | |
-| `sortCode` | *JsonNullable* | :heavy_minus_sign: | Sort code for the bank account.
Xero integrations
The sort code is only displayed when the currency = GBP and the sort code and account number sum to 14 digits. For non-GBP accounts, this field is not populated. | |
-| `status` | [Optional](../../models/components/BankAccountStatus.md) | :heavy_minus_sign: | Status of the bank account. | Active |
\ No newline at end of file
+| `accountName` | *JsonNullable\* | :heavy_minus_sign: | Name of the bank account in the accounting software. | |
+| `accountNumber` | *JsonNullable\* | :heavy_minus_sign: | Account number for the bank account.
Xero integrations
Only a UK account number shows for bank accounts with GBP currency and a combined total of sort code and account number that equals 14 digits, For non-GBP accounts, the full bank account number is populated.
FreeAgent integrations
For Credit accounts, only the last four digits are required. For other types, the field is optional. | |
+| `accountType` | [Optional\](../../models/components/BankAccountType.md) | :heavy_minus_sign: | The type of transactions and balances on the account.
For Credit accounts, positive balances are liabilities, and positive transactions **reduce** liabilities.
For Debit accounts, positive balances are assets, and positive transactions **increase** assets. | |
+| `availableBalance` | *JsonNullable\* | :heavy_minus_sign: | Total available balance of the bank account as reported by the underlying data source. This may take into account overdrafts or pending transactions for example. | |
+| `balance` | *JsonNullable\* | :heavy_minus_sign: | Balance of the bank account. | |
+| `currency` | *Optional\* | :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 |
+| `iBan` | *JsonNullable\* | :heavy_minus_sign: | International bank account number of the account. Often used when making or receiving international payments. | |
+| `institution` | *JsonNullable\* | :heavy_minus_sign: | The institution of the bank account. | |
+| `nominalCode` | *JsonNullable\* | :heavy_minus_sign: | Code used to identify each nominal account for a business. | |
+| `overdraftLimit` | *JsonNullable\* | :heavy_minus_sign: | Pre-arranged overdraft limit of the account.
The value is always positive. For example, an overdraftLimit of `1000` means that the balance of the account can go down to `-1000`. | |
+| `sortCode` | *JsonNullable\* | :heavy_minus_sign: | Sort code for the bank account.
Xero integrations
The sort code is only displayed when the currency = GBP and the sort code and account number sum to 14 digits. For non-GBP accounts, this field is not populated. | |
+| `status` | [Optional\](../../models/components/BankAccountStatus.md) | :heavy_minus_sign: | Status of the bank account. | Active |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/BankAccounts.md b/bank-feeds/docs/models/components/BankAccounts.md
index 4e594bda..cb3ef8e8 100644
--- a/bank-feeds/docs/models/components/BankAccounts.md
+++ b/bank-feeds/docs/models/components/BankAccounts.md
@@ -3,10 +3,10 @@
## Fields
-| Field | Type | Required | Description | Example |
-| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
-| `links` | [Links](../../models/components/Links.md) | :heavy_check_mark: | N/A | {
"self": {
"href": "/companies"
},
"current": {
"href": "/companies?page=1\u0026pageSize=10"
}
} |
-| `pageNumber` | *long* | :heavy_check_mark: | Current page number. | |
-| `pageSize` | *long* | :heavy_check_mark: | Number of items to return in results array. | |
-| `results` | List<[BankAccountsAccountingBankAccount](../../models/components/BankAccountsAccountingBankAccount.md)> | :heavy_minus_sign: | N/A | |
-| `totalResults` | *long* | :heavy_check_mark: | Total number of items. | |
\ No newline at end of file
+| Field | Type | Required | Description | Example |
+| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
+| `links` | [Links](../../models/components/Links.md) | :heavy_check_mark: | N/A | {
"self": {
"href": "/companies"
},
"current": {
"href": "/companies?page=1\u0026pageSize=10"
}
} |
+| `pageNumber` | *long* | :heavy_check_mark: | Current page number. | |
+| `pageSize` | *long* | :heavy_check_mark: | Number of items to return in results array. | |
+| `results` | List\<[BankAccountsAccountingBankAccount](../../models/components/BankAccountsAccountingBankAccount.md)> | :heavy_minus_sign: | N/A | |
+| `totalResults` | *long* | :heavy_check_mark: | Total number of items. | |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/BankAccountsAccountingBankAccount.md b/bank-feeds/docs/models/components/BankAccountsAccountingBankAccount.md
index 768678ce..a1653c90 100644
--- a/bank-feeds/docs/models/components/BankAccountsAccountingBankAccount.md
+++ b/bank-feeds/docs/models/components/BankAccountsAccountingBankAccount.md
@@ -4,9 +4,7 @@
>
> This datatype was originally used for accessing bank account data both in accounting integrations and open banking aggregators.
>
-> To view bank account data through the Banking API, please refer to the new datatype [here](https://docs.codat.io/bank-feeds-api#/schemas/Account)
-
-> View the coverage for bank accounts in the Data coverage explorer.
+> To view bank account data through the Banking API, please refer to the new [Banking: Account](https://docs.codat.io/bank-feeds-api#/schemas/Account) data type.
## Overview
@@ -22,20 +20,20 @@ Bank accounts data includes:
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `accountName` | *JsonNullable* | :heavy_minus_sign: | Name of the bank account in the accounting software. | |
-| `accountNumber` | *JsonNullable* | :heavy_minus_sign: | Account number for the bank account.
Xero integrations
Only a UK account number shows for bank accounts with GBP currency and a combined total of sort code and account number that equals 14 digits, For non-GBP accounts, the full bank account number is populated.
FreeAgent integrations
For Credit accounts, only the last four digits are required. For other types, the field is optional. | |
-| `accountType` | [Optional](../../models/components/BankAccountsBankAccountType.md) | :heavy_minus_sign: | The type of transactions and balances on the account.
For Credit accounts, positive balances are liabilities, and positive transactions **reduce** liabilities.
For Debit accounts, positive balances are assets, and positive transactions **increase** assets. | |
-| `availableBalance` | *JsonNullable* | :heavy_minus_sign: | Total available balance of the bank account as reported by the underlying data source. This may take into account overdrafts or pending transactions for example. | |
-| `balance` | *JsonNullable* | :heavy_minus_sign: | Balance of the bank account. | |
-| `currency` | *Optional* | :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 |
-| `iBan` | *JsonNullable* | :heavy_minus_sign: | International bank account number of the account. Often used when making or receiving international payments. | |
-| `id` | *Optional* | :heavy_minus_sign: | Identifier for the account, unique for the company in the accounting software. | |
-| `institution` | *JsonNullable* | :heavy_minus_sign: | The institution of the bank account. | |
-| `metadata` | [Optional](../../models/components/BankAccountsMetadata.md) | :heavy_minus_sign: | N/A | |
-| `modifiedDate` | *Optional* | :heavy_minus_sign: | N/A | 2022-10-23 00:00:00 +0000 UTC |
-| `nominalCode` | *JsonNullable* | :heavy_minus_sign: | Code used to identify each nominal account for a business. | |
-| `overdraftLimit` | *JsonNullable* | :heavy_minus_sign: | Pre-arranged overdraft limit of the account.
The value is always positive. For example, an overdraftLimit of `1000` means that the balance of the account can go down to `-1000`. | |
-| `sortCode` | *JsonNullable* | :heavy_minus_sign: | Sort code for the bank account.
Xero integrations
The sort code is only displayed when the currency = GBP and the sort code and account number sum to 14 digits. For non-GBP accounts, this field is not populated. | |
-| `sourceModifiedDate` | *Optional* | :heavy_minus_sign: | N/A | 2022-10-23 00:00:00 +0000 UTC |
-| `status` | [Optional](../../models/components/BankAccountStatus.md) | :heavy_minus_sign: | Status of the bank account. | Active |
-| `supplementalData` | [Optional](../../models/components/BankAccountsSupplementalData.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 software. [Learn more](https://docs.codat.io/using-the-api/supplemental-data/overview) about supplemental data. | |
\ No newline at end of file
+| `accountName` | *JsonNullable\* | :heavy_minus_sign: | Name of the bank account in the accounting software. | |
+| `accountNumber` | *JsonNullable\* | :heavy_minus_sign: | Account number for the bank account.
Xero integrations
Only a UK account number shows for bank accounts with GBP currency and a combined total of sort code and account number that equals 14 digits, For non-GBP accounts, the full bank account number is populated.
FreeAgent integrations
For Credit accounts, only the last four digits are required. For other types, the field is optional. | |
+| `accountType` | [Optional\](../../models/components/BankAccountsBankAccountType.md) | :heavy_minus_sign: | The type of transactions and balances on the account.
For Credit accounts, positive balances are liabilities, and positive transactions **reduce** liabilities.
For Debit accounts, positive balances are assets, and positive transactions **increase** assets. | |
+| `availableBalance` | *JsonNullable\* | :heavy_minus_sign: | Total available balance of the bank account as reported by the underlying data source. This may take into account overdrafts or pending transactions for example. | |
+| `balance` | *JsonNullable\* | :heavy_minus_sign: | Balance of the bank account. | |
+| `currency` | *Optional\* | :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 |
+| `iBan` | *JsonNullable\* | :heavy_minus_sign: | International bank account number of the account. Often used when making or receiving international payments. | |
+| `id` | *Optional\* | :heavy_minus_sign: | Identifier for the account, unique for the company in the accounting software. | |
+| `institution` | *JsonNullable\* | :heavy_minus_sign: | The institution of the bank account. | |
+| `metadata` | [Optional\](../../models/components/BankAccountsMetadata.md) | :heavy_minus_sign: | N/A | |
+| `modifiedDate` | *Optional\* | :heavy_minus_sign: | N/A | 2022-10-23 00:00:00 +0000 UTC |
+| `nominalCode` | *JsonNullable\* | :heavy_minus_sign: | Code used to identify each nominal account for a business. | |
+| `overdraftLimit` | *JsonNullable\* | :heavy_minus_sign: | Pre-arranged overdraft limit of the account.
The value is always positive. For example, an overdraftLimit of `1000` means that the balance of the account can go down to `-1000`. | |
+| `sortCode` | *JsonNullable\* | :heavy_minus_sign: | Sort code for the bank account.
Xero integrations
The sort code is only displayed when the currency = GBP and the sort code and account number sum to 14 digits. For non-GBP accounts, this field is not populated. | |
+| `sourceModifiedDate` | *Optional\* | :heavy_minus_sign: | N/A | 2022-10-23 00:00:00 +0000 UTC |
+| `status` | [Optional\](../../models/components/BankAccountStatus.md) | :heavy_minus_sign: | Status of the bank account. | Active |
+| `supplementalData` | [Optional\](../../models/components/BankAccountsSupplementalData.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 software. [Learn more](https://docs.codat.io/using-the-api/supplemental-data/overview) about supplemental data. | |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/BankAccountsMetadata.md b/bank-feeds/docs/models/components/BankAccountsMetadata.md
index b5c1c169..c8cab399 100644
--- a/bank-feeds/docs/models/components/BankAccountsMetadata.md
+++ b/bank-feeds/docs/models/components/BankAccountsMetadata.md
@@ -5,4 +5,4 @@
| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
-| `isDeleted` | *JsonNullable* | :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
+| `isDeleted` | *JsonNullable\* | :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/bank-feeds/docs/models/components/BankAccountsSupplementalData.md b/bank-feeds/docs/models/components/BankAccountsSupplementalData.md
index dceb3cc2..24c4a4d3 100644
--- a/bank-feeds/docs/models/components/BankAccountsSupplementalData.md
+++ b/bank-feeds/docs/models/components/BankAccountsSupplementalData.md
@@ -7,6 +7,6 @@ It is referenced as a configured dynamic key value pair that is unique to the ac
## Fields
-| Field | Type | Required | Description |
-| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- |
-| `content` | Map> | :heavy_minus_sign: | N/A |
\ No newline at end of file
+| Field | Type | Required | Description |
+| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- |
+| `content` | Map\> | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/BankFeedAccountMapping.md b/bank-feeds/docs/models/components/BankFeedAccountMapping.md
index 90f4c0f8..1e6fb60d 100644
--- a/bank-feeds/docs/models/components/BankFeedAccountMapping.md
+++ b/bank-feeds/docs/models/components/BankFeedAccountMapping.md
@@ -6,4 +6,4 @@
| Field | Type | Required | Description |
| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- |
| `sourceAccountId` | *String* | :heavy_check_mark: | Unique ID for the source account |
-| `targetAccountId` | *JsonNullable* | :heavy_minus_sign: | Unique ID for the target account |
\ No newline at end of file
+| `targetAccountId` | *JsonNullable\* | :heavy_minus_sign: | Unique ID for the target account |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/BankFeedAccountMappingResponse.md b/bank-feeds/docs/models/components/BankFeedAccountMappingResponse.md
index 58c9283a..1a7b876b 100644
--- a/bank-feeds/docs/models/components/BankFeedAccountMappingResponse.md
+++ b/bank-feeds/docs/models/components/BankFeedAccountMappingResponse.md
@@ -1,13 +1,11 @@
# BankFeedAccountMappingResponse
-The result from POSTing a Bank Account mapping.
-
## Fields
| Field | Type | Required | Description |
| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- |
-| `error` | *JsonNullable* | :heavy_minus_sign: | Error returned during the post request |
-| `status` | *JsonNullable* | :heavy_minus_sign: | Status of the POST request. |
-| `sourceAccountId` | *Optional* | :heavy_minus_sign: | Unique ID for the source account. |
-| `targetAccountId` | *JsonNullable* | :heavy_minus_sign: | Unique ID for the target account. |
\ No newline at end of file
+| `error` | *JsonNullable\* | :heavy_minus_sign: | Error returned during the post request |
+| `sourceAccountId` | *Optional\* | :heavy_minus_sign: | Unique ID for the source account. |
+| `status` | *JsonNullable\* | :heavy_minus_sign: | Status of the POST request. |
+| `targetAccountId` | *JsonNullable\* | :heavy_minus_sign: | Unique ID for the target account. |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/BankFeedMapping.md b/bank-feeds/docs/models/components/BankFeedMapping.md
index 4ee60379..99f68d51 100644
--- a/bank-feeds/docs/models/components/BankFeedMapping.md
+++ b/bank-feeds/docs/models/components/BankFeedMapping.md
@@ -7,13 +7,13 @@ A bank feed connection between a source account and a target account, including
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `feedStartDate` | *Optional* | :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-23 00:00:00 +0000 UTC |
-| `sourceAccountId` | *Optional* | :heavy_minus_sign: | Unique ID for the source account. | |
-| `sourceAccountName` | *Optional* | :heavy_minus_sign: | Name for the source account. | |
-| `sourceAccountNumber` | *Optional* | :heavy_minus_sign: | Account number for the source account. | |
-| `sourceBalance` | *Optional* | :heavy_minus_sign: | Balance for the source account. | |
-| `sourceCurrency` | *Optional* | :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 |
-| `status` | *Optional* | :heavy_minus_sign: | The status. | |
-| `targetAccountId` | *JsonNullable* | :heavy_minus_sign: | Unique ID for the target account in the accounting software. | |
-| `targetAccountName` | *Optional* | :heavy_minus_sign: | Name for the target account in the accounting software. | |
-| `targetAccountOptions` | List<[TargetAccountOption](../../models/components/TargetAccountOption.md)> | :heavy_minus_sign: | An array of potential target accounts. | |
\ No newline at end of file
+| `feedStartDate` | *Optional\* | :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-23 00:00:00 +0000 UTC |
+| `sourceAccountId` | *Optional\* | :heavy_minus_sign: | Unique ID for the source account. | |
+| `sourceAccountName` | *Optional\* | :heavy_minus_sign: | Name for the source account. | |
+| `sourceAccountNumber` | *Optional\* | :heavy_minus_sign: | Account number for the source account. | |
+| `sourceBalance` | *Optional\* | :heavy_minus_sign: | Balance for the source account. | |
+| `sourceCurrency` | *Optional\* | :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 |
+| `status` | *Optional\* | :heavy_minus_sign: | The status. | |
+| `targetAccountId` | *JsonNullable\* | :heavy_minus_sign: | Unique ID for the target account in the accounting software. | |
+| `targetAccountName` | *Optional\* | :heavy_minus_sign: | Name for the target account in the accounting software. | |
+| `targetAccountOptions` | List\<[TargetAccountOption](../../models/components/TargetAccountOption.md)> | :heavy_minus_sign: | An array of potential target accounts. | |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/BankTransactions.md b/bank-feeds/docs/models/components/BankTransactions.md
index d7ca8abe..a1582e3e 100644
--- a/bank-feeds/docs/models/components/BankTransactions.md
+++ b/bank-feeds/docs/models/components/BankTransactions.md
@@ -6,11 +6,11 @@
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `amount` | *BigDecimal* | :heavy_check_mark: | The amount transacted in the bank transaction. | 999.99 |
-| `balance` | *Optional* | :heavy_minus_sign: | The remaining balance in the account with ID `accountId`. This field is optional for QuickBooks Online but is required for Xero, Sage, NetSuite, Exact, and FreeAgent. | -999.99 |
-| `counterparty` | *JsonNullable* | :heavy_minus_sign: | The giving or receiving party such as a person or organization. | ACME INC |
+| `balance` | *Optional\* | :heavy_minus_sign: | The remaining balance in the account with ID `accountId`. This field is optional for QuickBooks Online but is required for Xero, Sage, NetSuite, Exact, and FreeAgent. | -999.99 |
+| `counterparty` | *JsonNullable\* | :heavy_minus_sign: | The giving or receiving party such as a person or organization. | ACME INC |
| `date` | *String* | :heavy_check_mark: | 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-23 00:00:00 +0000 UTC |
-| `description` | *JsonNullable* | :heavy_minus_sign: | Description of the bank transaction. | Debit for Payment Id sdp-1-57379a43-c4b8-49f5-bd7c-699189ee7a60 |
+| `description` | *JsonNullable\* | :heavy_minus_sign: | Description of the bank transaction. | Debit for Payment Id sdp-1-57379a43-c4b8-49f5-bd7c-699189ee7a60 |
| `id` | *String* | :heavy_check_mark: | Identifier for the bank account transaction, unique for the company in the accounting software. | 716422529 |
-| `reconciled` | *JsonNullable* | :heavy_minus_sign: | `True` if the bank transaction has been [reconciled](https://www.xero.com/uk/guides/what-is-bank-reconciliation/) in the accounting software. | false |
-| `reference` | *JsonNullable* | :heavy_minus_sign: | An optional reference to the bank transaction. | reference for transaction |
-| `transactionType` | [JsonNullable](../../models/components/BankTransactionType.md) | :heavy_minus_sign: | Type of transaction for the bank statement line. | |
\ No newline at end of file
+| `reconciled` | *JsonNullable\* | :heavy_minus_sign: | `True` if the bank transaction has been [reconciled](https://www.xero.com/uk/guides/what-is-bank-reconciliation/) in the accounting software. | false |
+| `reference` | *JsonNullable\* | :heavy_minus_sign: | An optional reference to the bank transaction. | reference for transaction |
+| `transactionType` | [JsonNullable\](../../models/components/BankTransactionType.md) | :heavy_minus_sign: | Type of transaction for the bank statement line. | |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/ClientRateLimitReachedWebhook.md b/bank-feeds/docs/models/components/ClientRateLimitReachedWebhook.md
index 22c74875..f03bce18 100644
--- a/bank-feeds/docs/models/components/ClientRateLimitReachedWebhook.md
+++ b/bank-feeds/docs/models/components/ClientRateLimitReachedWebhook.md
@@ -7,10 +7,10 @@ Webhook request body for a client that has reached their rate limit.
| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `alertId` | *Optional* | :heavy_minus_sign: | Unique identifier of the webhook event. |
-| `clientId` | *Optional* | :heavy_minus_sign: | Unique identifier for your client in Codat. |
-| `clientName` | *Optional* | :heavy_minus_sign: | Name of your client in Codat. |
-| `data` | [Optional](../../models/components/ClientRateLimitReachedWebhookData.md) | :heavy_minus_sign: | N/A |
-| `message` | *Optional* | :heavy_minus_sign: | A human-readable message about the webhook. |
-| ~~`ruleId`~~ | *Optional* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.
Unique identifier for the rule. |
-| `ruleType` | *Optional* | :heavy_minus_sign: | The type of rule. |
\ No newline at end of file
+| `alertId` | *Optional\* | :heavy_minus_sign: | Unique identifier of the webhook event. |
+| `clientId` | *Optional\* | :heavy_minus_sign: | Unique identifier for your client in Codat. |
+| `clientName` | *Optional\* | :heavy_minus_sign: | Name of your client in Codat. |
+| `data` | [Optional\](../../models/components/ClientRateLimitReachedWebhookData.md) | :heavy_minus_sign: | N/A |
+| `message` | *Optional\* | :heavy_minus_sign: | A human-readable message about the webhook. |
+| ~~`ruleId`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.
Unique identifier for the rule. |
+| `ruleType` | *Optional\* | :heavy_minus_sign: | The type of rule. |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/ClientRateLimitReachedWebhookData.md b/bank-feeds/docs/models/components/ClientRateLimitReachedWebhookData.md
index 748312f4..71963e2c 100644
--- a/bank-feeds/docs/models/components/ClientRateLimitReachedWebhookData.md
+++ b/bank-feeds/docs/models/components/ClientRateLimitReachedWebhookData.md
@@ -5,5 +5,5 @@
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `dailyQuota` | *Optional* | :heavy_minus_sign: | The number of available requests per day. | |
-| `expiresUtc` | *Optional* | :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-23 00:00:00 +0000 UTC |
\ No newline at end of file
+| `dailyQuota` | *Optional\* | :heavy_minus_sign: | The number of available requests per day. | |
+| `expiresUtc` | *Optional\* | :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-23 00:00:00 +0000 UTC |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/ClientRateLimitResetWebhook.md b/bank-feeds/docs/models/components/ClientRateLimitResetWebhook.md
index 68f23dd4..a4f6e215 100644
--- a/bank-feeds/docs/models/components/ClientRateLimitResetWebhook.md
+++ b/bank-feeds/docs/models/components/ClientRateLimitResetWebhook.md
@@ -7,10 +7,10 @@ Webhook request body for a client that has had their rate limit reset.
| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `alertId` | *Optional* | :heavy_minus_sign: | Unique identifier of the webhook event. |
-| `clientId` | *Optional* | :heavy_minus_sign: | Unique identifier for your client in Codat. |
-| `clientName` | *Optional* | :heavy_minus_sign: | Name of your client in Codat. |
-| `data` | [Optional](../../models/components/ClientRateLimitResetWebhookData.md) | :heavy_minus_sign: | N/A |
-| `message` | *Optional* | :heavy_minus_sign: | A human-readable message about the webhook. |
-| ~~`ruleId`~~ | *Optional* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.
Unique identifier for the rule. |
-| `ruleType` | *Optional* | :heavy_minus_sign: | The type of rule. |
\ No newline at end of file
+| `alertId` | *Optional\* | :heavy_minus_sign: | Unique identifier of the webhook event. |
+| `clientId` | *Optional\* | :heavy_minus_sign: | Unique identifier for your client in Codat. |
+| `clientName` | *Optional\* | :heavy_minus_sign: | Name of your client in Codat. |
+| `data` | [Optional\](../../models/components/ClientRateLimitResetWebhookData.md) | :heavy_minus_sign: | N/A |
+| `message` | *Optional\* | :heavy_minus_sign: | A human-readable message about the webhook. |
+| ~~`ruleId`~~ | *Optional\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.
Unique identifier for the rule. |
+| `ruleType` | *Optional\* | :heavy_minus_sign: | The type of rule. |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/ClientRateLimitResetWebhookData.md b/bank-feeds/docs/models/components/ClientRateLimitResetWebhookData.md
index d4f34f5f..3498735a 100644
--- a/bank-feeds/docs/models/components/ClientRateLimitResetWebhookData.md
+++ b/bank-feeds/docs/models/components/ClientRateLimitResetWebhookData.md
@@ -5,7 +5,7 @@
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `dailyQuota` | *Optional* | :heavy_minus_sign: | The number of available requests per day. | |
-| `expiresUtc` | *Optional* | :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-23 00:00:00 +0000 UTC |
-| `quotaRemaining` | *JsonNullable* | :heavy_minus_sign: | Total number of requests remaining for your client. | |
-| `resetReason` | *Optional* | :heavy_minus_sign: | The reason for your rate limit quota being reset. | |
\ No newline at end of file
+| `dailyQuota` | *Optional\* | :heavy_minus_sign: | The number of available requests per day. | |
+| `expiresUtc` | *Optional\* | :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-23 00:00:00 +0000 UTC |
+| `quotaRemaining` | *JsonNullable\* | :heavy_minus_sign: | Total number of requests remaining for your client. | |
+| `resetReason` | *Optional\* | :heavy_minus_sign: | The reason for your rate limit quota being reset. | |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/ClientRateLimitWebhook.md b/bank-feeds/docs/models/components/ClientRateLimitWebhook.md
index f1109eb7..bfcfa438 100644
--- a/bank-feeds/docs/models/components/ClientRateLimitWebhook.md
+++ b/bank-feeds/docs/models/components/ClientRateLimitWebhook.md
@@ -5,7 +5,7 @@
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `eventType` | *Optional* | :heavy_minus_sign: | The type of event. | client.rateLimit.reset |
-| `generatedDate` | *Optional* | :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-23 00:00:00 +0000 UTC |
-| `id` | *Optional* | :heavy_minus_sign: | Unique identifier of the event. | 743ec94a-8aa4-44bb-8bd4-e1855ee0e74b |
-| `payload` | [Optional](../../models/components/ClientRateLimitWebhookPayload.md) | :heavy_minus_sign: | N/A | |
\ No newline at end of file
+| `eventType` | *Optional\* | :heavy_minus_sign: | The type of event. | client.rateLimit.reset |
+| `generatedDate` | *Optional\* | :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-23 00:00:00 +0000 UTC |
+| `id` | *Optional\* | :heavy_minus_sign: | Unique identifier of the event. | 743ec94a-8aa4-44bb-8bd4-e1855ee0e74b |
+| `payload` | [Optional\](../../models/components/ClientRateLimitWebhookPayload.md) | :heavy_minus_sign: | N/A | |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/ClientRateLimitWebhookPayload.md b/bank-feeds/docs/models/components/ClientRateLimitWebhookPayload.md
index 8edb73b2..70fdc833 100644
--- a/bank-feeds/docs/models/components/ClientRateLimitWebhookPayload.md
+++ b/bank-feeds/docs/models/components/ClientRateLimitWebhookPayload.md
@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `dailyQuota` | *Optional* | :heavy_minus_sign: | The number of available requests per day. | |
-| `expiryDate` | *Optional* | :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-23 00:00:00 +0000 UTC |
-| `quotaRemaining` | *Optional* | :heavy_minus_sign: | Total number of requests remaining for your client. | |
\ No newline at end of file
+| `dailyQuota` | *Optional\* | :heavy_minus_sign: | The number of available requests per day. | |
+| `expiryDate` | *Optional\* | :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-23 00:00:00 +0000 UTC |
+| `quotaRemaining` | *Optional\* | :heavy_minus_sign: | Total number of requests remaining for your client. | |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/Companies.md b/bank-feeds/docs/models/components/Companies.md
index 3e6ef9b8..2abd4efd 100644
--- a/bank-feeds/docs/models/components/Companies.md
+++ b/bank-feeds/docs/models/components/Companies.md
@@ -8,5 +8,5 @@
| `links` | [Links](../../models/components/Links.md) | :heavy_check_mark: | N/A | {
"self": {
"href": "/companies"
},
"current": {
"href": "/companies?page=1\u0026pageSize=10"
}
} |
| `pageNumber` | *long* | :heavy_check_mark: | Current page number. | |
| `pageSize` | *long* | :heavy_check_mark: | Number of items to return in results array. | |
-| `results` | List<[Company](../../models/components/Company.md)> | :heavy_minus_sign: | N/A | |
+| `results` | List\<[Company](../../models/components/Company.md)> | :heavy_minus_sign: | N/A | |
| `totalResults` | *long* | :heavy_check_mark: | Total number of items. | |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/Company.md b/bank-feeds/docs/models/components/Company.md
index d0076d31..481462b1 100644
--- a/bank-feeds/docs/models/components/Company.md
+++ b/bank-feeds/docs/models/components/Company.md
@@ -11,12 +11,13 @@ When you create a company, you can specify a `name` and we will automatically ge
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `created` | *Optional* | :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-23 00:00:00 +0000 UTC |
-| `createdByUserName` | *JsonNullable* | :heavy_minus_sign: | Name of user that created the company in Codat. | |
-| `dataConnections` | List<[Connection](../../models/components/Connection.md)> | :heavy_minus_sign: | N/A | |
-| `description` | *Optional* | :heavy_minus_sign: | Additional information about the company. This can be used to store foreign IDs, references, etc. | Requested early access to the new financing scheme. |
+| `created` | *Optional\* | :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-23 00:00:00 +0000 UTC |
+| `createdByUserName` | *JsonNullable\* | :heavy_minus_sign: | Name of user that created the company in Codat. | |
+| `dataConnections` | List\<[Connection](../../models/components/Connection.md)> | :heavy_minus_sign: | N/A | |
+| `description` | *Optional\* | :heavy_minus_sign: | Additional information about the company. This can be used to store foreign IDs, references, etc. | Requested early access to the new financing scheme. |
| `id` | *String* | :heavy_check_mark: | Unique identifier for your SMB in Codat. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
-| `lastSync` | *Optional* | :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-23 00:00:00 +0000 UTC |
+| `lastSync` | *Optional\* | :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-23 00:00:00 +0000 UTC |
| `name` | *String* | :heavy_check_mark: | The name of the company | Codat Ltd. |
+| `products` | List\<*String*> | :heavy_minus_sign: | An array of products that are currently enabled for the company. | |
| `redirect` | *String* | :heavy_check_mark: | The `redirect` [Link URL](https://docs.codat.io/auth-flow/authorize-hosted-link) enabling the customer to start their auth flow journey for the company. | https://link.codat.io/company/27628208-459c-46a2-a705-5641ce25f739 |
-| `tags` | [Optional](../../models/components/Tags.md) | :heavy_minus_sign: | A collection of user-defined key-value pairs that store custom metadata against the company. | |
\ No newline at end of file
+| `tags` | Map\ | :heavy_minus_sign: | A collection of user-defined key-value pairs that store custom metadata against the company. | |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/CompanyInformation.md b/bank-feeds/docs/models/components/CompanyInformation.md
index 215d2d19..57e55a70 100644
--- a/bank-feeds/docs/models/components/CompanyInformation.md
+++ b/bank-feeds/docs/models/components/CompanyInformation.md
@@ -5,9 +5,10 @@ Information about the company from the underlying accounting software.
## Fields
-| Field | Type | Required | Description |
-| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- |
-| `baseCurrency` | *Optional* | :heavy_minus_sign: | Currency set in the accounting software of the linked company. |
-| `companyName` | *Optional* | :heavy_minus_sign: | Name of the linked company. |
-| `multicurrencyEnabled` | *JsonNullable* | :heavy_minus_sign: | Boolean showing if the organisation has multicurrency enabled |
-| `planType` | *JsonNullable* | :heavy_minus_sign: | Accounting software subscription type such as Trial, Demo, Standard |
\ No newline at end of file
+| Field | Type | Required | Description |
+| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
+| `baseCurrency` | *Optional\* | :heavy_minus_sign: | Currency set in the accounting software of the linked company. |
+| `companyName` | *Optional\* | :heavy_minus_sign: | Name of the linked company. |
+| `currencies` | List\<*String*> | :heavy_minus_sign: | Array of enabled currencies for the linked company. |
+| `multicurrencyEnabled` | *Optional\* | :heavy_minus_sign: | Boolean showing if the organisation has multicurrency enabled. |
+| `planType` | *JsonNullable\* | :heavy_minus_sign: | Accounting software subscription type such as Trial, Demo, Standard. |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/CompanyReference.md b/bank-feeds/docs/models/components/CompanyReference.md
new file mode 100644
index 00000000..36df806e
--- /dev/null
+++ b/bank-feeds/docs/models/components/CompanyReference.md
@@ -0,0 +1,12 @@
+# CompanyReference
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
+| `description` | *Optional\* | :heavy_minus_sign: | Additional information about the company. This can be used to store foreign IDs, references, etc. | Requested early access to the new financing scheme. |
+| `id` | *Optional\* | :heavy_minus_sign: | Unique identifier for your SMB in Codat. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `links` | [Optional\](../../models/components/CompanyReferenceLinks.md) | :heavy_minus_sign: | A collection of links for the company. | |
+| `name` | *Optional\* | :heavy_minus_sign: | The name of the company | Codat Ltd. |
+| `tags` | Map\ | :heavy_minus_sign: | A collection of user-defined key-value pairs that store custom metadata against the company. | |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/CompanyReferenceLinks.md b/bank-feeds/docs/models/components/CompanyReferenceLinks.md
new file mode 100644
index 00000000..cf075bb9
--- /dev/null
+++ b/bank-feeds/docs/models/components/CompanyReferenceLinks.md
@@ -0,0 +1,10 @@
+# CompanyReferenceLinks
+
+A collection of links for the company.
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- |
+| `portal` | *Optional\* | :heavy_minus_sign: | Link to the company page in the portal. |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/CompanyRequestBody.md b/bank-feeds/docs/models/components/CompanyRequestBody.md
index da236c2a..f5b32be7 100644
--- a/bank-feeds/docs/models/components/CompanyRequestBody.md
+++ b/bank-feeds/docs/models/components/CompanyRequestBody.md
@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
-| `description` | *Optional* | :heavy_minus_sign: | Additional information about the company. This can be used to store foreign IDs, references, etc. | Requested early access to the new financing scheme. |
-| `groups` | List<[GroupReference](../../models/components/GroupReference.md)> | :heavy_minus_sign: | Reference to the groups that the company is assigned to. | |
-| `name` | *String* | :heavy_check_mark: | Name of company being connected. | Bank of Dave |
\ No newline at end of file
+| `description` | *Optional\* | :heavy_minus_sign: | Additional information about the company. This can be used to store foreign IDs, references, etc. | Requested early access to the new financing scheme. |
+| `name` | *String* | :heavy_check_mark: | Name of company being connected. | Bank of Dave |
+| `tags` | Map\ | :heavy_minus_sign: | A collection of user-defined key-value pairs that store custom metadata against the company. | |
\ No newline at end of file
diff --git a/bank-feeds/docs/models/components/CompanySyncStatus.md b/bank-feeds/docs/models/components/CompanySyncStatus.md
index 820ff8fe..577bba83 100644
--- a/bank-feeds/docs/models/components/CompanySyncStatus.md
+++ b/bank-feeds/docs/models/components/CompanySyncStatus.md
@@ -5,11 +5,11 @@
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `companyId` | *JsonNullable* | :heavy_minus_sign: | Unique identifier for your SMB in Codat. | d4d73051-ed31-42b6-99f6-d288cd940992 |
-| `dataPushed` | *Optional* | :heavy_minus_sign: | Boolean of whether the sync resulted in data being pushed. | |
-| `errorMessage` | *JsonNullable* | :heavy_minus_sign: | Error message of the sync. | |
-| `syncExceptionMessage` | *JsonNullable* | :heavy_minus_sign: | Exception message of the sync. | |
-| `syncId` | *JsonNullable* | :heavy_minus_sign: | Unique identifier of the sync. | a6a22aff-a43a-411d-a910-2dae73217cce |
-| `syncStatus` | *JsonNullable