card-management-sdk
Version:
The Shell Card Management API is REST-based and employs OAUTH 2.0,Basic and ApiKey authentication. The API endpoints accept JSON-encoded request bodies, return JSON-encoded responses and use standard HTTP response codes. All resources are located in the S
25 lines (21 loc) • 740 B
text/typescript
/**
* Shell Card Management APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { lazy, nullable, number, object, optional, Schema } from '../schema.js';
import { AuditRequest, auditRequestSchema } from './auditRequest.js';
export interface AuditReq {
filters?: AuditRequest;
/** Page Number (as shown to the users) */
page?: number | null;
/** Page Size – Number of records to show on a page. */
pageSize?: number | null;
}
export const auditReqSchema: Schema<AuditReq> = lazy(() =>
object({
filters: ['Filters', optional(auditRequestSchema)],
page: ['Page', optional(nullable(number()))],
pageSize: ['PageSize', optional(nullable(number()))],
})
);