@wenex/sdk 1.1.6 → 1.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/common/core/scope.d.ts +42 -0
- package/common/core/scope.js +44 -0
- package/common/core/scope.js.map +1 -1
- package/common/enums/general/notices/type.enum.d.ts +1 -0
- package/common/enums/general/notices/type.enum.js +1 -0
- package/common/enums/general/notices/type.enum.js.map +1 -1
- package/package.json +1 -1
package/common/core/scope.d.ts
CHANGED
|
@@ -14,12 +14,25 @@ export declare enum Scope {
|
|
|
14
14
|
Download = "download",
|
|
15
15
|
Collect = "collect",
|
|
16
16
|
Payment = "payment",
|
|
17
|
+
Resolve = "resolve",
|
|
17
18
|
ReadAuth = "read:auth",
|
|
18
19
|
WriteAuth = "write:auth",
|
|
19
20
|
ManageAuth = "manage:auth",
|
|
20
21
|
ReadAuthGrants = "read:auth:grants",
|
|
21
22
|
WriteAuthGrants = "write:auth:grants",
|
|
22
23
|
ManageAuthGrants = "manage:auth:grants",
|
|
24
|
+
ReadContent = "read:content",
|
|
25
|
+
WriteContent = "write:content",
|
|
26
|
+
ManageContent = "manage:content",
|
|
27
|
+
ReadContentNotes = "read:content:notes",
|
|
28
|
+
WriteContentNotes = "write:content:notes",
|
|
29
|
+
ManageContentNotes = "manage:content:notes",
|
|
30
|
+
ReadContentPosts = "read:content:posts",
|
|
31
|
+
WriteContentPosts = "write:content:posts",
|
|
32
|
+
ManageContentPosts = "manage:content:posts",
|
|
33
|
+
ReadContentTickets = "read:content:tickets",
|
|
34
|
+
WriteContentTickets = "write:content:tickets",
|
|
35
|
+
ManageContentTickets = "manage:content:tickets",
|
|
23
36
|
ReadContext = "read:context",
|
|
24
37
|
WriteContext = "write:context",
|
|
25
38
|
ManageContext = "manage:context",
|
|
@@ -76,9 +89,18 @@ export declare enum Scope {
|
|
|
76
89
|
ReadGeneral = "read:general",
|
|
77
90
|
WriteGeneral = "write:general",
|
|
78
91
|
ManageGeneral = "manage:general",
|
|
92
|
+
ReadGeneralNotices = "read:general:notices",
|
|
93
|
+
WriteGeneralNotices = "write:general:notices",
|
|
94
|
+
ManageGeneralNotices = "manage:general:notices",
|
|
95
|
+
ReadGeneralArtifacts = "read:general:artifacts",
|
|
96
|
+
WriteGeneralArtifacts = "write:general:artifacts",
|
|
97
|
+
ManageGeneralArtifacts = "manage:general:artifacts",
|
|
79
98
|
ReadGeneralWorkflows = "read:general:workflows",
|
|
80
99
|
WriteGeneralWorkflows = "write:general:workflows",
|
|
81
100
|
ManageGeneralWorkflows = "manage:general:workflows",
|
|
101
|
+
ReadGeneralActivities = "read:general:activities",
|
|
102
|
+
WriteGeneralActivities = "write:general:activities",
|
|
103
|
+
ManageGeneralActivities = "manage:general:activities",
|
|
82
104
|
ReadIdentity = "read:identity",
|
|
83
105
|
WriteIdentity = "write:identity",
|
|
84
106
|
ManageIdentity = "manage:identity",
|
|
@@ -91,6 +113,26 @@ export declare enum Scope {
|
|
|
91
113
|
ReadIdentitySessions = "read:identity:sessions",
|
|
92
114
|
WriteIdentitySessions = "write:identity:sessions",
|
|
93
115
|
ManageIdentitySessions = "manage:identity:sessions",
|
|
116
|
+
ReadLogistic = "read:logistic",
|
|
117
|
+
WriteLogistic = "write:logistic",
|
|
118
|
+
ManageLogistic = "manage:logistic",
|
|
119
|
+
ResolveLogistic = "resolve:logistic",
|
|
120
|
+
ReadLogisticCargoes = "read:logistic:cargoes",
|
|
121
|
+
WriteLogisticCargoes = "write:logistic:cargoes",
|
|
122
|
+
ManageLogisticCargoes = "manage:logistic:cargoes",
|
|
123
|
+
ReadLogisticDrivers = "read:logistic:drivers",
|
|
124
|
+
WriteLogisticDrivers = "write:logistic:drivers",
|
|
125
|
+
ManageLogisticDrivers = "manage:logistic:drivers",
|
|
126
|
+
ReadLogisticTravels = "read:logistic:travels",
|
|
127
|
+
WriteLogisticTravels = "write:logistic:travels",
|
|
128
|
+
ManageLogisticTravels = "manage:logistic:travels",
|
|
129
|
+
ReadLogisticVehicles = "read:logistic:vehicles",
|
|
130
|
+
WriteLogisticVehicles = "write:logistic:vehicles",
|
|
131
|
+
ManageLogisticVehicles = "manage:logistic:vehicles",
|
|
132
|
+
ReadLogisticLocations = "read:logistic:locations",
|
|
133
|
+
WriteLogisticLocations = "write:logistic:locations",
|
|
134
|
+
ManageLogisticLocations = "manage:logistic:locations",
|
|
135
|
+
ResolveLogisticLocations = "resolve:logistic:locations",
|
|
94
136
|
ReadSpecial = "read:special",
|
|
95
137
|
WriteSpecial = "write:special",
|
|
96
138
|
ManageSpecial = "manage:special",
|
package/common/core/scope.js
CHANGED
|
@@ -25,6 +25,7 @@ var Scope;
|
|
|
25
25
|
Scope["Download"] = "download";
|
|
26
26
|
Scope["Collect"] = "collect";
|
|
27
27
|
Scope["Payment"] = "payment";
|
|
28
|
+
Scope["Resolve"] = "resolve";
|
|
28
29
|
// ----------------------------
|
|
29
30
|
// Scoped Actions
|
|
30
31
|
// ----------------------------
|
|
@@ -35,6 +36,19 @@ var Scope;
|
|
|
35
36
|
Scope["ReadAuthGrants"] = "read:auth:grants";
|
|
36
37
|
Scope["WriteAuthGrants"] = "write:auth:grants";
|
|
37
38
|
Scope["ManageAuthGrants"] = "manage:auth:grants";
|
|
39
|
+
// Content
|
|
40
|
+
Scope["ReadContent"] = "read:content";
|
|
41
|
+
Scope["WriteContent"] = "write:content";
|
|
42
|
+
Scope["ManageContent"] = "manage:content";
|
|
43
|
+
Scope["ReadContentNotes"] = "read:content:notes";
|
|
44
|
+
Scope["WriteContentNotes"] = "write:content:notes";
|
|
45
|
+
Scope["ManageContentNotes"] = "manage:content:notes";
|
|
46
|
+
Scope["ReadContentPosts"] = "read:content:posts";
|
|
47
|
+
Scope["WriteContentPosts"] = "write:content:posts";
|
|
48
|
+
Scope["ManageContentPosts"] = "manage:content:posts";
|
|
49
|
+
Scope["ReadContentTickets"] = "read:content:tickets";
|
|
50
|
+
Scope["WriteContentTickets"] = "write:content:tickets";
|
|
51
|
+
Scope["ManageContentTickets"] = "manage:content:tickets";
|
|
38
52
|
// Context
|
|
39
53
|
Scope["ReadContext"] = "read:context";
|
|
40
54
|
Scope["WriteContext"] = "write:context";
|
|
@@ -96,9 +110,18 @@ var Scope;
|
|
|
96
110
|
Scope["ReadGeneral"] = "read:general";
|
|
97
111
|
Scope["WriteGeneral"] = "write:general";
|
|
98
112
|
Scope["ManageGeneral"] = "manage:general";
|
|
113
|
+
Scope["ReadGeneralNotices"] = "read:general:notices";
|
|
114
|
+
Scope["WriteGeneralNotices"] = "write:general:notices";
|
|
115
|
+
Scope["ManageGeneralNotices"] = "manage:general:notices";
|
|
116
|
+
Scope["ReadGeneralArtifacts"] = "read:general:artifacts";
|
|
117
|
+
Scope["WriteGeneralArtifacts"] = "write:general:artifacts";
|
|
118
|
+
Scope["ManageGeneralArtifacts"] = "manage:general:artifacts";
|
|
99
119
|
Scope["ReadGeneralWorkflows"] = "read:general:workflows";
|
|
100
120
|
Scope["WriteGeneralWorkflows"] = "write:general:workflows";
|
|
101
121
|
Scope["ManageGeneralWorkflows"] = "manage:general:workflows";
|
|
122
|
+
Scope["ReadGeneralActivities"] = "read:general:activities";
|
|
123
|
+
Scope["WriteGeneralActivities"] = "write:general:activities";
|
|
124
|
+
Scope["ManageGeneralActivities"] = "manage:general:activities";
|
|
102
125
|
// Identity
|
|
103
126
|
Scope["ReadIdentity"] = "read:identity";
|
|
104
127
|
Scope["WriteIdentity"] = "write:identity";
|
|
@@ -112,6 +135,27 @@ var Scope;
|
|
|
112
135
|
Scope["ReadIdentitySessions"] = "read:identity:sessions";
|
|
113
136
|
Scope["WriteIdentitySessions"] = "write:identity:sessions";
|
|
114
137
|
Scope["ManageIdentitySessions"] = "manage:identity:sessions";
|
|
138
|
+
// Logistic
|
|
139
|
+
Scope["ReadLogistic"] = "read:logistic";
|
|
140
|
+
Scope["WriteLogistic"] = "write:logistic";
|
|
141
|
+
Scope["ManageLogistic"] = "manage:logistic";
|
|
142
|
+
Scope["ResolveLogistic"] = "resolve:logistic";
|
|
143
|
+
Scope["ReadLogisticCargoes"] = "read:logistic:cargoes";
|
|
144
|
+
Scope["WriteLogisticCargoes"] = "write:logistic:cargoes";
|
|
145
|
+
Scope["ManageLogisticCargoes"] = "manage:logistic:cargoes";
|
|
146
|
+
Scope["ReadLogisticDrivers"] = "read:logistic:drivers";
|
|
147
|
+
Scope["WriteLogisticDrivers"] = "write:logistic:drivers";
|
|
148
|
+
Scope["ManageLogisticDrivers"] = "manage:logistic:drivers";
|
|
149
|
+
Scope["ReadLogisticTravels"] = "read:logistic:travels";
|
|
150
|
+
Scope["WriteLogisticTravels"] = "write:logistic:travels";
|
|
151
|
+
Scope["ManageLogisticTravels"] = "manage:logistic:travels";
|
|
152
|
+
Scope["ReadLogisticVehicles"] = "read:logistic:vehicles";
|
|
153
|
+
Scope["WriteLogisticVehicles"] = "write:logistic:vehicles";
|
|
154
|
+
Scope["ManageLogisticVehicles"] = "manage:logistic:vehicles";
|
|
155
|
+
Scope["ReadLogisticLocations"] = "read:logistic:locations";
|
|
156
|
+
Scope["WriteLogisticLocations"] = "write:logistic:locations";
|
|
157
|
+
Scope["ManageLogisticLocations"] = "manage:logistic:locations";
|
|
158
|
+
Scope["ResolveLogisticLocations"] = "resolve:logistic:locations";
|
|
115
159
|
// Special
|
|
116
160
|
Scope["ReadSpecial"] = "read:special";
|
|
117
161
|
Scope["WriteSpecial"] = "write:special";
|
package/common/core/scope.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scope.js","sourceRoot":"","sources":["../../src/common/core/scope.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"scope.js","sourceRoot":"","sources":["../../src/common/core/scope.ts"],"names":[],"mappings":";;;AAAA,IAAY,KAiNX;AAjND,WAAY,KAAK;IACf,UAAU;IACV,wBAAe,CAAA;IAEf,+BAA+B;IAC/B,iBAAiB;IACjB,+BAA+B;IAE/B,sBAAa,CAAA;IACb,wBAAe,CAA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":"type.enum.js","sourceRoot":"","sources":["../../../../src/common/enums/general/notices/type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"type.enum.js","sourceRoot":"","sources":["../../../../src/common/enums/general/notices/type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAYX;AAZD,WAAY,UAAU;IACpB,2BAAa,CAAA;IACb,6BAAe,CAAA;IAEf,6BAAe,CAAA;IACf,iCAAmB,CAAA;IAEnB,6BAAe,CAAA;IACf,iCAAmB,CAAA;IAEnB,+BAAiB,CAAA;IACjB,iCAAmB,CAAA;AACrB,CAAC,EAZW,UAAU,0BAAV,UAAU,QAYrB"}
|