diff --git a/packages/@azure/arm-customerinsights/LICENSE.txt b/packages/@azure/arm-customerinsights/LICENSE.txt index a70e8cf66038..5431ba98b936 100644 --- a/packages/@azure/arm-customerinsights/LICENSE.txt +++ b/packages/@azure/arm-customerinsights/LICENSE.txt @@ -1,21 +1,21 @@ -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. +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. diff --git a/packages/@azure/arm-customerinsights/README.md b/packages/@azure/arm-customerinsights/README.md index 47d2a2dda102..37a5d4b6882b 100644 --- a/packages/@azure/arm-customerinsights/README.md +++ b/packages/@azure/arm-customerinsights/README.md @@ -1,96 +1,77 @@ -## Azure CustomerInsightsManagementClient SDK for JavaScript - -This package contains an isomorphic SDK for CustomerInsightsManagementClient. - -### Currently supported environments - -- Node.js version 6.x.x or higher -- Browser JavaScript - -### How to Install - -``` -npm install @azure/arm-customerinsights -``` - -### How to use - -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. - -##### Install @azure/ms-rest-nodeauth - -``` -npm install @azure/ms-rest-nodeauth -``` - -##### Sample code - -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { CustomerInsightsManagementClient, CustomerInsightsManagementModels, CustomerInsightsManagementMappers } from "@azure/arm-customerinsights"; -const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; - -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new CustomerInsightsManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); -}).catch((err) => { - console.error(err); -}); -``` - -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth - -``` -npm install @azure/ms-rest-browserauth -``` - -##### Sample code - -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - -- index.html -```html - - - - @azure/arm-customerinsights sample - - - - - - - - -``` - -## Related projects - -- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) +# Azure CustomerInsightsManagementClient SDK for JavaScript +This package contains an isomorphic SDK for CustomerInsightsManagementClient. + +## Currently supported environments +- Node.js version 6.x.x or higher +- Browser JavaScript + +## How to Install +``` +npm install @azure/arm-customerinsights +``` + + +## How to use + +### nodejs - Authentication, client creation and list operations as an example written in TypeScript. + +```ts +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; +import * as msRestNodeAuth from "ms-rest-nodeauth"; +import { CustomerInsightsManagementClient, CustomerInsightsManagementModels, CustomerInsightsManagementMappers } from "@azure/arm-customerinsights"; +const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; + +msRestNodeAuth.interactiveLogin().then((creds) => { + const client = new CustomerInsightsManagementClient(creds, subscriptionId); + client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); + }); +}).catch((err) => { + console.error(err); +}); +``` + +### browser - Authentication, client creation and list operations as an example written in JavaScript. +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. + +- index.html +```html + + + + @azure/arm-customerinsights sample + + + + + + + + + +``` + +# Related projects + - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) diff --git a/packages/@azure/arm-customerinsights/lib/customerInsightsManagementClient.ts b/packages/@azure/arm-customerinsights/lib/customerInsightsManagementClient.ts index 756b2eaa4155..9afef88468d2 100644 --- a/packages/@azure/arm-customerinsights/lib/customerInsightsManagementClient.ts +++ b/packages/@azure/arm-customerinsights/lib/customerInsightsManagementClient.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import * as msRest from "ms-rest-js"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; diff --git a/packages/@azure/arm-customerinsights/lib/customerInsightsManagementClientContext.ts b/packages/@azure/arm-customerinsights/lib/customerInsightsManagementClientContext.ts index 90b220dba9bb..52965cd691e6 100644 --- a/packages/@azure/arm-customerinsights/lib/customerInsightsManagementClientContext.ts +++ b/packages/@azure/arm-customerinsights/lib/customerInsightsManagementClientContext.ts @@ -9,8 +9,8 @@ */ import * as Models from "./models"; -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; const packageName = "@azure/arm-customerinsights"; const packageVersion = "0.1.0"; diff --git a/packages/@azure/arm-customerinsights/lib/models/index.ts b/packages/@azure/arm-customerinsights/lib/models/index.ts index 2aa661daf73e..f9eca7a6a314 100644 --- a/packages/@azure/arm-customerinsights/lib/models/index.ts +++ b/packages/@azure/arm-customerinsights/lib/models/index.ts @@ -8,8 +8,8 @@ * regenerated. */ -import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; -import * as msRest from "@azure/ms-rest-js"; +import { BaseResource, CloudError, AzureServiceClientOptions } from "ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; export { BaseResource, CloudError }; @@ -274,7 +274,7 @@ export interface PropertyDefinition { isName?: boolean; /** * @member {boolean} [isRequired] Whether property value is required on - * instances, IsRequired field only for Intercation. Profile Instance will + * instances, IsRequired field only for Interaction. Profile Instance will * not check for required field. */ isRequired?: boolean; @@ -317,7 +317,7 @@ export interface PropertyDefinition { export interface EntityTypeDefinition extends MetadataDefinitionBase { /** * @member {string} [apiEntitySetName] The api entity set name. This becomes - * the odata entity set name for the entity Type being refered in this + * the odata entity set name for the entity Type being referred in this * object. */ apiEntitySetName?: string; @@ -390,11 +390,11 @@ export interface AuthorizationPolicy { */ permissions: PermissionTypes[]; /** - * @member {string} [primaryKey] Primary key assiciated with the policy. + * @member {string} [primaryKey] Primary key associated with the policy. */ primaryKey?: string; /** - * @member {string} [secondaryKey] Secondary key assiciated with the policy. + * @member {string} [secondaryKey] Secondary key associated with the policy. */ secondaryKey?: string; } @@ -526,7 +526,7 @@ export interface CrmConnectorProperties { /** * @interface * An interface representing ConnectorMappingErrorManagement. - * The error mangement. + * The error management. * */ export interface ConnectorMappingErrorManagement { @@ -1137,7 +1137,7 @@ export interface ProfileResourceFormat extends ProxyResource { largeImage?: string; /** * @member {string} [apiEntitySetName] The api entity set name. This becomes - * the odata entity set name for the entity Type being refered in this + * the odata entity set name for the entity Type being referred in this * object. */ apiEntitySetName?: string; @@ -1240,7 +1240,7 @@ export interface InteractionResourceFormat extends ProxyResource { largeImage?: string; /** * @member {string} [apiEntitySetName] The api entity set name. This becomes - * the odata entity set name for the entity Type being refered in this + * the odata entity set name for the entity Type being referred in this * object. */ apiEntitySetName?: string; @@ -1518,7 +1518,7 @@ export interface ConnectorResourceFormat extends ProxyResource { */ readonly created?: Date; /** - * @member {Date} [lastModified] The last monified time. + * @member {Date} [lastModified] The last modified time. * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ @@ -1545,7 +1545,7 @@ export interface ConnectorResourceFormat extends ProxyResource { /** * @interface * An interface representing ConnectorMappingResourceFormat. - * The c onnector mapping resource format. + * The connector mapping resource format. * * @extends ProxyResource */ @@ -1569,7 +1569,7 @@ export interface ConnectorMappingResourceFormat extends ProxyResource { */ readonly created?: Date; /** - * @member {Date} [lastModified] The last monified time. + * @member {Date} [lastModified] The last modified time. * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ @@ -1658,11 +1658,11 @@ export interface AuthorizationPolicyResourceFormat extends ProxyResource { */ permissions: PermissionTypes[]; /** - * @member {string} [primaryKey] Primary key assiciated with the policy. + * @member {string} [primaryKey] Primary key associated with the policy. */ primaryKey?: string; /** - * @member {string} [secondaryKey] Secondary key assiciated with the policy. + * @member {string} [secondaryKey] Secondary key associated with the policy. */ secondaryKey?: string; } @@ -1735,7 +1735,7 @@ export interface LinkResourceFormat extends ProxyResource { readonly provisioningState?: ProvisioningStates; /** * @member {boolean} [referenceOnly] Indicating whether the link is reference - * only link. This flag is ingored if the Mappings are defined. If the + * only link. This flag is ignored if the Mappings are defined. If the * mappings are not defined and it is set to true, links processing will not * create or update profiles. */ @@ -2549,7 +2549,7 @@ export interface PredictionModelStatus { */ readonly trainingAccuracy?: number; /** - * @member {number} [signalsUsed] The singnas used. + * @member {number} [signalsUsed] The signals used. * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ diff --git a/packages/@azure/arm-customerinsights/lib/models/mappers.ts b/packages/@azure/arm-customerinsights/lib/models/mappers.ts index 75cbbaf2fdd3..4d8604a2e995 100644 --- a/packages/@azure/arm-customerinsights/lib/models/mappers.ts +++ b/packages/@azure/arm-customerinsights/lib/models/mappers.ts @@ -8,8 +8,8 @@ * regenerated. */ -import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; -import * as msRest from "@azure/ms-rest-js"; +import { CloudErrorMapper, BaseResourceMapper } from "ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; export const CloudError = CloudErrorMapper; export const BaseResource = BaseResourceMapper; diff --git a/packages/@azure/arm-customerinsights/lib/models/parameters.ts b/packages/@azure/arm-customerinsights/lib/models/parameters.ts index 92b144d1f4ec..f0f95c726142 100644 --- a/packages/@azure/arm-customerinsights/lib/models/parameters.ts +++ b/packages/@azure/arm-customerinsights/lib/models/parameters.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import * as msRest from "ms-rest-js"; export const acceptLanguage: msRest.OperationParameter = { parameterPath: "acceptLanguage", diff --git a/packages/@azure/arm-customerinsights/lib/operations/authorizationPolicies.ts b/packages/@azure/arm-customerinsights/lib/operations/authorizationPolicies.ts index 59e566b8e598..90fa15f90f3f 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/authorizationPolicies.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/authorizationPolicies.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import * as msRest from "ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/authorizationPoliciesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-customerinsights/lib/operations/connectorMappings.ts b/packages/@azure/arm-customerinsights/lib/operations/connectorMappings.ts index 163fcb794742..28fc6ada4be9 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/connectorMappings.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/connectorMappings.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import * as msRest from "ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/connectorMappingsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-customerinsights/lib/operations/connectors.ts b/packages/@azure/arm-customerinsights/lib/operations/connectors.ts index b6f31427d302..de32d0edd53d 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/connectors.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/connectors.ts @@ -8,8 +8,8 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/connectorsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-customerinsights/lib/operations/hubs.ts b/packages/@azure/arm-customerinsights/lib/operations/hubs.ts index 14dc55617ee6..6f03ffa16d10 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/hubs.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/hubs.ts @@ -8,8 +8,8 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/hubsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-customerinsights/lib/operations/images.ts b/packages/@azure/arm-customerinsights/lib/operations/images.ts index a13c44e734dd..4a0fda16cd08 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/images.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/images.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import * as msRest from "ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/imagesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-customerinsights/lib/operations/interactions.ts b/packages/@azure/arm-customerinsights/lib/operations/interactions.ts index 952398e52b39..f7a234c88257 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/interactions.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/interactions.ts @@ -8,8 +8,8 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/interactionsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-customerinsights/lib/operations/kpi.ts b/packages/@azure/arm-customerinsights/lib/operations/kpi.ts index 93dd5a725e2f..361884c29860 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/kpi.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/kpi.ts @@ -8,8 +8,8 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/kpiMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-customerinsights/lib/operations/links.ts b/packages/@azure/arm-customerinsights/lib/operations/links.ts index 901f8eff3bd0..70bedc8eb067 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/links.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/links.ts @@ -8,8 +8,8 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/linksMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-customerinsights/lib/operations/operations.ts b/packages/@azure/arm-customerinsights/lib/operations/operations.ts index ca78fd0dec52..863d41457c3d 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/operations.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/operations.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import * as msRest from "ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/operationsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-customerinsights/lib/operations/predictions.ts b/packages/@azure/arm-customerinsights/lib/operations/predictions.ts index 1461b781d718..508d57c03c78 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/predictions.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/predictions.ts @@ -8,8 +8,8 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/predictionsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-customerinsights/lib/operations/profiles.ts b/packages/@azure/arm-customerinsights/lib/operations/profiles.ts index 71ca8e27ab66..380d3088ac58 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/profiles.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/profiles.ts @@ -8,8 +8,8 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/profilesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-customerinsights/lib/operations/relationshipLinks.ts b/packages/@azure/arm-customerinsights/lib/operations/relationshipLinks.ts index e3c57fd48ee8..c4b9f5ad80b8 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/relationshipLinks.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/relationshipLinks.ts @@ -8,8 +8,8 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/relationshipLinksMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-customerinsights/lib/operations/relationships.ts b/packages/@azure/arm-customerinsights/lib/operations/relationships.ts index 74d121544f68..99bb25af2a22 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/relationships.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/relationships.ts @@ -8,8 +8,8 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/relationshipsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-customerinsights/lib/operations/roleAssignments.ts b/packages/@azure/arm-customerinsights/lib/operations/roleAssignments.ts index 9db2c64ec4a6..3a2e66c21915 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/roleAssignments.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/roleAssignments.ts @@ -8,8 +8,8 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/roleAssignmentsMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-customerinsights/lib/operations/roles.ts b/packages/@azure/arm-customerinsights/lib/operations/roles.ts index 8e8b9ad00ba3..e8a789e9110c 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/roles.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/roles.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import * as msRest from "ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/rolesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-customerinsights/lib/operations/views.ts b/packages/@azure/arm-customerinsights/lib/operations/views.ts index 18899ace4d78..bb3228fd19bb 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/views.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/views.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import * as msRest from "ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/viewsMappers"; import * as Parameters from "../models/parameters"; @@ -30,7 +30,7 @@ export class Views { * Gets all available views for given user in the specified hub. * @param resourceGroupName The name of the resource group. * @param hubName The name of the hub. - * @param userId The user ID. Use * to retreive hub level views. + * @param userId The user ID. Use * to retrieve hub level views. * @param [options] The optional parameters * @returns Promise */ @@ -38,14 +38,14 @@ export class Views { /** * @param resourceGroupName The name of the resource group. * @param hubName The name of the hub. - * @param userId The user ID. Use * to retreive hub level views. + * @param userId The user ID. Use * to retrieve hub level views. * @param callback The callback */ listByHub(resourceGroupName: string, hubName: string, userId: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param hubName The name of the hub. - * @param userId The user ID. Use * to retreive hub level views. + * @param userId The user ID. Use * to retrieve hub level views. * @param options The optional parameters * @param callback The callback */ @@ -63,7 +63,7 @@ export class Views { } /** - * Creates a view or updates an exisiting view in the hub. + * Creates a view or updates an existing view in the hub. * @param resourceGroupName The name of the resource group. * @param hubName The name of the hub. * @param viewName The name of the view. @@ -107,7 +107,7 @@ export class Views { * @param resourceGroupName The name of the resource group. * @param hubName The name of the hub. * @param viewName The name of the view. - * @param userId The user ID. Use * to retreive hub level view. + * @param userId The user ID. Use * to retrieve hub level view. * @param [options] The optional parameters * @returns Promise */ @@ -116,7 +116,7 @@ export class Views { * @param resourceGroupName The name of the resource group. * @param hubName The name of the hub. * @param viewName The name of the view. - * @param userId The user ID. Use * to retreive hub level view. + * @param userId The user ID. Use * to retrieve hub level view. * @param callback The callback */ get(resourceGroupName: string, hubName: string, viewName: string, userId: string, callback: msRest.ServiceCallback): void; @@ -124,7 +124,7 @@ export class Views { * @param resourceGroupName The name of the resource group. * @param hubName The name of the hub. * @param viewName The name of the view. - * @param userId The user ID. Use * to retreive hub level view. + * @param userId The user ID. Use * to retrieve hub level view. * @param options The optional parameters * @param callback The callback */ @@ -147,7 +147,7 @@ export class Views { * @param resourceGroupName The name of the resource group. * @param hubName The name of the hub. * @param viewName The name of the view. - * @param userId The user ID. Use * to retreive hub level view. + * @param userId The user ID. Use * to retrieve hub level view. * @param [options] The optional parameters * @returns Promise */ @@ -156,7 +156,7 @@ export class Views { * @param resourceGroupName The name of the resource group. * @param hubName The name of the hub. * @param viewName The name of the view. - * @param userId The user ID. Use * to retreive hub level view. + * @param userId The user ID. Use * to retrieve hub level view. * @param callback The callback */ deleteMethod(resourceGroupName: string, hubName: string, viewName: string, userId: string, callback: msRest.ServiceCallback): void; @@ -164,7 +164,7 @@ export class Views { * @param resourceGroupName The name of the resource group. * @param hubName The name of the hub. * @param viewName The name of the view. - * @param userId The user ID. Use * to retreive hub level view. + * @param userId The user ID. Use * to retrieve hub level view. * @param options The optional parameters * @param callback The callback */ diff --git a/packages/@azure/arm-customerinsights/lib/operations/widgetTypes.ts b/packages/@azure/arm-customerinsights/lib/operations/widgetTypes.ts index 3a53aeeb953e..c5d2e30a8478 100644 --- a/packages/@azure/arm-customerinsights/lib/operations/widgetTypes.ts +++ b/packages/@azure/arm-customerinsights/lib/operations/widgetTypes.ts @@ -8,7 +8,7 @@ * regenerated. */ -import * as msRest from "@azure/ms-rest-js"; +import * as msRest from "ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/widgetTypesMappers"; import * as Parameters from "../models/parameters"; diff --git a/packages/@azure/arm-customerinsights/package.json b/packages/@azure/arm-customerinsights/package.json index cedaf11a874b..4534e714c304 100644 --- a/packages/@azure/arm-customerinsights/package.json +++ b/packages/@azure/arm-customerinsights/package.json @@ -4,8 +4,8 @@ "description": "CustomerInsightsManagementClient Library with typescript type definitions for node.js and browser.", "version": "0.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "ms-rest-azure-js": "^1.0.181", + "ms-rest-js": "^1.0.460", "tslib": "^1.9.3" }, "keywords": [ diff --git a/packages/@azure/arm-customerinsights/rollup.config.js b/packages/@azure/arm-customerinsights/rollup.config.js index 902131e1d3cc..be9134352a1e 100644 --- a/packages/@azure/arm-customerinsights/rollup.config.js +++ b/packages/@azure/arm-customerinsights/rollup.config.js @@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve"; */ const config = { input: './esm/customerInsightsManagementClient.js', - external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + external: ["ms-rest-js", "ms-rest-azure-js"], output: { file: "./dist/arm-customerinsights.js", format: "umd", name: "Azure.ArmCustomerinsights", sourcemap: true, globals: { - "@azure/ms-rest-js": "msRest", - "@azure/ms-rest-azure-js": "msRestAzure" + "ms-rest-js": "msRest", + "ms-rest-azure-js": "msRestAzure" }, banner: `/* * Copyright (c) Microsoft Corporation. All rights reserved. diff --git a/packages/@azure/arm-customerinsights/tsconfig.json b/packages/@azure/arm-customerinsights/tsconfig.json index 51ea90961ce5..f32d1664f320 100644 --- a/packages/@azure/arm-customerinsights/tsconfig.json +++ b/packages/@azure/arm-customerinsights/tsconfig.json @@ -14,6 +14,6 @@ "outDir": "./esm", "importHelpers": true }, - "include": ["./lib/**/*.ts"], + "include": ["./lib/**/*"], "exclude": ["node_modules"] }