Skip to content

Commit 0831b55

Browse files
committed
feat: Added new restrictionTier attribute to installedapps
1 parent 5e29084 commit 0831b55

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

src/endpoint/installedapps.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ export interface InstalledApp {
189189
* installed once within a user's account.
190190
*/
191191
singleInstance: boolean
192+
restrictionTier?: number
192193
}
193194

194195
export interface ConfigurationRequest {

test/unit/data/installedapps/get_installedapps.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ const response = {
3939
],
4040
'principalType': 'LOCATION',
4141
'singleInstance': false,
42+
'restrictionTier': 0,
4243
},
4344
{
4445
'installedAppId': '24eac88d-ee09-42f8-b4ac-72f2e91b8ac4',
@@ -69,6 +70,7 @@ const response = {
6970
],
7071
'principalType': 'LOCATION',
7172
'singleInstance': false,
73+
'restrictionTier': 20,
7274
},
7375
],
7476
'_links': {

test/unit/data/installedapps/get_installedapps_40593b6d-e062-436a-b17e-86ea3f1d979c.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const response = {
3838
],
3939
'principalType': 'LOCATION',
4040
'singleInstance': false,
41+
'restrictionTier': 10,
4142
},
4243
],
4344
'_links': {

0 commit comments

Comments
 (0)