PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/abstract-lightning/dist/src/codecs/api
Просмотр файла: invoice.d.ts
import * as t from 'io-ts';
export declare const InvoiceStatus: t.UnionC<[t.LiteralC<"open">, t.LiteralC<"settled">, t.LiteralC<"canceled">]>;
export type InvoiceStatus = t.TypeOf<typeof InvoiceStatus>;
export declare const CreateInvoiceBody: t.IntersectionC<[t.TypeC<{
valueMsat: import("io-ts-types/BigIntFromString").BigIntFromStringC;
}>, t.PartialC<{
memo: t.StringC;
expiry: t.NumberC;
}>]>;
export type CreateInvoiceBody = t.TypeOf<typeof CreateInvoiceBody>;
/**
* A representation of the data tracked by the indexer for an invoice it has
* created within lnd.
*/
export declare const Invoice: t.IntersectionC<[t.TypeC<{
valueMsat: import("io-ts-types/BigIntFromString").BigIntFromStringC;
paymentHash: t.StringC;
/** The BOLT #11 encoded invoice string */
invoice: t.StringC;
/** The public BitGo walletId to which this invoice belongs */
walletId: t.StringC;
status: t.UnionC<[t.LiteralC<"open">, t.LiteralC<"settled">, t.LiteralC<"canceled">]>;
/** A date in ISO format representing when this invoice expires. */
expiresAt: import("io-ts-types/DateFromISOString").DateFromISOStringC;
createdAt: import("io-ts-types/DateFromISOString").DateFromISOStringC;
updatedAt: import("io-ts-types/DateFromISOString").DateFromISOStringC;
}>, t.PartialC<{
memo: t.StringC;
amtPaidMsat: import("io-ts-types/BigIntFromString").BigIntFromStringC;
}>]>;
export type Invoice = t.TypeOf<typeof Invoice>;
export declare const ListInvoicesResponse: t.IntersectionC<[t.TypeC<{
invoices: t.ArrayC<t.IntersectionC<[t.TypeC<{
valueMsat: import("io-ts-types/BigIntFromString").BigIntFromStringC;
paymentHash: t.StringC;
/** The BOLT #11 encoded invoice string */
invoice: t.StringC;
/** The public BitGo walletId to which this invoice belongs */
walletId: t.StringC;
status: t.UnionC<[t.LiteralC<"open">, t.LiteralC<"settled">, t.LiteralC<"canceled">]>;
/** A date in ISO format representing when this invoice expires. */
expiresAt: import("io-ts-types/DateFromISOString").DateFromISOStringC;
createdAt: import("io-ts-types/DateFromISOString").DateFromISOStringC;
updatedAt: import("io-ts-types/DateFromISOString").DateFromISOStringC;
}>, t.PartialC<{
memo: t.StringC;
amtPaidMsat: import("io-ts-types/BigIntFromString").BigIntFromStringC;
}>]>>;
}>, t.PartialC<{
/**
* This is the paymentHash of the last Invoice in the last iteration.
* Providing this value as the prevId in the next request will return the next batch of invoices.
* */
nextBatchPrevId: t.StringC;
}>]>;
export type ListInvoicesResponse = t.TypeOf<typeof ListInvoicesResponse>;
export declare const InvoiceQuery: t.PartialC<{
status: t.UnionC<[t.LiteralC<"open">, t.LiteralC<"settled">, t.LiteralC<"canceled">]>;
limit: import("io-ts-types/BigIntFromString").BigIntFromStringC;
/** paymentHash provided by nextBatchPrevId in the previous list */
prevId: t.StringC;
startDate: import("io-ts-types/DateFromISOString").DateFromISOStringC;
endDate: import("io-ts-types/DateFromISOString").DateFromISOStringC;
}>;
export type InvoiceQuery = t.TypeOf<typeof InvoiceQuery>;
//# sourceMappingURL=invoice.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!