JAVASCRIPT

TypeScript

If you work with TypeScript, feel free to import the type definitions for the various objects included in the WebSDK, such as Form, Proc, and more. Object types are specified as part of the documentation.

import{formStart,Form}from'priority-web-sdk'letmyForm:Form;startForm('CUSTOMERS',...).then((form:Form)=>{// do something})

Keep in Mind

Server responses can be handled as either callbacks or Promises. Both are supported.

Some methods must be called in a certain order for them to work.

That’s it! Go ahead and get started with this awesome tool. We are eagerly awaiting your feedback.