@hitc/netsuite-types 2025.1.6 → 2025.1.8
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 +9 -8
- package/package.json +1 -1
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 {
|
|
@@ -373,10 +374,10 @@ export namespace EntryPoints {
|
|
|
373
374
|
}
|
|
374
375
|
|
|
375
376
|
namespace RESTlet {
|
|
376
|
-
type get<T = unknown, Y = string> = (requestParams
|
|
377
|
-
type delete_<T = unknown, Y = string> = (requestParams
|
|
378
|
-
type post<T = unknown, Y = string> = (requestBody
|
|
379
|
-
type put<T = unknown, Y = string> = (requestBody
|
|
377
|
+
type get<T = unknown, Y = string> = (requestParams?: Partial<T>) => Promise<Y> | Y;
|
|
378
|
+
type delete_<T = unknown, Y = string> = (requestParams?: Partial<T>) => Promise<Y> | Y;
|
|
379
|
+
type post<T = unknown, Y = string> = (requestBody?: Partial<T> | string) => Promise<Y> | Y;
|
|
380
|
+
type put<T = unknown, Y = string> = (requestBody?: Partial<T> | string) => Promise<Y> | Y;
|
|
380
381
|
}
|
|
381
382
|
|
|
382
383
|
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.8",
|
|
12
12
|
"author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"repository": {
|