@enplug/sdk-dashboard
Advanced tools
Comparing version 5.1.16-account.2 to 5.1.16
@@ -0,0 +0,0 @@ import { EnplugDashboardSDK } from './src'; |
{ | ||
"name": "@enplug/sdk-dashboard", | ||
"version": "5.1.16-account.2", | ||
"version": "5.1.16", | ||
"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 { |
@@ -287,3 +287,3 @@ /** These are meant to avaialable to client apps */ | ||
export interface EncodingStatusResult { | ||
State: 'Error' | 'Uploaded' | 'Encoded' | 'Ready'; | ||
State: 'Error' | 'Uploading' | 'Uploaded' | 'Processing' | 'Encoded' | 'Ready'; | ||
ProgressPct: number; | ||
@@ -290,0 +290,0 @@ Filename: string; |
@@ -0,0 +0,0 @@ import { Account } from './account'; |
@@ -0,0 +0,0 @@ /** |
@@ -17,5 +17,4 @@ import { BridgeBase } from './bridge/bridge-base'; | ||
authInstagram(accessToken: string, accountId: string): Promise<any> { | ||
authInstagram(accessToken: string): Promise<any> { | ||
validateString(accessToken, 'No authCode provided.'); | ||
validateString(accountId, 'No accountId provided.'); | ||
@@ -27,3 +26,2 @@ return this.bridge.sendMessage({ | ||
accessToken, | ||
accountId, | ||
}, | ||
@@ -33,6 +31,5 @@ }); | ||
authSlack(verificationCode: string, redirectUrl: string, accountId: string): Promise<any> { | ||
authSlack(verificationCode: string, redirectUrl: string): Promise<any> { | ||
validateString(verificationCode, 'No Slack auth token provided'); | ||
validateString(redirectUrl, 'No redirect url provided'); | ||
validateString(accountId, 'No accountId provided'); | ||
@@ -45,3 +42,2 @@ return this.bridge.sendMessage({ | ||
redirectUrl, | ||
accountId, | ||
}, | ||
@@ -51,5 +47,4 @@ }); | ||
getInstagramAccounts(userId: string, accountId: string): Promise<any> { | ||
getInstagramAccounts(userId: string): Promise<any> { | ||
validateString(userId, 'No Facebook User Id provided'); | ||
validateString(accountId, 'No AccountId Id provided'); | ||
@@ -61,3 +56,2 @@ return this.bridge.sendMessage({ | ||
userId, | ||
accountId, | ||
}, | ||
@@ -84,17 +78,11 @@ }); | ||
getSlackTeams(accountId: string): Promise<any> { | ||
validateString(accountId, 'No accountId provided'); | ||
getSlackTeams(): Promise<any> { | ||
return this.bridge.sendMessage({ | ||
namespace: MessageNamespaces.Social, | ||
name: MessageNames.GetSlackTeams, | ||
params: { | ||
accountId, | ||
}, | ||
}); | ||
} | ||
getSlackChannels(teamId: string, accountId: string): Promise<any> { | ||
getSlackChannels(teamId: string): Promise<any> { | ||
validateString(teamId, 'No teamId provided'); | ||
validateString(accountId, 'No accountId provided'); | ||
@@ -104,6 +92,3 @@ return this.bridge.sendMessage({ | ||
name: MessageNames.GetSlackChannels, | ||
params: { | ||
teamId, | ||
accountId, | ||
}, | ||
params: teamId, | ||
}); | ||
@@ -110,0 +95,0 @@ } |
@@ -0,0 +0,0 @@ const TAG = '[Dashboard SDK]'; |
Sorry, the diff of this file is too big to display
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
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
207105
1
3206