mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-12 00:41:29 +01:00
add support for org identifier to api models (#149)
This commit is contained in:
parent
5c62938dbb
commit
ed6978baff
@ -1,5 +1,6 @@
|
||||
export class OrganizationUpdateRequest {
|
||||
name: string;
|
||||
identifier: string;
|
||||
businessName: string;
|
||||
billingEmail: string;
|
||||
}
|
||||
|
@ -5,6 +5,7 @@ import { PlanType } from '../../enums/planType';
|
||||
|
||||
export class OrganizationResponse extends BaseResponse {
|
||||
id: string;
|
||||
identifier: string;
|
||||
name: string;
|
||||
businessName: string;
|
||||
businessAddress1: string;
|
||||
@ -28,6 +29,7 @@ export class OrganizationResponse extends BaseResponse {
|
||||
constructor(response: any) {
|
||||
super(response);
|
||||
this.id = this.getResponseProperty('Id');
|
||||
this.identifier = this.getResponseProperty('Identifier');
|
||||
this.name = this.getResponseProperty('Name');
|
||||
this.businessName = this.getResponseProperty('BusinessName');
|
||||
this.businessAddress1 = this.getResponseProperty('BusinessAddress1');
|
||||
|
Loading…
Reference in New Issue
Block a user