@aldiokta/protocgen 1.1.60 → 1.1.62
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/budget/budget_grpc_pb.js +1 -0
- package/prisca/v1/budget/budget_pb.js +264 -1
- package/prisca/v1/budget_planning/budget_planning_grpc_pb.js +112 -0
- package/prisca/v1/budget_planning/budget_planning_pb.js +7073 -2008
- package/prisca/v1/core/auth/auth_grpc_pb.js +1 -0
- package/prisca/v1/core/auth/auth_pb.js +115 -2
- package/prisca/v1/core/employee/employee_grpc_pb.js +22 -0
- package/prisca/v1/core/employee/employee_pb.js +214 -2
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +610 -11
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +22 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +303 -1
- package/prisca/v1/core/report/report_pb.js +31 -1
- package/prisca/v1/core/users/users_pb.js +31 -1
- package/prisca/v1/down_payment/down_payment_grpc_pb.js +201 -0
- package/prisca/v1/down_payment/down_payment_pb.js +3357 -0
- package/prisca/v1/general_configuration/general_configuration_grpc_pb.js +212 -0
- package/prisca/v1/general_configuration/general_configuration_pb.js +2886 -0
- package/prisca/v1/invoice/invoice_grpc_pb.js +77 -0
- package/prisca/v1/invoice/invoice_pb.js +2657 -434
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +34 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +2542 -57
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +22 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +924 -144
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +72 -12
- package/prisca/v1/webhook_builder/webhook_builder_grpc_pb.js +245 -0
- package/prisca/v1/webhook_builder/webhook_builder_pb.js +5084 -0
- package/prisca/v1/webhook_incoming_integration/webhook_incoming_integration_grpc_pb.js +245 -0
- package/prisca/v1/webhook_incoming_integration/webhook_incoming_integration_pb.js +3499 -0
- package/prisca/v1/webhook_integration/webhook_integration_grpc_pb.js +212 -0
- package/prisca/v1/webhook_integration/webhook_integration_pb.js +2976 -0
|
@@ -106,6 +106,17 @@ function deserialize_GetListLineOfApprovalResponse(buffer_arg) {
|
|
|
106
106
|
return prisca_v1_core_line_of_approval_line_of_approval_pb.GetListLineOfApprovalResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
+
function serialize_GetListOverViewApprovalRes(arg) {
|
|
110
|
+
if (!(arg instanceof prisca_v1_core_line_of_approval_line_of_approval_pb.GetListOverViewApprovalRes)) {
|
|
111
|
+
throw new Error('Expected argument of type GetListOverViewApprovalRes');
|
|
112
|
+
}
|
|
113
|
+
return Buffer.from(arg.serializeBinary());
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
function deserialize_GetListOverViewApprovalRes(buffer_arg) {
|
|
117
|
+
return prisca_v1_core_line_of_approval_line_of_approval_pb.GetListOverViewApprovalRes.deserializeBinary(new Uint8Array(buffer_arg));
|
|
118
|
+
}
|
|
119
|
+
|
|
109
120
|
function serialize_GetVendorLineOfApprovalResponse(arg) {
|
|
110
121
|
if (!(arg instanceof prisca_v1_core_line_of_approval_line_of_approval_pb.GetVendorLineOfApprovalResponse)) {
|
|
111
122
|
throw new Error('Expected argument of type GetVendorLineOfApprovalResponse');
|
|
@@ -229,6 +240,17 @@ var LineOfApprovalServiceService = exports.LineOfApprovalServiceService = {
|
|
|
229
240
|
responseSerialize: serialize_GetVendorLineOfApprovalResponse,
|
|
230
241
|
responseDeserialize: deserialize_GetVendorLineOfApprovalResponse,
|
|
231
242
|
},
|
|
243
|
+
getListOverView: {
|
|
244
|
+
path: '/LineOfApprovalService/GetListOverView',
|
|
245
|
+
requestStream: false,
|
|
246
|
+
responseStream: false,
|
|
247
|
+
requestType: prisca_v1_core_line_of_approval_line_of_approval_pb.GetListLineOfApprovalRequest,
|
|
248
|
+
responseType: prisca_v1_core_line_of_approval_line_of_approval_pb.GetListOverViewApprovalRes,
|
|
249
|
+
requestSerialize: serialize_GetListLineOfApprovalRequest,
|
|
250
|
+
requestDeserialize: deserialize_GetListLineOfApprovalRequest,
|
|
251
|
+
responseSerialize: serialize_GetListOverViewApprovalRes,
|
|
252
|
+
responseDeserialize: deserialize_GetListOverViewApprovalRes,
|
|
253
|
+
},
|
|
232
254
|
};
|
|
233
255
|
|
|
234
256
|
exports.LineOfApprovalServiceClient = grpc.makeGenericClientConstructor(LineOfApprovalServiceService, 'LineOfApprovalService');
|
|
@@ -32,6 +32,7 @@ goog.exportSymbol('proto.GetLineOfApprovalByIdResponse', null, global);
|
|
|
32
32
|
goog.exportSymbol('proto.GetListAllLineOfApprovalResponse', null, global);
|
|
33
33
|
goog.exportSymbol('proto.GetListLineOfApprovalRequest', null, global);
|
|
34
34
|
goog.exportSymbol('proto.GetListLineOfApprovalResponse', null, global);
|
|
35
|
+
goog.exportSymbol('proto.GetListOverViewApprovalRes', null, global);
|
|
35
36
|
goog.exportSymbol('proto.GetVendorLineOfApprovalResponse', null, global);
|
|
36
37
|
goog.exportSymbol('proto.LineOfApproval', null, global);
|
|
37
38
|
goog.exportSymbol('proto.UpdateLineOfApprovalRequest', null, global);
|
|
@@ -373,6 +374,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
373
374
|
*/
|
|
374
375
|
proto.GetListAllLineOfApprovalResponse.displayName = 'proto.GetListAllLineOfApprovalResponse';
|
|
375
376
|
}
|
|
377
|
+
/**
|
|
378
|
+
* Generated by JsPbCodeGenerator.
|
|
379
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
380
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
381
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
382
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
383
|
+
* valid.
|
|
384
|
+
* @extends {jspb.Message}
|
|
385
|
+
* @constructor
|
|
386
|
+
*/
|
|
387
|
+
proto.GetListOverViewApprovalRes = function(opt_data) {
|
|
388
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
389
|
+
};
|
|
390
|
+
goog.inherits(proto.GetListOverViewApprovalRes, jspb.Message);
|
|
391
|
+
if (goog.DEBUG && !COMPILED) {
|
|
392
|
+
/**
|
|
393
|
+
* @public
|
|
394
|
+
* @override
|
|
395
|
+
*/
|
|
396
|
+
proto.GetListOverViewApprovalRes.displayName = 'proto.GetListOverViewApprovalRes';
|
|
397
|
+
}
|
|
376
398
|
|
|
377
399
|
|
|
378
400
|
|
|
@@ -3424,7 +3446,10 @@ documentNumber: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
|
3424
3446
|
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3425
3447
|
department: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3426
3448
|
status: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3427
|
-
remarks: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
3449
|
+
remarks: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
3450
|
+
requestor: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
3451
|
+
currency: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
3452
|
+
totalValue: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
3428
3453
|
};
|
|
3429
3454
|
|
|
3430
3455
|
if (includeInstance) {
|
|
@@ -3486,6 +3511,18 @@ proto.BaseListAllLineOfApproval.deserializeBinaryFromReader = function(msg, read
|
|
|
3486
3511
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3487
3512
|
msg.setRemarks(value);
|
|
3488
3513
|
break;
|
|
3514
|
+
case 7:
|
|
3515
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3516
|
+
msg.setRequestor(value);
|
|
3517
|
+
break;
|
|
3518
|
+
case 8:
|
|
3519
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3520
|
+
msg.setCurrency(value);
|
|
3521
|
+
break;
|
|
3522
|
+
case 9:
|
|
3523
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3524
|
+
msg.setTotalValue(value);
|
|
3525
|
+
break;
|
|
3489
3526
|
default:
|
|
3490
3527
|
reader.skipField();
|
|
3491
3528
|
break;
|
|
@@ -3558,6 +3595,27 @@ proto.BaseListAllLineOfApproval.serializeBinaryToWriter = function(message, writ
|
|
|
3558
3595
|
f
|
|
3559
3596
|
);
|
|
3560
3597
|
}
|
|
3598
|
+
f = message.getRequestor();
|
|
3599
|
+
if (f.length > 0) {
|
|
3600
|
+
writer.writeString(
|
|
3601
|
+
7,
|
|
3602
|
+
f
|
|
3603
|
+
);
|
|
3604
|
+
}
|
|
3605
|
+
f = message.getCurrency();
|
|
3606
|
+
if (f.length > 0) {
|
|
3607
|
+
writer.writeString(
|
|
3608
|
+
8,
|
|
3609
|
+
f
|
|
3610
|
+
);
|
|
3611
|
+
}
|
|
3612
|
+
f = message.getTotalValue();
|
|
3613
|
+
if (f.length > 0) {
|
|
3614
|
+
writer.writeString(
|
|
3615
|
+
9,
|
|
3616
|
+
f
|
|
3617
|
+
);
|
|
3618
|
+
}
|
|
3561
3619
|
};
|
|
3562
3620
|
|
|
3563
3621
|
|
|
@@ -3688,6 +3746,60 @@ proto.BaseListAllLineOfApproval.prototype.setRemarks = function(value) {
|
|
|
3688
3746
|
};
|
|
3689
3747
|
|
|
3690
3748
|
|
|
3749
|
+
/**
|
|
3750
|
+
* optional string requestor = 7;
|
|
3751
|
+
* @return {string}
|
|
3752
|
+
*/
|
|
3753
|
+
proto.BaseListAllLineOfApproval.prototype.getRequestor = function() {
|
|
3754
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
3755
|
+
};
|
|
3756
|
+
|
|
3757
|
+
|
|
3758
|
+
/**
|
|
3759
|
+
* @param {string} value
|
|
3760
|
+
* @return {!proto.BaseListAllLineOfApproval} returns this
|
|
3761
|
+
*/
|
|
3762
|
+
proto.BaseListAllLineOfApproval.prototype.setRequestor = function(value) {
|
|
3763
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
3764
|
+
};
|
|
3765
|
+
|
|
3766
|
+
|
|
3767
|
+
/**
|
|
3768
|
+
* optional string currency = 8;
|
|
3769
|
+
* @return {string}
|
|
3770
|
+
*/
|
|
3771
|
+
proto.BaseListAllLineOfApproval.prototype.getCurrency = function() {
|
|
3772
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
3773
|
+
};
|
|
3774
|
+
|
|
3775
|
+
|
|
3776
|
+
/**
|
|
3777
|
+
* @param {string} value
|
|
3778
|
+
* @return {!proto.BaseListAllLineOfApproval} returns this
|
|
3779
|
+
*/
|
|
3780
|
+
proto.BaseListAllLineOfApproval.prototype.setCurrency = function(value) {
|
|
3781
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
3782
|
+
};
|
|
3783
|
+
|
|
3784
|
+
|
|
3785
|
+
/**
|
|
3786
|
+
* optional string total_value = 9;
|
|
3787
|
+
* @return {string}
|
|
3788
|
+
*/
|
|
3789
|
+
proto.BaseListAllLineOfApproval.prototype.getTotalValue = function() {
|
|
3790
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
3791
|
+
};
|
|
3792
|
+
|
|
3793
|
+
|
|
3794
|
+
/**
|
|
3795
|
+
* @param {string} value
|
|
3796
|
+
* @return {!proto.BaseListAllLineOfApproval} returns this
|
|
3797
|
+
*/
|
|
3798
|
+
proto.BaseListAllLineOfApproval.prototype.setTotalValue = function(value) {
|
|
3799
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
3800
|
+
};
|
|
3801
|
+
|
|
3802
|
+
|
|
3691
3803
|
|
|
3692
3804
|
/**
|
|
3693
3805
|
* List of repeated fields within this message type.
|
|
@@ -3899,4 +4011,194 @@ proto.GetListAllLineOfApprovalResponse.prototype.hasMeta = function() {
|
|
|
3899
4011
|
};
|
|
3900
4012
|
|
|
3901
4013
|
|
|
4014
|
+
|
|
4015
|
+
|
|
4016
|
+
|
|
4017
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4018
|
+
/**
|
|
4019
|
+
* Creates an object representation of this proto.
|
|
4020
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4021
|
+
* Optional fields that are not set will be set to undefined.
|
|
4022
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4023
|
+
* For the list of reserved names please see:
|
|
4024
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4025
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4026
|
+
* JSPB instance for transitional soy proto support:
|
|
4027
|
+
* http://goto/soy-param-migration
|
|
4028
|
+
* @return {!Object}
|
|
4029
|
+
*/
|
|
4030
|
+
proto.GetListOverViewApprovalRes.prototype.toObject = function(opt_includeInstance) {
|
|
4031
|
+
return proto.GetListOverViewApprovalRes.toObject(opt_includeInstance, this);
|
|
4032
|
+
};
|
|
4033
|
+
|
|
4034
|
+
|
|
4035
|
+
/**
|
|
4036
|
+
* Static version of the {@see toObject} method.
|
|
4037
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4038
|
+
* the JSPB instance for transitional soy proto support:
|
|
4039
|
+
* http://goto/soy-param-migration
|
|
4040
|
+
* @param {!proto.GetListOverViewApprovalRes} msg The msg instance to transform.
|
|
4041
|
+
* @return {!Object}
|
|
4042
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4043
|
+
*/
|
|
4044
|
+
proto.GetListOverViewApprovalRes.toObject = function(includeInstance, msg) {
|
|
4045
|
+
var f, obj = {
|
|
4046
|
+
approvalCount: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4047
|
+
totalAmount: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
4048
|
+
todayApproval: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
4049
|
+
};
|
|
4050
|
+
|
|
4051
|
+
if (includeInstance) {
|
|
4052
|
+
obj.$jspbMessageInstance = msg;
|
|
4053
|
+
}
|
|
4054
|
+
return obj;
|
|
4055
|
+
};
|
|
4056
|
+
}
|
|
4057
|
+
|
|
4058
|
+
|
|
4059
|
+
/**
|
|
4060
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4061
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4062
|
+
* @return {!proto.GetListOverViewApprovalRes}
|
|
4063
|
+
*/
|
|
4064
|
+
proto.GetListOverViewApprovalRes.deserializeBinary = function(bytes) {
|
|
4065
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4066
|
+
var msg = new proto.GetListOverViewApprovalRes;
|
|
4067
|
+
return proto.GetListOverViewApprovalRes.deserializeBinaryFromReader(msg, reader);
|
|
4068
|
+
};
|
|
4069
|
+
|
|
4070
|
+
|
|
4071
|
+
/**
|
|
4072
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4073
|
+
* given reader into the given message object.
|
|
4074
|
+
* @param {!proto.GetListOverViewApprovalRes} msg The message object to deserialize into.
|
|
4075
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4076
|
+
* @return {!proto.GetListOverViewApprovalRes}
|
|
4077
|
+
*/
|
|
4078
|
+
proto.GetListOverViewApprovalRes.deserializeBinaryFromReader = function(msg, reader) {
|
|
4079
|
+
while (reader.nextField()) {
|
|
4080
|
+
if (reader.isEndGroup()) {
|
|
4081
|
+
break;
|
|
4082
|
+
}
|
|
4083
|
+
var field = reader.getFieldNumber();
|
|
4084
|
+
switch (field) {
|
|
4085
|
+
case 1:
|
|
4086
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
4087
|
+
msg.setApprovalCount(value);
|
|
4088
|
+
break;
|
|
4089
|
+
case 2:
|
|
4090
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
4091
|
+
msg.setTotalAmount(value);
|
|
4092
|
+
break;
|
|
4093
|
+
case 3:
|
|
4094
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
4095
|
+
msg.setTodayApproval(value);
|
|
4096
|
+
break;
|
|
4097
|
+
default:
|
|
4098
|
+
reader.skipField();
|
|
4099
|
+
break;
|
|
4100
|
+
}
|
|
4101
|
+
}
|
|
4102
|
+
return msg;
|
|
4103
|
+
};
|
|
4104
|
+
|
|
4105
|
+
|
|
4106
|
+
/**
|
|
4107
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4108
|
+
* @return {!Uint8Array}
|
|
4109
|
+
*/
|
|
4110
|
+
proto.GetListOverViewApprovalRes.prototype.serializeBinary = function() {
|
|
4111
|
+
var writer = new jspb.BinaryWriter();
|
|
4112
|
+
proto.GetListOverViewApprovalRes.serializeBinaryToWriter(this, writer);
|
|
4113
|
+
return writer.getResultBuffer();
|
|
4114
|
+
};
|
|
4115
|
+
|
|
4116
|
+
|
|
4117
|
+
/**
|
|
4118
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4119
|
+
* format), writing to the given BinaryWriter.
|
|
4120
|
+
* @param {!proto.GetListOverViewApprovalRes} message
|
|
4121
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4122
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4123
|
+
*/
|
|
4124
|
+
proto.GetListOverViewApprovalRes.serializeBinaryToWriter = function(message, writer) {
|
|
4125
|
+
var f = undefined;
|
|
4126
|
+
f = message.getApprovalCount();
|
|
4127
|
+
if (f !== 0) {
|
|
4128
|
+
writer.writeInt64(
|
|
4129
|
+
1,
|
|
4130
|
+
f
|
|
4131
|
+
);
|
|
4132
|
+
}
|
|
4133
|
+
f = message.getTotalAmount();
|
|
4134
|
+
if (f !== 0) {
|
|
4135
|
+
writer.writeInt64(
|
|
4136
|
+
2,
|
|
4137
|
+
f
|
|
4138
|
+
);
|
|
4139
|
+
}
|
|
4140
|
+
f = message.getTodayApproval();
|
|
4141
|
+
if (f !== 0) {
|
|
4142
|
+
writer.writeInt64(
|
|
4143
|
+
3,
|
|
4144
|
+
f
|
|
4145
|
+
);
|
|
4146
|
+
}
|
|
4147
|
+
};
|
|
4148
|
+
|
|
4149
|
+
|
|
4150
|
+
/**
|
|
4151
|
+
* optional int64 approval_count = 1;
|
|
4152
|
+
* @return {number}
|
|
4153
|
+
*/
|
|
4154
|
+
proto.GetListOverViewApprovalRes.prototype.getApprovalCount = function() {
|
|
4155
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4156
|
+
};
|
|
4157
|
+
|
|
4158
|
+
|
|
4159
|
+
/**
|
|
4160
|
+
* @param {number} value
|
|
4161
|
+
* @return {!proto.GetListOverViewApprovalRes} returns this
|
|
4162
|
+
*/
|
|
4163
|
+
proto.GetListOverViewApprovalRes.prototype.setApprovalCount = function(value) {
|
|
4164
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4165
|
+
};
|
|
4166
|
+
|
|
4167
|
+
|
|
4168
|
+
/**
|
|
4169
|
+
* optional int64 total_amount = 2;
|
|
4170
|
+
* @return {number}
|
|
4171
|
+
*/
|
|
4172
|
+
proto.GetListOverViewApprovalRes.prototype.getTotalAmount = function() {
|
|
4173
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
4174
|
+
};
|
|
4175
|
+
|
|
4176
|
+
|
|
4177
|
+
/**
|
|
4178
|
+
* @param {number} value
|
|
4179
|
+
* @return {!proto.GetListOverViewApprovalRes} returns this
|
|
4180
|
+
*/
|
|
4181
|
+
proto.GetListOverViewApprovalRes.prototype.setTotalAmount = function(value) {
|
|
4182
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
4183
|
+
};
|
|
4184
|
+
|
|
4185
|
+
|
|
4186
|
+
/**
|
|
4187
|
+
* optional int64 today_approval = 3;
|
|
4188
|
+
* @return {number}
|
|
4189
|
+
*/
|
|
4190
|
+
proto.GetListOverViewApprovalRes.prototype.getTodayApproval = function() {
|
|
4191
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
4192
|
+
};
|
|
4193
|
+
|
|
4194
|
+
|
|
4195
|
+
/**
|
|
4196
|
+
* @param {number} value
|
|
4197
|
+
* @return {!proto.GetListOverViewApprovalRes} returns this
|
|
4198
|
+
*/
|
|
4199
|
+
proto.GetListOverViewApprovalRes.prototype.setTodayApproval = function(value) {
|
|
4200
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
4201
|
+
};
|
|
4202
|
+
|
|
4203
|
+
|
|
3902
4204
|
goog.object.extend(exports, proto);
|
|
@@ -324,7 +324,8 @@ name: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
|
324
324
|
type: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
325
325
|
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
326
326
|
valueKey: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
327
|
-
linkRedirect: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
327
|
+
linkRedirect: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
328
|
+
linkRedirectMobile: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
328
329
|
};
|
|
329
330
|
|
|
330
331
|
if (includeInstance) {
|
|
@@ -409,6 +410,10 @@ proto.Report.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
409
410
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
410
411
|
msg.setLinkRedirect(value);
|
|
411
412
|
break;
|
|
413
|
+
case 13:
|
|
414
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
415
|
+
msg.setLinkRedirectMobile(value);
|
|
416
|
+
break;
|
|
412
417
|
default:
|
|
413
418
|
reader.skipField();
|
|
414
419
|
break;
|
|
@@ -522,6 +527,13 @@ proto.Report.serializeBinaryToWriter = function(message, writer) {
|
|
|
522
527
|
f
|
|
523
528
|
);
|
|
524
529
|
}
|
|
530
|
+
f = message.getLinkRedirectMobile();
|
|
531
|
+
if (f.length > 0) {
|
|
532
|
+
writer.writeString(
|
|
533
|
+
13,
|
|
534
|
+
f
|
|
535
|
+
);
|
|
536
|
+
}
|
|
525
537
|
};
|
|
526
538
|
|
|
527
539
|
|
|
@@ -741,6 +753,24 @@ proto.Report.prototype.setLinkRedirect = function(value) {
|
|
|
741
753
|
};
|
|
742
754
|
|
|
743
755
|
|
|
756
|
+
/**
|
|
757
|
+
* optional string link_redirect_mobile = 13;
|
|
758
|
+
* @return {string}
|
|
759
|
+
*/
|
|
760
|
+
proto.Report.prototype.getLinkRedirectMobile = function() {
|
|
761
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
762
|
+
};
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* @param {string} value
|
|
767
|
+
* @return {!proto.Report} returns this
|
|
768
|
+
*/
|
|
769
|
+
proto.Report.prototype.setLinkRedirectMobile = function(value) {
|
|
770
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
771
|
+
};
|
|
772
|
+
|
|
773
|
+
|
|
744
774
|
|
|
745
775
|
|
|
746
776
|
|
|
@@ -209,7 +209,8 @@ updatedBy: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
|
209
209
|
createdAt: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
210
210
|
updatedAt: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
211
211
|
companiesList: jspb.Message.toObjectList(msg.getCompaniesList(),
|
|
212
|
-
prisca_v1_core_company_company_pb.Company.toObject, includeInstance)
|
|
212
|
+
prisca_v1_core_company_company_pb.Company.toObject, includeInstance),
|
|
213
|
+
avatar: jspb.Message.getFieldWithDefault(msg, 18, "")
|
|
213
214
|
};
|
|
214
215
|
|
|
215
216
|
if (includeInstance) {
|
|
@@ -315,6 +316,10 @@ proto.Users.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
315
316
|
reader.readMessage(value,prisca_v1_core_company_company_pb.Company.deserializeBinaryFromReader);
|
|
316
317
|
msg.addCompanies(value);
|
|
317
318
|
break;
|
|
319
|
+
case 18:
|
|
320
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
321
|
+
msg.setAvatar(value);
|
|
322
|
+
break;
|
|
318
323
|
default:
|
|
319
324
|
reader.skipField();
|
|
320
325
|
break;
|
|
@@ -464,6 +469,13 @@ proto.Users.serializeBinaryToWriter = function(message, writer) {
|
|
|
464
469
|
prisca_v1_core_company_company_pb.Company.serializeBinaryToWriter
|
|
465
470
|
);
|
|
466
471
|
}
|
|
472
|
+
f = message.getAvatar();
|
|
473
|
+
if (f.length > 0) {
|
|
474
|
+
writer.writeString(
|
|
475
|
+
18,
|
|
476
|
+
f
|
|
477
|
+
);
|
|
478
|
+
}
|
|
467
479
|
};
|
|
468
480
|
|
|
469
481
|
|
|
@@ -793,6 +805,24 @@ proto.Users.prototype.clearCompaniesList = function() {
|
|
|
793
805
|
};
|
|
794
806
|
|
|
795
807
|
|
|
808
|
+
/**
|
|
809
|
+
* optional string avatar = 18;
|
|
810
|
+
* @return {string}
|
|
811
|
+
*/
|
|
812
|
+
proto.Users.prototype.getAvatar = function() {
|
|
813
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
814
|
+
};
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* @param {string} value
|
|
819
|
+
* @return {!proto.Users} returns this
|
|
820
|
+
*/
|
|
821
|
+
proto.Users.prototype.setAvatar = function(value) {
|
|
822
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
823
|
+
};
|
|
824
|
+
|
|
825
|
+
|
|
796
826
|
|
|
797
827
|
|
|
798
828
|
|