@lunch-money/v2-api-spec 2.10.0-preview.6 → 2.10.0-preview.8

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.
@@ -666,7 +666,6 @@ components:
666
666
  cryptoManualObject:
667
667
  type: object
668
668
  title: manual crypto object
669
- x-internal: true
670
669
  additionalProperties: false
671
670
  properties:
672
671
  id:
@@ -706,13 +705,22 @@ components:
706
705
  description: CoinGecko identifier associated with this balance
707
706
  to_base:
708
707
  type: number
709
- description: Balance converted to the user's primary currency
708
+ nullable: true
709
+ description: Balance converted to the user's primary currency. May be null if no conversion was available.
710
710
  balance_as_of:
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
@@ -745,7 +754,6 @@ components:
745
754
  cryptoSyncedBalance:
746
755
  type: object
747
756
  title: synced crypto balance object
748
- x-internal: true
749
757
  additionalProperties: false
750
758
  properties:
751
759
  name:
@@ -770,13 +778,21 @@ components:
770
778
  description: CoinGecko identifier associated with this balance
771
779
  to_base:
772
780
  type: number
773
- description: Balance converted to the user's primary currency
781
+ nullable: true
782
+ description: Balance converted to the user's primary currency. May be null if no conversion was available.
774
783
  balance_as_of:
775
784
  type: string
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,12 +805,12 @@ 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:
795
812
  type: object
796
813
  title: synced crypto account
797
- x-internal: true
798
814
  additionalProperties: false
799
815
  properties:
800
816
  id:
@@ -1059,8 +1075,16 @@ components:
1059
1075
  type: string
1060
1076
  format: date-time
1061
1077
  nullable: true
1062
- description: System defined date/time the balance was last updated in
1063
- ISO 8601 extended format. Ignored if set
1078
+ description: System defined date/time the manual balance record was
1079
+ last updated in ISO 8601 extended format. Ignored if set
1080
+ x-updatable: false
1081
+ exchange_rate_as_of:
1082
+ type: string
1083
+ format: date-time
1084
+ nullable: true
1085
+ description: System defined date/time the exchange rate used to
1086
+ calculate to_base was observed in ISO 8601 extended format. Ignored
1087
+ if set
1064
1088
  x-updatable: false
1065
1089
  created_by_name:
1066
1090
  type: string
@@ -2908,7 +2932,6 @@ components:
2908
2932
  payee:
2909
2933
  type: string
2910
2934
  minLength: 0
2911
- maxLength: 140
2912
2935
  description: The payee for the child transaction. Will inherit the
2913
2936
  original payee from the parent if not defined.
2914
2937
  date:
@@ -5515,6 +5538,7 @@ paths:
5515
5538
  coingecko_id: bitcoin
5516
5539
  to_base: 53124.72
5517
5540
  balance_as_of: "2026-02-25T14:22:10.000Z"
5541
+ exchange_rate_as_of: "2026-02-25T14:10:00.000Z"
5518
5542
  created_by_name: User 1
5519
5543
  created_at: "2025-11-12T20:14:32.000Z"
5520
5544
  updated_at: "2026-02-25T14:22:10.000Z"
@@ -5572,6 +5596,7 @@ paths:
5572
5596
  coingecko_id: ethereum
5573
5597
  to_base: 28998.44
5574
5598
  balance_as_of: "2026-03-01T09:20:41.000Z"
5599
+ exchange_rate_as_of: "2026-03-01T09:15:00.000Z"
5575
5600
  created_by_name: User 1
5576
5601
  created_at: "2026-03-01T09:20:41.000Z"
5577
5602
  updated_at: "2026-03-01T09:20:41.000Z"
@@ -5639,6 +5664,7 @@ paths:
5639
5664
  coingecko_id: bitcoin
5640
5665
  to_base: 53124.72
5641
5666
  balance_as_of: "2026-02-25T14:22:10.000Z"
5667
+ exchange_rate_as_of: "2026-02-25T14:10:00.000Z"
5642
5668
  created_by_name: User 1
5643
5669
  created_at: "2025-11-12T20:14:32.000Z"
5644
5670
  updated_at: "2026-02-25T14:22:10.000Z"
@@ -5716,6 +5742,7 @@ paths:
5716
5742
  coingecko_id: bitcoin
5717
5743
  to_base: 56011.12
5718
5744
  balance_as_of: "2026-03-01T09:41:18.000Z"
5745
+ exchange_rate_as_of: "2026-03-01T09:35:00.000Z"
5719
5746
  created_by_name: User 1
5720
5747
  created_at: "2025-11-12T20:14:32.000Z"
5721
5748
  updated_at: "2026-02-25T14:22:10.000Z"
@@ -5736,6 +5763,7 @@ paths:
5736
5763
  coingecko_id: bitcoin
5737
5764
  to_base: 56011.12
5738
5765
  balance_as_of: "2026-03-01T09:41:18.000Z"
5766
+ exchange_rate_as_of: "2026-03-01T09:35:00.000Z"
5739
5767
  created_by_name: User 1
5740
5768
  created_at: "2025-11-12T20:14:32.000Z"
5741
5769
  updated_at: "2026-03-01T09:41:18.000Z"
@@ -5865,6 +5893,7 @@ paths:
5865
5893
  coingecko_id: ethereum
5866
5894
  to_base: 28998.44
5867
5895
  balance_as_of: "2026-02-25T14:25:00.000Z"
5896
+ exchange_rate_as_of: "2026-02-25T14:20:00.000Z"
5868
5897
  updated_at: "2026-02-25T14:25:01.000Z"
5869
5898
  - name: BTC
5870
5899
  balance: "0.100020003000400050"
@@ -5872,6 +5901,7 @@ paths:
5872
5901
  coingecko_id: bitcoin
5873
5902
  to_base: 6231.28
5874
5903
  balance_as_of: "2026-02-25T14:25:00.000Z"
5904
+ exchange_rate_as_of: "2026-02-25T14:20:00.000Z"
5875
5905
  updated_at: "2026-02-25T14:25:01.000Z"
5876
5906
  - id: 33005
5877
5907
  provider: kraken
@@ -5887,6 +5917,7 @@ paths:
5887
5917
  coingecko_id: ripple
5888
5918
  to_base: 1287.50
5889
5919
  balance_as_of: "2026-02-26T07:22:30.000Z"
5920
+ exchange_rate_as_of: "2026-02-26T07:10:00.000Z"
5890
5921
  updated_at: "2026-02-26T07:22:30.000Z"
5891
5922
  "401":
5892
5923
  $ref: "#/components/responses/unauthorizedToken"
@@ -5939,6 +5970,7 @@ paths:
5939
5970
  coingecko_id: ethereum
5940
5971
  to_base: 28998.44
5941
5972
  balance_as_of: "2026-02-25T14:25:00.000Z"
5973
+ exchange_rate_as_of: "2026-02-25T14:20:00.000Z"
5942
5974
  updated_at: "2026-02-25T14:25:01.000Z"
5943
5975
  - name: BTC
5944
5976
  balance: "0.100020003000400050"
@@ -5946,6 +5978,7 @@ paths:
5946
5978
  coingecko_id: bitcoin
5947
5979
  to_base: 6231.28
5948
5980
  balance_as_of: "2026-02-25T14:25:00.000Z"
5981
+ exchange_rate_as_of: "2026-02-25T14:20:00.000Z"
5949
5982
  updated_at: "2026-02-25T14:25:01.000Z"
5950
5983
  "400":
5951
5984
  description: Bad Request
@@ -6011,6 +6044,7 @@ paths:
6011
6044
  coingecko_id: ethereum
6012
6045
  to_base: 28998.44
6013
6046
  balance_as_of: "2026-02-25T14:25:00.000Z"
6047
+ exchange_rate_as_of: "2026-02-25T14:20:00.000Z"
6014
6048
  updated_at: "2026-02-25T14:25:01.000Z"
6015
6049
  "400":
6016
6050
  description: Bad Request
@@ -6096,6 +6130,7 @@ paths:
6096
6130
  coingecko_id: ethereum
6097
6131
  to_base: 28998.44
6098
6132
  balance_as_of: "2026-02-25T14:25:00.000Z"
6133
+ exchange_rate_as_of: "2026-02-25T14:20:00.000Z"
6099
6134
  updated_at: "2026-02-25T14:25:01.000Z"
6100
6135
  - name: BTC
6101
6136
  balance: "0.100020003000400050"
@@ -6103,6 +6138,7 @@ paths:
6103
6138
  coingecko_id: bitcoin
6104
6139
  to_base: 6231.28
6105
6140
  balance_as_of: "2026-02-25T14:25:00.000Z"
6141
+ exchange_rate_as_of: "2026-02-25T14:20:00.000Z"
6106
6142
  updated_at: "2026-02-25T14:25:01.000Z"
6107
6143
  "401":
6108
6144
  $ref: "#/components/responses/unauthorizedToken"
@@ -8807,7 +8843,6 @@ paths:
8807
8843
  description: |
8808
8844
  The payee for the new grouped transaction.
8809
8845
  minLength: 0
8810
- maxLength: 140
8811
8846
  category_id:
8812
8847
  type: integer
8813
8848
  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.8",
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": [