@lunch-money/v2-api-spec 2.11.2-preview.1 → 2.11.2-preview.10
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/lunch-money-api-v2.yaml +769 -1771
- package/oauth-scopes/catalog.js +4 -0
- package/package.json +4 -1
- package/version-history.md +4 -2
package/oauth-scopes/catalog.js
CHANGED
|
@@ -295,6 +295,7 @@ const groupDefinitions = [
|
|
|
295
295
|
name: 'Transactions',
|
|
296
296
|
description: 'Import, export, organize, and manage transactions and their attachments',
|
|
297
297
|
scopes: [
|
|
298
|
+
'me:read',
|
|
298
299
|
'transactions:read',
|
|
299
300
|
'transactions:create',
|
|
300
301
|
'transactions:update',
|
|
@@ -314,6 +315,7 @@ const groupDefinitions = [
|
|
|
314
315
|
name: 'Budgeting',
|
|
315
316
|
description: 'Analyze and manage budgets, categories, and tags',
|
|
316
317
|
scopes: [
|
|
318
|
+
'me:read',
|
|
317
319
|
'summary:read',
|
|
318
320
|
'budgets:read',
|
|
319
321
|
'budgets:update',
|
|
@@ -334,6 +336,7 @@ const groupDefinitions = [
|
|
|
334
336
|
name: 'Accounts',
|
|
335
337
|
description: 'Manage accounts, balances, and balance history',
|
|
336
338
|
scopes: [
|
|
339
|
+
'me:read',
|
|
337
340
|
'manual_accounts:read',
|
|
338
341
|
'manual_accounts:create',
|
|
339
342
|
'manual_accounts:update',
|
|
@@ -356,6 +359,7 @@ const groupDefinitions = [
|
|
|
356
359
|
name: 'Organize',
|
|
357
360
|
description: 'Manage categories and tags used to organize transactions',
|
|
358
361
|
scopes: [
|
|
362
|
+
'me:read',
|
|
359
363
|
'categories:read',
|
|
360
364
|
'categories:create',
|
|
361
365
|
'categories:update',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lunch-money/v2-api-spec",
|
|
3
|
-
"version": "2.11.2-preview.
|
|
3
|
+
"version": "2.11.2-preview.10",
|
|
4
4
|
"description": "OpenAPI specification and version history for the Lunch Money v2 API",
|
|
5
5
|
"main": "lunch-money-api-v2.yaml",
|
|
6
6
|
"exports": {
|
|
@@ -35,6 +35,9 @@
|
|
|
35
35
|
"test:oauth-scopes": "npm run build:oauth-scopes && node --test test/oauth-scopes/*.test.js",
|
|
36
36
|
"test:oauth-client-logo": "npm run build:oauth-client-logo && node --test test/oauth-client-logo/*.test.js",
|
|
37
37
|
"generate:oauth-docs": "node scripts/generate-oauth-scope-catalog.js",
|
|
38
|
+
"sync:oauth-sample": "node scripts/sync-oauth-sample-walkthrough.js",
|
|
39
|
+
"check:oauth-sample": "node scripts/sync-oauth-sample-walkthrough.js --check",
|
|
40
|
+
"validate:oauth-sample": "npm run test:oauth-docs && npm run check:oauth-sample --",
|
|
38
41
|
"test:oauth-docs": "node scripts/generate-oauth-scope-catalog.js --check && node --test test/oauth-docs/*.test.js",
|
|
39
42
|
"prepublishOnly": "npm run build:shared-contracts && node scripts/prep-for-publish.js",
|
|
40
43
|
"postpublish": "node scripts/restore-readme.js",
|
package/version-history.md
CHANGED
|
@@ -7,13 +7,15 @@ The Lunch Money API spec uses a modified version of SEMVER for its versioning me
|
|
|
7
7
|
|
|
8
8
|
## v2.11.2 - TBD
|
|
9
9
|
- Add OAuth 2.0 bearer-token authentication to the v2 API, allowing applications to access Lunch Money on behalf of users who authorize them
|
|
10
|
-
-
|
|
10
|
+
- Document and enforce required OAuth scopes for every v2 operation and publish the scope and scope-group catalog mapped to V2 `operationId` values.
|
|
11
|
+
- Added a new `403` `insufficient_scope` response
|
|
11
12
|
- Document the OAuth 2.0 authorization-code flow used to obtain access tokens
|
|
13
|
+
- Add `include_files` query parameter to `GET /transactions/{id}`
|
|
12
14
|
|
|
13
15
|
## v2.11.1 - TBD
|
|
14
16
|
- Add `GET /me/account/settings` and `PUT /me/account/settings` for account-level settings
|
|
15
17
|
- Add `GET /me/user/settings` and `PUT /me/user/settings` for user-level display and formatting preferences
|
|
16
|
-
- Add `GET /me/user/account/settings` and `PUT /me/user/account/settings` for settings specific to a user and
|
|
18
|
+
- Add `GET /me/user/account/settings` and `PUT /me/user/account/settings` for settings specific to a user and budget account
|
|
17
19
|
- Add `include_pending_in_totals` to `GET /me/account/settings` and `PUT /me/account/settings`
|
|
18
20
|
- Add `default_manual_account_id` to `GET /me/user/account/settings` and `PUT /me/user/account/settings`
|
|
19
21
|
- Document `GET /budgets/settings` response schema publicly; change `budget_period_quantity` to integer
|