Skip to content

Commit

Permalink
[communication] new phone numbers library (#14012)
Browse files Browse the repository at this point in the history
* [communication] new phone numbers package (#13349)

* [communication] update new phone numbers client (#13560)

* [communication] disable extensible enums (#13806)

* [communication] new phone numbers package (#13349)

* [communication] update new phone numbers client (#13560)

* [communication] disable extensible enums (#13806)

* [communication] add samples to readme (#13957)

* [communication] regenerate client from latest swagger (#13976)

* regenerate client from latest swagger

* update autorest/ts version

also validates that change to lro code from regen does not break lros that worked before

* add space

* get lock file from master and build

* Update package.json

* rebuild
  • Loading branch information
0rland0Wats0n authored Mar 8, 2021
1 parent f52d26e commit a8bb978
Show file tree
Hide file tree
Showing 75 changed files with 6,085 additions and 8 deletions.
668 changes: 660 additions & 8 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions rush.json
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,11 @@
"projectFolder": "sdk/communication/communication-identity",
"versionPolicyName": "client"
},
{
"packageName": "@azure/communication-phone-numbers",
"projectFolder": "sdk/communication/communication-phone-numbers",
"versionPolicyName": "client"
},
{
"packageName": "@azure/communication-sms",
"projectFolder": "sdk/communication/communication-sms",
Expand Down
2 changes: 2 additions & 0 deletions sdk/communication/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,5 @@ extends:
safeName: azurecommunicationchat
- name: azure-communication-identity
safeName: azurecommunicationidentity
- name: azure-communication-phone-numbers
safeName: azurecommunicationphonenumbers
2 changes: 2 additions & 0 deletions sdk/communication/communication-phone-numbers/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/**/code-model-v*
/docGen
10 changes: 10 additions & 0 deletions sdk/communication/communication-phone-numbers/.nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"include": ["dist-esm/src/**/*.js"],
"exclude": ["**/*.d.ts", "dist-esm/src/generated/*"],
"reporter": ["text-summary", "html", "cobertura"],
"exclude-after-remap": false,
"sourceMap": true,
"produce-source-map": true,
"instrument": true,
"all": true
}
42 changes: 42 additions & 0 deletions sdk/communication/communication-phone-numbers/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug Mocha Test [Without Rollup]",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-r",
"ts-node/register",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/test/*.spec.ts"
],
"env": { "TS_NODE_COMPILER_OPTIONS": "{\"module\": \"commonjs\"}" },
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"protocol": "inspector"
},
{
"type": "node",
"request": "launch",
"name": "Debug Unit Tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-u",
"tdd",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/dist-test/index.node.js"
],
"internalConsoleOptions": "openOnSessionStart",
"preLaunchTask": "npm: build:test"
}
]
}
5 changes: 5 additions & 0 deletions sdk/communication/communication-phone-numbers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Release History

## 1.0.0-beta.4 (Unreleased)

The Azure Communication Phone Numbers Client library contains code which facilitates phone number management.
21 changes: 21 additions & 0 deletions sdk/communication/communication-phone-numbers/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2020 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.
Loading

0 comments on commit a8bb978

Please sign in to comment.