@lightsparkdev/lightspark-sdk 1.5.11 → 1.5.13
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.
- package/CHANGELOG.md +13 -0
- package/dist/{chunk-X7VPX3F3.js → chunk-FGFVWCTL.js} +234 -161
- package/dist/{index-dd1501fa.d.ts → index-2b493387.d.ts} +147 -17
- package/dist/index.cjs +227 -152
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +7 -3
- package/dist/objects/index.cjs +226 -151
- package/dist/objects/index.d.cts +1 -1
- package/dist/objects/index.d.ts +1 -1
- package/dist/objects/index.js +5 -1
- package/package.json +2 -2
- package/src/env.ts +3 -3
- package/src/objects/Account.ts +5 -0
- package/src/objects/ApiToken.ts +6 -0
- package/src/objects/AuditLogActor.ts +96 -0
- package/src/objects/CancelInvoiceInput.ts +4 -0
- package/src/objects/CancelInvoiceOutput.ts +4 -0
- package/src/objects/ChannelSnapshot.ts +68 -17
- package/src/objects/ClaimUmaInvitationInput.ts +5 -0
- package/src/objects/ClaimUmaInvitationOutput.ts +1 -0
- package/src/objects/ClaimUmaInvitationWithIncentivesInput.ts +7 -0
- package/src/objects/ClaimUmaInvitationWithIncentivesOutput.ts +1 -0
- package/src/objects/CreateApiTokenOutput.ts +1 -0
- package/src/objects/CreateInvitationWithIncentivesInput.ts +6 -0
- package/src/objects/CreateInvitationWithIncentivesOutput.ts +1 -0
- package/src/objects/CreateInvoiceInput.ts +4 -1
- package/src/objects/CreateNodeWalletAddressOutput.ts +34 -0
- package/src/objects/CreateUmaInvitationInput.ts +4 -0
- package/src/objects/CreateUmaInvitationOutput.ts +1 -0
- package/src/objects/Entity.ts +57 -45
- package/src/objects/IncomingPayment.ts +13 -0
- package/src/objects/IncomingPaymentsForInvoiceQueryInput.ts +31 -0
- package/src/objects/IncomingPaymentsForInvoiceQueryOutput.ts +71 -0
- package/src/objects/LightningTransaction.ts +12 -0
- package/src/objects/MultiSigAddressValidationParameters.ts +45 -0
- package/src/objects/OutgoingPayment.ts +14 -45
- package/src/objects/OutgoingPaymentAttempt.ts +5 -59
- package/src/objects/OutgoingPaymentsForInvoiceQueryOutput.ts +343 -1
- package/src/objects/PaymentFailureReason.ts +2 -0
- package/src/objects/Transaction.ts +12 -0
- package/src/objects/Wallet.ts +4 -0
- package/src/objects/WebhookEventType.ts +2 -0
- package/src/objects/WithdrawalRequestStatus.ts +2 -0
- package/src/objects/index.ts +11 -1
|
@@ -205,6 +205,8 @@ interface ApiToken {
|
|
|
205
205
|
name: string;
|
|
206
206
|
/** A list of permissions granted to the token. **/
|
|
207
207
|
permissions: Permission[];
|
|
208
|
+
/** Whether the api token has been deleted. **/
|
|
209
|
+
isDeleted: boolean;
|
|
208
210
|
/** The typename of the object **/
|
|
209
211
|
typename: string;
|
|
210
212
|
}
|
|
@@ -1004,7 +1006,8 @@ declare enum WithdrawalRequestStatus {
|
|
|
1004
1006
|
CREATED = "CREATED",
|
|
1005
1007
|
FAILED = "FAILED",
|
|
1006
1008
|
IN_PROGRESS = "IN_PROGRESS",
|
|
1007
|
-
SUCCESSFUL = "SUCCESSFUL"
|
|
1009
|
+
SUCCESSFUL = "SUCCESSFUL",
|
|
1010
|
+
PARTIALLY_SUCCESSFUL = "PARTIALLY_SUCCESSFUL"
|
|
1008
1011
|
}
|
|
1009
1012
|
|
|
1010
1013
|
/**
|
|
@@ -1370,6 +1373,7 @@ declare enum PaymentFailureReason {
|
|
|
1370
1373
|
INVOICE_ALREADY_PAID = "INVOICE_ALREADY_PAID",
|
|
1371
1374
|
SELF_PAYMENT = "SELF_PAYMENT",
|
|
1372
1375
|
INVOICE_EXPIRED = "INVOICE_EXPIRED",
|
|
1376
|
+
INVOICE_CANCELLED = "INVOICE_CANCELLED",
|
|
1373
1377
|
RISK_SCREENING_FAILED = "RISK_SCREENING_FAILED"
|
|
1374
1378
|
}
|
|
1375
1379
|
|
|
@@ -1592,8 +1596,15 @@ declare class IncomingPayment implements LightningTransaction, Transaction, Enti
|
|
|
1592
1596
|
readonly status: TransactionStatus;
|
|
1593
1597
|
/** The amount of money involved in this transaction. **/
|
|
1594
1598
|
readonly amount: CurrencyAmount;
|
|
1599
|
+
/**
|
|
1600
|
+
* Whether this payment is an UMA payment or not. NOTE: this field is only set if the invoice
|
|
1601
|
+
* that is being paid has been created using the recommended `create_uma_invoice` function.
|
|
1602
|
+
**/
|
|
1603
|
+
readonly isUma: boolean;
|
|
1595
1604
|
/** The recipient Lightspark node this payment was sent to. **/
|
|
1596
1605
|
readonly destinationId: string;
|
|
1606
|
+
/** Whether the payment is made from the same node. **/
|
|
1607
|
+
readonly isInternalPayment: boolean;
|
|
1597
1608
|
/** The typename of the object **/
|
|
1598
1609
|
readonly typename: string;
|
|
1599
1610
|
/** The date and time when this transaction was completed or failed. **/
|
|
@@ -1621,8 +1632,15 @@ declare class IncomingPayment implements LightningTransaction, Transaction, Enti
|
|
|
1621
1632
|
status: TransactionStatus,
|
|
1622
1633
|
/** The amount of money involved in this transaction. **/
|
|
1623
1634
|
amount: CurrencyAmount,
|
|
1635
|
+
/**
|
|
1636
|
+
* Whether this payment is an UMA payment or not. NOTE: this field is only set if the invoice
|
|
1637
|
+
* that is being paid has been created using the recommended `create_uma_invoice` function.
|
|
1638
|
+
**/
|
|
1639
|
+
isUma: boolean,
|
|
1624
1640
|
/** The recipient Lightspark node this payment was sent to. **/
|
|
1625
1641
|
destinationId: string,
|
|
1642
|
+
/** Whether the payment is made from the same node. **/
|
|
1643
|
+
isInternalPayment: boolean,
|
|
1626
1644
|
/** The typename of the object **/
|
|
1627
1645
|
typename: string,
|
|
1628
1646
|
/** The date and time when this transaction was completed or failed. **/
|
|
@@ -1647,6 +1665,7 @@ declare class IncomingPayment implements LightningTransaction, Transaction, Enti
|
|
|
1647
1665
|
incoming_payment_resolved_at: string | undefined;
|
|
1648
1666
|
incoming_payment_amount: any;
|
|
1649
1667
|
incoming_payment_transaction_hash: string | undefined;
|
|
1668
|
+
incoming_payment_is_uma: boolean;
|
|
1650
1669
|
incoming_payment_destination: {
|
|
1651
1670
|
id: string;
|
|
1652
1671
|
};
|
|
@@ -1654,6 +1673,7 @@ declare class IncomingPayment implements LightningTransaction, Transaction, Enti
|
|
|
1654
1673
|
id: string | undefined;
|
|
1655
1674
|
};
|
|
1656
1675
|
incoming_payment_uma_post_transaction_data: any[] | undefined;
|
|
1676
|
+
incoming_payment_is_internal_payment: boolean;
|
|
1657
1677
|
};
|
|
1658
1678
|
}
|
|
1659
1679
|
|
|
@@ -1768,16 +1788,6 @@ declare enum InvoiceType {
|
|
|
1768
1788
|
AMP = "AMP"
|
|
1769
1789
|
}
|
|
1770
1790
|
|
|
1771
|
-
interface ChannelSnapshot {
|
|
1772
|
-
channelId: string;
|
|
1773
|
-
timestamp: string;
|
|
1774
|
-
localBalance?: CurrencyAmount | undefined;
|
|
1775
|
-
localUnsettledBalance?: CurrencyAmount | undefined;
|
|
1776
|
-
localChannelReserve?: CurrencyAmount | undefined;
|
|
1777
|
-
remoteBalance?: CurrencyAmount | undefined;
|
|
1778
|
-
remoteUnsettledBalance?: CurrencyAmount | undefined;
|
|
1779
|
-
}
|
|
1780
|
-
|
|
1781
1791
|
/**
|
|
1782
1792
|
* This is an enum representing a particular reason why an htlc sent over the Lightning Network may
|
|
1783
1793
|
* have failed. *
|
|
@@ -1926,7 +1936,7 @@ declare class OutgoingPaymentAttempt implements Entity {
|
|
|
1926
1936
|
**/
|
|
1927
1937
|
readonly fees?: CurrencyAmount | undefined;
|
|
1928
1938
|
/** The channel snapshot at the time the outgoing payment attempt was made. **/
|
|
1929
|
-
readonly
|
|
1939
|
+
readonly channelSnapshotId?: string | undefined;
|
|
1930
1940
|
constructor(
|
|
1931
1941
|
/**
|
|
1932
1942
|
* The unique identifier of this entity across all Lightspark systems. Should be treated as an
|
|
@@ -1967,7 +1977,7 @@ declare class OutgoingPaymentAttempt implements Entity {
|
|
|
1967
1977
|
**/
|
|
1968
1978
|
fees?: CurrencyAmount | undefined,
|
|
1969
1979
|
/** The channel snapshot at the time the outgoing payment attempt was made. **/
|
|
1970
|
-
|
|
1980
|
+
channelSnapshotId?: string | undefined);
|
|
1971
1981
|
getHops(client: LightsparkClient, first?: number | undefined, after?: string | undefined): Promise<OutgoingPaymentAttemptToHopsConnection>;
|
|
1972
1982
|
static getOutgoingPaymentAttemptQuery(id: string): Query<OutgoingPaymentAttempt>;
|
|
1973
1983
|
toJson(): {
|
|
@@ -1985,7 +1995,9 @@ declare class OutgoingPaymentAttempt implements Entity {
|
|
|
1985
1995
|
outgoing_payment_attempt_outgoing_payment: {
|
|
1986
1996
|
id: string;
|
|
1987
1997
|
};
|
|
1988
|
-
outgoing_payment_attempt_channel_snapshot:
|
|
1998
|
+
outgoing_payment_attempt_channel_snapshot: {
|
|
1999
|
+
id: string | undefined;
|
|
2000
|
+
};
|
|
1989
2001
|
};
|
|
1990
2002
|
}
|
|
1991
2003
|
|
|
@@ -2027,8 +2039,15 @@ declare class OutgoingPayment implements LightningTransaction, Transaction, Enti
|
|
|
2027
2039
|
readonly status: TransactionStatus;
|
|
2028
2040
|
/** The amount of money involved in this transaction. **/
|
|
2029
2041
|
readonly amount: CurrencyAmount;
|
|
2042
|
+
/**
|
|
2043
|
+
* Whether this payment is an UMA payment or not. NOTE: this field is only set if the payment
|
|
2044
|
+
* has been sent using the recommended `pay_uma_invoice` function.
|
|
2045
|
+
**/
|
|
2046
|
+
readonly isUma: boolean;
|
|
2030
2047
|
/** The Lightspark node this payment originated from. **/
|
|
2031
2048
|
readonly originId: string;
|
|
2049
|
+
/** Whether the payment is made to the same node. **/
|
|
2050
|
+
readonly isInternalPayment: boolean;
|
|
2032
2051
|
/** The typename of the object **/
|
|
2033
2052
|
readonly typename: string;
|
|
2034
2053
|
/** The date and time when this transaction was completed or failed. **/
|
|
@@ -2063,8 +2082,15 @@ declare class OutgoingPayment implements LightningTransaction, Transaction, Enti
|
|
|
2063
2082
|
status: TransactionStatus,
|
|
2064
2083
|
/** The amount of money involved in this transaction. **/
|
|
2065
2084
|
amount: CurrencyAmount,
|
|
2085
|
+
/**
|
|
2086
|
+
* Whether this payment is an UMA payment or not. NOTE: this field is only set if the payment
|
|
2087
|
+
* has been sent using the recommended `pay_uma_invoice` function.
|
|
2088
|
+
**/
|
|
2089
|
+
isUma: boolean,
|
|
2066
2090
|
/** The Lightspark node this payment originated from. **/
|
|
2067
2091
|
originId: string,
|
|
2092
|
+
/** Whether the payment is made to the same node. **/
|
|
2093
|
+
isInternalPayment: boolean,
|
|
2068
2094
|
/** The typename of the object **/
|
|
2069
2095
|
typename: string,
|
|
2070
2096
|
/** The date and time when this transaction was completed or failed. **/
|
|
@@ -2096,6 +2122,7 @@ declare class OutgoingPayment implements LightningTransaction, Transaction, Enti
|
|
|
2096
2122
|
outgoing_payment_resolved_at: string | undefined;
|
|
2097
2123
|
outgoing_payment_amount: any;
|
|
2098
2124
|
outgoing_payment_transaction_hash: string | undefined;
|
|
2125
|
+
outgoing_payment_is_uma: boolean;
|
|
2099
2126
|
outgoing_payment_origin: {
|
|
2100
2127
|
id: string;
|
|
2101
2128
|
};
|
|
@@ -2108,6 +2135,7 @@ declare class OutgoingPayment implements LightningTransaction, Transaction, Enti
|
|
|
2108
2135
|
outgoing_payment_failure_message: any;
|
|
2109
2136
|
outgoing_payment_uma_post_transaction_data: any[] | undefined;
|
|
2110
2137
|
outgoing_payment_payment_preimage: string | undefined;
|
|
2138
|
+
outgoing_payment_is_internal_payment: boolean;
|
|
2111
2139
|
};
|
|
2112
2140
|
}
|
|
2113
2141
|
|
|
@@ -3215,31 +3243,93 @@ declare class LightsparkClient {
|
|
|
3215
3243
|
executeRawQuery<T>(query: Query<T>): Promise<T | null>;
|
|
3216
3244
|
}
|
|
3217
3245
|
|
|
3246
|
+
/** Audit log actor who called the GraphQL mutation **/
|
|
3247
|
+
interface AuditLogActor {
|
|
3248
|
+
/**
|
|
3249
|
+
* The unique identifier of this entity across all Lightspark systems. Should be treated as an
|
|
3250
|
+
* opaque string.
|
|
3251
|
+
**/
|
|
3252
|
+
id: string;
|
|
3253
|
+
/** The date and time when the entity was first created. **/
|
|
3254
|
+
createdAt: string;
|
|
3255
|
+
/** The date and time when the entity was last updated. **/
|
|
3256
|
+
updatedAt: string;
|
|
3257
|
+
/** The typename of the object **/
|
|
3258
|
+
typename: string;
|
|
3259
|
+
}
|
|
3260
|
+
declare const getAuditLogActorQuery: (id: string) => Query<AuditLogActor>;
|
|
3261
|
+
|
|
3262
|
+
/**
|
|
3263
|
+
* The unique identifier of the Invoice that should be cancelled. The invoice is supposed to be
|
|
3264
|
+
* open, not settled and not expired. *
|
|
3265
|
+
*/
|
|
3218
3266
|
interface CancelInvoiceInput {
|
|
3219
3267
|
invoiceId: string;
|
|
3220
3268
|
}
|
|
3221
3269
|
|
|
3270
|
+
/**
|
|
3271
|
+
* The Invoice that was cancelled. If the invoice was already cancelled, the same invoice is
|
|
3272
|
+
* returned. *
|
|
3273
|
+
*/
|
|
3222
3274
|
interface CancelInvoiceOutput {
|
|
3223
3275
|
invoiceId: string;
|
|
3224
3276
|
}
|
|
3225
3277
|
|
|
3278
|
+
interface ChannelSnapshot {
|
|
3279
|
+
/**
|
|
3280
|
+
* The unique identifier of this entity across all Lightspark systems. Should be treated as an
|
|
3281
|
+
* opaque string.
|
|
3282
|
+
**/
|
|
3283
|
+
id: string;
|
|
3284
|
+
/** The date and time when the entity was first created. **/
|
|
3285
|
+
createdAt: string;
|
|
3286
|
+
/** The date and time when the entity was last updated. **/
|
|
3287
|
+
updatedAt: string;
|
|
3288
|
+
channelId: string;
|
|
3289
|
+
/** The timestamp that was used to query the snapshot of the channel **/
|
|
3290
|
+
timestamp: string;
|
|
3291
|
+
/** The typename of the object **/
|
|
3292
|
+
typename: string;
|
|
3293
|
+
localBalance?: CurrencyAmount | undefined;
|
|
3294
|
+
localUnsettledBalance?: CurrencyAmount | undefined;
|
|
3295
|
+
remoteBalance?: CurrencyAmount | undefined;
|
|
3296
|
+
remoteUnsettledBalance?: CurrencyAmount | undefined;
|
|
3297
|
+
status?: string | undefined;
|
|
3298
|
+
localChannelReserve?: CurrencyAmount | undefined;
|
|
3299
|
+
}
|
|
3300
|
+
declare const getChannelSnapshotQuery: (id: string) => Query<ChannelSnapshot>;
|
|
3301
|
+
|
|
3226
3302
|
interface ClaimUmaInvitationInput {
|
|
3303
|
+
/** The unique code that identifies this invitation and was shared by the inviter. **/
|
|
3227
3304
|
invitationCode: string;
|
|
3305
|
+
/**
|
|
3306
|
+
* The UMA of the user claiming the invitation. It will be sent to the inviter so that they can
|
|
3307
|
+
* start transacting with the invitee.
|
|
3308
|
+
**/
|
|
3228
3309
|
inviteeUma: string;
|
|
3229
3310
|
}
|
|
3230
3311
|
|
|
3231
3312
|
interface ClaimUmaInvitationOutput {
|
|
3313
|
+
/** An UMA.ME invitation object. **/
|
|
3232
3314
|
invitationId: string;
|
|
3233
3315
|
}
|
|
3234
3316
|
|
|
3235
3317
|
interface ClaimUmaInvitationWithIncentivesInput {
|
|
3318
|
+
/** The unique code that identifies this invitation and was shared by the inviter. **/
|
|
3236
3319
|
invitationCode: string;
|
|
3320
|
+
/**
|
|
3321
|
+
* The UMA of the user claiming the invitation. It will be sent to the inviter so that they can
|
|
3322
|
+
* start transacting with the invitee.
|
|
3323
|
+
**/
|
|
3237
3324
|
inviteeUma: string;
|
|
3325
|
+
/** The phone hash of the user getting the invitation. **/
|
|
3238
3326
|
inviteePhoneHash: string;
|
|
3327
|
+
/** The region of the user getting the invitation. **/
|
|
3239
3328
|
inviteeRegion: RegionCode;
|
|
3240
3329
|
}
|
|
3241
3330
|
|
|
3242
3331
|
interface ClaimUmaInvitationWithIncentivesOutput {
|
|
3332
|
+
/** An UMA.ME invitation object. **/
|
|
3243
3333
|
invitationId: string;
|
|
3244
3334
|
}
|
|
3245
3335
|
|
|
@@ -3263,19 +3353,29 @@ interface CreateApiTokenInput {
|
|
|
3263
3353
|
}
|
|
3264
3354
|
|
|
3265
3355
|
interface CreateInvitationWithIncentivesInput {
|
|
3356
|
+
/**
|
|
3357
|
+
* The UMA of the user creating the invitation. It will be used to identify the inviter when
|
|
3358
|
+
* receiving the invitation.
|
|
3359
|
+
**/
|
|
3266
3360
|
inviterUma: string;
|
|
3361
|
+
/** The phone hash of the user creating the invitation. **/
|
|
3267
3362
|
inviterPhoneHash: string;
|
|
3363
|
+
/** The region of the user creating the invitation. **/
|
|
3268
3364
|
inviterRegion: RegionCode;
|
|
3269
3365
|
}
|
|
3270
3366
|
|
|
3271
3367
|
interface CreateInvitationWithIncentivesOutput {
|
|
3368
|
+
/** The created invitation in the form of a string identifier. **/
|
|
3272
3369
|
invitationId: string;
|
|
3273
3370
|
}
|
|
3274
3371
|
|
|
3275
3372
|
interface CreateInvoiceInput {
|
|
3276
3373
|
/** The node from which to create the invoice. **/
|
|
3277
3374
|
nodeId: string;
|
|
3278
|
-
/**
|
|
3375
|
+
/**
|
|
3376
|
+
* The amount for which the invoice should be created, in millisatoshis. Setting the amount to
|
|
3377
|
+
* 0 will allow the payer to specify an amount.
|
|
3378
|
+
**/
|
|
3279
3379
|
amountMsats: number;
|
|
3280
3380
|
memo?: string | undefined;
|
|
3281
3381
|
invoiceType?: InvoiceType | undefined;
|
|
@@ -3305,9 +3405,23 @@ interface CreateNodeWalletAddressInput {
|
|
|
3305
3405
|
nodeId: string;
|
|
3306
3406
|
}
|
|
3307
3407
|
|
|
3408
|
+
interface MultiSigAddressValidationParameters {
|
|
3409
|
+
/** The counterparty funding public key used to create the 2-of-2 multisig for the address. **/
|
|
3410
|
+
counterpartyFundingPubkey: string;
|
|
3411
|
+
/**
|
|
3412
|
+
* The derivation path used to derive the funding public key for the 2-of-2 multisig address. *
|
|
3413
|
+
*/
|
|
3414
|
+
fundingPubkeyDerivationPath: string;
|
|
3415
|
+
}
|
|
3416
|
+
|
|
3308
3417
|
interface CreateNodeWalletAddressOutput {
|
|
3309
3418
|
nodeId: string;
|
|
3310
3419
|
walletAddress: string;
|
|
3420
|
+
/**
|
|
3421
|
+
* Vaildation parameters for the 2-of-2 multisig address. None if the address is not a 2-of-2
|
|
3422
|
+
* multisig address.
|
|
3423
|
+
**/
|
|
3424
|
+
multisigWalletAddressValidationParameters?: MultiSigAddressValidationParameters | undefined;
|
|
3311
3425
|
}
|
|
3312
3426
|
|
|
3313
3427
|
interface CreateTestModeInvoiceInput {
|
|
@@ -3349,10 +3463,15 @@ interface CreateTestModePaymentoutput {
|
|
|
3349
3463
|
}
|
|
3350
3464
|
|
|
3351
3465
|
interface CreateUmaInvitationInput {
|
|
3466
|
+
/**
|
|
3467
|
+
* The UMA of the user creating the invitation. It will be used to identify the inviter when
|
|
3468
|
+
* receiving the invitation.
|
|
3469
|
+
**/
|
|
3352
3470
|
inviterUma: string;
|
|
3353
3471
|
}
|
|
3354
3472
|
|
|
3355
3473
|
interface CreateUmaInvitationOutput {
|
|
3474
|
+
/** The created invitation in the form of a string identifier. **/
|
|
3356
3475
|
invitationId: string;
|
|
3357
3476
|
}
|
|
3358
3477
|
|
|
@@ -3592,6 +3711,16 @@ interface IdAndSignature {
|
|
|
3592
3711
|
signature: string;
|
|
3593
3712
|
}
|
|
3594
3713
|
|
|
3714
|
+
interface IncomingPaymentsForInvoiceQueryInput {
|
|
3715
|
+
invoiceId: string;
|
|
3716
|
+
/** An optional filter to only query outgoing payments of given statuses. **/
|
|
3717
|
+
statuses?: TransactionStatus[] | undefined;
|
|
3718
|
+
}
|
|
3719
|
+
|
|
3720
|
+
interface IncomingPaymentsForInvoiceQueryOutput {
|
|
3721
|
+
payments: IncomingPayment[];
|
|
3722
|
+
}
|
|
3723
|
+
|
|
3595
3724
|
interface LightningFeeEstimateForInvoiceInput {
|
|
3596
3725
|
/** The node from where you want to send the payment. **/
|
|
3597
3726
|
nodeId: string;
|
|
@@ -4394,7 +4523,8 @@ declare enum WebhookEventType {
|
|
|
4394
4523
|
WALLET_WITHDRAWAL_FINISHED = "WALLET_WITHDRAWAL_FINISHED",
|
|
4395
4524
|
WALLET_FUNDS_RECEIVED = "WALLET_FUNDS_RECEIVED",
|
|
4396
4525
|
REMOTE_SIGNING = "REMOTE_SIGNING",
|
|
4397
|
-
LOW_BALANCE = "LOW_BALANCE"
|
|
4526
|
+
LOW_BALANCE = "LOW_BALANCE",
|
|
4527
|
+
HIGH_BALANCE = "HIGH_BALANCE"
|
|
4398
4528
|
}
|
|
4399
4529
|
|
|
4400
4530
|
/**
|
|
@@ -4463,4 +4593,4 @@ interface WithdrawalFeeEstimateOutput {
|
|
|
4463
4593
|
feeEstimate: CurrencyAmount;
|
|
4464
4594
|
}
|
|
4465
4595
|
|
|
4466
|
-
export {
|
|
4596
|
+
export { DeclineToSignMessagesInput as $, Account as A, Balances as B, CancelInvoiceInput as C, ClaimUmaInvitationWithIncentivesOutput as D, ComplianceProvider as E, Connection as F, CreateApiTokenInput as G, CreateApiTokenOutput as H, CreateInvitationWithIncentivesInput as I, CreateInvitationWithIncentivesOutput as J, CreateInvoiceInput as K, LightsparkClient as L, CreateInvoiceOutput as M, CreateLnurlInvoiceInput as N, CreateNodeWalletAddressInput as O, CreateNodeWalletAddressOutput as P, CreateTestModeInvoiceInput as Q, CreateTestModeInvoiceOutput as R, CreateTestModePaymentInput as S, CreateTestModePaymentoutput as T, CreateUmaInvitationInput as U, CreateUmaInvitationOutput as V, WebhookEventType as W, CreateUmaInvoiceInput as X, CurrencyAmount as Y, CurrencyUnit as Z, DailyLiquidityForecast as _, AccountToApiTokensConnection as a, PaymentRequest as a$, DeclineToSignMessagesOutput as a0, DeleteApiTokenInput as a1, DeleteApiTokenOutput as a2, Deposit as a3, getDepositQuery as a4, Entity as a5, FeeEstimate as a6, FundNodeInput as a7, FundNodeOutput as a8, GraphNode as a9, getLightsparkNodeOwnerQuery as aA, LightsparkNodeStatus as aB, LightsparkNodeToChannelsConnection as aC, LightsparkNodeToDailyLiquidityForecastsConnection as aD, LightsparkNodeWithOSK as aE, LightsparkNodeWithRemoteSigning as aF, MultiSigAddressValidationParameters as aG, Node as aH, getNodeQuery as aI, NodeAddress as aJ, NodeAddressType as aK, NodeToAddressesConnection as aL, OnChainTransaction as aM, getOnChainTransactionQuery as aN, OutgoingPayment as aO, OutgoingPaymentAttempt as aP, OutgoingPaymentAttemptStatus as aQ, OutgoingPaymentAttemptToHopsConnection as aR, OutgoingPaymentToAttemptsConnection as aS, OutgoingPaymentsForInvoiceQueryInput as aT, OutgoingPaymentsForInvoiceQueryOutput as aU, PageInfo as aV, PayInvoiceInput as aW, PayInvoiceOutput as aX, PayUmaInvoiceInput as aY, PaymentDirection as aZ, PaymentFailureReason as a_, Hop as aa, getHopQuery as ab, HtlcAttemptFailureCode as ac, IdAndSignature as ad, IncentivesIneligibilityReason as ae, IncentivesStatus as af, IncomingPayment as ag, IncomingPaymentAttempt as ah, getIncomingPaymentAttemptQuery as ai, IncomingPaymentAttemptStatus as aj, IncomingPaymentToAttemptsConnection as ak, IncomingPaymentsForInvoiceQueryInput as al, IncomingPaymentsForInvoiceQueryOutput as am, Invoice as an, getInvoiceQuery as ao, InvoiceData as ap, InvoiceType as aq, LightningFeeEstimateForInvoiceInput as ar, LightningFeeEstimateForNodeInput as as, LightningFeeEstimateOutput as at, LightningPaymentDirection as au, LightningTransaction as av, getLightningTransactionQuery as aw, LightsparkNode as ax, getLightsparkNodeQuery as ay, LightsparkNodeOwner as az, AccountToChannelsConnection as b, getPaymentRequestQuery as b0, PaymentRequestData as b1, PaymentRequestStatus as b2, Permission as b3, PostTransactionData as b4, RegionCode as b5, RegisterPaymentInput as b6, RegisterPaymentOutput as b7, ReleaseChannelPerCommitmentSecretInput as b8, ReleaseChannelPerCommitmentSecretOutput as b9, SingleNodeDashboard as bA, Transaction as bB, getTransactionQuery as bC, TransactionFailures as bD, TransactionStatus as bE, TransactionType as bF, TransactionUpdate as bG, UmaInvitation as bH, getUmaInvitationQuery as bI, UpdateChannelPerCommitmentPointInput as bJ, UpdateChannelPerCommitmentPointOutput as bK, UpdateNodeSharedSecretInput as bL, UpdateNodeSharedSecretOutput as bM, Wallet as bN, WalletStatus as bO, WalletToPaymentRequestsConnection as bP, WalletToTransactionsConnection as bQ, WalletToWithdrawalRequestsConnection as bR, Withdrawal as bS, getWithdrawalQuery as bT, WithdrawalFeeEstimateInput as bU, WithdrawalFeeEstimateOutput as bV, WithdrawalMode as bW, WithdrawalRequest as bX, WithdrawalRequestStatus as bY, WithdrawalRequestToChannelClosingTransactionsConnection as bZ, WithdrawalRequestToChannelOpeningTransactionsConnection as b_, ReleasePaymentPreimageInput as ba, ReleasePaymentPreimageOutput as bb, RemoteSigningSubEventType as bc, RequestWithdrawalInput as bd, RequestWithdrawalOutput as be, RichText as bf, RiskRating as bg, RoutingTransaction as bh, getRoutingTransactionQuery as bi, RoutingTransactionFailureReason as bj, ScreenNodeInput as bk, ScreenNodeOutput as bl, Secret as bm, SendPaymentInput as bn, SendPaymentOutput as bo, SetInvoicePaymentHashInput as bp, SetInvoicePaymentHashOutput as bq, SignInvoiceInput as br, SignInvoiceOutput as bs, SignMessagesInput as bt, SignMessagesOutput as bu, Signable as bv, getSignableQuery as bw, SignablePayload as bx, getSignablePayloadQuery as by, SignablePayloadStatus as bz, AccountToNodesConnection as c, AccountToPaymentRequestsConnection as d, AccountToTransactionsConnection as e, AccountToWalletsConnection as f, AccountToWithdrawalRequestsConnection as g, ApiToken as h, getApiTokenQuery as i, AuditLogActor as j, getAuditLogActorQuery as k, BlockchainBalance as l, CancelInvoiceOutput as m, Channel as n, ChannelClosingTransaction as o, getChannelClosingTransactionQuery as p, ChannelFees as q, ChannelOpeningTransaction as r, getChannelOpeningTransactionQuery as s, ChannelSnapshot as t, getChannelSnapshotQuery as u, ChannelStatus as v, ChannelToTransactionsConnection as w, ClaimUmaInvitationInput as x, ClaimUmaInvitationOutput as y, ClaimUmaInvitationWithIncentivesInput as z };
|