Skip to content

Commit 5f81415

Browse files
feat(discov2): add functions for new batches api
1 parent 6478da6 commit 5f81415

File tree

10 files changed

+4744
-526
lines changed

10 files changed

+4744
-526
lines changed

assistant/v1.ts

Lines changed: 337 additions & 101 deletions
Large diffs are not rendered by default.

assistant/v2.ts

Lines changed: 1974 additions & 245 deletions
Large diffs are not rendered by default.

discovery/v2.ts

Lines changed: 651 additions & 108 deletions
Large diffs are not rendered by default.

speech-to-text/v1-generated.ts

Lines changed: 114 additions & 39 deletions
Large diffs are not rendered by default.

test/unit/assistant.v1.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* (C) Copyright IBM Corp. 2018, 2023.
2+
* (C) Copyright IBM Corp. 2018, 2024.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@
1717
// need to import the whole package to mock getAuthenticatorFromEnvironment
1818
const sdkCorePackage = require('ibm-cloud-sdk-core');
1919

20-
const { NoAuthAuthenticator, unitTestUtils } = sdkCorePackage;
20+
const { NoAuthAuthenticator } = sdkCorePackage;
2121
const AssistantV1 = require('../../dist/assistant/v1');
2222

2323
const {
@@ -26,7 +26,7 @@ const {
2626
checkMediaHeaders,
2727
expectToBePromise,
2828
checkForSuccessfulExecution,
29-
} = unitTestUtils;
29+
} = require('@ibm-cloud/sdk-test-utilities');
3030

3131
const assistantServiceOptions = {
3232
authenticator: new NoAuthAuthenticator(),

0 commit comments

Comments
 (0)