@hitc/netsuite-types 2023.1.5 → 2023.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/https.d.ts +20 -0
- package/N/query.d.ts +3 -1
- package/package.json +1 -1
package/N/https.d.ts
CHANGED
|
@@ -97,6 +97,15 @@ interface RequestRestletFunction {
|
|
|
97
97
|
(options: RequestRestletOptions): ClientResponse
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
+
interface RequestSuiteletOptions extends RequestRestletOptions {
|
|
101
|
+
/** Specifies whether to perform the request as an unauthenticated user; this case uses the Online Form User role. */
|
|
102
|
+
external?: boolean,
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
interface RequestSuiteletFunction {
|
|
106
|
+
(options: RequestSuiteletOptions): ClientResponse
|
|
107
|
+
}
|
|
108
|
+
|
|
100
109
|
interface RequestSuiteTalkRestOptions {
|
|
101
110
|
/** The PUT/POST data. This is ignored if the options.method parameter is not POST or PUT. */
|
|
102
111
|
body?: string | Object,
|
|
@@ -156,6 +165,17 @@ export var createSecureString: HttpsCreateSecureStringFunction;
|
|
|
156
165
|
*/
|
|
157
166
|
export var requestRestlet: RequestRestletFunction;
|
|
158
167
|
|
|
168
|
+
/**
|
|
169
|
+
* Sends an HTTPS request to a Suitelet and returns the response.
|
|
170
|
+
*
|
|
171
|
+
* Use this method to perform an outbound HTTPS request in an anonymous client-side context. You can do this by performing the HTTPS request inside a Suitelet that is available without login, then calling the Suitelet inside your client script using the https.requestSuitelet(options) method.
|
|
172
|
+
*
|
|
173
|
+
* Currently, this method is supported only with the options.external parameter set to true
|
|
174
|
+
*
|
|
175
|
+
* @governance 10 units
|
|
176
|
+
*/
|
|
177
|
+
export var requestSuitelet: RequestSuiteletFunction;
|
|
178
|
+
|
|
159
179
|
/**
|
|
160
180
|
* Sends an HTTPS request to a SuiteTalk REST endpoint and returns the response. Authentication headers are automatically added.
|
|
161
181
|
*
|
package/N/query.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ interface JoinToOptions {
|
|
|
37
37
|
|
|
38
38
|
interface JoinFromOptions {
|
|
39
39
|
/** The name of the relationship field on which join with other query type is performed For example "salesrep". */
|
|
40
|
-
|
|
40
|
+
fieldId: string;
|
|
41
41
|
|
|
42
42
|
/** The query type on which is relationship field used to create the join with this component. */
|
|
43
43
|
source: string;
|
|
@@ -1246,6 +1246,8 @@ export enum ReturnType {
|
|
|
1246
1246
|
* The field context determines how field values are displayed in a column.
|
|
1247
1247
|
*/
|
|
1248
1248
|
export enum FieldContext {
|
|
1249
|
+
/** Displays consolidated debit / credit amount in the base currency. */
|
|
1250
|
+
SIGN_CONSOLIDATED = "SIGN_CONSOLIDATED",
|
|
1249
1251
|
/** Displays converted currency amounts using the exchange rate that was in effect on a specific date. */
|
|
1250
1252
|
CONVERTED = "CONVERTED",
|
|
1251
1253
|
/** Displays consolidated currency amounts in the base currency. */
|
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": "2023.1.
|
|
11
|
+
"version": "2023.1.7",
|
|
12
12
|
"author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"repository": {
|