@hitc/netsuite-types 2024.1.0 → 2024.1.2

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/dataset.d.ts CHANGED
@@ -10,7 +10,7 @@
10
10
  * For more information on using workbooks, see N/workbook Module.
11
11
  */
12
12
 
13
- import {PagedData, ResultSet} from "./query";
13
+ import {PagedData, RelativeDate, ResultSet} from "./query";
14
14
  import {Expression} from "./workbook";
15
15
 
16
16
  /** Encapsulates the record fields in the dataset. Columns are equivalent to the fields you use when you build a dataset in SuiteAnalytics. */
@@ -98,7 +98,7 @@ interface CreateConditionOptions {
98
98
  /** Uses the query.Operator enumeration, otherwise can be 'AND' or 'OR' when you are combining condition children. */
99
99
  operator: string;
100
100
  /** The values attribute is required unless the operator is 'AND' or 'OR', as it is when you are combining condition children. */
101
- values?: string[]|number[]|boolean[]|Date[]|{ dateId: string, type: string }[]; // For example, for after Start of Last Fiscal Year, use: { dateId: "SOLFY", type: "end" }
101
+ values?: string[]|number[]|boolean[]|Date[]|{ dateId: string, type: string }[]|RelativeDate[]; // For example, for after Start of Last Fiscal Year, use: { dateId: "SOLFY", type: "end" }
102
102
  }
103
103
 
104
104
  interface CreateJoinOptions {
package/N/query.d.ts CHANGED
@@ -757,7 +757,7 @@ export interface Iterator {
757
757
  each(f: (result: { value: Result }) => boolean): void;
758
758
  }
759
759
 
760
- interface PageIterator {
760
+ export interface PageIterator {
761
761
  each(f: (result: { value: Page }) => boolean): void;
762
762
  }
763
763
 
@@ -843,12 +843,11 @@ export const enum DateId {
843
843
  }
844
844
 
845
845
  /**
846
- * Special object which can be used as a condition while querying dates
846
+ * Special object which can be used as a condition while querying dates.
847
847
  *
848
848
  * @since 2019.1
849
849
  */
850
- interface RelativeDate {
851
-
850
+ export interface RelativeDate {
852
851
  /**
853
852
  * Start of relative date
854
853
  * @throws {SuiteScriptError} READ_ONLY_PROPERTY when setting the property is attempted
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.0",
11
+ "version": "2024.1.2",
12
12
  "author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
13
13
  "license": "MIT",
14
14
  "repository": {