Skip to content

Commit

Permalink
Merge pull request #3615 from googleapis/nodejs-essential-contacts-mi…
Browse files Browse the repository at this point in the history
…gration

migrate code from googleapis/nodejs-essential-contacts
  • Loading branch information
sofisl authored Nov 12, 2022
2 parents 065f12c + d893e5a commit 884b6df
Show file tree
Hide file tree
Showing 49 changed files with 28,171 additions and 0 deletions.
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"packages/google-cloud-dialogflow-cx": "3.1.2",
"packages/google-cloud-dialogflow": "5.3.0",
"packages/google-cloud-discoveryengine": "0.2.0",
"packages/google-cloud-essentialcontacts": "2.0.2",
"packages/google-cloud-eventarc": "2.2.0",
"packages/google-cloud-domains": "2.1.2",
"packages/google-cloud-gaming": "3.1.3",
Expand Down
20 changes: 20 additions & 0 deletions packages/google-cloud-essentialcontacts/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

deep-remove-regex:
- /owl-bot-staging

deep-copy-regex:
- source: /google/cloud/essentialcontacts/(.*)/.*-nodejs
dest: /owl-bot-staging/google-cloud-essentialcontacts/$1
7 changes: 7 additions & 0 deletions packages/google-cloud-essentialcontacts/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
**/node_modules
**/coverage
test/fixtures
build/
docs/
protos/
samples/generated/
3 changes: 3 additions & 0 deletions packages/google-cloud-essentialcontacts/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "./node_modules/gts"
}
4 changes: 4 additions & 0 deletions packages/google-cloud-essentialcontacts/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.ts text eol=lf
*.js text eol=lf
protos/* linguist-generated
**/api-extractor.json linguist-language=JSON-with-Comments
14 changes: 14 additions & 0 deletions packages/google-cloud-essentialcontacts/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
**/*.log
**/node_modules
.coverage
coverage
.nyc_output
docs/
out/
build/
system-test/secrets.js
system-test/*key.json
*.lock
.DS_Store
package-lock.json
__pycache__
55 changes: 55 additions & 0 deletions packages/google-cloud-essentialcontacts/.jsdoc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// ** This file is automatically generated by gapic-generator-typescript. **
// ** https://github.com/googleapis/gapic-generator-typescript **
// ** All changes to this file may be overwritten. **

'use strict';

module.exports = {
opts: {
readme: './README.md',
package: './package.json',
template: './node_modules/jsdoc-fresh',
recurse: true,
verbose: true,
destination: './docs/'
},
plugins: [
'plugins/markdown',
'jsdoc-region-tag'
],
source: {
excludePattern: '(^|\\/|\\\\)[._]',
include: [
'build/src',
'protos'
],
includePattern: '\\.js$'
},
templates: {
copyright: 'Copyright 2022 Google LLC',
includeDate: false,
sourceFiles: false,
systemName: '@google-cloud/essential-contacts',
theme: 'lumen',
default: {
outputSourceFiles: false
}
},
markdown: {
idInHeadings: true
}
};
29 changes: 29 additions & 0 deletions packages/google-cloud-essentialcontacts/.mocharc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
const config = {
"enable-source-maps": true,
"throw-deprecation": true,
"timeout": 10000,
"recursive": true
}
if (process.env.MOCHA_THROW_DEPRECATION === 'false') {
delete config['throw-deprecation'];
}
if (process.env.MOCHA_REPORTER) {
config.reporter = process.env.MOCHA_REPORTER;
}
if (process.env.MOCHA_REPORTER_OUTPUT) {
config['reporter-option'] = `output=${process.env.MOCHA_REPORTER_OUTPUT}`;
}
module.exports = config
24 changes: 24 additions & 0 deletions packages/google-cloud-essentialcontacts/.nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"report-dir": "./.coverage",
"reporter": ["text", "lcov"],
"exclude": [
"**/*-test",
"**/.coverage",
"**/apis",
"**/benchmark",
"**/conformance",
"**/docs",
"**/samples",
"**/scripts",
"**/protos",
"**/test",
"**/*.d.ts",
".jsdoc.js",
"**/.jsdoc.js",
"karma.conf.js",
"webpack-tests.config.js",
"webpack.config.js"
],
"exclude-after-remap": false,
"all": true
}
6 changes: 6 additions & 0 deletions packages/google-cloud-essentialcontacts/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
**/node_modules
**/coverage
test/fixtures
build/
docs/
protos/
17 changes: 17 additions & 0 deletions packages/google-cloud-essentialcontacts/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

module.exports = {
...require('gts/.prettierrc.json')
}
16 changes: 16 additions & 0 deletions packages/google-cloud-essentialcontacts/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/essential-contacts/latest",
"product_documentation": "https://cloud.google.com/resource-manager/docs/managing-notification-contacts/",
"name": "essentialcontacts",
"requires_billing": true,
"release_level": "stable",
"language": "nodejs",
"api_id": "essentialcontacts.googleapis.com",
"distribution_name": "@google-cloud/essential-contacts",
"repo": "googleapis/google-cloud-node",
"issue_tracker": "https://github.com/googleapis/google-cloud-node/issues",
"name_pretty": "Essential Contacts API",
"default_version": "v1",
"api_shortname": "essentialcontacts",
"library_type": "GAPIC_AUTO"
}
105 changes: 105 additions & 0 deletions packages/google-cloud-essentialcontacts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# Changelog

## [2.0.2](https://github.com/googleapis/nodejs-essential-contacts/compare/v2.0.1...v2.0.2) (2022-11-11)


### Bug Fixes

* Allow passing gax instance to client constructor ([#110](https://github.com/googleapis/nodejs-essential-contacts/issues/110)) ([fb3d596](https://github.com/googleapis/nodejs-essential-contacts/commit/fb3d596a8dee0ab338485a862955757cfbcd99c2))
* Better support for fallback mode ([#105](https://github.com/googleapis/nodejs-essential-contacts/issues/105)) ([c23259b](https://github.com/googleapis/nodejs-essential-contacts/commit/c23259b0a493e5bcdabf408902ffe16be76e7cb0))
* Change import long to require ([#106](https://github.com/googleapis/nodejs-essential-contacts/issues/106)) ([f009752](https://github.com/googleapis/nodejs-essential-contacts/commit/f009752ac7a8267ef6444fa9eb7338e70e6687d6))
* **deps:** Use google-gax v3.5.2 ([#117](https://github.com/googleapis/nodejs-essential-contacts/issues/117)) ([f90a6e7](https://github.com/googleapis/nodejs-essential-contacts/commit/f90a6e75af5c23754bf67bea1b8fd55c96a1330f))
* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-essential-contacts/issues/1553)) ([#109](https://github.com/googleapis/nodejs-essential-contacts/issues/109)) ([c7e8827](https://github.com/googleapis/nodejs-essential-contacts/commit/c7e8827859caa1c23bc38f43ca71cfe8d6784dfd))
* Preserve default values in x-goog-request-params header ([#111](https://github.com/googleapis/nodejs-essential-contacts/issues/111)) ([5074ba2](https://github.com/googleapis/nodejs-essential-contacts/commit/5074ba241d3e5ac5dc4a47ef7fc9cc3761f406cb))
* Regenerated protos JS and TS definitions ([#120](https://github.com/googleapis/nodejs-essential-contacts/issues/120)) ([4989df1](https://github.com/googleapis/nodejs-essential-contacts/commit/4989df17b1c7d0deb7907f7659b0fd2032833e8f))
* Remove pip install statements ([#1546](https://github.com/googleapis/nodejs-essential-contacts/issues/1546)) ([#108](https://github.com/googleapis/nodejs-essential-contacts/issues/108)) ([9fb4d1c](https://github.com/googleapis/nodejs-essential-contacts/commit/9fb4d1c253480086fe101cef0817874b313d076a))
* use google-gax v3.3.0 ([c7e8827](https://github.com/googleapis/nodejs-essential-contacts/commit/c7e8827859caa1c23bc38f43ca71cfe8d6784dfd))

## [2.0.1](https://github.com/googleapis/nodejs-essential-contacts/compare/v2.0.0...v2.0.1) (2022-06-30)


### Bug Fixes

* **docs:** describe fallback rest option ([#98](https://github.com/googleapis/nodejs-essential-contacts/issues/98)) ([1ed45c6](https://github.com/googleapis/nodejs-essential-contacts/commit/1ed45c6a2b197f7784e13857c481d097da96dc6d))

## [2.0.0](https://github.com/googleapis/nodejs-essential-contacts/compare/v1.1.1...v2.0.0) (2022-05-19)


### ⚠ BREAKING CHANGES

* update library to use Node 12 (#92)

### Build System

* update library to use Node 12 ([#92](https://github.com/googleapis/nodejs-essential-contacts/issues/92)) ([b819928](https://github.com/googleapis/nodejs-essential-contacts/commit/b819928b746a8a819080416da1b06b91f88b1f20))

### [1.1.1](https://www.github.com/googleapis/nodejs-essential-contacts/compare/v1.1.0...v1.1.1) (2021-08-25)


### Bug Fixes

* flag module as GA ([#44](https://www.github.com/googleapis/nodejs-essential-contacts/issues/44)) ([8d31c91](https://www.github.com/googleapis/nodejs-essential-contacts/commit/8d31c9125ca659842795a42c3cfae41d89ff4cb9))

## [1.1.0](https://www.github.com/googleapis/nodejs-essential-contacts/compare/v1.0.6...v1.1.0) (2021-08-23)


### Features

* turns on self-signed JWT feature flag ([#41](https://www.github.com/googleapis/nodejs-essential-contacts/issues/41)) ([1e65471](https://www.github.com/googleapis/nodejs-essential-contacts/commit/1e65471768b57b96bf7e669818be6f53d8e5e6fb))

### [1.0.6](https://www.github.com/googleapis/nodejs-essential-contacts/compare/v1.0.5...v1.0.6) (2021-08-19)


### Bug Fixes

* **build:** migrate to using main branch ([#38](https://www.github.com/googleapis/nodejs-essential-contacts/issues/38)) ([600a78b](https://www.github.com/googleapis/nodejs-essential-contacts/commit/600a78b7cae96dbb46f450eb9438b7551b847460))
* **deps:** google-gax v2.24.1 ([#39](https://www.github.com/googleapis/nodejs-essential-contacts/issues/39)) ([8b55dd2](https://www.github.com/googleapis/nodejs-essential-contacts/commit/8b55dd2bc7ef8ecac7aa3be4441ee46b965b0867))

### [1.0.5](https://www.github.com/googleapis/nodejs-essential-contacts/compare/v1.0.4...v1.0.5) (2021-07-16)


### Bug Fixes

* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#28](https://www.github.com/googleapis/nodejs-essential-contacts/issues/28)) ([0f07b63](https://www.github.com/googleapis/nodejs-essential-contacts/commit/0f07b63f26176f1b6b4315443cfa1cddeb5cf6cd))

### [1.0.5](https://www.github.com/googleapis/nodejs-essential-contacts/compare/v1.0.4...v1.0.5) (2021-07-16)


### Bug Fixes

* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#28](https://www.github.com/googleapis/nodejs-essential-contacts/issues/28)) ([0f07b63](https://www.github.com/googleapis/nodejs-essential-contacts/commit/0f07b63f26176f1b6b4315443cfa1cddeb5cf6cd))

### [1.0.4](https://www.github.com/googleapis/nodejs-essential-contacts/compare/v1.0.3...v1.0.4) (2021-07-12)


### Bug Fixes

* **deps:** google-gax v2.17.1 ([#26](https://www.github.com/googleapis/nodejs-essential-contacts/issues/26)) ([7c8d854](https://www.github.com/googleapis/nodejs-essential-contacts/commit/7c8d854efb7d0a04efbe6efdd62a5ca5f89d70e5))

### [1.0.3](https://www.github.com/googleapis/nodejs-essential-contacts/compare/v1.0.2...v1.0.3) (2021-06-29)


### Bug Fixes

* **deps:** google-gax v2.17.0 with mTLS ([#22](https://www.github.com/googleapis/nodejs-essential-contacts/issues/22)) ([144d0a1](https://www.github.com/googleapis/nodejs-essential-contacts/commit/144d0a1224adb7ffe6efcde45a48d9b751611b01))

### [1.0.2](https://www.github.com/googleapis/nodejs-essential-contacts/compare/v1.0.1...v1.0.2) (2021-06-23)


### Bug Fixes

* make request optional in all cases ([#17](https://www.github.com/googleapis/nodejs-essential-contacts/issues/17)) ([840d58f](https://www.github.com/googleapis/nodejs-essential-contacts/commit/840d58fcc2f9eaae3122005c9da47009836d04a3))

### [1.0.1](https://www.github.com/googleapis/nodejs-essential-contacts/compare/v1.0.0...v1.0.1) (2021-06-10)


### Bug Fixes

* GoogleAdsError missing using generator version after 1.3.0 ([#3](https://www.github.com/googleapis/nodejs-essential-contacts/issues/3)) ([9a52efb](https://www.github.com/googleapis/nodejs-essential-contacts/commit/9a52efb8e21da5407123bc03b9501db42d5b8071))

## 1.0.0 (2021-06-01)


### Features

* initial generation of tests and samples ([#2](https://www.github.com/googleapis/nodejs-essential-contacts/issues/2)) ([5649308](https://www.github.com/googleapis/nodejs-essential-contacts/commit/56493085095b7801dc0091665b1da830fb580040))
Loading

0 comments on commit 884b6df

Please sign in to comment.