@hitc/netsuite-types 2021.2.15 → 2022.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 +5 -1
- package/N/search.d.ts +1 -1
- package/N/workflow.d.ts +4 -2
- package/package.json +1 -1
package/N/dataset.d.ts
CHANGED
|
@@ -53,7 +53,11 @@ export interface Dataset {
|
|
|
53
53
|
getExpressionFromColumn(options: { alias: string, columnId?: number }): Expression;
|
|
54
54
|
/** Executes the dataset and returns the result set (the same as in N/query Module). */
|
|
55
55
|
run(): ResultSet;
|
|
56
|
-
|
|
56
|
+
/**
|
|
57
|
+
* Executes the dataset and returns the result set as paginated data (the same as in N/query Module).
|
|
58
|
+
* The maximum number of results per page is 1000. The minimum number of results per page is 5, except for the last page, which may include fewer than 5 results.
|
|
59
|
+
*/
|
|
60
|
+
runPaged(options?: { pageSize: number }): PagedData;
|
|
57
61
|
save(): void; // May need to test what this returns. Documentation says an object, but what object? The dataset itself?
|
|
58
62
|
columns: Column[];
|
|
59
63
|
condition: Condition;
|
package/N/search.d.ts
CHANGED
|
@@ -235,7 +235,7 @@ interface SearchDeleteFunction {
|
|
|
235
235
|
|
|
236
236
|
interface SearchLoadOptions {
|
|
237
237
|
/** Internal ID or script ID of a saved search. The script ID starts with customsearch. */
|
|
238
|
-
id: string;
|
|
238
|
+
id: string | number;
|
|
239
239
|
/**
|
|
240
240
|
* The search type of the saved search to load. Use a value from the search.Type enum for this parameter.
|
|
241
241
|
* This parameter is required if the saved search to load uses a standalone search type.
|
package/N/workflow.d.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
|
+
import {record} from "../N";
|
|
2
|
+
|
|
1
3
|
interface InitiateOptions {
|
|
2
|
-
recordType: string
|
|
4
|
+
recordType: string | record.Type;
|
|
3
5
|
recordId: string | number;
|
|
4
6
|
workflowId: string | number;
|
|
5
7
|
defaultValues?: any;
|
|
6
8
|
}
|
|
7
9
|
|
|
8
10
|
interface TriggerOptions {
|
|
9
|
-
recordType: string
|
|
11
|
+
recordType: string | record.Type;
|
|
10
12
|
recordId: string | number;
|
|
11
13
|
/**
|
|
12
14
|
* Internal ID (number) or script ID (string) for the workflow definition. This is the ID field on the Workflow Definition Page.
|
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": "
|
|
11
|
+
"version": "2022.1.2",
|
|
12
12
|
"main": "index.d.ts",
|
|
13
13
|
"author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
|
|
14
14
|
"license": "MIT",
|