@lunch-money/v2-api-spec 2.11.0-preview.17 → 2.11.0-preview.19
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 +26 -13
- package/package.json +1 -1
- package/version-history.md +2 -0
package/lunch-money-api-v2.yaml
CHANGED
|
@@ -991,16 +991,19 @@ components:
|
|
|
991
991
|
example: Cold Wallet BTC
|
|
992
992
|
display_name:
|
|
993
993
|
type: string
|
|
994
|
+
nullable: true
|
|
994
995
|
minLength: 1
|
|
995
996
|
maxLength: 45
|
|
996
|
-
description:
|
|
997
|
-
|
|
997
|
+
description: Display name for the manual crypto asset. If omitted or
|
|
998
|
+
`null`, clients may derive one from `institution_name` + `name`.
|
|
998
999
|
example: Cold Storage
|
|
999
1000
|
institution_name:
|
|
1000
1001
|
type: string
|
|
1002
|
+
nullable: true
|
|
1001
1003
|
minLength: 1
|
|
1002
1004
|
maxLength: 50
|
|
1003
|
-
description:
|
|
1005
|
+
description: Institution or wallet provider display name. If omitted
|
|
1006
|
+
or `null`, no institution name is set.
|
|
1004
1007
|
example: Ledger
|
|
1005
1008
|
balance:
|
|
1006
1009
|
oneOf:
|
|
@@ -1256,15 +1259,19 @@ components:
|
|
|
1256
1259
|
example: My Savings Account
|
|
1257
1260
|
institution_name:
|
|
1258
1261
|
type: string
|
|
1262
|
+
nullable: true
|
|
1259
1263
|
example: Bank of the West
|
|
1260
|
-
description: Name of institution holding the manual account
|
|
1264
|
+
description: Name of the institution holding the manual account. If
|
|
1265
|
+
omitted or `null`, no institution name is set.
|
|
1261
1266
|
minLength: 1
|
|
1262
1267
|
maxLength: 50
|
|
1263
1268
|
display_name:
|
|
1264
1269
|
type: string
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1270
|
+
nullable: true
|
|
1271
|
+
description: Display name of the manual account. If omitted or
|
|
1272
|
+
`null`, it is derived from `institution_name` and `name`. An
|
|
1273
|
+
explicitly set display name must be unique for the budgeting
|
|
1274
|
+
account.
|
|
1268
1275
|
example: Savings
|
|
1269
1276
|
type:
|
|
1270
1277
|
description: The type of manual account
|
|
@@ -1272,8 +1279,10 @@ components:
|
|
|
1272
1279
|
- $ref: "#/components/schemas/accountTypeEnum"
|
|
1273
1280
|
subtype:
|
|
1274
1281
|
type: string
|
|
1275
|
-
|
|
1276
|
-
|
|
1282
|
+
nullable: true
|
|
1283
|
+
description: Manual account subtype. If omitted or `null`, no subtype
|
|
1284
|
+
is set. Examples include retirement, checking, savings, and prepaid
|
|
1285
|
+
credit card.
|
|
1277
1286
|
minLength: 1
|
|
1278
1287
|
maxLength: 100
|
|
1279
1288
|
example: prepaid credit card
|
|
@@ -3394,9 +3403,10 @@ components:
|
|
|
3394
3403
|
category_id:
|
|
3395
3404
|
type: integer
|
|
3396
3405
|
format: int32
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3406
|
+
nullable: true
|
|
3407
|
+
description: Category ID for the child transaction. The category must
|
|
3408
|
+
already exist for the account. If omitted, the child inherits the
|
|
3409
|
+
parent category. If `null`, the child has no category.
|
|
3400
3410
|
tag_ids:
|
|
3401
3411
|
type: array
|
|
3402
3412
|
description: The IDs of any tags to apply to this split child
|
|
@@ -3406,7 +3416,10 @@ components:
|
|
|
3406
3416
|
format: int32
|
|
3407
3417
|
notes:
|
|
3408
3418
|
type: string
|
|
3409
|
-
|
|
3419
|
+
nullable: true
|
|
3420
|
+
description: Notes for the child transaction. If omitted, the child
|
|
3421
|
+
inherits the parent notes. If `null` or an empty string, the child
|
|
3422
|
+
has no notes.
|
|
3410
3423
|
required:
|
|
3411
3424
|
- amount
|
|
3412
3425
|
|
package/package.json
CHANGED
package/version-history.md
CHANGED
|
@@ -17,6 +17,8 @@ The Lunch Money API spec uses a modified version of SEMVER for its versioning me
|
|
|
17
17
|
- Add `PUT /balance_history/deleted/{account_id}/details`
|
|
18
18
|
- Remove `rollover_pool` from the category object returned in the summary response. It is in the main summary response.
|
|
19
19
|
- It is now possible to set an external_id on any transaction, including those that belong to a Plaid account.
|
|
20
|
+
- Manual-account and manually managed crypto create requests now accept `null` for their optional display, institution, and subtype fields, treating `null` the same as omission.
|
|
21
|
+
- Transaction split requests now accept `null` for `category_id` and `notes`. Omission inherits the parent value, while `null` explicitly clears it for the child.
|
|
20
22
|
|
|
21
23
|
## v2.10.0 - TBD
|
|
22
24
|
- Add v2 crypto endpoints which support:
|