diff --git a/sdk/iotspaces/arm-iotspaces/CHANGELOG.md b/sdk/iotspaces/arm-iotspaces/CHANGELOG.md new file mode 100644 index 000000000000..5f4d719a59af --- /dev/null +++ b/sdk/iotspaces/arm-iotspaces/CHANGELOG.md @@ -0,0 +1,14 @@ +## 30.0.0 + +This is beta preview version. + +This version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming). + +**General breaking changes** + +- Authentication system has been completely revamped: + + - Package `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` are no longer supported, use package `@azure/identity` instead: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity + +- Operations with prefix `begin` like `beginXXX` that used to return a `Promise` now returns a `LROPoller`, and if you want to get previous result, please use operation name with prefix `begin` and suffix `AndWait`, such as `beginXXXAndWait`. +- Operation `list` used to return `Promise` now returns a iterable result: `PagedAsyncIterableIterator`. diff --git a/sdk/iotspaces/arm-iotspaces/LICENSE.txt b/sdk/iotspaces/arm-iotspaces/LICENSE.txt index a70e8cf66038..2d3163745319 100644 --- a/sdk/iotspaces/arm-iotspaces/LICENSE.txt +++ b/sdk/iotspaces/arm-iotspaces/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2021 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 diff --git a/sdk/iotspaces/arm-iotspaces/README.md b/sdk/iotspaces/arm-iotspaces/README.md index eda0747a7cb1..18599522ff37 100644 --- a/sdk/iotspaces/arm-iotspaces/README.md +++ b/sdk/iotspaces/arm-iotspaces/README.md @@ -9,7 +9,7 @@ This package contains an isomorphic SDK for IoTSpacesClient. ### How to Install -``` +```bash npm install @azure/arm-iotspaces ``` @@ -19,13 +19,14 @@ npm install @azure/arm-iotspaces ##### Install @azure/ms-rest-nodeauth -``` -npm install @azure/ms-rest-nodeauth +- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. +```bash +npm install @azure/ms-rest-nodeauth@"^3.0.0" ``` ##### Sample code -```ts +```typescript 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"; @@ -49,7 +50,7 @@ msRestNodeAuth.interactiveLogin().then((creds) => { ##### Install @azure/ms-rest-browserauth -``` +```bash npm install @azure/ms-rest-browserauth ``` @@ -99,5 +100,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fiotspaces%2Farm-iotspaces%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/iotspaces/arm-iotspaces/README.png) diff --git a/sdk/iotspaces/arm-iotspaces/_meta.json b/sdk/iotspaces/arm-iotspaces/_meta.json new file mode 100644 index 000000000000..7e08e2e92458 --- /dev/null +++ b/sdk/iotspaces/arm-iotspaces/_meta.json @@ -0,0 +1,5 @@ +{ + "commit": "fadd42cb4e3bcee1e16c5c581d3b812535eb4ead", + "readme": "specification/iotspaces/resource-manager/readme.md", + "autorest_command": "autorest --version=V2 --typescript --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js --license-header=MICROSOFT_MIT_NO_VERSION ../azure-rest-api-specs/specification/iotspaces/resource-manager/readme.md --use=@microsoft.azure/autorest.typescript@4.2.2" +} \ No newline at end of file diff --git a/sdk/iotspaces/arm-iotspaces/package.json b/sdk/iotspaces/arm-iotspaces/package.json index 4c8af39a8bf2..935cfa77d37a 100644 --- a/sdk/iotspaces/arm-iotspaces/package.json +++ b/sdk/iotspaces/arm-iotspaces/package.json @@ -2,11 +2,11 @@ "name": "@azure/arm-iotspaces", "author": "Microsoft Corporation", "description": "IoTSpacesClient Library with typescript type definitions for node.js and browser.", - "version": "1.1.0", + "version": "30.0.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", - "tslib": "^1.9.3" + "@azure/ms-rest-azure-js": "^2.0.1", + "@azure/ms-rest-js": "^2.0.4", + "tslib": "^1.10.0" }, "keywords": [ "node", @@ -20,18 +20,19 @@ "module": "./esm/ioTSpacesClient.js", "types": "./esm/ioTSpacesClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", - "rollup": "^0.66.2", - "rollup-plugin-node-resolve": "^3.4.0", - "uglify-js": "^3.4.9" + "typescript": "^3.5.3", + "rollup": "^1.18.0", + "rollup-plugin-node-resolve": "^5.2.0", + "rollup-plugin-sourcemaps": "^0.4.2", + "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/iotspaces/arm-iotspaces", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/iotspaces/arm-iotspaces", "repository": { "type": "git", - "url": "https://github.com/azure/azure-sdk-for-js.git" + "url": "https://github.com/Azure/azure-sdk-for-js.git" }, "bugs": { - "url": "https://github.com/azure/azure-sdk-for-js/issues" + "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/**/*.js", @@ -43,6 +44,7 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "src/**/*.ts", + "README.md", "rollup.config.js", "tsconfig.json" ], diff --git a/sdk/iotspaces/arm-iotspaces/rollup.config.js b/sdk/iotspaces/arm-iotspaces/rollup.config.js index 6eba6b97b89c..56eb7132b68f 100644 --- a/sdk/iotspaces/arm-iotspaces/rollup.config.js +++ b/sdk/iotspaces/arm-iotspaces/rollup.config.js @@ -1,10 +1,16 @@ +import rollup from "rollup"; import nodeResolve from "rollup-plugin-node-resolve"; +import sourcemaps from "rollup-plugin-sourcemaps"; + /** - * @type {import('rollup').RollupFileOptions} + * @type {rollup.RollupFileOptions} */ const config = { - input: './esm/ioTSpacesClient.js', - external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + input: "./esm/ioTSpacesClient.js", + external: [ + "@azure/ms-rest-js", + "@azure/ms-rest-azure-js" + ], output: { file: "./dist/arm-iotspaces.js", format: "umd", @@ -16,16 +22,16 @@ const config = { }, banner: `/* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */` }, plugins: [ - nodeResolve({ module: true }) + nodeResolve({ mainFields: ['module', 'main'] }), + sourcemaps() ] }; + export default config; diff --git a/sdk/iotspaces/arm-iotspaces/src/ioTSpacesClientContext.ts b/sdk/iotspaces/arm-iotspaces/src/ioTSpacesClientContext.ts index ee7fd255ff8a..4bde646949b4 100644 --- a/sdk/iotspaces/arm-iotspaces/src/ioTSpacesClientContext.ts +++ b/sdk/iotspaces/arm-iotspaces/src/ioTSpacesClientContext.ts @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-iotspaces"; -const packageVersion = "0.1.0"; +const packageVersion = "30.0.0"; export class IoTSpacesClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; diff --git a/sdk/iotspaces/arm-iotspaces/src/models/index.ts b/sdk/iotspaces/arm-iotspaces/src/models/index.ts index ee6cdfc8d690..1a18611e1924 100644 --- a/sdk/iotspaces/arm-iotspaces/src/models/index.ts +++ b/sdk/iotspaces/arm-iotspaces/src/models/index.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; @@ -13,318 +11,238 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; - /** - * @interface - * An interface representing StorageContainerProperties. * The properties of the Azure Storage Container for file archive. - * */ export interface StorageContainerProperties { /** - * @member {string} [connectionString] The connection string of the storage - * account. + * The connection string of the storage account. */ connectionString?: string; /** - * @member {string} [subscriptionId] The subscription identifier of the - * storage account. + * The subscription identifier of the storage account. */ subscriptionId?: string; /** - * @member {string} [resourceGroup] The name of the resource group of the - * storage account. + * The name of the resource group of the storage account. */ resourceGroup?: string; /** - * @member {string} [containerName] The name of storage container in the - * storage account. + * The name of storage container in the storage account. */ containerName?: string; } /** - * @interface - * An interface representing IoTSpacesProperties. * The properties of an IoTSpaces instance. - * */ export interface IoTSpacesProperties { /** - * @member {ProvisioningState} [provisioningState] The provisioning state. - * Possible values include: 'Provisioning', 'Deleting', 'Succeeded', + * The provisioning state. Possible values include: 'Provisioning', 'Deleting', 'Succeeded', * 'Failed', 'Canceled' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; /** - * @member {string} [managementApiUrl] The management Api endpoint. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The management Api endpoint. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly managementApiUrl?: string; /** - * @member {string} [webPortalUrl] The management UI endpoint. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The management UI endpoint. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly webPortalUrl?: string; /** - * @member {StorageContainerProperties} [storageContainer] The properties of - * the designated storage container. + * The properties of the designated storage container. */ storageContainer?: StorageContainerProperties; } /** - * @interface - * An interface representing IoTSpacesSkuInfo. * Information about the SKU of the IoTSpaces instance. - * */ export interface IoTSpacesSkuInfo { /** - * @member {IoTSpacesSku} name The name of the SKU. Possible values include: - * 'F1', 'S1', 'S2', 'S3' + * The name of the SKU. Possible values include: 'F1', 'S1', 'S2', 'S3' */ name: IoTSpacesSku; } /** - * @interface - * An interface representing Resource. * The common properties of an IoTSpaces service. - * - * @extends BaseResource */ export interface Resource extends BaseResource { /** - * @member {string} [id] The resource identifier. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The resource identifier. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] The resource name. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The resource name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [type] The resource type. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The resource type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * @member {string} location The resource location. + * The resource location. */ location: string; /** - * @member {{ [propertyName: string]: string }} [tags] The resource tags. + * The resource tags. */ tags?: { [propertyName: string]: string }; } /** - * @interface - * An interface representing IoTSpacesDescription. * The description of the IoTSpaces service. - * - * @extends Resource */ export interface IoTSpacesDescription extends Resource { /** - * @member {IoTSpacesProperties} [properties] The common properties of a - * IoTSpaces service. + * The common properties of a IoTSpaces service. */ properties?: IoTSpacesProperties; /** - * @member {IoTSpacesSkuInfo} sku A valid instance SKU. + * A valid instance SKU. */ sku: IoTSpacesSkuInfo; } /** - * @interface - * An interface representing IoTSpacesPatchDescription. * The description of the IoTSpaces service. - * */ export interface IoTSpacesPatchDescription { /** - * @member {{ [propertyName: string]: string }} [tags] Instance tags + * Instance tags */ tags?: { [propertyName: string]: string }; /** - * @member {IoTSpacesProperties} [properties] The common properties of an - * IoTSpaces service. + * The common properties of an IoTSpaces service. */ properties?: IoTSpacesProperties; } /** - * @interface - * An interface representing ErrorDetails. * Error details. - * */ export interface ErrorDetails { /** - * @member {string} [code] The error code. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The error code. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly code?: string; /** - * @member {string} [message] The error message. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The error message. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly message?: string; /** - * @member {string} [target] The target of the particular error. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The target of the particular error. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly target?: string; } /** - * @interface - * An interface representing OperationDisplay. * The object that represents the operation. - * */ export interface OperationDisplay { /** - * @member {string} [provider] Service provider: Microsoft IoTSpaces - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Service provider: Microsoft IoTSpaces + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provider?: string; /** - * @member {string} [resource] Resource Type: IoTSpaces - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Resource Type: IoTSpaces + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly resource?: string; /** - * @member {string} [operation] Name of the operation - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Name of the operation + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly operation?: string; /** - * @member {string} [description] Friendly description for the operation, - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Friendly description for the operation, + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly description?: string; } /** - * @interface - * An interface representing Operation. * IoTSpaces service REST API operation - * */ export interface Operation { /** - * @member {string} [name] Operation name: {provider}/{resource}/{read | - * write | action | delete} - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Operation name: {provider}/{resource}/{read | write | action | delete} + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; - /** - * @member {OperationDisplay} [display] - */ display?: OperationDisplay; } /** - * @interface - * An interface representing OperationInputs. * Input values. - * */ export interface OperationInputs { /** - * @member {string} name The name of the IoTSpaces service instance to check. + * The name of the IoTSpaces service instance to check. */ name: string; } /** - * @interface - * An interface representing IoTSpacesNameAvailabilityInfo. - * The properties indicating whether a given IoTSpaces service name is - * available. - * + * The properties indicating whether a given IoTSpaces service name is available. */ export interface IoTSpacesNameAvailabilityInfo { /** - * @member {boolean} [nameAvailable] The value which indicates whether the - * provided name is available. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The value which indicates whether the provided name is available. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly nameAvailable?: boolean; /** - * @member {IoTSpacesNameUnavailabilityReason} [reason] The reason for - * unavailability. Possible values include: 'Invalid', 'AlreadyExists' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The reason for unavailability. Possible values include: 'Invalid', 'AlreadyExists' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly reason?: IoTSpacesNameUnavailabilityReason; /** - * @member {string} [message] The detailed reason message. + * The detailed reason message. */ message?: string; } /** - * @interface * An interface representing IoTSpacesClientOptions. - * @extends AzureServiceClientOptions */ export interface IoTSpacesClientOptions extends AzureServiceClientOptions { - /** - * @member {string} [baseUri] - */ baseUri?: string; } - /** * @interface - * An interface representing the IoTSpacesDescriptionListResult. * A list of IoTSpaces description objects with a next link. - * * @extends Array */ export interface IoTSpacesDescriptionListResult extends Array { /** - * @member {string} [nextLink] The link used to get the next page of - * IoTSpaces description objects. + * The link used to get the next page of IoTSpaces description objects. */ nextLink?: string; } /** * @interface - * An interface representing the OperationListResult. - * A list of IoTSpaces service operations. It contains a list of operations and - * a URL link to get the next set of results. - * + * A list of IoTSpaces service operations. It contains a list of operations and a URL link to get + * the next set of results. * @extends Array */ export interface OperationListResult extends Array { /** - * @member {string} [nextLink] The link used to get the next page of - * IoTSpaces description objects. + * The link used to get the next page of IoTSpaces description objects. */ nextLink?: string; } @@ -365,6 +283,7 @@ export type IoTSpacesGetResponse = IoTSpacesDescription & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -384,6 +303,7 @@ export type IoTSpacesCreateOrUpdateResponse = IoTSpacesDescription & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -403,6 +323,7 @@ export type IoTSpacesUpdateResponse = IoTSpacesDescription & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -422,6 +343,7 @@ export type IoTSpacesDeleteMethodResponse = IoTSpacesDescription & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -441,6 +363,7 @@ export type IoTSpacesListResponse = IoTSpacesDescriptionListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -460,6 +383,7 @@ export type IoTSpacesListByResourceGroupResponse = IoTSpacesDescriptionListResul * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -479,6 +403,7 @@ export type IoTSpacesCheckNameAvailabilityResponse = IoTSpacesNameAvailabilityIn * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -498,6 +423,7 @@ export type IoTSpacesBeginCreateOrUpdateResponse = IoTSpacesDescription & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -517,6 +443,7 @@ export type IoTSpacesBeginUpdateResponse = IoTSpacesDescription & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -536,6 +463,7 @@ export type IoTSpacesBeginDeleteMethodResponse = IoTSpacesDescription & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -555,6 +483,7 @@ export type IoTSpacesListNextResponse = IoTSpacesDescriptionListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -574,6 +503,7 @@ export type IoTSpacesListByResourceGroupNextResponse = IoTSpacesDescriptionListR * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -593,6 +523,7 @@ export type OperationsListResponse = OperationListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -612,6 +543,7 @@ export type OperationsListNextResponse = OperationListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ diff --git a/sdk/iotspaces/arm-iotspaces/src/models/ioTSpacesMappers.ts b/sdk/iotspaces/arm-iotspaces/src/models/ioTSpacesMappers.ts index 47f45b5a2dff..52d0d07fa0a7 100644 --- a/sdk/iotspaces/arm-iotspaces/src/models/ioTSpacesMappers.ts +++ b/sdk/iotspaces/arm-iotspaces/src/models/ioTSpacesMappers.ts @@ -1,24 +1,21 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - IoTSpacesDescription, - Resource, BaseResource, - IoTSpacesProperties, - StorageContainerProperties, - IoTSpacesSkuInfo, ErrorDetails, - IoTSpacesPatchDescription, + IoTSpacesDescription, IoTSpacesDescriptionListResult, + IoTSpacesNameAvailabilityInfo, + IoTSpacesPatchDescription, + IoTSpacesProperties, + IoTSpacesSkuInfo, OperationInputs, - IoTSpacesNameAvailabilityInfo + Resource, + StorageContainerProperties } from "../models/mappers"; - diff --git a/sdk/iotspaces/arm-iotspaces/src/models/mappers.ts b/sdk/iotspaces/arm-iotspaces/src/models/mappers.ts index 7b37f9c4e800..1f4889c09d93 100644 --- a/sdk/iotspaces/arm-iotspaces/src/models/mappers.ts +++ b/sdk/iotspaces/arm-iotspaces/src/models/mappers.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; diff --git a/sdk/iotspaces/arm-iotspaces/src/models/operationsMappers.ts b/sdk/iotspaces/arm-iotspaces/src/models/operationsMappers.ts index 50fee90a2573..5d69c8a954f1 100644 --- a/sdk/iotspaces/arm-iotspaces/src/models/operationsMappers.ts +++ b/sdk/iotspaces/arm-iotspaces/src/models/operationsMappers.ts @@ -1,17 +1,14 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - OperationListResult, + ErrorDetails, Operation, OperationDisplay, - ErrorDetails + OperationListResult } from "../models/mappers"; - diff --git a/sdk/iotspaces/arm-iotspaces/tsconfig.json b/sdk/iotspaces/arm-iotspaces/tsconfig.json index 87bbf5b5fa49..422b584abd5e 100644 --- a/sdk/iotspaces/arm-iotspaces/tsconfig.json +++ b/sdk/iotspaces/arm-iotspaces/tsconfig.json @@ -9,7 +9,7 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6"], + "lib": ["es6", "dom"], "declaration": true, "outDir": "./esm", "importHelpers": true