Updating NPM dependencies
This commit is contained in:
10
node_modules/googleapis-common/build/src/api.d.ts
generated
vendored
10
node_modules/googleapis-common/build/src/api.d.ts
generated
vendored
@@ -1,5 +1,5 @@
|
||||
import { GaxiosOptions, GaxiosResponse } from 'gaxios';
|
||||
import { OAuth2Client } from 'google-auth-library';
|
||||
import { OAuth2Client, GoogleAuth } from 'google-auth-library';
|
||||
import { Endpoint } from './endpoint';
|
||||
export interface APIRequestParams<T = any> {
|
||||
options: MethodOptions;
|
||||
@@ -18,15 +18,19 @@ export interface APIRequestContext {
|
||||
}
|
||||
/**
|
||||
* This interface is a mix of the AxiosRequestConfig options
|
||||
* and our `auth: OAuth2Client|string` options.
|
||||
* and our `auth` options.
|
||||
*/
|
||||
export interface GlobalOptions extends MethodOptions {
|
||||
auth?: OAuth2Client | string;
|
||||
auth?: GoogleAuth | OAuth2Client | string;
|
||||
}
|
||||
export interface MethodOptions extends GaxiosOptions {
|
||||
rootUrl?: string;
|
||||
http2?: boolean;
|
||||
userAgentDirectives?: UserAgentDirective[];
|
||||
}
|
||||
export interface StreamMethodOptions extends MethodOptions {
|
||||
responseType: 'stream';
|
||||
}
|
||||
/**
|
||||
* An additional directive to add to the user agent header.
|
||||
* Directives come in the form of:
|
||||
|
||||
Reference in New Issue
Block a user