@jambonz/time-series 0.2.12 → 0.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +5 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -18,7 +18,8 @@ const AlertType = {
|
|
|
18
18
|
SP_DEVICE_LIMIT: 'service-provider-device-limit',
|
|
19
19
|
SP_API_LIMIT: 'service-provider-api-limit',
|
|
20
20
|
ACCOUNT_INACTIVE: 'account is inactive or suspended',
|
|
21
|
-
PLAY_FILENOTFOUND: 'play-url-notfound'
|
|
21
|
+
PLAY_FILENOTFOUND: 'play-url-notfound',
|
|
22
|
+
TTS_STREAMING_CONNECTION_FAILURE: 'tts-streaming-connection-failure'
|
|
22
23
|
};
|
|
23
24
|
|
|
24
25
|
const schemas = {
|
|
@@ -673,6 +674,9 @@ const writeAlerts = async(client, alerts) => {
|
|
|
673
674
|
case AlertType.PLAY_FILENOTFOUND:
|
|
674
675
|
message = `The file at ${url} was not found`;
|
|
675
676
|
break;
|
|
677
|
+
case AlertType.TTS_STREAMING_CONNECTION_FAILURE:
|
|
678
|
+
message = `Failed to connect to tts streaming service at ${vendor}`;
|
|
679
|
+
break;
|
|
676
680
|
default:
|
|
677
681
|
break;
|
|
678
682
|
}
|