/* Options: Date: 2024-12-03 18:06:00 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: CreateGoogleCalendarToken.* //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", "POST") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ValidateRequest(Validator="IsAuthenticated") export class CreateGoogleCalendarToken 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 'CreateGoogleCalendarToken'; } public getMethod() { return 'POST'; } public createResponse() { return new GoogleCalendarTokenResponse(); } }