-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PM-13346] Email notification impacts (#11967)
* Changes error notification for disabled offer * Add the feature to the change * Add the missing dot * Remove the authenicated endpoint * Add the changes for error toast * Resolve the lint issue * rename file a correctly * Remove the floating promise comments * Delete unwanted comments
- Loading branch information
1 parent
450d337
commit 4c194e6
Showing
7 changed files
with
65 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
libs/common/src/admin-console/models/response/organization-sponsorship.response.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { BaseResponse } from "../../../models/response/base.response"; | ||
|
||
export class OrganizationSponsorshipResponse extends BaseResponse { | ||
isPolicyEnabled: string; | ||
|
||
constructor(response: any) { | ||
super(response); | ||
this.isPolicyEnabled = this.getResponseProperty("IsPolicyEnabled"); | ||
Check warning on line 8 in libs/common/src/admin-console/models/response/organization-sponsorship.response.ts Codecov / codecov/patchlibs/common/src/admin-console/models/response/organization-sponsorship.response.ts#L7-L8
|
||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
libs/common/src/admin-console/models/response/pre-validate-sponsorship.response.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { BaseResponse } from "../../../models/response/base.response"; | ||
|
||
export class PreValidateSponsorshipResponse extends BaseResponse { | ||
isTokenValid: boolean; | ||
isFreeFamilyPolicyEnabled: boolean; | ||
|
||
constructor(response: any) { | ||
super(response); | ||
this.isTokenValid = this.getResponseProperty("IsTokenValid"); | ||
this.isFreeFamilyPolicyEnabled = this.getResponseProperty("IsFreeFamilyPolicyEnabled"); | ||
Check warning on line 10 in libs/common/src/admin-console/models/response/pre-validate-sponsorship.response.ts Codecov / codecov/patchlibs/common/src/admin-console/models/response/pre-validate-sponsorship.response.ts#L8-L10
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters