@universis/webhooks 1.2.4 → 1.3.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.
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.WebHookScopeAccessElements = void 0;const WebHookScopeAccessElements = exports.WebHookScopeAccessElements = [
|
|
2
2
|
{
|
|
3
3
|
'scope': [
|
|
4
|
-
'webhooks:
|
|
4
|
+
'webhooks:write'],
|
|
5
5
|
|
|
6
6
|
'resource': '/api/WebHooks/?',
|
|
7
7
|
'access': [
|
|
8
|
-
'read'
|
|
8
|
+
'read',
|
|
9
|
+
'write']
|
|
9
10
|
|
|
10
11
|
},
|
|
11
12
|
{
|
|
12
13
|
'scope': [
|
|
13
|
-
'webhooks:
|
|
14
|
+
'webhooks:read'],
|
|
14
15
|
|
|
15
16
|
'resource': '/api/WebHooks/?',
|
|
16
17
|
'access': [
|
|
17
|
-
'read'
|
|
18
|
-
'write']
|
|
18
|
+
'read']
|
|
19
19
|
|
|
20
20
|
}];
|
|
21
21
|
//# sourceMappingURL=scope.access.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scope.access.js","names":["WebHookScopeAccessElements","exports"],"sources":["../../src/config/scope.access.js"],"sourcesContent":["const WebHookScopeAccessElements = [\n {\n 'scope': [\n 'webhooks:
|
|
1
|
+
{"version":3,"file":"scope.access.js","names":["WebHookScopeAccessElements","exports"],"sources":["../../src/config/scope.access.js"],"sourcesContent":["const WebHookScopeAccessElements = [\n {\n 'scope': [\n 'webhooks:write'\n ],\n 'resource': '/api/WebHooks/?',\n 'access': [\n 'read',\n 'write'\n ]\n },\n {\n 'scope': [\n 'webhooks:read',\n ],\n 'resource': '/api/WebHooks/?',\n 'access': [\n 'read'\n ]\n }\n];\n\nexport {\n WebHookScopeAccessElements\n}"],"mappings":"uHAAA,MAAMA,0BAA0B,GAAAC,OAAA,CAAAD,0BAAA,GAAG;AAC/B;EACI,OAAO,EAAE;EACL,gBAAgB,CACnB;;EACD,UAAU,EAAE,iBAAiB;EAC7B,QAAQ,EAAE;EACN,MAAM;EACN,OAAO;;AAEf,CAAC;AACD;EACI,OAAO,EAAE;EACL,eAAe,CAClB;;EACD,UAAU,EAAE,iBAAiB;EAC7B,QAAQ,EAAE;EACN,MAAM;;AAEd,CAAC,CACJ","ignoreList":[]}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_SchemaLoader","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_WebHookService","_WebHook"],"sources":["../src/index.js"],"sourcesContent":["export * from './SchemaLoader';\nexport * from './WebHookService';\nexport * from './models/WebHook';"],"mappings":"2EAAA,IAAAA,aAAA,GAAAC,OAAA,mBAAAC,MAAA,CAAAC,IAAA,CAAAH,aAAA,EAAAI,OAAA,WAAAC,GAAA,OAAAA,GAAA,kBAAAA,GAAA,8BAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,aAAA,CAAAK,GAAA,
|
|
1
|
+
{"version":3,"file":"index.js","names":["_SchemaLoader","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_WebHookService","_WebHook"],"sources":["../src/index.js"],"sourcesContent":["export * from './SchemaLoader';\nexport * from './WebHookService';\nexport * from './models/WebHook';"],"mappings":"2EAAA,IAAAA,aAAA,GAAAC,OAAA,mBAAAC,MAAA,CAAAC,IAAA,CAAAH,aAAA,EAAAI,OAAA,WAAAC,GAAA,OAAAA,GAAA,kBAAAA,GAAA,8BAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,aAAA,CAAAK,GAAA,SAAAH,CAAA,OAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA,IAAAG,UAAA,QAAAC,GAAA,WAAAA,CAAA,UAAAT,aAAA,CAAAK,GAAA;AACA,IAAAK,eAAA,GAAAT,OAAA,qBAAAC,MAAA,CAAAC,IAAA,CAAAO,eAAA,EAAAN,OAAA,WAAAC,GAAA,OAAAA,GAAA,kBAAAA,GAAA,8BAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,eAAA,CAAAL,GAAA,SAAAH,CAAA,OAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA,IAAAG,UAAA,QAAAC,GAAA,WAAAA,CAAA,UAAAC,eAAA,CAAAL,GAAA;AACA,IAAAM,QAAA,GAAAV,OAAA,qBAAAC,MAAA,CAAAC,IAAA,CAAAQ,QAAA,EAAAP,OAAA,WAAAC,GAAA,OAAAA,GAAA,kBAAAA,GAAA,8BAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAM,QAAA,CAAAN,GAAA,SAAAH,CAAA,OAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA,IAAAG,UAAA,QAAAC,GAAA,WAAAA,CAAA,UAAAE,QAAA,CAAAN,GAAA","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@universis/webhooks",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Universis Webhooks API Library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@themost/common": "^2",
|
|
34
34
|
"@themost/data": "^2",
|
|
35
|
-
"@themost/express": "^2",
|
|
35
|
+
"@themost/express": "^1 || ^2",
|
|
36
36
|
"@themost/query": "^2",
|
|
37
37
|
"@themost/xml": "^2"
|
|
38
38
|
},
|
|
@@ -44,8 +44,10 @@
|
|
|
44
44
|
"@babel/preset-env": "^7.21.4",
|
|
45
45
|
"@babel/register": "^7.21.0",
|
|
46
46
|
"@rollup/plugin-babel": "^6.0.3",
|
|
47
|
-
"@themost/
|
|
48
|
-
"@themost/
|
|
47
|
+
"@themost/common": "^2.12.3",
|
|
48
|
+
"@themost/data": "^2.24.0",
|
|
49
|
+
"@themost/express": "^1.7.3",
|
|
50
|
+
"@themost/test": "^2.13.1",
|
|
49
51
|
"@types/express": "^4.17.6",
|
|
50
52
|
"@types/jasmine": "^3.5.10",
|
|
51
53
|
"@types/superagent": "^8.1.9",
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
const WebHookScopeAccessElements = [
|
|
2
2
|
{
|
|
3
3
|
'scope': [
|
|
4
|
-
'webhooks:
|
|
4
|
+
'webhooks:write'
|
|
5
5
|
],
|
|
6
6
|
'resource': '/api/WebHooks/?',
|
|
7
7
|
'access': [
|
|
8
|
-
'read'
|
|
8
|
+
'read',
|
|
9
|
+
'write'
|
|
9
10
|
]
|
|
10
11
|
},
|
|
11
12
|
{
|
|
12
13
|
'scope': [
|
|
13
|
-
'webhooks:
|
|
14
|
+
'webhooks:read',
|
|
14
15
|
],
|
|
15
16
|
'resource': '/api/WebHooks/?',
|
|
16
17
|
'access': [
|
|
17
|
-
'read'
|
|
18
|
-
'write'
|
|
18
|
+
'read'
|
|
19
19
|
]
|
|
20
20
|
}
|
|
21
21
|
];
|