/* Options: Date: 2024-12-01 04:03:32 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://nkapi-sgepz3-auth.azurewebsites.net //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetAuthorization.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface IGetAuthorization { serviceName: string; tokenString: string; userTokenString: string; profile: string; } export class GetAuthorizationResponse { public isAuthorized: boolean; public parameters: { [index: string]: string; }; public userObjectId?: string; public userTenant: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/authorization/{ServiceName}/{TokenString}", "GET") export class GetAuthorization implements IReturn, IGetAuthorization { // @ApiMember(IsRequired=true, ParameterType="path", Verb="GET") public serviceName: string; // @ApiMember(IsRequired=true, ParameterType="path", Verb="GET") public tokenString: string; // @ApiMember() public userTokenString: string; // @ApiMember() public profile: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'GetAuthorization'; } public getMethod() { return 'GET'; } public createResponse() { return new GetAuthorizationResponse(); } }