@hitc/netsuite-types 2024.1.4 → 2024.1.6
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 +9 -7
- 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
|
|
@@ -547,12 +547,14 @@ export interface ClientCurrentRecord {
|
|
|
547
547
|
getSublistValue(options: GetSublistValueOptions): FieldValue;
|
|
548
548
|
getSublistValue(sublistId: string, fieldId: string, line: number): FieldValue;
|
|
549
549
|
/** Gets the subrecord for the associated field. */
|
|
550
|
-
getSubrecord(options: GetFieldOptions): Record
|
|
550
|
+
getSubrecord(options: GetFieldOptions): Omit<Record, "save">;
|
|
551
551
|
/** Returns the text representation of a field value. */
|
|
552
552
|
getText(options: GetFieldOptions): string | string[];
|
|
553
|
+
/** Returns the text representation of a field value. Warning: this is an undocumented function overload. */
|
|
553
554
|
getText(fieldId: string): string | string[];
|
|
554
555
|
/** Returns the value of a field. */
|
|
555
556
|
getValue(options: GetFieldOptions): FieldValue;
|
|
557
|
+
/** Returns the value of a field. Warning: the fieldId string parameter is an undocumented function overload. */
|
|
556
558
|
getValue(fieldId: string): FieldValue;
|
|
557
559
|
/** Returns a value indicating whether the associated sublist field has a subrecord on the current line. This method can only be used on dynamic records. */
|
|
558
560
|
hasCurrentSublistSubrecord(options: GetCurrentSublistValueOptions): boolean;
|
|
@@ -634,9 +636,9 @@ export interface Record extends ClientCurrentRecord {
|
|
|
634
636
|
/** Returns all the field names in a sublist. */
|
|
635
637
|
getSublistFields(options: RecordGetLineCountOptions): string[];
|
|
636
638
|
/** Gets the subrecord associated with a sublist field. */
|
|
637
|
-
getSublistSubrecord(options: GetSublistValueOptions): Record
|
|
638
|
-
/**
|
|
639
|
-
* Removes the subrecord for the associated sublist field.
|
|
639
|
+
getSublistSubrecord(options: GetSublistValueOptions): Omit<Record, "save">;
|
|
640
|
+
/**
|
|
641
|
+
* Removes the subrecord for the associated sublist field.
|
|
640
642
|
* @restriction only available in deferred dynamic record
|
|
641
643
|
* @return {Record} same record, for chaining
|
|
642
644
|
*/
|
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.6",
|
|
12
12
|
"author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"repository": {
|