@hitc/netsuite-types 2021.2.14 → 2022.1.1
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 +1 -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
|
@@ -94,7 +94,7 @@ interface CreateConditionOptions {
|
|
|
94
94
|
/** Uses the query.Operator enumeration, otherwise can be 'AND' or 'OR' when you are combining condition children. */
|
|
95
95
|
operator: string;
|
|
96
96
|
/** The values attribute is required unless the operator is 'AND' or 'OR', as it is when you are combining condition children. */
|
|
97
|
-
values?: string[]|number[]|boolean[]|Date[];
|
|
97
|
+
values?: string[]|number[]|boolean[]|Date[]|{ dateId: string, type: string }[]; // For example, for after Start of Last Fiscal Year, use: { dateId: "SOLFY", type: "end" }
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
interface CreateJoinOptions {
|
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.1",
|
|
12
12
|
"main": "index.d.ts",
|
|
13
13
|
"author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
|
|
14
14
|
"license": "MIT",
|