Skip to content

Commit 3e712b0

Browse files
author
childish-sambino
authoredJan 25, 2023
fix: remove Flex shortcuts for removed APIs (#902)
1 parent 21ad190 commit 3e712b0

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed
 

‎lib/rest/FlexApi.ts

-18
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import { FlexFlowListInstance } from "./flexApi/v1/flexFlow";
44
import { InteractionListInstance } from "./flexApi/v1/interaction";
55
import { WebChannelListInstance } from "./flexApi/v1/webChannel";
66
import { AssessmentsListInstance } from "./flexApi/v1/assessments";
7-
import { GoodDataListInstance } from "./flexApi/v1/goodData";
8-
import { UserRolesListInstance } from "./flexApi/v1/userRoles";
97
import { WebChannelsListInstance } from "./flexApi/v2/webChannels";
108

119
import FlexApiBase from "./FlexApiBase";
@@ -43,14 +41,6 @@ class FlexApi extends FlexApiBase {
4341
return this.v1.flexFlow;
4442
}
4543

46-
/**
47-
* @deprecated - Use v1.goodData instead
48-
*/
49-
get goodData(): GoodDataListInstance {
50-
console.warn("goodData is deprecated. Use v1.goodData instead.");
51-
return this.v1.goodData;
52-
}
53-
5444
/**
5545
* @deprecated - Use v1.interaction instead
5646
*/
@@ -59,14 +49,6 @@ class FlexApi extends FlexApiBase {
5949
return this.v1.interaction;
6050
}
6151

62-
/**
63-
* @deprecated - Use v1.userRoles instead
64-
*/
65-
get userRoles(): UserRolesListInstance {
66-
console.warn("userRoles is deprecated. Use v1.userRoles instead.");
67-
return this.v1.userRoles;
68-
}
69-
7052
/**
7153
* @deprecated - Use v1.webChannel instead
7254
*/

0 commit comments

Comments
 (0)
Please sign in to comment.