@hitc/netsuite-types 2023.2.5 → 2023.2.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/query.d.ts CHANGED
@@ -200,7 +200,7 @@ interface DeleteQueryOptions {
200
200
  id: number;
201
201
  }
202
202
 
203
- interface RunSuiteQLOptions {
203
+ export interface RunSuiteQLOptions {
204
204
  /**
205
205
  * String representation of SuiteQL query
206
206
  */
@@ -211,7 +211,7 @@ interface RunSuiteQLOptions {
211
211
  customScriptId?: string;
212
212
  }
213
213
 
214
- interface RunSuiteQLPagedOptions extends RunSuiteQLOptions {
214
+ export interface RunSuiteQLPagedOptions extends RunSuiteQLOptions {
215
215
  pageSize?: number;
216
216
  }
217
217
 
@@ -467,13 +467,13 @@ export interface Column {
467
467
  * Id of column field.
468
468
  * @throws {SuiteScriptError} READ_ONLY when setting the property is attempted
469
469
  */
470
- readonly prototype: string;
470
+ readonly prototype?: string;
471
471
 
472
472
  /**
473
473
  * Query component. Returns the Component to which this column belongs.
474
474
  * @throws {SuiteScriptError} READ_ONLY when setting the property is attempted
475
475
  */
476
- readonly component: Component;
476
+ readonly component?: Component;
477
477
 
478
478
  /** Holds the name of the query result column. */
479
479
  readonly fieldId: string;
@@ -482,31 +482,31 @@ export interface Column {
482
482
  * Formula.
483
483
  * @throws {SuiteScriptError} READ_ONLY when setting the property is attempted
484
484
  */
485
- readonly formula: string;
485
+ readonly formula?: string;
486
486
 
487
487
  /**
488
488
  * Desired value type of the formula (if it was explicitly stated upon Column creation).
489
489
  * @throws {SuiteScriptError} READ_ONLY when setting the property is attempted
490
490
  */
491
- readonly type: string;
491
+ readonly type?: string;
492
492
 
493
493
  /**
494
494
  * Aggregate function (value from Aggregate enum).
495
495
  * @throws {SuiteScriptError} READ_ONLY when setting the property is attempted
496
496
  */
497
- readonly aggregate: string;
497
+ readonly aggregate?: string;
498
498
 
499
499
  /**
500
500
  * The group-by flag.
501
501
  * @throws {SuiteScriptError} READ_ONLY when setting the property is attempted
502
502
  */
503
- readonly groupBy: boolean;
503
+ readonly groupBy?: boolean;
504
504
 
505
- readonly label: string;
506
- readonly alias: string;
505
+ readonly label?: string;
506
+ readonly alias?: string;
507
507
 
508
508
  /** The field context for values in the query result column. */
509
- readonly context: ColumnContextOptions;
509
+ readonly context?: ColumnContextOptions;
510
510
  }
511
511
 
512
512
  /**
@@ -329,7 +329,7 @@ export interface Assistant {
329
329
  /** Identifies the current step. You can set any step as the current step. */
330
330
  currentStep: AssistantStep;
331
331
  /** Error message text for the current step. Optionally, you can use HTML tags to format the message. */
332
- errorHtml: string;
332
+ errorHtml: string | undefined;
333
333
  /** The text to display after the assistant finishes. For example “You have completed the Small Business Setup Assistant. Take the rest of the day off”. To trigger display of the completion message, call Assistant.isFinished(). */
334
334
  finishedHtml: string;
335
335
  /** Indicates whether to show or hide the Add to Shortcuts link that appears in the top-right corner of an assistant page. */
@@ -472,7 +472,7 @@ export interface Form extends BaseForm {
472
472
  removeButton(options: IDOptions): void;
473
473
  }
474
474
 
475
- export interface List {
475
+ export interface List {
476
476
  /** Adds a button to a list */
477
477
  addButton(options: AddButtonOptions): Button;
478
478
  /** Adds a column to a list */
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": "2023.2.5",
11
+ "version": "2023.2.7",
12
12
  "author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
13
13
  "license": "MIT",
14
14
  "repository": {