Socket
Socket
Sign inDemoInstall

@availity/api-core

Package Overview
Dependencies
Maintainers
14
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@availity/api-core - npm Package Compare versions

Comparing version 6.1.1 to 6.1.2

568

CHANGELOG.md

@@ -6,26 +6,24 @@ # Change Log

## [6.1.1](https://github.com/Availity/sdk-js/compare/@availity/api-core@6.1.0...@availity/api-core@6.1.1) (2020-01-14)
## [6.1.2](https://github.com/Availity/sdk-js/compare/@availity/api-core@6.1.1...@availity/api-core@6.1.2) (2020-01-23)
**Note:** Version bump only for package @availity/api-core
### Bug Fixes
* **api-core:** fixed error trying to call toString on undefined ([0792f85](https://github.com/Availity/sdk-js/commit/0792f85))
* **api-core:** updated handling of falsey values ([b810189](https://github.com/Availity/sdk-js/commit/b810189))
* **api-core:** updated test suite name ([b0a75c6](https://github.com/Availity/sdk-js/commit/b0a75c6))
## [6.1.1](https://github.com/Availity/sdk-js/compare/@availity/api-core@6.1.0...@availity/api-core@6.1.1) (2020-01-14)
### Bug Fixes
- **api-core:** fixed error trying to call toString on undefined ([0792f85](https://github.com/Availity/sdk-js/commit/0792f85))
- **api-core:** updated handling of falsey values ([b810189](https://github.com/Availity/sdk-js/commit/b810189))
- **api-core:** updated test suite name ([b0a75c6](https://github.com/Availity/sdk-js/commit/b0a75c6))
# [6.1.0](https://github.com/Availity/sdk-js/compare/@availity/api-core@6.0.5...@availity/api-core@6.1.0) (2020-01-06)
### Features
* **api-core:** add beacon support to log messages ([9350765](https://github.com/Availity/sdk-js/commit/9350765))
- **api-core:** add beacon support to log messages ([9350765](https://github.com/Availity/sdk-js/commit/9350765))
## [6.0.5](https://github.com/Availity/sdk-js/compare/@availity/api-core@6.0.4...@availity/api-core@6.0.5) (2020-01-03)

@@ -35,6 +33,2 @@

## [6.0.4](https://github.com/Availity/sdk-js/compare/@availity/api-core@6.0.3...@availity/api-core@6.0.4) (2020-01-03)

@@ -44,55 +38,30 @@

## [6.0.3](https://github.com/Availity/sdk-js/compare/@availity/api-core@6.0.2...@availity/api-core@6.0.3) (2019-12-03)
### Performance Improvements
* **api-core:** use userId if it exists in get,set application settings ([6cdd059](https://github.com/Availity/sdk-js/commit/6cdd059))
- **api-core:** use userId if it exists in get,set application settings ([6cdd059](https://github.com/Availity/sdk-js/commit/6cdd059))
## [6.0.2](https://github.com/Availity/sdk-js/compare/@availity/api-core@6.0.1...@availity/api-core@6.0.2) (2019-12-02)
### Performance Improvements
* **api-core:** use userId from params if it exists in getOrganizations ([5e5225f](https://github.com/Availity/sdk-js/commit/5e5225f))
- **api-core:** use userId from params if it exists in getOrganizations ([5e5225f](https://github.com/Availity/sdk-js/commit/5e5225f))
## [6.0.1](https://github.com/Availity/sdk-js/compare/@availity/api-core@6.0.0...@availity/api-core@6.0.1) (2019-11-05)
### Bug Fixes
* **api-core:** do not use config url when resolving location header ([199536f](https://github.com/Availity/sdk-js/commit/199536f))
- **api-core:** do not use config url when resolving location header ([199536f](https://github.com/Availity/sdk-js/commit/199536f))
# [6.0.0](https://github.com/Availity/sdk-js/compare/@availity/api-core@5.4.1...@availity/api-core@6.0.0) (2019-10-21)
### Code Refactoring
* **localstorage-core:** converted class to function ([9f1fdf0](https://github.com/Availity/sdk-js/commit/9f1fdf0))
- **localstorage-core:** converted class to function ([9f1fdf0](https://github.com/Availity/sdk-js/commit/9f1fdf0))
### BREAKING CHANGES
* **localstorage-core:** Class is now a Function and doesn't require to be instantiated.
- **localstorage-core:** Class is now a Function and doesn't require to be instantiated.
## [5.4.1](https://github.com/Availity/sdk-js/compare/@availity/api-core@5.4.0...@availity/api-core@5.4.1) (2019-09-27)

@@ -102,61 +71,32 @@

# [5.4.0](https://github.com/Availity/sdk-js/compare/@availity/api-core@5.2.1...@availity/api-core@5.4.0) (2019-08-01)
### Features
* **api-core:** add webQL resource ([67b9797](https://github.com/Availity/sdk-js/commit/67b9797))
- **api-core:** add webQL resource ([67b9797](https://github.com/Availity/sdk-js/commit/67b9797))
# [5.3.0](https://github.com/Availity/sdk-js/compare/@availity/api-core@5.2.1...@availity/api-core@5.3.0) (2019-08-01)
### Features
* **api-core:** add webQL resource ([67b9797](https://github.com/Availity/sdk-js/commit/67b9797))
- **api-core:** add webQL resource ([67b9797](https://github.com/Availity/sdk-js/commit/67b9797))
## [5.2.1](https://github.com/Availity/sdk-js/compare/@availity/api-core@5.2.0...@availity/api-core@5.2.1) (2019-06-21)
### Bug Fixes
* **api-core:** fix namespace of slotmachine resource ([3c3af84](https://github.com/Availity/sdk-js/commit/3c3af84))
- **api-core:** fix namespace of slotmachine resource ([3c3af84](https://github.com/Availity/sdk-js/commit/3c3af84))
# [5.2.0](https://github.com/Availity/sdk-js/compare/@availity/api-core@5.1.6...@availity/api-core@5.2.0) (2019-06-14)
### Features
* **api-core:** add codes resource ([4ea7ba4](https://github.com/Availity/sdk-js/commit/4ea7ba4))
- **api-core:** add codes resource ([4ea7ba4](https://github.com/Availity/sdk-js/commit/4ea7ba4))
## [5.1.6](https://github.com/Availity/sdk-js/compare/@availity/api-core@5.1.5...@availity/api-core@5.1.6) (2019-05-31)
### Bug Fixes
* **api-core:** graceful exit when polling ([9708eff](https://github.com/Availity/sdk-js/commit/9708eff))
- **api-core:** graceful exit when polling ([9708eff](https://github.com/Availity/sdk-js/commit/9708eff))
## [5.1.5](https://github.com/Availity/sdk-js/compare/@availity/api-core@5.1.4...@availity/api-core@5.1.5) (2019-04-29)

@@ -166,6 +106,2 @@

## [5.1.4](https://github.com/Availity/sdk-js/compare/@availity/api-core@5.1.3...@availity/api-core@5.1.4) (2019-04-26)

@@ -175,6 +111,2 @@

## [5.1.3](https://github.com/Availity/sdk-js/compare/@availity/api-core@5.1.2...@availity/api-core@5.1.3) (2019-04-25)

@@ -184,6 +116,2 @@

## [5.1.2](https://github.com/Availity/sdk-js/compare/@availity/api-core@5.1.1...@availity/api-core@5.1.2) (2019-04-25)

@@ -193,29 +121,15 @@

## [5.1.1](https://github.com/Availity/sdk-js/compare/@availity/api-core@5.1.0...@availity/api-core@5.1.1) (2019-04-23)
### Bug Fixes
* **api-core:** relative location header ([2ac4c5f](https://github.com/Availity/sdk-js/commit/2ac4c5f)), closes [#77](https://github.com/Availity/sdk-js/issues/77)
* **api-core:** resolve relative url from request url ([8e6abbb](https://github.com/Availity/sdk-js/commit/8e6abbb)), closes [#77](https://github.com/Availity/sdk-js/issues/77)
- **api-core:** relative location header ([2ac4c5f](https://github.com/Availity/sdk-js/commit/2ac4c5f)), closes [#77](https://github.com/Availity/sdk-js/issues/77)
- **api-core:** resolve relative url from request url ([8e6abbb](https://github.com/Availity/sdk-js/commit/8e6abbb)), closes [#77](https://github.com/Availity/sdk-js/issues/77)
# [5.1.0](https://github.com/Availity/sdk-js/compare/@availity/api-core@5.0.1...@availity/api-core@5.1.0) (2019-04-17)
### Features
* **analytics-core:** added dma logging service ([68aee41](https://github.com/Availity/sdk-js/commit/68aee41))
- **analytics-core:** added dma logging service ([68aee41](https://github.com/Availity/sdk-js/commit/68aee41))
## [5.0.1](https://github.com/Availity/sdk-js/compare/@availity/api-core@5.0.0...@availity/api-core@5.0.1) (2019-04-17)

@@ -225,52 +139,34 @@

# [5.0.0](https://github.com/Availity/sdk-js/compare/@availity/api-core@4.0.1...@availity/api-core@5.0.0) (2019-03-18)
### Bug Fixes
* **dl-core:** fixed dev dep ([15d572a](https://github.com/Availity/sdk-js/commit/15d572a))
* add lerna ignore for package-locks ([3217d96](https://github.com/Availity/sdk-js/commit/3217d96))
* fixed package-lock issues boiling down to this repo ([8c896f4](https://github.com/Availity/sdk-js/commit/8c896f4))
- **dl-core:** fixed dev dep ([15d572a](https://github.com/Availity/sdk-js/commit/15d572a))
- add lerna ignore for package-locks ([3217d96](https://github.com/Availity/sdk-js/commit/3217d96))
- fixed package-lock issues boiling down to this repo ([8c896f4](https://github.com/Availity/sdk-js/commit/8c896f4))
### Features
* **api-core:** add ability to send in variables in AvSlotMachine.query ([f83e00b](https://github.com/Availity/sdk-js/commit/f83e00b))
- **api-core:** add ability to send in variables in AvSlotMachine.query ([f83e00b](https://github.com/Availity/sdk-js/commit/f83e00b))
### BREAKING CHANGES
* upgrades other packages that are using old package-locks
- upgrades other packages that are using old package-locks
# [4.1.0](https://github.com/Availity/sdk-js/compare/@availity/api-core@4.0.1...@availity/api-core@4.1.0) (2019-03-04)
### Bug Fixes
* **dl-core:** fixed dev dep ([15d572a](https://github.com/Availity/sdk-js/commit/15d572a))
* add lerna ignore for package-locks ([3217d96](https://github.com/Availity/sdk-js/commit/3217d96))
* fixed package-lock issues boiling down to this repo ([8c896f4](https://github.com/Availity/sdk-js/commit/8c896f4))
- **dl-core:** fixed dev dep ([15d572a](https://github.com/Availity/sdk-js/commit/15d572a))
- add lerna ignore for package-locks ([3217d96](https://github.com/Availity/sdk-js/commit/3217d96))
- fixed package-lock issues boiling down to this repo ([8c896f4](https://github.com/Availity/sdk-js/commit/8c896f4))
### Features
* **api-core:** add ability to send in variables in AvSlotMachine.query ([f83e00b](https://github.com/Availity/sdk-js/commit/f83e00b))
- **api-core:** add ability to send in variables in AvSlotMachine.query ([f83e00b](https://github.com/Availity/sdk-js/commit/f83e00b))
### BREAKING CHANGES
* upgrades other packages that are using old package-locks
- upgrades other packages that are using old package-locks
## [4.0.1](https://github.com/Availity/sdk-js/compare/@availity/api-core@4.0.0...@availity/api-core@4.0.1) (2019-02-12)

@@ -280,298 +176,197 @@

# 4.0.0 (2019-02-12)
### Bug Fixes
* **api-core:** Allow array for permissions ([#67](https://github.com/Availity/sdk-js/issues/67)) ([98adf76](https://github.com/Availity/sdk-js/commit/98adf76))
* **api-core:** http should throw errors ([#83](https://github.com/Availity/sdk-js/issues/83)) ([868aa8f](https://github.com/Availity/sdk-js/commit/868aa8f))
* **api-core:** rename error object ([460fc9d](https://github.com/Availity/sdk-js/commit/460fc9d))
* **api-core:** return error from async/await ([06c35fe](https://github.com/Availity/sdk-js/commit/06c35fe))
* **api-core:** reverted changelog/canary changes ([0f775ea](https://github.com/Availity/sdk-js/commit/0f775ea))
* **api-core:** typo fix ([f543296](https://github.com/Availity/sdk-js/commit/f543296))
- **api-core:** Allow array for permissions ([#67](https://github.com/Availity/sdk-js/issues/67)) ([98adf76](https://github.com/Availity/sdk-js/commit/98adf76))
- **api-core:** http should throw errors ([#83](https://github.com/Availity/sdk-js/issues/83)) ([868aa8f](https://github.com/Availity/sdk-js/commit/868aa8f))
- **api-core:** rename error object ([460fc9d](https://github.com/Availity/sdk-js/commit/460fc9d))
- **api-core:** return error from async/await ([06c35fe](https://github.com/Availity/sdk-js/commit/06c35fe))
- **api-core:** reverted changelog/canary changes ([0f775ea](https://github.com/Availity/sdk-js/commit/0f775ea))
- **api-core:** typo fix ([f543296](https://github.com/Availity/sdk-js/commit/f543296))
### Features
* **api-core:** add example response for file delivery ([edc4df5](https://github.com/Availity/sdk-js/commit/edc4df5))
* **api-core:** add file upload delivery batch api ([eff0a3c](https://github.com/Availity/sdk-js/commit/eff0a3c))
* **api-core:** added graphql resource for slotmachine ([356a686](https://github.com/Availity/sdk-js/commit/356a686))
* **api-core:** added new resource for disclaimers ([b7de72e](https://github.com/Availity/sdk-js/commit/b7de72e))
- **api-core:** add example response for file delivery ([edc4df5](https://github.com/Availity/sdk-js/commit/edc4df5))
- **api-core:** add file upload delivery batch api ([eff0a3c](https://github.com/Availity/sdk-js/commit/eff0a3c))
- **api-core:** added graphql resource for slotmachine ([356a686](https://github.com/Availity/sdk-js/commit/356a686))
- **api-core:** added new resource for disclaimers ([b7de72e](https://github.com/Availity/sdk-js/commit/b7de72e))
### BREAKING CHANGES
* **api-core:** The httpp error is no longer caught by api-core. Also, the error object is no longer manipulated. Developers must handle the http error by catching the error when using async/await or by leveraging the error callback in the promise chain. The callback `afterResponse` is not called when and error is thrown from http call.
* **api-core:** The query to the API has been changed. To get the previous behavior, supply a custom paramSerializer.
- **api-core:** The httpp error is no longer caught by api-core. Also, the error object is no longer manipulated. Developers must handle the http error by catching the error when using async/await or by leveraging the error callback in the promise chain. The callback `afterResponse` is not called when and error is thrown from http call.
- **api-core:** The query to the API has been changed. To get the previous behavior, supply a custom paramSerializer.
# 2.6.0 (2018-08-23)
### Features
* **api-core:** helper function for settings api ([4d405a7](https://github.com/Availity/sdk-js/commit/4d405a7))
* **api-core:** helper function for settings api ([#64](https://github.com/Availity/sdk-js/issues/64)) ([f247235](https://github.com/Availity/sdk-js/commit/f247235))
- **api-core:** helper function for settings api ([4d405a7](https://github.com/Availity/sdk-js/commit/4d405a7))
- **api-core:** helper function for settings api ([#64](https://github.com/Availity/sdk-js/issues/64)) ([f247235](https://github.com/Availity/sdk-js/commit/f247235))
# 2.5.0 (2018-08-20)
## 2.4.8 (2018-08-06)
### Bug Fixes
* **api-core:** spread args for aliases ([5c7516b](https://github.com/Availity/sdk-js/commit/5c7516b))
- **api-core:** spread args for aliases ([5c7516b](https://github.com/Availity/sdk-js/commit/5c7516b))
## 2.4.7 (2018-08-02)
### Bug Fixes
* **api-core:** check for lowercase location as well ([4a4a9a0](https://github.com/Availity/sdk-js/commit/4a4a9a0))
- **api-core:** check for lowercase location as well ([4a4a9a0](https://github.com/Availity/sdk-js/commit/4a4a9a0))
## 2.4.6 (2018-08-02)
### Bug Fixes
* **analytics-core:** fix non-click events ([fce9b26](https://github.com/Availity/sdk-js/commit/fce9b26))
- **analytics-core:** fix non-click events ([fce9b26](https://github.com/Availity/sdk-js/commit/fce9b26))
# 2.4.0 (2018-07-12)
# 2.2.0 (2018-06-29)
### Bug Fixes
* **api-core:** format postGet payload to standard ([5b885cf](https://github.com/Availity/sdk-js/commit/5b885cf))
- **api-core:** format postGet payload to standard ([5b885cf](https://github.com/Availity/sdk-js/commit/5b885cf))
## 2.1.2 (2018-06-13)
### Bug Fixes
* **api-core:** attempts count not increasing ([2e414a3](https://github.com/Availity/sdk-js/commit/2e414a3))
- **api-core:** attempts count not increasing ([2e414a3](https://github.com/Availity/sdk-js/commit/2e414a3))
## 2.1.1 (2018-05-25)
### Bug Fixes
* **api-core:** fix usage of Promise ([8fb3de8](https://github.com/Availity/sdk-js/commit/8fb3de8))
- **api-core:** fix usage of Promise ([8fb3de8](https://github.com/Availity/sdk-js/commit/8fb3de8))
# 2.1.0 (2018-05-24)
### Features
* **api-core:** add all method to get all the data from all of the pages ([114519d](https://github.com/Availity/sdk-js/commit/114519d))
- **api-core:** add all method to get all the data from all of the pages ([114519d](https://github.com/Availity/sdk-js/commit/114519d))
## 2.0.3 (2018-05-10)
### Bug Fixes
* **api-core:** allow id to be in the config ([55b55af](https://github.com/Availity/sdk-js/commit/55b55af))
- **api-core:** allow id to be in the config ([55b55af](https://github.com/Availity/sdk-js/commit/55b55af))
## 2.0.1 (2018-05-04)
### Bug Fixes
* **api-core:** get id out of arguments ([3e525c2](https://github.com/Availity/sdk-js/commit/3e525c2))
- **api-core:** get id out of arguments ([3e525c2](https://github.com/Availity/sdk-js/commit/3e525c2))
# 2.0.0 (2018-05-04)
### Bug Fixes
* **api-core:** avSpaces - throw error when no spaceId given ([7c47280](https://github.com/Availity/sdk-js/commit/7c47280))
- **api-core:** avSpaces - throw error when no spaceId given ([7c47280](https://github.com/Availity/sdk-js/commit/7c47280))
# 1.4.0 (2018-04-17)
# 1.2.0 (2018-04-12)
### Features
* **api-core:** refactor polling for extending MS ([04c1474](https://github.com/Availity/sdk-js/commit/04c1474))
- **api-core:** refactor polling for extending MS ([04c1474](https://github.com/Availity/sdk-js/commit/04c1474))
## 1.1.1 (2018-03-28)
## 1.0.1 (2018-03-26)
### Bug Fixes
* **api-core:** avFiles error handling ([3dd5392](https://github.com/Availity/sdk-js/commit/3dd5392))
- **api-core:** avFiles error handling ([3dd5392](https://github.com/Availity/sdk-js/commit/3dd5392))
# 1.0.0-alpha.17 (2018-01-18)
# 1.0.0-alpha.16 (2018-01-17)
# 1.0.0-alpha.15 (2018-01-12)
# 1.0.0-alpha.14 (2018-01-11)
# 1.0.0-alpha.13 (2018-01-10)
### Features
* **api-core:** add helper function adds name attribute to providers collection ([3b24341](https://github.com/Availity/sdk-js/commit/3b24341))
- **api-core:** add helper function adds name attribute to providers collection ([3b24341](https://github.com/Availity/sdk-js/commit/3b24341))
# 1.0.0-alpha.12 (2018-01-09)
# 1.0.0-alpha.11 (2018-01-06)
### Bug Fixes
* **api-core:** resources incorrectly handling config ([9a5de1c](https://github.com/Availity/sdk-js/commit/9a5de1c))
- **api-core:** resources incorrectly handling config ([9a5de1c](https://github.com/Availity/sdk-js/commit/9a5de1c))
### Code Refactoring
* **api-core:** pass config object to core classes ([d7b859c](https://github.com/Availity/sdk-js/commit/d7b859c))
- **api-core:** pass config object to core classes ([d7b859c](https://github.com/Availity/sdk-js/commit/d7b859c))
### BREAKING CHANGES
* **api-core:** Options to core classes are being passed in as config object instead of parameters.
- **api-core:** Options to core classes are being passed in as config object instead of parameters.
# 1.0.0-alpha.10 (2018-01-04)
### Bug Fixes
* **api-core:** remove/delete should not assume data payloads ([e45a9f6](https://github.com/Availity/sdk-js/commit/e45a9f6))
- **api-core:** remove/delete should not assume data payloads ([e45a9f6](https://github.com/Availity/sdk-js/commit/e45a9f6))
### BREAKING CHANGES
* **api-core:** previously remove/delete would assume that data was being passed in the body of the request if the first param of the message signature was NOT a string or number. Now, the method assumes a config object is passed in instead of data. This allows the developers to pass in params or data as they see fit.
- **api-core:** previously remove/delete would assume that data was being passed in the body of the request if the first param of the message signature was NOT a string or number. Now, the method assumes a config object is passed in instead of data. This allows the developers to pass in params or data as they see fit.
# 1.0.0-alpha.9 (2018-01-03)
### Bug Fixes
* **api-core:** provides api param not properly merged with defaults ([5f53e3d](https://github.com/Availity/sdk-js/commit/5f53e3d))
- **api-core:** provides api param not properly merged with defaults ([5f53e3d](https://github.com/Availity/sdk-js/commit/5f53e3d))
# 1.0.0-alpha.8 (2018-01-03)
# 1.0.0-alpha.7 (2018-01-03)
### Bug Fixes
* **api-core:** use get instead of query for space name ([84dd26a](https://github.com/Availity/sdk-js/commit/84dd26a))
- **api-core:** use get instead of query for space name ([84dd26a](https://github.com/Availity/sdk-js/commit/84dd26a))
# 1.0.0-alpha.6 (2017-12-20)
# 1.0.0-alpha.5 (2017-12-20)
### Bug Fixes
* **api-core:** wrong url for notifcations api ([acafc97](https://github.com/Availity/sdk-js/commit/acafc97))
- **api-core:** wrong url for notifcations api ([acafc97](https://github.com/Availity/sdk-js/commit/acafc97))
# 1.0.0-alpha.4 (2017-12-20)
### Bug Fixes
* **api-core:** wrong url for pdf api ([9f4af1c](https://github.com/Availity/sdk-js/commit/9f4af1c))
- **api-core:** wrong url for pdf api ([9f4af1c](https://github.com/Availity/sdk-js/commit/9f4af1c))
# 1.0.0-alpha.3 (2017-12-19)
### Bug Fixes
* **api-core:** user.me() should return user object ([715c616](https://github.com/Availity/sdk-js/commit/715c616))
- **api-core:** user.me() should return user object ([715c616](https://github.com/Availity/sdk-js/commit/715c616))
# 1.0.0-alpha.2 (2017-12-19)
# 1.0.0-alpha.1 (2017-12-19)
### Bug Fixes
* **api-core:** remove default after* response transformations ([6f17d3a](https://github.com/Availity/sdk-js/commit/6f17d3a))
- **api-core:** remove default after\* response transformations ([6f17d3a](https://github.com/Availity/sdk-js/commit/6f17d3a))
### BREAKING CHANGES
* **api-core:** The core API classes no longer apply after* transformations on the response. Previously, only the collection data was being returned when making API calls which made it difficult to react to the metadata around the response (e.g. pagination). Developers will have to unwrap the response manually.
- **api-core:** The core API classes no longer apply after\* transformations on the response. Previously, only the collection data was being returned when making API calls which made it difficult to react to the metadata around the response (e.g. pagination). Developers will have to unwrap the response manually.

@@ -586,342 +381,273 @@ Example response callback:

# 1.0.0-alpha.0 (2017-12-05)
### Features
* **api-core:** add post and delete as synonyms for create and update ([0150680](https://github.com/Availity/sdk-js/commit/0150680))
* **api-core:** add spaces helper methods ([72de394](https://github.com/Availity/sdk-js/commit/72de394))
* **api-core, api-angular api-react:** add pdf api ([b84a16f](https://github.com/Availity/sdk-js/commit/b84a16f))
- **api-core:** add post and delete as synonyms for create and update ([0150680](https://github.com/Availity/sdk-js/commit/0150680))
- **api-core:** add spaces helper methods ([72de394](https://github.com/Availity/sdk-js/commit/72de394))
- **api-core, api-angular api-react:** add pdf api ([b84a16f](https://github.com/Availity/sdk-js/commit/b84a16f))
<a name="3.0.0"></a>
<a name="3.0.0"></a>
# 3.0.0 (2018-11-20)
### Bug Fixes
* **api-core:** Allow array for permissions ([#67](https://github.com/Availity/sdk-js/issues/67)) ([98adf76](https://github.com/Availity/sdk-js/commit/98adf76))
* **api-core:** typo fix ([f543296](https://github.com/Availity/sdk-js/commit/f543296))
- **api-core:** Allow array for permissions ([#67](https://github.com/Availity/sdk-js/issues/67)) ([98adf76](https://github.com/Availity/sdk-js/commit/98adf76))
- **api-core:** typo fix ([f543296](https://github.com/Availity/sdk-js/commit/f543296))
### Features
* **api-core:** add example response for file delivery ([edc4df5](https://github.com/Availity/sdk-js/commit/edc4df5))
* **api-core:** add file upload delivery batch api ([eff0a3c](https://github.com/Availity/sdk-js/commit/eff0a3c))
- **api-core:** add example response for file delivery ([edc4df5](https://github.com/Availity/sdk-js/commit/edc4df5))
- **api-core:** add file upload delivery batch api ([eff0a3c](https://github.com/Availity/sdk-js/commit/eff0a3c))
### BREAKING CHANGES
* **api-core:** The query to the API has been changed. To get the previous behavior, supply a custom paramSerializer.
- **api-core:** The query to the API has been changed. To get the previous behavior, supply a custom paramSerializer.
<a name="2.6.0"></a>
<a name="2.6.0"></a>
# 2.6.0 (2018-08-23)
### Features
* **api-core:** helper function for settings api ([4d405a7](https://github.com/Availity/sdk-js/commit/4d405a7))
* **api-core:** helper function for settings api ([#64](https://github.com/Availity/sdk-js/issues/64)) ([f247235](https://github.com/Availity/sdk-js/commit/f247235))
- **api-core:** helper function for settings api ([4d405a7](https://github.com/Availity/sdk-js/commit/4d405a7))
- **api-core:** helper function for settings api ([#64](https://github.com/Availity/sdk-js/issues/64)) ([f247235](https://github.com/Availity/sdk-js/commit/f247235))
<a name="2.5.0"></a>
<a name="2.5.0"></a>
# 2.5.0 (2018-08-20)
<a name="2.4.8"></a>
<a name="2.4.8"></a>
## 2.4.8 (2018-08-06)
### Bug Fixes
* **api-core:** spread args for aliases ([5c7516b](https://github.com/Availity/sdk-js/commit/5c7516b))
- **api-core:** spread args for aliases ([5c7516b](https://github.com/Availity/sdk-js/commit/5c7516b))
<a name="2.4.7"></a>
<a name="2.4.7"></a>
## 2.4.7 (2018-08-02)
### Bug Fixes
* **api-core:** check for lowercase location as well ([4a4a9a0](https://github.com/Availity/sdk-js/commit/4a4a9a0))
- **api-core:** check for lowercase location as well ([4a4a9a0](https://github.com/Availity/sdk-js/commit/4a4a9a0))
<a name="2.4.6"></a>
<a name="2.4.6"></a>
## 2.4.6 (2018-08-02)
### Bug Fixes
* **analytics-core:** fix non-click events ([fce9b26](https://github.com/Availity/sdk-js/commit/fce9b26))
- **analytics-core:** fix non-click events ([fce9b26](https://github.com/Availity/sdk-js/commit/fce9b26))
<a name="2.4.0"></a>
<a name="2.4.0"></a>
# 2.4.0 (2018-07-12)
<a name="2.3.3"></a>
<a name="2.3.3"></a>
## 2.3.3 (2018-07-12)
<a name="2.2.0"></a>
<a name="2.2.0"></a>
# 2.2.0 (2018-06-29)
### Bug Fixes
* **api-core:** format postGet payload to standard ([5b885cf](https://github.com/Availity/sdk-js/commit/5b885cf))
- **api-core:** format postGet payload to standard ([5b885cf](https://github.com/Availity/sdk-js/commit/5b885cf))
<a name="2.1.2"></a>
<a name="2.1.2"></a>
## 2.1.2 (2018-06-13)
### Bug Fixes
* **api-core:** attempts count not increasing ([2e414a3](https://github.com/Availity/sdk-js/commit/2e414a3))
- **api-core:** attempts count not increasing ([2e414a3](https://github.com/Availity/sdk-js/commit/2e414a3))
<a name="2.1.1"></a>
<a name="2.1.1"></a>
## 2.1.1 (2018-05-25)
### Bug Fixes
* **api-core:** fix usage of Promise ([8fb3de8](https://github.com/Availity/sdk-js/commit/8fb3de8))
- **api-core:** fix usage of Promise ([8fb3de8](https://github.com/Availity/sdk-js/commit/8fb3de8))
<a name="2.1.0"></a>
<a name="2.1.0"></a>
# 2.1.0 (2018-05-24)
### Features
* **api-core:** add all method to get all the data from all of the pages ([114519d](https://github.com/Availity/sdk-js/commit/114519d))
- **api-core:** add all method to get all the data from all of the pages ([114519d](https://github.com/Availity/sdk-js/commit/114519d))
<a name="2.0.3"></a>
<a name="2.0.3"></a>
## 2.0.3 (2018-05-10)
### Bug Fixes
* **api-core:** allow id to be in the config ([55b55af](https://github.com/Availity/sdk-js/commit/55b55af))
- **api-core:** allow id to be in the config ([55b55af](https://github.com/Availity/sdk-js/commit/55b55af))
<a name="2.0.1"></a>
<a name="2.0.1"></a>
## 2.0.1 (2018-05-04)
### Bug Fixes
* **api-core:** get id out of arguments ([3e525c2](https://github.com/Availity/sdk-js/commit/3e525c2))
- **api-core:** get id out of arguments ([3e525c2](https://github.com/Availity/sdk-js/commit/3e525c2))
<a name="2.0.0"></a>
<a name="2.0.0"></a>
# 2.0.0 (2018-05-04)
### Bug Fixes
* **api-core:** avSpaces - throw error when no spaceId given ([7c47280](https://github.com/Availity/sdk-js/commit/7c47280))
- **api-core:** avSpaces - throw error when no spaceId given ([7c47280](https://github.com/Availity/sdk-js/commit/7c47280))
<a name="1.4.0"></a>
<a name="1.4.0"></a>
# 1.4.0 (2018-04-17)
<a name="1.2.0"></a>
<a name="1.2.0"></a>
# 1.2.0 (2018-04-12)
### Features
* **api-core:** refactor polling for extending MS ([04c1474](https://github.com/Availity/sdk-js/commit/04c1474))
- **api-core:** refactor polling for extending MS ([04c1474](https://github.com/Availity/sdk-js/commit/04c1474))
<a name="1.1.1"></a>
<a name="1.1.1"></a>
## 1.1.1 (2018-03-28)
<a name="1.0.1"></a>
<a name="1.0.1"></a>
## 1.0.1 (2018-03-26)
### Bug Fixes
* **api-core:** avFiles error handling ([3dd5392](https://github.com/Availity/sdk-js/commit/3dd5392))
- **api-core:** avFiles error handling ([3dd5392](https://github.com/Availity/sdk-js/commit/3dd5392))
<a name="1.0.0-alpha.17"></a>
<a name="1.0.0-alpha.17"></a>
# 1.0.0-alpha.17 (2018-01-18)
<a name="1.0.0-alpha.16"></a>
<a name="1.0.0-alpha.16"></a>
# 1.0.0-alpha.16 (2018-01-17)
<a name="1.0.0-alpha.15"></a>
<a name="1.0.0-alpha.15"></a>
# 1.0.0-alpha.15 (2018-01-12)
<a name="1.0.0-alpha.14"></a>
<a name="1.0.0-alpha.14"></a>
# 1.0.0-alpha.14 (2018-01-11)
<a name="1.0.0-alpha.13"></a>
<a name="1.0.0-alpha.13"></a>
# 1.0.0-alpha.13 (2018-01-10)
### Features
* **api-core:** add helper function adds name attribute to providers collection ([3b24341](https://github.com/Availity/sdk-js/commit/3b24341))
- **api-core:** add helper function adds name attribute to providers collection ([3b24341](https://github.com/Availity/sdk-js/commit/3b24341))
<a name="1.0.0-alpha.12"></a>
<a name="1.0.0-alpha.12"></a>
# 1.0.0-alpha.12 (2018-01-09)
<a name="1.0.0-alpha.11"></a>
<a name="1.0.0-alpha.11"></a>
# 1.0.0-alpha.11 (2018-01-06)
### Bug Fixes
* **api-core:** resources incorrectly handling config ([9a5de1c](https://github.com/Availity/sdk-js/commit/9a5de1c))
- **api-core:** resources incorrectly handling config ([9a5de1c](https://github.com/Availity/sdk-js/commit/9a5de1c))
### Code Refactoring
* **api-core:** pass config object to core classes ([d7b859c](https://github.com/Availity/sdk-js/commit/d7b859c))
- **api-core:** pass config object to core classes ([d7b859c](https://github.com/Availity/sdk-js/commit/d7b859c))
### BREAKING CHANGES
* **api-core:** Options to core classes are being passed in as config object instead of parameters.
- **api-core:** Options to core classes are being passed in as config object instead of parameters.
<a name="1.0.0-alpha.10"></a>
<a name="1.0.0-alpha.10"></a>
# 1.0.0-alpha.10 (2018-01-04)
### Bug Fixes
* **api-core:** remove/delete should not assume data payloads ([e45a9f6](https://github.com/Availity/sdk-js/commit/e45a9f6))
- **api-core:** remove/delete should not assume data payloads ([e45a9f6](https://github.com/Availity/sdk-js/commit/e45a9f6))
### BREAKING CHANGES
* **api-core:** previously remove/delete would assume that data was being passed in the body of the request if the first param of the message signature was NOT a string or number. Now, the method assumes a config object is passed in instead of data. This allows the developers to pass in params or data as they see fit.
- **api-core:** previously remove/delete would assume that data was being passed in the body of the request if the first param of the message signature was NOT a string or number. Now, the method assumes a config object is passed in instead of data. This allows the developers to pass in params or data as they see fit.
<a name="1.0.0-alpha.9"></a>
<a name="1.0.0-alpha.9"></a>
# 1.0.0-alpha.9 (2018-01-03)
### Bug Fixes
* **api-core:** provides api param not properly merged with defaults ([5f53e3d](https://github.com/Availity/sdk-js/commit/5f53e3d))
- **api-core:** provides api param not properly merged with defaults ([5f53e3d](https://github.com/Availity/sdk-js/commit/5f53e3d))
<a name="1.0.0-alpha.8"></a>
<a name="1.0.0-alpha.8"></a>
# 1.0.0-alpha.8 (2018-01-03)
<a name="1.0.0-alpha.7"></a>
<a name="1.0.0-alpha.7"></a>
# 1.0.0-alpha.7 (2018-01-03)
### Bug Fixes
* **api-core:** use get instead of query for space name ([84dd26a](https://github.com/Availity/sdk-js/commit/84dd26a))
- **api-core:** use get instead of query for space name ([84dd26a](https://github.com/Availity/sdk-js/commit/84dd26a))
<a name="1.0.0-alpha.6"></a>
<a name="1.0.0-alpha.6"></a>
# 1.0.0-alpha.6 (2017-12-20)
<a name="1.0.0-alpha.5"></a>
<a name="1.0.0-alpha.5"></a>
# 1.0.0-alpha.5 (2017-12-20)
### Bug Fixes
* **api-core:** wrong url for notifcations api ([acafc97](https://github.com/Availity/sdk-js/commit/acafc97))
- **api-core:** wrong url for notifcations api ([acafc97](https://github.com/Availity/sdk-js/commit/acafc97))
<a name="1.0.0-alpha.4"></a>
<a name="1.0.0-alpha.4"></a>
# 1.0.0-alpha.4 (2017-12-20)
### Bug Fixes
* **api-core:** wrong url for pdf api ([9f4af1c](https://github.com/Availity/sdk-js/commit/9f4af1c))
- **api-core:** wrong url for pdf api ([9f4af1c](https://github.com/Availity/sdk-js/commit/9f4af1c))
<a name="1.0.0-alpha.3"></a>
<a name="1.0.0-alpha.3"></a>
# 1.0.0-alpha.3 (2017-12-19)
### Bug Fixes
* **api-core:** user.me() should return user object ([715c616](https://github.com/Availity/sdk-js/commit/715c616))
- **api-core:** user.me() should return user object ([715c616](https://github.com/Availity/sdk-js/commit/715c616))
<a name="1.0.0-alpha.2"></a>
<a name="1.0.0-alpha.2"></a>
# 1.0.0-alpha.2 (2017-12-19)
<a name="1.0.0-alpha.1"></a>
<a name="1.0.0-alpha.1"></a>
# 1.0.0-alpha.1 (2017-12-19)
### Bug Fixes
* **api-core:** remove default after* response transformations ([6f17d3a](https://github.com/Availity/sdk-js/commit/6f17d3a))
- **api-core:** remove default after\* response transformations ([6f17d3a](https://github.com/Availity/sdk-js/commit/6f17d3a))
### BREAKING CHANGES
* **api-core:** The core API classes no longer apply after* transformations on the response. Previously, only the collection data was being returned when making API calls which made it difficult to react to the metadata around the response (e.g. pagination). Developers will have to unwrap the response manually.
- **api-core:** The core API classes no longer apply after\* transformations on the response. Previously, only the collection data was being returned when making API calls which made it difficult to react to the metadata around the response (e.g. pagination). Developers will have to unwrap the response manually.

@@ -936,12 +662,10 @@ Example response callback:

<a name="1.0.0-alpha.0"></a>
<a name="1.0.0-alpha.0"></a>
# 1.0.0-alpha.0 (2017-12-05)
### Features
* **api-core:** add post and delete as synonyms for create and update ([0150680](https://github.com/Availity/sdk-js/commit/0150680))
* **api-core:** add spaces helper methods ([72de394](https://github.com/Availity/sdk-js/commit/72de394))
* **api-core, api-angular api-react:** add pdf api ([b84a16f](https://github.com/Availity/sdk-js/commit/b84a16f))
- **api-core:** add post and delete as synonyms for create and update ([0150680](https://github.com/Availity/sdk-js/commit/0150680))
- **api-core:** add spaces helper methods ([72de394](https://github.com/Availity/sdk-js/commit/72de394))
- **api-core, api-angular api-react:** add pdf api ([b84a16f](https://github.com/Availity/sdk-js/commit/b84a16f))
{
"name": "@availity/api-core",
"version": "6.1.1",
"version": "6.1.2",
"description": "Base API definitions for the Availity REST API",

@@ -21,6 +21,6 @@ "keywords": [

"dependencies": {
"@availity/resolve-url": "^1.1.3",
"@availity/resolve-url": "^1.1.4",
"qs": "^6.5.2"
},
"gitHead": "8622ddc58ced5e0651354cb1f64ce852f657d5f6"
"gitHead": "4a3f6381d7ccbbbec777c015e2f53aa3c32778a1"
}
# api-core
> Base API definitions for the Availity REST API.

@@ -6,2 +7,16 @@

## Install
### NPM
```bash
$ npm install @availity/api-core
```
### Yarn
```bash
$ yarn add @availity/api-core
```
## [Documentation](https://availity.github.io/sdk-js/api/getting-started)

@@ -31,2 +31,3 @@ # Availity API's

##### `me()`
Helper function that returns information about logged in user.

@@ -126,2 +127,3 @@

### `AvFilesDelivery`
Upload a batch of files to a designated channel configured on the server.

@@ -132,40 +134,28 @@

#### `uploadFilesDelivery(data, config)`
Method to upload a batch of file deliveries. `data` contains an array of `deliveries`. Provide the `fileUri` (reference field from AvFiles), `deliveryChannel`, and the required `metadata` for that channel.
Example `data`:
```html
data = {
deliveries:
[ {
fileURI: upload.references[0],
deliveryChannel: 'DEMO',
metadata: { payerId: "PAYERID", requestId: "123", patientLastName: "lastName", patientFirstName: "firstName" },
} ]
};
data = { deliveries: [ { fileURI: upload.references[0], deliveryChannel: 'DEMO',
metadata: { payerId: "PAYERID", requestId: "123", patientLastName: "lastName",
patientFirstName: "firstName" }, } ] };
```
`config` should contain `customerId` and `clientId`
#### Example Response
```html
{ "id": "123456", // batchId
"status": "COMPLETE", // COMPLETE/INPROGRESS
"deliveries": [
{
"id": "56789", // deliveryId
"deliveryBatchId": "123456",
"fileURI": <fileUri>,
"deliveryChannel": "DEMO",
"deliveryStatus": "ERRORED", // INPROGRESS/REJECTED/ERRORED/DELIVERED
"errors": [
{
"message": "error message",
"subject": "subject of error"
}
],
"metadata": {
payerId: "PAYERID", requestId: "123", patientLastName: "lastName", patientFirstName: "firstName"
}
}
]
}
{ "id": "123456", // batchId "status": "COMPLETE", // COMPLETE/INPROGRESS
"deliveries": [ { "id": "56789", // deliveryId "deliveryBatchId": "123456",
"fileURI":
<fileUri
>, "deliveryChannel": "DEMO", "deliveryStatus": "ERRORED", //
INPROGRESS/REJECTED/ERRORED/DELIVERED "errors": [ { "message": "error
message", "subject": "subject of error" } ], "metadata": { payerId:
"PAYERID", requestId: "123", patientLastName: "lastName", patientFirstName:
"firstName" } } ] }</fileUri
>
```

@@ -179,3 +169,2 @@

### `AvSlotMachine`

@@ -182,0 +171,0 @@

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