@hitc/netsuite-types 2024.1.5 → 2024.1.6

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 +4 -2
  2. package/package.json +1 -1
package/N/record.d.ts CHANGED
@@ -547,12 +547,14 @@ export interface ClientCurrentRecord {
547
547
  getSublistValue(options: GetSublistValueOptions): FieldValue;
548
548
  getSublistValue(sublistId: string, fieldId: string, line: number): FieldValue;
549
549
  /** Gets the subrecord for the associated field. */
550
- getSubrecord(options: GetFieldOptions): Record;
550
+ getSubrecord(options: GetFieldOptions): Omit<Record, "save">;
551
551
  /** Returns the text representation of a field value. */
552
552
  getText(options: GetFieldOptions): string | string[];
553
+ /** Returns the text representation of a field value. Warning: this is an undocumented function overload. */
553
554
  getText(fieldId: string): string | string[];
554
555
  /** Returns the value of a field. */
555
556
  getValue(options: GetFieldOptions): FieldValue;
557
+ /** Returns the value of a field. Warning: the fieldId string parameter is an undocumented function overload. */
556
558
  getValue(fieldId: string): FieldValue;
557
559
  /** Returns a value indicating whether the associated sublist field has a subrecord on the current line. This method can only be used on dynamic records. */
558
560
  hasCurrentSublistSubrecord(options: GetCurrentSublistValueOptions): boolean;
@@ -634,7 +636,7 @@ export interface Record extends ClientCurrentRecord {
634
636
  /** Returns all the field names in a sublist. */
635
637
  getSublistFields(options: RecordGetLineCountOptions): string[];
636
638
  /** Gets the subrecord associated with a sublist field. */
637
- getSublistSubrecord(options: GetSublistValueOptions): Record;
639
+ getSublistSubrecord(options: GetSublistValueOptions): Omit<Record, "save">;
638
640
  /**
639
641
  * Removes the subrecord for the associated sublist field.
640
642
  * @restriction only available in deferred dynamic record
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": "2024.1.5",
11
+ "version": "2024.1.6",
12
12
  "author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
13
13
  "license": "MIT",
14
14
  "repository": {