augnitosdk
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -7,2 +7,3 @@ import { AugnitoConfig } from './config/AugnitoConfig'; | ||
import { FactoryAPI } from './api/FactoryAPI'; | ||
import { IConfiguration } from './config/IConfiguration '; | ||
/** | ||
@@ -78,2 +79,3 @@ * Augnito Manager | ||
get apisFactory(): FactoryAPI; | ||
get configuration(): IConfiguration; | ||
private onPartialResultsCallback; | ||
@@ -80,0 +82,0 @@ private onFinalResultsCallback; |
export * from './AugnitoConfig'; | ||
export * from './AugnitoMobileConfig'; | ||
export * from './IConfiguration '; |
@@ -6,8 +6,10 @@ import { AugnitoConfig } from './AugnitoConfig'; | ||
import { AugnitoSource } from '../support/AugnitoSource'; | ||
import { IConfiguration } from './IConfiguration '; | ||
/** | ||
* Augnito SDK Config | ||
*/ | ||
export declare class SDKConfig { | ||
export declare class SDKConfig implements IConfiguration { | ||
private _config; | ||
qrCode: string; | ||
customSpeechURL: string | undefined; | ||
readonly contentType: string; | ||
@@ -29,2 +31,6 @@ readonly noiseCt: string; | ||
constructor(_config: AugnitoConfig); | ||
setLmId(lmId: string): void; | ||
setSpeechURL(speechURL: string): void; | ||
setAccountCode(accountCode: string): void; | ||
setAccessKey(accessKey: string): void; | ||
get clientConfig(): AugnitoConfig; | ||
@@ -31,0 +37,0 @@ get enableLogs(): boolean; |
{ | ||
"name": "augnitosdk", | ||
"private": false, | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"license": "Restricted", | ||
@@ -6,0 +6,0 @@ "files": [ |
@@ -59,2 +59,3 @@ # Augnito Speech SDK | ||
//Generate a QR Code with the following value | ||
const code = augnito.getQRCode(); | ||
@@ -65,10 +66,10 @@ ``` | ||
| Name | type | Description | | ||
| --------------- | --------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | | ||
| onPartialResult | (text: string) => void | Partial Result generated from the server | | ||
| onFinalResult | (finalText: Partial<Recipe>) => boolean | A final result is called when text has been processed by the Speech Server. Returns `true` to stop the processing in the SDK | | ||
| onCommandResult | (command: Partial<Recipe>) => boolean | A command generated from the server. Returns `true` to stop the processing in the SDK | | ||
| onStateChanged | (isConnected: boolean) => void | Callback to indicate the status of the connection has changed. | | ||
| onSessionEvent | (data: AugnitoSocketResponse) => void | Callback to intercept Session Events | | ||
| onIdleMic | () => void | Callback when the Mic is idle for 5 minutes | | ||
| Name | type | Description | | ||
| --------------- | ------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | | ||
| onPartialResult | (text: string) => void | Partial Result generated from the server | | ||
| onFinalResult | (finalText: Recipe) => boolean | A final result is called when text has been processed by the Speech Server. Returns `true` to stop the processing in the SDK | | ||
| onCommandResult | (command: Recipe) => boolean | A command generated from the server. Returns `true` to stop the processing in the SDK | | ||
| onStateChanged | (isConnected: boolean) => void | Callback to indicate the status of the connection has changed. | | ||
| onSessionEvent | (data: AugnitoSocketResponse) => void | Callback to intercept Session Events | | ||
| onIdleMic | () => void | Callback when the Mic is idle for 5 minutes | | ||
@@ -99,5 +100,5 @@ ## Augnito Mobile - Speech Related Callbacks | ||
| ----------- | -------------------- | -------------------------------------------------- | | ||
| getMacros | Promise<MacroResult> | Returns a list of macros for the specified user. | | ||
| upsertMacro | Promise<MacroResult> | Creates or Updates a Macro for the specified user. | | ||
| deleteMacro | Promise<MacroResult> | Deletes a Macro for the specified user. | | ||
| getMacros | Promise: MacroResult | Returns a list of macros for the specified user. | | ||
| upsertMacro | Promis: MacroResult | Creates or Updates a Macro for the specified user. | | ||
| deleteMacro | Promise: MacroResult | Deletes a Macro for the specified user. | | ||
@@ -104,0 +105,0 @@ ### 1- Create Macros Client |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
287839
55
2315
128