Skip to content

Commit

Permalink
Merge pull request #642 from codatio/speakeasy-sdk-regen-1732640552
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate Lending library LENDING-LIBRARY 7.0.0
  • Loading branch information
dcoplowe authored Nov 26, 2024
2 parents 6482a99 + 7d7d2e4 commit baf4d99
Show file tree
Hide file tree
Showing 253 changed files with 1,211 additions and 2,639 deletions.
13 changes: 7 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ sources:
- 3.0.0
lending-source:
sourceNamespace: lending-source
sourceRevisionDigest: sha256:b3548be46af843e3792df7d5d24e0b1cbf514587a99c9f58d2ad68781f4568bd
sourceBlobDigest: sha256:0bb930c7190c9e61384e5af6224f76ea004ad9bc0788b264aaa35b9ebad5699f
sourceRevisionDigest: sha256:92d236683bc6347bb480e5a875864d06d0bf52d7f7d4773fca77e4c475836e67
sourceBlobDigest: sha256:b52d78f87b496418a9a1d7ee5f4b78f4ee3ed0a257fba5a6bd13e82a5ed3548f
tags:
- latest
- speakeasy-sdk-regen-1731929393
- speakeasy-sdk-regen-1732640552
- 3.0.0
platform-source:
sourceNamespace: platform-source
sourceRevisionDigest: sha256:18fc11096df2f9a8121b2d6965ec6ff62d3af50558804b2458a3bba396560ea9
Expand Down Expand Up @@ -71,10 +72,10 @@ targets:
lending-library:
source: lending-source
sourceNamespace: lending-source
sourceRevisionDigest: sha256:b3548be46af843e3792df7d5d24e0b1cbf514587a99c9f58d2ad68781f4568bd
sourceBlobDigest: sha256:0bb930c7190c9e61384e5af6224f76ea004ad9bc0788b264aaa35b9ebad5699f
sourceRevisionDigest: sha256:92d236683bc6347bb480e5a875864d06d0bf52d7f7d4773fca77e4c475836e67
sourceBlobDigest: sha256:b52d78f87b496418a9a1d7ee5f4b78f4ee3ed0a257fba5a6bd13e82a5ed3548f
codeSamplesNamespace: lending-source-code-samples
codeSamplesRevisionDigest: sha256:95281315f00396773c4691cce5871db7b7afce89c5a0fc4264e9fd374e0d5021
codeSamplesRevisionDigest: sha256:83f3337ecacef88e2cf654d1fa17afea6f29a12a7a468607f255d77644dc7e25
platform-library:
source: platform-source
sourceNamespace: platform-source
Expand Down
980 changes: 490 additions & 490 deletions lending/.speakeasy/gen.lock

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion lending/.speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ generation:
oAuth2PasswordEnabled: false
telemetryEnabled: true
typescript:
version: 6.0.0
version: 7.0.0
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand All @@ -24,6 +24,7 @@ typescript:
clientServerStatusCodesAsErrors: true
defaultErrorName: SDKError
description: Make credit decisions backed by enhanced financials, metrics, reports, and data integrity features.
enableReactQuery: false
enumFormat: union
flattenGlobalSecurity: true
flatteningOrder: body-first
Expand Down
12 changes: 11 additions & 1 deletion lending/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,14 @@ Based on:
### Generated
- [typescript v6.0.0] lending
### Releases
- [NPM v6.0.0] https://www.npmjs.com/package/@codat/lending/v/6.0.0 - lending
- [NPM v6.0.0] https://www.npmjs.com/package/@codat/lending/v/6.0.0 - lending

## 2024-11-26 17:02:22
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.447.0 (2.463.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v7.0.0] lending
### Releases
- [NPM v7.0.0] https://www.npmjs.com/package/@codat/lending/v/7.0.0 - lending
4 changes: 2 additions & 2 deletions lending/docs/sdk/models/operations/createaccountrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ let value: CreateAccountRequest = {
description:
"Invoices the business has issued but has not yet collected payment on.",
fullyQualifiedCategory: "Asset.Current",
fullyQualifiedName: "Cash On Hand",
currency: "EUR",
fullyQualifiedName: "Fixed Asset",
currency: "USD",
currentBalance: new Decimal("0"),
type: "Asset",
status: "Active",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import { CreateBankTransactionsRequest } from "@codat/lending/sdk/models/operati
let value: CreateBankTransactionsRequest = {
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
accountId: "EILBDVJVNUAGVKRQ",
accountId: "9wg4lep4ush5cxs79pl8sozmsndbaukll3ind4g7buqbm1h2",
accountingCreateBankTransactions: {
accountId: "Checking 0202",
accountId: "13d946f0-c5d5-42bc-b092-97ece17923ab",
transactions: [
{
date: "2022-10-23T00:00:00Z",
Expand Down
18 changes: 9 additions & 9 deletions lending/docs/sdk/models/operations/createdirectcostrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ let value: CreateDirectCostRequest = {
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
directCostPrototype: {
issueDate: "2022-10-23T00:00:00Z",
currency: "EUR",
currency: "USD",
lineItems: [
{
unitAmount: new Decimal("8872.83"),
quantity: new Decimal("7650.70"),
unitAmount: new Decimal("680.93"),
quantity: new Decimal("9438.51"),
accountRef: {},
tracking: {
recordRefs: [
Expand All @@ -24,7 +24,7 @@ let value: CreateDirectCostRequest = {
},
],
invoiceTo: {
dataType: "invoice",
dataType: "transfer",
},
},
},
Expand All @@ -33,18 +33,18 @@ let value: CreateDirectCostRequest = {
{
payment: {
accountRef: {},
currency: "USD",
currency: "EUR",
paidOnDate: "2022-10-23T00:00:00Z",
},
allocation: {
currency: "USD",
currency: "GBP",
allocatedOnDate: "2022-10-23T00:00:00Z",
},
},
],
subTotal: new Decimal("9121.51"),
taxAmount: new Decimal("1183.49"),
totalAmount: new Decimal("251.90"),
subTotal: new Decimal("1272.94"),
taxAmount: new Decimal("5258.09"),
totalAmount: new Decimal("1418.17"),
},
};
```
Expand Down
4 changes: 2 additions & 2 deletions lending/docs/sdk/models/operations/createpaymentrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ let value: CreatePaymentRequest = {
id: "EILBDVJVNUAGVKRQ",
name: "AliPay",
},
currency: "GBP",
currency: "EUR",
date: "2022-10-23T00:00:00Z",
lines: [
{
amount: new Decimal("6442.23"),
amount: new Decimal("4301.16"),
allocatedOnDate: "2022-10-23T00:00:00Z",
},
],
Expand Down
18 changes: 9 additions & 9 deletions lending/docs/sdk/models/operations/createsourceaccountrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ let value: CreateSourceAccountRequest = {
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
requestBody: {
id: "acc-002",
accountName: "account-083",
accountType: "savings",
accountNumber: "23456789",
id: "acc-001",
accountName: "account-081",
accountType: "checking",
accountNumber: "12345670",
routingInfo: {
bankCode: "21001088",
type: "bankcode",
},
currency: "GBP",
balance: new Decimal("400"),
balance: new Decimal("99.99"),
accountInfo: {
description: "account description 2",
nickname: "account 1290",
accountOpenDate: "2023-05-23T00:00:00Z",
availableBalance: new Decimal("400"),
description: "account description 1",
nickname: "account 123",
accountOpenDate: "2023-05-06T00:00:00Z",
availableBalance: new Decimal("10"),
},
modifiedDate: "2024-08-02T00:00:00.000Z",
status: "pending",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,15 @@ const value: shared.SourceAccountV2 = {

```typescript
const value: shared.SourceAccount = {
id: "acc-003",
accountName: "account-095",
id: "acc-002",
accountName: "account-081",
accountType: "Credit",
accountNumber: "12345671",
accountNumber: "12345670",
sortCode: "123456",
currency: "USD",
balance: new Decimal("0"),
currency: "GBP",
balance: new Decimal("99.99"),
modifiedDate: "2023-01-09T14:14:14.1057478Z",
status: "pending",
feedStartDate: "2022-10-23T00:00:00Z",
};
```

Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,15 @@ const value: shared.SourceAccountV2 = {

```typescript
const value: shared.SourceAccount = {
id: "acc-003",
accountName: "account-095",
id: "acc-002",
accountName: "account-081",
accountType: "Credit",
accountNumber: "12345671",
accountNumber: "12345670",
sortCode: "123456",
currency: "USD",
balance: new Decimal("0"),
currency: "GBP",
balance: new Decimal("99.99"),
modifiedDate: "2023-01-09T14:14:14.1057478Z",
status: "pending",
feedStartDate: "2022-10-23T00:00:00Z",
};
```

10 changes: 5 additions & 5 deletions lending/docs/sdk/models/operations/createtransferrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ let value: CreateTransferRequest = {
date: "2022-10-23T00:00:00Z",
from: {
accountRef: {
dataType: "invoice",
dataType: "journalEntry",
},
currency: "GBP",
currency: "USD",
},
to: {
accountRef: {
dataType: "invoice",
dataType: "accountTransaction",
},
currency: "GBP",
currency: "EUR",
},
depositedRecordRefs: [
{
dataType: "accountTransaction",
dataType: "transfer",
},
],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { DownloadAccountingBillAttachmentRequest } from "@codat/lending/sdk/mode
let value: DownloadAccountingBillAttachmentRequest = {
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
billId: "7110701885",
billId: "13d946f0-c5d5-42bc-b092-97ece17923ab",
attachmentId: "8a210b68-6988-11ed-a1eb-0242ac120002",
};
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { DownloadAccountingCustomerAttachmentRequest } from "@codat/lending/sdk/
let value: DownloadAccountingCustomerAttachmentRequest = {
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
customerId: "13d946f0-c5d5-42bc-b092-97ece17923ab",
customerId: "7110701885",
attachmentId: "8a210b68-6988-11ed-a1eb-0242ac120002",
};
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { DownloadAccountingDirectCostAttachmentRequest } from "@codat/lending/sd
let value: DownloadAccountingDirectCostAttachmentRequest = {
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
directCostId: "7110701885",
directCostId: "EILBDVJVNUAGVKRQ",
attachmentId: "8a210b68-6988-11ed-a1eb-0242ac120002",
};
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { DownloadAccountingInvoicePdfRequest } from "@codat/lending/sdk/models/o

let value: DownloadAccountingInvoicePdfRequest = {
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
invoiceId: "7110701885",
invoiceId: "EILBDVJVNUAGVKRQ",
};
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { DownloadExcelReportRequest } from "@codat/lending/sdk/models/operations

let value: DownloadExcelReportRequest = {
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
reportType: "enhancedFinancials",
reportType: "enhancedCashFlow",
};
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { EndBankStatementUploadSessionRequest } from "@codat/lending/sdk/models/
let value: EndBankStatementUploadSessionRequest = {
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
datasetId: "c556a5ef-0310-437d-b37e-ac8f90369c6b",
datasetId: "27480ed8-df1a-4ff9-a290-3f5a4fb5c163",
};
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { GenerateExcelReportRequest } from "@codat/lending/sdk/models/operations

let value: GenerateExcelReportRequest = {
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
reportType: "enhancedInvoices",
reportType: "enhancedCashFlow",
};
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Data source type.
```typescript
import { GenerateLoanSummaryQueryParamSourceType } from "@codat/lending/sdk/models/operations";

let value: GenerateLoanSummaryQueryParamSourceType = "banking";
let value: GenerateLoanSummaryQueryParamSourceType = "commerce";
```

## Values
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { GenerateLoanSummaryRequest } from "@codat/lending/sdk/models/operations

let value: GenerateLoanSummaryRequest = {
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
sourceType: "banking",
sourceType: "commerce",
};
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { GenerateLoanTransactionsRequest } from "@codat/lending/sdk/models/opera

let value: GenerateLoanTransactionsRequest = {
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
sourceType: "accounting",
sourceType: "banking",
};
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { GetAccountingBankAccountRequest } from "@codat/lending/sdk/models/opera
let value: GetAccountingBankAccountRequest = {
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
accountId: "7110701885",
accountId: "13d946f0-c5d5-42bc-b092-97ece17923ab",
};
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { GetAccountingBillAttachmentRequest } from "@codat/lending/sdk/models/op
let value: GetAccountingBillAttachmentRequest = {
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
billId: "9wg4lep4ush5cxs79pl8sozmsndbaukll3ind4g7buqbm1h2",
billId: "EILBDVJVNUAGVKRQ",
attachmentId: "8a210b68-6988-11ed-a1eb-0242ac120002",
};
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { GetAccountingBillCreditNoteRequest } from "@codat/lending/sdk/models/op

let value: GetAccountingBillCreditNoteRequest = {
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
billCreditNoteId: "EILBDVJVNUAGVKRQ",
billCreditNoteId: "7110701885",
};
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { GetAccountingBillRequest } from "@codat/lending/sdk/models/operations";

let value: GetAccountingBillRequest = {
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
billId: "7110701885",
billId: "13d946f0-c5d5-42bc-b092-97ece17923ab",
};
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { GetAccountingCustomerAttachmentRequest } from "@codat/lending/sdk/model
let value: GetAccountingCustomerAttachmentRequest = {
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
customerId: "7110701885",
customerId: "9wg4lep4ush5cxs79pl8sozmsndbaukll3ind4g7buqbm1h2",
attachmentId: "8a210b68-6988-11ed-a1eb-0242ac120002",
};
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { GetAccountingCustomerRequest } from "@codat/lending/sdk/models/operatio

let value: GetAccountingCustomerRequest = {
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
customerId: "EILBDVJVNUAGVKRQ",
customerId: "7110701885",
};
```

Expand Down
Loading

0 comments on commit baf4d99

Please sign in to comment.