UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

47 lines (46 loc) 1.74 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 { InvoiceExternal } from './InvoiceExternal'; import type { SubscriptionExternal } from './SubscriptionExternal'; /** * * @export * @interface UpdateSubscriptionResponse */ export interface UpdateSubscriptionResponse { /** * List of invoices created * @type {Array<InvoiceExternal>} * @memberof UpdateSubscriptionResponse */ invoices: Array<InvoiceExternal>; /** * List of renewal invoices created * @type {Array<InvoiceExternal>} * @memberof UpdateSubscriptionResponse */ renewalInvoices?: Array<InvoiceExternal>; /** * List of subscriptions updated. * @type {Array<SubscriptionExternal>} * @memberof UpdateSubscriptionResponse */ subscriptions: Array<SubscriptionExternal>; } /** * Check if a given object implements the UpdateSubscriptionResponse interface. */ export declare function instanceOfUpdateSubscriptionResponse(value: object): value is UpdateSubscriptionResponse; export declare function UpdateSubscriptionResponseFromJSON(json: any): UpdateSubscriptionResponse; export declare function UpdateSubscriptionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateSubscriptionResponse; export declare function UpdateSubscriptionResponseToJSON(json: any): UpdateSubscriptionResponse; export declare function UpdateSubscriptionResponseToJSONTyped(value?: UpdateSubscriptionResponse | null, ignoreDiscriminator?: boolean): any;