akeyless-client-commons 1.0.63 → 1.0.64
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/dist/helpers/index.d.mts
CHANGED
|
@@ -131,7 +131,7 @@ declare const cleanNxSites: () => Promise<void>;
|
|
|
131
131
|
declare const getUserByPhone: (phone: string) => Promise<TObject<any>>;
|
|
132
132
|
declare const getUserByEmail: (email: string) => Promise<TObject<any>>;
|
|
133
133
|
declare const getUserByIdentifier: (identifier: string) => Promise<TObject<any>>;
|
|
134
|
-
declare const addLoginAudit: (user: any, app:
|
|
134
|
+
declare const addLoginAudit: (user: any, app: "installer" | "toolbox" | "dashboard", loginBy: "email" | "phone") => Promise<void>;
|
|
135
135
|
declare const addAuditRecord: (action: string, entity: string, details: TObject<any>, user?: NxUser | null) => Promise<{
|
|
136
136
|
action: string;
|
|
137
137
|
entity: string;
|
package/dist/helpers/index.d.ts
CHANGED
|
@@ -131,7 +131,7 @@ declare const cleanNxSites: () => Promise<void>;
|
|
|
131
131
|
declare const getUserByPhone: (phone: string) => Promise<TObject<any>>;
|
|
132
132
|
declare const getUserByEmail: (email: string) => Promise<TObject<any>>;
|
|
133
133
|
declare const getUserByIdentifier: (identifier: string) => Promise<TObject<any>>;
|
|
134
|
-
declare const addLoginAudit: (user: any, app:
|
|
134
|
+
declare const addLoginAudit: (user: any, app: "installer" | "toolbox" | "dashboard", loginBy: "email" | "phone") => Promise<void>;
|
|
135
135
|
declare const addAuditRecord: (action: string, entity: string, details: TObject<any>, user?: NxUser | null) => Promise<{
|
|
136
136
|
action: string;
|
|
137
137
|
entity: string;
|
package/dist/helpers/index.js
CHANGED
|
@@ -1505,13 +1505,14 @@ var getUserByIdentifier = /*#__PURE__*/ function() {
|
|
|
1505
1505
|
};
|
|
1506
1506
|
}();
|
|
1507
1507
|
var addLoginAudit = /*#__PURE__*/ function() {
|
|
1508
|
-
var _ref = _async_to_generator(function(user, app2) {
|
|
1508
|
+
var _ref = _async_to_generator(function(user, app2, loginBy) {
|
|
1509
1509
|
var details;
|
|
1510
1510
|
return _ts_generator(this, function(_state) {
|
|
1511
1511
|
switch(_state.label){
|
|
1512
1512
|
case 0:
|
|
1513
1513
|
details = {
|
|
1514
|
-
app: app2
|
|
1514
|
+
app: app2,
|
|
1515
|
+
login_by: loginBy
|
|
1515
1516
|
};
|
|
1516
1517
|
return [
|
|
1517
1518
|
4,
|
|
@@ -1533,7 +1534,7 @@ var addLoginAudit = /*#__PURE__*/ function() {
|
|
|
1533
1534
|
}
|
|
1534
1535
|
});
|
|
1535
1536
|
});
|
|
1536
|
-
return function addLoginAudit(user, app2) {
|
|
1537
|
+
return function addLoginAudit(user, app2, loginBy) {
|
|
1537
1538
|
return _ref.apply(this, arguments);
|
|
1538
1539
|
};
|
|
1539
1540
|
}();
|
package/dist/helpers/index.mjs
CHANGED
|
@@ -1190,13 +1190,14 @@ var getUserByIdentifier = /*#__PURE__*/ function() {
|
|
|
1190
1190
|
};
|
|
1191
1191
|
}();
|
|
1192
1192
|
var addLoginAudit = /*#__PURE__*/ function() {
|
|
1193
|
-
var _ref = _async_to_generator(function(user, app2) {
|
|
1193
|
+
var _ref = _async_to_generator(function(user, app2, loginBy) {
|
|
1194
1194
|
var details;
|
|
1195
1195
|
return _ts_generator(this, function(_state) {
|
|
1196
1196
|
switch(_state.label){
|
|
1197
1197
|
case 0:
|
|
1198
1198
|
details = {
|
|
1199
|
-
app: app2
|
|
1199
|
+
app: app2,
|
|
1200
|
+
login_by: loginBy
|
|
1200
1201
|
};
|
|
1201
1202
|
return [
|
|
1202
1203
|
4,
|
|
@@ -1218,7 +1219,7 @@ var addLoginAudit = /*#__PURE__*/ function() {
|
|
|
1218
1219
|
}
|
|
1219
1220
|
});
|
|
1220
1221
|
});
|
|
1221
|
-
return function addLoginAudit(user, app2) {
|
|
1222
|
+
return function addLoginAudit(user, app2, loginBy) {
|
|
1222
1223
|
return _ref.apply(this, arguments);
|
|
1223
1224
|
};
|
|
1224
1225
|
}();
|