* initial changes for env var support
* WIP
* Update applications.js
* JSON stringify before encrypting
* use call_hook.url
* env vars working
GET /v1/AppEnv?url=[URL] to trigger options request to URL and return app-schema
POST /v1/Applications with {env_vars: [OBJECT} to create app with env vars
PUT /v1/Applications/[SID] with {env_vars: [OBJECT} to change env vars
GET returns env vars
POST and PUT will also trigger an OPTIONS request to the call_hook url to get schema and then validate the env_vars against it
* update appenv cannot finish request.
* wip
* wip
* wip
* wip
---------
Co-authored-by: Dave Horton <daveh@beachdognet.com>
Co-authored-by: Quan HL <quan.luuhoang8@gmail.com>
Co-authored-by: Hoan Luu Huu <110280845+xquanluu@users.noreply.github.com>
* feat/367 added support for name query parameter for getting application by name
* feat/367 - Updated test case and modified retrieveAll method to make name independent of service_provider_id and account_sid
* updated query to use WHERE 1=1 to avoid whereFlag variable
* feat/367: removed empty line added accidently
* limit access to resources according to user scope
* fix error change
* speech credentials validation
* fix speech credentials validation
* fix the issues that didnt allow tests to pass
* speech credential validation
* retrieve speech cred list
* fixt speech credential test valodation
* check scope of smpp-gateways
* check scope of smpp-gateways
* testing time
* /signin for hosted system needs to return scope in jwt
* fix user delete route and adjust tests
* get refactor
---------
Co-authored-by: eglehelms <e.helms@cognigy.com>
Co-authored-by: Dave Horton <daveh@beachdognet.com>
Co-authored-by: Guilherme Rauen <g.rauen@cognigy.com>
* added phone_numbers.app_json column
* modify prev commit to put app_json on applications table
* feat: add app_json to applications endpoint
---------
Co-authored-by: Dave Horton <daveh@beachdognet.com>
Co-authored-by: Quan HL <quanluuhoang8@gmail.com>