@hitc/netsuite-types 2025.1.7 → 2025.1.9
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/record.d.ts +1 -1
- package/N/types.d.ts +5 -4
- package/package.json +1 -1
package/N/record.d.ts
CHANGED
|
@@ -629,7 +629,7 @@ export interface ClientCurrentRecord {
|
|
|
629
629
|
setValue(fieldId: string, value: FieldValue): this;
|
|
630
630
|
|
|
631
631
|
/** The record type. */
|
|
632
|
-
type: Type |
|
|
632
|
+
readonly type: Type | `${Type}`;
|
|
633
633
|
}
|
|
634
634
|
|
|
635
635
|
// Exported for other modules to be able to consume this type
|
package/N/types.d.ts
CHANGED
|
@@ -238,7 +238,8 @@ export namespace EntryPoints {
|
|
|
238
238
|
ObjectRef: ObjectReference;
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
type
|
|
241
|
+
type GetInputDataResponse = N_search.Search | any | any[] | ObjectReference;
|
|
242
|
+
type getInputData = (scriptContext: getInputDataContext) => Promise<GetInputDataResponse> | GetInputDataResponse;
|
|
242
243
|
|
|
243
244
|
interface mapContext {
|
|
244
245
|
readonly isRestarted: boolean;
|
|
@@ -250,7 +251,7 @@ export namespace EntryPoints {
|
|
|
250
251
|
write(options: IKeyValuePair): void;
|
|
251
252
|
}
|
|
252
253
|
|
|
253
|
-
type map = (scriptContext: mapContext) => void;
|
|
254
|
+
type map = (scriptContext: mapContext) => Promise<void> | void;
|
|
254
255
|
|
|
255
256
|
interface reduceContext {
|
|
256
257
|
readonly isRestarted: boolean;
|
|
@@ -262,7 +263,7 @@ export namespace EntryPoints {
|
|
|
262
263
|
write(options: IKeyValuePair): void;
|
|
263
264
|
}
|
|
264
265
|
|
|
265
|
-
type reduce = (scriptContext: reduceContext) => void;
|
|
266
|
+
type reduce = (scriptContext: reduceContext) => Promise<void> | void;
|
|
266
267
|
|
|
267
268
|
interface MapReduceOutputIterator {
|
|
268
269
|
each(callback: (key: string, value: string) => boolean): void;
|
|
@@ -328,7 +329,7 @@ export namespace EntryPoints {
|
|
|
328
329
|
output: MapReduceOutputIteratorContainer;
|
|
329
330
|
}
|
|
330
331
|
|
|
331
|
-
type summarize = (summary: summarizeContext) => void;
|
|
332
|
+
type summarize = (summary: summarizeContext) => Promise<void> | void;
|
|
332
333
|
}
|
|
333
334
|
|
|
334
335
|
namespace Portlet {
|
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.9",
|
|
12
12
|
"author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"repository": {
|