@hitc/netsuite-types 2023.1.8 → 2023.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/N/query.d.ts CHANGED
@@ -207,6 +207,8 @@ interface RunSuiteQLOptions {
207
207
  query: string;
208
208
 
209
209
  params?: Array<string | number | boolean>;
210
+
211
+ customScriptId?: string;
210
212
  }
211
213
 
212
214
  interface RunSuiteQLPagedOptions extends RunSuiteQLOptions {
package/N/render.d.ts CHANGED
@@ -130,14 +130,16 @@ interface TemplateRenderer {
130
130
  renderAsPdf(): File;
131
131
  /** Renders a server response into a PDF file. For example, you can pass in a response to be rendered as a PDF in a browser, or downloaded by a user. */
132
132
  renderPdfToResponse(options: RenderToResponseOptions): void;
133
+ renderPdfToResponse(serverResponse: ServerResponse): void;
133
134
  /** Return template content in string form. */
134
135
  renderAsString(): string;
135
136
  /** Writes template content to a server response. */
136
137
  renderToResponse(options: RenderToResponseOptions): void;
138
+ renderToResponse(serverResponse: ServerResponse): void;
137
139
  /** Sets the template using the internal ID. */
138
140
  setTemplateById(options: { id: number; }): void;
139
141
  /** Sets the template using the script ID. */
140
- setTemplateByScriptId(options: { scriptId: string; }): void;
142
+ setTemplateByScriptId(options: { scriptId: Uppercase<string>; }): void;
141
143
  /** Content of template. */
142
144
  templateContent: string;
143
145
  }
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "posttest": "npm run cleanup"
9
9
  },
10
10
  "homepage": "https://github.com/headintheclouddev/typings-suitescript-2.0",
11
- "version": "2023.1.8",
11
+ "version": "2023.1.9",
12
12
  "author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
13
13
  "license": "MIT",
14
14
  "repository": {