Skip to content

Commit

Permalink
Merge pull request #210 from lightsparkdev/sdk-regen/6Gzn0g
Browse files Browse the repository at this point in the history
Regenerating SDKs following introspection of schemas.
  • Loading branch information
JasonCWang authored Oct 10, 2024
2 parents af198d9 + 86e830e commit 4197b84
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ import kotlinx.serialization.Serializable

/**
*
* @param nodeId The node from which to create the invoice.
* @param amountMsats The amount for which the invoice should be created, in millisatoshis.
* @param metadataHash The SHA256 hash of the UMA metadata payload. This will be present in the h-tag (SHA256 purpose of payment) of the resulting Bolt 11 invoice.
* @param expirySecs The expiry of the invoice in seconds. Default value is 86400 (1 day).
* @param receiverHash An optional, monthly-rotated, unique hashed identifier corresponding to the receiver of the payment.
*/
@Serializable
@SerialName("CreateUmaInvoiceInput")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ enum class CurrencyUnit(
/** United States Dollar. **/
USD("USD"),

/** Mexican Peso. **/
MXN("MXN"),

/** 0.000000001 (10e-9) Bitcoin or a billionth of a Bitcoin. We recommend using the Satoshi unit instead when possible. **/
NANOBITCOIN("NANOBITCOIN"),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ enum class CurrencyUnit(
/** United States Dollar. **/
USD("USD"),

/** Mexican Peso. **/
MXN("MXN"),

/** 0.000000001 (10e-9) Bitcoin or a billionth of a Bitcoin. We recommend using the Satoshi unit instead when possible. **/
NANOBITCOIN("NANOBITCOIN"),

Expand Down

0 comments on commit 4197b84

Please sign in to comment.