@hitc/netsuite-types 2023.1.6 → 2023.1.8
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 +35 -34
- package/N/query.d.ts +3 -1
- package/package.json +1 -1
package/N/https.d.ts
CHANGED
|
@@ -76,55 +76,56 @@ interface HttpsCreateSecureStringFunction {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
interface RequestRestletOptions {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
79
|
+
/** The PUT/POST data. This is ignored if the options.method is not POST or PUT. */
|
|
80
|
+
body?: string | Object,
|
|
81
|
+
/** The script ID of the script deployment record. */
|
|
82
|
+
deploymentId: string,
|
|
83
|
+
/** The internal ID or script ID of the script record. Specify internal ID as a number. Specify script ID as a string. */
|
|
84
|
+
scriptId: string,
|
|
85
|
+
/** The HTTPS headers. */
|
|
86
|
+
headers?: Object,
|
|
87
|
+
/**
|
|
88
|
+
* The HTTPS method (DELETE, GET, HEAD, POST, PUT).
|
|
89
|
+
* The default value is GET if options.body is not specified, and POST if options.body is specified.
|
|
90
|
+
*/
|
|
91
|
+
method?: string,
|
|
92
|
+
/** The parameters to be appended to the target URL as a query string. */
|
|
93
|
+
urlParams?: Object
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
interface RequestRestletFunction {
|
|
97
|
-
|
|
97
|
+
(options: RequestRestletOptions): ClientResponse
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
interface RequestSuiteletOptions extends RequestRestletOptions {
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
/** Specifies whether to perform the request as an unauthenticated user; this case uses the Online Form User role. */
|
|
102
|
+
external?: boolean,
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
interface RequestSuiteletFunction {
|
|
106
|
-
|
|
106
|
+
(options: RequestSuiteletOptions): ClientResponse
|
|
107
|
+
promise(options: RequestSuiteletOptions): Promise<ClientResponse>;
|
|
107
108
|
}
|
|
108
109
|
|
|
109
110
|
interface RequestSuiteTalkRestOptions {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
111
|
+
/** The PUT/POST data. This is ignored if the options.method parameter is not POST or PUT. */
|
|
112
|
+
body?: string | Object,
|
|
113
|
+
/**
|
|
114
|
+
* The URL of a SuiteTalk REST endpoint. It may also contain query parameters.
|
|
115
|
+
* The URL may be fully qualified, relative, or relative with the /services/rest/ prefix omitted.
|
|
116
|
+
*/
|
|
117
|
+
url: string,
|
|
118
|
+
/** The HTTPS headers. */
|
|
119
|
+
headers?: Object,
|
|
120
|
+
/**
|
|
121
|
+
* The HTTPS method (DELETE, GET, HEAD, POST, PUT).
|
|
122
|
+
* The default value is GET if options.body is not specified, and POST if options.body is specified.
|
|
123
|
+
*/
|
|
124
|
+
method?: string
|
|
124
125
|
}
|
|
125
126
|
|
|
126
127
|
interface RequestSuiteTalkRestFunction {
|
|
127
|
-
|
|
128
|
+
(options: RequestSuiteTalkRestOptions): ClientResponse
|
|
128
129
|
}
|
|
129
130
|
|
|
130
131
|
// OBJECTS \\
|
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.8",
|
|
12
12
|
"author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"repository": {
|