@enplug/sdk-dashboard 5.4.0 → 5.4.2-2.1-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +83 -0
- package/dist/dashboard.js +1857 -1464
- package/dist/dashboard.js.map +1 -1
- package/index.d.ts +6 -6
- package/package.json +96 -89
- package/types/account.d.ts +303 -159
- package/types/bridge/bridge-base.d.ts +21 -21
- package/types/dashboard.d.ts +375 -196
- package/types/external-types.d.ts +660 -526
- package/types/index.ts +2 -2
- package/types/internal-types.d.ts +167 -161
- package/types/sdk.d.ts +8 -8
- package/types/social.d.ts +52 -39
- package/types/utils.d.ts +5 -5
package/types/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './external-types';
|
|
2
|
-
export * from './sdk';
|
|
1
|
+
export * from './external-types';
|
|
2
|
+
export * from './sdk';
|
|
@@ -1,161 +1,167 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Internal types, not to be re-exported.
|
|
3
|
-
*/
|
|
4
|
-
export interface InboundMessage {
|
|
5
|
-
/**
|
|
6
|
-
* Namespace of the event.
|
|
7
|
-
*/
|
|
8
|
-
namespace: string;
|
|
9
|
-
/**
|
|
10
|
-
* Whether the request was a successful one.
|
|
11
|
-
*/
|
|
12
|
-
success: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* An id of the call.
|
|
15
|
-
*/
|
|
16
|
-
callId: number;
|
|
17
|
-
/**
|
|
18
|
-
* Data returned by the dashboard. Type depends on the call type.
|
|
19
|
-
*/
|
|
20
|
-
data?: string;
|
|
21
|
-
}
|
|
22
|
-
export interface OutboundMessage {
|
|
23
|
-
/**
|
|
24
|
-
* An id of the call. Gets incremented with every sent message.
|
|
25
|
-
* Used internally to match responses to their respective calls.
|
|
26
|
-
*/
|
|
27
|
-
callId?: number;
|
|
28
|
-
/**
|
|
29
|
-
* The namespace that the event belongs to.
|
|
30
|
-
*/
|
|
31
|
-
namespace: string;
|
|
32
|
-
/**
|
|
33
|
-
* Name of the event.
|
|
34
|
-
*/
|
|
35
|
-
name: string;
|
|
36
|
-
/**
|
|
37
|
-
* Id of an app that the request concerns.
|
|
38
|
-
*/
|
|
39
|
-
appId?: string;
|
|
40
|
-
/**
|
|
41
|
-
* Parameters of the call. Abitrary, depend on a call.
|
|
42
|
-
*/
|
|
43
|
-
params?: any;
|
|
44
|
-
/**
|
|
45
|
-
* For the calls that expect multiple responses.
|
|
46
|
-
*/
|
|
47
|
-
persistent?: boolean;
|
|
48
|
-
/**
|
|
49
|
-
* A callback that persistent messages will call every time their response comes.
|
|
50
|
-
*/
|
|
51
|
-
callback?: (...args: any[]) => void;
|
|
52
|
-
/**
|
|
53
|
-
* For the calls that expect no responses.
|
|
54
|
-
*/
|
|
55
|
-
transient?: boolean;
|
|
56
|
-
}
|
|
57
|
-
export interface PendingCallInfo {
|
|
58
|
-
/**
|
|
59
|
-
* A method to resolve call's promise.
|
|
60
|
-
*/
|
|
61
|
-
resolve: (...args: any[]) => any;
|
|
62
|
-
/**
|
|
63
|
-
* A method to reject call's promise.
|
|
64
|
-
*/
|
|
65
|
-
reject: (...args: any[]) => any;
|
|
66
|
-
/**
|
|
67
|
-
* A flag indicating whether the SDK should stop listening for more responses after the first arrives.
|
|
68
|
-
*/
|
|
69
|
-
persistent: boolean;
|
|
70
|
-
}
|
|
71
|
-
export declare enum MessageNamespaces {
|
|
72
|
-
App = "app",
|
|
73
|
-
Social = "social",
|
|
74
|
-
Dashboard = "dashboard"
|
|
75
|
-
}
|
|
76
|
-
export declare enum MessageNames {
|
|
77
|
-
GetAccount = "app.getAccount",
|
|
78
|
-
GetUser = "app.getUser",
|
|
79
|
-
GetDisplayGroups = "app.getDisplays",
|
|
80
|
-
GetSelectedDisplayId = "app.getSelectedDisplayId",
|
|
81
|
-
GetAssets = "app.getAssets",
|
|
82
|
-
GetAssetsByIds = "app.getAssetsByIds",
|
|
83
|
-
GetAssetsForApp = "app.getAssetsForApp",
|
|
84
|
-
GetAssetRevision = "app.getAssetRevision",
|
|
85
|
-
BulkCreateAssets = "app.bulkCreateAssets",
|
|
86
|
-
BulkDeployAssets = "app.bulkDeployAssets",
|
|
87
|
-
SaveAsset = "app.saveAsset",
|
|
88
|
-
UpdateAssetOrder = "app.updateAssetOrder",
|
|
89
|
-
DeleteAsset = "app.deleteAsset",
|
|
90
|
-
TouchAsset = "app.touchAsset",
|
|
91
|
-
GetAssetNeedsApproval = "app.getAssetNeedsApproval",
|
|
92
|
-
GetDefaultAssets = "app.getDefaultAssets",
|
|
93
|
-
GetZoningApps = "app.getZoningApps",
|
|
94
|
-
AcquireZoningWidget = "app.acquireZoningWidget",
|
|
95
|
-
GetZoningData = "app.getZoningData",
|
|
96
|
-
EditZoningWidget = "app.editZoningWidget",
|
|
97
|
-
GetZoningLayoutAssets = "app.getZoningLayoutAssets",
|
|
98
|
-
GetFonts = "app.getFonts",
|
|
99
|
-
GetThemes = "app.getThemes",
|
|
100
|
-
GetTheme = "app.getTheme",
|
|
101
|
-
EditTheme = "app.editTheme",
|
|
102
|
-
SaveTheme = "app.saveTheme",
|
|
103
|
-
DeleteTheme = "app.deleteTheme",
|
|
104
|
-
HasFeatureFlag = "app.hasFeatureFlag",
|
|
105
|
-
GetDisplayGroupCustomProperties = "app.getDisplayGroupCustomProperties",
|
|
106
|
-
AppUrlChanged = "app.appUrlChanged",
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Internal types, not to be re-exported.
|
|
3
|
+
*/
|
|
4
|
+
export interface InboundMessage {
|
|
5
|
+
/**
|
|
6
|
+
* Namespace of the event.
|
|
7
|
+
*/
|
|
8
|
+
namespace: string;
|
|
9
|
+
/**
|
|
10
|
+
* Whether the request was a successful one.
|
|
11
|
+
*/
|
|
12
|
+
success: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* An id of the call.
|
|
15
|
+
*/
|
|
16
|
+
callId: number;
|
|
17
|
+
/**
|
|
18
|
+
* Data returned by the dashboard. Type depends on the call type.
|
|
19
|
+
*/
|
|
20
|
+
data?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface OutboundMessage {
|
|
23
|
+
/**
|
|
24
|
+
* An id of the call. Gets incremented with every sent message.
|
|
25
|
+
* Used internally to match responses to their respective calls.
|
|
26
|
+
*/
|
|
27
|
+
callId?: number;
|
|
28
|
+
/**
|
|
29
|
+
* The namespace that the event belongs to.
|
|
30
|
+
*/
|
|
31
|
+
namespace: string;
|
|
32
|
+
/**
|
|
33
|
+
* Name of the event.
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
* Id of an app that the request concerns.
|
|
38
|
+
*/
|
|
39
|
+
appId?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Parameters of the call. Abitrary, depend on a call.
|
|
42
|
+
*/
|
|
43
|
+
params?: any;
|
|
44
|
+
/**
|
|
45
|
+
* For the calls that expect multiple responses.
|
|
46
|
+
*/
|
|
47
|
+
persistent?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* A callback that persistent messages will call every time their response comes.
|
|
50
|
+
*/
|
|
51
|
+
callback?: (...args: any[]) => void;
|
|
52
|
+
/**
|
|
53
|
+
* For the calls that expect no responses.
|
|
54
|
+
*/
|
|
55
|
+
transient?: boolean;
|
|
56
|
+
}
|
|
57
|
+
export interface PendingCallInfo {
|
|
58
|
+
/**
|
|
59
|
+
* A method to resolve call's promise.
|
|
60
|
+
*/
|
|
61
|
+
resolve: (...args: any[]) => any;
|
|
62
|
+
/**
|
|
63
|
+
* A method to reject call's promise.
|
|
64
|
+
*/
|
|
65
|
+
reject: (...args: any[]) => any;
|
|
66
|
+
/**
|
|
67
|
+
* A flag indicating whether the SDK should stop listening for more responses after the first arrives.
|
|
68
|
+
*/
|
|
69
|
+
persistent: boolean;
|
|
70
|
+
}
|
|
71
|
+
export declare enum MessageNamespaces {
|
|
72
|
+
App = "app",
|
|
73
|
+
Social = "social",
|
|
74
|
+
Dashboard = "dashboard"
|
|
75
|
+
}
|
|
76
|
+
export declare enum MessageNames {
|
|
77
|
+
GetAccount = "app.getAccount",
|
|
78
|
+
GetUser = "app.getUser",
|
|
79
|
+
GetDisplayGroups = "app.getDisplays",
|
|
80
|
+
GetSelectedDisplayId = "app.getSelectedDisplayId",
|
|
81
|
+
GetAssets = "app.getAssets",
|
|
82
|
+
GetAssetsByIds = "app.getAssetsByIds",
|
|
83
|
+
GetAssetsForApp = "app.getAssetsForApp",
|
|
84
|
+
GetAssetRevision = "app.getAssetRevision",
|
|
85
|
+
BulkCreateAssets = "app.bulkCreateAssets",
|
|
86
|
+
BulkDeployAssets = "app.bulkDeployAssets",
|
|
87
|
+
SaveAsset = "app.saveAsset",
|
|
88
|
+
UpdateAssetOrder = "app.updateAssetOrder",
|
|
89
|
+
DeleteAsset = "app.deleteAsset",
|
|
90
|
+
TouchAsset = "app.touchAsset",
|
|
91
|
+
GetAssetNeedsApproval = "app.getAssetNeedsApproval",
|
|
92
|
+
GetDefaultAssets = "app.getDefaultAssets",
|
|
93
|
+
GetZoningApps = "app.getZoningApps",
|
|
94
|
+
AcquireZoningWidget = "app.acquireZoningWidget",
|
|
95
|
+
GetZoningData = "app.getZoningData",
|
|
96
|
+
EditZoningWidget = "app.editZoningWidget",
|
|
97
|
+
GetZoningLayoutAssets = "app.getZoningLayoutAssets",
|
|
98
|
+
GetFonts = "app.getFonts",
|
|
99
|
+
GetThemes = "app.getThemes",
|
|
100
|
+
GetTheme = "app.getTheme",
|
|
101
|
+
EditTheme = "app.editTheme",
|
|
102
|
+
SaveTheme = "app.saveTheme",
|
|
103
|
+
DeleteTheme = "app.deleteTheme",
|
|
104
|
+
HasFeatureFlag = "app.hasFeatureFlag",
|
|
105
|
+
GetDisplayGroupCustomProperties = "app.getDisplayGroupCustomProperties",
|
|
106
|
+
AppUrlChanged = "app.appUrlChanged",
|
|
107
|
+
LoadAccount = "app.loadAccount",
|
|
108
|
+
Click = "dashboard.click",
|
|
109
|
+
ConfirmUnsavedChanges = "dashboard.unsavedChanges",
|
|
110
|
+
ErrorIndicator = "dashboard.indicator.error",
|
|
111
|
+
LoadingIndicator = "dashboard.indicator.loading",
|
|
112
|
+
NavigateToZoning = "dashboard.navigateToZoning",
|
|
113
|
+
NavigateToUrl = "dashboard.navigateToUrl",
|
|
114
|
+
OpenConfirm = "dashboard.confirm",
|
|
115
|
+
PageError = "dashboard.page.error",
|
|
116
|
+
PageLoading = "dashboard.page.loading",
|
|
117
|
+
PageNotFound = "dashboard.page.notFound",
|
|
118
|
+
Preview = "dashboard.preview",
|
|
119
|
+
GetAssetPreviewData = "dashboard.getAssetPreviewData",
|
|
120
|
+
PreviewAsset = "dashboard.previewAsset",
|
|
121
|
+
SetDisplaySelectorCallback = "dashboard.set.selectorCallback",
|
|
122
|
+
SetDisplaySelectorVisibility = "dashboard.set.selectorEnabled",
|
|
123
|
+
SetHeaderButtons = "dashboard.set.buttons",
|
|
124
|
+
SetHeaderTitle = "dashboard.set.title",
|
|
125
|
+
SuccessIndicator = "dashboard.indicator.success",
|
|
126
|
+
SwitchToView = "dashboard.switchToView",
|
|
127
|
+
Upload = "dashboard.upload",
|
|
128
|
+
ConnectData = "dashboard.connectData",
|
|
129
|
+
EditDataConnection = "dashboard.editDataConnection",
|
|
130
|
+
EncodeStatus = "dashboard.encodeStatus",
|
|
131
|
+
ResourcesEncodingStatus = "dashboard.resourcesEncodingStatus",
|
|
132
|
+
OpenContentIntervalSettingsDialog = "dashboard.openContentIntervalSettingsDialog",
|
|
133
|
+
SetAppHasUnsavedChanges = "dashboard.appHasUnsavedChanges",
|
|
134
|
+
ClearQueryString = "social.clearQueryString",
|
|
135
|
+
AuthInstagram = "social.authInstagram",
|
|
136
|
+
AuthSlack = "social.authSlack",
|
|
137
|
+
AuthenticateSlack = "social.authenticateSlack",
|
|
138
|
+
AuthenticateTeamsUser = "social.authenticateTeamsUser",
|
|
139
|
+
AuthenticateTeamsAdmin = "social.authenticateTeamsAdmin",
|
|
140
|
+
GetInstagramAccounts = "social.getInstagramAccounts",
|
|
141
|
+
TwitterSubscriptionStatus = "social.twitterSubscriptionStatus",
|
|
142
|
+
LookupTwitterId = "social.lookupTwitterId",
|
|
143
|
+
GetSlackTeams = "social.getSlackTeams",
|
|
144
|
+
GetSlackChannels = "social.getSlackChannels",
|
|
145
|
+
GetTeamsChannels = "social.getTeamsChannels",
|
|
146
|
+
AddFacebookPage = "social.addFacebookPage",
|
|
147
|
+
GetFeeds = "social.getFeeds",
|
|
148
|
+
SaveFeed = "social.saveFeed",
|
|
149
|
+
DeleteFeed = "social.deleteFeed",
|
|
150
|
+
OpenPreapprovalDialog = "social.openPreapprovalDialog",
|
|
151
|
+
LoadAllItems = "social.loadAllItems",
|
|
152
|
+
ApproveItem = "social.approveItem",
|
|
153
|
+
RemoveItem = "social.removeItem",
|
|
154
|
+
FavoriteItem = "social.favoriteItem",
|
|
155
|
+
UnfavoriteItem = "social.unfavoriteItem",
|
|
156
|
+
BanItem = "social.banItem",
|
|
157
|
+
LoadBlacklist = "social.loadBlacklist",
|
|
158
|
+
UnbanUser = "social.unbanUser",
|
|
159
|
+
RefreshFeed = "social.refreshFeed",
|
|
160
|
+
CreateAssetVersion = "app.createAssetVersion",
|
|
161
|
+
GetAssetsHistoryById = "app.getAssetsHistoryById",
|
|
162
|
+
GetAssetsHistoryByAssetId = "app.getAssetsHistoryByAssetId",
|
|
163
|
+
DeleteAssetHistory = "app.deleteAssetHistory",
|
|
164
|
+
RestoreVersion = "app.restoreVersion",
|
|
165
|
+
RefreshTwitterFeed = "social.refreshTwitterFeed",
|
|
166
|
+
CloseWindow = "dashboard.closeWindow"
|
|
167
|
+
}
|
package/types/sdk.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Account } from './account';
|
|
2
|
-
import { Dashboard } from './dashboard';
|
|
3
|
-
import { Social } from './social';
|
|
4
|
-
export interface EnplugDashboardSDK {
|
|
5
|
-
account: Account;
|
|
6
|
-
dashboard: Dashboard;
|
|
7
|
-
social: Social;
|
|
8
|
-
}
|
|
1
|
+
import { Account } from './account';
|
|
2
|
+
import { Dashboard } from './dashboard';
|
|
3
|
+
import { Social } from './social';
|
|
4
|
+
export interface EnplugDashboardSDK {
|
|
5
|
+
account: Account;
|
|
6
|
+
dashboard: Dashboard;
|
|
7
|
+
social: Social;
|
|
8
|
+
}
|
package/types/social.d.ts
CHANGED
|
@@ -1,39 +1,52 @@
|
|
|
1
|
-
import { BridgeBase } from './bridge/bridge-base';
|
|
2
|
-
import { PreapprovalDialogOptions, SocialItemsResponse, TwitterSubscriptionStatusResponse } from './external-types';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
1
|
+
import { BridgeBase } from './bridge/bridge-base';
|
|
2
|
+
import { PreapprovalDialogOptions, SocialItemsResponse, TwitterSubscriptionStatusResponse } from './external-types';
|
|
3
|
+
/**
|
|
4
|
+
* Social API is a part of the Dashboard SDK used to access social media related data.
|
|
5
|
+
* Use global `enplug.social` object to access these methods.
|
|
6
|
+
*/
|
|
7
|
+
export declare class Social {
|
|
8
|
+
private bridge;
|
|
9
|
+
/** @internal */
|
|
10
|
+
constructor(bridge: BridgeBase);
|
|
11
|
+
clearQueryString(): Promise<any>;
|
|
12
|
+
authInstagram(accessToken: string): Promise<any>;
|
|
13
|
+
authSlack(verificationCode: string, redirectUrl: string): Promise<any>;
|
|
14
|
+
authenticateSlack(verificationCode: string, redirectUrl: string): Promise<any>;
|
|
15
|
+
authenticateTeamsUser(verificationCode: string, redirectUrl: string): Promise<any>;
|
|
16
|
+
/**
|
|
17
|
+
* Saves Teams Admin token to backend.
|
|
18
|
+
* @param tenantId - A user id returned from MS Teams after authenticating.
|
|
19
|
+
*/
|
|
20
|
+
authenticateTeamsAdmin(tenantId: string): Promise<any>;
|
|
21
|
+
getInstagramAccounts(userId: string): Promise<any>;
|
|
22
|
+
lookupTwitterId(username: string): Promise<any>;
|
|
23
|
+
twitterSubscriptionStatus(): Promise<TwitterSubscriptionStatusResponse>;
|
|
24
|
+
getSlackTeams(): Promise<any>;
|
|
25
|
+
getSlackChannels(teamId: string): Promise<any>;
|
|
26
|
+
/**
|
|
27
|
+
* Returns Channels available for a given user ID.
|
|
28
|
+
* @param tenantId - An ID returned after authenticating the user with MS Teams.
|
|
29
|
+
*/
|
|
30
|
+
getTeamsChannels(tenantId: string): Promise<any>;
|
|
31
|
+
addFacebookPage(feedId: string, pageId: string, accessToken: string): Promise<any>;
|
|
32
|
+
getFeeds(assetId: string): Promise<any>;
|
|
33
|
+
saveFeed(feed: any): Promise<any>;
|
|
34
|
+
deleteFeed(feedId: string): Promise<any>;
|
|
35
|
+
openPreapprovalDialog(feed: any, iconUrl: string, options?: PreapprovalDialogOptions): Promise<any>;
|
|
36
|
+
loadAllItems(assetId: string): Promise<SocialItemsResponse>;
|
|
37
|
+
approveItem(itemId: string, assetId: string): Promise<any>;
|
|
38
|
+
removeItem(itemId: string, assetId: string): Promise<any>;
|
|
39
|
+
favoriteItem(itemId: string, assetId: string, network: string): Promise<void>;
|
|
40
|
+
unfavoriteItem(itemId: string, assetId: string, network: string): Promise<any>;
|
|
41
|
+
banItem(itemId: string, assetId: string): Promise<any>;
|
|
42
|
+
loadBlacklist(accountId: string, socialNetwork: string): Promise<any>;
|
|
43
|
+
unbanUser(username: string, socialNetwork: string, accountId: string): Promise<any>;
|
|
44
|
+
/**
|
|
45
|
+
* Gets new Facebook posts
|
|
46
|
+
*/
|
|
47
|
+
refreshFeed(feedId: string): Promise<any>;
|
|
48
|
+
/**
|
|
49
|
+
* Gets new Twitter posts
|
|
50
|
+
*/
|
|
51
|
+
refreshTwitterFeed(assetId: string, feedId: string): Promise<any>;
|
|
52
|
+
}
|
package/types/utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare function validateArray(arg: any, message: string): void;
|
|
2
|
-
export declare function validateString(arg: any, message: string): void;
|
|
3
|
-
export declare function validateObject(arg: any, message: string): void;
|
|
4
|
-
export declare function validateBool(arg: any, message: string): void;
|
|
5
|
-
export declare function validateFunction(arg: any, message: any): void;
|
|
1
|
+
export declare function validateArray(arg: any, message: string): void;
|
|
2
|
+
export declare function validateString(arg: any, message: string): void;
|
|
3
|
+
export declare function validateObject(arg: any, message: string): void;
|
|
4
|
+
export declare function validateBool(arg: any, message: string): void;
|
|
5
|
+
export declare function validateFunction(arg: any, message: any): void;
|