Deletes a glossary with its terms.
Id of the glossary.
A Promise that resolves when the glossary is deleted.
Deletes one term and remembers its name as removed, so generation does not propose it again.
Id of the glossary.
Id of the term.
A Promise that resolves when the term is deleted.
Generates a new draft of a glossary's terms. Nothing is saved: review the changes, then call saveGlossary
with the terms and the returned generatedFrom.
The glossary, the current draft and the mode.
A Promise that resolves to the new draft and its changes.
Gets the glossary of a database.
Id of the database integration.
A Promise that resolves to the glossary, or undefined when the database has none.
Gets one glossary.
Id of the glossary.
A Promise that resolves to the glossary, or undefined when it does not exist.
Lists every term of a glossary, reading page by page.
Id of the glossary.
A Promise that resolves to all the terms.
Lists the names a glossary remembers as removed.
Id of the glossary.
A Promise that resolves to the names.
Lists the glossaries, each with its term count.
Optionalscope: "database" | "global"
Limits the list to database or global glossaries.
A Promise that resolves to the glossaries.
Lists one page of a glossary's terms, by name.
The glossary, and the cursor, page size and search of the page.
A Promise that resolves to the terms and the cursor of the next page.
Forgets a removed name, so generation may propose it again.
Id of the glossary.
The name to forget.
A Promise that resolves when the name is forgotten.
Saves a glossary with all its terms: the stored terms become exactly the given ones. A glossary that does not exist yet is created; a database's glossary is found by its database. Deleted terms are remembered as removed.
The glossary, its terms, and the revision they were read at.
A Promise that resolves to the stored glossary.
Adds or changes one term. A term with an unknown or absent id is added.
Id of the glossary.
The term.
A Promise that resolves to the stored term.
AiGlossaryClient manages the application's glossaries, which hold business vocabulary in plain language. Generation returns drafts and never saves them.