Updating NPM dependencies
This commit is contained in:
3
node_modules/googleapis/build/src/apis/customsearch/index.d.ts
generated
vendored
3
node_modules/googleapis/build/src/apis/customsearch/index.d.ts
generated
vendored
@@ -8,3 +8,6 @@ export declare function customsearch(version: 'v1'): customsearch_v1.Customsearc
|
||||
export declare function customsearch(options: customsearch_v1.Options): customsearch_v1.Customsearch;
|
||||
declare const auth: AuthPlus;
|
||||
export { auth };
|
||||
export { customsearch_v1 };
|
||||
export { AuthPlus, GlobalOptions, APIRequestContext, GoogleConfigurable, StreamMethodOptions, GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common';
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
6
node_modules/googleapis/build/src/apis/customsearch/index.js
generated
vendored
6
node_modules/googleapis/build/src/apis/customsearch/index.js
generated
vendored
@@ -1,5 +1,5 @@
|
||||
"use strict";
|
||||
// Copyright 2019 Google LLC
|
||||
// Copyright 2020 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
|
||||
@@ -12,9 +12,11 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.customsearch_v1 = exports.auth = exports.customsearch = exports.VERSIONS = void 0;
|
||||
/*! THIS FILE IS AUTO-GENERATED */
|
||||
const googleapis_common_1 = require("googleapis-common");
|
||||
const v1_1 = require("./v1");
|
||||
Object.defineProperty(exports, "customsearch_v1", { enumerable: true, get: function () { return v1_1.customsearch_v1; } });
|
||||
exports.VERSIONS = {
|
||||
v1: v1_1.customsearch_v1.Customsearch,
|
||||
};
|
||||
@@ -24,4 +26,6 @@ function customsearch(versionOrOptions) {
|
||||
exports.customsearch = customsearch;
|
||||
const auth = new googleapis_common_1.AuthPlus();
|
||||
exports.auth = auth;
|
||||
var googleapis_common_2 = require("googleapis-common");
|
||||
Object.defineProperty(exports, "AuthPlus", { enumerable: true, get: function () { return googleapis_common_2.AuthPlus; } });
|
||||
//# sourceMappingURL=index.js.map
|
||||
771
node_modules/googleapis/build/src/apis/customsearch/v1.d.ts
generated
vendored
771
node_modules/googleapis/build/src/apis/customsearch/v1.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
57
node_modules/googleapis/build/src/apis/customsearch/v1.js
generated
vendored
57
node_modules/googleapis/build/src/apis/customsearch/v1.js
generated
vendored
@@ -1,42 +1,37 @@
|
||||
"use strict";
|
||||
/**
|
||||
* Copyright 2019 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.
|
||||
*/
|
||||
// Copyright 2020 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.
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.customsearch_v1 = void 0;
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
/* eslint-disable @typescript-eslint/class-name-casing */
|
||||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||
/* eslint-disable @typescript-eslint/no-empty-interface */
|
||||
/* eslint-disable @typescript-eslint/no-namespace */
|
||||
/* eslint-disable no-irregular-whitespace */
|
||||
const googleapis_common_1 = require("googleapis-common");
|
||||
// tslint:disable: no-any
|
||||
// tslint:disable: class-name
|
||||
// tslint:disable: variable-name
|
||||
// tslint:disable: jsdoc-format
|
||||
// tslint:disable: no-namespace
|
||||
var customsearch_v1;
|
||||
(function (customsearch_v1) {
|
||||
/**
|
||||
* CustomSearch API
|
||||
* Custom Search API
|
||||
*
|
||||
* Searches over a website or collection of websites
|
||||
*
|
||||
* @example
|
||||
* ```js
|
||||
* const {google} = require('googleapis');
|
||||
* const customsearch = google.customsearch('v1');
|
||||
*
|
||||
* @namespace customsearch
|
||||
* @type {Function}
|
||||
* @version v1
|
||||
* @variation v1
|
||||
* @param {object=} options Options for Customsearch
|
||||
* ```
|
||||
*/
|
||||
class Customsearch {
|
||||
constructor(options, google) {
|
||||
@@ -65,14 +60,14 @@ var customsearch_v1;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://customsearch.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl + '/customsearch/v1').replace(/([^:]\/)\/+/g, '$1'),
|
||||
method: 'GET',
|
||||
}, options),
|
||||
params,
|
||||
requiredParams: ['q'],
|
||||
requiredParams: [],
|
||||
pathParams: [],
|
||||
context: this.context,
|
||||
};
|
||||
@@ -102,14 +97,14 @@ var customsearch_v1;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://customsearch.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl + '/customsearch/v1/siterestrict').replace(/([^:]\/)\/+/g, '$1'),
|
||||
method: 'GET',
|
||||
}, options),
|
||||
params,
|
||||
requiredParams: ['q'],
|
||||
requiredParams: [],
|
||||
pathParams: [],
|
||||
context: this.context,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user