@aldiokta/protocgen 1.1.8 → 1.1.19
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.proto +79 -0
- package/prisca/v1/account_group/account_group.proto +86 -0
- package/prisca/v1/bidding/bidding.proto +159 -0
- package/prisca/v1/chart_of_account/chart_of_account.proto +87 -0
- package/prisca/v1/core/access_manager/access_manager.proto +281 -0
- package/prisca/v1/core/auth/auth.proto +150 -0
- package/prisca/v1/core/chat_messaging/chat_messaging.proto +55 -0
- package/prisca/v1/core/company/company.proto +92 -0
- package/prisca/v1/core/currency/currency.proto +76 -0
- package/prisca/v1/core/department_material/department_material.proto +69 -0
- package/prisca/v1/core/employee/employee.proto +129 -0
- package/prisca/v1/core/file_upload/file_upload.proto +31 -0
- package/prisca/v1/core/incoterm/incoterm.proto +76 -0
- package/prisca/v1/core/item_transaction/item_transaction.proto +120 -0
- package/prisca/v1/core/job_grade/job_grade.proto +79 -0
- package/prisca/v1/core/job_position/job_position.proto +113 -0
- package/prisca/v1/core/job_title/job_title.proto +89 -0
- package/prisca/v1/core/line_of_activity/line_of_activity.proto +42 -0
- package/prisca/v1/core/line_of_approval/line_of_approval.proto +94 -0
- package/prisca/v1/core/link_data_source/link_data_source.proto +78 -0
- package/prisca/v1/core/location/location.proto +289 -0
- package/prisca/v1/core/material/material.proto +131 -0
- package/prisca/v1/core/material_group/material_group.proto +85 -0
- package/prisca/v1/core/material_type/material_type.proto +86 -0
- package/prisca/v1/core/messaging/email_template.proto +75 -0
- package/prisca/v1/core/messaging/messaging.proto +29 -0
- package/prisca/v1/core/number_range/number_range.proto +89 -0
- package/prisca/v1/core/organization/organization.proto +94 -0
- package/prisca/v1/core/organization_level/organization_level.proto +77 -0
- package/prisca/v1/core/price_condition/price_condition.proto +83 -0
- package/prisca/v1/core/procurement/procurement.proto +54 -0
- package/prisca/v1/core/recipient_roles/recipient_roles.proto +10 -0
- package/prisca/v1/core/report/report.proto +90 -0
- package/prisca/v1/core/report/user_report.proto +74 -0
- package/prisca/v1/core/tax_code/tax_code.proto +77 -0
- package/prisca/v1/core/term_of_payment/term_of_payment.proto +64 -0
- package/prisca/v1/core/transaction_builder/transaction_builder.proto +325 -0
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +88 -0
- package/prisca/v1/core/users/users.proto +45 -0
- package/prisca/v1/core/work_location/work_location.proto +122 -0
- package/prisca/v1/core/workflow/workflow.proto +216 -0
- package/prisca/v1/document_type/document_type.proto +80 -0
- package/prisca/v1/general_ledger_account/general_ledger_account.proto +98 -0
- package/prisca/v1/global/meta/meta.proto +57 -0
- package/prisca/v1/purchase_order/purchase_order.proto +155 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto +304 -0
- package/prisca/v1/purchasing_group/purchasing_group.proto +87 -0
- package/prisca/v1/purchasing_organization/purchasing_organization.proto +68 -0
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.proto +70 -0
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.proto +80 -0
- package/prisca/v1/quotation/quotation.proto +82 -0
- package/prisca/v1/request_for_quotation/request_for_quotation.proto +166 -0
- package/prisca/v1/vendor_domain/vendor_domain.proto +225 -0
- package/prisca/v1/account_assignment/account_assignment_grpc_pb.js +0 -199
- package/prisca/v1/account_assignment/account_assignment_pb.js +0 -2674
- package/prisca/v1/account_group/account_group_grpc_pb.js +0 -200
- package/prisca/v1/account_group/account_group_pb.js +0 -2937
- package/prisca/v1/bidding/bidding_grpc_pb.js +0 -119
- package/prisca/v1/bidding/bidding_pb.js +0 -3152
- package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +0 -199
- package/prisca/v1/chart_of_account/chart_of_account_pb.js +0 -2907
- package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +0 -544
- package/prisca/v1/core/access_manager/access_manager_pb.js +0 -9383
- package/prisca/v1/core/auth/auth_grpc_pb.js +0 -423
- package/prisca/v1/core/auth/auth_pb.js +0 -4497
- package/prisca/v1/core/chat_messaging/chat_messaging_grpc_pb.js +0 -111
- package/prisca/v1/core/chat_messaging/chat_messaging_pb.js +0 -1531
- package/prisca/v1/core/company/company_grpc_pb.js +0 -178
- package/prisca/v1/core/company/company_pb.js +0 -3048
- package/prisca/v1/core/currency/currency_grpc_pb.js +0 -177
- package/prisca/v1/core/currency/currency_pb.js +0 -2522
- package/prisca/v1/core/department_material/department_material_grpc_pb.js +0 -144
- package/prisca/v1/core/department_material/department_material_pb.js +0 -2167
- package/prisca/v1/core/employee/employee_grpc_pb.js +0 -206
- package/prisca/v1/core/employee/employee_pb.js +0 -4283
- package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +0 -44
- package/prisca/v1/core/file_upload/file_upload_pb.js +0 -872
- package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +0 -144
- package/prisca/v1/core/incoterm/incoterm_pb.js +0 -2497
- package/prisca/v1/core/item_transaction/item_transaction_grpc_pb.js +0 -1
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +0 -3880
- package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +0 -178
- package/prisca/v1/core/job_grade/job_grade_pb.js +0 -2605
- package/prisca/v1/core/job_position/job_position_grpc_pb.js +0 -181
- package/prisca/v1/core/job_position/job_position_pb.js +0 -3762
- package/prisca/v1/core/job_title/job_title_grpc_pb.js +0 -178
- package/prisca/v1/core/job_title/job_title_pb.js +0 -2958
- package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +0 -45
- package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +0 -1188
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +0 -200
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +0 -3191
- package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +0 -177
- package/prisca/v1/core/link_data_source/link_data_source_pb.js +0 -2612
- package/prisca/v1/core/location/location_grpc_pb.js +0 -837
- package/prisca/v1/core/location/location_pb.js +0 -10879
- package/prisca/v1/core/material/material_grpc_pb.js +0 -182
- package/prisca/v1/core/material/material_pb.js +0 -4180
- package/prisca/v1/core/material_group/material_group_grpc_pb.js +0 -178
- package/prisca/v1/core/material_group/material_group_pb.js +0 -2776
- package/prisca/v1/core/material_type/material_type_grpc_pb.js +0 -149
- package/prisca/v1/core/material_type/material_type_pb.js +0 -2697
- package/prisca/v1/core/messaging/email_template_grpc_pb.js +0 -177
- package/prisca/v1/core/messaging/email_template_pb.js +0 -2552
- package/prisca/v1/core/messaging/messaging_grpc_pb.js +0 -56
- package/prisca/v1/core/messaging/messaging_pb.js +0 -896
- package/prisca/v1/core/number_range/number_range_grpc_pb.js +0 -178
- package/prisca/v1/core/number_range/number_range_pb.js +0 -2926
- package/prisca/v1/core/organization/organization_grpc_pb.js +0 -180
- package/prisca/v1/core/organization/organization_pb.js +0 -3032
- package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +0 -178
- package/prisca/v1/core/organization_level/organization_level_pb.js +0 -2545
- package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +0 -146
- package/prisca/v1/core/price_condition/price_condition_pb.js +0 -2654
- package/prisca/v1/core/procurement/procurement_grpc_pb.js +0 -146
- package/prisca/v1/core/procurement/procurement_pb.js +0 -1681
- package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -266
- package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -4429
- package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +0 -1
- package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +0 -206
- package/prisca/v1/core/report/report_grpc_pb.js +0 -200
- package/prisca/v1/core/report/report_pb.js +0 -2822
- package/prisca/v1/core/report/user_report_grpc_pb.js +0 -179
- package/prisca/v1/core/report/user_report_pb.js +0 -2452
- package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +0 -177
- package/prisca/v1/core/tax_code/tax_code_pb.js +0 -2582
- package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +0 -144
- package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +0 -2105
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +0 -498
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +0 -10976
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +0 -180
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +0 -2798
- package/prisca/v1/core/users/users_grpc_pb.js +0 -45
- package/prisca/v1/core/users/users_pb.js +0 -1246
- package/prisca/v1/core/work_location/work_location_grpc_pb.js +0 -179
- package/prisca/v1/core/work_location/work_location_pb.js +0 -3972
- package/prisca/v1/core/workflow/workflow_grpc_pb.js +0 -203
- package/prisca/v1/core/workflow/workflow_pb.js +0 -7525
- package/prisca/v1/document_type/document_type_grpc_pb.js +0 -178
- package/prisca/v1/document_type/document_type_pb.js +0 -2746
- package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +0 -181
- package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +0 -3276
- package/prisca/v1/global/meta/meta_grpc_pb.js +0 -1
- package/prisca/v1/global/meta/meta_pb.js +0 -1179
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -512
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -9917
- package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +0 -178
- package/prisca/v1/purchasing_group/purchasing_group_pb.js +0 -2875
- package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +0 -145
- package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +0 -2139
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +0 -146
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +0 -2183
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +0 -145
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +0 -2543
- package/prisca/v1/quotation/quotation_grpc_pb.js +0 -151
- package/prisca/v1/quotation/quotation_pb.js +0 -3941
- package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +0 -192
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +0 -5703
|
@@ -1,837 +0,0 @@
|
|
|
1
|
-
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
-
|
|
3
|
-
'use strict';
|
|
4
|
-
var grpc = require('@grpc/grpc-js');
|
|
5
|
-
var prisca_v1_core_location_location_pb = require('../../../../prisca/v1/core/location/location_pb.js');
|
|
6
|
-
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
7
|
-
|
|
8
|
-
function serialize_CityGetByIdRequest(arg) {
|
|
9
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.CityGetByIdRequest)) {
|
|
10
|
-
throw new Error('Expected argument of type CityGetByIdRequest');
|
|
11
|
-
}
|
|
12
|
-
return Buffer.from(arg.serializeBinary());
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
function deserialize_CityGetByIdRequest(buffer_arg) {
|
|
16
|
-
return prisca_v1_core_location_location_pb.CityGetByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
function serialize_CityGetByIdResponse(arg) {
|
|
20
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.CityGetByIdResponse)) {
|
|
21
|
-
throw new Error('Expected argument of type CityGetByIdResponse');
|
|
22
|
-
}
|
|
23
|
-
return Buffer.from(arg.serializeBinary());
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
function deserialize_CityGetByIdResponse(buffer_arg) {
|
|
27
|
-
return prisca_v1_core_location_location_pb.CityGetByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
function serialize_CountryGetByIdRequest(arg) {
|
|
31
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.CountryGetByIdRequest)) {
|
|
32
|
-
throw new Error('Expected argument of type CountryGetByIdRequest');
|
|
33
|
-
}
|
|
34
|
-
return Buffer.from(arg.serializeBinary());
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
function deserialize_CountryGetByIdRequest(buffer_arg) {
|
|
38
|
-
return prisca_v1_core_location_location_pb.CountryGetByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
function serialize_CountryGetByIdResponse(arg) {
|
|
42
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.CountryGetByIdResponse)) {
|
|
43
|
-
throw new Error('Expected argument of type CountryGetByIdResponse');
|
|
44
|
-
}
|
|
45
|
-
return Buffer.from(arg.serializeBinary());
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
function deserialize_CountryGetByIdResponse(buffer_arg) {
|
|
49
|
-
return prisca_v1_core_location_location_pb.CountryGetByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
function serialize_CreateCityRequest(arg) {
|
|
53
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.CreateCityRequest)) {
|
|
54
|
-
throw new Error('Expected argument of type CreateCityRequest');
|
|
55
|
-
}
|
|
56
|
-
return Buffer.from(arg.serializeBinary());
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
function deserialize_CreateCityRequest(buffer_arg) {
|
|
60
|
-
return prisca_v1_core_location_location_pb.CreateCityRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
function serialize_CreateCityResponse(arg) {
|
|
64
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.CreateCityResponse)) {
|
|
65
|
-
throw new Error('Expected argument of type CreateCityResponse');
|
|
66
|
-
}
|
|
67
|
-
return Buffer.from(arg.serializeBinary());
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
function deserialize_CreateCityResponse(buffer_arg) {
|
|
71
|
-
return prisca_v1_core_location_location_pb.CreateCityResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
function serialize_CreateCountryRequest(arg) {
|
|
75
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.CreateCountryRequest)) {
|
|
76
|
-
throw new Error('Expected argument of type CreateCountryRequest');
|
|
77
|
-
}
|
|
78
|
-
return Buffer.from(arg.serializeBinary());
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
function deserialize_CreateCountryRequest(buffer_arg) {
|
|
82
|
-
return prisca_v1_core_location_location_pb.CreateCountryRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
function serialize_CreateCountryResponse(arg) {
|
|
86
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.CreateCountryResponse)) {
|
|
87
|
-
throw new Error('Expected argument of type CreateCountryResponse');
|
|
88
|
-
}
|
|
89
|
-
return Buffer.from(arg.serializeBinary());
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
function deserialize_CreateCountryResponse(buffer_arg) {
|
|
93
|
-
return prisca_v1_core_location_location_pb.CreateCountryResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
function serialize_CreateDistrictRequest(arg) {
|
|
97
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.CreateDistrictRequest)) {
|
|
98
|
-
throw new Error('Expected argument of type CreateDistrictRequest');
|
|
99
|
-
}
|
|
100
|
-
return Buffer.from(arg.serializeBinary());
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
function deserialize_CreateDistrictRequest(buffer_arg) {
|
|
104
|
-
return prisca_v1_core_location_location_pb.CreateDistrictRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
function serialize_CreateDistrictResponse(arg) {
|
|
108
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.CreateDistrictResponse)) {
|
|
109
|
-
throw new Error('Expected argument of type CreateDistrictResponse');
|
|
110
|
-
}
|
|
111
|
-
return Buffer.from(arg.serializeBinary());
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
function deserialize_CreateDistrictResponse(buffer_arg) {
|
|
115
|
-
return prisca_v1_core_location_location_pb.CreateDistrictResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
function serialize_CreateProvinceRequest(arg) {
|
|
119
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.CreateProvinceRequest)) {
|
|
120
|
-
throw new Error('Expected argument of type CreateProvinceRequest');
|
|
121
|
-
}
|
|
122
|
-
return Buffer.from(arg.serializeBinary());
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
function deserialize_CreateProvinceRequest(buffer_arg) {
|
|
126
|
-
return prisca_v1_core_location_location_pb.CreateProvinceRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
function serialize_CreateProvinceResponse(arg) {
|
|
130
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.CreateProvinceResponse)) {
|
|
131
|
-
throw new Error('Expected argument of type CreateProvinceResponse');
|
|
132
|
-
}
|
|
133
|
-
return Buffer.from(arg.serializeBinary());
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
function deserialize_CreateProvinceResponse(buffer_arg) {
|
|
137
|
-
return prisca_v1_core_location_location_pb.CreateProvinceResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
function serialize_CreateVillageRequest(arg) {
|
|
141
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.CreateVillageRequest)) {
|
|
142
|
-
throw new Error('Expected argument of type CreateVillageRequest');
|
|
143
|
-
}
|
|
144
|
-
return Buffer.from(arg.serializeBinary());
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
function deserialize_CreateVillageRequest(buffer_arg) {
|
|
148
|
-
return prisca_v1_core_location_location_pb.CreateVillageRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
function serialize_CreateVillageResponse(arg) {
|
|
152
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.CreateVillageResponse)) {
|
|
153
|
-
throw new Error('Expected argument of type CreateVillageResponse');
|
|
154
|
-
}
|
|
155
|
-
return Buffer.from(arg.serializeBinary());
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
function deserialize_CreateVillageResponse(buffer_arg) {
|
|
159
|
-
return prisca_v1_core_location_location_pb.CreateVillageResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
function serialize_DeleteCityRequest(arg) {
|
|
163
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.DeleteCityRequest)) {
|
|
164
|
-
throw new Error('Expected argument of type DeleteCityRequest');
|
|
165
|
-
}
|
|
166
|
-
return Buffer.from(arg.serializeBinary());
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
function deserialize_DeleteCityRequest(buffer_arg) {
|
|
170
|
-
return prisca_v1_core_location_location_pb.DeleteCityRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
function serialize_DeleteCityResponse(arg) {
|
|
174
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.DeleteCityResponse)) {
|
|
175
|
-
throw new Error('Expected argument of type DeleteCityResponse');
|
|
176
|
-
}
|
|
177
|
-
return Buffer.from(arg.serializeBinary());
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
function deserialize_DeleteCityResponse(buffer_arg) {
|
|
181
|
-
return prisca_v1_core_location_location_pb.DeleteCityResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
function serialize_DeleteCountryRequest(arg) {
|
|
185
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.DeleteCountryRequest)) {
|
|
186
|
-
throw new Error('Expected argument of type DeleteCountryRequest');
|
|
187
|
-
}
|
|
188
|
-
return Buffer.from(arg.serializeBinary());
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
function deserialize_DeleteCountryRequest(buffer_arg) {
|
|
192
|
-
return prisca_v1_core_location_location_pb.DeleteCountryRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
function serialize_DeleteCountryResponse(arg) {
|
|
196
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.DeleteCountryResponse)) {
|
|
197
|
-
throw new Error('Expected argument of type DeleteCountryResponse');
|
|
198
|
-
}
|
|
199
|
-
return Buffer.from(arg.serializeBinary());
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
function deserialize_DeleteCountryResponse(buffer_arg) {
|
|
203
|
-
return prisca_v1_core_location_location_pb.DeleteCountryResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
function serialize_DeleteDistrictRequest(arg) {
|
|
207
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.DeleteDistrictRequest)) {
|
|
208
|
-
throw new Error('Expected argument of type DeleteDistrictRequest');
|
|
209
|
-
}
|
|
210
|
-
return Buffer.from(arg.serializeBinary());
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
function deserialize_DeleteDistrictRequest(buffer_arg) {
|
|
214
|
-
return prisca_v1_core_location_location_pb.DeleteDistrictRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
function serialize_DeleteDistrictResponse(arg) {
|
|
218
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.DeleteDistrictResponse)) {
|
|
219
|
-
throw new Error('Expected argument of type DeleteDistrictResponse');
|
|
220
|
-
}
|
|
221
|
-
return Buffer.from(arg.serializeBinary());
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
function deserialize_DeleteDistrictResponse(buffer_arg) {
|
|
225
|
-
return prisca_v1_core_location_location_pb.DeleteDistrictResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
function serialize_DeleteProvinceRequest(arg) {
|
|
229
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.DeleteProvinceRequest)) {
|
|
230
|
-
throw new Error('Expected argument of type DeleteProvinceRequest');
|
|
231
|
-
}
|
|
232
|
-
return Buffer.from(arg.serializeBinary());
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
function deserialize_DeleteProvinceRequest(buffer_arg) {
|
|
236
|
-
return prisca_v1_core_location_location_pb.DeleteProvinceRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
function serialize_DeleteProvinceResponse(arg) {
|
|
240
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.DeleteProvinceResponse)) {
|
|
241
|
-
throw new Error('Expected argument of type DeleteProvinceResponse');
|
|
242
|
-
}
|
|
243
|
-
return Buffer.from(arg.serializeBinary());
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
function deserialize_DeleteProvinceResponse(buffer_arg) {
|
|
247
|
-
return prisca_v1_core_location_location_pb.DeleteProvinceResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
function serialize_DeleteVillageRequest(arg) {
|
|
251
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.DeleteVillageRequest)) {
|
|
252
|
-
throw new Error('Expected argument of type DeleteVillageRequest');
|
|
253
|
-
}
|
|
254
|
-
return Buffer.from(arg.serializeBinary());
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
function deserialize_DeleteVillageRequest(buffer_arg) {
|
|
258
|
-
return prisca_v1_core_location_location_pb.DeleteVillageRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
function serialize_DeleteVillageResponse(arg) {
|
|
262
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.DeleteVillageResponse)) {
|
|
263
|
-
throw new Error('Expected argument of type DeleteVillageResponse');
|
|
264
|
-
}
|
|
265
|
-
return Buffer.from(arg.serializeBinary());
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
function deserialize_DeleteVillageResponse(buffer_arg) {
|
|
269
|
-
return prisca_v1_core_location_location_pb.DeleteVillageResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
function serialize_DistrictGetByIdRequest(arg) {
|
|
273
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.DistrictGetByIdRequest)) {
|
|
274
|
-
throw new Error('Expected argument of type DistrictGetByIdRequest');
|
|
275
|
-
}
|
|
276
|
-
return Buffer.from(arg.serializeBinary());
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
function deserialize_DistrictGetByIdRequest(buffer_arg) {
|
|
280
|
-
return prisca_v1_core_location_location_pb.DistrictGetByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
function serialize_DistrictGetByIdResponse(arg) {
|
|
284
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.DistrictGetByIdResponse)) {
|
|
285
|
-
throw new Error('Expected argument of type DistrictGetByIdResponse');
|
|
286
|
-
}
|
|
287
|
-
return Buffer.from(arg.serializeBinary());
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
function deserialize_DistrictGetByIdResponse(buffer_arg) {
|
|
291
|
-
return prisca_v1_core_location_location_pb.DistrictGetByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
function serialize_GetCityRequest(arg) {
|
|
295
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.GetCityRequest)) {
|
|
296
|
-
throw new Error('Expected argument of type GetCityRequest');
|
|
297
|
-
}
|
|
298
|
-
return Buffer.from(arg.serializeBinary());
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
function deserialize_GetCityRequest(buffer_arg) {
|
|
302
|
-
return prisca_v1_core_location_location_pb.GetCityRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
function serialize_GetCityResponse(arg) {
|
|
306
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.GetCityResponse)) {
|
|
307
|
-
throw new Error('Expected argument of type GetCityResponse');
|
|
308
|
-
}
|
|
309
|
-
return Buffer.from(arg.serializeBinary());
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
function deserialize_GetCityResponse(buffer_arg) {
|
|
313
|
-
return prisca_v1_core_location_location_pb.GetCityResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
function serialize_GetCountryRequest(arg) {
|
|
317
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.GetCountryRequest)) {
|
|
318
|
-
throw new Error('Expected argument of type GetCountryRequest');
|
|
319
|
-
}
|
|
320
|
-
return Buffer.from(arg.serializeBinary());
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
function deserialize_GetCountryRequest(buffer_arg) {
|
|
324
|
-
return prisca_v1_core_location_location_pb.GetCountryRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
function serialize_GetCountryResponse(arg) {
|
|
328
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.GetCountryResponse)) {
|
|
329
|
-
throw new Error('Expected argument of type GetCountryResponse');
|
|
330
|
-
}
|
|
331
|
-
return Buffer.from(arg.serializeBinary());
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
function deserialize_GetCountryResponse(buffer_arg) {
|
|
335
|
-
return prisca_v1_core_location_location_pb.GetCountryResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
function serialize_GetDistrictRequest(arg) {
|
|
339
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.GetDistrictRequest)) {
|
|
340
|
-
throw new Error('Expected argument of type GetDistrictRequest');
|
|
341
|
-
}
|
|
342
|
-
return Buffer.from(arg.serializeBinary());
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
function deserialize_GetDistrictRequest(buffer_arg) {
|
|
346
|
-
return prisca_v1_core_location_location_pb.GetDistrictRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
function serialize_GetDistrictResponse(arg) {
|
|
350
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.GetDistrictResponse)) {
|
|
351
|
-
throw new Error('Expected argument of type GetDistrictResponse');
|
|
352
|
-
}
|
|
353
|
-
return Buffer.from(arg.serializeBinary());
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
function deserialize_GetDistrictResponse(buffer_arg) {
|
|
357
|
-
return prisca_v1_core_location_location_pb.GetDistrictResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
function serialize_GetProvinceRequest(arg) {
|
|
361
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.GetProvinceRequest)) {
|
|
362
|
-
throw new Error('Expected argument of type GetProvinceRequest');
|
|
363
|
-
}
|
|
364
|
-
return Buffer.from(arg.serializeBinary());
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
function deserialize_GetProvinceRequest(buffer_arg) {
|
|
368
|
-
return prisca_v1_core_location_location_pb.GetProvinceRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
function serialize_GetProvinceResponse(arg) {
|
|
372
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.GetProvinceResponse)) {
|
|
373
|
-
throw new Error('Expected argument of type GetProvinceResponse');
|
|
374
|
-
}
|
|
375
|
-
return Buffer.from(arg.serializeBinary());
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
function deserialize_GetProvinceResponse(buffer_arg) {
|
|
379
|
-
return prisca_v1_core_location_location_pb.GetProvinceResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
function serialize_GetVillageRequest(arg) {
|
|
383
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.GetVillageRequest)) {
|
|
384
|
-
throw new Error('Expected argument of type GetVillageRequest');
|
|
385
|
-
}
|
|
386
|
-
return Buffer.from(arg.serializeBinary());
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
function deserialize_GetVillageRequest(buffer_arg) {
|
|
390
|
-
return prisca_v1_core_location_location_pb.GetVillageRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
function serialize_GetVillageResponse(arg) {
|
|
394
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.GetVillageResponse)) {
|
|
395
|
-
throw new Error('Expected argument of type GetVillageResponse');
|
|
396
|
-
}
|
|
397
|
-
return Buffer.from(arg.serializeBinary());
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
function deserialize_GetVillageResponse(buffer_arg) {
|
|
401
|
-
return prisca_v1_core_location_location_pb.GetVillageResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
function serialize_ProvinceGetByIdRequest(arg) {
|
|
405
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.ProvinceGetByIdRequest)) {
|
|
406
|
-
throw new Error('Expected argument of type ProvinceGetByIdRequest');
|
|
407
|
-
}
|
|
408
|
-
return Buffer.from(arg.serializeBinary());
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
function deserialize_ProvinceGetByIdRequest(buffer_arg) {
|
|
412
|
-
return prisca_v1_core_location_location_pb.ProvinceGetByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
function serialize_ProvinceGetByIdResponse(arg) {
|
|
416
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.ProvinceGetByIdResponse)) {
|
|
417
|
-
throw new Error('Expected argument of type ProvinceGetByIdResponse');
|
|
418
|
-
}
|
|
419
|
-
return Buffer.from(arg.serializeBinary());
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
function deserialize_ProvinceGetByIdResponse(buffer_arg) {
|
|
423
|
-
return prisca_v1_core_location_location_pb.ProvinceGetByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
function serialize_UpdateCityRequest(arg) {
|
|
427
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.UpdateCityRequest)) {
|
|
428
|
-
throw new Error('Expected argument of type UpdateCityRequest');
|
|
429
|
-
}
|
|
430
|
-
return Buffer.from(arg.serializeBinary());
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
function deserialize_UpdateCityRequest(buffer_arg) {
|
|
434
|
-
return prisca_v1_core_location_location_pb.UpdateCityRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
function serialize_UpdateCityResponse(arg) {
|
|
438
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.UpdateCityResponse)) {
|
|
439
|
-
throw new Error('Expected argument of type UpdateCityResponse');
|
|
440
|
-
}
|
|
441
|
-
return Buffer.from(arg.serializeBinary());
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
function deserialize_UpdateCityResponse(buffer_arg) {
|
|
445
|
-
return prisca_v1_core_location_location_pb.UpdateCityResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
function serialize_UpdateCountryRequest(arg) {
|
|
449
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.UpdateCountryRequest)) {
|
|
450
|
-
throw new Error('Expected argument of type UpdateCountryRequest');
|
|
451
|
-
}
|
|
452
|
-
return Buffer.from(arg.serializeBinary());
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
function deserialize_UpdateCountryRequest(buffer_arg) {
|
|
456
|
-
return prisca_v1_core_location_location_pb.UpdateCountryRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
function serialize_UpdateCountryResponse(arg) {
|
|
460
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.UpdateCountryResponse)) {
|
|
461
|
-
throw new Error('Expected argument of type UpdateCountryResponse');
|
|
462
|
-
}
|
|
463
|
-
return Buffer.from(arg.serializeBinary());
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
function deserialize_UpdateCountryResponse(buffer_arg) {
|
|
467
|
-
return prisca_v1_core_location_location_pb.UpdateCountryResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
function serialize_UpdateDistrictRequest(arg) {
|
|
471
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.UpdateDistrictRequest)) {
|
|
472
|
-
throw new Error('Expected argument of type UpdateDistrictRequest');
|
|
473
|
-
}
|
|
474
|
-
return Buffer.from(arg.serializeBinary());
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
function deserialize_UpdateDistrictRequest(buffer_arg) {
|
|
478
|
-
return prisca_v1_core_location_location_pb.UpdateDistrictRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
function serialize_UpdateDistrictResponse(arg) {
|
|
482
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.UpdateDistrictResponse)) {
|
|
483
|
-
throw new Error('Expected argument of type UpdateDistrictResponse');
|
|
484
|
-
}
|
|
485
|
-
return Buffer.from(arg.serializeBinary());
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
function deserialize_UpdateDistrictResponse(buffer_arg) {
|
|
489
|
-
return prisca_v1_core_location_location_pb.UpdateDistrictResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
function serialize_UpdateProvinceRequest(arg) {
|
|
493
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.UpdateProvinceRequest)) {
|
|
494
|
-
throw new Error('Expected argument of type UpdateProvinceRequest');
|
|
495
|
-
}
|
|
496
|
-
return Buffer.from(arg.serializeBinary());
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
function deserialize_UpdateProvinceRequest(buffer_arg) {
|
|
500
|
-
return prisca_v1_core_location_location_pb.UpdateProvinceRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
function serialize_UpdateProvinceResponse(arg) {
|
|
504
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.UpdateProvinceResponse)) {
|
|
505
|
-
throw new Error('Expected argument of type UpdateProvinceResponse');
|
|
506
|
-
}
|
|
507
|
-
return Buffer.from(arg.serializeBinary());
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
function deserialize_UpdateProvinceResponse(buffer_arg) {
|
|
511
|
-
return prisca_v1_core_location_location_pb.UpdateProvinceResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
function serialize_UpdateVillageRequest(arg) {
|
|
515
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.UpdateVillageRequest)) {
|
|
516
|
-
throw new Error('Expected argument of type UpdateVillageRequest');
|
|
517
|
-
}
|
|
518
|
-
return Buffer.from(arg.serializeBinary());
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
function deserialize_UpdateVillageRequest(buffer_arg) {
|
|
522
|
-
return prisca_v1_core_location_location_pb.UpdateVillageRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
function serialize_UpdateVillageResponse(arg) {
|
|
526
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.UpdateVillageResponse)) {
|
|
527
|
-
throw new Error('Expected argument of type UpdateVillageResponse');
|
|
528
|
-
}
|
|
529
|
-
return Buffer.from(arg.serializeBinary());
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
function deserialize_UpdateVillageResponse(buffer_arg) {
|
|
533
|
-
return prisca_v1_core_location_location_pb.UpdateVillageResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
function serialize_VillageGetByIdRequest(arg) {
|
|
537
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.VillageGetByIdRequest)) {
|
|
538
|
-
throw new Error('Expected argument of type VillageGetByIdRequest');
|
|
539
|
-
}
|
|
540
|
-
return Buffer.from(arg.serializeBinary());
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
function deserialize_VillageGetByIdRequest(buffer_arg) {
|
|
544
|
-
return prisca_v1_core_location_location_pb.VillageGetByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
function serialize_VillageGetByIdResponse(arg) {
|
|
548
|
-
if (!(arg instanceof prisca_v1_core_location_location_pb.VillageGetByIdResponse)) {
|
|
549
|
-
throw new Error('Expected argument of type VillageGetByIdResponse');
|
|
550
|
-
}
|
|
551
|
-
return Buffer.from(arg.serializeBinary());
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
function deserialize_VillageGetByIdResponse(buffer_arg) {
|
|
555
|
-
return prisca_v1_core_location_location_pb.VillageGetByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
var LocationServiceService = exports.LocationServiceService = {
|
|
560
|
-
createCountry: {
|
|
561
|
-
path: '/LocationService/CreateCountry',
|
|
562
|
-
requestStream: false,
|
|
563
|
-
responseStream: false,
|
|
564
|
-
requestType: prisca_v1_core_location_location_pb.CreateCountryRequest,
|
|
565
|
-
responseType: prisca_v1_core_location_location_pb.CreateCountryResponse,
|
|
566
|
-
requestSerialize: serialize_CreateCountryRequest,
|
|
567
|
-
requestDeserialize: deserialize_CreateCountryRequest,
|
|
568
|
-
responseSerialize: serialize_CreateCountryResponse,
|
|
569
|
-
responseDeserialize: deserialize_CreateCountryResponse,
|
|
570
|
-
},
|
|
571
|
-
getCountry: {
|
|
572
|
-
path: '/LocationService/GetCountry',
|
|
573
|
-
requestStream: false,
|
|
574
|
-
responseStream: false,
|
|
575
|
-
requestType: prisca_v1_core_location_location_pb.GetCountryRequest,
|
|
576
|
-
responseType: prisca_v1_core_location_location_pb.GetCountryResponse,
|
|
577
|
-
requestSerialize: serialize_GetCountryRequest,
|
|
578
|
-
requestDeserialize: deserialize_GetCountryRequest,
|
|
579
|
-
responseSerialize: serialize_GetCountryResponse,
|
|
580
|
-
responseDeserialize: deserialize_GetCountryResponse,
|
|
581
|
-
},
|
|
582
|
-
getCountryById: {
|
|
583
|
-
path: '/LocationService/GetCountryById',
|
|
584
|
-
requestStream: false,
|
|
585
|
-
responseStream: false,
|
|
586
|
-
requestType: prisca_v1_core_location_location_pb.CountryGetByIdRequest,
|
|
587
|
-
responseType: prisca_v1_core_location_location_pb.CountryGetByIdResponse,
|
|
588
|
-
requestSerialize: serialize_CountryGetByIdRequest,
|
|
589
|
-
requestDeserialize: deserialize_CountryGetByIdRequest,
|
|
590
|
-
responseSerialize: serialize_CountryGetByIdResponse,
|
|
591
|
-
responseDeserialize: deserialize_CountryGetByIdResponse,
|
|
592
|
-
},
|
|
593
|
-
updateCountry: {
|
|
594
|
-
path: '/LocationService/UpdateCountry',
|
|
595
|
-
requestStream: false,
|
|
596
|
-
responseStream: false,
|
|
597
|
-
requestType: prisca_v1_core_location_location_pb.UpdateCountryRequest,
|
|
598
|
-
responseType: prisca_v1_core_location_location_pb.UpdateCountryResponse,
|
|
599
|
-
requestSerialize: serialize_UpdateCountryRequest,
|
|
600
|
-
requestDeserialize: deserialize_UpdateCountryRequest,
|
|
601
|
-
responseSerialize: serialize_UpdateCountryResponse,
|
|
602
|
-
responseDeserialize: deserialize_UpdateCountryResponse,
|
|
603
|
-
},
|
|
604
|
-
deleteCountry: {
|
|
605
|
-
path: '/LocationService/DeleteCountry',
|
|
606
|
-
requestStream: false,
|
|
607
|
-
responseStream: false,
|
|
608
|
-
requestType: prisca_v1_core_location_location_pb.DeleteCountryRequest,
|
|
609
|
-
responseType: prisca_v1_core_location_location_pb.DeleteCountryResponse,
|
|
610
|
-
requestSerialize: serialize_DeleteCountryRequest,
|
|
611
|
-
requestDeserialize: deserialize_DeleteCountryRequest,
|
|
612
|
-
responseSerialize: serialize_DeleteCountryResponse,
|
|
613
|
-
responseDeserialize: deserialize_DeleteCountryResponse,
|
|
614
|
-
},
|
|
615
|
-
createProvince: {
|
|
616
|
-
path: '/LocationService/CreateProvince',
|
|
617
|
-
requestStream: false,
|
|
618
|
-
responseStream: false,
|
|
619
|
-
requestType: prisca_v1_core_location_location_pb.CreateProvinceRequest,
|
|
620
|
-
responseType: prisca_v1_core_location_location_pb.CreateProvinceResponse,
|
|
621
|
-
requestSerialize: serialize_CreateProvinceRequest,
|
|
622
|
-
requestDeserialize: deserialize_CreateProvinceRequest,
|
|
623
|
-
responseSerialize: serialize_CreateProvinceResponse,
|
|
624
|
-
responseDeserialize: deserialize_CreateProvinceResponse,
|
|
625
|
-
},
|
|
626
|
-
getProvince: {
|
|
627
|
-
path: '/LocationService/GetProvince',
|
|
628
|
-
requestStream: false,
|
|
629
|
-
responseStream: false,
|
|
630
|
-
requestType: prisca_v1_core_location_location_pb.GetProvinceRequest,
|
|
631
|
-
responseType: prisca_v1_core_location_location_pb.GetProvinceResponse,
|
|
632
|
-
requestSerialize: serialize_GetProvinceRequest,
|
|
633
|
-
requestDeserialize: deserialize_GetProvinceRequest,
|
|
634
|
-
responseSerialize: serialize_GetProvinceResponse,
|
|
635
|
-
responseDeserialize: deserialize_GetProvinceResponse,
|
|
636
|
-
},
|
|
637
|
-
getProvinceById: {
|
|
638
|
-
path: '/LocationService/GetProvinceById',
|
|
639
|
-
requestStream: false,
|
|
640
|
-
responseStream: false,
|
|
641
|
-
requestType: prisca_v1_core_location_location_pb.ProvinceGetByIdRequest,
|
|
642
|
-
responseType: prisca_v1_core_location_location_pb.ProvinceGetByIdResponse,
|
|
643
|
-
requestSerialize: serialize_ProvinceGetByIdRequest,
|
|
644
|
-
requestDeserialize: deserialize_ProvinceGetByIdRequest,
|
|
645
|
-
responseSerialize: serialize_ProvinceGetByIdResponse,
|
|
646
|
-
responseDeserialize: deserialize_ProvinceGetByIdResponse,
|
|
647
|
-
},
|
|
648
|
-
updateProvince: {
|
|
649
|
-
path: '/LocationService/UpdateProvince',
|
|
650
|
-
requestStream: false,
|
|
651
|
-
responseStream: false,
|
|
652
|
-
requestType: prisca_v1_core_location_location_pb.UpdateProvinceRequest,
|
|
653
|
-
responseType: prisca_v1_core_location_location_pb.UpdateProvinceResponse,
|
|
654
|
-
requestSerialize: serialize_UpdateProvinceRequest,
|
|
655
|
-
requestDeserialize: deserialize_UpdateProvinceRequest,
|
|
656
|
-
responseSerialize: serialize_UpdateProvinceResponse,
|
|
657
|
-
responseDeserialize: deserialize_UpdateProvinceResponse,
|
|
658
|
-
},
|
|
659
|
-
deleteProvince: {
|
|
660
|
-
path: '/LocationService/DeleteProvince',
|
|
661
|
-
requestStream: false,
|
|
662
|
-
responseStream: false,
|
|
663
|
-
requestType: prisca_v1_core_location_location_pb.DeleteProvinceRequest,
|
|
664
|
-
responseType: prisca_v1_core_location_location_pb.DeleteProvinceResponse,
|
|
665
|
-
requestSerialize: serialize_DeleteProvinceRequest,
|
|
666
|
-
requestDeserialize: deserialize_DeleteProvinceRequest,
|
|
667
|
-
responseSerialize: serialize_DeleteProvinceResponse,
|
|
668
|
-
responseDeserialize: deserialize_DeleteProvinceResponse,
|
|
669
|
-
},
|
|
670
|
-
createCity: {
|
|
671
|
-
path: '/LocationService/CreateCity',
|
|
672
|
-
requestStream: false,
|
|
673
|
-
responseStream: false,
|
|
674
|
-
requestType: prisca_v1_core_location_location_pb.CreateCityRequest,
|
|
675
|
-
responseType: prisca_v1_core_location_location_pb.CreateCityResponse,
|
|
676
|
-
requestSerialize: serialize_CreateCityRequest,
|
|
677
|
-
requestDeserialize: deserialize_CreateCityRequest,
|
|
678
|
-
responseSerialize: serialize_CreateCityResponse,
|
|
679
|
-
responseDeserialize: deserialize_CreateCityResponse,
|
|
680
|
-
},
|
|
681
|
-
getCity: {
|
|
682
|
-
path: '/LocationService/GetCity',
|
|
683
|
-
requestStream: false,
|
|
684
|
-
responseStream: false,
|
|
685
|
-
requestType: prisca_v1_core_location_location_pb.GetCityRequest,
|
|
686
|
-
responseType: prisca_v1_core_location_location_pb.GetCityResponse,
|
|
687
|
-
requestSerialize: serialize_GetCityRequest,
|
|
688
|
-
requestDeserialize: deserialize_GetCityRequest,
|
|
689
|
-
responseSerialize: serialize_GetCityResponse,
|
|
690
|
-
responseDeserialize: deserialize_GetCityResponse,
|
|
691
|
-
},
|
|
692
|
-
getCityById: {
|
|
693
|
-
path: '/LocationService/GetCityById',
|
|
694
|
-
requestStream: false,
|
|
695
|
-
responseStream: false,
|
|
696
|
-
requestType: prisca_v1_core_location_location_pb.CityGetByIdRequest,
|
|
697
|
-
responseType: prisca_v1_core_location_location_pb.CityGetByIdResponse,
|
|
698
|
-
requestSerialize: serialize_CityGetByIdRequest,
|
|
699
|
-
requestDeserialize: deserialize_CityGetByIdRequest,
|
|
700
|
-
responseSerialize: serialize_CityGetByIdResponse,
|
|
701
|
-
responseDeserialize: deserialize_CityGetByIdResponse,
|
|
702
|
-
},
|
|
703
|
-
updateCity: {
|
|
704
|
-
path: '/LocationService/UpdateCity',
|
|
705
|
-
requestStream: false,
|
|
706
|
-
responseStream: false,
|
|
707
|
-
requestType: prisca_v1_core_location_location_pb.UpdateCityRequest,
|
|
708
|
-
responseType: prisca_v1_core_location_location_pb.UpdateCityResponse,
|
|
709
|
-
requestSerialize: serialize_UpdateCityRequest,
|
|
710
|
-
requestDeserialize: deserialize_UpdateCityRequest,
|
|
711
|
-
responseSerialize: serialize_UpdateCityResponse,
|
|
712
|
-
responseDeserialize: deserialize_UpdateCityResponse,
|
|
713
|
-
},
|
|
714
|
-
deleteCity: {
|
|
715
|
-
path: '/LocationService/DeleteCity',
|
|
716
|
-
requestStream: false,
|
|
717
|
-
responseStream: false,
|
|
718
|
-
requestType: prisca_v1_core_location_location_pb.DeleteCityRequest,
|
|
719
|
-
responseType: prisca_v1_core_location_location_pb.DeleteCityResponse,
|
|
720
|
-
requestSerialize: serialize_DeleteCityRequest,
|
|
721
|
-
requestDeserialize: deserialize_DeleteCityRequest,
|
|
722
|
-
responseSerialize: serialize_DeleteCityResponse,
|
|
723
|
-
responseDeserialize: deserialize_DeleteCityResponse,
|
|
724
|
-
},
|
|
725
|
-
createDistrict: {
|
|
726
|
-
path: '/LocationService/CreateDistrict',
|
|
727
|
-
requestStream: false,
|
|
728
|
-
responseStream: false,
|
|
729
|
-
requestType: prisca_v1_core_location_location_pb.CreateDistrictRequest,
|
|
730
|
-
responseType: prisca_v1_core_location_location_pb.CreateDistrictResponse,
|
|
731
|
-
requestSerialize: serialize_CreateDistrictRequest,
|
|
732
|
-
requestDeserialize: deserialize_CreateDistrictRequest,
|
|
733
|
-
responseSerialize: serialize_CreateDistrictResponse,
|
|
734
|
-
responseDeserialize: deserialize_CreateDistrictResponse,
|
|
735
|
-
},
|
|
736
|
-
getDistrict: {
|
|
737
|
-
path: '/LocationService/GetDistrict',
|
|
738
|
-
requestStream: false,
|
|
739
|
-
responseStream: false,
|
|
740
|
-
requestType: prisca_v1_core_location_location_pb.GetDistrictRequest,
|
|
741
|
-
responseType: prisca_v1_core_location_location_pb.GetDistrictResponse,
|
|
742
|
-
requestSerialize: serialize_GetDistrictRequest,
|
|
743
|
-
requestDeserialize: deserialize_GetDistrictRequest,
|
|
744
|
-
responseSerialize: serialize_GetDistrictResponse,
|
|
745
|
-
responseDeserialize: deserialize_GetDistrictResponse,
|
|
746
|
-
},
|
|
747
|
-
getDistrictById: {
|
|
748
|
-
path: '/LocationService/GetDistrictById',
|
|
749
|
-
requestStream: false,
|
|
750
|
-
responseStream: false,
|
|
751
|
-
requestType: prisca_v1_core_location_location_pb.DistrictGetByIdRequest,
|
|
752
|
-
responseType: prisca_v1_core_location_location_pb.DistrictGetByIdResponse,
|
|
753
|
-
requestSerialize: serialize_DistrictGetByIdRequest,
|
|
754
|
-
requestDeserialize: deserialize_DistrictGetByIdRequest,
|
|
755
|
-
responseSerialize: serialize_DistrictGetByIdResponse,
|
|
756
|
-
responseDeserialize: deserialize_DistrictGetByIdResponse,
|
|
757
|
-
},
|
|
758
|
-
updateDistrict: {
|
|
759
|
-
path: '/LocationService/UpdateDistrict',
|
|
760
|
-
requestStream: false,
|
|
761
|
-
responseStream: false,
|
|
762
|
-
requestType: prisca_v1_core_location_location_pb.UpdateDistrictRequest,
|
|
763
|
-
responseType: prisca_v1_core_location_location_pb.UpdateDistrictResponse,
|
|
764
|
-
requestSerialize: serialize_UpdateDistrictRequest,
|
|
765
|
-
requestDeserialize: deserialize_UpdateDistrictRequest,
|
|
766
|
-
responseSerialize: serialize_UpdateDistrictResponse,
|
|
767
|
-
responseDeserialize: deserialize_UpdateDistrictResponse,
|
|
768
|
-
},
|
|
769
|
-
deleteDistrict: {
|
|
770
|
-
path: '/LocationService/DeleteDistrict',
|
|
771
|
-
requestStream: false,
|
|
772
|
-
responseStream: false,
|
|
773
|
-
requestType: prisca_v1_core_location_location_pb.DeleteDistrictRequest,
|
|
774
|
-
responseType: prisca_v1_core_location_location_pb.DeleteDistrictResponse,
|
|
775
|
-
requestSerialize: serialize_DeleteDistrictRequest,
|
|
776
|
-
requestDeserialize: deserialize_DeleteDistrictRequest,
|
|
777
|
-
responseSerialize: serialize_DeleteDistrictResponse,
|
|
778
|
-
responseDeserialize: deserialize_DeleteDistrictResponse,
|
|
779
|
-
},
|
|
780
|
-
createVillage: {
|
|
781
|
-
path: '/LocationService/CreateVillage',
|
|
782
|
-
requestStream: false,
|
|
783
|
-
responseStream: false,
|
|
784
|
-
requestType: prisca_v1_core_location_location_pb.CreateVillageRequest,
|
|
785
|
-
responseType: prisca_v1_core_location_location_pb.CreateVillageResponse,
|
|
786
|
-
requestSerialize: serialize_CreateVillageRequest,
|
|
787
|
-
requestDeserialize: deserialize_CreateVillageRequest,
|
|
788
|
-
responseSerialize: serialize_CreateVillageResponse,
|
|
789
|
-
responseDeserialize: deserialize_CreateVillageResponse,
|
|
790
|
-
},
|
|
791
|
-
getVillage: {
|
|
792
|
-
path: '/LocationService/GetVillage',
|
|
793
|
-
requestStream: false,
|
|
794
|
-
responseStream: false,
|
|
795
|
-
requestType: prisca_v1_core_location_location_pb.GetVillageRequest,
|
|
796
|
-
responseType: prisca_v1_core_location_location_pb.GetVillageResponse,
|
|
797
|
-
requestSerialize: serialize_GetVillageRequest,
|
|
798
|
-
requestDeserialize: deserialize_GetVillageRequest,
|
|
799
|
-
responseSerialize: serialize_GetVillageResponse,
|
|
800
|
-
responseDeserialize: deserialize_GetVillageResponse,
|
|
801
|
-
},
|
|
802
|
-
getVillageById: {
|
|
803
|
-
path: '/LocationService/GetVillageById',
|
|
804
|
-
requestStream: false,
|
|
805
|
-
responseStream: false,
|
|
806
|
-
requestType: prisca_v1_core_location_location_pb.VillageGetByIdRequest,
|
|
807
|
-
responseType: prisca_v1_core_location_location_pb.VillageGetByIdResponse,
|
|
808
|
-
requestSerialize: serialize_VillageGetByIdRequest,
|
|
809
|
-
requestDeserialize: deserialize_VillageGetByIdRequest,
|
|
810
|
-
responseSerialize: serialize_VillageGetByIdResponse,
|
|
811
|
-
responseDeserialize: deserialize_VillageGetByIdResponse,
|
|
812
|
-
},
|
|
813
|
-
updateVillage: {
|
|
814
|
-
path: '/LocationService/UpdateVillage',
|
|
815
|
-
requestStream: false,
|
|
816
|
-
responseStream: false,
|
|
817
|
-
requestType: prisca_v1_core_location_location_pb.UpdateVillageRequest,
|
|
818
|
-
responseType: prisca_v1_core_location_location_pb.UpdateVillageResponse,
|
|
819
|
-
requestSerialize: serialize_UpdateVillageRequest,
|
|
820
|
-
requestDeserialize: deserialize_UpdateVillageRequest,
|
|
821
|
-
responseSerialize: serialize_UpdateVillageResponse,
|
|
822
|
-
responseDeserialize: deserialize_UpdateVillageResponse,
|
|
823
|
-
},
|
|
824
|
-
deleteVillage: {
|
|
825
|
-
path: '/LocationService/DeleteVillage',
|
|
826
|
-
requestStream: false,
|
|
827
|
-
responseStream: false,
|
|
828
|
-
requestType: prisca_v1_core_location_location_pb.DeleteVillageRequest,
|
|
829
|
-
responseType: prisca_v1_core_location_location_pb.DeleteVillageResponse,
|
|
830
|
-
requestSerialize: serialize_DeleteVillageRequest,
|
|
831
|
-
requestDeserialize: deserialize_DeleteVillageRequest,
|
|
832
|
-
responseSerialize: serialize_DeleteVillageResponse,
|
|
833
|
-
responseDeserialize: deserialize_DeleteVillageResponse,
|
|
834
|
-
},
|
|
835
|
-
};
|
|
836
|
-
|
|
837
|
-
exports.LocationServiceClient = grpc.makeGenericClientConstructor(LocationServiceService, 'LocationService');
|