@aldiokta/protocgen 1.1.45 → 1.1.47
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/account_assignment/account_assignment_grpc_pb.js +199 -0
- package/prisca/v1/account_assignment/account_assignment_pb.js +2720 -0
- package/prisca/v1/account_group/account_group_grpc_pb.js +200 -0
- package/prisca/v1/account_group/account_group_pb.js +2983 -0
- package/prisca/v1/bidding/bidding_grpc_pb.js +361 -0
- package/prisca/v1/bidding/bidding_pb.js +8694 -0
- package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +199 -0
- package/prisca/v1/chart_of_account/chart_of_account_pb.js +2953 -0
- package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +611 -0
- package/prisca/v1/core/access_manager/access_manager_pb.js +11402 -0
- package/prisca/v1/core/auth/auth_grpc_pb.js +523 -0
- package/prisca/v1/core/auth/auth_pb.js +5833 -0
- package/prisca/v1/core/chat_messaging/chat_messaging_grpc_pb.js +111 -0
- package/prisca/v1/core/chat_messaging/chat_messaging_pb.js +1726 -0
- package/prisca/v1/core/company/company_grpc_pb.js +178 -0
- package/prisca/v1/core/company/company_pb.js +3094 -0
- package/prisca/v1/core/currency/currency_grpc_pb.js +177 -0
- package/prisca/v1/core/currency/currency_pb.js +2516 -0
- package/prisca/v1/core/department_material/department_material_grpc_pb.js +144 -0
- package/prisca/v1/core/department_material/department_material_pb.js +2161 -0
- package/prisca/v1/core/employee/employee_grpc_pb.js +206 -0
- package/prisca/v1/core/employee/employee_pb.js +4329 -0
- package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +66 -0
- package/prisca/v1/core/file_upload/file_upload_pb.js +1136 -0
- package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +177 -0
- package/prisca/v1/core/incoterm/incoterm_pb.js +2898 -0
- package/prisca/v1/core/item_transaction/item_transaction_grpc_pb.js +1 -0
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +6038 -0
- package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +178 -0
- package/prisca/v1/core/job_grade/job_grade_pb.js +2651 -0
- package/prisca/v1/core/job_position/job_position_grpc_pb.js +181 -0
- package/prisca/v1/core/job_position/job_position_pb.js +3808 -0
- package/prisca/v1/core/job_title/job_title_grpc_pb.js +178 -0
- package/prisca/v1/core/job_title/job_title_pb.js +3004 -0
- package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +78 -0
- package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +2503 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +222 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +3801 -0
- package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +177 -0
- package/prisca/v1/core/link_data_source/link_data_source_pb.js +2606 -0
- package/prisca/v1/core/location/location_grpc_pb.js +837 -0
- package/prisca/v1/core/location/location_pb.js +11262 -0
- package/prisca/v1/core/material/material_grpc_pb.js +182 -0
- package/prisca/v1/core/material/material_pb.js +4226 -0
- package/prisca/v1/core/material_group/material_group_grpc_pb.js +178 -0
- package/prisca/v1/core/material_group/material_group_pb.js +2822 -0
- package/prisca/v1/core/material_type/material_type_grpc_pb.js +182 -0
- package/prisca/v1/core/material_type/material_type_pb.js +3098 -0
- package/prisca/v1/core/messaging/email_template_grpc_pb.js +177 -0
- package/prisca/v1/core/messaging/email_template_pb.js +2658 -0
- package/prisca/v1/core/messaging/messaging_grpc_pb.js +56 -0
- package/prisca/v1/core/messaging/messaging_pb.js +890 -0
- package/prisca/v1/core/messaging/notification_grpc_pb.js +331 -0
- package/prisca/v1/core/messaging/notification_pb.js +4775 -0
- package/prisca/v1/core/number_range/number_range_grpc_pb.js +178 -0
- package/prisca/v1/core/number_range/number_range_pb.js +2972 -0
- package/prisca/v1/core/organization/organization_grpc_pb.js +180 -0
- package/prisca/v1/core/organization/organization_pb.js +3078 -0
- package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +178 -0
- package/prisca/v1/core/organization_level/organization_level_pb.js +2591 -0
- package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +179 -0
- package/prisca/v1/core/price_condition/price_condition_pb.js +3175 -0
- package/prisca/v1/core/procurement/procurement_grpc_pb.js +146 -0
- package/prisca/v1/core/procurement/procurement_pb.js +1675 -0
- package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +1 -0
- package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +200 -0
- package/prisca/v1/core/report/report_grpc_pb.js +200 -0
- package/prisca/v1/core/report/report_pb.js +2816 -0
- package/prisca/v1/core/report/user_report_grpc_pb.js +179 -0
- package/prisca/v1/core/report/user_report_pb.js +2446 -0
- package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +177 -0
- package/prisca/v1/core/tax_code/tax_code_pb.js +2778 -0
- package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +177 -0
- package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +2506 -0
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +652 -0
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +11953 -0
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +180 -0
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +2874 -0
- package/prisca/v1/core/users/users_grpc_pb.js +79 -0
- package/prisca/v1/core/users/users_pb.js +1709 -0
- package/prisca/v1/core/work_location/work_location_grpc_pb.js +179 -0
- package/prisca/v1/core/work_location/work_location_pb.js +4018 -0
- package/prisca/v1/core/workflow/workflow_grpc_pb.js +203 -0
- package/prisca/v1/core/workflow/workflow_pb.js +7631 -0
- package/prisca/v1/core/workspace/workspace_grpc_pb.js +101 -0
- package/prisca/v1/core/workspace/workspace_pb.js +1381 -0
- package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +229 -0
- package/prisca/v1/delivery_order/delivery_order_pb.js +3647 -0
- package/prisca/v1/document_type/document_type_grpc_pb.js +200 -0
- package/prisca/v1/document_type/document_type_pb.js +3004 -0
- package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +181 -0
- package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +3322 -0
- package/prisca/v1/global/meta/meta_grpc_pb.js +1 -0
- package/prisca/v1/global/meta/meta_pb.js +1173 -0
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +250 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +3945 -0
- package/prisca/v1/invoice/invoice_grpc_pb.js +273 -0
- package/prisca/v1/invoice/invoice_pb.js +5664 -0
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +274 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +9839 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +611 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +10795 -0
- package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +178 -0
- package/prisca/v1/purchasing_group/purchasing_group_pb.js +2921 -0
- package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +178 -0
- package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +2418 -0
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +179 -0
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +2584 -0
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +145 -0
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +2537 -0
- package/prisca/v1/quotation/quotation_grpc_pb.js +240 -0
- package/prisca/v1/quotation/quotation_pb.js +4167 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +292 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +7042 -0
- package/prisca/v1/valuation/valuation_grpc_pb.js +366 -0
- package/prisca/v1/valuation/valuation_pb.js +7806 -0
- package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +290 -0
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +14714 -0
- package/prisca/v1/account_assignment/account_assignment.proto +0 -81
- package/prisca/v1/account_group/account_group.proto +0 -88
- package/prisca/v1/bidding/bidding.proto +0 -251
- package/prisca/v1/chart_of_account/chart_of_account.proto +0 -89
- package/prisca/v1/core/access_manager/access_manager.proto +0 -328
- package/prisca/v1/core/auth/auth.proto +0 -185
- package/prisca/v1/core/chat_messaging/chat_messaging.proto +0 -62
- package/prisca/v1/core/company/company.proto +0 -92
- package/prisca/v1/core/currency/currency.proto +0 -76
- package/prisca/v1/core/department_material/department_material.proto +0 -69
- package/prisca/v1/core/employee/employee.proto +0 -129
- package/prisca/v1/core/file_upload/file_upload.proto +0 -41
- package/prisca/v1/core/incoterm/incoterm.proto +0 -85
- package/prisca/v1/core/item_transaction/item_transaction.proto +0 -188
- package/prisca/v1/core/job_grade/job_grade.proto +0 -79
- package/prisca/v1/core/job_position/job_position.proto +0 -113
- package/prisca/v1/core/job_title/job_title.proto +0 -89
- package/prisca/v1/core/line_of_activity/line_of_activity.proto +0 -94
- package/prisca/v1/core/line_of_approval/line_of_approval.proto +0 -113
- package/prisca/v1/core/link_data_source/link_data_source.proto +0 -78
- package/prisca/v1/core/location/location.proto +0 -295
- package/prisca/v1/core/material/material.proto +0 -131
- package/prisca/v1/core/material_group/material_group.proto +0 -85
- package/prisca/v1/core/material_type/material_type.proto +0 -95
- package/prisca/v1/core/messaging/email_template.proto +0 -77
- package/prisca/v1/core/messaging/messaging.proto +0 -29
- package/prisca/v1/core/messaging/notification.proto +0 -144
- package/prisca/v1/core/number_range/number_range.proto +0 -89
- package/prisca/v1/core/organization/organization.proto +0 -94
- package/prisca/v1/core/organization_level/organization_level.proto +0 -77
- package/prisca/v1/core/price_condition/price_condition.proto +0 -97
- package/prisca/v1/core/procurement/procurement.proto +0 -54
- package/prisca/v1/core/recipient_roles/recipient_roles.proto +0 -10
- package/prisca/v1/core/report/report.proto +0 -90
- package/prisca/v1/core/report/user_report.proto +0 -74
- package/prisca/v1/core/tax_code/tax_code.proto +0 -82
- package/prisca/v1/core/term_of_payment/term_of_payment.proto +0 -74
- package/prisca/v1/core/transaction_builder/transaction_builder.proto +0 -366
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +0 -89
- package/prisca/v1/core/users/users.proto +0 -55
- package/prisca/v1/core/work_location/work_location.proto +0 -122
- package/prisca/v1/core/workflow/workflow.proto +0 -220
- package/prisca/v1/core/workspace/workspace.proto +0 -48
- package/prisca/v1/delivery_order/delivery_order.proto +0 -116
- package/prisca/v1/document_type/document_type.proto +0 -89
- package/prisca/v1/general_ledger_account/general_ledger_account.proto +0 -100
- package/prisca/v1/global/meta/meta.proto +0 -57
- package/prisca/v1/good_receipt/good_receipt.proto +0 -118
- package/prisca/v1/invoice/invoice.proto +0 -170
- package/prisca/v1/purchase_order/purchase_order.proto +0 -292
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto +0 -327
- package/prisca/v1/purchasing_group/purchasing_group.proto +0 -89
- package/prisca/v1/purchasing_organization/purchasing_organization.proto +0 -77
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.proto +0 -81
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.proto +0 -80
- package/prisca/v1/quotation/quotation.proto +0 -135
- package/prisca/v1/request_for_quotation/request_for_quotation.proto +0 -203
- package/prisca/v1/valuation/valuation.proto +0 -223
- package/prisca/v1/vendor_domain/vendor_domain.proto +0 -485
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// GENERATED CODE -- NO SERVICES IN PROTO
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
// source: prisca/v1/core/recipient_roles/recipient_roles.proto
|
|
2
|
+
/**
|
|
3
|
+
* @fileoverview
|
|
4
|
+
* @enhanceable
|
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
|
6
|
+
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
7
|
+
* field starts with 'MSG_' and isn't a translatable message.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
// @ts-nocheck
|
|
13
|
+
|
|
14
|
+
var jspb = require('google-protobuf');
|
|
15
|
+
var goog = jspb;
|
|
16
|
+
var global = globalThis;
|
|
17
|
+
|
|
18
|
+
goog.exportSymbol('proto.RecipientRoles', null, global);
|
|
19
|
+
/**
|
|
20
|
+
* Generated by JsPbCodeGenerator.
|
|
21
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
22
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
23
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
24
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
25
|
+
* valid.
|
|
26
|
+
* @extends {jspb.Message}
|
|
27
|
+
* @constructor
|
|
28
|
+
*/
|
|
29
|
+
proto.RecipientRoles = function(opt_data) {
|
|
30
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
31
|
+
};
|
|
32
|
+
goog.inherits(proto.RecipientRoles, jspb.Message);
|
|
33
|
+
if (goog.DEBUG && !COMPILED) {
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
* @override
|
|
37
|
+
*/
|
|
38
|
+
proto.RecipientRoles.displayName = 'proto.RecipientRoles';
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
44
|
+
/**
|
|
45
|
+
* Creates an object representation of this proto.
|
|
46
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
47
|
+
* Optional fields that are not set will be set to undefined.
|
|
48
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
49
|
+
* For the list of reserved names please see:
|
|
50
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
51
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
52
|
+
* JSPB instance for transitional soy proto support:
|
|
53
|
+
* http://goto/soy-param-migration
|
|
54
|
+
* @return {!Object}
|
|
55
|
+
*/
|
|
56
|
+
proto.RecipientRoles.prototype.toObject = function(opt_includeInstance) {
|
|
57
|
+
return proto.RecipientRoles.toObject(opt_includeInstance, this);
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Static version of the {@see toObject} method.
|
|
63
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
64
|
+
* the JSPB instance for transitional soy proto support:
|
|
65
|
+
* http://goto/soy-param-migration
|
|
66
|
+
* @param {!proto.RecipientRoles} msg The msg instance to transform.
|
|
67
|
+
* @return {!Object}
|
|
68
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
69
|
+
*/
|
|
70
|
+
proto.RecipientRoles.toObject = function(includeInstance, msg) {
|
|
71
|
+
var f, obj = {
|
|
72
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
73
|
+
description: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
if (includeInstance) {
|
|
77
|
+
obj.$jspbMessageInstance = msg;
|
|
78
|
+
}
|
|
79
|
+
return obj;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Deserializes binary data (in protobuf wire format).
|
|
86
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
87
|
+
* @return {!proto.RecipientRoles}
|
|
88
|
+
*/
|
|
89
|
+
proto.RecipientRoles.deserializeBinary = function(bytes) {
|
|
90
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
91
|
+
var msg = new proto.RecipientRoles;
|
|
92
|
+
return proto.RecipientRoles.deserializeBinaryFromReader(msg, reader);
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
98
|
+
* given reader into the given message object.
|
|
99
|
+
* @param {!proto.RecipientRoles} msg The message object to deserialize into.
|
|
100
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
101
|
+
* @return {!proto.RecipientRoles}
|
|
102
|
+
*/
|
|
103
|
+
proto.RecipientRoles.deserializeBinaryFromReader = function(msg, reader) {
|
|
104
|
+
while (reader.nextField()) {
|
|
105
|
+
if (reader.isEndGroup()) {
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
var field = reader.getFieldNumber();
|
|
109
|
+
switch (field) {
|
|
110
|
+
case 1:
|
|
111
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
112
|
+
msg.setId(value);
|
|
113
|
+
break;
|
|
114
|
+
case 2:
|
|
115
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
116
|
+
msg.setDescription(value);
|
|
117
|
+
break;
|
|
118
|
+
default:
|
|
119
|
+
reader.skipField();
|
|
120
|
+
break;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
return msg;
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
129
|
+
* @return {!Uint8Array}
|
|
130
|
+
*/
|
|
131
|
+
proto.RecipientRoles.prototype.serializeBinary = function() {
|
|
132
|
+
var writer = new jspb.BinaryWriter();
|
|
133
|
+
proto.RecipientRoles.serializeBinaryToWriter(this, writer);
|
|
134
|
+
return writer.getResultBuffer();
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
140
|
+
* format), writing to the given BinaryWriter.
|
|
141
|
+
* @param {!proto.RecipientRoles} message
|
|
142
|
+
* @param {!jspb.BinaryWriter} writer
|
|
143
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
144
|
+
*/
|
|
145
|
+
proto.RecipientRoles.serializeBinaryToWriter = function(message, writer) {
|
|
146
|
+
var f = undefined;
|
|
147
|
+
f = message.getId();
|
|
148
|
+
if (f !== 0) {
|
|
149
|
+
writer.writeInt64(
|
|
150
|
+
1,
|
|
151
|
+
f
|
|
152
|
+
);
|
|
153
|
+
}
|
|
154
|
+
f = message.getDescription();
|
|
155
|
+
if (f.length > 0) {
|
|
156
|
+
writer.writeString(
|
|
157
|
+
2,
|
|
158
|
+
f
|
|
159
|
+
);
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* optional int64 id = 1;
|
|
166
|
+
* @return {number}
|
|
167
|
+
*/
|
|
168
|
+
proto.RecipientRoles.prototype.getId = function() {
|
|
169
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* @param {number} value
|
|
175
|
+
* @return {!proto.RecipientRoles} returns this
|
|
176
|
+
*/
|
|
177
|
+
proto.RecipientRoles.prototype.setId = function(value) {
|
|
178
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* optional string description = 2;
|
|
184
|
+
* @return {string}
|
|
185
|
+
*/
|
|
186
|
+
proto.RecipientRoles.prototype.getDescription = function() {
|
|
187
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* @param {string} value
|
|
193
|
+
* @return {!proto.RecipientRoles} returns this
|
|
194
|
+
*/
|
|
195
|
+
proto.RecipientRoles.prototype.setDescription = function(value) {
|
|
196
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
goog.object.extend(exports, proto);
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
'use strict';
|
|
4
|
+
var grpc = require('@grpc/grpc-js');
|
|
5
|
+
var prisca_v1_core_report_report_pb = require('../../../../prisca/v1/core/report/report_pb.js');
|
|
6
|
+
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
7
|
+
|
|
8
|
+
function serialize_CreateReportRequest(arg) {
|
|
9
|
+
if (!(arg instanceof prisca_v1_core_report_report_pb.CreateReportRequest)) {
|
|
10
|
+
throw new Error('Expected argument of type CreateReportRequest');
|
|
11
|
+
}
|
|
12
|
+
return Buffer.from(arg.serializeBinary());
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function deserialize_CreateReportRequest(buffer_arg) {
|
|
16
|
+
return prisca_v1_core_report_report_pb.CreateReportRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function serialize_CreateReportResponse(arg) {
|
|
20
|
+
if (!(arg instanceof prisca_v1_core_report_report_pb.CreateReportResponse)) {
|
|
21
|
+
throw new Error('Expected argument of type CreateReportResponse');
|
|
22
|
+
}
|
|
23
|
+
return Buffer.from(arg.serializeBinary());
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
function deserialize_CreateReportResponse(buffer_arg) {
|
|
27
|
+
return prisca_v1_core_report_report_pb.CreateReportResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function serialize_DeleteReportRequest(arg) {
|
|
31
|
+
if (!(arg instanceof prisca_v1_core_report_report_pb.DeleteReportRequest)) {
|
|
32
|
+
throw new Error('Expected argument of type DeleteReportRequest');
|
|
33
|
+
}
|
|
34
|
+
return Buffer.from(arg.serializeBinary());
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function deserialize_DeleteReportRequest(buffer_arg) {
|
|
38
|
+
return prisca_v1_core_report_report_pb.DeleteReportRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function serialize_DeleteReportResponse(arg) {
|
|
42
|
+
if (!(arg instanceof prisca_v1_core_report_report_pb.DeleteReportResponse)) {
|
|
43
|
+
throw new Error('Expected argument of type DeleteReportResponse');
|
|
44
|
+
}
|
|
45
|
+
return Buffer.from(arg.serializeBinary());
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function deserialize_DeleteReportResponse(buffer_arg) {
|
|
49
|
+
return prisca_v1_core_report_report_pb.DeleteReportResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function serialize_GetListReportRequest(arg) {
|
|
53
|
+
if (!(arg instanceof prisca_v1_core_report_report_pb.GetListReportRequest)) {
|
|
54
|
+
throw new Error('Expected argument of type GetListReportRequest');
|
|
55
|
+
}
|
|
56
|
+
return Buffer.from(arg.serializeBinary());
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
function deserialize_GetListReportRequest(buffer_arg) {
|
|
60
|
+
return prisca_v1_core_report_report_pb.GetListReportRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
function serialize_GetListReportResponse(arg) {
|
|
64
|
+
if (!(arg instanceof prisca_v1_core_report_report_pb.GetListReportResponse)) {
|
|
65
|
+
throw new Error('Expected argument of type GetListReportResponse');
|
|
66
|
+
}
|
|
67
|
+
return Buffer.from(arg.serializeBinary());
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
function deserialize_GetListReportResponse(buffer_arg) {
|
|
71
|
+
return prisca_v1_core_report_report_pb.GetListReportResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
function serialize_GetReportByIdRequest(arg) {
|
|
75
|
+
if (!(arg instanceof prisca_v1_core_report_report_pb.GetReportByIdRequest)) {
|
|
76
|
+
throw new Error('Expected argument of type GetReportByIdRequest');
|
|
77
|
+
}
|
|
78
|
+
return Buffer.from(arg.serializeBinary());
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
function deserialize_GetReportByIdRequest(buffer_arg) {
|
|
82
|
+
return prisca_v1_core_report_report_pb.GetReportByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
function serialize_GetReportByIdResponse(arg) {
|
|
86
|
+
if (!(arg instanceof prisca_v1_core_report_report_pb.GetReportByIdResponse)) {
|
|
87
|
+
throw new Error('Expected argument of type GetReportByIdResponse');
|
|
88
|
+
}
|
|
89
|
+
return Buffer.from(arg.serializeBinary());
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
function deserialize_GetReportByIdResponse(buffer_arg) {
|
|
93
|
+
return prisca_v1_core_report_report_pb.GetReportByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
function serialize_UpdateReportRequest(arg) {
|
|
97
|
+
if (!(arg instanceof prisca_v1_core_report_report_pb.UpdateReportRequest)) {
|
|
98
|
+
throw new Error('Expected argument of type UpdateReportRequest');
|
|
99
|
+
}
|
|
100
|
+
return Buffer.from(arg.serializeBinary());
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
function deserialize_UpdateReportRequest(buffer_arg) {
|
|
104
|
+
return prisca_v1_core_report_report_pb.UpdateReportRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
function serialize_UpdateReportResponse(arg) {
|
|
108
|
+
if (!(arg instanceof prisca_v1_core_report_report_pb.UpdateReportResponse)) {
|
|
109
|
+
throw new Error('Expected argument of type UpdateReportResponse');
|
|
110
|
+
}
|
|
111
|
+
return Buffer.from(arg.serializeBinary());
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
function deserialize_UpdateReportResponse(buffer_arg) {
|
|
115
|
+
return prisca_v1_core_report_report_pb.UpdateReportResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
// Report Service grpc
|
|
120
|
+
var ReportServiceService = exports.ReportServiceService = {
|
|
121
|
+
createReport: {
|
|
122
|
+
path: '/ReportService/CreateReport',
|
|
123
|
+
requestStream: false,
|
|
124
|
+
responseStream: false,
|
|
125
|
+
requestType: prisca_v1_core_report_report_pb.CreateReportRequest,
|
|
126
|
+
responseType: prisca_v1_core_report_report_pb.CreateReportResponse,
|
|
127
|
+
requestSerialize: serialize_CreateReportRequest,
|
|
128
|
+
requestDeserialize: deserialize_CreateReportRequest,
|
|
129
|
+
responseSerialize: serialize_CreateReportResponse,
|
|
130
|
+
responseDeserialize: deserialize_CreateReportResponse,
|
|
131
|
+
},
|
|
132
|
+
createDefaultReport: {
|
|
133
|
+
path: '/ReportService/CreateDefaultReport',
|
|
134
|
+
requestStream: false,
|
|
135
|
+
responseStream: false,
|
|
136
|
+
requestType: prisca_v1_core_report_report_pb.CreateReportRequest,
|
|
137
|
+
responseType: prisca_v1_core_report_report_pb.GetListReportResponse,
|
|
138
|
+
requestSerialize: serialize_CreateReportRequest,
|
|
139
|
+
requestDeserialize: deserialize_CreateReportRequest,
|
|
140
|
+
responseSerialize: serialize_GetListReportResponse,
|
|
141
|
+
responseDeserialize: deserialize_GetListReportResponse,
|
|
142
|
+
},
|
|
143
|
+
getReportById: {
|
|
144
|
+
path: '/ReportService/GetReportById',
|
|
145
|
+
requestStream: false,
|
|
146
|
+
responseStream: false,
|
|
147
|
+
requestType: prisca_v1_core_report_report_pb.GetReportByIdRequest,
|
|
148
|
+
responseType: prisca_v1_core_report_report_pb.GetReportByIdResponse,
|
|
149
|
+
requestSerialize: serialize_GetReportByIdRequest,
|
|
150
|
+
requestDeserialize: deserialize_GetReportByIdRequest,
|
|
151
|
+
responseSerialize: serialize_GetReportByIdResponse,
|
|
152
|
+
responseDeserialize: deserialize_GetReportByIdResponse,
|
|
153
|
+
},
|
|
154
|
+
getListReports: {
|
|
155
|
+
path: '/ReportService/GetListReports',
|
|
156
|
+
requestStream: false,
|
|
157
|
+
responseStream: false,
|
|
158
|
+
requestType: prisca_v1_core_report_report_pb.GetListReportRequest,
|
|
159
|
+
responseType: prisca_v1_core_report_report_pb.GetListReportResponse,
|
|
160
|
+
requestSerialize: serialize_GetListReportRequest,
|
|
161
|
+
requestDeserialize: deserialize_GetListReportRequest,
|
|
162
|
+
responseSerialize: serialize_GetListReportResponse,
|
|
163
|
+
responseDeserialize: deserialize_GetListReportResponse,
|
|
164
|
+
},
|
|
165
|
+
getListReportsSimplified: {
|
|
166
|
+
path: '/ReportService/GetListReportsSimplified',
|
|
167
|
+
requestStream: false,
|
|
168
|
+
responseStream: false,
|
|
169
|
+
requestType: prisca_v1_core_report_report_pb.GetListReportRequest,
|
|
170
|
+
responseType: prisca_v1_core_report_report_pb.GetListReportResponse,
|
|
171
|
+
requestSerialize: serialize_GetListReportRequest,
|
|
172
|
+
requestDeserialize: deserialize_GetListReportRequest,
|
|
173
|
+
responseSerialize: serialize_GetListReportResponse,
|
|
174
|
+
responseDeserialize: deserialize_GetListReportResponse,
|
|
175
|
+
},
|
|
176
|
+
updateReport: {
|
|
177
|
+
path: '/ReportService/UpdateReport',
|
|
178
|
+
requestStream: false,
|
|
179
|
+
responseStream: false,
|
|
180
|
+
requestType: prisca_v1_core_report_report_pb.UpdateReportRequest,
|
|
181
|
+
responseType: prisca_v1_core_report_report_pb.UpdateReportResponse,
|
|
182
|
+
requestSerialize: serialize_UpdateReportRequest,
|
|
183
|
+
requestDeserialize: deserialize_UpdateReportRequest,
|
|
184
|
+
responseSerialize: serialize_UpdateReportResponse,
|
|
185
|
+
responseDeserialize: deserialize_UpdateReportResponse,
|
|
186
|
+
},
|
|
187
|
+
deleteReport: {
|
|
188
|
+
path: '/ReportService/DeleteReport',
|
|
189
|
+
requestStream: false,
|
|
190
|
+
responseStream: false,
|
|
191
|
+
requestType: prisca_v1_core_report_report_pb.DeleteReportRequest,
|
|
192
|
+
responseType: prisca_v1_core_report_report_pb.DeleteReportResponse,
|
|
193
|
+
requestSerialize: serialize_DeleteReportRequest,
|
|
194
|
+
requestDeserialize: deserialize_DeleteReportRequest,
|
|
195
|
+
responseSerialize: serialize_DeleteReportResponse,
|
|
196
|
+
responseDeserialize: deserialize_DeleteReportResponse,
|
|
197
|
+
},
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
exports.ReportServiceClient = grpc.makeGenericClientConstructor(ReportServiceService, 'ReportService');
|