1.0.5 • Published 8 months ago

@techdacxi/capacitor-persona-plugin v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

capacitor-persona

Native Persona integration into the web application using SDK

Install

npm install capacitor-persona-plugin
npx cap sync

API

initialize(...)

initialize(options: PresentPersonaOptions) => Promise<void>

Initialize the Persona Widget with an Template ID

ParamType
optionsPresentPersonaOptions

Since: 0.1.0


presentPersonaFlow()

presentPersonaFlow() => Promise<InquiryResult>

Calls the Persona Executor to present the Inquiry Flow

Returns: Promise<InquiryResult>

Since: 0.1.0


Interfaces

PresentPersonaOptions

PropTypeDescriptionDefaultSince
templateIdstringThe template ID corresponds to a pre-set configuration and determines how the flow is customized.1.0.0
inquiryIdstringThe inquiry ID is used to resume an existing inquiry instead of creating a new one The inquiry ID has priority over templateId and referenceId1.0.3
referenceIdstringA string unique to every user that is used to identify their Persona account in a way that makes sense to your business key to use in the flow1.0.2
isSandboxbooleanWhether the Inquiry is going to be in Sandbox mode or Productionfalse (production mode)1.0.0

InquiryResult

PropTypeDescriptionSince
statusPersonaPresentationStatusThe status of the Inquiry Result It can be: Success, Failed, Cancelled and Error1.0.0
inquiryIdstringThe Inquiry identification key associated with the result Only available if the Inquiry is successful1.0.0
errorMessagestringThe error message, in case it of an Error status1.0.0

Enums

PersonaPresentationStatus

MembersValue
Success'success'
Failed'failed'
Cancelled'cancelled'
Error'error'
ansi-regexacornansi-colorsacorn-jsxajvargparseansi-stylesarray-unionarray-buffer-byte-lengtharray-includesarray.prototype.flatbrace-expansionarray.prototype.flatmapat-least-nodeastral-regexbalanced-matchavailable-typed-arrayscall-bindcallsitesbraceschalkconcat-mapcolorettechevrotaincolor-convertcolor-namecross-spawncosmiconfigdebugdeep-isdefine-propertiesdoctrineemoji-regexenquirerdir-globerror-exes-set-tostringtages-abstractes-shim-unscopablesescape-string-regexpeslint-scopeeslint-config-prettieres-to-primitiveeslint-module-utilseslint-visitor-keyseslint-plugin-importeslint-utilseslint-import-resolver-nodeesprimaespreeesqueryesrecursefast-globfast-deep-equalesutilsestraversefastqfast-levenshteinfs.realpathfast-json-stable-stringifyfill-rangefile-entry-cacheflat-cacheflattedfs-extrafunction.prototype.namefor-eachglobfunctional-red-black-treegithub-sluggerfunction-bindget-intrinsicget-stdinfunctions-have-namesglobalsglobalthisget-symbol-descriptionglob-parentgraceful-fsglobbyhas-flaghashas-bigintsgopdhas-property-descriptorshas-protohas-symbolsinflightimport-freshinheritshas-tostringtagignoreis-array-bufferimurmurhashis-boolean-objectinternal-slotis-callableis-bigintis-arrayishis-date-objectis-extglobis-core-moduleis-globis-negative-zerois-numberis-shared-array-bufferis-number-objectis-fullwidth-code-pointis-regexis-symbolis-weakrefis-typed-arrayisexeis-stringjs-tokensjava-parserjson-parse-even-better-errorsjs-yamljson-stable-stringify-without-jsonifyjsonfilejson-schema-traversejson5lodash.truncatelevnlodash.mergemerge2minimistminimatchlines-and-columnsmicromatchlru-cachelodashnatural-compareonceobject-inspectmsparent-moduleobject-keysobject.assignobject.valuesoptionatorpath-keypath-is-absoluteparse-jsonpath-typepath-parseprelude-lsprogressqueue-microtaskpicomatchregexp-to-astregexpppunycoderequire-from-stringregexp.prototype.flagsresolveresolve-fromreusifyrun-parallelsemversafe-regex-testshebang-commandsignal-exitside-channelslashslice-ansistring-widthsprintf-jsstring.prototype.trimstring.prototype.trimstartstring.prototype.trimendstrip-ansishebang-regexsupports-colorstrip-bomstrip-json-commentssupports-preserve-symlinks-flagtabletsconfig-pathstext-tableto-regex-rangetree-killtype-checktsutilstslibtype-festunbox-primitivetyped-array-lengthuntildifyuri-jsv8-compile-cacheuniversalifywrappywhichwhich-typed-arraywhich-boxed-primitiveword-wrapwrap-ansiyallistyaml
1.0.5

8 months ago

1.0.4

9 months ago

1.0.3

12 months ago

1.0.2

1 year ago

1.0.1

2 years ago

1.0.0

2 years ago