[jsforce] Added missing types that prevented refreshing token in sandbox (#43224)

* Added missing type overload

* Added missing types to PartialOAuth2Options

* Revert "Added missing types to PartialOAuth2Options"

This reverts commit 7e02bfa4fa53fbe3940284cd571bb7248a912885.

* Added missing types that prevented refreshing token in sandbox
This commit is contained in:
Arlo 2020-03-27 10:52:51 -05:00 committed by GitHub
parent 531228c3fd
commit 0295ce3ab0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,12 +24,14 @@ export interface RestApiOptions {
}
// These are pulled out because according to http://jsforce.github.io/jsforce/doc/connection.js.html#line49
// the oauth options can either be in the `oauth2` proeprty OR spread across the main connection
// the oauth options can either be in the `oauth2` property OR spread across the main connection
export interface PartialOAuth2Options {
clientId?: string;
clientSecret?: string;
loginUrl?: string;
redirectUri?: string;
tokenServiceUrl?: string;
authzServiceUrl?: string;
}
export interface RequestInfo {