@aldiokta/protocgen 1.1.50 → 1.1.52
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/bidding/bidding_grpc_pb.js +23 -0
- package/prisca/v1/bidding/bidding_pb.js +463 -2
- package/prisca/v1/business_fields/business_fields_grpc_pb.js +33 -0
- package/prisca/v1/business_fields/business_fields_pb.js +356 -0
- package/prisca/v1/core/access_api/access_api_grpc_pb.js +204 -0
- package/prisca/v1/core/access_api/access_api_pb.js +3024 -0
- package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +66 -0
- package/prisca/v1/core/access_manager/access_manager_pb.js +1346 -2
- package/prisca/v1/core/attribute/attribute_grpc_pb.js +474 -0
- package/prisca/v1/core/attribute/attribute_pb.js +6550 -0
- package/prisca/v1/core/auth/auth_grpc_pb.js +22 -0
- package/prisca/v1/core/auth/auth_pb.js +152 -0
- package/prisca/v1/core/commodity/commodity_grpc_pb.js +156 -0
- package/prisca/v1/core/commodity/commodity_pb.js +1988 -0
- package/prisca/v1/core/company/company_grpc_pb.js +11 -0
- package/prisca/v1/core/cron_monitor/cron_monitor_grpc_pb.js +221 -0
- package/prisca/v1/core/cron_monitor/cron_monitor_pb.js +2681 -0
- package/prisca/v1/core/employee/employee_grpc_pb.js +25 -3
- package/prisca/v1/core/employee/employee_pb.js +203 -0
- package/prisca/v1/core/identity_provider/identity_provider_grpc_pb.js +156 -0
- package/prisca/v1/core/identity_provider/identity_provider_pb.js +2018 -0
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +2362 -1022
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +11 -0
- package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js +65 -35
- package/prisca/v1/core/material/material_grpc_pb.js +2 -0
- package/prisca/v1/core/material/material_pb.js +420 -2
- package/prisca/v1/core/messaging/email_template_grpc_pb.js +33 -0
- package/prisca/v1/core/messaging/email_template_pb.js +385 -0
- package/prisca/v1/core/number_range/number_range_grpc_pb.js +33 -0
- package/prisca/v1/core/number_range/number_range_pb.js +385 -0
- package/prisca/v1/core/report/report_pb.js +31 -1
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +33 -0
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +364 -0
- package/prisca/v1/core/users/users_grpc_pb.js +1 -0
- package/prisca/v1/core/users/users_pb.js +2 -0
- package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +33 -0
- package/prisca/v1/delivery_order/delivery_order_pb.js +31 -1
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +33 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +273 -8
- package/prisca/v1/invoice/invoice_grpc_pb.js +33 -0
- package/prisca/v1/invoice/invoice_pb.js +237 -2
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +33 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +935 -12
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +35 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +527 -66
- package/prisca/v1/quotation/quotation_pb.js +55 -2
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +0 -123
- package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +34 -0
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +1365 -0
|
@@ -21,7 +21,9 @@ var prisca_v1_core_employee_employee_pb = require('../../../../prisca/v1/core/em
|
|
|
21
21
|
goog.object.extend(proto, prisca_v1_core_employee_employee_pb);
|
|
22
22
|
goog.exportSymbol('proto.BaseNumberRangeRequest', null, global);
|
|
23
23
|
goog.exportSymbol('proto.CreateNumberRangeRequest', null, global);
|
|
24
|
+
goog.exportSymbol('proto.CreateNumberRangeRequestDefault', null, global);
|
|
24
25
|
goog.exportSymbol('proto.CreateNumberRangeResponse', null, global);
|
|
26
|
+
goog.exportSymbol('proto.CreateNumberRangeResponseDefault', null, global);
|
|
25
27
|
goog.exportSymbol('proto.DeleteNumberRangeRequest', null, global);
|
|
26
28
|
goog.exportSymbol('proto.DeleteNumberRangeResponse', null, global);
|
|
27
29
|
goog.exportSymbol('proto.GetListNumberRangeRequest', null, global);
|
|
@@ -283,6 +285,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
283
285
|
*/
|
|
284
286
|
proto.GetListNumberRangeResponse.displayName = 'proto.GetListNumberRangeResponse';
|
|
285
287
|
}
|
|
288
|
+
/**
|
|
289
|
+
* Generated by JsPbCodeGenerator.
|
|
290
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
291
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
292
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
293
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
294
|
+
* valid.
|
|
295
|
+
* @extends {jspb.Message}
|
|
296
|
+
* @constructor
|
|
297
|
+
*/
|
|
298
|
+
proto.CreateNumberRangeRequestDefault = function(opt_data) {
|
|
299
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
300
|
+
};
|
|
301
|
+
goog.inherits(proto.CreateNumberRangeRequestDefault, jspb.Message);
|
|
302
|
+
if (goog.DEBUG && !COMPILED) {
|
|
303
|
+
/**
|
|
304
|
+
* @public
|
|
305
|
+
* @override
|
|
306
|
+
*/
|
|
307
|
+
proto.CreateNumberRangeRequestDefault.displayName = 'proto.CreateNumberRangeRequestDefault';
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* Generated by JsPbCodeGenerator.
|
|
311
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
312
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
313
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
314
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
315
|
+
* valid.
|
|
316
|
+
* @extends {jspb.Message}
|
|
317
|
+
* @constructor
|
|
318
|
+
*/
|
|
319
|
+
proto.CreateNumberRangeResponseDefault = function(opt_data) {
|
|
320
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.CreateNumberRangeResponseDefault.repeatedFields_, null);
|
|
321
|
+
};
|
|
322
|
+
goog.inherits(proto.CreateNumberRangeResponseDefault, jspb.Message);
|
|
323
|
+
if (goog.DEBUG && !COMPILED) {
|
|
324
|
+
/**
|
|
325
|
+
* @public
|
|
326
|
+
* @override
|
|
327
|
+
*/
|
|
328
|
+
proto.CreateNumberRangeResponseDefault.displayName = 'proto.CreateNumberRangeResponseDefault';
|
|
329
|
+
}
|
|
286
330
|
|
|
287
331
|
|
|
288
332
|
|
|
@@ -2969,4 +3013,345 @@ proto.GetListNumberRangeResponse.prototype.hasMeta = function() {
|
|
|
2969
3013
|
};
|
|
2970
3014
|
|
|
2971
3015
|
|
|
3016
|
+
|
|
3017
|
+
|
|
3018
|
+
|
|
3019
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3020
|
+
/**
|
|
3021
|
+
* Creates an object representation of this proto.
|
|
3022
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3023
|
+
* Optional fields that are not set will be set to undefined.
|
|
3024
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3025
|
+
* For the list of reserved names please see:
|
|
3026
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3027
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3028
|
+
* JSPB instance for transitional soy proto support:
|
|
3029
|
+
* http://goto/soy-param-migration
|
|
3030
|
+
* @return {!Object}
|
|
3031
|
+
*/
|
|
3032
|
+
proto.CreateNumberRangeRequestDefault.prototype.toObject = function(opt_includeInstance) {
|
|
3033
|
+
return proto.CreateNumberRangeRequestDefault.toObject(opt_includeInstance, this);
|
|
3034
|
+
};
|
|
3035
|
+
|
|
3036
|
+
|
|
3037
|
+
/**
|
|
3038
|
+
* Static version of the {@see toObject} method.
|
|
3039
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3040
|
+
* the JSPB instance for transitional soy proto support:
|
|
3041
|
+
* http://goto/soy-param-migration
|
|
3042
|
+
* @param {!proto.CreateNumberRangeRequestDefault} msg The msg instance to transform.
|
|
3043
|
+
* @return {!Object}
|
|
3044
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3045
|
+
*/
|
|
3046
|
+
proto.CreateNumberRangeRequestDefault.toObject = function(includeInstance, msg) {
|
|
3047
|
+
var f, obj = {
|
|
3048
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
3049
|
+
};
|
|
3050
|
+
|
|
3051
|
+
if (includeInstance) {
|
|
3052
|
+
obj.$jspbMessageInstance = msg;
|
|
3053
|
+
}
|
|
3054
|
+
return obj;
|
|
3055
|
+
};
|
|
3056
|
+
}
|
|
3057
|
+
|
|
3058
|
+
|
|
3059
|
+
/**
|
|
3060
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3061
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3062
|
+
* @return {!proto.CreateNumberRangeRequestDefault}
|
|
3063
|
+
*/
|
|
3064
|
+
proto.CreateNumberRangeRequestDefault.deserializeBinary = function(bytes) {
|
|
3065
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3066
|
+
var msg = new proto.CreateNumberRangeRequestDefault;
|
|
3067
|
+
return proto.CreateNumberRangeRequestDefault.deserializeBinaryFromReader(msg, reader);
|
|
3068
|
+
};
|
|
3069
|
+
|
|
3070
|
+
|
|
3071
|
+
/**
|
|
3072
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3073
|
+
* given reader into the given message object.
|
|
3074
|
+
* @param {!proto.CreateNumberRangeRequestDefault} msg The message object to deserialize into.
|
|
3075
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3076
|
+
* @return {!proto.CreateNumberRangeRequestDefault}
|
|
3077
|
+
*/
|
|
3078
|
+
proto.CreateNumberRangeRequestDefault.deserializeBinaryFromReader = function(msg, reader) {
|
|
3079
|
+
while (reader.nextField()) {
|
|
3080
|
+
if (reader.isEndGroup()) {
|
|
3081
|
+
break;
|
|
3082
|
+
}
|
|
3083
|
+
var field = reader.getFieldNumber();
|
|
3084
|
+
switch (field) {
|
|
3085
|
+
case 1:
|
|
3086
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3087
|
+
msg.setCompaniesReferencesId(value);
|
|
3088
|
+
break;
|
|
3089
|
+
default:
|
|
3090
|
+
reader.skipField();
|
|
3091
|
+
break;
|
|
3092
|
+
}
|
|
3093
|
+
}
|
|
3094
|
+
return msg;
|
|
3095
|
+
};
|
|
3096
|
+
|
|
3097
|
+
|
|
3098
|
+
/**
|
|
3099
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3100
|
+
* @return {!Uint8Array}
|
|
3101
|
+
*/
|
|
3102
|
+
proto.CreateNumberRangeRequestDefault.prototype.serializeBinary = function() {
|
|
3103
|
+
var writer = new jspb.BinaryWriter();
|
|
3104
|
+
proto.CreateNumberRangeRequestDefault.serializeBinaryToWriter(this, writer);
|
|
3105
|
+
return writer.getResultBuffer();
|
|
3106
|
+
};
|
|
3107
|
+
|
|
3108
|
+
|
|
3109
|
+
/**
|
|
3110
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3111
|
+
* format), writing to the given BinaryWriter.
|
|
3112
|
+
* @param {!proto.CreateNumberRangeRequestDefault} message
|
|
3113
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3114
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3115
|
+
*/
|
|
3116
|
+
proto.CreateNumberRangeRequestDefault.serializeBinaryToWriter = function(message, writer) {
|
|
3117
|
+
var f = undefined;
|
|
3118
|
+
f = message.getCompaniesReferencesId();
|
|
3119
|
+
if (f.length > 0) {
|
|
3120
|
+
writer.writeString(
|
|
3121
|
+
1,
|
|
3122
|
+
f
|
|
3123
|
+
);
|
|
3124
|
+
}
|
|
3125
|
+
};
|
|
3126
|
+
|
|
3127
|
+
|
|
3128
|
+
/**
|
|
3129
|
+
* optional string companies_references_id = 1;
|
|
3130
|
+
* @return {string}
|
|
3131
|
+
*/
|
|
3132
|
+
proto.CreateNumberRangeRequestDefault.prototype.getCompaniesReferencesId = function() {
|
|
3133
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3134
|
+
};
|
|
3135
|
+
|
|
3136
|
+
|
|
3137
|
+
/**
|
|
3138
|
+
* @param {string} value
|
|
3139
|
+
* @return {!proto.CreateNumberRangeRequestDefault} returns this
|
|
3140
|
+
*/
|
|
3141
|
+
proto.CreateNumberRangeRequestDefault.prototype.setCompaniesReferencesId = function(value) {
|
|
3142
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3143
|
+
};
|
|
3144
|
+
|
|
3145
|
+
|
|
3146
|
+
|
|
3147
|
+
/**
|
|
3148
|
+
* List of repeated fields within this message type.
|
|
3149
|
+
* @private {!Array<number>}
|
|
3150
|
+
* @const
|
|
3151
|
+
*/
|
|
3152
|
+
proto.CreateNumberRangeResponseDefault.repeatedFields_ = [1];
|
|
3153
|
+
|
|
3154
|
+
|
|
3155
|
+
|
|
3156
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3157
|
+
/**
|
|
3158
|
+
* Creates an object representation of this proto.
|
|
3159
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3160
|
+
* Optional fields that are not set will be set to undefined.
|
|
3161
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3162
|
+
* For the list of reserved names please see:
|
|
3163
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3164
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3165
|
+
* JSPB instance for transitional soy proto support:
|
|
3166
|
+
* http://goto/soy-param-migration
|
|
3167
|
+
* @return {!Object}
|
|
3168
|
+
*/
|
|
3169
|
+
proto.CreateNumberRangeResponseDefault.prototype.toObject = function(opt_includeInstance) {
|
|
3170
|
+
return proto.CreateNumberRangeResponseDefault.toObject(opt_includeInstance, this);
|
|
3171
|
+
};
|
|
3172
|
+
|
|
3173
|
+
|
|
3174
|
+
/**
|
|
3175
|
+
* Static version of the {@see toObject} method.
|
|
3176
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3177
|
+
* the JSPB instance for transitional soy proto support:
|
|
3178
|
+
* http://goto/soy-param-migration
|
|
3179
|
+
* @param {!proto.CreateNumberRangeResponseDefault} msg The msg instance to transform.
|
|
3180
|
+
* @return {!Object}
|
|
3181
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3182
|
+
*/
|
|
3183
|
+
proto.CreateNumberRangeResponseDefault.toObject = function(includeInstance, msg) {
|
|
3184
|
+
var f, obj = {
|
|
3185
|
+
numberRangeList: jspb.Message.toObjectList(msg.getNumberRangeList(),
|
|
3186
|
+
proto.NumberRange.toObject, includeInstance),
|
|
3187
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
3188
|
+
};
|
|
3189
|
+
|
|
3190
|
+
if (includeInstance) {
|
|
3191
|
+
obj.$jspbMessageInstance = msg;
|
|
3192
|
+
}
|
|
3193
|
+
return obj;
|
|
3194
|
+
};
|
|
3195
|
+
}
|
|
3196
|
+
|
|
3197
|
+
|
|
3198
|
+
/**
|
|
3199
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3200
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3201
|
+
* @return {!proto.CreateNumberRangeResponseDefault}
|
|
3202
|
+
*/
|
|
3203
|
+
proto.CreateNumberRangeResponseDefault.deserializeBinary = function(bytes) {
|
|
3204
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3205
|
+
var msg = new proto.CreateNumberRangeResponseDefault;
|
|
3206
|
+
return proto.CreateNumberRangeResponseDefault.deserializeBinaryFromReader(msg, reader);
|
|
3207
|
+
};
|
|
3208
|
+
|
|
3209
|
+
|
|
3210
|
+
/**
|
|
3211
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3212
|
+
* given reader into the given message object.
|
|
3213
|
+
* @param {!proto.CreateNumberRangeResponseDefault} msg The message object to deserialize into.
|
|
3214
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3215
|
+
* @return {!proto.CreateNumberRangeResponseDefault}
|
|
3216
|
+
*/
|
|
3217
|
+
proto.CreateNumberRangeResponseDefault.deserializeBinaryFromReader = function(msg, reader) {
|
|
3218
|
+
while (reader.nextField()) {
|
|
3219
|
+
if (reader.isEndGroup()) {
|
|
3220
|
+
break;
|
|
3221
|
+
}
|
|
3222
|
+
var field = reader.getFieldNumber();
|
|
3223
|
+
switch (field) {
|
|
3224
|
+
case 1:
|
|
3225
|
+
var value = new proto.NumberRange;
|
|
3226
|
+
reader.readMessage(value,proto.NumberRange.deserializeBinaryFromReader);
|
|
3227
|
+
msg.addNumberRange(value);
|
|
3228
|
+
break;
|
|
3229
|
+
case 2:
|
|
3230
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
3231
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
3232
|
+
msg.setMeta(value);
|
|
3233
|
+
break;
|
|
3234
|
+
default:
|
|
3235
|
+
reader.skipField();
|
|
3236
|
+
break;
|
|
3237
|
+
}
|
|
3238
|
+
}
|
|
3239
|
+
return msg;
|
|
3240
|
+
};
|
|
3241
|
+
|
|
3242
|
+
|
|
3243
|
+
/**
|
|
3244
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3245
|
+
* @return {!Uint8Array}
|
|
3246
|
+
*/
|
|
3247
|
+
proto.CreateNumberRangeResponseDefault.prototype.serializeBinary = function() {
|
|
3248
|
+
var writer = new jspb.BinaryWriter();
|
|
3249
|
+
proto.CreateNumberRangeResponseDefault.serializeBinaryToWriter(this, writer);
|
|
3250
|
+
return writer.getResultBuffer();
|
|
3251
|
+
};
|
|
3252
|
+
|
|
3253
|
+
|
|
3254
|
+
/**
|
|
3255
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3256
|
+
* format), writing to the given BinaryWriter.
|
|
3257
|
+
* @param {!proto.CreateNumberRangeResponseDefault} message
|
|
3258
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3259
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3260
|
+
*/
|
|
3261
|
+
proto.CreateNumberRangeResponseDefault.serializeBinaryToWriter = function(message, writer) {
|
|
3262
|
+
var f = undefined;
|
|
3263
|
+
f = message.getNumberRangeList();
|
|
3264
|
+
if (f.length > 0) {
|
|
3265
|
+
writer.writeRepeatedMessage(
|
|
3266
|
+
1,
|
|
3267
|
+
f,
|
|
3268
|
+
proto.NumberRange.serializeBinaryToWriter
|
|
3269
|
+
);
|
|
3270
|
+
}
|
|
3271
|
+
f = message.getMeta();
|
|
3272
|
+
if (f != null) {
|
|
3273
|
+
writer.writeMessage(
|
|
3274
|
+
2,
|
|
3275
|
+
f,
|
|
3276
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
3277
|
+
);
|
|
3278
|
+
}
|
|
3279
|
+
};
|
|
3280
|
+
|
|
3281
|
+
|
|
3282
|
+
/**
|
|
3283
|
+
* repeated NumberRange number_range = 1;
|
|
3284
|
+
* @return {!Array<!proto.NumberRange>}
|
|
3285
|
+
*/
|
|
3286
|
+
proto.CreateNumberRangeResponseDefault.prototype.getNumberRangeList = function() {
|
|
3287
|
+
return /** @type{!Array<!proto.NumberRange>} */ (
|
|
3288
|
+
jspb.Message.getRepeatedWrapperField(this, proto.NumberRange, 1));
|
|
3289
|
+
};
|
|
3290
|
+
|
|
3291
|
+
|
|
3292
|
+
/**
|
|
3293
|
+
* @param {!Array<!proto.NumberRange>} value
|
|
3294
|
+
* @return {!proto.CreateNumberRangeResponseDefault} returns this
|
|
3295
|
+
*/
|
|
3296
|
+
proto.CreateNumberRangeResponseDefault.prototype.setNumberRangeList = function(value) {
|
|
3297
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
3298
|
+
};
|
|
3299
|
+
|
|
3300
|
+
|
|
3301
|
+
/**
|
|
3302
|
+
* @param {!proto.NumberRange=} opt_value
|
|
3303
|
+
* @param {number=} opt_index
|
|
3304
|
+
* @return {!proto.NumberRange}
|
|
3305
|
+
*/
|
|
3306
|
+
proto.CreateNumberRangeResponseDefault.prototype.addNumberRange = function(opt_value, opt_index) {
|
|
3307
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.NumberRange, opt_index);
|
|
3308
|
+
};
|
|
3309
|
+
|
|
3310
|
+
|
|
3311
|
+
/**
|
|
3312
|
+
* Clears the list making it empty but non-null.
|
|
3313
|
+
* @return {!proto.CreateNumberRangeResponseDefault} returns this
|
|
3314
|
+
*/
|
|
3315
|
+
proto.CreateNumberRangeResponseDefault.prototype.clearNumberRangeList = function() {
|
|
3316
|
+
return this.setNumberRangeList([]);
|
|
3317
|
+
};
|
|
3318
|
+
|
|
3319
|
+
|
|
3320
|
+
/**
|
|
3321
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
3322
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
3323
|
+
*/
|
|
3324
|
+
proto.CreateNumberRangeResponseDefault.prototype.getMeta = function() {
|
|
3325
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
3326
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
3327
|
+
};
|
|
3328
|
+
|
|
3329
|
+
|
|
3330
|
+
/**
|
|
3331
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
3332
|
+
* @return {!proto.CreateNumberRangeResponseDefault} returns this
|
|
3333
|
+
*/
|
|
3334
|
+
proto.CreateNumberRangeResponseDefault.prototype.setMeta = function(value) {
|
|
3335
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
3336
|
+
};
|
|
3337
|
+
|
|
3338
|
+
|
|
3339
|
+
/**
|
|
3340
|
+
* Clears the message field making it undefined.
|
|
3341
|
+
* @return {!proto.CreateNumberRangeResponseDefault} returns this
|
|
3342
|
+
*/
|
|
3343
|
+
proto.CreateNumberRangeResponseDefault.prototype.clearMeta = function() {
|
|
3344
|
+
return this.setMeta(undefined);
|
|
3345
|
+
};
|
|
3346
|
+
|
|
3347
|
+
|
|
3348
|
+
/**
|
|
3349
|
+
* Returns whether this field is set.
|
|
3350
|
+
* @return {boolean}
|
|
3351
|
+
*/
|
|
3352
|
+
proto.CreateNumberRangeResponseDefault.prototype.hasMeta = function() {
|
|
3353
|
+
return jspb.Message.getField(this, 2) != null;
|
|
3354
|
+
};
|
|
3355
|
+
|
|
3356
|
+
|
|
2972
3357
|
goog.object.extend(exports, proto);
|
|
@@ -323,7 +323,8 @@ label: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
|
323
323
|
name: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
324
324
|
type: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
325
325
|
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
326
|
-
valueKey: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
326
|
+
valueKey: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
327
|
+
linkRedirect: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
327
328
|
};
|
|
328
329
|
|
|
329
330
|
if (includeInstance) {
|
|
@@ -404,6 +405,10 @@ proto.Report.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
404
405
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
405
406
|
msg.setValueKey(value);
|
|
406
407
|
break;
|
|
408
|
+
case 12:
|
|
409
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
410
|
+
msg.setLinkRedirect(value);
|
|
411
|
+
break;
|
|
407
412
|
default:
|
|
408
413
|
reader.skipField();
|
|
409
414
|
break;
|
|
@@ -510,6 +515,13 @@ proto.Report.serializeBinaryToWriter = function(message, writer) {
|
|
|
510
515
|
f
|
|
511
516
|
);
|
|
512
517
|
}
|
|
518
|
+
f = message.getLinkRedirect();
|
|
519
|
+
if (f.length > 0) {
|
|
520
|
+
writer.writeString(
|
|
521
|
+
12,
|
|
522
|
+
f
|
|
523
|
+
);
|
|
524
|
+
}
|
|
513
525
|
};
|
|
514
526
|
|
|
515
527
|
|
|
@@ -711,6 +723,24 @@ proto.Report.prototype.setValueKey = function(value) {
|
|
|
711
723
|
};
|
|
712
724
|
|
|
713
725
|
|
|
726
|
+
/**
|
|
727
|
+
* optional string link_redirect = 12;
|
|
728
|
+
* @return {string}
|
|
729
|
+
*/
|
|
730
|
+
proto.Report.prototype.getLinkRedirect = function() {
|
|
731
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
732
|
+
};
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* @param {string} value
|
|
737
|
+
* @return {!proto.Report} returns this
|
|
738
|
+
*/
|
|
739
|
+
proto.Report.prototype.setLinkRedirect = function(value) {
|
|
740
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
741
|
+
};
|
|
742
|
+
|
|
743
|
+
|
|
714
744
|
|
|
715
745
|
|
|
716
746
|
|
|
@@ -171,6 +171,28 @@ function deserialize_GetTransactionFieldsByName(buffer_arg) {
|
|
|
171
171
|
return prisca_v1_core_transaction_builder_transaction_builder_pb.GetTransactionFieldsByName.deserializeBinary(new Uint8Array(buffer_arg));
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
+
function serialize_RequestCopyTransactionFields(arg) {
|
|
175
|
+
if (!(arg instanceof prisca_v1_core_transaction_builder_transaction_builder_pb.RequestCopyTransactionFields)) {
|
|
176
|
+
throw new Error('Expected argument of type RequestCopyTransactionFields');
|
|
177
|
+
}
|
|
178
|
+
return Buffer.from(arg.serializeBinary());
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
function deserialize_RequestCopyTransactionFields(buffer_arg) {
|
|
182
|
+
return prisca_v1_core_transaction_builder_transaction_builder_pb.RequestCopyTransactionFields.deserializeBinary(new Uint8Array(buffer_arg));
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
function serialize_RequestCopyTransactionFieldsRes(arg) {
|
|
186
|
+
if (!(arg instanceof prisca_v1_core_transaction_builder_transaction_builder_pb.RequestCopyTransactionFieldsRes)) {
|
|
187
|
+
throw new Error('Expected argument of type RequestCopyTransactionFieldsRes');
|
|
188
|
+
}
|
|
189
|
+
return Buffer.from(arg.serializeBinary());
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
function deserialize_RequestCopyTransactionFieldsRes(buffer_arg) {
|
|
193
|
+
return prisca_v1_core_transaction_builder_transaction_builder_pb.RequestCopyTransactionFieldsRes.deserializeBinary(new Uint8Array(buffer_arg));
|
|
194
|
+
}
|
|
195
|
+
|
|
174
196
|
function serialize_ResponseTransactionBuilder(arg) {
|
|
175
197
|
if (!(arg instanceof prisca_v1_core_transaction_builder_transaction_builder_pb.ResponseTransactionBuilder)) {
|
|
176
198
|
throw new Error('Expected argument of type ResponseTransactionBuilder');
|
|
@@ -647,6 +669,17 @@ createTransactionBuilder: {
|
|
|
647
669
|
responseSerialize: serialize_DeleteTransactionBuilderFieldsRes,
|
|
648
670
|
responseDeserialize: deserialize_DeleteTransactionBuilderFieldsRes,
|
|
649
671
|
},
|
|
672
|
+
copyTransactionFields: {
|
|
673
|
+
path: '/TransactionBuilderService/CopyTransactionFields',
|
|
674
|
+
requestStream: false,
|
|
675
|
+
responseStream: false,
|
|
676
|
+
requestType: prisca_v1_core_transaction_builder_transaction_builder_pb.RequestCopyTransactionFields,
|
|
677
|
+
responseType: prisca_v1_core_transaction_builder_transaction_builder_pb.RequestCopyTransactionFieldsRes,
|
|
678
|
+
requestSerialize: serialize_RequestCopyTransactionFields,
|
|
679
|
+
requestDeserialize: deserialize_RequestCopyTransactionFields,
|
|
680
|
+
responseSerialize: serialize_RequestCopyTransactionFieldsRes,
|
|
681
|
+
responseDeserialize: deserialize_RequestCopyTransactionFieldsRes,
|
|
682
|
+
},
|
|
650
683
|
};
|
|
651
684
|
|
|
652
685
|
exports.TransactionBuilderServiceClient = grpc.makeGenericClientConstructor(TransactionBuilderServiceService, 'TransactionBuilderService');
|