Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

api-reach

Package Overview
Dependencies
Maintainers
0
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-reach - npm Package Compare versions

Comparing version 0.14.0-beta.7 to 0.14.0-beta.8

4

dist/index.d.ts

@@ -26,5 +26,5 @@ import type { ApiResponse } from "./response/response.js";

declare const createApiClient: <RSP extends ApiEndpoints, T extends ExpectedResponseBodyType = ExpectedResponseBodyType.json>(options: Options<T, GenericHeaders>, dependencies?: Dependencies) => ApiClient<T, RSP>;
export { createApiClient, ResponseDataTypeMismatchError, };
export { createApiClient, ResponseDataTypeMismatchError, RequestBodyType, ExpectedResponseBodyType, };
export type { ApiClient, ApiEndpoints, ValidateApiEndpoints, };
export { AbortedResponse, InformationalResponse, SuccessResponse, RedirectResponse, ClientErrorResponse, ServerErrorResponse, } from "./response/response.js";
export type { ApiClient, ExpectedResponseBodyType, ApiEndpoints, ValidateApiEndpoints, RequestBodyType, };
//# sourceMappingURL=index.d.ts.map

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.ServerErrorResponse = exports.ClientErrorResponse = exports.RedirectResponse = exports.SuccessResponse = exports.InformationalResponse = exports.AbortedResponse = exports.ResponseDataTypeMismatchError = exports.createApiClient = void 0;
exports.ServerErrorResponse = exports.ClientErrorResponse = exports.RedirectResponse = exports.SuccessResponse = exports.InformationalResponse = exports.AbortedResponse = exports.ExpectedResponseBodyType = exports.RequestBodyType = exports.ResponseDataTypeMismatchError = exports.createApiClient = void 0;
const url_join_1 = __importDefault(require("url-join"));

@@ -14,2 +14,4 @@ const qs_1 = __importDefault(require("qs"));

const const_js_1 = require("./const.js");
Object.defineProperty(exports, "ExpectedResponseBodyType", { enumerable: true, get: function () { return const_js_1.ExpectedResponseBodyType; } });
Object.defineProperty(exports, "RequestBodyType", { enumerable: true, get: function () { return const_js_1.RequestBodyType; } });
const errors_js_1 = require("./errors.js");

@@ -16,0 +18,0 @@ Object.defineProperty(exports, "ResponseDataTypeMismatchError", { enumerable: true, get: function () { return errors_js_1.ResponseDataTypeMismatchError; } });

@@ -1,1 +0,1 @@

window.searchData = JSON.parse("{\"kinds\":{\"8\":\"Enumeration\",\"16\":\"Enumeration Member\",\"64\":\"Function\",\"128\":\"Class\",\"512\":\"Constructor\",\"1024\":\"Property\",\"2048\":\"Method\",\"4194304\":\"Type alias\",\"33554432\":\"@knodes/typedoc-plugin-pages: page\"},\"rows\":[{\"kind\":64,\"name\":\"createApiClient\",\"url\":\"functions/createApiClient.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":128,\"name\":\"ApiClient\",\"url\":\"classes/ApiClient.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ApiClient.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ApiClient\"},{\"kind\":1024,\"name\":\"_options\",\"url\":\"classes/ApiClient.html#_options\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":1024,\"name\":\"_dependencies\",\"url\":\"classes/ApiClient.html#_dependencies\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_getResponseType\",\"url\":\"classes/ApiClient.html#_getResponseType\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_getRequestType\",\"url\":\"classes/ApiClient.html#_getRequestType\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_getRequestContentType\",\"url\":\"classes/ApiClient.html#_getRequestContentType\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_buildRequestBody\",\"url\":\"classes/ApiClient.html#_buildRequestBody\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_buildFetchOptions\",\"url\":\"classes/ApiClient.html#_buildFetchOptions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_buildCacheOptions\",\"url\":\"classes/ApiClient.html#_buildCacheOptions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_safeUrlParse\",\"url\":\"classes/ApiClient.html#_safeUrlParse\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_buildUrlBase\",\"url\":\"classes/ApiClient.html#_buildUrlBase\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_buildUrl\",\"url\":\"classes/ApiClient.html#_buildUrl\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"get\",\"url\":\"classes/ApiClient.html#get\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"post\",\"url\":\"classes/ApiClient.html#post\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"request\",\"url\":\"classes/ApiClient.html#request\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_prepareAndSendRequest\",\"url\":\"classes/ApiClient.html#_prepareAndSendRequest\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_sendRequest\",\"url\":\"classes/ApiClient.html#_sendRequest\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_buildResponse\",\"url\":\"classes/ApiClient.html#_buildResponse\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":64,\"name\":\"ResponseDataTypeMismatchError\",\"url\":\"functions/ResponseDataTypeMismatchError-1.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":4194304,\"name\":\"ResponseDataTypeMismatchError\",\"url\":\"types/ResponseDataTypeMismatchError.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":128,\"name\":\"AbortedResponse\",\"url\":\"classes/AbortedResponse.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/AbortedResponse.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"AbortedResponse\"},{\"kind\":1024,\"name\":\"status\",\"url\":\"classes/AbortedResponse.html#status\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"AbortedResponse\"},{\"kind\":1024,\"name\":\"statusText\",\"url\":\"classes/AbortedResponse.html#statusText\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"AbortedResponse\"},{\"kind\":1024,\"name\":\"headers\",\"url\":\"classes/AbortedResponse.html#headers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"AbortedResponse\"},{\"kind\":1024,\"name\":\"request\",\"url\":\"classes/AbortedResponse.html#request\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"AbortedResponse\"},{\"kind\":1024,\"name\":\"body\",\"url\":\"classes/AbortedResponse.html#body\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"AbortedResponse\"},{\"kind\":1024,\"name\":\"cached\",\"url\":\"classes/AbortedResponse.html#cached\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"AbortedResponse\"},{\"kind\":128,\"name\":\"InformationalResponse\",\"url\":\"classes/InformationalResponse.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/InformationalResponse.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"InformationalResponse\"},{\"kind\":1024,\"name\":\"status\",\"url\":\"classes/InformationalResponse.html#status\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"InformationalResponse\"},{\"kind\":1024,\"name\":\"statusText\",\"url\":\"classes/InformationalResponse.html#statusText\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"InformationalResponse\"},{\"kind\":1024,\"name\":\"headers\",\"url\":\"classes/InformationalResponse.html#headers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"InformationalResponse\"},{\"kind\":1024,\"name\":\"request\",\"url\":\"classes/InformationalResponse.html#request\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"InformationalResponse\"},{\"kind\":1024,\"name\":\"body\",\"url\":\"classes/InformationalResponse.html#body\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"InformationalResponse\"},{\"kind\":1024,\"name\":\"cached\",\"url\":\"classes/InformationalResponse.html#cached\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"InformationalResponse\"},{\"kind\":128,\"name\":\"SuccessResponse\",\"url\":\"classes/SuccessResponse.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/SuccessResponse.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"SuccessResponse\"},{\"kind\":1024,\"name\":\"status\",\"url\":\"classes/SuccessResponse.html#status\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"SuccessResponse\"},{\"kind\":1024,\"name\":\"statusText\",\"url\":\"classes/SuccessResponse.html#statusText\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"SuccessResponse\"},{\"kind\":1024,\"name\":\"headers\",\"url\":\"classes/SuccessResponse.html#headers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"SuccessResponse\"},{\"kind\":1024,\"name\":\"request\",\"url\":\"classes/SuccessResponse.html#request\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"SuccessResponse\"},{\"kind\":1024,\"name\":\"body\",\"url\":\"classes/SuccessResponse.html#body\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"SuccessResponse\"},{\"kind\":1024,\"name\":\"cached\",\"url\":\"classes/SuccessResponse.html#cached\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"SuccessResponse\"},{\"kind\":128,\"name\":\"RedirectResponse\",\"url\":\"classes/RedirectResponse.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/RedirectResponse.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"RedirectResponse\"},{\"kind\":1024,\"name\":\"status\",\"url\":\"classes/RedirectResponse.html#status\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"RedirectResponse\"},{\"kind\":1024,\"name\":\"statusText\",\"url\":\"classes/RedirectResponse.html#statusText\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"RedirectResponse\"},{\"kind\":1024,\"name\":\"headers\",\"url\":\"classes/RedirectResponse.html#headers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"RedirectResponse\"},{\"kind\":1024,\"name\":\"request\",\"url\":\"classes/RedirectResponse.html#request\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"RedirectResponse\"},{\"kind\":1024,\"name\":\"body\",\"url\":\"classes/RedirectResponse.html#body\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"RedirectResponse\"},{\"kind\":1024,\"name\":\"cached\",\"url\":\"classes/RedirectResponse.html#cached\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"RedirectResponse\"},{\"kind\":128,\"name\":\"ClientErrorResponse\",\"url\":\"classes/ClientErrorResponse.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ClientErrorResponse.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClientErrorResponse\"},{\"kind\":1024,\"name\":\"status\",\"url\":\"classes/ClientErrorResponse.html#status\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClientErrorResponse\"},{\"kind\":1024,\"name\":\"statusText\",\"url\":\"classes/ClientErrorResponse.html#statusText\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClientErrorResponse\"},{\"kind\":1024,\"name\":\"headers\",\"url\":\"classes/ClientErrorResponse.html#headers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClientErrorResponse\"},{\"kind\":1024,\"name\":\"request\",\"url\":\"classes/ClientErrorResponse.html#request\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClientErrorResponse\"},{\"kind\":1024,\"name\":\"body\",\"url\":\"classes/ClientErrorResponse.html#body\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClientErrorResponse\"},{\"kind\":1024,\"name\":\"cached\",\"url\":\"classes/ClientErrorResponse.html#cached\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClientErrorResponse\"},{\"kind\":128,\"name\":\"ServerErrorResponse\",\"url\":\"classes/ServerErrorResponse.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ServerErrorResponse.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerErrorResponse\"},{\"kind\":1024,\"name\":\"status\",\"url\":\"classes/ServerErrorResponse.html#status\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerErrorResponse\"},{\"kind\":1024,\"name\":\"statusText\",\"url\":\"classes/ServerErrorResponse.html#statusText\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerErrorResponse\"},{\"kind\":1024,\"name\":\"headers\",\"url\":\"classes/ServerErrorResponse.html#headers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerErrorResponse\"},{\"kind\":1024,\"name\":\"request\",\"url\":\"classes/ServerErrorResponse.html#request\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerErrorResponse\"},{\"kind\":1024,\"name\":\"body\",\"url\":\"classes/ServerErrorResponse.html#body\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerErrorResponse\"},{\"kind\":1024,\"name\":\"cached\",\"url\":\"classes/ServerErrorResponse.html#cached\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerErrorResponse\"},{\"kind\":8,\"name\":\"ExpectedResponseBodyType\",\"url\":\"enums/ExpectedResponseBodyType.html\",\"classes\":\"tsd-kind-enum\"},{\"kind\":16,\"name\":\"json\",\"url\":\"enums/ExpectedResponseBodyType.html#json\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"ExpectedResponseBodyType\"},{\"kind\":16,\"name\":\"text\",\"url\":\"enums/ExpectedResponseBodyType.html#text\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"ExpectedResponseBodyType\"},{\"kind\":16,\"name\":\"binary\",\"url\":\"enums/ExpectedResponseBodyType.html#binary\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"ExpectedResponseBodyType\"},{\"kind\":16,\"name\":\"stream\",\"url\":\"enums/ExpectedResponseBodyType.html#stream\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"ExpectedResponseBodyType\"},{\"kind\":4194304,\"name\":\"ApiEndpoints\",\"url\":\"types/ApiEndpoints.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":4194304,\"name\":\"ValidateApiEndpoints\",\"url\":\"types/ValidateApiEndpoints.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":8,\"name\":\"RequestBodyType\",\"url\":\"enums/RequestBodyType.html\",\"classes\":\"tsd-kind-enum\"},{\"kind\":16,\"name\":\"json\",\"url\":\"enums/RequestBodyType.html#json\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"RequestBodyType\"},{\"kind\":16,\"name\":\"urlencoded\",\"url\":\"enums/RequestBodyType.html#urlencoded\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"RequestBodyType\"},{\"kind\":16,\"name\":\"plain\",\"url\":\"enums/RequestBodyType.html#plain\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"RequestBodyType\"},{\"kind\":16,\"name\":\"formData\",\"url\":\"enums/RequestBodyType.html#formData\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"RequestBodyType\"},{\"kind\":33554432,\"name\":\"Basic usage\",\"url\":\"pages/tutorials/Basic usage.html\",\"classes\":\"pages-entry pages-entry-page\"},{\"kind\":33554432,\"name\":\"Usage with React Native\",\"url\":\"pages/tutorials/Usage with React Native.html\",\"classes\":\"pages-entry pages-entry-page\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,41.137]],[\"comment/0\",[]],[\"name/1\",[1,41.137]],[\"comment/1\",[]],[\"name/2\",[2,24.737]],[\"comment/2\",[]],[\"name/3\",[3,41.137]],[\"comment/3\",[]],[\"name/4\",[4,41.137]],[\"comment/4\",[]],[\"name/5\",[5,41.137]],[\"comment/5\",[]],[\"name/6\",[6,41.137]],[\"comment/6\",[]],[\"name/7\",[7,41.137]],[\"comment/7\",[]],[\"name/8\",[8,41.137]],[\"comment/8\",[]],[\"name/9\",[9,41.137]],[\"comment/9\",[]],[\"name/10\",[10,41.137]],[\"comment/10\",[]],[\"name/11\",[11,41.137]],[\"comment/11\",[]],[\"name/12\",[12,41.137]],[\"comment/12\",[]],[\"name/13\",[13,41.137]],[\"comment/13\",[]],[\"name/14\",[14,41.137]],[\"comment/14\",[]],[\"name/15\",[15,41.137]],[\"comment/15\",[]],[\"name/16\",[16,24.737]],[\"comment/16\",[]],[\"name/17\",[17,41.137]],[\"comment/17\",[]],[\"name/18\",[18,41.137]],[\"comment/18\",[]],[\"name/19\",[19,41.137]],[\"comment/19\",[]],[\"name/20\",[20,35.932]],[\"comment/20\",[]],[\"name/21\",[20,35.932]],[\"comment/21\",[]],[\"name/22\",[21,41.137]],[\"comment/22\",[]],[\"name/23\",[2,24.737]],[\"comment/23\",[]],[\"name/24\",[22,26.196]],[\"comment/24\",[]],[\"name/25\",[23,26.196]],[\"comment/25\",[]],[\"name/26\",[24,26.196]],[\"comment/26\",[]],[\"name/27\",[16,24.737]],[\"comment/27\",[]],[\"name/28\",[25,26.196]],[\"comment/28\",[]],[\"name/29\",[26,26.196]],[\"comment/29\",[]],[\"name/30\",[27,41.137]],[\"comment/30\",[]],[\"name/31\",[2,24.737]],[\"comment/31\",[]],[\"name/32\",[22,26.196]],[\"comment/32\",[]],[\"name/33\",[23,26.196]],[\"comment/33\",[]],[\"name/34\",[24,26.196]],[\"comment/34\",[]],[\"name/35\",[16,24.737]],[\"comment/35\",[]],[\"name/36\",[25,26.196]],[\"comment/36\",[]],[\"name/37\",[26,26.196]],[\"comment/37\",[]],[\"name/38\",[28,41.137]],[\"comment/38\",[]],[\"name/39\",[2,24.737]],[\"comment/39\",[]],[\"name/40\",[22,26.196]],[\"comment/40\",[]],[\"name/41\",[23,26.196]],[\"comment/41\",[]],[\"name/42\",[24,26.196]],[\"comment/42\",[]],[\"name/43\",[16,24.737]],[\"comment/43\",[]],[\"name/44\",[25,26.196]],[\"comment/44\",[]],[\"name/45\",[26,26.196]],[\"comment/45\",[]],[\"name/46\",[29,41.137]],[\"comment/46\",[]],[\"name/47\",[2,24.737]],[\"comment/47\",[]],[\"name/48\",[22,26.196]],[\"comment/48\",[]],[\"name/49\",[23,26.196]],[\"comment/49\",[]],[\"name/50\",[24,26.196]],[\"comment/50\",[]],[\"name/51\",[16,24.737]],[\"comment/51\",[]],[\"name/52\",[25,26.196]],[\"comment/52\",[]],[\"name/53\",[26,26.196]],[\"comment/53\",[]],[\"name/54\",[30,41.137]],[\"comment/54\",[]],[\"name/55\",[2,24.737]],[\"comment/55\",[]],[\"name/56\",[22,26.196]],[\"comment/56\",[]],[\"name/57\",[23,26.196]],[\"comment/57\",[]],[\"name/58\",[24,26.196]],[\"comment/58\",[]],[\"name/59\",[16,24.737]],[\"comment/59\",[]],[\"name/60\",[25,26.196]],[\"comment/60\",[]],[\"name/61\",[26,26.196]],[\"comment/61\",[]],[\"name/62\",[31,41.137]],[\"comment/62\",[]],[\"name/63\",[2,24.737]],[\"comment/63\",[]],[\"name/64\",[22,26.196]],[\"comment/64\",[]],[\"name/65\",[23,26.196]],[\"comment/65\",[]],[\"name/66\",[24,26.196]],[\"comment/66\",[]],[\"name/67\",[16,24.737]],[\"comment/67\",[]],[\"name/68\",[25,26.196]],[\"comment/68\",[]],[\"name/69\",[26,26.196]],[\"comment/69\",[]],[\"name/70\",[32,41.137]],[\"comment/70\",[]],[\"name/71\",[33,35.932]],[\"comment/71\",[]],[\"name/72\",[34,41.137]],[\"comment/72\",[]],[\"name/73\",[35,41.137]],[\"comment/73\",[]],[\"name/74\",[36,41.137]],[\"comment/74\",[]],[\"name/75\",[37,41.137]],[\"comment/75\",[]],[\"name/76\",[38,41.137]],[\"comment/76\",[]],[\"name/77\",[39,41.137]],[\"comment/77\",[]],[\"name/78\",[33,35.932]],[\"comment/78\",[]],[\"name/79\",[40,41.137]],[\"comment/79\",[]],[\"name/80\",[41,41.137]],[\"comment/80\",[]],[\"name/81\",[42,41.137]],[\"comment/81\",[]],[\"name/82\",[43,29.428,44,25.704]],[\"comment/82\",[]],[\"name/83\",[44,16.38,45,18.752,46,18.752,47,18.752]],[\"comment/83\",[]]],\"invertedIndex\":[[\"_buildcacheoptions\",{\"_index\":10,\"name\":{\"10\":{}},\"comment\":{}}],[\"_buildfetchoptions\",{\"_index\":9,\"name\":{\"9\":{}},\"comment\":{}}],[\"_buildrequestbody\",{\"_index\":8,\"name\":{\"8\":{}},\"comment\":{}}],[\"_buildresponse\",{\"_index\":19,\"name\":{\"19\":{}},\"comment\":{}}],[\"_buildurl\",{\"_index\":13,\"name\":{\"13\":{}},\"comment\":{}}],[\"_buildurlbase\",{\"_index\":12,\"name\":{\"12\":{}},\"comment\":{}}],[\"_dependencies\",{\"_index\":4,\"name\":{\"4\":{}},\"comment\":{}}],[\"_getrequestcontenttype\",{\"_index\":7,\"name\":{\"7\":{}},\"comment\":{}}],[\"_getrequesttype\",{\"_index\":6,\"name\":{\"6\":{}},\"comment\":{}}],[\"_getresponsetype\",{\"_index\":5,\"name\":{\"5\":{}},\"comment\":{}}],[\"_options\",{\"_index\":3,\"name\":{\"3\":{}},\"comment\":{}}],[\"_prepareandsendrequest\",{\"_index\":17,\"name\":{\"17\":{}},\"comment\":{}}],[\"_safeurlparse\",{\"_index\":11,\"name\":{\"11\":{}},\"comment\":{}}],[\"_sendrequest\",{\"_index\":18,\"name\":{\"18\":{}},\"comment\":{}}],[\"abortedresponse\",{\"_index\":21,\"name\":{\"22\":{}},\"comment\":{}}],[\"apiclient\",{\"_index\":1,\"name\":{\"1\":{}},\"comment\":{}}],[\"apiendpoints\",{\"_index\":37,\"name\":{\"75\":{}},\"comment\":{}}],[\"basic\",{\"_index\":43,\"name\":{\"82\":{}},\"comment\":{}}],[\"binary\",{\"_index\":35,\"name\":{\"73\":{}},\"comment\":{}}],[\"body\",{\"_index\":25,\"name\":{\"28\":{},\"36\":{},\"44\":{},\"52\":{},\"60\":{},\"68\":{}},\"comment\":{}}],[\"cached\",{\"_index\":26,\"name\":{\"29\":{},\"37\":{},\"45\":{},\"53\":{},\"61\":{},\"69\":{}},\"comment\":{}}],[\"clienterrorresponse\",{\"_index\":30,\"name\":{\"54\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":2,\"name\":{\"2\":{},\"23\":{},\"31\":{},\"39\":{},\"47\":{},\"55\":{},\"63\":{}},\"comment\":{}}],[\"createapiclient\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"expectedresponsebodytype\",{\"_index\":32,\"name\":{\"70\":{}},\"comment\":{}}],[\"formdata\",{\"_index\":42,\"name\":{\"81\":{}},\"comment\":{}}],[\"get\",{\"_index\":14,\"name\":{\"14\":{}},\"comment\":{}}],[\"headers\",{\"_index\":24,\"name\":{\"26\":{},\"34\":{},\"42\":{},\"50\":{},\"58\":{},\"66\":{}},\"comment\":{}}],[\"informationalresponse\",{\"_index\":27,\"name\":{\"30\":{}},\"comment\":{}}],[\"json\",{\"_index\":33,\"name\":{\"71\":{},\"78\":{}},\"comment\":{}}],[\"native\",{\"_index\":47,\"name\":{\"83\":{}},\"comment\":{}}],[\"plain\",{\"_index\":41,\"name\":{\"80\":{}},\"comment\":{}}],[\"post\",{\"_index\":15,\"name\":{\"15\":{}},\"comment\":{}}],[\"react\",{\"_index\":46,\"name\":{\"83\":{}},\"comment\":{}}],[\"redirectresponse\",{\"_index\":29,\"name\":{\"46\":{}},\"comment\":{}}],[\"request\",{\"_index\":16,\"name\":{\"16\":{},\"27\":{},\"35\":{},\"43\":{},\"51\":{},\"59\":{},\"67\":{}},\"comment\":{}}],[\"requestbodytype\",{\"_index\":39,\"name\":{\"77\":{}},\"comment\":{}}],[\"responsedatatypemismatcherror\",{\"_index\":20,\"name\":{\"20\":{},\"21\":{}},\"comment\":{}}],[\"servererrorresponse\",{\"_index\":31,\"name\":{\"62\":{}},\"comment\":{}}],[\"status\",{\"_index\":22,\"name\":{\"24\":{},\"32\":{},\"40\":{},\"48\":{},\"56\":{},\"64\":{}},\"comment\":{}}],[\"statustext\",{\"_index\":23,\"name\":{\"25\":{},\"33\":{},\"41\":{},\"49\":{},\"57\":{},\"65\":{}},\"comment\":{}}],[\"stream\",{\"_index\":36,\"name\":{\"74\":{}},\"comment\":{}}],[\"successresponse\",{\"_index\":28,\"name\":{\"38\":{}},\"comment\":{}}],[\"text\",{\"_index\":34,\"name\":{\"72\":{}},\"comment\":{}}],[\"urlencoded\",{\"_index\":40,\"name\":{\"79\":{}},\"comment\":{}}],[\"usage\",{\"_index\":44,\"name\":{\"82\":{},\"83\":{}},\"comment\":{}}],[\"validateapiendpoints\",{\"_index\":38,\"name\":{\"76\":{}},\"comment\":{}}],[\"with\",{\"_index\":45,\"name\":{\"83\":{}},\"comment\":{}}]],\"pipeline\":[]}}");
window.searchData = JSON.parse("{\"kinds\":{\"8\":\"Enumeration\",\"16\":\"Enumeration Member\",\"64\":\"Function\",\"128\":\"Class\",\"512\":\"Constructor\",\"1024\":\"Property\",\"2048\":\"Method\",\"4194304\":\"Type alias\",\"33554432\":\"@knodes/typedoc-plugin-pages: page\"},\"rows\":[{\"kind\":64,\"name\":\"createApiClient\",\"url\":\"functions/createApiClient.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":128,\"name\":\"ApiClient\",\"url\":\"classes/ApiClient.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ApiClient.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"ApiClient\"},{\"kind\":1024,\"name\":\"_options\",\"url\":\"classes/ApiClient.html#_options\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":1024,\"name\":\"_dependencies\",\"url\":\"classes/ApiClient.html#_dependencies\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_getResponseType\",\"url\":\"classes/ApiClient.html#_getResponseType\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_getRequestType\",\"url\":\"classes/ApiClient.html#_getRequestType\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_getRequestContentType\",\"url\":\"classes/ApiClient.html#_getRequestContentType\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_buildRequestBody\",\"url\":\"classes/ApiClient.html#_buildRequestBody\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_buildFetchOptions\",\"url\":\"classes/ApiClient.html#_buildFetchOptions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_buildCacheOptions\",\"url\":\"classes/ApiClient.html#_buildCacheOptions\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_safeUrlParse\",\"url\":\"classes/ApiClient.html#_safeUrlParse\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_buildUrlBase\",\"url\":\"classes/ApiClient.html#_buildUrlBase\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_buildUrl\",\"url\":\"classes/ApiClient.html#_buildUrl\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"get\",\"url\":\"classes/ApiClient.html#get\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"post\",\"url\":\"classes/ApiClient.html#post\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"request\",\"url\":\"classes/ApiClient.html#request\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_prepareAndSendRequest\",\"url\":\"classes/ApiClient.html#_prepareAndSendRequest\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_sendRequest\",\"url\":\"classes/ApiClient.html#_sendRequest\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":2048,\"name\":\"_buildResponse\",\"url\":\"classes/ApiClient.html#_buildResponse\",\"classes\":\"tsd-kind-method tsd-parent-kind-class tsd-is-private\",\"parent\":\"ApiClient\"},{\"kind\":64,\"name\":\"ResponseDataTypeMismatchError\",\"url\":\"functions/ResponseDataTypeMismatchError-1.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":4194304,\"name\":\"ResponseDataTypeMismatchError\",\"url\":\"types/ResponseDataTypeMismatchError.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":8,\"name\":\"RequestBodyType\",\"url\":\"enums/RequestBodyType.html\",\"classes\":\"tsd-kind-enum\"},{\"kind\":16,\"name\":\"json\",\"url\":\"enums/RequestBodyType.html#json\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"RequestBodyType\"},{\"kind\":16,\"name\":\"urlencoded\",\"url\":\"enums/RequestBodyType.html#urlencoded\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"RequestBodyType\"},{\"kind\":16,\"name\":\"plain\",\"url\":\"enums/RequestBodyType.html#plain\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"RequestBodyType\"},{\"kind\":16,\"name\":\"formData\",\"url\":\"enums/RequestBodyType.html#formData\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"RequestBodyType\"},{\"kind\":8,\"name\":\"ExpectedResponseBodyType\",\"url\":\"enums/ExpectedResponseBodyType.html\",\"classes\":\"tsd-kind-enum\"},{\"kind\":16,\"name\":\"json\",\"url\":\"enums/ExpectedResponseBodyType.html#json\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"ExpectedResponseBodyType\"},{\"kind\":16,\"name\":\"text\",\"url\":\"enums/ExpectedResponseBodyType.html#text\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"ExpectedResponseBodyType\"},{\"kind\":16,\"name\":\"binary\",\"url\":\"enums/ExpectedResponseBodyType.html#binary\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"ExpectedResponseBodyType\"},{\"kind\":16,\"name\":\"stream\",\"url\":\"enums/ExpectedResponseBodyType.html#stream\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"ExpectedResponseBodyType\"},{\"kind\":4194304,\"name\":\"ApiEndpoints\",\"url\":\"types/ApiEndpoints.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":4194304,\"name\":\"ValidateApiEndpoints\",\"url\":\"types/ValidateApiEndpoints.html\",\"classes\":\"tsd-kind-type-alias\"},{\"kind\":128,\"name\":\"AbortedResponse\",\"url\":\"classes/AbortedResponse.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/AbortedResponse.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"AbortedResponse\"},{\"kind\":1024,\"name\":\"status\",\"url\":\"classes/AbortedResponse.html#status\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"AbortedResponse\"},{\"kind\":1024,\"name\":\"statusText\",\"url\":\"classes/AbortedResponse.html#statusText\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"AbortedResponse\"},{\"kind\":1024,\"name\":\"headers\",\"url\":\"classes/AbortedResponse.html#headers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"AbortedResponse\"},{\"kind\":1024,\"name\":\"request\",\"url\":\"classes/AbortedResponse.html#request\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"AbortedResponse\"},{\"kind\":1024,\"name\":\"body\",\"url\":\"classes/AbortedResponse.html#body\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"AbortedResponse\"},{\"kind\":1024,\"name\":\"cached\",\"url\":\"classes/AbortedResponse.html#cached\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"AbortedResponse\"},{\"kind\":128,\"name\":\"InformationalResponse\",\"url\":\"classes/InformationalResponse.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/InformationalResponse.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"InformationalResponse\"},{\"kind\":1024,\"name\":\"status\",\"url\":\"classes/InformationalResponse.html#status\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"InformationalResponse\"},{\"kind\":1024,\"name\":\"statusText\",\"url\":\"classes/InformationalResponse.html#statusText\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"InformationalResponse\"},{\"kind\":1024,\"name\":\"headers\",\"url\":\"classes/InformationalResponse.html#headers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"InformationalResponse\"},{\"kind\":1024,\"name\":\"request\",\"url\":\"classes/InformationalResponse.html#request\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"InformationalResponse\"},{\"kind\":1024,\"name\":\"body\",\"url\":\"classes/InformationalResponse.html#body\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"InformationalResponse\"},{\"kind\":1024,\"name\":\"cached\",\"url\":\"classes/InformationalResponse.html#cached\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"InformationalResponse\"},{\"kind\":128,\"name\":\"SuccessResponse\",\"url\":\"classes/SuccessResponse.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/SuccessResponse.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"SuccessResponse\"},{\"kind\":1024,\"name\":\"status\",\"url\":\"classes/SuccessResponse.html#status\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"SuccessResponse\"},{\"kind\":1024,\"name\":\"statusText\",\"url\":\"classes/SuccessResponse.html#statusText\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"SuccessResponse\"},{\"kind\":1024,\"name\":\"headers\",\"url\":\"classes/SuccessResponse.html#headers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"SuccessResponse\"},{\"kind\":1024,\"name\":\"request\",\"url\":\"classes/SuccessResponse.html#request\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"SuccessResponse\"},{\"kind\":1024,\"name\":\"body\",\"url\":\"classes/SuccessResponse.html#body\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"SuccessResponse\"},{\"kind\":1024,\"name\":\"cached\",\"url\":\"classes/SuccessResponse.html#cached\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"SuccessResponse\"},{\"kind\":128,\"name\":\"RedirectResponse\",\"url\":\"classes/RedirectResponse.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/RedirectResponse.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"RedirectResponse\"},{\"kind\":1024,\"name\":\"status\",\"url\":\"classes/RedirectResponse.html#status\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"RedirectResponse\"},{\"kind\":1024,\"name\":\"statusText\",\"url\":\"classes/RedirectResponse.html#statusText\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"RedirectResponse\"},{\"kind\":1024,\"name\":\"headers\",\"url\":\"classes/RedirectResponse.html#headers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"RedirectResponse\"},{\"kind\":1024,\"name\":\"request\",\"url\":\"classes/RedirectResponse.html#request\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"RedirectResponse\"},{\"kind\":1024,\"name\":\"body\",\"url\":\"classes/RedirectResponse.html#body\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"RedirectResponse\"},{\"kind\":1024,\"name\":\"cached\",\"url\":\"classes/RedirectResponse.html#cached\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"RedirectResponse\"},{\"kind\":128,\"name\":\"ClientErrorResponse\",\"url\":\"classes/ClientErrorResponse.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ClientErrorResponse.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClientErrorResponse\"},{\"kind\":1024,\"name\":\"status\",\"url\":\"classes/ClientErrorResponse.html#status\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClientErrorResponse\"},{\"kind\":1024,\"name\":\"statusText\",\"url\":\"classes/ClientErrorResponse.html#statusText\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClientErrorResponse\"},{\"kind\":1024,\"name\":\"headers\",\"url\":\"classes/ClientErrorResponse.html#headers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClientErrorResponse\"},{\"kind\":1024,\"name\":\"request\",\"url\":\"classes/ClientErrorResponse.html#request\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClientErrorResponse\"},{\"kind\":1024,\"name\":\"body\",\"url\":\"classes/ClientErrorResponse.html#body\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClientErrorResponse\"},{\"kind\":1024,\"name\":\"cached\",\"url\":\"classes/ClientErrorResponse.html#cached\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ClientErrorResponse\"},{\"kind\":128,\"name\":\"ServerErrorResponse\",\"url\":\"classes/ServerErrorResponse.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ServerErrorResponse.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerErrorResponse\"},{\"kind\":1024,\"name\":\"status\",\"url\":\"classes/ServerErrorResponse.html#status\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerErrorResponse\"},{\"kind\":1024,\"name\":\"statusText\",\"url\":\"classes/ServerErrorResponse.html#statusText\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerErrorResponse\"},{\"kind\":1024,\"name\":\"headers\",\"url\":\"classes/ServerErrorResponse.html#headers\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerErrorResponse\"},{\"kind\":1024,\"name\":\"request\",\"url\":\"classes/ServerErrorResponse.html#request\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerErrorResponse\"},{\"kind\":1024,\"name\":\"body\",\"url\":\"classes/ServerErrorResponse.html#body\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerErrorResponse\"},{\"kind\":1024,\"name\":\"cached\",\"url\":\"classes/ServerErrorResponse.html#cached\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"ServerErrorResponse\"},{\"kind\":33554432,\"name\":\"Basic usage\",\"url\":\"pages/tutorials/Basic usage.html\",\"classes\":\"pages-entry pages-entry-page\"},{\"kind\":33554432,\"name\":\"Usage with React Native\",\"url\":\"pages/tutorials/Usage with React Native.html\",\"classes\":\"pages-entry pages-entry-page\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,41.137]],[\"comment/0\",[]],[\"name/1\",[1,41.137]],[\"comment/1\",[]],[\"name/2\",[2,24.737]],[\"comment/2\",[]],[\"name/3\",[3,41.137]],[\"comment/3\",[]],[\"name/4\",[4,41.137]],[\"comment/4\",[]],[\"name/5\",[5,41.137]],[\"comment/5\",[]],[\"name/6\",[6,41.137]],[\"comment/6\",[]],[\"name/7\",[7,41.137]],[\"comment/7\",[]],[\"name/8\",[8,41.137]],[\"comment/8\",[]],[\"name/9\",[9,41.137]],[\"comment/9\",[]],[\"name/10\",[10,41.137]],[\"comment/10\",[]],[\"name/11\",[11,41.137]],[\"comment/11\",[]],[\"name/12\",[12,41.137]],[\"comment/12\",[]],[\"name/13\",[13,41.137]],[\"comment/13\",[]],[\"name/14\",[14,41.137]],[\"comment/14\",[]],[\"name/15\",[15,41.137]],[\"comment/15\",[]],[\"name/16\",[16,24.737]],[\"comment/16\",[]],[\"name/17\",[17,41.137]],[\"comment/17\",[]],[\"name/18\",[18,41.137]],[\"comment/18\",[]],[\"name/19\",[19,41.137]],[\"comment/19\",[]],[\"name/20\",[20,35.932]],[\"comment/20\",[]],[\"name/21\",[20,35.932]],[\"comment/21\",[]],[\"name/22\",[21,41.137]],[\"comment/22\",[]],[\"name/23\",[22,35.932]],[\"comment/23\",[]],[\"name/24\",[23,41.137]],[\"comment/24\",[]],[\"name/25\",[24,41.137]],[\"comment/25\",[]],[\"name/26\",[25,41.137]],[\"comment/26\",[]],[\"name/27\",[26,41.137]],[\"comment/27\",[]],[\"name/28\",[22,35.932]],[\"comment/28\",[]],[\"name/29\",[27,41.137]],[\"comment/29\",[]],[\"name/30\",[28,41.137]],[\"comment/30\",[]],[\"name/31\",[29,41.137]],[\"comment/31\",[]],[\"name/32\",[30,41.137]],[\"comment/32\",[]],[\"name/33\",[31,41.137]],[\"comment/33\",[]],[\"name/34\",[32,41.137]],[\"comment/34\",[]],[\"name/35\",[2,24.737]],[\"comment/35\",[]],[\"name/36\",[33,26.196]],[\"comment/36\",[]],[\"name/37\",[34,26.196]],[\"comment/37\",[]],[\"name/38\",[35,26.196]],[\"comment/38\",[]],[\"name/39\",[16,24.737]],[\"comment/39\",[]],[\"name/40\",[36,26.196]],[\"comment/40\",[]],[\"name/41\",[37,26.196]],[\"comment/41\",[]],[\"name/42\",[38,41.137]],[\"comment/42\",[]],[\"name/43\",[2,24.737]],[\"comment/43\",[]],[\"name/44\",[33,26.196]],[\"comment/44\",[]],[\"name/45\",[34,26.196]],[\"comment/45\",[]],[\"name/46\",[35,26.196]],[\"comment/46\",[]],[\"name/47\",[16,24.737]],[\"comment/47\",[]],[\"name/48\",[36,26.196]],[\"comment/48\",[]],[\"name/49\",[37,26.196]],[\"comment/49\",[]],[\"name/50\",[39,41.137]],[\"comment/50\",[]],[\"name/51\",[2,24.737]],[\"comment/51\",[]],[\"name/52\",[33,26.196]],[\"comment/52\",[]],[\"name/53\",[34,26.196]],[\"comment/53\",[]],[\"name/54\",[35,26.196]],[\"comment/54\",[]],[\"name/55\",[16,24.737]],[\"comment/55\",[]],[\"name/56\",[36,26.196]],[\"comment/56\",[]],[\"name/57\",[37,26.196]],[\"comment/57\",[]],[\"name/58\",[40,41.137]],[\"comment/58\",[]],[\"name/59\",[2,24.737]],[\"comment/59\",[]],[\"name/60\",[33,26.196]],[\"comment/60\",[]],[\"name/61\",[34,26.196]],[\"comment/61\",[]],[\"name/62\",[35,26.196]],[\"comment/62\",[]],[\"name/63\",[16,24.737]],[\"comment/63\",[]],[\"name/64\",[36,26.196]],[\"comment/64\",[]],[\"name/65\",[37,26.196]],[\"comment/65\",[]],[\"name/66\",[41,41.137]],[\"comment/66\",[]],[\"name/67\",[2,24.737]],[\"comment/67\",[]],[\"name/68\",[33,26.196]],[\"comment/68\",[]],[\"name/69\",[34,26.196]],[\"comment/69\",[]],[\"name/70\",[35,26.196]],[\"comment/70\",[]],[\"name/71\",[16,24.737]],[\"comment/71\",[]],[\"name/72\",[36,26.196]],[\"comment/72\",[]],[\"name/73\",[37,26.196]],[\"comment/73\",[]],[\"name/74\",[42,41.137]],[\"comment/74\",[]],[\"name/75\",[2,24.737]],[\"comment/75\",[]],[\"name/76\",[33,26.196]],[\"comment/76\",[]],[\"name/77\",[34,26.196]],[\"comment/77\",[]],[\"name/78\",[35,26.196]],[\"comment/78\",[]],[\"name/79\",[16,24.737]],[\"comment/79\",[]],[\"name/80\",[36,26.196]],[\"comment/80\",[]],[\"name/81\",[37,26.196]],[\"comment/81\",[]],[\"name/82\",[43,29.428,44,25.704]],[\"comment/82\",[]],[\"name/83\",[44,16.38,45,18.752,46,18.752,47,18.752]],[\"comment/83\",[]]],\"invertedIndex\":[[\"_buildcacheoptions\",{\"_index\":10,\"name\":{\"10\":{}},\"comment\":{}}],[\"_buildfetchoptions\",{\"_index\":9,\"name\":{\"9\":{}},\"comment\":{}}],[\"_buildrequestbody\",{\"_index\":8,\"name\":{\"8\":{}},\"comment\":{}}],[\"_buildresponse\",{\"_index\":19,\"name\":{\"19\":{}},\"comment\":{}}],[\"_buildurl\",{\"_index\":13,\"name\":{\"13\":{}},\"comment\":{}}],[\"_buildurlbase\",{\"_index\":12,\"name\":{\"12\":{}},\"comment\":{}}],[\"_dependencies\",{\"_index\":4,\"name\":{\"4\":{}},\"comment\":{}}],[\"_getrequestcontenttype\",{\"_index\":7,\"name\":{\"7\":{}},\"comment\":{}}],[\"_getrequesttype\",{\"_index\":6,\"name\":{\"6\":{}},\"comment\":{}}],[\"_getresponsetype\",{\"_index\":5,\"name\":{\"5\":{}},\"comment\":{}}],[\"_options\",{\"_index\":3,\"name\":{\"3\":{}},\"comment\":{}}],[\"_prepareandsendrequest\",{\"_index\":17,\"name\":{\"17\":{}},\"comment\":{}}],[\"_safeurlparse\",{\"_index\":11,\"name\":{\"11\":{}},\"comment\":{}}],[\"_sendrequest\",{\"_index\":18,\"name\":{\"18\":{}},\"comment\":{}}],[\"abortedresponse\",{\"_index\":32,\"name\":{\"34\":{}},\"comment\":{}}],[\"apiclient\",{\"_index\":1,\"name\":{\"1\":{}},\"comment\":{}}],[\"apiendpoints\",{\"_index\":30,\"name\":{\"32\":{}},\"comment\":{}}],[\"basic\",{\"_index\":43,\"name\":{\"82\":{}},\"comment\":{}}],[\"binary\",{\"_index\":28,\"name\":{\"30\":{}},\"comment\":{}}],[\"body\",{\"_index\":36,\"name\":{\"40\":{},\"48\":{},\"56\":{},\"64\":{},\"72\":{},\"80\":{}},\"comment\":{}}],[\"cached\",{\"_index\":37,\"name\":{\"41\":{},\"49\":{},\"57\":{},\"65\":{},\"73\":{},\"81\":{}},\"comment\":{}}],[\"clienterrorresponse\",{\"_index\":41,\"name\":{\"66\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":2,\"name\":{\"2\":{},\"35\":{},\"43\":{},\"51\":{},\"59\":{},\"67\":{},\"75\":{}},\"comment\":{}}],[\"createapiclient\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"expectedresponsebodytype\",{\"_index\":26,\"name\":{\"27\":{}},\"comment\":{}}],[\"formdata\",{\"_index\":25,\"name\":{\"26\":{}},\"comment\":{}}],[\"get\",{\"_index\":14,\"name\":{\"14\":{}},\"comment\":{}}],[\"headers\",{\"_index\":35,\"name\":{\"38\":{},\"46\":{},\"54\":{},\"62\":{},\"70\":{},\"78\":{}},\"comment\":{}}],[\"informationalresponse\",{\"_index\":38,\"name\":{\"42\":{}},\"comment\":{}}],[\"json\",{\"_index\":22,\"name\":{\"23\":{},\"28\":{}},\"comment\":{}}],[\"native\",{\"_index\":47,\"name\":{\"83\":{}},\"comment\":{}}],[\"plain\",{\"_index\":24,\"name\":{\"25\":{}},\"comment\":{}}],[\"post\",{\"_index\":15,\"name\":{\"15\":{}},\"comment\":{}}],[\"react\",{\"_index\":46,\"name\":{\"83\":{}},\"comment\":{}}],[\"redirectresponse\",{\"_index\":40,\"name\":{\"58\":{}},\"comment\":{}}],[\"request\",{\"_index\":16,\"name\":{\"16\":{},\"39\":{},\"47\":{},\"55\":{},\"63\":{},\"71\":{},\"79\":{}},\"comment\":{}}],[\"requestbodytype\",{\"_index\":21,\"name\":{\"22\":{}},\"comment\":{}}],[\"responsedatatypemismatcherror\",{\"_index\":20,\"name\":{\"20\":{},\"21\":{}},\"comment\":{}}],[\"servererrorresponse\",{\"_index\":42,\"name\":{\"74\":{}},\"comment\":{}}],[\"status\",{\"_index\":33,\"name\":{\"36\":{},\"44\":{},\"52\":{},\"60\":{},\"68\":{},\"76\":{}},\"comment\":{}}],[\"statustext\",{\"_index\":34,\"name\":{\"37\":{},\"45\":{},\"53\":{},\"61\":{},\"69\":{},\"77\":{}},\"comment\":{}}],[\"stream\",{\"_index\":29,\"name\":{\"31\":{}},\"comment\":{}}],[\"successresponse\",{\"_index\":39,\"name\":{\"50\":{}},\"comment\":{}}],[\"text\",{\"_index\":27,\"name\":{\"29\":{}},\"comment\":{}}],[\"urlencoded\",{\"_index\":23,\"name\":{\"24\":{}},\"comment\":{}}],[\"usage\",{\"_index\":44,\"name\":{\"82\":{},\"83\":{}},\"comment\":{}}],[\"validateapiendpoints\",{\"_index\":31,\"name\":{\"33\":{}},\"comment\":{}}],[\"with\",{\"_index\":45,\"name\":{\"83\":{}},\"comment\":{}}]],\"pipeline\":[]}}");

@@ -26,5 +26,5 @@ import type { ApiResponse } from "./response/response.js";

declare const createApiClient: <RSP extends ApiEndpoints, T extends ExpectedResponseBodyType = ExpectedResponseBodyType.json>(options: Options<T, GenericHeaders>, dependencies?: Dependencies) => ApiClient<T, RSP>;
export { createApiClient, ResponseDataTypeMismatchError, };
export { createApiClient, ResponseDataTypeMismatchError, RequestBodyType, ExpectedResponseBodyType, };
export type { ApiClient, ApiEndpoints, ValidateApiEndpoints, };
export { AbortedResponse, InformationalResponse, SuccessResponse, RedirectResponse, ClientErrorResponse, ServerErrorResponse, } from "./response/response.js";
export type { ApiClient, ExpectedResponseBodyType, ApiEndpoints, ValidateApiEndpoints, RequestBodyType, };
//# sourceMappingURL=index.d.ts.map

@@ -415,4 +415,4 @@ import urlJoin from "url-join";

};
export { createApiClient, ResponseDataTypeMismatchError, };
export { createApiClient, ResponseDataTypeMismatchError, RequestBodyType, ExpectedResponseBodyType, };
export { AbortedResponse, InformationalResponse, SuccessResponse, RedirectResponse, ClientErrorResponse, ServerErrorResponse, } from "./response/response.js";
//# sourceMappingURL=index.js.map
{
"name": "api-reach",
"version": "0.14.0-beta.7",
"version": "0.14.0-beta.8",
"repository": "git@github.com:dzek69/api-reach.git",

@@ -5,0 +5,0 @@ "author": "Jacek Nowacki @dzek69 <git-public@dzek.eu>",

@@ -757,4 +757,12 @@ /* eslint-disable max-lines */

ResponseDataTypeMismatchError,
RequestBodyType,
ExpectedResponseBodyType,
};
export type {
ApiClient,
ApiEndpoints,
ValidateApiEndpoints,
};
export {

@@ -769,8 +777,1 @@ AbortedResponse,

export type {
ApiClient,
ExpectedResponseBodyType,
ApiEndpoints,
ValidateApiEndpoints,
RequestBodyType,
};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc