/* Options: Date: 2025-05-04 23:52:52 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AppGetFormCompletions.* //ExcludeTypes: //DefaultImports: */ export class NodeParameterMap { [key:string] : NodeParameter; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export interface IReturn { createResponse(): T; } export enum SortOrders { Ascend = 'Ascend', Descend = 'Descend', } export class ListRequest implements IGet { /** @description The page of data to retrieve */ // @ApiMember(Description="The page of data to retrieve") public page: number; /** @description If you want all objects to be returned. This should be used with care */ // @ApiMember(Description="If you want all objects to be returned. This should be used with care") public all: boolean; /** @description The number per page to retrieve */ // @ApiMember(Description="The number per page to retrieve") public countPerPage: number; /** @description Specific IDs */ // @ApiMember(Description="Specific IDs") public specificIds: string[]; /** @description Specify a sort field */ // @ApiMember(Description="Specify a sort field") public sortField: string; /** @description Specify a sort order */ // @ApiMember(Description="Specify a sort order") public sortOrder: SortOrders; /** @description Disables total / page counts - improves performance. Returns only data. If there is no more data, Items will be empty array */ // @ApiMember(Description="Disables total / page counts - improves performance. Returns only data. If there is no more data, Items will be empty array") public simplifiedPaging: boolean; public constructor(init?: Partial>) { (Object as any).assign(this, init); } } export class HostedSuiteCompletedFormField { public name: string; public values: string[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class HostedSuiteCompletedForm { public id: string; public name: string; public dateCreated: string; public dateCompleted: string; public formId: string; public formName: string; public clientId: string; public clientName: string; public contactId: string; public contactName: string; public contactsIds: string[]; public contactsNames: string[]; public emailSubject: string; public callerNumber: string; public fields: HostedSuiteCompletedFormField[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ListResponse { /** @description The items */ // @ApiMember(Description="The items") public items: T[]; /** @description The total number of items */ // @ApiMember(Description="The total number of items") public totalCount: number; /** @description The total number of pages */ // @ApiMember(Description="The total number of pages") public totalPages: number; /** @description Are there more pages of items? Used with simplified paging */ // @ApiMember(Description="Are there more pages of items? Used with simplified paging") public hasMorePages: boolean; public constructor(init?: Partial>) { (Object as any).assign(this, init); } } // @Route("/portal/form-completions", "GET") export class AppGetFormCompletions extends ListRequest implements IReturn> { public accountId: string; public customerId: string; public emailSubjectFilter: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'AppGetFormCompletions'; } public getMethod() { return 'GET'; } public createResponse() { return new ListResponse(); } }