/** * Generated by orval v8.19.0 🍺 * Do not edit manually. * Webitel API * OpenAPI spec version: 24.04.0 */ import type { SearchCommentsMode } from './searchCommentsMode'; export type SearchCommentsParams = { /** * Page number of result. offset = ((page-1)*size) */ page?: number; /** * Size of result page. limit = (size++) */ size?: number; /** * Search term: comment text; * `?` - matches any character * `*` - matches 0 or more characters * * term-of-search: lookup[name|...] */ q?: string; /** * Sort the result according to fields. */ sort?: string[]; /** * Fields to be retrieved as a result. */ fields?: string[]; /** * Comment(s) with unique ID only. */ id?: string[]; /** * The requirement of [M]andatory [A]ccess [C]ontrol. * * - READ: Can `fetch` record. [GET] * - WRITE: Can `update` record. [PUT|PATCH] * - DELETE: Can `delete` record. [DELETE] */ mode?: SearchCommentsMode; /** * Since timestamp(milli). Not before. */ 'date.since'?: string; /** * Until timestamp(milli). Not after. */ 'date.until'?: string; /** * Reference Object unique ID. */ 'author.id'?: string; /** * Reference Object well-known type. */ 'author.type'?: string; /** * Reference Object display name. */ 'author.name'?: string; /** * Reference Object unique ID. */ 'editor.id'?: string; /** * Reference Object well-known type. */ 'editor.type'?: string; /** * Reference Object display name. */ 'editor.name'?: string; };