1- /*! powerbi-client v2.3.2 | (c) 2016 Microsoft Corporation MIT */
1+ /*! powerbi-client v2.3.3 | (c) 2016 Microsoft Corporation MIT */
22declare module "config" {
33 const config : {
44 version : string ;
@@ -52,6 +52,16 @@ declare module "util" {
5252 * @returns {string }
5353 */
5454 export function createRandomString ( ) : string ;
55+ /**
56+ * Adds a parameter to the given url
57+ *
58+ * @export
59+ * @param {string } url
60+ * @param {string } paramName
61+ * @param {string } value
62+ * @returns {string }
63+ */
64+ export function addParamToUrl ( url : string , paramName : string , value : string ) : string ;
5565}
5666declare module "embed" {
5767 import * as service from "service" ;
@@ -78,7 +88,7 @@ declare module "embed" {
7888 uniqueId ?: string ;
7989 embedUrl ?: string ;
8090 accessToken ?: string ;
81- settings ?: models . ISettings ;
91+ settings ?: IEmbedSettings ;
8292 pageName ?: string ;
8393 filters ?: models . IFilter [ ] ;
8494 pageView ?: models . PageView ;
@@ -91,6 +101,13 @@ declare module "embed" {
91101 height ?: number ;
92102 width ?: number ;
93103 }
104+ export interface ILocaleSettings {
105+ language ?: string ;
106+ formatLocale ?: string ;
107+ }
108+ export interface IEmbedSettings extends models . ISettings {
109+ localeSettings ?: ILocaleSettings ;
110+ }
94111 export interface IInternalEmbedConfiguration extends models . IReportLoadConfiguration {
95112 uniqueId : string ;
96113 type : string ;
@@ -291,6 +308,13 @@ declare module "embed" {
291308 * @returns {void }
292309 */
293310 private populateConfig ( config ) ;
311+ /**
312+ * Adds locale parameters to embedUrl
313+ *
314+ * @private
315+ * @param {IEmbedConfiguration } config
316+ */
317+ private addLocaleToEmbedUrl ( config ) ;
294318 /**
295319 * Gets an embed url from the first available location: options, attribute.
296320 *
@@ -986,6 +1010,7 @@ declare module "powerbi" {
9861010 import { IFilterable } from "ifilterable" ;
9871011 export { IFilterable , service , factories , models } ;
9881012 export { Report } from "report" ;
1013+ export { Dashboard } from "dashboard" ;
9891014 export { Tile } from "tile" ;
9901015 export { IEmbedConfiguration , Embed } from "embed" ;
9911016 export { Page } from "page" ;
0 commit comments