Skip to content

Commit

Permalink
Merge pull request #9 from ericbartholet/master
Browse files Browse the repository at this point in the history
Fix IRESTAPIRequest for Helsinki and jakarta
  • Loading branch information
bryceg authored May 18, 2018
2 parents 018993f + 8d5a33d commit 2b4cbf7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions server/scoped-helsinki/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -716,11 +716,12 @@ declare namespace sn {
//https://docs.servicenow.com/bundle/geneva-servicenow-platform/page/app-store/dev_portal/API_reference/ScriptableServiceRequest/concept/c_ScriptableServiceRequest.html
export interface IRESTAPIRequest<T> {
body: IRESTAPIRequestBody<T>;
pathParams: any;
queryParams: any;
pathParams: { [paramName: string]: string };
queryParams: { [paramName: string]: Array<string> };
queryString: string;
uri: string;
url: string;
headers: any;
headers: { [paramName: string]: string };
getHeader(header: string): string;
getSupportedResponseContentTypes(): Array<string>;
}
Expand Down
2 changes: 1 addition & 1 deletion server/scoped-jakarta/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ declare namespace sn {
export interface IRESTAPIRequest<T> {
body: IRESTAPIRequestBody<T>;
pathParams: { [paramName: string]: string };
queryParams: { [paramName: string]: string|number|boolean };
queryParams: { [paramName: string]: Array<string> };
queryString: string;
uri: string;
url: string;
Expand Down

0 comments on commit 2b4cbf7

Please sign in to comment.