Updating NPM dependencies
This commit is contained in:
3
node_modules/googleapis/build/src/apis/acceleratedmobilepageurl/index.d.ts
generated
vendored
3
node_modules/googleapis/build/src/apis/acceleratedmobilepageurl/index.d.ts
generated
vendored
@@ -8,3 +8,6 @@ export declare function acceleratedmobilepageurl(version: 'v1'): acceleratedmobi
|
||||
export declare function acceleratedmobilepageurl(options: acceleratedmobilepageurl_v1.Options): acceleratedmobilepageurl_v1.Acceleratedmobilepageurl;
|
||||
declare const auth: AuthPlus;
|
||||
export { auth };
|
||||
export { acceleratedmobilepageurl_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/acceleratedmobilepageurl/index.js
generated
vendored
6
node_modules/googleapis/build/src/apis/acceleratedmobilepageurl/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.acceleratedmobilepageurl_v1 = exports.auth = exports.acceleratedmobilepageurl = exports.VERSIONS = void 0;
|
||||
/*! THIS FILE IS AUTO-GENERATED */
|
||||
const googleapis_common_1 = require("googleapis-common");
|
||||
const v1_1 = require("./v1");
|
||||
Object.defineProperty(exports, "acceleratedmobilepageurl_v1", { enumerable: true, get: function () { return v1_1.acceleratedmobilepageurl_v1; } });
|
||||
exports.VERSIONS = {
|
||||
v1: v1_1.acceleratedmobilepageurl_v1.Acceleratedmobilepageurl,
|
||||
};
|
||||
@@ -24,4 +26,6 @@ function acceleratedmobilepageurl(versionOrOptions) {
|
||||
exports.acceleratedmobilepageurl = acceleratedmobilepageurl;
|
||||
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
|
||||
107
node_modules/googleapis/build/src/apis/acceleratedmobilepageurl/v1.d.ts
generated
vendored
107
node_modules/googleapis/build/src/apis/acceleratedmobilepageurl/v1.d.ts
generated
vendored
@@ -1,26 +1,15 @@
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
import { OAuth2Client, JWT, Compute, UserRefreshClient } from 'google-auth-library';
|
||||
import { GoogleConfigurable, MethodOptions, GlobalOptions, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
|
||||
import { GaxiosPromise } from 'gaxios';
|
||||
/// <reference types="node" />
|
||||
import { OAuth2Client, JWT, Compute, UserRefreshClient, GaxiosPromise, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
|
||||
import { Readable } from 'stream';
|
||||
export declare namespace acceleratedmobilepageurl_v1 {
|
||||
export interface Options extends GlobalOptions {
|
||||
version: 'v1';
|
||||
}
|
||||
interface StandardParameters {
|
||||
/**
|
||||
* Auth client or API Key for the request
|
||||
*/
|
||||
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient | GoogleAuth;
|
||||
/**
|
||||
* V1 error format.
|
||||
*/
|
||||
@@ -72,14 +61,10 @@ export declare namespace acceleratedmobilepageurl_v1 {
|
||||
* Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given list of public URL(s).
|
||||
*
|
||||
* @example
|
||||
* ```js
|
||||
* const {google} = require('googleapis');
|
||||
* const acceleratedmobilepageurl = google.acceleratedmobilepageurl('v1');
|
||||
*
|
||||
* @namespace acceleratedmobilepageurl
|
||||
* @type {Function}
|
||||
* @version v1
|
||||
* @variation v1
|
||||
* @param {object=} options Options for Acceleratedmobilepageurl
|
||||
* ```
|
||||
*/
|
||||
export class Acceleratedmobilepageurl {
|
||||
context: APIRequestContext;
|
||||
@@ -91,7 +76,7 @@ export declare namespace acceleratedmobilepageurl_v1 {
|
||||
*/
|
||||
export interface Schema$AmpUrl {
|
||||
/**
|
||||
* The AMP URL pointing to the publisher's web server.
|
||||
* The AMP URL pointing to the publisher's web server.
|
||||
*/
|
||||
ampUrl?: string | null;
|
||||
/**
|
||||
@@ -104,7 +89,7 @@ export declare namespace acceleratedmobilepageurl_v1 {
|
||||
originalUrl?: string | null;
|
||||
}
|
||||
/**
|
||||
* AMP URL Error resource for a requested URL that couldn't be found.
|
||||
* AMP URL Error resource for a requested URL that couldn't be found.
|
||||
*/
|
||||
export interface Schema$AmpUrlError {
|
||||
/**
|
||||
@@ -150,27 +135,70 @@ export declare namespace acceleratedmobilepageurl_v1 {
|
||||
context: APIRequestContext;
|
||||
constructor(context: APIRequestContext);
|
||||
/**
|
||||
* acceleratedmobilepageurl.ampUrls.batchGet
|
||||
* @desc Returns AMP URL(s) and equivalent [AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format).
|
||||
* @alias acceleratedmobilepageurl.ampUrls.batchGet
|
||||
* @memberOf! ()
|
||||
* Returns AMP URL(s) and equivalent [AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format).
|
||||
* @example
|
||||
* ```js
|
||||
* // Before running the sample:
|
||||
* // - Enable the API at:
|
||||
* // https://console.developers.google.com/apis/api/acceleratedmobilepageurl.googleapis.com
|
||||
* // - Login into gcloud by running:
|
||||
* // `$ gcloud auth application-default login`
|
||||
* // - Install the npm module by running:
|
||||
* // `$ npm install googleapis`
|
||||
*
|
||||
* @param {object} params Parameters for request
|
||||
* @param {().BatchGetAmpUrlsRequest} params.resource Request body data
|
||||
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
|
||||
* @param {callback} callback The callback that handles the response.
|
||||
* @return {object} Request object
|
||||
* const {google} = require('googleapis');
|
||||
* const acceleratedmobilepageurl = google.acceleratedmobilepageurl('v1');
|
||||
*
|
||||
* async function main() {
|
||||
* const auth = new google.auth.GoogleAuth({
|
||||
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
||||
* scopes: [],
|
||||
* });
|
||||
*
|
||||
* // Acquire an auth client, and bind it to all future calls
|
||||
* const authClient = await auth.getClient();
|
||||
* google.options({auth: authClient});
|
||||
*
|
||||
* // Do the magic
|
||||
* const res = await acceleratedmobilepageurl.ampUrls.batchGet({
|
||||
* // Request body metadata
|
||||
* requestBody: {
|
||||
* // request body parameters
|
||||
* // {
|
||||
* // "lookupStrategy": "my_lookupStrategy",
|
||||
* // "urls": []
|
||||
* // }
|
||||
* },
|
||||
* });
|
||||
* console.log(res.data);
|
||||
*
|
||||
* // Example response
|
||||
* // {
|
||||
* // "ampUrls": [],
|
||||
* // "urlErrors": []
|
||||
* // }
|
||||
* }
|
||||
*
|
||||
* main().catch(e => {
|
||||
* console.error(e);
|
||||
* throw e;
|
||||
* });
|
||||
*
|
||||
* ```
|
||||
*
|
||||
* @param params - Parameters for request
|
||||
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
||||
* @param callback - Optional callback that handles the response.
|
||||
* @returns A promise if used with async/await, or void if used with a callback.
|
||||
*/
|
||||
batchGet(params: Params$Resource$Ampurls$Batchget, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
||||
batchGet(params?: Params$Resource$Ampurls$Batchget, options?: MethodOptions): GaxiosPromise<Schema$BatchGetAmpUrlsResponse>;
|
||||
batchGet(params: Params$Resource$Ampurls$Batchget, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
||||
batchGet(params: Params$Resource$Ampurls$Batchget, options: MethodOptions | BodyResponseCallback<Schema$BatchGetAmpUrlsResponse>, callback: BodyResponseCallback<Schema$BatchGetAmpUrlsResponse>): void;
|
||||
batchGet(params: Params$Resource$Ampurls$Batchget, callback: BodyResponseCallback<Schema$BatchGetAmpUrlsResponse>): void;
|
||||
batchGet(callback: BodyResponseCallback<Schema$BatchGetAmpUrlsResponse>): void;
|
||||
}
|
||||
export interface Params$Resource$Ampurls$Batchget extends StandardParameters {
|
||||
/**
|
||||
* Auth client or API Key for the request
|
||||
*/
|
||||
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
|
||||
/**
|
||||
* Request body metadata
|
||||
*/
|
||||
@@ -178,3 +206,4 @@ export declare namespace acceleratedmobilepageurl_v1 {
|
||||
}
|
||||
export {};
|
||||
}
|
||||
//# sourceMappingURL=v1.d.ts.map
|
||||
47
node_modules/googleapis/build/src/apis/acceleratedmobilepageurl/v1.js
generated
vendored
47
node_modules/googleapis/build/src/apis/acceleratedmobilepageurl/v1.js
generated
vendored
@@ -1,26 +1,25 @@
|
||||
"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.acceleratedmobilepageurl_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 acceleratedmobilepageurl_v1;
|
||||
(function (acceleratedmobilepageurl_v1) {
|
||||
/**
|
||||
@@ -29,14 +28,10 @@ var acceleratedmobilepageurl_v1;
|
||||
* Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given list of public URL(s).
|
||||
*
|
||||
* @example
|
||||
* ```js
|
||||
* const {google} = require('googleapis');
|
||||
* const acceleratedmobilepageurl = google.acceleratedmobilepageurl('v1');
|
||||
*
|
||||
* @namespace acceleratedmobilepageurl
|
||||
* @type {Function}
|
||||
* @version v1
|
||||
* @variation v1
|
||||
* @param {object=} options Options for Acceleratedmobilepageurl
|
||||
* ```
|
||||
*/
|
||||
class Acceleratedmobilepageurl {
|
||||
constructor(options, google) {
|
||||
|
||||
Reference in New Issue
Block a user