auth0 / node-auth0

Node.js client library for the Auth0 platform.
MIT License
639 stars 309 forks source link

Forms and Flows implementation #1055

Closed tusharpandey13 closed 2 weeks ago

tusharpandey13 commented 2 weeks ago

Changes

Added FlowsManager manager added that exposes the following methods:

/flows:
  get: getAll
  post: create
/flows/vault/connections:
  get: getAllConnections
  post: createConnection
'/flows/vault/connections/{id}':
  get: getConnection
  delete: deleteConnection
  patch: updateConnection
'/flows/{flow_id}/executions':
  get: getAllExecutionsByFlowId
'/flows/{flow_id}/executions/{execution_id}':
  get: getExecution
  delete: deleteExecution
'/flows/{id}':
  get: get
  patch: update
  delete: delete
/forms:
  get: getAll
  post: create
'/forms/{id}':
  get: get
  patch: update
  delete: delete

Also added respective unit tests for FlowsManager

References

Forms API Docs Flows API Docs

Testing

Test Suites: 43 passed, 43 total
Tests:       1396 passed, 1396 total
Snapshots:   0 total
Time:        7.005 s
Ran all test suites.

Checklist

tusharpandey13 commented 2 weeks ago

We will be releasing release specific examples for this feature shortly.