// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from '../core/resource'; import * as AccountsAPI from './accounts/accounts'; import { APIPromise } from '../core/api-promise'; import { RequestOptions } from '../internal/request-options'; export class TicketForms extends APIResource { /** * Get a list of ticket forms */ list(options?: RequestOptions): APIPromise { return this._client.get('/ticket-forms', options); } } export interface TicketFormListResponse { data?: Array; pagination?: AccountsAPI.Pagination; request_id?: string; } export namespace TicketFormListResponse { export interface Data { id?: string; description_html?: string; fields?: Array; is_public?: boolean; name?: string; slug?: string; url?: string; } export namespace Data { export interface Field { description_html?: string; name?: string; slug?: string; type?: string; } } } export declare namespace TicketForms { export { type TicketFormListResponse as TicketFormListResponse }; }