@hitc/netsuite-types 2023.1.2 → 2023.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/query.d.ts +7 -4
- package/package.json +1 -1
package/N/query.d.ts
CHANGED
|
@@ -600,6 +600,7 @@ export interface Condition {
|
|
|
600
600
|
readonly component: Component;
|
|
601
601
|
}
|
|
602
602
|
|
|
603
|
+
type QueryResultMap = { [fieldId: string]: string | boolean | number | null }
|
|
603
604
|
/**
|
|
604
605
|
* Set of results returned by the query.
|
|
605
606
|
*/
|
|
@@ -634,8 +635,8 @@ export interface ResultSet {
|
|
|
634
635
|
* A mapped result is a JavaScript object with key-value pairs.
|
|
635
636
|
* In this object, the key is either the field ID or the alias that was used for the corresponding query.Column object.
|
|
636
637
|
*/
|
|
637
|
-
asMappedResults(): Array<
|
|
638
|
-
asMappedResults<
|
|
638
|
+
asMappedResults(): Array<QueryResultMap>;
|
|
639
|
+
asMappedResults<QueryResultMap>(): Array<QueryResultMap>;
|
|
639
640
|
}
|
|
640
641
|
|
|
641
642
|
/** Corresponds to a single row of the ResultSet. */
|
|
@@ -658,7 +659,8 @@ export interface Result {
|
|
|
658
659
|
* A mapped result is a JavaScript object with key-value pairs.
|
|
659
660
|
* In this object, the key is either the field ID or the alias that was used for the corresponding query.Column object.
|
|
660
661
|
*/
|
|
661
|
-
asMap():
|
|
662
|
+
asMap(): QueryResultMap;
|
|
663
|
+
asMap<QueryResultMap>(): QueryResultMap
|
|
662
664
|
}
|
|
663
665
|
|
|
664
666
|
/**
|
|
@@ -743,7 +745,8 @@ interface Period {
|
|
|
743
745
|
readonly code: string;
|
|
744
746
|
/**
|
|
745
747
|
* The type of the period. This property uses values from the query.PeriodType enum.
|
|
746
|
-
* If you create a period using query.createPeriod(options) and do not specify a value for the options.type
|
|
748
|
+
* If you create a period using query.createPeriod(options) and do not specify a value for the options.type
|
|
749
|
+
* parameter, the default value of this property is query.PeriodType.START.
|
|
747
750
|
*/
|
|
748
751
|
readonly type: string;
|
|
749
752
|
}
|
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": "2023.1.
|
|
11
|
+
"version": "2023.1.3",
|
|
12
12
|
"author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"repository": {
|