UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

40 lines (39 loc) 1.29 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. */ import type { SubscriptionExternal } from './SubscriptionExternal'; /** * * @export * @interface ActiveSubResponse */ export interface ActiveSubResponse { /** * * @type {boolean} * @memberof ActiveSubResponse */ hasActiveSubscriptions: boolean; /** * * @type {Array<SubscriptionExternal>} * @memberof ActiveSubResponse */ subscriptions: Array<SubscriptionExternal>; } /** * Check if a given object implements the ActiveSubResponse interface. */ export declare function instanceOfActiveSubResponse(value: object): value is ActiveSubResponse; export declare function ActiveSubResponseFromJSON(json: any): ActiveSubResponse; export declare function ActiveSubResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ActiveSubResponse; export declare function ActiveSubResponseToJSON(json: any): ActiveSubResponse; export declare function ActiveSubResponseToJSONTyped(value?: ActiveSubResponse | null, ignoreDiscriminator?: boolean): any;