Gets an AutoscriptService instance.
If an objectStructure is provided, a new service instance is created for that specific object structure.
If no objectStructure is provided, it returns the default AutoscriptService instance
(same as accessing the autoScript getter).
OptionalobjectStructure: stringOptional. The name of the Maximo object structure for automation scripts.
An AutoscriptService instance.
Gets a custom service instance.
The class of the service to instantiate
The object structure name
An instance of the service
Generates a Maximo UI URL based on provided options.
The options for the URL.
The constructed Maximo UI URL.
Checks if the client is authenticated
True if authenticated, false otherwise
Gets an MaxAppService instance.
If an objectStructure is provided, a new service instance is created for that specific object structure.
If no objectStructure is provided, it returns the default MaxAppService instance
(same as accessing the appXml getter).
OptionalobjectStructure: stringOptional. The name of the Maximo object structure for AppXml.
An MaxAppService instance.
Gets an ObjectStructService instance.
If an objectStructure is provided, a new service instance is created for that specific object structure.
If no objectStructure is provided, it returns the default ObjectStructService instance
(same as accessing the objectStructService getter).
OptionalobjectStructure: stringOptional. The name of the Maximo object structure for Object Structures.
An ObjectStructService instance.
Returns a new MaximoClient whose API calls land on the chosen JVM in the cluster. Two routing mechanisms are tried, in order:
direct-url — if the resolved MaximoJvm carries a
directUrl (per-pod ingress hostname), the returned client points
at that URL directly. A fresh authenticate() is performed against
the per-pod host so the session is local to it.
autoscript-relay — otherwise, the MAXIMOMIZE.CLUSTER
autoscript is used to forward every call pod-internally to the
target. Requires the script to be installed (probed once).
Throws ClusterError with code CannotPin if neither is
available, UnknownNode if jvm is a string that doesn't match a known
node, or CookieAuthNotPinnable if the current client uses session
cookies (LDAP form / OIDC) — those can't be transferred to a different
JVM, so callers must use apikey for pinned operations.
A MaximoJvm from cluster.listNodes() or a node
identifier (nodeName / serverHost / jvmTag) the client should resolve.
Gets the underlying HttpClient instance. Useful when passing MaximoClient to services instead of HttpClient.
Gets the LoggingService instance for managing logs (lazily initialized).
LoggingService instance for managing logs
Gets the SystemService instance for managing system-related operations (lazily initialized).
SystemService instance for managing system-related operations
Gets the ApiKeyService instance for managing API keys (lazily initialized).
ApiKeyService instance for managing API keys
Gets the ConditionExpressionService instance for managing condition expressions (lazily initialized).
ConditionExpressionService instance for managing condition expressions
Authenticates with the Maximo server using the configured authentication method
A promise that resolves to the authentication result
Retrieves the current authentication state
The current authentication result or null if not authenticated
Checks if the client is currently authenticated by ensuring cookies exist and optionally making a lightweight request to verify the session.
True if authenticated, false otherwise
Gets a service instance for a given object structure.
The object structure name
OptionalServiceClass: new (client: HttpClient, os: string) => TThe class of the service to instantiate (optional, defaults to GenericOslcService)
An instance of the service (GenericOslcService if no ServiceClass is provided)
Gets the generic OSLC service for generic operations
The object structure name (optional, defaults to 'mxapiasset')
GenericOslcService instance
Exposes the full client config for advanced use-cases.
Returns the resolved authentication type for this client.
Logs out the user by clearing local cookies and calling the appropriate logout endpoint
Service for working with assets (lazily initialized)
Service for working with work orders (lazily initialized)
Service for working with locations (lazily initialized)
Service for working with automation scripts (lazily initialized).
This instance uses the object structure defined in MaximoClientConfig.autoscriptObjectStructure
or defaults to 'mxapiautoscript' if not specified during client initialization.
Service for fetching OSLC/API home details and server information (lazily initialized).
Service for interacting with Manage Monitoring (MMI) APIs (lazily initialized).
Service for discovering cluster topology and locating user sessions across JVMs (lazily initialized). See also pinTo for routing subsequent calls to a chosen JVM.
Service for fetching OSLC/API home details and server information (lazily initialized).
Service for accessing JSON schemas for Maximo objects (lazily initialized) This provides object structure and MBO schema information
Main client class for the Maximo API Provides access to all resource-specific services