@hitc/netsuite-types 2026.1.0 → 2026.1.2

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/format.d.ts CHANGED
@@ -53,17 +53,11 @@ export function format(options: FormatOptions): string | any;
53
53
  */
54
54
  export function format(options: FormatDateTimeOptions): string | any;
55
55
 
56
- /**
57
- * Use parse to convert a string into an object, like a Date.
58
- * Options: value (Date|string|number), type (format.FormatType).
59
- */
60
- export function parse(options: FormatOptions): Date | string | number;
61
-
62
56
  /**
63
57
  * Use parse to convert a string into an object, like a Date.
64
58
  * Options: value (Date|string), type (format.FormatType), timezone (enum).
65
59
  */
66
- export function parse(options: FormatDateTimeOptions): Date | string | number;
60
+ export function parse(options: FormatDateTimeOptions): Date;
67
61
 
68
62
  /**
69
63
  * Use parse to convert a string into a number.
@@ -71,6 +65,12 @@ export function parse(options: FormatDateTimeOptions): Date | string | number;
71
65
  */
72
66
  export function parse(options: FormatNumberOptions): number;
73
67
 
68
+ /**
69
+ * Use parse to convert a string into an object, like a Date.
70
+ * Options: value (Date|string|number), type (format.FormatType).
71
+ */
72
+ export function parse(options: FormatOptions): Date | string | number;
73
+
74
74
  /**
75
75
  * -enum- Holds the string values for the supported field types.
76
76
  * Used to set the value of the options.type parameter.
package/N/task.d.ts CHANGED
@@ -236,10 +236,11 @@ interface MapReduceScriptTaskStatus {
236
236
  getTotalReduceCount(): number;
237
237
  getTotalOutputCount(): number;
238
238
  toString(): string;
239
- scriptId: string | null;
240
- deploymentId: string | null;
241
- stage: MapReduceStage | `${MapReduceStage}` | null;
242
- status: TaskStatus | `${TaskStatus}` | null;
239
+ readonly scriptId: number | null;
240
+ readonly deploymentId: string | null;
241
+ readonly stage: MapReduceStage | `${MapReduceStage}` | null;
242
+ readonly status: TaskStatus | `${TaskStatus}` | null;
243
+ readonly taskId: string;
243
244
  }
244
245
 
245
246
  interface ScheduledScriptTaskCreateOptions {
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": "2026.1.0",
11
+ "version": "2026.1.2",
12
12
  "author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
13
13
  "license": "MIT",
14
14
  "repository": {