@hitc/netsuite-types 2026.1.6 → 2026.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/http.d.ts +9 -25
- package/package.json +1 -1
package/N/http.d.ts
CHANGED
|
@@ -178,43 +178,27 @@ interface GetSublistValueOptions {
|
|
|
178
178
|
* Encapsulates the HTTP request information sent to an HTTP server. For example, a request received by a Suitelet or RESTlet.
|
|
179
179
|
*/
|
|
180
180
|
export interface ServerRequest {
|
|
181
|
-
/**
|
|
182
|
-
* Method used to return the number of lines in a sublist.
|
|
183
|
-
*/
|
|
181
|
+
/** Method used to return the number of lines in a sublist. */
|
|
184
182
|
getLineCount(options: GetLineCountOptions): number;
|
|
185
|
-
/**
|
|
186
|
-
* Method used to return the value of a sublist line item.
|
|
187
|
-
*/
|
|
183
|
+
/** Method used to return the value of a sublist line item. */
|
|
188
184
|
getSublistValue(options: GetSublistValueOptions): string;
|
|
189
|
-
/**
|
|
190
|
-
* The server request body.
|
|
191
|
-
*/
|
|
185
|
+
/** The server request body. */
|
|
192
186
|
body: string;
|
|
193
|
-
/**
|
|
194
|
-
* The remote IP address that made this request.
|
|
195
|
-
*/
|
|
187
|
+
/** The remote IP address that made this request. */
|
|
196
188
|
clientIpAddress: string;
|
|
197
|
-
/**
|
|
198
|
-
* The server request files.
|
|
199
|
-
*/
|
|
189
|
+
/** The server request files. */
|
|
200
190
|
files: any;
|
|
201
|
-
/**
|
|
202
|
-
|
|
203
|
-
*/
|
|
204
|
-
headers: object;
|
|
191
|
+
/** The server request headers. */
|
|
192
|
+
headers: { [key: string]: string };
|
|
205
193
|
/**
|
|
206
194
|
* The server request http method.
|
|
207
195
|
* Allow usage as string here as N/http is a heavy import just
|
|
208
196
|
* to get an enum.
|
|
209
197
|
*/
|
|
210
198
|
method: Method | `${Method}`;
|
|
211
|
-
/**
|
|
212
|
-
* The server request parameters.
|
|
213
|
-
*/
|
|
199
|
+
/** The server request parameters. */
|
|
214
200
|
parameters: any;
|
|
215
|
-
/**
|
|
216
|
-
* The server request URL.
|
|
217
|
-
*/
|
|
201
|
+
/** The server request URL. */
|
|
218
202
|
url: string;
|
|
219
203
|
}
|
|
220
204
|
|