@enplug/sdk-dashboard
Advanced tools
Comparing version 5.0.3 to 5.0.4-twitter.1
@@ -1058,2 +1058,3 @@ var enplug = | ||
MessageNames["GetInstagramAccounts"] = "social.getInstagramAccounts"; | ||
MessageNames["TwitterSubscriptionStatus"] = "social.twitterSubscriptionStatus"; | ||
MessageNames["LookupTwitterId"] = "social.lookupTwitterId"; | ||
@@ -1142,2 +1143,8 @@ MessageNames["GetSlackTeams"] = "social.getSlackTeams"; | ||
}; | ||
Social.prototype.twitterSubscriptionStatus = function () { | ||
return this.bridge.sendMessage({ | ||
namespace: internal_types_1.MessageNamespaces.Social, | ||
name: internal_types_1.MessageNames.TwitterSubscriptionStatus, | ||
}); | ||
}; | ||
Social.prototype.getSlackTeams = function () { | ||
@@ -1144,0 +1151,0 @@ return this.bridge.sendMessage({ |
@@ -0,0 +0,0 @@ import { EnplugDashboardSDK } from './src'; |
{ | ||
"name": "@enplug/sdk-dashboard", | ||
"version": "5.0.3", | ||
"version": "5.0.4-twitter.1", | ||
"description": "Enplug Dashboard SDK", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.ts", |
@@ -0,0 +0,0 @@ import { |
@@ -0,0 +0,0 @@ import { InboundMessage, OutboundMessage, PendingCallInfo } from '../internal-types'; |
@@ -0,0 +0,0 @@ import { BridgeBase } from './bridge-base'; |
@@ -0,0 +0,0 @@ import { |
@@ -317,2 +317,9 @@ /** These are meant to avaialable to client apps */ | ||
export interface TwitterSubscriptionStatusResponse { | ||
UsedFollows: string[]; | ||
UsedTracks: string[]; | ||
AllowedFollows: 0; | ||
AllowedTracks: 0; | ||
} | ||
export interface SocialItemMedia { | ||
@@ -319,0 +326,0 @@ Source: string; |
@@ -0,0 +0,0 @@ import { Account } from './account'; |
@@ -139,2 +139,3 @@ /** | ||
GetInstagramAccounts = 'social.getInstagramAccounts', | ||
TwitterSubscriptionStatus = 'social.twitterSubscriptionStatus', | ||
LookupTwitterId = 'social.lookupTwitterId', | ||
@@ -141,0 +142,0 @@ GetSlackTeams = 'social.getSlackTeams', |
import { BridgeBase } from './bridge/bridge-base'; | ||
import { MessageNames, MessageNamespaces } from './internal-types'; | ||
import { PreapprovalDialogOptions, SocialItemsResponse } from './external-types'; | ||
import { PreapprovalDialogOptions, SocialItemsResponse, TwitterSubscriptionStatusResponse } from './external-types'; | ||
import { validateObject, validateString } from './utils'; | ||
@@ -65,2 +65,9 @@ | ||
twitterSubscriptionStatus(): Promise<TwitterSubscriptionStatusResponse> { | ||
return this.bridge.sendMessage({ | ||
namespace: MessageNamespaces.Social, | ||
name: MessageNames.TwitterSubscriptionStatus, | ||
}); | ||
} | ||
getSlackTeams(): Promise<any> { | ||
@@ -67,0 +74,0 @@ return this.bridge.sendMessage({ |
@@ -0,0 +0,0 @@ const TAG = '[Dashboard SDK]'; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
2907
185951
2