@hitc/netsuite-types 2022.2.5 → 2022.2.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/search.d.ts CHANGED
@@ -114,7 +114,8 @@ export interface Page {
114
114
  isFirst: boolean;
115
115
  isLast: boolean;
116
116
  pagedData: PagedData;
117
- pagedRange: PageRange;
117
+ /** The PageRange Object used to fetch this Page Object. Page boundary information with the key and label. */
118
+ readonly pageRange: PageRange;
118
119
  }
119
120
 
120
121
  export interface PageRange {
package/N/types.d.ts CHANGED
@@ -369,10 +369,10 @@ export namespace EntryPoints {
369
369
  }
370
370
 
371
371
  namespace RESTlet {
372
- type get = (requestParameters: any) => any;
373
- type delete_ = (requestParameters: any) => any;
374
- type post = (requestBody: any) => any;
375
- type put = (requestBody: any) => any;
372
+ type get = (requestParameters: object) => object | string;
373
+ type delete_ = (requestParameters: object) => object | string;
374
+ type post = (requestBody: object | string) => object | string;
375
+ type put = (requestBody: object | string) => object | string;
376
376
  }
377
377
 
378
378
  namespace BundleInstallation {
@@ -493,6 +493,25 @@ export namespace EntryPoints {
493
493
  type createWorkbook = (scriptContext: createWorkbookContext) => void;
494
494
  }
495
495
  }
496
+
497
+ namespace CustomRecordAction {
498
+ interface isQualifiedContext {
499
+ ids: string[];
500
+ recordType: string;
501
+ qualified: Map<string, string>;
502
+ }
503
+
504
+ type isQualified = (scriptContext: isQualifiedContext) => void;
505
+
506
+ interface executeActionContext {
507
+ ids: string[];
508
+ recordType: string;
509
+ params: object;
510
+ response: object;
511
+ }
512
+
513
+ type executeAction = (scriptContext: executeActionContext) => void;
514
+ }
496
515
  }
497
516
 
498
517
  interface IKeyValuePair {
package/package.json CHANGED
@@ -8,8 +8,7 @@
8
8
  "posttest": "npm run cleanup"
9
9
  },
10
10
  "homepage": "https://github.com/headintheclouddev/typings-suitescript-2.0",
11
- "version": "2022.2.5",
12
- "main": "index.d.ts",
11
+ "version": "2022.2.7",
13
12
  "author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
14
13
  "license": "MIT",
15
14
  "repository": {
package/tsconfig.json CHANGED
@@ -5,13 +5,12 @@
5
5
  "moduleResolution":"node",
6
6
  "sourceMap": false,
7
7
  "newLine": "LF",
8
+ "esModuleInterop": true,
9
+ "allowSyntheticDefaultImports": true,
8
10
  "experimentalDecorators": true,
9
11
  "noImplicitUseStrict": true,
10
12
  "baseUrl": ".",
11
- "lib": ["es5", "es2015.promise", "dom"],
12
- "paths": {
13
- "N/*": ["N/*"]
14
- }
13
+ "lib": ["ES6", "DOM.Iterable", "DOM"],
15
14
  },
16
15
  "exclude": ["node_modules"]
17
16
  }