@hitc/netsuite-types 2023.2.2 → 2023.2.3

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 CHANGED
@@ -102,6 +102,14 @@ interface RequestSuiteletOptions extends RequestRestletOptions {
102
102
  external?: boolean,
103
103
  }
104
104
 
105
+ /**
106
+ * Sends an HTTPS request to a Suitelet and returns the response.
107
+ *
108
+ * Use this method to perform an outbound HTTPS request in an anonymous client-side context.
109
+ * 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.
110
+ *
111
+ * Currently, this method is supported only with the options.external parameter set to true.
112
+ */
105
113
  interface RequestSuiteletFunction {
106
114
  (options: RequestSuiteletOptions): ClientResponse
107
115
  promise(options: RequestSuiteletOptions): Promise<ClientResponse>;
package/N/render.d.ts CHANGED
@@ -92,18 +92,22 @@ interface RenderToResponseOptions {
92
92
  }
93
93
 
94
94
  interface StatementOptions {
95
+ /** Flag to convert all amount values to the base currency. */
96
+ consolidateStatements?: boolean;
95
97
  /** The internal ID of the statement to print. */
96
98
  entityId: number;
97
- /** The print output type. Set using the render.PrintMode enum. */
98
- printMode?: PrintMode;
99
99
  /** Internal ID of the form to use to print the statement. */
100
100
  formId?: number;
101
+ /** Applies when advanced templates are used. Prints the document in the customer's locale. If basic printing is used, this parameter is ignored and the transaction form is printed in the customer's locale.*/
102
+ inCustLocale?: boolean;
103
+ /** Include only open transactions. */
104
+ openTransactionsOnly?: boolean;
105
+ /** The print output type. Set using the render.PrintMode enum. */
106
+ printMode?: PrintMode;
101
107
  /** Date of the oldest transaction to appear on the statement. */
102
108
  startDate?: string;
103
109
  /** Statement date. NS Docs say this should be a Date object, but in practice it should be a string.*/
104
110
  statementDate?: string;
105
- /** Include only open transactions. */
106
- openTransactionsOnly?: boolean;
107
111
  /** Internal ID of the subsidiary. Note: This parameter only works for advance printing. */
108
112
  subsidiaryId?: number;
109
113
  }
package/N/search.d.ts CHANGED
@@ -181,6 +181,11 @@ export interface CreateSearchColumnOptions {
181
181
  join?: string;
182
182
  summary?: Summary;
183
183
  formula?: string;
184
+ /**
185
+ * See the list of Supported Function in NetSuite help.
186
+ * For example, use "day" when creating a column to show a date/time column as just a date.
187
+ * Do not specify this property when calling result.getValue(), only use it when creating the search column.
188
+ */
184
189
  function?: string;
185
190
  label?: string;
186
191
  sort?: Sort;
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.2.2",
11
+ "version": "2023.2.3",
12
12
  "author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
13
13
  "license": "MIT",
14
14
  "repository": {