Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use googleapis-common #1298

Merged
merged 2 commits into from Aug 18, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -10,3 +10,4 @@ npm-debug.log
samples/*.keys.json
samples/**/credentials.json
package-lock.json
yarn.lock
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -9,6 +9,7 @@
"license": "Apache-2.0",
"dependencies": {
"google-auth-library": "^1.4.0",
"googleapis-common": "^0.2.0",
"pify": "^4.0.0",
"qs": "^6.5.2",
"url-template": "^2.0.8",
Expand Down
2 changes: 1 addition & 1 deletion src/apis/abusiveexperiencereport/index.ts
Expand Up @@ -13,7 +13,7 @@

/*! THIS FILE IS AUTO-GENERATED */

import {getAPI, GoogleConfigurable} from '../../shared/src';
import {getAPI, GoogleConfigurable} from 'googleapis-common';
import {abusiveexperiencereport_v1} from './v1';

export const VERSIONS = {
Expand Down
2 changes: 1 addition & 1 deletion src/apis/abusiveexperiencereport/v1.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/acceleratedmobilepageurl/index.ts
Expand Up @@ -13,7 +13,7 @@

/*! THIS FILE IS AUTO-GENERATED */

import {getAPI, GoogleConfigurable} from '../../shared/src';
import {getAPI, GoogleConfigurable} from 'googleapis-common';
import {acceleratedmobilepageurl_v1} from './v1';

export const VERSIONS = {
Expand Down
2 changes: 1 addition & 1 deletion src/apis/acceleratedmobilepageurl/v1.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/adexchangebuyer/index.ts
Expand Up @@ -13,7 +13,7 @@

/*! THIS FILE IS AUTO-GENERATED */

import {getAPI, GoogleConfigurable} from '../../shared/src';
import {getAPI, GoogleConfigurable} from 'googleapis-common';
import {adexchangebuyer_v1_2} from './v1.2';
import {adexchangebuyer_v1_3} from './v1.3';
import {adexchangebuyer_v1_4} from './v1.4';
Expand Down
2 changes: 1 addition & 1 deletion src/apis/adexchangebuyer/v1.2.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/adexchangebuyer/v1.3.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/adexchangebuyer/v1.4.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/adexchangebuyer2/index.ts
Expand Up @@ -13,7 +13,7 @@

/*! THIS FILE IS AUTO-GENERATED */

import {getAPI, GoogleConfigurable} from '../../shared/src';
import {getAPI, GoogleConfigurable} from 'googleapis-common';
import {adexchangebuyer2_v2beta1} from './v2beta1';

export const VERSIONS = {
Expand Down
2 changes: 1 addition & 1 deletion src/apis/adexchangebuyer2/v2beta1.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/adexchangeseller/index.ts
Expand Up @@ -13,7 +13,7 @@

/*! THIS FILE IS AUTO-GENERATED */

import {getAPI, GoogleConfigurable} from '../../shared/src';
import {getAPI, GoogleConfigurable} from 'googleapis-common';

import {adexchangeseller_v1} from './v1';
import {adexchangeseller_v1_1} from './v1.1';
Expand Down
2 changes: 1 addition & 1 deletion src/apis/adexchangeseller/v1.1.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/adexchangeseller/v1.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/adexchangeseller/v2.0.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/adexperiencereport/index.ts
Expand Up @@ -13,7 +13,7 @@

/*! THIS FILE IS AUTO-GENERATED */

import {getAPI, GoogleConfigurable} from '../../shared/src';
import {getAPI, GoogleConfigurable} from 'googleapis-common';
import {adexperiencereport_v1} from './v1';

export const VERSIONS = {
Expand Down
2 changes: 1 addition & 1 deletion src/apis/adexperiencereport/v1.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/admin/datatransfer_v1.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/admin/directory_v1.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/admin/index.ts
Expand Up @@ -13,7 +13,7 @@

/*! THIS FILE IS AUTO-GENERATED */

import {getAPI, GoogleConfigurable} from '../../shared/src';
import {getAPI, GoogleConfigurable} from 'googleapis-common';
import {admin_datatransfer_v1} from './datatransfer_v1';
import {admin_directory_v1} from './directory_v1';
import {admin_reports_v1} from './reports_v1';
Expand Down
2 changes: 1 addition & 1 deletion src/apis/admin/reports_v1.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/adsense/index.ts
Expand Up @@ -13,7 +13,7 @@

/*! THIS FILE IS AUTO-GENERATED */

import {getAPI, GoogleConfigurable} from '../../shared/src';
import {getAPI, GoogleConfigurable} from 'googleapis-common';
import {adsense_v1_4} from './v1.4';

export const VERSIONS = {
Expand Down
2 changes: 1 addition & 1 deletion src/apis/adsense/v1.4.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/adsensehost/index.ts
Expand Up @@ -13,7 +13,7 @@

/*! THIS FILE IS AUTO-GENERATED */

import {getAPI, GoogleConfigurable} from '../../shared/src';
import {getAPI, GoogleConfigurable} from 'googleapis-common';
import {adsensehost_v4_1} from './v4.1';

export const VERSIONS = {
Expand Down
2 changes: 1 addition & 1 deletion src/apis/adsensehost/v4.1.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/analytics/index.ts
Expand Up @@ -13,7 +13,7 @@

/*! THIS FILE IS AUTO-GENERATED */

import {getAPI, GoogleConfigurable} from '../../shared/src';
import {getAPI, GoogleConfigurable} from 'googleapis-common';
import {analytics_v2_4} from './v2.4';
import {analytics_v3} from './v3';

Expand Down
2 changes: 1 addition & 1 deletion src/apis/analytics/v2.4.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/analytics/v3.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/analyticsreporting/index.ts
Expand Up @@ -13,7 +13,7 @@

/*! THIS FILE IS AUTO-GENERATED */

import {getAPI, GoogleConfigurable} from '../../shared/src';
import {getAPI, GoogleConfigurable} from 'googleapis-common';
import {analyticsreporting_v4} from './v4';

export const VERSIONS = {
Expand Down
2 changes: 1 addition & 1 deletion src/apis/analyticsreporting/v4.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/androiddeviceprovisioning/index.ts
Expand Up @@ -13,7 +13,7 @@

/*! THIS FILE IS AUTO-GENERATED */

import {getAPI, GoogleConfigurable} from '../../shared/src';
import {getAPI, GoogleConfigurable} from 'googleapis-common';
import {androiddeviceprovisioning_v1} from './v1';

export const VERSIONS = {
Expand Down
2 changes: 1 addition & 1 deletion src/apis/androiddeviceprovisioning/v1.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/androidenterprise/index.ts
Expand Up @@ -13,7 +13,7 @@

/*! THIS FILE IS AUTO-GENERATED */

import {getAPI, GoogleConfigurable} from '../../shared/src';
import {getAPI, GoogleConfigurable} from 'googleapis-common';
import {androidenterprise_v1} from './v1';

export const VERSIONS = {
Expand Down
2 changes: 1 addition & 1 deletion src/apis/androidenterprise/v1.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/androidmanagement/index.ts
Expand Up @@ -13,7 +13,7 @@

/*! THIS FILE IS AUTO-GENERATED */

import {getAPI, GoogleConfigurable} from '../../shared/src';
import {getAPI, GoogleConfigurable} from 'googleapis-common';
import {androidmanagement_v1} from './v1';

export const VERSIONS = {
Expand Down
2 changes: 1 addition & 1 deletion src/apis/androidmanagement/v1.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/androidpublisher/index.ts
Expand Up @@ -13,7 +13,7 @@

/*! THIS FILE IS AUTO-GENERATED */

import {getAPI, GoogleConfigurable} from '../../shared/src';
import {getAPI, GoogleConfigurable} from 'googleapis-common';

import {androidpublisher_v1} from './v1';
import {androidpublisher_v1_1} from './v1.1';
Expand Down
2 changes: 1 addition & 1 deletion src/apis/androidpublisher/v1.1.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/androidpublisher/v1.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/androidpublisher/v2.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/androidpublisher/v3.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/appengine/index.ts
Expand Up @@ -13,7 +13,7 @@

/*! THIS FILE IS AUTO-GENERATED */

import {getAPI, GoogleConfigurable} from '../../shared/src';
import {getAPI, GoogleConfigurable} from 'googleapis-common';
import {appengine_v1} from './v1';
import {appengine_v1alpha} from './v1alpha';
import {appengine_v1beta} from './v1beta';
Expand Down
2 changes: 1 addition & 1 deletion src/apis/appengine/v1.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down
2 changes: 1 addition & 1 deletion src/apis/appengine/v1alpha.ts
Expand Up @@ -17,7 +17,7 @@
import {AxiosPromise} from 'axios';
import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library';

import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src';
import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from 'googleapis-common';

// tslint:disable: no-any
// tslint:disable: class-name
Expand Down