@wenex/sdk 0.4.6 → 0.4.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/common/enums/common/action.enum.d.ts +1 -0
- package/common/enums/common/action.enum.js +1 -0
- package/common/enums/common/action.enum.js.map +1 -1
- package/common/enums/common/resource.enum.d.ts +9 -1
- package/common/enums/common/resource.enum.js +8 -0
- package/common/enums/common/resource.enum.js.map +1 -1
- package/common/enums/common/scope.enum.d.ts +40 -1
- package/common/enums/common/scope.enum.js +39 -0
- package/common/enums/common/scope.enum.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.enum.js","sourceRoot":"","sources":["../../../src/common/enums/common/action.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"action.enum.js","sourceRoot":"","sources":["../../../src/common/enums/common/action.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,MA6DX;AA7DD,WAAY,MAAM;IAChB,UAAU;IACV,qBAAW,CAAA;IAEX,+BAA+B;IAC/B,iBAAiB;IACjB,+BAA+B;IAE/B,2BAAiB,CAAA;IACjB,uBAAa,CAAA;IACb,2BAAiB,CAAA;IACjB,2BAAiB,CAAA;IACjB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IAEnB,+BAA+B;IAC/B,kBAAkB;IAClB,+BAA+B;IAE/B,6BAAmB,CAAA;IAEnB,uBAAa,CAAA;IACb,uBAAa,CAAA;IAEb,uBAAa,CAAA;IACb,2BAAiB,CAAA;IAEjB,2BAAiB,CAAA;IACjB,+BAAqB,CAAA;IAErB,+BAA+B;IAC/B,iBAAiB;IACjB,+BAA+B;IAE/B,kCAAwB,CAAA;IACxB,8BAAoB,CAAA;IACpB,kCAAwB,CAAA;IACxB,kCAAwB,CAAA;IACxB,oCAA0B,CAAA;IAC1B,oCAA0B,CAAA;IAE1B,sCAA4B,CAAA;IAC5B,kCAAwB,CAAA;IACxB,sCAA4B,CAAA;IAC5B,sCAA4B,CAAA;IAC5B,wCAA8B,CAAA;IAC9B,wCAA8B,CAAA;IAE9B,sCAA4B,CAAA;IAC5B,kCAAwB,CAAA;IACxB,sCAA4B,CAAA;IAC5B,sCAA4B,CAAA;IAC5B,wCAA8B,CAAA;IAC9B,wCAA8B,CAAA;IAE9B,wCAA8B,CAAA;IAC9B,oCAA0B,CAAA;IAC1B,wCAA8B,CAAA;IAC9B,wCAA8B,CAAA;IAC9B,0CAAgC,CAAA;IAChC,0CAAgC,CAAA;AAClC,CAAC,EA7DW,MAAM,sBAAN,MAAM,QA6DjB"}
|
|
@@ -4,11 +4,19 @@ export declare enum Resource {
|
|
|
4
4
|
AuthGrants = "auth:grants",
|
|
5
5
|
Config = "config:all",
|
|
6
6
|
ConfigConfigs = "config:configs",
|
|
7
|
+
ConfigSettings = "config:settings",
|
|
7
8
|
Domain = "domain:all",
|
|
8
9
|
DomainApps = "domain:apps",
|
|
9
10
|
DomainClients = "domain:clients",
|
|
10
11
|
Identity = "identity:all",
|
|
11
12
|
IdentityUsers = "identity:users",
|
|
12
13
|
IdentityProfiles = "identity:profiles",
|
|
13
|
-
IdentitySessions = "identity:sessions"
|
|
14
|
+
IdentitySessions = "identity:sessions",
|
|
15
|
+
Special = "special:all",
|
|
16
|
+
SpecialFiles = "special:files",
|
|
17
|
+
SpecialStats = "special:stats",
|
|
18
|
+
Touch = "touch:all",
|
|
19
|
+
TouchPush = "touch:push",
|
|
20
|
+
TouchPushHistories = "touch:push-histories",
|
|
21
|
+
TouchMails = "touch:mails"
|
|
14
22
|
}
|
|
@@ -12,6 +12,7 @@ var Resource;
|
|
|
12
12
|
Resource["AuthGrants"] = "auth:grants";
|
|
13
13
|
Resource["Config"] = "config:all";
|
|
14
14
|
Resource["ConfigConfigs"] = "config:configs";
|
|
15
|
+
Resource["ConfigSettings"] = "config:settings";
|
|
15
16
|
Resource["Domain"] = "domain:all";
|
|
16
17
|
Resource["DomainApps"] = "domain:apps";
|
|
17
18
|
Resource["DomainClients"] = "domain:clients";
|
|
@@ -19,5 +20,12 @@ var Resource;
|
|
|
19
20
|
Resource["IdentityUsers"] = "identity:users";
|
|
20
21
|
Resource["IdentityProfiles"] = "identity:profiles";
|
|
21
22
|
Resource["IdentitySessions"] = "identity:sessions";
|
|
23
|
+
Resource["Special"] = "special:all";
|
|
24
|
+
Resource["SpecialFiles"] = "special:files";
|
|
25
|
+
Resource["SpecialStats"] = "special:stats";
|
|
26
|
+
Resource["Touch"] = "touch:all";
|
|
27
|
+
Resource["TouchPush"] = "touch:push";
|
|
28
|
+
Resource["TouchPushHistories"] = "touch:push-histories";
|
|
29
|
+
Resource["TouchMails"] = "touch:mails";
|
|
22
30
|
})(Resource || (exports.Resource = Resource = {}));
|
|
23
31
|
//# sourceMappingURL=resource.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource.enum.js","sourceRoot":"","sources":["../../../src/common/enums/common/resource.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"resource.enum.js","sourceRoot":"","sources":["../../../src/common/enums/common/resource.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAgCX;AAhCD,WAAY,QAAQ;IAClB,UAAU;IACV,uBAAW,CAAA;IAEX,+BAA+B;IAC/B,mBAAmB;IACnB,+BAA+B;IAE/B,6BAAiB,CAAA;IACjB,sCAA0B,CAAA;IAE1B,iCAAqB,CAAA;IACrB,4CAAgC,CAAA;IAChC,8CAAkC,CAAA;IAElC,iCAAqB,CAAA;IACrB,sCAA0B,CAAA;IAC1B,4CAAgC,CAAA;IAEhC,qCAAyB,CAAA;IACzB,4CAAgC,CAAA;IAChC,kDAAsC,CAAA;IACtC,kDAAsC,CAAA;IAEtC,mCAAuB,CAAA;IACvB,0CAA8B,CAAA;IAC9B,0CAA8B,CAAA;IAE9B,+BAAmB,CAAA;IACnB,oCAAwB,CAAA;IACxB,uDAA2C,CAAA;IAC3C,sCAA0B,CAAA;AAC5B,CAAC,EAhCW,QAAQ,wBAAR,QAAQ,QAgCnB"}
|
|
@@ -3,20 +3,30 @@ export declare enum Scope {
|
|
|
3
3
|
Read = "read",
|
|
4
4
|
Write = "write",
|
|
5
5
|
Manage = "manage",
|
|
6
|
+
Collect = "collect",
|
|
6
7
|
Emit = "emit",
|
|
7
8
|
Send = "send",
|
|
8
9
|
Init = "init",
|
|
9
10
|
Verify = "verify",
|
|
10
11
|
Upload = "upload",
|
|
11
12
|
Download = "download",
|
|
13
|
+
ReadAuth = "r:auth",
|
|
14
|
+
WriteAuth = "w:auth",
|
|
12
15
|
ManageAuth = "m:auth",
|
|
13
16
|
ReadAuthGrants = "r:auth:grants",
|
|
14
17
|
WriteAuthGrants = "w:auth:grants",
|
|
15
18
|
ManageAuthGrants = "m:auth:grants",
|
|
19
|
+
ReadConfig = "r:config",
|
|
20
|
+
WriteConfig = "w:config",
|
|
16
21
|
ManageConfig = "m:config",
|
|
17
22
|
ReadConfigConfigs = "r:config:configs",
|
|
18
23
|
WriteConfigConfigs = "w:config:configs",
|
|
19
24
|
ManageConfigConfigs = "m:config:configs",
|
|
25
|
+
ReadConfigSettings = "r:config:settings",
|
|
26
|
+
WriteConfigSettings = "w:config:settings",
|
|
27
|
+
ManageConfigSettings = "m:config:settings",
|
|
28
|
+
ReadDomain = "r:domain",
|
|
29
|
+
WriteDomain = "w:domain",
|
|
20
30
|
ManageDomain = "m:domain",
|
|
21
31
|
ReadDomainApps = "r:domain:apps",
|
|
22
32
|
WriteDomainApps = "w:domain:apps",
|
|
@@ -24,6 +34,8 @@ export declare enum Scope {
|
|
|
24
34
|
ReadDomainClients = "r:domain:clients",
|
|
25
35
|
WriteDomainClients = "w:domain:clients",
|
|
26
36
|
ManageDomainClients = "m:domain:clients",
|
|
37
|
+
ReadIdentity = "r:identity",
|
|
38
|
+
WriteIdentity = "w:identity",
|
|
27
39
|
ManageIdentity = "m:identity",
|
|
28
40
|
ReadIdentityUsers = "r:identity:users",
|
|
29
41
|
WriteIdentityUsers = "w:identity:users",
|
|
@@ -33,5 +45,32 @@ export declare enum Scope {
|
|
|
33
45
|
ManageIdentityProfiles = "m:identity:profiles",
|
|
34
46
|
ReadIdentitySessions = "r:identity:sessions",
|
|
35
47
|
WriteIdentitySessions = "w:identity:sessions",
|
|
36
|
-
ManageIdentitySessions = "m:identity:sessions"
|
|
48
|
+
ManageIdentitySessions = "m:identity:sessions",
|
|
49
|
+
ReadSpecial = "r:special",
|
|
50
|
+
WriteSpecial = "w:special",
|
|
51
|
+
ManageSpecial = "m:special",
|
|
52
|
+
ReadSpecialFiles = "r:special:files",
|
|
53
|
+
WriteSpecialFiles = "w:special:files",
|
|
54
|
+
ManageSpecialFiles = "m:special:files",
|
|
55
|
+
UploadSpecialFiles = "u:special:files",
|
|
56
|
+
DownloadSpecialFiles = "d:special:files",
|
|
57
|
+
ReadSpecialStats = "r:special:stats",
|
|
58
|
+
WriteSpecialStats = "w:special:stats",
|
|
59
|
+
ManageSpecialStats = "m:special:stats",
|
|
60
|
+
CollectSpecialStats = "c:special:stats",
|
|
61
|
+
ReadTouch = "r:touch",
|
|
62
|
+
WriteTouch = "w:touch",
|
|
63
|
+
ManageTouch = "m:touch",
|
|
64
|
+
ReadTouchPush = "r:touch:push",
|
|
65
|
+
WriteTouchPush = "w:touch:push",
|
|
66
|
+
ManageTouchPush = "m:touch:push",
|
|
67
|
+
SendTouchPush = "s:touch:push",
|
|
68
|
+
ReadTouchPushHistories = "r:touch:push:histories",
|
|
69
|
+
WriteTouchPushHistories = "w:touch:push:histories",
|
|
70
|
+
ManageTouchPushHistories = "m:touch:push:histories",
|
|
71
|
+
SendTouchPushHistories = "s:touch:push:histories",
|
|
72
|
+
ReadTouchMails = "r:touch:mails",
|
|
73
|
+
WriteTouchMails = "w:touch:mails",
|
|
74
|
+
ManageTouchMails = "m:touch:mails",
|
|
75
|
+
SendTouchMails = "s:touch:mails"
|
|
37
76
|
}
|
|
@@ -14,6 +14,7 @@ var Scope;
|
|
|
14
14
|
// ----------------------------
|
|
15
15
|
// Special Actions
|
|
16
16
|
// ----------------------------
|
|
17
|
+
Scope["Collect"] = "collect";
|
|
17
18
|
Scope["Emit"] = "emit";
|
|
18
19
|
Scope["Send"] = "send";
|
|
19
20
|
Scope["Init"] = "init";
|
|
@@ -23,14 +24,23 @@ var Scope;
|
|
|
23
24
|
// ----------------------------
|
|
24
25
|
// Scoped Actions
|
|
25
26
|
// ----------------------------
|
|
27
|
+
Scope["ReadAuth"] = "r:auth";
|
|
28
|
+
Scope["WriteAuth"] = "w:auth";
|
|
26
29
|
Scope["ManageAuth"] = "m:auth";
|
|
27
30
|
Scope["ReadAuthGrants"] = "r:auth:grants";
|
|
28
31
|
Scope["WriteAuthGrants"] = "w:auth:grants";
|
|
29
32
|
Scope["ManageAuthGrants"] = "m:auth:grants";
|
|
33
|
+
Scope["ReadConfig"] = "r:config";
|
|
34
|
+
Scope["WriteConfig"] = "w:config";
|
|
30
35
|
Scope["ManageConfig"] = "m:config";
|
|
31
36
|
Scope["ReadConfigConfigs"] = "r:config:configs";
|
|
32
37
|
Scope["WriteConfigConfigs"] = "w:config:configs";
|
|
33
38
|
Scope["ManageConfigConfigs"] = "m:config:configs";
|
|
39
|
+
Scope["ReadConfigSettings"] = "r:config:settings";
|
|
40
|
+
Scope["WriteConfigSettings"] = "w:config:settings";
|
|
41
|
+
Scope["ManageConfigSettings"] = "m:config:settings";
|
|
42
|
+
Scope["ReadDomain"] = "r:domain";
|
|
43
|
+
Scope["WriteDomain"] = "w:domain";
|
|
34
44
|
Scope["ManageDomain"] = "m:domain";
|
|
35
45
|
Scope["ReadDomainApps"] = "r:domain:apps";
|
|
36
46
|
Scope["WriteDomainApps"] = "w:domain:apps";
|
|
@@ -38,6 +48,8 @@ var Scope;
|
|
|
38
48
|
Scope["ReadDomainClients"] = "r:domain:clients";
|
|
39
49
|
Scope["WriteDomainClients"] = "w:domain:clients";
|
|
40
50
|
Scope["ManageDomainClients"] = "m:domain:clients";
|
|
51
|
+
Scope["ReadIdentity"] = "r:identity";
|
|
52
|
+
Scope["WriteIdentity"] = "w:identity";
|
|
41
53
|
Scope["ManageIdentity"] = "m:identity";
|
|
42
54
|
Scope["ReadIdentityUsers"] = "r:identity:users";
|
|
43
55
|
Scope["WriteIdentityUsers"] = "w:identity:users";
|
|
@@ -48,5 +60,32 @@ var Scope;
|
|
|
48
60
|
Scope["ReadIdentitySessions"] = "r:identity:sessions";
|
|
49
61
|
Scope["WriteIdentitySessions"] = "w:identity:sessions";
|
|
50
62
|
Scope["ManageIdentitySessions"] = "m:identity:sessions";
|
|
63
|
+
Scope["ReadSpecial"] = "r:special";
|
|
64
|
+
Scope["WriteSpecial"] = "w:special";
|
|
65
|
+
Scope["ManageSpecial"] = "m:special";
|
|
66
|
+
Scope["ReadSpecialFiles"] = "r:special:files";
|
|
67
|
+
Scope["WriteSpecialFiles"] = "w:special:files";
|
|
68
|
+
Scope["ManageSpecialFiles"] = "m:special:files";
|
|
69
|
+
Scope["UploadSpecialFiles"] = "u:special:files";
|
|
70
|
+
Scope["DownloadSpecialFiles"] = "d:special:files";
|
|
71
|
+
Scope["ReadSpecialStats"] = "r:special:stats";
|
|
72
|
+
Scope["WriteSpecialStats"] = "w:special:stats";
|
|
73
|
+
Scope["ManageSpecialStats"] = "m:special:stats";
|
|
74
|
+
Scope["CollectSpecialStats"] = "c:special:stats";
|
|
75
|
+
Scope["ReadTouch"] = "r:touch";
|
|
76
|
+
Scope["WriteTouch"] = "w:touch";
|
|
77
|
+
Scope["ManageTouch"] = "m:touch";
|
|
78
|
+
Scope["ReadTouchPush"] = "r:touch:push";
|
|
79
|
+
Scope["WriteTouchPush"] = "w:touch:push";
|
|
80
|
+
Scope["ManageTouchPush"] = "m:touch:push";
|
|
81
|
+
Scope["SendTouchPush"] = "s:touch:push";
|
|
82
|
+
Scope["ReadTouchPushHistories"] = "r:touch:push:histories";
|
|
83
|
+
Scope["WriteTouchPushHistories"] = "w:touch:push:histories";
|
|
84
|
+
Scope["ManageTouchPushHistories"] = "m:touch:push:histories";
|
|
85
|
+
Scope["SendTouchPushHistories"] = "s:touch:push:histories";
|
|
86
|
+
Scope["ReadTouchMails"] = "r:touch:mails";
|
|
87
|
+
Scope["WriteTouchMails"] = "w:touch:mails";
|
|
88
|
+
Scope["ManageTouchMails"] = "m:touch:mails";
|
|
89
|
+
Scope["SendTouchMails"] = "s:touch:mails";
|
|
51
90
|
})(Scope || (exports.Scope = Scope = {}));
|
|
52
91
|
//# sourceMappingURL=scope.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scope.enum.js","sourceRoot":"","sources":["../../../src/common/enums/common/scope.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"scope.enum.js","sourceRoot":"","sources":["../../../src/common/enums/common/scope.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,KAmGX;AAnGD,WAAY,KAAK;IACf,UAAU;IACV,wBAAe,CAAA;IAEf,+BAA+B;IAC/B,iBAAiB;IACjB,+BAA+B;IAE/B,sBAAa,CAAA;IACb,wBAAe,CAAA;IACf,0BAAiB,CAAA;IAEjB,+BAA+B;IAC/B,kBAAkB;IAClB,+BAA+B;IAE/B,4BAAmB,CAAA;IAEnB,sBAAa,CAAA;IACb,sBAAa,CAAA;IAEb,sBAAa,CAAA;IACb,0BAAiB,CAAA;IAEjB,0BAAiB,CAAA;IACjB,8BAAqB,CAAA;IAErB,+BAA+B;IAC/B,iBAAiB;IACjB,+BAA+B;IAE/B,4BAAmB,CAAA;IACnB,6BAAoB,CAAA;IACpB,8BAAqB,CAAA;IACrB,yCAAgC,CAAA;IAChC,0CAAiC,CAAA;IACjC,2CAAkC,CAAA;IAElC,gCAAuB,CAAA;IACvB,iCAAwB,CAAA;IACxB,kCAAyB,CAAA;IACzB,+CAAsC,CAAA;IACtC,gDAAuC,CAAA;IACvC,iDAAwC,CAAA;IACxC,iDAAwC,CAAA;IACxC,kDAAyC,CAAA;IACzC,mDAA0C,CAAA;IAE1C,gCAAuB,CAAA;IACvB,iCAAwB,CAAA;IACxB,kCAAyB,CAAA;IACzB,yCAAgC,CAAA;IAChC,0CAAiC,CAAA;IACjC,2CAAkC,CAAA;IAClC,+CAAsC,CAAA;IACtC,gDAAuC,CAAA;IACvC,iDAAwC,CAAA;IAExC,oCAA2B,CAAA;IAC3B,qCAA4B,CAAA;IAC5B,sCAA6B,CAAA;IAC7B,+CAAsC,CAAA;IACtC,gDAAuC,CAAA;IACvC,iDAAwC,CAAA;IACxC,qDAA4C,CAAA;IAC5C,sDAA6C,CAAA;IAC7C,uDAA8C,CAAA;IAC9C,qDAA4C,CAAA;IAC5C,sDAA6C,CAAA;IAC7C,uDAA8C,CAAA;IAE9C,kCAAyB,CAAA;IACzB,mCAA0B,CAAA;IAC1B,oCAA2B,CAAA;IAC3B,6CAAoC,CAAA;IACpC,8CAAqC,CAAA;IACrC,+CAAsC,CAAA;IACtC,+CAAsC,CAAA;IACtC,iDAAwC,CAAA;IACxC,6CAAoC,CAAA;IACpC,8CAAqC,CAAA;IACrC,+CAAsC,CAAA;IACtC,gDAAuC,CAAA;IAEvC,8BAAqB,CAAA;IACrB,+BAAsB,CAAA;IACtB,gCAAuB,CAAA;IACvB,uCAA8B,CAAA;IAC9B,wCAA+B,CAAA;IAC/B,yCAAgC,CAAA;IAChC,uCAA8B,CAAA;IAC9B,0DAAiD,CAAA;IACjD,2DAAkD,CAAA;IAClD,4DAAmD,CAAA;IACnD,0DAAiD,CAAA;IACjD,yCAAgC,CAAA;IAChC,0CAAiC,CAAA;IACjC,2CAAkC,CAAA;IAClC,yCAAgC,CAAA;AAClC,CAAC,EAnGW,KAAK,qBAAL,KAAK,QAmGhB"}
|