@looker/sdk
Advanced tools
Comparing version 0.1.3-beta.6 to 0.1.3-beta.7
@@ -12,3 +12,17 @@ /// <reference types="node" /> | ||
export declare const defaultTimeout = 120; | ||
/** | ||
* Request object options toggle for binary mode | ||
* @type {{encoding: null}} | ||
*/ | ||
export declare const binaryMode: { | ||
encoding: null; | ||
}; | ||
/** | ||
* Recognized HTTP methods | ||
*/ | ||
export declare type HttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'TRACE' | 'HEAD'; | ||
/** | ||
* HTTP status codes | ||
* https://developer.mozilla.org/en-US/docs/Web/HTTP/Status for reference | ||
*/ | ||
export declare enum StatusCode { | ||
@@ -98,2 +112,5 @@ OK = 200, | ||
export declare type SDKResponse<TSuccess, TError> = ISDKSuccessResponse<TSuccess> | ISDKErrorResponse<TError | ISDKError>; | ||
/** | ||
* Base authorization interface | ||
*/ | ||
export interface IAuthorizer { | ||
@@ -146,5 +163,5 @@ settings: IApiSettings; | ||
/** constructs the path argument including any optional query parameters | ||
@param path {string} the base path of the request | ||
@param {string} path the base path of the request | ||
@param obj {[key: string]: string} optional collection of query parameters to encode and append to the path | ||
@param {[key: string]: string} obj optional collection of query parameters to encode and append to the path | ||
@@ -151,0 +168,0 @@ */ |
@@ -33,3 +33,11 @@ "use strict"; | ||
exports.defaultTimeout = 120; | ||
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Status for reference | ||
/** | ||
* Request object options toggle for binary mode | ||
* @type {{encoding: null}} | ||
*/ | ||
exports.binaryMode = { encoding: null }; | ||
/** | ||
* HTTP status codes | ||
* https://developer.mozilla.org/en-US/docs/Web/HTTP/Status for reference | ||
*/ | ||
var StatusCode; | ||
@@ -98,5 +106,5 @@ (function (StatusCode) { | ||
/** constructs the path argument including any optional query parameters | ||
@param path {string} the base path of the request | ||
@param {string} path the base path of the request | ||
@param obj {[key: string]: string} optional collection of query parameters to encode and append to the path | ||
@param {[key: string]: string} obj optional collection of query parameters to encode and append to the path | ||
@@ -103,0 +111,0 @@ */ |
{ | ||
"name": "@looker/sdk", | ||
"version": "0.1.3-beta.6", | ||
"version": "0.1.3-beta.7", | ||
"description": "Looker SDK", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
661797
20595