headintheclouddev / typings-suitescript-2.0

TypeScript typings for SuiteScript version 2.0
MIT License
145 stars 92 forks source link

Document governance usage in RunSuiteQL #276

Closed anthony-unicare closed 4 months ago

anthony-unicare commented 4 months ago

This patch adds missing governance documentation:

diff --git a/node_modules/@hitc/netsuite-types/N/query.d.ts b/node_modules/@hitc/netsuite-types/N/query.d.ts
index 2af184c..ae5f0e2
--- a/node_modules/@hitc/netsuite-types/N/query.d.ts
+++ b/node_modules/@hitc/netsuite-types/N/query.d.ts
@@ -802,6 +802,7 @@ interface RunSuiteQL {
  * Runs an arbitrary SuiteQL query.
  * SuiteQL is a query language based on the SQL-92 revision of the SQL database query language.
  * It provides advanced query capabilities you can use to access your NetSuite records and data.
+ * @governance 10 units
  * @throws {SuiteScriptError} MISSING_REQD_ARGUMENT if options or query are undefined
  * @throws {SuiteScriptError} WRONG_PARAMETER_TYPE if options isn't object or id isn't number
  * @throws {SuiteScriptError} UNABLE_TO_DELETE_QUERY if query doesn't exist or no permissions to delete it
MrRob commented 4 months ago

@anthony-unicare Thanks for this, I'll include this in the upcoming release