Mapping between different types/aliases at the API level and Daml templates

Is it possible to map the Daml folder structure map to a different alias at the API level?
Eg, instead of querying the API for A.B.C.D:Template1, I want to be able to map A.B.C.D:Template1 to, say, X.Y.Z:T and query the API for X.Y.Z:T instead.

Is this possible or are the types exposed to the API client always going to have to be an exact match of the actual Daml folder structure?

There is no way to provide aliases or remap module or template names. They are always exposed 1:1 on the ledger API.

1 Like