Skip to content

Commit ab8d0fc

Browse files
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.468.0 (#647)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
1 parent dc9aeb7 commit ab8d0fc

File tree

210 files changed

+1050
-526
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

210 files changed

+1050
-526
lines changed

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
speakeasyVersion: 1.462.2
1+
speakeasyVersion: 1.468.0
22
sources:
33
bank-feeds-source:
44
sourceNamespace: bank-feeds-source
@@ -10,11 +10,11 @@ sources:
1010
- 3.0.0
1111
lending-source:
1212
sourceNamespace: lending-source
13-
sourceRevisionDigest: sha256:39fdb43547a197ae0fd3e96ba42784010d8390e3a80f68e1880194616ac3b2cf
14-
sourceBlobDigest: sha256:c099262909612a8421934ac332897e738611c24f1d6f3878de41ec219fd78b48
13+
sourceRevisionDigest: sha256:7d05cd24972535fa53d01b1d986bbabb603d66ecd7eed0ab05ab9b0770e247db
14+
sourceBlobDigest: sha256:3a814cec7e8eefb0c14c6ec5490201b6fb3c0355e1f030be7e554f833dcf11ff
1515
tags:
1616
- latest
17-
- speakeasy-sdk-regen-1736154663
17+
- speakeasy-sdk-regen-1736530513
1818
- 3.0.0
1919
platform-source:
2020
sourceNamespace: platform-source
@@ -73,10 +73,10 @@ targets:
7373
lending-library:
7474
source: lending-source
7575
sourceNamespace: lending-source
76-
sourceRevisionDigest: sha256:39fdb43547a197ae0fd3e96ba42784010d8390e3a80f68e1880194616ac3b2cf
77-
sourceBlobDigest: sha256:c099262909612a8421934ac332897e738611c24f1d6f3878de41ec219fd78b48
76+
sourceRevisionDigest: sha256:7d05cd24972535fa53d01b1d986bbabb603d66ecd7eed0ab05ab9b0770e247db
77+
sourceBlobDigest: sha256:3a814cec7e8eefb0c14c6ec5490201b6fb3c0355e1f030be7e554f833dcf11ff
7878
codeSamplesNamespace: lending-source-typescript-code-samples
79-
codeSamplesRevisionDigest: sha256:68ed48e2d10f460ae87ac774cdea3878a746c9261dc4fa7b7a94b8ea05a5aef5
79+
codeSamplesRevisionDigest: sha256:773409ca26d6e9fb770abc5f592e793837eea895ab7ae9509f69b2c40216bc83
8080
platform-library:
8181
source: platform-source
8282
sourceNamespace: platform-source

lending/.speakeasy/gen.lock

Lines changed: 52 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: e806a216-cfe8-4f1d-ae7a-37acb6f96c98
33
management:
4-
docChecksum: 484b647e90517ce7b8b907899174efb0
4+
docChecksum: 1a4adf946f4894a034f5733f23b41cab
55
docVersion: 3.0.0
6-
speakeasyVersion: 1.462.2
7-
generationVersion: 2.486.1
8-
releaseVersion: 7.1.0
9-
configChecksum: 94243ee22405dc4d838a51a099ddafb3
6+
speakeasyVersion: 1.468.0
7+
generationVersion: 2.492.3
8+
releaseVersion: 7.2.0
9+
configChecksum: 27bda6858a4b982621276213d62a6cac
1010
repoURL: https://github.com/codatio/client-sdk-typescript.git
1111
repoSubDirectory: lending
1212
installationURL: https://gitpkg.now.sh/codatio/client-sdk-typescript/lending
@@ -22,7 +22,7 @@ features:
2222
downloadStreams: 0.1.1
2323
enumUnions: 0.1.0
2424
envVarSecurityUsage: 0.1.2
25-
examples: 2.81.4
25+
examples: 2.81.5
2626
globalSecurity: 2.82.12
2727
globalSecurityCallbacks: 0.1.0
2828
globalSecurityFlattening: 0.1.0
@@ -38,7 +38,7 @@ features:
3838
typeOverrides: 2.81.1
3939
unions: 2.85.8
4040
uploadStreams: 0.1.0
41-
webhooks: 1.3.1
41+
webhooks: 1.4.1
4242
generatedFiles:
4343
- .eslintrc.cjs
4444
- .gitattributes
@@ -198,6 +198,7 @@ generatedFiles:
198198
- docs/sdk/models/operations/queryparamsourcetype.md
199199
- docs/sdk/models/operations/refreshalldatatypesrequest.md
200200
- docs/sdk/models/operations/refreshdatatyperequest.md
201+
- docs/sdk/models/operations/replacecompanyrequest.md
201202
- docs/sdk/models/operations/setbankstatementuploadconfigurationrequest.md
202203
- docs/sdk/models/operations/sourcetype.md
203204
- docs/sdk/models/operations/startbankstatementuploadsessionrequest.md
@@ -372,6 +373,7 @@ generatedFiles:
372373
- docs/sdk/models/shared/companyreference.md
373374
- docs/sdk/models/shared/companyreferencelinks.md
374375
- docs/sdk/models/shared/companyrequestbody.md
376+
- docs/sdk/models/shared/companyupdaterequest.md
375377
- docs/sdk/models/shared/connection.md
376378
- docs/sdk/models/shared/connections.md
377379
- docs/sdk/models/shared/contact.md
@@ -686,6 +688,7 @@ generatedFiles:
686688
- src/funcs/companiesDelete.ts
687689
- src/funcs/companiesGet.ts
688690
- src/funcs/companiesList.ts
691+
- src/funcs/companiesReplace.ts
689692
- src/funcs/companiesUpdate.ts
690693
- src/funcs/companyInfoGetAccountingProfile.ts
691694
- src/funcs/companyInfoGetCommerceProfile.ts
@@ -994,6 +997,7 @@ generatedFiles:
994997
- src/sdk/models/operations/listreports.ts
995998
- src/sdk/models/operations/refreshalldatatypes.ts
996999
- src/sdk/models/operations/refreshdatatype.ts
1000+
- src/sdk/models/operations/replacecompany.ts
9971001
- src/sdk/models/operations/setbankstatementuploadconfiguration.ts
9981002
- src/sdk/models/operations/startbankstatementuploadsession.ts
9991003
- src/sdk/models/operations/unlinkconnection.ts
@@ -1145,6 +1149,7 @@ generatedFiles:
11451149
- src/sdk/models/shared/company.ts
11461150
- src/sdk/models/shared/companyreference.ts
11471151
- src/sdk/models/shared/companyrequestbody.ts
1152+
- src/sdk/models/shared/companyupdaterequest.ts
11481153
- src/sdk/models/shared/connection.ts
11491154
- src/sdk/models/shared/connections.ts
11501155
- src/sdk/models/shared/contact.ts
@@ -1441,6 +1446,16 @@ examples:
14411446
responses:
14421447
"401":
14431448
application/json: {"statusCode": 401, "service": "PublicApi", "error": "Unauthorized", "correlationId": "7eb40d6b415d7bcd99ce658268284056", "canBeRetried": "Unknown", "detailedErrorCode": 0}
1449+
Update tags:
1450+
parameters:
1451+
path:
1452+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002"
1453+
requestBody:
1454+
application/json: {"tags": {"refrence": "new reference"}}
1455+
responses:
1456+
"200":
1457+
application/json: {"id": "0498e921-9b53-4396-a412-4f2f5983b0a2", "name": "string", "redirect": "https://link.codat.io/company/27628208-459c-46a2-a705-5641ce25f739", "lastSync": "2022-01-01T12:00:00.000Z", "created": "2022-01-01T12:00:00.000Z", "createdByUserName": "string", "tags": {"region": "us", "uid": "f6b0c253-16c7-4da1-a0c5-9c871e9c9d6c"}, "dataConnections": [{"id": "ee2eb431-c0fa-4dc9-93fa-d29781c12bcd", "integrationId": "bf083d72-62c7-493e-aec9-81b4dbba7e2c", "integrationKey": "dfxm", "sourceId": "bdd831ce-eebd-4896-89a7-20e5ee8989ee", "sourceType": "Banking", "platformName": "Basiq", "linkUrl": "https://link-api.codat.io/companies/86bd88cb-44ab-4dfb-b32f-87b19b14287f/connections/ee2eb431-c0fa-4dc9-93fa-d29781c12bcd/start", "status": "Linked", "lastSync": "2022-10-27T10:22:43.6464237Z", "created": "2022-10-27T09:53:29Z"}]}
1458+
"401": {}
14441459
delete-company:
14451460
Unauthorized:
14461461
parameters:
@@ -11595,4 +11610,34 @@ examples:
1159511610
responses:
1159611611
"401":
1159711612
application/json: {"statusCode": 401, "service": "PublicApi", "error": "Unauthorized", "correlationId": "7eb40d6b415d7bcd99ce658268284056", "canBeRetried": "Unknown", "detailedErrorCode": 0}
11613+
replace-company:
11614+
Update name:
11615+
parameters:
11616+
path:
11617+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002"
11618+
requestBody:
11619+
application/json: {"name": "New Name"}
11620+
responses:
11621+
"200":
11622+
application/json: {"id": "0498e921-9b53-4396-a412-4f2f5983b0a2", "name": "string", "redirect": "https://link.codat.io/company/27628208-459c-46a2-a705-5641ce25f739", "lastSync": "2022-01-01T12:00:00.000Z", "created": "2022-01-01T12:00:00.000Z", "createdByUserName": "string", "tags": {"region": "us", "uid": "f6b0c253-16c7-4da1-a0c5-9c871e9c9d6c"}, "dataConnections": [{"id": "ee2eb431-c0fa-4dc9-93fa-d29781c12bcd", "integrationId": "bf083d72-62c7-493e-aec9-81b4dbba7e2c", "integrationKey": "dfxm", "sourceId": "bdd831ce-eebd-4896-89a7-20e5ee8989ee", "sourceType": "Banking", "platformName": "Basiq", "linkUrl": "https://link-api.codat.io/companies/86bd88cb-44ab-4dfb-b32f-87b19b14287f/connections/ee2eb431-c0fa-4dc9-93fa-d29781c12bcd/start", "status": "Linked", "lastSync": "2022-10-27T10:22:43.6464237Z", "created": "2022-10-27T09:53:29Z"}]}
11623+
"401": {}
11624+
Update description:
11625+
parameters:
11626+
path:
11627+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002"
11628+
requestBody:
11629+
application/json: {"name": "Same name", "description": "Additional documents required"}
11630+
responses:
11631+
"200":
11632+
application/json: {"id": "0498e921-9b53-4396-a412-4f2f5983b0a2", "name": "string", "redirect": "https://link.codat.io/company/27628208-459c-46a2-a705-5641ce25f739", "lastSync": "2022-01-01T12:00:00.000Z", "created": "2022-01-01T12:00:00.000Z", "createdByUserName": "string", "tags": {"region": "us", "uid": "f6b0c253-16c7-4da1-a0c5-9c871e9c9d6c"}, "dataConnections": [{"id": "ee2eb431-c0fa-4dc9-93fa-d29781c12bcd", "integrationId": "bf083d72-62c7-493e-aec9-81b4dbba7e2c", "integrationKey": "dfxm", "sourceId": "bdd831ce-eebd-4896-89a7-20e5ee8989ee", "sourceType": "Banking", "platformName": "Basiq", "linkUrl": "https://link-api.codat.io/companies/86bd88cb-44ab-4dfb-b32f-87b19b14287f/connections/ee2eb431-c0fa-4dc9-93fa-d29781c12bcd/start", "status": "Linked", "lastSync": "2022-10-27T10:22:43.6464237Z", "created": "2022-10-27T09:53:29Z"}]}
11633+
"401": {}
11634+
Unauthorized:
11635+
parameters:
11636+
path:
11637+
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002"
11638+
requestBody:
11639+
application/json: {"name": "Bank of Dave", "description": "Requested early access to the new financing scheme."}
11640+
responses:
11641+
"401":
11642+
application/json: {"statusCode": 401, "service": "PublicApi", "error": "Unauthorized", "correlationId": "7eb40d6b415d7bcd99ce658268284056", "canBeRetried": "Unknown", "detailedErrorCode": 0}
1159811643
generatedTests: {}

lending/.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ generation:
1414
oAuth2PasswordEnabled: false
1515
telemetryEnabled: true
1616
typescript:
17-
version: 7.1.0
17+
version: 7.2.0
1818
additionalDependencies:
1919
dependencies: {}
2020
devDependencies: {}

lending/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ run();
259259

260260
* [list](docs/sdks/companies/README.md#list) - List companies
261261
* [create](docs/sdks/companies/README.md#create) - Create company
262+
* [replace](docs/sdks/companies/README.md#replace) - Replace company
262263
* [update](docs/sdks/companies/README.md#update) - Update company
263264
* [delete](docs/sdks/companies/README.md#delete) - Delete a company
264265
* [get](docs/sdks/companies/README.md#get) - Get company
@@ -560,6 +561,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
560561
- [`companiesDelete`](docs/sdks/companies/README.md#delete) - Delete a company
561562
- [`companiesGet`](docs/sdks/companies/README.md#get) - Get company
562563
- [`companiesList`](docs/sdks/companies/README.md#list) - List companies
564+
- [`companiesReplace`](docs/sdks/companies/README.md#replace) - Replace company
563565
- [`companiesUpdate`](docs/sdks/companies/README.md#update) - Update company
564566
- [`companyInfoGetAccountingProfile`](docs/sdks/companyinfo/README.md#getaccountingprofile) - Get company accounting profile
565567
- [`companyInfoGetCommerceProfile`](docs/sdks/companyinfo/README.md#getcommerceprofile) - Get company commerce profile

lending/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,14 @@ Based on:
148148
### Generated
149149
- [typescript v7.1.0] lending
150150
### Releases
151-
- [NPM v7.1.0] https://www.npmjs.com/package/@codat/lending/v/7.1.0 - lending
151+
- [NPM v7.1.0] https://www.npmjs.com/package/@codat/lending/v/7.1.0 - lending
152+
153+
## 2025-01-10 17:34:50
154+
### Changes
155+
Based on:
156+
- OpenAPI Doc
157+
- Speakeasy CLI 1.468.0 (2.492.3) https://github.com/speakeasy-api/speakeasy
158+
### Generated
159+
- [typescript v7.2.0] lending
160+
### Releases
161+
- [NPM v7.2.0] https://www.npmjs.com/package/@codat/lending/v/7.2.0 - lending

lending/docs/sdk/models/operations/createaccountrequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let value: CreateAccountRequest = {
1616
"Invoices the business has issued but has not yet collected payment on.",
1717
fullyQualifiedCategory: "Asset.Current",
1818
fullyQualifiedName: "Fixed Asset",
19-
currency: "GBP",
19+
currency: "USD",
2020
currentBalance: new Decimal("0"),
2121
type: "Asset",
2222
status: "Active",

lending/docs/sdk/models/operations/createbanktransactionsrequest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import { CreateBankTransactionsRequest } from "@codat/lending/sdk/models/operati
88
let value: CreateBankTransactionsRequest = {
99
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
1010
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
11-
accountId: "9wg4lep4ush5cxs79pl8sozmsndbaukll3ind4g7buqbm1h2",
11+
accountId: "EILBDVJVNUAGVKRQ",
1212
accountingCreateBankTransactions: {
13-
accountId: "Checking 0202",
13+
accountId: "9wg4lep4ush5cxs79pl8sozmsndbaukll3ind4g7buqbm1h2",
1414
transactions: [
1515
{
1616
date: "2022-10-23T00:00:00Z",

lending/docs/sdk/models/operations/createdirectcostrequest.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ let value: CreateDirectCostRequest = {
1111
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
1212
directCostPrototype: {
1313
issueDate: "2022-10-23T00:00:00Z",
14-
currency: "USD",
14+
currency: "EUR",
1515
lineItems: [
1616
{
17-
unitAmount: new Decimal("2561.14"),
18-
quantity: new Decimal("8237.18"),
17+
unitAmount: new Decimal("7782.76"),
18+
quantity: new Decimal("8483.45"),
1919
accountRef: {},
2020
tracking: {
2121
recordRefs: [
@@ -24,7 +24,7 @@ let value: CreateDirectCostRequest = {
2424
},
2525
],
2626
invoiceTo: {
27-
dataType: "journalEntry",
27+
dataType: "invoice",
2828
},
2929
},
3030
},
@@ -37,14 +37,14 @@ let value: CreateDirectCostRequest = {
3737
paidOnDate: "2022-10-23T00:00:00Z",
3838
},
3939
allocation: {
40-
currency: "EUR",
40+
currency: "GBP",
4141
allocatedOnDate: "2022-10-23T00:00:00Z",
4242
},
4343
},
4444
],
45-
subTotal: new Decimal("7049.48"),
46-
taxAmount: new Decimal("4186.37"),
47-
totalAmount: new Decimal("53.10"),
45+
subTotal: new Decimal("680.93"),
46+
taxAmount: new Decimal("9438.51"),
47+
totalAmount: new Decimal("9649.25"),
4848
},
4949
};
5050
```

lending/docs/sdk/models/operations/createpaymentrequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let value: CreatePaymentRequest = {
2121
date: "2022-10-23T00:00:00Z",
2222
lines: [
2323
{
24-
amount: new Decimal("9655.17"),
24+
amount: new Decimal("1272.94"),
2525
allocatedOnDate: "2022-10-23T00:00:00Z",
2626
},
2727
],

lending/docs/sdk/models/operations/createsourceaccountrequestbody.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
```typescript
99
const value: shared.SourceAccountV2Prototype = {
10-
currency: "USD",
10+
currency: "GBP",
1111
modifiedDate: "2022-10-23T00:00:00Z",
1212
accountInfo: {
1313
accountOpenDate: "2022-10-23",

0 commit comments

Comments
 (0)