@hitc/netsuite-types 2023.1.9 → 2023.1.10

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.
Files changed (2) hide show
  1. package/N/render.d.ts +17 -0
  2. package/package.json +1 -1
package/N/render.d.ts CHANGED
@@ -113,6 +113,21 @@ interface XMLToPDFOptions {
113
113
  xmlString: string;
114
114
  }
115
115
 
116
+ interface GLImpactOptions {
117
+ /** The internal ID of the transaction to print GL Impact. */
118
+ internalId: number;
119
+ /** The print output type. Set using the render.PrintMode enum. */
120
+ printMode?: PrintMode|string;
121
+ /** Include only specific subsidiaries. Default to false. */
122
+ printPerSubsidiary?: boolean;
123
+ /** Specific subsidiaries, only available when printPerSubsidiary is set to true. */
124
+ subsidiaries?: number[];
125
+ /** Specific accounting books. If not specify, prints GL Impact in all accounting books. */
126
+ accountingBooks?: number[];
127
+ /** Internal ID of the template. If not specify, the preferred template will be used. */
128
+ template?: number;
129
+ }
130
+
116
131
  interface TemplateRenderer {
117
132
  /** Adds XML or JSON as custom data source to an advanced PDF/HTML template. */
118
133
  addCustomDataSource(options: AddCustomDataSourceOptions): void;
@@ -180,6 +195,8 @@ export function statement(options: StatementOptions): File;
180
195
  export function transaction(options: TransactionOptions): File;
181
196
  /** Method used to pass XML to the Big Faceless Organization tag library (which is stored by NetSuite), and return a PDF file. */
182
197
  export function xmlToPdf(options: XMLToPDFOptions): File;
198
+ /** Use this method to create a PDF or HTML object of the GL Impact of a transaction. */
199
+ export function glImpact(options: GLImpactOptions): File;
183
200
 
184
201
  /** Holds the string values for supported data source types. Use this enum to set the options.format parameter. */
185
202
  export enum DataSource {
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.9",
11
+ "version": "2023.1.10",
12
12
  "author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
13
13
  "license": "MIT",
14
14
  "repository": {