ProtectedCreateBuild the client. Overridden in tests; the only place ApolloRESTClient is
constructed in this surface.
ProtectedInternalInternal 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
Creates an Apollo list (label), idempotently.
The existing labels are read first, and a same-named label — matched case-insensitively — is returned as-is with
AlreadyExisted: truerather than creating a second one. Apollo will happily create two labels with the same name, and once it has, every name-based lookup in this surface becomes ambiguous:findLabelByNamereturns whichever comes first, so half the moves would target one list and half the other. Making create idempotent is what keeps name-addressing sound.Master-key write.
Inputs:
Outputs: