@leancodepl/kratos
Version:
Headless React components library for building Ory Kratos authentication flows
58 lines • 1.49 kB
TypeScript
import { InvoiceDataV1 } from './InvoiceDataV1';
/**
*
* @export
* @interface Invoice
*/
export interface Invoice {
/**
* The ID of the invoice.
* @type {string}
* @memberof Invoice
*/
readonly id: string;
/**
*
* @type {Date}
* @memberof Invoice
*/
invoiced_at: Date;
/**
* Type is the type of the invoice.
* usage InvoiceTypeUsage
* base InvoiceTypeBase
* @type {string}
* @memberof Invoice
*/
readonly type: InvoiceTypeEnum;
/**
*
* @type {Date}
* @memberof Invoice
*/
updated_at?: Date;
/**
*
* @type {InvoiceDataV1}
* @memberof Invoice
*/
v1?: InvoiceDataV1;
}
/**
* @export
*/
export declare const InvoiceTypeEnum: {
readonly Usage: "usage";
readonly Base: "base";
readonly UnknownDefaultOpenApi: "11184809";
};
export type InvoiceTypeEnum = typeof InvoiceTypeEnum[keyof typeof InvoiceTypeEnum];
/**
* Check if a given object implements the Invoice interface.
*/
export declare function instanceOfInvoice(value: object): value is Invoice;
export declare function InvoiceFromJSON(json: any): Invoice;
export declare function InvoiceFromJSONTyped(json: any, ignoreDiscriminator: boolean): Invoice;
export declare function InvoiceToJSON(json: any): Invoice;
export declare function InvoiceToJSONTyped(value?: Omit<Invoice, 'id' | 'type'> | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=Invoice.d.ts.map