@aldiokta/protocgen 1.1.52 → 1.1.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/budget/budget_grpc_pb.js +213 -0
- package/prisca/v1/budget/budget_pb.js +3008 -0
- package/prisca/v1/budget_activity/budget_activity_grpc_pb.js +212 -0
- package/prisca/v1/budget_activity/budget_activity_pb.js +2886 -0
- package/prisca/v1/budget_categories/budget_categories_grpc_pb.js +212 -0
- package/prisca/v1/budget_categories/budget_categories_pb.js +2916 -0
- package/prisca/v1/budget_planning/budget_planning_grpc_pb.js +214 -0
- package/prisca/v1/budget_planning/budget_planning_pb.js +3682 -0
- package/prisca/v1/core/access_manager/access_manager_pb.js +359 -15
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +40 -10
- package/prisca/v1/core/tax_code/tax_code_pb.js +14 -14
|
@@ -68,6 +68,7 @@ goog.exportSymbol('proto.PoliciesResponse', null, global);
|
|
|
68
68
|
goog.exportSymbol('proto.Policy', null, global);
|
|
69
69
|
goog.exportSymbol('proto.PolicyAction', null, global);
|
|
70
70
|
goog.exportSymbol('proto.Resource', null, global);
|
|
71
|
+
goog.exportSymbol('proto.ResourceFilter', null, global);
|
|
71
72
|
goog.exportSymbol('proto.Role', null, global);
|
|
72
73
|
goog.exportSymbol('proto.RolePolicy', null, global);
|
|
73
74
|
goog.exportSymbol('proto.Statement', null, global);
|
|
@@ -276,7 +277,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
276
277
|
* @constructor
|
|
277
278
|
*/
|
|
278
279
|
proto.Resource = function(opt_data) {
|
|
279
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
280
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.Resource.repeatedFields_, null);
|
|
280
281
|
};
|
|
281
282
|
goog.inherits(proto.Resource, jspb.Message);
|
|
282
283
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -286,6 +287,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
286
287
|
*/
|
|
287
288
|
proto.Resource.displayName = 'proto.Resource';
|
|
288
289
|
}
|
|
290
|
+
/**
|
|
291
|
+
* Generated by JsPbCodeGenerator.
|
|
292
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
293
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
294
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
295
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
296
|
+
* valid.
|
|
297
|
+
* @extends {jspb.Message}
|
|
298
|
+
* @constructor
|
|
299
|
+
*/
|
|
300
|
+
proto.ResourceFilter = function(opt_data) {
|
|
301
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
302
|
+
};
|
|
303
|
+
goog.inherits(proto.ResourceFilter, jspb.Message);
|
|
304
|
+
if (goog.DEBUG && !COMPILED) {
|
|
305
|
+
/**
|
|
306
|
+
* @public
|
|
307
|
+
* @override
|
|
308
|
+
*/
|
|
309
|
+
proto.ResourceFilter.displayName = 'proto.ResourceFilter';
|
|
310
|
+
}
|
|
289
311
|
/**
|
|
290
312
|
* Generated by JsPbCodeGenerator.
|
|
291
313
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1591,7 +1613,8 @@ proto.Statement.toObject = function(includeInstance, msg) {
|
|
|
1591
1613
|
var f, obj = {
|
|
1592
1614
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1593
1615
|
actionsList: jspb.Message.toObjectList(msg.getActionsList(),
|
|
1594
|
-
proto.Action.toObject, includeInstance)
|
|
1616
|
+
proto.Action.toObject, includeInstance),
|
|
1617
|
+
resources: (f = msg.getResources()) && proto.Resource.toObject(includeInstance, f)
|
|
1595
1618
|
};
|
|
1596
1619
|
|
|
1597
1620
|
if (includeInstance) {
|
|
@@ -1637,6 +1660,11 @@ proto.Statement.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1637
1660
|
reader.readMessage(value,proto.Action.deserializeBinaryFromReader);
|
|
1638
1661
|
msg.addActions(value);
|
|
1639
1662
|
break;
|
|
1663
|
+
case 3:
|
|
1664
|
+
var value = new proto.Resource;
|
|
1665
|
+
reader.readMessage(value,proto.Resource.deserializeBinaryFromReader);
|
|
1666
|
+
msg.setResources(value);
|
|
1667
|
+
break;
|
|
1640
1668
|
default:
|
|
1641
1669
|
reader.skipField();
|
|
1642
1670
|
break;
|
|
@@ -1681,6 +1709,14 @@ proto.Statement.serializeBinaryToWriter = function(message, writer) {
|
|
|
1681
1709
|
proto.Action.serializeBinaryToWriter
|
|
1682
1710
|
);
|
|
1683
1711
|
}
|
|
1712
|
+
f = message.getResources();
|
|
1713
|
+
if (f != null) {
|
|
1714
|
+
writer.writeMessage(
|
|
1715
|
+
3,
|
|
1716
|
+
f,
|
|
1717
|
+
proto.Resource.serializeBinaryToWriter
|
|
1718
|
+
);
|
|
1719
|
+
}
|
|
1684
1720
|
};
|
|
1685
1721
|
|
|
1686
1722
|
|
|
@@ -1740,6 +1776,43 @@ proto.Statement.prototype.clearActionsList = function() {
|
|
|
1740
1776
|
};
|
|
1741
1777
|
|
|
1742
1778
|
|
|
1779
|
+
/**
|
|
1780
|
+
* optional Resource resources = 3;
|
|
1781
|
+
* @return {?proto.Resource}
|
|
1782
|
+
*/
|
|
1783
|
+
proto.Statement.prototype.getResources = function() {
|
|
1784
|
+
return /** @type{?proto.Resource} */ (
|
|
1785
|
+
jspb.Message.getWrapperField(this, proto.Resource, 3));
|
|
1786
|
+
};
|
|
1787
|
+
|
|
1788
|
+
|
|
1789
|
+
/**
|
|
1790
|
+
* @param {?proto.Resource|undefined} value
|
|
1791
|
+
* @return {!proto.Statement} returns this
|
|
1792
|
+
*/
|
|
1793
|
+
proto.Statement.prototype.setResources = function(value) {
|
|
1794
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
1795
|
+
};
|
|
1796
|
+
|
|
1797
|
+
|
|
1798
|
+
/**
|
|
1799
|
+
* Clears the message field making it undefined.
|
|
1800
|
+
* @return {!proto.Statement} returns this
|
|
1801
|
+
*/
|
|
1802
|
+
proto.Statement.prototype.clearResources = function() {
|
|
1803
|
+
return this.setResources(undefined);
|
|
1804
|
+
};
|
|
1805
|
+
|
|
1806
|
+
|
|
1807
|
+
/**
|
|
1808
|
+
* Returns whether this field is set.
|
|
1809
|
+
* @return {boolean}
|
|
1810
|
+
*/
|
|
1811
|
+
proto.Statement.prototype.hasResources = function() {
|
|
1812
|
+
return jspb.Message.getField(this, 3) != null;
|
|
1813
|
+
};
|
|
1814
|
+
|
|
1815
|
+
|
|
1743
1816
|
|
|
1744
1817
|
/**
|
|
1745
1818
|
* List of repeated fields within this message type.
|
|
@@ -2652,7 +2725,8 @@ createdBy: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
|
2652
2725
|
updatedBy: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
2653
2726
|
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
2654
2727
|
resourceReferencesId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
2655
|
-
action: (f = msg.getAction()) && proto.Action.toObject(includeInstance, f)
|
|
2728
|
+
action: (f = msg.getAction()) && proto.Action.toObject(includeInstance, f),
|
|
2729
|
+
resource: (f = msg.getResource()) && proto.Resource.toObject(includeInstance, f)
|
|
2656
2730
|
};
|
|
2657
2731
|
|
|
2658
2732
|
if (includeInstance) {
|
|
@@ -2734,6 +2808,11 @@ proto.PolicyAction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2734
2808
|
reader.readMessage(value,proto.Action.deserializeBinaryFromReader);
|
|
2735
2809
|
msg.setAction(value);
|
|
2736
2810
|
break;
|
|
2811
|
+
case 12:
|
|
2812
|
+
var value = new proto.Resource;
|
|
2813
|
+
reader.readMessage(value,proto.Resource.deserializeBinaryFromReader);
|
|
2814
|
+
msg.setResource(value);
|
|
2815
|
+
break;
|
|
2737
2816
|
default:
|
|
2738
2817
|
reader.skipField();
|
|
2739
2818
|
break;
|
|
@@ -2841,6 +2920,14 @@ proto.PolicyAction.serializeBinaryToWriter = function(message, writer) {
|
|
|
2841
2920
|
proto.Action.serializeBinaryToWriter
|
|
2842
2921
|
);
|
|
2843
2922
|
}
|
|
2923
|
+
f = message.getResource();
|
|
2924
|
+
if (f != null) {
|
|
2925
|
+
writer.writeMessage(
|
|
2926
|
+
12,
|
|
2927
|
+
f,
|
|
2928
|
+
proto.Resource.serializeBinaryToWriter
|
|
2929
|
+
);
|
|
2930
|
+
}
|
|
2844
2931
|
};
|
|
2845
2932
|
|
|
2846
2933
|
|
|
@@ -3061,6 +3148,43 @@ proto.PolicyAction.prototype.hasAction = function() {
|
|
|
3061
3148
|
};
|
|
3062
3149
|
|
|
3063
3150
|
|
|
3151
|
+
/**
|
|
3152
|
+
* optional Resource resource = 12;
|
|
3153
|
+
* @return {?proto.Resource}
|
|
3154
|
+
*/
|
|
3155
|
+
proto.PolicyAction.prototype.getResource = function() {
|
|
3156
|
+
return /** @type{?proto.Resource} */ (
|
|
3157
|
+
jspb.Message.getWrapperField(this, proto.Resource, 12));
|
|
3158
|
+
};
|
|
3159
|
+
|
|
3160
|
+
|
|
3161
|
+
/**
|
|
3162
|
+
* @param {?proto.Resource|undefined} value
|
|
3163
|
+
* @return {!proto.PolicyAction} returns this
|
|
3164
|
+
*/
|
|
3165
|
+
proto.PolicyAction.prototype.setResource = function(value) {
|
|
3166
|
+
return jspb.Message.setWrapperField(this, 12, value);
|
|
3167
|
+
};
|
|
3168
|
+
|
|
3169
|
+
|
|
3170
|
+
/**
|
|
3171
|
+
* Clears the message field making it undefined.
|
|
3172
|
+
* @return {!proto.PolicyAction} returns this
|
|
3173
|
+
*/
|
|
3174
|
+
proto.PolicyAction.prototype.clearResource = function() {
|
|
3175
|
+
return this.setResource(undefined);
|
|
3176
|
+
};
|
|
3177
|
+
|
|
3178
|
+
|
|
3179
|
+
/**
|
|
3180
|
+
* Returns whether this field is set.
|
|
3181
|
+
* @return {boolean}
|
|
3182
|
+
*/
|
|
3183
|
+
proto.PolicyAction.prototype.hasResource = function() {
|
|
3184
|
+
return jspb.Message.getField(this, 12) != null;
|
|
3185
|
+
};
|
|
3186
|
+
|
|
3187
|
+
|
|
3064
3188
|
|
|
3065
3189
|
|
|
3066
3190
|
|
|
@@ -3773,6 +3897,13 @@ proto.BaseRole.prototype.setReferencesId = function(value) {
|
|
|
3773
3897
|
|
|
3774
3898
|
|
|
3775
3899
|
|
|
3900
|
+
/**
|
|
3901
|
+
* List of repeated fields within this message type.
|
|
3902
|
+
* @private {!Array<number>}
|
|
3903
|
+
* @const
|
|
3904
|
+
*/
|
|
3905
|
+
proto.Resource.repeatedFields_ = [5];
|
|
3906
|
+
|
|
3776
3907
|
|
|
3777
3908
|
|
|
3778
3909
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -3808,7 +3939,8 @@ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
3808
3939
|
parameter: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3809
3940
|
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3810
3941
|
referencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3811
|
-
|
|
3942
|
+
resourceFilterList: jspb.Message.toObjectList(msg.getResourceFilterList(),
|
|
3943
|
+
proto.ResourceFilter.toObject, includeInstance)
|
|
3812
3944
|
};
|
|
3813
3945
|
|
|
3814
3946
|
if (includeInstance) {
|
|
@@ -3862,8 +3994,9 @@ proto.Resource.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3862
3994
|
msg.setReferencesId(value);
|
|
3863
3995
|
break;
|
|
3864
3996
|
case 5:
|
|
3865
|
-
var value =
|
|
3866
|
-
|
|
3997
|
+
var value = new proto.ResourceFilter;
|
|
3998
|
+
reader.readMessage(value,proto.ResourceFilter.deserializeBinaryFromReader);
|
|
3999
|
+
msg.addResourceFilter(value);
|
|
3867
4000
|
break;
|
|
3868
4001
|
default:
|
|
3869
4002
|
reader.skipField();
|
|
@@ -3922,11 +4055,12 @@ proto.Resource.serializeBinaryToWriter = function(message, writer) {
|
|
|
3922
4055
|
f
|
|
3923
4056
|
);
|
|
3924
4057
|
}
|
|
3925
|
-
f = message.
|
|
4058
|
+
f = message.getResourceFilterList();
|
|
3926
4059
|
if (f.length > 0) {
|
|
3927
|
-
writer.
|
|
4060
|
+
writer.writeRepeatedMessage(
|
|
3928
4061
|
5,
|
|
3929
|
-
f
|
|
4062
|
+
f,
|
|
4063
|
+
proto.ResourceFilter.serializeBinaryToWriter
|
|
3930
4064
|
);
|
|
3931
4065
|
}
|
|
3932
4066
|
};
|
|
@@ -4005,20 +4139,230 @@ proto.Resource.prototype.setReferencesId = function(value) {
|
|
|
4005
4139
|
|
|
4006
4140
|
|
|
4007
4141
|
/**
|
|
4008
|
-
*
|
|
4142
|
+
* repeated ResourceFilter resource_filter = 5;
|
|
4143
|
+
* @return {!Array<!proto.ResourceFilter>}
|
|
4144
|
+
*/
|
|
4145
|
+
proto.Resource.prototype.getResourceFilterList = function() {
|
|
4146
|
+
return /** @type{!Array<!proto.ResourceFilter>} */ (
|
|
4147
|
+
jspb.Message.getRepeatedWrapperField(this, proto.ResourceFilter, 5));
|
|
4148
|
+
};
|
|
4149
|
+
|
|
4150
|
+
|
|
4151
|
+
/**
|
|
4152
|
+
* @param {!Array<!proto.ResourceFilter>} value
|
|
4153
|
+
* @return {!proto.Resource} returns this
|
|
4154
|
+
*/
|
|
4155
|
+
proto.Resource.prototype.setResourceFilterList = function(value) {
|
|
4156
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
4157
|
+
};
|
|
4158
|
+
|
|
4159
|
+
|
|
4160
|
+
/**
|
|
4161
|
+
* @param {!proto.ResourceFilter=} opt_value
|
|
4162
|
+
* @param {number=} opt_index
|
|
4163
|
+
* @return {!proto.ResourceFilter}
|
|
4164
|
+
*/
|
|
4165
|
+
proto.Resource.prototype.addResourceFilter = function(opt_value, opt_index) {
|
|
4166
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.ResourceFilter, opt_index);
|
|
4167
|
+
};
|
|
4168
|
+
|
|
4169
|
+
|
|
4170
|
+
/**
|
|
4171
|
+
* Clears the list making it empty but non-null.
|
|
4172
|
+
* @return {!proto.Resource} returns this
|
|
4173
|
+
*/
|
|
4174
|
+
proto.Resource.prototype.clearResourceFilterList = function() {
|
|
4175
|
+
return this.setResourceFilterList([]);
|
|
4176
|
+
};
|
|
4177
|
+
|
|
4178
|
+
|
|
4179
|
+
|
|
4180
|
+
|
|
4181
|
+
|
|
4182
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4183
|
+
/**
|
|
4184
|
+
* Creates an object representation of this proto.
|
|
4185
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4186
|
+
* Optional fields that are not set will be set to undefined.
|
|
4187
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4188
|
+
* For the list of reserved names please see:
|
|
4189
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4190
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4191
|
+
* JSPB instance for transitional soy proto support:
|
|
4192
|
+
* http://goto/soy-param-migration
|
|
4193
|
+
* @return {!Object}
|
|
4194
|
+
*/
|
|
4195
|
+
proto.ResourceFilter.prototype.toObject = function(opt_includeInstance) {
|
|
4196
|
+
return proto.ResourceFilter.toObject(opt_includeInstance, this);
|
|
4197
|
+
};
|
|
4198
|
+
|
|
4199
|
+
|
|
4200
|
+
/**
|
|
4201
|
+
* Static version of the {@see toObject} method.
|
|
4202
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4203
|
+
* the JSPB instance for transitional soy proto support:
|
|
4204
|
+
* http://goto/soy-param-migration
|
|
4205
|
+
* @param {!proto.ResourceFilter} msg The msg instance to transform.
|
|
4206
|
+
* @return {!Object}
|
|
4207
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4208
|
+
*/
|
|
4209
|
+
proto.ResourceFilter.toObject = function(includeInstance, msg) {
|
|
4210
|
+
var f, obj = {
|
|
4211
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4212
|
+
operator: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4213
|
+
value: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
4214
|
+
};
|
|
4215
|
+
|
|
4216
|
+
if (includeInstance) {
|
|
4217
|
+
obj.$jspbMessageInstance = msg;
|
|
4218
|
+
}
|
|
4219
|
+
return obj;
|
|
4220
|
+
};
|
|
4221
|
+
}
|
|
4222
|
+
|
|
4223
|
+
|
|
4224
|
+
/**
|
|
4225
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4226
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4227
|
+
* @return {!proto.ResourceFilter}
|
|
4228
|
+
*/
|
|
4229
|
+
proto.ResourceFilter.deserializeBinary = function(bytes) {
|
|
4230
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4231
|
+
var msg = new proto.ResourceFilter;
|
|
4232
|
+
return proto.ResourceFilter.deserializeBinaryFromReader(msg, reader);
|
|
4233
|
+
};
|
|
4234
|
+
|
|
4235
|
+
|
|
4236
|
+
/**
|
|
4237
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4238
|
+
* given reader into the given message object.
|
|
4239
|
+
* @param {!proto.ResourceFilter} msg The message object to deserialize into.
|
|
4240
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4241
|
+
* @return {!proto.ResourceFilter}
|
|
4242
|
+
*/
|
|
4243
|
+
proto.ResourceFilter.deserializeBinaryFromReader = function(msg, reader) {
|
|
4244
|
+
while (reader.nextField()) {
|
|
4245
|
+
if (reader.isEndGroup()) {
|
|
4246
|
+
break;
|
|
4247
|
+
}
|
|
4248
|
+
var field = reader.getFieldNumber();
|
|
4249
|
+
switch (field) {
|
|
4250
|
+
case 1:
|
|
4251
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4252
|
+
msg.setKey(value);
|
|
4253
|
+
break;
|
|
4254
|
+
case 2:
|
|
4255
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4256
|
+
msg.setOperator(value);
|
|
4257
|
+
break;
|
|
4258
|
+
case 4:
|
|
4259
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4260
|
+
msg.setValue(value);
|
|
4261
|
+
break;
|
|
4262
|
+
default:
|
|
4263
|
+
reader.skipField();
|
|
4264
|
+
break;
|
|
4265
|
+
}
|
|
4266
|
+
}
|
|
4267
|
+
return msg;
|
|
4268
|
+
};
|
|
4269
|
+
|
|
4270
|
+
|
|
4271
|
+
/**
|
|
4272
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4273
|
+
* @return {!Uint8Array}
|
|
4274
|
+
*/
|
|
4275
|
+
proto.ResourceFilter.prototype.serializeBinary = function() {
|
|
4276
|
+
var writer = new jspb.BinaryWriter();
|
|
4277
|
+
proto.ResourceFilter.serializeBinaryToWriter(this, writer);
|
|
4278
|
+
return writer.getResultBuffer();
|
|
4279
|
+
};
|
|
4280
|
+
|
|
4281
|
+
|
|
4282
|
+
/**
|
|
4283
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4284
|
+
* format), writing to the given BinaryWriter.
|
|
4285
|
+
* @param {!proto.ResourceFilter} message
|
|
4286
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4287
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4288
|
+
*/
|
|
4289
|
+
proto.ResourceFilter.serializeBinaryToWriter = function(message, writer) {
|
|
4290
|
+
var f = undefined;
|
|
4291
|
+
f = message.getKey();
|
|
4292
|
+
if (f.length > 0) {
|
|
4293
|
+
writer.writeString(
|
|
4294
|
+
1,
|
|
4295
|
+
f
|
|
4296
|
+
);
|
|
4297
|
+
}
|
|
4298
|
+
f = message.getOperator();
|
|
4299
|
+
if (f.length > 0) {
|
|
4300
|
+
writer.writeString(
|
|
4301
|
+
2,
|
|
4302
|
+
f
|
|
4303
|
+
);
|
|
4304
|
+
}
|
|
4305
|
+
f = message.getValue();
|
|
4306
|
+
if (f.length > 0) {
|
|
4307
|
+
writer.writeString(
|
|
4308
|
+
4,
|
|
4309
|
+
f
|
|
4310
|
+
);
|
|
4311
|
+
}
|
|
4312
|
+
};
|
|
4313
|
+
|
|
4314
|
+
|
|
4315
|
+
/**
|
|
4316
|
+
* optional string key = 1;
|
|
4009
4317
|
* @return {string}
|
|
4010
4318
|
*/
|
|
4011
|
-
proto.
|
|
4012
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
4319
|
+
proto.ResourceFilter.prototype.getKey = function() {
|
|
4320
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4013
4321
|
};
|
|
4014
4322
|
|
|
4015
4323
|
|
|
4016
4324
|
/**
|
|
4017
4325
|
* @param {string} value
|
|
4018
|
-
* @return {!proto.
|
|
4326
|
+
* @return {!proto.ResourceFilter} returns this
|
|
4019
4327
|
*/
|
|
4020
|
-
proto.
|
|
4021
|
-
return jspb.Message.setProto3StringField(this,
|
|
4328
|
+
proto.ResourceFilter.prototype.setKey = function(value) {
|
|
4329
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4330
|
+
};
|
|
4331
|
+
|
|
4332
|
+
|
|
4333
|
+
/**
|
|
4334
|
+
* optional string operator = 2;
|
|
4335
|
+
* @return {string}
|
|
4336
|
+
*/
|
|
4337
|
+
proto.ResourceFilter.prototype.getOperator = function() {
|
|
4338
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4339
|
+
};
|
|
4340
|
+
|
|
4341
|
+
|
|
4342
|
+
/**
|
|
4343
|
+
* @param {string} value
|
|
4344
|
+
* @return {!proto.ResourceFilter} returns this
|
|
4345
|
+
*/
|
|
4346
|
+
proto.ResourceFilter.prototype.setOperator = function(value) {
|
|
4347
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4348
|
+
};
|
|
4349
|
+
|
|
4350
|
+
|
|
4351
|
+
/**
|
|
4352
|
+
* optional string value = 4;
|
|
4353
|
+
* @return {string}
|
|
4354
|
+
*/
|
|
4355
|
+
proto.ResourceFilter.prototype.getValue = function() {
|
|
4356
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4357
|
+
};
|
|
4358
|
+
|
|
4359
|
+
|
|
4360
|
+
/**
|
|
4361
|
+
* @param {string} value
|
|
4362
|
+
* @return {!proto.ResourceFilter} returns this
|
|
4363
|
+
*/
|
|
4364
|
+
proto.ResourceFilter.prototype.setValue = function(value) {
|
|
4365
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
4022
4366
|
};
|
|
4023
4367
|
|
|
4024
4368
|
|
|
@@ -2801,7 +2801,7 @@ filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
|
2801
2801
|
itemTransactionServicePriceConditionList: jspb.Message.toObjectList(msg.getItemTransactionServicePriceConditionList(),
|
|
2802
2802
|
proto.ItemTransactionServicePriceCondition.toObject, includeInstance),
|
|
2803
2803
|
previousReferences: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
2804
|
-
remainingQuantity: jspb.Message.
|
|
2804
|
+
remainingQuantity: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
2805
2805
|
};
|
|
2806
2806
|
|
|
2807
2807
|
if (includeInstance) {
|
|
@@ -2893,7 +2893,7 @@ proto.ItemTransactionService.deserializeBinaryFromReader = function(msg, reader)
|
|
|
2893
2893
|
msg.setPreviousReferences(value);
|
|
2894
2894
|
break;
|
|
2895
2895
|
case 14:
|
|
2896
|
-
var value = /** @type {
|
|
2896
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2897
2897
|
msg.setRemainingQuantity(value);
|
|
2898
2898
|
break;
|
|
2899
2899
|
default:
|
|
@@ -3019,8 +3019,8 @@ proto.ItemTransactionService.serializeBinaryToWriter = function(message, writer)
|
|
|
3019
3019
|
);
|
|
3020
3020
|
}
|
|
3021
3021
|
f = message.getRemainingQuantity();
|
|
3022
|
-
if (f
|
|
3023
|
-
writer.
|
|
3022
|
+
if (f.length > 0) {
|
|
3023
|
+
writer.writeString(
|
|
3024
3024
|
14,
|
|
3025
3025
|
f
|
|
3026
3026
|
);
|
|
@@ -3303,20 +3303,20 @@ proto.ItemTransactionService.prototype.setPreviousReferences = function(value) {
|
|
|
3303
3303
|
|
|
3304
3304
|
|
|
3305
3305
|
/**
|
|
3306
|
-
* optional
|
|
3307
|
-
* @return {
|
|
3306
|
+
* optional string remaining_quantity = 14;
|
|
3307
|
+
* @return {string}
|
|
3308
3308
|
*/
|
|
3309
3309
|
proto.ItemTransactionService.prototype.getRemainingQuantity = function() {
|
|
3310
|
-
return /** @type {
|
|
3310
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
3311
3311
|
};
|
|
3312
3312
|
|
|
3313
3313
|
|
|
3314
3314
|
/**
|
|
3315
|
-
* @param {
|
|
3315
|
+
* @param {string} value
|
|
3316
3316
|
* @return {!proto.ItemTransactionService} returns this
|
|
3317
3317
|
*/
|
|
3318
3318
|
proto.ItemTransactionService.prototype.setRemainingQuantity = function(value) {
|
|
3319
|
-
return jspb.Message.
|
|
3319
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
3320
3320
|
};
|
|
3321
3321
|
|
|
3322
3322
|
|
|
@@ -6783,7 +6783,8 @@ amountPrice: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
|
6783
6783
|
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
6784
6784
|
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
6785
6785
|
itemTransactionServicePriceConditionList: jspb.Message.toObjectList(msg.getItemTransactionServicePriceConditionList(),
|
|
6786
|
-
proto.BaseItemTransactionServicePriceCondition.toObject, includeInstance)
|
|
6786
|
+
proto.BaseItemTransactionServicePriceCondition.toObject, includeInstance),
|
|
6787
|
+
previousReferences: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
6787
6788
|
};
|
|
6788
6789
|
|
|
6789
6790
|
if (includeInstance) {
|
|
@@ -6866,6 +6867,10 @@ proto.BaseItemTransactionService.deserializeBinaryFromReader = function(msg, rea
|
|
|
6866
6867
|
reader.readMessage(value,proto.BaseItemTransactionServicePriceCondition.deserializeBinaryFromReader);
|
|
6867
6868
|
msg.addItemTransactionServicePriceCondition(value);
|
|
6868
6869
|
break;
|
|
6870
|
+
case 13:
|
|
6871
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6872
|
+
msg.setPreviousReferences(value);
|
|
6873
|
+
break;
|
|
6869
6874
|
default:
|
|
6870
6875
|
reader.skipField();
|
|
6871
6876
|
break;
|
|
@@ -6974,6 +6979,13 @@ proto.BaseItemTransactionService.serializeBinaryToWriter = function(message, wri
|
|
|
6974
6979
|
proto.BaseItemTransactionServicePriceCondition.serializeBinaryToWriter
|
|
6975
6980
|
);
|
|
6976
6981
|
}
|
|
6982
|
+
f = message.getPreviousReferences();
|
|
6983
|
+
if (f.length > 0) {
|
|
6984
|
+
writer.writeString(
|
|
6985
|
+
13,
|
|
6986
|
+
f
|
|
6987
|
+
);
|
|
6988
|
+
}
|
|
6977
6989
|
};
|
|
6978
6990
|
|
|
6979
6991
|
|
|
@@ -7215,6 +7227,24 @@ proto.BaseItemTransactionService.prototype.clearItemTransactionServicePriceCondi
|
|
|
7215
7227
|
};
|
|
7216
7228
|
|
|
7217
7229
|
|
|
7230
|
+
/**
|
|
7231
|
+
* optional string previous_references = 13;
|
|
7232
|
+
* @return {string}
|
|
7233
|
+
*/
|
|
7234
|
+
proto.BaseItemTransactionService.prototype.getPreviousReferences = function() {
|
|
7235
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
7236
|
+
};
|
|
7237
|
+
|
|
7238
|
+
|
|
7239
|
+
/**
|
|
7240
|
+
* @param {string} value
|
|
7241
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
7242
|
+
*/
|
|
7243
|
+
proto.BaseItemTransactionService.prototype.setPreviousReferences = function(value) {
|
|
7244
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
7245
|
+
};
|
|
7246
|
+
|
|
7247
|
+
|
|
7218
7248
|
|
|
7219
7249
|
|
|
7220
7250
|
|
|
@@ -323,7 +323,7 @@ updatedAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
|
323
323
|
createdBy: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
324
324
|
updatedBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
325
325
|
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
326
|
-
value: jspb.Message.
|
|
326
|
+
value: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0)
|
|
327
327
|
};
|
|
328
328
|
|
|
329
329
|
if (includeInstance) {
|
|
@@ -401,7 +401,7 @@ proto.TaxCode.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
401
401
|
msg.setCompaniesReferencesId(value);
|
|
402
402
|
break;
|
|
403
403
|
case 11:
|
|
404
|
-
var value = /** @type {number} */ (reader.
|
|
404
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
405
405
|
msg.setValue(value);
|
|
406
406
|
break;
|
|
407
407
|
default:
|
|
@@ -504,8 +504,8 @@ proto.TaxCode.serializeBinaryToWriter = function(message, writer) {
|
|
|
504
504
|
);
|
|
505
505
|
}
|
|
506
506
|
f = message.getValue();
|
|
507
|
-
if (f !== 0) {
|
|
508
|
-
writer.
|
|
507
|
+
if (f !== 0.0) {
|
|
508
|
+
writer.writeFloat(
|
|
509
509
|
11,
|
|
510
510
|
f
|
|
511
511
|
);
|
|
@@ -694,11 +694,11 @@ proto.TaxCode.prototype.setCompaniesReferencesId = function(value) {
|
|
|
694
694
|
|
|
695
695
|
|
|
696
696
|
/**
|
|
697
|
-
* optional
|
|
697
|
+
* optional float value = 11;
|
|
698
698
|
* @return {number}
|
|
699
699
|
*/
|
|
700
700
|
proto.TaxCode.prototype.getValue = function() {
|
|
701
|
-
return /** @type {number} */ (jspb.Message.
|
|
701
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
|
|
702
702
|
};
|
|
703
703
|
|
|
704
704
|
|
|
@@ -707,7 +707,7 @@ proto.TaxCode.prototype.getValue = function() {
|
|
|
707
707
|
* @return {!proto.TaxCode} returns this
|
|
708
708
|
*/
|
|
709
709
|
proto.TaxCode.prototype.setValue = function(value) {
|
|
710
|
-
return jspb.Message.
|
|
710
|
+
return jspb.Message.setProto3FloatField(this, 11, value);
|
|
711
711
|
};
|
|
712
712
|
|
|
713
713
|
|
|
@@ -746,7 +746,7 @@ proto.BaseTaxCode.toObject = function(includeInstance, msg) {
|
|
|
746
746
|
code: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
747
747
|
codeName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
748
748
|
procedure: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
749
|
-
value: jspb.Message.
|
|
749
|
+
value: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
|
|
750
750
|
};
|
|
751
751
|
|
|
752
752
|
if (includeInstance) {
|
|
@@ -796,7 +796,7 @@ proto.BaseTaxCode.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
796
796
|
msg.setProcedure(value);
|
|
797
797
|
break;
|
|
798
798
|
case 4:
|
|
799
|
-
var value = /** @type {number} */ (reader.
|
|
799
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
800
800
|
msg.setValue(value);
|
|
801
801
|
break;
|
|
802
802
|
default:
|
|
@@ -850,8 +850,8 @@ proto.BaseTaxCode.serializeBinaryToWriter = function(message, writer) {
|
|
|
850
850
|
);
|
|
851
851
|
}
|
|
852
852
|
f = message.getValue();
|
|
853
|
-
if (f !== 0) {
|
|
854
|
-
writer.
|
|
853
|
+
if (f !== 0.0) {
|
|
854
|
+
writer.writeFloat(
|
|
855
855
|
4,
|
|
856
856
|
f
|
|
857
857
|
);
|
|
@@ -914,11 +914,11 @@ proto.BaseTaxCode.prototype.setProcedure = function(value) {
|
|
|
914
914
|
|
|
915
915
|
|
|
916
916
|
/**
|
|
917
|
-
* optional
|
|
917
|
+
* optional float value = 4;
|
|
918
918
|
* @return {number}
|
|
919
919
|
*/
|
|
920
920
|
proto.BaseTaxCode.prototype.getValue = function() {
|
|
921
|
-
return /** @type {number} */ (jspb.Message.
|
|
921
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
922
922
|
};
|
|
923
923
|
|
|
924
924
|
|
|
@@ -927,7 +927,7 @@ proto.BaseTaxCode.prototype.getValue = function() {
|
|
|
927
927
|
* @return {!proto.BaseTaxCode} returns this
|
|
928
928
|
*/
|
|
929
929
|
proto.BaseTaxCode.prototype.setValue = function(value) {
|
|
930
|
-
return jspb.Message.
|
|
930
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
931
931
|
};
|
|
932
932
|
|
|
933
933
|
|