UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

95 lines (94 loc) 2.47 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 { DateTimeFilter } from './DateTimeFilter'; import type { SearchFilter } from './SearchFilter'; /** * * @export * @interface ProductQueryParams */ export interface ProductQueryParams { /** * * @type {DateTimeFilter} * @memberof ProductQueryParams */ createdAt?: DateTimeFilter | null; /** * * @type {string} * @memberof ProductQueryParams */ createdBy?: string | null; /** * Specifies which fields in the response should be expanded. * @type {Array<string>} * @memberof ProductQueryParams */ expand?: Array<string>; /** * * @type {boolean} * @memberof ProductQueryParams */ isActive?: boolean | null; /** * * @type {string} * @memberof ProductQueryParams */ nameContains?: string | null; /** * Page number * @type {number} * @memberof ProductQueryParams */ pageNumber?: number; /** * Page size * @type {number} * @memberof ProductQueryParams */ pageSize?: number; /** * * @type {SearchFilter} * @memberof ProductQueryParams */ search?: SearchFilter | null; /** * Sort direction. * @type {boolean} * @memberof ProductQueryParams */ sortDescending?: boolean; /** * Key name based on which data is sorted. * @type {string} * @memberof ProductQueryParams */ sortKey?: string; /** * * @type {DateTimeFilter} * @memberof ProductQueryParams */ updatedAt?: DateTimeFilter | null; } /** * Check if a given object implements the ProductQueryParams interface. */ export declare function instanceOfProductQueryParams(value: object): value is ProductQueryParams; export declare function ProductQueryParamsFromJSON(json: any): ProductQueryParams; export declare function ProductQueryParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductQueryParams; export declare function ProductQueryParamsToJSON(json: any): ProductQueryParams; export declare function ProductQueryParamsToJSONTyped(value?: ProductQueryParams | null, ignoreDiscriminator?: boolean): any;