diff --git a/models/bxml/verbs/StopStream.ts b/models/bxml/verbs/StopStream.ts
index 79aa70c..ff66bea 100644
--- a/models/bxml/verbs/StopStream.ts
+++ b/models/bxml/verbs/StopStream.ts
@@ -2,6 +2,7 @@ import { Verb } from '../Verb';
export interface StopStreamAttributes {
name: string;
+ wait?: boolean;
}
/**
diff --git a/tests/smoke/bxml.test.ts b/tests/smoke/bxml.test.ts
index ac3bd13..e7f9e7c 100644
--- a/tests/smoke/bxml.test.ts
+++ b/tests/smoke/bxml.test.ts
@@ -219,7 +219,8 @@ describe('BXML Integration Tests', () => {
};
const stopStreamAttributes: StopStreamAttributes = {
- name: 'initialName'
+ name: 'initialName',
+ wait: true
};
const stopTranscriptionAttributes: StopTranscriptionAttributes = {
diff --git a/tests/unit/models/bxml/verbs/StopStream.test.ts b/tests/unit/models/bxml/verbs/StopStream.test.ts
index 8ecb377..2257a86 100644
--- a/tests/unit/models/bxml/verbs/StopStream.test.ts
+++ b/tests/unit/models/bxml/verbs/StopStream.test.ts
@@ -3,10 +3,11 @@ import { StopStream, StopStreamAttributes } from '../../../../../models/bxml/ver
describe('StopStream', () => {
const attributes: StopStreamAttributes = {
- name: 'initialName'
+ name: 'initialName',
+ wait: true
};
- const expected = '';
+ const expected = '';
test('should create a StopStream Verb', () => {
const stopStream = new StopStream(attributes);