@lightsparkdev/lightspark-sdk 1.1.6 → 1.1.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.
@@ -424,6 +424,19 @@ var AccountToChannelsConnection_default = AccountToChannelsConnection;
424
424
  import { LightsparkException } from "@lightsparkdev/core";
425
425
  import autoBind5 from "auto-bind";
426
426
 
427
+ // src/objects/Balances.ts
428
+ var BalancesFromJson = (obj) => {
429
+ return {
430
+ ownedBalance: CurrencyAmountFromJson(obj["balances_owned_balance"]),
431
+ availableToSendBalance: CurrencyAmountFromJson(
432
+ obj["balances_available_to_send_balance"]
433
+ ),
434
+ availableToWithdrawBalance: CurrencyAmountFromJson(
435
+ obj["balances_available_to_withdraw_balance"]
436
+ )
437
+ };
438
+ };
439
+
427
440
  // src/objects/BlockchainBalance.ts
428
441
  var BlockchainBalanceFromJson = (obj) => {
429
442
  return {
@@ -508,7 +521,7 @@ var SecretFromJson = (obj) => {
508
521
 
509
522
  // src/objects/LightsparkNodeWithOSK.ts
510
523
  var LightsparkNodeWithOSK = class {
511
- constructor(id, createdAt, updatedAt, bitcoinNetwork, displayName, ownerId, umaPrescreeningUtxos, typename, alias, color, conductivity, publicKey, status, totalBalance, totalLocalBalance, localBalance, remoteBalance, blockchainBalance, encryptedSigningPrivateKey) {
524
+ constructor(id, createdAt, updatedAt, bitcoinNetwork, displayName, ownerId, umaPrescreeningUtxos, typename, alias, color, conductivity, publicKey, status, totalBalance, totalLocalBalance, localBalance, remoteBalance, blockchainBalance, balances, encryptedSigningPrivateKey) {
512
525
  this.id = id;
513
526
  this.createdAt = createdAt;
514
527
  this.updatedAt = updatedAt;
@@ -527,6 +540,7 @@ var LightsparkNodeWithOSK = class {
527
540
  this.localBalance = localBalance;
528
541
  this.remoteBalance = remoteBalance;
529
542
  this.blockchainBalance = blockchainBalance;
543
+ this.balances = balances;
530
544
  this.encryptedSigningPrivateKey = encryptedSigningPrivateKey;
531
545
  autoBind3(this);
532
546
  }
@@ -725,6 +739,7 @@ var LightsparkNodeWithOSKFromJson = (obj) => {
725
739
  !!obj["lightspark_node_with_o_s_k_blockchain_balance"] ? BlockchainBalanceFromJson(
726
740
  obj["lightspark_node_with_o_s_k_blockchain_balance"]
727
741
  ) : void 0,
742
+ !!obj["lightspark_node_with_o_s_k_balances"] ? BalancesFromJson(obj["lightspark_node_with_o_s_k_balances"]) : void 0,
728
743
  !!obj["lightspark_node_with_o_s_k_encrypted_signing_private_key"] ? SecretFromJson(
729
744
  obj["lightspark_node_with_o_s_k_encrypted_signing_private_key"]
730
745
  ) : void 0
@@ -830,6 +845,33 @@ fragment LightsparkNodeWithOSKFragment on LightsparkNodeWithOSK {
830
845
  }
831
846
  }
832
847
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
848
+ lightspark_node_with_o_s_k_balances: balances {
849
+ __typename
850
+ balances_owned_balance: owned_balance {
851
+ __typename
852
+ currency_amount_original_value: original_value
853
+ currency_amount_original_unit: original_unit
854
+ currency_amount_preferred_currency_unit: preferred_currency_unit
855
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
856
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
857
+ }
858
+ balances_available_to_send_balance: available_to_send_balance {
859
+ __typename
860
+ currency_amount_original_value: original_value
861
+ currency_amount_original_unit: original_unit
862
+ currency_amount_preferred_currency_unit: preferred_currency_unit
863
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
864
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
865
+ }
866
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
867
+ __typename
868
+ currency_amount_original_value: original_value
869
+ currency_amount_original_unit: original_unit
870
+ currency_amount_preferred_currency_unit: preferred_currency_unit
871
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
872
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
873
+ }
874
+ }
833
875
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
834
876
  __typename
835
877
  secret_encrypted_value: encrypted_value
@@ -841,7 +883,7 @@ var LightsparkNodeWithOSK_default = LightsparkNodeWithOSK;
841
883
  // src/objects/LightsparkNodeWithRemoteSigning.ts
842
884
  import autoBind4 from "auto-bind";
843
885
  var LightsparkNodeWithRemoteSigning = class {
844
- constructor(id, createdAt, updatedAt, bitcoinNetwork, displayName, ownerId, umaPrescreeningUtxos, typename, alias, color, conductivity, publicKey, status, totalBalance, totalLocalBalance, localBalance, remoteBalance, blockchainBalance) {
886
+ constructor(id, createdAt, updatedAt, bitcoinNetwork, displayName, ownerId, umaPrescreeningUtxos, typename, alias, color, conductivity, publicKey, status, totalBalance, totalLocalBalance, localBalance, remoteBalance, blockchainBalance, balances) {
845
887
  this.id = id;
846
888
  this.createdAt = createdAt;
847
889
  this.updatedAt = updatedAt;
@@ -860,6 +902,7 @@ var LightsparkNodeWithRemoteSigning = class {
860
902
  this.localBalance = localBalance;
861
903
  this.remoteBalance = remoteBalance;
862
904
  this.blockchainBalance = blockchainBalance;
905
+ this.balances = balances;
863
906
  autoBind4(this);
864
907
  }
865
908
  async getAddresses(client, first = void 0, types = void 0) {
@@ -1062,7 +1105,8 @@ var LightsparkNodeWithRemoteSigningFromJson = (obj) => {
1062
1105
  ) : void 0,
1063
1106
  !!obj["lightspark_node_with_remote_signing_blockchain_balance"] ? BlockchainBalanceFromJson(
1064
1107
  obj["lightspark_node_with_remote_signing_blockchain_balance"]
1065
- ) : void 0
1108
+ ) : void 0,
1109
+ !!obj["lightspark_node_with_remote_signing_balances"] ? BalancesFromJson(obj["lightspark_node_with_remote_signing_balances"]) : void 0
1066
1110
  );
1067
1111
  };
1068
1112
  var FRAGMENT5 = `
@@ -1165,12 +1209,39 @@ fragment LightsparkNodeWithRemoteSigningFragment on LightsparkNodeWithRemoteSign
1165
1209
  }
1166
1210
  }
1167
1211
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
1212
+ lightspark_node_with_remote_signing_balances: balances {
1213
+ __typename
1214
+ balances_owned_balance: owned_balance {
1215
+ __typename
1216
+ currency_amount_original_value: original_value
1217
+ currency_amount_original_unit: original_unit
1218
+ currency_amount_preferred_currency_unit: preferred_currency_unit
1219
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
1220
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
1221
+ }
1222
+ balances_available_to_send_balance: available_to_send_balance {
1223
+ __typename
1224
+ currency_amount_original_value: original_value
1225
+ currency_amount_original_unit: original_unit
1226
+ currency_amount_preferred_currency_unit: preferred_currency_unit
1227
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
1228
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
1229
+ }
1230
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
1231
+ __typename
1232
+ currency_amount_original_value: original_value
1233
+ currency_amount_original_unit: original_unit
1234
+ currency_amount_preferred_currency_unit: preferred_currency_unit
1235
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
1236
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
1237
+ }
1238
+ }
1168
1239
  }`;
1169
1240
  var LightsparkNodeWithRemoteSigning_default = LightsparkNodeWithRemoteSigning;
1170
1241
 
1171
1242
  // src/objects/LightsparkNode.ts
1172
1243
  var LightsparkNode = class {
1173
- constructor(id, createdAt, updatedAt, bitcoinNetwork, displayName, ownerId, umaPrescreeningUtxos, typename, alias, color, conductivity, publicKey, status, totalBalance, totalLocalBalance, localBalance, remoteBalance, blockchainBalance) {
1244
+ constructor(id, createdAt, updatedAt, bitcoinNetwork, displayName, ownerId, umaPrescreeningUtxos, typename, alias, color, conductivity, publicKey, status, totalBalance, totalLocalBalance, localBalance, remoteBalance, blockchainBalance, balances) {
1174
1245
  this.id = id;
1175
1246
  this.createdAt = createdAt;
1176
1247
  this.updatedAt = updatedAt;
@@ -1189,6 +1260,7 @@ var LightsparkNode = class {
1189
1260
  this.localBalance = localBalance;
1190
1261
  this.remoteBalance = remoteBalance;
1191
1262
  this.blockchainBalance = blockchainBalance;
1263
+ this.balances = balances;
1192
1264
  autoBind5(this);
1193
1265
  }
1194
1266
  async getAddresses(client, first = void 0, types = void 0) {
@@ -1393,6 +1465,7 @@ var LightsparkNodeFromJson = (obj) => {
1393
1465
  !!obj["lightspark_node_with_o_s_k_blockchain_balance"] ? BlockchainBalanceFromJson(
1394
1466
  obj["lightspark_node_with_o_s_k_blockchain_balance"]
1395
1467
  ) : void 0,
1468
+ !!obj["lightspark_node_with_o_s_k_balances"] ? BalancesFromJson(obj["lightspark_node_with_o_s_k_balances"]) : void 0,
1396
1469
  !!obj["lightspark_node_with_o_s_k_encrypted_signing_private_key"] ? SecretFromJson(
1397
1470
  obj["lightspark_node_with_o_s_k_encrypted_signing_private_key"]
1398
1471
  ) : void 0
@@ -1427,7 +1500,8 @@ var LightsparkNodeFromJson = (obj) => {
1427
1500
  ) : void 0,
1428
1501
  !!obj["lightspark_node_with_remote_signing_blockchain_balance"] ? BlockchainBalanceFromJson(
1429
1502
  obj["lightspark_node_with_remote_signing_blockchain_balance"]
1430
- ) : void 0
1503
+ ) : void 0,
1504
+ !!obj["lightspark_node_with_remote_signing_balances"] ? BalancesFromJson(obj["lightspark_node_with_remote_signing_balances"]) : void 0
1431
1505
  );
1432
1506
  }
1433
1507
  throw new LightsparkException(
@@ -1537,6 +1611,33 @@ fragment LightsparkNodeFragment on LightsparkNode {
1537
1611
  }
1538
1612
  }
1539
1613
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
1614
+ lightspark_node_with_o_s_k_balances: balances {
1615
+ __typename
1616
+ balances_owned_balance: owned_balance {
1617
+ __typename
1618
+ currency_amount_original_value: original_value
1619
+ currency_amount_original_unit: original_unit
1620
+ currency_amount_preferred_currency_unit: preferred_currency_unit
1621
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
1622
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
1623
+ }
1624
+ balances_available_to_send_balance: available_to_send_balance {
1625
+ __typename
1626
+ currency_amount_original_value: original_value
1627
+ currency_amount_original_unit: original_unit
1628
+ currency_amount_preferred_currency_unit: preferred_currency_unit
1629
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
1630
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
1631
+ }
1632
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
1633
+ __typename
1634
+ currency_amount_original_value: original_value
1635
+ currency_amount_original_unit: original_unit
1636
+ currency_amount_preferred_currency_unit: preferred_currency_unit
1637
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
1638
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
1639
+ }
1640
+ }
1540
1641
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
1541
1642
  __typename
1542
1643
  secret_encrypted_value: encrypted_value
@@ -1642,6 +1743,33 @@ fragment LightsparkNodeFragment on LightsparkNode {
1642
1743
  }
1643
1744
  }
1644
1745
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
1746
+ lightspark_node_with_remote_signing_balances: balances {
1747
+ __typename
1748
+ balances_owned_balance: owned_balance {
1749
+ __typename
1750
+ currency_amount_original_value: original_value
1751
+ currency_amount_original_unit: original_unit
1752
+ currency_amount_preferred_currency_unit: preferred_currency_unit
1753
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
1754
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
1755
+ }
1756
+ balances_available_to_send_balance: available_to_send_balance {
1757
+ __typename
1758
+ currency_amount_original_value: original_value
1759
+ currency_amount_original_unit: original_unit
1760
+ currency_amount_preferred_currency_unit: preferred_currency_unit
1761
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
1762
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
1763
+ }
1764
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
1765
+ __typename
1766
+ currency_amount_original_value: original_value
1767
+ currency_amount_original_unit: original_unit
1768
+ currency_amount_preferred_currency_unit: preferred_currency_unit
1769
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
1770
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
1771
+ }
1772
+ }
1645
1773
  }
1646
1774
  }`;
1647
1775
  var LightsparkNode_default = LightsparkNode;
@@ -1858,6 +1986,7 @@ var NodeFromJson = (obj) => {
1858
1986
  !!obj["lightspark_node_with_o_s_k_blockchain_balance"] ? BlockchainBalanceFromJson(
1859
1987
  obj["lightspark_node_with_o_s_k_blockchain_balance"]
1860
1988
  ) : void 0,
1989
+ !!obj["lightspark_node_with_o_s_k_balances"] ? BalancesFromJson(obj["lightspark_node_with_o_s_k_balances"]) : void 0,
1861
1990
  !!obj["lightspark_node_with_o_s_k_encrypted_signing_private_key"] ? SecretFromJson(
1862
1991
  obj["lightspark_node_with_o_s_k_encrypted_signing_private_key"]
1863
1992
  ) : void 0
@@ -1892,7 +2021,8 @@ var NodeFromJson = (obj) => {
1892
2021
  ) : void 0,
1893
2022
  !!obj["lightspark_node_with_remote_signing_blockchain_balance"] ? BlockchainBalanceFromJson(
1894
2023
  obj["lightspark_node_with_remote_signing_blockchain_balance"]
1895
- ) : void 0
2024
+ ) : void 0,
2025
+ !!obj["lightspark_node_with_remote_signing_balances"] ? BalancesFromJson(obj["lightspark_node_with_remote_signing_balances"]) : void 0
1896
2026
  );
1897
2027
  }
1898
2028
  throw new LightsparkException2(
@@ -2014,6 +2144,33 @@ fragment NodeFragment on Node {
2014
2144
  }
2015
2145
  }
2016
2146
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
2147
+ lightspark_node_with_o_s_k_balances: balances {
2148
+ __typename
2149
+ balances_owned_balance: owned_balance {
2150
+ __typename
2151
+ currency_amount_original_value: original_value
2152
+ currency_amount_original_unit: original_unit
2153
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2154
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2155
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2156
+ }
2157
+ balances_available_to_send_balance: available_to_send_balance {
2158
+ __typename
2159
+ currency_amount_original_value: original_value
2160
+ currency_amount_original_unit: original_unit
2161
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2162
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2163
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2164
+ }
2165
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
2166
+ __typename
2167
+ currency_amount_original_value: original_value
2168
+ currency_amount_original_unit: original_unit
2169
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2170
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2171
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2172
+ }
2173
+ }
2017
2174
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
2018
2175
  __typename
2019
2176
  secret_encrypted_value: encrypted_value
@@ -2119,6 +2276,33 @@ fragment NodeFragment on Node {
2119
2276
  }
2120
2277
  }
2121
2278
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
2279
+ lightspark_node_with_remote_signing_balances: balances {
2280
+ __typename
2281
+ balances_owned_balance: owned_balance {
2282
+ __typename
2283
+ currency_amount_original_value: original_value
2284
+ currency_amount_original_unit: original_unit
2285
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2286
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2287
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2288
+ }
2289
+ balances_available_to_send_balance: available_to_send_balance {
2290
+ __typename
2291
+ currency_amount_original_value: original_value
2292
+ currency_amount_original_unit: original_unit
2293
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2294
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2295
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2296
+ }
2297
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
2298
+ __typename
2299
+ currency_amount_original_value: original_value
2300
+ currency_amount_original_unit: original_unit
2301
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2302
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2303
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2304
+ }
2305
+ }
2122
2306
  }
2123
2307
  }`;
2124
2308
  var Node_default = Node;
@@ -2267,6 +2451,33 @@ fragment InvoiceDataFragment on InvoiceData {
2267
2451
  }
2268
2452
  }
2269
2453
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
2454
+ lightspark_node_with_o_s_k_balances: balances {
2455
+ __typename
2456
+ balances_owned_balance: owned_balance {
2457
+ __typename
2458
+ currency_amount_original_value: original_value
2459
+ currency_amount_original_unit: original_unit
2460
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2461
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2462
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2463
+ }
2464
+ balances_available_to_send_balance: available_to_send_balance {
2465
+ __typename
2466
+ currency_amount_original_value: original_value
2467
+ currency_amount_original_unit: original_unit
2468
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2469
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2470
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2471
+ }
2472
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
2473
+ __typename
2474
+ currency_amount_original_value: original_value
2475
+ currency_amount_original_unit: original_unit
2476
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2477
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2478
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2479
+ }
2480
+ }
2270
2481
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
2271
2482
  __typename
2272
2483
  secret_encrypted_value: encrypted_value
@@ -2372,6 +2583,33 @@ fragment InvoiceDataFragment on InvoiceData {
2372
2583
  }
2373
2584
  }
2374
2585
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
2586
+ lightspark_node_with_remote_signing_balances: balances {
2587
+ __typename
2588
+ balances_owned_balance: owned_balance {
2589
+ __typename
2590
+ currency_amount_original_value: original_value
2591
+ currency_amount_original_unit: original_unit
2592
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2593
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2594
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2595
+ }
2596
+ balances_available_to_send_balance: available_to_send_balance {
2597
+ __typename
2598
+ currency_amount_original_value: original_value
2599
+ currency_amount_original_unit: original_unit
2600
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2601
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2602
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2603
+ }
2604
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
2605
+ __typename
2606
+ currency_amount_original_value: original_value
2607
+ currency_amount_original_unit: original_unit
2608
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2609
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2610
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2611
+ }
2612
+ }
2375
2613
  }
2376
2614
  }
2377
2615
  }`;
@@ -2540,6 +2778,33 @@ fragment PaymentRequestFragment on PaymentRequest {
2540
2778
  }
2541
2779
  }
2542
2780
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
2781
+ lightspark_node_with_o_s_k_balances: balances {
2782
+ __typename
2783
+ balances_owned_balance: owned_balance {
2784
+ __typename
2785
+ currency_amount_original_value: original_value
2786
+ currency_amount_original_unit: original_unit
2787
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2788
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2789
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2790
+ }
2791
+ balances_available_to_send_balance: available_to_send_balance {
2792
+ __typename
2793
+ currency_amount_original_value: original_value
2794
+ currency_amount_original_unit: original_unit
2795
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2796
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2797
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2798
+ }
2799
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
2800
+ __typename
2801
+ currency_amount_original_value: original_value
2802
+ currency_amount_original_unit: original_unit
2803
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2804
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2805
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2806
+ }
2807
+ }
2543
2808
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
2544
2809
  __typename
2545
2810
  secret_encrypted_value: encrypted_value
@@ -2645,6 +2910,33 @@ fragment PaymentRequestFragment on PaymentRequest {
2645
2910
  }
2646
2911
  }
2647
2912
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
2913
+ lightspark_node_with_remote_signing_balances: balances {
2914
+ __typename
2915
+ balances_owned_balance: owned_balance {
2916
+ __typename
2917
+ currency_amount_original_value: original_value
2918
+ currency_amount_original_unit: original_unit
2919
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2920
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2921
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2922
+ }
2923
+ balances_available_to_send_balance: available_to_send_balance {
2924
+ __typename
2925
+ currency_amount_original_value: original_value
2926
+ currency_amount_original_unit: original_unit
2927
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2928
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2929
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2930
+ }
2931
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
2932
+ __typename
2933
+ currency_amount_original_value: original_value
2934
+ currency_amount_original_unit: original_unit
2935
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2936
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2937
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2938
+ }
2939
+ }
2648
2940
  }
2649
2941
  }
2650
2942
  }
@@ -2944,9 +3236,13 @@ import autoBind9 from "auto-bind";
2944
3236
  // src/objects/ChannelSnapshot.ts
2945
3237
  var ChannelSnapshotFromJson = (obj) => {
2946
3238
  return {
3239
+ channelId: obj["channel_snapshot_channel"].id,
3240
+ timestamp: obj["channel_snapshot_timestamp"],
2947
3241
  localBalance: !!obj["channel_snapshot_local_balance"] ? CurrencyAmountFromJson(obj["channel_snapshot_local_balance"]) : void 0,
2948
3242
  localUnsettledBalance: !!obj["channel_snapshot_local_unsettled_balance"] ? CurrencyAmountFromJson(obj["channel_snapshot_local_unsettled_balance"]) : void 0,
2949
- localChannelReserve: !!obj["channel_snapshot_local_channel_reserve"] ? CurrencyAmountFromJson(obj["channel_snapshot_local_channel_reserve"]) : void 0
3243
+ localChannelReserve: !!obj["channel_snapshot_local_channel_reserve"] ? CurrencyAmountFromJson(obj["channel_snapshot_local_channel_reserve"]) : void 0,
3244
+ remoteBalance: !!obj["channel_snapshot_remote_balance"] ? CurrencyAmountFromJson(obj["channel_snapshot_remote_balance"]) : void 0,
3245
+ remoteUnsettledBalance: !!obj["channel_snapshot_remote_unsettled_balance"] ? CurrencyAmountFromJson(obj["channel_snapshot_remote_unsettled_balance"]) : void 0
2950
3246
  };
2951
3247
  };
2952
3248
 
@@ -2977,6 +3273,7 @@ var HtlcAttemptFailureCode = /* @__PURE__ */ ((HtlcAttemptFailureCode2) => {
2977
3273
  HtlcAttemptFailureCode2["EXPIRY_TOO_FAR"] = "EXPIRY_TOO_FAR";
2978
3274
  HtlcAttemptFailureCode2["MPP_TIMEOUT"] = "MPP_TIMEOUT";
2979
3275
  HtlcAttemptFailureCode2["INVALID_ONION_PAYLOAD"] = "INVALID_ONION_PAYLOAD";
3276
+ HtlcAttemptFailureCode2["INVALID_ONION_BLINDING"] = "INVALID_ONION_BLINDING";
2980
3277
  HtlcAttemptFailureCode2["INTERNAL_FAILURE"] = "INTERNAL_FAILURE";
2981
3278
  HtlcAttemptFailureCode2["UNKNOWN_FAILURE"] = "UNKNOWN_FAILURE";
2982
3279
  HtlcAttemptFailureCode2["UNREADABLE_FAILURE"] = "UNREADABLE_FAILURE";
@@ -3210,6 +3507,10 @@ fragment OutgoingPaymentAttemptFragment on OutgoingPaymentAttempt {
3210
3507
  }
3211
3508
  outgoing_payment_attempt_channel_snapshot: channel_snapshot {
3212
3509
  __typename
3510
+ channel_snapshot_channel: channel {
3511
+ id
3512
+ }
3513
+ channel_snapshot_timestamp: timestamp
3213
3514
  channel_snapshot_local_balance: local_balance {
3214
3515
  __typename
3215
3516
  currency_amount_original_value: original_value
@@ -3234,6 +3535,22 @@ fragment OutgoingPaymentAttemptFragment on OutgoingPaymentAttempt {
3234
3535
  currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
3235
3536
  currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
3236
3537
  }
3538
+ channel_snapshot_remote_balance: remote_balance {
3539
+ __typename
3540
+ currency_amount_original_value: original_value
3541
+ currency_amount_original_unit: original_unit
3542
+ currency_amount_preferred_currency_unit: preferred_currency_unit
3543
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
3544
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
3545
+ }
3546
+ channel_snapshot_remote_unsettled_balance: remote_unsettled_balance {
3547
+ __typename
3548
+ currency_amount_original_value: original_value
3549
+ currency_amount_original_unit: original_unit
3550
+ currency_amount_preferred_currency_unit: preferred_currency_unit
3551
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
3552
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
3553
+ }
3237
3554
  }
3238
3555
  }`;
3239
3556
  var OutgoingPaymentAttempt_default = OutgoingPaymentAttempt;
@@ -3365,6 +3682,10 @@ query FetchOutgoingPaymentToAttemptsConnection($entity_id: ID!, $first: Int, $af
3365
3682
  }
3366
3683
  outgoing_payment_attempt_channel_snapshot: channel_snapshot {
3367
3684
  __typename
3685
+ channel_snapshot_channel: channel {
3686
+ id
3687
+ }
3688
+ channel_snapshot_timestamp: timestamp
3368
3689
  channel_snapshot_local_balance: local_balance {
3369
3690
  __typename
3370
3691
  currency_amount_original_value: original_value
@@ -3389,6 +3710,22 @@ query FetchOutgoingPaymentToAttemptsConnection($entity_id: ID!, $first: Int, $af
3389
3710
  currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
3390
3711
  currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
3391
3712
  }
3713
+ channel_snapshot_remote_balance: remote_balance {
3714
+ __typename
3715
+ currency_amount_original_value: original_value
3716
+ currency_amount_original_unit: original_unit
3717
+ currency_amount_preferred_currency_unit: preferred_currency_unit
3718
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
3719
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
3720
+ }
3721
+ channel_snapshot_remote_unsettled_balance: remote_unsettled_balance {
3722
+ __typename
3723
+ currency_amount_original_value: original_value
3724
+ currency_amount_original_unit: original_unit
3725
+ currency_amount_preferred_currency_unit: preferred_currency_unit
3726
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
3727
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
3728
+ }
3392
3729
  }
3393
3730
  }
3394
3731
  }
@@ -3605,6 +3942,33 @@ fragment OutgoingPaymentFragment on OutgoingPayment {
3605
3942
  }
3606
3943
  }
3607
3944
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
3945
+ lightspark_node_with_o_s_k_balances: balances {
3946
+ __typename
3947
+ balances_owned_balance: owned_balance {
3948
+ __typename
3949
+ currency_amount_original_value: original_value
3950
+ currency_amount_original_unit: original_unit
3951
+ currency_amount_preferred_currency_unit: preferred_currency_unit
3952
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
3953
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
3954
+ }
3955
+ balances_available_to_send_balance: available_to_send_balance {
3956
+ __typename
3957
+ currency_amount_original_value: original_value
3958
+ currency_amount_original_unit: original_unit
3959
+ currency_amount_preferred_currency_unit: preferred_currency_unit
3960
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
3961
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
3962
+ }
3963
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
3964
+ __typename
3965
+ currency_amount_original_value: original_value
3966
+ currency_amount_original_unit: original_unit
3967
+ currency_amount_preferred_currency_unit: preferred_currency_unit
3968
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
3969
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
3970
+ }
3971
+ }
3608
3972
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
3609
3973
  __typename
3610
3974
  secret_encrypted_value: encrypted_value
@@ -3710,6 +4074,33 @@ fragment OutgoingPaymentFragment on OutgoingPayment {
3710
4074
  }
3711
4075
  }
3712
4076
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
4077
+ lightspark_node_with_remote_signing_balances: balances {
4078
+ __typename
4079
+ balances_owned_balance: owned_balance {
4080
+ __typename
4081
+ currency_amount_original_value: original_value
4082
+ currency_amount_original_unit: original_unit
4083
+ currency_amount_preferred_currency_unit: preferred_currency_unit
4084
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
4085
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
4086
+ }
4087
+ balances_available_to_send_balance: available_to_send_balance {
4088
+ __typename
4089
+ currency_amount_original_value: original_value
4090
+ currency_amount_original_unit: original_unit
4091
+ currency_amount_preferred_currency_unit: preferred_currency_unit
4092
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
4093
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
4094
+ }
4095
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
4096
+ __typename
4097
+ currency_amount_original_value: original_value
4098
+ currency_amount_original_unit: original_unit
4099
+ currency_amount_preferred_currency_unit: preferred_currency_unit
4100
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
4101
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
4102
+ }
4103
+ }
3713
4104
  }
3714
4105
  }
3715
4106
  }
@@ -4177,6 +4568,33 @@ fragment TransactionFragment on Transaction {
4177
4568
  }
4178
4569
  }
4179
4570
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
4571
+ lightspark_node_with_o_s_k_balances: balances {
4572
+ __typename
4573
+ balances_owned_balance: owned_balance {
4574
+ __typename
4575
+ currency_amount_original_value: original_value
4576
+ currency_amount_original_unit: original_unit
4577
+ currency_amount_preferred_currency_unit: preferred_currency_unit
4578
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
4579
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
4580
+ }
4581
+ balances_available_to_send_balance: available_to_send_balance {
4582
+ __typename
4583
+ currency_amount_original_value: original_value
4584
+ currency_amount_original_unit: original_unit
4585
+ currency_amount_preferred_currency_unit: preferred_currency_unit
4586
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
4587
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
4588
+ }
4589
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
4590
+ __typename
4591
+ currency_amount_original_value: original_value
4592
+ currency_amount_original_unit: original_unit
4593
+ currency_amount_preferred_currency_unit: preferred_currency_unit
4594
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
4595
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
4596
+ }
4597
+ }
4180
4598
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
4181
4599
  __typename
4182
4600
  secret_encrypted_value: encrypted_value
@@ -4282,6 +4700,33 @@ fragment TransactionFragment on Transaction {
4282
4700
  }
4283
4701
  }
4284
4702
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
4703
+ lightspark_node_with_remote_signing_balances: balances {
4704
+ __typename
4705
+ balances_owned_balance: owned_balance {
4706
+ __typename
4707
+ currency_amount_original_value: original_value
4708
+ currency_amount_original_unit: original_unit
4709
+ currency_amount_preferred_currency_unit: preferred_currency_unit
4710
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
4711
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
4712
+ }
4713
+ balances_available_to_send_balance: available_to_send_balance {
4714
+ __typename
4715
+ currency_amount_original_value: original_value
4716
+ currency_amount_original_unit: original_unit
4717
+ currency_amount_preferred_currency_unit: preferred_currency_unit
4718
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
4719
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
4720
+ }
4721
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
4722
+ __typename
4723
+ currency_amount_original_value: original_value
4724
+ currency_amount_original_unit: original_unit
4725
+ currency_amount_preferred_currency_unit: preferred_currency_unit
4726
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
4727
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
4728
+ }
4729
+ }
4285
4730
  }
4286
4731
  }
4287
4732
  }
@@ -4418,19 +4863,6 @@ var AccountToTransactionsConnectionFromJson = (obj) => {
4418
4863
  // src/objects/Wallet.ts
4419
4864
  import autoBind11 from "auto-bind";
4420
4865
 
4421
- // src/objects/Balances.ts
4422
- var BalancesFromJson = (obj) => {
4423
- return {
4424
- ownedBalance: CurrencyAmountFromJson(obj["balances_owned_balance"]),
4425
- availableToSendBalance: CurrencyAmountFromJson(
4426
- obj["balances_available_to_send_balance"]
4427
- ),
4428
- availableToWithdrawBalance: CurrencyAmountFromJson(
4429
- obj["balances_available_to_withdraw_balance"]
4430
- )
4431
- };
4432
- };
4433
-
4434
4866
  // src/objects/WalletStatus.ts
4435
4867
  var WalletStatus = /* @__PURE__ */ ((WalletStatus2) => {
4436
4868
  WalletStatus2["FUTURE_VALUE"] = "FUTURE_VALUE";
@@ -4799,6 +5231,33 @@ query FetchWalletToTransactionsConnection($entity_id: ID!, $first: Int, $after:
4799
5231
  }
4800
5232
  }
4801
5233
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
5234
+ lightspark_node_with_o_s_k_balances: balances {
5235
+ __typename
5236
+ balances_owned_balance: owned_balance {
5237
+ __typename
5238
+ currency_amount_original_value: original_value
5239
+ currency_amount_original_unit: original_unit
5240
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5241
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5242
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5243
+ }
5244
+ balances_available_to_send_balance: available_to_send_balance {
5245
+ __typename
5246
+ currency_amount_original_value: original_value
5247
+ currency_amount_original_unit: original_unit
5248
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5249
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5250
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5251
+ }
5252
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
5253
+ __typename
5254
+ currency_amount_original_value: original_value
5255
+ currency_amount_original_unit: original_unit
5256
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5257
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5258
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5259
+ }
5260
+ }
4802
5261
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
4803
5262
  __typename
4804
5263
  secret_encrypted_value: encrypted_value
@@ -4904,6 +5363,33 @@ query FetchWalletToTransactionsConnection($entity_id: ID!, $first: Int, $after:
4904
5363
  }
4905
5364
  }
4906
5365
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
5366
+ lightspark_node_with_remote_signing_balances: balances {
5367
+ __typename
5368
+ balances_owned_balance: owned_balance {
5369
+ __typename
5370
+ currency_amount_original_value: original_value
5371
+ currency_amount_original_unit: original_unit
5372
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5373
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5374
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5375
+ }
5376
+ balances_available_to_send_balance: available_to_send_balance {
5377
+ __typename
5378
+ currency_amount_original_value: original_value
5379
+ currency_amount_original_unit: original_unit
5380
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5381
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5382
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5383
+ }
5384
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
5385
+ __typename
5386
+ currency_amount_original_value: original_value
5387
+ currency_amount_original_unit: original_unit
5388
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5389
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5390
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5391
+ }
5392
+ }
4907
5393
  }
4908
5394
  }
4909
5395
  }
@@ -5150,7 +5636,35 @@ query FetchWalletToPaymentRequestsConnection($entity_id: ID!, $first: Int, $afte
5150
5636
  currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5151
5637
  currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5152
5638
  }
5153
- blockchain_balance_required_reserve: required_reserve {
5639
+ blockchain_balance_required_reserve: required_reserve {
5640
+ __typename
5641
+ currency_amount_original_value: original_value
5642
+ currency_amount_original_unit: original_unit
5643
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5644
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5645
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5646
+ }
5647
+ blockchain_balance_available_balance: available_balance {
5648
+ __typename
5649
+ currency_amount_original_value: original_value
5650
+ currency_amount_original_unit: original_unit
5651
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5652
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5653
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5654
+ }
5655
+ }
5656
+ lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
5657
+ lightspark_node_with_o_s_k_balances: balances {
5658
+ __typename
5659
+ balances_owned_balance: owned_balance {
5660
+ __typename
5661
+ currency_amount_original_value: original_value
5662
+ currency_amount_original_unit: original_unit
5663
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5664
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5665
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5666
+ }
5667
+ balances_available_to_send_balance: available_to_send_balance {
5154
5668
  __typename
5155
5669
  currency_amount_original_value: original_value
5156
5670
  currency_amount_original_unit: original_unit
@@ -5158,7 +5672,7 @@ query FetchWalletToPaymentRequestsConnection($entity_id: ID!, $first: Int, $afte
5158
5672
  currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5159
5673
  currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5160
5674
  }
5161
- blockchain_balance_available_balance: available_balance {
5675
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
5162
5676
  __typename
5163
5677
  currency_amount_original_value: original_value
5164
5678
  currency_amount_original_unit: original_unit
@@ -5167,7 +5681,6 @@ query FetchWalletToPaymentRequestsConnection($entity_id: ID!, $first: Int, $afte
5167
5681
  currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5168
5682
  }
5169
5683
  }
5170
- lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
5171
5684
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
5172
5685
  __typename
5173
5686
  secret_encrypted_value: encrypted_value
@@ -5273,6 +5786,33 @@ query FetchWalletToPaymentRequestsConnection($entity_id: ID!, $first: Int, $afte
5273
5786
  }
5274
5787
  }
5275
5788
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
5789
+ lightspark_node_with_remote_signing_balances: balances {
5790
+ __typename
5791
+ balances_owned_balance: owned_balance {
5792
+ __typename
5793
+ currency_amount_original_value: original_value
5794
+ currency_amount_original_unit: original_unit
5795
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5796
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5797
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5798
+ }
5799
+ balances_available_to_send_balance: available_to_send_balance {
5800
+ __typename
5801
+ currency_amount_original_value: original_value
5802
+ currency_amount_original_unit: original_unit
5803
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5804
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5805
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5806
+ }
5807
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
5808
+ __typename
5809
+ currency_amount_original_value: original_value
5810
+ currency_amount_original_unit: original_unit
5811
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5812
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5813
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5814
+ }
5815
+ }
5276
5816
  }
5277
5817
  }
5278
5818
  }
@@ -5723,6 +6263,33 @@ query FetchAccountToNodesConnection($first: Int, $bitcoin_networks: [BitcoinNetw
5723
6263
  }
5724
6264
  }
5725
6265
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
6266
+ lightspark_node_with_o_s_k_balances: balances {
6267
+ __typename
6268
+ balances_owned_balance: owned_balance {
6269
+ __typename
6270
+ currency_amount_original_value: original_value
6271
+ currency_amount_original_unit: original_unit
6272
+ currency_amount_preferred_currency_unit: preferred_currency_unit
6273
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
6274
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
6275
+ }
6276
+ balances_available_to_send_balance: available_to_send_balance {
6277
+ __typename
6278
+ currency_amount_original_value: original_value
6279
+ currency_amount_original_unit: original_unit
6280
+ currency_amount_preferred_currency_unit: preferred_currency_unit
6281
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
6282
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
6283
+ }
6284
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
6285
+ __typename
6286
+ currency_amount_original_value: original_value
6287
+ currency_amount_original_unit: original_unit
6288
+ currency_amount_preferred_currency_unit: preferred_currency_unit
6289
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
6290
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
6291
+ }
6292
+ }
5726
6293
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
5727
6294
  __typename
5728
6295
  secret_encrypted_value: encrypted_value
@@ -5828,6 +6395,33 @@ query FetchAccountToNodesConnection($first: Int, $bitcoin_networks: [BitcoinNetw
5828
6395
  }
5829
6396
  }
5830
6397
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
6398
+ lightspark_node_with_remote_signing_balances: balances {
6399
+ __typename
6400
+ balances_owned_balance: owned_balance {
6401
+ __typename
6402
+ currency_amount_original_value: original_value
6403
+ currency_amount_original_unit: original_unit
6404
+ currency_amount_preferred_currency_unit: preferred_currency_unit
6405
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
6406
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
6407
+ }
6408
+ balances_available_to_send_balance: available_to_send_balance {
6409
+ __typename
6410
+ currency_amount_original_value: original_value
6411
+ currency_amount_original_unit: original_unit
6412
+ currency_amount_preferred_currency_unit: preferred_currency_unit
6413
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
6414
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
6415
+ }
6416
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
6417
+ __typename
6418
+ currency_amount_original_value: original_value
6419
+ currency_amount_original_unit: original_unit
6420
+ currency_amount_preferred_currency_unit: preferred_currency_unit
6421
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
6422
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
6423
+ }
6424
+ }
5831
6425
  }
5832
6426
  }
5833
6427
  }
@@ -6350,6 +6944,33 @@ query FetchAccountToTransactionsConnection($first: Int, $after: String, $types:
6350
6944
  }
6351
6945
  }
6352
6946
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
6947
+ lightspark_node_with_o_s_k_balances: balances {
6948
+ __typename
6949
+ balances_owned_balance: owned_balance {
6950
+ __typename
6951
+ currency_amount_original_value: original_value
6952
+ currency_amount_original_unit: original_unit
6953
+ currency_amount_preferred_currency_unit: preferred_currency_unit
6954
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
6955
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
6956
+ }
6957
+ balances_available_to_send_balance: available_to_send_balance {
6958
+ __typename
6959
+ currency_amount_original_value: original_value
6960
+ currency_amount_original_unit: original_unit
6961
+ currency_amount_preferred_currency_unit: preferred_currency_unit
6962
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
6963
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
6964
+ }
6965
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
6966
+ __typename
6967
+ currency_amount_original_value: original_value
6968
+ currency_amount_original_unit: original_unit
6969
+ currency_amount_preferred_currency_unit: preferred_currency_unit
6970
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
6971
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
6972
+ }
6973
+ }
6353
6974
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
6354
6975
  __typename
6355
6976
  secret_encrypted_value: encrypted_value
@@ -6455,6 +7076,33 @@ query FetchAccountToTransactionsConnection($first: Int, $after: String, $types:
6455
7076
  }
6456
7077
  }
6457
7078
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
7079
+ lightspark_node_with_remote_signing_balances: balances {
7080
+ __typename
7081
+ balances_owned_balance: owned_balance {
7082
+ __typename
7083
+ currency_amount_original_value: original_value
7084
+ currency_amount_original_unit: original_unit
7085
+ currency_amount_preferred_currency_unit: preferred_currency_unit
7086
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
7087
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
7088
+ }
7089
+ balances_available_to_send_balance: available_to_send_balance {
7090
+ __typename
7091
+ currency_amount_original_value: original_value
7092
+ currency_amount_original_unit: original_unit
7093
+ currency_amount_preferred_currency_unit: preferred_currency_unit
7094
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
7095
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
7096
+ }
7097
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
7098
+ __typename
7099
+ currency_amount_original_value: original_value
7100
+ currency_amount_original_unit: original_unit
7101
+ currency_amount_preferred_currency_unit: preferred_currency_unit
7102
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
7103
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
7104
+ }
7105
+ }
6458
7106
  }
6459
7107
  }
6460
7108
  }
@@ -6721,6 +7369,33 @@ query FetchAccountToPaymentRequestsConnection($first: Int, $after: String, $afte
6721
7369
  }
6722
7370
  }
6723
7371
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
7372
+ lightspark_node_with_o_s_k_balances: balances {
7373
+ __typename
7374
+ balances_owned_balance: owned_balance {
7375
+ __typename
7376
+ currency_amount_original_value: original_value
7377
+ currency_amount_original_unit: original_unit
7378
+ currency_amount_preferred_currency_unit: preferred_currency_unit
7379
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
7380
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
7381
+ }
7382
+ balances_available_to_send_balance: available_to_send_balance {
7383
+ __typename
7384
+ currency_amount_original_value: original_value
7385
+ currency_amount_original_unit: original_unit
7386
+ currency_amount_preferred_currency_unit: preferred_currency_unit
7387
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
7388
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
7389
+ }
7390
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
7391
+ __typename
7392
+ currency_amount_original_value: original_value
7393
+ currency_amount_original_unit: original_unit
7394
+ currency_amount_preferred_currency_unit: preferred_currency_unit
7395
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
7396
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
7397
+ }
7398
+ }
6724
7399
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
6725
7400
  __typename
6726
7401
  secret_encrypted_value: encrypted_value
@@ -6826,6 +7501,33 @@ query FetchAccountToPaymentRequestsConnection($first: Int, $after: String, $afte
6826
7501
  }
6827
7502
  }
6828
7503
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
7504
+ lightspark_node_with_remote_signing_balances: balances {
7505
+ __typename
7506
+ balances_owned_balance: owned_balance {
7507
+ __typename
7508
+ currency_amount_original_value: original_value
7509
+ currency_amount_original_unit: original_unit
7510
+ currency_amount_preferred_currency_unit: preferred_currency_unit
7511
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
7512
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
7513
+ }
7514
+ balances_available_to_send_balance: available_to_send_balance {
7515
+ __typename
7516
+ currency_amount_original_value: original_value
7517
+ currency_amount_original_unit: original_unit
7518
+ currency_amount_preferred_currency_unit: preferred_currency_unit
7519
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
7520
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
7521
+ }
7522
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
7523
+ __typename
7524
+ currency_amount_original_value: original_value
7525
+ currency_amount_original_unit: original_unit
7526
+ currency_amount_preferred_currency_unit: preferred_currency_unit
7527
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
7528
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
7529
+ }
7530
+ }
6829
7531
  }
6830
7532
  }
6831
7533
  }
@@ -7427,6 +8129,33 @@ fragment InvoiceFragment on Invoice {
7427
8129
  }
7428
8130
  }
7429
8131
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
8132
+ lightspark_node_with_o_s_k_balances: balances {
8133
+ __typename
8134
+ balances_owned_balance: owned_balance {
8135
+ __typename
8136
+ currency_amount_original_value: original_value
8137
+ currency_amount_original_unit: original_unit
8138
+ currency_amount_preferred_currency_unit: preferred_currency_unit
8139
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
8140
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
8141
+ }
8142
+ balances_available_to_send_balance: available_to_send_balance {
8143
+ __typename
8144
+ currency_amount_original_value: original_value
8145
+ currency_amount_original_unit: original_unit
8146
+ currency_amount_preferred_currency_unit: preferred_currency_unit
8147
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
8148
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
8149
+ }
8150
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
8151
+ __typename
8152
+ currency_amount_original_value: original_value
8153
+ currency_amount_original_unit: original_unit
8154
+ currency_amount_preferred_currency_unit: preferred_currency_unit
8155
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
8156
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
8157
+ }
8158
+ }
7430
8159
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
7431
8160
  __typename
7432
8161
  secret_encrypted_value: encrypted_value
@@ -7532,6 +8261,33 @@ fragment InvoiceFragment on Invoice {
7532
8261
  }
7533
8262
  }
7534
8263
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
8264
+ lightspark_node_with_remote_signing_balances: balances {
8265
+ __typename
8266
+ balances_owned_balance: owned_balance {
8267
+ __typename
8268
+ currency_amount_original_value: original_value
8269
+ currency_amount_original_unit: original_unit
8270
+ currency_amount_preferred_currency_unit: preferred_currency_unit
8271
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
8272
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
8273
+ }
8274
+ balances_available_to_send_balance: available_to_send_balance {
8275
+ __typename
8276
+ currency_amount_original_value: original_value
8277
+ currency_amount_original_unit: original_unit
8278
+ currency_amount_preferred_currency_unit: preferred_currency_unit
8279
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
8280
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
8281
+ }
8282
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
8283
+ __typename
8284
+ currency_amount_original_value: original_value
8285
+ currency_amount_original_unit: original_unit
8286
+ currency_amount_preferred_currency_unit: preferred_currency_unit
8287
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
8288
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
8289
+ }
8290
+ }
7535
8291
  }
7536
8292
  }
7537
8293
  }
@@ -7842,6 +8598,33 @@ fragment LightningTransactionFragment on LightningTransaction {
7842
8598
  }
7843
8599
  }
7844
8600
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
8601
+ lightspark_node_with_o_s_k_balances: balances {
8602
+ __typename
8603
+ balances_owned_balance: owned_balance {
8604
+ __typename
8605
+ currency_amount_original_value: original_value
8606
+ currency_amount_original_unit: original_unit
8607
+ currency_amount_preferred_currency_unit: preferred_currency_unit
8608
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
8609
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
8610
+ }
8611
+ balances_available_to_send_balance: available_to_send_balance {
8612
+ __typename
8613
+ currency_amount_original_value: original_value
8614
+ currency_amount_original_unit: original_unit
8615
+ currency_amount_preferred_currency_unit: preferred_currency_unit
8616
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
8617
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
8618
+ }
8619
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
8620
+ __typename
8621
+ currency_amount_original_value: original_value
8622
+ currency_amount_original_unit: original_unit
8623
+ currency_amount_preferred_currency_unit: preferred_currency_unit
8624
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
8625
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
8626
+ }
8627
+ }
7845
8628
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
7846
8629
  __typename
7847
8630
  secret_encrypted_value: encrypted_value
@@ -7947,6 +8730,33 @@ fragment LightningTransactionFragment on LightningTransaction {
7947
8730
  }
7948
8731
  }
7949
8732
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
8733
+ lightspark_node_with_remote_signing_balances: balances {
8734
+ __typename
8735
+ balances_owned_balance: owned_balance {
8736
+ __typename
8737
+ currency_amount_original_value: original_value
8738
+ currency_amount_original_unit: original_unit
8739
+ currency_amount_preferred_currency_unit: preferred_currency_unit
8740
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
8741
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
8742
+ }
8743
+ balances_available_to_send_balance: available_to_send_balance {
8744
+ __typename
8745
+ currency_amount_original_value: original_value
8746
+ currency_amount_original_unit: original_unit
8747
+ currency_amount_preferred_currency_unit: preferred_currency_unit
8748
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
8749
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
8750
+ }
8751
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
8752
+ __typename
8753
+ currency_amount_original_value: original_value
8754
+ currency_amount_original_unit: original_unit
8755
+ currency_amount_preferred_currency_unit: preferred_currency_unit
8756
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
8757
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
8758
+ }
8759
+ }
7950
8760
  }
7951
8761
  }
7952
8762
  }