@elliemae/pui-scripting-object 1.18.0 → 1.18.1

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.
@@ -18,6 +18,7 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var auth_exports = {};
20
20
  __export(auth_exports, {
21
+ SCOPE: () => SCOPE,
21
22
  TokenType: () => TokenType
22
23
  });
23
24
  module.exports = __toCommonJS(auth_exports);
@@ -25,3 +26,8 @@ var TokenType = /* @__PURE__ */ ((TokenType2) => {
25
26
  TokenType2["BEARER"] = "Bearer";
26
27
  return TokenType2;
27
28
  })(TokenType || {});
29
+ var SCOPE = /* @__PURE__ */ ((SCOPE2) => {
30
+ SCOPE2["LOC"] = "LOC";
31
+ SCOPE2["Analyzer"] = "Analyzer";
32
+ return SCOPE2;
33
+ })(SCOPE || {});
@@ -2,6 +2,12 @@ var TokenType = /* @__PURE__ */ ((TokenType2) => {
2
2
  TokenType2["BEARER"] = "Bearer";
3
3
  return TokenType2;
4
4
  })(TokenType || {});
5
+ var SCOPE = /* @__PURE__ */ ((SCOPE2) => {
6
+ SCOPE2["LOC"] = "LOC";
7
+ SCOPE2["Analyzer"] = "Analyzer";
8
+ return SCOPE2;
9
+ })(SCOPE || {});
5
10
  export {
11
+ SCOPE,
6
12
  TokenType
7
13
  };
@@ -37,9 +37,28 @@ export type User = {
37
37
  */
38
38
  email: string;
39
39
  };
40
+ /**
41
+ * token type
42
+ */
40
43
  export declare enum TokenType {
44
+ /**
45
+ * Bearer token type
46
+ */
41
47
  BEARER = "Bearer"
42
48
  }
49
+ /**
50
+ * product scopes
51
+ */
52
+ export declare enum SCOPE {
53
+ /**
54
+ * ENCW scope
55
+ */
56
+ LOC = "LOC",
57
+ /**
58
+ * Analyzer scope
59
+ */
60
+ Analyzer = "Analyzer"
61
+ }
43
62
  export type PluginInfo = {
44
63
  /**
45
64
  * unique identifier for the plugin
@@ -50,9 +69,9 @@ export type PluginInfo = {
50
69
  */
51
70
  redirectUrl: string;
52
71
  /**
53
- * type of token
72
+ * token scope
54
73
  */
55
- scope: TokenType;
74
+ scope: SCOPE;
56
75
  };
57
76
  export type TokenInfo = {
58
77
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-scripting-object",
3
- "version": "1.18.0",
3
+ "version": "1.18.1",
4
4
  "description": "Typescript defintions for Scripting Objects",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/cjs/index.js",
@@ -67,7 +67,7 @@
67
67
  },
68
68
  "devDependencies": {
69
69
  "@elliemae/browserslist-config-elliemae-latest-browsers": "~1.6.0",
70
- "@elliemae/pui-cli": "~7.22.0",
70
+ "@elliemae/pui-cli": "~7.24.0",
71
71
  "@elliemae/pui-doc-gen": "~1.4.1",
72
72
  "@elliemae/pui-theme": "~2.6.0",
73
73
  "@types/styled-components": "~5.1.26",