AbstractProtectedCreateBuild the client. Overridden in tests; the only place ApolloRESTClient is
constructed in this surface.
Protected AbstractInternalInternal method that must be implemented by derived action classes. This is where the actual action logic should be implemented.
The action execution parameters including typed context
Promise resolving to the action result
ProtectedInvalidProtectedMissingA uniform missing-input failure.
Optionaldetail: stringProtectedResolveResolve the key and construct the client, or return the failure result to hand straight back to the caller.
CompanyID is optional here, unlike in the CDP actions this ports from,
because a single-tenant instance with APOLLO_API_KEY set has no company
to name. Supplying it switches on the per-company credential path.
Executes the action with the provided parameters.
The action execution parameters including context
Promise resolving to the action result
Base class for all actions. All actions will derive from this class and be instantiated by the ClassFactory within the @memberjunctin/global package.
Example