@hitc/netsuite-types 2022.2.6 → 2022.2.7
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/types.d.ts +23 -4
- package/package.json +1 -2
- package/tsconfig.json +3 -4
package/N/types.d.ts
CHANGED
|
@@ -369,10 +369,10 @@ export namespace EntryPoints {
|
|
|
369
369
|
}
|
|
370
370
|
|
|
371
371
|
namespace RESTlet {
|
|
372
|
-
type get = (requestParameters:
|
|
373
|
-
type delete_ = (requestParameters:
|
|
374
|
-
type post = (requestBody:
|
|
375
|
-
type put = (requestBody:
|
|
372
|
+
type get = (requestParameters: object) => object | string;
|
|
373
|
+
type delete_ = (requestParameters: object) => object | string;
|
|
374
|
+
type post = (requestBody: object | string) => object | string;
|
|
375
|
+
type put = (requestBody: object | string) => object | string;
|
|
376
376
|
}
|
|
377
377
|
|
|
378
378
|
namespace BundleInstallation {
|
|
@@ -493,6 +493,25 @@ export namespace EntryPoints {
|
|
|
493
493
|
type createWorkbook = (scriptContext: createWorkbookContext) => void;
|
|
494
494
|
}
|
|
495
495
|
}
|
|
496
|
+
|
|
497
|
+
namespace CustomRecordAction {
|
|
498
|
+
interface isQualifiedContext {
|
|
499
|
+
ids: string[];
|
|
500
|
+
recordType: string;
|
|
501
|
+
qualified: Map<string, string>;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
type isQualified = (scriptContext: isQualifiedContext) => void;
|
|
505
|
+
|
|
506
|
+
interface executeActionContext {
|
|
507
|
+
ids: string[];
|
|
508
|
+
recordType: string;
|
|
509
|
+
params: object;
|
|
510
|
+
response: object;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
type executeAction = (scriptContext: executeActionContext) => void;
|
|
514
|
+
}
|
|
496
515
|
}
|
|
497
516
|
|
|
498
517
|
interface IKeyValuePair {
|
package/package.json
CHANGED
|
@@ -8,8 +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.
|
|
12
|
-
"main": "index.d.ts",
|
|
11
|
+
"version": "2022.2.7",
|
|
13
12
|
"author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
|
|
14
13
|
"license": "MIT",
|
|
15
14
|
"repository": {
|
package/tsconfig.json
CHANGED
|
@@ -5,13 +5,12 @@
|
|
|
5
5
|
"moduleResolution":"node",
|
|
6
6
|
"sourceMap": false,
|
|
7
7
|
"newLine": "LF",
|
|
8
|
+
"esModuleInterop": true,
|
|
9
|
+
"allowSyntheticDefaultImports": true,
|
|
8
10
|
"experimentalDecorators": true,
|
|
9
11
|
"noImplicitUseStrict": true,
|
|
10
12
|
"baseUrl": ".",
|
|
11
|
-
"lib": ["
|
|
12
|
-
"paths": {
|
|
13
|
-
"N/*": ["N/*"]
|
|
14
|
-
}
|
|
13
|
+
"lib": ["ES6", "DOM.Iterable", "DOM"],
|
|
15
14
|
},
|
|
16
15
|
"exclude": ["node_modules"]
|
|
17
16
|
}
|