@hitc/netsuite-types 2025.2.4 → 2025.2.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.
@@ -1,8 +1,8 @@
1
- import type {EntryPoints} from '../types'
2
- import type {Form} from '../ui/serverWidget'
1
+ import type {EntryPoints} from './N/types'
2
+ import type {Form} from './N/ui/serverWidget'
3
3
 
4
4
  /** Taken from https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_0724075122.html */
5
- interface epForm {
5
+ interface EPForm {
6
6
  /** Adds a column on the sublist of the Invoice Payment Processing page to display field values from the records searched */
7
7
  AddColumn(
8
8
  /**
@@ -108,44 +108,17 @@ interface epForm {
108
108
  setGlobalPayment(isGlobal: boolean): void;
109
109
  }
110
110
 
111
- export enum ColumnType {
112
- TEXT = 'text',
113
- INTEGER = 'integer',
114
- DATE = 'date',
115
- CURRENCY = 'currency',
116
- }
111
+ type ColumnType = 'text' | 'integer' | 'date' | 'currency';
117
112
 
118
- export enum ColumnDisplayType {
119
- NORMAL = 'normal',
120
- HIDDEN = 'hidden',
121
- }
113
+ type ColumnDisplayType = 'normal' | 'hidden';
122
114
 
123
- export enum FilterType {
124
- TEXT = 'text',
125
- DATE = 'date',
126
- CHECKBOX = 'checkbox',
127
- SELECT = 'select',
128
- MULTISELECT = 'multiselect',
129
- INTEGER = 'integer',
130
- CURRENCY = 'currency',
131
- LONGTEXT = 'longtext',
132
- }
115
+ type FilterType = 'text' | 'date' | 'checkbox' | 'select' | 'multiselect' | 'integer' | 'currency' | 'longtext';
133
116
 
134
- export enum FilterDisplayType {
135
- INLINE = 'inline',
136
- NORMAL = 'normal',
137
- HIDDEN = 'hidden',
138
- DISABLED = 'disabled',
139
- }
117
+ type FilterDisplayType = 'inline' | 'normal' | 'hidden' | 'disabled';
140
118
 
141
- export enum PaymentType {
142
- DD = 'DD',
143
- EFT = 'EFT',
144
- CR = 'CR',
145
- PP = 'PP',
146
- }
119
+ type PaymentType = 'DD' | 'EFT' | 'CR' | 'PP';
147
120
 
148
- export interface epPlugin extends Record<string, (...s: unknown[]) => unknown> {
121
+ export interface EPPlugin extends Record<string, (...s: unknown[]) => unknown> {
149
122
  /** Returns an epForm object to customize the Invoice Payment Processing page */
150
- getEPForm: () => epForm;
123
+ getEPForm: () => EPForm;
151
124
  }
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.2.4",
11
+ "version": "2025.2.5",
12
12
  "author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
13
13
  "license": "MIT",
14
14
  "repository": {