@hitc/netsuite-types 2021.2.15 → 2022.1.0
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/workflow.d.ts +4 -2
- package/package.json +1 -1
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.0",
|
|
12
12
|
"main": "index.d.ts",
|
|
13
13
|
"author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
|
|
14
14
|
"license": "MIT",
|