Updating NPM dependencies
This commit is contained in:
3
node_modules/googleapis/build/src/apis/appsactivity/index.d.ts
generated
vendored
3
node_modules/googleapis/build/src/apis/appsactivity/index.d.ts
generated
vendored
@@ -8,3 +8,6 @@ export declare function appsactivity(version: 'v1'): appsactivity_v1.Appsactivit
|
||||
export declare function appsactivity(options: appsactivity_v1.Options): appsactivity_v1.Appsactivity;
|
||||
declare const auth: AuthPlus;
|
||||
export { auth };
|
||||
export { appsactivity_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/appsactivity/index.js
generated
vendored
6
node_modules/googleapis/build/src/apis/appsactivity/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.appsactivity_v1 = exports.auth = exports.appsactivity = exports.VERSIONS = void 0;
|
||||
/*! THIS FILE IS AUTO-GENERATED */
|
||||
const googleapis_common_1 = require("googleapis-common");
|
||||
const v1_1 = require("./v1");
|
||||
Object.defineProperty(exports, "appsactivity_v1", { enumerable: true, get: function () { return v1_1.appsactivity_v1; } });
|
||||
exports.VERSIONS = {
|
||||
v1: v1_1.appsactivity_v1.Appsactivity,
|
||||
};
|
||||
@@ -24,4 +26,6 @@ function appsactivity(versionOrOptions) {
|
||||
exports.appsactivity = appsactivity;
|
||||
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
|
||||
86
node_modules/googleapis/build/src/apis/appsactivity/v1.d.ts
generated
vendored
86
node_modules/googleapis/build/src/apis/appsactivity/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 appsactivity_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;
|
||||
/**
|
||||
* Data format for the response.
|
||||
*/
|
||||
@@ -279,6 +268,60 @@ export declare namespace appsactivity_v1 {
|
||||
/**
|
||||
* appsactivity.activities.list
|
||||
* @desc Returns a list of activities visible to the current logged in user. Visible activities are determined by the visibility settings of the object that was acted on, e.g. Drive files a user can see. An activity is a record of past events. Multiple events may be merged if they are similar. A request is scoped to activities from a given Google service using the source parameter.
|
||||
* @example
|
||||
* // Before running the sample:
|
||||
* // - Enable the API at:
|
||||
* // https://console.developers.google.com/apis/api/appsactivity.googleapis.com
|
||||
* // - Login into gcloud by running:
|
||||
* // `$ gcloud auth application-default login`
|
||||
* // - Install the npm module by running:
|
||||
* // `$ npm install googleapis`
|
||||
*
|
||||
* const {google} = require('googleapis');
|
||||
* const appsactivity = google.appsactivity('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: ['https://www.googleapis.com/auth/activity'],
|
||||
* });
|
||||
*
|
||||
* // 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 appsactivity.activities.list({
|
||||
* // Identifies the Drive folder containing the items for which to return activities.
|
||||
* 'drive.ancestorId': 'placeholder-value',
|
||||
* // Identifies the Drive item to return activities for.
|
||||
* 'drive.fileId': 'placeholder-value',
|
||||
* // Indicates the strategy to use when grouping singleEvents items in the associated combinedEvent object.
|
||||
* groupingStrategy: 'placeholder-value',
|
||||
* // The maximum number of events to return on a page. The response includes a continuation token if there are more events.
|
||||
* pageSize: 'placeholder-value',
|
||||
* // A token to retrieve a specific page of results.
|
||||
* pageToken: 'placeholder-value',
|
||||
* // The Google service from which to return activities. Possible values of source are:
|
||||
* // - drive.google.com
|
||||
* source: 'placeholder-value',
|
||||
* // The ID used for ACL checks (does not filter the resulting event list by the assigned value). Use the special value me to indicate the currently authenticated user.
|
||||
* userId: 'placeholder-value',
|
||||
* });
|
||||
* console.log(res.data);
|
||||
*
|
||||
* // Example response
|
||||
* // {
|
||||
* // "activities": [],
|
||||
* // "nextPageToken": "my_nextPageToken"
|
||||
* // }
|
||||
* }
|
||||
*
|
||||
* main().catch(e => {
|
||||
* console.error(e);
|
||||
* throw e;
|
||||
* });
|
||||
*
|
||||
* @alias appsactivity.activities.list
|
||||
* @memberOf! ()
|
||||
*
|
||||
@@ -294,16 +337,14 @@ export declare namespace appsactivity_v1 {
|
||||
* @param {callback} callback The callback that handles the response.
|
||||
* @return {object} Request object
|
||||
*/
|
||||
list(params: Params$Resource$Activities$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
||||
list(params?: Params$Resource$Activities$List, options?: MethodOptions): GaxiosPromise<Schema$ListActivitiesResponse>;
|
||||
list(params: Params$Resource$Activities$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
||||
list(params: Params$Resource$Activities$List, options: MethodOptions | BodyResponseCallback<Schema$ListActivitiesResponse>, callback: BodyResponseCallback<Schema$ListActivitiesResponse>): void;
|
||||
list(params: Params$Resource$Activities$List, callback: BodyResponseCallback<Schema$ListActivitiesResponse>): void;
|
||||
list(callback: BodyResponseCallback<Schema$ListActivitiesResponse>): void;
|
||||
}
|
||||
export interface Params$Resource$Activities$List extends StandardParameters {
|
||||
/**
|
||||
* Auth client or API Key for the request
|
||||
*/
|
||||
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
|
||||
/**
|
||||
* Identifies the Drive folder containing the items for which to return activities.
|
||||
*/
|
||||
@@ -335,3 +376,4 @@ export declare namespace appsactivity_v1 {
|
||||
}
|
||||
export {};
|
||||
}
|
||||
//# sourceMappingURL=v1.d.ts.map
|
||||
39
node_modules/googleapis/build/src/apis/appsactivity/v1.js
generated
vendored
39
node_modules/googleapis/build/src/apis/appsactivity/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.appsactivity_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 appsactivity_v1;
|
||||
(function (appsactivity_v1) {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user