@lunch-money/v2-api-spec 2.10.0-preview.5 → 2.10.0-preview.7

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.
@@ -711,8 +711,16 @@ components:
711
711
  type: string
712
712
  format: date-time
713
713
  nullable: true
714
- description: Date/time the balance was last updated in ISO 8601
715
- extended format
714
+ description: Date/time the manual balance record was last updated in
715
+ ISO 8601 extended format. This is currently based on the manual
716
+ crypto record's updated_at timestamp.
717
+ exchange_rate_as_of:
718
+ type: string
719
+ format: date-time
720
+ nullable: true
721
+ description: Date/time the exchange rate used to calculate to_base was
722
+ last updated in ISO 8601 extended format. Null when no exchange rate was
723
+ used or no conversion was available.
716
724
  created_by_name:
717
725
  type: string
718
726
  nullable: true
@@ -737,6 +745,7 @@ components:
737
745
  - coingecko_id
738
746
  - to_base
739
747
  - balance_as_of
748
+ - exchange_rate_as_of
740
749
  - created_by_name
741
750
  - created_at
742
751
  - updated_at
@@ -776,7 +785,14 @@ components:
776
785
  format: date-time
777
786
  nullable: true
778
787
  description: Date/time the balance was last updated in ISO 8601
779
- extended format
788
+ extended format.
789
+ exchange_rate_as_of:
790
+ type: string
791
+ format: date-time
792
+ nullable: true
793
+ description: Date/time the exchange rate used to calculate to_base was
794
+ last updated in ISO 8601 extended format. Null when no exchange rate was
795
+ used or no conversion was available.
780
796
  updated_at:
781
797
  type: string
782
798
  format: date-time
@@ -789,6 +805,7 @@ components:
789
805
  - coingecko_id
790
806
  - to_base
791
807
  - balance_as_of
808
+ - exchange_rate_as_of
792
809
  - updated_at
793
810
 
794
811
  syncedCryptoAccount:
@@ -1059,8 +1076,16 @@ components:
1059
1076
  type: string
1060
1077
  format: date-time
1061
1078
  nullable: true
1062
- description: System defined date/time the balance was last updated in
1063
- ISO 8601 extended format. Ignored if set
1079
+ description: System defined date/time the manual balance record was
1080
+ last updated in ISO 8601 extended format. Ignored if set
1081
+ x-updatable: false
1082
+ exchange_rate_as_of:
1083
+ type: string
1084
+ format: date-time
1085
+ nullable: true
1086
+ description: System defined date/time the exchange rate used to
1087
+ calculate to_base was observed in ISO 8601 extended format. Ignored
1088
+ if set
1064
1089
  x-updatable: false
1065
1090
  created_by_name:
1066
1091
  type: string
@@ -2908,7 +2933,6 @@ components:
2908
2933
  payee:
2909
2934
  type: string
2910
2935
  minLength: 0
2911
- maxLength: 140
2912
2936
  description: The payee for the child transaction. Will inherit the
2913
2937
  original payee from the parent if not defined.
2914
2938
  date:
@@ -3850,6 +3874,8 @@ components:
3850
3874
  # - `vuv`: Vanuatu Vatu
3851
3875
  # - `wst`: Samoan Tala
3852
3876
  # - `xaf`: CFA Franc BEAC
3877
+ # - `xag`: Silver
3878
+ # - `xau`: Gold
3853
3879
  # - `xcd`: East Caribbean Dollar
3854
3880
  # - `xof`: CFA Franc BCEAO
3855
3881
  # - `xpf`: CFP Franc
@@ -4013,6 +4039,8 @@ components:
4013
4039
  - vuv
4014
4040
  - wst
4015
4041
  - xaf
4042
+ - xag
4043
+ - xau
4016
4044
  - xcd
4017
4045
  - xof
4018
4046
  - xpf
@@ -5511,6 +5539,7 @@ paths:
5511
5539
  coingecko_id: bitcoin
5512
5540
  to_base: 53124.72
5513
5541
  balance_as_of: "2026-02-25T14:22:10.000Z"
5542
+ exchange_rate_as_of: "2026-02-25T14:10:00.000Z"
5514
5543
  created_by_name: User 1
5515
5544
  created_at: "2025-11-12T20:14:32.000Z"
5516
5545
  updated_at: "2026-02-25T14:22:10.000Z"
@@ -5568,6 +5597,7 @@ paths:
5568
5597
  coingecko_id: ethereum
5569
5598
  to_base: 28998.44
5570
5599
  balance_as_of: "2026-03-01T09:20:41.000Z"
5600
+ exchange_rate_as_of: "2026-03-01T09:15:00.000Z"
5571
5601
  created_by_name: User 1
5572
5602
  created_at: "2026-03-01T09:20:41.000Z"
5573
5603
  updated_at: "2026-03-01T09:20:41.000Z"
@@ -5635,6 +5665,7 @@ paths:
5635
5665
  coingecko_id: bitcoin
5636
5666
  to_base: 53124.72
5637
5667
  balance_as_of: "2026-02-25T14:22:10.000Z"
5668
+ exchange_rate_as_of: "2026-02-25T14:10:00.000Z"
5638
5669
  created_by_name: User 1
5639
5670
  created_at: "2025-11-12T20:14:32.000Z"
5640
5671
  updated_at: "2026-02-25T14:22:10.000Z"
@@ -5712,6 +5743,7 @@ paths:
5712
5743
  coingecko_id: bitcoin
5713
5744
  to_base: 56011.12
5714
5745
  balance_as_of: "2026-03-01T09:41:18.000Z"
5746
+ exchange_rate_as_of: "2026-03-01T09:35:00.000Z"
5715
5747
  created_by_name: User 1
5716
5748
  created_at: "2025-11-12T20:14:32.000Z"
5717
5749
  updated_at: "2026-02-25T14:22:10.000Z"
@@ -5732,6 +5764,7 @@ paths:
5732
5764
  coingecko_id: bitcoin
5733
5765
  to_base: 56011.12
5734
5766
  balance_as_of: "2026-03-01T09:41:18.000Z"
5767
+ exchange_rate_as_of: "2026-03-01T09:35:00.000Z"
5735
5768
  created_by_name: User 1
5736
5769
  created_at: "2025-11-12T20:14:32.000Z"
5737
5770
  updated_at: "2026-03-01T09:41:18.000Z"
@@ -5861,6 +5894,7 @@ paths:
5861
5894
  coingecko_id: ethereum
5862
5895
  to_base: 28998.44
5863
5896
  balance_as_of: "2026-02-25T14:25:00.000Z"
5897
+ exchange_rate_as_of: "2026-02-25T14:20:00.000Z"
5864
5898
  updated_at: "2026-02-25T14:25:01.000Z"
5865
5899
  - name: BTC
5866
5900
  balance: "0.100020003000400050"
@@ -5868,6 +5902,7 @@ paths:
5868
5902
  coingecko_id: bitcoin
5869
5903
  to_base: 6231.28
5870
5904
  balance_as_of: "2026-02-25T14:25:00.000Z"
5905
+ exchange_rate_as_of: "2026-02-25T14:20:00.000Z"
5871
5906
  updated_at: "2026-02-25T14:25:01.000Z"
5872
5907
  - id: 33005
5873
5908
  provider: kraken
@@ -5883,6 +5918,7 @@ paths:
5883
5918
  coingecko_id: ripple
5884
5919
  to_base: 1287.50
5885
5920
  balance_as_of: "2026-02-26T07:22:30.000Z"
5921
+ exchange_rate_as_of: "2026-02-26T07:10:00.000Z"
5886
5922
  updated_at: "2026-02-26T07:22:30.000Z"
5887
5923
  "401":
5888
5924
  $ref: "#/components/responses/unauthorizedToken"
@@ -5935,6 +5971,7 @@ paths:
5935
5971
  coingecko_id: ethereum
5936
5972
  to_base: 28998.44
5937
5973
  balance_as_of: "2026-02-25T14:25:00.000Z"
5974
+ exchange_rate_as_of: "2026-02-25T14:20:00.000Z"
5938
5975
  updated_at: "2026-02-25T14:25:01.000Z"
5939
5976
  - name: BTC
5940
5977
  balance: "0.100020003000400050"
@@ -5942,6 +5979,7 @@ paths:
5942
5979
  coingecko_id: bitcoin
5943
5980
  to_base: 6231.28
5944
5981
  balance_as_of: "2026-02-25T14:25:00.000Z"
5982
+ exchange_rate_as_of: "2026-02-25T14:20:00.000Z"
5945
5983
  updated_at: "2026-02-25T14:25:01.000Z"
5946
5984
  "400":
5947
5985
  description: Bad Request
@@ -6007,6 +6045,7 @@ paths:
6007
6045
  coingecko_id: ethereum
6008
6046
  to_base: 28998.44
6009
6047
  balance_as_of: "2026-02-25T14:25:00.000Z"
6048
+ exchange_rate_as_of: "2026-02-25T14:20:00.000Z"
6010
6049
  updated_at: "2026-02-25T14:25:01.000Z"
6011
6050
  "400":
6012
6051
  description: Bad Request
@@ -6092,6 +6131,7 @@ paths:
6092
6131
  coingecko_id: ethereum
6093
6132
  to_base: 28998.44
6094
6133
  balance_as_of: "2026-02-25T14:25:00.000Z"
6134
+ exchange_rate_as_of: "2026-02-25T14:20:00.000Z"
6095
6135
  updated_at: "2026-02-25T14:25:01.000Z"
6096
6136
  - name: BTC
6097
6137
  balance: "0.100020003000400050"
@@ -6099,6 +6139,7 @@ paths:
6099
6139
  coingecko_id: bitcoin
6100
6140
  to_base: 6231.28
6101
6141
  balance_as_of: "2026-02-25T14:25:00.000Z"
6142
+ exchange_rate_as_of: "2026-02-25T14:20:00.000Z"
6102
6143
  updated_at: "2026-02-25T14:25:01.000Z"
6103
6144
  "401":
6104
6145
  $ref: "#/components/responses/unauthorizedToken"
@@ -8803,7 +8844,6 @@ paths:
8803
8844
  description: |
8804
8845
  The payee for the new grouped transaction.
8805
8846
  minLength: 0
8806
- maxLength: 140
8807
8847
  category_id:
8808
8848
  type: integer
8809
8849
  format: int64
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunch-money/v2-api-spec",
3
- "version": "2.10.0-preview.5",
3
+ "version": "2.10.0-preview.7",
4
4
  "description": "OpenAPI specification and version history for the Lunch Money v2 API",
5
5
  "main": "lunch-money-api-v2.yaml",
6
6
  "files": [
@@ -12,6 +12,12 @@ The Lunch Money API spec uses a modified version of SEMVER for its versioning me
12
12
  - Viewing the balances for currencies associated with both manually managed crypto assets and those that are synced via a synced crypto account (ie: coinbase, kraken, ethereum wallet)
13
13
  - Refreshing synced crypto account balances
14
14
 
15
+ ## v2.9.3 - Apr 27, 2026
16
+ - Add `xag` and `xau` to the supported currency codes.
17
+
18
+ ## v2.9.2 - Apr 22, 2026
19
+ - Increase allowable length for a transaction `payee`
20
+
15
21
  ## v2.9.1 - Apr, 2026
16
22
  - You may now set `archived_at` when modifying a category or tag via the `PUT /categories` or `PUT /tags` endpoints.
17
23