Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions lib/services/powerbiembedded/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
The MIT License (MIT)

Copyright (c) 2017 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The MIT License (MIT)
Copyright (c) 2018 Microsoft
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Class representing a CreateWorkspaceCollectionRequest.
*/
Expand Down
4 changes: 2 additions & 2 deletions lib/services/powerbiembedded/lib/models/display.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ class Display {
* Create a Display.
* @member {string} [provider] The localized friendly form of the resource
* provider name. This form is also expected to include the publisher/company
* responsible. Use Title Casing. Begin with Microsoft for 1st party
* responsible. Use Title Casing. Begin with "Microsoft" for 1st party
* services.
* @member {string} [resource] The localized friendly form of the resource
* type related to this action/operation. This form should match the public
* documentation for the resource provider. Use Title Casing. For examples,
* refer to the name section.
* refer to the "name" section.
* @member {string} [operation] The localized friendly name for the operation
* as shown to the user. This name should be concise (to fit in drop downs),
* but clear (self-documenting). Use Title Casing and include the
Expand Down
2 changes: 0 additions & 2 deletions lib/services/powerbiembedded/lib/models/errorModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Class representing a ErrorModel.
*/
Expand Down
8 changes: 4 additions & 4 deletions lib/services/powerbiembedded/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ export interface Workspace {
* @constructor
* @member {string} [provider] The localized friendly form of the resource
* provider name. This form is also expected to include the publisher/company
* responsible. Use Title Casing. Begin with Microsoft for 1st party
* responsible. Use Title Casing. Begin with "Microsoft" for 1st party
* services.
* @member {string} [resource] The localized friendly form of the resource type
* related to this action/operation. This form should match the public
* documentation for the resource provider. Use Title Casing. For examples,
* refer to the name section.
* refer to the "name" section.
* @member {string} [operation] The localized friendly name for the operation
* as shown to the user. This name should be concise (to fit in drop downs),
* but clear (self-documenting). Use Title Casing and include the
Expand Down Expand Up @@ -131,12 +131,12 @@ export interface Display {
* @member {object} [display]
* @member {string} [display.provider] The localized friendly form of the
* resource provider name. This form is also expected to include the
* publisher/company responsible. Use Title Casing. Begin with Microsoft for
* publisher/company responsible. Use Title Casing. Begin with "Microsoft" for
* 1st party services.
* @member {string} [display.resource] The localized friendly form of the
* resource type related to this action/operation. This form should match the
* public documentation for the resource provider. Use Title Casing. For
* examples, refer to the name section.
* examples, refer to the "name" section.
* @member {string} [display.operation] The localized friendly name for the
* operation as shown to the user. This name should be concise (to fit in drop
* downs), but clear (self-documenting). Use Title Casing and include the
Expand Down
6 changes: 2 additions & 4 deletions lib/services/powerbiembedded/lib/models/operation.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Class representing a Operation.
*/
Expand All @@ -24,12 +22,12 @@ class Operation {
* @member {object} [display]
* @member {string} [display.provider] The localized friendly form of the
* resource provider name. This form is also expected to include the
* publisher/company responsible. Use Title Casing. Begin with Microsoft
* publisher/company responsible. Use Title Casing. Begin with "Microsoft"
* for 1st party services.
* @member {string} [display.resource] The localized friendly form of the
* resource type related to this action/operation. This form should match the
* public documentation for the resource provider. Use Title Casing. For
* examples, refer to the name section.
* examples, refer to the "name" section.
* @member {string} [display.operation] The localized friendly name for the
* operation as shown to the user. This name should be concise (to fit in
* drop downs), but clear (self-documenting). Use Title Casing and include
Expand Down
2 changes: 0 additions & 2 deletions lib/services/powerbiembedded/lib/models/operationList.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Class representing a OperationList.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Class representing a UpdateWorkspaceCollectionRequest.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Class representing a WorkspaceCollection.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { AzureServiceClient, AzureServiceClientOptions } from 'ms-rest-azure';
import * as models from "./models";
import * as operations from "./operations";

declare class PowerBIEmbeddedManagementClient extends AzureServiceClient {
export default class PowerBIEmbeddedManagementClient extends AzureServiceClient {
/**
* Initializes a new instance of the PowerBIEmbeddedManagementClient class.
* @constructor
Expand All @@ -34,11 +34,11 @@ declare class PowerBIEmbeddedManagementClient extends AzureServiceClient {
*
* @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy
*
* @param {string} [options.acceptLanguage] - Gets or sets the preferred language for the response.
* @param {string} [options.acceptLanguage] - The preferred language for the response.
*
* @param {number} [options.longRunningOperationRetryTimeout] - Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
* @param {number} [options.longRunningOperationRetryTimeout] - The retry timeout in seconds for Long Running Operations. Default value is 30.
*
* @param {boolean} [options.generateClientRequestId] - When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
* @param {boolean} [options.generateClientRequestId] - Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*
*/
constructor(credentials: ServiceClientCredentials, subscriptionId: string, baseUri?: string, options?: AzureServiceClientOptions);
Expand Down Expand Up @@ -113,4 +113,4 @@ declare class PowerBIEmbeddedManagementClient extends AzureServiceClient {
getAvailableOperations(options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback<models.OperationList>): void;
}

export = PowerBIEmbeddedManagementClient;
export { PowerBIEmbeddedManagementClient, models as PowerBIEmbeddedManagementModels };
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ class PowerBIEmbeddedManagementClient extends ServiceClient {
* @param {object} [options.requestOptions] - Options for the underlying request object
* {@link https://github.com/request/request#requestoptions-callback Options doc}
* @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy
* @param {string} [options.acceptLanguage] - Gets or sets the preferred language for the response.
* @param {number} [options.longRunningOperationRetryTimeout] - Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
* @param {boolean} [options.generateClientRequestId] - When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
* @param {string} [options.acceptLanguage] - The preferred language for the response.
* @param {number} [options.longRunningOperationRetryTimeout] - The retry timeout in seconds for Long Running Operations. Default value is 30.
* @param {boolean} [options.generateClientRequestId] - Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*/
constructor(credentials, subscriptionId, baseUri, options) {
if (credentials === null || credentials === undefined) {
Expand Down Expand Up @@ -294,3 +294,6 @@ class PowerBIEmbeddedManagementClient extends ServiceClient {
}

module.exports = PowerBIEmbeddedManagementClient;
module.exports['default'] = PowerBIEmbeddedManagementClient;
module.exports.PowerBIEmbeddedManagementClient = PowerBIEmbeddedManagementClient;
module.exports.PowerBIEmbeddedManagementModels = models;
30 changes: 10 additions & 20 deletions lib/services/powerbiembedded/package.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,25 @@
{
"name": "azure-arm-powerbiembedded",
"author": "Microsoft Corporation",
"contributors": [
"Mazzola, Matt <mattm@microsoft.com>"
],
"description": "PowerBIEmbeddedManagementClient Library with typescript type definitions for node",
"version": "1.1.0-preview",
"description": "Microsoft Azure Power BI Embedded Client Library for node",
"tags": [
"azure",
"sdk"
],
"dependencies": {
"ms-rest": "^2.3.3",
"ms-rest-azure": "^2.5.5"
},
"keywords": [
"node",
"azure"
],
"license": "MIT",
"main": "./lib/powerBIEmbeddedManagementClient.js",
"types": "./lib/powerBIEmbeddedManagementClient.d.ts",
"license": "MIT",
"dependencies": {
"ms-rest": "^2.2.2",
"ms-rest-azure": "^2.3.3"
},
"homepage": "https://github.com/Azure/azure-sdk-for-node",
"homepage": "https://github.com/azure/azure-sdk-for-node/tree/master/lib/services/powerbiembedded",
"repository": {
"type": "git",
"url": "git@github.com:Azure/azure-sdk-for-node.git"
"url": "https://github.com/azure/azure-sdk-for-node.git"
},
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-node/issues"
},
"scripts": {
"test": "npm -s run-script jshint"
"url": "https://github.com/azure/azure-sdk-for-node/issues"
}
}
}