@hitc/netsuite-types 2025.1.5 → 2025.1.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/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: (options: any) => boolean;
45
+ each: FileIteratorEachFunction;
42
46
  }
43
47
 
44
48
  interface FileAppendLineOptions {
package/N/types.d.ts CHANGED
@@ -373,10 +373,10 @@ export namespace EntryPoints {
373
373
  }
374
374
 
375
375
  namespace RESTlet {
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;
376
+ type get<T = unknown, Y = string> = (requestParams?: Partial<T>) => Promise<Y> | Y;
377
+ type delete_<T = unknown, Y = string> = (requestParams?: Partial<T>) => Promise<Y> | Y;
378
+ type post<T = unknown, Y = string> = (requestBody?: Partial<T> | string) => Promise<Y> | Y;
379
+ type put<T = unknown, Y = string> = (requestBody?: Partial<T> | string) => Promise<Y> | 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.5",
11
+ "version": "2025.1.7",
12
12
  "author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
13
13
  "license": "MIT",
14
14
  "repository": {