diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index c22364d40..e00999443 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,4 +1,4 @@ -speakeasyVersion: 1.431.0 +speakeasyVersion: 1.440.1 sources: accounting-source: sourceNamespace: accounting-source @@ -51,11 +51,11 @@ sources: - main lending-source: sourceNamespace: lending-source - sourceRevisionDigest: sha256:1c1a13e40930648d6f76aadd67cc630ad6a031b90026600276f75ba695b5cff4 - sourceBlobDigest: sha256:4525ee073b57729cfcb4c57cd3715fd634d44b091eb42b011966d87654980fc2 + sourceRevisionDigest: sha256:ae3f5182c6b6bbb762d9c110f86c9dec705e2c2b017542fa1a804220ff175f33 + sourceBlobDigest: sha256:0bb930c7190c9e61384e5af6224f76ea004ad9bc0788b264aaa35b9ebad5699f tags: - latest - - main + - speakeasy-sdk-regen-1731929452 platform-source: sourceNamespace: platform-source sourceRevisionDigest: sha256:79f704c98bf458bc595e6607b6bf1fc95a6ba5da522953eedbba8fc9cce25e21 @@ -151,8 +151,10 @@ targets: lending-library: source: lending-source sourceNamespace: lending-source - sourceRevisionDigest: sha256:1c1a13e40930648d6f76aadd67cc630ad6a031b90026600276f75ba695b5cff4 - sourceBlobDigest: sha256:4525ee073b57729cfcb4c57cd3715fd634d44b091eb42b011966d87654980fc2 + sourceRevisionDigest: sha256:ae3f5182c6b6bbb762d9c110f86c9dec705e2c2b017542fa1a804220ff175f33 + sourceBlobDigest: sha256:0bb930c7190c9e61384e5af6224f76ea004ad9bc0788b264aaa35b9ebad5699f + codeSamplesNamespace: lending-source-code-samples + codeSamplesRevisionDigest: sha256:e91ab159b16280445cda6b9f0c3c8113b3bbe9727d43b49a5f3847ccd3bf44aa platform-library: source: platform-source sourceNamespace: platform-source diff --git a/lending/.speakeasy/gen.lock b/lending/.speakeasy/gen.lock index be80f635c..e7fa26cac 100755 --- a/lending/.speakeasy/gen.lock +++ b/lending/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 38fc8a31-15d9-4bd1-b91d-cc3fc015d0f0 management: - docChecksum: 47ce8d5f4793d0a11bb2be80992e2061 + docChecksum: c6d72895672a8c668a806b9c6b91e5b6 docVersion: 3.0.0 - speakeasyVersion: 1.431.0 - generationVersion: 2.451.0 - releaseVersion: 6.0.0 - configChecksum: 32f03f7cd476030d28264397a6320040 + speakeasyVersion: 1.440.1 + generationVersion: 2.460.1 + releaseVersion: 7.0.0 + configChecksum: f93f15314fdb0636d4e7a3d857b030fa repoURL: https://github.com/codatio/client-sdk-go.git repoSubDirectory: lending installationURL: https://github.com/codatio/client-sdk-go/lending @@ -15,7 +15,7 @@ features: go: additionalDependencies: 0.1.0 constsAndDefaults: 0.1.6 - core: 3.5.15 + core: 3.5.16 decimal: 0.1.0 defaultEnabledRetries: 0.2.0 deprecations: 2.81.1 @@ -248,6 +248,7 @@ generatedFiles: - /pkg/models/shared/accountingpaymentallocation.go - /pkg/models/shared/accountingpayments.go - /pkg/models/shared/accountingprofitandlossreport.go + - /pkg/models/shared/accountingrecordref.go - /pkg/models/shared/accountingsupplier.go - /pkg/models/shared/accountingsuppliers.go - /pkg/models/shared/accountingtransfer.go @@ -440,7 +441,6 @@ generatedFiles: - /pkg/models/shared/pushoptionproperty.go - /pkg/models/shared/pushoptiontype.go - /pkg/models/shared/pushvalidationinfo.go - - /pkg/models/shared/recordref.go - /pkg/models/shared/reportbasis.go - /pkg/models/shared/reportcomponentmeasure.go - /pkg/models/shared/reportgenerationpayload.go @@ -904,6 +904,7 @@ generatedFiles: - docs/pkg/models/shared/accountingpaymentallocation.md - docs/pkg/models/shared/accountingpayments.md - docs/pkg/models/shared/accountingprofitandlossreport.md + - docs/pkg/models/shared/accountingrecordref.md - docs/pkg/models/shared/accountingsupplier.md - docs/pkg/models/shared/accountingsuppliers.md - docs/pkg/models/shared/accountingtransfer.md @@ -1117,8 +1118,6 @@ generatedFiles: - docs/pkg/models/shared/pushoptiontype.md - docs/pkg/models/shared/pushvalidationinfo.md - docs/pkg/models/shared/recordlinereference.md - - docs/pkg/models/shared/recordref.md - - docs/pkg/models/shared/recordreference.md - docs/pkg/models/shared/reportbasis.md - docs/pkg/models/shared/reportcomponentmeasure.md - docs/pkg/models/shared/reportgenerationpayload.md @@ -1306,14 +1305,14 @@ examples: 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"} + 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", "referenceParentCompany": {"description": "Requested early access to the new financing scheme.", "id": "8a210b68-6988-11ed-a1eb-0242ac120002", "name": "Codat Ltd."}, "referenceSubsidiaryCompanies": []} "400": {} With a description: requestBody: 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"} + 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", "referenceParentCompany": {"description": "Requested early access to the new financing scheme.", "id": "8a210b68-6988-11ed-a1eb-0242ac120002", "name": "Codat Ltd."}, "referenceSubsidiaryCompanies": []} "400": {} With a group: requestBody: @@ -1333,7 +1332,7 @@ examples: 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"}} + 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", "referenceParentCompany": {"description": "Requested early access to the new financing scheme.", "id": "8a210b68-6988-11ed-a1eb-0242ac120002", "name": "Codat Ltd."}, "referenceSubsidiaryCompanies": [], "tags": {"region": "us"}} delete-company: Unauthorized: parameters: @@ -1349,7 +1348,7 @@ examples: companyId: "8a210b68-6988-11ed-a1eb-0242ac120002" responses: "200": - application/json: {"created": "2022-11-10T10:45:18Z", "createdByUserName": "Dan Tzabar", "dataConnections": [], "description": "", "id": "ab12c58d-a678-4ebf-a159-ae99e1807bd0", "lastSync": "2022-10-23T00:00:00Z", "name": "My First Company", "redirect": "https://link.codat.io/company/ab12c58d-a678-4ebf-a159-ae99e1807bd0"} + application/json: {"created": "2022-11-10T10:45:18Z", "createdByUserName": "Dan Tzabar", "dataConnections": [], "description": "", "id": "ab12c58d-a678-4ebf-a159-ae99e1807bd0", "lastSync": "2022-10-23T00:00:00Z", "name": "Toft stores holdings", "redirect": "https://link.codat.io/company/ab12c58d-a678-4ebf-a159-ae99e1807bd0", "referenceParentCompany": {"description": "Requested early access to the new financing scheme.", "id": "8a210b68-6988-11ed-a1eb-0242ac120002", "name": "Codat Ltd."}, "referenceSubsidiaryCompanies": []} With groups: parameters: path: @@ -1364,6 +1363,20 @@ examples: responses: "401": application/json: {"canBeRetried": "Unknown", "correlationId": "7eb40d6b415d7bcd99ce658268284056", "detailedErrorCode": 0, "error": "Unauthorized", "service": "PublicApi", "statusCode": 401} + Parent multi-entity company: + parameters: + path: + companyId: "8a210b68-6988-11ed-a1eb-0242ac120002" + responses: + "200": + application/json: {"created": "2022-11-10T10:45:18Z", "createdByUserName": "Dan Tzabar", "dataConnections": [], "description": "", "id": "ab12c58d-a678-4ebf-a159-ae99e1807bd0", "lastSync": "2022-10-23T00:00:00Z", "name": "Toft stores", "redirect": "https://link.codat.io/company/ab12c58d-a678-4ebf-a159-ae99e1807bd0", "referenceParentCompany": {"description": "Requested early access to the new financing scheme.", "id": "8a210b68-6988-11ed-a1eb-0242ac120002", "name": "Codat Ltd."}, "referenceSubsidiaryCompanies": [{"description": "Requested early access to the new financing scheme.", "id": "c8d3af58-7011-47ce-b3f2-89faf300ef6d", "links": {"portal": "https://app.codat.io/companies/c8d3af58-7011-47ce-b3f2-89faf300ef6d/summary"}, "name": "Toft stores UK"}, {"description": "Requested early access to the new financing scheme.", "id": "db94eddc-9212-4568-9b5c-3eab0e325913", "links": {"portal": "https://app.codat.io/companies/db94eddc-9212-4568-9b5c-3eab0e325913/summary"}, "name": "Toft stores US"}]} + Subsidiary multi-entity company: + parameters: + path: + companyId: "8a210b68-6988-11ed-a1eb-0242ac120002" + responses: + "200": + application/json: {"created": "2022-11-10T10:45:18Z", "createdByUserName": "Dan Tzabar", "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": "d5ab61b7-1ad0-46fd-9f9f-b6761047941e", "integrationId": "cc750323-5a47-4f28-8d8e-30fbbf2ce137", "integrationKey": "akxx", "lastSync": "2022-01-01T12:30:00.000Z", "linkUrl": "https://link-api.codat.io/companies/c8d3af58-7011-47ce-b3f2-89faf300ef6d/connections/d5ab61b7-1ad0-46fd-9f9f-b6761047941e/start", "platformName": "Oracle NetSuite", "sourceId": "9815b998-024d-4415-a40b-89903b2cad6f", "sourceType": "Accounting", "status": "Linked"}], "description": "", "id": "c8d3af58-7011-47ce-b3f2-89faf300ef6d", "lastSync": "2022-10-23T00:00:00Z", "name": "Toft stores UK", "redirect": "https://link.codat.io/company/c8d3af58-7011-47ce-b3f2-89faf300ef6d", "referenceParentCompany": {"description": "Requested early access to the new financing scheme.", "id": "ab12c58d-a678-4ebf-a159-ae99e1807bd0", "links": {"portal": "https://app.codat.io/companies/ab12c58d-a678-4ebf-a159-ae99e1807bd0/summary"}, "name": "Toft stores"}, "referenceSubsidiaryCompanies": []} list-companies: "": parameters: @@ -1374,7 +1387,7 @@ examples: orderBy: "-modifiedDate" responses: "200": - application/json: {"_links": {"current": {"href": "/companies/{id}/data/{dataType}?page=1&pageSize=10"}, "self": {"href": "/companies/{id}/data/{dataType}"}}, "pageNumber": 1, "pageSize": 10, "results": [{"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"}], "totalResults": 1} + application/json: {"_links": {"current": {"href": "/companies/{id}/data/{dataType}?page=1&pageSize=10"}, "self": {"href": "/companies/{id}/data/{dataType}"}}, "pageNumber": 1, "pageSize": 10, "results": [{"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", "referenceParentCompany": {"description": "Requested early access to the new financing scheme.", "id": "8a210b68-6988-11ed-a1eb-0242ac120002", "name": "Codat Ltd."}, "referenceSubsidiaryCompanies": [{"description": "Requested early access to the new financing scheme.", "id": "8a210b68-6988-11ed-a1eb-0242ac120002", "name": "Codat Ltd."}, {"description": "Requested early access to the new financing scheme.", "id": "8a210b68-6988-11ed-a1eb-0242ac120002", "name": "Codat Ltd."}, {"description": "Requested early access to the new financing scheme.", "id": "8a210b68-6988-11ed-a1eb-0242ac120002", "name": "Codat Ltd."}]}], "totalResults": 1} "400": {} One company: parameters: @@ -1385,7 +1398,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": [{"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} + 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"}], "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", "referenceParentCompany": {"description": "Requested early access to the new financing scheme.", "id": "8a210b68-6988-11ed-a1eb-0242ac120002", "name": "Codat Ltd."}, "referenceSubsidiaryCompanies": []}], "totalResults": 1} List of Companies: parameters: query: @@ -1395,7 +1408,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": [{"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} + 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", "referenceParentCompany": {"description": "Requested early access to the new financing scheme.", "id": "8a210b68-6988-11ed-a1eb-0242ac120002", "name": "Codat Ltd."}, "referenceSubsidiaryCompanies": []}, {"created": "2022-11-10T10:45:18Z", "createdByUserName": "Dan Tzabar", "dataConnections": [], "description": "Requested early access to the new financing scheme.", "id": "ab12c58d-a678-4ebf-a159-ae99e1807bd0", "lastSync": "2022-10-23T00:00:00Z", "name": "Toft stores", "redirect": "https://link.codat.io/company/ab12c58d-a678-4ebf-a159-ae99e1807bd0", "referenceParentCompany": {"description": "Requested early access to the new financing scheme.", "id": "8a210b68-6988-11ed-a1eb-0242ac120002", "name": "Codat Ltd."}, "referenceSubsidiaryCompanies": [{"description": "Requested early access to the new financing scheme.", "id": "c8d3af58-7011-47ce-b3f2-89faf300ef6d", "links": {"portal": "https://app.codat.io/companies/c8d3af58-7011-47ce-b3f2-89faf300ef6d/summary"}, "name": "Toft stores UK"}, {"description": "Requested early access to the new financing scheme.", "id": "db94eddc-9212-4568-9b5c-3eab0e325913", "links": {"portal": "https://app.codat.io/companies/db94eddc-9212-4568-9b5c-3eab0e325913/summary"}, "name": "Toft stores US"}]}, {"created": "2022-11-10T10:45:18Z", "createdByUserName": "Dan Tzabar", "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": "d5ab61b7-1ad0-46fd-9f9f-b6761047941e", "integrationId": "cc750323-5a47-4f28-8d8e-30fbbf2ce137", "integrationKey": "akxx", "lastSync": "2022-01-01T12:30:00.000Z", "linkUrl": "https://link-api.codat.io/companies/c8d3af58-7011-47ce-b3f2-89faf300ef6d/connections/d5ab61b7-1ad0-46fd-9f9f-b6761047941e/start", "platformName": "Oracle NetSuite", "sourceId": "9815b998-024d-4415-a40b-89903b2cad6f", "sourceType": "Accounting", "status": "Linked"}], "description": "Requested early access to the new financing scheme.", "id": "c8d3af58-7011-47ce-b3f2-89faf300ef6d", "lastSync": "2022-10-23T00:00:00Z", "name": "Toft stores UK", "redirect": "https://link.codat.io/company/c8d3af58-7011-47ce-b3f2-89faf300ef6d", "referenceParentCompany": {"description": "Requested early access to the new financing scheme.", "id": "ab12c58d-a678-4ebf-a159-ae99e1807bd0", "links": {"portal": "https://app.codat.io/companies/ab12c58d-a678-4ebf-a159-ae99e1807bd0/summary"}, "name": "Toft stores"}, "referenceSubsidiaryCompanies": []}, {"created": "2022-11-10T10:45:18Z", "createdByUserName": "Dan Tzabar", "dataConnections": [{"created": "2022-01-01T11:30:00Z", "dataConnectionErrors": [{"erroredOnUtc": "2022-10-23T00:00:00Z", "resolvedOnUtc": "2022-10-23T00:00:00Z"}], "id": "1e5c8c9e-27fd-4ba9-9a2a-d02ba65bc2fb", "integrationId": "cc750323-5a47-4f28-8d8e-30fbbf2ce137", "integrationKey": "akxx", "lastSync": "2022-01-01T12:30:00.000Z", "linkUrl": "https://link-api.codat.io/companies/db94eddc-9212-4568-9b5c-3eab0e325913/connections/1e5c8c9e-27fd-4ba9-9a2a-d02ba65bc2fb/start", "platformName": "Oracle NetSuite", "sourceId": "9815b998-024d-4415-a40b-89903b2cad6f", "sourceType": "Accounting", "status": "Linked"}], "description": "Requested early access to the new financing scheme.", "id": "db94eddc-9212-4568-9b5c-3eab0e325913", "lastSync": "2022-10-23T00:00:00Z", "name": "Toft stores US", "redirect": "https://link.codat.io/company/db94eddc-9212-4568-9b5c-3eab0e325913", "referenceParentCompany": {"description": "Requested early access to the new financing scheme.", "id": "ab12c58d-a678-4ebf-a159-ae99e1807bd0", "links": {"portal": "https://app.codat.io/companies/ab12c58d-a678-4ebf-a159-ae99e1807bd0/summary"}, "name": "Toft stores"}, "referenceSubsidiaryCompanies": []}], "totalResults": 3} Malformed query: parameters: query: @@ -1425,7 +1438,7 @@ examples: 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": [{"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"}} + 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", "referenceParentCompany": {"description": "Requested early access to the new financing scheme.", "id": "8a210b68-6988-11ed-a1eb-0242ac120002", "name": "Codat Ltd."}, "referenceSubsidiaryCompanies": [], "tags": {"region": "us", "uid": "f6b0c253-16c7-4da1-a0c5-9c871e9c9d6c"}} "401": {} Update description: parameters: @@ -1435,7 +1448,7 @@ examples: 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", "tags": {"region": "us", "uid": "f6b0c253-16c7-4da1-a0c5-9c871e9c9d6c"}} + 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", "referenceParentCompany": {"description": "Requested early access to the new financing scheme.", "id": "8a210b68-6988-11ed-a1eb-0242ac120002", "name": "Codat Ltd."}, "referenceSubsidiaryCompanies": [{"description": "Requested early access to the new financing scheme.", "id": "8a210b68-6988-11ed-a1eb-0242ac120002", "name": "Codat Ltd."}], "tags": {"region": "us", "uid": "f6b0c253-16c7-4da1-a0c5-9c871e9c9d6c"}} "401": {} Unauthorized: parameters: @@ -2103,7 +2116,7 @@ examples: transferId: "7110701885" responses: "200": - application/json: {"contactRef": {"dataType": "customers", "id": "e4baf949-cb1d-4341-8452-200a93baa3fa"}, "date": "2022-04-25T07:20:00", "depositedRecordRefs": [{"dataType": "directIncomes", "id": "fc253cca-0dfe-46e8-b75f-c7fb3db760b2"}], "description": "depositing 16531.08 into Current Account", "from": {"accountRef": {"id": "ff8fdc4c-2aad-4ec1-9430-6bd201832eb3"}, "amount": 16531.08, "currency": "GBP"}, "id": "0bd2f801-6f02-44d6-a2ab-5431553d16f9", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-26T12:38:18", "sourceModifiedDate": "2022-04-25T07:20:00", "to": {"accountRef": {"id": "dbcaf288-2b39-4b95-8ab3-42202ab15918"}, "amount": 16531.08, "currency": "GBP"}, "trackingCategoryRefs": []} + application/json: {"contactRef": {"dataType": "customers", "id": "e4baf949-cb1d-4341-8452-200a93baa3fa"}, "date": "2022-04-25T07:20:00", "depositedRecordRefs": [{"dataType": "directIncomes", "id": "fc253cca-0dfe-46e8-b75f-c7fb3db760b2"}], "description": "depositing 16531.08 into Current Account", "from": {"accountRef": {"dataType": "bankAccounts", "id": "ff8fdc4c-2aad-4ec1-9430-6bd201832eb3"}, "amount": 16531.08, "currency": "GBP"}, "id": "0bd2f801-6f02-44d6-a2ab-5431553d16f9", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-26T12:38:18", "sourceModifiedDate": "2022-04-25T07:20:00", "to": {"accountRef": {"dataType": "bankAccounts", "id": "dbcaf288-2b39-4b95-8ab3-42202ab15918"}, "amount": 16531.08, "currency": "GBP"}, "trackingCategoryRefs": []} Dynamics 365 Business Central: parameters: path: @@ -2112,7 +2125,7 @@ examples: transferId: "7110701885" responses: "200": - application/json: {"date": "2020-11-26T00:00:00", "depositedRecordRefs": [], "from": {"accountRef": {"id": "cf1417b3-89d1-ea11-bbaa-000d3a2b9185"}, "amount": 20, "currency": "GBP"}, "id": "G00001", "metadata": {"isDeleted": false}, "modifiedDate": "2023-03-27T14:21:26", "sourceModifiedDate": "2020-11-26T12:16:44Z", "to": {"accountRef": {"id": "ce1417b3-89d1-ea11-bbaa-000d3a2b9185"}, "amount": 20, "currency": "GBP"}, "trackingCategoryRefs": []} + application/json: {"date": "2020-11-26T00:00:00", "depositedRecordRefs": [], "from": {"accountRef": {"dataType": "bankAccounts", "id": "cf1417b3-89d1-ea11-bbaa-000d3a2b9185"}, "amount": 20, "currency": "GBP"}, "id": "G00001", "metadata": {"isDeleted": false}, "modifiedDate": "2023-03-27T14:21:26", "sourceModifiedDate": "2020-11-26T12:16:44Z", "to": {"accountRef": {"dataType": "bankAccounts", "id": "ce1417b3-89d1-ea11-bbaa-000d3a2b9185"}, "amount": 20, "currency": "GBP"}, "trackingCategoryRefs": []} FreeAgent: parameters: path: @@ -2121,7 +2134,7 @@ examples: transferId: "7110701885" responses: "200": - application/json: {"date": "2018-06-14T00:00:00", "depositedRecordRefs": [], "description": "Transfer from Savings Account to Freeagent Test12", "from": {"accountRef": {"id": "532100"}, "amount": 0.69, "currency": "GBP"}, "id": "307335275", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-25T14:21:36", "sourceModifiedDate": "2022-03-23T15:55:58Z", "to": {"accountRef": {"id": "708504"}, "amount": 0.69, "currency": "GBP"}, "trackingCategoryRefs": [{"id": "761"}]} + application/json: {"date": "2018-06-14T00:00:00", "depositedRecordRefs": [], "description": "Transfer from Savings Account to Freeagent Test12", "from": {"accountRef": {"dataType": "bankAccounts", "id": "532100"}, "amount": 0.69, "currency": "GBP"}, "id": "307335275", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-25T14:21:36", "sourceModifiedDate": "2022-03-23T15:55:58Z", "to": {"accountRef": {"dataType": "bankAccounts", "id": "708504"}, "amount": 0.69, "currency": "GBP"}, "trackingCategoryRefs": [{"id": "761"}]} Oracle NetSuite: parameters: path: @@ -2130,7 +2143,7 @@ examples: transferId: "7110701885" responses: "200": - application/json: {"contactRef": {"dataType": "customers", "id": "417"}, "date": "2021-03-10T00:00:00", "depositedRecordRefs": [{"dataType": "payments", "id": "428"}], "from": {"accountRef": {"id": "122"}, "amount": 90, "currency": "GBP"}, "id": "2-1", "modifiedDate": "2022-09-20T08:16:26", "sourceModifiedDate": "2022-04-28T13:36:47", "to": {"accountRef": {"id": "513"}, "amount": 90, "currency": "GBP"}, "trackingCategoryRefs": [{"id": "location-1"}]} + application/json: {"contactRef": {"dataType": "customers", "id": "417"}, "date": "2021-03-10T00:00:00", "depositedRecordRefs": [{"dataType": "payments", "id": "428"}], "from": {"accountRef": {"dataType": "bankAccounts", "id": "122"}, "amount": 90, "currency": "GBP"}, "id": "2-1", "modifiedDate": "2022-09-20T08:16:26", "sourceModifiedDate": "2022-04-28T13:36:47", "to": {"accountRef": {"dataType": "bankAccounts", "id": "513"}, "amount": 90, "currency": "GBP"}, "trackingCategoryRefs": [{"id": "location-1"}]} QuickBooks Desktop: parameters: path: @@ -2139,7 +2152,7 @@ examples: transferId: "EILBDVJVNUAGVKRQ" responses: "200": - application/json: {"date": "2024-10-14T00:00:00", "depositedRecordRefs": [], "description": "Funds Transfer", "from": {"accountRef": {"id": "30000-933270541"}, "amount": 15000, "currency": "GBP"}, "id": "4B1-933288922", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-26T09:13:45", "sourceModifiedDate": "2023-12-16T05:03:58", "to": {"accountRef": {"id": "20000-933270541"}, "amount": 15000, "currency": "GBP"}, "trackingCategoryRefs": []} + application/json: {"date": "2024-10-14T00:00:00", "depositedRecordRefs": [], "description": "Funds Transfer", "from": {"accountRef": {"dataType": "bankAccounts", "id": "30000-933270541"}, "amount": 15000, "currency": "GBP"}, "id": "4B1-933288922", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-26T09:13:45", "sourceModifiedDate": "2023-12-16T05:03:58", "to": {"accountRef": {"dataType": "bankAccounts", "id": "20000-933270541"}, "amount": 15000, "currency": "GBP"}, "trackingCategoryRefs": []} QuickBooks Online Sandbox: parameters: path: @@ -2148,7 +2161,7 @@ examples: transferId: "9wg4lep4ush5cxs79pl8sozmsndbaukll3ind4g7buqbm1h2" responses: "200": - application/json: {"date": "2020-08-21T00:00:00", "depositedRecordRefs": [], "from": {"accountRef": {"id": "102"}, "amount": 73.41, "currency": "GBP"}, "id": "646", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-26T09:36:33", "sourceModifiedDate": "2020-08-26T11:41:20Z", "to": {"accountRef": {"id": "108"}, "amount": 73.41, "currency": "GBP"}, "trackingCategoryRefs": []} + application/json: {"date": "2020-08-21T00:00:00", "depositedRecordRefs": [], "from": {"accountRef": {"dataType": "bankAccounts", "id": "102"}, "amount": 73.41, "currency": "GBP"}, "id": "646", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-26T09:36:33", "sourceModifiedDate": "2020-08-26T11:41:20Z", "to": {"accountRef": {"dataType": "bankAccounts", "id": "108"}, "amount": 73.41, "currency": "GBP"}, "trackingCategoryRefs": []} QuickBooks Online: parameters: path: @@ -2157,7 +2170,7 @@ examples: transferId: "9wg4lep4ush5cxs79pl8sozmsndbaukll3ind4g7buqbm1h2" responses: "200": - application/json: {"date": "2020-08-29T00:00:00", "depositedRecordRefs": [], "from": {"accountRef": {"id": "60"}, "amount": 86.19, "currency": "GBP"}, "id": "1881", "modifiedDate": "2023-01-18T11:03:00", "sourceModifiedDate": "2020-09-03T11:19:54Z", "to": {"accountRef": {"id": "61"}, "amount": 86.19, "currency": "GBP"}, "trackingCategoryRefs": []} + application/json: {"date": "2020-08-29T00:00:00", "depositedRecordRefs": [], "from": {"accountRef": {"dataType": "bankAccounts", "id": "60"}, "amount": 86.19, "currency": "GBP"}, "id": "1881", "modifiedDate": "2023-01-18T11:03:00", "sourceModifiedDate": "2020-09-03T11:19:54Z", "to": {"accountRef": {"dataType": "bankAccounts", "id": "61"}, "amount": 86.19, "currency": "GBP"}, "trackingCategoryRefs": []} Sage Business Cloud Accounting: parameters: path: @@ -2166,7 +2179,7 @@ examples: transferId: "9wg4lep4ush5cxs79pl8sozmsndbaukll3ind4g7buqbm1h2" responses: "200": - application/json: {"date": "2018-03-06T00:00:00", "depositedRecordRefs": [], "description": "Some cheque", "from": {"accountRef": {"id": "9a3f0ed6267a11e797950a57719b2edb"}, "amount": 1000, "currency": "GBP"}, "id": "434bce57215a11e8b45c025132dab352", "modifiedDate": "2022-10-24T14:54:11", "sourceModifiedDate": "2018-03-06T16:20:19Z", "to": {"accountRef": {"id": "9a2c3770267a11e797950a57719b2edb"}, "amount": 1000, "currency": "GBP"}, "trackingCategoryRefs": []} + application/json: {"date": "2018-03-06T00:00:00", "depositedRecordRefs": [], "description": "Some cheque", "from": {"accountRef": {"dataType": "bankAccounts", "id": "9a3f0ed6267a11e797950a57719b2edb"}, "amount": 1000, "currency": "GBP"}, "id": "434bce57215a11e8b45c025132dab352", "modifiedDate": "2022-10-24T14:54:11", "sourceModifiedDate": "2018-03-06T16:20:19Z", "to": {"accountRef": {"dataType": "bankAccounts", "id": "9a2c3770267a11e797950a57719b2edb"}, "amount": 1000, "currency": "GBP"}, "trackingCategoryRefs": []} Sage Intacct: parameters: path: @@ -2175,7 +2188,7 @@ examples: transferId: "13d946f0-c5d5-42bc-b092-97ece17923ab" responses: "200": - application/json: {"date": "2022-03-10T00:00:00", "depositedRecordRefs": [], "description": "Description", "from": {"accountRef": {"id": "CHECKINGACCOUNT:12"}, "amount": 418.27, "currency": "ZAR"}, "id": "4844", "metadata": {"isDeleted": false}, "modifiedDate": "2023-02-23T14:18:48", "sourceModifiedDate": "2022-03-10T12:38:23", "to": {"accountRef": {"id": "CHECKINGACCOUNT:9"}, "amount": 35.45, "currency": "CAD"}, "trackingCategoryRefs": [{"id": "LOCATION-10", "name": "South Africa"}]} + application/json: {"date": "2022-03-10T00:00:00", "depositedRecordRefs": [], "description": "Description", "from": {"accountRef": {"dataType": "bankAccounts", "id": "CHECKINGACCOUNT:12"}, "amount": 418.27, "currency": "ZAR"}, "id": "4844", "metadata": {"isDeleted": false}, "modifiedDate": "2023-02-23T14:18:48", "sourceModifiedDate": "2022-03-10T12:38:23", "to": {"accountRef": {"dataType": "bankAccounts", "id": "CHECKINGACCOUNT:9"}, "amount": 35.45, "currency": "CAD"}, "trackingCategoryRefs": [{"id": "LOCATION-10", "name": "South Africa"}]} Unauthorized: parameters: path: @@ -2212,7 +2225,7 @@ examples: orderBy: "-modifiedDate" responses: "200": - application/json: {"_links": {"current": {"href": "/companies/354a121b-855f-4d25-90ad-0905b498c1c0/connections/57b731ba-1d45-4386-ba58-2a1ca0234624/data/transfers?page=1&pageSize=2"}, "next": {"href": "/companies/354a121b-855f-4d25-90ad-0905b498c1c0/connections/57b731ba-1d45-4386-ba58-2a1ca0234624/data/transfers?page=2&pageSize=2"}, "self": {"href": "/companies/354a121b-855f-4d25-90ad-0905b498c1c0/connections/57b731ba-1d45-4386-ba58-2a1ca0234624/data/transfers"}}, "pageNumber": 1, "pageSize": 2, "results": [{"contactRef": {"dataType": "customers", "id": "e4baf949-cb1d-4341-8452-200a93baa3fa"}, "date": "2022-04-25T07:20:00", "depositedRecordRefs": [{"dataType": "directIncomes", "id": "fc253cca-0dfe-46e8-b75f-c7fb3db760b2"}], "description": "depositing 16531.08 into Current Account", "from": {"accountRef": {"id": "ff8fdc4c-2aad-4ec1-9430-6bd201832eb3"}, "amount": 16531.08, "currency": "GBP"}, "id": "0bd2f801-6f02-44d6-a2ab-5431553d16f9", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-26T12:38:18", "sourceModifiedDate": "2022-04-25T07:20:00", "to": {"accountRef": {"id": "dbcaf288-2b39-4b95-8ab3-42202ab15918"}, "amount": 16531.08, "currency": "GBP"}, "trackingCategoryRefs": []}, {"contactRef": {"dataType": "customers", "id": "51f03576-f6b0-40d5-9fba-81a490411c03"}, "date": "2022-04-25T07:20:00", "depositedRecordRefs": [{"dataType": "directIncomes", "id": "38e8c917-0afc-4583-8ffe-1b53ad601197"}], "description": "depositing 188.33 into Current Account", "from": {"accountRef": {"id": "ff8fdc4c-2aad-4ec1-9430-6bd201832eb3"}, "amount": 188.33, "currency": "GBP"}, "id": "78373000-29e1-4ef4-a2e6-9b573ed656e4", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-26T12:38:18", "sourceModifiedDate": "2022-04-25T07:20:00", "to": {"accountRef": {"id": "dbcaf288-2b39-4b95-8ab3-42202ab15918"}, "amount": 188.33, "currency": "GBP"}, "trackingCategoryRefs": []}], "totalResults": 357} + application/json: {"_links": {"current": {"href": "/companies/354a121b-855f-4d25-90ad-0905b498c1c0/connections/57b731ba-1d45-4386-ba58-2a1ca0234624/data/transfers?page=1&pageSize=2"}, "next": {"href": "/companies/354a121b-855f-4d25-90ad-0905b498c1c0/connections/57b731ba-1d45-4386-ba58-2a1ca0234624/data/transfers?page=2&pageSize=2"}, "self": {"href": "/companies/354a121b-855f-4d25-90ad-0905b498c1c0/connections/57b731ba-1d45-4386-ba58-2a1ca0234624/data/transfers"}}, "pageNumber": 1, "pageSize": 2, "results": [{"contactRef": {"dataType": "customers", "id": "e4baf949-cb1d-4341-8452-200a93baa3fa"}, "date": "2022-04-25T07:20:00", "depositedRecordRefs": [{"dataType": "directIncomes", "id": "fc253cca-0dfe-46e8-b75f-c7fb3db760b2"}], "description": "depositing 16531.08 into Current Account", "from": {"accountRef": {"dataType": "bankAccounts", "id": "ff8fdc4c-2aad-4ec1-9430-6bd201832eb3"}, "amount": 16531.08, "currency": "GBP"}, "id": "0bd2f801-6f02-44d6-a2ab-5431553d16f9", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-26T12:38:18", "sourceModifiedDate": "2022-04-25T07:20:00", "to": {"accountRef": {"dataType": "bankAccounts", "id": "dbcaf288-2b39-4b95-8ab3-42202ab15918"}, "amount": 16531.08, "currency": "GBP"}, "trackingCategoryRefs": []}, {"contactRef": {"dataType": "customers", "id": "51f03576-f6b0-40d5-9fba-81a490411c03"}, "date": "2022-04-25T07:20:00", "depositedRecordRefs": [{"dataType": "directIncomes", "id": "38e8c917-0afc-4583-8ffe-1b53ad601197"}], "description": "depositing 188.33 into Current Account", "from": {"accountRef": {"dataType": "bankAccounts", "id": "ff8fdc4c-2aad-4ec1-9430-6bd201832eb3"}, "amount": 188.33, "currency": "GBP"}, "id": "78373000-29e1-4ef4-a2e6-9b573ed656e4", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-26T12:38:18", "sourceModifiedDate": "2022-04-25T07:20:00", "to": {"accountRef": {"dataType": "bankAccounts", "id": "dbcaf288-2b39-4b95-8ab3-42202ab15918"}, "amount": 188.33, "currency": "GBP"}, "trackingCategoryRefs": []}], "totalResults": 357} Dynamics 365 Business Central: parameters: path: @@ -2225,7 +2238,7 @@ examples: orderBy: "-modifiedDate" responses: "200": - application/json: {"_links": {"current": {"href": "/companies/d6849caf-c146-41be-8335-b73346e3bd84/connections/60acb117-5cf5-4745-b069-491551da4066/data/transfers?page=1&pageSize=2"}, "next": {"href": "/companies/d6849caf-c146-41be-8335-b73346e3bd84/connections/60acb117-5cf5-4745-b069-491551da4066/data/transfers?page=2&pageSize=2"}, "self": {"href": "/companies/d6849caf-c146-41be-8335-b73346e3bd84/connections/60acb117-5cf5-4745-b069-491551da4066/data/transfers"}}, "pageNumber": 1, "pageSize": 2, "results": [{"date": "2020-11-26T00:00:00", "depositedRecordRefs": [], "from": {"accountRef": {"id": "cf1417b3-89d1-ea11-bbaa-000d3a2b9185"}, "amount": 20, "currency": "GBP"}, "id": "G00001", "metadata": {"isDeleted": false}, "modifiedDate": "2023-03-27T14:21:26", "sourceModifiedDate": "2020-11-26T12:16:44Z", "to": {"accountRef": {"id": "ce1417b3-89d1-ea11-bbaa-000d3a2b9185"}, "amount": 20, "currency": "GBP"}, "trackingCategoryRefs": []}, {"date": "2022-10-25T00:00:00", "depositedRecordRefs": [], "from": {"accountRef": {"id": "8277672c-b8e6-ec11-82f8-0022481a77f0"}, "amount": 3.6, "currency": "USD"}, "id": "TST-001", "metadata": {"isDeleted": false}, "modifiedDate": "2023-03-27T14:21:26", "sourceModifiedDate": "2022-10-25T15:47:48Z", "to": {"accountRef": {"id": "8982e7d8-cb19-eb11-bbf9-0022481ad2f4"}, "amount": 2.34, "currency": "GBP"}, "trackingCategoryRefs": []}], "totalResults": 10} + application/json: {"_links": {"current": {"href": "/companies/d6849caf-c146-41be-8335-b73346e3bd84/connections/60acb117-5cf5-4745-b069-491551da4066/data/transfers?page=1&pageSize=2"}, "next": {"href": "/companies/d6849caf-c146-41be-8335-b73346e3bd84/connections/60acb117-5cf5-4745-b069-491551da4066/data/transfers?page=2&pageSize=2"}, "self": {"href": "/companies/d6849caf-c146-41be-8335-b73346e3bd84/connections/60acb117-5cf5-4745-b069-491551da4066/data/transfers"}}, "pageNumber": 1, "pageSize": 2, "results": [{"date": "2020-11-26T00:00:00", "depositedRecordRefs": [], "from": {"accountRef": {"dataType": "bankAccounts", "id": "cf1417b3-89d1-ea11-bbaa-000d3a2b9185"}, "amount": 20, "currency": "GBP"}, "id": "G00001", "metadata": {"isDeleted": false}, "modifiedDate": "2023-03-27T14:21:26", "sourceModifiedDate": "2020-11-26T12:16:44Z", "to": {"accountRef": {"dataType": "bankAccounts", "id": "ce1417b3-89d1-ea11-bbaa-000d3a2b9185"}, "amount": 20, "currency": "GBP"}, "trackingCategoryRefs": []}, {"date": "2022-10-25T00:00:00", "depositedRecordRefs": [], "from": {"accountRef": {"dataType": "bankAccounts", "id": "8277672c-b8e6-ec11-82f8-0022481a77f0"}, "amount": 3.6, "currency": "USD"}, "id": "TST-001", "metadata": {"isDeleted": false}, "modifiedDate": "2023-03-27T14:21:26", "sourceModifiedDate": "2022-10-25T15:47:48Z", "to": {"accountRef": {"dataType": "bankAccounts", "id": "8982e7d8-cb19-eb11-bbf9-0022481ad2f4"}, "amount": 2.34, "currency": "GBP"}, "trackingCategoryRefs": []}], "totalResults": 10} FreeAgent: parameters: path: @@ -2238,7 +2251,7 @@ examples: orderBy: "-modifiedDate" responses: "200": - application/json: {"_links": {"current": {"href": "/companies/071ad738-68f3-4561-afd0-69bab9df0803/connections/4fd7c69f-ecc1-45f5-83f2-42ed3391e386/data/transfers?page=1&pageSize=2"}, "next": {"href": "/companies/071ad738-68f3-4561-afd0-69bab9df0803/connections/4fd7c69f-ecc1-45f5-83f2-42ed3391e386/data/transfers?page=2&pageSize=2"}, "self": {"href": "/companies/071ad738-68f3-4561-afd0-69bab9df0803/connections/4fd7c69f-ecc1-45f5-83f2-42ed3391e386/data/transfers"}}, "pageNumber": 1, "pageSize": 2, "results": [{"date": "2018-06-14T00:00:00", "depositedRecordRefs": [], "description": "Transfer from Savings Account to Freeagent Test12", "from": {"accountRef": {"id": "532100"}, "amount": 0.69, "currency": "GBP"}, "id": "307335275", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-25T14:21:36", "sourceModifiedDate": "2022-03-23T15:55:58Z", "to": {"accountRef": {"id": "708504"}, "amount": 0.69, "currency": "GBP"}, "trackingCategoryRefs": [{"id": "761"}]}, {"date": "2019-12-23T00:00:00", "depositedRecordRefs": [], "description": "Transfer from Business Current Account to Nic Test11", "from": {"accountRef": {"id": "469976"}, "amount": 250, "currency": "GBP"}, "id": "308682395", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-25T14:21:36", "sourceModifiedDate": "2022-03-31T16:09:27Z", "to": {"accountRef": {"id": "691393"}, "amount": 250, "currency": "GBP"}, "trackingCategoryRefs": [{"id": "761"}]}], "totalResults": 99} + application/json: {"_links": {"current": {"href": "/companies/071ad738-68f3-4561-afd0-69bab9df0803/connections/4fd7c69f-ecc1-45f5-83f2-42ed3391e386/data/transfers?page=1&pageSize=2"}, "next": {"href": "/companies/071ad738-68f3-4561-afd0-69bab9df0803/connections/4fd7c69f-ecc1-45f5-83f2-42ed3391e386/data/transfers?page=2&pageSize=2"}, "self": {"href": "/companies/071ad738-68f3-4561-afd0-69bab9df0803/connections/4fd7c69f-ecc1-45f5-83f2-42ed3391e386/data/transfers"}}, "pageNumber": 1, "pageSize": 2, "results": [{"date": "2018-06-14T00:00:00", "depositedRecordRefs": [], "description": "Transfer from Savings Account to Freeagent Test12", "from": {"accountRef": {"dataType": "bankAccounts", "id": "532100"}, "amount": 0.69, "currency": "GBP"}, "id": "307335275", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-25T14:21:36", "sourceModifiedDate": "2022-03-23T15:55:58Z", "to": {"accountRef": {"dataType": "bankAccounts", "id": "708504"}, "amount": 0.69, "currency": "GBP"}, "trackingCategoryRefs": [{"id": "761"}]}, {"date": "2019-12-23T00:00:00", "depositedRecordRefs": [], "description": "Transfer from Business Current Account to Nic Test11", "from": {"accountRef": {"dataType": "bankAccounts", "id": "469976"}, "amount": 250, "currency": "GBP"}, "id": "308682395", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-25T14:21:36", "sourceModifiedDate": "2022-03-31T16:09:27Z", "to": {"accountRef": {"dataType": "bankAccounts", "id": "691393"}, "amount": 250, "currency": "GBP"}, "trackingCategoryRefs": [{"id": "761"}]}], "totalResults": 99} Oracle NetSuite: parameters: path: @@ -2251,7 +2264,7 @@ examples: orderBy: "-modifiedDate" responses: "200": - application/json: {"_links": {"current": {"href": "/companies/973341cc-ca0a-4a88-88de-e5954157818b/connections/5f07dcfb-23c0-49e6-895c-4498ea728ff3/data/transfers?page=1&pageSize=2"}, "next": {"href": "/companies/973341cc-ca0a-4a88-88de-e5954157818b/connections/5f07dcfb-23c0-49e6-895c-4498ea728ff3/data/transfers?page=2&pageSize=2"}, "self": {"href": "/companies/973341cc-ca0a-4a88-88de-e5954157818b/connections/5f07dcfb-23c0-49e6-895c-4498ea728ff3/data/transfers"}}, "pageNumber": 1, "pageSize": 2, "results": [{"contactRef": {"dataType": "customers", "id": "417"}, "date": "2021-03-10T00:00:00", "depositedRecordRefs": [{"dataType": "payments", "id": "428"}], "from": {"accountRef": {"id": "122"}, "amount": 90, "currency": "GBP"}, "id": "2-1", "modifiedDate": "2022-09-20T08:16:26", "sourceModifiedDate": "2022-04-28T13:36:47", "to": {"accountRef": {"id": "513"}, "amount": 90, "currency": "GBP"}, "trackingCategoryRefs": [{"id": "location-1"}]}, {"contactRef": {"dataType": "customers", "id": "417"}, "date": "2022-04-28T00:00:00", "depositedRecordRefs": [{"dataType": "payments", "id": "7526"}], "from": {"accountRef": {"id": "513"}, "amount": 1200, "currency": "GBP"}, "id": "2-11822", "modifiedDate": "2022-09-20T08:16:26", "sourceModifiedDate": "2022-04-28T14:14:33", "to": {"accountRef": {"id": "122"}, "amount": 1200, "currency": "GBP"}, "trackingCategoryRefs": [{"id": "location-1"}]}], "totalResults": 47} + application/json: {"_links": {"current": {"href": "/companies/973341cc-ca0a-4a88-88de-e5954157818b/connections/5f07dcfb-23c0-49e6-895c-4498ea728ff3/data/transfers?page=1&pageSize=2"}, "next": {"href": "/companies/973341cc-ca0a-4a88-88de-e5954157818b/connections/5f07dcfb-23c0-49e6-895c-4498ea728ff3/data/transfers?page=2&pageSize=2"}, "self": {"href": "/companies/973341cc-ca0a-4a88-88de-e5954157818b/connections/5f07dcfb-23c0-49e6-895c-4498ea728ff3/data/transfers"}}, "pageNumber": 1, "pageSize": 2, "results": [{"contactRef": {"dataType": "customers", "id": "417"}, "date": "2021-03-10T00:00:00", "depositedRecordRefs": [{"dataType": "payments", "id": "428"}], "from": {"accountRef": {"dataType": "bankAccounts", "id": "122"}, "amount": 90, "currency": "GBP"}, "id": "2-1", "modifiedDate": "2022-09-20T08:16:26", "sourceModifiedDate": "2022-04-28T13:36:47", "to": {"accountRef": {"dataType": "bankAccounts", "id": "513"}, "amount": 90, "currency": "GBP"}, "trackingCategoryRefs": [{"id": "location-1"}]}, {"contactRef": {"dataType": "customers", "id": "417"}, "date": "2022-04-28T00:00:00", "depositedRecordRefs": [{"dataType": "payments", "id": "7526"}], "from": {"accountRef": {"dataType": "bankAccounts", "id": "513"}, "amount": 1200, "currency": "GBP"}, "id": "2-11822", "modifiedDate": "2022-09-20T08:16:26", "sourceModifiedDate": "2022-04-28T14:14:33", "to": {"accountRef": {"dataType": "bankAccounts", "id": "122"}, "amount": 1200, "currency": "GBP"}, "trackingCategoryRefs": [{"id": "location-1"}]}], "totalResults": 47} QuickBooks Desktop: parameters: path: @@ -2264,7 +2277,7 @@ examples: orderBy: "-modifiedDate" responses: "200": - application/json: {"_links": {"current": {"href": "/companies/fc72ba08-af13-4474-b28a-01dcfa6cfb51/connections/2c26b4da-97d4-4ba9-baad-1e18b49b96ac/data/transfers?page=1&pageSize=2"}, "next": {"href": "/companies/fc72ba08-af13-4474-b28a-01dcfa6cfb51/connections/2c26b4da-97d4-4ba9-baad-1e18b49b96ac/data/transfers?page=2&pageSize=2"}, "self": {"href": "/companies/fc72ba08-af13-4474-b28a-01dcfa6cfb51/connections/2c26b4da-97d4-4ba9-baad-1e18b49b96ac/data/transfers"}}, "pageNumber": 1, "pageSize": 2, "results": [{"date": "2024-10-14T00:00:00", "depositedRecordRefs": [], "description": "Funds Transfer", "from": {"accountRef": {"id": "30000-933270541"}, "amount": 15000, "currency": "GBP"}, "id": "4B1-933288922", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-26T09:13:45", "sourceModifiedDate": "2023-12-16T05:03:58", "to": {"accountRef": {"id": "20000-933270541"}, "amount": 15000, "currency": "GBP"}, "trackingCategoryRefs": []}, {"date": "2024-11-25T00:00:00", "depositedRecordRefs": [], "description": "Funds Transfer", "from": {"accountRef": {"id": "20000-933270541"}, "amount": 42300, "currency": "GBP"}, "id": "C2A-933780606", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-26T09:13:45", "sourceModifiedDate": "2023-12-16T05:04:07", "to": {"accountRef": {"id": "30000-933270541"}, "amount": 42300, "currency": "GBP"}, "trackingCategoryRefs": []}], "totalResults": 4} + application/json: {"_links": {"current": {"href": "/companies/fc72ba08-af13-4474-b28a-01dcfa6cfb51/connections/2c26b4da-97d4-4ba9-baad-1e18b49b96ac/data/transfers?page=1&pageSize=2"}, "next": {"href": "/companies/fc72ba08-af13-4474-b28a-01dcfa6cfb51/connections/2c26b4da-97d4-4ba9-baad-1e18b49b96ac/data/transfers?page=2&pageSize=2"}, "self": {"href": "/companies/fc72ba08-af13-4474-b28a-01dcfa6cfb51/connections/2c26b4da-97d4-4ba9-baad-1e18b49b96ac/data/transfers"}}, "pageNumber": 1, "pageSize": 2, "results": [{"date": "2024-10-14T00:00:00", "depositedRecordRefs": [], "description": "Funds Transfer", "from": {"accountRef": {"dataType": "bankAccounts", "id": "30000-933270541"}, "amount": 15000, "currency": "GBP"}, "id": "4B1-933288922", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-26T09:13:45", "sourceModifiedDate": "2023-12-16T05:03:58", "to": {"accountRef": {"dataType": "bankAccounts", "id": "20000-933270541"}, "amount": 15000, "currency": "GBP"}, "trackingCategoryRefs": []}, {"date": "2024-11-25T00:00:00", "depositedRecordRefs": [], "description": "Funds Transfer", "from": {"accountRef": {"dataType": "bankAccounts", "id": "20000-933270541"}, "amount": 42300, "currency": "GBP"}, "id": "C2A-933780606", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-26T09:13:45", "sourceModifiedDate": "2023-12-16T05:04:07", "to": {"accountRef": {"dataType": "bankAccounts", "id": "30000-933270541"}, "amount": 42300, "currency": "GBP"}, "trackingCategoryRefs": []}], "totalResults": 4} QuickBooks Online Sandbox: parameters: path: @@ -2277,7 +2290,7 @@ examples: orderBy: "-modifiedDate" responses: "200": - application/json: {"_links": {"current": {"href": "/companies/5a7f3597-36e1-4216-86fe-289ad36088a6/connections/1f9f6013-f8a5-4278-8a47-3ab7fdb6c24c/data/transfers?page=1&pageSize=2"}, "next": {"href": "/companies/5a7f3597-36e1-4216-86fe-289ad36088a6/connections/1f9f6013-f8a5-4278-8a47-3ab7fdb6c24c/data/transfers?page=2&pageSize=2"}, "self": {"href": "/companies/5a7f3597-36e1-4216-86fe-289ad36088a6/connections/1f9f6013-f8a5-4278-8a47-3ab7fdb6c24c/data/transfers"}}, "pageNumber": 1, "pageSize": 2, "results": [{"date": "2020-08-21T00:00:00", "depositedRecordRefs": [], "from": {"accountRef": {"id": "102"}, "amount": 73.41, "currency": "GBP"}, "id": "646", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-26T09:36:33", "sourceModifiedDate": "2020-08-26T11:41:20Z", "to": {"accountRef": {"id": "108"}, "amount": 73.41, "currency": "GBP"}, "trackingCategoryRefs": []}, {"date": "2020-08-22T00:00:00", "depositedRecordRefs": [], "from": {"accountRef": {"id": "124"}, "amount": 66.66, "currency": "GBP"}, "id": "678", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-26T09:36:33", "sourceModifiedDate": "2020-08-29T00:01:20Z", "to": {"accountRef": {"id": "109"}, "amount": 66.66, "currency": "GBP"}, "trackingCategoryRefs": []}], "totalResults": 442} + application/json: {"_links": {"current": {"href": "/companies/5a7f3597-36e1-4216-86fe-289ad36088a6/connections/1f9f6013-f8a5-4278-8a47-3ab7fdb6c24c/data/transfers?page=1&pageSize=2"}, "next": {"href": "/companies/5a7f3597-36e1-4216-86fe-289ad36088a6/connections/1f9f6013-f8a5-4278-8a47-3ab7fdb6c24c/data/transfers?page=2&pageSize=2"}, "self": {"href": "/companies/5a7f3597-36e1-4216-86fe-289ad36088a6/connections/1f9f6013-f8a5-4278-8a47-3ab7fdb6c24c/data/transfers"}}, "pageNumber": 1, "pageSize": 2, "results": [{"date": "2020-08-21T00:00:00", "depositedRecordRefs": [], "from": {"accountRef": {"dataType": "bankAccounts", "id": "102"}, "amount": 73.41, "currency": "GBP"}, "id": "646", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-26T09:36:33", "sourceModifiedDate": "2020-08-26T11:41:20Z", "to": {"accountRef": {"dataType": "bankAccounts", "id": "108"}, "amount": 73.41, "currency": "GBP"}, "trackingCategoryRefs": []}, {"date": "2020-08-22T00:00:00", "depositedRecordRefs": [], "from": {"accountRef": {"dataType": "bankAccounts", "id": "124"}, "amount": 66.66, "currency": "GBP"}, "id": "678", "metadata": {"isDeleted": false}, "modifiedDate": "2023-04-26T09:36:33", "sourceModifiedDate": "2020-08-29T00:01:20Z", "to": {"accountRef": {"dataType": "bankAccounts", "id": "109"}, "amount": 66.66, "currency": "GBP"}, "trackingCategoryRefs": []}], "totalResults": 442} QuickBooks Online: parameters: path: @@ -2290,7 +2303,7 @@ examples: orderBy: "-modifiedDate" responses: "200": - application/json: {"_links": {"current": {"href": "/companies/10818b5e-6e6a-4ed4-a1c5-3e3efe626e87/connections/9e28a776-f4be-425b-8a3d-ad49956de2c9/data/transfers?page=1&pageSize=2"}, "next": {"href": "/companies/10818b5e-6e6a-4ed4-a1c5-3e3efe626e87/connections/9e28a776-f4be-425b-8a3d-ad49956de2c9/data/transfers?page=2&pageSize=2"}, "self": {"href": "/companies/10818b5e-6e6a-4ed4-a1c5-3e3efe626e87/connections/9e28a776-f4be-425b-8a3d-ad49956de2c9/data/transfers"}}, "pageNumber": 1, "pageSize": 2, "results": [{"date": "2020-08-29T00:00:00", "depositedRecordRefs": [], "from": {"accountRef": {"id": "60"}, "amount": 86.19, "currency": "GBP"}, "id": "1881", "modifiedDate": "2023-01-18T11:03:00", "sourceModifiedDate": "2020-09-03T11:19:54Z", "to": {"accountRef": {"id": "61"}, "amount": 86.19, "currency": "GBP"}, "trackingCategoryRefs": []}, {"date": "2020-09-02T00:00:00", "depositedRecordRefs": [], "from": {"accountRef": {"id": "60"}, "amount": 45.73, "currency": "GBP"}, "id": "1885", "modifiedDate": "2023-01-18T11:03:00", "sourceModifiedDate": "2020-09-03T11:23:44Z", "to": {"accountRef": {"id": "61"}, "amount": 45.73, "currency": "GBP"}, "trackingCategoryRefs": []}], "totalResults": 18} + application/json: {"_links": {"current": {"href": "/companies/10818b5e-6e6a-4ed4-a1c5-3e3efe626e87/connections/9e28a776-f4be-425b-8a3d-ad49956de2c9/data/transfers?page=1&pageSize=2"}, "next": {"href": "/companies/10818b5e-6e6a-4ed4-a1c5-3e3efe626e87/connections/9e28a776-f4be-425b-8a3d-ad49956de2c9/data/transfers?page=2&pageSize=2"}, "self": {"href": "/companies/10818b5e-6e6a-4ed4-a1c5-3e3efe626e87/connections/9e28a776-f4be-425b-8a3d-ad49956de2c9/data/transfers"}}, "pageNumber": 1, "pageSize": 2, "results": [{"date": "2020-08-29T00:00:00", "depositedRecordRefs": [], "from": {"accountRef": {"dataType": "bankAccounts", "id": "60"}, "amount": 86.19, "currency": "GBP"}, "id": "1881", "modifiedDate": "2023-01-18T11:03:00", "sourceModifiedDate": "2020-09-03T11:19:54Z", "to": {"accountRef": {"dataType": "bankAccounts", "id": "61"}, "amount": 86.19, "currency": "GBP"}, "trackingCategoryRefs": []}, {"date": "2020-09-02T00:00:00", "depositedRecordRefs": [], "from": {"accountRef": {"dataType": "bankAccounts", "id": "60"}, "amount": 45.73, "currency": "GBP"}, "id": "1885", "modifiedDate": "2023-01-18T11:03:00", "sourceModifiedDate": "2020-09-03T11:23:44Z", "to": {"accountRef": {"dataType": "bankAccounts", "id": "61"}, "amount": 45.73, "currency": "GBP"}, "trackingCategoryRefs": []}], "totalResults": 18} Sage Business Cloud Accounting: parameters: path: @@ -2303,7 +2316,7 @@ examples: orderBy: "-modifiedDate" responses: "200": - application/json: {"_links": {"current": {"href": "/companies/390083e2-351b-407c-a3be-55081c36c182/connections/37916fb7-b4b8-4a78-8872-1751e20ee0cd/data/transfers?page=1&pageSize=2"}, "next": {"href": "/companies/390083e2-351b-407c-a3be-55081c36c182/connections/37916fb7-b4b8-4a78-8872-1751e20ee0cd/data/transfers?page=2&pageSize=2"}, "self": {"href": "/companies/390083e2-351b-407c-a3be-55081c36c182/connections/37916fb7-b4b8-4a78-8872-1751e20ee0cd/data/transfers"}}, "pageNumber": 1, "pageSize": 2, "results": [{"date": "2018-03-06T00:00:00", "depositedRecordRefs": [], "description": "Some cheque", "from": {"accountRef": {"id": "9a3f0ed6267a11e797950a57719b2edb"}, "amount": 1000, "currency": "GBP"}, "id": "434bce57215a11e8b45c025132dab352", "modifiedDate": "2022-10-24T14:54:11", "sourceModifiedDate": "2018-03-06T16:20:19Z", "to": {"accountRef": {"id": "9a2c3770267a11e797950a57719b2edb"}, "amount": 1000, "currency": "GBP"}, "trackingCategoryRefs": []}, {"date": "2018-03-06T00:00:00", "depositedRecordRefs": [], "description": "Some cash", "from": {"accountRef": {"id": "9a3f0ed6267a11e797950a57719b2edb"}, "amount": 465, "currency": "GBP"}, "id": "73d909a4215a11e8b45c025132dab352", "modifiedDate": "2022-10-24T14:54:11", "sourceModifiedDate": "2018-03-06T16:21:40Z", "to": {"accountRef": {"id": "9a2c3770267a11e797950a57719b2edb"}, "amount": 465, "currency": "GBP"}, "trackingCategoryRefs": []}], "totalResults": 646} + application/json: {"_links": {"current": {"href": "/companies/390083e2-351b-407c-a3be-55081c36c182/connections/37916fb7-b4b8-4a78-8872-1751e20ee0cd/data/transfers?page=1&pageSize=2"}, "next": {"href": "/companies/390083e2-351b-407c-a3be-55081c36c182/connections/37916fb7-b4b8-4a78-8872-1751e20ee0cd/data/transfers?page=2&pageSize=2"}, "self": {"href": "/companies/390083e2-351b-407c-a3be-55081c36c182/connections/37916fb7-b4b8-4a78-8872-1751e20ee0cd/data/transfers"}}, "pageNumber": 1, "pageSize": 2, "results": [{"date": "2018-03-06T00:00:00", "depositedRecordRefs": [], "description": "Some cheque", "from": {"accountRef": {"dataType": "bankAccounts", "id": "9a3f0ed6267a11e797950a57719b2edb"}, "amount": 1000, "currency": "GBP"}, "id": "434bce57215a11e8b45c025132dab352", "modifiedDate": "2022-10-24T14:54:11", "sourceModifiedDate": "2018-03-06T16:20:19Z", "to": {"accountRef": {"dataType": "bankAccounts", "id": "9a2c3770267a11e797950a57719b2edb"}, "amount": 1000, "currency": "GBP"}, "trackingCategoryRefs": []}, {"date": "2018-03-06T00:00:00", "depositedRecordRefs": [], "description": "Some cash", "from": {"accountRef": {"dataType": "bankAccounts", "id": "9a3f0ed6267a11e797950a57719b2edb"}, "amount": 465, "currency": "GBP"}, "id": "73d909a4215a11e8b45c025132dab352", "modifiedDate": "2022-10-24T14:54:11", "sourceModifiedDate": "2018-03-06T16:21:40Z", "to": {"accountRef": {"dataType": "bankAccounts", "id": "9a2c3770267a11e797950a57719b2edb"}, "amount": 465, "currency": "GBP"}, "trackingCategoryRefs": []}], "totalResults": 646} Sage Intacct: parameters: path: @@ -2316,7 +2329,7 @@ examples: orderBy: "-modifiedDate" responses: "200": - application/json: {"_links": {"current": {"href": "/companies/b53cfc9f-1a00-4a20-936f-34e8efbe07c5/connections/d891700f-d906-4e57-998a-0cf03d2a05d3/data/transfers?page=1&pageSize=2"}, "self": {"href": "/companies/b53cfc9f-1a00-4a20-936f-34e8efbe07c5/connections/d891700f-d906-4e57-998a-0cf03d2a05d3/data/transfers"}}, "pageNumber": 1, "pageSize": 2, "results": [{"date": "2022-03-10T00:00:00", "depositedRecordRefs": [], "description": "Description", "from": {"accountRef": {"id": "CHECKINGACCOUNT:12"}, "amount": 418.27, "currency": "ZAR"}, "id": "4844", "metadata": {"isDeleted": false}, "modifiedDate": "2023-02-23T14:18:48", "sourceModifiedDate": "2022-03-10T12:38:23", "to": {"accountRef": {"id": "CHECKINGACCOUNT:9"}, "amount": 35.45, "currency": "CAD"}, "trackingCategoryRefs": [{"id": "LOCATION-10", "name": "South Africa"}]}, {"date": "2022-10-05T00:00:00", "depositedRecordRefs": [], "description": "From bank account '700_CHK' to bank account 'Test Savings Account'", "from": {"accountRef": {"id": "CHECKINGACCOUNT:12"}, "amount": 4040.62, "currency": "ZAR"}, "id": "18828", "metadata": {"isDeleted": false}, "modifiedDate": "2023-02-23T14:18:48", "sourceModifiedDate": "2022-10-05T15:28:15", "to": {"accountRef": {"id": "SAVINGSACCOUNT:17"}, "amount": 200, "currency": "GBP"}, "trackingCategoryRefs": [{"id": "LOCATION-10", "name": "South Africa"}]}], "totalResults": 2} + application/json: {"_links": {"current": {"href": "/companies/b53cfc9f-1a00-4a20-936f-34e8efbe07c5/connections/d891700f-d906-4e57-998a-0cf03d2a05d3/data/transfers?page=1&pageSize=2"}, "self": {"href": "/companies/b53cfc9f-1a00-4a20-936f-34e8efbe07c5/connections/d891700f-d906-4e57-998a-0cf03d2a05d3/data/transfers"}}, "pageNumber": 1, "pageSize": 2, "results": [{"date": "2022-03-10T00:00:00", "depositedRecordRefs": [], "description": "Description", "from": {"accountRef": {"dataType": "bankAccounts", "id": "CHECKINGACCOUNT:12"}, "amount": 418.27, "currency": "ZAR"}, "id": "4844", "metadata": {"isDeleted": false}, "modifiedDate": "2023-02-23T14:18:48", "sourceModifiedDate": "2022-03-10T12:38:23", "to": {"accountRef": {"dataType": "bankAccounts", "id": "CHECKINGACCOUNT:9"}, "amount": 35.45, "currency": "CAD"}, "trackingCategoryRefs": [{"id": "LOCATION-10", "name": "South Africa"}]}, {"date": "2022-10-05T00:00:00", "depositedRecordRefs": [], "description": "From bank account '700_CHK' to bank account 'Test Savings Account'", "from": {"accountRef": {"dataType": "bankAccounts", "id": "CHECKINGACCOUNT:12"}, "amount": 4040.62, "currency": "ZAR"}, "id": "18828", "metadata": {"isDeleted": false}, "modifiedDate": "2023-02-23T14:18:48", "sourceModifiedDate": "2022-10-05T15:28:15", "to": {"accountRef": {"dataType": "bankAccounts", "id": "SAVINGSACCOUNT:17"}, "amount": 200, "currency": "GBP"}, "trackingCategoryRefs": [{"id": "LOCATION-10", "name": "South Africa"}]}], "totalResults": 2} Malformed query: parameters: path: @@ -10412,7 +10425,7 @@ examples: connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171" query: {} requestBody: - application/json: {"contactRef": {"dataType": "customers", "id": "80000028-167239230944"}, "date": "2023-01-26T11:51:18.104Z", "depositedRecordRefs": [], "description": "test transfers push 20230126 12.08", "from": {"accountRef": {"id": "80000028-1671794219"}, "amount": 12, "currency": "USD"}, "metadata": {"isDeleted": true}, "modifiedDate": "2022-10-23T00:00:00Z", "sourceModifiedDate": "2022-10-23T00:00:00Z", "status": "Unknown", "to": {"accountRef": {"id": "80000004-1671793811"}, "amount": 12, "currency": "EUR"}, "trackingCategoryRefs": [{"id": "80000001-1674553252", "name": "Class 1"}]} + application/json: {"contactRef": {"dataType": "customers", "id": "80000028-167239230944"}, "date": "2023-01-26T11:51:18.104Z", "depositedRecordRefs": [], "description": "test transfers push 20230126 12.08", "from": {"accountRef": {"dataType": "bankAccounts", "id": "80000028-1671794219"}, "amount": 12, "currency": "USD"}, "metadata": {"isDeleted": true}, "modifiedDate": "2022-10-23T00:00:00Z", "sourceModifiedDate": "2022-10-23T00:00:00Z", "status": "Unknown", "to": {"accountRef": {"dataType": "bankAccounts", "id": "80000004-1671793811"}, "amount": 12, "currency": "EUR"}, "trackingCategoryRefs": [{"id": "80000001-1674553252", "name": "Class 1"}]} responses: "200": application/json: {"changes": [], "companyId": "8a210b68-6988-11ed-a1eb-0242ac120002", "completedOnUtc": "2022-10-23T00:00:00Z", "dataConnectionKey": "2e9d2c44-f675-40ba-8049-353bfcb5e171", "dataType": "invoices", "pushOperationKey": "c6fe0724-1bcd-4d89-9c7f-a504e08333b1", "requestedOnUtc": "2022-10-23T00:00:00Z", "status": "Failed", "statusCode": 894695} @@ -10424,7 +10437,7 @@ examples: connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171" query: {} requestBody: - application/json: {"date": "2022-10-23T00:00:00Z", "depositedRecordRefs": [], "from": {"currency": "GBP"}, "modifiedDate": "2022-10-23T00:00:00Z", "sourceModifiedDate": "2022-10-23T00:00:00Z", "to": {"currency": "GBP"}} + application/json: {"date": "2022-10-23T00:00:00Z", "depositedRecordRefs": [], "from": {"accountRef": {"dataType": "invoice"}, "currency": "GBP"}, "modifiedDate": "2022-10-23T00:00:00Z", "sourceModifiedDate": "2022-10-23T00:00:00Z", "to": {"accountRef": {"dataType": "accountTransaction"}, "currency": "GBP"}} responses: "400": application/json: {"canBeRetried": "Unknown", "correlationId": "bc997528a9d7abb9161ef45f05d38599", "detailedErrorCode": 0, "error": "Error processing request - not valid.", "service": "PublicApi", "statusCode": 400} diff --git a/lending/.speakeasy/gen.yaml b/lending/.speakeasy/gen.yaml index d494e7813..44892d841 100644 --- a/lending/.speakeasy/gen.yaml +++ b/lending/.speakeasy/gen.yaml @@ -12,10 +12,11 @@ generation: oAuth2PasswordEnabled: false telemetryEnabled: true go: - version: 6.0.0 + version: 7.0.0 additionalDependencies: {} allowUnknownFieldsInWeakUnions: false clientServerStatusCodesAsErrors: true + defaultErrorName: SDKError flattenGlobalSecurity: false imports: option: openapi diff --git a/lending/README.md b/lending/README.md index 1acea0d0e..cf333eb2f 100644 --- a/lending/README.md +++ b/lending/README.md @@ -70,8 +70,8 @@ package main import ( "context" - lending "github.com/codatio/client-sdk-go/lending/v6" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "log" ) @@ -492,9 +492,9 @@ package main import ( "context" - lending "github.com/codatio/client-sdk-go/lending/v6" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" + lending "github.com/codatio/client-sdk-go/lending/v7" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" "log" "pkg/models/operations" ) @@ -537,9 +537,9 @@ package main import ( "context" - lending "github.com/codatio/client-sdk-go/lending/v6" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" + lending "github.com/codatio/client-sdk-go/lending/v7" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" "log" ) @@ -586,10 +586,10 @@ By Default, an API error will return `sdkerrors.SDKError`. When custom error res For example, the `Create` function may return the following errors: -| Error Type | Status Code | Content Type | -| --------------------------------- | --------------------------------- | --------------------------------- | -| sdkerrors.ErrorMessage | 400, 401, 402, 403, 429, 500, 503 | application/json | -| sdkerrors.SDKError | 4XX, 5XX | \*/\* | +| Error Type | Status Code | Content Type | +| ---------------------- | --------------------------------- | ---------------- | +| sdkerrors.ErrorMessage | 400, 401, 402, 403, 429, 500, 503 | application/json | +| sdkerrors.SDKError | 4XX, 5XX | \*/\* | ### Example @@ -599,9 +599,9 @@ package main import ( "context" "errors" - lending "github.com/codatio/client-sdk-go/lending/v6" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "log" ) @@ -639,60 +639,16 @@ func main() { ## Server Selection -### Select Server by Index - -You can override the default server globally using the `WithServerIndex` option when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers: - -| # | Server | Variables | -| - | ------ | --------- | -| 0 | `https://api.codat.io` | None | - -#### Example - -```go -package main - -import ( - "context" - lending "github.com/codatio/client-sdk-go/lending/v6" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "log" -) - -func main() { - s := lending.New( - lending.WithServerIndex(0), - lending.WithSecurity(shared.Security{ - AuthHeader: "Basic BASE_64_ENCODED(API_KEY)", - }), - ) - - ctx := context.Background() - res, err := s.Companies.Create(ctx, &shared.CompanyRequestBody{ - Description: lending.String("Requested early access to the new financing scheme."), - Name: "Technicalium", - }) - if err != nil { - log.Fatal(err) - } - if res.Company != nil { - // handle response - } -} - -``` - - ### Override Server URL Per-Client -The default server can also be overridden globally using the `WithServerURL` option when initializing the SDK client instance. For example: +The default server can also be overridden globally using the `WithServerURL(serverURL string)` option when initializing the SDK client instance. For example: ```go package main import ( "context" - lending "github.com/codatio/client-sdk-go/lending/v6" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "log" ) @@ -756,9 +712,9 @@ This can be a convenient way to configure timeouts, cookies, proxies, custom hea This SDK supports the following security scheme globally: -| Name | Type | Scheme | -| ------------ | ------------ | ------------ | -| `AuthHeader` | apiKey | API key | +| Name | Type | Scheme | +| ------------ | ------ | ------- | +| `AuthHeader` | apiKey | API key | You can configure it using the `WithSecurity` option when initializing the SDK client instance. For example: ```go @@ -766,8 +722,8 @@ package main import ( "context" - lending "github.com/codatio/client-sdk-go/lending/v6" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "log" ) diff --git a/lending/RELEASES.md b/lending/RELEASES.md index 3c8d0604d..42568cda9 100644 --- a/lending/RELEASES.md +++ b/lending/RELEASES.md @@ -118,4 +118,14 @@ Based on: ### Generated - [go v6.0.0] lending ### Releases -- [Go v6.0.0] https://github.com/codatio/client-sdk-go/releases/tag/lending/v6.0.0 - lending \ No newline at end of file +- [Go v6.0.0] https://github.com/codatio/client-sdk-go/releases/tag/lending/v6.0.0 - lending + +## 2024-11-18 11:30:44 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.440.1 (2.460.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [go v7.0.0] lending +### Releases +- [Go v7.0.0] https://github.com/codatio/client-sdk-go/releases/tag/lending/v7.0.0 - lending \ No newline at end of file diff --git a/lending/USAGE.md b/lending/USAGE.md index 3e7fc6dd8..d63515c38 100644 --- a/lending/USAGE.md +++ b/lending/USAGE.md @@ -4,8 +4,8 @@ package main import ( "context" - lending "github.com/codatio/client-sdk-go/lending/v6" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "log" ) diff --git a/lending/accountbalances.go b/lending/accountbalances.go index ed3f20ee6..930f39313 100644 --- a/lending/accountbalances.go +++ b/lending/accountbalances.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/accounts.go b/lending/accounts.go index 9ef183b88..07fcad532 100644 --- a/lending/accounts.go +++ b/lending/accounts.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/accounttransactions.go b/lending/accounttransactions.go index a13f8058e..72d6238d8 100644 --- a/lending/accounttransactions.go +++ b/lending/accounttransactions.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/balancesheet.go b/lending/balancesheet.go index 485afcf9c..5102401e9 100644 --- a/lending/balancesheet.go +++ b/lending/balancesheet.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/bankaccounts.go b/lending/bankaccounts.go index d28610669..1e9ac5eed 100644 --- a/lending/bankaccounts.go +++ b/lending/bankaccounts.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/bankstatements.go b/lending/bankstatements.go index 1d6a51f77..88b6d80b6 100644 --- a/lending/bankstatements.go +++ b/lending/bankstatements.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/banktransactions.go b/lending/banktransactions.go index 227c68a6f..2dead4ca2 100644 --- a/lending/banktransactions.go +++ b/lending/banktransactions.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/billcreditnotes.go b/lending/billcreditnotes.go index 8e62212f3..180bbda3b 100644 --- a/lending/billcreditnotes.go +++ b/lending/billcreditnotes.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/billpayments.go b/lending/billpayments.go index 2760972ee..3a2ca9a04 100644 --- a/lending/billpayments.go +++ b/lending/billpayments.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/bills.go b/lending/bills.go index 69e81960c..b0f7a3acc 100644 --- a/lending/bills.go +++ b/lending/bills.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/cashflow.go b/lending/cashflow.go index a2be5440a..651db1037 100644 --- a/lending/cashflow.go +++ b/lending/cashflow.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/categorizedstatement.go b/lending/categorizedstatement.go index ad0395357..1003d5d44 100644 --- a/lending/categorizedstatement.go +++ b/lending/categorizedstatement.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/codatlending.go b/lending/codatlending.go index cd9f282c7..92422f699 100644 --- a/lending/codatlending.go +++ b/lending/codatlending.go @@ -5,10 +5,10 @@ package lending import ( "context" "fmt" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" "time" ) @@ -201,9 +201,9 @@ func New(opts ...SDKOption) *CodatLending { sdkConfiguration: sdkConfiguration{ Language: "go", OpenAPIDocVersion: "3.0.0", - SDKVersion: "6.0.0", - GenVersion: "2.451.0", - UserAgent: "speakeasy-sdk/go 6.0.0 2.451.0 3.0.0 github.com/codatio/client-sdk-go/lending", + SDKVersion: "7.0.0", + GenVersion: "2.460.1", + UserAgent: "speakeasy-sdk/go 7.0.0 2.460.1 3.0.0 github.com/codatio/client-sdk-go/lending", Hooks: hooks.New(), }, } diff --git a/lending/codatlendingaccountingbankdata.go b/lending/codatlendingaccountingbankdata.go index 96e56ea42..8f8874bde 100644 --- a/lending/codatlendingaccountingbankdata.go +++ b/lending/codatlendingaccountingbankdata.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/codatlendingaccounts.go b/lending/codatlendingaccounts.go index 3b4216d94..b00f6d30f 100644 --- a/lending/codatlendingaccounts.go +++ b/lending/codatlendingaccounts.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/codatlendingbankingtransactions.go b/lending/codatlendingbankingtransactions.go index 534dccdb9..d7e970776 100644 --- a/lending/codatlendingbankingtransactions.go +++ b/lending/codatlendingbankingtransactions.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/codatlendingcustomers.go b/lending/codatlendingcustomers.go index 7466a858a..91ee534fd 100644 --- a/lending/codatlendingcustomers.go +++ b/lending/codatlendingcustomers.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/codatlendingdirectcosts.go b/lending/codatlendingdirectcosts.go index cb1927422..19004e797 100644 --- a/lending/codatlendingdirectcosts.go +++ b/lending/codatlendingdirectcosts.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/codatlendingfinancialstatementsaccounts.go b/lending/codatlendingfinancialstatementsaccounts.go index 2e0a8127d..4ddb8ebad 100644 --- a/lending/codatlendingfinancialstatementsaccounts.go +++ b/lending/codatlendingfinancialstatementsaccounts.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/codatlendingloanwritebackaccounts.go b/lending/codatlendingloanwritebackaccounts.go index a8688fbd3..bf37f3e16 100644 --- a/lending/codatlendingloanwritebackaccounts.go +++ b/lending/codatlendingloanwritebackaccounts.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/codatlendingpayments.go b/lending/codatlendingpayments.go index 9158f220a..2c2d274ec 100644 --- a/lending/codatlendingpayments.go +++ b/lending/codatlendingpayments.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/codatlendingreports.go b/lending/codatlendingreports.go index 408de1207..17e8d99ca 100644 --- a/lending/codatlendingreports.go +++ b/lending/codatlendingreports.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/codatlendingsalespayments.go b/lending/codatlendingsalespayments.go index 51ad27145..267fdbe51 100644 --- a/lending/codatlendingsalespayments.go +++ b/lending/codatlendingsalespayments.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/codatlendingsuppliers.go b/lending/codatlendingsuppliers.go index dcdb76071..f0fe12e4b 100644 --- a/lending/codatlendingsuppliers.go +++ b/lending/codatlendingsuppliers.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/codatlendingtransactions.go b/lending/codatlendingtransactions.go index 424c018ca..71b6b3e98 100644 --- a/lending/codatlendingtransactions.go +++ b/lending/codatlendingtransactions.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/codatlendingtransfers.go b/lending/codatlendingtransfers.go index 36129f817..77a972fd5 100644 --- a/lending/codatlendingtransfers.go +++ b/lending/codatlendingtransfers.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/companies.go b/lending/companies.go index 437247b8b..379c08fdd 100644 --- a/lending/companies.go +++ b/lending/companies.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" "net/url" ) diff --git a/lending/companyinfo.go b/lending/companyinfo.go index 82bf1d295..1a4a12b79 100644 --- a/lending/companyinfo.go +++ b/lending/companyinfo.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/connections.go b/lending/connections.go index 33ada9a4c..d993f739b 100644 --- a/lending/connections.go +++ b/lending/connections.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/createoperations.go b/lending/createoperations.go index ee03abe1c..82748937a 100644 --- a/lending/createoperations.go +++ b/lending/createoperations.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/creditnotes.go b/lending/creditnotes.go index 563e31634..552261b22 100644 --- a/lending/creditnotes.go +++ b/lending/creditnotes.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/customers.go b/lending/customers.go index a22d1ef48..43dac5571 100644 --- a/lending/customers.go +++ b/lending/customers.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/dataintegrity.go b/lending/dataintegrity.go index 0702071be..9086ac119 100644 --- a/lending/dataintegrity.go +++ b/lending/dataintegrity.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/directcosts.go b/lending/directcosts.go index d5384f5c7..40b811c07 100644 --- a/lending/directcosts.go +++ b/lending/directcosts.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/directincomes.go b/lending/directincomes.go index f09c43fef..a8e4d4932 100644 --- a/lending/directincomes.go +++ b/lending/directincomes.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/disputes.go b/lending/disputes.go index fc15256fb..d95e104ac 100644 --- a/lending/disputes.go +++ b/lending/disputes.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/docs/pkg/models/shared/accountingbillcreditnote.md b/lending/docs/pkg/models/shared/accountingbillcreditnote.md index 4182664e8..a8f0bfff6 100644 --- a/lending/docs/pkg/models/shared/accountingbillcreditnote.md +++ b/lending/docs/pkg/models/shared/accountingbillcreditnote.md @@ -22,7 +22,7 @@ A bill credit note includes details of: | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `AllocatedOnDate` | **string* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:

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



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

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

> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23 00:00:00 +0000 UTC | | `BillCreditNoteNumber` | **string* | :heavy_minus_sign: | Friendly reference for the bill credit note. | 91fe2a83-e161-4c21-929d-c5c10c4b07e5 | -| `CreatedFromRefs` | [][shared.RecordRef](../../../pkg/models/shared/recordref.md) | :heavy_minus_sign: | An array of records the credit note was created from. | | +| `CreatedFromRefs` | [][shared.AccountingRecordRef](../../../pkg/models/shared/accountingrecordref.md) | :heavy_minus_sign: | An array of records the credit note was created from. | | | `Currency` | **string* | :heavy_minus_sign: | The currency data type in Codat is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, e.g. _GBP_.

## Unknown currencies

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

There are only a very small number of edge cases where this currency code is returned by the Codat system. | GBP | | `CurrencyRate` | [*decimal.Big](https://pkg.go.dev/github.com/ericlagergren/decimal#Big) | :heavy_minus_sign: | Rate to convert the total amount of the payment into the base currency for the company at the time of the payment.

Currency rates in Codat are implemented as the multiple of foreign currency units to each base currency unit.

It is not possible to perform the currency conversion with two or more non-base currencies participating in the transaction. For example, if a company's base currency is USD, and it has a bill issued in EUR, then the bill payment must happen in USD or EUR.

Where the currency rate is provided by the underlying accounting software, it will be available from Codat with the same precision (up to a maximum of 9 decimal places).

For accounting software which do not provide an explicit currency rate, it is calculated as `baseCurrency / foreignCurrency` and will be returned to 9 decimal places.

## Examples with base currency of GBP

\| Foreign Currency \| Foreign Amount \| Currency Rate \| Base Currency Amount (GBP) \|
\| :--------------- \| :------------- \| :------------ \| :------------------------- \|
\| **USD** \| $20 \| 0.781 \| £15.62 \|
\| **EUR** \| €20 \| 0.885 \| £17.70 \|
\| **RUB** \| ₽20 \| 0.011 \| £0.22 \|

## Examples with base currency of USD

\| Foreign Currency \| Foreign Amount \| Currency Rate \| Base Currency Amount (USD) \|
\| :--------------- \| :------------- \| :------------ \| :------------------------- \|
\| **GBP** \| £20 \| 1.277 \| $25.54 \|
\| **EUR** \| €20 \| 1.134 \| $22.68 \|
\| **RUB** \| ₽20 \| 0.015 \| $0.30 \|


### Integration-specific details

\| Integration \| Scenario \| System behavior \|
\|-------------------\|-------------------------------------------------\|----------------------------------------------------------------------------------------------------------------------------------------------------------------------\|
\| QuickBooks Online \| Transaction currency differs from base currency \| If currency rate value is left `null`, a rate of 1 will be used by QBO by default. To override this, specify a currencyRate in the request body. \| | | | `DiscountPercentage` | [*decimal.Big](https://pkg.go.dev/github.com/ericlagergren/decimal#Big) | :heavy_check_mark: | Percentage rate of any discount applied to the bill credit note. | 0 | diff --git a/lending/docs/pkg/models/shared/accountingcreatetransferresponseaccountingtransfer.md b/lending/docs/pkg/models/shared/accountingcreatetransferresponseaccountingtransfer.md index ccb87133e..fb6040e37 100644 --- a/lending/docs/pkg/models/shared/accountingcreatetransferresponseaccountingtransfer.md +++ b/lending/docs/pkg/models/shared/accountingcreatetransferresponseaccountingtransfer.md @@ -11,7 +11,7 @@ A transfer records the movement of money between two bank accounts, or between a | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `ContactRef` | [*shared.ContactRef](../../../pkg/models/shared/contactref.md) | :heavy_minus_sign: | N/A | | | `Date` | **string* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:

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



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

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

> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23 00:00:00 +0000 UTC | -| `DepositedRecordRefs` | [][shared.RecordRef](../../../pkg/models/shared/recordref.md) | :heavy_minus_sign: | List of selected transactions to associate with the transfer. Use this field to include transactions which are posted to the _undeposited funds_ (or other holding) account within the transfer. | | +| `DepositedRecordRefs` | [][shared.AccountingRecordRef](../../../pkg/models/shared/accountingrecordref.md) | :heavy_minus_sign: | List of selected transactions to associate with the transfer. Use this field to include transactions which are posted to the _undeposited funds_ (or other holding) account within the transfer. | | | `Description` | **string* | :heavy_minus_sign: | Description of the transfer. | | | `From` | [*shared.TransferAccount](../../../pkg/models/shared/transferaccount.md) | :heavy_minus_sign: | Account details of the account sending or receiving the transfer. | | | `ID` | **string* | :heavy_minus_sign: | Unique identifier for the transfer. | | diff --git a/lending/docs/pkg/models/shared/recordref.md b/lending/docs/pkg/models/shared/accountingrecordref.md similarity index 98% rename from lending/docs/pkg/models/shared/recordref.md rename to lending/docs/pkg/models/shared/accountingrecordref.md index b03c96fc6..c90bb06fe 100644 --- a/lending/docs/pkg/models/shared/recordref.md +++ b/lending/docs/pkg/models/shared/accountingrecordref.md @@ -1,4 +1,4 @@ -# RecordRef +# AccountingRecordRef Links the current record to the underlying record or data type that created it. diff --git a/lending/docs/pkg/models/shared/accountingtransfer.md b/lending/docs/pkg/models/shared/accountingtransfer.md index eee8ee82c..7e65bec9b 100644 --- a/lending/docs/pkg/models/shared/accountingtransfer.md +++ b/lending/docs/pkg/models/shared/accountingtransfer.md @@ -9,7 +9,7 @@ A transfer records the movement of money between two bank accounts, or between a | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `ContactRef` | [*shared.ContactRef](../../../pkg/models/shared/contactref.md) | :heavy_minus_sign: | N/A | | | `Date` | **string* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:

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



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

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

> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23 00:00:00 +0000 UTC | -| `DepositedRecordRefs` | [][shared.RecordRef](../../../pkg/models/shared/recordref.md) | :heavy_minus_sign: | List of selected transactions to associate with the transfer. Use this field to include transactions which are posted to the _undeposited funds_ (or other holding) account within the transfer. | | +| `DepositedRecordRefs` | [][shared.AccountingRecordRef](../../../pkg/models/shared/accountingrecordref.md) | :heavy_minus_sign: | List of selected transactions to associate with the transfer. Use this field to include transactions which are posted to the _undeposited funds_ (or other holding) account within the transfer. | | | `Description` | **string* | :heavy_minus_sign: | Description of the transfer. | | | `From` | [*shared.TransferAccount](../../../pkg/models/shared/transferaccount.md) | :heavy_minus_sign: | Account details of the account sending or receiving the transfer. | | | `ID` | **string* | :heavy_minus_sign: | Unique identifier for the transfer. | | diff --git a/lending/docs/pkg/models/shared/accountsreceivabletracking.md b/lending/docs/pkg/models/shared/accountsreceivabletracking.md index 593b09f9e..4203f344b 100644 --- a/lending/docs/pkg/models/shared/accountsreceivabletracking.md +++ b/lending/docs/pkg/models/shared/accountsreceivabletracking.md @@ -12,4 +12,4 @@ Categories, and a project and customer, against which the item is tracked. | `IsBilledTo` | [shared.BilledToType1](../../../pkg/models/shared/billedtotype1.md) | :heavy_check_mark: | Defines if the bill or bill credit note is billed/rebilled to a project. | | `IsRebilledTo` | [shared.BilledToType1](../../../pkg/models/shared/billedtotype1.md) | :heavy_check_mark: | Defines if the bill or bill credit note is billed/rebilled to a project. | | `ProjectRef` | [*shared.ProjectRef](../../../pkg/models/shared/projectref.md) | :heavy_minus_sign: | N/A | -| `RecordRef` | [*shared.RecordReference](../../../pkg/models/shared/recordreference.md) | :heavy_minus_sign: | Links the current record to the underlying record or data type that created it.

For example, if a journal entry is generated based on an invoice, this property allows you to connect the journal entry to the underlying invoice in our data model. | \ No newline at end of file +| `RecordRef` | [*shared.AccountingRecordRef](../../../pkg/models/shared/accountingrecordref.md) | :heavy_minus_sign: | Links the current record to the underlying record or data type that created it.

For example, if a journal entry is generated based on an invoice, this property allows you to connect the journal entry to the underlying invoice in our data model. | \ No newline at end of file diff --git a/lending/docs/pkg/models/shared/company.md b/lending/docs/pkg/models/shared/company.md index 0d4dbcef6..0f271dfc3 100644 --- a/lending/docs/pkg/models/shared/company.md +++ b/lending/docs/pkg/models/shared/company.md @@ -20,4 +20,6 @@ When you create a company, you can specify a `name` and we will automatically ge | `Name` | *string* | :heavy_check_mark: | The name of the company | Codat Ltd. | | `Products` | []*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 | +| `ReferenceParentCompany` | [*shared.CompanyReference](../../../pkg/models/shared/companyreference.md) | :heavy_minus_sign: | N/A | | +| `ReferenceSubsidiaryCompanies` | [][shared.CompanyReference](../../../pkg/models/shared/companyreference.md) | :heavy_minus_sign: | A list of subsidiary companies owned or controlled by this entity. Empty if the company has no children. | | | `Tags` | map[string]*string* | :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/lending/docs/pkg/models/shared/recordreference.md b/lending/docs/pkg/models/shared/recordreference.md deleted file mode 100644 index 752befe82..000000000 --- a/lending/docs/pkg/models/shared/recordreference.md +++ /dev/null @@ -1,13 +0,0 @@ -# RecordReference - -Links the current record to the underlying record or data type that created it. - -For example, if a journal entry is generated based on an invoice, this property allows you to connect the journal entry to the underlying invoice in our data model. - - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -| `DataType` | **string* | :heavy_minus_sign: | Allowed name of the 'dataType'. | journalEntry | -| `ID` | **string* | :heavy_minus_sign: | 'id' of the underlying record or data type. | | \ No newline at end of file diff --git a/lending/docs/pkg/models/shared/tracking.md b/lending/docs/pkg/models/shared/tracking.md index 12d17997a..1423fad2a 100644 --- a/lending/docs/pkg/models/shared/tracking.md +++ b/lending/docs/pkg/models/shared/tracking.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `InvoiceTo` | [*shared.RecordRef](../../../pkg/models/shared/recordref.md) | :heavy_minus_sign: | Links the current record to the underlying record or data type that created it.

For example, if a journal entry is generated based on an invoice, this property allows you to connect the journal entry to the underlying invoice in our data model. | +| `InvoiceTo` | [*shared.AccountingRecordRef](../../../pkg/models/shared/accountingrecordref.md) | :heavy_minus_sign: | Links the current record to the underlying record or data type that created it.

For example, if a journal entry is generated based on an invoice, this property allows you to connect the journal entry to the underlying invoice in our data model. | | `RecordRefs` | [][shared.TrackingRecordRef](../../../pkg/models/shared/trackingrecordref.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/lending/docs/pkg/models/shared/transferaccount.md b/lending/docs/pkg/models/shared/transferaccount.md index c3dc31421..b3785f696 100644 --- a/lending/docs/pkg/models/shared/transferaccount.md +++ b/lending/docs/pkg/models/shared/transferaccount.md @@ -7,6 +7,6 @@ Account details of the account sending or receiving the transfer. | Field | Type | Required | Description | Example | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `AccountRef` | [*shared.AccountRef](../../../pkg/models/shared/accountref.md) | :heavy_minus_sign: | Data types that reference an account, for example bill and invoice line items, use an accountRef that includes the ID and name of the linked account. | | +| `AccountRef` | [*shared.AccountingRecordRef](../../../pkg/models/shared/accountingrecordref.md) | :heavy_minus_sign: | Links the current record to the underlying record or data type that created it.

For example, if a journal entry is generated based on an invoice, this property allows you to connect the journal entry to the underlying invoice in our data model. | | | `Amount` | [*decimal.Big](https://pkg.go.dev/github.com/ericlagergren/decimal#Big) | :heavy_minus_sign: | The amount transferred between accounts. | | | `Currency` | **string* | :heavy_minus_sign: | The currency data type in Codat is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, e.g. _GBP_.

## Unknown currencies

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

There are only a very small number of edge cases where this currency code is returned by the Codat system. | GBP | \ No newline at end of file diff --git a/lending/docs/sdks/accountbalances/README.md b/lending/docs/sdks/accountbalances/README.md index 539ec099d..aa7b4ca17 100644 --- a/lending/docs/sdks/accountbalances/README.md +++ b/lending/docs/sdks/accountbalances/README.md @@ -22,10 +22,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/accounts/README.md b/lending/docs/sdks/accounts/README.md index a45bc7031..5969f2d30 100644 --- a/lending/docs/sdks/accounts/README.md +++ b/lending/docs/sdks/accounts/README.md @@ -23,10 +23,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -86,10 +86,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/accounttransactions/README.md b/lending/docs/sdks/accounttransactions/README.md index d811a3b5d..6aeb368ef 100644 --- a/lending/docs/sdks/accounttransactions/README.md +++ b/lending/docs/sdks/accounttransactions/README.md @@ -23,10 +23,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -86,10 +86,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/balancesheet/README.md b/lending/docs/sdks/balancesheet/README.md index be0296021..ca4b0c2c5 100644 --- a/lending/docs/sdks/balancesheet/README.md +++ b/lending/docs/sdks/balancesheet/README.md @@ -18,10 +18,10 @@ Gets the latest balance sheet for a company. package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -79,10 +79,10 @@ Codat suggests a category for each account automatically, but you can [change it package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/bankaccounts/README.md b/lending/docs/sdks/bankaccounts/README.md index 738ae3c0f..22ff47eb4 100644 --- a/lending/docs/sdks/bankaccounts/README.md +++ b/lending/docs/sdks/bankaccounts/README.md @@ -24,10 +24,10 @@ Required data may vary by integration. To see what data to post, first call [Get package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -94,10 +94,10 @@ See the *response examples* for integration-specific indicative models. package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/bankstatements/README.md b/lending/docs/sdks/bankstatements/README.md index f802be3fd..724f7c278 100644 --- a/lending/docs/sdks/bankstatements/README.md +++ b/lending/docs/sdks/bankstatements/README.md @@ -25,10 +25,10 @@ A session is a one-time process that enables you to upload bank statements to Co package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -87,10 +87,10 @@ When you use the [*Upload data*](https://docs.codat.io/lending-api#/operations/u package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -148,10 +148,10 @@ Each data connection can only have one configuration for each company and extern package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -213,10 +213,10 @@ You can only have one active session per data type at a time. You can complete o package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -272,10 +272,10 @@ Make sure you created configuration for the account using the [*Set upload confi package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/banktransactions/README.md b/lending/docs/sdks/banktransactions/README.md index 393e1c45a..078120f47 100644 --- a/lending/docs/sdks/banktransactions/README.md +++ b/lending/docs/sdks/banktransactions/README.md @@ -25,10 +25,10 @@ Required data may vary by integration. To see what data to post, first call [Get package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -97,10 +97,10 @@ See the *response examples* for integration-specific indicative models. package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/billcreditnotes/README.md b/lending/docs/sdks/billcreditnotes/README.md index 9291e65de..59d6fcd88 100644 --- a/lending/docs/sdks/billcreditnotes/README.md +++ b/lending/docs/sdks/billcreditnotes/README.md @@ -23,10 +23,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -85,10 +85,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/billpayments/README.md b/lending/docs/sdks/billpayments/README.md index ae662785d..a7d32c4f2 100644 --- a/lending/docs/sdks/billpayments/README.md +++ b/lending/docs/sdks/billpayments/README.md @@ -23,10 +23,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -85,10 +85,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/bills/README.md b/lending/docs/sdks/bills/README.md index 5654ba440..137c27e68 100644 --- a/lending/docs/sdks/bills/README.md +++ b/lending/docs/sdks/bills/README.md @@ -23,10 +23,10 @@ The *Download bill attachment* endpoint downloads a specific attachment for a gi package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -91,10 +91,10 @@ To access the `paymentAllocations` property, ensure that the `billPayments` data package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -150,10 +150,10 @@ The *Get bill attachment* endpoint returns a specific attachment for a given `bi package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -218,10 +218,10 @@ To access the `paymentAllocations` property, ensure that the `billPayments` data package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -281,10 +281,10 @@ The *List bill attachments* endpoint returns a list of attachments available to package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/cashflow/README.md b/lending/docs/sdks/cashflow/README.md index 6e693f905..0fc1f1c95 100644 --- a/lending/docs/sdks/cashflow/README.md +++ b/lending/docs/sdks/cashflow/README.md @@ -17,10 +17,10 @@ Gets the latest cash flow statement for a company. package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/categorizedstatement/README.md b/lending/docs/sdks/categorizedstatement/README.md index 7a3ca636a..04551c365 100644 --- a/lending/docs/sdks/categorizedstatement/README.md +++ b/lending/docs/sdks/categorizedstatement/README.md @@ -21,10 +21,10 @@ The _Get categorized bank statement_ endpoint provides a fully categorized list package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/codatlendingaccountingbankdata/README.md b/lending/docs/sdks/codatlendingaccountingbankdata/README.md index b83cc08e1..bc218f6e7 100644 --- a/lending/docs/sdks/codatlendingaccountingbankdata/README.md +++ b/lending/docs/sdks/codatlendingaccountingbankdata/README.md @@ -24,10 +24,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/codatlendingaccounts/README.md b/lending/docs/sdks/codatlendingaccounts/README.md index c95215176..ddbab2037 100644 --- a/lending/docs/sdks/codatlendingaccounts/README.md +++ b/lending/docs/sdks/codatlendingaccounts/README.md @@ -22,10 +22,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -85,10 +85,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/codatlendingbankingtransactions/README.md b/lending/docs/sdks/codatlendingbankingtransactions/README.md index 4ca3985a8..0b33f52e0 100644 --- a/lending/docs/sdks/codatlendingbankingtransactions/README.md +++ b/lending/docs/sdks/codatlendingbankingtransactions/README.md @@ -23,10 +23,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -86,10 +86,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/codatlendingcustomers/README.md b/lending/docs/sdks/codatlendingcustomers/README.md index 5c7dc3c3c..3a4a7edb1 100644 --- a/lending/docs/sdks/codatlendingcustomers/README.md +++ b/lending/docs/sdks/codatlendingcustomers/README.md @@ -23,10 +23,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -86,10 +86,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/codatlendingdirectcosts/README.md b/lending/docs/sdks/codatlendingdirectcosts/README.md index ef92fa7ba..9a6e7c2c1 100644 --- a/lending/docs/sdks/codatlendingdirectcosts/README.md +++ b/lending/docs/sdks/codatlendingdirectcosts/README.md @@ -24,10 +24,10 @@ The *Download direct cost attachment* endpoint downloads a specific attachment f package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -88,10 +88,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -148,10 +148,10 @@ The *Get direct cost attachment* endpoint returns a specific attachment for a gi package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -212,10 +212,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -276,10 +276,10 @@ The *List direct cost attachments* endpoint returns a list of attachments availa package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/codatlendingfinancialstatementsaccounts/README.md b/lending/docs/sdks/codatlendingfinancialstatementsaccounts/README.md index ba0faa5c6..7e2cdf363 100644 --- a/lending/docs/sdks/codatlendingfinancialstatementsaccounts/README.md +++ b/lending/docs/sdks/codatlendingfinancialstatementsaccounts/README.md @@ -23,10 +23,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -84,10 +84,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/codatlendingloanwritebackaccounts/README.md b/lending/docs/sdks/codatlendingloanwritebackaccounts/README.md index 72a9eb85e..47c6981de 100644 --- a/lending/docs/sdks/codatlendingloanwritebackaccounts/README.md +++ b/lending/docs/sdks/codatlendingloanwritebackaccounts/README.md @@ -24,11 +24,11 @@ Required data may vary by integration. To see what data to post, first call [Get package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/types" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/types" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -99,10 +99,10 @@ See the *response examples* for integration-specific indicative models. package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/codatlendingpayments/README.md b/lending/docs/sdks/codatlendingpayments/README.md index 1c02c9508..395a7a7a7 100644 --- a/lending/docs/sdks/codatlendingpayments/README.md +++ b/lending/docs/sdks/codatlendingpayments/README.md @@ -24,11 +24,11 @@ Required data may vary by integration. To see what data to post, first call [Get package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/types" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/types" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -124,10 +124,10 @@ See the *response examples* for integration-specific indicative models. package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/codatlendingreports/README.md b/lending/docs/sdks/codatlendingreports/README.md index 2337ca494..c583af84b 100644 --- a/lending/docs/sdks/codatlendingreports/README.md +++ b/lending/docs/sdks/codatlendingreports/README.md @@ -39,10 +39,10 @@ The report data then combines multiple reporting dimensions and measures and out package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -122,10 +122,10 @@ The report data then combines multiple reporting dimensions and measures and out package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/codatlendingsalespayments/README.md b/lending/docs/sdks/codatlendingsalespayments/README.md index 8cddfaf1e..511d5140d 100644 --- a/lending/docs/sdks/codatlendingsalespayments/README.md +++ b/lending/docs/sdks/codatlendingsalespayments/README.md @@ -23,10 +23,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -86,10 +86,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/codatlendingsuppliers/README.md b/lending/docs/sdks/codatlendingsuppliers/README.md index 2e6a0ff89..e484f6f64 100644 --- a/lending/docs/sdks/codatlendingsuppliers/README.md +++ b/lending/docs/sdks/codatlendingsuppliers/README.md @@ -25,10 +25,10 @@ Required data may vary by integration. To see what data to post, first call [Get package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -98,10 +98,10 @@ See the *response examples* for integration-specific indicative models. package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/codatlendingtransactions/README.md b/lending/docs/sdks/codatlendingtransactions/README.md index 2d853d5f7..1f79fe17e 100644 --- a/lending/docs/sdks/codatlendingtransactions/README.md +++ b/lending/docs/sdks/codatlendingtransactions/README.md @@ -23,10 +23,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -86,10 +86,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/codatlendingtransfers/README.md b/lending/docs/sdks/codatlendingtransfers/README.md index 1d6dee6dc..d4e99a2f4 100644 --- a/lending/docs/sdks/codatlendingtransfers/README.md +++ b/lending/docs/sdks/codatlendingtransfers/README.md @@ -23,10 +23,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -86,10 +86,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/companies/README.md b/lending/docs/sdks/companies/README.md index e79f8c7f7..1e1ea7fd1 100644 --- a/lending/docs/sdks/companies/README.md +++ b/lending/docs/sdks/companies/README.md @@ -28,8 +28,8 @@ If forbidden characters (see `name` pattern) are present in the request, a compa package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" "log" ) @@ -88,10 +88,10 @@ Each company can have multiple [connections](https://docs.codat.io/lending-api#/ package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -148,10 +148,10 @@ Each company can have multiple [connections](https://docs.codat.io/lending-api#/ package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -207,10 +207,10 @@ Each company can have multiple [connections](https://docs.codat.io/lending-api#/ package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -269,10 +269,10 @@ Each company can have multiple [connections](https://docs.codat.io/lending-api#/ package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/companyinfo/README.md b/lending/docs/sdks/companyinfo/README.md index 919fb0b29..5ca6ff76a 100644 --- a/lending/docs/sdks/companyinfo/README.md +++ b/lending/docs/sdks/companyinfo/README.md @@ -20,10 +20,10 @@ Gets the latest basic info for a company. package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -80,10 +80,10 @@ social media or website information." package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/connections/README.md b/lending/docs/sdks/connections/README.md index 22ecf7008..982285ba3 100644 --- a/lending/docs/sdks/connections/README.md +++ b/lending/docs/sdks/connections/README.md @@ -25,10 +25,10 @@ Use the [List Integrations](https://docs.codat.io/platform-api#/operations/list- package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -85,10 +85,10 @@ This operation is not reversible. The end user would need to reauthorize a new d package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -142,10 +142,10 @@ func main() { package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -199,10 +199,10 @@ func main() { package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -259,10 +259,10 @@ func main() { package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/createoperations/README.md b/lending/docs/sdks/createoperations/README.md index b978451e9..144bb13a7 100644 --- a/lending/docs/sdks/createoperations/README.md +++ b/lending/docs/sdks/createoperations/README.md @@ -18,10 +18,10 @@ Retrieve create operation. package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -75,10 +75,10 @@ List create operations. package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/creditnotes/README.md b/lending/docs/sdks/creditnotes/README.md index 12881de7a..cb257ff31 100644 --- a/lending/docs/sdks/creditnotes/README.md +++ b/lending/docs/sdks/creditnotes/README.md @@ -23,10 +23,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -85,10 +85,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/customers/README.md b/lending/docs/sdks/customers/README.md index 3290020b4..17359e71c 100644 --- a/lending/docs/sdks/customers/README.md +++ b/lending/docs/sdks/customers/README.md @@ -23,10 +23,10 @@ The *Download customer attachment* endpoint downloads a specific attachment for package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -87,10 +87,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -147,10 +147,10 @@ The *Get customer attachment* endpoint returns a specific attachment for a given package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -211,10 +211,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -273,10 +273,10 @@ The *List customer attachments* endpoint returns a list of attachments avialable package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/dataintegrity/README.md b/lending/docs/sdks/dataintegrity/README.md index 2af6e762e..4d834634b 100644 --- a/lending/docs/sdks/dataintegrity/README.md +++ b/lending/docs/sdks/dataintegrity/README.md @@ -23,10 +23,10 @@ The [details](https://docs.codat.io/lending-api#/schemas/DataIntegrityDetail) ar package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -91,10 +91,10 @@ The response tells you: package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -152,10 +152,10 @@ The endpoint response includes only the summary results, not transactions. To vi package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/directcosts/README.md b/lending/docs/sdks/directcosts/README.md index 6c415c73a..46b53e41b 100644 --- a/lending/docs/sdks/directcosts/README.md +++ b/lending/docs/sdks/directcosts/README.md @@ -24,11 +24,11 @@ Required data may vary by integration. To see what data to post, first call [Get package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/types" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/types" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -68,7 +68,7 @@ func main() { TaxAmount: types.MustNewDecimalFromString("360"), TotalAmount: types.MustNewDecimalFromString("70"), Tracking: &shared.Tracking{ - InvoiceTo: &shared.RecordRef{ + InvoiceTo: &shared.AccountingRecordRef{ DataType: lending.String("invoice"), }, RecordRefs: []shared.TrackingRecordRef{ @@ -162,10 +162,10 @@ See the *response examples* for integration-specific indicative models. package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/directincomes/README.md b/lending/docs/sdks/directincomes/README.md index fedc4681b..c24d74b74 100644 --- a/lending/docs/sdks/directincomes/README.md +++ b/lending/docs/sdks/directincomes/README.md @@ -23,10 +23,10 @@ The *Download direct income attachment* endpoint downloads a specific attachment package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -87,10 +87,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -147,10 +147,10 @@ The *Get direct income attachment* endpoint returns a specific attachment for a package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -211,10 +211,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -275,10 +275,10 @@ The *List direct income attachments* endpoint returns a list of attachments avai package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/disputes/README.md b/lending/docs/sdks/disputes/README.md index 802f9fe32..90409b03a 100644 --- a/lending/docs/sdks/disputes/README.md +++ b/lending/docs/sdks/disputes/README.md @@ -23,10 +23,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -86,10 +86,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/excelreports/README.md b/lending/docs/sdks/excelreports/README.md index 37df10a15..0bcc433d8 100644 --- a/lending/docs/sdks/excelreports/README.md +++ b/lending/docs/sdks/excelreports/README.md @@ -25,10 +25,10 @@ You can [learn more](https://docs.codat.io/lending/features/excel-download-overv package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -98,10 +98,10 @@ In response, the endpoint returns the [status](https://docs.codat.io/lending-api package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -159,10 +159,10 @@ When the report generation completes successfully, the `inProgress` property wil package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/fileupload/README.md b/lending/docs/sdks/fileupload/README.md index 3a6a22475..752a20862 100644 --- a/lending/docs/sdks/fileupload/README.md +++ b/lending/docs/sdks/fileupload/README.md @@ -21,10 +21,10 @@ The *Download files* endpoint downloads all files that have been uploaded by to package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -78,10 +78,10 @@ func main() { package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -140,11 +140,11 @@ Uploaded files must meet the following requirements: package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "os" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/invoices/README.md b/lending/docs/sdks/invoices/README.md index e350179ab..6103c06cc 100644 --- a/lending/docs/sdks/invoices/README.md +++ b/lending/docs/sdks/invoices/README.md @@ -26,10 +26,10 @@ The *Download invoice attachment* endpoint downloads a specific attachment for a package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -85,10 +85,10 @@ func main() { package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -151,10 +151,10 @@ To access the `paymentAllocations` property, ensure that the `payments` data typ package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -211,10 +211,10 @@ The *Get invoice attachment* endpoint returns a specific attachment for a given package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -286,10 +286,10 @@ To access the `paymentAllocations` property, ensure that the `payments` data typ package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -348,10 +348,10 @@ The *List invoice attachments* endpoint returns a list of attachments available package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -406,10 +406,10 @@ Gets a list of invoices linked to the corresponding banking transaction package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/journalentries/README.md b/lending/docs/sdks/journalentries/README.md index eb66e8cda..4d1a12f42 100644 --- a/lending/docs/sdks/journalentries/README.md +++ b/lending/docs/sdks/journalentries/README.md @@ -23,10 +23,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -85,10 +85,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/journals/README.md b/lending/docs/sdks/journals/README.md index 661889f00..171e9cfae 100644 --- a/lending/docs/sdks/journals/README.md +++ b/lending/docs/sdks/journals/README.md @@ -23,10 +23,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -85,10 +85,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/liabilities/README.md b/lending/docs/sdks/liabilities/README.md index 31dadca58..043065e25 100644 --- a/lending/docs/sdks/liabilities/README.md +++ b/lending/docs/sdks/liabilities/README.md @@ -27,10 +27,10 @@ Make sure you have [synced a company](https://docs.codat.io/lending-api#/operati package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -89,10 +89,10 @@ Make sure you have [synced a company](https://docs.codat.io/lending-api#/operati package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -151,10 +151,10 @@ Make sure you have [synced a company](https://docs.codat.io/lending-api#/operati package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -213,10 +213,10 @@ Make sure you have [synced a company](https://docs.codat.io/lending-api#/operati package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/locations/README.md b/lending/docs/sdks/locations/README.md index d14159e4b..88e626396 100644 --- a/lending/docs/sdks/locations/README.md +++ b/lending/docs/sdks/locations/README.md @@ -23,10 +23,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -86,10 +86,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/managedata/README.md b/lending/docs/sdks/managedata/README.md index e08376a51..4398806c9 100644 --- a/lending/docs/sdks/managedata/README.md +++ b/lending/docs/sdks/managedata/README.md @@ -17,10 +17,10 @@ Get the state of each data type for a company package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/managereports/README.md b/lending/docs/sdks/managereports/README.md index d29715d56..53a19bc99 100644 --- a/lending/docs/sdks/managereports/README.md +++ b/lending/docs/sdks/managereports/README.md @@ -26,10 +26,10 @@ This action triggers the system to refresh and pull the necessary data from the package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -87,10 +87,10 @@ Use the *List reports* endpoint to return details about all reports generated fo package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/metrics/README.md b/lending/docs/sdks/metrics/README.md index 4726be7cb..1d3aefbef 100644 --- a/lending/docs/sdks/metrics/README.md +++ b/lending/docs/sdks/metrics/README.md @@ -47,10 +47,10 @@ The report data then combines multiple reporting dimensions and measures and out package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -128,10 +128,10 @@ The report data then combines multiple reporting dimensions and measures and out package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -210,10 +210,10 @@ The report data then combines multiple reporting dimensions and measures and out package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/orders/README.md b/lending/docs/sdks/orders/README.md index 2bb456feb..06edceb8a 100644 --- a/lending/docs/sdks/orders/README.md +++ b/lending/docs/sdks/orders/README.md @@ -23,10 +23,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -86,10 +86,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/paymentmethods/README.md b/lending/docs/sdks/paymentmethods/README.md index 73d9a9167..f9a26637c 100644 --- a/lending/docs/sdks/paymentmethods/README.md +++ b/lending/docs/sdks/paymentmethods/README.md @@ -23,10 +23,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -86,10 +86,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/payments/README.md b/lending/docs/sdks/payments/README.md index d09919a1e..f4e8ff7fa 100644 --- a/lending/docs/sdks/payments/README.md +++ b/lending/docs/sdks/payments/README.md @@ -23,10 +23,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -85,10 +85,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/productcategories/README.md b/lending/docs/sdks/productcategories/README.md index 5e57001af..cd898775a 100644 --- a/lending/docs/sdks/productcategories/README.md +++ b/lending/docs/sdks/productcategories/README.md @@ -23,10 +23,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -86,10 +86,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/products/README.md b/lending/docs/sdks/products/README.md index 69acf7b54..e80ee8b30 100644 --- a/lending/docs/sdks/products/README.md +++ b/lending/docs/sdks/products/README.md @@ -23,10 +23,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -86,10 +86,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/profitandloss/README.md b/lending/docs/sdks/profitandloss/README.md index 9fd6e7055..5523d027b 100644 --- a/lending/docs/sdks/profitandloss/README.md +++ b/lending/docs/sdks/profitandloss/README.md @@ -18,10 +18,10 @@ Gets the latest profit and loss for a company. package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -79,10 +79,10 @@ Codat suggests a category for each account automatically, but you can [change it package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/pulloperations/README.md b/lending/docs/sdks/pulloperations/README.md index 980e0081c..875700e1c 100644 --- a/lending/docs/sdks/pulloperations/README.md +++ b/lending/docs/sdks/pulloperations/README.md @@ -18,10 +18,10 @@ Retrieve information about a single dataset or pull operation. package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -75,10 +75,10 @@ Gets the pull operation history (datasets) for a given company. package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/refresh/README.md b/lending/docs/sdks/refresh/README.md index 420cb79ac..3bec75d0a 100644 --- a/lending/docs/sdks/refresh/README.md +++ b/lending/docs/sdks/refresh/README.md @@ -22,10 +22,10 @@ This is an asynchronous operation, and will bring updated data into Codat from t package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -80,10 +80,10 @@ This is an asynchronous operation, and will bring updated data into Codat from t package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/reports/README.md b/lending/docs/sdks/reports/README.md index 86ce6a1db..a113b7179 100644 --- a/lending/docs/sdks/reports/README.md +++ b/lending/docs/sdks/reports/README.md @@ -20,11 +20,11 @@ Returns aged creditors report for company that shows the total balance owed by a package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/types" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/types" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -80,11 +80,11 @@ Returns aged debtors report for company that shows the total outstanding balance package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/types" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/types" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -140,10 +140,10 @@ Indicates whether the aged creditor report is available for the company. package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -196,10 +196,10 @@ Indicates whether the aged debtors report is available for the company. package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/sourceaccounts/README.md b/lending/docs/sdks/sourceaccounts/README.md index 7806d03f6..1c3b8f8af 100644 --- a/lending/docs/sdks/sourceaccounts/README.md +++ b/lending/docs/sdks/sourceaccounts/README.md @@ -42,11 +42,11 @@ The method of mapping the source account to the target account varies depending package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/types" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/types" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -131,10 +131,10 @@ To find valid target account options, first call the [List bank feed account map package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/suppliers/README.md b/lending/docs/sdks/suppliers/README.md index cbd06c30d..234278f39 100644 --- a/lending/docs/sdks/suppliers/README.md +++ b/lending/docs/sdks/suppliers/README.md @@ -24,10 +24,10 @@ The *Download supplier attachment* endpoint downloads a specific attachment for package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -88,10 +88,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -148,10 +148,10 @@ The *Get supplier attachment* endpoint returns a specific attachment for a given package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -212,10 +212,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -275,10 +275,10 @@ The *List supplier attachments* endpoint returns a list of attachments available package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/transactioncategories/README.md b/lending/docs/sdks/transactioncategories/README.md index c11285cd4..074bdc4a2 100644 --- a/lending/docs/sdks/transactioncategories/README.md +++ b/lending/docs/sdks/transactioncategories/README.md @@ -23,10 +23,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -86,10 +86,10 @@ Before using this endpoint, you must have [retrieved data for the company](https package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/docs/sdks/transfers/README.md b/lending/docs/sdks/transfers/README.md index fb01580c7..a5365c9f3 100644 --- a/lending/docs/sdks/transfers/README.md +++ b/lending/docs/sdks/transfers/README.md @@ -24,11 +24,11 @@ Required data may vary by integration. To see what data to post, first call [Get package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/types" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/types" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) @@ -47,14 +47,15 @@ func main() { ID: "80000028-167239230944", }, Date: lending.String("2023-01-26T11:51:18.104Z"), - DepositedRecordRefs: []shared.RecordRef{ - shared.RecordRef{ + DepositedRecordRefs: []shared.AccountingRecordRef{ + shared.AccountingRecordRef{ DataType: lending.String("invoice"), }, }, Description: lending.String("test transfers push 20230126 12.08"), From: &shared.TransferAccount{ - AccountRef: &shared.AccountRef{ + AccountRef: &shared.AccountingRecordRef{ + DataType: lending.String("bankAccounts"), ID: lending.String("80000028-1671794219"), }, Amount: types.MustNewDecimalFromString("12"), @@ -67,7 +68,8 @@ func main() { SourceModifiedDate: lending.String("2022-10-23T00:00:00Z"), Status: shared.AccountingTransferStatusUnknown.ToPointer(), To: &shared.TransferAccount{ - AccountRef: &shared.AccountRef{ + AccountRef: &shared.AccountingRecordRef{ + DataType: lending.String("bankAccounts"), ID: lending.String("80000004-1671793811"), }, Amount: types.MustNewDecimalFromString("12"), @@ -128,10 +130,10 @@ See the *response examples* for integration-specific indicative models. package main import( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - lending "github.com/codatio/client-sdk-go/lending/v6" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + lending "github.com/codatio/client-sdk-go/lending/v7" "context" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" "log" ) diff --git a/lending/excelreports.go b/lending/excelreports.go index 5821ee281..eabceda9f 100644 --- a/lending/excelreports.go +++ b/lending/excelreports.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/fileupload.go b/lending/fileupload.go index cbcfda1a2..9ac822ac9 100644 --- a/lending/fileupload.go +++ b/lending/fileupload.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/go.mod b/lending/go.mod index a07c963c0..9826cfaa1 100644 --- a/lending/go.mod +++ b/lending/go.mod @@ -1,4 +1,4 @@ -module github.com/codatio/client-sdk-go/lending/v6 +module github.com/codatio/client-sdk-go/lending/v7 go 1.20 diff --git a/lending/invoices.go b/lending/invoices.go index d41345acf..4bb04f06d 100644 --- a/lending/invoices.go +++ b/lending/invoices.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/journalentries.go b/lending/journalentries.go index 357366bb3..a46728667 100644 --- a/lending/journalentries.go +++ b/lending/journalentries.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/journals.go b/lending/journals.go index 823879eba..716137c88 100644 --- a/lending/journals.go +++ b/lending/journals.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/liabilities.go b/lending/liabilities.go index b74671d86..4d3d04ed6 100644 --- a/lending/liabilities.go +++ b/lending/liabilities.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/locations.go b/lending/locations.go index 23982a443..c2c2474c4 100644 --- a/lending/locations.go +++ b/lending/locations.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/managedata.go b/lending/managedata.go index 18ee1e511..5fbd4c48a 100644 --- a/lending/managedata.go +++ b/lending/managedata.go @@ -7,11 +7,11 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/managereports.go b/lending/managereports.go index 8c05d7c42..4296b1ff7 100644 --- a/lending/managereports.go +++ b/lending/managereports.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/metrics.go b/lending/metrics.go index 6cf1c37c5..b73a16c4f 100644 --- a/lending/metrics.go +++ b/lending/metrics.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/orders.go b/lending/orders.go index 400a6f288..ef7568f7a 100644 --- a/lending/orders.go +++ b/lending/orders.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/paymentmethods.go b/lending/paymentmethods.go index 26ea1f782..09df4cb69 100644 --- a/lending/paymentmethods.go +++ b/lending/paymentmethods.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/payments.go b/lending/payments.go index d5472faeb..9ab1553a7 100644 --- a/lending/payments.go +++ b/lending/payments.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/createaccount.go b/lending/pkg/models/operations/createaccount.go index e9dd37d8e..012d76772 100644 --- a/lending/pkg/models/operations/createaccount.go +++ b/lending/pkg/models/operations/createaccount.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/createbankaccount.go b/lending/pkg/models/operations/createbankaccount.go index 3e88d1254..23f13792d 100644 --- a/lending/pkg/models/operations/createbankaccount.go +++ b/lending/pkg/models/operations/createbankaccount.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/createbankaccountmapping.go b/lending/pkg/models/operations/createbankaccountmapping.go index d073fa377..ce511bb3f 100644 --- a/lending/pkg/models/operations/createbankaccountmapping.go +++ b/lending/pkg/models/operations/createbankaccountmapping.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/createbanktransactions.go b/lending/pkg/models/operations/createbanktransactions.go index 98cde0d84..49157f60c 100644 --- a/lending/pkg/models/operations/createbanktransactions.go +++ b/lending/pkg/models/operations/createbanktransactions.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/createcompany.go b/lending/pkg/models/operations/createcompany.go index 4e770a928..2f7566c41 100644 --- a/lending/pkg/models/operations/createcompany.go +++ b/lending/pkg/models/operations/createcompany.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/createconnection.go b/lending/pkg/models/operations/createconnection.go index d92b0d818..c0f20599f 100644 --- a/lending/pkg/models/operations/createconnection.go +++ b/lending/pkg/models/operations/createconnection.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/createdirectcost.go b/lending/pkg/models/operations/createdirectcost.go index 4b3a32ce5..437f5b2d6 100644 --- a/lending/pkg/models/operations/createdirectcost.go +++ b/lending/pkg/models/operations/createdirectcost.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/createpayment.go b/lending/pkg/models/operations/createpayment.go index 45000fe68..b8c1ded9f 100644 --- a/lending/pkg/models/operations/createpayment.go +++ b/lending/pkg/models/operations/createpayment.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/createsourceaccount.go b/lending/pkg/models/operations/createsourceaccount.go index 3b72fb108..64cd109e8 100644 --- a/lending/pkg/models/operations/createsourceaccount.go +++ b/lending/pkg/models/operations/createsourceaccount.go @@ -5,8 +5,8 @@ package operations import ( "errors" "fmt" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/createsupplier.go b/lending/pkg/models/operations/createsupplier.go index 8c797dce8..af8eb59fc 100644 --- a/lending/pkg/models/operations/createsupplier.go +++ b/lending/pkg/models/operations/createsupplier.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/createtransfer.go b/lending/pkg/models/operations/createtransfer.go index e2cf1cf22..a216e942f 100644 --- a/lending/pkg/models/operations/createtransfer.go +++ b/lending/pkg/models/operations/createtransfer.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/downloadexcelreport.go b/lending/pkg/models/operations/downloadexcelreport.go index c7422516e..be484e433 100644 --- a/lending/pkg/models/operations/downloadexcelreport.go +++ b/lending/pkg/models/operations/downloadexcelreport.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/endbankstatementuploadsession.go b/lending/pkg/models/operations/endbankstatementuploadsession.go index 46cd41a54..ed539a109 100644 --- a/lending/pkg/models/operations/endbankstatementuploadsession.go +++ b/lending/pkg/models/operations/endbankstatementuploadsession.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/generateexcelreport.go b/lending/pkg/models/operations/generateexcelreport.go index e581587d8..4ff98390b 100644 --- a/lending/pkg/models/operations/generateexcelreport.go +++ b/lending/pkg/models/operations/generateexcelreport.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/generatereport.go b/lending/pkg/models/operations/generatereport.go index 3c187f01f..37241df4b 100644 --- a/lending/pkg/models/operations/generatereport.go +++ b/lending/pkg/models/operations/generatereport.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingaccount.go b/lending/pkg/models/operations/getaccountingaccount.go index 6cfbd1b27..e8d8b217f 100644 --- a/lending/pkg/models/operations/getaccountingaccount.go +++ b/lending/pkg/models/operations/getaccountingaccount.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingaccounttransaction.go b/lending/pkg/models/operations/getaccountingaccounttransaction.go index 9386c5295..6342c9256 100644 --- a/lending/pkg/models/operations/getaccountingaccounttransaction.go +++ b/lending/pkg/models/operations/getaccountingaccounttransaction.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingagedcreditorsreport.go b/lending/pkg/models/operations/getaccountingagedcreditorsreport.go index b0e24e508..ae21fcf27 100644 --- a/lending/pkg/models/operations/getaccountingagedcreditorsreport.go +++ b/lending/pkg/models/operations/getaccountingagedcreditorsreport.go @@ -3,9 +3,9 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/types" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/types" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingageddebtorsreport.go b/lending/pkg/models/operations/getaccountingageddebtorsreport.go index 65b705598..527983c18 100644 --- a/lending/pkg/models/operations/getaccountingageddebtorsreport.go +++ b/lending/pkg/models/operations/getaccountingageddebtorsreport.go @@ -3,9 +3,9 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/types" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/types" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingbalancesheet.go b/lending/pkg/models/operations/getaccountingbalancesheet.go index 323384d4d..f1f598709 100644 --- a/lending/pkg/models/operations/getaccountingbalancesheet.go +++ b/lending/pkg/models/operations/getaccountingbalancesheet.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingbankaccount.go b/lending/pkg/models/operations/getaccountingbankaccount.go index 0b5c509ae..e10d5075c 100644 --- a/lending/pkg/models/operations/getaccountingbankaccount.go +++ b/lending/pkg/models/operations/getaccountingbankaccount.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingbill.go b/lending/pkg/models/operations/getaccountingbill.go index b745dcf32..c735955ea 100644 --- a/lending/pkg/models/operations/getaccountingbill.go +++ b/lending/pkg/models/operations/getaccountingbill.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingbillattachment.go b/lending/pkg/models/operations/getaccountingbillattachment.go index 7084b1660..13561beb8 100644 --- a/lending/pkg/models/operations/getaccountingbillattachment.go +++ b/lending/pkg/models/operations/getaccountingbillattachment.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingbillcreditnote.go b/lending/pkg/models/operations/getaccountingbillcreditnote.go index 9b3a901b8..70534859a 100644 --- a/lending/pkg/models/operations/getaccountingbillcreditnote.go +++ b/lending/pkg/models/operations/getaccountingbillcreditnote.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingbillpayment.go b/lending/pkg/models/operations/getaccountingbillpayment.go index 97489eafd..3ec841142 100644 --- a/lending/pkg/models/operations/getaccountingbillpayment.go +++ b/lending/pkg/models/operations/getaccountingbillpayment.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingcashflowstatement.go b/lending/pkg/models/operations/getaccountingcashflowstatement.go index 5b114b4c9..f0064031b 100644 --- a/lending/pkg/models/operations/getaccountingcashflowstatement.go +++ b/lending/pkg/models/operations/getaccountingcashflowstatement.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingcreditnote.go b/lending/pkg/models/operations/getaccountingcreditnote.go index 7e4da531a..fdc70f9a1 100644 --- a/lending/pkg/models/operations/getaccountingcreditnote.go +++ b/lending/pkg/models/operations/getaccountingcreditnote.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingcustomer.go b/lending/pkg/models/operations/getaccountingcustomer.go index ac139d11e..8057e9b3c 100644 --- a/lending/pkg/models/operations/getaccountingcustomer.go +++ b/lending/pkg/models/operations/getaccountingcustomer.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingcustomerattachment.go b/lending/pkg/models/operations/getaccountingcustomerattachment.go index fe8b51574..88016d385 100644 --- a/lending/pkg/models/operations/getaccountingcustomerattachment.go +++ b/lending/pkg/models/operations/getaccountingcustomerattachment.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingdirectcost.go b/lending/pkg/models/operations/getaccountingdirectcost.go index 7a53cba9e..c14a0eef8 100644 --- a/lending/pkg/models/operations/getaccountingdirectcost.go +++ b/lending/pkg/models/operations/getaccountingdirectcost.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingdirectcostattachment.go b/lending/pkg/models/operations/getaccountingdirectcostattachment.go index 0af3f36da..30cef83ad 100644 --- a/lending/pkg/models/operations/getaccountingdirectcostattachment.go +++ b/lending/pkg/models/operations/getaccountingdirectcostattachment.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingdirectincome.go b/lending/pkg/models/operations/getaccountingdirectincome.go index 6670f253a..2c52113e4 100644 --- a/lending/pkg/models/operations/getaccountingdirectincome.go +++ b/lending/pkg/models/operations/getaccountingdirectincome.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingdirectincomeattachment.go b/lending/pkg/models/operations/getaccountingdirectincomeattachment.go index 5b2ddab51..7aca54ab4 100644 --- a/lending/pkg/models/operations/getaccountingdirectincomeattachment.go +++ b/lending/pkg/models/operations/getaccountingdirectincomeattachment.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountinginvoice.go b/lending/pkg/models/operations/getaccountinginvoice.go index ed8694d8c..d9b2fcb38 100644 --- a/lending/pkg/models/operations/getaccountinginvoice.go +++ b/lending/pkg/models/operations/getaccountinginvoice.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountinginvoiceattachment.go b/lending/pkg/models/operations/getaccountinginvoiceattachment.go index 4814960bb..e6d76afcc 100644 --- a/lending/pkg/models/operations/getaccountinginvoiceattachment.go +++ b/lending/pkg/models/operations/getaccountinginvoiceattachment.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingjournal.go b/lending/pkg/models/operations/getaccountingjournal.go index 48d218686..85dd3bd4f 100644 --- a/lending/pkg/models/operations/getaccountingjournal.go +++ b/lending/pkg/models/operations/getaccountingjournal.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingjournalentry.go b/lending/pkg/models/operations/getaccountingjournalentry.go index cc2d944e6..63ee9f208 100644 --- a/lending/pkg/models/operations/getaccountingjournalentry.go +++ b/lending/pkg/models/operations/getaccountingjournalentry.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingpayment.go b/lending/pkg/models/operations/getaccountingpayment.go index 7c62c25f6..a3cc952c6 100644 --- a/lending/pkg/models/operations/getaccountingpayment.go +++ b/lending/pkg/models/operations/getaccountingpayment.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingprofile.go b/lending/pkg/models/operations/getaccountingprofile.go index 25dfb53ed..acf2fbe51 100644 --- a/lending/pkg/models/operations/getaccountingprofile.go +++ b/lending/pkg/models/operations/getaccountingprofile.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingprofitandloss.go b/lending/pkg/models/operations/getaccountingprofitandloss.go index 811bebf3d..4e33e8b0c 100644 --- a/lending/pkg/models/operations/getaccountingprofitandloss.go +++ b/lending/pkg/models/operations/getaccountingprofitandloss.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingsupplier.go b/lending/pkg/models/operations/getaccountingsupplier.go index 05767b610..194caffbd 100644 --- a/lending/pkg/models/operations/getaccountingsupplier.go +++ b/lending/pkg/models/operations/getaccountingsupplier.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingsupplierattachment.go b/lending/pkg/models/operations/getaccountingsupplierattachment.go index a0f89c52e..675e806cf 100644 --- a/lending/pkg/models/operations/getaccountingsupplierattachment.go +++ b/lending/pkg/models/operations/getaccountingsupplierattachment.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getaccountingtransfer.go b/lending/pkg/models/operations/getaccountingtransfer.go index 862a1900e..13a9ab879 100644 --- a/lending/pkg/models/operations/getaccountingtransfer.go +++ b/lending/pkg/models/operations/getaccountingtransfer.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getbankingaccount.go b/lending/pkg/models/operations/getbankingaccount.go index 1d5d9a8b1..4e3ab116f 100644 --- a/lending/pkg/models/operations/getbankingaccount.go +++ b/lending/pkg/models/operations/getbankingaccount.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getbankingtransaction.go b/lending/pkg/models/operations/getbankingtransaction.go index 604ac842c..1be9ad793 100644 --- a/lending/pkg/models/operations/getbankingtransaction.go +++ b/lending/pkg/models/operations/getbankingtransaction.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getbankingtransactioncategory.go b/lending/pkg/models/operations/getbankingtransactioncategory.go index 2615b62b8..6cf434de7 100644 --- a/lending/pkg/models/operations/getbankingtransactioncategory.go +++ b/lending/pkg/models/operations/getbankingtransactioncategory.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getbankstatementuploadconfiguration.go b/lending/pkg/models/operations/getbankstatementuploadconfiguration.go index 768165d09..b44627362 100644 --- a/lending/pkg/models/operations/getbankstatementuploadconfiguration.go +++ b/lending/pkg/models/operations/getbankstatementuploadconfiguration.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcategorizedbalancesheetstatement.go b/lending/pkg/models/operations/getcategorizedbalancesheetstatement.go index 0d8ecfbde..652210e79 100644 --- a/lending/pkg/models/operations/getcategorizedbalancesheetstatement.go +++ b/lending/pkg/models/operations/getcategorizedbalancesheetstatement.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcategorizedbankstatement.go b/lending/pkg/models/operations/getcategorizedbankstatement.go index c93da161f..bbe077283 100644 --- a/lending/pkg/models/operations/getcategorizedbankstatement.go +++ b/lending/pkg/models/operations/getcategorizedbankstatement.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/getcategorizedprofitandlossstatement.go b/lending/pkg/models/operations/getcategorizedprofitandlossstatement.go index 12da073a9..90dd1ce9e 100644 --- a/lending/pkg/models/operations/getcategorizedprofitandlossstatement.go +++ b/lending/pkg/models/operations/getcategorizedprofitandlossstatement.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcommercecustomer.go b/lending/pkg/models/operations/getcommercecustomer.go index be990b83e..e9f736778 100644 --- a/lending/pkg/models/operations/getcommercecustomer.go +++ b/lending/pkg/models/operations/getcommercecustomer.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcommercecustomerretentionmetrics.go b/lending/pkg/models/operations/getcommercecustomerretentionmetrics.go index 5491bfa33..e64624dc5 100644 --- a/lending/pkg/models/operations/getcommercecustomerretentionmetrics.go +++ b/lending/pkg/models/operations/getcommercecustomerretentionmetrics.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcommercedispute.go b/lending/pkg/models/operations/getcommercedispute.go index 6cafa2cde..b11018f30 100644 --- a/lending/pkg/models/operations/getcommercedispute.go +++ b/lending/pkg/models/operations/getcommercedispute.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcommercelifetimevaluemetrics.go b/lending/pkg/models/operations/getcommercelifetimevaluemetrics.go index a8499015a..ad877f090 100644 --- a/lending/pkg/models/operations/getcommercelifetimevaluemetrics.go +++ b/lending/pkg/models/operations/getcommercelifetimevaluemetrics.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcommercelocation.go b/lending/pkg/models/operations/getcommercelocation.go index e7a8aab59..ebc056eb6 100644 --- a/lending/pkg/models/operations/getcommercelocation.go +++ b/lending/pkg/models/operations/getcommercelocation.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcommerceorder.go b/lending/pkg/models/operations/getcommerceorder.go index 542bdc86a..99508fa5c 100644 --- a/lending/pkg/models/operations/getcommerceorder.go +++ b/lending/pkg/models/operations/getcommerceorder.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcommerceordersreport.go b/lending/pkg/models/operations/getcommerceordersreport.go index 6eb13cef9..b483e8796 100644 --- a/lending/pkg/models/operations/getcommerceordersreport.go +++ b/lending/pkg/models/operations/getcommerceordersreport.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcommercepayment.go b/lending/pkg/models/operations/getcommercepayment.go index a8aae9925..40895186d 100644 --- a/lending/pkg/models/operations/getcommercepayment.go +++ b/lending/pkg/models/operations/getcommercepayment.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcommercepaymentmethod.go b/lending/pkg/models/operations/getcommercepaymentmethod.go index 434fa5589..0686e2ff1 100644 --- a/lending/pkg/models/operations/getcommercepaymentmethod.go +++ b/lending/pkg/models/operations/getcommercepaymentmethod.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcommerceproduct.go b/lending/pkg/models/operations/getcommerceproduct.go index ab60d05fe..f7ee8ed73 100644 --- a/lending/pkg/models/operations/getcommerceproduct.go +++ b/lending/pkg/models/operations/getcommerceproduct.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcommerceproductcategory.go b/lending/pkg/models/operations/getcommerceproductcategory.go index fc37df794..0ca0aeeaa 100644 --- a/lending/pkg/models/operations/getcommerceproductcategory.go +++ b/lending/pkg/models/operations/getcommerceproductcategory.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcommerceprofile.go b/lending/pkg/models/operations/getcommerceprofile.go index 5349eb1d9..a80489432 100644 --- a/lending/pkg/models/operations/getcommerceprofile.go +++ b/lending/pkg/models/operations/getcommerceprofile.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcommercerefundsreport.go b/lending/pkg/models/operations/getcommercerefundsreport.go index ee16f56a4..a43c25d51 100644 --- a/lending/pkg/models/operations/getcommercerefundsreport.go +++ b/lending/pkg/models/operations/getcommercerefundsreport.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcommercerevenuemetrics.go b/lending/pkg/models/operations/getcommercerevenuemetrics.go index c35676ca3..a1e8ce7e1 100644 --- a/lending/pkg/models/operations/getcommercerevenuemetrics.go +++ b/lending/pkg/models/operations/getcommercerevenuemetrics.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcommercetransaction.go b/lending/pkg/models/operations/getcommercetransaction.go index 186822e6b..ce4c6bb51 100644 --- a/lending/pkg/models/operations/getcommercetransaction.go +++ b/lending/pkg/models/operations/getcommercetransaction.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcompany.go b/lending/pkg/models/operations/getcompany.go index d905bba77..785695b85 100644 --- a/lending/pkg/models/operations/getcompany.go +++ b/lending/pkg/models/operations/getcompany.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getconnection.go b/lending/pkg/models/operations/getconnection.go index 3bdca5ea3..c29246444 100644 --- a/lending/pkg/models/operations/getconnection.go +++ b/lending/pkg/models/operations/getconnection.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcreatebanktransactionsmodel.go b/lending/pkg/models/operations/getcreatebanktransactionsmodel.go index f3a1ff1c3..87e9bf653 100644 --- a/lending/pkg/models/operations/getcreatebanktransactionsmodel.go +++ b/lending/pkg/models/operations/getcreatebanktransactionsmodel.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcreatechartofaccountsmodel.go b/lending/pkg/models/operations/getcreatechartofaccountsmodel.go index 3fa08d7d0..fd9984381 100644 --- a/lending/pkg/models/operations/getcreatechartofaccountsmodel.go +++ b/lending/pkg/models/operations/getcreatechartofaccountsmodel.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcreatedirectcostsmodel.go b/lending/pkg/models/operations/getcreatedirectcostsmodel.go index 7722bb19c..c5ccf4e93 100644 --- a/lending/pkg/models/operations/getcreatedirectcostsmodel.go +++ b/lending/pkg/models/operations/getcreatedirectcostsmodel.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcreateoperation.go b/lending/pkg/models/operations/getcreateoperation.go index 53b9d8dba..6e787c05e 100644 --- a/lending/pkg/models/operations/getcreateoperation.go +++ b/lending/pkg/models/operations/getcreateoperation.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcreatepaymentmodel.go b/lending/pkg/models/operations/getcreatepaymentmodel.go index 88d14adbd..9dde7a9d2 100644 --- a/lending/pkg/models/operations/getcreatepaymentmodel.go +++ b/lending/pkg/models/operations/getcreatepaymentmodel.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcreatetransfersmodel.go b/lending/pkg/models/operations/getcreatetransfersmodel.go index 51ae6c3d0..fabd565df 100644 --- a/lending/pkg/models/operations/getcreatetransfersmodel.go +++ b/lending/pkg/models/operations/getcreatetransfersmodel.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcreateupdatebankaccountsmodel.go b/lending/pkg/models/operations/getcreateupdatebankaccountsmodel.go index dd8f0e9aa..5b8661757 100644 --- a/lending/pkg/models/operations/getcreateupdatebankaccountsmodel.go +++ b/lending/pkg/models/operations/getcreateupdatebankaccountsmodel.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getcreateupdatesuppliersmodel.go b/lending/pkg/models/operations/getcreateupdatesuppliersmodel.go index 03d4fc0ce..f5d4912a2 100644 --- a/lending/pkg/models/operations/getcreateupdatesuppliersmodel.go +++ b/lending/pkg/models/operations/getcreateupdatesuppliersmodel.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getdataintegritystatus.go b/lending/pkg/models/operations/getdataintegritystatus.go index e60c3cc37..c470441a2 100644 --- a/lending/pkg/models/operations/getdataintegritystatus.go +++ b/lending/pkg/models/operations/getdataintegritystatus.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getdataintegritysummaries.go b/lending/pkg/models/operations/getdataintegritysummaries.go index 7a3a70800..f9bee7682 100644 --- a/lending/pkg/models/operations/getdataintegritysummaries.go +++ b/lending/pkg/models/operations/getdataintegritysummaries.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getdatastatus.go b/lending/pkg/models/operations/getdatastatus.go index e106da072..6684fc06d 100644 --- a/lending/pkg/models/operations/getdatastatus.go +++ b/lending/pkg/models/operations/getdatastatus.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getexcelreportgenerationstatus.go b/lending/pkg/models/operations/getexcelreportgenerationstatus.go index 8d76b3668..97e97e448 100644 --- a/lending/pkg/models/operations/getexcelreportgenerationstatus.go +++ b/lending/pkg/models/operations/getexcelreportgenerationstatus.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getloansummary.go b/lending/pkg/models/operations/getloansummary.go index 742f5938a..938cc42da 100644 --- a/lending/pkg/models/operations/getloansummary.go +++ b/lending/pkg/models/operations/getloansummary.go @@ -5,7 +5,7 @@ package operations import ( "encoding/json" "fmt" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/getpulloperation.go b/lending/pkg/models/operations/getpulloperation.go index 406940064..97d12617c 100644 --- a/lending/pkg/models/operations/getpulloperation.go +++ b/lending/pkg/models/operations/getpulloperation.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/listaccountingaccounts.go b/lending/pkg/models/operations/listaccountingaccounts.go index 921344f75..ed1a3214d 100644 --- a/lending/pkg/models/operations/listaccountingaccounts.go +++ b/lending/pkg/models/operations/listaccountingaccounts.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listaccountingaccounttransactions.go b/lending/pkg/models/operations/listaccountingaccounttransactions.go index b73c037d9..4141bd40d 100644 --- a/lending/pkg/models/operations/listaccountingaccounttransactions.go +++ b/lending/pkg/models/operations/listaccountingaccounttransactions.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listaccountingbankaccounts.go b/lending/pkg/models/operations/listaccountingbankaccounts.go index 9ecf5e00f..2a4b24340 100644 --- a/lending/pkg/models/operations/listaccountingbankaccounts.go +++ b/lending/pkg/models/operations/listaccountingbankaccounts.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listaccountingbankaccounttransactions.go b/lending/pkg/models/operations/listaccountingbankaccounttransactions.go index 1f2126b82..ea8fa79a8 100644 --- a/lending/pkg/models/operations/listaccountingbankaccounttransactions.go +++ b/lending/pkg/models/operations/listaccountingbankaccounttransactions.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listaccountingbillattachments.go b/lending/pkg/models/operations/listaccountingbillattachments.go index 379b4ca45..63d93e069 100644 --- a/lending/pkg/models/operations/listaccountingbillattachments.go +++ b/lending/pkg/models/operations/listaccountingbillattachments.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/listaccountingbillcreditnotes.go b/lending/pkg/models/operations/listaccountingbillcreditnotes.go index be56cb8e9..b929b363d 100644 --- a/lending/pkg/models/operations/listaccountingbillcreditnotes.go +++ b/lending/pkg/models/operations/listaccountingbillcreditnotes.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listaccountingbillpayments.go b/lending/pkg/models/operations/listaccountingbillpayments.go index 4e0ae9597..a1a56a741 100644 --- a/lending/pkg/models/operations/listaccountingbillpayments.go +++ b/lending/pkg/models/operations/listaccountingbillpayments.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listaccountingbills.go b/lending/pkg/models/operations/listaccountingbills.go index 62baac65c..2d4770fd6 100644 --- a/lending/pkg/models/operations/listaccountingbills.go +++ b/lending/pkg/models/operations/listaccountingbills.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listaccountingcreditnotes.go b/lending/pkg/models/operations/listaccountingcreditnotes.go index 007ee4fcd..f18f74ba1 100644 --- a/lending/pkg/models/operations/listaccountingcreditnotes.go +++ b/lending/pkg/models/operations/listaccountingcreditnotes.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listaccountingcustomerattachments.go b/lending/pkg/models/operations/listaccountingcustomerattachments.go index 301be3dd0..edfe375b3 100644 --- a/lending/pkg/models/operations/listaccountingcustomerattachments.go +++ b/lending/pkg/models/operations/listaccountingcustomerattachments.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/listaccountingcustomers.go b/lending/pkg/models/operations/listaccountingcustomers.go index 48a4f76b8..32d4021c2 100644 --- a/lending/pkg/models/operations/listaccountingcustomers.go +++ b/lending/pkg/models/operations/listaccountingcustomers.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listaccountingdirectcostattachments.go b/lending/pkg/models/operations/listaccountingdirectcostattachments.go index 92d44171c..cd3e4f8bd 100644 --- a/lending/pkg/models/operations/listaccountingdirectcostattachments.go +++ b/lending/pkg/models/operations/listaccountingdirectcostattachments.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/listaccountingdirectcosts.go b/lending/pkg/models/operations/listaccountingdirectcosts.go index d96ef7fb1..ecc307686 100644 --- a/lending/pkg/models/operations/listaccountingdirectcosts.go +++ b/lending/pkg/models/operations/listaccountingdirectcosts.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listaccountingdirectincomeattachments.go b/lending/pkg/models/operations/listaccountingdirectincomeattachments.go index 857a72f0f..e98966089 100644 --- a/lending/pkg/models/operations/listaccountingdirectincomeattachments.go +++ b/lending/pkg/models/operations/listaccountingdirectincomeattachments.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/listaccountingdirectincomes.go b/lending/pkg/models/operations/listaccountingdirectincomes.go index 7dcbf2157..2d3f321b5 100644 --- a/lending/pkg/models/operations/listaccountingdirectincomes.go +++ b/lending/pkg/models/operations/listaccountingdirectincomes.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listaccountinginvoiceattachments.go b/lending/pkg/models/operations/listaccountinginvoiceattachments.go index 86f3b17aa..8a728dc72 100644 --- a/lending/pkg/models/operations/listaccountinginvoiceattachments.go +++ b/lending/pkg/models/operations/listaccountinginvoiceattachments.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/listaccountinginvoices.go b/lending/pkg/models/operations/listaccountinginvoices.go index 80769243d..2404d9ac2 100644 --- a/lending/pkg/models/operations/listaccountinginvoices.go +++ b/lending/pkg/models/operations/listaccountinginvoices.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listaccountingjournalentries.go b/lending/pkg/models/operations/listaccountingjournalentries.go index b27739004..946467612 100644 --- a/lending/pkg/models/operations/listaccountingjournalentries.go +++ b/lending/pkg/models/operations/listaccountingjournalentries.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listaccountingjournals.go b/lending/pkg/models/operations/listaccountingjournals.go index 5bcfe8ec1..856bad12b 100644 --- a/lending/pkg/models/operations/listaccountingjournals.go +++ b/lending/pkg/models/operations/listaccountingjournals.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listaccountingpayments.go b/lending/pkg/models/operations/listaccountingpayments.go index a6c43b2ce..8d2064415 100644 --- a/lending/pkg/models/operations/listaccountingpayments.go +++ b/lending/pkg/models/operations/listaccountingpayments.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listaccountingsupplierattachments.go b/lending/pkg/models/operations/listaccountingsupplierattachments.go index 1ad2bcf6a..933f0d919 100644 --- a/lending/pkg/models/operations/listaccountingsupplierattachments.go +++ b/lending/pkg/models/operations/listaccountingsupplierattachments.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/listaccountingsuppliers.go b/lending/pkg/models/operations/listaccountingsuppliers.go index 39c322a02..f3a1b6c8d 100644 --- a/lending/pkg/models/operations/listaccountingsuppliers.go +++ b/lending/pkg/models/operations/listaccountingsuppliers.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listaccountingtransfers.go b/lending/pkg/models/operations/listaccountingtransfers.go index 1a597d058..a15bfc3d9 100644 --- a/lending/pkg/models/operations/listaccountingtransfers.go +++ b/lending/pkg/models/operations/listaccountingtransfers.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listbankingaccountbalances.go b/lending/pkg/models/operations/listbankingaccountbalances.go index fc252f741..650345f96 100644 --- a/lending/pkg/models/operations/listbankingaccountbalances.go +++ b/lending/pkg/models/operations/listbankingaccountbalances.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listbankingaccounts.go b/lending/pkg/models/operations/listbankingaccounts.go index 80fb2b0a5..e9bbeb697 100644 --- a/lending/pkg/models/operations/listbankingaccounts.go +++ b/lending/pkg/models/operations/listbankingaccounts.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listbankingtransactioncategories.go b/lending/pkg/models/operations/listbankingtransactioncategories.go index 9d3572f51..abf7caa76 100644 --- a/lending/pkg/models/operations/listbankingtransactioncategories.go +++ b/lending/pkg/models/operations/listbankingtransactioncategories.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listbankingtransactions.go b/lending/pkg/models/operations/listbankingtransactions.go index b00fd596d..5905bf7b0 100644 --- a/lending/pkg/models/operations/listbankingtransactions.go +++ b/lending/pkg/models/operations/listbankingtransactions.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listcommercecustomers.go b/lending/pkg/models/operations/listcommercecustomers.go index 2fe627a4f..29140de15 100644 --- a/lending/pkg/models/operations/listcommercecustomers.go +++ b/lending/pkg/models/operations/listcommercecustomers.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listcommercedisputes.go b/lending/pkg/models/operations/listcommercedisputes.go index 63a4f5c14..e31233bce 100644 --- a/lending/pkg/models/operations/listcommercedisputes.go +++ b/lending/pkg/models/operations/listcommercedisputes.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listcommercelocations.go b/lending/pkg/models/operations/listcommercelocations.go index 215e54b32..254a18db8 100644 --- a/lending/pkg/models/operations/listcommercelocations.go +++ b/lending/pkg/models/operations/listcommercelocations.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/listcommerceorders.go b/lending/pkg/models/operations/listcommerceorders.go index 37ccf51a9..67bf30bc6 100644 --- a/lending/pkg/models/operations/listcommerceorders.go +++ b/lending/pkg/models/operations/listcommerceorders.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listcommercepaymentmethods.go b/lending/pkg/models/operations/listcommercepaymentmethods.go index 47b93cf84..1ff4caeca 100644 --- a/lending/pkg/models/operations/listcommercepaymentmethods.go +++ b/lending/pkg/models/operations/listcommercepaymentmethods.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listcommercepayments.go b/lending/pkg/models/operations/listcommercepayments.go index 1aab5f86c..73e1a0a29 100644 --- a/lending/pkg/models/operations/listcommercepayments.go +++ b/lending/pkg/models/operations/listcommercepayments.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listcommerceproductcategories.go b/lending/pkg/models/operations/listcommerceproductcategories.go index da6da58f3..59c143f1e 100644 --- a/lending/pkg/models/operations/listcommerceproductcategories.go +++ b/lending/pkg/models/operations/listcommerceproductcategories.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listcommerceproducts.go b/lending/pkg/models/operations/listcommerceproducts.go index edda5a5b0..ff93f0e6c 100644 --- a/lending/pkg/models/operations/listcommerceproducts.go +++ b/lending/pkg/models/operations/listcommerceproducts.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listcommercetransactions.go b/lending/pkg/models/operations/listcommercetransactions.go index fc07ee438..f69cacdbc 100644 --- a/lending/pkg/models/operations/listcommercetransactions.go +++ b/lending/pkg/models/operations/listcommercetransactions.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listcompanies.go b/lending/pkg/models/operations/listcompanies.go index 56f21177f..414b27d81 100644 --- a/lending/pkg/models/operations/listcompanies.go +++ b/lending/pkg/models/operations/listcompanies.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listconnections.go b/lending/pkg/models/operations/listconnections.go index c61bd673a..f34f3fef7 100644 --- a/lending/pkg/models/operations/listconnections.go +++ b/lending/pkg/models/operations/listconnections.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listcreateoperations.go b/lending/pkg/models/operations/listcreateoperations.go index bf8ff5215..c4c77fba5 100644 --- a/lending/pkg/models/operations/listcreateoperations.go +++ b/lending/pkg/models/operations/listcreateoperations.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listdataintegritydetails.go b/lending/pkg/models/operations/listdataintegritydetails.go index 6a25bf683..d9a7eb0c1 100644 --- a/lending/pkg/models/operations/listdataintegritydetails.go +++ b/lending/pkg/models/operations/listdataintegritydetails.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listfiles.go b/lending/pkg/models/operations/listfiles.go index 8a69601f8..e3acee159 100644 --- a/lending/pkg/models/operations/listfiles.go +++ b/lending/pkg/models/operations/listfiles.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/listloantransactions.go b/lending/pkg/models/operations/listloantransactions.go index f43f24dea..6e198e999 100644 --- a/lending/pkg/models/operations/listloantransactions.go +++ b/lending/pkg/models/operations/listloantransactions.go @@ -5,7 +5,7 @@ package operations import ( "encoding/json" "fmt" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/listpulloperations.go b/lending/pkg/models/operations/listpulloperations.go index 23cfe1f3a..a653ddb82 100644 --- a/lending/pkg/models/operations/listpulloperations.go +++ b/lending/pkg/models/operations/listpulloperations.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listreconciledinvoices.go b/lending/pkg/models/operations/listreconciledinvoices.go index b797f44fc..de2833a08 100644 --- a/lending/pkg/models/operations/listreconciledinvoices.go +++ b/lending/pkg/models/operations/listreconciledinvoices.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/listreports.go b/lending/pkg/models/operations/listreports.go index 9050a4b2a..a4ad7f126 100644 --- a/lending/pkg/models/operations/listreports.go +++ b/lending/pkg/models/operations/listreports.go @@ -3,8 +3,8 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/options.go b/lending/pkg/models/operations/options.go index 8e1adc1ba..0011beefd 100644 --- a/lending/pkg/models/operations/options.go +++ b/lending/pkg/models/operations/options.go @@ -4,8 +4,8 @@ package operations import ( "errors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "time" ) diff --git a/lending/pkg/models/operations/refreshdatatype.go b/lending/pkg/models/operations/refreshdatatype.go index 332edf90c..58d194630 100644 --- a/lending/pkg/models/operations/refreshdatatype.go +++ b/lending/pkg/models/operations/refreshdatatype.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/setbankstatementuploadconfiguration.go b/lending/pkg/models/operations/setbankstatementuploadconfiguration.go index 31a2218c8..fce00a281 100644 --- a/lending/pkg/models/operations/setbankstatementuploadconfiguration.go +++ b/lending/pkg/models/operations/setbankstatementuploadconfiguration.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/startbankstatementuploadsession.go b/lending/pkg/models/operations/startbankstatementuploadsession.go index bcc2a133a..3ef1b4f4d 100644 --- a/lending/pkg/models/operations/startbankstatementuploadsession.go +++ b/lending/pkg/models/operations/startbankstatementuploadsession.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/unlinkconnection.go b/lending/pkg/models/operations/unlinkconnection.go index b49ec91e4..c8df86a38 100644 --- a/lending/pkg/models/operations/unlinkconnection.go +++ b/lending/pkg/models/operations/unlinkconnection.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/updatecompany.go b/lending/pkg/models/operations/updatecompany.go index e747752bb..7edcadf70 100644 --- a/lending/pkg/models/operations/updatecompany.go +++ b/lending/pkg/models/operations/updatecompany.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/operations/uploadbankstatementdata.go b/lending/pkg/models/operations/uploadbankstatementdata.go index 5ce96a2a4..292dcc85e 100644 --- a/lending/pkg/models/operations/uploadbankstatementdata.go +++ b/lending/pkg/models/operations/uploadbankstatementdata.go @@ -5,8 +5,8 @@ package operations import ( "errors" "fmt" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pkg/models/operations/uploadfiles.go b/lending/pkg/models/operations/uploadfiles.go index c02850e2c..fb6f05594 100644 --- a/lending/pkg/models/operations/uploadfiles.go +++ b/lending/pkg/models/operations/uploadfiles.go @@ -3,7 +3,7 @@ package operations import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/models/sdkerrors/errormessage.go b/lending/pkg/models/sdkerrors/errormessage.go index 466e599c4..fb5d0fef1 100644 --- a/lending/pkg/models/sdkerrors/errormessage.go +++ b/lending/pkg/models/sdkerrors/errormessage.go @@ -4,7 +4,7 @@ package sdkerrors import ( "encoding/json" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" ) // ErrorMessage - Your `query` parameter was not correctly formed diff --git a/lending/pkg/models/shared/accountbalance.go b/lending/pkg/models/shared/accountbalance.go index 25e1d9c68..7be281d95 100644 --- a/lending/pkg/models/shared/accountbalance.go +++ b/lending/pkg/models/shared/accountbalance.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/accountbalanceamounts.go b/lending/pkg/models/shared/accountbalanceamounts.go index 2c1b16eeb..c5975e33e 100644 --- a/lending/pkg/models/shared/accountbalanceamounts.go +++ b/lending/pkg/models/shared/accountbalanceamounts.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/accountcategorylevel.go b/lending/pkg/models/shared/accountcategorylevel.go index 0693728d1..64186d795 100644 --- a/lending/pkg/models/shared/accountcategorylevel.go +++ b/lending/pkg/models/shared/accountcategorylevel.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/accountinfo.go b/lending/pkg/models/shared/accountinfo.go index 0c7a85e93..a88c1e8cb 100644 --- a/lending/pkg/models/shared/accountinfo.go +++ b/lending/pkg/models/shared/accountinfo.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/accountingaccount.go b/lending/pkg/models/shared/accountingaccount.go index a8c97e6a3..47013232a 100644 --- a/lending/pkg/models/shared/accountingaccount.go +++ b/lending/pkg/models/shared/accountingaccount.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/accountingaccounttransaction.go b/lending/pkg/models/shared/accountingaccounttransaction.go index 73608cd4d..aab880505 100644 --- a/lending/pkg/models/shared/accountingaccounttransaction.go +++ b/lending/pkg/models/shared/accountingaccounttransaction.go @@ -5,7 +5,7 @@ package shared import ( "encoding/json" "fmt" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/accountingbankaccount.go b/lending/pkg/models/shared/accountingbankaccount.go index cafdfc875..5d6904623 100644 --- a/lending/pkg/models/shared/accountingbankaccount.go +++ b/lending/pkg/models/shared/accountingbankaccount.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/accountingbanktransaction.go b/lending/pkg/models/shared/accountingbanktransaction.go index b2f2ba428..242ab1f89 100644 --- a/lending/pkg/models/shared/accountingbanktransaction.go +++ b/lending/pkg/models/shared/accountingbanktransaction.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/accountingbill.go b/lending/pkg/models/shared/accountingbill.go index 8d4050af5..e0b2f93c8 100644 --- a/lending/pkg/models/shared/accountingbill.go +++ b/lending/pkg/models/shared/accountingbill.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/accountingbillcreditnote.go b/lending/pkg/models/shared/accountingbillcreditnote.go index 393e0e7d7..95aa08c91 100644 --- a/lending/pkg/models/shared/accountingbillcreditnote.go +++ b/lending/pkg/models/shared/accountingbillcreditnote.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) @@ -45,7 +45,7 @@ type AccountingBillCreditNote struct { // Friendly reference for the bill credit note. BillCreditNoteNumber *string `json:"billCreditNoteNumber,omitempty"` // An array of records the credit note was created from. - CreatedFromRefs []RecordRef `json:"createdFromRefs,omitempty"` + CreatedFromRefs []AccountingRecordRef `json:"createdFromRefs,omitempty"` // The currency data type in Codat is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, e.g. _GBP_. // // ## Unknown currencies @@ -166,7 +166,7 @@ func (o *AccountingBillCreditNote) GetBillCreditNoteNumber() *string { return o.BillCreditNoteNumber } -func (o *AccountingBillCreditNote) GetCreatedFromRefs() []RecordRef { +func (o *AccountingBillCreditNote) GetCreatedFromRefs() []AccountingRecordRef { if o == nil { return nil } diff --git a/lending/pkg/models/shared/accountingbillpayment.go b/lending/pkg/models/shared/accountingbillpayment.go index 90cd9e2a8..80d63f61b 100644 --- a/lending/pkg/models/shared/accountingbillpayment.go +++ b/lending/pkg/models/shared/accountingbillpayment.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/accountingcreateaccountresponse.go b/lending/pkg/models/shared/accountingcreateaccountresponse.go index 7f2581cb0..3be1766e1 100644 --- a/lending/pkg/models/shared/accountingcreateaccountresponse.go +++ b/lending/pkg/models/shared/accountingcreateaccountresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/accountingcreatebankaccountresponse.go b/lending/pkg/models/shared/accountingcreatebankaccountresponse.go index 6044e6e8b..dad9a5f89 100644 --- a/lending/pkg/models/shared/accountingcreatebankaccountresponse.go +++ b/lending/pkg/models/shared/accountingcreatebankaccountresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/accountingcreatedirectcostresponse.go b/lending/pkg/models/shared/accountingcreatedirectcostresponse.go index 43e594b0c..c27a214f7 100644 --- a/lending/pkg/models/shared/accountingcreatedirectcostresponse.go +++ b/lending/pkg/models/shared/accountingcreatedirectcostresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/accountingcreatepaymentresponse.go b/lending/pkg/models/shared/accountingcreatepaymentresponse.go index 21ba414a8..82268c16b 100644 --- a/lending/pkg/models/shared/accountingcreatepaymentresponse.go +++ b/lending/pkg/models/shared/accountingcreatepaymentresponse.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/accountingcreatetransferresponse.go b/lending/pkg/models/shared/accountingcreatetransferresponse.go index 1c24596c9..be4d03ed8 100644 --- a/lending/pkg/models/shared/accountingcreatetransferresponse.go +++ b/lending/pkg/models/shared/accountingcreatetransferresponse.go @@ -66,7 +66,7 @@ type AccountingCreateTransferResponseAccountingTransfer struct { // > Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. Date *string `json:"date,omitempty"` // List of selected transactions to associate with the transfer. Use this field to include transactions which are posted to the _undeposited funds_ (or other holding) account within the transfer. - DepositedRecordRefs []RecordRef `json:"depositedRecordRefs,omitempty"` + DepositedRecordRefs []AccountingRecordRef `json:"depositedRecordRefs,omitempty"` // Description of the transfer. Description *string `json:"description,omitempty"` // Account details of the account sending or receiving the transfer. @@ -102,7 +102,7 @@ func (o *AccountingCreateTransferResponseAccountingTransfer) GetDate() *string { return o.Date } -func (o *AccountingCreateTransferResponseAccountingTransfer) GetDepositedRecordRefs() []RecordRef { +func (o *AccountingCreateTransferResponseAccountingTransfer) GetDepositedRecordRefs() []AccountingRecordRef { if o == nil { return nil } diff --git a/lending/pkg/models/shared/accountingcreditnote.go b/lending/pkg/models/shared/accountingcreditnote.go index 44a8e28ea..6739036d5 100644 --- a/lending/pkg/models/shared/accountingcreditnote.go +++ b/lending/pkg/models/shared/accountingcreditnote.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/accountingdirectcost.go b/lending/pkg/models/shared/accountingdirectcost.go index 8bfc05338..e5eb9af2b 100644 --- a/lending/pkg/models/shared/accountingdirectcost.go +++ b/lending/pkg/models/shared/accountingdirectcost.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/accountingdirectincome.go b/lending/pkg/models/shared/accountingdirectincome.go index 31a14a1f0..bed24f91a 100644 --- a/lending/pkg/models/shared/accountingdirectincome.go +++ b/lending/pkg/models/shared/accountingdirectincome.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/accountinginvoice.go b/lending/pkg/models/shared/accountinginvoice.go index c89abb8c0..7a43067de 100644 --- a/lending/pkg/models/shared/accountinginvoice.go +++ b/lending/pkg/models/shared/accountinginvoice.go @@ -5,7 +5,7 @@ package shared import ( "encoding/json" "fmt" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/accountingpayment.go b/lending/pkg/models/shared/accountingpayment.go index f20505bcb..d33e8a29a 100644 --- a/lending/pkg/models/shared/accountingpayment.go +++ b/lending/pkg/models/shared/accountingpayment.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/accountingpaymentallocation.go b/lending/pkg/models/shared/accountingpaymentallocation.go index e3f610288..a093df6b2 100644 --- a/lending/pkg/models/shared/accountingpaymentallocation.go +++ b/lending/pkg/models/shared/accountingpaymentallocation.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/recordref.go b/lending/pkg/models/shared/accountingrecordref.go similarity index 68% rename from lending/pkg/models/shared/recordref.go rename to lending/pkg/models/shared/accountingrecordref.go index 2f3ccea0c..56ed27d94 100644 --- a/lending/pkg/models/shared/recordref.go +++ b/lending/pkg/models/shared/accountingrecordref.go @@ -2,24 +2,24 @@ package shared -// RecordRef - Links the current record to the underlying record or data type that created it. +// AccountingRecordRef - Links the current record to the underlying record or data type that created it. // // For example, if a journal entry is generated based on an invoice, this property allows you to connect the journal entry to the underlying invoice in our data model. -type RecordRef struct { +type AccountingRecordRef struct { // Allowed name of the 'dataType'. DataType *string `json:"dataType,omitempty"` // 'id' of the underlying record or data type. ID *string `json:"id,omitempty"` } -func (o *RecordRef) GetDataType() *string { +func (o *AccountingRecordRef) GetDataType() *string { if o == nil { return nil } return o.DataType } -func (o *RecordRef) GetID() *string { +func (o *AccountingRecordRef) GetID() *string { if o == nil { return nil } diff --git a/lending/pkg/models/shared/accountingtransfer.go b/lending/pkg/models/shared/accountingtransfer.go index f1b09ce8b..3aa7f7a04 100644 --- a/lending/pkg/models/shared/accountingtransfer.go +++ b/lending/pkg/models/shared/accountingtransfer.go @@ -64,7 +64,7 @@ type AccountingTransfer struct { // > Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. Date *string `json:"date,omitempty"` // List of selected transactions to associate with the transfer. Use this field to include transactions which are posted to the _undeposited funds_ (or other holding) account within the transfer. - DepositedRecordRefs []RecordRef `json:"depositedRecordRefs,omitempty"` + DepositedRecordRefs []AccountingRecordRef `json:"depositedRecordRefs,omitempty"` // Description of the transfer. Description *string `json:"description,omitempty"` // Account details of the account sending or receiving the transfer. @@ -100,7 +100,7 @@ func (o *AccountingTransfer) GetDate() *string { return o.Date } -func (o *AccountingTransfer) GetDepositedRecordRefs() []RecordRef { +func (o *AccountingTransfer) GetDepositedRecordRefs() []AccountingRecordRef { if o == nil { return nil } diff --git a/lending/pkg/models/shared/accountprototype.go b/lending/pkg/models/shared/accountprototype.go index 8dfe0260a..2ba351fa8 100644 --- a/lending/pkg/models/shared/accountprototype.go +++ b/lending/pkg/models/shared/accountprototype.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/accounts.go b/lending/pkg/models/shared/accounts.go index c90c4f0ea..149f88f74 100644 --- a/lending/pkg/models/shared/accounts.go +++ b/lending/pkg/models/shared/accounts.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/accountsreceivabletracking.go b/lending/pkg/models/shared/accountsreceivabletracking.go index 2fe3ec19f..a10d5c5c7 100644 --- a/lending/pkg/models/shared/accountsreceivabletracking.go +++ b/lending/pkg/models/shared/accountsreceivabletracking.go @@ -2,30 +2,6 @@ package shared -// RecordReference - Links the current record to the underlying record or data type that created it. -// -// For example, if a journal entry is generated based on an invoice, this property allows you to connect the journal entry to the underlying invoice in our data model. -type RecordReference struct { - // Allowed name of the 'dataType'. - DataType *string `json:"dataType,omitempty"` - // 'id' of the underlying record or data type. - ID *string `json:"id,omitempty"` -} - -func (o *RecordReference) GetDataType() *string { - if o == nil { - return nil - } - return o.DataType -} - -func (o *RecordReference) GetID() *string { - if o == nil { - return nil - } - return o.ID -} - // AccountsReceivableTracking - Categories, and a project and customer, against which the item is tracked. type AccountsReceivableTracking struct { CategoryRefs []TrackingCategoryRef `json:"categoryRefs"` @@ -38,7 +14,7 @@ type AccountsReceivableTracking struct { // Links the current record to the underlying record or data type that created it. // // For example, if a journal entry is generated based on an invoice, this property allows you to connect the journal entry to the underlying invoice in our data model. - RecordRef *RecordReference `json:"recordRef,omitempty"` + RecordRef *AccountingRecordRef `json:"recordRef,omitempty"` } func (o *AccountsReceivableTracking) GetCategoryRefs() []TrackingCategoryRef { @@ -76,7 +52,7 @@ func (o *AccountsReceivableTracking) GetProjectRef() *ProjectRef { return o.ProjectRef } -func (o *AccountsReceivableTracking) GetRecordRef() *RecordReference { +func (o *AccountsReceivableTracking) GetRecordRef() *AccountingRecordRef { if o == nil { return nil } diff --git a/lending/pkg/models/shared/accounttransactionline.go b/lending/pkg/models/shared/accounttransactionline.go index ee135d9be..6283c241e 100644 --- a/lending/pkg/models/shared/accounttransactionline.go +++ b/lending/pkg/models/shared/accounttransactionline.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/agedoutstandingamount.go b/lending/pkg/models/shared/agedoutstandingamount.go index 3e827d3cc..10c68eebc 100644 --- a/lending/pkg/models/shared/agedoutstandingamount.go +++ b/lending/pkg/models/shared/agedoutstandingamount.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/agedoutstandingamountdetail.go b/lending/pkg/models/shared/agedoutstandingamountdetail.go index 714fd83a0..5653d9508 100644 --- a/lending/pkg/models/shared/agedoutstandingamountdetail.go +++ b/lending/pkg/models/shared/agedoutstandingamountdetail.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/balancesheet.go b/lending/pkg/models/shared/balancesheet.go index ed440bd0e..9c187973a 100644 --- a/lending/pkg/models/shared/balancesheet.go +++ b/lending/pkg/models/shared/balancesheet.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/bankingtransaction.go b/lending/pkg/models/shared/bankingtransaction.go index db578ccae..5ab552ec5 100644 --- a/lending/pkg/models/shared/bankingtransaction.go +++ b/lending/pkg/models/shared/bankingtransaction.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/bankingtransactionref.go b/lending/pkg/models/shared/bankingtransactionref.go index 877a93e58..0f5f67a88 100644 --- a/lending/pkg/models/shared/bankingtransactionref.go +++ b/lending/pkg/models/shared/bankingtransactionref.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/billcreditnotelineitem.go b/lending/pkg/models/shared/billcreditnotelineitem.go index 49f9cf3d9..9c239ca8b 100644 --- a/lending/pkg/models/shared/billcreditnotelineitem.go +++ b/lending/pkg/models/shared/billcreditnotelineitem.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/billlineitem.go b/lending/pkg/models/shared/billlineitem.go index 5acd289b6..504d2b888 100644 --- a/lending/pkg/models/shared/billlineitem.go +++ b/lending/pkg/models/shared/billlineitem.go @@ -5,7 +5,7 @@ package shared import ( "encoding/json" "fmt" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/billpaymentline.go b/lending/pkg/models/shared/billpaymentline.go index 5cffa71ee..df7d9687c 100644 --- a/lending/pkg/models/shared/billpaymentline.go +++ b/lending/pkg/models/shared/billpaymentline.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/billpaymentlinelink.go b/lending/pkg/models/shared/billpaymentlinelink.go index bc3e50a6d..88f36f242 100644 --- a/lending/pkg/models/shared/billpaymentlinelink.go +++ b/lending/pkg/models/shared/billpaymentlinelink.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/commerceorder.go b/lending/pkg/models/shared/commerceorder.go index d502481f0..19b1a33ff 100644 --- a/lending/pkg/models/shared/commerceorder.go +++ b/lending/pkg/models/shared/commerceorder.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/commercepayment.go b/lending/pkg/models/shared/commercepayment.go index 0db2cb479..e451cbad5 100644 --- a/lending/pkg/models/shared/commercepayment.go +++ b/lending/pkg/models/shared/commercepayment.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/commercetransaction.go b/lending/pkg/models/shared/commercetransaction.go index b46c5f8f6..978018126 100644 --- a/lending/pkg/models/shared/commercetransaction.go +++ b/lending/pkg/models/shared/commercetransaction.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/company.go b/lending/pkg/models/shared/company.go index bc5cb3735..59759c32e 100644 --- a/lending/pkg/models/shared/company.go +++ b/lending/pkg/models/shared/company.go @@ -60,7 +60,10 @@ type Company struct { // An array of products that are currently enabled for the company. Products []string `json:"products,omitempty"` // 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. - Redirect string `json:"redirect"` + Redirect string `json:"redirect"` + ReferenceParentCompany *CompanyReference `json:"referenceParentCompany,omitempty"` + // A list of subsidiary companies owned or controlled by this entity. Empty if the company has no children. + ReferenceSubsidiaryCompanies []CompanyReference `json:"referenceSubsidiaryCompanies,omitempty"` // A collection of user-defined key-value pairs that store custom metadata against the company. Tags map[string]string `json:"tags,omitempty"` } @@ -128,6 +131,20 @@ func (o *Company) GetRedirect() string { return o.Redirect } +func (o *Company) GetReferenceParentCompany() *CompanyReference { + if o == nil { + return nil + } + return o.ReferenceParentCompany +} + +func (o *Company) GetReferenceSubsidiaryCompanies() []CompanyReference { + if o == nil { + return nil + } + return o.ReferenceSubsidiaryCompanies +} + func (o *Company) GetTags() map[string]string { if o == nil { return nil diff --git a/lending/pkg/models/shared/createbankaccounttransaction.go b/lending/pkg/models/shared/createbankaccounttransaction.go index 2a356fa37..7f829bea2 100644 --- a/lending/pkg/models/shared/createbankaccounttransaction.go +++ b/lending/pkg/models/shared/createbankaccounttransaction.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/creditnotelineitem.go b/lending/pkg/models/shared/creditnotelineitem.go index 76d6b7f6a..ef980917d 100644 --- a/lending/pkg/models/shared/creditnotelineitem.go +++ b/lending/pkg/models/shared/creditnotelineitem.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/dataintegrityamounts.go b/lending/pkg/models/shared/dataintegrityamounts.go index 0041a1cee..7ad9dc728 100644 --- a/lending/pkg/models/shared/dataintegrityamounts.go +++ b/lending/pkg/models/shared/dataintegrityamounts.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/dataintegritybyamount.go b/lending/pkg/models/shared/dataintegritybyamount.go index a6466bcaa..4bf39c0a7 100644 --- a/lending/pkg/models/shared/dataintegritybyamount.go +++ b/lending/pkg/models/shared/dataintegritybyamount.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/dataintegritybycount.go b/lending/pkg/models/shared/dataintegritybycount.go index 19b4081ac..53143508a 100644 --- a/lending/pkg/models/shared/dataintegritybycount.go +++ b/lending/pkg/models/shared/dataintegritybycount.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/dataintegritydetail.go b/lending/pkg/models/shared/dataintegritydetail.go index c44d494b1..2aefbdff0 100644 --- a/lending/pkg/models/shared/dataintegritydetail.go +++ b/lending/pkg/models/shared/dataintegritydetail.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/directcostlineitem.go b/lending/pkg/models/shared/directcostlineitem.go index 68e5e4c81..e976dc561 100644 --- a/lending/pkg/models/shared/directcostlineitem.go +++ b/lending/pkg/models/shared/directcostlineitem.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/directcostprototype.go b/lending/pkg/models/shared/directcostprototype.go index b23239d90..6140e5065 100644 --- a/lending/pkg/models/shared/directcostprototype.go +++ b/lending/pkg/models/shared/directcostprototype.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/directincomelineitem.go b/lending/pkg/models/shared/directincomelineitem.go index 31f0d82ef..df02f5e0a 100644 --- a/lending/pkg/models/shared/directincomelineitem.go +++ b/lending/pkg/models/shared/directincomelineitem.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/enhancedcashflowitem.go b/lending/pkg/models/shared/enhancedcashflowitem.go index 06fb36b80..1f986eda5 100644 --- a/lending/pkg/models/shared/enhancedcashflowitem.go +++ b/lending/pkg/models/shared/enhancedcashflowitem.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/enhancedfinancialreport.go b/lending/pkg/models/shared/enhancedfinancialreport.go index f40879643..aaae50bb2 100644 --- a/lending/pkg/models/shared/enhancedfinancialreport.go +++ b/lending/pkg/models/shared/enhancedfinancialreport.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/enhancedinvoicereportitem.go b/lending/pkg/models/shared/enhancedinvoicereportitem.go index 336931767..7da8900bb 100644 --- a/lending/pkg/models/shared/enhancedinvoicereportitem.go +++ b/lending/pkg/models/shared/enhancedinvoicereportitem.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/invoicelineitem.go b/lending/pkg/models/shared/invoicelineitem.go index 29ec788f1..09889ed1f 100644 --- a/lending/pkg/models/shared/invoicelineitem.go +++ b/lending/pkg/models/shared/invoicelineitem.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/items.go b/lending/pkg/models/shared/items.go index 3913edfbd..02dfffb5d 100644 --- a/lending/pkg/models/shared/items.go +++ b/lending/pkg/models/shared/items.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/journalline.go b/lending/pkg/models/shared/journalline.go index 4b231452f..ee3fc9e12 100644 --- a/lending/pkg/models/shared/journalline.go +++ b/lending/pkg/models/shared/journalline.go @@ -5,7 +5,7 @@ package shared import ( "encoding/json" "fmt" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/loansummaryreportitem.go b/lending/pkg/models/shared/loansummaryreportitem.go index aca9aab80..68cdf3add 100644 --- a/lending/pkg/models/shared/loansummaryreportitem.go +++ b/lending/pkg/models/shared/loansummaryreportitem.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/orderdiscountallocation.go b/lending/pkg/models/shared/orderdiscountallocation.go index 160549f51..96d032e41 100644 --- a/lending/pkg/models/shared/orderdiscountallocation.go +++ b/lending/pkg/models/shared/orderdiscountallocation.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/orderlineitem.go b/lending/pkg/models/shared/orderlineitem.go index a50895375..01e851572 100644 --- a/lending/pkg/models/shared/orderlineitem.go +++ b/lending/pkg/models/shared/orderlineitem.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/payment.go b/lending/pkg/models/shared/payment.go index 7e0f63ebc..f4bf864e5 100644 --- a/lending/pkg/models/shared/payment.go +++ b/lending/pkg/models/shared/payment.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/paymentallocationpayment.go b/lending/pkg/models/shared/paymentallocationpayment.go index 7e06eae64..0e369680d 100644 --- a/lending/pkg/models/shared/paymentallocationpayment.go +++ b/lending/pkg/models/shared/paymentallocationpayment.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/paymentline.go b/lending/pkg/models/shared/paymentline.go index a0205ff20..4a7493379 100644 --- a/lending/pkg/models/shared/paymentline.go +++ b/lending/pkg/models/shared/paymentline.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/paymentlinelink.go b/lending/pkg/models/shared/paymentlinelink.go index 92f53397c..4e6753609 100644 --- a/lending/pkg/models/shared/paymentlinelink.go +++ b/lending/pkg/models/shared/paymentlinelink.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/paymentref.go b/lending/pkg/models/shared/paymentref.go index 8c78c2422..94f3272f8 100644 --- a/lending/pkg/models/shared/paymentref.go +++ b/lending/pkg/models/shared/paymentref.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/productinventory.go b/lending/pkg/models/shared/productinventory.go index b5791eef5..7e7755f78 100644 --- a/lending/pkg/models/shared/productinventory.go +++ b/lending/pkg/models/shared/productinventory.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/productinventorylocation.go b/lending/pkg/models/shared/productinventorylocation.go index 9a0805fab..f782e1045 100644 --- a/lending/pkg/models/shared/productinventorylocation.go +++ b/lending/pkg/models/shared/productinventorylocation.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/productprice.go b/lending/pkg/models/shared/productprice.go index c8dd27f1a..8776a5fbb 100644 --- a/lending/pkg/models/shared/productprice.go +++ b/lending/pkg/models/shared/productprice.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/productvariant.go b/lending/pkg/models/shared/productvariant.go index 54b7dec20..872d1ffe0 100644 --- a/lending/pkg/models/shared/productvariant.go +++ b/lending/pkg/models/shared/productvariant.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/profitandlossreport.go b/lending/pkg/models/shared/profitandlossreport.go index 0075b538f..93de7c33a 100644 --- a/lending/pkg/models/shared/profitandlossreport.go +++ b/lending/pkg/models/shared/profitandlossreport.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/reportcomponentmeasure.go b/lending/pkg/models/shared/reportcomponentmeasure.go index 650a7d31b..e2fb32c02 100644 --- a/lending/pkg/models/shared/reportcomponentmeasure.go +++ b/lending/pkg/models/shared/reportcomponentmeasure.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/reportitems.go b/lending/pkg/models/shared/reportitems.go index 8e83cb9ec..86d1af98d 100644 --- a/lending/pkg/models/shared/reportitems.go +++ b/lending/pkg/models/shared/reportitems.go @@ -5,7 +5,7 @@ package shared import ( "encoding/json" "fmt" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/reportline.go b/lending/pkg/models/shared/reportline.go index ba0efa315..85c2c6c81 100644 --- a/lending/pkg/models/shared/reportline.go +++ b/lending/pkg/models/shared/reportline.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/routinginfo.go b/lending/pkg/models/shared/routinginfo.go index 267e8a212..325fc792f 100644 --- a/lending/pkg/models/shared/routinginfo.go +++ b/lending/pkg/models/shared/routinginfo.go @@ -5,7 +5,7 @@ package shared import ( "encoding/json" "fmt" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" ) // Type - The type of routing number. diff --git a/lending/pkg/models/shared/servicecharge.go b/lending/pkg/models/shared/servicecharge.go index b7c22376e..495d6cd3a 100644 --- a/lending/pkg/models/shared/servicecharge.go +++ b/lending/pkg/models/shared/servicecharge.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/sourceaccount.go b/lending/pkg/models/shared/sourceaccount.go index 5e79e0ae5..1baba1588 100644 --- a/lending/pkg/models/shared/sourceaccount.go +++ b/lending/pkg/models/shared/sourceaccount.go @@ -5,7 +5,7 @@ package shared import ( "encoding/json" "fmt" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/sourceaccountv2.go b/lending/pkg/models/shared/sourceaccountv2.go index dee764a77..4fd30c43f 100644 --- a/lending/pkg/models/shared/sourceaccountv2.go +++ b/lending/pkg/models/shared/sourceaccountv2.go @@ -5,7 +5,7 @@ package shared import ( "encoding/json" "fmt" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/taxcomponentallocation.go b/lending/pkg/models/shared/taxcomponentallocation.go index 2a908ce6d..f0c9eee48 100644 --- a/lending/pkg/models/shared/taxcomponentallocation.go +++ b/lending/pkg/models/shared/taxcomponentallocation.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/taxrateref.go b/lending/pkg/models/shared/taxrateref.go index 606b151ed..597890dd8 100644 --- a/lending/pkg/models/shared/taxrateref.go +++ b/lending/pkg/models/shared/taxrateref.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/tracking.go b/lending/pkg/models/shared/tracking.go index 36b3682b7..2c3dbf1ab 100644 --- a/lending/pkg/models/shared/tracking.go +++ b/lending/pkg/models/shared/tracking.go @@ -6,11 +6,11 @@ type Tracking struct { // Links the current record to the underlying record or data type that created it. // // For example, if a journal entry is generated based on an invoice, this property allows you to connect the journal entry to the underlying invoice in our data model. - InvoiceTo *RecordRef `json:"invoiceTo,omitempty"` - RecordRefs []TrackingRecordRef `json:"recordRefs"` + InvoiceTo *AccountingRecordRef `json:"invoiceTo,omitempty"` + RecordRefs []TrackingRecordRef `json:"recordRefs"` } -func (o *Tracking) GetInvoiceTo() *RecordRef { +func (o *Tracking) GetInvoiceTo() *AccountingRecordRef { if o == nil { return nil } diff --git a/lending/pkg/models/shared/transactioncategory.go b/lending/pkg/models/shared/transactioncategory.go index ca810d5cf..6fefa1345 100644 --- a/lending/pkg/models/shared/transactioncategory.go +++ b/lending/pkg/models/shared/transactioncategory.go @@ -3,7 +3,7 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/models/shared/transferaccount.go b/lending/pkg/models/shared/transferaccount.go index 5cdb05d29..90a8634ee 100644 --- a/lending/pkg/models/shared/transferaccount.go +++ b/lending/pkg/models/shared/transferaccount.go @@ -3,14 +3,16 @@ package shared import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "github.com/ericlagergren/decimal" ) // TransferAccount - Account details of the account sending or receiving the transfer. type TransferAccount struct { - // Data types that reference an account, for example bill and invoice line items, use an accountRef that includes the ID and name of the linked account. - AccountRef *AccountRef `json:"accountRef,omitempty"` + // Links the current record to the underlying record or data type that created it. + // + // For example, if a journal entry is generated based on an invoice, this property allows you to connect the journal entry to the underlying invoice in our data model. + AccountRef *AccountingRecordRef `json:"accountRef,omitempty"` // The amount transferred between accounts. Amount *decimal.Big `decimal:"number" json:"amount,omitempty"` // The currency data type in Codat is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, e.g. _GBP_. @@ -34,7 +36,7 @@ func (t *TransferAccount) UnmarshalJSON(data []byte) error { return nil } -func (o *TransferAccount) GetAccountRef() *AccountRef { +func (o *TransferAccount) GetAccountRef() *AccountingRecordRef { if o == nil { return nil } diff --git a/lending/pkg/models/webhooks/reportcategorizedbankstatementgeneratesuccessful.go b/lending/pkg/models/webhooks/reportcategorizedbankstatementgeneratesuccessful.go index 38cd9c70a..6835e266e 100644 --- a/lending/pkg/models/webhooks/reportcategorizedbankstatementgeneratesuccessful.go +++ b/lending/pkg/models/webhooks/reportcategorizedbankstatementgeneratesuccessful.go @@ -3,7 +3,7 @@ package webhooks import ( - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" "net/http" ) diff --git a/lending/pkg/utils/form.go b/lending/pkg/utils/form.go index fcf2d6b08..15085f26e 100644 --- a/lending/pkg/utils/form.go +++ b/lending/pkg/utils/form.go @@ -12,7 +12,7 @@ import ( "github.com/ericlagergren/decimal" - "github.com/codatio/client-sdk-go/lending/v6/pkg/types" + "github.com/codatio/client-sdk-go/lending/v7/pkg/types" ) func populateForm(paramName string, explode bool, objType reflect.Type, objValue reflect.Value, delimiter string, getFieldName func(reflect.StructField) string) url.Values { diff --git a/lending/pkg/utils/json.go b/lending/pkg/utils/json.go index c051f1210..c75cfdbb6 100644 --- a/lending/pkg/utils/json.go +++ b/lending/pkg/utils/json.go @@ -13,7 +13,7 @@ import ( "time" "unsafe" - "github.com/codatio/client-sdk-go/lending/v6/pkg/types" + "github.com/codatio/client-sdk-go/lending/v7/pkg/types" "github.com/ericlagergren/decimal" ) diff --git a/lending/pkg/utils/pathparams.go b/lending/pkg/utils/pathparams.go index 3d17d333b..74dd0199f 100644 --- a/lending/pkg/utils/pathparams.go +++ b/lending/pkg/utils/pathparams.go @@ -13,7 +13,7 @@ import ( "github.com/ericlagergren/decimal" - "github.com/codatio/client-sdk-go/lending/v6/pkg/types" + "github.com/codatio/client-sdk-go/lending/v7/pkg/types" ) func GenerateURL(_ context.Context, serverURL, path string, pathParams interface{}, globals interface{}) (string, error) { diff --git a/lending/pkg/utils/queryparams.go b/lending/pkg/utils/queryparams.go index 26a99de95..c5c38b410 100644 --- a/lending/pkg/utils/queryparams.go +++ b/lending/pkg/utils/queryparams.go @@ -14,7 +14,7 @@ import ( "github.com/ericlagergren/decimal" - "github.com/codatio/client-sdk-go/lending/v6/pkg/types" + "github.com/codatio/client-sdk-go/lending/v7/pkg/types" ) func PopulateQueryParams(_ context.Context, req *http.Request, queryParams interface{}, globals interface{}) error { diff --git a/lending/pkg/utils/retries.go b/lending/pkg/utils/retries.go index 9c06330bc..462a54f9a 100644 --- a/lending/pkg/utils/retries.go +++ b/lending/pkg/utils/retries.go @@ -7,7 +7,7 @@ import ( "errors" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" "net/http" "net/url" "strconv" diff --git a/lending/productcategories.go b/lending/productcategories.go index eb4f2a25c..8d5b0bbc2 100644 --- a/lending/productcategories.go +++ b/lending/productcategories.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/products.go b/lending/products.go index a1ddfc284..c4a7065a9 100644 --- a/lending/products.go +++ b/lending/products.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/profitandloss.go b/lending/profitandloss.go index bf83175cd..e64addb77 100644 --- a/lending/profitandloss.go +++ b/lending/profitandloss.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/pulloperations.go b/lending/pulloperations.go index 3a209283e..fe0ea536e 100644 --- a/lending/pulloperations.go +++ b/lending/pulloperations.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/refresh.go b/lending/refresh.go index 09c90f95e..72886660d 100644 --- a/lending/refresh.go +++ b/lending/refresh.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/reports.go b/lending/reports.go index f4f298326..d8e0f4a19 100644 --- a/lending/reports.go +++ b/lending/reports.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/sourceaccounts.go b/lending/sourceaccounts.go index 8360a8138..f0776e089 100644 --- a/lending/sourceaccounts.go +++ b/lending/sourceaccounts.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/suppliers.go b/lending/suppliers.go index 3f25b0bad..b4f4f7d88 100644 --- a/lending/suppliers.go +++ b/lending/suppliers.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/transactioncategories.go b/lending/transactioncategories.go index 12128dcf9..a308c18db 100644 --- a/lending/transactioncategories.go +++ b/lending/transactioncategories.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" ) diff --git a/lending/transfers.go b/lending/transfers.go index c7de21f62..74b9ebfa4 100644 --- a/lending/transfers.go +++ b/lending/transfers.go @@ -7,12 +7,12 @@ import ( "context" "fmt" "github.com/cenkalti/backoff/v4" - "github.com/codatio/client-sdk-go/lending/v6/internal/hooks" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/operations" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/sdkerrors" - "github.com/codatio/client-sdk-go/lending/v6/pkg/models/shared" - "github.com/codatio/client-sdk-go/lending/v6/pkg/retry" - "github.com/codatio/client-sdk-go/lending/v6/pkg/utils" + "github.com/codatio/client-sdk-go/lending/v7/internal/hooks" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/operations" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/sdkerrors" + "github.com/codatio/client-sdk-go/lending/v7/pkg/models/shared" + "github.com/codatio/client-sdk-go/lending/v7/pkg/retry" + "github.com/codatio/client-sdk-go/lending/v7/pkg/utils" "net/http" )