wehelp-nps v0.0.4
WehelpNps
Installation
This is a Node.js module available through the npm registry.
Before installing, download and install Node.js. Node.js 0.10 or higher is required.
Installation is done using the npm install command:
$ npm install wehelp-nps
Usage
<wehelp-nps experienceKey="" surveyToken="" widgetType="" widgetLanguage="" internalCode="" name="" email="" type="" language="" companyUnit="" phone="" dateOfBirth="" createdAt="" state="" country="" gender="" document="">
Required Fields
- experienceKey - Chave
- surveyToken - Token
- widgetType - Tipo de Widget. Valores aceitos: 'modal', 'bar', 'box'
- widgetLanguage - Idioma do Widget. Valores aceitos: 'PORTUGUESE', 'ENGLISH', 'SPANISH'
- internalCode - Código Interno da pessoa
- name - Nome da Pessoa
- email - E-mail da Pessoa
- type - Tipo da Pessoa. Valores aceitos: 'CUSTOMER', 'COLLABORATOR'
- language - Idioma da Pessoa. Valores aceitos: 'PORTUGUESE', 'ENGLISH', 'SPANISH'
- companyUnit - Código da Unidade
Optional Fields
- phone - Telefone da pessoa. Formato: 552199999999
- dateOfBirth - Data de nascimento da pessoa. Formato: 2000-07-06
- createdAt - Data de cadastro da pessoa. Formato: 2018-05-05
- state - Estado. Exemplo: RJ
- country - País. Exemplo: BRA
- gender - Gênero. Exemplo: "M", "F"
- document - CPF. Exemplo: 111.111.111-11
Publishing
After building your library with ng build wehelp-nps
, go to the dist folder cd dist/wehelp-nps
and run npm publish
.
Running unit tests
Run ng test wehelp-nps
to execute the unit tests via Karma.
Further help
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.