1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

add support for org identifier to api models (#149)

This commit is contained in:
Kyle Spearrin
2020-08-12 16:38:32 -04:00
committed by GitHub
parent 5c62938dbb
commit ed6978baff
2 changed files with 3 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
export class OrganizationUpdateRequest {
name: string;
identifier: string;
businessName: string;
billingEmail: string;
}

View File

@@ -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');