@hitc/netsuite-types 2022.2.13 → 2022.2.15

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/record.d.ts CHANGED
@@ -27,6 +27,14 @@ interface AttachRecordOptions {
27
27
  id: number | string;
28
28
  }
29
29
 
30
+ interface CommitLineOptions {
31
+ /** The internal ID of the sublist. */
32
+ sublistId: string;
33
+ /** If set to true, scripting recalculation is ignored. */
34
+ ignoreRecalc?: boolean;
35
+ }
36
+
37
+
30
38
  interface CancelCommitLineOptions {
31
39
  /** The internal ID of the sublist. */
32
40
  sublistId: string;
@@ -472,7 +480,7 @@ export interface ClientCurrentRecord {
472
480
  cancelLine(options: CancelCommitLineOptions): Record;
473
481
  cancelLine(sublistId: string): Record;
474
482
  /** Commits the currently selected line on a sublist. */
475
- commitLine(options: CancelCommitLineOptions): Record;
483
+ commitLine(options: CommitLineOptions): Record;
476
484
  copy: RecordCopyFunction;
477
485
  /** Performs macro operation and returns its result in a plain JavaScript object. */
478
486
  executeMacro: ExecuteMacroFunction;
package/N/types.d.ts CHANGED
@@ -7,7 +7,7 @@ import * as N_FiConnectivity from "./plugins/fiConnectivityPlugin";
7
7
  import * as N_FiParser from "./plugins/fiParserPlugin";
8
8
  import * as N_dataset from "./dataset";
9
9
  import * as N_workbook from "./workbook";
10
-
10
+
11
11
  /*Don't export these into the Namespace as we don't
12
12
  want to accidentally use a comparison like this:
13
13
  export var beforeSubmit: EntryPoints.UserEvent.beforeSubmit = (ctx) => {
@@ -363,6 +363,9 @@ export namespace EntryPoints {
363
363
  interface onActionContext {
364
364
  newRecord: N_record.Record;
365
365
  oldRecord: N_record.Record;
366
+ form?: N_ui_serverWidget.Form;
367
+ type?: string;
368
+ workflowId?: number;
366
369
  }
367
370
 
368
371
  type onAction = (scriptContext: onActionContext) => void;
@@ -477,7 +480,7 @@ export namespace EntryPoints {
477
480
  readonly owner: number;
478
481
  readonly role: number;
479
482
  }
480
-
483
+
481
484
  type createDataset = (scriptContext: createDatasetContext) => void;
482
485
  }
483
486
 
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": "2022.2.13",
11
+ "version": "2022.2.15",
12
12
  "author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
13
13
  "license": "MIT",
14
14
  "repository": {