/* Options: Date: 2024-12-01 04:27:55 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: AuthorizeUserFast.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface IAuthorizeUser { bearerToken: string; profile: string; service: string; } export interface IAuthorizeUserResponse extends IAuthorizeBaseResponse { userObjectId?: string; userTenant: string; userTenantId: string; } export interface IAuthorizeBaseResponse { isAuthorized: boolean; suggestedStatusCode: number; suggestedResponseMessage: string; reason: string; customerId?: string; } export class AuthorizeFastBaseResponse { public isAuthorized: boolean; public settings: { [index: string]: string; }; public suggestedStatusCode: number; public suggestedResponseMessage: string; public reason: string; public customerId?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class AuthorizeUserFastResponse extends AuthorizeFastBaseResponse implements IAuthorizeUserResponse { public userObjectId?: string; public userTenant: string; public userTenantId: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } // @Route("/authorizeuserfast/{Service}/{Profile}", "POST") export class AuthorizeUserFast implements IReturn, IAuthorizeUser { public bearerToken: string; public customerContext: string; // @ApiMember(ExcludeInSchema=true, IsRequired=true, ParameterType="path") public profile: string; // @ApiMember(ExcludeInSchema=true, IsRequired=true, ParameterType="path") public service: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'AuthorizeUserFast'; } public getMethod() { return 'POST'; } public createResponse() { return new AuthorizeUserFastResponse(); } }