{"id":41655,"library":"oci-databasetoolsruntime","title":"OCI Database Tools Runtime SDK","description":"Official Oracle Cloud Infrastructure Node.js client for the Database Tools Runtime Service. Version 2.132.0 is current; follows OCI SDK release cadence with frequent updates. Key differentiator: part of the unified OCI TypeScript SDK, providing consistent authentication, signing, and API patterns across all OCI services. Supports both synchronous and asynchronous operations, automatic retries, and configurable timeouts.","status":"active","version":"2.132.0","language":"javascript","source_language":"en","source_url":"https://github.com/oracle/oci-typescript-sdk","tags":["javascript","typescript"],"install":[{"cmd":"npm install oci-databasetoolsruntime","lang":"bash","label":"npm"},{"cmd":"yarn add oci-databasetoolsruntime","lang":"bash","label":"yarn"},{"cmd":"pnpm add oci-databasetoolsruntime","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Shared core module for authentication, signing, and HTTP client","package":"oci-common","optional":false}],"imports":[{"note":"ESM and CJS both supported; default export is not the client.","wrong":"const DatabaseToolsRuntimeClient = require('oci-databasetoolsruntime').DatabaseToolsRuntimeClient","symbol":"DatabaseToolsRuntimeClient","correct":"import { DatabaseToolsRuntimeClient } from 'oci-databasetoolsruntime'"},{"note":"Models are not exported from the main entry; import from the lib/model subpath.","wrong":"import { models } from 'oci-databasetoolsruntime'","symbol":"models","correct":"import * as models from 'oci-databasetoolsruntime/lib/model'"},{"note":"Request types are in a separate subpath module.","wrong":"import { requests } from 'oci-databasetoolsruntime'","symbol":"requests","correct":"import * as requests from 'oci-databasetoolsruntime/lib/request'"}],"quickstart":{"code":"const common = require('oci-common');\nconst { DatabaseToolsRuntimeClient } = require('oci-databasetoolsruntime');\n\nconst provider = new common.ConfigFileAuthenticationDetailsProvider();\nconst client = new DatabaseToolsRuntimeClient({ authenticationDetailsProvider: provider });\n\nasync function listWorkRequests() {\n  try {\n    const listWorkRequestsRequest = { compartmentId: 'your-compartment-ocid' };\n    const response = await client.listWorkRequests(listWorkRequestsRequest);\n    console.log('Work requests:', response.workRequestCollection.items);\n  } catch (error) {\n    console.error('Error:', error);\n  }\n}\nlistWorkRequests();","lang":"javascript","description":"Demonstrates how to set up OCI authentication using config file and list work requests for Database Tools Runtime."},"warnings":[{"fix":"Check the generated types; manually extend interfaces if needed.","message":"TypeScript definitions may be incomplete for some request shapes","severity":"breaking","affected_versions":"all"},{"fix":"Run `npm install oci-common` as a peer dependency.","message":"The oci-common package is required but not automatically installed","severity":"deprecated","affected_versions":"all"},{"fix":"Import from 'oci-databasetoolsruntime/lib/model' or 'oci-databasetoolsruntime/lib/request'.","message":"Models and requests are not exported from main entry","severity":"gotcha","affected_versions":">=2.0.0"},{"fix":"Set OCI_CONFIG_FILE environment variable to override.","message":"Config file path defaults to ~/.oci/config; OCI SDK respects OCI_CONFIG_FILE env variable","severity":"gotcha","affected_versions":"all"},{"fix":"Upgrade Node.js to version 10 or later.","message":"Usage of older Node.js versions (<10) may cause issues with crypto primitives","severity":"deprecated","affected_versions":"<10"}],"env_vars":null,"search_vec":"'2.132.0':19 'across':46 'api':44 'asynchron':54 'authent':41 'automat':56 'cadenc':26 'client':11 'cloud':8 'configur':59 'consist':40 'current':21 'databas':2,14 'differenti':31 'follow':22 'frequent':28 'infrastructur':9 'javascript':61 'key':30 'node.js':10 'oci':1,23,36,48 'offici':6 'oper':55 'oracl':7 'part':32 'pattern':45 'provid':39 'releas':25 'retri':57 'runtim':4,16 'sdk':5,24,38 'servic':17,49 'sign':42 'support':50 'synchron':52 'timeout':60 'tool':3,15 'typescript':37,62 'unifi':35 'updat':29 'version':18","created_at":"2026-06-04T18:53:28.174516+00:00","updated_at":"2026-06-04T18:53:28.174516+00:00","problems":[{"fix":"Call client.listWorkRequests(request) directly, not { listWorkRequests } = client; listWorkRequests()","cause":"Using destructured method call instead of invoking the method on client object.","error":"TypeError: Cannot destructure property 'listWorkRequests' of 'client' as it is undefined"},{"fix":"Verify your OCI region and network access; check the endpoint URL for the service.","cause":"Network connectivity issues or incorrect OCI region endpoint.","error":"Error: getaddrinfo ENOTFOUND iaas.us-phoenix-1.oraclecloud.com"},{"fix":"Ensure your OCI config file has valid user OCID, tenancy OCID, fingerprint, and private key path.","cause":"Authentication provider configuration missing or invalid credentials.","error":"UnhandledPromiseRejectionWarning: Error: OciError: NotAuthenticated"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/oracle/oci-typescript-sdk#readme","github":"https://github.com/oracle/oci-typescript-sdk","docs":null,"changelog":null,"pypi":null,"npm":"oci-databasetoolsruntime","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-04","next_check":"2026-09-02","install_tag":null}}