PHP WebShell

Текущая директория: /opt/BitGoJS/modules/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;
}>, t.PartialC<{
    memo: t.StringC;
}>]>;
export type Invoice = t.TypeOf<typeof Invoice>;
export declare const InvoiceInfo: t.IntersectionC<[t.TypeC<{
    valueMsat: import("io-ts-types/BigIntFromString").BigIntFromStringC;
    paymentHash: t.StringC;
    invoice: t.StringC;
    walletId: t.StringC;
    status: t.UnionC<[t.LiteralC<"open">, t.LiteralC<"settled">, t.LiteralC<"canceled">]>;
    expiresAt: import("io-ts-types/DateFromISOString").DateFromISOStringC;
    createdAt: import("io-ts-types/DateFromISOString").DateFromISOStringC;
    updatedAt: import("io-ts-types/DateFromISOString").DateFromISOStringC;
}>, t.PartialC<{
    /**
     * The number of millisats actually paid to this invoice, this may be greater
     * than the amount requested by the invoice, since lightning allows overpaying
     * (but not underpaying) invoices.
     */
    amtPaidMsat: import("io-ts-types/BigIntFromString").BigIntFromStringC;
}>]>;
export type InvoiceInfo = t.TypeOf<typeof InvoiceInfo>;
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;
    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

Выполнить команду


Для локальной разработки. Не используйте в интернете!