/** * Shell Data & Reporting APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { lazy, object, optional, Schema, string } from '../schema.js'; import { SearchDocReq, searchDocReqSchema } from './searchDocReq.js'; export interface SearchDocumentsRequest { filters?: SearchDocReq; /** Specify the page of results to be returned. */ page?: string; /** Specify the number of records to returned; Max 1000 */ pageSize?: string; } export const searchDocumentsRequestSchema: Schema = lazy( () => object({ filters: ['Filters', optional(searchDocReqSchema)], page: ['Page', optional(string())], pageSize: ['PageSize', optional(string())], }) );