Skip to content

Commit 60b25ca

Browse files
committed
## Typescript SDK Changes:
* `apideck.accounting.balanceSheet.get()`: * `request.filter` **Changed** * `apideck.accounting.profitAndLoss.get()`: * `request.filter` **Changed** * `apideck.accounting.bankAccounts.list()`: * `request.filter` **Changed** * `response.data.[].downstreamId` **Added** * `apideck.accounting.bankAccounts.get()`: `response.data.downstreamId` **Added**
1 parent 5a712f5 commit 60b25ca

39 files changed

+402
-62
lines changed

.speakeasy/gen.lock

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 7bffa198-5d29-4efa-9942-d549cc832085
33
management:
4-
docChecksum: fbc79de1908ef8470cee0e8ac97f3d4b
5-
docVersion: 10.21.18
6-
speakeasyVersion: 1.661.3
7-
generationVersion: 2.763.3
8-
releaseVersion: 0.34.12
9-
configChecksum: a27bfb37829f7e2f381204a94b7d88dc
4+
docChecksum: 82d2a94bf2e121e55493fcc2bc072337
5+
docVersion: 10.22.0
6+
speakeasyVersion: 1.665.0
7+
generationVersion: 2.767.2
8+
releaseVersion: 0.35.0
9+
configChecksum: bdafc0af6c3e374696ee17553e61122d
1010
repoURL: https://github.com/apideck-libraries/sdk-typescript.git
1111
installationURL: https://github.com/apideck-libraries/sdk-typescript
1212
published: true
@@ -16,7 +16,7 @@ features:
1616
additionalDependencies: 0.1.0
1717
additionalProperties: 0.1.2
1818
constsAndDefaults: 0.1.12
19-
core: 3.26.10
19+
core: 3.26.13
2020
deepObjectParams: 0.1.0
2121
defaultEnabledRetries: 0.1.0
2222
deprecations: 2.81.1
@@ -38,10 +38,10 @@ features:
3838
pagination: 2.83.0
3939
responseFormat: 0.2.3
4040
retries: 2.83.0
41-
sdkHooks: 0.3.0
41+
sdkHooks: 0.4.0
4242
tests: 0.17.3
4343
typeOverrides: 2.81.1
44-
unions: 2.86.0
44+
unions: 2.86.2
4545
uploadStreams: 0.1.0
4646
generatedFiles:
4747
- .gitattributes
@@ -60,6 +60,7 @@ generatedFiles:
6060
- docs/models/components/accountinglocation.md
6161
- docs/models/components/accountinglocationinput.md
6262
- docs/models/components/accountinglocationsfilter.md
63+
- docs/models/components/accountingmethod.md
6364
- docs/models/components/accountstatus.md
6465
- docs/models/components/accounttype.md
6566
- docs/models/components/activitiesfilter.md
@@ -119,6 +120,7 @@ generatedFiles:
119120
- docs/models/components/bankaccount2.md
120121
- docs/models/components/bankaccount2accounttype.md
121122
- docs/models/components/bankaccountsfilter.md
123+
- docs/models/components/bankaccountsfilteraccounttype.md
122124
- docs/models/components/bankaccountsfilterstatus.md
123125
- docs/models/components/bankaccountssort.md
124126
- docs/models/components/bankaccounttype.md
@@ -734,6 +736,7 @@ generatedFiles:
734736
- docs/models/components/productstatus.md
735737
- docs/models/components/profitandloss.md
736738
- docs/models/components/profitandlossfilter.md
739+
- docs/models/components/profitandlossfilteraccountingmethod.md
737740
- docs/models/components/profitandlossindicator.md
738741
- docs/models/components/profitandlosstype.md
739742
- docs/models/components/project.md
@@ -7103,7 +7106,7 @@ examples:
71037106
parameters:
71047107
query:
71057108
pass_through: {"search": "San Francisco"}
7106-
filter: {"start_date": "2021-01-01", "end_date": "2021-12-31", "period_count": 3, "period_type": "month", "location_id": "123"}
7109+
filter: {"start_date": "2021-01-01", "end_date": "2021-12-31", "period_count": 3, "period_type": "month", "location_id": "123", "accounting_method": "accrual"}
71077110
raw: false
71087111
header:
71097112
x-apideck-consumer-id: "test-consumer"
@@ -7155,7 +7158,7 @@ examples:
71557158
parameters:
71567159
query:
71577160
raw: false
7158-
filter: {"customer_id": "123abc", "start_date": "2021-01-01", "end_date": "2021-12-31", "location_id": "123"}
7161+
filter: {"customer_id": "123abc", "start_date": "2021-01-01", "end_date": "2021-12-31", "location_id": "123", "accounting_method": "accrual"}
71597162
pass_through: {"search": "San Francisco"}
71607163
fields: "id,updated_at"
71617164
header:
@@ -19846,7 +19849,7 @@ examples:
1984619849
query:
1984719850
raw: false
1984819851
limit: 20
19849-
filter: {"name": "Main Operating", "status": "active"}
19852+
filter: {"name": "Main Operating", "account_type": "checking", "status": "active"}
1985019853
sort: {"by": "updated_at", "direction": "asc"}
1985119854
pass_through: {"search": "San Francisco"}
1985219855
fields: "id,updated_at"
@@ -19909,7 +19912,7 @@ examples:
1990919912
x-apideck-service-id: "salesforce"
1991019913
responses:
1991119914
"200":
19912-
application/json: {"status_code": 200, "status": "OK", "service": "quickbooks", "resource": "bank-accounts", "operation": "one", "data": {"id": "12345", "display_id": "BA-001", "name": "Main Operating Account", "account_number": "123465", "account_type": "checking", "ledger_account": {"id": "123456", "name": "Bank account", "nominal_code": "N091", "code": "453", "parent_id": "123456", "display_id": "123456"}, "bank_name": "Chase Bank", "currency": "USD", "balance": 25000, "available_balance": 24500, "overdraft_limit": 5000, "routing_number": "021000021", "iban": "GB33BUKB20201555555555", "bic": "CHASUS33", "bsb_number": "062-001", "branch_identifier": "001", "bank_code": "BNH", "country": "US", "status": "active", "description": "Primary operating account for daily transactions", "custom_fields": [{"id": "2389328923893298", "name": "employee_level", "description": "Employee Level", "value": "Uses Salesforce and Marketo"}], "created_at": "2020-09-30T07:43:32.000Z", "updated_at": "2020-09-30T07:43:32.000Z", "created_by": "12345", "updated_by": "12345"}}
19915+
application/json: {"status_code": 200, "status": "OK", "service": "quickbooks", "resource": "bank-accounts", "operation": "one", "data": {"id": "12345", "downstream_id": "12345", "display_id": "BA-001", "name": "Main Operating Account", "account_number": "123465", "account_type": "checking", "ledger_account": {"id": "123456", "name": "Bank account", "nominal_code": "N091", "code": "453", "parent_id": "123456", "display_id": "123456"}, "bank_name": "Chase Bank", "currency": "USD", "balance": 25000, "available_balance": 24500, "overdraft_limit": 5000, "routing_number": "021000021", "iban": "GB33BUKB20201555555555", "bic": "CHASUS33", "bsb_number": "062-001", "branch_identifier": "001", "bank_code": "BNH", "country": "US", "status": "active", "description": "Primary operating account for daily transactions", "custom_fields": [{"id": "2389328923893298", "name": "employee_level", "description": "Employee Level", "value": "Uses Salesforce and Marketo"}], "created_at": "2020-09-30T07:43:32.000Z", "updated_at": "2020-09-30T07:43:32.000Z", "created_by": "12345", "updated_by": "12345"}}
1991319916
"400":
1991419917
application/json: {"status_code": 400, "error": "Bad Request", "type_name": "RequestValidationError", "message": "Invalid Params", "detail": "Missing property foobar", "ref": "https://developers.apideck.com/errors#requestvalidationerror"}
1991519918
"401":
@@ -20414,4 +20417,4 @@ generatedTests:
2041420417
accounting.projectsOne: "2025-10-13T00:03:48Z"
2041520418
accounting.projectsUpdate: "2025-10-13T00:03:48Z"
2041620419
accounting.projectsDelete: "2025-10-13T00:03:48Z"
20417-
releaseNotes: "## Typescript SDK Changes Detected:\n* `apideck.accounting.taxRates.list()`: `response.data.[].country` **Added**\n* `apideck.accounting.taxRates.create()`: \n * `request.taxRate.country` **Added**\n* `apideck.accounting.taxRates.get()`: `response.data.country` **Added**\n* `apideck.accounting.taxRates.update()`: \n * `request.taxRate.country` **Added**\n* `apideck.accounting.companyInfo.get()`: `response.data.defaultSalesTax.country` **Added**\n"
20420+
releaseNotes: "## Typescript SDK Changes:\n* `apideck.accounting.balanceSheet.get()`: \n * `request.filter` **Changed**\n* `apideck.accounting.profitAndLoss.get()`: \n * `request.filter` **Changed**\n* `apideck.accounting.bankAccounts.list()`: \n * `request.filter` **Changed**\n * `response.data.[].downstreamId` **Added**\n* `apideck.accounting.bankAccounts.get()`: `response.data.downstreamId` **Added**\n"

.speakeasy/gen.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ generation:
2828
generateNewTests: true
2929
skipResponseBodyAssertions: false
3030
typescript:
31-
version: 0.34.12
31+
version: 0.35.0
3232
acceptHeaderEnum: true
3333
additionalDependencies:
3434
dependencies: {}
@@ -52,6 +52,7 @@ typescript:
5252
flatteningOrder: parameters-first
5353
formStringArrayEncodeMode: encoded-string
5454
forwardCompatibleEnumsByDefault: false
55+
forwardCompatibleUnionsByDefault: "false"
5556
generateExamples: true
5657
imports:
5758
option: openapi
@@ -69,6 +70,7 @@ typescript:
6970
methodArguments: require-security-and-request
7071
modelPropertyCasing: camel
7172
moduleFormat: commonjs
73+
multipartArrayFormat: legacy
7274
outputModelSuffix: output
7375
packageName: '@apideck/unify'
7476
responseFormat: envelope-http

.speakeasy/tests.arazzo.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51369,6 +51369,7 @@ workflows:
5136951369
- name: filter
5137051370
in: query
5137151371
value:
51372+
account_type: checking
5137251373
name: Main Operating
5137351374
status: active
5137451375
- name: sort
@@ -51488,7 +51489,7 @@ workflows:
5148851489
- condition: $response.header.Content-Type == application/json
5148951490
- context: $response.body
5149051491
condition: |
51491-
{"status_code":200,"status":"OK","service":"quickbooks","resource":"bank-accounts","operation":"one","data":{"id":"12345","display_id":"BA-001","name":"Main Operating Account","account_number":"123465","account_type":"checking","ledger_account":{"id":"123456","name":"Bank account","nominal_code":"N091","code":"453","parent_id":"123456","display_id":"123456"},"bank_name":"Chase Bank","currency":"USD","balance":25000,"available_balance":24500,"overdraft_limit":5000,"routing_number":"021000021","iban":"GB33BUKB20201555555555","bic":"CHASUS33","bsb_number":"062-001","branch_identifier":"001","bank_code":"BNH","country":"US","status":"active","description":"Primary operating account for daily transactions","custom_fields":[{"id":"2389328923893298","name":"employee_level","description":"Employee Level","value":"Uses Salesforce and Marketo"}],"created_at":"2020-09-30T07:43:32.000Z","updated_at":"2020-09-30T07:43:32.000Z","created_by":"12345","updated_by":"12345"}}
51492+
{"status_code":200,"status":"OK","service":"quickbooks","resource":"bank-accounts","operation":"one","data":{"id":"12345","downstream_id":"12345","display_id":"BA-001","name":"Main Operating Account","account_number":"123465","account_type":"checking","ledger_account":{"id":"123456","name":"Bank account","nominal_code":"N091","code":"453","parent_id":"123456","display_id":"123456"},"bank_name":"Chase Bank","currency":"USD","balance":25000,"available_balance":24500,"overdraft_limit":5000,"routing_number":"021000021","iban":"GB33BUKB20201555555555","bic":"CHASUS33","bsb_number":"062-001","branch_identifier":"001","bank_code":"BNH","country":"US","status":"active","description":"Primary operating account for daily transactions","custom_fields":[{"id":"2389328923893298","name":"employee_level","description":"Employee Level","value":"Uses Salesforce and Marketo"}],"created_at":"2020-09-30T07:43:32.000Z","updated_at":"2020-09-30T07:43:32.000Z","created_by":"12345","updated_by":"12345"}}
5149251493
type: simple
5149351494
x-speakeasy-test-group: bankAccounts
5149451495
x-speakeasy-test-rebuild: true

.speakeasy/workflow.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.661.3
1+
speakeasyVersion: 1.665.0
22
sources:
33
Apideck-OAS:
44
sourceNamespace: apideck-oas
5-
sourceRevisionDigest: sha256:f06d45c8093c174ccfbc9c5d83c1360f03c87489b57b6161a53f7cb310d0b2cb
6-
sourceBlobDigest: sha256:ded010a987213606a40ad118f6bd177d5c3b54461d6b10a7bc98d24c26237ce4
5+
sourceRevisionDigest: sha256:fd2221f2c1bb29f592d649e4b0f37adba2f3bd06e36fadb6fa04a4d0963e04b7
6+
sourceBlobDigest: sha256:b3d18b0c8dbc5fc0175268127c4cc40315ac3ca9484351dd1d1980bbc1fa6500
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1764155630
10-
- 10.21.18
9+
- speakeasy-sdk-regen-1764264830
10+
- 10.22.0
1111
targets:
1212
apideck:
1313
source: Apideck-OAS
1414
sourceNamespace: apideck-oas
15-
sourceRevisionDigest: sha256:f06d45c8093c174ccfbc9c5d83c1360f03c87489b57b6161a53f7cb310d0b2cb
16-
sourceBlobDigest: sha256:ded010a987213606a40ad118f6bd177d5c3b54461d6b10a7bc98d24c26237ce4
15+
sourceRevisionDigest: sha256:fd2221f2c1bb29f592d649e4b0f37adba2f3bd06e36fadb6fa04a4d0963e04b7
16+
sourceBlobDigest: sha256:b3d18b0c8dbc5fc0175268127c4cc40315ac3ca9484351dd1d1980bbc1fa6500
1717
codeSamplesNamespace: apideck-oas-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:c0086b17ffc87288625a70874375b08d8e0d6cd3c6292264bb5376bf74449aec
18+
codeSamplesRevisionDigest: sha256:fdb4289507edcaa1dfd5dd37b68ef9cdbdef6ef0e73504b5b84a85df1bb566f1
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,4 +678,14 @@ Based on:
678678
### Generated
679679
- [typescript v0.34.12] .
680680
### Releases
681-
- [NPM v0.34.12] https://www.npmjs.com/package/@apideck/unify/v/0.34.12 - .
681+
- [NPM v0.34.12] https://www.npmjs.com/package/@apideck/unify/v/0.34.12 - .
682+
683+
## 2025-12-01 00:03:01
684+
### Changes
685+
Based on:
686+
- OpenAPI Doc
687+
- Speakeasy CLI 1.665.0 (2.767.2) https://github.com/speakeasy-api/speakeasy
688+
### Generated
689+
- [typescript v0.35.0] .
690+
### Releases
691+
- [NPM v0.35.0] https://www.npmjs.com/package/@apideck/unify/v/0.35.0 - .

docs/models/components/accountingbankaccount.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { AccountingBankAccount } from "@apideck/unify/models/components";
77

88
let value: AccountingBankAccount = {
99
id: "12345",
10+
downstreamId: "12345",
1011
displayId: "BA-001",
1112
name: "Main Operating Account",
1213
accountNumber: "123465",
@@ -46,6 +47,7 @@ let value: AccountingBankAccount = {
4647
| Field | Type | Required | Description | Example |
4748
| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
4849
| `id` | *string* | :heavy_check_mark: | A unique identifier for an object. | 12345 |
50+
| `downstreamId` | *string* | :heavy_minus_sign: | The third-party API ID of original entity | 12345 |
4951
| `displayId` | *string* | :heavy_minus_sign: | Display ID for the bank account | BA-001 |
5052
| `name` | *string* | :heavy_minus_sign: | The name of the bank account | Main Operating Account |
5153
| `accountNumber` | *string* | :heavy_minus_sign: | The bank account number | 123465 |
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# AccountingMethod
2+
3+
The accounting method used for the report: cash or accrual.
4+
5+
## Example Usage
6+
7+
```typescript
8+
import { AccountingMethod } from "@apideck/unify/models/components";
9+
10+
let value: AccountingMethod = "accrual";
11+
```
12+
13+
## Values
14+
15+
```typescript
16+
"cash" | "accrual"
17+
```

0 commit comments

Comments
 (0)