@aldiokta/protocgen 1.1.2 → 1.1.3
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
|
@@ -7,6 +7,7 @@ var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/m
|
|
|
7
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
|
+
var prisca_v1_core_job_title_job_title_pb = require('../../../../prisca/v1/core/job_title/job_title_pb.js');
|
|
10
11
|
|
|
11
12
|
function serialize_CreateWorkflowRequest(arg) {
|
|
12
13
|
if (!(arg instanceof prisca_v1_core_workflow_workflow_pb.CreateWorkflowRequest)) {
|
|
@@ -29,6 +29,8 @@ var prisca_v1_core_job_position_job_position_pb = require('../../../../prisca/v1
|
|
|
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');
|
|
31
31
|
goog.object.extend(proto, prisca_v1_core_recipient_roles_recipient_roles_pb);
|
|
32
|
+
var prisca_v1_core_job_title_job_title_pb = require('../../../../prisca/v1/core/job_title/job_title_pb.js');
|
|
33
|
+
goog.object.extend(proto, prisca_v1_core_job_title_job_title_pb);
|
|
32
34
|
goog.exportSymbol('proto.BaseWorkflowConditionRequest', null, global);
|
|
33
35
|
goog.exportSymbol('proto.BaseWorkflowCriteriaRequest', null, global);
|
|
34
36
|
goog.exportSymbol('proto.BaseWorkflowRequest', null, global);
|
|
@@ -3020,7 +3022,8 @@ createdAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
|
3020
3022
|
updatedAt: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
3021
3023
|
jobPosition: (f = msg.getJobPosition()) && prisca_v1_core_job_position_job_position_pb.JobPosition.toObject(includeInstance, f),
|
|
3022
3024
|
employeesList: jspb.Message.toObjectList(msg.getEmployeesList(),
|
|
3023
|
-
prisca_v1_core_employee_employee_pb.Employee.toObject, includeInstance)
|
|
3025
|
+
prisca_v1_core_employee_employee_pb.Employee.toObject, includeInstance),
|
|
3026
|
+
jobTitle: (f = msg.getJobTitle()) && prisca_v1_core_job_title_job_title_pb.JobTitle.toObject(includeInstance, f)
|
|
3024
3027
|
};
|
|
3025
3028
|
|
|
3026
3029
|
if (includeInstance) {
|
|
@@ -3099,6 +3102,11 @@ proto.WorkflowStepsRecipients.deserializeBinaryFromReader = function(msg, reader
|
|
|
3099
3102
|
reader.readMessage(value,prisca_v1_core_employee_employee_pb.Employee.deserializeBinaryFromReader);
|
|
3100
3103
|
msg.addEmployees(value);
|
|
3101
3104
|
break;
|
|
3105
|
+
case 11:
|
|
3106
|
+
var value = new prisca_v1_core_job_title_job_title_pb.JobTitle;
|
|
3107
|
+
reader.readMessage(value,prisca_v1_core_job_title_job_title_pb.JobTitle.deserializeBinaryFromReader);
|
|
3108
|
+
msg.setJobTitle(value);
|
|
3109
|
+
break;
|
|
3102
3110
|
default:
|
|
3103
3111
|
reader.skipField();
|
|
3104
3112
|
break;
|
|
@@ -3200,6 +3208,14 @@ proto.WorkflowStepsRecipients.serializeBinaryToWriter = function(message, writer
|
|
|
3200
3208
|
prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
|
|
3201
3209
|
);
|
|
3202
3210
|
}
|
|
3211
|
+
f = message.getJobTitle();
|
|
3212
|
+
if (f != null) {
|
|
3213
|
+
writer.writeMessage(
|
|
3214
|
+
11,
|
|
3215
|
+
f,
|
|
3216
|
+
prisca_v1_core_job_title_job_title_pb.JobTitle.serializeBinaryToWriter
|
|
3217
|
+
);
|
|
3218
|
+
}
|
|
3203
3219
|
};
|
|
3204
3220
|
|
|
3205
3221
|
|
|
@@ -3477,6 +3493,43 @@ proto.WorkflowStepsRecipients.prototype.clearEmployeesList = function() {
|
|
|
3477
3493
|
};
|
|
3478
3494
|
|
|
3479
3495
|
|
|
3496
|
+
/**
|
|
3497
|
+
* optional JobTitle job_title = 11;
|
|
3498
|
+
* @return {?proto.JobTitle}
|
|
3499
|
+
*/
|
|
3500
|
+
proto.WorkflowStepsRecipients.prototype.getJobTitle = function() {
|
|
3501
|
+
return /** @type{?proto.JobTitle} */ (
|
|
3502
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_job_title_job_title_pb.JobTitle, 11));
|
|
3503
|
+
};
|
|
3504
|
+
|
|
3505
|
+
|
|
3506
|
+
/**
|
|
3507
|
+
* @param {?proto.JobTitle|undefined} value
|
|
3508
|
+
* @return {!proto.WorkflowStepsRecipients} returns this
|
|
3509
|
+
*/
|
|
3510
|
+
proto.WorkflowStepsRecipients.prototype.setJobTitle = function(value) {
|
|
3511
|
+
return jspb.Message.setWrapperField(this, 11, value);
|
|
3512
|
+
};
|
|
3513
|
+
|
|
3514
|
+
|
|
3515
|
+
/**
|
|
3516
|
+
* Clears the message field making it undefined.
|
|
3517
|
+
* @return {!proto.WorkflowStepsRecipients} returns this
|
|
3518
|
+
*/
|
|
3519
|
+
proto.WorkflowStepsRecipients.prototype.clearJobTitle = function() {
|
|
3520
|
+
return this.setJobTitle(undefined);
|
|
3521
|
+
};
|
|
3522
|
+
|
|
3523
|
+
|
|
3524
|
+
/**
|
|
3525
|
+
* Returns whether this field is set.
|
|
3526
|
+
* @return {boolean}
|
|
3527
|
+
*/
|
|
3528
|
+
proto.WorkflowStepsRecipients.prototype.hasJobTitle = function() {
|
|
3529
|
+
return jspb.Message.getField(this, 11) != null;
|
|
3530
|
+
};
|
|
3531
|
+
|
|
3532
|
+
|
|
3480
3533
|
|
|
3481
3534
|
/**
|
|
3482
3535
|
* List of repeated fields within this message type.
|