UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

52 lines (51 loc) 1.75 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 { PromotionCodeExternal } from './PromotionCodeExternal'; /** * * @export * @interface ListResponsePromotionCodeExternal */ export interface ListResponsePromotionCodeExternal { /** * * @type {Array<PromotionCodeExternal>} * @memberof ListResponsePromotionCodeExternal */ data: Array<PromotionCodeExternal>; /** * * @type {number} * @memberof ListResponsePromotionCodeExternal */ pageNumber: number; /** * * @type {number} * @memberof ListResponsePromotionCodeExternal */ pageSize: number; /** * * @type {number} * @memberof ListResponsePromotionCodeExternal */ totalObjects: number; } /** * Check if a given object implements the ListResponsePromotionCodeExternal interface. */ export declare function instanceOfListResponsePromotionCodeExternal(value: object): value is ListResponsePromotionCodeExternal; export declare function ListResponsePromotionCodeExternalFromJSON(json: any): ListResponsePromotionCodeExternal; export declare function ListResponsePromotionCodeExternalFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListResponsePromotionCodeExternal; export declare function ListResponsePromotionCodeExternalToJSON(json: any): ListResponsePromotionCodeExternal; export declare function ListResponsePromotionCodeExternalToJSONTyped(value?: ListResponsePromotionCodeExternal | null, ignoreDiscriminator?: boolean): any;