@hitc/netsuite-types 2024.1.4 → 2024.1.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.
- package/N/file.d.ts +5 -0
- package/N/record.d.ts +5 -5
- package/package.json +1 -1
package/N/file.d.ts
CHANGED
|
@@ -133,8 +133,11 @@ export enum Encoding {
|
|
|
133
133
|
|
|
134
134
|
/** Enumeration that holds the string values for supported file types. */
|
|
135
135
|
export enum Type {
|
|
136
|
+
APPCACHE,
|
|
136
137
|
AUTOCAD,
|
|
137
138
|
BMPIMAGE,
|
|
139
|
+
CERTIFICATE,
|
|
140
|
+
CONFIG,
|
|
138
141
|
CSV,
|
|
139
142
|
EXCEL,
|
|
140
143
|
FLASH,
|
|
@@ -158,8 +161,10 @@ export enum Type {
|
|
|
158
161
|
POWERPOINT,
|
|
159
162
|
QUICKTIME,
|
|
160
163
|
RTF,
|
|
164
|
+
SCSS,
|
|
161
165
|
SMS,
|
|
162
166
|
STYLESHEET,
|
|
167
|
+
SVG,
|
|
163
168
|
TAR,
|
|
164
169
|
TIFFIMAGE,
|
|
165
170
|
VISIO,
|
package/N/record.d.ts
CHANGED
|
@@ -496,7 +496,7 @@ export interface ClientCurrentRecord {
|
|
|
496
496
|
* return field object from record's sublist current line. Only available in dynamic record
|
|
497
497
|
* @throws {SuiteScriptError} SSS_MISSING_REQD_ARGUMENT if sublistId or fieldId is missing
|
|
498
498
|
* @restriction only available in dynamic record
|
|
499
|
-
*/
|
|
499
|
+
*/
|
|
500
500
|
getCurrentSublistField(options: GetCurrentSublistFieldOptions): Field;
|
|
501
501
|
getCurrentSublistIndex(options: RecordGetLineCountOptions): number;
|
|
502
502
|
/** Gets the subrecord for the associated sublist field on the current line. */
|
|
@@ -513,7 +513,7 @@ export interface ClientCurrentRecord {
|
|
|
513
513
|
*
|
|
514
514
|
* @throws {SuiteScriptError} SSS_MISSING_REQD_ARGUMENT if options.fieldId is missing or undefined
|
|
515
515
|
*/
|
|
516
|
-
getField(options: GetFieldOptions): Field;
|
|
516
|
+
getField(options: GetFieldOptions): Field | null;
|
|
517
517
|
/** Returns the number of lines in a sublist. */
|
|
518
518
|
getLineCount(options: RecordGetLineCountOptions): number;
|
|
519
519
|
getLineCount(sublistId: string): number;
|
|
@@ -535,7 +535,7 @@ export interface ClientCurrentRecord {
|
|
|
535
535
|
getMatrixSublistValue(options: GetMatrixSublistValueOptions): FieldValue;
|
|
536
536
|
/** Returns the specified sublist. */
|
|
537
537
|
getSublist(options: RecordGetLineCountOptions): Sublist;
|
|
538
|
-
/**
|
|
538
|
+
/**
|
|
539
539
|
* Return field object from record's sublist
|
|
540
540
|
* @throws {SuiteScriptError} SSS_MISSING_REQD_ARGUMENT if sublistId or fieldId is missing
|
|
541
541
|
* @throws {SuiteScriptError} SSS_INVALID_SUBLIST_OPERATION if line number is invalid
|
|
@@ -635,8 +635,8 @@ export interface Record extends ClientCurrentRecord {
|
|
|
635
635
|
getSublistFields(options: RecordGetLineCountOptions): string[];
|
|
636
636
|
/** Gets the subrecord associated with a sublist field. */
|
|
637
637
|
getSublistSubrecord(options: GetSublistValueOptions): Record;
|
|
638
|
-
/**
|
|
639
|
-
* Removes the subrecord for the associated sublist field.
|
|
638
|
+
/**
|
|
639
|
+
* Removes the subrecord for the associated sublist field.
|
|
640
640
|
* @restriction only available in deferred dynamic record
|
|
641
641
|
* @return {Record} same record, for chaining
|
|
642
642
|
*/
|
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.1.
|
|
11
|
+
"version": "2024.1.5",
|
|
12
12
|
"author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"repository": {
|