/* Options: Date: 2024-12-01 04:03:38 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: GetAuthorizationPost.* //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", "POST") export class GetAuthorizationPost implements IReturn, IGetAuthorization { // @ApiMember() public serviceName: string; // @ApiMember() public tokenString: string; // @ApiMember() public userTokenString: string; // @ApiMember() public profile: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'GetAuthorizationPost'; } public getMethod() { return 'POST'; } public createResponse() { return new GetAuthorizationResponse(); } }