@aceplus/smartace-api 2.13.0-alpha.2 → 2.13.0-alpha.7

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.
@@ -32,12 +32,10 @@ goog.object.extend(proto, platform_pagination_pb);
32
32
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
33
33
  goog.object.extend(proto, google_protobuf_timestamp_pb);
34
34
  goog.exportSymbol('proto.Platform.LocalAccountProto', null, global);
35
- goog.exportSymbol('proto.Platform.LocalAccountProto.AddClientRequest', null, global);
36
35
  goog.exportSymbol('proto.Platform.LocalAccountProto.CreateAdminRequest', null, global);
37
36
  goog.exportSymbol('proto.Platform.LocalAccountProto.CreateAppRequest', null, global);
38
37
  goog.exportSymbol('proto.Platform.LocalAccountProto.DisableAccount', null, global);
39
38
  goog.exportSymbol('proto.Platform.LocalAccountProto.EnableAccount', null, global);
40
- goog.exportSymbol('proto.Platform.LocalAccountProto.RemoveClientRequest', null, global);
41
39
  goog.exportSymbol('proto.Platform.LocalAccountProto.ResendInvitationRequest', null, global);
42
40
  goog.exportSymbol('proto.Platform.LocalAccountProto.SearchReply', null, global);
43
41
  goog.exportSymbol('proto.Platform.LocalAccountProto.SearchRequest', null, global);
@@ -191,48 +189,6 @@ if (goog.DEBUG && !COMPILED) {
191
189
  */
192
190
  proto.Platform.LocalAccountProto.SetClientRequest.displayName = 'proto.Platform.LocalAccountProto.SetClientRequest';
193
191
  }
194
- /**
195
- * Generated by JsPbCodeGenerator.
196
- * @param {Array=} opt_data Optional initial data array, typically from a
197
- * server response, or constructed directly in Javascript. The array is used
198
- * in place and becomes part of the constructed object. It is not cloned.
199
- * If no data is provided, the constructed object will be empty, but still
200
- * valid.
201
- * @extends {jspb.Message}
202
- * @constructor
203
- */
204
- proto.Platform.LocalAccountProto.AddClientRequest = function(opt_data) {
205
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
206
- };
207
- goog.inherits(proto.Platform.LocalAccountProto.AddClientRequest, jspb.Message);
208
- if (goog.DEBUG && !COMPILED) {
209
- /**
210
- * @public
211
- * @override
212
- */
213
- proto.Platform.LocalAccountProto.AddClientRequest.displayName = 'proto.Platform.LocalAccountProto.AddClientRequest';
214
- }
215
- /**
216
- * Generated by JsPbCodeGenerator.
217
- * @param {Array=} opt_data Optional initial data array, typically from a
218
- * server response, or constructed directly in Javascript. The array is used
219
- * in place and becomes part of the constructed object. It is not cloned.
220
- * If no data is provided, the constructed object will be empty, but still
221
- * valid.
222
- * @extends {jspb.Message}
223
- * @constructor
224
- */
225
- proto.Platform.LocalAccountProto.RemoveClientRequest = function(opt_data) {
226
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
227
- };
228
- goog.inherits(proto.Platform.LocalAccountProto.RemoveClientRequest, jspb.Message);
229
- if (goog.DEBUG && !COMPILED) {
230
- /**
231
- * @public
232
- * @override
233
- */
234
- proto.Platform.LocalAccountProto.RemoveClientRequest.displayName = 'proto.Platform.LocalAccountProto.RemoveClientRequest';
235
- }
236
192
  /**
237
193
  * Generated by JsPbCodeGenerator.
238
194
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -367,7 +323,8 @@ proto.Platform.LocalAccountProto.toObject = function(includeInstance, msg) {
367
323
  enabled: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
368
324
  expiredAt: (f = msg.getExpiredAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
369
325
  assignedRolesList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
370
- status: jspb.Message.getFieldWithDefault(msg, 12, 0)
326
+ status: jspb.Message.getFieldWithDefault(msg, 12, 0),
327
+ deleted: jspb.Message.getBooleanFieldWithDefault(msg, 13, false)
371
328
  };
372
329
 
373
330
  if (includeInstance) {
@@ -455,6 +412,10 @@ proto.Platform.LocalAccountProto.deserializeBinaryFromReader = function(msg, rea
455
412
  var value = /** @type {!proto.Auth.AccountProto.ActivationStatuses} */ (reader.readEnum());
456
413
  msg.setStatus(value);
457
414
  break;
415
+ case 13:
416
+ var value = /** @type {boolean} */ (reader.readBool());
417
+ msg.setDeleted(value);
418
+ break;
458
419
  default:
459
420
  reader.skipField();
460
421
  break;
@@ -569,6 +530,13 @@ proto.Platform.LocalAccountProto.serializeBinaryToWriter = function(message, wri
569
530
  f
570
531
  );
571
532
  }
533
+ f = message.getDeleted();
534
+ if (f) {
535
+ writer.writeBool(
536
+ 13,
537
+ f
538
+ );
539
+ }
572
540
  };
573
541
 
574
542
 
@@ -2152,347 +2120,6 @@ proto.Platform.LocalAccountProto.SetClientRequest.prototype.setClientId = functi
2152
2120
 
2153
2121
 
2154
2122
 
2155
- if (jspb.Message.GENERATE_TO_OBJECT) {
2156
- /**
2157
- * Creates an object representation of this proto.
2158
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2159
- * Optional fields that are not set will be set to undefined.
2160
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2161
- * For the list of reserved names please see:
2162
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2163
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2164
- * JSPB instance for transitional soy proto support:
2165
- * http://goto/soy-param-migration
2166
- * @return {!Object}
2167
- */
2168
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.toObject = function(opt_includeInstance) {
2169
- return proto.Platform.LocalAccountProto.AddClientRequest.toObject(opt_includeInstance, this);
2170
- };
2171
-
2172
-
2173
- /**
2174
- * Static version of the {@see toObject} method.
2175
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2176
- * the JSPB instance for transitional soy proto support:
2177
- * http://goto/soy-param-migration
2178
- * @param {!proto.Platform.LocalAccountProto.AddClientRequest} msg The msg instance to transform.
2179
- * @return {!Object}
2180
- * @suppress {unusedLocalVariables} f is only used for nested messages
2181
- */
2182
- proto.Platform.LocalAccountProto.AddClientRequest.toObject = function(includeInstance, msg) {
2183
- var f, obj = {
2184
- account: (f = msg.getAccount()) && auth_account_pb.AccountProto.toObject(includeInstance, f),
2185
- clientId: jspb.Message.getFieldWithDefault(msg, 2, 0)
2186
- };
2187
-
2188
- if (includeInstance) {
2189
- obj.$jspbMessageInstance = msg;
2190
- }
2191
- return obj;
2192
- };
2193
- }
2194
-
2195
-
2196
- /**
2197
- * Deserializes binary data (in protobuf wire format).
2198
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2199
- * @return {!proto.Platform.LocalAccountProto.AddClientRequest}
2200
- */
2201
- proto.Platform.LocalAccountProto.AddClientRequest.deserializeBinary = function(bytes) {
2202
- var reader = new jspb.BinaryReader(bytes);
2203
- var msg = new proto.Platform.LocalAccountProto.AddClientRequest;
2204
- return proto.Platform.LocalAccountProto.AddClientRequest.deserializeBinaryFromReader(msg, reader);
2205
- };
2206
-
2207
-
2208
- /**
2209
- * Deserializes binary data (in protobuf wire format) from the
2210
- * given reader into the given message object.
2211
- * @param {!proto.Platform.LocalAccountProto.AddClientRequest} msg The message object to deserialize into.
2212
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2213
- * @return {!proto.Platform.LocalAccountProto.AddClientRequest}
2214
- */
2215
- proto.Platform.LocalAccountProto.AddClientRequest.deserializeBinaryFromReader = function(msg, reader) {
2216
- while (reader.nextField()) {
2217
- if (reader.isEndGroup()) {
2218
- break;
2219
- }
2220
- var field = reader.getFieldNumber();
2221
- switch (field) {
2222
- case 1:
2223
- var value = new auth_account_pb.AccountProto;
2224
- reader.readMessage(value,auth_account_pb.AccountProto.deserializeBinaryFromReader);
2225
- msg.setAccount(value);
2226
- break;
2227
- case 2:
2228
- var value = /** @type {number} */ (reader.readInt32());
2229
- msg.setClientId(value);
2230
- break;
2231
- default:
2232
- reader.skipField();
2233
- break;
2234
- }
2235
- }
2236
- return msg;
2237
- };
2238
-
2239
-
2240
- /**
2241
- * Serializes the message to binary data (in protobuf wire format).
2242
- * @return {!Uint8Array}
2243
- */
2244
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.serializeBinary = function() {
2245
- var writer = new jspb.BinaryWriter();
2246
- proto.Platform.LocalAccountProto.AddClientRequest.serializeBinaryToWriter(this, writer);
2247
- return writer.getResultBuffer();
2248
- };
2249
-
2250
-
2251
- /**
2252
- * Serializes the given message to binary data (in protobuf wire
2253
- * format), writing to the given BinaryWriter.
2254
- * @param {!proto.Platform.LocalAccountProto.AddClientRequest} message
2255
- * @param {!jspb.BinaryWriter} writer
2256
- * @suppress {unusedLocalVariables} f is only used for nested messages
2257
- */
2258
- proto.Platform.LocalAccountProto.AddClientRequest.serializeBinaryToWriter = function(message, writer) {
2259
- var f = undefined;
2260
- f = message.getAccount();
2261
- if (f != null) {
2262
- writer.writeMessage(
2263
- 1,
2264
- f,
2265
- auth_account_pb.AccountProto.serializeBinaryToWriter
2266
- );
2267
- }
2268
- f = message.getClientId();
2269
- if (f !== 0) {
2270
- writer.writeInt32(
2271
- 2,
2272
- f
2273
- );
2274
- }
2275
- };
2276
-
2277
-
2278
- /**
2279
- * optional Auth.AccountProto account = 1;
2280
- * @return {?proto.Auth.AccountProto}
2281
- */
2282
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.getAccount = function() {
2283
- return /** @type{?proto.Auth.AccountProto} */ (
2284
- jspb.Message.getWrapperField(this, auth_account_pb.AccountProto, 1));
2285
- };
2286
-
2287
-
2288
- /**
2289
- * @param {?proto.Auth.AccountProto|undefined} value
2290
- * @return {!proto.Platform.LocalAccountProto.AddClientRequest} returns this
2291
- */
2292
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.setAccount = function(value) {
2293
- return jspb.Message.setWrapperField(this, 1, value);
2294
- };
2295
-
2296
-
2297
- /**
2298
- * Clears the message field making it undefined.
2299
- * @return {!proto.Platform.LocalAccountProto.AddClientRequest} returns this
2300
- */
2301
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.clearAccount = function() {
2302
- return this.setAccount(undefined);
2303
- };
2304
-
2305
-
2306
- /**
2307
- * Returns whether this field is set.
2308
- * @return {boolean}
2309
- */
2310
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.hasAccount = function() {
2311
- return jspb.Message.getField(this, 1) != null;
2312
- };
2313
-
2314
-
2315
- /**
2316
- * optional int32 client_id = 2;
2317
- * @return {number}
2318
- */
2319
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.getClientId = function() {
2320
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2321
- };
2322
-
2323
-
2324
- /**
2325
- * @param {number} value
2326
- * @return {!proto.Platform.LocalAccountProto.AddClientRequest} returns this
2327
- */
2328
- proto.Platform.LocalAccountProto.AddClientRequest.prototype.setClientId = function(value) {
2329
- return jspb.Message.setProto3IntField(this, 2, value);
2330
- };
2331
-
2332
-
2333
-
2334
-
2335
-
2336
- if (jspb.Message.GENERATE_TO_OBJECT) {
2337
- /**
2338
- * Creates an object representation of this proto.
2339
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2340
- * Optional fields that are not set will be set to undefined.
2341
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2342
- * For the list of reserved names please see:
2343
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2344
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2345
- * JSPB instance for transitional soy proto support:
2346
- * http://goto/soy-param-migration
2347
- * @return {!Object}
2348
- */
2349
- proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.toObject = function(opt_includeInstance) {
2350
- return proto.Platform.LocalAccountProto.RemoveClientRequest.toObject(opt_includeInstance, this);
2351
- };
2352
-
2353
-
2354
- /**
2355
- * Static version of the {@see toObject} method.
2356
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2357
- * the JSPB instance for transitional soy proto support:
2358
- * http://goto/soy-param-migration
2359
- * @param {!proto.Platform.LocalAccountProto.RemoveClientRequest} msg The msg instance to transform.
2360
- * @return {!Object}
2361
- * @suppress {unusedLocalVariables} f is only used for nested messages
2362
- */
2363
- proto.Platform.LocalAccountProto.RemoveClientRequest.toObject = function(includeInstance, msg) {
2364
- var f, obj = {
2365
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
2366
- clientId: jspb.Message.getFieldWithDefault(msg, 2, 0)
2367
- };
2368
-
2369
- if (includeInstance) {
2370
- obj.$jspbMessageInstance = msg;
2371
- }
2372
- return obj;
2373
- };
2374
- }
2375
-
2376
-
2377
- /**
2378
- * Deserializes binary data (in protobuf wire format).
2379
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2380
- * @return {!proto.Platform.LocalAccountProto.RemoveClientRequest}
2381
- */
2382
- proto.Platform.LocalAccountProto.RemoveClientRequest.deserializeBinary = function(bytes) {
2383
- var reader = new jspb.BinaryReader(bytes);
2384
- var msg = new proto.Platform.LocalAccountProto.RemoveClientRequest;
2385
- return proto.Platform.LocalAccountProto.RemoveClientRequest.deserializeBinaryFromReader(msg, reader);
2386
- };
2387
-
2388
-
2389
- /**
2390
- * Deserializes binary data (in protobuf wire format) from the
2391
- * given reader into the given message object.
2392
- * @param {!proto.Platform.LocalAccountProto.RemoveClientRequest} msg The message object to deserialize into.
2393
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2394
- * @return {!proto.Platform.LocalAccountProto.RemoveClientRequest}
2395
- */
2396
- proto.Platform.LocalAccountProto.RemoveClientRequest.deserializeBinaryFromReader = function(msg, reader) {
2397
- while (reader.nextField()) {
2398
- if (reader.isEndGroup()) {
2399
- break;
2400
- }
2401
- var field = reader.getFieldNumber();
2402
- switch (field) {
2403
- case 1:
2404
- var value = /** @type {number} */ (reader.readInt64());
2405
- msg.setId(value);
2406
- break;
2407
- case 2:
2408
- var value = /** @type {number} */ (reader.readInt32());
2409
- msg.setClientId(value);
2410
- break;
2411
- default:
2412
- reader.skipField();
2413
- break;
2414
- }
2415
- }
2416
- return msg;
2417
- };
2418
-
2419
-
2420
- /**
2421
- * Serializes the message to binary data (in protobuf wire format).
2422
- * @return {!Uint8Array}
2423
- */
2424
- proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.serializeBinary = function() {
2425
- var writer = new jspb.BinaryWriter();
2426
- proto.Platform.LocalAccountProto.RemoveClientRequest.serializeBinaryToWriter(this, writer);
2427
- return writer.getResultBuffer();
2428
- };
2429
-
2430
-
2431
- /**
2432
- * Serializes the given message to binary data (in protobuf wire
2433
- * format), writing to the given BinaryWriter.
2434
- * @param {!proto.Platform.LocalAccountProto.RemoveClientRequest} message
2435
- * @param {!jspb.BinaryWriter} writer
2436
- * @suppress {unusedLocalVariables} f is only used for nested messages
2437
- */
2438
- proto.Platform.LocalAccountProto.RemoveClientRequest.serializeBinaryToWriter = function(message, writer) {
2439
- var f = undefined;
2440
- f = message.getId();
2441
- if (f !== 0) {
2442
- writer.writeInt64(
2443
- 1,
2444
- f
2445
- );
2446
- }
2447
- f = message.getClientId();
2448
- if (f !== 0) {
2449
- writer.writeInt32(
2450
- 2,
2451
- f
2452
- );
2453
- }
2454
- };
2455
-
2456
-
2457
- /**
2458
- * optional int64 id = 1;
2459
- * @return {number}
2460
- */
2461
- proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.getId = function() {
2462
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2463
- };
2464
-
2465
-
2466
- /**
2467
- * @param {number} value
2468
- * @return {!proto.Platform.LocalAccountProto.RemoveClientRequest} returns this
2469
- */
2470
- proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.setId = function(value) {
2471
- return jspb.Message.setProto3IntField(this, 1, value);
2472
- };
2473
-
2474
-
2475
- /**
2476
- * optional int32 client_id = 2;
2477
- * @return {number}
2478
- */
2479
- proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.getClientId = function() {
2480
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2481
- };
2482
-
2483
-
2484
- /**
2485
- * @param {number} value
2486
- * @return {!proto.Platform.LocalAccountProto.RemoveClientRequest} returns this
2487
- */
2488
- proto.Platform.LocalAccountProto.RemoveClientRequest.prototype.setClientId = function(value) {
2489
- return jspb.Message.setProto3IntField(this, 2, value);
2490
- };
2491
-
2492
-
2493
-
2494
-
2495
-
2496
2123
  if (jspb.Message.GENERATE_TO_OBJECT) {
2497
2124
  /**
2498
2125
  * Creates an object representation of this proto.
@@ -3315,4 +2942,22 @@ proto.Platform.LocalAccountProto.prototype.setStatus = function(value) {
3315
2942
  };
3316
2943
 
3317
2944
 
2945
+ /**
2946
+ * optional bool deleted = 13;
2947
+ * @return {boolean}
2948
+ */
2949
+ proto.Platform.LocalAccountProto.prototype.getDeleted = function() {
2950
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 13, false));
2951
+ };
2952
+
2953
+
2954
+ /**
2955
+ * @param {boolean} value
2956
+ * @return {!proto.Platform.LocalAccountProto} returns this
2957
+ */
2958
+ proto.Platform.LocalAccountProto.prototype.setDeleted = function(value) {
2959
+ return jspb.Message.setProto3BooleanField(this, 13, value);
2960
+ };
2961
+
2962
+
3318
2963
  goog.object.extend(exports, proto.Platform);
@@ -132,33 +132,6 @@ type LocalAccountGRPCUpdateExpiredAt = {
132
132
  readonly responseType: typeof platform_local_account_pb.LocalAccountProto;
133
133
  };
134
134
 
135
- type LocalAccountGRPCSetSystemAdminClient = {
136
- readonly methodName: string;
137
- readonly service: typeof LocalAccountGRPC;
138
- readonly requestStream: false;
139
- readonly responseStream: false;
140
- readonly requestType: typeof platform_local_account_pb.LocalAccountProto.SetClientRequest;
141
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
142
- };
143
-
144
- type LocalAccountGRPCAddClient = {
145
- readonly methodName: string;
146
- readonly service: typeof LocalAccountGRPC;
147
- readonly requestStream: false;
148
- readonly responseStream: false;
149
- readonly requestType: typeof platform_local_account_pb.LocalAccountProto.AddClientRequest;
150
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
151
- };
152
-
153
- type LocalAccountGRPCRemoveClient = {
154
- readonly methodName: string;
155
- readonly service: typeof LocalAccountGRPC;
156
- readonly requestStream: false;
157
- readonly responseStream: false;
158
- readonly requestType: typeof platform_local_account_pb.LocalAccountProto.RemoveClientRequest;
159
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
160
- };
161
-
162
135
  type LocalAccountGRPCResendAdminUserInvitation = {
163
136
  readonly methodName: string;
164
137
  readonly service: typeof LocalAccountGRPC;
@@ -184,9 +157,6 @@ export class LocalAccountGRPC {
184
157
  static readonly EnableAccount: LocalAccountGRPCEnableAccount;
185
158
  static readonly DisableAccount: LocalAccountGRPCDisableAccount;
186
159
  static readonly UpdateExpiredAt: LocalAccountGRPCUpdateExpiredAt;
187
- static readonly SetSystemAdminClient: LocalAccountGRPCSetSystemAdminClient;
188
- static readonly AddClient: LocalAccountGRPCAddClient;
189
- static readonly RemoveClient: LocalAccountGRPCRemoveClient;
190
160
  static readonly ResendAdminUserInvitation: LocalAccountGRPCResendAdminUserInvitation;
191
161
  }
192
162
 
@@ -348,33 +318,6 @@ export class LocalAccountGRPCClient {
348
318
  requestMessage: platform_local_account_pb.LocalAccountProto.UpdateExpiredAt,
349
319
  callback: (error: ServiceError|null, responseMessage: platform_local_account_pb.LocalAccountProto|null) => void
350
320
  ): UnaryResponse;
351
- setSystemAdminClient(
352
- requestMessage: platform_local_account_pb.LocalAccountProto.SetClientRequest,
353
- metadata: grpc.Metadata,
354
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
355
- ): UnaryResponse;
356
- setSystemAdminClient(
357
- requestMessage: platform_local_account_pb.LocalAccountProto.SetClientRequest,
358
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
359
- ): UnaryResponse;
360
- addClient(
361
- requestMessage: platform_local_account_pb.LocalAccountProto.AddClientRequest,
362
- metadata: grpc.Metadata,
363
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
364
- ): UnaryResponse;
365
- addClient(
366
- requestMessage: platform_local_account_pb.LocalAccountProto.AddClientRequest,
367
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
368
- ): UnaryResponse;
369
- removeClient(
370
- requestMessage: platform_local_account_pb.LocalAccountProto.RemoveClientRequest,
371
- metadata: grpc.Metadata,
372
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
373
- ): UnaryResponse;
374
- removeClient(
375
- requestMessage: platform_local_account_pb.LocalAccountProto.RemoveClientRequest,
376
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
377
- ): UnaryResponse;
378
321
  resendAdminUserInvitation(
379
322
  requestMessage: platform_local_account_pb.LocalAccountProto.ResendInvitationRequest,
380
323
  metadata: grpc.Metadata,
@@ -138,33 +138,6 @@ LocalAccountGRPC.UpdateExpiredAt = {
138
138
  responseType: platform_local_account_pb.LocalAccountProto
139
139
  };
140
140
 
141
- LocalAccountGRPC.SetSystemAdminClient = {
142
- methodName: "SetSystemAdminClient",
143
- service: LocalAccountGRPC,
144
- requestStream: false,
145
- responseStream: false,
146
- requestType: platform_local_account_pb.LocalAccountProto.SetClientRequest,
147
- responseType: google_protobuf_empty_pb.Empty
148
- };
149
-
150
- LocalAccountGRPC.AddClient = {
151
- methodName: "AddClient",
152
- service: LocalAccountGRPC,
153
- requestStream: false,
154
- responseStream: false,
155
- requestType: platform_local_account_pb.LocalAccountProto.AddClientRequest,
156
- responseType: google_protobuf_empty_pb.Empty
157
- };
158
-
159
- LocalAccountGRPC.RemoveClient = {
160
- methodName: "RemoveClient",
161
- service: LocalAccountGRPC,
162
- requestStream: false,
163
- responseStream: false,
164
- requestType: platform_local_account_pb.LocalAccountProto.RemoveClientRequest,
165
- responseType: google_protobuf_empty_pb.Empty
166
- };
167
-
168
141
  LocalAccountGRPC.ResendAdminUserInvitation = {
169
142
  methodName: "ResendAdminUserInvitation",
170
143
  service: LocalAccountGRPC,
@@ -615,99 +588,6 @@ LocalAccountGRPCClient.prototype.updateExpiredAt = function updateExpiredAt(requ
615
588
  };
616
589
  };
617
590
 
618
- LocalAccountGRPCClient.prototype.setSystemAdminClient = function setSystemAdminClient(requestMessage, metadata, callback) {
619
- if (arguments.length === 2) {
620
- callback = arguments[1];
621
- }
622
- var client = grpc.unary(LocalAccountGRPC.SetSystemAdminClient, {
623
- request: requestMessage,
624
- host: this.serviceHost,
625
- metadata: metadata,
626
- transport: this.options.transport,
627
- debug: this.options.debug,
628
- onEnd: function (response) {
629
- if (callback) {
630
- if (response.status !== grpc.Code.OK) {
631
- var err = new Error(response.statusMessage);
632
- err.code = response.status;
633
- err.metadata = response.trailers;
634
- callback(err, null);
635
- } else {
636
- callback(null, response.message);
637
- }
638
- }
639
- }
640
- });
641
- return {
642
- cancel: function () {
643
- callback = null;
644
- client.close();
645
- }
646
- };
647
- };
648
-
649
- LocalAccountGRPCClient.prototype.addClient = function addClient(requestMessage, metadata, callback) {
650
- if (arguments.length === 2) {
651
- callback = arguments[1];
652
- }
653
- var client = grpc.unary(LocalAccountGRPC.AddClient, {
654
- request: requestMessage,
655
- host: this.serviceHost,
656
- metadata: metadata,
657
- transport: this.options.transport,
658
- debug: this.options.debug,
659
- onEnd: function (response) {
660
- if (callback) {
661
- if (response.status !== grpc.Code.OK) {
662
- var err = new Error(response.statusMessage);
663
- err.code = response.status;
664
- err.metadata = response.trailers;
665
- callback(err, null);
666
- } else {
667
- callback(null, response.message);
668
- }
669
- }
670
- }
671
- });
672
- return {
673
- cancel: function () {
674
- callback = null;
675
- client.close();
676
- }
677
- };
678
- };
679
-
680
- LocalAccountGRPCClient.prototype.removeClient = function removeClient(requestMessage, metadata, callback) {
681
- if (arguments.length === 2) {
682
- callback = arguments[1];
683
- }
684
- var client = grpc.unary(LocalAccountGRPC.RemoveClient, {
685
- request: requestMessage,
686
- host: this.serviceHost,
687
- metadata: metadata,
688
- transport: this.options.transport,
689
- debug: this.options.debug,
690
- onEnd: function (response) {
691
- if (callback) {
692
- if (response.status !== grpc.Code.OK) {
693
- var err = new Error(response.statusMessage);
694
- err.code = response.status;
695
- err.metadata = response.trailers;
696
- callback(err, null);
697
- } else {
698
- callback(null, response.message);
699
- }
700
- }
701
- }
702
- });
703
- return {
704
- cancel: function () {
705
- callback = null;
706
- client.close();
707
- }
708
- };
709
- };
710
-
711
591
  LocalAccountGRPCClient.prototype.resendAdminUserInvitation = function resendAdminUserInvitation(requestMessage, metadata, callback) {
712
592
  if (arguments.length === 2) {
713
593
  callback = arguments[1];