Skip to content

Commit 6db35d5

Browse files
committed
Release 1.0.3
1 parent 35d692b commit 6db35d5

28 files changed

+192
-206
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "openledger",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"private": false,
55
"repository": "https://github.com/openledger/openledger-typescript-sdk",
66
"main": "./index.js",

src/api/resources/banks/client/Client.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ export class Banks {
7373
Authorization: await this._getAuthorizationHeader(),
7474
"X-Fern-Language": "JavaScript",
7575
"X-Fern-SDK-Name": "openledger",
76-
"X-Fern-SDK-Version": "1.0.2",
77-
"User-Agent": "openledger/1.0.2",
76+
"X-Fern-SDK-Version": "1.0.3",
77+
"User-Agent": "openledger/1.0.3",
7878
"X-Fern-Runtime": core.RUNTIME.type,
7979
"X-Fern-Runtime-Version": core.RUNTIME.version,
8080
...requestOptions?.headers,
@@ -175,8 +175,8 @@ export class Banks {
175175
Authorization: await this._getAuthorizationHeader(),
176176
"X-Fern-Language": "JavaScript",
177177
"X-Fern-SDK-Name": "openledger",
178-
"X-Fern-SDK-Version": "1.0.2",
179-
"User-Agent": "openledger/1.0.2",
178+
"X-Fern-SDK-Version": "1.0.3",
179+
"User-Agent": "openledger/1.0.3",
180180
"X-Fern-Runtime": core.RUNTIME.type,
181181
"X-Fern-Runtime-Version": core.RUNTIME.version,
182182
...requestOptions?.headers,

src/api/resources/categories/client/Client.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ export class Categories {
7373
Authorization: await this._getAuthorizationHeader(),
7474
"X-Fern-Language": "JavaScript",
7575
"X-Fern-SDK-Name": "openledger",
76-
"X-Fern-SDK-Version": "1.0.2",
77-
"User-Agent": "openledger/1.0.2",
76+
"X-Fern-SDK-Version": "1.0.3",
77+
"User-Agent": "openledger/1.0.3",
7878
"X-Fern-Runtime": core.RUNTIME.type,
7979
"X-Fern-Runtime-Version": core.RUNTIME.version,
8080
...requestOptions?.headers,
@@ -173,8 +173,8 @@ export class Categories {
173173
Authorization: await this._getAuthorizationHeader(),
174174
"X-Fern-Language": "JavaScript",
175175
"X-Fern-SDK-Name": "openledger",
176-
"X-Fern-SDK-Version": "1.0.2",
177-
"User-Agent": "openledger/1.0.2",
176+
"X-Fern-SDK-Version": "1.0.3",
177+
"User-Agent": "openledger/1.0.3",
178178
"X-Fern-Runtime": core.RUNTIME.type,
179179
"X-Fern-Runtime-Version": core.RUNTIME.version,
180180
...requestOptions?.headers,

src/api/resources/developers/client/Client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ export class Developers {
7373
Authorization: await this._getAuthorizationHeader(),
7474
"X-Fern-Language": "JavaScript",
7575
"X-Fern-SDK-Name": "openledger",
76-
"X-Fern-SDK-Version": "1.0.2",
77-
"User-Agent": "openledger/1.0.2",
76+
"X-Fern-SDK-Version": "1.0.3",
77+
"User-Agent": "openledger/1.0.3",
7878
"X-Fern-Runtime": core.RUNTIME.type,
7979
"X-Fern-Runtime-Version": core.RUNTIME.version,
8080
...requestOptions?.headers,

src/api/resources/entities/client/Client.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ export class Entities {
7272
Authorization: await this._getAuthorizationHeader(),
7373
"X-Fern-Language": "JavaScript",
7474
"X-Fern-SDK-Name": "openledger",
75-
"X-Fern-SDK-Version": "1.0.2",
76-
"User-Agent": "openledger/1.0.2",
75+
"X-Fern-SDK-Version": "1.0.3",
76+
"User-Agent": "openledger/1.0.3",
7777
"X-Fern-Runtime": core.RUNTIME.type,
7878
"X-Fern-Runtime-Version": core.RUNTIME.version,
7979
...requestOptions?.headers,
@@ -174,8 +174,8 @@ export class Entities {
174174
Authorization: await this._getAuthorizationHeader(),
175175
"X-Fern-Language": "JavaScript",
176176
"X-Fern-SDK-Name": "openledger",
177-
"X-Fern-SDK-Version": "1.0.2",
178-
"User-Agent": "openledger/1.0.2",
177+
"X-Fern-SDK-Version": "1.0.3",
178+
"User-Agent": "openledger/1.0.3",
179179
"X-Fern-Runtime": core.RUNTIME.type,
180180
"X-Fern-Runtime-Version": core.RUNTIME.version,
181181
...requestOptions?.headers,
@@ -267,8 +267,8 @@ export class Entities {
267267
Authorization: await this._getAuthorizationHeader(),
268268
"X-Fern-Language": "JavaScript",
269269
"X-Fern-SDK-Name": "openledger",
270-
"X-Fern-SDK-Version": "1.0.2",
271-
"User-Agent": "openledger/1.0.2",
270+
"X-Fern-SDK-Version": "1.0.3",
271+
"User-Agent": "openledger/1.0.3",
272272
"X-Fern-Runtime": core.RUNTIME.type,
273273
"X-Fern-Runtime-Version": core.RUNTIME.version,
274274
...requestOptions?.headers,
@@ -366,8 +366,8 @@ export class Entities {
366366
Authorization: await this._getAuthorizationHeader(),
367367
"X-Fern-Language": "JavaScript",
368368
"X-Fern-SDK-Name": "openledger",
369-
"X-Fern-SDK-Version": "1.0.2",
370-
"User-Agent": "openledger/1.0.2",
369+
"X-Fern-SDK-Version": "1.0.3",
370+
"User-Agent": "openledger/1.0.3",
371371
"X-Fern-Runtime": core.RUNTIME.type,
372372
"X-Fern-Runtime-Version": core.RUNTIME.version,
373373
...requestOptions?.headers,
@@ -468,8 +468,8 @@ export class Entities {
468468
Authorization: await this._getAuthorizationHeader(),
469469
"X-Fern-Language": "JavaScript",
470470
"X-Fern-SDK-Name": "openledger",
471-
"X-Fern-SDK-Version": "1.0.2",
472-
"User-Agent": "openledger/1.0.2",
471+
"X-Fern-SDK-Version": "1.0.3",
472+
"User-Agent": "openledger/1.0.3",
473473
"X-Fern-Runtime": core.RUNTIME.type,
474474
"X-Fern-Runtime-Version": core.RUNTIME.version,
475475
...requestOptions?.headers,

src/api/resources/integrations/client/Client.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ export class Integrations {
7373
Authorization: await this._getAuthorizationHeader(),
7474
"X-Fern-Language": "JavaScript",
7575
"X-Fern-SDK-Name": "openledger",
76-
"X-Fern-SDK-Version": "1.0.2",
77-
"User-Agent": "openledger/1.0.2",
76+
"X-Fern-SDK-Version": "1.0.3",
77+
"User-Agent": "openledger/1.0.3",
7878
"X-Fern-Runtime": core.RUNTIME.type,
7979
"X-Fern-Runtime-Version": core.RUNTIME.version,
8080
...requestOptions?.headers,
@@ -171,8 +171,8 @@ export class Integrations {
171171
Authorization: await this._getAuthorizationHeader(),
172172
"X-Fern-Language": "JavaScript",
173173
"X-Fern-SDK-Name": "openledger",
174-
"X-Fern-SDK-Version": "1.0.2",
175-
"User-Agent": "openledger/1.0.2",
174+
"X-Fern-SDK-Version": "1.0.3",
175+
"User-Agent": "openledger/1.0.3",
176176
"X-Fern-Runtime": core.RUNTIME.type,
177177
"X-Fern-Runtime-Version": core.RUNTIME.version,
178178
...requestOptions?.headers,
@@ -272,8 +272,8 @@ export class Integrations {
272272
Authorization: await this._getAuthorizationHeader(),
273273
"X-Fern-Language": "JavaScript",
274274
"X-Fern-SDK-Name": "openledger",
275-
"X-Fern-SDK-Version": "1.0.2",
276-
"User-Agent": "openledger/1.0.2",
275+
"X-Fern-SDK-Version": "1.0.3",
276+
"User-Agent": "openledger/1.0.3",
277277
"X-Fern-Runtime": core.RUNTIME.type,
278278
"X-Fern-Runtime-Version": core.RUNTIME.version,
279279
...requestOptions?.headers,

src/api/resources/reports/client/Client.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ export class Reports {
9292
Authorization: await this._getAuthorizationHeader(),
9393
"X-Fern-Language": "JavaScript",
9494
"X-Fern-SDK-Name": "openledger",
95-
"X-Fern-SDK-Version": "1.0.2",
96-
"User-Agent": "openledger/1.0.2",
95+
"X-Fern-SDK-Version": "1.0.3",
96+
"User-Agent": "openledger/1.0.3",
9797
"X-Fern-Runtime": core.RUNTIME.type,
9898
"X-Fern-Runtime-Version": core.RUNTIME.version,
9999
...requestOptions?.headers,
@@ -203,8 +203,8 @@ export class Reports {
203203
Authorization: await this._getAuthorizationHeader(),
204204
"X-Fern-Language": "JavaScript",
205205
"X-Fern-SDK-Name": "openledger",
206-
"X-Fern-SDK-Version": "1.0.2",
207-
"User-Agent": "openledger/1.0.2",
206+
"X-Fern-SDK-Version": "1.0.3",
207+
"User-Agent": "openledger/1.0.3",
208208
"X-Fern-Runtime": core.RUNTIME.type,
209209
"X-Fern-Runtime-Version": core.RUNTIME.version,
210210
...requestOptions?.headers,
@@ -327,8 +327,8 @@ export class Reports {
327327
Authorization: await this._getAuthorizationHeader(),
328328
"X-Fern-Language": "JavaScript",
329329
"X-Fern-SDK-Name": "openledger",
330-
"X-Fern-SDK-Version": "1.0.2",
331-
"User-Agent": "openledger/1.0.2",
330+
"X-Fern-SDK-Version": "1.0.3",
331+
"User-Agent": "openledger/1.0.3",
332332
"X-Fern-Runtime": core.RUNTIME.type,
333333
"X-Fern-Runtime-Version": core.RUNTIME.version,
334334
...requestOptions?.headers,

src/api/resources/transactions/client/Client.ts

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ export class Transactions {
8181
Authorization: await this._getAuthorizationHeader(),
8282
"X-Fern-Language": "JavaScript",
8383
"X-Fern-SDK-Name": "openledger",
84-
"X-Fern-SDK-Version": "1.0.2",
85-
"User-Agent": "openledger/1.0.2",
84+
"X-Fern-SDK-Version": "1.0.3",
85+
"User-Agent": "openledger/1.0.3",
8686
"X-Fern-Runtime": core.RUNTIME.type,
8787
"X-Fern-Runtime-Version": core.RUNTIME.version,
8888
...requestOptions?.headers,
@@ -183,8 +183,8 @@ export class Transactions {
183183
Authorization: await this._getAuthorizationHeader(),
184184
"X-Fern-Language": "JavaScript",
185185
"X-Fern-SDK-Name": "openledger",
186-
"X-Fern-SDK-Version": "1.0.2",
187-
"User-Agent": "openledger/1.0.2",
186+
"X-Fern-SDK-Version": "1.0.3",
187+
"User-Agent": "openledger/1.0.3",
188188
"X-Fern-Runtime": core.RUNTIME.type,
189189
"X-Fern-Runtime-Version": core.RUNTIME.version,
190190
...requestOptions?.headers,
@@ -287,8 +287,8 @@ export class Transactions {
287287
Authorization: await this._getAuthorizationHeader(),
288288
"X-Fern-Language": "JavaScript",
289289
"X-Fern-SDK-Name": "openledger",
290-
"X-Fern-SDK-Version": "1.0.2",
291-
"User-Agent": "openledger/1.0.2",
290+
"X-Fern-SDK-Version": "1.0.3",
291+
"User-Agent": "openledger/1.0.3",
292292
"X-Fern-Runtime": core.RUNTIME.type,
293293
"X-Fern-Runtime-Version": core.RUNTIME.version,
294294
...requestOptions?.headers,
@@ -385,8 +385,8 @@ export class Transactions {
385385
Authorization: await this._getAuthorizationHeader(),
386386
"X-Fern-Language": "JavaScript",
387387
"X-Fern-SDK-Name": "openledger",
388-
"X-Fern-SDK-Version": "1.0.2",
389-
"User-Agent": "openledger/1.0.2",
388+
"X-Fern-SDK-Version": "1.0.3",
389+
"User-Agent": "openledger/1.0.3",
390390
"X-Fern-Runtime": core.RUNTIME.type,
391391
"X-Fern-Runtime-Version": core.RUNTIME.version,
392392
...requestOptions?.headers,
@@ -489,8 +489,8 @@ export class Transactions {
489489
Authorization: await this._getAuthorizationHeader(),
490490
"X-Fern-Language": "JavaScript",
491491
"X-Fern-SDK-Name": "openledger",
492-
"X-Fern-SDK-Version": "1.0.2",
493-
"User-Agent": "openledger/1.0.2",
492+
"X-Fern-SDK-Version": "1.0.3",
493+
"User-Agent": "openledger/1.0.3",
494494
"X-Fern-Runtime": core.RUNTIME.type,
495495
"X-Fern-Runtime-Version": core.RUNTIME.version,
496496
...requestOptions?.headers,
@@ -594,8 +594,8 @@ export class Transactions {
594594
Authorization: await this._getAuthorizationHeader(),
595595
"X-Fern-Language": "JavaScript",
596596
"X-Fern-SDK-Name": "openledger",
597-
"X-Fern-SDK-Version": "1.0.2",
598-
"User-Agent": "openledger/1.0.2",
597+
"X-Fern-SDK-Version": "1.0.3",
598+
"User-Agent": "openledger/1.0.3",
599599
"X-Fern-Runtime": core.RUNTIME.type,
600600
"X-Fern-Runtime-Version": core.RUNTIME.version,
601601
...requestOptions?.headers,
@@ -697,8 +697,8 @@ export class Transactions {
697697
Authorization: await this._getAuthorizationHeader(),
698698
"X-Fern-Language": "JavaScript",
699699
"X-Fern-SDK-Name": "openledger",
700-
"X-Fern-SDK-Version": "1.0.2",
701-
"User-Agent": "openledger/1.0.2",
700+
"X-Fern-SDK-Version": "1.0.3",
701+
"User-Agent": "openledger/1.0.3",
702702
"X-Fern-Runtime": core.RUNTIME.type,
703703
"X-Fern-Runtime-Version": core.RUNTIME.version,
704704
...requestOptions?.headers,
@@ -802,8 +802,8 @@ export class Transactions {
802802
Authorization: await this._getAuthorizationHeader(),
803803
"X-Fern-Language": "JavaScript",
804804
"X-Fern-SDK-Name": "openledger",
805-
"X-Fern-SDK-Version": "1.0.2",
806-
"User-Agent": "openledger/1.0.2",
805+
"X-Fern-SDK-Version": "1.0.3",
806+
"User-Agent": "openledger/1.0.3",
807807
"X-Fern-Runtime": core.RUNTIME.type,
808808
"X-Fern-Runtime-Version": core.RUNTIME.version,
809809
...requestOptions?.headers,
@@ -921,8 +921,8 @@ export class Transactions {
921921
Authorization: await this._getAuthorizationHeader(),
922922
"X-Fern-Language": "JavaScript",
923923
"X-Fern-SDK-Name": "openledger",
924-
"X-Fern-SDK-Version": "1.0.2",
925-
"User-Agent": "openledger/1.0.2",
924+
"X-Fern-SDK-Version": "1.0.3",
925+
"User-Agent": "openledger/1.0.3",
926926
"X-Fern-Runtime": core.RUNTIME.type,
927927
"X-Fern-Runtime-Version": core.RUNTIME.version,
928928
...requestOptions?.headers,
@@ -1029,8 +1029,8 @@ export class Transactions {
10291029
Authorization: await this._getAuthorizationHeader(),
10301030
"X-Fern-Language": "JavaScript",
10311031
"X-Fern-SDK-Name": "openledger",
1032-
"X-Fern-SDK-Version": "1.0.2",
1033-
"User-Agent": "openledger/1.0.2",
1032+
"X-Fern-SDK-Version": "1.0.3",
1033+
"User-Agent": "openledger/1.0.3",
10341034
"X-Fern-Runtime": core.RUNTIME.type,
10351035
"X-Fern-Runtime-Version": core.RUNTIME.version,
10361036
...requestOptions?.headers,

src/api/resources/transactions/types/GetV1TransactionsByMonthResponseItem.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@
22
* This file was auto-generated by Fern from our API Definition.
33
*/
44

5+
import * as OpenLedgerClient from "../../../index";
6+
57
export interface GetV1TransactionsByMonthResponseItem {
68
/** The year of the transactions */
79
year?: number;
810
/** The month of the transactions (1-12) */
911
month?: number;
1012
/** The net change in balance for the month */
1113
delta?: number;
14+
/** Breakdown of transactions by Plaid account */
15+
plaidAccountBreakdown?: OpenLedgerClient.GetV1TransactionsByMonthResponseItemPlaidAccountBreakdownItem[];
1216
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/**
2+
* This file was auto-generated by Fern from our API Definition.
3+
*/
4+
5+
export interface GetV1TransactionsByMonthResponseItemPlaidAccountBreakdownItem {
6+
/** Plaid account ID */
7+
id?: string;
8+
/** Account name */
9+
name?: string;
10+
/** Account number mask */
11+
mask?: string;
12+
/** Net change for this account in this month */
13+
delta?: number;
14+
}

src/api/resources/transactions/types/GetV1TransactionsResponseTransactionsItem.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ export interface GetV1TransactionsResponseTransactionsItem {
2323
categoryId?: string;
2424
debitAccount?: OpenLedgerClient.GetV1TransactionsResponseTransactionsItemDebitAccount;
2525
creditAccount?: OpenLedgerClient.GetV1TransactionsResponseTransactionsItemCreditAccount;
26+
plaidAccount?: OpenLedgerClient.GetV1TransactionsResponseTransactionsItemPlaidAccount;
2627
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/**
2+
* This file was auto-generated by Fern from our API Definition.
3+
*/
4+
5+
export interface GetV1TransactionsResponseTransactionsItemPlaidAccount {
6+
id?: string;
7+
name?: string;
8+
type?: string;
9+
subtype?: string;
10+
mask?: string;
11+
institutionId?: string;
12+
}

src/api/resources/transactions/types/PostV1TransactionsEditResponse.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22
* This file was auto-generated by Fern from our API Definition.
33
*/
44

5-
import * as OpenLedgerClient from "../../../index";
6-
75
export interface PostV1TransactionsEditResponse {
8-
transaction?: OpenLedgerClient.PostV1TransactionsEditResponseTransaction;
9-
/** Result of the update operation */
10-
updateResult?: Record<string, unknown>;
6+
id?: string;
7+
debitAccountId?: number;
8+
description?: string;
9+
creditAccountId?: number;
1110
}

src/api/resources/transactions/types/PostV1TransactionsEditResponseTransaction.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/api/resources/transactions/types/PostV1TransactionsEditResponseTransactionCreditAccount.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/api/resources/transactions/types/PostV1TransactionsEditResponseTransactionDebitAccount.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)