@hitc/netsuite-types 2022.2.17 → 2023.1.1

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/record.d.ts +5 -1
  2. package/package.json +1 -1
package/N/record.d.ts CHANGED
@@ -574,6 +574,10 @@ export interface ClientCurrentRecord {
574
574
  * This value is set when the record is created or accessed.
575
575
  */
576
576
  isDynamic: boolean;
577
+ /** UNDOCUMENTED (as of 2023.1): This value is true when the record is being created. */
578
+ readonly isNew: boolean;
579
+ /** UNDOCUMENTED (as of 2023.1): Returns true if the record form cannot be edited, or false otherwise. */
580
+ readonly isReadOnly: boolean;
577
581
  /**
578
582
  * Moves one line of the sublist to another location. The sublist machine must allow moving lines, for example: editmachine.setAllowMoveLines(true);.
579
583
  * The sublist must contain the _sequence field. The sublist type must be edit machine. When using this method, the order of the other lines is preserved.
@@ -616,7 +620,7 @@ export interface ClientCurrentRecord {
616
620
  /** Sets the value of a field. */
617
621
  setValue(options: SetValueOptions): this;
618
622
  setValue(fieldId: string, value: FieldValue): this;
619
-
623
+
620
624
  /** The record type. */
621
625
  type: Type | string;
622
626
  }
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.17",
11
+ "version": "2023.1.1",
12
12
  "author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
13
13
  "license": "MIT",
14
14
  "repository": {