@hitc/netsuite-types 2022.1.5 → 2022.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/record.d.ts CHANGED
@@ -167,6 +167,12 @@ interface InsertLineOptions {
167
167
  ignoreRecalc?: boolean;
168
168
  }
169
169
 
170
+ interface MoveLineOptions {
171
+ sublistId: string;
172
+ from: number;
173
+ to: number;
174
+ }
175
+
170
176
  interface SelectLineOptions {
171
177
  /** The internal ID of the sublist. */
172
178
  sublistId: string;
@@ -537,6 +543,11 @@ export interface ClientCurrentRecord {
537
543
  * This value is set when the record is created or accessed.
538
544
  */
539
545
  isDynamic: boolean;
546
+ /**
547
+ * Moves one line of the sublist to another location. The sublist machine must allow moving lines, for example: editmachine.setAllowMoveLines(true);.
548
+ * The sublist must contain the _sequence field. The sublist type must be edit machine. When using this method, the order of the other lines is preserved.
549
+ */
550
+ moveLine(options: MoveLineOptions): this;
540
551
  /**
541
552
  * Removes the subrecord for the associated sublist field on the current line.
542
553
  * @return {Record} same record, for chaining
package/N/types.d.ts CHANGED
@@ -73,11 +73,11 @@ declare interface UserEventTypes {
73
73
  }
74
74
 
75
75
  declare enum ScheduledInvocationType {
76
- SCHEDULED,
77
- ON_DEMAND,
78
- USER,
79
- ABORTED,
80
- SKIPPED,
76
+ SCHEDULED, // The normal execution according to the deployment options specified in the UI.
77
+ ON_DEMAND, // The script is executed via a call from a script (using ScheduledScriptTask.submit()).
78
+ USER_INTERFACE, // The script is executed via the UI (the Save & Execute button has been clicked).
79
+ ABORTED, // The script re-executed automatically following an aborted execution (system went down during execution).
80
+ SKIPPED // The script is executed automatically following downtime during which the script should have been executed.
81
81
  }
82
82
 
83
83
  declare interface ScheduledInvocationTypes {
package/N/workbook.d.ts CHANGED
@@ -1105,18 +1105,20 @@ declare enum DateTimeProperty {
1105
1105
  YEAR
1106
1106
  }
1107
1107
 
1108
- declare enum ExpressionType {
1108
+ declare enum ExpressionType { // Last updated 22 June 2022, NetSuite version 2022.1
1109
1109
  AND,
1110
- ANY_IN_HIERARCHY,
1110
+ // ANY_IN_HIERARCHY,
1111
1111
  ANY_OF,
1112
1112
  BETWEEN,
1113
1113
  CHILD_OF,
1114
1114
  COMPARE,
1115
- CONSOLIDATE,
1115
+ CONSTANT,
1116
+ // CONSOLIDATE,
1116
1117
  CURRENCY_CONVERSION,
1117
1118
  DATE_RANGE_SELECTOR_ID,
1118
1119
  DATE_SELECTOR_ID,
1119
1120
  DATE_TIME_PROPERTY,
1121
+ DIVIDE,
1120
1122
  EQUALS,
1121
1123
  FIELD,
1122
1124
  HIERARCHY,
@@ -1124,10 +1126,15 @@ declare enum ExpressionType {
1124
1126
  IN_RANGE,
1125
1127
  IS_NULL,
1126
1128
  LAMBDA,
1129
+ MEASURE_VALUE,
1130
+ MINUS,
1131
+ MULTIPLY,
1127
1132
  NOT,
1128
1133
  OR,
1129
1134
  RECORD_DISPLAY_VALUE,
1130
1135
  RECORD_KEY,
1136
+ SIMPLE_CONSOLIDATE,
1137
+ TRANSLATE,
1131
1138
  TRUNCATE_DATE_TIME
1132
1139
  }
1133
1140
 
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": "2022.1.5",
11
+ "version": "2022.1.8",
12
12
  "main": "index.d.ts",
13
13
  "author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
14
14
  "license": "MIT",