diff --git a/packages/@azure/arm-cognitiveservices/LICENSE.txt b/packages/@azure/arm-cognitiveservices/LICENSE.txt
index a70e8cf66038..8f3d856145c5 100644
--- a/packages/@azure/arm-cognitiveservices/LICENSE.txt
+++ b/packages/@azure/arm-cognitiveservices/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) 2019 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-cognitiveservices/README.md b/packages/@azure/arm-cognitiveservices/README.md
index 015cc8c05ce6..b6df42c0c189 100644
--- a/packages/@azure/arm-cognitiveservices/README.md
+++ b/packages/@azure/arm-cognitiveservices/README.md
@@ -1,100 +1,81 @@
-## Azure CognitiveServicesManagementClient SDK for JavaScript
-
-This package contains an isomorphic SDK for CognitiveServicesManagementClient.
-
-### Currently supported environments
-
-- Node.js version 6.x.x or higher
-- Browser JavaScript
-
-### How to Install
-
-```
-npm install @azure/arm-cognitiveservices
-```
-
-### How to use
-
-#### nodejs - Authentication, client creation and getProperties accounts 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 { CognitiveServicesManagementClient, CognitiveServicesManagementModels, CognitiveServicesManagementMappers } from "@azure/arm-cognitiveservices";
-const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
-
-msRestNodeAuth.interactiveLogin().then((creds) => {
- const client = new CognitiveServicesManagementClient(creds, subscriptionId);
- const resourceGroupName = "testresourceGroupName";
- const accountName = "testaccountName";
- client.accounts.getProperties(resourceGroupName, accountName).then((result) => {
- console.log("The result is:");
- console.log(result);
- });
-}).catch((err) => {
- console.error(err);
-});
-```
-
-#### browser - Authentication, client creation and getProperties accounts 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-cognitiveservices sample
-
-
-
-
-
-
-
-
-```
-
-## Related projects
-
-- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js)
+# Azure CognitiveServicesManagementClient SDK for JavaScript
+This package contains an isomorphic SDK for CognitiveServicesManagementClient.
+
+## Currently supported environments
+- Node.js version 6.x.x or higher
+- Browser JavaScript
+
+## How to Install
+```
+npm install @azure/arm-cognitiveservices
+```
+
+
+## How to use
+
+### nodejs - Authentication, client creation and getProperties accounts 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 { CognitiveServicesManagementClient, CognitiveServicesManagementModels, CognitiveServicesManagementMappers } from "@azure/arm-cognitiveservices";
+const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
+
+msRestNodeAuth.interactiveLogin().then((creds) => {
+ const client = new CognitiveServicesManagementClient(creds, subscriptionId);
+ const resourceGroupName = "testresourceGroupName";
+ const accountName = "testaccountName";
+ client.accounts.getProperties(resourceGroupName, accountName).then((result) => {
+ console.log("The result is:");
+ console.log(result);
+ });
+}).catch((err) => {
+ console.error(err);
+});
+```
+
+### browser - Authentication, client creation and getProperties accounts 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-cognitiveservices sample
+
+
+
+
+
+
+
+
+
+```
+
+# Related projects
+ - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js)
diff --git a/packages/@azure/arm-cognitiveservices/lib/cognitiveServicesManagementClient.ts b/packages/@azure/arm-cognitiveservices/lib/cognitiveServicesManagementClient.ts
index e2d721fdca7c..800cbf0ec9c1 100644
--- a/packages/@azure/arm-cognitiveservices/lib/cognitiveServicesManagementClient.ts
+++ b/packages/@azure/arm-cognitiveservices/lib/cognitiveServicesManagementClient.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-cognitiveservices/lib/cognitiveServicesManagementClientContext.ts b/packages/@azure/arm-cognitiveservices/lib/cognitiveServicesManagementClientContext.ts
index 71c6df1d09d8..baa4307655c5 100644
--- a/packages/@azure/arm-cognitiveservices/lib/cognitiveServicesManagementClientContext.ts
+++ b/packages/@azure/arm-cognitiveservices/lib/cognitiveServicesManagementClientContext.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-cognitiveservices";
const packageVersion = "0.1.0";
diff --git a/packages/@azure/arm-cognitiveservices/lib/models/index.ts b/packages/@azure/arm-cognitiveservices/lib/models/index.ts
index 5d2c38071209..f2400f25a916 100644
--- a/packages/@azure/arm-cognitiveservices/lib/models/index.ts
+++ b/packages/@azure/arm-cognitiveservices/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 };
@@ -22,11 +22,10 @@ export { BaseResource, CloudError };
*/
export interface Sku {
/**
- * @member {SkuName} name Gets or sets the sku name. Required for account
- * creation, optional for update. Possible values include: 'F0', 'P0', 'P1',
- * 'P2', 'S0', 'S1', 'S2', 'S3', 'S4', 'S5', 'S6'
+ * @member {string} name Gets or sets the sku name. Required for account
+ * creation, optional for update.
*/
- name: SkuName;
+ name: string;
/**
* @member {SkuTier} [tier] Gets the sku tier. This is based on the SKU name.
* Possible values include: 'Free', 'Standard', 'Premium'
@@ -48,15 +47,9 @@ export interface CognitiveServicesAccountCreateParameters {
*/
sku: Sku;
/**
- * @member {Kind} kind Required. Gets or sets the Kind of the resource.
- * Possible values include: 'Bing.Autosuggest.v7', 'Bing.CustomSearch',
- * 'Bing.Search.v7', 'Bing.Speech', 'Bing.SpellCheck.v7', 'ComputerVision',
- * 'ContentModerator', 'CustomSpeech', 'CustomVision.Prediction',
- * 'CustomVision.Training', 'Emotion', 'Face', 'LUIS', 'QnAMaker',
- * 'SpeakerRecognition', 'SpeechTranslation', 'TextAnalytics',
- * 'TextTranslation', 'WebLM'
+ * @member {string} kind Required. Gets or sets the Kind of the resource.
*/
- kind: Kind;
+ kind: string;
/**
* @member {string} location Required. Gets or sets the location of the
* resource. This will be one of the supported and registered Azure Geo
@@ -151,6 +144,11 @@ export interface CognitiveServicesAccount extends BaseResource {
* @member {string} [internalId] The internal identifier.
*/
internalId?: string;
+ /**
+ * @member {string} [customSubDomainName] Optional subdomain name used for
+ * token-based authentication.
+ */
+ customSubDomainName?: string;
/**
* @member {Sku} [sku] The SKU of Cognitive Services account.
*/
@@ -415,18 +413,13 @@ export interface OperationEntity {
*/
export interface CheckSkuAvailabilityParameter {
/**
- * @member {SkuName[]} skus The SKU of the resource.
+ * @member {string[]} skus The SKU of the resource.
*/
- skus: SkuName[];
+ skus: string[];
/**
- * @member {Kind} kind The Kind of the resource. Possible values include:
- * 'Bing.Autosuggest.v7', 'Bing.CustomSearch', 'Bing.Search.v7',
- * 'Bing.Speech', 'Bing.SpellCheck.v7', 'ComputerVision', 'ContentModerator',
- * 'CustomSpeech', 'CustomVision.Prediction', 'CustomVision.Training',
- * 'Emotion', 'Face', 'LUIS', 'QnAMaker', 'SpeakerRecognition',
- * 'SpeechTranslation', 'TextAnalytics', 'TextTranslation', 'WebLM'
+ * @member {string} kind The Kind of the resource.
*/
- kind: Kind;
+ kind: string;
/**
* @member {string} type The Type of the resource.
*/
@@ -441,24 +434,17 @@ export interface CheckSkuAvailabilityParameter {
*/
export interface CheckSkuAvailabilityResult {
/**
- * @member {Kind} [kind] The Kind of the resource. Possible values include:
- * 'Bing.Autosuggest.v7', 'Bing.CustomSearch', 'Bing.Search.v7',
- * 'Bing.Speech', 'Bing.SpellCheck.v7', 'ComputerVision', 'ContentModerator',
- * 'CustomSpeech', 'CustomVision.Prediction', 'CustomVision.Training',
- * 'Emotion', 'Face', 'LUIS', 'QnAMaker', 'SpeakerRecognition',
- * 'SpeechTranslation', 'TextAnalytics', 'TextTranslation', 'WebLM'
+ * @member {string} [kind] The Kind of the resource.
*/
- kind?: Kind;
+ kind?: string;
/**
* @member {string} [type] The Type of the resource.
*/
type?: string;
/**
- * @member {SkuName} [skuName] The SKU of Cognitive Services account.
- * Possible values include: 'F0', 'P0', 'P1', 'P2', 'S0', 'S1', 'S2', 'S3',
- * 'S4', 'S5', 'S6'
+ * @member {string} [skuName] The SKU of Cognitive Services account.
*/
- skuName?: SkuName;
+ skuName?: string;
/**
* @member {boolean} [skuAvailable] Indicates the given SKU is available or
* not.
@@ -691,14 +677,6 @@ export interface OperationEntityListResult extends Array {
nextLink?: string;
}
-/**
- * Defines values for SkuName.
- * Possible values include: 'F0', 'P0', 'P1', 'P2', 'S0', 'S1', 'S2', 'S3', 'S4', 'S5', 'S6'
- * @readonly
- * @enum {string}
- */
-export type SkuName = 'F0' | 'P0' | 'P1' | 'P2' | 'S0' | 'S1' | 'S2' | 'S3' | 'S4' | 'S5' | 'S6';
-
/**
* Defines values for SkuTier.
* Possible values include: 'Free', 'Standard', 'Premium'
@@ -707,17 +685,6 @@ export type SkuName = 'F0' | 'P0' | 'P1' | 'P2' | 'S0' | 'S1' | 'S2' | 'S3' | 'S
*/
export type SkuTier = 'Free' | 'Standard' | 'Premium';
-/**
- * Defines values for Kind.
- * Possible values include: 'Bing.Autosuggest.v7', 'Bing.CustomSearch', 'Bing.Search.v7',
- * 'Bing.Speech', 'Bing.SpellCheck.v7', 'ComputerVision', 'ContentModerator', 'CustomSpeech',
- * 'CustomVision.Prediction', 'CustomVision.Training', 'Emotion', 'Face', 'LUIS', 'QnAMaker',
- * 'SpeakerRecognition', 'SpeechTranslation', 'TextAnalytics', 'TextTranslation', 'WebLM'
- * @readonly
- * @enum {string}
- */
-export type Kind = 'Bing.Autosuggest.v7' | 'Bing.CustomSearch' | 'Bing.Search.v7' | 'Bing.Speech' | 'Bing.SpellCheck.v7' | 'ComputerVision' | 'ContentModerator' | 'CustomSpeech' | 'CustomVision.Prediction' | 'CustomVision.Training' | 'Emotion' | 'Face' | 'LUIS' | 'QnAMaker' | 'SpeakerRecognition' | 'SpeechTranslation' | 'TextAnalytics' | 'TextTranslation' | 'WebLM';
-
/**
* Defines values for ProvisioningState.
* Possible values include: 'Creating', 'ResolvingDNS', 'Moving', 'Deleting', 'Succeeded', 'Failed'
diff --git a/packages/@azure/arm-cognitiveservices/lib/models/mappers.ts b/packages/@azure/arm-cognitiveservices/lib/models/mappers.ts
index 1ef3206a6fe3..4adf9b1f9633 100644
--- a/packages/@azure/arm-cognitiveservices/lib/models/mappers.ts
+++ b/packages/@azure/arm-cognitiveservices/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;
@@ -178,6 +178,12 @@ export const CognitiveServicesAccount: msRest.CompositeMapper = {
name: "String"
}
},
+ customSubDomainName: {
+ serializedName: "properties.customSubDomainName",
+ type: {
+ name: "String"
+ }
+ },
sku: {
serializedName: "sku",
type: {
diff --git a/packages/@azure/arm-cognitiveservices/lib/models/parameters.ts b/packages/@azure/arm-cognitiveservices/lib/models/parameters.ts
index 6d8020a2396a..be45f2e0fbbb 100644
--- a/packages/@azure/arm-cognitiveservices/lib/models/parameters.ts
+++ b/packages/@azure/arm-cognitiveservices/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-cognitiveservices/lib/operations/accounts.ts b/packages/@azure/arm-cognitiveservices/lib/operations/accounts.ts
index a7a44b4f1ab7..7ced224dc1b6 100644
--- a/packages/@azure/arm-cognitiveservices/lib/operations/accounts.ts
+++ b/packages/@azure/arm-cognitiveservices/lib/operations/accounts.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/accountsMappers";
import * as Parameters from "../models/parameters";
diff --git a/packages/@azure/arm-cognitiveservices/lib/operations/checkSkuAvailability.ts b/packages/@azure/arm-cognitiveservices/lib/operations/checkSkuAvailability.ts
index 703ee9f14370..1591dcfb4da7 100644
--- a/packages/@azure/arm-cognitiveservices/lib/operations/checkSkuAvailability.ts
+++ b/packages/@azure/arm-cognitiveservices/lib/operations/checkSkuAvailability.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/checkSkuAvailabilityMappers";
import * as Parameters from "../models/parameters";
@@ -30,42 +30,30 @@ export class CheckSkuAvailability {
* Check available SKUs.
* @param location Resource location.
* @param skus The SKU of the resource.
- * @param kind The Kind of the resource. Possible values include: 'Bing.Autosuggest.v7',
- * 'Bing.CustomSearch', 'Bing.Search.v7', 'Bing.Speech', 'Bing.SpellCheck.v7', 'ComputerVision',
- * 'ContentModerator', 'CustomSpeech', 'CustomVision.Prediction', 'CustomVision.Training',
- * 'Emotion', 'Face', 'LUIS', 'QnAMaker', 'SpeakerRecognition', 'SpeechTranslation',
- * 'TextAnalytics', 'TextTranslation', 'WebLM'
+ * @param kind The Kind of the resource.
* @param type The Type of the resource.
* @param [options] The optional parameters
* @returns Promise
*/
- list(location: string, skus: Models.SkuName[], kind: Models.Kind, type: string, options?: msRest.RequestOptionsBase): Promise;
+ list(location: string, skus: string[], kind: string, type: string, options?: msRest.RequestOptionsBase): Promise;
/**
* @param location Resource location.
* @param skus The SKU of the resource.
- * @param kind The Kind of the resource. Possible values include: 'Bing.Autosuggest.v7',
- * 'Bing.CustomSearch', 'Bing.Search.v7', 'Bing.Speech', 'Bing.SpellCheck.v7', 'ComputerVision',
- * 'ContentModerator', 'CustomSpeech', 'CustomVision.Prediction', 'CustomVision.Training',
- * 'Emotion', 'Face', 'LUIS', 'QnAMaker', 'SpeakerRecognition', 'SpeechTranslation',
- * 'TextAnalytics', 'TextTranslation', 'WebLM'
+ * @param kind The Kind of the resource.
* @param type The Type of the resource.
* @param callback The callback
*/
- list(location: string, skus: Models.SkuName[], kind: Models.Kind, type: string, callback: msRest.ServiceCallback): void;
+ list(location: string, skus: string[], kind: string, type: string, callback: msRest.ServiceCallback): void;
/**
* @param location Resource location.
* @param skus The SKU of the resource.
- * @param kind The Kind of the resource. Possible values include: 'Bing.Autosuggest.v7',
- * 'Bing.CustomSearch', 'Bing.Search.v7', 'Bing.Speech', 'Bing.SpellCheck.v7', 'ComputerVision',
- * 'ContentModerator', 'CustomSpeech', 'CustomVision.Prediction', 'CustomVision.Training',
- * 'Emotion', 'Face', 'LUIS', 'QnAMaker', 'SpeakerRecognition', 'SpeechTranslation',
- * 'TextAnalytics', 'TextTranslation', 'WebLM'
+ * @param kind The Kind of the resource.
* @param type The Type of the resource.
* @param options The optional parameters
* @param callback The callback
*/
- list(location: string, skus: Models.SkuName[], kind: Models.Kind, type: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
- list(location: string, skus: Models.SkuName[], kind: Models.Kind, type: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
+ list(location: string, skus: string[], kind: string, type: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void;
+ list(location: string, skus: string[], kind: string, type: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise {
return this.client.sendOperationRequest(
{
location,
diff --git a/packages/@azure/arm-cognitiveservices/lib/operations/operations.ts b/packages/@azure/arm-cognitiveservices/lib/operations/operations.ts
index 9e57c374363d..e866b40c252b 100644
--- a/packages/@azure/arm-cognitiveservices/lib/operations/operations.ts
+++ b/packages/@azure/arm-cognitiveservices/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-cognitiveservices/lib/operations/resourceSkus.ts b/packages/@azure/arm-cognitiveservices/lib/operations/resourceSkus.ts
index b3bba5e8356d..8cb977d93d9c 100644
--- a/packages/@azure/arm-cognitiveservices/lib/operations/resourceSkus.ts
+++ b/packages/@azure/arm-cognitiveservices/lib/operations/resourceSkus.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/resourceSkusMappers";
import * as Parameters from "../models/parameters";
diff --git a/packages/@azure/arm-cognitiveservices/package.json b/packages/@azure/arm-cognitiveservices/package.json
index fe06465ea71f..7b3ac0f5e883 100644
--- a/packages/@azure/arm-cognitiveservices/package.json
+++ b/packages/@azure/arm-cognitiveservices/package.json
@@ -4,8 +4,8 @@
"description": "CognitiveServicesManagementClient 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-cognitiveservices/rollup.config.js b/packages/@azure/arm-cognitiveservices/rollup.config.js
index 1299310032b6..37be70559a60 100644
--- a/packages/@azure/arm-cognitiveservices/rollup.config.js
+++ b/packages/@azure/arm-cognitiveservices/rollup.config.js
@@ -4,15 +4,15 @@ import nodeResolve from "rollup-plugin-node-resolve";
*/
const config = {
input: './esm/cognitiveServicesManagementClient.js',
- external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"],
+ external: ["ms-rest-js", "ms-rest-azure-js"],
output: {
file: "./dist/arm-cognitiveservices.js",
format: "umd",
name: "Azure.ArmCognitiveservices",
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-cognitiveservices/tsconfig.json b/packages/@azure/arm-cognitiveservices/tsconfig.json
index 51ea90961ce5..f32d1664f320 100644
--- a/packages/@azure/arm-cognitiveservices/tsconfig.json
+++ b/packages/@azure/arm-cognitiveservices/tsconfig.json
@@ -14,6 +14,6 @@
"outDir": "./esm",
"importHelpers": true
},
- "include": ["./lib/**/*.ts"],
+ "include": ["./lib/**/*"],
"exclude": ["node_modules"]
}