adding client typescript.api declaration