/* Options: Date: 2025-05-04 20:24:39 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: NewDeviceToken.* //ExcludeTypes: //DefaultImports: */ export class NodeParameterMap { [key:string] : NodeParameter; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export interface IReturn { createResponse(): T; } export interface IPost { } export enum DeviceTypes { Web = 'Web', iOS = 'iOS', Android = 'Android', } export class DeviceTokenInfo { public deviceType: DeviceTypes; public token: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Create a new device token if it doesn't exist already */ // @Route("/app/tokens", "POST") // @Api(Description="Create a new device token if it doesn't exist already") export class NewDeviceToken implements IReturn, IPost { /** @description The type of device */ // @ApiMember(Description="The type of device") public deviceType: DeviceTypes; /** @description The device token to save */ // @ApiMember(Description="The device token to save") public token: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'NewDeviceToken'; } public getMethod() { return 'POST'; } public createResponse() { return new DeviceTokenInfo(); } }