degroshi 1.0.0-beta.1 → 1.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +67 -0
- package/README.md +21 -1
- package/dist/client.d.ts +77 -11
- package/dist/client.js +171 -19
- package/dist/client.js.map +1 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/sdk.gen.d.ts +102 -6
- package/dist/generated/sdk.gen.js +185 -5
- package/dist/generated/sdk.gen.js.map +1 -1
- package/dist/generated/types.gen.d.ts +1484 -113
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/retry.d.ts +4 -1
- package/dist/retry.js +22 -1
- package/dist/retry.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,73 @@
|
|
|
3
3
|
Versions follow semver; the major version follows the API's (v1). The API part of each entry comes from comparing the
|
|
4
4
|
public spec with the last release (oasdiff); the SDK part lists SDK-only changes.
|
|
5
5
|
|
|
6
|
+
## 1.0.0-beta.3 (2026-11-16)
|
|
7
|
+
|
|
8
|
+
### API
|
|
9
|
+
|
|
10
|
+
- Webhook endpoints can be managed with a token that holds `webhooks:manage` (the `full` preset has it):
|
|
11
|
+
`GET`/`POST /v1/webhooks`, `GET`/`PATCH`/`DELETE /v1/webhooks/{id}`, `pause`, `resume`, `rotate-secret`, `test`,
|
|
12
|
+
`resend`, `stats`, `deliveries` and a delivery's `resend`, plus `GET /v1/webhooks/event-types`. A token manages the
|
|
13
|
+
endpoints of the request's space alone whose every event type its scopes read; `space_ids` may be left out on
|
|
14
|
+
create (it can name only that space, else 403 `WHK_009`), and an event type the token can't read answers 403
|
|
15
|
+
`AUTH_007` with `details.required_scope`. The answers to creating and rotating carry the secret; a token can't
|
|
16
|
+
read it back. `CreateEndpointRequest.space_ids` is no longer required.
|
|
17
|
+
- `GET /v1/transactions/day-totals`: every day and the response carry `count`, how many rows the list shows for the
|
|
18
|
+
same filters (transfers and cancelled rows included). A day with rows but no money (transfers alone) now appears
|
|
19
|
+
with `spent` and `earned` at 0. Every list filter it already took is now documented on it: places, project,
|
|
20
|
+
counterparty, recurring rule, import, tax review, `include_portfolio_transfers` and `one_row_per_transfer`.
|
|
21
|
+
- `GET /v1/analytics/net-worth` takes `share`. With `account_ids` (an account's own chart), `whole` shows those
|
|
22
|
+
accounts as they are: the whole balance and every operation, an account shared with you included. Without
|
|
23
|
+
`account_ids`, net worth counts your part, as before.
|
|
24
|
+
- `share` on the analytics endpoints and `GET /v1/transactions/day-totals` is documented: `mine` (your part of an
|
|
25
|
+
account shared with you, the default) or `whole` (the whole account). It used to read "Reserved".
|
|
26
|
+
- `AccountBrand.color`: our swatch (a hex colour) for a curated bank or exchange domain, which a provider's folder
|
|
27
|
+
uses as its tint; absent for other domains.
|
|
28
|
+
- A refused key gets a code that says why: `AUTH_041` (not a whole key), `AUTH_042` (no such key), `AUTH_043`
|
|
29
|
+
(expired, `details.expired_at`) and `AUTH_044` (revoked, `details.revoked_at`). They all used to be `AUTH_048`,
|
|
30
|
+
which now covers only the remaining cases; all of them are still 401. A key is also accepted as
|
|
31
|
+
`Authorization: Bearer dg_pat_…`.
|
|
32
|
+
- New webhook signing secrets start with `dg_whsec_`; secrets starting with `whsec_` keep working.
|
|
33
|
+
- A shared account says who has access: `grant.people` (on an account shared with you) lists the owner first, then
|
|
34
|
+
everyone with access, with `user_id`, `name` (the owner's full name, everyone else's first name), `first_name`,
|
|
35
|
+
`avatar_url`, `role` (`owner`, `balance`, `view` or `write`) and `is_owner`; `shared_with` (on your own account)
|
|
36
|
+
gains `user_id` and `avatar_url` once a person accepts. The account sharing fields are no longer marked reserved.
|
|
37
|
+
|
|
38
|
+
### SDK
|
|
39
|
+
|
|
40
|
+
- `degroshi.webhooks` manages endpoints: `eventTypes`, `list`, `get`, `create`, `update`, `delete`, `pause`, `resume`,
|
|
41
|
+
`rotateSecret`, `sendTest`, `stats`, `deliveries`, `iterateDeliveries` (follows `meta.next_cursor`), `delivery`,
|
|
42
|
+
`resendDelivery` and `resend`, beside `verify`. `create` isn't retried: a second try could make a second endpoint.
|
|
43
|
+
|
|
44
|
+
## 1.0.0-beta.2 (2026-11-14)
|
|
45
|
+
|
|
46
|
+
### API
|
|
47
|
+
|
|
48
|
+
- Every operation documents its `429 Too Many Requests` answer (error code `BIZ_080`) with the `Retry-After` and
|
|
49
|
+
`X-RateLimit-*` headers.
|
|
50
|
+
- The operations that convert money (accounts, transactions, budgets, recurring occurrences, analytics) document the
|
|
51
|
+
optional `X-Display-Currency` header.
|
|
52
|
+
- The reference reads in English throughout: descriptions and examples no longer quote the app's Ukrainian labels,
|
|
53
|
+
and name fields by their JSON names. `x-error-codes` lists only the codes the API answers with, each with its HTTP
|
|
54
|
+
statuses.
|
|
55
|
+
- `GET /v1/changes`: the change feed, everything that changed since a cursor, deletions included.
|
|
56
|
+
- Transactions carry `linked_activity`: the crypto wallet or exchange activity a row was recorded from (network, hash,
|
|
57
|
+
explorer link, amount and fee legs, status), on reads and in the `transaction.created` / `transaction.updated`
|
|
58
|
+
webhooks.
|
|
59
|
+
- Recurring payments can wait for confirmation: a rule's `mode` gains `confirm`, an occurrence's `status` gains
|
|
60
|
+
`awaiting_confirmation`, and `POST /v1/transactions` takes `recurring_occurrence` to record a waiting payment.
|
|
61
|
+
- Transactions have a place: `place`, `place_id` and `place_source` on reads and writes, and the list filters `city`,
|
|
62
|
+
`country`, `online` and `place_id`. Places aren't switched on yet, so these stay empty for now.
|
|
63
|
+
|
|
64
|
+
### SDK
|
|
65
|
+
|
|
66
|
+
- `changes.list()` and `changes.iterate()`: a `ChangeFeed` that pages the feed and keeps `cursor` for the next read.
|
|
67
|
+
- `recurring.list()` and `get()`, `analytics.summary()`, `spending()` and `trends()`, and `sources.list()`, `get()`,
|
|
68
|
+
`create()`, `update()` and `upsertAccount()` return their response types instead of `unknown`.
|
|
69
|
+
- A delete retried after a lost answer (a dropped connection, a timeout, a 5xx) that then finds nothing (404) counts
|
|
70
|
+
as done: the earlier try deleted it. The stand-in answer is a 204 with `X-Degroshi-Retried-Delete: true`
|
|
71
|
+
(`RETRIED_DELETE_HEADER`). A 404 on the first try still throws `NotFoundError`.
|
|
72
|
+
|
|
6
73
|
## 1.0.0-beta.1 (2026-11-13)
|
|
7
74
|
|
|
8
75
|
### API
|
package/README.md
CHANGED
|
@@ -46,6 +46,24 @@ for await (const transaction of degroshi.transactions.iterate({ from_date: "2026
|
|
|
46
46
|
|
|
47
47
|
Lists that use cursors (`sources.iteratePushed`, `events.iterate`) follow `next_cursor` the same way.
|
|
48
48
|
|
|
49
|
+
## Keeping a copy
|
|
50
|
+
|
|
51
|
+
`changes.iterate()` reads the change feed (`GET /v1/changes`): everything that changed since your cursor, deletions
|
|
52
|
+
included, in the order the changes were saved. Without a cursor it starts with every object. Save `feed.cursor` after
|
|
53
|
+
the loop and pass it next time:
|
|
54
|
+
|
|
55
|
+
```ts
|
|
56
|
+
const feed = degroshi.changes.iterate({ cursor: saved, types: ["transaction"] })
|
|
57
|
+
for await (const change of feed) {
|
|
58
|
+
if (change.op === "delete") copy.delete(change.id)
|
|
59
|
+
else copy.set(change.id, change.data)
|
|
60
|
+
}
|
|
61
|
+
save(feed.cursor)
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
A cursor that can't continue (the space's access changed, 180 days passed) throws a `DegroshiError` with status 410
|
|
65
|
+
and code `CHANGES_RESYNC_REQUIRED`: read again without a cursor and replace the copy.
|
|
66
|
+
|
|
49
67
|
## Money
|
|
50
68
|
|
|
51
69
|
Amounts are strings, exactly as the API sends them (`"642.30"`), so no precision is lost. Don't turn them into
|
|
@@ -89,7 +107,8 @@ try {
|
|
|
89
107
|
|
|
90
108
|
Requests that are safe to repeat are retried on network failures, 408, 429, 500, 502, 503 and 504, with backoff and
|
|
91
109
|
respecting `Retry-After`. `maxRetries` sets how many times (default 2), and `timeoutMs` how long one try may take (default
|
|
92
|
-
60 000).
|
|
110
|
+
60 000). A delete retried after a lost answer that then finds nothing has been done by the earlier try, so it resolves
|
|
111
|
+
instead of throwing `NotFoundError` (the stand-in answer is a 204 with the `RETRIED_DELETE_HEADER` header).
|
|
93
112
|
|
|
94
113
|
## Webhooks
|
|
95
114
|
|
|
@@ -114,6 +133,7 @@ you can catch up after downtime.
|
|
|
114
133
|
- [Developer guide](https://docs.degroshi.com/en/developers): tokens, spaces, limits and errors.
|
|
115
134
|
- [API reference](https://docs.degroshi.com/en/developers/api/me/list-my-spaces): every endpoint and its fields.
|
|
116
135
|
- [Webhooks](https://docs.degroshi.com/en/developers/webhooks): events, signatures and retries.
|
|
136
|
+
- [Keeping a copy](https://docs.degroshi.com/en/developers/changes): the change feed and a Google Sheets recipe.
|
|
117
137
|
|
|
118
138
|
## Versions
|
|
119
139
|
|
package/dist/client.d.ts
CHANGED
|
@@ -39,6 +39,31 @@ export interface WriteOptions {
|
|
|
39
39
|
export interface EditOptions {
|
|
40
40
|
ifMatch?: string | number | null;
|
|
41
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* Every change since a cursor, page after page (GET /v1/changes), for keeping a copy: `degroshi.changes.iterate()`.
|
|
44
|
+
* `feed.cursor` is where the next read starts; save it after the loop and pass it as `cursor` next time. A cursor that
|
|
45
|
+
* can't continue throws a DegroshiError with status 410 (code CHANGES_RESYNC_REQUIRED): read again without a cursor
|
|
46
|
+
* and replace the copy.
|
|
47
|
+
*
|
|
48
|
+
* ```ts
|
|
49
|
+
* const feed = degroshi.changes.iterate({ cursor: saved, types: ["transaction"] })
|
|
50
|
+
* for await (const change of feed) {
|
|
51
|
+
* if (change.op === "delete") copy.delete(change.id)
|
|
52
|
+
* else copy.set(change.id, change.data)
|
|
53
|
+
* }
|
|
54
|
+
* save(feed.cursor)
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
export declare class ChangeFeed implements AsyncIterable<T.Change> {
|
|
58
|
+
/**
|
|
59
|
+
* Where reading again starts: the start of the page being read, and each page's next_cursor once all of its changes
|
|
60
|
+
* were taken. Stopping early is safe: reading from it again repeats at most the rest of a page (apply by id).
|
|
61
|
+
*/
|
|
62
|
+
cursor: string | undefined;
|
|
63
|
+
private readonly read;
|
|
64
|
+
constructor(read: (cursor: string | undefined) => Promise<T.ChangesResponse>, cursor?: string);
|
|
65
|
+
[Symbol.asyncIterator](): AsyncGenerator<T.Change>;
|
|
66
|
+
}
|
|
42
67
|
/**
|
|
43
68
|
* The Degroshi API client. Amounts are strings, as the API sends them ("642.30"): never parse them into numbers when
|
|
44
69
|
* you add them up.
|
|
@@ -87,27 +112,27 @@ export declare class Degroshi {
|
|
|
87
112
|
get: (id: string) => Promise<T.BudgetResponse>;
|
|
88
113
|
};
|
|
89
114
|
readonly recurring: {
|
|
90
|
-
list: (query?: QueryOf<T.ListRecurringTransactionsData>) => Promise<
|
|
91
|
-
get: (id: string) => Promise<
|
|
115
|
+
list: (query?: QueryOf<T.ListRecurringTransactionsData>) => Promise<T.RecurringResponse[]>;
|
|
116
|
+
get: (id: string) => Promise<T.RecurringResponse>;
|
|
92
117
|
occurrences: (query?: QueryOf<T.ListRecurringOccurrencesData>) => Promise<T.OccurrencesResponse>;
|
|
93
118
|
};
|
|
94
119
|
readonly analytics: {
|
|
95
|
-
summary: (query: QueryOf<T.GetAnalyticsSummaryData>) => Promise<
|
|
120
|
+
summary: (query: QueryOf<T.GetAnalyticsSummaryData>) => Promise<T.SummaryResponse>;
|
|
96
121
|
cashFlow: (query: QueryOf<T.GetAnalyticsCashFlowData>) => Promise<T.CashFlowResponse>;
|
|
97
122
|
categories: (query: QueryOf<T.GetAnalyticsCategoriesData>) => Promise<T.CategoryAnalyticsResponse>;
|
|
98
|
-
spending: (query: QueryOf<T.GetAnalyticsSpendingData>) => Promise<
|
|
99
|
-
trends: (query: QueryOf<T.GetAnalyticsTrendsData>) => Promise<
|
|
123
|
+
spending: (query: QueryOf<T.GetAnalyticsSpendingData>) => Promise<T.SpendingResponse>;
|
|
124
|
+
trends: (query: QueryOf<T.GetAnalyticsTrendsData>) => Promise<T.TrendsResponse>;
|
|
100
125
|
merchants: (query: QueryOf<T.GetAnalyticsMerchantsData>) => Promise<T.MerchantAnalyticsResponse>;
|
|
101
126
|
netWorth: (query: QueryOf<T.GetAnalyticsNetWorthData>) => Promise<T.NetWorthTimeSeriesResponse>;
|
|
102
127
|
};
|
|
103
128
|
/** Custom sources: push accounts, transactions and balances from your own system. */
|
|
104
129
|
readonly sources: {
|
|
105
|
-
list: () => Promise<
|
|
106
|
-
get: (id: string) => Promise<
|
|
107
|
-
create: (body: BodyOf<T.CreateSourceData>, options?: WriteOptions) => Promise<
|
|
108
|
-
update: (id: string, body: BodyOf<T.UpdateSourceData>) => Promise<
|
|
130
|
+
list: () => Promise<T.SourceResponse[]>;
|
|
131
|
+
get: (id: string) => Promise<T.SourceResponse>;
|
|
132
|
+
create: (body: BodyOf<T.CreateSourceData>, options?: WriteOptions) => Promise<T.SourceResponse>;
|
|
133
|
+
update: (id: string, body: BodyOf<T.UpdateSourceData>) => Promise<T.SourceResponse>;
|
|
109
134
|
delete: (id: string) => Promise<undefined>;
|
|
110
|
-
upsertAccount: (id: string, externalId: string, body: BodyOf<T.UpsertSourceAccountData>) => Promise<
|
|
135
|
+
upsertAccount: (id: string, externalId: string, body: BodyOf<T.UpsertSourceAccountData>) => Promise<T.UpsertAccountResponse>;
|
|
111
136
|
/** Up to 500 rows; safe to retry (an Idempotency-Key is sent for you). */
|
|
112
137
|
pushTransactions: (id: string, body: BodyOf<T.PushSourceTransactionsData>, options?: WriteOptions) => Promise<T.PushBatchResponse>;
|
|
113
138
|
pushBalances: (id: string, body: BodyOf<T.PushSourceBalancesData>, options?: WriteOptions) => Promise<T.BalanceBatchResponse>;
|
|
@@ -117,6 +142,13 @@ export declare class Degroshi {
|
|
|
117
142
|
iteratePushed: (id: string, query: QueryOf<T.ListSourceTransactionsData>) => AsyncGenerator<T.PushedRow, any, any>;
|
|
118
143
|
deletePushed: (id: string, account: string, externalId: string) => Promise<undefined>;
|
|
119
144
|
};
|
|
145
|
+
/** What changed in the space since a cursor, deletions included, in the order the changes were saved. */
|
|
146
|
+
readonly changes: {
|
|
147
|
+
/** One page: `items`, `next_cursor` (keep it, even when `items` is empty) and `has_more`. */
|
|
148
|
+
list: (query?: QueryOf<T.ListChangesData>) => Promise<T.ChangesResponse>;
|
|
149
|
+
/** Every change since `cursor` (every object first without one); `feed.cursor` is where to start next time. */
|
|
150
|
+
iterate: (query?: QueryOf<T.ListChangesData>) => ChangeFeed;
|
|
151
|
+
};
|
|
120
152
|
/** The space's events of the last 30 days, as webhook endpoints receive them. */
|
|
121
153
|
readonly events: {
|
|
122
154
|
list: (query?: QueryOf<T.ListEventsData>) => Promise<{
|
|
@@ -128,13 +160,47 @@ export declare class Degroshi {
|
|
|
128
160
|
iterate: (query?: QueryOf<T.ListEventsData>) => AsyncGenerator<WebhookEvent, any, any>;
|
|
129
161
|
get: (id: string) => Promise<WebhookEvent>;
|
|
130
162
|
};
|
|
131
|
-
/**
|
|
163
|
+
/**
|
|
164
|
+
* Webhook endpoints of the space (a token with `webhooks:manage`, for event types its scopes read), and signatures:
|
|
165
|
+
* `await degroshi.webhooks.verify(rawBody, request.headers.get("Degroshi-Signature"), secret)`.
|
|
166
|
+
*/
|
|
132
167
|
readonly webhooks: {
|
|
168
|
+
/** The event types an endpoint can take, with a made-up sample of each. */
|
|
169
|
+
eventTypes: () => Promise<T.CatalogEntry[]>;
|
|
170
|
+
list: () => Promise<T.EndpointResponse[]>;
|
|
171
|
+
get: (id: string) => Promise<T.EndpointResponse>;
|
|
172
|
+
/**
|
|
173
|
+
* A new endpoint in the space; the answer carries its signing secret, which a token can't read back. Not retried:
|
|
174
|
+
* a second try could make a second endpoint.
|
|
175
|
+
*/
|
|
176
|
+
create: (body: BodyOf<T.CreateWebhookData>) => Promise<T.CreatedEndpointResponse>;
|
|
177
|
+
update: (id: string, body: BodyOf<T.UpdateWebhookData>) => Promise<T.EndpointResponse>;
|
|
178
|
+
delete: (id: string) => Promise<undefined>;
|
|
179
|
+
pause: (id: string) => Promise<T.EndpointResponse>;
|
|
180
|
+
resume: (id: string) => Promise<T.EndpointResponse>;
|
|
181
|
+
/** A new secret; the old one keeps signing for `overlap_hours` (0, 1, 24 or 72). */
|
|
182
|
+
rotateSecret: (id: string, body: BodyOf<T.RotateWebhookSecretData>) => Promise<T.SecretResponse>;
|
|
183
|
+
/** A made-up event (`webhook.test` without a type), marked `test: true`. */
|
|
184
|
+
sendTest: (id: string, body?: BodyOf<T.SendWebhookTestData>) => Promise<T.DeliverySummary>;
|
|
185
|
+
stats: (id: string, query?: QueryOf<T.GetWebhookStatsData>) => Promise<T.StatsResponse>;
|
|
186
|
+
/** One page of the endpoint's log, newest first: `data` and `meta.next_cursor`. */
|
|
187
|
+
deliveries: (id: string, query?: QueryOf<T.ListWebhookDeliveriesData>) => Promise<{
|
|
188
|
+
data: T.DeliverySummary[];
|
|
189
|
+
meta: T.DeliveryCursorMeta;
|
|
190
|
+
}>;
|
|
191
|
+
/** Every delivery of the log, following `meta.next_cursor`. */
|
|
192
|
+
iterateDeliveries: (id: string, query?: QueryOf<T.ListWebhookDeliveriesData>) => AsyncGenerator<T.DeliverySummary, any, any>;
|
|
193
|
+
delivery: (id: string, deliveryId: string) => Promise<T.DeliveryDetail>;
|
|
194
|
+
resendDelivery: (id: string, deliveryId: string) => Promise<T.DeliverySummary>;
|
|
195
|
+
/** The failed and skipped deliveries between `from` and `to`, again (at most 30 days). */
|
|
196
|
+
resend: (id: string, body: BodyOf<T.ResendWebhookDeliveriesData>) => Promise<T.ResendRangeResponse>;
|
|
133
197
|
verify: (rawBody: string | Uint8Array | ArrayBuffer, header: string | null | undefined, secret: string, options?: VerifyOptions) => Promise<WebhookEvent>;
|
|
134
198
|
};
|
|
135
199
|
private iterateTransactions;
|
|
136
200
|
private eventPage;
|
|
137
201
|
private iterateEvents;
|
|
202
|
+
private deliveryPage;
|
|
203
|
+
private iterateDeliveryRows;
|
|
138
204
|
private iteratePushedRows;
|
|
139
205
|
}
|
|
140
206
|
export { DegroshiError };
|
package/dist/client.js
CHANGED
|
@@ -1,9 +1,45 @@
|
|
|
1
|
-
import { createClient, createConfig } from "./generated/client/index.js";
|
|
1
|
+
import { createClient, createConfig, } from "./generated/client/index.js";
|
|
2
2
|
import * as api from "./generated/sdk.gen.js";
|
|
3
|
-
import { ApiConnectionError, DegroshiError, errorBodyOf, errorFor } from "./errors.js";
|
|
3
|
+
import { ApiConnectionError, DegroshiError, errorBodyOf, errorFor, } from "./errors.js";
|
|
4
4
|
import { retryingFetch } from "./retry.js";
|
|
5
5
|
import { SDK_VERSION } from "./version.js";
|
|
6
|
-
import { verifyWebhook } from "./webhooks.js";
|
|
6
|
+
import { verifyWebhook, } from "./webhooks.js";
|
|
7
|
+
/**
|
|
8
|
+
* Every change since a cursor, page after page (GET /v1/changes), for keeping a copy: `degroshi.changes.iterate()`.
|
|
9
|
+
* `feed.cursor` is where the next read starts; save it after the loop and pass it as `cursor` next time. A cursor that
|
|
10
|
+
* can't continue throws a DegroshiError with status 410 (code CHANGES_RESYNC_REQUIRED): read again without a cursor
|
|
11
|
+
* and replace the copy.
|
|
12
|
+
*
|
|
13
|
+
* ```ts
|
|
14
|
+
* const feed = degroshi.changes.iterate({ cursor: saved, types: ["transaction"] })
|
|
15
|
+
* for await (const change of feed) {
|
|
16
|
+
* if (change.op === "delete") copy.delete(change.id)
|
|
17
|
+
* else copy.set(change.id, change.data)
|
|
18
|
+
* }
|
|
19
|
+
* save(feed.cursor)
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export class ChangeFeed {
|
|
23
|
+
/**
|
|
24
|
+
* Where reading again starts: the start of the page being read, and each page's next_cursor once all of its changes
|
|
25
|
+
* were taken. Stopping early is safe: reading from it again repeats at most the rest of a page (apply by id).
|
|
26
|
+
*/
|
|
27
|
+
cursor;
|
|
28
|
+
read;
|
|
29
|
+
constructor(read, cursor) {
|
|
30
|
+
this.read = read;
|
|
31
|
+
this.cursor = cursor;
|
|
32
|
+
}
|
|
33
|
+
async *[Symbol.asyncIterator]() {
|
|
34
|
+
for (;;) {
|
|
35
|
+
const page = await this.read(this.cursor);
|
|
36
|
+
yield* page.items ?? [];
|
|
37
|
+
this.cursor = page.next_cursor;
|
|
38
|
+
if (!page.has_more)
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
7
43
|
function readEnv(name) {
|
|
8
44
|
const env = globalThis.process?.env;
|
|
9
45
|
return env?.[name];
|
|
@@ -24,7 +60,9 @@ export class Degroshi {
|
|
|
24
60
|
const apiKey = options.apiKey ?? readEnv("DEGROSHI_API_KEY");
|
|
25
61
|
if (!apiKey)
|
|
26
62
|
throw new Error("degroshi: pass apiKey or set DEGROSHI_API_KEY");
|
|
27
|
-
const headers = {
|
|
63
|
+
const headers = {
|
|
64
|
+
"X-Degroshi-SDK": `js/${SDK_VERSION}`,
|
|
65
|
+
};
|
|
28
66
|
if (options.spaceId)
|
|
29
67
|
headers["X-Space-ID"] = options.spaceId;
|
|
30
68
|
this.client = createClient(createConfig({
|
|
@@ -44,7 +82,9 @@ export class Degroshi {
|
|
|
44
82
|
if (response?.ok)
|
|
45
83
|
return (result.data ?? {});
|
|
46
84
|
if (!response) {
|
|
47
|
-
throw result.error instanceof Error
|
|
85
|
+
throw result.error instanceof Error
|
|
86
|
+
? result.error
|
|
87
|
+
: new ApiConnectionError(result.error);
|
|
48
88
|
}
|
|
49
89
|
throw errorFor(response.status, errorBodyOf(response.status, result.error), response.headers);
|
|
50
90
|
}
|
|
@@ -53,13 +93,18 @@ export class Degroshi {
|
|
|
53
93
|
}
|
|
54
94
|
async page(call) {
|
|
55
95
|
const envelope = await this.envelope(call);
|
|
56
|
-
return {
|
|
96
|
+
return {
|
|
97
|
+
data: (envelope.data ?? []),
|
|
98
|
+
meta: envelope.meta,
|
|
99
|
+
};
|
|
57
100
|
}
|
|
58
101
|
writeHeaders(options = {}) {
|
|
59
102
|
return { "Idempotency-Key": options.idempotencyKey ?? crypto.randomUUID() };
|
|
60
103
|
}
|
|
61
104
|
editHeaders(options = {}) {
|
|
62
|
-
return options.ifMatch == null
|
|
105
|
+
return options.ifMatch == null
|
|
106
|
+
? {}
|
|
107
|
+
: { "If-Match": String(options.ifMatch) };
|
|
63
108
|
}
|
|
64
109
|
/** The spaces the token reaches. */
|
|
65
110
|
spaces = {
|
|
@@ -76,9 +121,22 @@ export class Degroshi {
|
|
|
76
121
|
/** Every matching transaction, page after page. */
|
|
77
122
|
iterate: (query = {}) => this.iterateTransactions(query),
|
|
78
123
|
get: (id) => this.one(api.getTransaction({ client: this.client, path: { id } })),
|
|
79
|
-
create: (body, options) => this.one(api.createTransaction({
|
|
80
|
-
|
|
81
|
-
|
|
124
|
+
create: (body, options) => this.one(api.createTransaction({
|
|
125
|
+
client: this.client,
|
|
126
|
+
body,
|
|
127
|
+
headers: this.writeHeaders(options),
|
|
128
|
+
})),
|
|
129
|
+
update: (id, body, options) => this.one(api.updateTransaction({
|
|
130
|
+
client: this.client,
|
|
131
|
+
path: { id },
|
|
132
|
+
body,
|
|
133
|
+
headers: this.editHeaders(options),
|
|
134
|
+
})),
|
|
135
|
+
delete: (id, options) => this.envelope(api.deleteTransaction({
|
|
136
|
+
client: this.client,
|
|
137
|
+
path: { id },
|
|
138
|
+
headers: this.editHeaders(options),
|
|
139
|
+
})).then(() => undefined),
|
|
82
140
|
dayTotals: (query) => this.one(api.getTransactionDayTotals({ client: this.client, query })),
|
|
83
141
|
};
|
|
84
142
|
categories = {
|
|
@@ -107,18 +165,50 @@ export class Degroshi {
|
|
|
107
165
|
sources = {
|
|
108
166
|
list: () => this.one(api.listSources({ client: this.client })),
|
|
109
167
|
get: (id) => this.one(api.getSource({ client: this.client, path: { id } })),
|
|
110
|
-
create: (body, options) => this.one(api.createSource({
|
|
168
|
+
create: (body, options) => this.one(api.createSource({
|
|
169
|
+
client: this.client,
|
|
170
|
+
body,
|
|
171
|
+
headers: this.writeHeaders(options),
|
|
172
|
+
})),
|
|
111
173
|
update: (id, body) => this.one(api.updateSource({ client: this.client, path: { id }, body })),
|
|
112
174
|
delete: (id) => this.envelope(api.deleteSource({ client: this.client, path: { id } })).then(() => undefined),
|
|
113
|
-
upsertAccount: (id, externalId, body) => this.one(api.upsertSourceAccount({
|
|
175
|
+
upsertAccount: (id, externalId, body) => this.one(api.upsertSourceAccount({
|
|
176
|
+
client: this.client,
|
|
177
|
+
path: { id, external_id: externalId },
|
|
178
|
+
body,
|
|
179
|
+
})),
|
|
114
180
|
/** Up to 500 rows; safe to retry (an Idempotency-Key is sent for you). */
|
|
115
|
-
pushTransactions: (id, body, options) => this.one(api.pushSourceTransactions({
|
|
116
|
-
|
|
181
|
+
pushTransactions: (id, body, options) => this.one(api.pushSourceTransactions({
|
|
182
|
+
client: this.client,
|
|
183
|
+
path: { id },
|
|
184
|
+
body,
|
|
185
|
+
headers: this.writeHeaders(options),
|
|
186
|
+
})),
|
|
187
|
+
pushBalances: (id, body, options) => this.one(api.pushSourceBalances({
|
|
188
|
+
client: this.client,
|
|
189
|
+
path: { id },
|
|
190
|
+
body,
|
|
191
|
+
headers: this.writeHeaders(options),
|
|
192
|
+
})),
|
|
117
193
|
/** What the space holds from the source, newest first, one page. */
|
|
118
|
-
listPushed: (id, query) => this.one(api.listSourceTransactions({
|
|
194
|
+
listPushed: (id, query) => this.one(api.listSourceTransactions({
|
|
195
|
+
client: this.client,
|
|
196
|
+
path: { id },
|
|
197
|
+
query,
|
|
198
|
+
})),
|
|
119
199
|
/** Every row the space holds from the source, following next_cursor. */
|
|
120
200
|
iteratePushed: (id, query) => this.iteratePushedRows(id, query),
|
|
121
|
-
deletePushed: (id, account, externalId) => this.envelope(api.deleteSourceTransaction({
|
|
201
|
+
deletePushed: (id, account, externalId) => this.envelope(api.deleteSourceTransaction({
|
|
202
|
+
client: this.client,
|
|
203
|
+
path: { id, account, external_id: externalId },
|
|
204
|
+
})).then(() => undefined),
|
|
205
|
+
};
|
|
206
|
+
/** What changed in the space since a cursor, deletions included, in the order the changes were saved. */
|
|
207
|
+
changes = {
|
|
208
|
+
/** One page: `items`, `next_cursor` (keep it, even when `items` is empty) and `has_more`. */
|
|
209
|
+
list: (query) => this.one(api.listChanges({ client: this.client, query })),
|
|
210
|
+
/** Every change since `cursor` (every object first without one); `feed.cursor` is where to start next time. */
|
|
211
|
+
iterate: (query = {}) => new ChangeFeed((cursor) => this.changes.list({ ...query, cursor }), query.cursor),
|
|
122
212
|
};
|
|
123
213
|
/** The space's events of the last 30 days, as webhook endpoints receive them. */
|
|
124
214
|
events = {
|
|
@@ -126,13 +216,56 @@ export class Degroshi {
|
|
|
126
216
|
iterate: (query = {}) => this.iterateEvents(query),
|
|
127
217
|
get: (id) => this.one(api.getEvent({ client: this.client, path: { id } })),
|
|
128
218
|
};
|
|
129
|
-
/**
|
|
219
|
+
/**
|
|
220
|
+
* Webhook endpoints of the space (a token with `webhooks:manage`, for event types its scopes read), and signatures:
|
|
221
|
+
* `await degroshi.webhooks.verify(rawBody, request.headers.get("Degroshi-Signature"), secret)`.
|
|
222
|
+
*/
|
|
130
223
|
webhooks = {
|
|
224
|
+
/** The event types an endpoint can take, with a made-up sample of each. */
|
|
225
|
+
eventTypes: () => this.one(api.listWebhookEventTypes({ client: this.client })),
|
|
226
|
+
list: () => this.one(api.listWebhooks({ client: this.client })),
|
|
227
|
+
get: (id) => this.one(api.getWebhook({ client: this.client, path: { id } })),
|
|
228
|
+
/**
|
|
229
|
+
* A new endpoint in the space; the answer carries its signing secret, which a token can't read back. Not retried:
|
|
230
|
+
* a second try could make a second endpoint.
|
|
231
|
+
*/
|
|
232
|
+
create: (body) => this.one(api.createWebhook({ client: this.client, body })),
|
|
233
|
+
update: (id, body) => this.one(api.updateWebhook({ client: this.client, path: { id }, body })),
|
|
234
|
+
delete: (id) => this.envelope(api.deleteWebhook({ client: this.client, path: { id } })).then(() => undefined),
|
|
235
|
+
pause: (id) => this.one(api.pauseWebhook({ client: this.client, path: { id } })),
|
|
236
|
+
resume: (id) => this.one(api.resumeWebhook({ client: this.client, path: { id } })),
|
|
237
|
+
/** A new secret; the old one keeps signing for `overlap_hours` (0, 1, 24 or 72). */
|
|
238
|
+
rotateSecret: (id, body) => this.one(api.rotateWebhookSecret({ client: this.client, path: { id }, body })),
|
|
239
|
+
/** A made-up event (`webhook.test` without a type), marked `test: true`. */
|
|
240
|
+
sendTest: (id, body = {}) => this.one(api.sendWebhookTest({ client: this.client, path: { id }, body })),
|
|
241
|
+
stats: (id, query) => this.one(api.getWebhookStats({ client: this.client, path: { id }, query })),
|
|
242
|
+
/** One page of the endpoint's log, newest first: `data` and `meta.next_cursor`. */
|
|
243
|
+
deliveries: (id, query) => this.deliveryPage(id, query),
|
|
244
|
+
/** Every delivery of the log, following `meta.next_cursor`. */
|
|
245
|
+
iterateDeliveries: (id, query = {}) => this.iterateDeliveryRows(id, query),
|
|
246
|
+
delivery: (id, deliveryId) => this.one(api.getWebhookDelivery({
|
|
247
|
+
client: this.client,
|
|
248
|
+
path: { id, delivery_id: deliveryId },
|
|
249
|
+
})),
|
|
250
|
+
resendDelivery: (id, deliveryId) => this.one(api.resendWebhookDelivery({
|
|
251
|
+
client: this.client,
|
|
252
|
+
path: { id, delivery_id: deliveryId },
|
|
253
|
+
})),
|
|
254
|
+
/** The failed and skipped deliveries between `from` and `to`, again (at most 30 days). */
|
|
255
|
+
resend: (id, body) => this.one(api.resendWebhookDeliveries({
|
|
256
|
+
client: this.client,
|
|
257
|
+
path: { id },
|
|
258
|
+
body,
|
|
259
|
+
})),
|
|
131
260
|
verify: (rawBody, header, secret, options) => verifyWebhook(rawBody, header, secret, options),
|
|
132
261
|
};
|
|
133
262
|
async *iterateTransactions(query) {
|
|
134
263
|
for (let page = query.page ?? 1;; page++) {
|
|
135
|
-
const result = await this.transactions.list({
|
|
264
|
+
const result = await this.transactions.list({
|
|
265
|
+
...query,
|
|
266
|
+
page,
|
|
267
|
+
per_page: query.per_page ?? 100,
|
|
268
|
+
});
|
|
136
269
|
yield* result.data;
|
|
137
270
|
if (!result.meta?.has_next || result.data.length === 0)
|
|
138
271
|
return;
|
|
@@ -142,7 +275,9 @@ export class Degroshi {
|
|
|
142
275
|
const envelope = await this.envelope(api.listEvents({ client: this.client, query }));
|
|
143
276
|
return {
|
|
144
277
|
data: (envelope.data ?? []),
|
|
145
|
-
meta: {
|
|
278
|
+
meta: {
|
|
279
|
+
has_more: Boolean(envelope.meta?.has_more),
|
|
280
|
+
},
|
|
146
281
|
};
|
|
147
282
|
}
|
|
148
283
|
async *iterateEvents(query) {
|
|
@@ -156,6 +291,23 @@ export class Degroshi {
|
|
|
156
291
|
cursor = last.id;
|
|
157
292
|
}
|
|
158
293
|
}
|
|
294
|
+
async deliveryPage(id, query) {
|
|
295
|
+
const envelope = await this.envelope(api.listWebhookDeliveries({ client: this.client, path: { id }, query }));
|
|
296
|
+
return {
|
|
297
|
+
data: (envelope.data ?? []),
|
|
298
|
+
meta: (envelope.meta ?? { has_more: false }),
|
|
299
|
+
};
|
|
300
|
+
}
|
|
301
|
+
async *iterateDeliveryRows(id, query) {
|
|
302
|
+
let cursor = query.cursor;
|
|
303
|
+
for (;;) {
|
|
304
|
+
const page = await this.deliveryPage(id, { ...query, cursor });
|
|
305
|
+
yield* page.data;
|
|
306
|
+
if (!page.meta.has_more || !page.meta.next_cursor)
|
|
307
|
+
return;
|
|
308
|
+
cursor = page.meta.next_cursor;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
159
311
|
async *iteratePushedRows(id, query) {
|
|
160
312
|
let cursor = query.cursor;
|
|
161
313
|
for (;;) {
|
package/dist/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe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AC9B,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC;QAC5B,CAAC;IACH,CAAC;CACF;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { createSource, createTransaction, deleteSource, deleteSourceTransaction, deleteTransaction, getAccount, getAccountsNetWorth, getAnalyticsCashFlow, getAnalyticsCategories, getAnalyticsMerchants, getAnalyticsNetWorth, getAnalyticsSpending, getAnalyticsSummary, getAnalyticsTrends, getBudget, getCategory, getEvent, getRecurringTransaction, getSource, getTransaction, getTransactionDayTotals, listAccounts, listBudgets, listCategories, listEvents, listMySpaces, listRecurringOccurrences, listRecurringTransactions, listSources, listSourceTransactions, listTransactions, type Options, pushSourceBalances, pushSourceTransactions, updateSource, updateTransaction, upsertSourceAccount } from './sdk.gen.js';
|
|
2
|
-
export type { AccountBalanceUpdatedEvent, AccountBrand, AccountConnection, AccountListResponse, AccountListResponseListEnvelope, AccountResponse, AccountResponseEnvelope, AccountsCurrencyInfo, AccountSource, AccountType, AccountWithConvertedBalance, AllocationDisplay, AmountChangeResponse, AnalyticsCurrencyInfo, BalanceBatchRequest, BalanceBatchResponse, BalanceBatchResponseEnvelope, BalanceItem, BalanceResult, BrandResponse, BudgetAllocationResponse, BudgetDisplay, BudgetListItem, BudgetListItemListEnvelope, BudgetPeriod, BudgetResponse, BudgetResponseEnvelope, BudgetThresholdReachedEvent, CashFlowPoint, CashFlowResponse, CashFlowResponseEnvelope, Category, CategoryAnalyticsItem, CategoryAnalyticsResponse, CategoryAnalyticsResponseEnvelope, CategoryEnvelope, CategoryListEnvelope, CategoryReview, CategorySummary, CategoryType, ClientOptions, ConnectionStatusChangedEvent, CreateSourceData, CreateSourceError, CreateSourceErrors, CreateSourceRequest, CreateSourceResponse, CreateSourceResponses, CreateTransactionData, CreateTransactionError, CreateTransactionErrors, CreateTransactionRequest, CreateTransactionResponse, CreateTransactionResponses, DateRange, DayTotal, DayTotalsResponse, DayTotalsResponseEnvelope, DeleteData, DeleteDataEnvelope, DeleteSourceData, DeleteSourceError, DeleteSourceErrors, DeleteSourceResponse, DeleteSourceResponses, DeleteSourceTransactionData, DeleteSourceTransactionError, DeleteSourceTransactionErrors, DeleteSourceTransactionResponse, DeleteSourceTransactionResponses, DeleteTransactionData, DeleteTransactionError, DeleteTransactionErrors, DeleteTransactionResponse, DeleteTransactionResponses, ErrorBody, ErrorResponse, Event, EventCursorMeta, EventEnvelope, EventListPage, EventListPageEnvelope, Frequency, GetAccountData, GetAccountError, GetAccountErrors, GetAccountResponse, GetAccountResponses, GetAccountsNetWorthData, GetAccountsNetWorthError, GetAccountsNetWorthErrors, GetAccountsNetWorthResponse, GetAccountsNetWorthResponses, GetAnalyticsCashFlowData, GetAnalyticsCashFlowError, GetAnalyticsCashFlowErrors, GetAnalyticsCashFlowResponse, GetAnalyticsCashFlowResponses, GetAnalyticsCategoriesData, GetAnalyticsCategoriesError, GetAnalyticsCategoriesErrors, GetAnalyticsCategoriesResponse, GetAnalyticsCategoriesResponses, GetAnalyticsMerchantsData, GetAnalyticsMerchantsError, GetAnalyticsMerchantsErrors, GetAnalyticsMerchantsResponse, GetAnalyticsMerchantsResponses, GetAnalyticsNetWorthData, GetAnalyticsNetWorthError, GetAnalyticsNetWorthErrors, GetAnalyticsNetWorthResponse, GetAnalyticsNetWorthResponses, GetAnalyticsSpendingData, GetAnalyticsSpendingError, GetAnalyticsSpendingErrors, GetAnalyticsSpendingResponse, GetAnalyticsSpendingResponses, GetAnalyticsSummaryData, GetAnalyticsSummaryError, GetAnalyticsSummaryErrors, GetAnalyticsSummaryResponse, GetAnalyticsSummaryResponses, GetAnalyticsTrendsData, GetAnalyticsTrendsError, GetAnalyticsTrendsErrors, GetAnalyticsTrendsResponse, GetAnalyticsTrendsResponses, GetBudgetData, GetBudgetError, GetBudgetErrors, GetBudgetResponse, GetBudgetResponses, GetCategoryData, GetCategoryError, GetCategoryErrors, GetCategoryResponse, GetCategoryResponses, GetEventData, GetEventError, GetEventErrors, GetEventResponse, GetEventResponses, GetRecurringTransactionData, GetRecurringTransactionError, GetRecurringTransactionErrors, GetRecurringTransactionResponse, GetRecurringTransactionResponses, GetSourceData, GetSourceError, GetSourceErrors, GetSourceResponse, GetSourceResponses, GetTransactionData, GetTransactionDayTotalsData, GetTransactionDayTotalsError, GetTransactionDayTotalsErrors, GetTransactionDayTotalsResponse, GetTransactionDayTotalsResponses, GetTransactionError, GetTransactionErrors, GetTransactionResponse, GetTransactionResponses, GradientType, GrantInfo, ImportCompletedEvent, InterestPayout, LastPaidResponse, ListAccountsData, ListAccountsError, ListAccountsErrors, ListAccountsResponse, ListAccountsResponses, ListBudgetsData, ListBudgetsError, ListBudgetsErrors, ListBudgetsResponse, ListBudgetsResponses, ListCategoriesData, ListCategoriesError, ListCategoriesErrors, ListCategoriesResponse, ListCategoriesResponses, ListEventsData, ListEventsError, ListEventsErrors, ListEventsResponse, ListEventsResponses, ListMySpacesData, ListMySpacesError, ListMySpacesErrors, ListMySpacesResponse, ListMySpacesResponses, ListRecurringOccurrencesData, ListRecurringOccurrencesError, ListRecurringOccurrencesErrors, ListRecurringOccurrencesResponse, ListRecurringOccurrencesResponses, ListRecurringTransactionsData, ListRecurringTransactionsError, ListRecurringTransactionsErrors, ListRecurringTransactionsResponse, ListRecurringTransactionsResponses, ListSourcesData, ListSourcesError, ListSourcesErrors, ListSourcesResponse, ListSourcesResponses, ListSourceTransactionsData, ListSourceTransactionsError, ListSourceTransactionsErrors, ListSourceTransactionsResponse, ListSourceTransactionsResponses, ListTransactionsData, ListTransactionsError, ListTransactionsErrors, ListTransactionsResponse, ListTransactionsResponses, MerchantActivity, MerchantAnalyticsResponse, MerchantAnalyticsResponseEnvelope, MerchantCategory, MerchantFigures, Meta, Mode, MySpaceResponse, MySpaceResponseListEnvelope, NetWorthPoint, NetWorthResponse, NetWorthResponseEnvelope, NetWorthTimeSeriesResponse, NetWorthTimeSeriesResponseEnvelope, OccurrenceDayTotal, OccurrenceDisplay, OccurrenceResponse, OccurrencesResponse, OccurrencesResponseEnvelope, OccurrenceStatus, OccurrenceTotals, PossibleDuplicate, PushBatchRequest, PushBatchResponse, PushBatchResponseEnvelope, PushedPage, PushedPageEnvelope, PushedRow, PushItem, PushItemError, PushItemResult, PushItemResultEnvelope, PushOriginal, PushSourceBalancesData, PushSourceBalancesError, PushSourceBalancesErrors, PushSourceBalancesResponse, PushSourceBalancesResponses, PushSourceTransactionsData, PushSourceTransactionsError, PushSourceTransactionsErrors, PushSourceTransactionsResponse, PushSourceTransactionsResponses, ReactionsSummary, RecurringDueEvent, RecurringResponse, RecurringResponseEnvelope, RecurringResponseListEnvelope, RecurringTransactionsKind, SharedWith, SourceResponse, SourceResponseEnvelope, SourceResponseListEnvelope, SourcesKind, SpendingResponse, SpendingResponseEnvelope, Status, SummaryResponse, SummaryResponseEnvelope, TransactionAmountInfo, TransactionAmountsResponse, TransactionCreatedEvent, TransactionDeletedEvent, TransactionExternalDataResponse, TransactionFinancialsResponse, TransactionListResponse, TransactionListResponseEnvelope, TransactionMetadataResponse, TransactionRelationshipsResponse, TransactionResponse, TransactionResponseEnvelope, TransactionsBulkUpdatedEvent, TransactionStatus, TransactionsTransactionDirection, TransactionsTransactionType, TransactionTag, TransactionTimestampsResponse, TransactionTreatment, TransactionUpdatedEvent, TransferDisplay, TransferResponse, TrendComparison, TrendsResponse, TrendsResponseEnvelope, UncategorizedActivity, UncategorizedSpending, UpdateSourceData, UpdateSourceError, UpdateSourceErrors, UpdateSourceRequest, UpdateSourceResponse, UpdateSourceResponses, UpdateTransactionData, UpdateTransactionError, UpdateTransactionErrors, UpdateTransactionRequest, UpdateTransactionResponse, UpdateTransactionResponses, UpsertAccountRequest, UpsertAccountResponse, UpsertAccountResponseEnvelope, UpsertSourceAccountData, UpsertSourceAccountError, UpsertSourceAccountErrors, UpsertSourceAccountResponse, UpsertSourceAccountResponses, WebhookAccountBalanceUpdatedWebhookPayload, WebhookAccountBalanceUpdatedWebhookRequest, WebhookBudgetThresholdReachedWebhookPayload, WebhookBudgetThresholdReachedWebhookRequest, WebhookConnectionStatusChangedWebhookPayload, WebhookConnectionStatusChangedWebhookRequest, WebhookEvent, WebhookImportCompletedWebhookPayload, WebhookImportCompletedWebhookRequest, WebhookRecurringDueWebhookPayload, WebhookRecurringDueWebhookRequest, Webhooks, WebhookTransactionCreatedWebhookPayload, WebhookTransactionCreatedWebhookRequest, WebhookTransactionDeletedWebhookPayload, WebhookTransactionDeletedWebhookRequest, WebhookTransactionsBulkUpdatedWebhookPayload, WebhookTransactionsBulkUpdatedWebhookRequest, WebhookTransactionUpdatedWebhookPayload, WebhookTransactionUpdatedWebhookRequest } from './types.gen.js';
|
|
1
|
+
export { createSource, createTransaction, createWebhook, deleteSource, deleteSourceTransaction, deleteTransaction, deleteWebhook, getAccount, getAccountsNetWorth, getAnalyticsCashFlow, getAnalyticsCategories, getAnalyticsMerchants, getAnalyticsNetWorth, getAnalyticsSpending, getAnalyticsSummary, getAnalyticsTrends, getBudget, getCategory, getEvent, getRecurringTransaction, getSource, getTransaction, getTransactionDayTotals, getWebhook, getWebhookDelivery, getWebhookStats, listAccounts, listBudgets, listCategories, listChanges, listEvents, listMySpaces, listRecurringOccurrences, listRecurringTransactions, listSources, listSourceTransactions, listTransactions, listWebhookDeliveries, listWebhookEventTypes, listWebhooks, type Options, pauseWebhook, pushSourceBalances, pushSourceTransactions, resendWebhookDeliveries, resendWebhookDelivery, resumeWebhook, rotateWebhookSecret, sendWebhookTest, updateSource, updateTransaction, updateWebhook, upsertSourceAccount } from './sdk.gen.js';
|
|
2
|
+
export type { AccountBalanceUpdatedEvent, AccountBrand, AccountConnection, AccountListResponse, AccountListResponseListEnvelope, AccountResponse, AccountResponseEnvelope, AccountsCurrencyInfo, AccountSource, AccountType, AccountWithConvertedBalance, AllocationDisplay, AmountChangeResponse, AnalyticsCurrencyInfo, AttemptResponse, BalanceBatchRequest, BalanceBatchResponse, BalanceBatchResponseEnvelope, BalanceItem, BalanceResult, BrandResponse, BudgetAllocationResponse, BudgetDisplay, BudgetListItem, BudgetListItemListEnvelope, BudgetPeriod, BudgetResponse, BudgetResponseEnvelope, BudgetThresholdReachedEvent, CashFlowPoint, CashFlowResponse, CashFlowResponseEnvelope, CatalogEntry, CatalogEntryListEnvelope, Category, CategoryAnalyticsItem, CategoryAnalyticsResponse, CategoryAnalyticsResponseEnvelope, CategoryEnvelope, CategoryListEnvelope, CategoryReview, CategorySummary, CategoryType, Change, ChangesResponse, ChangesResponseEnvelope, ClientOptions, ConnectionStatusChangedEvent, CreatedEndpointResponse, CreatedEndpointResponseEnvelope, CreateEndpointRequest, CreatePlaceRequest, CreateSourceData, CreateSourceError, CreateSourceErrors, CreateSourceRequest, CreateSourceResponse, CreateSourceResponses, CreateTransactionData, CreateTransactionError, CreateTransactionErrors, CreateTransactionRequest, CreateTransactionResponse, CreateTransactionResponses, CreateWebhookData, CreateWebhookError, CreateWebhookErrors, CreateWebhookResponse, CreateWebhookResponses, DateRange, DayTotal, DayTotalsResponse, DayTotalsResponseEnvelope, DeleteData, DeleteDataEnvelope, DeleteSourceData, DeleteSourceError, DeleteSourceErrors, DeleteSourceResponse, DeleteSourceResponses, DeleteSourceTransactionData, DeleteSourceTransactionError, DeleteSourceTransactionErrors, DeleteSourceTransactionResponse, DeleteSourceTransactionResponses, DeleteTransactionData, DeleteTransactionError, DeleteTransactionErrors, DeleteTransactionResponse, DeleteTransactionResponses, DeleteWebhookData, DeleteWebhookError, DeleteWebhookErrors, DeleteWebhookResponse, DeleteWebhookResponses, DeliveryCursorMeta, DeliveryDetail, DeliveryDetailEnvelope, DeliveryPage, DeliveryPageEnvelope, DeliveryRequest, DeliverySummary, DeliverySummaryEnvelope, EndpointHealth, EndpointResponse, EndpointResponseEnvelope, EndpointResponseListEnvelope, ErrorBody, ErrorResponse, Event, EventCursorMeta, EventEnvelope, EventListPage, EventListPageEnvelope, Frequency, GetAccountData, GetAccountError, GetAccountErrors, GetAccountResponse, GetAccountResponses, GetAccountsNetWorthData, GetAccountsNetWorthError, GetAccountsNetWorthErrors, GetAccountsNetWorthResponse, GetAccountsNetWorthResponses, GetAnalyticsCashFlowData, GetAnalyticsCashFlowError, GetAnalyticsCashFlowErrors, GetAnalyticsCashFlowResponse, GetAnalyticsCashFlowResponses, GetAnalyticsCategoriesData, GetAnalyticsCategoriesError, GetAnalyticsCategoriesErrors, GetAnalyticsCategoriesResponse, GetAnalyticsCategoriesResponses, GetAnalyticsMerchantsData, GetAnalyticsMerchantsError, GetAnalyticsMerchantsErrors, GetAnalyticsMerchantsResponse, GetAnalyticsMerchantsResponses, GetAnalyticsNetWorthData, GetAnalyticsNetWorthError, GetAnalyticsNetWorthErrors, GetAnalyticsNetWorthResponse, GetAnalyticsNetWorthResponses, GetAnalyticsSpendingData, GetAnalyticsSpendingError, GetAnalyticsSpendingErrors, GetAnalyticsSpendingResponse, GetAnalyticsSpendingResponses, GetAnalyticsSummaryData, GetAnalyticsSummaryError, GetAnalyticsSummaryErrors, GetAnalyticsSummaryResponse, GetAnalyticsSummaryResponses, GetAnalyticsTrendsData, GetAnalyticsTrendsError, GetAnalyticsTrendsErrors, GetAnalyticsTrendsResponse, GetAnalyticsTrendsResponses, GetBudgetData, GetBudgetError, GetBudgetErrors, GetBudgetResponse, GetBudgetResponses, GetCategoryData, GetCategoryError, GetCategoryErrors, GetCategoryResponse, GetCategoryResponses, GetEventData, GetEventError, GetEventErrors, GetEventResponse, GetEventResponses, GetRecurringTransactionData, GetRecurringTransactionError, GetRecurringTransactionErrors, GetRecurringTransactionResponse, GetRecurringTransactionResponses, GetSourceData, GetSourceError, GetSourceErrors, GetSourceResponse, GetSourceResponses, GetTransactionData, GetTransactionDayTotalsData, GetTransactionDayTotalsError, GetTransactionDayTotalsErrors, GetTransactionDayTotalsResponse, GetTransactionDayTotalsResponses, GetTransactionError, GetTransactionErrors, GetTransactionResponse, GetTransactionResponses, GetWebhookData, GetWebhookDeliveryData, GetWebhookDeliveryError, GetWebhookDeliveryErrors, GetWebhookDeliveryResponse, GetWebhookDeliveryResponses, GetWebhookError, GetWebhookErrors, GetWebhookResponse, GetWebhookResponses, GetWebhookStatsData, GetWebhookStatsError, GetWebhookStatsErrors, GetWebhookStatsResponse, GetWebhookStatsResponses, GradientType, GrantInfo, GrantPerson, HealthDay, ImportCompletedEvent, InterestPayout, LastPaidResponse, LinkedActivityLeg, LinkedActivityResponse, ListAccountsData, ListAccountsError, ListAccountsErrors, ListAccountsResponse, ListAccountsResponses, ListBudgetsData, ListBudgetsError, ListBudgetsErrors, ListBudgetsResponse, ListBudgetsResponses, ListCategoriesData, ListCategoriesError, ListCategoriesErrors, ListCategoriesResponse, ListCategoriesResponses, ListChangesData, ListChangesError, ListChangesErrors, ListChangesResponse, ListChangesResponses, ListEventsData, ListEventsError, ListEventsErrors, ListEventsResponse, ListEventsResponses, ListMySpacesData, ListMySpacesError, ListMySpacesErrors, ListMySpacesResponse, ListMySpacesResponses, ListRecurringOccurrencesData, ListRecurringOccurrencesError, ListRecurringOccurrencesErrors, ListRecurringOccurrencesResponse, ListRecurringOccurrencesResponses, ListRecurringTransactionsData, ListRecurringTransactionsError, ListRecurringTransactionsErrors, ListRecurringTransactionsResponse, ListRecurringTransactionsResponses, ListSourcesData, ListSourcesError, ListSourcesErrors, ListSourcesResponse, ListSourcesResponses, ListSourceTransactionsData, ListSourceTransactionsError, ListSourceTransactionsErrors, ListSourceTransactionsResponse, ListSourceTransactionsResponses, ListTransactionsData, ListTransactionsError, ListTransactionsErrors, ListTransactionsResponse, ListTransactionsResponses, ListWebhookDeliveriesData, ListWebhookDeliveriesError, ListWebhookDeliveriesErrors, ListWebhookDeliveriesResponse, ListWebhookDeliveriesResponses, ListWebhookEventTypesData, ListWebhookEventTypesError, ListWebhookEventTypesErrors, ListWebhookEventTypesResponse, ListWebhookEventTypesResponses, ListWebhooksData, ListWebhooksError, ListWebhooksErrors, ListWebhooksResponse, ListWebhooksResponses, MerchantActivity, MerchantAnalyticsResponse, MerchantAnalyticsResponseEnvelope, MerchantCategory, MerchantFigures, Meta, Mode, MySpaceResponse, MySpaceResponseListEnvelope, NetWorthPoint, NetWorthResponse, NetWorthResponseEnvelope, NetWorthTimeSeriesResponse, NetWorthTimeSeriesResponseEnvelope, ObjectType, OccurrenceDayTotal, OccurrenceDisplay, OccurrenceResponse, OccurrencesResponse, OccurrencesResponseEnvelope, OccurrenceStatus, OccurrenceTotals, PauseWebhookData, PauseWebhookError, PauseWebhookErrors, PauseWebhookResponse, PauseWebhookResponses, PlacesKind, PointName, PossibleDuplicate, Precision, PushBatchRequest, PushBatchResponse, PushBatchResponseEnvelope, PushedPage, PushedPageEnvelope, PushedRow, PushItem, PushItemError, PushItemResult, PushItemResultEnvelope, PushOriginal, PushSourceBalancesData, PushSourceBalancesError, PushSourceBalancesErrors, PushSourceBalancesResponse, PushSourceBalancesResponses, PushSourceTransactionsData, PushSourceTransactionsError, PushSourceTransactionsErrors, PushSourceTransactionsResponse, PushSourceTransactionsResponses, ReactionsSummary, RecurringDueEvent, RecurringOccurrenceRef, RecurringResponse, RecurringResponseEnvelope, RecurringResponseListEnvelope, RecurringTransactionsKind, ResendRangeRequest, ResendRangeResponse, ResendRangeResponseEnvelope, ResendWebhookDeliveriesData, ResendWebhookDeliveriesError, ResendWebhookDeliveriesErrors, ResendWebhookDeliveriesResponse, ResendWebhookDeliveriesResponses, ResendWebhookDeliveryData, ResendWebhookDeliveryError, ResendWebhookDeliveryErrors, ResendWebhookDeliveryResponse, ResendWebhookDeliveryResponses, ResumeWebhookData, ResumeWebhookError, ResumeWebhookErrors, ResumeWebhookResponse, ResumeWebhookResponses, RotateSecretRequest, RotateWebhookSecretData, RotateWebhookSecretError, RotateWebhookSecretErrors, RotateWebhookSecretResponse, RotateWebhookSecretResponses, SecretResponse, SecretResponseEnvelope, SendWebhookTestData, SendWebhookTestError, SendWebhookTestErrors, SendWebhookTestResponse, SendWebhookTestResponses, SharedWith, SourceResponse, SourceResponseEnvelope, SourceResponseListEnvelope, SourcesKind, SpendingResponse, SpendingResponseEnvelope, StatsDay, StatsFigures, StatsResponse, StatsResponseEnvelope, Status, SummaryResponse, SummaryResponseEnvelope, TestEventRequest, TransactionAmountInfo, TransactionAmountsResponse, TransactionCreatedEvent, TransactionDeletedEvent, TransactionExternalDataResponse, TransactionFinancialsResponse, TransactionListResponse, TransactionListResponseEnvelope, TransactionMetadataResponse, TransactionPlace, TransactionRelationshipsResponse, TransactionResponse, TransactionResponseEnvelope, TransactionsBulkUpdatedEvent, TransactionStatus, TransactionsTransactionDirection, TransactionsTransactionType, TransactionTag, TransactionTimestampsResponse, TransactionTreatment, TransactionUpdatedEvent, TransferDisplay, TransferResponse, TrendComparison, TrendsResponse, TrendsResponseEnvelope, UncategorizedActivity, UncategorizedSpending, UpdateEndpointRequest, UpdateSourceData, UpdateSourceError, UpdateSourceErrors, UpdateSourceRequest, UpdateSourceResponse, UpdateSourceResponses, UpdateTransactionData, UpdateTransactionError, UpdateTransactionErrors, UpdateTransactionRequest, UpdateTransactionResponse, UpdateTransactionResponses, UpdateWebhookData, UpdateWebhookError, UpdateWebhookErrors, UpdateWebhookResponse, UpdateWebhookResponses, UpsertAccountRequest, UpsertAccountResponse, UpsertAccountResponseEnvelope, UpsertSourceAccountData, UpsertSourceAccountError, UpsertSourceAccountErrors, UpsertSourceAccountResponse, UpsertSourceAccountResponses, WebhookAccountBalanceUpdatedWebhookPayload, WebhookAccountBalanceUpdatedWebhookRequest, WebhookBudgetThresholdReachedWebhookPayload, WebhookBudgetThresholdReachedWebhookRequest, WebhookConnectionStatusChangedWebhookPayload, WebhookConnectionStatusChangedWebhookRequest, WebhookEvent, WebhookImportCompletedWebhookPayload, WebhookImportCompletedWebhookRequest, WebhookRecurringDueWebhookPayload, WebhookRecurringDueWebhookRequest, Webhooks, WebhookTransactionCreatedWebhookPayload, WebhookTransactionCreatedWebhookRequest, WebhookTransactionDeletedWebhookPayload, WebhookTransactionDeletedWebhookRequest, WebhookTransactionsBulkUpdatedWebhookPayload, WebhookTransactionsBulkUpdatedWebhookRequest, WebhookTransactionUpdatedWebhookPayload, WebhookTransactionUpdatedWebhookRequest } from './types.gen.js';
|
package/dist/generated/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
export { createSource, createTransaction, deleteSource, deleteSourceTransaction, deleteTransaction, getAccount, getAccountsNetWorth, getAnalyticsCashFlow, getAnalyticsCategories, getAnalyticsMerchants, getAnalyticsNetWorth, getAnalyticsSpending, getAnalyticsSummary, getAnalyticsTrends, getBudget, getCategory, getEvent, getRecurringTransaction, getSource, getTransaction, getTransactionDayTotals, listAccounts, listBudgets, listCategories, listEvents, listMySpaces, listRecurringOccurrences, listRecurringTransactions, listSources, listSourceTransactions, listTransactions, pushSourceBalances, pushSourceTransactions, updateSource, updateTransaction, upsertSourceAccount } from './sdk.gen.js';
|
|
2
|
+
export { createSource, createTransaction, createWebhook, deleteSource, deleteSourceTransaction, deleteTransaction, deleteWebhook, getAccount, getAccountsNetWorth, getAnalyticsCashFlow, getAnalyticsCategories, getAnalyticsMerchants, getAnalyticsNetWorth, getAnalyticsSpending, getAnalyticsSummary, getAnalyticsTrends, getBudget, getCategory, getEvent, getRecurringTransaction, getSource, getTransaction, getTransactionDayTotals, getWebhook, getWebhookDelivery, getWebhookStats, listAccounts, listBudgets, listCategories, listChanges, listEvents, listMySpaces, listRecurringOccurrences, listRecurringTransactions, listSources, listSourceTransactions, listTransactions, listWebhookDeliveries, listWebhookEventTypes, listWebhooks, pauseWebhook, pushSourceBalances, pushSourceTransactions, resendWebhookDeliveries, resendWebhookDelivery, resumeWebhook, rotateWebhookSecret, sendWebhookTest, updateSource, updateTransaction, updateWebhook, upsertSourceAccount } from './sdk.gen.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|