@hitc/netsuite-types 2024.1.5 → 2024.1.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/certificateControl.d.ts +3 -1
- package/N/crypto.d.ts +9 -3
- package/N/record.d.ts +4 -2
- package/package.json +1 -1
|
@@ -101,7 +101,7 @@ interface DeleteCertificateOptions {
|
|
|
101
101
|
|
|
102
102
|
interface FindCertificatesOptions {
|
|
103
103
|
/** The internal ID of the subsidiary. */
|
|
104
|
-
subsidiary?:
|
|
104
|
+
subsidiary?: number;
|
|
105
105
|
/** The certificate file type. */
|
|
106
106
|
type?: string;
|
|
107
107
|
/** The internal ID of an employee selected in the Restrict to Employees field. */
|
|
@@ -112,6 +112,8 @@ interface FindCertificatesOptions {
|
|
|
112
112
|
name?: string;
|
|
113
113
|
/** The certificate description. You can use this filter with the certificateControl.Operator enum. */
|
|
114
114
|
description?: string;
|
|
115
|
+
/** Script name to be used for searching for certificates with restrictions to a particular script. */
|
|
116
|
+
scriptRestriction?: string;
|
|
115
117
|
}
|
|
116
118
|
|
|
117
119
|
interface FindUsagesOptions {
|
package/N/crypto.d.ts
CHANGED
|
@@ -134,11 +134,17 @@ export declare enum EncryptionAlg {
|
|
|
134
134
|
AES,
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
+
/**
|
|
138
|
+
* Holds the string values for supported hashing algorithms.
|
|
139
|
+
* Use this enum to set the value of the options.algorithm parameter for crypto.createHash(options) and crypto.createHmac(options).
|
|
140
|
+
*/
|
|
137
141
|
export declare enum HashAlg {
|
|
138
|
-
|
|
142
|
+
/** SHA1 is no longer listed in the documentation, but NetSuite does still support using it. */
|
|
143
|
+
SHA1,
|
|
139
144
|
SHA256,
|
|
140
|
-
SHA512
|
|
141
|
-
|
|
145
|
+
SHA512,
|
|
146
|
+
/** MD5 is no longer listed in the documentation, but NetSuite does still support using it. */
|
|
147
|
+
MD5
|
|
142
148
|
}
|
|
143
149
|
|
|
144
150
|
export declare enum Padding {
|
package/N/record.d.ts
CHANGED
|
@@ -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,7 +636,7 @@ 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
|
|
639
|
+
getSublistSubrecord(options: GetSublistValueOptions): Omit<Record, "save">;
|
|
638
640
|
/**
|
|
639
641
|
* Removes the subrecord for the associated sublist field.
|
|
640
642
|
* @restriction only available in deferred dynamic record
|
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.7",
|
|
12
12
|
"author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"repository": {
|