Browse Source

Merge pull request #10500 from abpframework/feat/10499

Update Identity and Account proxies
pull/10502/head
Mehmet Erim 4 years ago
committed by GitHub
parent
commit
3603eee386
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      npm/ng-packs/nx.json
  2. 1
      npm/ng-packs/packages/account-core/proxy/src/lib/proxy/account/index.ts
  3. 25
      npm/ng-packs/packages/account-core/proxy/src/lib/proxy/account/models.ts
  4. 8
      npm/ng-packs/packages/account-core/proxy/src/lib/proxy/account/profile.service.ts
  5. 2560
      npm/ng-packs/packages/account-core/proxy/src/lib/proxy/generate-proxy.json
  6. 1
      npm/ng-packs/packages/account-core/proxy/src/lib/proxy/identity/models.ts
  7. 2
      npm/ng-packs/packages/account/ng-package.json
  8. 1
      npm/ng-packs/packages/account/package.json
  9. 2
      npm/ng-packs/packages/account/src/lib/components/change-password/change-password.component.ts
  10. 2
      npm/ng-packs/packages/account/src/lib/components/manage-profile/manage-profile.component.ts
  11. 2
      npm/ng-packs/packages/account/src/lib/components/personal-settings/personal-settings.component.ts
  12. 2
      npm/ng-packs/packages/account/src/lib/services/manage-profile.state.service.ts
  13. 838
      npm/ng-packs/packages/identity/proxy/src/lib/proxy/generate-proxy.json
  14. 1
      npm/ng-packs/packages/identity/proxy/src/lib/proxy/identity/index.ts
  15. 35
      npm/ng-packs/packages/identity/proxy/src/lib/proxy/identity/models.ts

2
npm/ng-packs/nx.json

@ -37,7 +37,7 @@
},
"account": {
"tags": [],
"implicitDependencies": ["core", "theme-shared", "account-core", "identity"]
"implicitDependencies": ["core", "theme-shared", "account-core"]
},
"components": {
"tags": [],

1
npm/ng-packs/packages/account-core/proxy/src/lib/proxy/account/index.ts

@ -1,4 +1,5 @@
import * as Web from './web';
export * from './account.service';
export * from './models';
export * from './profile.service';
export { Web };

25
npm/ng-packs/packages/account-core/proxy/src/lib/proxy/account/models.ts

@ -1,5 +1,21 @@
import type { ExtensibleObject } from '@abp/ng.core';
export interface ChangePasswordInput {
currentPassword?: string;
newPassword: string;
}
export interface ProfileDto extends ExtensibleObject {
userName?: string;
email?: string;
name?: string;
surname?: string;
phoneNumber?: string;
isExternal: boolean;
hasPassword: boolean;
concurrencyStamp?: string;
}
export interface RegisterDto extends ExtensibleObject {
userName: string;
emailAddress: string;
@ -19,3 +35,12 @@ export interface SendPasswordResetCodeDto {
returnUrl?: string;
returnUrlHash?: string;
}
export interface UpdateProfileDto extends ExtensibleObject {
userName?: string;
email?: string;
name?: string;
surname?: string;
phoneNumber?: string;
concurrencyStamp?: string;
}

8
npm/ng-packs/packages/identity/proxy/src/lib/proxy/identity/profile.service.ts → npm/ng-packs/packages/account-core/proxy/src/lib/proxy/account/profile.service.ts

@ -6,12 +6,12 @@ import { Injectable } from '@angular/core';
providedIn: 'root',
})
export class ProfileService {
apiName = 'AbpIdentity';
apiName = 'AbpAccount';
changePassword = (input: ChangePasswordInput) =>
this.restService.request<any, void>({
method: 'POST',
url: '/api/identity/my-profile/change-password',
url: '/api/account/my-profile/change-password',
body: input,
},
{ apiName: this.apiName });
@ -19,14 +19,14 @@ export class ProfileService {
get = () =>
this.restService.request<any, ProfileDto>({
method: 'GET',
url: '/api/identity/my-profile',
url: '/api/account/my-profile',
},
{ apiName: this.apiName });
update = (input: UpdateProfileDto) =>
this.restService.request<any, ProfileDto>({
method: 'PUT',
url: '/api/identity/my-profile',
url: '/api/account/my-profile',
body: input,
},
{ apiName: this.apiName });

2560
npm/ng-packs/packages/account-core/proxy/src/lib/proxy/generate-proxy.json

File diff suppressed because it is too large

1
npm/ng-packs/packages/account-core/proxy/src/lib/proxy/identity/models.ts

@ -9,6 +9,7 @@ export interface IdentityUserDto extends ExtensibleFullAuditedEntityDto<string>
emailConfirmed: boolean;
phoneNumber?: string;
phoneNumberConfirmed: boolean;
isActive: boolean;
lockoutEnabled: boolean;
lockoutEnd?: string;
concurrencyStamp?: string;

2
npm/ng-packs/packages/account/ng-package.json

@ -4,5 +4,5 @@
"lib": {
"entryFile": "src/public-api.ts"
},
"allowedNonPeerDependencies": ["@abp/ng.theme.shared", "@abp/ng.identity", "@abp/ng.account.core"]
"allowedNonPeerDependencies": ["@abp/ng.theme.shared", "@abp/ng.account.core"]
}

1
npm/ng-packs/packages/account/package.json

@ -8,7 +8,6 @@
},
"dependencies": {
"@abp/ng.account.core": "~5.0.0-beta.2",
"@abp/ng.identity": "~5.0.0-beta.2",
"@abp/ng.theme.shared": "~5.0.0-beta.2",
"tslib": "^2.0.0"
},

2
npm/ng-packs/packages/account/src/lib/components/change-password/change-password.component.ts

@ -1,4 +1,4 @@
import { ProfileService } from '@abp/ng.identity/proxy';
import { ProfileService } from '@abp/ng.account.core/proxy';
import { getPasswordValidators, ToasterService } from '@abp/ng.theme.shared';
import { Component, Injector, OnInit } from '@angular/core';
import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';

2
npm/ng-packs/packages/account/src/lib/components/manage-profile/manage-profile.component.ts

@ -1,4 +1,4 @@
import { ProfileService } from '@abp/ng.identity/proxy';
import { ProfileService } from '@abp/ng.account.core/proxy';
import { fadeIn } from '@abp/ng.theme.shared';
import { transition, trigger, useAnimation } from '@angular/animations';
import { Component, OnInit } from '@angular/core';

2
npm/ng-packs/packages/account/src/lib/components/personal-settings/personal-settings.component.ts

@ -1,4 +1,4 @@
import { ProfileService } from '@abp/ng.identity/proxy';
import { ProfileService } from '@abp/ng.account.core/proxy';
import { ToasterService } from '@abp/ng.theme.shared';
import { Component, OnInit } from '@angular/core';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';

2
npm/ng-packs/packages/account/src/lib/services/manage-profile.state.service.ts

@ -1,5 +1,5 @@
import { InternalStore } from '@abp/ng.core';
import { ProfileDto } from '@abp/ng.identity/proxy';
import { ProfileDto } from '@abp/ng.account.core/proxy';
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';

838
npm/ng-packs/packages/identity/proxy/src/lib/proxy/generate-proxy.json

@ -3,158 +3,6 @@
"identity"
],
"modules": {
"featureManagement": {
"rootPath": "featureManagement",
"remoteServiceName": "AbpFeatureManagement",
"controllers": {
"Volo.Abp.FeatureManagement.FeaturesController": {
"controllerName": "Features",
"controllerGroupName": "Features",
"type": "Volo.Abp.FeatureManagement.FeaturesController",
"interfaces": [
{
"type": "Volo.Abp.FeatureManagement.IFeatureAppService"
}
],
"actions": {
"GetAsyncByProviderNameAndProviderKey": {
"uniqueName": "GetAsyncByProviderNameAndProviderKey",
"name": "GetAsync",
"httpMethod": "GET",
"url": "api/feature-management/features",
"supportedVersions": [],
"parametersOnMethod": [
{
"name": "providerName",
"typeAsString": "System.String, System.Private.CoreLib",
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null
},
{
"name": "providerKey",
"typeAsString": "System.String, System.Private.CoreLib",
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null
}
],
"parameters": [
{
"nameOnMethod": "providerName",
"name": "providerName",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null,
"constraintTypes": null,
"bindingSourceId": "ModelBinding",
"descriptorName": ""
},
{
"nameOnMethod": "providerKey",
"name": "providerKey",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null,
"constraintTypes": null,
"bindingSourceId": "ModelBinding",
"descriptorName": ""
}
],
"returnValue": {
"type": "Volo.Abp.FeatureManagement.GetFeatureListResultDto",
"typeSimple": "Volo.Abp.FeatureManagement.GetFeatureListResultDto"
},
"allowAnonymous": null,
"implementFrom": "Volo.Abp.FeatureManagement.IFeatureAppService"
},
"UpdateAsyncByProviderNameAndProviderKeyAndInput": {
"uniqueName": "UpdateAsyncByProviderNameAndProviderKeyAndInput",
"name": "UpdateAsync",
"httpMethod": "PUT",
"url": "api/feature-management/features",
"supportedVersions": [],
"parametersOnMethod": [
{
"name": "providerName",
"typeAsString": "System.String, System.Private.CoreLib",
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null
},
{
"name": "providerKey",
"typeAsString": "System.String, System.Private.CoreLib",
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null
},
{
"name": "input",
"typeAsString": "Volo.Abp.FeatureManagement.UpdateFeaturesDto, Volo.Abp.FeatureManagement.Application.Contracts",
"type": "Volo.Abp.FeatureManagement.UpdateFeaturesDto",
"typeSimple": "Volo.Abp.FeatureManagement.UpdateFeaturesDto",
"isOptional": false,
"defaultValue": null
}
],
"parameters": [
{
"nameOnMethod": "providerName",
"name": "providerName",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null,
"constraintTypes": null,
"bindingSourceId": "ModelBinding",
"descriptorName": ""
},
{
"nameOnMethod": "providerKey",
"name": "providerKey",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null,
"constraintTypes": null,
"bindingSourceId": "ModelBinding",
"descriptorName": ""
},
{
"nameOnMethod": "input",
"name": "input",
"jsonName": null,
"type": "Volo.Abp.FeatureManagement.UpdateFeaturesDto",
"typeSimple": "Volo.Abp.FeatureManagement.UpdateFeaturesDto",
"isOptional": false,
"defaultValue": null,
"constraintTypes": null,
"bindingSourceId": "Body",
"descriptorName": ""
}
],
"returnValue": {
"type": "System.Void",
"typeSimple": "System.Void"
},
"allowAnonymous": null,
"implementFrom": "Volo.Abp.FeatureManagement.IFeatureAppService"
}
}
}
}
},
"identity": {
"rootPath": "identity",
"remoteServiceName": "AbpIdentity",
@ -1058,107 +906,6 @@
"implementFrom": "Volo.Abp.Identity.IIdentityUserLookupAppService"
}
}
},
"Volo.Abp.Identity.ProfileController": {
"controllerName": "Profile",
"controllerGroupName": "Profile",
"type": "Volo.Abp.Identity.ProfileController",
"interfaces": [
{
"type": "Volo.Abp.Identity.IProfileAppService"
}
],
"actions": {
"GetAsync": {
"uniqueName": "GetAsync",
"name": "GetAsync",
"httpMethod": "GET",
"url": "api/identity/my-profile",
"supportedVersions": [],
"parametersOnMethod": [],
"parameters": [],
"returnValue": {
"type": "Volo.Abp.Identity.ProfileDto",
"typeSimple": "Volo.Abp.Identity.ProfileDto"
},
"allowAnonymous": null,
"implementFrom": "Volo.Abp.Identity.IProfileAppService"
},
"UpdateAsyncByInput": {
"uniqueName": "UpdateAsyncByInput",
"name": "UpdateAsync",
"httpMethod": "PUT",
"url": "api/identity/my-profile",
"supportedVersions": [],
"parametersOnMethod": [
{
"name": "input",
"typeAsString": "Volo.Abp.Identity.UpdateProfileDto, Volo.Abp.Identity.Application.Contracts",
"type": "Volo.Abp.Identity.UpdateProfileDto",
"typeSimple": "Volo.Abp.Identity.UpdateProfileDto",
"isOptional": false,
"defaultValue": null
}
],
"parameters": [
{
"nameOnMethod": "input",
"name": "input",
"jsonName": null,
"type": "Volo.Abp.Identity.UpdateProfileDto",
"typeSimple": "Volo.Abp.Identity.UpdateProfileDto",
"isOptional": false,
"defaultValue": null,
"constraintTypes": null,
"bindingSourceId": "Body",
"descriptorName": ""
}
],
"returnValue": {
"type": "Volo.Abp.Identity.ProfileDto",
"typeSimple": "Volo.Abp.Identity.ProfileDto"
},
"allowAnonymous": null,
"implementFrom": "Volo.Abp.Identity.IProfileAppService"
},
"ChangePasswordAsyncByInput": {
"uniqueName": "ChangePasswordAsyncByInput",
"name": "ChangePasswordAsync",
"httpMethod": "POST",
"url": "api/identity/my-profile/change-password",
"supportedVersions": [],
"parametersOnMethod": [
{
"name": "input",
"typeAsString": "Volo.Abp.Identity.ChangePasswordInput, Volo.Abp.Identity.Application.Contracts",
"type": "Volo.Abp.Identity.ChangePasswordInput",
"typeSimple": "Volo.Abp.Identity.ChangePasswordInput",
"isOptional": false,
"defaultValue": null
}
],
"parameters": [
{
"nameOnMethod": "input",
"name": "input",
"jsonName": null,
"type": "Volo.Abp.Identity.ChangePasswordInput",
"typeSimple": "Volo.Abp.Identity.ChangePasswordInput",
"isOptional": false,
"defaultValue": null,
"constraintTypes": null,
"bindingSourceId": "Body",
"descriptorName": ""
}
],
"returnValue": {
"type": "System.Void",
"typeSimple": "System.Void"
},
"allowAnonymous": null,
"implementFrom": "Volo.Abp.Identity.IProfileAppService"
}
}
}
}
},
@ -1385,35 +1132,136 @@
"implementFrom": "Volo.Abp.Account.Web.Areas.Account.Controllers.AccountController"
}
}
}
}
},
"multi-tenancy": {
"rootPath": "multi-tenancy",
"remoteServiceName": "AbpTenantManagement",
"controllers": {
"Volo.Abp.TenantManagement.TenantController": {
"controllerName": "Tenant",
"controllerGroupName": "Tenant",
"type": "Volo.Abp.TenantManagement.TenantController",
},
"Volo.Abp.Account.ProfileController": {
"controllerName": "Profile",
"controllerGroupName": "Profile",
"type": "Volo.Abp.Account.ProfileController",
"interfaces": [
{
"type": "Volo.Abp.TenantManagement.ITenantAppService"
"type": "Volo.Abp.Account.IProfileAppService"
}
],
"actions": {
"GetAsyncById": {
"uniqueName": "GetAsyncById",
"GetAsync": {
"uniqueName": "GetAsync",
"name": "GetAsync",
"httpMethod": "GET",
"url": "api/multi-tenancy/tenants/{id}",
"url": "api/account/my-profile",
"supportedVersions": [],
"parametersOnMethod": [
{
"name": "id",
"typeAsString": "System.Guid, System.Private.CoreLib",
"type": "System.Guid",
"typeSimple": "string",
"parametersOnMethod": [],
"parameters": [],
"returnValue": {
"type": "Volo.Abp.Account.ProfileDto",
"typeSimple": "Volo.Abp.Account.ProfileDto"
},
"allowAnonymous": null,
"implementFrom": "Volo.Abp.Account.IProfileAppService"
},
"UpdateAsyncByInput": {
"uniqueName": "UpdateAsyncByInput",
"name": "UpdateAsync",
"httpMethod": "PUT",
"url": "api/account/my-profile",
"supportedVersions": [],
"parametersOnMethod": [
{
"name": "input",
"typeAsString": "Volo.Abp.Account.UpdateProfileDto, Volo.Abp.Account.Application.Contracts",
"type": "Volo.Abp.Account.UpdateProfileDto",
"typeSimple": "Volo.Abp.Account.UpdateProfileDto",
"isOptional": false,
"defaultValue": null
}
],
"parameters": [
{
"nameOnMethod": "input",
"name": "input",
"jsonName": null,
"type": "Volo.Abp.Account.UpdateProfileDto",
"typeSimple": "Volo.Abp.Account.UpdateProfileDto",
"isOptional": false,
"defaultValue": null,
"constraintTypes": null,
"bindingSourceId": "Body",
"descriptorName": ""
}
],
"returnValue": {
"type": "Volo.Abp.Account.ProfileDto",
"typeSimple": "Volo.Abp.Account.ProfileDto"
},
"allowAnonymous": null,
"implementFrom": "Volo.Abp.Account.IProfileAppService"
},
"ChangePasswordAsyncByInput": {
"uniqueName": "ChangePasswordAsyncByInput",
"name": "ChangePasswordAsync",
"httpMethod": "POST",
"url": "api/account/my-profile/change-password",
"supportedVersions": [],
"parametersOnMethod": [
{
"name": "input",
"typeAsString": "Volo.Abp.Account.ChangePasswordInput, Volo.Abp.Account.Application.Contracts",
"type": "Volo.Abp.Account.ChangePasswordInput",
"typeSimple": "Volo.Abp.Account.ChangePasswordInput",
"isOptional": false,
"defaultValue": null
}
],
"parameters": [
{
"nameOnMethod": "input",
"name": "input",
"jsonName": null,
"type": "Volo.Abp.Account.ChangePasswordInput",
"typeSimple": "Volo.Abp.Account.ChangePasswordInput",
"isOptional": false,
"defaultValue": null,
"constraintTypes": null,
"bindingSourceId": "Body",
"descriptorName": ""
}
],
"returnValue": {
"type": "System.Void",
"typeSimple": "System.Void"
},
"allowAnonymous": null,
"implementFrom": "Volo.Abp.Account.IProfileAppService"
}
}
}
}
},
"multi-tenancy": {
"rootPath": "multi-tenancy",
"remoteServiceName": "AbpTenantManagement",
"controllers": {
"Volo.Abp.TenantManagement.TenantController": {
"controllerName": "Tenant",
"controllerGroupName": "Tenant",
"type": "Volo.Abp.TenantManagement.TenantController",
"interfaces": [
{
"type": "Volo.Abp.TenantManagement.ITenantAppService"
}
],
"actions": {
"GetAsyncById": {
"uniqueName": "GetAsyncById",
"name": "GetAsync",
"httpMethod": "GET",
"url": "api/multi-tenancy/tenants/{id}",
"supportedVersions": [],
"parametersOnMethod": [
{
"name": "id",
"typeAsString": "System.Guid, System.Private.CoreLib",
"type": "System.Guid",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null
}
@ -2163,6 +2011,158 @@
}
}
}
},
"featureManagement": {
"rootPath": "featureManagement",
"remoteServiceName": "AbpFeatureManagement",
"controllers": {
"Volo.Abp.FeatureManagement.FeaturesController": {
"controllerName": "Features",
"controllerGroupName": "Features",
"type": "Volo.Abp.FeatureManagement.FeaturesController",
"interfaces": [
{
"type": "Volo.Abp.FeatureManagement.IFeatureAppService"
}
],
"actions": {
"GetAsyncByProviderNameAndProviderKey": {
"uniqueName": "GetAsyncByProviderNameAndProviderKey",
"name": "GetAsync",
"httpMethod": "GET",
"url": "api/feature-management/features",
"supportedVersions": [],
"parametersOnMethod": [
{
"name": "providerName",
"typeAsString": "System.String, System.Private.CoreLib",
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null
},
{
"name": "providerKey",
"typeAsString": "System.String, System.Private.CoreLib",
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null
}
],
"parameters": [
{
"nameOnMethod": "providerName",
"name": "providerName",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null,
"constraintTypes": null,
"bindingSourceId": "ModelBinding",
"descriptorName": ""
},
{
"nameOnMethod": "providerKey",
"name": "providerKey",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null,
"constraintTypes": null,
"bindingSourceId": "ModelBinding",
"descriptorName": ""
}
],
"returnValue": {
"type": "Volo.Abp.FeatureManagement.GetFeatureListResultDto",
"typeSimple": "Volo.Abp.FeatureManagement.GetFeatureListResultDto"
},
"allowAnonymous": null,
"implementFrom": "Volo.Abp.FeatureManagement.IFeatureAppService"
},
"UpdateAsyncByProviderNameAndProviderKeyAndInput": {
"uniqueName": "UpdateAsyncByProviderNameAndProviderKeyAndInput",
"name": "UpdateAsync",
"httpMethod": "PUT",
"url": "api/feature-management/features",
"supportedVersions": [],
"parametersOnMethod": [
{
"name": "providerName",
"typeAsString": "System.String, System.Private.CoreLib",
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null
},
{
"name": "providerKey",
"typeAsString": "System.String, System.Private.CoreLib",
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null
},
{
"name": "input",
"typeAsString": "Volo.Abp.FeatureManagement.UpdateFeaturesDto, Volo.Abp.FeatureManagement.Application.Contracts",
"type": "Volo.Abp.FeatureManagement.UpdateFeaturesDto",
"typeSimple": "Volo.Abp.FeatureManagement.UpdateFeaturesDto",
"isOptional": false,
"defaultValue": null
}
],
"parameters": [
{
"nameOnMethod": "providerName",
"name": "providerName",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null,
"constraintTypes": null,
"bindingSourceId": "ModelBinding",
"descriptorName": ""
},
{
"nameOnMethod": "providerKey",
"name": "providerKey",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isOptional": false,
"defaultValue": null,
"constraintTypes": null,
"bindingSourceId": "ModelBinding",
"descriptorName": ""
},
{
"nameOnMethod": "input",
"name": "input",
"jsonName": null,
"type": "Volo.Abp.FeatureManagement.UpdateFeaturesDto",
"typeSimple": "Volo.Abp.FeatureManagement.UpdateFeaturesDto",
"isOptional": false,
"defaultValue": null,
"constraintTypes": null,
"bindingSourceId": "Body",
"descriptorName": ""
}
],
"returnValue": {
"type": "System.Void",
"typeSimple": "System.Void"
},
"allowAnonymous": null,
"implementFrom": "Volo.Abp.FeatureManagement.IFeatureAppService"
}
}
}
}
}
},
"types": {
@ -2552,22 +2552,161 @@
"genericArguments": null,
"properties": null
},
"Volo.Abp.AspNetCore.Mvc.MultiTenancy.FindTenantResultDto": {
"baseType": null,
"Volo.Abp.Account.ProfileDto": {
"baseType": "Volo.Abp.ObjectExtending.ExtensibleObject",
"isEnum": false,
"enumNames": null,
"enumValues": null,
"genericArguments": null,
"properties": [
{
"name": "Success",
"name": "UserName",
"jsonName": null,
"type": "System.Boolean",
"typeSimple": "boolean",
"type": "System.String",
"typeSimple": "string",
"isRequired": false
},
{
"name": "TenantId",
"name": "Email",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
},
{
"name": "Name",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
},
{
"name": "Surname",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
},
{
"name": "PhoneNumber",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
},
{
"name": "IsExternal",
"jsonName": null,
"type": "System.Boolean",
"typeSimple": "boolean",
"isRequired": false
},
{
"name": "HasPassword",
"jsonName": null,
"type": "System.Boolean",
"typeSimple": "boolean",
"isRequired": false
},
{
"name": "ConcurrencyStamp",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
}
]
},
"Volo.Abp.Account.UpdateProfileDto": {
"baseType": "Volo.Abp.ObjectExtending.ExtensibleObject",
"isEnum": false,
"enumNames": null,
"enumValues": null,
"genericArguments": null,
"properties": [
{
"name": "UserName",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
},
{
"name": "Email",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
},
{
"name": "Name",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
},
{
"name": "Surname",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
},
{
"name": "PhoneNumber",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
},
{
"name": "ConcurrencyStamp",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
}
]
},
"Volo.Abp.Account.ChangePasswordInput": {
"baseType": null,
"isEnum": false,
"enumNames": null,
"enumValues": null,
"genericArguments": null,
"properties": [
{
"name": "CurrentPassword",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
},
{
"name": "NewPassword",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": true
}
]
},
"Volo.Abp.AspNetCore.Mvc.MultiTenancy.FindTenantResultDto": {
"baseType": null,
"isEnum": false,
"enumNames": null,
"enumValues": null,
"genericArguments": null,
"properties": [
{
"name": "Success",
"jsonName": null,
"type": "System.Boolean",
"typeSimple": "boolean",
"isRequired": false
},
{
"name": "TenantId",
"jsonName": null,
"type": "System.Guid?",
"typeSimple": "string?",
@ -3041,145 +3180,6 @@
}
]
},
"Volo.Abp.Identity.ProfileDto": {
"baseType": "Volo.Abp.ObjectExtending.ExtensibleObject",
"isEnum": false,
"enumNames": null,
"enumValues": null,
"genericArguments": null,
"properties": [
{
"name": "UserName",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
},
{
"name": "Email",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
},
{
"name": "Name",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
},
{
"name": "Surname",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
},
{
"name": "PhoneNumber",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
},
{
"name": "IsExternal",
"jsonName": null,
"type": "System.Boolean",
"typeSimple": "boolean",
"isRequired": false
},
{
"name": "HasPassword",
"jsonName": null,
"type": "System.Boolean",
"typeSimple": "boolean",
"isRequired": false
},
{
"name": "ConcurrencyStamp",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
}
]
},
"Volo.Abp.Identity.UpdateProfileDto": {
"baseType": "Volo.Abp.ObjectExtending.ExtensibleObject",
"isEnum": false,
"enumNames": null,
"enumValues": null,
"genericArguments": null,
"properties": [
{
"name": "UserName",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
},
{
"name": "Email",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
},
{
"name": "Name",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
},
{
"name": "Surname",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
},
{
"name": "PhoneNumber",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
},
{
"name": "ConcurrencyStamp",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
}
]
},
"Volo.Abp.Identity.ChangePasswordInput": {
"baseType": null,
"isEnum": false,
"enumNames": null,
"enumValues": null,
"genericArguments": null,
"properties": [
{
"name": "CurrentPassword",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": false
},
{
"name": "NewPassword",
"jsonName": null,
"type": "System.String",
"typeSimple": "string",
"isRequired": true
}
]
},
"Volo.Abp.PermissionManagement.GetPermissionListResultDto": {
"baseType": null,
"isEnum": false,

1
npm/ng-packs/packages/identity/proxy/src/lib/proxy/identity/index.ts

@ -2,4 +2,3 @@ export * from './identity-role.service';
export * from './identity-user-lookup.service';
export * from './identity-user.service';
export * from './models';
export * from './profile.service';

35
npm/ng-packs/packages/identity/proxy/src/lib/proxy/identity/models.ts

@ -1,9 +1,9 @@
import type { ExtensibleEntityDto, ExtensibleFullAuditedEntityDto, ExtensibleObject, PagedAndSortedResultRequestDto } from '@abp/ng.core';
export interface ChangePasswordInput {
currentPassword?: string;
newPassword: string;
}
import type {
ExtensibleEntityDto,
ExtensibleFullAuditedEntityDto,
ExtensibleObject,
PagedAndSortedResultRequestDto,
} from '@abp/ng.core';
export interface GetIdentityRolesInput extends PagedAndSortedResultRequestDto {
filter?: string;
@ -13,8 +13,7 @@ export interface GetIdentityUsersInput extends PagedAndSortedResultRequestDto {
filter?: string;
}
export interface IdentityRoleCreateDto extends IdentityRoleCreateOrUpdateDtoBase {
}
export interface IdentityRoleCreateDto extends IdentityRoleCreateOrUpdateDtoBase {}
export interface IdentityRoleCreateOrUpdateDtoBase extends ExtensibleObject {
name: string;
@ -73,26 +72,6 @@ export interface IdentityUserUpdateRolesDto {
roleNames: string[];
}
export interface ProfileDto extends ExtensibleObject {
userName?: string;
email?: string;
name?: string;
surname?: string;
phoneNumber?: string;
isExternal: boolean;
hasPassword: boolean;
concurrencyStamp?: string;
}
export interface UpdateProfileDto extends ExtensibleObject {
userName?: string;
email?: string;
name?: string;
surname?: string;
phoneNumber?: string;
concurrencyStamp?: string;
}
export interface UserLookupCountInputDto {
filter?: string;
}

Loading…
Cancel
Save