@hitc/netsuite-types 2024.1.7 → 2024.1.9

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/crypto.d.ts CHANGED
@@ -139,12 +139,8 @@ export declare enum EncryptionAlg {
139
139
  * Use this enum to set the value of the options.algorithm parameter for crypto.createHash(options) and crypto.createHmac(options).
140
140
  */
141
141
  export declare enum HashAlg {
142
- /** SHA1 is no longer listed in the documentation, but NetSuite does still support using it. */
143
- SHA1,
144
142
  SHA256,
145
- SHA512,
146
- /** MD5 is no longer listed in the documentation, but NetSuite does still support using it. */
147
- MD5
143
+ SHA512
148
144
  }
149
145
 
150
146
  export declare enum Padding {
@@ -173,4 +169,4 @@ export declare function createSecretKey(options: CreateSecretKeyOptions): Secret
173
169
  * You should no longer use those methods for custom password fields.
174
170
  * This method provides a more secure way to check custom password fields.
175
171
  */
176
- export declare function checkPasswordField (options: CheckPasswordFieldOptions): boolean;
172
+ export declare function checkPasswordField(options: CheckPasswordFieldOptions): boolean;
@@ -168,7 +168,7 @@ export interface getAccountsContext {
168
168
  */
169
169
  export type getAccounts = (options: getAccountsContext) => void;
170
170
 
171
- interface addDaraChunkOptions {
171
+ interface addDataChunkOptions {
172
172
 
173
173
  /**
174
174
  * This function enables you to transmit the financial institution’s data file to NetSuite as a series of chunks.
@@ -215,7 +215,7 @@ export interface getTransactionDataContext {
215
215
  * It encrypts the incoming chunks before storing them in the database. Each chunk size has a 25–million
216
216
  * character limit.
217
217
  */
218
- addDataChunk: (options: addDaraChunkOptions) => void;
218
+ addDataChunk: (options: addDataChunkOptions) => void;
219
219
 
220
220
  /**
221
221
  * This function enables you to return the list of accounts queried by the plug-in, as well as the reason
@@ -327,7 +327,7 @@ export interface Assistant {
327
327
  /** The relative path to the client script file to be used in this assistant. */
328
328
  clientScriptModulePath: string;
329
329
  /** Identifies the current step. You can set any step as the current step. */
330
- currentStep: AssistantStep;
330
+ currentStep?: AssistantStep;
331
331
  /** Error message text for the current step. Optionally, you can use HTML tags to format the message. */
332
332
  errorHtml: string | undefined;
333
333
  /** The text to display after the assistant finishes. For example “You have completed the Small Business Setup Assistant. Take the rest of the day off”. To trigger display of the completion message, call Assistant.isFinished(). */
package/N/url.d.ts CHANGED
@@ -14,7 +14,7 @@ interface resolveHostOptions {
14
14
 
15
15
  interface resolveRecordOptions {
16
16
  recordType: string | record.Type; // Documentation says it just accepts string, but record.Type values are strings.
17
- recordId: string | number;
17
+ recordId?: string | number; // Omitting this property produces a URL to a NEW record
18
18
  isEditMode?: boolean;
19
19
  params?: any;
20
20
  }
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.7",
11
+ "version": "2024.1.9",
12
12
  "author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
13
13
  "license": "MIT",
14
14
  "repository": {