/* Options: Date: 2024-11-21 16:52:43 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetGoogleCalendarToken.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } export class GoogleCalendarTokenResponse { public Result: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/sync/googlecalendar/", "GET") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ValidateRequest(Validator="IsAuthenticated") export class GetGoogleCalendarToken implements IReturn, ICompany { /** @description The company id, if empty will use the company id for the user you are logged in with. */ // @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") public CompanyId?: string; /** @description Query for specific Resources, default is all resources */ // @ApiMember(Description="Query for specific Resources, default is all resources", ParameterType="query") public ResourceIds: number[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'GetGoogleCalendarToken'; } public getMethod() { return 'GET'; } public createResponse() { return new GoogleCalendarTokenResponse(); } }