@hitc/netsuite-types 2022.2.12 → 2022.2.14
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/runtime.d.ts +2 -0
- package/N/types.d.ts +5 -2
- package/package.json +1 -1
package/N/runtime.d.ts
CHANGED
|
@@ -75,6 +75,8 @@ interface FeatureOptions {
|
|
|
75
75
|
|
|
76
76
|
/** The NetSuite account ID for the currently logged-in user. */
|
|
77
77
|
export var accountId: string;
|
|
78
|
+
/** The country for the current company. Returns the two-letter abbreviation. For example, US */
|
|
79
|
+
export var country: string;
|
|
78
80
|
/** The current environment in which the script is executing. This property returns one of the values from the runtime.EnvType enumeration. */
|
|
79
81
|
export var envType: EnvType;
|
|
80
82
|
/** Returns a runtime.ContextType enumeration that represents what triggered the current script. */
|
package/N/types.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import * as N_FiConnectivity from "./plugins/fiConnectivityPlugin";
|
|
|
7
7
|
import * as N_FiParser from "./plugins/fiParserPlugin";
|
|
8
8
|
import * as N_dataset from "./dataset";
|
|
9
9
|
import * as N_workbook from "./workbook";
|
|
10
|
-
|
|
10
|
+
|
|
11
11
|
/*Don't export these into the Namespace as we don't
|
|
12
12
|
want to accidentally use a comparison like this:
|
|
13
13
|
export var beforeSubmit: EntryPoints.UserEvent.beforeSubmit = (ctx) => {
|
|
@@ -363,6 +363,9 @@ export namespace EntryPoints {
|
|
|
363
363
|
interface onActionContext {
|
|
364
364
|
newRecord: N_record.Record;
|
|
365
365
|
oldRecord: N_record.Record;
|
|
366
|
+
form?: N_ui_serverWidget.Form;
|
|
367
|
+
type?: string;
|
|
368
|
+
workflowId?: number;
|
|
366
369
|
}
|
|
367
370
|
|
|
368
371
|
type onAction = (scriptContext: onActionContext) => void;
|
|
@@ -477,7 +480,7 @@ export namespace EntryPoints {
|
|
|
477
480
|
readonly owner: number;
|
|
478
481
|
readonly role: number;
|
|
479
482
|
}
|
|
480
|
-
|
|
483
|
+
|
|
481
484
|
type createDataset = (scriptContext: createDatasetContext) => void;
|
|
482
485
|
}
|
|
483
486
|
|
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": "2022.2.
|
|
11
|
+
"version": "2022.2.14",
|
|
12
12
|
"author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"repository": {
|