import { ExtensibleObject, ExtensibleEntityDto, PagedAndSortedResultRequestDto, Rest, PagedResultDto, RestService } from '@abp/ng.core'; import * as rxjs from 'rxjs'; import * as i0 from '@angular/core'; interface ApplicationCreateOrUpdateDtoBase extends ExtensibleObject { applicationType: string; clientId: string; displayName: string; clientType?: string; clientSecret?: string; consentType?: string; extensionGrantTypes: string[]; postLogoutRedirectUris: string[]; redirectUris: string[]; frontChannelLogoutUri?: string; allowPasswordFlow: boolean; allowClientCredentialsFlow: boolean; allowAuthorizationCodeFlow: boolean; allowRefreshTokenFlow: boolean; allowHybridFlow: boolean; allowImplicitFlow: boolean; allowTokenExchangeFlow: boolean; allowEndSessionEndpoint: boolean; allowDeviceAuthorizationEndpoint: boolean; forcePkce: boolean; allowPushedAuthorizationEndpoint: boolean; forcePushedAuthorization: boolean; scopes: string[]; clientUri?: string; logoUri?: string; } interface ApplicationDto extends ExtensibleEntityDto { applicationType?: string; clientId?: string; displayName?: string; clientType?: string; clientSecret?: string; consentType?: string; extensionGrantTypes: string[]; postLogoutRedirectUris: string[]; redirectUris: string[]; frontChannelLogoutUri?: string; allowPasswordFlow: boolean; allowClientCredentialsFlow: boolean; allowAuthorizationCodeFlow: boolean; allowRefreshTokenFlow: boolean; allowHybridFlow: boolean; allowImplicitFlow: boolean; allowTokenExchangeFlow: boolean; allowEndSessionEndpoint: boolean; allowDeviceAuthorizationEndpoint: boolean; forcePkce: boolean; allowPushedAuthorizationEndpoint: boolean; forcePushedAuthorization: boolean; scopes: string[]; clientUri?: string; logoUri?: string; } interface ApplicationTokenLifetimeDto { accessTokenLifetime?: number; authorizationCodeLifetime?: number; deviceCodeLifetime?: number; identityTokenLifetime?: number; refreshTokenLifetime?: number; userCodeLifetime?: number; requestTokenLifetime?: number; issuedTokenLifetime?: number; } interface CreateApplicationInput extends ApplicationCreateOrUpdateDtoBase { } interface GetApplicationListInput extends PagedAndSortedResultRequestDto { filter?: string; } interface UpdateApplicationInput extends ApplicationCreateOrUpdateDtoBase { } type index_d$3_ApplicationCreateOrUpdateDtoBase = ApplicationCreateOrUpdateDtoBase; type index_d$3_ApplicationDto = ApplicationDto; type index_d$3_ApplicationTokenLifetimeDto = ApplicationTokenLifetimeDto; type index_d$3_CreateApplicationInput = CreateApplicationInput; type index_d$3_GetApplicationListInput = GetApplicationListInput; type index_d$3_UpdateApplicationInput = UpdateApplicationInput; declare namespace index_d$3 { export type { index_d$3_ApplicationCreateOrUpdateDtoBase as ApplicationCreateOrUpdateDtoBase, index_d$3_ApplicationDto as ApplicationDto, index_d$3_ApplicationTokenLifetimeDto as ApplicationTokenLifetimeDto, index_d$3_CreateApplicationInput as CreateApplicationInput, index_d$3_GetApplicationListInput as GetApplicationListInput, index_d$3_UpdateApplicationInput as UpdateApplicationInput }; } declare namespace index_d$2 { export { index_d$3 as Dtos, }; } interface CreateScopeInput extends ScopeCreateOrUpdateDtoBase { } interface GetScopeListInput extends PagedAndSortedResultRequestDto { filter?: string; } interface ScopeCreateOrUpdateDtoBase extends ExtensibleObject { name: string; displayName?: string; description?: string; resources: string[]; } interface ScopeDto extends ExtensibleEntityDto { name?: string; displayName?: string; description?: string; buildIn: boolean; resources: string[]; } interface UpdateScopeInput extends ScopeCreateOrUpdateDtoBase { } type index_d$1_CreateScopeInput = CreateScopeInput; type index_d$1_GetScopeListInput = GetScopeListInput; type index_d$1_ScopeCreateOrUpdateDtoBase = ScopeCreateOrUpdateDtoBase; type index_d$1_ScopeDto = ScopeDto; type index_d$1_UpdateScopeInput = UpdateScopeInput; declare namespace index_d$1 { export type { index_d$1_CreateScopeInput as CreateScopeInput, index_d$1_GetScopeListInput as GetScopeListInput, index_d$1_ScopeCreateOrUpdateDtoBase as ScopeCreateOrUpdateDtoBase, index_d$1_ScopeDto as ScopeDto, index_d$1_UpdateScopeInput as UpdateScopeInput }; } declare namespace index_d { export { index_d$1 as Dtos, }; } declare class ApplicationService { private restService; apiName: string; create: (input: CreateApplicationInput, config?: Partial) => rxjs.Observable; delete: (id: string, config?: Partial) => rxjs.Observable; get: (id: string, config?: Partial) => rxjs.Observable; getList: (input: GetApplicationListInput, config?: Partial) => rxjs.Observable>; getTokenLifetime: (id: string, config?: Partial) => rxjs.Observable; setTokenLifetime: (id: string, input: ApplicationTokenLifetimeDto, config?: Partial) => rxjs.Observable; update: (id: string, input: UpdateApplicationInput, config?: Partial) => rxjs.Observable; constructor(restService: RestService); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ScopeService { private restService; apiName: string; create: (input: CreateScopeInput, config?: Partial) => rxjs.Observable; delete: (id: string, config?: Partial) => rxjs.Observable; get: (id: string, config?: Partial) => rxjs.Observable; getAllScopes: (config?: Partial) => rxjs.Observable; getList: (input: GetScopeListInput, config?: Partial) => rxjs.Observable>; update: (id: string, input: UpdateScopeInput, config?: Partial) => rxjs.Observable; constructor(restService: RestService); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export { ApplicationService, index_d$2 as Applications, ScopeService, index_d as Scopes }; export type { ApplicationCreateOrUpdateDtoBase, ApplicationDto, ApplicationTokenLifetimeDto, CreateApplicationInput, CreateScopeInput, GetApplicationListInput, GetScopeListInput, ScopeCreateOrUpdateDtoBase, ScopeDto, UpdateApplicationInput, UpdateScopeInput };