Oracle Cloud Infrastructure SDK for Node.js to manage Customer Incident Management Service (CIMS) resources like support tickets, incidents, and classifications. Version 2.132.0 is stable with monthly releases alongside the OCI TypeScript SDK monorepo. Supports ESM and CJS, ships TypeScript definitions. Unlike generic HTTP clients, this provides typed methods for OCI API operations, handles signing with API keys, and integrates with OCI IAM policies. Requires an OCI account and configured credentials.
npm install oci-cimsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes CIMS client with config file auth and lists up to 10 incidents in a compartment.
Use deep imports: import * as models from 'oci-cims/lib/models'
Use listIncidentResourceTypes and getIncidentByKey methods.
Replace all references to IncidentResourceType with IncidentType.
Always include compartmentId in list requests.
Check network connectivity and proxy settings. Set HTTP_PROXY environment variable if behind a proxy.
Verify that the request parameters are correct and that the client is properly authenticated. Use try-catch to handle errors.
Ensure the compartmentId starts with 'ocid1.compartment.oc1..' and is valid for your tenancy.