@wenex/sdk 0.6.8 → 0.7.0

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.
@@ -12,9 +12,18 @@ export declare enum Resource {
12
12
  IdentityUsers = "identity:users",
13
13
  IdentityProfiles = "identity:profiles",
14
14
  IdentitySessions = "identity:sessions",
15
+ Logistic = "logistic:all",
16
+ LogisticCargoes = "logistic:cargoes",
17
+ LogisticDrivers = "logistic:drivers",
18
+ LogisticTravels = "logistic:travels",
19
+ LogisticVehicles = "logistic:vehicles",
20
+ LogisticLocations = "logistic:locations",
15
21
  Special = "special:all",
16
22
  SpecialFiles = "special:files",
17
23
  SpecialStats = "special:stats",
24
+ General = "general:all",
25
+ GeneralArtifacts = "general:artifacts",
26
+ GeneralWorkflows = "general:workflows",
18
27
  Touch = "touch:all",
19
28
  TouchPush = "touch:push",
20
29
  TouchPushHistories = "touch:push-histories",
@@ -20,9 +20,18 @@ var Resource;
20
20
  Resource["IdentityUsers"] = "identity:users";
21
21
  Resource["IdentityProfiles"] = "identity:profiles";
22
22
  Resource["IdentitySessions"] = "identity:sessions";
23
+ Resource["Logistic"] = "logistic:all";
24
+ Resource["LogisticCargoes"] = "logistic:cargoes";
25
+ Resource["LogisticDrivers"] = "logistic:drivers";
26
+ Resource["LogisticTravels"] = "logistic:travels";
27
+ Resource["LogisticVehicles"] = "logistic:vehicles";
28
+ Resource["LogisticLocations"] = "logistic:locations";
23
29
  Resource["Special"] = "special:all";
24
30
  Resource["SpecialFiles"] = "special:files";
25
31
  Resource["SpecialStats"] = "special:stats";
32
+ Resource["General"] = "general:all";
33
+ Resource["GeneralArtifacts"] = "general:artifacts";
34
+ Resource["GeneralWorkflows"] = "general:workflows";
26
35
  Resource["Touch"] = "touch:all";
27
36
  Resource["TouchPush"] = "touch:push";
28
37
  Resource["TouchPushHistories"] = "touch:push-histories";
@@ -1 +1 @@
1
- {"version":3,"file":"resource.enum.js","sourceRoot":"","sources":["../../../src/common/enums/common/resource.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAsCX;AAtCD,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;IAE1B,uCAA2B,CAAA;IAC3B,8CAAkC,CAAA;IAClC,kDAAsC,CAAA;IACtC,oDAAwC,CAAA;IACxC,4DAAgD,CAAA;AAClD,CAAC,EAtCW,QAAQ,wBAAR,QAAQ,QAsCnB"}
1
+ {"version":3,"file":"resource.enum.js","sourceRoot":"","sources":["../../../src/common/enums/common/resource.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAiDX;AAjDD,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,qCAAyB,CAAA;IACzB,gDAAoC,CAAA;IACpC,gDAAoC,CAAA;IACpC,gDAAoC,CAAA;IACpC,kDAAsC,CAAA;IACtC,oDAAwC,CAAA;IAExC,mCAAuB,CAAA;IACvB,0CAA8B,CAAA;IAC9B,0CAA8B,CAAA;IAE9B,mCAAuB,CAAA;IACvB,kDAAsC,CAAA;IACtC,kDAAsC,CAAA;IAEtC,+BAAmB,CAAA;IACnB,oCAAwB,CAAA;IACxB,uDAA2C,CAAA;IAC3C,sCAA0B,CAAA;IAE1B,uCAA2B,CAAA;IAC3B,8CAAkC,CAAA;IAClC,kDAAsC,CAAA;IACtC,oDAAwC,CAAA;IACxC,4DAAgD,CAAA;AAClD,CAAC,EAjDW,QAAQ,wBAAR,QAAQ,QAiDnB"}
@@ -46,6 +46,24 @@ export declare enum Scope {
46
46
  ReadIdentitySessions = "r:identity:sessions",
47
47
  WriteIdentitySessions = "w:identity:sessions",
48
48
  ManageIdentitySessions = "m:identity:sessions",
49
+ ReadLogistic = "r:logistic",
50
+ WriteLogistic = "w:logistic",
51
+ ManageLogistic = "m:logistic",
52
+ ReadLogisticCargoes = "r:logistic:cargoes",
53
+ WriteLogisticCargoes = "w:logistic:cargoes",
54
+ ManageLogisticCargoes = "m:logistic:cargoes",
55
+ ReadLogisticDrivers = "r:logistic:drivers",
56
+ WriteLogisticDrivers = "w:logistic:drivers",
57
+ ManageLogisticDrivers = "m:logistic:drivers",
58
+ ReadLogisticTravels = "r:logistic:travels",
59
+ WriteLogisticTravels = "w:logistic:travels",
60
+ ManageLogisticTravels = "m:logistic:travels",
61
+ ReadLogisticVehicles = "r:logistic:vehicles",
62
+ WriteLogisticVehicles = "w:logistic:vehicles",
63
+ ManageLogisticVehicles = "m:logistic:vehicles",
64
+ ReadLogisticLocations = "r:logistic:locations",
65
+ WriteLogisticLocations = "w:logistic:locations",
66
+ ManageLogisticLocations = "m:logistic:locations",
49
67
  ReadSpecial = "r:special",
50
68
  WriteSpecial = "w:special",
51
69
  ManageSpecial = "m:special",
@@ -58,6 +76,15 @@ export declare enum Scope {
58
76
  WriteSpecialStats = "w:special:stats",
59
77
  ManageSpecialStats = "m:special:stats",
60
78
  CollectSpecialStats = "c:special:stats",
79
+ ReadGeneral = "r:general",
80
+ WriteGeneral = "w:general",
81
+ ManageGeneral = "m:general",
82
+ ReadGeneralArtifacts = "r:general:artifacts",
83
+ WriteGeneralArtifacts = "w:general:artifacts",
84
+ ManageGeneralArtifacts = "m:general:artifacts",
85
+ ReadGeneralWorkflows = "r:general:workflows",
86
+ WriteGeneralWorkflows = "w:general:workflows",
87
+ ManageGeneralWorkflows = "m:general:workflows",
61
88
  ReadTouch = "r:touch",
62
89
  WriteTouch = "w:touch",
63
90
  ManageTouch = "m:touch",
@@ -60,6 +60,24 @@ var Scope;
60
60
  Scope["ReadIdentitySessions"] = "r:identity:sessions";
61
61
  Scope["WriteIdentitySessions"] = "w:identity:sessions";
62
62
  Scope["ManageIdentitySessions"] = "m:identity:sessions";
63
+ Scope["ReadLogistic"] = "r:logistic";
64
+ Scope["WriteLogistic"] = "w:logistic";
65
+ Scope["ManageLogistic"] = "m:logistic";
66
+ Scope["ReadLogisticCargoes"] = "r:logistic:cargoes";
67
+ Scope["WriteLogisticCargoes"] = "w:logistic:cargoes";
68
+ Scope["ManageLogisticCargoes"] = "m:logistic:cargoes";
69
+ Scope["ReadLogisticDrivers"] = "r:logistic:drivers";
70
+ Scope["WriteLogisticDrivers"] = "w:logistic:drivers";
71
+ Scope["ManageLogisticDrivers"] = "m:logistic:drivers";
72
+ Scope["ReadLogisticTravels"] = "r:logistic:travels";
73
+ Scope["WriteLogisticTravels"] = "w:logistic:travels";
74
+ Scope["ManageLogisticTravels"] = "m:logistic:travels";
75
+ Scope["ReadLogisticVehicles"] = "r:logistic:vehicles";
76
+ Scope["WriteLogisticVehicles"] = "w:logistic:vehicles";
77
+ Scope["ManageLogisticVehicles"] = "m:logistic:vehicles";
78
+ Scope["ReadLogisticLocations"] = "r:logistic:locations";
79
+ Scope["WriteLogisticLocations"] = "w:logistic:locations";
80
+ Scope["ManageLogisticLocations"] = "m:logistic:locations";
63
81
  Scope["ReadSpecial"] = "r:special";
64
82
  Scope["WriteSpecial"] = "w:special";
65
83
  Scope["ManageSpecial"] = "m:special";
@@ -72,6 +90,15 @@ var Scope;
72
90
  Scope["WriteSpecialStats"] = "w:special:stats";
73
91
  Scope["ManageSpecialStats"] = "m:special:stats";
74
92
  Scope["CollectSpecialStats"] = "c:special:stats";
93
+ Scope["ReadGeneral"] = "r:general";
94
+ Scope["WriteGeneral"] = "w:general";
95
+ Scope["ManageGeneral"] = "m:general";
96
+ Scope["ReadGeneralArtifacts"] = "r:general:artifacts";
97
+ Scope["WriteGeneralArtifacts"] = "w:general:artifacts";
98
+ Scope["ManageGeneralArtifacts"] = "m:general:artifacts";
99
+ Scope["ReadGeneralWorkflows"] = "r:general:workflows";
100
+ Scope["WriteGeneralWorkflows"] = "w:general:workflows";
101
+ Scope["ManageGeneralWorkflows"] = "m:general:workflows";
75
102
  Scope["ReadTouch"] = "r:touch";
76
103
  Scope["WriteTouch"] = "w:touch";
77
104
  Scope["ManageTouch"] = "m:touch";
@@ -1 +1 @@
1
- {"version":3,"file":"scope.enum.js","sourceRoot":"","sources":["../../../src/common/enums/common/scope.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,KAmHX;AAnHD,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,CAA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hC,sCAA6B,CAAA;IAC7B,uCAA8B,CAAA;IAC9B,wCAA+B,CAAA;IAC/B,iDAAwC,CAAA;IACxC,kDAAyC,CAAA;IACzC,mDAA0C,CAAA;IAC1C,qDAA4C,CAAA;IAC5C,sDAA6C,CAAA;IAC7C,uDAA8C,CAAA;IAC9C,uDAA8C,CAAA;IAC9C,wDAA+C,CAAA;IAC/C,yDAAgD,CAAA;IAChD,+DAAsD,CAAA;IACtD,gEAAuD,CAAA;IACvD,iEAAwD,CAAA;AAC1D,CAAC,EAnHW,KAAK,qBAAL,KAAK,QAmHhB"}
1
+ {"version":3,"file":"scope.enum.js","sourceRoot":"","sources":["../../../src/common/enums/common/scope.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,KAgJX;AAhJD,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,yCAA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sB,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;IAEhC,sCAA6B,CAAA;IAC7B,uCAA8B,CAAA;IAC9B,wCAA+B,CAAA;IAC/B,iDAAwC,CAAA;IACxC,kDAAyC,CAAA;IACzC,mDAA0C,CAAA;IAC1C,qDAA4C,CAAA;IAC5C,sDAA6C,CAAA;IAC7C,uDAA8C,CAAA;IAC9C,uDAA8C,CAAA;IAC9C,wDAA+C,CAAA;IAC/C,yDAAgD,CAAA;IAChD,+DAAsD,CAAA;IACtD,gEAAuD,CAAA;IACvD,iEAAwD,CAAA;AAC1D,CAAC,EAhJW,KAAK,qBAAL,KAAK,QAgJhB"}
@@ -1,4 +1,4 @@
1
1
  export declare enum ClientServiceProvider {
2
- Wenex = 'wenex',
3
- Unknown = 'unknown',
2
+ Wenex = "wenex",
3
+ Unknown = "unknown"
4
4
  }
@@ -1,9 +1,9 @@
1
- 'use strict';
2
- Object.defineProperty(exports, '__esModule', { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ClientServiceProvider = void 0;
4
4
  var ClientServiceProvider;
5
5
  (function (ClientServiceProvider) {
6
- ClientServiceProvider['Wenex'] = 'wenex';
7
- ClientServiceProvider['Unknown'] = 'unknown';
6
+ ClientServiceProvider["Wenex"] = "wenex";
7
+ ClientServiceProvider["Unknown"] = "unknown";
8
8
  })(ClientServiceProvider || (exports.ClientServiceProvider = ClientServiceProvider = {}));
9
- //# sourceMappingURL=otp-provider.enum.js.map
9
+ //# sourceMappingURL=otp-provider.enum.js.map
@@ -1,5 +1,5 @@
1
1
  export declare enum ClientServiceType {
2
- SMS = 'sms',
3
- Call = 'call',
4
- Email = 'email',
2
+ SMS = "sms",
3
+ Call = "call",
4
+ Email = "email"
5
5
  }
@@ -1,10 +1,10 @@
1
- 'use strict';
2
- Object.defineProperty(exports, '__esModule', { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ClientServiceType = void 0;
4
4
  var ClientServiceType;
5
5
  (function (ClientServiceType) {
6
- ClientServiceType['SMS'] = 'sms';
7
- ClientServiceType['Call'] = 'call';
8
- ClientServiceType['Email'] = 'email';
6
+ ClientServiceType["SMS"] = "sms";
7
+ ClientServiceType["Call"] = "call";
8
+ ClientServiceType["Email"] = "email";
9
9
  })(ClientServiceType || (exports.ClientServiceType = ClientServiceType = {}));
10
- //# sourceMappingURL=otp-type.enum.js.map
10
+ //# sourceMappingURL=otp-type.enum.js.map
@@ -1,5 +1,5 @@
1
1
  export declare enum UserMFA {
2
2
  SMS = "sms",
3
- Time = "time",
3
+ TOTP = "totp",
4
4
  Email = "email"
5
5
  }
@@ -4,7 +4,7 @@ exports.UserMFA = void 0;
4
4
  var UserMFA;
5
5
  (function (UserMFA) {
6
6
  UserMFA["SMS"] = "sms";
7
- UserMFA["Time"] = "time";
7
+ UserMFA["TOTP"] = "totp";
8
8
  UserMFA["Email"] = "email";
9
9
  })(UserMFA || (exports.UserMFA = UserMFA = {}));
10
10
  //# sourceMappingURL=mfa.enum.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wenex/sdk",
3
- "version": "0.6.8",
3
+ "version": "0.7.0",
4
4
  "description": "Wenex SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",