Skip to content

Commit

Permalink
[Communication] - autorest - Follow up to automatic version increment…
Browse files Browse the repository at this point in the history
…er (Azure#14249)

* [package] update the version number

* [autorest] generate new autorest

* [autorest] phone number generated

* [autorest] phone number generated from autorest

* [autorest] Update package version manually
  • Loading branch information
JoshuaLai authored Mar 12, 2021
1 parent 77621b2 commit 869a723
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
"dependencies": {
"@azure/abort-controller": "^1.0.0",
"@azure/communication-common": "1.0.0-beta.6",
"@azure/communication-common": "1.0.0-beta.7",
"@azure/core-auth": "^1.2.0",
"@azure/core-http": "^1.2.0",
"@azure/core-lro": "^1.0.2",
Expand Down
4 changes: 2 additions & 2 deletions sdk/communication/communication-chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"types": "types/communication-chat.d.ts",
"scripts": {
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
"build:autorest": "autorest ./swagger/README.md --typescript --version=3.0.6267 --v3 --disable-async-iterators=true --package-version=1.0.0-beta.5 && rushx format",
"build:autorest": "autorest ./swagger/README.md --typescript --version=3.0.6267 --v3 --disable-async-iterators=true --package-version=1.0.0-beta.6 && rushx format",
"build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1",
"build:node": "tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1",
"build:samples": "echo Skipped.",
Expand Down Expand Up @@ -65,7 +65,7 @@
"prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
"dependencies": {
"@azure/abort-controller": "^1.0.0",
"@azure/communication-common": "1.0.0-beta.6",
"@azure/communication-common": "1.0.0-beta.7",
"@azure/communication-signaling": "1.0.0-beta.2",
"@azure/core-auth": "^1.2.0",
"@azure/core-http": "^1.2.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/communication-chat/src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

export const SDK_VERSION: string = "1.0.0-beta.5";
export const SDK_VERSION: string = "1.0.0-beta.6";
2 changes: 1 addition & 1 deletion sdk/communication/communication-identity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
"dependencies": {
"@azure/abort-controller": "^1.0.0",
"@azure/communication-common": "1.0.0-beta.6",
"@azure/communication-common": "1.0.0-beta.7",
"@azure/core-auth": "^1.2.0",
"@azure/core-http": "^1.2.0",
"@azure/core-lro": "^1.0.2",
Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/communication-identity/src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

export const SDK_VERSION: string = "1.0.0-beta.5";
export const SDK_VERSION: string = "1.0.0-beta.6";
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http";
import { IdentityRestClientOptionalParams } from "./models";

const packageName = "azure-communication-identity";
const packageVersion = "1.0.0-beta.5";
const packageVersion = "1.0.0-beta.6";

export class IdentityRestClientContext extends coreHttp.ServiceClient {
endpoint: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ export type CommunicationIdentityTokenScope = "chat" | "voip";
/**
* Optional parameters.
*/
export interface CommunicationIdentityCreateOptionalParams extends coreHttp.OperationOptions {
export interface CommunicationIdentityCreateOptionalParams
extends coreHttp.OperationOptions {
body?: CommunicationIdentityCreateRequest;
}

Expand Down Expand Up @@ -151,7 +152,8 @@ export type CommunicationIdentityIssueAccessTokenResponse = CommunicationIdentit
/**
* Optional parameters.
*/
export interface IdentityRestClientOptionalParams extends coreHttp.ServiceClientOptions {
export interface IdentityRestClientOptionalParams
extends coreHttp.ServiceClientOptions {
/**
* Api Version
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ export class CommunicationIdentity {
* @param id Identifier of the identity to be deleted.
* @param options The options parameters.
*/
delete(id: string, options?: coreHttp.OperationOptions): Promise<coreHttp.RestResponse> {
delete(
id: string,
options?: coreHttp.OperationOptions
): Promise<coreHttp.RestResponse> {
const operationOptions: coreHttp.RequestOptionsBase = coreHttp.operationOptionsToRequestOptionsBase(
options || {}
);
Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/communication-identity/swagger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
package-name: azure-communication-identity
override-client-name: IdentityRestClient
description: Communication identity client
package-version: 1.0.0-beta.5
package-version: 1.0.0-beta.6
generate-metadata: false
license-header: MICROSOFT_MIT_NO_VERSION
output-folder: ../src/generated
Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/communication-phone-numbers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"sideEffects": false,
"prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
"dependencies": {
"@azure/communication-common": "1.0.0-beta.6",
"@azure/communication-common": "1.0.0-beta.7",
"@azure/abort-controller": "^1.0.0",
"@azure/core-auth": "^1.2.0",
"@azure/core-http": "^1.2.0",
Expand Down
4 changes: 2 additions & 2 deletions sdk/communication/communication-sms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"types": "types/communication-sms.d.ts",
"scripts": {
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
"build:autorest": "autorest ./swagger/README.md --typescript --v3 --package-version=1.0.0-beta.4 && rushx format",
"build:autorest": "autorest ./swagger/README.md --typescript --v3 --package-version=1.0.0-beta.5 && rushx format",
"build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1",
"build:node": "tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1",
"build:samples": "dev-tool samples prep && cd dist-samples && tsc -p .",
Expand Down Expand Up @@ -68,7 +68,7 @@
"prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
"dependencies": {
"@azure/abort-controller": "^1.0.0",
"@azure/communication-common": "1.0.0-beta.6",
"@azure/communication-common": "1.0.0-beta.7",
"@azure/core-auth": "^1.2.0",
"@azure/core-http": "^1.2.0",
"@azure/core-tracing": "1.0.0-preview.10",
Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/communication-sms/src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

export const SDK_VERSION: string = "1.0.0-beta.4";
export const SDK_VERSION: string = "1.0.0-beta.5";
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ export type SmsSendOperationResponse = SmsSendResponse & {
/**
* Optional parameters.
*/
export interface SmsApiClientOptionalParams extends coreHttp.ServiceClientOptions {
export interface SmsApiClientOptionalParams
extends coreHttp.ServiceClientOptions {
/**
* Api Version
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,10 @@ class SmsApiClient extends SmsApiClientContext {

// Operation Specifications

export { SmsApiClient, SmsApiClientContext, Models as SmsApiModels, Mappers as SmsApiMappers };
export {
SmsApiClient,
SmsApiClientContext,
Models as SmsApiModels,
Mappers as SmsApiMappers
};
export * from "./operations";
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http";
import { SmsApiClientOptionalParams } from "./models";

const packageName = "azure-communication-sms";
const packageVersion = "1.0.0-beta.4";
const packageVersion = "1.0.0-beta.5";

export class SmsApiClientContext extends coreHttp.ServiceClient {
endpoint: string;
Expand Down

0 comments on commit 869a723

Please sign in to comment.