@hitc/netsuite-types 2025.1.4 → 2025.1.6
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/file.d.ts +5 -1
- package/N/task.d.ts +1 -1
- package/N/types.d.ts +4 -4
- package/package.json +1 -1
package/N/file.d.ts
CHANGED
|
@@ -37,8 +37,12 @@ interface FileReader {
|
|
|
37
37
|
readChars: (options: { number: number }) => string;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
interface FileIteratorEachFunction {
|
|
41
|
+
(callback: (line: {value: string}) => boolean): void;
|
|
42
|
+
}
|
|
43
|
+
|
|
40
44
|
interface FileIterator {
|
|
41
|
-
each:
|
|
45
|
+
each: FileIteratorEachFunction;
|
|
42
46
|
}
|
|
43
47
|
|
|
44
48
|
interface FileAppendLineOptions {
|
package/N/task.d.ts
CHANGED
|
@@ -104,7 +104,7 @@ interface SuiteQLTask {
|
|
|
104
104
|
* Dependent tasks are indexed in the order they are added to the SuiteQL task.
|
|
105
105
|
* Each nested object contains the task type, script ID, script deployment ID, and script parameters.
|
|
106
106
|
*/
|
|
107
|
-
readonly inboundDependencies: {}
|
|
107
|
+
readonly inboundDependencies: Record<string, {id: string; type: TaskType.SCHEDULED_SCRIPT | TaskType.MAP_REDUCE, scriptId: string; deploymentId: string; params?: {}}>;
|
|
108
108
|
/** Parameters for the SuiteQL query. */
|
|
109
109
|
params: (string|boolean|number)[];
|
|
110
110
|
}
|
package/N/types.d.ts
CHANGED
|
@@ -373,10 +373,10 @@ export namespace EntryPoints {
|
|
|
373
373
|
}
|
|
374
374
|
|
|
375
375
|
namespace RESTlet {
|
|
376
|
-
type get =
|
|
377
|
-
type delete_ =
|
|
378
|
-
type post =
|
|
379
|
-
type put =
|
|
376
|
+
type get<T = unknown, Y = string> = (requestParams: T) => Y;
|
|
377
|
+
type delete_<T = unknown, Y = string> = (requestParams: T) => Y;
|
|
378
|
+
type post<T = unknown, Y = string> = (requestBody: T | string) => Y;
|
|
379
|
+
type put<T = unknown, Y = string> = (requestBody: T | string) => Y;
|
|
380
380
|
}
|
|
381
381
|
|
|
382
382
|
namespace BundleInstallation {
|
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": "2025.1.
|
|
11
|
+
"version": "2025.1.6",
|
|
12
12
|
"author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"repository": {
|