@lunch-money/v2-api-spec 2.10.0-preview.6 → 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:
@@ -5515,6 +5539,7 @@ paths:
5515
5539
  coingecko_id: bitcoin
5516
5540
  to_base: 53124.72
5517
5541
  balance_as_of: "2026-02-25T14:22:10.000Z"
5542
+ exchange_rate_as_of: "2026-02-25T14:10:00.000Z"
5518
5543
  created_by_name: User 1
5519
5544
  created_at: "2025-11-12T20:14:32.000Z"
5520
5545
  updated_at: "2026-02-25T14:22:10.000Z"
@@ -5572,6 +5597,7 @@ paths:
5572
5597
  coingecko_id: ethereum
5573
5598
  to_base: 28998.44
5574
5599
  balance_as_of: "2026-03-01T09:20:41.000Z"
5600
+ exchange_rate_as_of: "2026-03-01T09:15:00.000Z"
5575
5601
  created_by_name: User 1
5576
5602
  created_at: "2026-03-01T09:20:41.000Z"
5577
5603
  updated_at: "2026-03-01T09:20:41.000Z"
@@ -5639,6 +5665,7 @@ paths:
5639
5665
  coingecko_id: bitcoin
5640
5666
  to_base: 53124.72
5641
5667
  balance_as_of: "2026-02-25T14:22:10.000Z"
5668
+ exchange_rate_as_of: "2026-02-25T14:10:00.000Z"
5642
5669
  created_by_name: User 1
5643
5670
  created_at: "2025-11-12T20:14:32.000Z"
5644
5671
  updated_at: "2026-02-25T14:22:10.000Z"
@@ -5716,6 +5743,7 @@ paths:
5716
5743
  coingecko_id: bitcoin
5717
5744
  to_base: 56011.12
5718
5745
  balance_as_of: "2026-03-01T09:41:18.000Z"
5746
+ exchange_rate_as_of: "2026-03-01T09:35:00.000Z"
5719
5747
  created_by_name: User 1
5720
5748
  created_at: "2025-11-12T20:14:32.000Z"
5721
5749
  updated_at: "2026-02-25T14:22:10.000Z"
@@ -5736,6 +5764,7 @@ paths:
5736
5764
  coingecko_id: bitcoin
5737
5765
  to_base: 56011.12
5738
5766
  balance_as_of: "2026-03-01T09:41:18.000Z"
5767
+ exchange_rate_as_of: "2026-03-01T09:35:00.000Z"
5739
5768
  created_by_name: User 1
5740
5769
  created_at: "2025-11-12T20:14:32.000Z"
5741
5770
  updated_at: "2026-03-01T09:41:18.000Z"
@@ -5865,6 +5894,7 @@ paths:
5865
5894
  coingecko_id: ethereum
5866
5895
  to_base: 28998.44
5867
5896
  balance_as_of: "2026-02-25T14:25:00.000Z"
5897
+ exchange_rate_as_of: "2026-02-25T14:20:00.000Z"
5868
5898
  updated_at: "2026-02-25T14:25:01.000Z"
5869
5899
  - name: BTC
5870
5900
  balance: "0.100020003000400050"
@@ -5872,6 +5902,7 @@ paths:
5872
5902
  coingecko_id: bitcoin
5873
5903
  to_base: 6231.28
5874
5904
  balance_as_of: "2026-02-25T14:25:00.000Z"
5905
+ exchange_rate_as_of: "2026-02-25T14:20:00.000Z"
5875
5906
  updated_at: "2026-02-25T14:25:01.000Z"
5876
5907
  - id: 33005
5877
5908
  provider: kraken
@@ -5887,6 +5918,7 @@ paths:
5887
5918
  coingecko_id: ripple
5888
5919
  to_base: 1287.50
5889
5920
  balance_as_of: "2026-02-26T07:22:30.000Z"
5921
+ exchange_rate_as_of: "2026-02-26T07:10:00.000Z"
5890
5922
  updated_at: "2026-02-26T07:22:30.000Z"
5891
5923
  "401":
5892
5924
  $ref: "#/components/responses/unauthorizedToken"
@@ -5939,6 +5971,7 @@ paths:
5939
5971
  coingecko_id: ethereum
5940
5972
  to_base: 28998.44
5941
5973
  balance_as_of: "2026-02-25T14:25:00.000Z"
5974
+ exchange_rate_as_of: "2026-02-25T14:20:00.000Z"
5942
5975
  updated_at: "2026-02-25T14:25:01.000Z"
5943
5976
  - name: BTC
5944
5977
  balance: "0.100020003000400050"
@@ -5946,6 +5979,7 @@ paths:
5946
5979
  coingecko_id: bitcoin
5947
5980
  to_base: 6231.28
5948
5981
  balance_as_of: "2026-02-25T14:25:00.000Z"
5982
+ exchange_rate_as_of: "2026-02-25T14:20:00.000Z"
5949
5983
  updated_at: "2026-02-25T14:25:01.000Z"
5950
5984
  "400":
5951
5985
  description: Bad Request
@@ -6011,6 +6045,7 @@ paths:
6011
6045
  coingecko_id: ethereum
6012
6046
  to_base: 28998.44
6013
6047
  balance_as_of: "2026-02-25T14:25:00.000Z"
6048
+ exchange_rate_as_of: "2026-02-25T14:20:00.000Z"
6014
6049
  updated_at: "2026-02-25T14:25:01.000Z"
6015
6050
  "400":
6016
6051
  description: Bad Request
@@ -6096,6 +6131,7 @@ paths:
6096
6131
  coingecko_id: ethereum
6097
6132
  to_base: 28998.44
6098
6133
  balance_as_of: "2026-02-25T14:25:00.000Z"
6134
+ exchange_rate_as_of: "2026-02-25T14:20:00.000Z"
6099
6135
  updated_at: "2026-02-25T14:25:01.000Z"
6100
6136
  - name: BTC
6101
6137
  balance: "0.100020003000400050"
@@ -6103,6 +6139,7 @@ paths:
6103
6139
  coingecko_id: bitcoin
6104
6140
  to_base: 6231.28
6105
6141
  balance_as_of: "2026-02-25T14:25:00.000Z"
6142
+ exchange_rate_as_of: "2026-02-25T14:20:00.000Z"
6106
6143
  updated_at: "2026-02-25T14:25:01.000Z"
6107
6144
  "401":
6108
6145
  $ref: "#/components/responses/unauthorizedToken"
@@ -8807,7 +8844,6 @@ paths:
8807
8844
  description: |
8808
8845
  The payee for the new grouped transaction.
8809
8846
  minLength: 0
8810
- maxLength: 140
8811
8847
  category_id:
8812
8848
  type: integer
8813
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.6",
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": [