@hitc/netsuite-types 2024.1.2 → 2024.1.3

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/piremoval.d.ts CHANGED
@@ -25,7 +25,7 @@ export function loadTask(options: { id: number }): PiRemovalTask;
25
25
 
26
26
  interface CreateTaskOptions {
27
27
  /** Represents IDs of fields whose personal information is removed. */
28
- fieldIds?: number[];
28
+ fieldIds?: number[] | string[]; // NOTE: The help file indicates that this is number[], but the examples show string[] and the examples are correct.
29
29
  /**
30
30
  * Indicates whether the PI removal task removes system note information only, not field values or workflow history.
31
31
  * If true, the task removes information from system notes only.
package/N/query.d.ts CHANGED
@@ -721,7 +721,12 @@ export interface PagedData {
721
721
  */
722
722
  iterator(): PageIterator;
723
723
 
724
- fetch(index: number): Page;
724
+ fetch: FetchType;
725
+ }
726
+
727
+ interface FetchType {
728
+ (options: { index: number }): Page;
729
+ promise(options: { index: number }): Promise<Page>;
725
730
  }
726
731
 
727
732
  /**
package/N/record.d.ts CHANGED
@@ -485,7 +485,7 @@ export interface ClientCurrentRecord {
485
485
  /** Performs macro operation and returns its result in a plain JavaScript object. */
486
486
  executeMacro: ExecuteMacroFunction;
487
487
  /** Returns the line number of the first instance where a specified value is found in a specified column of the matrix. */
488
- findMatrixSublistLineWIthValue(options: FindSublistLineWithValueOptions): number;
488
+ findMatrixSublistLineWithValue(options: FindSublistLineWithValueOptions): number;
489
489
  /** Returns the line number for the first occurrence of a field value in a sublist. */
490
490
  findSublistLineWithValue(options: FindSublistLineWithValueOptions): number;
491
491
  /** Gets the value for the currently selected line in the matrix. */
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.2",
11
+ "version": "2024.1.3",
12
12
  "author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
13
13
  "license": "MIT",
14
14
  "repository": {