Skip to content

Commit

Permalink
feat(discov2): add functions for new batches api
Browse files Browse the repository at this point in the history
  • Loading branch information
apaparazzi0329 committed Dec 4, 2024
1 parent 6478da6 commit 5f81415
Show file tree
Hide file tree
Showing 10 changed files with 4,744 additions and 526 deletions.
438 changes: 337 additions & 101 deletions assistant/v1.ts

Large diffs are not rendered by default.

2,219 changes: 1,974 additions & 245 deletions assistant/v2.ts

Large diffs are not rendered by default.

759 changes: 651 additions & 108 deletions discovery/v2.ts

Large diffs are not rendered by default.

153 changes: 114 additions & 39 deletions speech-to-text/v1-generated.ts

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions test/unit/assistant.v1.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* (C) Copyright IBM Corp. 2018, 2023.
* (C) Copyright IBM Corp. 2018, 2024.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -17,7 +17,7 @@
// need to import the whole package to mock getAuthenticatorFromEnvironment
const sdkCorePackage = require('ibm-cloud-sdk-core');

const { NoAuthAuthenticator, unitTestUtils } = sdkCorePackage;
const { NoAuthAuthenticator } = sdkCorePackage;
const AssistantV1 = require('../../dist/assistant/v1');

const {
Expand All @@ -26,7 +26,7 @@ const {
checkMediaHeaders,
expectToBePromise,
checkForSuccessfulExecution,
} = unitTestUtils;
} = require('@ibm-cloud/sdk-test-utilities');

const assistantServiceOptions = {
authenticator: new NoAuthAuthenticator(),
Expand Down
Loading

0 comments on commit 5f81415

Please sign in to comment.