@hitc/netsuite-types 2022.2.14 → 2022.2.16
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/plugin.d.ts +14 -1
- package/N/record.d.ts +9 -1
- package/N/render.d.ts +2 -0
- package/package.json +1 -1
package/N/plugin.d.ts
CHANGED
|
@@ -1,12 +1,25 @@
|
|
|
1
1
|
interface FindImplementationsOptions {
|
|
2
|
+
/** The script ID of the custom plug-in type. */
|
|
2
3
|
type: string;
|
|
4
|
+
/** The default value is true, indicating that the default implementation should be included in the list. */
|
|
3
5
|
includeDefault?: boolean;
|
|
4
6
|
}
|
|
5
7
|
|
|
6
8
|
interface LoadImplementationOptions {
|
|
9
|
+
/** The script ID of the custom plug-in type. */
|
|
7
10
|
type: string;
|
|
11
|
+
/** The script ID of the custom plug-in implementation. */
|
|
8
12
|
implementation?: string;
|
|
9
13
|
}
|
|
10
14
|
|
|
15
|
+
/**
|
|
16
|
+
* Returns the script IDs of custom plug-in type implementations.
|
|
17
|
+
* Returns an empty list when there is no custom plug-in type with the script ID available for the executing script.
|
|
18
|
+
*/
|
|
11
19
|
export function findImplementations(options: FindImplementationsOptions): string[];
|
|
12
|
-
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Instantiates an implementation of the custom plugin type.
|
|
23
|
+
* Returns the implementation which is currently selected in the UI (Manage Plug-ins page) when no implementation ID is explicitly provided.
|
|
24
|
+
*/
|
|
25
|
+
export function loadImplementation<T extends Record<string, (...s: any) => any>>(options: LoadImplementationOptions): T;
|
package/N/record.d.ts
CHANGED
|
@@ -27,6 +27,14 @@ interface AttachRecordOptions {
|
|
|
27
27
|
id: number | string;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
interface CommitLineOptions {
|
|
31
|
+
/** The internal ID of the sublist. */
|
|
32
|
+
sublistId: string;
|
|
33
|
+
/** If set to true, scripting recalculation is ignored. */
|
|
34
|
+
ignoreRecalc?: boolean;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
|
|
30
38
|
interface CancelCommitLineOptions {
|
|
31
39
|
/** The internal ID of the sublist. */
|
|
32
40
|
sublistId: string;
|
|
@@ -472,7 +480,7 @@ export interface ClientCurrentRecord {
|
|
|
472
480
|
cancelLine(options: CancelCommitLineOptions): Record;
|
|
473
481
|
cancelLine(sublistId: string): Record;
|
|
474
482
|
/** Commits the currently selected line on a sublist. */
|
|
475
|
-
commitLine(options:
|
|
483
|
+
commitLine(options: CommitLineOptions): Record;
|
|
476
484
|
copy: RecordCopyFunction;
|
|
477
485
|
/** Performs macro operation and returns its result in a plain JavaScript object. */
|
|
478
486
|
executeMacro: ExecuteMacroFunction;
|
package/N/render.d.ts
CHANGED
|
@@ -104,6 +104,8 @@ interface StatementOptions {
|
|
|
104
104
|
statementDate?: string;
|
|
105
105
|
/** Include only open transactions. */
|
|
106
106
|
openTransactionsOnly?: boolean;
|
|
107
|
+
/** Internal ID of the subsidiary. Note: This parameter only works for advance printing. */
|
|
108
|
+
subsidiaryId?: number;
|
|
107
109
|
}
|
|
108
110
|
|
|
109
111
|
interface XMLToPDFOptions {
|
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.16",
|
|
12
12
|
"author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"repository": {
|