From 99bafe66c839238aeb614c6f6e38ad5543b6ff76 Mon Sep 17 00:00:00 2001 From: Slobodan Pavkov Date: Tue, 15 Mar 2022 12:34:56 +0100 Subject: [PATCH] Operator connect API review --- custom-words.txt | 1 + .../examples/CreateConsent.json | 98 ++++ .../examples/GetConsent.json | 41 ++ .../examples/GetConsents.json | 73 +++ .../examples/GetOperators.json | 49 ++ .../examples/UpdateConsent.json | 98 ++++ .../2022-04-03-preview/operatorconnect.json | 495 ++++++++++++++++++ .../data-plane/OperatorConnect/readme.md | 61 +++ .../OperatorConnect/readme.typescript.md | 13 + 9 files changed, 929 insertions(+) create mode 100644 specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/examples/CreateConsent.json create mode 100644 specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/examples/GetConsent.json create mode 100644 specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/examples/GetConsents.json create mode 100644 specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/examples/GetOperators.json create mode 100644 specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/examples/UpdateConsent.json create mode 100644 specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/operatorconnect.json create mode 100644 specification/communication/data-plane/OperatorConnect/readme.md create mode 100644 specification/communication/data-plane/OperatorConnect/readme.typescript.md diff --git a/custom-words.txt b/custom-words.txt index 6d28e64086e9..1e25dc6fb697 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -2505,4 +2505,5 @@ Vuln IAASVM Quickbase Smartsheet +operatorconnect Qualys \ No newline at end of file diff --git a/specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/examples/CreateConsent.json b/specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/examples/CreateConsent.json new file mode 100644 index 000000000000..dc803f93e972 --- /dev/null +++ b/specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/examples/CreateConsent.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "api-version": "2022-04-03-preview", + "endpoint": "https://resourcename.communication.azure.com/", + "operatorId": "dee34eed-b610-4b8b-9130-0f9a0de97a20", + "body": { + "status": "Suspended", + "consentedBy": { + "fullName": "John Doe", + "email": "admin@contoso.net", + "phoneNumber": "+12345678901" + }, + "lastModifiedBy": { + "fullName": "John Doe", + "email": "admin@contoso.net", + "phoneNumber": "+12345678901" + }, + "consentedCountries": [ + "US", + "AU" + ], + "contacts": [ + { + "fullName": "Jane Doe", + "email": "name1@contoso.net", + "phoneNumber": "+12345678901" + } + ], + "companyName": "Contoso" + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "operatorId": "e6716961-215e-4da7-9584-1797db3addb1", + "status": "Active", + "consentedBy": { + "fullName": "John Doe", + "email": "admin@contoso.net" + }, + "consentedOn": "2021-04-07T23:57:17.1589393+00:00", + "lastModifiedBy": { + "fullName": "John Doe", + "email": "admin@contoso.net" + }, + "lastModifiedOn": "2022-02-15T09:18:17.1169748+00:00", + "consentedCountries": [ + "KK", + "CA", + "US", + "AU", + "GB" + ], + "companyName": "Contoso", + "contacts": [ + { + "fullName": "John Q. Customer", + "email": "sometestname1@contoso.net", + "phoneNumber": "+12345678901" + } + ] + } + }, + "201": { + "headers": {}, + "body": { + "operatorId": "e6716961-215e-4da7-9584-1797db3addb1", + "status": "Active", + "consentedBy": { + "fullName": "John Doe", + "email": "admin@contoso.net" + }, + "consentedOn": "2021-04-07T23:57:17.1589393+00:00", + "lastModifiedBy": { + "fullName": "John Doe", + "email": "admin@contoso.net" + }, + "lastModifiedOn": "2022-02-15T09:18:17.1169748+00:00", + "consentedCountries": [ + "KK", + "CA", + "US", + "AU", + "GB" + ], + "companyName": "Contoso", + "contacts": [ + { + "fullName": "John Q. Customer", + "email": "sometestname1@contoso.net", + "phoneNumber": "+12345678901" + } + ] + } + } + } +} diff --git a/specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/examples/GetConsent.json b/specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/examples/GetConsent.json new file mode 100644 index 000000000000..b7255b83090b --- /dev/null +++ b/specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/examples/GetConsent.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2022-04-03-preview", + "endpoint": "https://resourcename.communication.azure.com/", + "operatorId": "dee34eed-b610-4b8b-9130-0f9a0de97a20" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "operatorId": "e6716961-215e-4da7-9584-1797db3addb1", + "status": "Suspended", + "consentedBy": { + "fullName": "John Doe", + "email": "admin@contoso.net" + }, + "consentedOn": "2021-04-07T23:57:17.1589393+00:00", + "lastModifiedBy": { + "fullName": "John Doe", + "email": "admin@contoso.net" + }, + "lastModifiedOn": "2022-02-15T09:18:17.1169748+00:00", + "consentedCountries": [ + "KK", + "CA", + "US", + "AU", + "GB" + ], + "companyName": "Contoso", + "contacts": [ + { + "fullName": "John Q. Customer", + "email": "sometestname1@contoso.net", + "phoneNumber": "+12345678901" + } + ] + } + } + } +} diff --git a/specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/examples/GetConsents.json b/specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/examples/GetConsents.json new file mode 100644 index 000000000000..761ed0b2f767 --- /dev/null +++ b/specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/examples/GetConsents.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "api-version": "2022-04-03-preview", + "endpoint": "https://resourcename.communication.azure.com/" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "operatorId": "e6716961-215e-4da7-9584-1797db3addb1", + "status": "Suspended", + "consentedBy": { + "fullName": "John Doe", + "email": "admin@contoso.net" + }, + "consentedOn": "2021-04-07T23:57:17.1589393+00:00", + "lastModifiedBy": { + "fullName": "John Doe", + "email": "admin@contoso.net" + }, + "lastModifiedOn": "2022-02-15T09:18:17.1169748+00:00", + "consentedCountries": [ + "KK", + "CA", + "US", + "AU", + "GB" + ], + "companyName": "Contoso", + "contacts": [ + { + "fullName": "John Q. Customer", + "email": "sometestname1@contoso.net", + "phoneNumber": "+12345678901" + } + ] + }, + { + "operatorId": "e6716961-215e-4da7-9584-1797db3addb2", + "status": "Active", + "consentedBy": { + "fullName": "Jane Doe", + "email": "admin2@contoso.net" + }, + "consentedOn": "2021-04-07T23:57:17.1589393+00:00", + "lastModifiedBy": { + "fullName": "Jane Doe", + "email": "admin2@contoso.net" + }, + "lastModifiedOn": "2022-02-15T09:18:17.1169748+00:00", + "consentedCountries": [ + "KK", + "CA", + "US", + "AU", + "GB" + ], + "companyName": "Contoso", + "contacts": [ + { + "fullName": "Jane Q. Customer", + "email": "sometestname2@contoso.net", + "phoneNumber": "" + } + ] + } + ] + } + } + } +} diff --git a/specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/examples/GetOperators.json b/specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/examples/GetOperators.json new file mode 100644 index 000000000000..b3809a200054 --- /dev/null +++ b/specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/examples/GetOperators.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2022-04-03-preview", + "endpoint": "https://resourcename.communication.azure.com/" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "operatorId": "e6716961-215e-4da7-9584-1797db3addb1", + "friendlyName": "Operator Inc.", + "landingPage": "https://www.operatorhomepage1.net/sample-landing-page", + "logoUri": "https://www.operatorhomepage1.net/sample-logo.png", + "logoThumbnailUri": null, + "acquiredNumbersCount": 1, + "offerings": [ + { + "offerType": "Calling", + "availableCountries": [ + "US", + "EE" + ] + } + ] + }, + { + "operatorId": "e6716961-215e-4da7-9584-1797db3addb2", + "friendlyName": "Mobile LLC", + "landingPage": "https://www.operatorhomepage2.net/sample-landing-page", + "logoUri": "https://www.operatorhomepage2.net/sample-logo.png", + "logoThumbnailUri": null, + "acquiredNumbersCount": 0, + "offerings": [ + { + "offerType": "Calling", + "availableCountries": [ + "US", + "CA" + ] + } + ] + } + ] + } + } + } +} diff --git a/specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/examples/UpdateConsent.json b/specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/examples/UpdateConsent.json new file mode 100644 index 000000000000..dc803f93e972 --- /dev/null +++ b/specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/examples/UpdateConsent.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "api-version": "2022-04-03-preview", + "endpoint": "https://resourcename.communication.azure.com/", + "operatorId": "dee34eed-b610-4b8b-9130-0f9a0de97a20", + "body": { + "status": "Suspended", + "consentedBy": { + "fullName": "John Doe", + "email": "admin@contoso.net", + "phoneNumber": "+12345678901" + }, + "lastModifiedBy": { + "fullName": "John Doe", + "email": "admin@contoso.net", + "phoneNumber": "+12345678901" + }, + "consentedCountries": [ + "US", + "AU" + ], + "contacts": [ + { + "fullName": "Jane Doe", + "email": "name1@contoso.net", + "phoneNumber": "+12345678901" + } + ], + "companyName": "Contoso" + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "operatorId": "e6716961-215e-4da7-9584-1797db3addb1", + "status": "Active", + "consentedBy": { + "fullName": "John Doe", + "email": "admin@contoso.net" + }, + "consentedOn": "2021-04-07T23:57:17.1589393+00:00", + "lastModifiedBy": { + "fullName": "John Doe", + "email": "admin@contoso.net" + }, + "lastModifiedOn": "2022-02-15T09:18:17.1169748+00:00", + "consentedCountries": [ + "KK", + "CA", + "US", + "AU", + "GB" + ], + "companyName": "Contoso", + "contacts": [ + { + "fullName": "John Q. Customer", + "email": "sometestname1@contoso.net", + "phoneNumber": "+12345678901" + } + ] + } + }, + "201": { + "headers": {}, + "body": { + "operatorId": "e6716961-215e-4da7-9584-1797db3addb1", + "status": "Active", + "consentedBy": { + "fullName": "John Doe", + "email": "admin@contoso.net" + }, + "consentedOn": "2021-04-07T23:57:17.1589393+00:00", + "lastModifiedBy": { + "fullName": "John Doe", + "email": "admin@contoso.net" + }, + "lastModifiedOn": "2022-02-15T09:18:17.1169748+00:00", + "consentedCountries": [ + "KK", + "CA", + "US", + "AU", + "GB" + ], + "companyName": "Contoso", + "contacts": [ + { + "fullName": "John Q. Customer", + "email": "sometestname1@contoso.net", + "phoneNumber": "+12345678901" + } + ] + } + } + } +} diff --git a/specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/operatorconnect.json b/specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/operatorconnect.json new file mode 100644 index 000000000000..3dbf67e8d2d5 --- /dev/null +++ b/specification/communication/data-plane/OperatorConnect/preview/2022-04-03-preview/operatorconnect.json @@ -0,0 +1,495 @@ +{ + "swagger": "2.0", + "info": { + "title": "Operator Connect", + "version": "2022-04-03-preview" + }, + "paths": { + "/operatorconnect/operators": { + "get": { + "tags": [ + "Operator" + ], + "x-ms-examples": { + "GetOperators": { + "$ref": "./examples/GetOperators.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink", + "itemName": "value" + }, + "description": "This endpoint gets a list of all operators", + "summary": "Get a list of all operators", + "produces": [ + "application/json" + ], + "operationId": "GetOperators", + "parameters": [ + { + "in": "query", + "name": "skip", + "description": "An optional parameter for how many entries to skip, for pagination purposes. The default value is 0.", + "type": "integer", + "format": "int32", + "default": 0 + }, + { + "in": "query", + "name": "top", + "description": "An optional parameter for how many entries to return, for pagination purposes. The default will return the entire list.", + "type": "integer", + "format": "int32" + }, + { + "in": "query", + "name": "api-version", + "description": "Version of API", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ListOfOperators" + }, + "headers": { + "x-ms-request-id": { + "type": "string", + "description": "Microsoft request id used for tracing requests." + } + } + }, + "default": { + "description": "Failure", + "schema": { + "$ref": "../../../Common/stable/2021-03-07/common.json#/definitions/CommunicationErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "Error code" + } + } + } + } + } + }, + "/operatorconnect/consents": { + "get": { + "tags": [ + "Consent" + ], + "x-ms-examples": { + "GetConsents": { + "$ref": "./examples/GetConsents.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink", + "itemName": "value" + }, + "description": "This endpoint gets a list of all Consents with Operators for the current user", + "summary": "Get a list of all Consents with Operators for current user", + "produces": [ + "application/json" + ], + "operationId": "GetConsents", + "parameters": [ + { + "in": "query", + "name": "skip", + "description": "An optional parameter for how many entries to skip, for pagination purposes. The default value is 0.", + "type": "integer", + "format": "int32", + "default": 0 + }, + { + "in": "query", + "name": "top", + "description": "An optional parameter for how many entries to return, for pagination purposes. The default will return the entire list.", + "type": "integer", + "format": "int32" + }, + { + "in": "query", + "name": "api-version", + "description": "Version of API", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ListOfConsents" + }, + "headers": { + "x-ms-request-id": { + "type": "string", + "description": "Microsoft request id used for tracing requests." + } + } + }, + "default": { + "description": "Failure", + "schema": { + "$ref": "../../../Common/stable/2021-03-07/common.json#/definitions/CommunicationErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "Error code" + } + } + } + } + } + }, + "/operatorconnect/consents/{operatorId}": { + "get": { + "tags": [ + "Consent" + ], + "x-ms-examples": { + "GetConsents": { + "$ref": "./examples/GetConsent.json" + } + }, + "description": "This endpoint gets single Consent with Operator for current user", + "summary": "Get single Consent with Operator for current user", + "produces": [ + "application/json" + ], + "operationId": "GetConsent", + "parameters": [ + { + "in": "path", + "name": "operatorId", + "description": "The id of Operator with who user has signed consent", + "required": true, + "type": "string" + }, + { + "in": "query", + "name": "api-version", + "description": "Version of API", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/Consent" + }, + "headers": { + "x-ms-request-id": { + "type": "string", + "description": "Microsoft request id used for tracing requests." + } + } + }, + "default": { + "description": "Failure", + "schema": { + "$ref": "../../../Common/stable/2021-03-07/common.json#/definitions/CommunicationErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "Error code" + } + } + } + } + }, + "patch": { + "tags": [ + "Consent" + ], + "x-ms-examples": { + "CreateConsent": { + "$ref": "./examples/CreateConsent.json" + }, + "UpdateConsent": { + "$ref": "./examples/UpdateConsent.json" + } + }, + "consumes": [ + "application/merge-patch+json" + ], + "produces": [ + "application/json" + ], + "operationId": "CreateOrUpdateConsent", + "description": "This endpoint creates new or updates the existing Consent with Operator", + "summary": "Create new or update existing Consent with Operator for current user", + "parameters": [ + { + "in": "query", + "name": "api-version", + "description": "Version of API", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "operatorId", + "description": "The id of the Operator with who user wants to create new or update existing consent", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "The request to send to create new or update existing consent with an operator", + "required": true, + "schema": { + "$ref": "#/definitions/CreateOrUpdateConsentRequest" + } + } + ], + "responses": { + "200": { + "description": "Consent Updated", + "schema": { + "$ref": "#/definitions/Consent" + }, + "headers": { + "x-ms-request-id": { + "type": "string", + "description": "Microsoft request id used for tracing requests." + } + } + }, + "201": { + "description": "Consent Created", + "schema": { + "$ref": "#/definitions/Consent" + }, + "headers": { + "x-ms-request-id": { + "type": "string", + "description": "Microsoft request id used for tracing requests." + } + } + }, + "default": { + "description": "Failure", + "schema": { + "$ref": "../../../Common/stable/2021-03-07/common.json#/definitions/CommunicationErrorResponse" + }, + "headers": { + "x-ms-error-code": { + "type": "string", + "description": "Error code" + } + } + } + } + } + } + }, + "definitions": { + "ListOfOperators": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operator" + } + }, + "nextLink": { + "type": "string", + "description": "Represents the URL link to the next page of operators." + } + }, + "required": [ + "value" + ] + }, + "ListOfConsents": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Consent" + } + }, + "nextLink": { + "type": "string", + "description": "Represents the URL link to the next page of consents." + } + }, + "required": [ + "value" + ] + }, + "CreateOrUpdateConsentRequest": { + "type": "object", + "properties": { + "status": { + "$ref": "#/definitions/ConsentStatus" + }, + "consentedBy": { + "$ref": "#/definitions/Contact" + }, + "lastModifiedBy": { + "$ref": "#/definitions/Contact" + }, + "consentedCountries": { + "type": "array", + "description": "List of 2 character codes of available countries in ISO 3166-1 format", + "items": { + "type": "string" + } + }, + "contacts": { + "type": "array", + "items": { + "$ref": "#/definitions/Contact" + } + }, + "companyName": { + "type": "string" + } + }, + "additionalProperties": false + }, + "Operator": { + "type": "object", + "properties": { + "operatorId": { + "type": "string", + "description": "Unique GUID that represents the operator record" + }, + "friendlyName": { + "type": "string", + "description": "Public facing brand name of the operator" + }, + "landingPage": { + "type": "string", + "description": "URL of the Operator's Operator Connect offerings" + }, + "logoUri": { + "type": "string", + "description": "URL of the Operator's logo" + }, + "logoThumbnailUri": { + "type": "string", + "description": "URL of the Operator's thumbnail logo" + }, + "acquiredNumbersCount": { + "type": "integer", + "description": "Count of phone numbers acquired from the operator" + }, + "offerings": { + "type": "array", + "items": { + "$ref": "#/definitions/OperatorOffering" + } + } + }, + "additionalProperties": false + }, + "Consent": { + "type": "object", + "properties": { + "operatorId": { + "type": "string", + "description": "Unique GUID that represents the operator record" + }, + "status": { + "$ref": "#/definitions/ConsentStatus" + }, + "consentedBy": { + "$ref": "#/definitions/Contact", + "description": "Contact information of user that granted the consent to operator" + }, + "consentedOn": { + "type": "string", + "description": "Date/Time when the consent was provided", + "format": "date-time" + }, + "lastModifiedBy": { + "$ref": "#/definitions/Contact", + "description": "Contact information of user that last modified the consent" + }, + "lastModifiedOn": { + "type": "string", + "description": "Date/Time when the consent was last updated", + "format": "date-time" + }, + "consentedCountries": { + "type": "array", + "description": "List of 2 character codes of available countries in ISO 3166-1 format", + "items": { + "type": "string" + } + }, + "contacts": { + "type": "array", + "items": { + "$ref": "#/definitions/Contact" + }, + "description": "List of contact information" + }, + "companyName": { + "type": "string", + "description": "User company name" + } + }, + "additionalProperties": false + }, + "Contact": { + "type": "object", + "properties": { + "fullName": { + "type": "string", + "description": "Full name of the contact" + }, + "email": { + "type": "string", + "description": "Email address of the contact" + }, + "phoneNumber": { + "type": "string", + "description": "Phone number of the contact with a leading + and country code" + } + }, + "additionalProperties": false + }, + "ConsentStatus": { + "type": "string", + "description": "Status of the consent", + "enum": [ + "Active", + "Suspended", + "Removed" + ] + }, + "OperatorOffering": { + "type": "object", + "properties": { + "offerType": { + "type": "string", + "description": "The type of offer that operator is advertising" + }, + "availableCountries": { + "type": "array", + "description": "List of 2 character codes of available countries in ISO 3166-1 format", + "items": { + "type": "string" + } + } + } + } + } +} diff --git a/specification/communication/data-plane/OperatorConnect/readme.md b/specification/communication/data-plane/OperatorConnect/readme.md new file mode 100644 index 000000000000..ff1aeffb02ab --- /dev/null +++ b/specification/communication/data-plane/OperatorConnect/readme.md @@ -0,0 +1,61 @@ +# communicationservices + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for communicationservices. + +## Getting Started + +To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run: + +> `autorest readme.md` + +To see additional help and options, run: + +> `autorest --help` + +For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page. + +--- + +## Configuration + +### Basic Information + +These are the global settings for the communicationservices. + +```yaml +openapi-type: data-plane +tag: package-2022-04-03-preview +``` + +### Tag: package-operatorconnect-2022-04-03-preview + +These settings apply only when `--tag=package-operatorconnect-2022-04-03-preview` is specified on the command line. + +```yaml $(tag) == 'package-operatorconnect-2022-04-03-preview' +input-file: + - preview/2022-04-03-preview/operatorconnect.json +title: + Azure Communication Services +``` + +## Supression +``` yaml +directive: + - from: + - operatorconnect.json +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) \ No newline at end of file diff --git a/specification/communication/data-plane/OperatorConnect/readme.typescript.md b/specification/communication/data-plane/OperatorConnect/readme.typescript.md new file mode 100644 index 000000000000..be9f877fd1c2 --- /dev/null +++ b/specification/communication/data-plane/OperatorConnect/readme.typescript.md @@ -0,0 +1,13 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +```yaml $(typescript) +typescript: + azure-arm: true + package-name: "communicationservices" + output-folder: "$(typescript-sdks-folder)/packages/communicationservices" + payload-flattening-threshold: 1 + generate-metadata: true +```