@lunch-money/v2-api-spec 2.11.2-preview.1 → 2.11.2-preview.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.
@@ -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.1",
3
+ "version": "2.11.2-preview.3",
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",
@@ -7,8 +7,10 @@ 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
- - Enforce required OAuth scopes for every v2 operation and publish the scope and scope-group catalog mapped to V2 `operationId` values
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