Skip to content

Commit 80f3431

Browse files
yoshi-automationsofisl
authored andcommitted
fix(areainsights): update the API
1 parent 2e2841b commit 80f3431

File tree

7 files changed

+1013
-0
lines changed

7 files changed

+1013
-0
lines changed

‎discovery/areainsights-v1.json

Lines changed: 402 additions & 0 deletions
Large diffs are not rendered by default.

‎src/apis/areainsights/README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<img src="https://avatars0.githubusercontent.com/u/1342004?v=3&s=96" alt="Google Inc. logo" title="Google" align="right" height="96" width="96"/>
2+
3+
# areainsights
4+
5+
> Places Insights API.
6+
7+
## Installation
8+
9+
```sh
10+
$ npm install @googleapis/areainsights
11+
```
12+
13+
## Usage
14+
All documentation and usage information can be found on [GitHub](https://github.com/googleapis/google-api-nodejs-client).
15+
Information on classes can be found in [Googleapis Documentation](https://googleapis.dev/nodejs/googleapis/latest/areainsights/classes/Areainsights.html).
16+
17+
## License
18+
This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/googleapis/google-api-nodejs-client/blob/main/LICENSE).
19+
20+
## Contributing
21+
We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/main/.github/CONTRIBUTING.md).
22+
23+
## Questions/problems?
24+
* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client).
25+
* If you've found an bug/issue, please [file it on GitHub](https://github.com/googleapis/google-api-nodejs-client/issues).
26+
27+
28+
*Crafted with ❤️ by the Google Node.js team*

‎src/apis/areainsights/index.ts

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
// Copyright 2020 Google LLC
2+
// Licensed under the Apache License, Version 2.0 (the "License");
3+
// you may not use this file except in compliance with the License.
4+
// You may obtain a copy of the License at
5+
//
6+
// http://www.apache.org/licenses/LICENSE-2.0
7+
//
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
14+
/*! THIS FILE IS AUTO-GENERATED */
15+
16+
import {AuthPlus, getAPI, GoogleConfigurable} from 'googleapis-common';
17+
import {areainsights_v1} from './v1';
18+
19+
export const VERSIONS = {
20+
v1: areainsights_v1.Areainsights,
21+
};
22+
23+
export function areainsights(version: 'v1'): areainsights_v1.Areainsights;
24+
export function areainsights(
25+
options: areainsights_v1.Options
26+
): areainsights_v1.Areainsights;
27+
export function areainsights<T = areainsights_v1.Areainsights>(
28+
this: GoogleConfigurable,
29+
versionOrOptions: 'v1' | areainsights_v1.Options
30+
) {
31+
return getAPI<T>('areainsights', versionOrOptions, VERSIONS, this);
32+
}
33+
34+
const auth = new AuthPlus();
35+
export {auth};
36+
export {areainsights_v1};
37+
export {
38+
AuthPlus,
39+
GlobalOptions,
40+
APIRequestContext,
41+
GoogleConfigurable,
42+
StreamMethodOptions,
43+
GaxiosPromise,
44+
MethodOptions,
45+
BodyResponseCallback,
46+
} from 'googleapis-common';

‎src/apis/areainsights/package.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"name": "@googleapis/areainsights",
3+
"version": "0.1.0",
4+
"description": "areainsights",
5+
"main": "build/index.js",
6+
"types": "build/index.d.ts",
7+
"keywords": [
8+
"google"
9+
],
10+
"author": "Google LLC",
11+
"license": "Apache-2.0",
12+
"homepage": "https://github.com/googleapis/google-api-nodejs-client",
13+
"bugs": {
14+
"url": "https://github.com/googleapis/google-api-nodejs-client/issues"
15+
},
16+
"repository": {
17+
"type": "git",
18+
"url": "https://github.com/googleapis/google-api-nodejs-client.git"
19+
},
20+
"engines": {
21+
"node": ">=12.0.0"
22+
},
23+
"scripts": {
24+
"fix": "gts fix",
25+
"lint": "gts check",
26+
"compile": "tsc -p .",
27+
"prepare": "npm run compile",
28+
"webpack": "webpack"
29+
},
30+
"dependencies": {
31+
"googleapis-common": "^7.0.0"
32+
},
33+
"devDependencies": {
34+
"@microsoft/api-documenter": "^7.8.10",
35+
"@microsoft/api-extractor": "^7.8.10",
36+
"gts": "^5.0.0",
37+
"null-loader": "^4.0.0",
38+
"ts-loader": "^9.0.0",
39+
"typescript": "~4.8.4",
40+
"webpack": "^5.0.0",
41+
"webpack-cli": "^5.0.0"
42+
}
43+
}

‎src/apis/areainsights/tsconfig.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"extends": "./node_modules/gts/tsconfig-google.json",
3+
"compilerOptions": {
4+
"rootDir": ".",
5+
"outDir": "build"
6+
},
7+
"include": [
8+
"*.ts",
9+
]
10+
}

0 commit comments

Comments
 (0)