@aldiokta/protocgen 1.0.53 → 1.0.55
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/package.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
'use strict';
|
|
7
7
|
var grpc = require('@grpc/grpc-js');
|
|
8
8
|
var prisca_v1_core_auth_auth_pb = require('../../../../prisca/v1/core/auth/auth_pb.js');
|
|
9
|
+
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
9
10
|
|
|
10
11
|
function serialize_AccessApiCredential(arg) {
|
|
11
12
|
if (!(arg instanceof prisca_v1_core_auth_auth_pb.AccessApiCredential)) {
|
|
@@ -62,6 +63,28 @@ function deserialize_AuthVerifyToken(buffer_arg) {
|
|
|
62
63
|
return prisca_v1_core_auth_auth_pb.AuthVerifyToken.deserializeBinary(new Uint8Array(buffer_arg));
|
|
63
64
|
}
|
|
64
65
|
|
|
66
|
+
function serialize_ChangePasswordRequest(arg) {
|
|
67
|
+
if (!(arg instanceof prisca_v1_core_auth_auth_pb.ChangePasswordRequest)) {
|
|
68
|
+
throw new Error('Expected argument of type ChangePasswordRequest');
|
|
69
|
+
}
|
|
70
|
+
return Buffer.from(arg.serializeBinary());
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
function deserialize_ChangePasswordRequest(buffer_arg) {
|
|
74
|
+
return prisca_v1_core_auth_auth_pb.ChangePasswordRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
function serialize_ChangePasswordResponse(arg) {
|
|
78
|
+
if (!(arg instanceof prisca_v1_core_auth_auth_pb.ChangePasswordResponse)) {
|
|
79
|
+
throw new Error('Expected argument of type ChangePasswordResponse');
|
|
80
|
+
}
|
|
81
|
+
return Buffer.from(arg.serializeBinary());
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
function deserialize_ChangePasswordResponse(buffer_arg) {
|
|
85
|
+
return prisca_v1_core_auth_auth_pb.ChangePasswordResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
86
|
+
}
|
|
87
|
+
|
|
65
88
|
function serialize_CreateUserPayload(arg) {
|
|
66
89
|
if (!(arg instanceof prisca_v1_core_auth_auth_pb.CreateUserPayload)) {
|
|
67
90
|
throw new Error('Expected argument of type CreateUserPayload');
|
|
@@ -306,6 +329,17 @@ var AuthServiceService = exports.AuthServiceService = {
|
|
|
306
329
|
responseSerialize: serialize_UserResponse,
|
|
307
330
|
responseDeserialize: deserialize_UserResponse,
|
|
308
331
|
},
|
|
332
|
+
changePassword: {
|
|
333
|
+
path: '/AuthService/ChangePassword',
|
|
334
|
+
requestStream: false,
|
|
335
|
+
responseStream: false,
|
|
336
|
+
requestType: prisca_v1_core_auth_auth_pb.ChangePasswordRequest,
|
|
337
|
+
responseType: prisca_v1_core_auth_auth_pb.ChangePasswordResponse,
|
|
338
|
+
requestSerialize: serialize_ChangePasswordRequest,
|
|
339
|
+
requestDeserialize: deserialize_ChangePasswordRequest,
|
|
340
|
+
responseSerialize: serialize_ChangePasswordResponse,
|
|
341
|
+
responseDeserialize: deserialize_ChangePasswordResponse,
|
|
342
|
+
},
|
|
309
343
|
};
|
|
310
344
|
|
|
311
345
|
exports.AuthServiceClient = grpc.makeGenericClientConstructor(AuthServiceService);
|
|
@@ -21,11 +21,15 @@ var global =
|
|
|
21
21
|
(function () { return this; }).call(null) ||
|
|
22
22
|
Function('return this')();
|
|
23
23
|
|
|
24
|
+
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
25
|
+
goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
|
|
24
26
|
goog.exportSymbol('proto.AccessApiCredential', null, global);
|
|
25
27
|
goog.exportSymbol('proto.AccessApiManagersResponse', null, global);
|
|
26
28
|
goog.exportSymbol('proto.AccessCreateRequest', null, global);
|
|
27
29
|
goog.exportSymbol('proto.AccessResponse', null, global);
|
|
28
30
|
goog.exportSymbol('proto.AuthVerifyToken', null, global);
|
|
31
|
+
goog.exportSymbol('proto.ChangePasswordRequest', null, global);
|
|
32
|
+
goog.exportSymbol('proto.ChangePasswordResponse', null, global);
|
|
29
33
|
goog.exportSymbol('proto.CreateUserPayload', null, global);
|
|
30
34
|
goog.exportSymbol('proto.ForgotPassworReq', null, global);
|
|
31
35
|
goog.exportSymbol('proto.GetAccessByIdPayload', null, global);
|
|
@@ -289,6 +293,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
289
293
|
*/
|
|
290
294
|
proto.UpdateUserPayload.displayName = 'proto.UpdateUserPayload';
|
|
291
295
|
}
|
|
296
|
+
/**
|
|
297
|
+
* Generated by JsPbCodeGenerator.
|
|
298
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
299
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
300
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
301
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
302
|
+
* valid.
|
|
303
|
+
* @extends {jspb.Message}
|
|
304
|
+
* @constructor
|
|
305
|
+
*/
|
|
306
|
+
proto.ChangePasswordRequest = function(opt_data) {
|
|
307
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
308
|
+
};
|
|
309
|
+
goog.inherits(proto.ChangePasswordRequest, jspb.Message);
|
|
310
|
+
if (goog.DEBUG && !COMPILED) {
|
|
311
|
+
/**
|
|
312
|
+
* @public
|
|
313
|
+
* @override
|
|
314
|
+
*/
|
|
315
|
+
proto.ChangePasswordRequest.displayName = 'proto.ChangePasswordRequest';
|
|
316
|
+
}
|
|
292
317
|
/**
|
|
293
318
|
* Generated by JsPbCodeGenerator.
|
|
294
319
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -373,6 +398,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
373
398
|
*/
|
|
374
399
|
proto.ListAccessResponse.displayName = 'proto.ListAccessResponse';
|
|
375
400
|
}
|
|
401
|
+
/**
|
|
402
|
+
* Generated by JsPbCodeGenerator.
|
|
403
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
404
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
405
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
406
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
407
|
+
* valid.
|
|
408
|
+
* @extends {jspb.Message}
|
|
409
|
+
* @constructor
|
|
410
|
+
*/
|
|
411
|
+
proto.ChangePasswordResponse = function(opt_data) {
|
|
412
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
413
|
+
};
|
|
414
|
+
goog.inherits(proto.ChangePasswordResponse, jspb.Message);
|
|
415
|
+
if (goog.DEBUG && !COMPILED) {
|
|
416
|
+
/**
|
|
417
|
+
* @public
|
|
418
|
+
* @override
|
|
419
|
+
*/
|
|
420
|
+
proto.ChangePasswordResponse.displayName = 'proto.ChangePasswordResponse';
|
|
421
|
+
}
|
|
376
422
|
|
|
377
423
|
|
|
378
424
|
|
|
@@ -2236,6 +2282,166 @@ proto.UpdateUserPayload.prototype.setPassword = function(value) {
|
|
|
2236
2282
|
|
|
2237
2283
|
|
|
2238
2284
|
|
|
2285
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2286
|
+
/**
|
|
2287
|
+
* Creates an object representation of this proto.
|
|
2288
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2289
|
+
* Optional fields that are not set will be set to undefined.
|
|
2290
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2291
|
+
* For the list of reserved names please see:
|
|
2292
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2293
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2294
|
+
* JSPB instance for transitional soy proto support:
|
|
2295
|
+
* http://goto/soy-param-migration
|
|
2296
|
+
* @return {!Object}
|
|
2297
|
+
*/
|
|
2298
|
+
proto.ChangePasswordRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2299
|
+
return proto.ChangePasswordRequest.toObject(opt_includeInstance, this);
|
|
2300
|
+
};
|
|
2301
|
+
|
|
2302
|
+
|
|
2303
|
+
/**
|
|
2304
|
+
* Static version of the {@see toObject} method.
|
|
2305
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2306
|
+
* the JSPB instance for transitional soy proto support:
|
|
2307
|
+
* http://goto/soy-param-migration
|
|
2308
|
+
* @param {!proto.ChangePasswordRequest} msg The msg instance to transform.
|
|
2309
|
+
* @return {!Object}
|
|
2310
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2311
|
+
*/
|
|
2312
|
+
proto.ChangePasswordRequest.toObject = function(includeInstance, msg) {
|
|
2313
|
+
var f, obj = {
|
|
2314
|
+
oldPassword: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2315
|
+
newPassword: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2316
|
+
};
|
|
2317
|
+
|
|
2318
|
+
if (includeInstance) {
|
|
2319
|
+
obj.$jspbMessageInstance = msg;
|
|
2320
|
+
}
|
|
2321
|
+
return obj;
|
|
2322
|
+
};
|
|
2323
|
+
}
|
|
2324
|
+
|
|
2325
|
+
|
|
2326
|
+
/**
|
|
2327
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2328
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2329
|
+
* @return {!proto.ChangePasswordRequest}
|
|
2330
|
+
*/
|
|
2331
|
+
proto.ChangePasswordRequest.deserializeBinary = function(bytes) {
|
|
2332
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2333
|
+
var msg = new proto.ChangePasswordRequest;
|
|
2334
|
+
return proto.ChangePasswordRequest.deserializeBinaryFromReader(msg, reader);
|
|
2335
|
+
};
|
|
2336
|
+
|
|
2337
|
+
|
|
2338
|
+
/**
|
|
2339
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2340
|
+
* given reader into the given message object.
|
|
2341
|
+
* @param {!proto.ChangePasswordRequest} msg The message object to deserialize into.
|
|
2342
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2343
|
+
* @return {!proto.ChangePasswordRequest}
|
|
2344
|
+
*/
|
|
2345
|
+
proto.ChangePasswordRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2346
|
+
while (reader.nextField()) {
|
|
2347
|
+
if (reader.isEndGroup()) {
|
|
2348
|
+
break;
|
|
2349
|
+
}
|
|
2350
|
+
var field = reader.getFieldNumber();
|
|
2351
|
+
switch (field) {
|
|
2352
|
+
case 1:
|
|
2353
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2354
|
+
msg.setOldPassword(value);
|
|
2355
|
+
break;
|
|
2356
|
+
case 2:
|
|
2357
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2358
|
+
msg.setNewPassword(value);
|
|
2359
|
+
break;
|
|
2360
|
+
default:
|
|
2361
|
+
reader.skipField();
|
|
2362
|
+
break;
|
|
2363
|
+
}
|
|
2364
|
+
}
|
|
2365
|
+
return msg;
|
|
2366
|
+
};
|
|
2367
|
+
|
|
2368
|
+
|
|
2369
|
+
/**
|
|
2370
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2371
|
+
* @return {!Uint8Array}
|
|
2372
|
+
*/
|
|
2373
|
+
proto.ChangePasswordRequest.prototype.serializeBinary = function() {
|
|
2374
|
+
var writer = new jspb.BinaryWriter();
|
|
2375
|
+
proto.ChangePasswordRequest.serializeBinaryToWriter(this, writer);
|
|
2376
|
+
return writer.getResultBuffer();
|
|
2377
|
+
};
|
|
2378
|
+
|
|
2379
|
+
|
|
2380
|
+
/**
|
|
2381
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2382
|
+
* format), writing to the given BinaryWriter.
|
|
2383
|
+
* @param {!proto.ChangePasswordRequest} message
|
|
2384
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2385
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2386
|
+
*/
|
|
2387
|
+
proto.ChangePasswordRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2388
|
+
var f = undefined;
|
|
2389
|
+
f = message.getOldPassword();
|
|
2390
|
+
if (f.length > 0) {
|
|
2391
|
+
writer.writeString(
|
|
2392
|
+
1,
|
|
2393
|
+
f
|
|
2394
|
+
);
|
|
2395
|
+
}
|
|
2396
|
+
f = message.getNewPassword();
|
|
2397
|
+
if (f.length > 0) {
|
|
2398
|
+
writer.writeString(
|
|
2399
|
+
2,
|
|
2400
|
+
f
|
|
2401
|
+
);
|
|
2402
|
+
}
|
|
2403
|
+
};
|
|
2404
|
+
|
|
2405
|
+
|
|
2406
|
+
/**
|
|
2407
|
+
* optional string old_password = 1;
|
|
2408
|
+
* @return {string}
|
|
2409
|
+
*/
|
|
2410
|
+
proto.ChangePasswordRequest.prototype.getOldPassword = function() {
|
|
2411
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2412
|
+
};
|
|
2413
|
+
|
|
2414
|
+
|
|
2415
|
+
/**
|
|
2416
|
+
* @param {string} value
|
|
2417
|
+
* @return {!proto.ChangePasswordRequest} returns this
|
|
2418
|
+
*/
|
|
2419
|
+
proto.ChangePasswordRequest.prototype.setOldPassword = function(value) {
|
|
2420
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2421
|
+
};
|
|
2422
|
+
|
|
2423
|
+
|
|
2424
|
+
/**
|
|
2425
|
+
* optional string new_password = 2;
|
|
2426
|
+
* @return {string}
|
|
2427
|
+
*/
|
|
2428
|
+
proto.ChangePasswordRequest.prototype.getNewPassword = function() {
|
|
2429
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2430
|
+
};
|
|
2431
|
+
|
|
2432
|
+
|
|
2433
|
+
/**
|
|
2434
|
+
* @param {string} value
|
|
2435
|
+
* @return {!proto.ChangePasswordRequest} returns this
|
|
2436
|
+
*/
|
|
2437
|
+
proto.ChangePasswordRequest.prototype.setNewPassword = function(value) {
|
|
2438
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2439
|
+
};
|
|
2440
|
+
|
|
2441
|
+
|
|
2442
|
+
|
|
2443
|
+
|
|
2444
|
+
|
|
2239
2445
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2240
2446
|
/**
|
|
2241
2447
|
* Creates an object representation of this proto.
|
|
@@ -3233,4 +3439,155 @@ proto.ListAccessResponse.prototype.clearDataList = function() {
|
|
|
3233
3439
|
};
|
|
3234
3440
|
|
|
3235
3441
|
|
|
3442
|
+
|
|
3443
|
+
|
|
3444
|
+
|
|
3445
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3446
|
+
/**
|
|
3447
|
+
* Creates an object representation of this proto.
|
|
3448
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3449
|
+
* Optional fields that are not set will be set to undefined.
|
|
3450
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3451
|
+
* For the list of reserved names please see:
|
|
3452
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3453
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3454
|
+
* JSPB instance for transitional soy proto support:
|
|
3455
|
+
* http://goto/soy-param-migration
|
|
3456
|
+
* @return {!Object}
|
|
3457
|
+
*/
|
|
3458
|
+
proto.ChangePasswordResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3459
|
+
return proto.ChangePasswordResponse.toObject(opt_includeInstance, this);
|
|
3460
|
+
};
|
|
3461
|
+
|
|
3462
|
+
|
|
3463
|
+
/**
|
|
3464
|
+
* Static version of the {@see toObject} method.
|
|
3465
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3466
|
+
* the JSPB instance for transitional soy proto support:
|
|
3467
|
+
* http://goto/soy-param-migration
|
|
3468
|
+
* @param {!proto.ChangePasswordResponse} msg The msg instance to transform.
|
|
3469
|
+
* @return {!Object}
|
|
3470
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3471
|
+
*/
|
|
3472
|
+
proto.ChangePasswordResponse.toObject = function(includeInstance, msg) {
|
|
3473
|
+
var f, obj = {
|
|
3474
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3475
|
+
};
|
|
3476
|
+
|
|
3477
|
+
if (includeInstance) {
|
|
3478
|
+
obj.$jspbMessageInstance = msg;
|
|
3479
|
+
}
|
|
3480
|
+
return obj;
|
|
3481
|
+
};
|
|
3482
|
+
}
|
|
3483
|
+
|
|
3484
|
+
|
|
3485
|
+
/**
|
|
3486
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3487
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3488
|
+
* @return {!proto.ChangePasswordResponse}
|
|
3489
|
+
*/
|
|
3490
|
+
proto.ChangePasswordResponse.deserializeBinary = function(bytes) {
|
|
3491
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3492
|
+
var msg = new proto.ChangePasswordResponse;
|
|
3493
|
+
return proto.ChangePasswordResponse.deserializeBinaryFromReader(msg, reader);
|
|
3494
|
+
};
|
|
3495
|
+
|
|
3496
|
+
|
|
3497
|
+
/**
|
|
3498
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3499
|
+
* given reader into the given message object.
|
|
3500
|
+
* @param {!proto.ChangePasswordResponse} msg The message object to deserialize into.
|
|
3501
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3502
|
+
* @return {!proto.ChangePasswordResponse}
|
|
3503
|
+
*/
|
|
3504
|
+
proto.ChangePasswordResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3505
|
+
while (reader.nextField()) {
|
|
3506
|
+
if (reader.isEndGroup()) {
|
|
3507
|
+
break;
|
|
3508
|
+
}
|
|
3509
|
+
var field = reader.getFieldNumber();
|
|
3510
|
+
switch (field) {
|
|
3511
|
+
case 1:
|
|
3512
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
3513
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
3514
|
+
msg.setMeta(value);
|
|
3515
|
+
break;
|
|
3516
|
+
default:
|
|
3517
|
+
reader.skipField();
|
|
3518
|
+
break;
|
|
3519
|
+
}
|
|
3520
|
+
}
|
|
3521
|
+
return msg;
|
|
3522
|
+
};
|
|
3523
|
+
|
|
3524
|
+
|
|
3525
|
+
/**
|
|
3526
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3527
|
+
* @return {!Uint8Array}
|
|
3528
|
+
*/
|
|
3529
|
+
proto.ChangePasswordResponse.prototype.serializeBinary = function() {
|
|
3530
|
+
var writer = new jspb.BinaryWriter();
|
|
3531
|
+
proto.ChangePasswordResponse.serializeBinaryToWriter(this, writer);
|
|
3532
|
+
return writer.getResultBuffer();
|
|
3533
|
+
};
|
|
3534
|
+
|
|
3535
|
+
|
|
3536
|
+
/**
|
|
3537
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3538
|
+
* format), writing to the given BinaryWriter.
|
|
3539
|
+
* @param {!proto.ChangePasswordResponse} message
|
|
3540
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3541
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3542
|
+
*/
|
|
3543
|
+
proto.ChangePasswordResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3544
|
+
var f = undefined;
|
|
3545
|
+
f = message.getMeta();
|
|
3546
|
+
if (f != null) {
|
|
3547
|
+
writer.writeMessage(
|
|
3548
|
+
1,
|
|
3549
|
+
f,
|
|
3550
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
3551
|
+
);
|
|
3552
|
+
}
|
|
3553
|
+
};
|
|
3554
|
+
|
|
3555
|
+
|
|
3556
|
+
/**
|
|
3557
|
+
* optional prisca.v1.global.meta.Meta meta = 1;
|
|
3558
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
3559
|
+
*/
|
|
3560
|
+
proto.ChangePasswordResponse.prototype.getMeta = function() {
|
|
3561
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
3562
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 1));
|
|
3563
|
+
};
|
|
3564
|
+
|
|
3565
|
+
|
|
3566
|
+
/**
|
|
3567
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
3568
|
+
* @return {!proto.ChangePasswordResponse} returns this
|
|
3569
|
+
*/
|
|
3570
|
+
proto.ChangePasswordResponse.prototype.setMeta = function(value) {
|
|
3571
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
3572
|
+
};
|
|
3573
|
+
|
|
3574
|
+
|
|
3575
|
+
/**
|
|
3576
|
+
* Clears the message field making it undefined.
|
|
3577
|
+
* @return {!proto.ChangePasswordResponse} returns this
|
|
3578
|
+
*/
|
|
3579
|
+
proto.ChangePasswordResponse.prototype.clearMeta = function() {
|
|
3580
|
+
return this.setMeta(undefined);
|
|
3581
|
+
};
|
|
3582
|
+
|
|
3583
|
+
|
|
3584
|
+
/**
|
|
3585
|
+
* Returns whether this field is set.
|
|
3586
|
+
* @return {boolean}
|
|
3587
|
+
*/
|
|
3588
|
+
proto.ChangePasswordResponse.prototype.hasMeta = function() {
|
|
3589
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3590
|
+
};
|
|
3591
|
+
|
|
3592
|
+
|
|
3236
3593
|
goog.object.extend(exports, proto);
|
|
@@ -599,6 +599,7 @@ name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
|
599
599
|
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
600
600
|
parentReferencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
601
601
|
parent: (f = msg.getParent()) && proto.BaseJobTitleParent.toObject(includeInstance, f),
|
|
602
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
602
603
|
company: (f = msg.getCompany()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f)
|
|
603
604
|
};
|
|
604
605
|
|
|
@@ -662,6 +663,10 @@ proto.BaseJobTitle.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
662
663
|
msg.setParent(value);
|
|
663
664
|
break;
|
|
664
665
|
case 7:
|
|
666
|
+
var value = /** @type {string} */ (reader.readString());
|
|
667
|
+
msg.setCompaniesReferencesId(value);
|
|
668
|
+
break;
|
|
669
|
+
case 8:
|
|
665
670
|
var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
|
|
666
671
|
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
|
|
667
672
|
msg.setCompany(value);
|
|
@@ -738,10 +743,17 @@ proto.BaseJobTitle.serializeBinaryToWriter = function(message, writer) {
|
|
|
738
743
|
proto.BaseJobTitleParent.serializeBinaryToWriter
|
|
739
744
|
);
|
|
740
745
|
}
|
|
746
|
+
f = message.getCompaniesReferencesId();
|
|
747
|
+
if (f.length > 0) {
|
|
748
|
+
writer.writeString(
|
|
749
|
+
7,
|
|
750
|
+
f
|
|
751
|
+
);
|
|
752
|
+
}
|
|
741
753
|
f = message.getCompany();
|
|
742
754
|
if (f != null) {
|
|
743
755
|
writer.writeMessage(
|
|
744
|
-
|
|
756
|
+
8,
|
|
745
757
|
f,
|
|
746
758
|
prisca_v1_core_company_company_pb.BaseCompanyParent.serializeBinaryToWriter
|
|
747
759
|
);
|
|
@@ -877,12 +889,30 @@ proto.BaseJobTitle.prototype.hasParent = function() {
|
|
|
877
889
|
|
|
878
890
|
|
|
879
891
|
/**
|
|
880
|
-
* optional
|
|
892
|
+
* optional string companies_references_id = 7;
|
|
893
|
+
* @return {string}
|
|
894
|
+
*/
|
|
895
|
+
proto.BaseJobTitle.prototype.getCompaniesReferencesId = function() {
|
|
896
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
897
|
+
};
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* @param {string} value
|
|
902
|
+
* @return {!proto.BaseJobTitle} returns this
|
|
903
|
+
*/
|
|
904
|
+
proto.BaseJobTitle.prototype.setCompaniesReferencesId = function(value) {
|
|
905
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
906
|
+
};
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* optional BaseCompanyParent company = 8;
|
|
881
911
|
* @return {?proto.BaseCompanyParent}
|
|
882
912
|
*/
|
|
883
913
|
proto.BaseJobTitle.prototype.getCompany = function() {
|
|
884
914
|
return /** @type{?proto.BaseCompanyParent} */ (
|
|
885
|
-
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent,
|
|
915
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 8));
|
|
886
916
|
};
|
|
887
917
|
|
|
888
918
|
|
|
@@ -891,7 +921,7 @@ proto.BaseJobTitle.prototype.getCompany = function() {
|
|
|
891
921
|
* @return {!proto.BaseJobTitle} returns this
|
|
892
922
|
*/
|
|
893
923
|
proto.BaseJobTitle.prototype.setCompany = function(value) {
|
|
894
|
-
return jspb.Message.setWrapperField(this,
|
|
924
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
895
925
|
};
|
|
896
926
|
|
|
897
927
|
|
|
@@ -909,7 +939,7 @@ proto.BaseJobTitle.prototype.clearCompany = function() {
|
|
|
909
939
|
* @return {boolean}
|
|
910
940
|
*/
|
|
911
941
|
proto.BaseJobTitle.prototype.hasCompany = function() {
|
|
912
|
-
return jspb.Message.getField(this,
|
|
942
|
+
return jspb.Message.getField(this, 8) != null;
|
|
913
943
|
};
|
|
914
944
|
|
|
915
945
|
|