@hitc/netsuite-types 2024.2.8 → 2024.2.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/search.d.ts CHANGED
@@ -25,6 +25,21 @@ export interface Filter {
25
25
  readonly summary: Summary;
26
26
  /** Formula used by the search filter. Use this property to get or set the formula used by the search filter. */
27
27
  formula: string;
28
+ /** Returns the object type name */
29
+ toString(): string;
30
+ /** Get JSON format of the object */
31
+ toJSON(): {
32
+ name: string;
33
+ join: string | null | undefined;
34
+ operator: keyof typeof Operator;
35
+ summary: keyof typeof Summary | null | undefined;
36
+ formula: string | null | undefined;
37
+ values: string[];
38
+ isor: boolean;
39
+ isnot: boolean;
40
+ leftparens: number;
41
+ rightparens: number;
42
+ };
28
43
  }
29
44
 
30
45
  interface SearchColumnSetWhenOrderedByOptions {
@@ -52,6 +67,22 @@ export interface Column {
52
67
  function?: string
53
68
  /** The sort order of the column. Use the search.Sort enum to set the value. */
54
69
  sort?: Sort;
70
+ /** Returns the object type name */
71
+ toString(): string;
72
+ /** Get JSON format of the object */
73
+ toJSON(): {
74
+ name: string;
75
+ join: string | null | undefined;
76
+ summary: keyof typeof Summary | null | undefined;
77
+ label: string | null;
78
+ type: string | null;
79
+ formula: string | null | undefined;
80
+ function: string | null | undefined;
81
+ sortdir: keyof typeof Sort;
82
+ whenorderedby: string | null | undefined;
83
+ whenorderedbyjoin: string | null | undefined;
84
+ whenorderedbyalias: string | null | undefined;
85
+ };
55
86
  }
56
87
 
57
88
  export interface Result {
@@ -398,7 +398,7 @@ export interface Field {
398
398
  /** An alternate name that you can assign to a serverWidget.Field object. */
399
399
  alias: string;
400
400
  /** The default value for this field. */
401
- defaultValue: string | string[];
401
+ defaultValue: string | string[] | number;
402
402
  /** The field internal ID. */
403
403
  id: string;
404
404
  /** Indicates whether the field is mandatory or optional. */
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": "2024.2.8",
11
+ "version": "2024.2.9",
12
12
  "author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
13
13
  "license": "MIT",
14
14
  "repository": {