@hitc/netsuite-types 2022.1.3 → 2022.1.4

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/ui/message.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- interface Message {
1
+ export interface Message { // Also referenced in N/ui/serverWidget
2
2
  hide(): void;
3
3
  show(options?: MessageShowOptions): void;
4
4
  }
@@ -1,6 +1,6 @@
1
1
  import {ServerResponse} from 'N/http';
2
2
  import {AddColumnOptions, AddEditColumnOptions, AddRowOptions, AddRowsOptions} from 'N/portlet';
3
- import {MessageCreateOptions} from 'N/ui/message';
3
+ import {Message, MessageCreateOptions} from 'N/ui/message';
4
4
 
5
5
  export interface AddButtonOptions {
6
6
  /** The internal ID of the button. If you are adding the button to an existing page, the internal ID must be in lowercase, contain no spaces, and include the prefix custpage. */
@@ -449,7 +449,7 @@ export interface Form extends BaseForm {
449
449
  addButton(options: AddButtonOptions): Button;
450
450
  addCredentialField(options: AddCredentialFieldOptions): Field;
451
451
  addFieldGroup(options: AddFieldGroupOptions): FieldGroup;
452
- addPageInitMessage(options: MessageCreateOptions): void;
452
+ addPageInitMessage(options: { message: Message } | MessageCreateOptions): void;
453
453
  addPageLink(options: AddPageLinkOptions): void;
454
454
  addResetButton(options?: AddResetButtonOptions): Button;
455
455
  addSecretKeyField(options: AddSecretKeyFieldOptions): Field;
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": "2022.1.3",
11
+ "version": "2022.1.4",
12
12
  "main": "index.d.ts",
13
13
  "author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
14
14
  "license": "MIT",