Skip to content

Commit

Permalink
fix: remove Flex shortcuts for removed APIs (#902)
Browse files Browse the repository at this point in the history
  • Loading branch information
childish-sambino committed Jan 25, 2023
1 parent 21ad190 commit 3e712b0
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions lib/rest/FlexApi.ts
Expand Up @@ -4,8 +4,6 @@ import { FlexFlowListInstance } from "./flexApi/v1/flexFlow";
import { InteractionListInstance } from "./flexApi/v1/interaction";
import { WebChannelListInstance } from "./flexApi/v1/webChannel";
import { AssessmentsListInstance } from "./flexApi/v1/assessments";
import { GoodDataListInstance } from "./flexApi/v1/goodData";
import { UserRolesListInstance } from "./flexApi/v1/userRoles";
import { WebChannelsListInstance } from "./flexApi/v2/webChannels";

import FlexApiBase from "./FlexApiBase";
Expand Down Expand Up @@ -43,14 +41,6 @@ class FlexApi extends FlexApiBase {
return this.v1.flexFlow;
}

/**
* @deprecated - Use v1.goodData instead
*/
get goodData(): GoodDataListInstance {
console.warn("goodData is deprecated. Use v1.goodData instead.");
return this.v1.goodData;
}

/**
* @deprecated - Use v1.interaction instead
*/
Expand All @@ -59,14 +49,6 @@ class FlexApi extends FlexApiBase {
return this.v1.interaction;
}

/**
* @deprecated - Use v1.userRoles instead
*/
get userRoles(): UserRolesListInstance {
console.warn("userRoles is deprecated. Use v1.userRoles instead.");
return this.v1.userRoles;
}

/**
* @deprecated - Use v1.webChannel instead
*/
Expand Down

0 comments on commit 3e712b0

Please sign in to comment.