UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

57 lines (56 loc) 1.84 kB
/** * OpenPay API * super charge your subscription management. * * The version of the OpenAPI document: 1.2.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface BillingMeterSummary */ export interface BillingMeterSummary { /** * Aggregated value of all the events within start_time and end_time. The aggregation strategy is defined on meter via default_aggregation. * @type {number} * @memberof BillingMeterSummary */ aggregatedValue: number; /** * Count of events found within start_time and end_time. * @type {number} * @memberof BillingMeterSummary */ documentCount: number; /** * End datetime for this event summary * @type {Date} * @memberof BillingMeterSummary */ endDatetime: Date; /** * The if of billing meter associated with this event summary. * @type {string} * @memberof BillingMeterSummary */ meterId: string; /** * Start datetime for this event summary * @type {Date} * @memberof BillingMeterSummary */ startDatetime: Date; } /** * Check if a given object implements the BillingMeterSummary interface. */ export declare function instanceOfBillingMeterSummary(value: object): value is BillingMeterSummary; export declare function BillingMeterSummaryFromJSON(json: any): BillingMeterSummary; export declare function BillingMeterSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingMeterSummary; export declare function BillingMeterSummaryToJSON(json: any): BillingMeterSummary; export declare function BillingMeterSummaryToJSONTyped(value?: BillingMeterSummary | null, ignoreDiscriminator?: boolean): any;