@aldiokta/protocgen 1.0.71 → 1.0.73
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_pb.js +35 -14
- package/prisca/v1/core/employee/employee_grpc_pb.js +77 -55
- package/prisca/v1/core/employee/employee_pb.js +946 -540
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +4 -4
- package/prisca/v1/core/material/material_pb.js +8 -8
- package/prisca/v1/core/material_group/material_group_pb.js +8 -8
- package/prisca/v1/core/material_type/material_type_pb.js +8 -8
- package/prisca/v1/core/number_range/number_range_pb.js +8 -8
- package/prisca/v1/core/workflow/workflow_grpc_pb.js +22 -0
- package/prisca/v1/core/workflow/workflow_pb.js +610 -15
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +1 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +94 -2
|
@@ -32,9 +32,11 @@ goog.object.extend(proto, prisca_v1_core_recipient_roles_recipient_roles_pb);
|
|
|
32
32
|
goog.exportSymbol('proto.BaseWorkflowConditionRequest', null, global);
|
|
33
33
|
goog.exportSymbol('proto.BaseWorkflowCriteriaRequest', null, global);
|
|
34
34
|
goog.exportSymbol('proto.BaseWorkflowRequest', null, global);
|
|
35
|
+
goog.exportSymbol('proto.BaseWorkflowRequestDefault', null, global);
|
|
35
36
|
goog.exportSymbol('proto.BaseWorkflowStepsRecipientRequest', null, global);
|
|
36
37
|
goog.exportSymbol('proto.BaseWorkflowStepsRequest', null, global);
|
|
37
38
|
goog.exportSymbol('proto.CreateWorkflowRequest', null, global);
|
|
39
|
+
goog.exportSymbol('proto.CreateWorkflowRequestDefault', null, global);
|
|
38
40
|
goog.exportSymbol('proto.CreateWorkflowResponse', null, global);
|
|
39
41
|
goog.exportSymbol('proto.DeleteWorkflowRequest', null, global);
|
|
40
42
|
goog.exportSymbol('proto.DeleteWorkflowResponse', null, global);
|
|
@@ -197,6 +199,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
197
199
|
*/
|
|
198
200
|
proto.BaseWorkflowRequest.displayName = 'proto.BaseWorkflowRequest';
|
|
199
201
|
}
|
|
202
|
+
/**
|
|
203
|
+
* Generated by JsPbCodeGenerator.
|
|
204
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
205
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
206
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
207
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
208
|
+
* valid.
|
|
209
|
+
* @extends {jspb.Message}
|
|
210
|
+
* @constructor
|
|
211
|
+
*/
|
|
212
|
+
proto.BaseWorkflowRequestDefault = function(opt_data) {
|
|
213
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
214
|
+
};
|
|
215
|
+
goog.inherits(proto.BaseWorkflowRequestDefault, jspb.Message);
|
|
216
|
+
if (goog.DEBUG && !COMPILED) {
|
|
217
|
+
/**
|
|
218
|
+
* @public
|
|
219
|
+
* @override
|
|
220
|
+
*/
|
|
221
|
+
proto.BaseWorkflowRequestDefault.displayName = 'proto.BaseWorkflowRequestDefault';
|
|
222
|
+
}
|
|
200
223
|
/**
|
|
201
224
|
* Generated by JsPbCodeGenerator.
|
|
202
225
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -302,6 +325,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
302
325
|
*/
|
|
303
326
|
proto.CreateWorkflowRequest.displayName = 'proto.CreateWorkflowRequest';
|
|
304
327
|
}
|
|
328
|
+
/**
|
|
329
|
+
* Generated by JsPbCodeGenerator.
|
|
330
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
331
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
332
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
333
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
334
|
+
* valid.
|
|
335
|
+
* @extends {jspb.Message}
|
|
336
|
+
* @constructor
|
|
337
|
+
*/
|
|
338
|
+
proto.CreateWorkflowRequestDefault = function(opt_data) {
|
|
339
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
340
|
+
};
|
|
341
|
+
goog.inherits(proto.CreateWorkflowRequestDefault, jspb.Message);
|
|
342
|
+
if (goog.DEBUG && !COMPILED) {
|
|
343
|
+
/**
|
|
344
|
+
* @public
|
|
345
|
+
* @override
|
|
346
|
+
*/
|
|
347
|
+
proto.CreateWorkflowRequestDefault.displayName = 'proto.CreateWorkflowRequestDefault';
|
|
348
|
+
}
|
|
305
349
|
/**
|
|
306
350
|
* Generated by JsPbCodeGenerator.
|
|
307
351
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1123,17 +1167,17 @@ proto.Workflow.prototype.setCompaniesReferencesId = function(value) {
|
|
|
1123
1167
|
|
|
1124
1168
|
|
|
1125
1169
|
/**
|
|
1126
|
-
* optional Employee created_by_employee = 16;
|
|
1127
|
-
* @return {?proto.Employee}
|
|
1170
|
+
* optional prisca.v1.core.employee.Employee created_by_employee = 16;
|
|
1171
|
+
* @return {?proto.prisca.v1.core.employee.Employee}
|
|
1128
1172
|
*/
|
|
1129
1173
|
proto.Workflow.prototype.getCreatedByEmployee = function() {
|
|
1130
|
-
return /** @type{?proto.Employee} */ (
|
|
1174
|
+
return /** @type{?proto.prisca.v1.core.employee.Employee} */ (
|
|
1131
1175
|
jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 16));
|
|
1132
1176
|
};
|
|
1133
1177
|
|
|
1134
1178
|
|
|
1135
1179
|
/**
|
|
1136
|
-
* @param {?proto.Employee|undefined} value
|
|
1180
|
+
* @param {?proto.prisca.v1.core.employee.Employee|undefined} value
|
|
1137
1181
|
* @return {!proto.Workflow} returns this
|
|
1138
1182
|
*/
|
|
1139
1183
|
proto.Workflow.prototype.setCreatedByEmployee = function(value) {
|
|
@@ -1160,17 +1204,17 @@ proto.Workflow.prototype.hasCreatedByEmployee = function() {
|
|
|
1160
1204
|
|
|
1161
1205
|
|
|
1162
1206
|
/**
|
|
1163
|
-
* optional Employee updated_by_employee = 17;
|
|
1164
|
-
* @return {?proto.Employee}
|
|
1207
|
+
* optional prisca.v1.core.employee.Employee updated_by_employee = 17;
|
|
1208
|
+
* @return {?proto.prisca.v1.core.employee.Employee}
|
|
1165
1209
|
*/
|
|
1166
1210
|
proto.Workflow.prototype.getUpdatedByEmployee = function() {
|
|
1167
|
-
return /** @type{?proto.Employee} */ (
|
|
1211
|
+
return /** @type{?proto.prisca.v1.core.employee.Employee} */ (
|
|
1168
1212
|
jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 17));
|
|
1169
1213
|
};
|
|
1170
1214
|
|
|
1171
1215
|
|
|
1172
1216
|
/**
|
|
1173
|
-
* @param {?proto.Employee|undefined} value
|
|
1217
|
+
* @param {?proto.prisca.v1.core.employee.Employee|undefined} value
|
|
1174
1218
|
* @return {!proto.Workflow} returns this
|
|
1175
1219
|
*/
|
|
1176
1220
|
proto.Workflow.prototype.setUpdatedByEmployee = function(value) {
|
|
@@ -3348,17 +3392,17 @@ proto.WorkflowStepsRecipients.prototype.hasJobPosition = function() {
|
|
|
3348
3392
|
|
|
3349
3393
|
|
|
3350
3394
|
/**
|
|
3351
|
-
* repeated Employee employees = 9;
|
|
3352
|
-
* @return {!Array<!proto.Employee>}
|
|
3395
|
+
* repeated prisca.v1.core.employee.Employee employees = 9;
|
|
3396
|
+
* @return {!Array<!proto.prisca.v1.core.employee.Employee>}
|
|
3353
3397
|
*/
|
|
3354
3398
|
proto.WorkflowStepsRecipients.prototype.getEmployeesList = function() {
|
|
3355
|
-
return /** @type{!Array<!proto.Employee>} */ (
|
|
3399
|
+
return /** @type{!Array<!proto.prisca.v1.core.employee.Employee>} */ (
|
|
3356
3400
|
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 9));
|
|
3357
3401
|
};
|
|
3358
3402
|
|
|
3359
3403
|
|
|
3360
3404
|
/**
|
|
3361
|
-
* @param {!Array<!proto.Employee>} value
|
|
3405
|
+
* @param {!Array<!proto.prisca.v1.core.employee.Employee>} value
|
|
3362
3406
|
* @return {!proto.WorkflowStepsRecipients} returns this
|
|
3363
3407
|
*/
|
|
3364
3408
|
proto.WorkflowStepsRecipients.prototype.setEmployeesList = function(value) {
|
|
@@ -3367,12 +3411,12 @@ proto.WorkflowStepsRecipients.prototype.setEmployeesList = function(value) {
|
|
|
3367
3411
|
|
|
3368
3412
|
|
|
3369
3413
|
/**
|
|
3370
|
-
* @param {!proto.Employee=} opt_value
|
|
3414
|
+
* @param {!proto.prisca.v1.core.employee.Employee=} opt_value
|
|
3371
3415
|
* @param {number=} opt_index
|
|
3372
|
-
* @return {!proto.Employee}
|
|
3416
|
+
* @return {!proto.prisca.v1.core.employee.Employee}
|
|
3373
3417
|
*/
|
|
3374
3418
|
proto.WorkflowStepsRecipients.prototype.addEmployees = function(opt_value, opt_index) {
|
|
3375
|
-
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.Employee, opt_index);
|
|
3419
|
+
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.prisca.v1.core.employee.Employee, opt_index);
|
|
3376
3420
|
};
|
|
3377
3421
|
|
|
3378
3422
|
|
|
@@ -3839,6 +3883,406 @@ proto.BaseWorkflowRequest.prototype.setWorkflowType = function(value) {
|
|
|
3839
3883
|
|
|
3840
3884
|
|
|
3841
3885
|
|
|
3886
|
+
|
|
3887
|
+
|
|
3888
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3889
|
+
/**
|
|
3890
|
+
* Creates an object representation of this proto.
|
|
3891
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3892
|
+
* Optional fields that are not set will be set to undefined.
|
|
3893
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3894
|
+
* For the list of reserved names please see:
|
|
3895
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3896
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3897
|
+
* JSPB instance for transitional soy proto support:
|
|
3898
|
+
* http://goto/soy-param-migration
|
|
3899
|
+
* @return {!Object}
|
|
3900
|
+
*/
|
|
3901
|
+
proto.BaseWorkflowRequestDefault.prototype.toObject = function(opt_includeInstance) {
|
|
3902
|
+
return proto.BaseWorkflowRequestDefault.toObject(opt_includeInstance, this);
|
|
3903
|
+
};
|
|
3904
|
+
|
|
3905
|
+
|
|
3906
|
+
/**
|
|
3907
|
+
* Static version of the {@see toObject} method.
|
|
3908
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3909
|
+
* the JSPB instance for transitional soy proto support:
|
|
3910
|
+
* http://goto/soy-param-migration
|
|
3911
|
+
* @param {!proto.BaseWorkflowRequestDefault} msg The msg instance to transform.
|
|
3912
|
+
* @return {!Object}
|
|
3913
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3914
|
+
*/
|
|
3915
|
+
proto.BaseWorkflowRequestDefault.toObject = function(includeInstance, msg) {
|
|
3916
|
+
var f, obj = {
|
|
3917
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3918
|
+
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3919
|
+
validFrom: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3920
|
+
validTo: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3921
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3922
|
+
updatedBy: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
3923
|
+
employeeReferencesId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
3924
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
3925
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
3926
|
+
workflowType: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
3927
|
+
};
|
|
3928
|
+
|
|
3929
|
+
if (includeInstance) {
|
|
3930
|
+
obj.$jspbMessageInstance = msg;
|
|
3931
|
+
}
|
|
3932
|
+
return obj;
|
|
3933
|
+
};
|
|
3934
|
+
}
|
|
3935
|
+
|
|
3936
|
+
|
|
3937
|
+
/**
|
|
3938
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3939
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3940
|
+
* @return {!proto.BaseWorkflowRequestDefault}
|
|
3941
|
+
*/
|
|
3942
|
+
proto.BaseWorkflowRequestDefault.deserializeBinary = function(bytes) {
|
|
3943
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3944
|
+
var msg = new proto.BaseWorkflowRequestDefault;
|
|
3945
|
+
return proto.BaseWorkflowRequestDefault.deserializeBinaryFromReader(msg, reader);
|
|
3946
|
+
};
|
|
3947
|
+
|
|
3948
|
+
|
|
3949
|
+
/**
|
|
3950
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3951
|
+
* given reader into the given message object.
|
|
3952
|
+
* @param {!proto.BaseWorkflowRequestDefault} msg The message object to deserialize into.
|
|
3953
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3954
|
+
* @return {!proto.BaseWorkflowRequestDefault}
|
|
3955
|
+
*/
|
|
3956
|
+
proto.BaseWorkflowRequestDefault.deserializeBinaryFromReader = function(msg, reader) {
|
|
3957
|
+
while (reader.nextField()) {
|
|
3958
|
+
if (reader.isEndGroup()) {
|
|
3959
|
+
break;
|
|
3960
|
+
}
|
|
3961
|
+
var field = reader.getFieldNumber();
|
|
3962
|
+
switch (field) {
|
|
3963
|
+
case 1:
|
|
3964
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3965
|
+
msg.setName(value);
|
|
3966
|
+
break;
|
|
3967
|
+
case 2:
|
|
3968
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3969
|
+
msg.setDescription(value);
|
|
3970
|
+
break;
|
|
3971
|
+
case 3:
|
|
3972
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3973
|
+
msg.setValidFrom(value);
|
|
3974
|
+
break;
|
|
3975
|
+
case 4:
|
|
3976
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3977
|
+
msg.setValidTo(value);
|
|
3978
|
+
break;
|
|
3979
|
+
case 5:
|
|
3980
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3981
|
+
msg.setCreatedBy(value);
|
|
3982
|
+
break;
|
|
3983
|
+
case 6:
|
|
3984
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3985
|
+
msg.setUpdatedBy(value);
|
|
3986
|
+
break;
|
|
3987
|
+
case 7:
|
|
3988
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3989
|
+
msg.setEmployeeReferencesId(value);
|
|
3990
|
+
break;
|
|
3991
|
+
case 8:
|
|
3992
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3993
|
+
msg.setCompaniesReferencesId(value);
|
|
3994
|
+
break;
|
|
3995
|
+
case 9:
|
|
3996
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
3997
|
+
msg.setIsActive(value);
|
|
3998
|
+
break;
|
|
3999
|
+
case 10:
|
|
4000
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4001
|
+
msg.setWorkflowType(value);
|
|
4002
|
+
break;
|
|
4003
|
+
default:
|
|
4004
|
+
reader.skipField();
|
|
4005
|
+
break;
|
|
4006
|
+
}
|
|
4007
|
+
}
|
|
4008
|
+
return msg;
|
|
4009
|
+
};
|
|
4010
|
+
|
|
4011
|
+
|
|
4012
|
+
/**
|
|
4013
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4014
|
+
* @return {!Uint8Array}
|
|
4015
|
+
*/
|
|
4016
|
+
proto.BaseWorkflowRequestDefault.prototype.serializeBinary = function() {
|
|
4017
|
+
var writer = new jspb.BinaryWriter();
|
|
4018
|
+
proto.BaseWorkflowRequestDefault.serializeBinaryToWriter(this, writer);
|
|
4019
|
+
return writer.getResultBuffer();
|
|
4020
|
+
};
|
|
4021
|
+
|
|
4022
|
+
|
|
4023
|
+
/**
|
|
4024
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4025
|
+
* format), writing to the given BinaryWriter.
|
|
4026
|
+
* @param {!proto.BaseWorkflowRequestDefault} message
|
|
4027
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4028
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4029
|
+
*/
|
|
4030
|
+
proto.BaseWorkflowRequestDefault.serializeBinaryToWriter = function(message, writer) {
|
|
4031
|
+
var f = undefined;
|
|
4032
|
+
f = message.getName();
|
|
4033
|
+
if (f.length > 0) {
|
|
4034
|
+
writer.writeString(
|
|
4035
|
+
1,
|
|
4036
|
+
f
|
|
4037
|
+
);
|
|
4038
|
+
}
|
|
4039
|
+
f = message.getDescription();
|
|
4040
|
+
if (f.length > 0) {
|
|
4041
|
+
writer.writeString(
|
|
4042
|
+
2,
|
|
4043
|
+
f
|
|
4044
|
+
);
|
|
4045
|
+
}
|
|
4046
|
+
f = message.getValidFrom();
|
|
4047
|
+
if (f.length > 0) {
|
|
4048
|
+
writer.writeString(
|
|
4049
|
+
3,
|
|
4050
|
+
f
|
|
4051
|
+
);
|
|
4052
|
+
}
|
|
4053
|
+
f = message.getValidTo();
|
|
4054
|
+
if (f.length > 0) {
|
|
4055
|
+
writer.writeString(
|
|
4056
|
+
4,
|
|
4057
|
+
f
|
|
4058
|
+
);
|
|
4059
|
+
}
|
|
4060
|
+
f = message.getCreatedBy();
|
|
4061
|
+
if (f.length > 0) {
|
|
4062
|
+
writer.writeString(
|
|
4063
|
+
5,
|
|
4064
|
+
f
|
|
4065
|
+
);
|
|
4066
|
+
}
|
|
4067
|
+
f = message.getUpdatedBy();
|
|
4068
|
+
if (f.length > 0) {
|
|
4069
|
+
writer.writeString(
|
|
4070
|
+
6,
|
|
4071
|
+
f
|
|
4072
|
+
);
|
|
4073
|
+
}
|
|
4074
|
+
f = message.getEmployeeReferencesId();
|
|
4075
|
+
if (f.length > 0) {
|
|
4076
|
+
writer.writeString(
|
|
4077
|
+
7,
|
|
4078
|
+
f
|
|
4079
|
+
);
|
|
4080
|
+
}
|
|
4081
|
+
f = message.getCompaniesReferencesId();
|
|
4082
|
+
if (f.length > 0) {
|
|
4083
|
+
writer.writeString(
|
|
4084
|
+
8,
|
|
4085
|
+
f
|
|
4086
|
+
);
|
|
4087
|
+
}
|
|
4088
|
+
f = message.getIsActive();
|
|
4089
|
+
if (f) {
|
|
4090
|
+
writer.writeBool(
|
|
4091
|
+
9,
|
|
4092
|
+
f
|
|
4093
|
+
);
|
|
4094
|
+
}
|
|
4095
|
+
f = message.getWorkflowType();
|
|
4096
|
+
if (f.length > 0) {
|
|
4097
|
+
writer.writeString(
|
|
4098
|
+
10,
|
|
4099
|
+
f
|
|
4100
|
+
);
|
|
4101
|
+
}
|
|
4102
|
+
};
|
|
4103
|
+
|
|
4104
|
+
|
|
4105
|
+
/**
|
|
4106
|
+
* optional string name = 1;
|
|
4107
|
+
* @return {string}
|
|
4108
|
+
*/
|
|
4109
|
+
proto.BaseWorkflowRequestDefault.prototype.getName = function() {
|
|
4110
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4111
|
+
};
|
|
4112
|
+
|
|
4113
|
+
|
|
4114
|
+
/**
|
|
4115
|
+
* @param {string} value
|
|
4116
|
+
* @return {!proto.BaseWorkflowRequestDefault} returns this
|
|
4117
|
+
*/
|
|
4118
|
+
proto.BaseWorkflowRequestDefault.prototype.setName = function(value) {
|
|
4119
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4120
|
+
};
|
|
4121
|
+
|
|
4122
|
+
|
|
4123
|
+
/**
|
|
4124
|
+
* optional string description = 2;
|
|
4125
|
+
* @return {string}
|
|
4126
|
+
*/
|
|
4127
|
+
proto.BaseWorkflowRequestDefault.prototype.getDescription = function() {
|
|
4128
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4129
|
+
};
|
|
4130
|
+
|
|
4131
|
+
|
|
4132
|
+
/**
|
|
4133
|
+
* @param {string} value
|
|
4134
|
+
* @return {!proto.BaseWorkflowRequestDefault} returns this
|
|
4135
|
+
*/
|
|
4136
|
+
proto.BaseWorkflowRequestDefault.prototype.setDescription = function(value) {
|
|
4137
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4138
|
+
};
|
|
4139
|
+
|
|
4140
|
+
|
|
4141
|
+
/**
|
|
4142
|
+
* optional string valid_from = 3;
|
|
4143
|
+
* @return {string}
|
|
4144
|
+
*/
|
|
4145
|
+
proto.BaseWorkflowRequestDefault.prototype.getValidFrom = function() {
|
|
4146
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4147
|
+
};
|
|
4148
|
+
|
|
4149
|
+
|
|
4150
|
+
/**
|
|
4151
|
+
* @param {string} value
|
|
4152
|
+
* @return {!proto.BaseWorkflowRequestDefault} returns this
|
|
4153
|
+
*/
|
|
4154
|
+
proto.BaseWorkflowRequestDefault.prototype.setValidFrom = function(value) {
|
|
4155
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4156
|
+
};
|
|
4157
|
+
|
|
4158
|
+
|
|
4159
|
+
/**
|
|
4160
|
+
* optional string valid_to = 4;
|
|
4161
|
+
* @return {string}
|
|
4162
|
+
*/
|
|
4163
|
+
proto.BaseWorkflowRequestDefault.prototype.getValidTo = function() {
|
|
4164
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4165
|
+
};
|
|
4166
|
+
|
|
4167
|
+
|
|
4168
|
+
/**
|
|
4169
|
+
* @param {string} value
|
|
4170
|
+
* @return {!proto.BaseWorkflowRequestDefault} returns this
|
|
4171
|
+
*/
|
|
4172
|
+
proto.BaseWorkflowRequestDefault.prototype.setValidTo = function(value) {
|
|
4173
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
4174
|
+
};
|
|
4175
|
+
|
|
4176
|
+
|
|
4177
|
+
/**
|
|
4178
|
+
* optional string created_by = 5;
|
|
4179
|
+
* @return {string}
|
|
4180
|
+
*/
|
|
4181
|
+
proto.BaseWorkflowRequestDefault.prototype.getCreatedBy = function() {
|
|
4182
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
4183
|
+
};
|
|
4184
|
+
|
|
4185
|
+
|
|
4186
|
+
/**
|
|
4187
|
+
* @param {string} value
|
|
4188
|
+
* @return {!proto.BaseWorkflowRequestDefault} returns this
|
|
4189
|
+
*/
|
|
4190
|
+
proto.BaseWorkflowRequestDefault.prototype.setCreatedBy = function(value) {
|
|
4191
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
4192
|
+
};
|
|
4193
|
+
|
|
4194
|
+
|
|
4195
|
+
/**
|
|
4196
|
+
* optional string updated_by = 6;
|
|
4197
|
+
* @return {string}
|
|
4198
|
+
*/
|
|
4199
|
+
proto.BaseWorkflowRequestDefault.prototype.getUpdatedBy = function() {
|
|
4200
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
4201
|
+
};
|
|
4202
|
+
|
|
4203
|
+
|
|
4204
|
+
/**
|
|
4205
|
+
* @param {string} value
|
|
4206
|
+
* @return {!proto.BaseWorkflowRequestDefault} returns this
|
|
4207
|
+
*/
|
|
4208
|
+
proto.BaseWorkflowRequestDefault.prototype.setUpdatedBy = function(value) {
|
|
4209
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
4210
|
+
};
|
|
4211
|
+
|
|
4212
|
+
|
|
4213
|
+
/**
|
|
4214
|
+
* optional string employee_references_id = 7;
|
|
4215
|
+
* @return {string}
|
|
4216
|
+
*/
|
|
4217
|
+
proto.BaseWorkflowRequestDefault.prototype.getEmployeeReferencesId = function() {
|
|
4218
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
4219
|
+
};
|
|
4220
|
+
|
|
4221
|
+
|
|
4222
|
+
/**
|
|
4223
|
+
* @param {string} value
|
|
4224
|
+
* @return {!proto.BaseWorkflowRequestDefault} returns this
|
|
4225
|
+
*/
|
|
4226
|
+
proto.BaseWorkflowRequestDefault.prototype.setEmployeeReferencesId = function(value) {
|
|
4227
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
4228
|
+
};
|
|
4229
|
+
|
|
4230
|
+
|
|
4231
|
+
/**
|
|
4232
|
+
* optional string companies_references_id = 8;
|
|
4233
|
+
* @return {string}
|
|
4234
|
+
*/
|
|
4235
|
+
proto.BaseWorkflowRequestDefault.prototype.getCompaniesReferencesId = function() {
|
|
4236
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
4237
|
+
};
|
|
4238
|
+
|
|
4239
|
+
|
|
4240
|
+
/**
|
|
4241
|
+
* @param {string} value
|
|
4242
|
+
* @return {!proto.BaseWorkflowRequestDefault} returns this
|
|
4243
|
+
*/
|
|
4244
|
+
proto.BaseWorkflowRequestDefault.prototype.setCompaniesReferencesId = function(value) {
|
|
4245
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
4246
|
+
};
|
|
4247
|
+
|
|
4248
|
+
|
|
4249
|
+
/**
|
|
4250
|
+
* optional bool is_active = 9;
|
|
4251
|
+
* @return {boolean}
|
|
4252
|
+
*/
|
|
4253
|
+
proto.BaseWorkflowRequestDefault.prototype.getIsActive = function() {
|
|
4254
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
|
|
4255
|
+
};
|
|
4256
|
+
|
|
4257
|
+
|
|
4258
|
+
/**
|
|
4259
|
+
* @param {boolean} value
|
|
4260
|
+
* @return {!proto.BaseWorkflowRequestDefault} returns this
|
|
4261
|
+
*/
|
|
4262
|
+
proto.BaseWorkflowRequestDefault.prototype.setIsActive = function(value) {
|
|
4263
|
+
return jspb.Message.setProto3BooleanField(this, 9, value);
|
|
4264
|
+
};
|
|
4265
|
+
|
|
4266
|
+
|
|
4267
|
+
/**
|
|
4268
|
+
* optional string workflow_type = 10;
|
|
4269
|
+
* @return {string}
|
|
4270
|
+
*/
|
|
4271
|
+
proto.BaseWorkflowRequestDefault.prototype.getWorkflowType = function() {
|
|
4272
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
4273
|
+
};
|
|
4274
|
+
|
|
4275
|
+
|
|
4276
|
+
/**
|
|
4277
|
+
* @param {string} value
|
|
4278
|
+
* @return {!proto.BaseWorkflowRequestDefault} returns this
|
|
4279
|
+
*/
|
|
4280
|
+
proto.BaseWorkflowRequestDefault.prototype.setWorkflowType = function(value) {
|
|
4281
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
4282
|
+
};
|
|
4283
|
+
|
|
4284
|
+
|
|
4285
|
+
|
|
3842
4286
|
/**
|
|
3843
4287
|
* List of repeated fields within this message type.
|
|
3844
4288
|
* @private {!Array<number>}
|
|
@@ -5140,6 +5584,157 @@ proto.CreateWorkflowRequest.prototype.hasBaseWorkflow = function() {
|
|
|
5140
5584
|
|
|
5141
5585
|
|
|
5142
5586
|
|
|
5587
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5588
|
+
/**
|
|
5589
|
+
* Creates an object representation of this proto.
|
|
5590
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5591
|
+
* Optional fields that are not set will be set to undefined.
|
|
5592
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5593
|
+
* For the list of reserved names please see:
|
|
5594
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5595
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5596
|
+
* JSPB instance for transitional soy proto support:
|
|
5597
|
+
* http://goto/soy-param-migration
|
|
5598
|
+
* @return {!Object}
|
|
5599
|
+
*/
|
|
5600
|
+
proto.CreateWorkflowRequestDefault.prototype.toObject = function(opt_includeInstance) {
|
|
5601
|
+
return proto.CreateWorkflowRequestDefault.toObject(opt_includeInstance, this);
|
|
5602
|
+
};
|
|
5603
|
+
|
|
5604
|
+
|
|
5605
|
+
/**
|
|
5606
|
+
* Static version of the {@see toObject} method.
|
|
5607
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5608
|
+
* the JSPB instance for transitional soy proto support:
|
|
5609
|
+
* http://goto/soy-param-migration
|
|
5610
|
+
* @param {!proto.CreateWorkflowRequestDefault} msg The msg instance to transform.
|
|
5611
|
+
* @return {!Object}
|
|
5612
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5613
|
+
*/
|
|
5614
|
+
proto.CreateWorkflowRequestDefault.toObject = function(includeInstance, msg) {
|
|
5615
|
+
var f, obj = {
|
|
5616
|
+
baseWorkflow: (f = msg.getBaseWorkflow()) && proto.BaseWorkflowRequestDefault.toObject(includeInstance, f)
|
|
5617
|
+
};
|
|
5618
|
+
|
|
5619
|
+
if (includeInstance) {
|
|
5620
|
+
obj.$jspbMessageInstance = msg;
|
|
5621
|
+
}
|
|
5622
|
+
return obj;
|
|
5623
|
+
};
|
|
5624
|
+
}
|
|
5625
|
+
|
|
5626
|
+
|
|
5627
|
+
/**
|
|
5628
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5629
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5630
|
+
* @return {!proto.CreateWorkflowRequestDefault}
|
|
5631
|
+
*/
|
|
5632
|
+
proto.CreateWorkflowRequestDefault.deserializeBinary = function(bytes) {
|
|
5633
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5634
|
+
var msg = new proto.CreateWorkflowRequestDefault;
|
|
5635
|
+
return proto.CreateWorkflowRequestDefault.deserializeBinaryFromReader(msg, reader);
|
|
5636
|
+
};
|
|
5637
|
+
|
|
5638
|
+
|
|
5639
|
+
/**
|
|
5640
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5641
|
+
* given reader into the given message object.
|
|
5642
|
+
* @param {!proto.CreateWorkflowRequestDefault} msg The message object to deserialize into.
|
|
5643
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5644
|
+
* @return {!proto.CreateWorkflowRequestDefault}
|
|
5645
|
+
*/
|
|
5646
|
+
proto.CreateWorkflowRequestDefault.deserializeBinaryFromReader = function(msg, reader) {
|
|
5647
|
+
while (reader.nextField()) {
|
|
5648
|
+
if (reader.isEndGroup()) {
|
|
5649
|
+
break;
|
|
5650
|
+
}
|
|
5651
|
+
var field = reader.getFieldNumber();
|
|
5652
|
+
switch (field) {
|
|
5653
|
+
case 1:
|
|
5654
|
+
var value = new proto.BaseWorkflowRequestDefault;
|
|
5655
|
+
reader.readMessage(value,proto.BaseWorkflowRequestDefault.deserializeBinaryFromReader);
|
|
5656
|
+
msg.setBaseWorkflow(value);
|
|
5657
|
+
break;
|
|
5658
|
+
default:
|
|
5659
|
+
reader.skipField();
|
|
5660
|
+
break;
|
|
5661
|
+
}
|
|
5662
|
+
}
|
|
5663
|
+
return msg;
|
|
5664
|
+
};
|
|
5665
|
+
|
|
5666
|
+
|
|
5667
|
+
/**
|
|
5668
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5669
|
+
* @return {!Uint8Array}
|
|
5670
|
+
*/
|
|
5671
|
+
proto.CreateWorkflowRequestDefault.prototype.serializeBinary = function() {
|
|
5672
|
+
var writer = new jspb.BinaryWriter();
|
|
5673
|
+
proto.CreateWorkflowRequestDefault.serializeBinaryToWriter(this, writer);
|
|
5674
|
+
return writer.getResultBuffer();
|
|
5675
|
+
};
|
|
5676
|
+
|
|
5677
|
+
|
|
5678
|
+
/**
|
|
5679
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5680
|
+
* format), writing to the given BinaryWriter.
|
|
5681
|
+
* @param {!proto.CreateWorkflowRequestDefault} message
|
|
5682
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5683
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5684
|
+
*/
|
|
5685
|
+
proto.CreateWorkflowRequestDefault.serializeBinaryToWriter = function(message, writer) {
|
|
5686
|
+
var f = undefined;
|
|
5687
|
+
f = message.getBaseWorkflow();
|
|
5688
|
+
if (f != null) {
|
|
5689
|
+
writer.writeMessage(
|
|
5690
|
+
1,
|
|
5691
|
+
f,
|
|
5692
|
+
proto.BaseWorkflowRequestDefault.serializeBinaryToWriter
|
|
5693
|
+
);
|
|
5694
|
+
}
|
|
5695
|
+
};
|
|
5696
|
+
|
|
5697
|
+
|
|
5698
|
+
/**
|
|
5699
|
+
* optional BaseWorkflowRequestDefault base_workflow = 1;
|
|
5700
|
+
* @return {?proto.BaseWorkflowRequestDefault}
|
|
5701
|
+
*/
|
|
5702
|
+
proto.CreateWorkflowRequestDefault.prototype.getBaseWorkflow = function() {
|
|
5703
|
+
return /** @type{?proto.BaseWorkflowRequestDefault} */ (
|
|
5704
|
+
jspb.Message.getWrapperField(this, proto.BaseWorkflowRequestDefault, 1));
|
|
5705
|
+
};
|
|
5706
|
+
|
|
5707
|
+
|
|
5708
|
+
/**
|
|
5709
|
+
* @param {?proto.BaseWorkflowRequestDefault|undefined} value
|
|
5710
|
+
* @return {!proto.CreateWorkflowRequestDefault} returns this
|
|
5711
|
+
*/
|
|
5712
|
+
proto.CreateWorkflowRequestDefault.prototype.setBaseWorkflow = function(value) {
|
|
5713
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
5714
|
+
};
|
|
5715
|
+
|
|
5716
|
+
|
|
5717
|
+
/**
|
|
5718
|
+
* Clears the message field making it undefined.
|
|
5719
|
+
* @return {!proto.CreateWorkflowRequestDefault} returns this
|
|
5720
|
+
*/
|
|
5721
|
+
proto.CreateWorkflowRequestDefault.prototype.clearBaseWorkflow = function() {
|
|
5722
|
+
return this.setBaseWorkflow(undefined);
|
|
5723
|
+
};
|
|
5724
|
+
|
|
5725
|
+
|
|
5726
|
+
/**
|
|
5727
|
+
* Returns whether this field is set.
|
|
5728
|
+
* @return {boolean}
|
|
5729
|
+
*/
|
|
5730
|
+
proto.CreateWorkflowRequestDefault.prototype.hasBaseWorkflow = function() {
|
|
5731
|
+
return jspb.Message.getField(this, 1) != null;
|
|
5732
|
+
};
|
|
5733
|
+
|
|
5734
|
+
|
|
5735
|
+
|
|
5736
|
+
|
|
5737
|
+
|
|
5143
5738
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5144
5739
|
/**
|
|
5145
5740
|
* Creates an object representation of this proto.
|