@lightsparkdev/lightspark-sdk 1.8.0 → 1.8.2

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.
Files changed (48) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/{chunk-J7GJGYME.js → chunk-4KFNQOMH.js} +84 -39
  3. package/dist/{index-9a69ef6a.d.ts → index-27dad75b.d.ts} +22 -1
  4. package/dist/index.cjs +240 -91
  5. package/dist/index.d.cts +2 -2
  6. package/dist/index.d.ts +2 -2
  7. package/dist/index.js +103 -3
  8. package/dist/objects/index.cjs +97 -52
  9. package/dist/objects/index.d.cts +1 -1
  10. package/dist/objects/index.d.ts +1 -1
  11. package/dist/objects/index.js +1 -1
  12. package/package.json +2 -2
  13. package/src/client.ts +89 -8
  14. package/src/graphql/IncomingPaymentsForInvoice.ts +21 -0
  15. package/src/graphql/OutgoingPaymentsForInvoice.ts +21 -0
  16. package/src/objects/Account.ts +4 -2
  17. package/src/objects/ApiToken.ts +2 -2
  18. package/src/objects/AuditLogActor.ts +2 -2
  19. package/src/objects/Channel.ts +2 -2
  20. package/src/objects/ChannelClosingTransaction.ts +2 -2
  21. package/src/objects/ChannelOpeningTransaction.ts +2 -2
  22. package/src/objects/ChannelSnapshot.ts +2 -2
  23. package/src/objects/Deposit.ts +2 -2
  24. package/src/objects/GraphNode.ts +2 -2
  25. package/src/objects/Hop.ts +2 -2
  26. package/src/objects/IncomingPayment.ts +2 -2
  27. package/src/objects/IncomingPaymentAttempt.ts +2 -2
  28. package/src/objects/Invoice.ts +2 -2
  29. package/src/objects/LightningTransaction.ts +2 -2
  30. package/src/objects/LightsparkNode.ts +2 -2
  31. package/src/objects/LightsparkNodeOwner.ts +2 -2
  32. package/src/objects/LightsparkNodeWithOSK.ts +2 -2
  33. package/src/objects/LightsparkNodeWithRemoteSigning.ts +2 -2
  34. package/src/objects/Node.ts +2 -2
  35. package/src/objects/OnChainTransaction.ts +2 -2
  36. package/src/objects/OutgoingPayment.ts +2 -2
  37. package/src/objects/OutgoingPaymentAttempt.ts +2 -2
  38. package/src/objects/PaymentRequest.ts +2 -2
  39. package/src/objects/RoutingTransaction.ts +2 -2
  40. package/src/objects/Signable.ts +2 -2
  41. package/src/objects/SignablePayload.ts +2 -2
  42. package/src/objects/Transaction.ts +2 -2
  43. package/src/objects/UmaInvitation.ts +2 -2
  44. package/src/objects/Wallet.ts +2 -2
  45. package/src/objects/Withdrawal.ts +2 -2
  46. package/src/objects/WithdrawalRequest.ts +2 -2
  47. package/src/tests/generated-objects.test.ts +93 -0
  48. package/src/tests/serialization.test.ts +0 -21
@@ -84,6 +84,9 @@ __export(objects_exports, {
84
84
  });
85
85
  module.exports = __toCommonJS(objects_exports);
86
86
 
87
+ // src/objects/Account.ts
88
+ var import_core21 = require("@lightsparkdev/core");
89
+
87
90
  // ../../node_modules/auto-bind/index.js
88
91
  var getAllProperties = (object) => {
89
92
  const properties = /* @__PURE__ */ new Set();
@@ -117,6 +120,9 @@ function autoBind(self, { include, exclude } = {}) {
117
120
  return self;
118
121
  }
119
122
 
123
+ // src/objects/ApiToken.ts
124
+ var import_core = require("@lightsparkdev/core");
125
+
120
126
  // src/objects/Permission.ts
121
127
  var Permission = /* @__PURE__ */ ((Permission2) => {
122
128
  Permission2["FUTURE_VALUE"] = "FUTURE_VALUE";
@@ -176,7 +182,7 @@ query GetApiToken($id: ID!) {
176
182
  ${FRAGMENT}
177
183
  `,
178
184
  variables: { id },
179
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? ApiTokenFromJson(data.entity) : null
185
+ constructObject: (data) => (0, import_core.isObject)(data) && "entity" in data && (0, import_core.isObject)(data.entity) ? ApiTokenFromJson(data.entity) : null
180
186
  };
181
187
  };
182
188
 
@@ -204,6 +210,9 @@ var AccountToApiTokensConnectionFromJson = (obj) => {
204
210
  };
205
211
  };
206
212
 
213
+ // src/objects/Channel.ts
214
+ var import_core2 = require("@lightsparkdev/core");
215
+
207
216
  // src/objects/CurrencyUnit.ts
208
217
  var CurrencyUnit = /* @__PURE__ */ ((CurrencyUnit2) => {
209
218
  CurrencyUnit2["FUTURE_VALUE"] = "FUTURE_VALUE";
@@ -392,7 +401,7 @@ query GetChannel($id: ID!) {
392
401
  ${FRAGMENT2}
393
402
  `,
394
403
  variables: { id },
395
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? ChannelFromJson(data.entity) : null
404
+ constructObject: (data) => (0, import_core2.isObject)(data) && "entity" in data && (0, import_core2.isObject)(data.entity) ? ChannelFromJson(data.entity) : null
396
405
  };
397
406
  }
398
407
  toJson() {
@@ -552,7 +561,7 @@ var AccountToChannelsConnectionFromJson = (obj) => {
552
561
  };
553
562
 
554
563
  // src/objects/LightsparkNode.ts
555
- var import_core = require("@lightsparkdev/core");
564
+ var import_core5 = require("@lightsparkdev/core");
556
565
 
557
566
  // src/objects/Balances.ts
558
567
  var BalancesFromJson = (obj) => {
@@ -628,6 +637,9 @@ var LightsparkNodeStatus = /* @__PURE__ */ ((LightsparkNodeStatus2) => {
628
637
  })(LightsparkNodeStatus || {});
629
638
  var LightsparkNodeStatus_default = LightsparkNodeStatus;
630
639
 
640
+ // src/objects/LightsparkNodeWithOSK.ts
641
+ var import_core3 = require("@lightsparkdev/core");
642
+
631
643
  // src/objects/LightsparkNodeToChannelsConnection.ts
632
644
  var LightsparkNodeToChannelsConnectionFromJson = (obj) => {
633
645
  return {
@@ -949,7 +961,7 @@ query GetLightsparkNodeWithOSK($id: ID!) {
949
961
  ${FRAGMENT3}
950
962
  `,
951
963
  variables: { id },
952
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? LightsparkNodeWithOSKFromJson(data.entity) : null
964
+ constructObject: (data) => (0, import_core3.isObject)(data) && "entity" in data && (0, import_core3.isObject)(data.entity) ? LightsparkNodeWithOSKFromJson(data.entity) : null
953
965
  };
954
966
  }
955
967
  toJson() {
@@ -1143,6 +1155,7 @@ fragment LightsparkNodeWithOSKFragment on LightsparkNodeWithOSK {
1143
1155
  var LightsparkNodeWithOSK_default = LightsparkNodeWithOSK;
1144
1156
 
1145
1157
  // src/objects/LightsparkNodeWithRemoteSigning.ts
1158
+ var import_core4 = require("@lightsparkdev/core");
1146
1159
  var LightsparkNodeWithRemoteSigning = class {
1147
1160
  constructor(id, createdAt, updatedAt, bitcoinNetwork, displayName, ownerId, umaPrescreeningUtxos, typename, alias, color, conductivity, publicKey, status, totalBalance, totalLocalBalance, localBalance, remoteBalance, blockchainBalance, balances) {
1148
1161
  this.id = id;
@@ -1378,7 +1391,7 @@ query GetLightsparkNodeWithRemoteSigning($id: ID!) {
1378
1391
  ${FRAGMENT4}
1379
1392
  `,
1380
1393
  variables: { id },
1381
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? LightsparkNodeWithRemoteSigningFromJson(data.entity) : null
1394
+ constructObject: (data) => (0, import_core4.isObject)(data) && "entity" in data && (0, import_core4.isObject)(data.entity) ? LightsparkNodeWithRemoteSigningFromJson(data.entity) : null
1382
1395
  };
1383
1396
  }
1384
1397
  toJson() {
@@ -1639,7 +1652,7 @@ var LightsparkNodeFromJson = (obj) => {
1639
1652
  !!obj["lightspark_node_with_remote_signing_balances"] ? BalancesFromJson(obj["lightspark_node_with_remote_signing_balances"]) : void 0
1640
1653
  );
1641
1654
  }
1642
- throw new import_core.LightsparkException(
1655
+ throw new import_core5.LightsparkException(
1643
1656
  "DeserializationError",
1644
1657
  `Couldn't find a concrete type for interface LightsparkNode corresponding to the typename=${obj["__typename"]}`
1645
1658
  );
@@ -1921,7 +1934,7 @@ query GetLightsparkNode($id: ID!) {
1921
1934
  ${FRAGMENT5}
1922
1935
  `,
1923
1936
  variables: { id },
1924
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? LightsparkNodeFromJson(data.entity) : null
1937
+ constructObject: (data) => (0, import_core5.isObject)(data) && "entity" in data && (0, import_core5.isObject)(data.entity) ? LightsparkNodeFromJson(data.entity) : null
1925
1938
  };
1926
1939
  };
1927
1940
 
@@ -1938,12 +1951,13 @@ var AccountToNodesConnectionFromJson = (obj) => {
1938
1951
  };
1939
1952
 
1940
1953
  // src/objects/PaymentRequest.ts
1941
- var import_core3 = require("@lightsparkdev/core");
1954
+ var import_core8 = require("@lightsparkdev/core");
1942
1955
 
1943
1956
  // src/objects/Node.ts
1944
- var import_core2 = require("@lightsparkdev/core");
1957
+ var import_core7 = require("@lightsparkdev/core");
1945
1958
 
1946
1959
  // src/objects/GraphNode.ts
1960
+ var import_core6 = require("@lightsparkdev/core");
1947
1961
  var GraphNode = class {
1948
1962
  constructor(id, createdAt, updatedAt, bitcoinNetwork, displayName, typename, alias, color, conductivity, publicKey) {
1949
1963
  this.id = id;
@@ -1998,7 +2012,7 @@ query GetGraphNode($id: ID!) {
1998
2012
  ${FRAGMENT6}
1999
2013
  `,
2000
2014
  variables: { id },
2001
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? GraphNodeFromJson(data.entity) : null
2015
+ constructObject: (data) => (0, import_core6.isObject)(data) && "entity" in data && (0, import_core6.isObject)(data.entity) ? GraphNodeFromJson(data.entity) : null
2002
2016
  };
2003
2017
  }
2004
2018
  toJson() {
@@ -2130,7 +2144,7 @@ var NodeFromJson = (obj) => {
2130
2144
  !!obj["lightspark_node_with_remote_signing_balances"] ? BalancesFromJson(obj["lightspark_node_with_remote_signing_balances"]) : void 0
2131
2145
  );
2132
2146
  }
2133
- throw new import_core2.LightsparkException(
2147
+ throw new import_core7.LightsparkException(
2134
2148
  "DeserializationError",
2135
2149
  `Couldn't find a concrete type for interface Node corresponding to the typename=${obj["__typename"]}`
2136
2150
  );
@@ -2206,7 +2220,7 @@ var NodeToJson = (obj) => {
2206
2220
  lightspark_node_with_remote_signing_balances: lightsparkNodeWithRemoteSigning.balances ? BalancesToJson(lightsparkNodeWithRemoteSigning.balances) : void 0
2207
2221
  };
2208
2222
  }
2209
- throw new import_core2.LightsparkException(
2223
+ throw new import_core7.LightsparkException(
2210
2224
  "DeserializationError",
2211
2225
  `Couldn't find a concrete type for interface Node corresponding to the typename=${obj.typename}`
2212
2226
  );
@@ -2500,7 +2514,7 @@ query GetNode($id: ID!) {
2500
2514
  ${FRAGMENT7}
2501
2515
  `,
2502
2516
  variables: { id },
2503
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? NodeFromJson(data.entity) : null
2517
+ constructObject: (data) => (0, import_core7.isObject)(data) && "entity" in data && (0, import_core7.isObject)(data.entity) ? NodeFromJson(data.entity) : null
2504
2518
  };
2505
2519
  };
2506
2520
 
@@ -2543,7 +2557,7 @@ var PaymentRequestFromJson = (obj) => {
2543
2557
  isLnurl: obj["invoice_is_lnurl"]
2544
2558
  };
2545
2559
  }
2546
- throw new import_core3.LightsparkException(
2560
+ throw new import_core8.LightsparkException(
2547
2561
  "DeserializationError",
2548
2562
  `Couldn't find a concrete type for interface PaymentRequest corresponding to the typename=${obj["__typename"]}`
2549
2563
  );
@@ -2874,7 +2888,7 @@ query GetPaymentRequest($id: ID!) {
2874
2888
  ${FRAGMENT8}
2875
2889
  `,
2876
2890
  variables: { id },
2877
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? PaymentRequestFromJson(data.entity) : null
2891
+ constructObject: (data) => (0, import_core8.isObject)(data) && "entity" in data && (0, import_core8.isObject)(data.entity) ? PaymentRequestFromJson(data.entity) : null
2878
2892
  };
2879
2893
  };
2880
2894
 
@@ -2893,7 +2907,13 @@ var AccountToPaymentRequestsConnectionFromJson = (obj) => {
2893
2907
  };
2894
2908
 
2895
2909
  // src/objects/Transaction.ts
2896
- var import_core5 = require("@lightsparkdev/core");
2910
+ var import_core15 = require("@lightsparkdev/core");
2911
+
2912
+ // src/objects/IncomingPayment.ts
2913
+ var import_core10 = require("@lightsparkdev/core");
2914
+
2915
+ // src/objects/IncomingPaymentAttempt.ts
2916
+ var import_core9 = require("@lightsparkdev/core");
2897
2917
 
2898
2918
  // src/objects/IncomingPaymentAttemptStatus.ts
2899
2919
  var IncomingPaymentAttemptStatus = /* @__PURE__ */ ((IncomingPaymentAttemptStatus2) => {
@@ -2953,7 +2973,7 @@ query GetIncomingPaymentAttempt($id: ID!) {
2953
2973
  ${FRAGMENT9}
2954
2974
  `,
2955
2975
  variables: { id },
2956
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? IncomingPaymentAttemptFromJson(data.entity) : null
2976
+ constructObject: (data) => (0, import_core9.isObject)(data) && "entity" in data && (0, import_core9.isObject)(data.entity) ? IncomingPaymentAttemptFromJson(data.entity) : null
2957
2977
  };
2958
2978
  };
2959
2979
 
@@ -3082,7 +3102,7 @@ query GetIncomingPayment($id: ID!) {
3082
3102
  ${FRAGMENT10}
3083
3103
  `,
3084
3104
  variables: { id },
3085
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? IncomingPaymentFromJson(data.entity) : null
3105
+ constructObject: (data) => (0, import_core10.isObject)(data) && "entity" in data && (0, import_core10.isObject)(data.entity) ? IncomingPaymentFromJson(data.entity) : null
3086
3106
  };
3087
3107
  }
3088
3108
  toJson() {
@@ -3162,6 +3182,12 @@ fragment IncomingPaymentFragment on IncomingPayment {
3162
3182
  }`;
3163
3183
  var IncomingPayment_default = IncomingPayment;
3164
3184
 
3185
+ // src/objects/OutgoingPayment.ts
3186
+ var import_core14 = require("@lightsparkdev/core");
3187
+
3188
+ // src/objects/OutgoingPaymentAttempt.ts
3189
+ var import_core12 = require("@lightsparkdev/core");
3190
+
3165
3191
  // src/objects/HtlcAttemptFailureCode.ts
3166
3192
  var HtlcAttemptFailureCode = /* @__PURE__ */ ((HtlcAttemptFailureCode2) => {
3167
3193
  HtlcAttemptFailureCode2["FUTURE_VALUE"] = "FUTURE_VALUE";
@@ -3208,6 +3234,7 @@ var OutgoingPaymentAttemptStatus = /* @__PURE__ */ ((OutgoingPaymentAttemptStatu
3208
3234
  var OutgoingPaymentAttemptStatus_default = OutgoingPaymentAttemptStatus;
3209
3235
 
3210
3236
  // src/objects/Hop.ts
3237
+ var import_core11 = require("@lightsparkdev/core");
3211
3238
  var HopFromJson = (obj) => {
3212
3239
  return {
3213
3240
  id: obj["hop_id"],
@@ -3265,7 +3292,7 @@ query GetHop($id: ID!) {
3265
3292
  ${FRAGMENT11}
3266
3293
  `,
3267
3294
  variables: { id },
3268
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? HopFromJson(data.entity) : null
3295
+ constructObject: (data) => (0, import_core11.isObject)(data) && "entity" in data && (0, import_core11.isObject)(data.entity) ? HopFromJson(data.entity) : null
3269
3296
  };
3270
3297
  };
3271
3298
 
@@ -3371,7 +3398,7 @@ query GetOutgoingPaymentAttempt($id: ID!) {
3371
3398
  ${FRAGMENT12}
3372
3399
  `,
3373
3400
  variables: { id },
3374
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? OutgoingPaymentAttemptFromJson(data.entity) : null
3401
+ constructObject: (data) => (0, import_core12.isObject)(data) && "entity" in data && (0, import_core12.isObject)(data.entity) ? OutgoingPaymentAttemptFromJson(data.entity) : null
3375
3402
  };
3376
3403
  }
3377
3404
  toJson() {
@@ -3479,7 +3506,7 @@ var PaymentFailureReason = /* @__PURE__ */ ((PaymentFailureReason2) => {
3479
3506
  var PaymentFailureReason_default = PaymentFailureReason;
3480
3507
 
3481
3508
  // src/objects/PaymentRequestData.ts
3482
- var import_core4 = require("@lightsparkdev/core");
3509
+ var import_core13 = require("@lightsparkdev/core");
3483
3510
  var PaymentRequestDataFromJson = (obj) => {
3484
3511
  if (obj["__typename"] == "InvoiceData") {
3485
3512
  return {
@@ -3494,7 +3521,7 @@ var PaymentRequestDataFromJson = (obj) => {
3494
3521
  memo: obj["invoice_data_memo"]
3495
3522
  };
3496
3523
  }
3497
- throw new import_core4.LightsparkException(
3524
+ throw new import_core13.LightsparkException(
3498
3525
  "DeserializationError",
3499
3526
  `Couldn't find a concrete type for interface PaymentRequestData corresponding to the typename=${obj["__typename"]}`
3500
3527
  );
@@ -3514,7 +3541,7 @@ var PaymentRequestDataToJson = (obj) => {
3514
3541
  invoice_data_destination: NodeToJson(invoiceData.destination)
3515
3542
  };
3516
3543
  }
3517
- throw new import_core4.LightsparkException(
3544
+ throw new import_core13.LightsparkException(
3518
3545
  "DeserializationError",
3519
3546
  `Couldn't find a concrete type for interface PaymentRequestData corresponding to the typename=${obj.typename}`
3520
3547
  );
@@ -3631,7 +3658,7 @@ query GetOutgoingPayment($id: ID!) {
3631
3658
  ${FRAGMENT13}
3632
3659
  `,
3633
3660
  variables: { id },
3634
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? OutgoingPaymentFromJson(data.entity) : null
3661
+ constructObject: (data) => (0, import_core14.isObject)(data) && "entity" in data && (0, import_core14.isObject)(data.entity) ? OutgoingPaymentFromJson(data.entity) : null
3635
3662
  };
3636
3663
  }
3637
3664
  toJson() {
@@ -4179,7 +4206,7 @@ var TransactionFromJson = (obj) => {
4179
4206
  numConfirmations: obj["withdrawal_num_confirmations"]
4180
4207
  };
4181
4208
  }
4182
- throw new import_core5.LightsparkException(
4209
+ throw new import_core15.LightsparkException(
4183
4210
  "DeserializationError",
4184
4211
  `Couldn't find a concrete type for interface Transaction corresponding to the typename=${obj["__typename"]}`
4185
4212
  );
@@ -4749,7 +4776,7 @@ query GetTransaction($id: ID!) {
4749
4776
  ${FRAGMENT14}
4750
4777
  `,
4751
4778
  variables: { id },
4752
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? TransactionFromJson(data.entity) : null
4779
+ constructObject: (data) => (0, import_core15.isObject)(data) && "entity" in data && (0, import_core15.isObject)(data.entity) ? TransactionFromJson(data.entity) : null
4753
4780
  };
4754
4781
  };
4755
4782
 
@@ -4776,6 +4803,9 @@ var AccountToTransactionsConnectionFromJson = (obj) => {
4776
4803
  };
4777
4804
  };
4778
4805
 
4806
+ // src/objects/Wallet.ts
4807
+ var import_core20 = require("@lightsparkdev/core");
4808
+
4779
4809
  // src/objects/WalletStatus.ts
4780
4810
  var WalletStatus = /* @__PURE__ */ ((WalletStatus2) => {
4781
4811
  WalletStatus2["FUTURE_VALUE"] = "FUTURE_VALUE";
@@ -4820,6 +4850,9 @@ var WalletToTransactionsConnectionFromJson = (obj) => {
4820
4850
  };
4821
4851
  };
4822
4852
 
4853
+ // src/objects/WithdrawalRequest.ts
4854
+ var import_core19 = require("@lightsparkdev/core");
4855
+
4823
4856
  // src/objects/RequestInitiator.ts
4824
4857
  var RequestInitiator = /* @__PURE__ */ ((RequestInitiator2) => {
4825
4858
  RequestInitiator2["FUTURE_VALUE"] = "FUTURE_VALUE";
@@ -4852,6 +4885,7 @@ var WithdrawalRequestStatus = /* @__PURE__ */ ((WithdrawalRequestStatus2) => {
4852
4885
  var WithdrawalRequestStatus_default = WithdrawalRequestStatus;
4853
4886
 
4854
4887
  // src/objects/ChannelClosingTransaction.ts
4888
+ var import_core16 = require("@lightsparkdev/core");
4855
4889
  var ChannelClosingTransactionFromJson = (obj) => {
4856
4890
  return {
4857
4891
  id: obj["channel_closing_transaction_id"],
@@ -4917,7 +4951,7 @@ query GetChannelClosingTransaction($id: ID!) {
4917
4951
  ${FRAGMENT15}
4918
4952
  `,
4919
4953
  variables: { id },
4920
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? ChannelClosingTransactionFromJson(data.entity) : null
4954
+ constructObject: (data) => (0, import_core16.isObject)(data) && "entity" in data && (0, import_core16.isObject)(data.entity) ? ChannelClosingTransactionFromJson(data.entity) : null
4921
4955
  };
4922
4956
  };
4923
4957
 
@@ -4934,6 +4968,7 @@ var WithdrawalRequestToChannelClosingTransactionsConnectionFromJson = (obj) => {
4934
4968
  };
4935
4969
 
4936
4970
  // src/objects/ChannelOpeningTransaction.ts
4971
+ var import_core17 = require("@lightsparkdev/core");
4937
4972
  var ChannelOpeningTransactionFromJson = (obj) => {
4938
4973
  return {
4939
4974
  id: obj["channel_opening_transaction_id"],
@@ -4999,7 +5034,7 @@ query GetChannelOpeningTransaction($id: ID!) {
4999
5034
  ${FRAGMENT16}
5000
5035
  `,
5001
5036
  variables: { id },
5002
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? ChannelOpeningTransactionFromJson(data.entity) : null
5037
+ constructObject: (data) => (0, import_core17.isObject)(data) && "entity" in data && (0, import_core17.isObject)(data.entity) ? ChannelOpeningTransactionFromJson(data.entity) : null
5003
5038
  };
5004
5039
  };
5005
5040
 
@@ -5016,6 +5051,7 @@ var WithdrawalRequestToChannelOpeningTransactionsConnectionFromJson = (obj) => {
5016
5051
  };
5017
5052
 
5018
5053
  // src/objects/Withdrawal.ts
5054
+ var import_core18 = require("@lightsparkdev/core");
5019
5055
  var WithdrawalFromJson = (obj) => {
5020
5056
  return {
5021
5057
  id: obj["withdrawal_id"],
@@ -5081,7 +5117,7 @@ query GetWithdrawal($id: ID!) {
5081
5117
  ${FRAGMENT17}
5082
5118
  `,
5083
5119
  variables: { id },
5084
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? WithdrawalFromJson(data.entity) : null
5120
+ constructObject: (data) => (0, import_core18.isObject)(data) && "entity" in data && (0, import_core18.isObject)(data.entity) ? WithdrawalFromJson(data.entity) : null
5085
5121
  };
5086
5122
  };
5087
5123
 
@@ -5307,7 +5343,7 @@ query GetWithdrawalRequest($id: ID!) {
5307
5343
  ${FRAGMENT18}
5308
5344
  `,
5309
5345
  variables: { id },
5310
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? WithdrawalRequestFromJson(data.entity) : null
5346
+ constructObject: (data) => (0, import_core19.isObject)(data) && "entity" in data && (0, import_core19.isObject)(data.entity) ? WithdrawalRequestFromJson(data.entity) : null
5311
5347
  };
5312
5348
  }
5313
5349
  toJson() {
@@ -6532,7 +6568,7 @@ query GetWallet($id: ID!) {
6532
6568
  ${FRAGMENT19}
6533
6569
  `,
6534
6570
  variables: { id },
6535
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? WalletFromJson(data.entity) : null
6571
+ constructObject: (data) => (0, import_core20.isObject)(data) && "entity" in data && (0, import_core20.isObject)(data.entity) ? WalletFromJson(data.entity) : null
6536
6572
  };
6537
6573
  }
6538
6574
  toJson() {
@@ -8392,7 +8428,7 @@ query GetAccount {
8392
8428
  ${FRAGMENT20}
8393
8429
  `,
8394
8430
  variables: {},
8395
- constructObject: (data) => data && typeof data === "object" && "current_account" in data ? AccountFromJson(data.current_account) : null
8431
+ constructObject: (data) => (0, import_core21.isObject)(data) && "current_account" in data && (0, import_core21.isObject)(data.current_account) ? AccountFromJson(data.current_account) : null
8396
8432
  };
8397
8433
  }
8398
8434
  toJson() {
@@ -8425,7 +8461,7 @@ fragment AccountFragment on Account {
8425
8461
  var Account_default = Account;
8426
8462
 
8427
8463
  // src/objects/AuditLogActor.ts
8428
- var import_core6 = require("@lightsparkdev/core");
8464
+ var import_core22 = require("@lightsparkdev/core");
8429
8465
  var AuditLogActorFromJson = (obj) => {
8430
8466
  if (obj["__typename"] == "ApiToken") {
8431
8467
  return {
@@ -8439,7 +8475,7 @@ var AuditLogActorFromJson = (obj) => {
8439
8475
  typename: "ApiToken"
8440
8476
  };
8441
8477
  }
8442
- throw new import_core6.LightsparkException(
8478
+ throw new import_core22.LightsparkException(
8443
8479
  "DeserializationError",
8444
8480
  `Couldn't find a concrete type for interface AuditLogActor corresponding to the typename=${obj["__typename"]}`
8445
8481
  );
@@ -8472,11 +8508,12 @@ query GetAuditLogActor($id: ID!) {
8472
8508
  ${FRAGMENT21}
8473
8509
  `,
8474
8510
  variables: { id },
8475
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? AuditLogActorFromJson(data.entity) : null
8511
+ constructObject: (data) => (0, import_core22.isObject)(data) && "entity" in data && (0, import_core22.isObject)(data.entity) ? AuditLogActorFromJson(data.entity) : null
8476
8512
  };
8477
8513
  };
8478
8514
 
8479
8515
  // src/objects/ChannelSnapshot.ts
8516
+ var import_core23 = require("@lightsparkdev/core");
8480
8517
  var ChannelSnapshotFromJson = (obj) => {
8481
8518
  return {
8482
8519
  id: obj["channel_snapshot_id"],
@@ -8559,7 +8596,7 @@ query GetChannelSnapshot($id: ID!) {
8559
8596
  ${FRAGMENT22}
8560
8597
  `,
8561
8598
  variables: { id },
8562
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? ChannelSnapshotFromJson(data.entity) : null
8599
+ constructObject: (data) => (0, import_core23.isObject)(data) && "entity" in data && (0, import_core23.isObject)(data.entity) ? ChannelSnapshotFromJson(data.entity) : null
8563
8600
  };
8564
8601
  };
8565
8602
 
@@ -8829,7 +8866,7 @@ var ComplianceProvider = /* @__PURE__ */ ((ComplianceProvider2) => {
8829
8866
  var ComplianceProvider_default = ComplianceProvider;
8830
8867
 
8831
8868
  // src/objects/Connection.ts
8832
- var import_core7 = require("@lightsparkdev/core");
8869
+ var import_core24 = require("@lightsparkdev/core");
8833
8870
 
8834
8871
  // src/objects/InvoiceType.ts
8835
8872
  var InvoiceType = /* @__PURE__ */ ((InvoiceType2) => {
@@ -8840,6 +8877,9 @@ var InvoiceType = /* @__PURE__ */ ((InvoiceType2) => {
8840
8877
  })(InvoiceType || {});
8841
8878
  var InvoiceType_default = InvoiceType;
8842
8879
 
8880
+ // src/objects/SignablePayload.ts
8881
+ var import_core25 = require("@lightsparkdev/core");
8882
+
8843
8883
  // src/objects/SignablePayloadStatus.ts
8844
8884
  var SignablePayloadStatus = /* @__PURE__ */ ((SignablePayloadStatus2) => {
8845
8885
  SignablePayloadStatus2["FUTURE_VALUE"] = "FUTURE_VALUE";
@@ -8895,11 +8935,12 @@ query GetSignablePayload($id: ID!) {
8895
8935
  ${FRAGMENT23}
8896
8936
  `,
8897
8937
  variables: { id },
8898
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? SignablePayloadFromJson(data.entity) : null
8938
+ constructObject: (data) => (0, import_core25.isObject)(data) && "entity" in data && (0, import_core25.isObject)(data.entity) ? SignablePayloadFromJson(data.entity) : null
8899
8939
  };
8900
8940
  };
8901
8941
 
8902
8942
  // src/objects/Deposit.ts
8943
+ var import_core26 = require("@lightsparkdev/core");
8903
8944
  var DepositFromJson = (obj) => {
8904
8945
  return {
8905
8946
  id: obj["deposit_id"],
@@ -8965,7 +9006,7 @@ query GetDeposit($id: ID!) {
8965
9006
  ${FRAGMENT24}
8966
9007
  `,
8967
9008
  variables: { id },
8968
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? DepositFromJson(data.entity) : null
9009
+ constructObject: (data) => (0, import_core26.isObject)(data) && "entity" in data && (0, import_core26.isObject)(data.entity) ? DepositFromJson(data.entity) : null
8969
9010
  };
8970
9011
  };
8971
9012
 
@@ -8993,6 +9034,7 @@ var IncentivesStatus = /* @__PURE__ */ ((IncentivesStatus2) => {
8993
9034
  var IncentivesStatus_default = IncentivesStatus;
8994
9035
 
8995
9036
  // src/objects/Invoice.ts
9037
+ var import_core27 = require("@lightsparkdev/core");
8996
9038
  var InvoiceFromJson = (obj) => {
8997
9039
  return {
8998
9040
  id: obj["invoice_id"],
@@ -9329,12 +9371,12 @@ query GetInvoice($id: ID!) {
9329
9371
  ${FRAGMENT25}
9330
9372
  `,
9331
9373
  variables: { id },
9332
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? InvoiceFromJson(data.entity) : null
9374
+ constructObject: (data) => (0, import_core27.isObject)(data) && "entity" in data && (0, import_core27.isObject)(data.entity) ? InvoiceFromJson(data.entity) : null
9333
9375
  };
9334
9376
  };
9335
9377
 
9336
9378
  // src/objects/LightningTransaction.ts
9337
- var import_core8 = require("@lightsparkdev/core");
9379
+ var import_core28 = require("@lightsparkdev/core");
9338
9380
  var LightningTransactionFromJson = (obj) => {
9339
9381
  if (obj["__typename"] == "IncomingPayment") {
9340
9382
  return new IncomingPayment_default(
@@ -9399,7 +9441,7 @@ var LightningTransactionFromJson = (obj) => {
9399
9441
  failureReason: !!obj["routing_transaction_failure_reason"] ? RoutingTransactionFailureReason_default[obj["routing_transaction_failure_reason"]] ?? RoutingTransactionFailureReason_default.FUTURE_VALUE : null
9400
9442
  };
9401
9443
  }
9402
- throw new import_core8.LightsparkException(
9444
+ throw new import_core28.LightsparkException(
9403
9445
  "DeserializationError",
9404
9446
  `Couldn't find a concrete type for interface LightningTransaction corresponding to the typename=${obj["__typename"]}`
9405
9447
  );
@@ -9841,12 +9883,12 @@ query GetLightningTransaction($id: ID!) {
9841
9883
  ${FRAGMENT26}
9842
9884
  `,
9843
9885
  variables: { id },
9844
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? LightningTransactionFromJson(data.entity) : null
9886
+ constructObject: (data) => (0, import_core28.isObject)(data) && "entity" in data && (0, import_core28.isObject)(data.entity) ? LightningTransactionFromJson(data.entity) : null
9845
9887
  };
9846
9888
  };
9847
9889
 
9848
9890
  // src/objects/LightsparkNodeOwner.ts
9849
- var import_core9 = require("@lightsparkdev/core");
9891
+ var import_core29 = require("@lightsparkdev/core");
9850
9892
  var LightsparkNodeOwnerFromJson = (obj) => {
9851
9893
  if (obj["__typename"] == "Account") {
9852
9894
  return new Account_default(
@@ -9870,7 +9912,7 @@ var LightsparkNodeOwnerFromJson = (obj) => {
9870
9912
  obj["wallet_account"]?.id ?? void 0
9871
9913
  );
9872
9914
  }
9873
- throw new import_core9.LightsparkException(
9915
+ throw new import_core29.LightsparkException(
9874
9916
  "DeserializationError",
9875
9917
  `Couldn't find a concrete type for interface LightsparkNodeOwner corresponding to the typename=${obj["__typename"]}`
9876
9918
  );
@@ -9939,7 +9981,7 @@ query GetLightsparkNodeOwner($id: ID!) {
9939
9981
  ${FRAGMENT27}
9940
9982
  `,
9941
9983
  variables: { id },
9942
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? LightsparkNodeOwnerFromJson(data.entity) : null
9984
+ constructObject: (data) => (0, import_core29.isObject)(data) && "entity" in data && (0, import_core29.isObject)(data.entity) ? LightsparkNodeOwnerFromJson(data.entity) : null
9943
9985
  };
9944
9986
  };
9945
9987
 
@@ -9955,7 +9997,7 @@ var OnChainFeeTarget = /* @__PURE__ */ ((OnChainFeeTarget2) => {
9955
9997
  var OnChainFeeTarget_default = OnChainFeeTarget;
9956
9998
 
9957
9999
  // src/objects/OnChainTransaction.ts
9958
- var import_core10 = require("@lightsparkdev/core");
10000
+ var import_core30 = require("@lightsparkdev/core");
9959
10001
  var OnChainTransactionFromJson = (obj) => {
9960
10002
  if (obj["__typename"] == "ChannelClosingTransaction") {
9961
10003
  return {
@@ -10029,7 +10071,7 @@ var OnChainTransactionFromJson = (obj) => {
10029
10071
  numConfirmations: obj["withdrawal_num_confirmations"]
10030
10072
  };
10031
10073
  }
10032
- throw new import_core10.LightsparkException(
10074
+ throw new import_core30.LightsparkException(
10033
10075
  "DeserializationError",
10034
10076
  `Couldn't find a concrete type for interface OnChainTransaction corresponding to the typename=${obj["__typename"]}`
10035
10077
  );
@@ -10180,7 +10222,7 @@ query GetOnChainTransaction($id: ID!) {
10180
10222
  ${FRAGMENT28}
10181
10223
  `,
10182
10224
  variables: { id },
10183
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? OnChainTransactionFromJson(data.entity) : null
10225
+ constructObject: (data) => (0, import_core30.isObject)(data) && "entity" in data && (0, import_core30.isObject)(data.entity) ? OnChainTransactionFromJson(data.entity) : null
10184
10226
  };
10185
10227
  };
10186
10228
 
@@ -10220,6 +10262,7 @@ var RiskRating = /* @__PURE__ */ ((RiskRating2) => {
10220
10262
  var RiskRating_default = RiskRating;
10221
10263
 
10222
10264
  // src/objects/RoutingTransaction.ts
10265
+ var import_core31 = require("@lightsparkdev/core");
10223
10266
  var RoutingTransactionFromJson = (obj) => {
10224
10267
  return {
10225
10268
  id: obj["routing_transaction_id"],
@@ -10288,11 +10331,12 @@ query GetRoutingTransaction($id: ID!) {
10288
10331
  ${FRAGMENT29}
10289
10332
  `,
10290
10333
  variables: { id },
10291
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? RoutingTransactionFromJson(data.entity) : null
10334
+ constructObject: (data) => (0, import_core31.isObject)(data) && "entity" in data && (0, import_core31.isObject)(data.entity) ? RoutingTransactionFromJson(data.entity) : null
10292
10335
  };
10293
10336
  };
10294
10337
 
10295
10338
  // src/objects/Signable.ts
10339
+ var import_core32 = require("@lightsparkdev/core");
10296
10340
  var SignableFromJson = (obj) => {
10297
10341
  return {
10298
10342
  id: obj["signable_id"],
@@ -10322,7 +10366,7 @@ query GetSignable($id: ID!) {
10322
10366
  ${FRAGMENT30}
10323
10367
  `,
10324
10368
  variables: { id },
10325
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? SignableFromJson(data.entity) : null
10369
+ constructObject: (data) => (0, import_core32.isObject)(data) && "entity" in data && (0, import_core32.isObject)(data.entity) ? SignableFromJson(data.entity) : null
10326
10370
  };
10327
10371
  };
10328
10372
 
@@ -10344,6 +10388,7 @@ var TransactionType = /* @__PURE__ */ ((TransactionType2) => {
10344
10388
  var TransactionType_default = TransactionType;
10345
10389
 
10346
10390
  // src/objects/UmaInvitation.ts
10391
+ var import_core33 = require("@lightsparkdev/core");
10347
10392
  var UmaInvitationFromJson = (obj) => {
10348
10393
  return {
10349
10394
  id: obj["uma_invitation_id"],
@@ -10385,7 +10430,7 @@ query GetUmaInvitation($id: ID!) {
10385
10430
  ${FRAGMENT31}
10386
10431
  `,
10387
10432
  variables: { id },
10388
- constructObject: (data) => data && typeof data === "object" && "entity" in data ? UmaInvitationFromJson(data.entity) : null
10433
+ constructObject: (data) => (0, import_core33.isObject)(data) && "entity" in data && (0, import_core33.isObject)(data.entity) ? UmaInvitationFromJson(data.entity) : null
10389
10434
  };
10390
10435
  };
10391
10436
 
@@ -1,4 +1,4 @@
1
- export { A as Account, a as AccountToApiTokensConnection, b as AccountToChannelsConnection, c as AccountToNodesConnection, d as AccountToPaymentRequestsConnection, e as AccountToTransactionsConnection, f as AccountToWalletsConnection, g as AccountToWithdrawalRequestsConnection, h as ApiToken, j as AuditLogActor, B as Balances, l as BlockchainBalance, C as CancelInvoiceInput, m as CancelInvoiceOutput, n as Channel, o as ChannelClosingTransaction, q as ChannelFees, r as ChannelOpeningTransaction, t as ChannelSnapshot, v as ChannelStatus, w as ChannelToTransactionsConnection, x as ClaimUmaInvitationInput, y as ClaimUmaInvitationOutput, z as ClaimUmaInvitationWithIncentivesInput, D as ClaimUmaInvitationWithIncentivesOutput, E as ComplianceProvider, F as Connection, G as CreateApiTokenInput, H as CreateApiTokenOutput, I as CreateInvitationWithIncentivesInput, J as CreateInvitationWithIncentivesOutput, K as CreateInvoiceInput, M as CreateInvoiceOutput, N as CreateLnurlInvoiceInput, O as CreateNodeWalletAddressInput, P as CreateNodeWalletAddressOutput, Q as CreateTestModeInvoiceInput, R as CreateTestModeInvoiceOutput, S as CreateTestModePaymentInput, T as CreateTestModePaymentoutput, U as CreateUmaInvitationInput, V as CreateUmaInvitationOutput, X as CreateUmaInvoiceInput, Y as CurrencyAmount, Z as CurrencyUnit, _ as DailyLiquidityForecast, $ as DeclineToSignMessagesInput, a0 as DeclineToSignMessagesOutput, a1 as DeleteApiTokenInput, a2 as DeleteApiTokenOutput, a3 as Deposit, a5 as Entity, a6 as FailHtlcsInput, a7 as FailHtlcsOutput, a8 as FeeEstimate, a9 as FundNodeInput, aa as FundNodeOutput, ab as GraphNode, ac as Hop, ae as HtlcAttemptFailureCode, af as IdAndSignature, ag as IncentivesIneligibilityReason, ah as IncentivesStatus, ai as IncomingPayment, aj as IncomingPaymentAttempt, al as IncomingPaymentAttemptStatus, am as IncomingPaymentToAttemptsConnection, an as IncomingPaymentsForInvoiceQueryInput, ao as IncomingPaymentsForInvoiceQueryOutput, ap as Invoice, ar as InvoiceData, as as InvoiceForPaymentHashInput, at as InvoiceForPaymentHashOutput, au as InvoiceType, av as LightningFeeEstimateForInvoiceInput, aw as LightningFeeEstimateForNodeInput, ax as LightningFeeEstimateOutput, ay as LightningPaymentDirection, az as LightningTransaction, aB as LightsparkNode, aD as LightsparkNodeOwner, aF as LightsparkNodeStatus, aG as LightsparkNodeToChannelsConnection, aH as LightsparkNodeToDailyLiquidityForecastsConnection, aI as LightsparkNodeWithOSK, aJ as LightsparkNodeWithRemoteSigning, aK as MultiSigAddressValidationParameters, aL as Node, aN as NodeAddress, aO as NodeAddressType, aP as NodeToAddressesConnection, aQ as OnChainFeeTarget, aR as OnChainTransaction, aT as OutgoingPayment, aU as OutgoingPaymentAttempt, aV as OutgoingPaymentAttemptStatus, aW as OutgoingPaymentAttemptToHopsConnection, aX as OutgoingPaymentForIdempotencyKeyInput, aY as OutgoingPaymentForIdempotencyKeyOutput, aZ as OutgoingPaymentToAttemptsConnection, a_ as OutgoingPaymentsForInvoiceQueryInput, a$ as OutgoingPaymentsForInvoiceQueryOutput, b0 as OutgoingPaymentsForPaymentHashQueryInput, b1 as OutgoingPaymentsForPaymentHashQueryOutput, b2 as PageInfo, b3 as PayInvoiceInput, b4 as PayInvoiceOutput, b5 as PayUmaInvoiceInput, b6 as PaymentDirection, b7 as PaymentFailureReason, b8 as PaymentRequest, ba as PaymentRequestData, bb as PaymentRequestStatus, bc as Permission, bd as PostTransactionData, be as RegionCode, bf as RegisterPaymentInput, bg as RegisterPaymentOutput, bh as ReleaseChannelPerCommitmentSecretInput, bi as ReleaseChannelPerCommitmentSecretOutput, bj as ReleasePaymentPreimageInput, bk as ReleasePaymentPreimageOutput, bl as RemoteSigningSubEventType, bm as RequestInitiator, bn as RequestWithdrawalInput, bo as RequestWithdrawalOutput, bp as RichText, bq as RiskRating, br as RoutingTransaction, bt as RoutingTransactionFailureReason, bu as ScreenNodeInput, bv as ScreenNodeOutput, bw as Secret, bx as SendPaymentInput, by as SendPaymentOutput, bz as SetInvoicePaymentHashInput, bA as SetInvoicePaymentHashOutput, bB as SignInvoiceInput, bC as SignInvoiceOutput, bD as SignMessagesInput, bE as SignMessagesOutput, bF as Signable, bH as SignablePayload, bJ as SignablePayloadStatus, bK as SingleNodeDashboard, bL as Transaction, bN as TransactionFailures, bO as TransactionStatus, bP as TransactionType, bQ as TransactionUpdate, bR as UmaInvitation, bT as UpdateChannelPerCommitmentPointInput, bU as UpdateChannelPerCommitmentPointOutput, bV as UpdateNodeSharedSecretInput, bW as UpdateNodeSharedSecretOutput, bX as Wallet, bY as WalletStatus, bZ as WalletToPaymentRequestsConnection, b_ as WalletToTransactionsConnection, b$ as WalletToWithdrawalRequestsConnection, W as WebhookEventType, c0 as Withdrawal, c2 as WithdrawalFeeEstimateInput, c3 as WithdrawalFeeEstimateOutput, c4 as WithdrawalMode, c5 as WithdrawalRequest, c6 as WithdrawalRequestStatus, c7 as WithdrawalRequestToChannelClosingTransactionsConnection, c8 as WithdrawalRequestToChannelOpeningTransactionsConnection, c9 as WithdrawalRequestToWithdrawalsConnection, i as getApiTokenQuery, k as getAuditLogActorQuery, p as getChannelClosingTransactionQuery, s as getChannelOpeningTransactionQuery, u as getChannelSnapshotQuery, a4 as getDepositQuery, ad as getHopQuery, ak as getIncomingPaymentAttemptQuery, aq as getInvoiceQuery, aA as getLightningTransactionQuery, aE as getLightsparkNodeOwnerQuery, aC as getLightsparkNodeQuery, aM as getNodeQuery, aS as getOnChainTransactionQuery, b9 as getPaymentRequestQuery, bs as getRoutingTransactionQuery, bI as getSignablePayloadQuery, bG as getSignableQuery, bM as getTransactionQuery, bS as getUmaInvitationQuery, c1 as getWithdrawalQuery } from '../index-9a69ef6a.js';
1
+ export { A as Account, a as AccountToApiTokensConnection, b as AccountToChannelsConnection, c as AccountToNodesConnection, d as AccountToPaymentRequestsConnection, e as AccountToTransactionsConnection, f as AccountToWalletsConnection, g as AccountToWithdrawalRequestsConnection, h as ApiToken, j as AuditLogActor, B as Balances, l as BlockchainBalance, C as CancelInvoiceInput, m as CancelInvoiceOutput, n as Channel, o as ChannelClosingTransaction, q as ChannelFees, r as ChannelOpeningTransaction, t as ChannelSnapshot, v as ChannelStatus, w as ChannelToTransactionsConnection, x as ClaimUmaInvitationInput, y as ClaimUmaInvitationOutput, z as ClaimUmaInvitationWithIncentivesInput, D as ClaimUmaInvitationWithIncentivesOutput, E as ComplianceProvider, F as Connection, G as CreateApiTokenInput, H as CreateApiTokenOutput, I as CreateInvitationWithIncentivesInput, J as CreateInvitationWithIncentivesOutput, K as CreateInvoiceInput, M as CreateInvoiceOutput, N as CreateLnurlInvoiceInput, O as CreateNodeWalletAddressInput, P as CreateNodeWalletAddressOutput, Q as CreateTestModeInvoiceInput, R as CreateTestModeInvoiceOutput, S as CreateTestModePaymentInput, T as CreateTestModePaymentoutput, U as CreateUmaInvitationInput, V as CreateUmaInvitationOutput, X as CreateUmaInvoiceInput, Y as CurrencyAmount, Z as CurrencyUnit, _ as DailyLiquidityForecast, $ as DeclineToSignMessagesInput, a0 as DeclineToSignMessagesOutput, a1 as DeleteApiTokenInput, a2 as DeleteApiTokenOutput, a3 as Deposit, a5 as Entity, a6 as FailHtlcsInput, a7 as FailHtlcsOutput, a8 as FeeEstimate, a9 as FundNodeInput, aa as FundNodeOutput, ab as GraphNode, ac as Hop, ae as HtlcAttemptFailureCode, af as IdAndSignature, ag as IncentivesIneligibilityReason, ah as IncentivesStatus, ai as IncomingPayment, aj as IncomingPaymentAttempt, al as IncomingPaymentAttemptStatus, am as IncomingPaymentToAttemptsConnection, an as IncomingPaymentsForInvoiceQueryInput, ao as IncomingPaymentsForInvoiceQueryOutput, ap as Invoice, ar as InvoiceData, as as InvoiceForPaymentHashInput, at as InvoiceForPaymentHashOutput, au as InvoiceType, av as LightningFeeEstimateForInvoiceInput, aw as LightningFeeEstimateForNodeInput, ax as LightningFeeEstimateOutput, ay as LightningPaymentDirection, az as LightningTransaction, aB as LightsparkNode, aD as LightsparkNodeOwner, aF as LightsparkNodeStatus, aG as LightsparkNodeToChannelsConnection, aH as LightsparkNodeToDailyLiquidityForecastsConnection, aI as LightsparkNodeWithOSK, aJ as LightsparkNodeWithRemoteSigning, aK as MultiSigAddressValidationParameters, aL as Node, aN as NodeAddress, aO as NodeAddressType, aP as NodeToAddressesConnection, aQ as OnChainFeeTarget, aR as OnChainTransaction, aT as OutgoingPayment, aU as OutgoingPaymentAttempt, aV as OutgoingPaymentAttemptStatus, aW as OutgoingPaymentAttemptToHopsConnection, aX as OutgoingPaymentForIdempotencyKeyInput, aY as OutgoingPaymentForIdempotencyKeyOutput, aZ as OutgoingPaymentToAttemptsConnection, a_ as OutgoingPaymentsForInvoiceQueryInput, a$ as OutgoingPaymentsForInvoiceQueryOutput, b0 as OutgoingPaymentsForPaymentHashQueryInput, b1 as OutgoingPaymentsForPaymentHashQueryOutput, b2 as PageInfo, b3 as PayInvoiceInput, b4 as PayInvoiceOutput, b5 as PayUmaInvoiceInput, b6 as PaymentDirection, b7 as PaymentFailureReason, b8 as PaymentRequest, ba as PaymentRequestData, bb as PaymentRequestStatus, bc as Permission, bd as PostTransactionData, be as RegionCode, bf as RegisterPaymentInput, bg as RegisterPaymentOutput, bh as ReleaseChannelPerCommitmentSecretInput, bi as ReleaseChannelPerCommitmentSecretOutput, bj as ReleasePaymentPreimageInput, bk as ReleasePaymentPreimageOutput, bl as RemoteSigningSubEventType, bm as RequestInitiator, bn as RequestWithdrawalInput, bo as RequestWithdrawalOutput, bp as RichText, bq as RiskRating, br as RoutingTransaction, bt as RoutingTransactionFailureReason, bu as ScreenNodeInput, bv as ScreenNodeOutput, bw as Secret, bx as SendPaymentInput, by as SendPaymentOutput, bz as SetInvoicePaymentHashInput, bA as SetInvoicePaymentHashOutput, bB as SignInvoiceInput, bC as SignInvoiceOutput, bD as SignMessagesInput, bE as SignMessagesOutput, bF as Signable, bH as SignablePayload, bJ as SignablePayloadStatus, bK as SingleNodeDashboard, bL as Transaction, bN as TransactionFailures, bO as TransactionStatus, bP as TransactionType, bQ as TransactionUpdate, bR as UmaInvitation, bT as UpdateChannelPerCommitmentPointInput, bU as UpdateChannelPerCommitmentPointOutput, bV as UpdateNodeSharedSecretInput, bW as UpdateNodeSharedSecretOutput, bX as Wallet, bY as WalletStatus, bZ as WalletToPaymentRequestsConnection, b_ as WalletToTransactionsConnection, b$ as WalletToWithdrawalRequestsConnection, W as WebhookEventType, c0 as Withdrawal, c2 as WithdrawalFeeEstimateInput, c3 as WithdrawalFeeEstimateOutput, c4 as WithdrawalMode, c5 as WithdrawalRequest, c6 as WithdrawalRequestStatus, c7 as WithdrawalRequestToChannelClosingTransactionsConnection, c8 as WithdrawalRequestToChannelOpeningTransactionsConnection, c9 as WithdrawalRequestToWithdrawalsConnection, i as getApiTokenQuery, k as getAuditLogActorQuery, p as getChannelClosingTransactionQuery, s as getChannelOpeningTransactionQuery, u as getChannelSnapshotQuery, a4 as getDepositQuery, ad as getHopQuery, ak as getIncomingPaymentAttemptQuery, aq as getInvoiceQuery, aA as getLightningTransactionQuery, aE as getLightsparkNodeOwnerQuery, aC as getLightsparkNodeQuery, aM as getNodeQuery, aS as getOnChainTransactionQuery, b9 as getPaymentRequestQuery, bs as getRoutingTransactionQuery, bI as getSignablePayloadQuery, bG as getSignableQuery, bM as getTransactionQuery, bS as getUmaInvitationQuery, c1 as getWithdrawalQuery } from '../index-27dad75b.js';
2
2
  export { B as BitcoinNetwork } from '../BitcoinNetwork-4f6ea015.js';
3
3
  import '@lightsparkdev/core';
4
4
  import 'zen-observable';