Skip to content

Commit efaf42f

Browse files
author
dvonthenen
committed
Add licensing and header to all source files
1 parent 3778b92 commit efaf42f

File tree

27 files changed

+85
-1
lines changed

27 files changed

+85
-1
lines changed
6.58 MB
Binary file not shown.

examples/node/async/action-items/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2022 Symbl.ai SDK contributors. All Rights Reserved.
2+
// SPDX-License-Identifier: MIT
3+
14
require('dotenv').config()
25
const util = require('util')
36

examples/node/async/analytics/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2022 Symbl.ai SDK contributors. All Rights Reserved.
2+
// SPDX-License-Identifier: MIT
3+
14
require('dotenv').config()
25
const util = require('util')
36

examples/node/async/entities/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2022 Symbl.ai SDK contributors. All Rights Reserved.
2+
// SPDX-License-Identifier: MIT
3+
14
require('dotenv').config()
25
const util = require('util')
36

examples/node/async/follow-ups/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2022 Symbl.ai SDK contributors. All Rights Reserved.
2+
// SPDX-License-Identifier: MIT
3+
14
require('dotenv').config()
25
const util = require('util')
36

examples/node/async/messages/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2022 Symbl.ai SDK contributors. All Rights Reserved.
2+
// SPDX-License-Identifier: MIT
3+
14
require('dotenv').config()
25
const util = require('util')
36

examples/node/async/questions/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2022 Symbl.ai SDK contributors. All Rights Reserved.
2+
// SPDX-License-Identifier: MIT
3+
14
require('dotenv').config()
25
const util = require('util')
36

examples/node/async/summary/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2022 Symbl.ai SDK contributors. All Rights Reserved.
2+
// SPDX-License-Identifier: MIT
3+
14
require('dotenv').config()
25
const util = require('util')
36

examples/node/async/topics/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright 2022 Symbl.ai SDK contributors. All Rights Reserved.
2+
// SPDX-License-Identifier: MIT
3+
14
require('dotenv').config()
25
const util = require('util')
36

examples/node/common/common.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
// Copyright 2022 Symbl.ai SDK contributors. All Rights Reserved.
2+
// SPDX-License-Identifier: MIT
3+
14
require('dotenv').config()
25
const fetch = require('node-fetch');
36
const uuid = require('uuid').v4
7+
// const util = require('util')
48

59
const sampleRateHertz = 16000
610

@@ -21,7 +25,7 @@ exports.Login = async function() {
2125

2226
var response = await exports.Query("https://api.symbl.ai/oauth2/token:generate", "POST", header, bodyStr);
2327
var text = await response.text();
24-
// console.log("response: " + response);
28+
// console.log(util.inspect(response, false, null, true));
2529
// console.log("reason: " + text);
2630

2731
return new Promise((resolve) => {
@@ -99,5 +103,10 @@ exports.Query = async function(uri, action, header, body) {
99103
};
100104

101105
let response = await fetch(uri, options);
106+
107+
// var text = await response.text();
108+
// console.log(util.inspect(response, false, null, true));
109+
// console.log("reason: " + text);
110+
102111
return response;
103112
}

0 commit comments

Comments
 (0)