open-index/open-npm huggingface dataset:
npm package: @octoguide/firebase-utils
Description: <dl> <dt><a href="#fetchDataRequest">fetchDataRequest</a></dt> <dd><p>fetch data with or without any path parameters</p> </dd> <dt><a href="#fetchUriDataRequest">fetchUriDataRequest</a></dt> <dd><p>fetch data using the uri provided</p> </dd> <dt><a href="
Latest version: 1.1.35

## Constants

<dl>
<dt><a href="#fetchDataRequest">fetchDataRequest</a></dt>
<dd><p>fetch data with or without any path parameters</p>
</dd>
<dt><a href="#fetchUriDataRequest">fetchUriDataRequest</a></dt>
<dd><p>fetch data using the uri provided</p>
</dd>
<dt><a href="#addOrUpdateDataRequest">addOrUpdateDataRequest</a></dt>
<dd><p>Update the payload object and make the call to the API - return the payload updated (may contain an id if a new object)</p>
</dd>
</dl>

<a name="fetchDataRequest"></a>

## fetchDataRequest
fetch data with or without any path parameters

**Kind**: global constant  

| Param | Type | Description |
| --- | --- | --- |
| endpointLookup | <code>string</code> | correspond with ApiConfig service endpoints |
| pathParams | <code>Array</code> | array of known pathParams - i.e. ['orgId'] or null if none |
| pathParamValues | <code>Array</code> | array of corresponding pathParamValues or null if none |
| config | <code>Array</code> | array of config entries passed in from the target app |

<a name="fetchUriDataRequest"></a>

## fetchUriDataRequest
fetch data using the uri provided

**Kind**: global constant  

| Param | Type | Description |
| --- | --- | --- |
| uri | <code>string</code> | the uri to use in the get request |

<a name="addOrUpdateDataRequest"></a>

## addOrUpdateDataRequest
Update the payload object and make the call to the API - return the payload updated (may contain an id if a new object)

**Kind**: global constant  

| Param | Type | Description |
| --- | --- | --- |
| currentList | <code>Array</code> | current list that is going to be changed - DEPRECATED PARAMETER (May 2020) |
| payload | <code>Object</code> | the payload being updated/ added |
| postEndpoint | <code>string</code> | the add endpoint - key links to ApiConfig |
| putEndpoint | <code>string</code> | the update endpoint - key links to ApiConfig |
| pathParams | <code>Array</code> | array of known pathParams - i.e. ['orgId'] or null if none |
| pathParamValues | <code>Array</code> | array of corresponding pathParamValues - i.e. [orgId] or null if none |
| config | <code>Array</code> | array of config entries passed in from the target app |