@lunch-money/v2-api-spec 2.11.2-preview.1 → 2.11.2-preview.2

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/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.2",
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