@aldiokta/protocgen 1.1.51 → 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/employee/employee_grpc_pb.js +14 -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 +62 -2
- 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 +36 -6
- package/prisca/v1/invoice/invoice_grpc_pb.js +33 -0
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +33 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +717 -29
- 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 +112 -57
- 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
|
@@ -24,7 +24,9 @@ goog.object.extend(proto, prisca_v1_core_transaction_builder_transaction_builder
|
|
|
24
24
|
goog.exportSymbol('proto.BaseBusinessFieldsRequest', null, global);
|
|
25
25
|
goog.exportSymbol('proto.BusinessFields', null, global);
|
|
26
26
|
goog.exportSymbol('proto.CreateBusinessFieldsRequest', null, global);
|
|
27
|
+
goog.exportSymbol('proto.CreateBusinessFieldsRequestDefault', null, global);
|
|
27
28
|
goog.exportSymbol('proto.CreateBusinessFieldsResponse', null, global);
|
|
29
|
+
goog.exportSymbol('proto.CreateBusinessFieldsResponseDefault', null, global);
|
|
28
30
|
goog.exportSymbol('proto.DeleteBusinessFieldsRequest', null, global);
|
|
29
31
|
goog.exportSymbol('proto.DeleteBusinessFieldsResponse', null, global);
|
|
30
32
|
goog.exportSymbol('proto.GetBusinessFieldsByIdRequest', null, global);
|
|
@@ -439,6 +441,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
439
441
|
*/
|
|
440
442
|
proto.RegisterBusinessFieldsResponse.displayName = 'proto.RegisterBusinessFieldsResponse';
|
|
441
443
|
}
|
|
444
|
+
/**
|
|
445
|
+
* Generated by JsPbCodeGenerator.
|
|
446
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
447
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
448
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
449
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
450
|
+
* valid.
|
|
451
|
+
* @extends {jspb.Message}
|
|
452
|
+
* @constructor
|
|
453
|
+
*/
|
|
454
|
+
proto.CreateBusinessFieldsRequestDefault = function(opt_data) {
|
|
455
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
456
|
+
};
|
|
457
|
+
goog.inherits(proto.CreateBusinessFieldsRequestDefault, jspb.Message);
|
|
458
|
+
if (goog.DEBUG && !COMPILED) {
|
|
459
|
+
/**
|
|
460
|
+
* @public
|
|
461
|
+
* @override
|
|
462
|
+
*/
|
|
463
|
+
proto.CreateBusinessFieldsRequestDefault.displayName = 'proto.CreateBusinessFieldsRequestDefault';
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* Generated by JsPbCodeGenerator.
|
|
467
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
468
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
469
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
470
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
471
|
+
* valid.
|
|
472
|
+
* @extends {jspb.Message}
|
|
473
|
+
* @constructor
|
|
474
|
+
*/
|
|
475
|
+
proto.CreateBusinessFieldsResponseDefault = function(opt_data) {
|
|
476
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.CreateBusinessFieldsResponseDefault.repeatedFields_, null);
|
|
477
|
+
};
|
|
478
|
+
goog.inherits(proto.CreateBusinessFieldsResponseDefault, jspb.Message);
|
|
479
|
+
if (goog.DEBUG && !COMPILED) {
|
|
480
|
+
/**
|
|
481
|
+
* @public
|
|
482
|
+
* @override
|
|
483
|
+
*/
|
|
484
|
+
proto.CreateBusinessFieldsResponseDefault.displayName = 'proto.CreateBusinessFieldsResponseDefault';
|
|
485
|
+
}
|
|
442
486
|
|
|
443
487
|
/**
|
|
444
488
|
* List of repeated fields within this message type.
|
|
@@ -4369,4 +4413,316 @@ proto.RegisterBusinessFieldsResponse.prototype.hasMeta = function() {
|
|
|
4369
4413
|
};
|
|
4370
4414
|
|
|
4371
4415
|
|
|
4416
|
+
|
|
4417
|
+
|
|
4418
|
+
|
|
4419
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4420
|
+
/**
|
|
4421
|
+
* Creates an object representation of this proto.
|
|
4422
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4423
|
+
* Optional fields that are not set will be set to undefined.
|
|
4424
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4425
|
+
* For the list of reserved names please see:
|
|
4426
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4427
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4428
|
+
* JSPB instance for transitional soy proto support:
|
|
4429
|
+
* http://goto/soy-param-migration
|
|
4430
|
+
* @return {!Object}
|
|
4431
|
+
*/
|
|
4432
|
+
proto.CreateBusinessFieldsRequestDefault.prototype.toObject = function(opt_includeInstance) {
|
|
4433
|
+
return proto.CreateBusinessFieldsRequestDefault.toObject(opt_includeInstance, this);
|
|
4434
|
+
};
|
|
4435
|
+
|
|
4436
|
+
|
|
4437
|
+
/**
|
|
4438
|
+
* Static version of the {@see toObject} method.
|
|
4439
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4440
|
+
* the JSPB instance for transitional soy proto support:
|
|
4441
|
+
* http://goto/soy-param-migration
|
|
4442
|
+
* @param {!proto.CreateBusinessFieldsRequestDefault} msg The msg instance to transform.
|
|
4443
|
+
* @return {!Object}
|
|
4444
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4445
|
+
*/
|
|
4446
|
+
proto.CreateBusinessFieldsRequestDefault.toObject = function(includeInstance, msg) {
|
|
4447
|
+
var f, obj = {
|
|
4448
|
+
|
|
4449
|
+
};
|
|
4450
|
+
|
|
4451
|
+
if (includeInstance) {
|
|
4452
|
+
obj.$jspbMessageInstance = msg;
|
|
4453
|
+
}
|
|
4454
|
+
return obj;
|
|
4455
|
+
};
|
|
4456
|
+
}
|
|
4457
|
+
|
|
4458
|
+
|
|
4459
|
+
/**
|
|
4460
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4461
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4462
|
+
* @return {!proto.CreateBusinessFieldsRequestDefault}
|
|
4463
|
+
*/
|
|
4464
|
+
proto.CreateBusinessFieldsRequestDefault.deserializeBinary = function(bytes) {
|
|
4465
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4466
|
+
var msg = new proto.CreateBusinessFieldsRequestDefault;
|
|
4467
|
+
return proto.CreateBusinessFieldsRequestDefault.deserializeBinaryFromReader(msg, reader);
|
|
4468
|
+
};
|
|
4469
|
+
|
|
4470
|
+
|
|
4471
|
+
/**
|
|
4472
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4473
|
+
* given reader into the given message object.
|
|
4474
|
+
* @param {!proto.CreateBusinessFieldsRequestDefault} msg The message object to deserialize into.
|
|
4475
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4476
|
+
* @return {!proto.CreateBusinessFieldsRequestDefault}
|
|
4477
|
+
*/
|
|
4478
|
+
proto.CreateBusinessFieldsRequestDefault.deserializeBinaryFromReader = function(msg, reader) {
|
|
4479
|
+
while (reader.nextField()) {
|
|
4480
|
+
if (reader.isEndGroup()) {
|
|
4481
|
+
break;
|
|
4482
|
+
}
|
|
4483
|
+
var field = reader.getFieldNumber();
|
|
4484
|
+
switch (field) {
|
|
4485
|
+
default:
|
|
4486
|
+
reader.skipField();
|
|
4487
|
+
break;
|
|
4488
|
+
}
|
|
4489
|
+
}
|
|
4490
|
+
return msg;
|
|
4491
|
+
};
|
|
4492
|
+
|
|
4493
|
+
|
|
4494
|
+
/**
|
|
4495
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4496
|
+
* @return {!Uint8Array}
|
|
4497
|
+
*/
|
|
4498
|
+
proto.CreateBusinessFieldsRequestDefault.prototype.serializeBinary = function() {
|
|
4499
|
+
var writer = new jspb.BinaryWriter();
|
|
4500
|
+
proto.CreateBusinessFieldsRequestDefault.serializeBinaryToWriter(this, writer);
|
|
4501
|
+
return writer.getResultBuffer();
|
|
4502
|
+
};
|
|
4503
|
+
|
|
4504
|
+
|
|
4505
|
+
/**
|
|
4506
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4507
|
+
* format), writing to the given BinaryWriter.
|
|
4508
|
+
* @param {!proto.CreateBusinessFieldsRequestDefault} message
|
|
4509
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4510
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4511
|
+
*/
|
|
4512
|
+
proto.CreateBusinessFieldsRequestDefault.serializeBinaryToWriter = function(message, writer) {
|
|
4513
|
+
var f = undefined;
|
|
4514
|
+
};
|
|
4515
|
+
|
|
4516
|
+
|
|
4517
|
+
|
|
4518
|
+
/**
|
|
4519
|
+
* List of repeated fields within this message type.
|
|
4520
|
+
* @private {!Array<number>}
|
|
4521
|
+
* @const
|
|
4522
|
+
*/
|
|
4523
|
+
proto.CreateBusinessFieldsResponseDefault.repeatedFields_ = [1];
|
|
4524
|
+
|
|
4525
|
+
|
|
4526
|
+
|
|
4527
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4528
|
+
/**
|
|
4529
|
+
* Creates an object representation of this proto.
|
|
4530
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4531
|
+
* Optional fields that are not set will be set to undefined.
|
|
4532
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4533
|
+
* For the list of reserved names please see:
|
|
4534
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4535
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4536
|
+
* JSPB instance for transitional soy proto support:
|
|
4537
|
+
* http://goto/soy-param-migration
|
|
4538
|
+
* @return {!Object}
|
|
4539
|
+
*/
|
|
4540
|
+
proto.CreateBusinessFieldsResponseDefault.prototype.toObject = function(opt_includeInstance) {
|
|
4541
|
+
return proto.CreateBusinessFieldsResponseDefault.toObject(opt_includeInstance, this);
|
|
4542
|
+
};
|
|
4543
|
+
|
|
4544
|
+
|
|
4545
|
+
/**
|
|
4546
|
+
* Static version of the {@see toObject} method.
|
|
4547
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4548
|
+
* the JSPB instance for transitional soy proto support:
|
|
4549
|
+
* http://goto/soy-param-migration
|
|
4550
|
+
* @param {!proto.CreateBusinessFieldsResponseDefault} msg The msg instance to transform.
|
|
4551
|
+
* @return {!Object}
|
|
4552
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4553
|
+
*/
|
|
4554
|
+
proto.CreateBusinessFieldsResponseDefault.toObject = function(includeInstance, msg) {
|
|
4555
|
+
var f, obj = {
|
|
4556
|
+
businessFieldsList: jspb.Message.toObjectList(msg.getBusinessFieldsList(),
|
|
4557
|
+
proto.BusinessFields.toObject, includeInstance),
|
|
4558
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
4559
|
+
};
|
|
4560
|
+
|
|
4561
|
+
if (includeInstance) {
|
|
4562
|
+
obj.$jspbMessageInstance = msg;
|
|
4563
|
+
}
|
|
4564
|
+
return obj;
|
|
4565
|
+
};
|
|
4566
|
+
}
|
|
4567
|
+
|
|
4568
|
+
|
|
4569
|
+
/**
|
|
4570
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4571
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4572
|
+
* @return {!proto.CreateBusinessFieldsResponseDefault}
|
|
4573
|
+
*/
|
|
4574
|
+
proto.CreateBusinessFieldsResponseDefault.deserializeBinary = function(bytes) {
|
|
4575
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4576
|
+
var msg = new proto.CreateBusinessFieldsResponseDefault;
|
|
4577
|
+
return proto.CreateBusinessFieldsResponseDefault.deserializeBinaryFromReader(msg, reader);
|
|
4578
|
+
};
|
|
4579
|
+
|
|
4580
|
+
|
|
4581
|
+
/**
|
|
4582
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4583
|
+
* given reader into the given message object.
|
|
4584
|
+
* @param {!proto.CreateBusinessFieldsResponseDefault} msg The message object to deserialize into.
|
|
4585
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4586
|
+
* @return {!proto.CreateBusinessFieldsResponseDefault}
|
|
4587
|
+
*/
|
|
4588
|
+
proto.CreateBusinessFieldsResponseDefault.deserializeBinaryFromReader = function(msg, reader) {
|
|
4589
|
+
while (reader.nextField()) {
|
|
4590
|
+
if (reader.isEndGroup()) {
|
|
4591
|
+
break;
|
|
4592
|
+
}
|
|
4593
|
+
var field = reader.getFieldNumber();
|
|
4594
|
+
switch (field) {
|
|
4595
|
+
case 1:
|
|
4596
|
+
var value = new proto.BusinessFields;
|
|
4597
|
+
reader.readMessage(value,proto.BusinessFields.deserializeBinaryFromReader);
|
|
4598
|
+
msg.addBusinessFields(value);
|
|
4599
|
+
break;
|
|
4600
|
+
case 2:
|
|
4601
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
4602
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
4603
|
+
msg.setMeta(value);
|
|
4604
|
+
break;
|
|
4605
|
+
default:
|
|
4606
|
+
reader.skipField();
|
|
4607
|
+
break;
|
|
4608
|
+
}
|
|
4609
|
+
}
|
|
4610
|
+
return msg;
|
|
4611
|
+
};
|
|
4612
|
+
|
|
4613
|
+
|
|
4614
|
+
/**
|
|
4615
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4616
|
+
* @return {!Uint8Array}
|
|
4617
|
+
*/
|
|
4618
|
+
proto.CreateBusinessFieldsResponseDefault.prototype.serializeBinary = function() {
|
|
4619
|
+
var writer = new jspb.BinaryWriter();
|
|
4620
|
+
proto.CreateBusinessFieldsResponseDefault.serializeBinaryToWriter(this, writer);
|
|
4621
|
+
return writer.getResultBuffer();
|
|
4622
|
+
};
|
|
4623
|
+
|
|
4624
|
+
|
|
4625
|
+
/**
|
|
4626
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4627
|
+
* format), writing to the given BinaryWriter.
|
|
4628
|
+
* @param {!proto.CreateBusinessFieldsResponseDefault} message
|
|
4629
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4630
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4631
|
+
*/
|
|
4632
|
+
proto.CreateBusinessFieldsResponseDefault.serializeBinaryToWriter = function(message, writer) {
|
|
4633
|
+
var f = undefined;
|
|
4634
|
+
f = message.getBusinessFieldsList();
|
|
4635
|
+
if (f.length > 0) {
|
|
4636
|
+
writer.writeRepeatedMessage(
|
|
4637
|
+
1,
|
|
4638
|
+
f,
|
|
4639
|
+
proto.BusinessFields.serializeBinaryToWriter
|
|
4640
|
+
);
|
|
4641
|
+
}
|
|
4642
|
+
f = message.getMeta();
|
|
4643
|
+
if (f != null) {
|
|
4644
|
+
writer.writeMessage(
|
|
4645
|
+
2,
|
|
4646
|
+
f,
|
|
4647
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
4648
|
+
);
|
|
4649
|
+
}
|
|
4650
|
+
};
|
|
4651
|
+
|
|
4652
|
+
|
|
4653
|
+
/**
|
|
4654
|
+
* repeated BusinessFields business_fields = 1;
|
|
4655
|
+
* @return {!Array<!proto.BusinessFields>}
|
|
4656
|
+
*/
|
|
4657
|
+
proto.CreateBusinessFieldsResponseDefault.prototype.getBusinessFieldsList = function() {
|
|
4658
|
+
return /** @type{!Array<!proto.BusinessFields>} */ (
|
|
4659
|
+
jspb.Message.getRepeatedWrapperField(this, proto.BusinessFields, 1));
|
|
4660
|
+
};
|
|
4661
|
+
|
|
4662
|
+
|
|
4663
|
+
/**
|
|
4664
|
+
* @param {!Array<!proto.BusinessFields>} value
|
|
4665
|
+
* @return {!proto.CreateBusinessFieldsResponseDefault} returns this
|
|
4666
|
+
*/
|
|
4667
|
+
proto.CreateBusinessFieldsResponseDefault.prototype.setBusinessFieldsList = function(value) {
|
|
4668
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
4669
|
+
};
|
|
4670
|
+
|
|
4671
|
+
|
|
4672
|
+
/**
|
|
4673
|
+
* @param {!proto.BusinessFields=} opt_value
|
|
4674
|
+
* @param {number=} opt_index
|
|
4675
|
+
* @return {!proto.BusinessFields}
|
|
4676
|
+
*/
|
|
4677
|
+
proto.CreateBusinessFieldsResponseDefault.prototype.addBusinessFields = function(opt_value, opt_index) {
|
|
4678
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.BusinessFields, opt_index);
|
|
4679
|
+
};
|
|
4680
|
+
|
|
4681
|
+
|
|
4682
|
+
/**
|
|
4683
|
+
* Clears the list making it empty but non-null.
|
|
4684
|
+
* @return {!proto.CreateBusinessFieldsResponseDefault} returns this
|
|
4685
|
+
*/
|
|
4686
|
+
proto.CreateBusinessFieldsResponseDefault.prototype.clearBusinessFieldsList = function() {
|
|
4687
|
+
return this.setBusinessFieldsList([]);
|
|
4688
|
+
};
|
|
4689
|
+
|
|
4690
|
+
|
|
4691
|
+
/**
|
|
4692
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
4693
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
4694
|
+
*/
|
|
4695
|
+
proto.CreateBusinessFieldsResponseDefault.prototype.getMeta = function() {
|
|
4696
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
4697
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
4698
|
+
};
|
|
4699
|
+
|
|
4700
|
+
|
|
4701
|
+
/**
|
|
4702
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
4703
|
+
* @return {!proto.CreateBusinessFieldsResponseDefault} returns this
|
|
4704
|
+
*/
|
|
4705
|
+
proto.CreateBusinessFieldsResponseDefault.prototype.setMeta = function(value) {
|
|
4706
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
4707
|
+
};
|
|
4708
|
+
|
|
4709
|
+
|
|
4710
|
+
/**
|
|
4711
|
+
* Clears the message field making it undefined.
|
|
4712
|
+
* @return {!proto.CreateBusinessFieldsResponseDefault} returns this
|
|
4713
|
+
*/
|
|
4714
|
+
proto.CreateBusinessFieldsResponseDefault.prototype.clearMeta = function() {
|
|
4715
|
+
return this.setMeta(undefined);
|
|
4716
|
+
};
|
|
4717
|
+
|
|
4718
|
+
|
|
4719
|
+
/**
|
|
4720
|
+
* Returns whether this field is set.
|
|
4721
|
+
* @return {boolean}
|
|
4722
|
+
*/
|
|
4723
|
+
proto.CreateBusinessFieldsResponseDefault.prototype.hasMeta = function() {
|
|
4724
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4725
|
+
};
|
|
4726
|
+
|
|
4727
|
+
|
|
4372
4728
|
goog.object.extend(exports, proto);
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
// Original file comments:
|
|
4
|
+
// protoc --go_out=. --go-grpc_out=. proto/prisca/auth/v1/private/*.proto
|
|
5
|
+
//
|
|
6
|
+
'use strict';
|
|
7
|
+
var grpc = require('@grpc/grpc-js');
|
|
8
|
+
var prisca_v1_core_access_api_access_api_pb = require('../../../../prisca/v1/core/access_api/access_api_pb.js');
|
|
9
|
+
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
10
|
+
var prisca_v1_core_users_users_pb = require('../../../../prisca/v1/core/users/users_pb.js');
|
|
11
|
+
var prisca_v1_core_company_company_pb = require('../../../../prisca/v1/core/company/company_pb.js');
|
|
12
|
+
|
|
13
|
+
function serialize_CreateAccessApiRequest(arg) {
|
|
14
|
+
if (!(arg instanceof prisca_v1_core_access_api_access_api_pb.CreateAccessApiRequest)) {
|
|
15
|
+
throw new Error('Expected argument of type CreateAccessApiRequest');
|
|
16
|
+
}
|
|
17
|
+
return Buffer.from(arg.serializeBinary());
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function deserialize_CreateAccessApiRequest(buffer_arg) {
|
|
21
|
+
return prisca_v1_core_access_api_access_api_pb.CreateAccessApiRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function serialize_CreateAccessApiResponse(arg) {
|
|
25
|
+
if (!(arg instanceof prisca_v1_core_access_api_access_api_pb.CreateAccessApiResponse)) {
|
|
26
|
+
throw new Error('Expected argument of type CreateAccessApiResponse');
|
|
27
|
+
}
|
|
28
|
+
return Buffer.from(arg.serializeBinary());
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function deserialize_CreateAccessApiResponse(buffer_arg) {
|
|
32
|
+
return prisca_v1_core_access_api_access_api_pb.CreateAccessApiResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
function serialize_DeleteAccessApiRequest(arg) {
|
|
36
|
+
if (!(arg instanceof prisca_v1_core_access_api_access_api_pb.DeleteAccessApiRequest)) {
|
|
37
|
+
throw new Error('Expected argument of type DeleteAccessApiRequest');
|
|
38
|
+
}
|
|
39
|
+
return Buffer.from(arg.serializeBinary());
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function deserialize_DeleteAccessApiRequest(buffer_arg) {
|
|
43
|
+
return prisca_v1_core_access_api_access_api_pb.DeleteAccessApiRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
function serialize_DeleteAccessApiResponse(arg) {
|
|
47
|
+
if (!(arg instanceof prisca_v1_core_access_api_access_api_pb.DeleteAccessApiResponse)) {
|
|
48
|
+
throw new Error('Expected argument of type DeleteAccessApiResponse');
|
|
49
|
+
}
|
|
50
|
+
return Buffer.from(arg.serializeBinary());
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function deserialize_DeleteAccessApiResponse(buffer_arg) {
|
|
54
|
+
return prisca_v1_core_access_api_access_api_pb.DeleteAccessApiResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
function serialize_GetAccessApiByIdRequest(arg) {
|
|
58
|
+
if (!(arg instanceof prisca_v1_core_access_api_access_api_pb.GetAccessApiByIdRequest)) {
|
|
59
|
+
throw new Error('Expected argument of type GetAccessApiByIdRequest');
|
|
60
|
+
}
|
|
61
|
+
return Buffer.from(arg.serializeBinary());
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
function deserialize_GetAccessApiByIdRequest(buffer_arg) {
|
|
65
|
+
return prisca_v1_core_access_api_access_api_pb.GetAccessApiByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
function serialize_GetAccessApiByIdResponse(arg) {
|
|
69
|
+
if (!(arg instanceof prisca_v1_core_access_api_access_api_pb.GetAccessApiByIdResponse)) {
|
|
70
|
+
throw new Error('Expected argument of type GetAccessApiByIdResponse');
|
|
71
|
+
}
|
|
72
|
+
return Buffer.from(arg.serializeBinary());
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
function deserialize_GetAccessApiByIdResponse(buffer_arg) {
|
|
76
|
+
return prisca_v1_core_access_api_access_api_pb.GetAccessApiByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
function serialize_GetListAccessApiRequest(arg) {
|
|
80
|
+
if (!(arg instanceof prisca_v1_core_access_api_access_api_pb.GetListAccessApiRequest)) {
|
|
81
|
+
throw new Error('Expected argument of type GetListAccessApiRequest');
|
|
82
|
+
}
|
|
83
|
+
return Buffer.from(arg.serializeBinary());
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
function deserialize_GetListAccessApiRequest(buffer_arg) {
|
|
87
|
+
return prisca_v1_core_access_api_access_api_pb.GetListAccessApiRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
function serialize_GetListAccessApiResponse(arg) {
|
|
91
|
+
if (!(arg instanceof prisca_v1_core_access_api_access_api_pb.GetListAccessApiResponse)) {
|
|
92
|
+
throw new Error('Expected argument of type GetListAccessApiResponse');
|
|
93
|
+
}
|
|
94
|
+
return Buffer.from(arg.serializeBinary());
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
function deserialize_GetListAccessApiResponse(buffer_arg) {
|
|
98
|
+
return prisca_v1_core_access_api_access_api_pb.GetListAccessApiResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
function serialize_IntrospectRequest(arg) {
|
|
102
|
+
if (!(arg instanceof prisca_v1_core_access_api_access_api_pb.IntrospectRequest)) {
|
|
103
|
+
throw new Error('Expected argument of type IntrospectRequest');
|
|
104
|
+
}
|
|
105
|
+
return Buffer.from(arg.serializeBinary());
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
function deserialize_IntrospectRequest(buffer_arg) {
|
|
109
|
+
return prisca_v1_core_access_api_access_api_pb.IntrospectRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
function serialize_UpdateAccessApiRequest(arg) {
|
|
113
|
+
if (!(arg instanceof prisca_v1_core_access_api_access_api_pb.UpdateAccessApiRequest)) {
|
|
114
|
+
throw new Error('Expected argument of type UpdateAccessApiRequest');
|
|
115
|
+
}
|
|
116
|
+
return Buffer.from(arg.serializeBinary());
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
function deserialize_UpdateAccessApiRequest(buffer_arg) {
|
|
120
|
+
return prisca_v1_core_access_api_access_api_pb.UpdateAccessApiRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
function serialize_UpdateAccessApiResponse(arg) {
|
|
124
|
+
if (!(arg instanceof prisca_v1_core_access_api_access_api_pb.UpdateAccessApiResponse)) {
|
|
125
|
+
throw new Error('Expected argument of type UpdateAccessApiResponse');
|
|
126
|
+
}
|
|
127
|
+
return Buffer.from(arg.serializeBinary());
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
function deserialize_UpdateAccessApiResponse(buffer_arg) {
|
|
131
|
+
return prisca_v1_core_access_api_access_api_pb.UpdateAccessApiResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
var AccessApiServiceService = exports.AccessApiServiceService = {
|
|
136
|
+
createAccessApi: {
|
|
137
|
+
path: '/AccessApiService/CreateAccessApi',
|
|
138
|
+
requestStream: false,
|
|
139
|
+
responseStream: false,
|
|
140
|
+
requestType: prisca_v1_core_access_api_access_api_pb.CreateAccessApiRequest,
|
|
141
|
+
responseType: prisca_v1_core_access_api_access_api_pb.CreateAccessApiResponse,
|
|
142
|
+
requestSerialize: serialize_CreateAccessApiRequest,
|
|
143
|
+
requestDeserialize: deserialize_CreateAccessApiRequest,
|
|
144
|
+
responseSerialize: serialize_CreateAccessApiResponse,
|
|
145
|
+
responseDeserialize: deserialize_CreateAccessApiResponse,
|
|
146
|
+
},
|
|
147
|
+
getListAccessApi: {
|
|
148
|
+
path: '/AccessApiService/GetListAccessApi',
|
|
149
|
+
requestStream: false,
|
|
150
|
+
responseStream: false,
|
|
151
|
+
requestType: prisca_v1_core_access_api_access_api_pb.GetListAccessApiRequest,
|
|
152
|
+
responseType: prisca_v1_core_access_api_access_api_pb.GetListAccessApiResponse,
|
|
153
|
+
requestSerialize: serialize_GetListAccessApiRequest,
|
|
154
|
+
requestDeserialize: deserialize_GetListAccessApiRequest,
|
|
155
|
+
responseSerialize: serialize_GetListAccessApiResponse,
|
|
156
|
+
responseDeserialize: deserialize_GetListAccessApiResponse,
|
|
157
|
+
},
|
|
158
|
+
getAccessApiById: {
|
|
159
|
+
path: '/AccessApiService/GetAccessApiById',
|
|
160
|
+
requestStream: false,
|
|
161
|
+
responseStream: false,
|
|
162
|
+
requestType: prisca_v1_core_access_api_access_api_pb.GetAccessApiByIdRequest,
|
|
163
|
+
responseType: prisca_v1_core_access_api_access_api_pb.GetAccessApiByIdResponse,
|
|
164
|
+
requestSerialize: serialize_GetAccessApiByIdRequest,
|
|
165
|
+
requestDeserialize: deserialize_GetAccessApiByIdRequest,
|
|
166
|
+
responseSerialize: serialize_GetAccessApiByIdResponse,
|
|
167
|
+
responseDeserialize: deserialize_GetAccessApiByIdResponse,
|
|
168
|
+
},
|
|
169
|
+
introspect: {
|
|
170
|
+
path: '/AccessApiService/Introspect',
|
|
171
|
+
requestStream: false,
|
|
172
|
+
responseStream: false,
|
|
173
|
+
requestType: prisca_v1_core_access_api_access_api_pb.IntrospectRequest,
|
|
174
|
+
responseType: prisca_v1_core_access_api_access_api_pb.GetAccessApiByIdResponse,
|
|
175
|
+
requestSerialize: serialize_IntrospectRequest,
|
|
176
|
+
requestDeserialize: deserialize_IntrospectRequest,
|
|
177
|
+
responseSerialize: serialize_GetAccessApiByIdResponse,
|
|
178
|
+
responseDeserialize: deserialize_GetAccessApiByIdResponse,
|
|
179
|
+
},
|
|
180
|
+
updateAccessApi: {
|
|
181
|
+
path: '/AccessApiService/UpdateAccessApi',
|
|
182
|
+
requestStream: false,
|
|
183
|
+
responseStream: false,
|
|
184
|
+
requestType: prisca_v1_core_access_api_access_api_pb.UpdateAccessApiRequest,
|
|
185
|
+
responseType: prisca_v1_core_access_api_access_api_pb.UpdateAccessApiResponse,
|
|
186
|
+
requestSerialize: serialize_UpdateAccessApiRequest,
|
|
187
|
+
requestDeserialize: deserialize_UpdateAccessApiRequest,
|
|
188
|
+
responseSerialize: serialize_UpdateAccessApiResponse,
|
|
189
|
+
responseDeserialize: deserialize_UpdateAccessApiResponse,
|
|
190
|
+
},
|
|
191
|
+
deleteAccessApi: {
|
|
192
|
+
path: '/AccessApiService/DeleteAccessApi',
|
|
193
|
+
requestStream: false,
|
|
194
|
+
responseStream: false,
|
|
195
|
+
requestType: prisca_v1_core_access_api_access_api_pb.DeleteAccessApiRequest,
|
|
196
|
+
responseType: prisca_v1_core_access_api_access_api_pb.DeleteAccessApiResponse,
|
|
197
|
+
requestSerialize: serialize_DeleteAccessApiRequest,
|
|
198
|
+
requestDeserialize: deserialize_DeleteAccessApiRequest,
|
|
199
|
+
responseSerialize: serialize_DeleteAccessApiResponse,
|
|
200
|
+
responseDeserialize: deserialize_DeleteAccessApiResponse,
|
|
201
|
+
},
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
exports.AccessApiServiceClient = grpc.makeGenericClientConstructor(AccessApiServiceService, 'AccessApiService');
|