@aldiokta/protocgen 1.0.52 → 1.0.54
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 +1 -1
- package/prisca/v1/core/auth/auth_grpc_pb.js +34 -0
- package/prisca/v1/core/auth/auth_pb.js +357 -0
- package/prisca/v1/core/job_grade/job_grade_pb.js +9 -9
- package/prisca/v1/core/job_position/job_position_pb.js +18 -18
- package/prisca/v1/core/job_title/job_title_pb.js +9 -9
- package/prisca/v1/core/organization/organization_pb.js +9 -9
- package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +1 -0
- package/prisca/v1/core/organization_level/organization_level_pb.js +115 -2
- package/prisca/v1/core/work_location/work_location_pb.js +9 -9
- package/prisca/v1/core/workflow/workflow_grpc_pb.js +1 -1
- package/prisca/v1/core/workflow/workflow_pb.js +40 -40
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);
|
|
@@ -546,7 +546,7 @@ code: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
|
546
546
|
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
547
547
|
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
548
548
|
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
549
|
-
|
|
549
|
+
company: (f = msg.getCompany()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f)
|
|
550
550
|
};
|
|
551
551
|
|
|
552
552
|
if (includeInstance) {
|
|
@@ -606,7 +606,7 @@ proto.BaseJobGrade.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
606
606
|
case 6:
|
|
607
607
|
var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
|
|
608
608
|
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
|
|
609
|
-
msg.
|
|
609
|
+
msg.setCompany(value);
|
|
610
610
|
break;
|
|
611
611
|
default:
|
|
612
612
|
reader.skipField();
|
|
@@ -672,7 +672,7 @@ proto.BaseJobGrade.serializeBinaryToWriter = function(message, writer) {
|
|
|
672
672
|
f
|
|
673
673
|
);
|
|
674
674
|
}
|
|
675
|
-
f = message.
|
|
675
|
+
f = message.getCompany();
|
|
676
676
|
if (f != null) {
|
|
677
677
|
writer.writeMessage(
|
|
678
678
|
6,
|
|
@@ -774,10 +774,10 @@ proto.BaseJobGrade.prototype.setCompaniesReferencesId = function(value) {
|
|
|
774
774
|
|
|
775
775
|
|
|
776
776
|
/**
|
|
777
|
-
* optional BaseCompanyParent
|
|
777
|
+
* optional BaseCompanyParent company = 6;
|
|
778
778
|
* @return {?proto.BaseCompanyParent}
|
|
779
779
|
*/
|
|
780
|
-
proto.BaseJobGrade.prototype.
|
|
780
|
+
proto.BaseJobGrade.prototype.getCompany = function() {
|
|
781
781
|
return /** @type{?proto.BaseCompanyParent} */ (
|
|
782
782
|
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 6));
|
|
783
783
|
};
|
|
@@ -787,7 +787,7 @@ proto.BaseJobGrade.prototype.getCompanies = function() {
|
|
|
787
787
|
* @param {?proto.BaseCompanyParent|undefined} value
|
|
788
788
|
* @return {!proto.BaseJobGrade} returns this
|
|
789
789
|
*/
|
|
790
|
-
proto.BaseJobGrade.prototype.
|
|
790
|
+
proto.BaseJobGrade.prototype.setCompany = function(value) {
|
|
791
791
|
return jspb.Message.setWrapperField(this, 6, value);
|
|
792
792
|
};
|
|
793
793
|
|
|
@@ -796,8 +796,8 @@ proto.BaseJobGrade.prototype.setCompanies = function(value) {
|
|
|
796
796
|
* Clears the message field making it undefined.
|
|
797
797
|
* @return {!proto.BaseJobGrade} returns this
|
|
798
798
|
*/
|
|
799
|
-
proto.BaseJobGrade.prototype.
|
|
800
|
-
return this.
|
|
799
|
+
proto.BaseJobGrade.prototype.clearCompany = function() {
|
|
800
|
+
return this.setCompany(undefined);
|
|
801
801
|
};
|
|
802
802
|
|
|
803
803
|
|
|
@@ -805,7 +805,7 @@ proto.BaseJobGrade.prototype.clearCompanies = function() {
|
|
|
805
805
|
* Returns whether this field is set.
|
|
806
806
|
* @return {boolean}
|
|
807
807
|
*/
|
|
808
|
-
proto.BaseJobGrade.prototype.
|
|
808
|
+
proto.BaseJobGrade.prototype.hasCompany = function() {
|
|
809
809
|
return jspb.Message.getField(this, 6) != null;
|
|
810
810
|
};
|
|
811
811
|
|
|
@@ -361,7 +361,7 @@ workLocationReferencesId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
|
361
361
|
workLocations: (f = msg.getWorkLocations()) && prisca_v1_core_work_location_work_location_pb.WorkLocation.toObject(includeInstance, f),
|
|
362
362
|
description: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
363
363
|
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
364
|
-
|
|
364
|
+
company: (f = msg.getCompany()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f),
|
|
365
365
|
usersRoleReferencesId: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
366
366
|
role: (f = msg.getRole()) && prisca_v1_core_users_role_users_role_pb.BaseUsersRole.toObject(includeInstance, f),
|
|
367
367
|
referencesId: jspb.Message.getFieldWithDefault(msg, 16, "")
|
|
@@ -455,7 +455,7 @@ proto.BaseJobPosition.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
455
455
|
case 13:
|
|
456
456
|
var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
|
|
457
457
|
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
|
|
458
|
-
msg.
|
|
458
|
+
msg.setCompany(value);
|
|
459
459
|
break;
|
|
460
460
|
case 14:
|
|
461
461
|
var value = /** @type {string} */ (reader.readString());
|
|
@@ -586,7 +586,7 @@ proto.BaseJobPosition.serializeBinaryToWriter = function(message, writer) {
|
|
|
586
586
|
f
|
|
587
587
|
);
|
|
588
588
|
}
|
|
589
|
-
f = message.
|
|
589
|
+
f = message.getCompany();
|
|
590
590
|
if (f != null) {
|
|
591
591
|
writer.writeMessage(
|
|
592
592
|
13,
|
|
@@ -893,10 +893,10 @@ proto.BaseJobPosition.prototype.setCompaniesReferencesId = function(value) {
|
|
|
893
893
|
|
|
894
894
|
|
|
895
895
|
/**
|
|
896
|
-
* optional BaseCompanyParent
|
|
896
|
+
* optional BaseCompanyParent company = 13;
|
|
897
897
|
* @return {?proto.BaseCompanyParent}
|
|
898
898
|
*/
|
|
899
|
-
proto.BaseJobPosition.prototype.
|
|
899
|
+
proto.BaseJobPosition.prototype.getCompany = function() {
|
|
900
900
|
return /** @type{?proto.BaseCompanyParent} */ (
|
|
901
901
|
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 13));
|
|
902
902
|
};
|
|
@@ -906,7 +906,7 @@ proto.BaseJobPosition.prototype.getCompanies = function() {
|
|
|
906
906
|
* @param {?proto.BaseCompanyParent|undefined} value
|
|
907
907
|
* @return {!proto.BaseJobPosition} returns this
|
|
908
908
|
*/
|
|
909
|
-
proto.BaseJobPosition.prototype.
|
|
909
|
+
proto.BaseJobPosition.prototype.setCompany = function(value) {
|
|
910
910
|
return jspb.Message.setWrapperField(this, 13, value);
|
|
911
911
|
};
|
|
912
912
|
|
|
@@ -915,8 +915,8 @@ proto.BaseJobPosition.prototype.setCompanies = function(value) {
|
|
|
915
915
|
* Clears the message field making it undefined.
|
|
916
916
|
* @return {!proto.BaseJobPosition} returns this
|
|
917
917
|
*/
|
|
918
|
-
proto.BaseJobPosition.prototype.
|
|
919
|
-
return this.
|
|
918
|
+
proto.BaseJobPosition.prototype.clearCompany = function() {
|
|
919
|
+
return this.setCompany(undefined);
|
|
920
920
|
};
|
|
921
921
|
|
|
922
922
|
|
|
@@ -924,7 +924,7 @@ proto.BaseJobPosition.prototype.clearCompanies = function() {
|
|
|
924
924
|
* Returns whether this field is set.
|
|
925
925
|
* @return {boolean}
|
|
926
926
|
*/
|
|
927
|
-
proto.BaseJobPosition.prototype.
|
|
927
|
+
proto.BaseJobPosition.prototype.hasCompany = function() {
|
|
928
928
|
return jspb.Message.getField(this, 13) != null;
|
|
929
929
|
};
|
|
930
930
|
|
|
@@ -1043,7 +1043,7 @@ jobPositions: (f = msg.getJobPositions()) && proto.BaseJobPosition.toObject(incl
|
|
|
1043
1043
|
organizations: (f = msg.getOrganizations()) && prisca_v1_core_organization_organization_pb.Organization.toObject(includeInstance, f),
|
|
1044
1044
|
workLocations: (f = msg.getWorkLocations()) && prisca_v1_core_work_location_work_location_pb.WorkLocation.toObject(includeInstance, f),
|
|
1045
1045
|
description: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1046
|
-
|
|
1046
|
+
company: (f = msg.getCompany()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f),
|
|
1047
1047
|
role: (f = msg.getRole()) && prisca_v1_core_users_role_users_role_pb.BaseUsersRole.toObject(includeInstance, f)
|
|
1048
1048
|
};
|
|
1049
1049
|
|
|
@@ -1123,7 +1123,7 @@ proto.BaseJobPositionParent.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1123
1123
|
case 10:
|
|
1124
1124
|
var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
|
|
1125
1125
|
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
|
|
1126
|
-
msg.
|
|
1126
|
+
msg.setCompany(value);
|
|
1127
1127
|
break;
|
|
1128
1128
|
case 11:
|
|
1129
1129
|
var value = new prisca_v1_core_users_role_users_role_pb.BaseUsersRole;
|
|
@@ -1225,7 +1225,7 @@ proto.BaseJobPositionParent.serializeBinaryToWriter = function(message, writer)
|
|
|
1225
1225
|
f
|
|
1226
1226
|
);
|
|
1227
1227
|
}
|
|
1228
|
-
f = message.
|
|
1228
|
+
f = message.getCompany();
|
|
1229
1229
|
if (f != null) {
|
|
1230
1230
|
writer.writeMessage(
|
|
1231
1231
|
10,
|
|
@@ -1464,10 +1464,10 @@ proto.BaseJobPositionParent.prototype.setDescription = function(value) {
|
|
|
1464
1464
|
|
|
1465
1465
|
|
|
1466
1466
|
/**
|
|
1467
|
-
* optional BaseCompanyParent
|
|
1467
|
+
* optional BaseCompanyParent company = 10;
|
|
1468
1468
|
* @return {?proto.BaseCompanyParent}
|
|
1469
1469
|
*/
|
|
1470
|
-
proto.BaseJobPositionParent.prototype.
|
|
1470
|
+
proto.BaseJobPositionParent.prototype.getCompany = function() {
|
|
1471
1471
|
return /** @type{?proto.BaseCompanyParent} */ (
|
|
1472
1472
|
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 10));
|
|
1473
1473
|
};
|
|
@@ -1477,7 +1477,7 @@ proto.BaseJobPositionParent.prototype.getCompanies = function() {
|
|
|
1477
1477
|
* @param {?proto.BaseCompanyParent|undefined} value
|
|
1478
1478
|
* @return {!proto.BaseJobPositionParent} returns this
|
|
1479
1479
|
*/
|
|
1480
|
-
proto.BaseJobPositionParent.prototype.
|
|
1480
|
+
proto.BaseJobPositionParent.prototype.setCompany = function(value) {
|
|
1481
1481
|
return jspb.Message.setWrapperField(this, 10, value);
|
|
1482
1482
|
};
|
|
1483
1483
|
|
|
@@ -1486,8 +1486,8 @@ proto.BaseJobPositionParent.prototype.setCompanies = function(value) {
|
|
|
1486
1486
|
* Clears the message field making it undefined.
|
|
1487
1487
|
* @return {!proto.BaseJobPositionParent} returns this
|
|
1488
1488
|
*/
|
|
1489
|
-
proto.BaseJobPositionParent.prototype.
|
|
1490
|
-
return this.
|
|
1489
|
+
proto.BaseJobPositionParent.prototype.clearCompany = function() {
|
|
1490
|
+
return this.setCompany(undefined);
|
|
1491
1491
|
};
|
|
1492
1492
|
|
|
1493
1493
|
|
|
@@ -1495,7 +1495,7 @@ proto.BaseJobPositionParent.prototype.clearCompanies = function() {
|
|
|
1495
1495
|
* Returns whether this field is set.
|
|
1496
1496
|
* @return {boolean}
|
|
1497
1497
|
*/
|
|
1498
|
-
proto.BaseJobPositionParent.prototype.
|
|
1498
|
+
proto.BaseJobPositionParent.prototype.hasCompany = function() {
|
|
1499
1499
|
return jspb.Message.getField(this, 10) != null;
|
|
1500
1500
|
};
|
|
1501
1501
|
|
|
@@ -599,7 +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
|
-
|
|
602
|
+
company: (f = msg.getCompany()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f)
|
|
603
603
|
};
|
|
604
604
|
|
|
605
605
|
if (includeInstance) {
|
|
@@ -664,7 +664,7 @@ proto.BaseJobTitle.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
664
664
|
case 7:
|
|
665
665
|
var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
|
|
666
666
|
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
|
|
667
|
-
msg.
|
|
667
|
+
msg.setCompany(value);
|
|
668
668
|
break;
|
|
669
669
|
default:
|
|
670
670
|
reader.skipField();
|
|
@@ -738,7 +738,7 @@ proto.BaseJobTitle.serializeBinaryToWriter = function(message, writer) {
|
|
|
738
738
|
proto.BaseJobTitleParent.serializeBinaryToWriter
|
|
739
739
|
);
|
|
740
740
|
}
|
|
741
|
-
f = message.
|
|
741
|
+
f = message.getCompany();
|
|
742
742
|
if (f != null) {
|
|
743
743
|
writer.writeMessage(
|
|
744
744
|
7,
|
|
@@ -877,10 +877,10 @@ proto.BaseJobTitle.prototype.hasParent = function() {
|
|
|
877
877
|
|
|
878
878
|
|
|
879
879
|
/**
|
|
880
|
-
* optional BaseCompanyParent
|
|
880
|
+
* optional BaseCompanyParent company = 7;
|
|
881
881
|
* @return {?proto.BaseCompanyParent}
|
|
882
882
|
*/
|
|
883
|
-
proto.BaseJobTitle.prototype.
|
|
883
|
+
proto.BaseJobTitle.prototype.getCompany = function() {
|
|
884
884
|
return /** @type{?proto.BaseCompanyParent} */ (
|
|
885
885
|
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 7));
|
|
886
886
|
};
|
|
@@ -890,7 +890,7 @@ proto.BaseJobTitle.prototype.getCompanies = function() {
|
|
|
890
890
|
* @param {?proto.BaseCompanyParent|undefined} value
|
|
891
891
|
* @return {!proto.BaseJobTitle} returns this
|
|
892
892
|
*/
|
|
893
|
-
proto.BaseJobTitle.prototype.
|
|
893
|
+
proto.BaseJobTitle.prototype.setCompany = function(value) {
|
|
894
894
|
return jspb.Message.setWrapperField(this, 7, value);
|
|
895
895
|
};
|
|
896
896
|
|
|
@@ -899,8 +899,8 @@ proto.BaseJobTitle.prototype.setCompanies = function(value) {
|
|
|
899
899
|
* Clears the message field making it undefined.
|
|
900
900
|
* @return {!proto.BaseJobTitle} returns this
|
|
901
901
|
*/
|
|
902
|
-
proto.BaseJobTitle.prototype.
|
|
903
|
-
return this.
|
|
902
|
+
proto.BaseJobTitle.prototype.clearCompany = function() {
|
|
903
|
+
return this.setCompany(undefined);
|
|
904
904
|
};
|
|
905
905
|
|
|
906
906
|
|
|
@@ -908,7 +908,7 @@ proto.BaseJobTitle.prototype.clearCompanies = function() {
|
|
|
908
908
|
* Returns whether this field is set.
|
|
909
909
|
* @return {boolean}
|
|
910
910
|
*/
|
|
911
|
-
proto.BaseJobTitle.prototype.
|
|
911
|
+
proto.BaseJobTitle.prototype.hasCompany = function() {
|
|
912
912
|
return jspb.Message.getField(this, 7) != null;
|
|
913
913
|
};
|
|
914
914
|
|
|
@@ -337,7 +337,7 @@ workLocationReferencesId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
|
337
337
|
workLocations: (f = msg.getWorkLocations()) && prisca_v1_core_work_location_work_location_pb.WorkLocation.toObject(includeInstance, f),
|
|
338
338
|
description: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
339
339
|
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
340
|
-
|
|
340
|
+
company: (f = msg.getCompany()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f)
|
|
341
341
|
};
|
|
342
342
|
|
|
343
343
|
if (includeInstance) {
|
|
@@ -428,7 +428,7 @@ proto.Organization.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
428
428
|
case 13:
|
|
429
429
|
var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
|
|
430
430
|
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
|
|
431
|
-
msg.
|
|
431
|
+
msg.setCompany(value);
|
|
432
432
|
break;
|
|
433
433
|
default:
|
|
434
434
|
reader.skipField();
|
|
@@ -546,7 +546,7 @@ proto.Organization.serializeBinaryToWriter = function(message, writer) {
|
|
|
546
546
|
f
|
|
547
547
|
);
|
|
548
548
|
}
|
|
549
|
-
f = message.
|
|
549
|
+
f = message.getCompany();
|
|
550
550
|
if (f != null) {
|
|
551
551
|
writer.writeMessage(
|
|
552
552
|
13,
|
|
@@ -831,10 +831,10 @@ proto.Organization.prototype.setCompaniesReferencesId = function(value) {
|
|
|
831
831
|
|
|
832
832
|
|
|
833
833
|
/**
|
|
834
|
-
* optional BaseCompanyParent
|
|
834
|
+
* optional BaseCompanyParent company = 13;
|
|
835
835
|
* @return {?proto.BaseCompanyParent}
|
|
836
836
|
*/
|
|
837
|
-
proto.Organization.prototype.
|
|
837
|
+
proto.Organization.prototype.getCompany = function() {
|
|
838
838
|
return /** @type{?proto.BaseCompanyParent} */ (
|
|
839
839
|
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 13));
|
|
840
840
|
};
|
|
@@ -844,7 +844,7 @@ proto.Organization.prototype.getCompanies = function() {
|
|
|
844
844
|
* @param {?proto.BaseCompanyParent|undefined} value
|
|
845
845
|
* @return {!proto.Organization} returns this
|
|
846
846
|
*/
|
|
847
|
-
proto.Organization.prototype.
|
|
847
|
+
proto.Organization.prototype.setCompany = function(value) {
|
|
848
848
|
return jspb.Message.setWrapperField(this, 13, value);
|
|
849
849
|
};
|
|
850
850
|
|
|
@@ -853,8 +853,8 @@ proto.Organization.prototype.setCompanies = function(value) {
|
|
|
853
853
|
* Clears the message field making it undefined.
|
|
854
854
|
* @return {!proto.Organization} returns this
|
|
855
855
|
*/
|
|
856
|
-
proto.Organization.prototype.
|
|
857
|
-
return this.
|
|
856
|
+
proto.Organization.prototype.clearCompany = function() {
|
|
857
|
+
return this.setCompany(undefined);
|
|
858
858
|
};
|
|
859
859
|
|
|
860
860
|
|
|
@@ -862,7 +862,7 @@ proto.Organization.prototype.clearCompanies = function() {
|
|
|
862
862
|
* Returns whether this field is set.
|
|
863
863
|
* @return {boolean}
|
|
864
864
|
*/
|
|
865
|
-
proto.Organization.prototype.
|
|
865
|
+
proto.Organization.prototype.hasCompany = function() {
|
|
866
866
|
return jspb.Message.getField(this, 13) != null;
|
|
867
867
|
};
|
|
868
868
|
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
var grpc = require('@grpc/grpc-js');
|
|
5
5
|
var prisca_v1_core_organization_level_organization_level_pb = require('../../../../prisca/v1/core/organization_level/organization_level_pb.js');
|
|
6
6
|
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
7
|
+
var prisca_v1_core_company_company_pb = require('../../../../prisca/v1/core/company/company_pb.js');
|
|
7
8
|
|
|
8
9
|
function serialize_CreateOrganizationLevelRequest(arg) {
|
|
9
10
|
if (!(arg instanceof prisca_v1_core_organization_level_organization_level_pb.CreateOrganizationLevelRequest)) {
|
|
@@ -23,6 +23,8 @@ var global =
|
|
|
23
23
|
|
|
24
24
|
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
25
25
|
goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
|
|
26
|
+
var prisca_v1_core_company_company_pb = require('../../../../prisca/v1/core/company/company_pb.js');
|
|
27
|
+
goog.object.extend(proto, prisca_v1_core_company_company_pb);
|
|
26
28
|
goog.exportSymbol('proto.BaseOrganizationLevel', null, global);
|
|
27
29
|
goog.exportSymbol('proto.CreateOrganizationLevelRequest', null, global);
|
|
28
30
|
goog.exportSymbol('proto.CreateOrganizationLevelResponse', null, global);
|
|
@@ -320,7 +322,8 @@ proto.OrganizationLevel.prototype.toObject = function(opt_includeInstance) {
|
|
|
320
322
|
proto.OrganizationLevel.toObject = function(includeInstance, msg) {
|
|
321
323
|
var f, obj = {
|
|
322
324
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
323
|
-
level: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
325
|
+
level: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
326
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
324
327
|
};
|
|
325
328
|
|
|
326
329
|
if (includeInstance) {
|
|
@@ -365,6 +368,10 @@ proto.OrganizationLevel.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
365
368
|
var value = /** @type {number} */ (reader.readInt64());
|
|
366
369
|
msg.setLevel(value);
|
|
367
370
|
break;
|
|
371
|
+
case 3:
|
|
372
|
+
var value = /** @type {string} */ (reader.readString());
|
|
373
|
+
msg.setCompaniesReferencesId(value);
|
|
374
|
+
break;
|
|
368
375
|
default:
|
|
369
376
|
reader.skipField();
|
|
370
377
|
break;
|
|
@@ -408,6 +415,13 @@ proto.OrganizationLevel.serializeBinaryToWriter = function(message, writer) {
|
|
|
408
415
|
f
|
|
409
416
|
);
|
|
410
417
|
}
|
|
418
|
+
f = message.getCompaniesReferencesId();
|
|
419
|
+
if (f.length > 0) {
|
|
420
|
+
writer.writeString(
|
|
421
|
+
3,
|
|
422
|
+
f
|
|
423
|
+
);
|
|
424
|
+
}
|
|
411
425
|
};
|
|
412
426
|
|
|
413
427
|
|
|
@@ -447,6 +461,24 @@ proto.OrganizationLevel.prototype.setLevel = function(value) {
|
|
|
447
461
|
};
|
|
448
462
|
|
|
449
463
|
|
|
464
|
+
/**
|
|
465
|
+
* optional string companies_references_id = 3;
|
|
466
|
+
* @return {string}
|
|
467
|
+
*/
|
|
468
|
+
proto.OrganizationLevel.prototype.getCompaniesReferencesId = function() {
|
|
469
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
470
|
+
};
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* @param {string} value
|
|
475
|
+
* @return {!proto.OrganizationLevel} returns this
|
|
476
|
+
*/
|
|
477
|
+
proto.OrganizationLevel.prototype.setCompaniesReferencesId = function(value) {
|
|
478
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
479
|
+
};
|
|
480
|
+
|
|
481
|
+
|
|
450
482
|
|
|
451
483
|
|
|
452
484
|
|
|
@@ -481,7 +513,9 @@ proto.BaseOrganizationLevel.toObject = function(includeInstance, msg) {
|
|
|
481
513
|
var f, obj = {
|
|
482
514
|
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
483
515
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
484
|
-
level: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
516
|
+
level: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
517
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
518
|
+
company: (f = msg.getCompany()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f)
|
|
485
519
|
};
|
|
486
520
|
|
|
487
521
|
if (includeInstance) {
|
|
@@ -530,6 +564,15 @@ proto.BaseOrganizationLevel.deserializeBinaryFromReader = function(msg, reader)
|
|
|
530
564
|
var value = /** @type {number} */ (reader.readInt64());
|
|
531
565
|
msg.setLevel(value);
|
|
532
566
|
break;
|
|
567
|
+
case 4:
|
|
568
|
+
var value = /** @type {string} */ (reader.readString());
|
|
569
|
+
msg.setCompaniesReferencesId(value);
|
|
570
|
+
break;
|
|
571
|
+
case 5:
|
|
572
|
+
var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
|
|
573
|
+
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
|
|
574
|
+
msg.setCompany(value);
|
|
575
|
+
break;
|
|
533
576
|
default:
|
|
534
577
|
reader.skipField();
|
|
535
578
|
break;
|
|
@@ -580,6 +623,21 @@ proto.BaseOrganizationLevel.serializeBinaryToWriter = function(message, writer)
|
|
|
580
623
|
f
|
|
581
624
|
);
|
|
582
625
|
}
|
|
626
|
+
f = message.getCompaniesReferencesId();
|
|
627
|
+
if (f.length > 0) {
|
|
628
|
+
writer.writeString(
|
|
629
|
+
4,
|
|
630
|
+
f
|
|
631
|
+
);
|
|
632
|
+
}
|
|
633
|
+
f = message.getCompany();
|
|
634
|
+
if (f != null) {
|
|
635
|
+
writer.writeMessage(
|
|
636
|
+
5,
|
|
637
|
+
f,
|
|
638
|
+
prisca_v1_core_company_company_pb.BaseCompanyParent.serializeBinaryToWriter
|
|
639
|
+
);
|
|
640
|
+
}
|
|
583
641
|
};
|
|
584
642
|
|
|
585
643
|
|
|
@@ -637,6 +695,61 @@ proto.BaseOrganizationLevel.prototype.setLevel = function(value) {
|
|
|
637
695
|
};
|
|
638
696
|
|
|
639
697
|
|
|
698
|
+
/**
|
|
699
|
+
* optional string companies_references_id = 4;
|
|
700
|
+
* @return {string}
|
|
701
|
+
*/
|
|
702
|
+
proto.BaseOrganizationLevel.prototype.getCompaniesReferencesId = function() {
|
|
703
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
704
|
+
};
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
* @param {string} value
|
|
709
|
+
* @return {!proto.BaseOrganizationLevel} returns this
|
|
710
|
+
*/
|
|
711
|
+
proto.BaseOrganizationLevel.prototype.setCompaniesReferencesId = function(value) {
|
|
712
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
713
|
+
};
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* optional BaseCompanyParent company = 5;
|
|
718
|
+
* @return {?proto.BaseCompanyParent}
|
|
719
|
+
*/
|
|
720
|
+
proto.BaseOrganizationLevel.prototype.getCompany = function() {
|
|
721
|
+
return /** @type{?proto.BaseCompanyParent} */ (
|
|
722
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 5));
|
|
723
|
+
};
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* @param {?proto.BaseCompanyParent|undefined} value
|
|
728
|
+
* @return {!proto.BaseOrganizationLevel} returns this
|
|
729
|
+
*/
|
|
730
|
+
proto.BaseOrganizationLevel.prototype.setCompany = function(value) {
|
|
731
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
732
|
+
};
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* Clears the message field making it undefined.
|
|
737
|
+
* @return {!proto.BaseOrganizationLevel} returns this
|
|
738
|
+
*/
|
|
739
|
+
proto.BaseOrganizationLevel.prototype.clearCompany = function() {
|
|
740
|
+
return this.setCompany(undefined);
|
|
741
|
+
};
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
/**
|
|
745
|
+
* Returns whether this field is set.
|
|
746
|
+
* @return {boolean}
|
|
747
|
+
*/
|
|
748
|
+
proto.BaseOrganizationLevel.prototype.hasCompany = function() {
|
|
749
|
+
return jspb.Message.getField(this, 5) != null;
|
|
750
|
+
};
|
|
751
|
+
|
|
752
|
+
|
|
640
753
|
|
|
641
754
|
|
|
642
755
|
|
|
@@ -1141,7 +1141,7 @@ areaReferencesId: jspb.Message.getFieldWithDefault(msg, 25, ""),
|
|
|
1141
1141
|
taxOfficeLocation: jspb.Message.getFieldWithDefault(msg, 26, ""),
|
|
1142
1142
|
referencesId: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
1143
1143
|
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
1144
|
-
|
|
1144
|
+
company: (f = msg.getCompany()) && prisca_v1_core_company_company_pb.BaseCompanyParent.toObject(includeInstance, f)
|
|
1145
1145
|
};
|
|
1146
1146
|
|
|
1147
1147
|
if (includeInstance) {
|
|
@@ -1298,7 +1298,7 @@ proto.BaseWorkLocation.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1298
1298
|
case 29:
|
|
1299
1299
|
var value = new prisca_v1_core_company_company_pb.BaseCompanyParent;
|
|
1300
1300
|
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompanyParent.deserializeBinaryFromReader);
|
|
1301
|
-
msg.
|
|
1301
|
+
msg.setCompany(value);
|
|
1302
1302
|
break;
|
|
1303
1303
|
default:
|
|
1304
1304
|
reader.skipField();
|
|
@@ -1530,7 +1530,7 @@ proto.BaseWorkLocation.serializeBinaryToWriter = function(message, writer) {
|
|
|
1530
1530
|
f
|
|
1531
1531
|
);
|
|
1532
1532
|
}
|
|
1533
|
-
f = message.
|
|
1533
|
+
f = message.getCompany();
|
|
1534
1534
|
if (f != null) {
|
|
1535
1535
|
writer.writeMessage(
|
|
1536
1536
|
29,
|
|
@@ -2141,10 +2141,10 @@ proto.BaseWorkLocation.prototype.setCompaniesReferencesId = function(value) {
|
|
|
2141
2141
|
|
|
2142
2142
|
|
|
2143
2143
|
/**
|
|
2144
|
-
* optional BaseCompanyParent
|
|
2144
|
+
* optional BaseCompanyParent company = 29;
|
|
2145
2145
|
* @return {?proto.BaseCompanyParent}
|
|
2146
2146
|
*/
|
|
2147
|
-
proto.BaseWorkLocation.prototype.
|
|
2147
|
+
proto.BaseWorkLocation.prototype.getCompany = function() {
|
|
2148
2148
|
return /** @type{?proto.BaseCompanyParent} */ (
|
|
2149
2149
|
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompanyParent, 29));
|
|
2150
2150
|
};
|
|
@@ -2154,7 +2154,7 @@ proto.BaseWorkLocation.prototype.getCompanies = function() {
|
|
|
2154
2154
|
* @param {?proto.BaseCompanyParent|undefined} value
|
|
2155
2155
|
* @return {!proto.BaseWorkLocation} returns this
|
|
2156
2156
|
*/
|
|
2157
|
-
proto.BaseWorkLocation.prototype.
|
|
2157
|
+
proto.BaseWorkLocation.prototype.setCompany = function(value) {
|
|
2158
2158
|
return jspb.Message.setWrapperField(this, 29, value);
|
|
2159
2159
|
};
|
|
2160
2160
|
|
|
@@ -2163,8 +2163,8 @@ proto.BaseWorkLocation.prototype.setCompanies = function(value) {
|
|
|
2163
2163
|
* Clears the message field making it undefined.
|
|
2164
2164
|
* @return {!proto.BaseWorkLocation} returns this
|
|
2165
2165
|
*/
|
|
2166
|
-
proto.BaseWorkLocation.prototype.
|
|
2167
|
-
return this.
|
|
2166
|
+
proto.BaseWorkLocation.prototype.clearCompany = function() {
|
|
2167
|
+
return this.setCompany(undefined);
|
|
2168
2168
|
};
|
|
2169
2169
|
|
|
2170
2170
|
|
|
@@ -2172,7 +2172,7 @@ proto.BaseWorkLocation.prototype.clearCompanies = function() {
|
|
|
2172
2172
|
* Returns whether this field is set.
|
|
2173
2173
|
* @return {boolean}
|
|
2174
2174
|
*/
|
|
2175
|
-
proto.BaseWorkLocation.prototype.
|
|
2175
|
+
proto.BaseWorkLocation.prototype.hasCompany = function() {
|
|
2176
2176
|
return jspb.Message.getField(this, 29) != null;
|
|
2177
2177
|
};
|
|
2178
2178
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var grpc = require('@grpc/grpc-js');
|
|
5
5
|
var prisca_v1_core_workflow_workflow_pb = require('../../../../prisca/v1/core/workflow/workflow_pb.js');
|
|
6
6
|
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
7
|
-
var
|
|
7
|
+
var prisca_v1_core_employee_employee_pb = require('../../../../prisca/v1/core/employee/employee_pb.js');
|
|
8
8
|
var prisca_v1_core_job_position_job_position_pb = require('../../../../prisca/v1/core/job_position/job_position_pb.js');
|
|
9
9
|
var prisca_v1_core_recipient_roles_recipient_roles_pb = require('../../../../prisca/v1/core/recipient_roles/recipient_roles_pb.js');
|
|
10
10
|
|
|
@@ -23,8 +23,8 @@ var global =
|
|
|
23
23
|
|
|
24
24
|
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
25
25
|
goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
|
|
26
|
-
var
|
|
27
|
-
goog.object.extend(proto,
|
|
26
|
+
var prisca_v1_core_employee_employee_pb = require('../../../../prisca/v1/core/employee/employee_pb.js');
|
|
27
|
+
goog.object.extend(proto, prisca_v1_core_employee_employee_pb);
|
|
28
28
|
var prisca_v1_core_job_position_job_position_pb = require('../../../../prisca/v1/core/job_position/job_position_pb.js');
|
|
29
29
|
goog.object.extend(proto, prisca_v1_core_job_position_job_position_pb);
|
|
30
30
|
var prisca_v1_core_recipient_roles_recipient_roles_pb = require('../../../../prisca/v1/core/recipient_roles/recipient_roles_pb.js');
|
|
@@ -2808,12 +2808,12 @@ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
|
2808
2808
|
referencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2809
2809
|
workflowStepsRefId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2810
2810
|
jobPositionRefId: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
|
|
2811
|
-
|
|
2811
|
+
employeesRefIdList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
2812
2812
|
createdAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
2813
2813
|
updatedAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
2814
2814
|
jobPosition: (f = msg.getJobPosition()) && prisca_v1_core_job_position_job_position_pb.JobPosition.toObject(includeInstance, f),
|
|
2815
|
-
|
|
2816
|
-
|
|
2815
|
+
employeesList: jspb.Message.toObjectList(msg.getEmployeesList(),
|
|
2816
|
+
prisca_v1_core_employee_employee_pb.Employee.toObject, includeInstance)
|
|
2817
2817
|
};
|
|
2818
2818
|
|
|
2819
2819
|
if (includeInstance) {
|
|
@@ -2868,7 +2868,7 @@ proto.WorkflowStepsRecipients.deserializeBinaryFromReader = function(msg, reader
|
|
|
2868
2868
|
break;
|
|
2869
2869
|
case 5:
|
|
2870
2870
|
var value = /** @type {string} */ (reader.readString());
|
|
2871
|
-
msg.
|
|
2871
|
+
msg.addEmployeesRefId(value);
|
|
2872
2872
|
break;
|
|
2873
2873
|
case 6:
|
|
2874
2874
|
var value = /** @type {string} */ (reader.readString());
|
|
@@ -2884,9 +2884,9 @@ proto.WorkflowStepsRecipients.deserializeBinaryFromReader = function(msg, reader
|
|
|
2884
2884
|
msg.setJobPosition(value);
|
|
2885
2885
|
break;
|
|
2886
2886
|
case 9:
|
|
2887
|
-
var value = new
|
|
2888
|
-
reader.readMessage(value,
|
|
2889
|
-
msg.
|
|
2887
|
+
var value = new prisca_v1_core_employee_employee_pb.Employee;
|
|
2888
|
+
reader.readMessage(value,prisca_v1_core_employee_employee_pb.Employee.deserializeBinaryFromReader);
|
|
2889
|
+
msg.addEmployees(value);
|
|
2890
2890
|
break;
|
|
2891
2891
|
default:
|
|
2892
2892
|
reader.skipField();
|
|
@@ -2945,7 +2945,7 @@ proto.WorkflowStepsRecipients.serializeBinaryToWriter = function(message, writer
|
|
|
2945
2945
|
f
|
|
2946
2946
|
);
|
|
2947
2947
|
}
|
|
2948
|
-
f = message.
|
|
2948
|
+
f = message.getEmployeesRefIdList();
|
|
2949
2949
|
if (f.length > 0) {
|
|
2950
2950
|
writer.writeRepeatedString(
|
|
2951
2951
|
5,
|
|
@@ -2974,12 +2974,12 @@ proto.WorkflowStepsRecipients.serializeBinaryToWriter = function(message, writer
|
|
|
2974
2974
|
prisca_v1_core_job_position_job_position_pb.JobPosition.serializeBinaryToWriter
|
|
2975
2975
|
);
|
|
2976
2976
|
}
|
|
2977
|
-
f = message.
|
|
2977
|
+
f = message.getEmployeesList();
|
|
2978
2978
|
if (f.length > 0) {
|
|
2979
2979
|
writer.writeRepeatedMessage(
|
|
2980
2980
|
9,
|
|
2981
2981
|
f,
|
|
2982
|
-
|
|
2982
|
+
prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
|
|
2983
2983
|
);
|
|
2984
2984
|
}
|
|
2985
2985
|
};
|
|
@@ -3076,10 +3076,10 @@ proto.WorkflowStepsRecipients.prototype.hasJobPositionRefId = function() {
|
|
|
3076
3076
|
|
|
3077
3077
|
|
|
3078
3078
|
/**
|
|
3079
|
-
* repeated string
|
|
3079
|
+
* repeated string employees_ref_id = 5;
|
|
3080
3080
|
* @return {!Array<string>}
|
|
3081
3081
|
*/
|
|
3082
|
-
proto.WorkflowStepsRecipients.prototype.
|
|
3082
|
+
proto.WorkflowStepsRecipients.prototype.getEmployeesRefIdList = function() {
|
|
3083
3083
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
3084
3084
|
};
|
|
3085
3085
|
|
|
@@ -3088,7 +3088,7 @@ proto.WorkflowStepsRecipients.prototype.getUsersRefIdList = function() {
|
|
|
3088
3088
|
* @param {!Array<string>} value
|
|
3089
3089
|
* @return {!proto.WorkflowStepsRecipients} returns this
|
|
3090
3090
|
*/
|
|
3091
|
-
proto.WorkflowStepsRecipients.prototype.
|
|
3091
|
+
proto.WorkflowStepsRecipients.prototype.setEmployeesRefIdList = function(value) {
|
|
3092
3092
|
return jspb.Message.setField(this, 5, value || []);
|
|
3093
3093
|
};
|
|
3094
3094
|
|
|
@@ -3098,7 +3098,7 @@ proto.WorkflowStepsRecipients.prototype.setUsersRefIdList = function(value) {
|
|
|
3098
3098
|
* @param {number=} opt_index
|
|
3099
3099
|
* @return {!proto.WorkflowStepsRecipients} returns this
|
|
3100
3100
|
*/
|
|
3101
|
-
proto.WorkflowStepsRecipients.prototype.
|
|
3101
|
+
proto.WorkflowStepsRecipients.prototype.addEmployeesRefId = function(value, opt_index) {
|
|
3102
3102
|
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
3103
3103
|
};
|
|
3104
3104
|
|
|
@@ -3107,8 +3107,8 @@ proto.WorkflowStepsRecipients.prototype.addUsersRefId = function(value, opt_inde
|
|
|
3107
3107
|
* Clears the list making it empty but non-null.
|
|
3108
3108
|
* @return {!proto.WorkflowStepsRecipients} returns this
|
|
3109
3109
|
*/
|
|
3110
|
-
proto.WorkflowStepsRecipients.prototype.
|
|
3111
|
-
return this.
|
|
3110
|
+
proto.WorkflowStepsRecipients.prototype.clearEmployeesRefIdList = function() {
|
|
3111
|
+
return this.setEmployeesRefIdList([]);
|
|
3112
3112
|
};
|
|
3113
3113
|
|
|
3114
3114
|
|
|
@@ -3186,31 +3186,31 @@ proto.WorkflowStepsRecipients.prototype.hasJobPosition = function() {
|
|
|
3186
3186
|
|
|
3187
3187
|
|
|
3188
3188
|
/**
|
|
3189
|
-
* repeated
|
|
3190
|
-
* @return {!Array<!proto.
|
|
3189
|
+
* repeated Employee employees = 9;
|
|
3190
|
+
* @return {!Array<!proto.Employee>}
|
|
3191
3191
|
*/
|
|
3192
|
-
proto.WorkflowStepsRecipients.prototype.
|
|
3193
|
-
return /** @type{!Array<!proto.
|
|
3194
|
-
jspb.Message.getRepeatedWrapperField(this,
|
|
3192
|
+
proto.WorkflowStepsRecipients.prototype.getEmployeesList = function() {
|
|
3193
|
+
return /** @type{!Array<!proto.Employee>} */ (
|
|
3194
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 9));
|
|
3195
3195
|
};
|
|
3196
3196
|
|
|
3197
3197
|
|
|
3198
3198
|
/**
|
|
3199
|
-
* @param {!Array<!proto.
|
|
3199
|
+
* @param {!Array<!proto.Employee>} value
|
|
3200
3200
|
* @return {!proto.WorkflowStepsRecipients} returns this
|
|
3201
3201
|
*/
|
|
3202
|
-
proto.WorkflowStepsRecipients.prototype.
|
|
3202
|
+
proto.WorkflowStepsRecipients.prototype.setEmployeesList = function(value) {
|
|
3203
3203
|
return jspb.Message.setRepeatedWrapperField(this, 9, value);
|
|
3204
3204
|
};
|
|
3205
3205
|
|
|
3206
3206
|
|
|
3207
3207
|
/**
|
|
3208
|
-
* @param {!proto.
|
|
3208
|
+
* @param {!proto.Employee=} opt_value
|
|
3209
3209
|
* @param {number=} opt_index
|
|
3210
|
-
* @return {!proto.
|
|
3210
|
+
* @return {!proto.Employee}
|
|
3211
3211
|
*/
|
|
3212
|
-
proto.WorkflowStepsRecipients.prototype.
|
|
3213
|
-
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.
|
|
3212
|
+
proto.WorkflowStepsRecipients.prototype.addEmployees = function(opt_value, opt_index) {
|
|
3213
|
+
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.Employee, opt_index);
|
|
3214
3214
|
};
|
|
3215
3215
|
|
|
3216
3216
|
|
|
@@ -3218,8 +3218,8 @@ proto.WorkflowStepsRecipients.prototype.addUsers = function(opt_value, opt_index
|
|
|
3218
3218
|
* Clears the list making it empty but non-null.
|
|
3219
3219
|
* @return {!proto.WorkflowStepsRecipients} returns this
|
|
3220
3220
|
*/
|
|
3221
|
-
proto.WorkflowStepsRecipients.prototype.
|
|
3222
|
-
return this.
|
|
3221
|
+
proto.WorkflowStepsRecipients.prototype.clearEmployeesList = function() {
|
|
3222
|
+
return this.setEmployeesList([]);
|
|
3223
3223
|
};
|
|
3224
3224
|
|
|
3225
3225
|
|
|
@@ -4630,7 +4630,7 @@ proto.BaseWorkflowStepsRecipientRequest.prototype.toObject = function(opt_includ
|
|
|
4630
4630
|
proto.BaseWorkflowStepsRecipientRequest.toObject = function(includeInstance, msg) {
|
|
4631
4631
|
var f, obj = {
|
|
4632
4632
|
jobPositionRefId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
|
|
4633
|
-
|
|
4633
|
+
employeesRefIdList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
4634
4634
|
};
|
|
4635
4635
|
|
|
4636
4636
|
if (includeInstance) {
|
|
@@ -4673,7 +4673,7 @@ proto.BaseWorkflowStepsRecipientRequest.deserializeBinaryFromReader = function(m
|
|
|
4673
4673
|
break;
|
|
4674
4674
|
case 2:
|
|
4675
4675
|
var value = /** @type {string} */ (reader.readString());
|
|
4676
|
-
msg.
|
|
4676
|
+
msg.addEmployeesRefId(value);
|
|
4677
4677
|
break;
|
|
4678
4678
|
default:
|
|
4679
4679
|
reader.skipField();
|
|
@@ -4711,7 +4711,7 @@ proto.BaseWorkflowStepsRecipientRequest.serializeBinaryToWriter = function(messa
|
|
|
4711
4711
|
f
|
|
4712
4712
|
);
|
|
4713
4713
|
}
|
|
4714
|
-
f = message.
|
|
4714
|
+
f = message.getEmployeesRefIdList();
|
|
4715
4715
|
if (f.length > 0) {
|
|
4716
4716
|
writer.writeRepeatedString(
|
|
4717
4717
|
2,
|
|
@@ -4758,10 +4758,10 @@ proto.BaseWorkflowStepsRecipientRequest.prototype.hasJobPositionRefId = function
|
|
|
4758
4758
|
|
|
4759
4759
|
|
|
4760
4760
|
/**
|
|
4761
|
-
* repeated string
|
|
4761
|
+
* repeated string employees_ref_id = 2;
|
|
4762
4762
|
* @return {!Array<string>}
|
|
4763
4763
|
*/
|
|
4764
|
-
proto.BaseWorkflowStepsRecipientRequest.prototype.
|
|
4764
|
+
proto.BaseWorkflowStepsRecipientRequest.prototype.getEmployeesRefIdList = function() {
|
|
4765
4765
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
4766
4766
|
};
|
|
4767
4767
|
|
|
@@ -4770,7 +4770,7 @@ proto.BaseWorkflowStepsRecipientRequest.prototype.getUsersRefIdList = function()
|
|
|
4770
4770
|
* @param {!Array<string>} value
|
|
4771
4771
|
* @return {!proto.BaseWorkflowStepsRecipientRequest} returns this
|
|
4772
4772
|
*/
|
|
4773
|
-
proto.BaseWorkflowStepsRecipientRequest.prototype.
|
|
4773
|
+
proto.BaseWorkflowStepsRecipientRequest.prototype.setEmployeesRefIdList = function(value) {
|
|
4774
4774
|
return jspb.Message.setField(this, 2, value || []);
|
|
4775
4775
|
};
|
|
4776
4776
|
|
|
@@ -4780,7 +4780,7 @@ proto.BaseWorkflowStepsRecipientRequest.prototype.setUsersRefIdList = function(v
|
|
|
4780
4780
|
* @param {number=} opt_index
|
|
4781
4781
|
* @return {!proto.BaseWorkflowStepsRecipientRequest} returns this
|
|
4782
4782
|
*/
|
|
4783
|
-
proto.BaseWorkflowStepsRecipientRequest.prototype.
|
|
4783
|
+
proto.BaseWorkflowStepsRecipientRequest.prototype.addEmployeesRefId = function(value, opt_index) {
|
|
4784
4784
|
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
4785
4785
|
};
|
|
4786
4786
|
|
|
@@ -4789,8 +4789,8 @@ proto.BaseWorkflowStepsRecipientRequest.prototype.addUsersRefId = function(value
|
|
|
4789
4789
|
* Clears the list making it empty but non-null.
|
|
4790
4790
|
* @return {!proto.BaseWorkflowStepsRecipientRequest} returns this
|
|
4791
4791
|
*/
|
|
4792
|
-
proto.BaseWorkflowStepsRecipientRequest.prototype.
|
|
4793
|
-
return this.
|
|
4792
|
+
proto.BaseWorkflowStepsRecipientRequest.prototype.clearEmployeesRefIdList = function() {
|
|
4793
|
+
return this.setEmployeesRefIdList([]);
|
|
4794
4794
|
};
|
|
4795
4795
|
|
|
4796
4796
|
|