@aceplus/smartace-api 3.7.0-alpha.5 → 3.7.0-alpha.6

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.
@@ -35,6 +35,7 @@ goog.exportSymbol('proto.Platform.LocalAccountProto', null, global);
35
35
  goog.exportSymbol('proto.Platform.LocalAccountProto.AccountTypes', null, global);
36
36
  goog.exportSymbol('proto.Platform.LocalAccountProto.CreateAdminRequest', null, global);
37
37
  goog.exportSymbol('proto.Platform.LocalAccountProto.CreateAppRequest', null, global);
38
+ goog.exportSymbol('proto.Platform.LocalAccountProto.DeleteRequest', null, global);
38
39
  goog.exportSymbol('proto.Platform.LocalAccountProto.DisableAccount', null, global);
39
40
  goog.exportSymbol('proto.Platform.LocalAccountProto.EnableAccount', null, global);
40
41
  goog.exportSymbol('proto.Platform.LocalAccountProto.ResendInvitationRequest', null, global);
@@ -150,6 +151,27 @@ if (goog.DEBUG && !COMPILED) {
150
151
  */
151
152
  proto.Platform.LocalAccountProto.UpdateRequest.displayName = 'proto.Platform.LocalAccountProto.UpdateRequest';
152
153
  }
154
+ /**
155
+ * Generated by JsPbCodeGenerator.
156
+ * @param {Array=} opt_data Optional initial data array, typically from a
157
+ * server response, or constructed directly in Javascript. The array is used
158
+ * in place and becomes part of the constructed object. It is not cloned.
159
+ * If no data is provided, the constructed object will be empty, but still
160
+ * valid.
161
+ * @extends {jspb.Message}
162
+ * @constructor
163
+ */
164
+ proto.Platform.LocalAccountProto.DeleteRequest = function(opt_data) {
165
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
166
+ };
167
+ goog.inherits(proto.Platform.LocalAccountProto.DeleteRequest, jspb.Message);
168
+ if (goog.DEBUG && !COMPILED) {
169
+ /**
170
+ * @public
171
+ * @override
172
+ */
173
+ proto.Platform.LocalAccountProto.DeleteRequest.displayName = 'proto.Platform.LocalAccountProto.DeleteRequest';
174
+ }
153
175
  /**
154
176
  * Generated by JsPbCodeGenerator.
155
177
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1879,6 +1901,136 @@ proto.Platform.LocalAccountProto.UpdateRequest.prototype.clearClientRolesList =
1879
1901
 
1880
1902
 
1881
1903
 
1904
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1905
+ /**
1906
+ * Creates an object representation of this proto.
1907
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1908
+ * Optional fields that are not set will be set to undefined.
1909
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1910
+ * For the list of reserved names please see:
1911
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1912
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1913
+ * JSPB instance for transitional soy proto support:
1914
+ * http://goto/soy-param-migration
1915
+ * @return {!Object}
1916
+ */
1917
+ proto.Platform.LocalAccountProto.DeleteRequest.prototype.toObject = function(opt_includeInstance) {
1918
+ return proto.Platform.LocalAccountProto.DeleteRequest.toObject(opt_includeInstance, this);
1919
+ };
1920
+
1921
+
1922
+ /**
1923
+ * Static version of the {@see toObject} method.
1924
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1925
+ * the JSPB instance for transitional soy proto support:
1926
+ * http://goto/soy-param-migration
1927
+ * @param {!proto.Platform.LocalAccountProto.DeleteRequest} msg The msg instance to transform.
1928
+ * @return {!Object}
1929
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1930
+ */
1931
+ proto.Platform.LocalAccountProto.DeleteRequest.toObject = function(includeInstance, msg) {
1932
+ var f, obj = {
1933
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
1934
+ };
1935
+
1936
+ if (includeInstance) {
1937
+ obj.$jspbMessageInstance = msg;
1938
+ }
1939
+ return obj;
1940
+ };
1941
+ }
1942
+
1943
+
1944
+ /**
1945
+ * Deserializes binary data (in protobuf wire format).
1946
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1947
+ * @return {!proto.Platform.LocalAccountProto.DeleteRequest}
1948
+ */
1949
+ proto.Platform.LocalAccountProto.DeleteRequest.deserializeBinary = function(bytes) {
1950
+ var reader = new jspb.BinaryReader(bytes);
1951
+ var msg = new proto.Platform.LocalAccountProto.DeleteRequest;
1952
+ return proto.Platform.LocalAccountProto.DeleteRequest.deserializeBinaryFromReader(msg, reader);
1953
+ };
1954
+
1955
+
1956
+ /**
1957
+ * Deserializes binary data (in protobuf wire format) from the
1958
+ * given reader into the given message object.
1959
+ * @param {!proto.Platform.LocalAccountProto.DeleteRequest} msg The message object to deserialize into.
1960
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1961
+ * @return {!proto.Platform.LocalAccountProto.DeleteRequest}
1962
+ */
1963
+ proto.Platform.LocalAccountProto.DeleteRequest.deserializeBinaryFromReader = function(msg, reader) {
1964
+ while (reader.nextField()) {
1965
+ if (reader.isEndGroup()) {
1966
+ break;
1967
+ }
1968
+ var field = reader.getFieldNumber();
1969
+ switch (field) {
1970
+ case 1:
1971
+ var value = /** @type {number} */ (reader.readInt64());
1972
+ msg.setId(value);
1973
+ break;
1974
+ default:
1975
+ reader.skipField();
1976
+ break;
1977
+ }
1978
+ }
1979
+ return msg;
1980
+ };
1981
+
1982
+
1983
+ /**
1984
+ * Serializes the message to binary data (in protobuf wire format).
1985
+ * @return {!Uint8Array}
1986
+ */
1987
+ proto.Platform.LocalAccountProto.DeleteRequest.prototype.serializeBinary = function() {
1988
+ var writer = new jspb.BinaryWriter();
1989
+ proto.Platform.LocalAccountProto.DeleteRequest.serializeBinaryToWriter(this, writer);
1990
+ return writer.getResultBuffer();
1991
+ };
1992
+
1993
+
1994
+ /**
1995
+ * Serializes the given message to binary data (in protobuf wire
1996
+ * format), writing to the given BinaryWriter.
1997
+ * @param {!proto.Platform.LocalAccountProto.DeleteRequest} message
1998
+ * @param {!jspb.BinaryWriter} writer
1999
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2000
+ */
2001
+ proto.Platform.LocalAccountProto.DeleteRequest.serializeBinaryToWriter = function(message, writer) {
2002
+ var f = undefined;
2003
+ f = message.getId();
2004
+ if (f !== 0) {
2005
+ writer.writeInt64(
2006
+ 1,
2007
+ f
2008
+ );
2009
+ }
2010
+ };
2011
+
2012
+
2013
+ /**
2014
+ * optional int64 id = 1;
2015
+ * @return {number}
2016
+ */
2017
+ proto.Platform.LocalAccountProto.DeleteRequest.prototype.getId = function() {
2018
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2019
+ };
2020
+
2021
+
2022
+ /**
2023
+ * @param {number} value
2024
+ * @return {!proto.Platform.LocalAccountProto.DeleteRequest} returns this
2025
+ */
2026
+ proto.Platform.LocalAccountProto.DeleteRequest.prototype.setId = function(value) {
2027
+ return jspb.Message.setProto3IntField(this, 1, value);
2028
+ };
2029
+
2030
+
2031
+
2032
+
2033
+
1882
2034
  if (jspb.Message.GENERATE_TO_OBJECT) {
1883
2035
  /**
1884
2036
  * Creates an object representation of this proto.
@@ -47,8 +47,8 @@ type LocalAccountGRPCDelete = {
47
47
  readonly service: typeof LocalAccountGRPC;
48
48
  readonly requestStream: false;
49
49
  readonly responseStream: false;
50
- readonly requestType: typeof auth_account_pb.AccountProto.DeleteRequest;
51
- readonly responseType: typeof auth_account_pb.AccountProto.DeleteReply;
50
+ readonly requestType: typeof platform_local_account_pb.LocalAccountProto.DeleteRequest;
51
+ readonly responseType: typeof google_protobuf_empty_pb.Empty;
52
52
  };
53
53
 
54
54
  type LocalAccountGRPCSearchAdmin = {
@@ -229,13 +229,13 @@ export class LocalAccountGRPCClient {
229
229
  callback: (error: ServiceError|null, responseMessage: platform_local_account_pb.LocalAccountProto|null) => void
230
230
  ): UnaryResponse;
231
231
  delete(
232
- requestMessage: auth_account_pb.AccountProto.DeleteRequest,
232
+ requestMessage: platform_local_account_pb.LocalAccountProto.DeleteRequest,
233
233
  metadata: grpc.Metadata,
234
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.DeleteReply|null) => void
234
+ callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
235
235
  ): UnaryResponse;
236
236
  delete(
237
- requestMessage: auth_account_pb.AccountProto.DeleteRequest,
238
- callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.DeleteReply|null) => void
237
+ requestMessage: platform_local_account_pb.LocalAccountProto.DeleteRequest,
238
+ callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
239
239
  ): UnaryResponse;
240
240
  searchAdmin(
241
241
  requestMessage: platform_local_account_pb.LocalAccountProto.SearchRequest,
@@ -53,8 +53,8 @@ LocalAccountGRPC.Delete = {
53
53
  service: LocalAccountGRPC,
54
54
  requestStream: false,
55
55
  responseStream: false,
56
- requestType: auth_account_pb.AccountProto.DeleteRequest,
57
- responseType: auth_account_pb.AccountProto.DeleteReply
56
+ requestType: platform_local_account_pb.LocalAccountProto.DeleteRequest,
57
+ responseType: google_protobuf_empty_pb.Empty
58
58
  };
59
59
 
60
60
  LocalAccountGRPC.SearchAdmin = {