@hitc/netsuite-types 2025.1.4 → 2025.1.5

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/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 = (requestParameters: {[key: string]: any}) => {[key: string]: any} | string;
377
- type delete_ = (requestParameters: {[key: string]: any}) => {[key: string]: any} | string;
378
- type post = (requestBody: {[key: string]: any} | string) => {[key: string]: any} | string;
379
- type put = (requestBody: {[key: string]: any} | string) => {[key: string]: any} | string;
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.4",
11
+ "version": "2025.1.5",
12
12
  "author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
13
13
  "license": "MIT",
14
14
  "repository": {