@aceplus/smartace-api 2.4.1 → 2.5.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.
@@ -81,5 +81,14 @@ export namespace AuthnProto {
81
81
  refreshToken: string,
82
82
  }
83
83
  }
84
+
85
+ export interface AuthnErrorMap {
86
+ ACCOUNT_DISABLED: 0;
87
+ ACCOUNT_EXPIRED: 1;
88
+ MFA_REGISTRATION_REQUIRED: 2;
89
+ MFA_VERIFICATION_FAILED: 3;
90
+ }
91
+
92
+ export const AuthnError: AuthnErrorMap;
84
93
  }
85
94
 
package/auth.authn_pb.js CHANGED
@@ -26,6 +26,7 @@ goog.object.extend(proto, google_protobuf_duration_pb);
26
26
  var google_api_annotations_pb = require('./google/api/annotations_pb.js');
27
27
  goog.object.extend(proto, google_api_annotations_pb);
28
28
  goog.exportSymbol('proto.Auth.AuthnProto', null, global);
29
+ goog.exportSymbol('proto.Auth.AuthnProto.AuthnError', null, global);
29
30
  goog.exportSymbol('proto.Auth.AuthnProto.LoginRequest', null, global);
30
31
  goog.exportSymbol('proto.Auth.AuthnProto.RefreshRequest', null, global);
31
32
  /**
@@ -229,6 +230,16 @@ proto.Auth.AuthnProto.serializeBinaryToWriter = function(message, writer) {
229
230
  };
230
231
 
231
232
 
233
+ /**
234
+ * @enum {number}
235
+ */
236
+ proto.Auth.AuthnProto.AuthnError = {
237
+ ACCOUNT_DISABLED: 0,
238
+ ACCOUNT_EXPIRED: 1,
239
+ MFA_REGISTRATION_REQUIRED: 2,
240
+ MFA_VERIFICATION_FAILED: 3
241
+ };
242
+
232
243
 
233
244
 
234
245
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "grpc-web": "^1.4.2",
6
6
  "ts-protoc-gen": "^0.15.0"
7
7
  },
8
- "version": "2.4.1",
8
+ "version": "2.5.1",
9
9
  "description": "Generated proto files.",
10
10
  "author": "TKF",
11
11
  "files": [