@aldiokta/protocgen 1.1.45 → 1.1.46
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 +350 -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 +577 -0
- package/prisca/v1/core/access_manager/access_manager_pb.js +11084 -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 +78 -0
- package/prisca/v1/core/users/users_pb.js +1647 -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 +263 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +9839 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +600 -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 +281 -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
|
@@ -1,295 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/core/location";
|
|
4
|
-
|
|
5
|
-
// Importing necessary dependencies
|
|
6
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
7
|
-
|
|
8
|
-
service LocationService {
|
|
9
|
-
rpc CreateCountry(CreateCountryRequest) returns (CreateCountryResponse);
|
|
10
|
-
rpc GetCountry(GetCountryRequest) returns (GetCountryResponse);
|
|
11
|
-
rpc GetCountryById(CountryGetByIdRequest) returns (CountryGetByIdResponse);
|
|
12
|
-
rpc UpdateCountry(UpdateCountryRequest) returns (UpdateCountryResponse);
|
|
13
|
-
rpc DeleteCountry(DeleteCountryRequest) returns (DeleteCountryResponse);
|
|
14
|
-
|
|
15
|
-
rpc CreateProvince(CreateProvinceRequest) returns (CreateProvinceResponse);
|
|
16
|
-
rpc GetProvince(GetProvinceRequest) returns (GetProvinceResponse);
|
|
17
|
-
rpc GetProvinceById(ProvinceGetByIdRequest) returns (ProvinceGetByIdResponse);
|
|
18
|
-
rpc UpdateProvince(UpdateProvinceRequest) returns (UpdateProvinceResponse);
|
|
19
|
-
rpc DeleteProvince(DeleteProvinceRequest) returns (DeleteProvinceResponse);
|
|
20
|
-
|
|
21
|
-
rpc CreateCity(CreateCityRequest) returns (CreateCityResponse);
|
|
22
|
-
rpc GetCity(GetCityRequest) returns (GetCityResponse);
|
|
23
|
-
rpc GetCityById(CityGetByIdRequest) returns (CityGetByIdResponse);
|
|
24
|
-
rpc UpdateCity(UpdateCityRequest) returns (UpdateCityResponse);
|
|
25
|
-
rpc DeleteCity(DeleteCityRequest) returns (DeleteCityResponse);
|
|
26
|
-
|
|
27
|
-
rpc CreateDistrict(CreateDistrictRequest) returns (CreateDistrictResponse);
|
|
28
|
-
rpc GetDistrict(GetDistrictRequest) returns (GetDistrictResponse);
|
|
29
|
-
rpc GetDistrictById(DistrictGetByIdRequest) returns (DistrictGetByIdResponse);
|
|
30
|
-
rpc UpdateDistrict(UpdateDistrictRequest) returns (UpdateDistrictResponse);
|
|
31
|
-
rpc DeleteDistrict(DeleteDistrictRequest) returns (DeleteDistrictResponse);
|
|
32
|
-
|
|
33
|
-
rpc CreateVillage(CreateVillageRequest) returns (CreateVillageResponse);
|
|
34
|
-
rpc GetVillage(GetVillageRequest) returns (GetVillageResponse);
|
|
35
|
-
rpc GetVillageById(VillageGetByIdRequest) returns (VillageGetByIdResponse);
|
|
36
|
-
rpc UpdateVillage(UpdateVillageRequest) returns (UpdateVillageResponse);
|
|
37
|
-
rpc DeleteVillage(DeleteVillageRequest) returns (DeleteVillageResponse);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
message Country {
|
|
41
|
-
string name = 1;
|
|
42
|
-
string references_id = 2;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
message BaseCountry {
|
|
46
|
-
string name = 1;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
message Province {
|
|
50
|
-
string name = 1;
|
|
51
|
-
string country_references_id = 2;
|
|
52
|
-
string references_id = 3;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
message City {
|
|
56
|
-
string name = 1;
|
|
57
|
-
string province_references_id = 2;
|
|
58
|
-
string references_id = 3;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
message District {
|
|
62
|
-
string name = 1;
|
|
63
|
-
string city_references_id = 2;
|
|
64
|
-
string references_id = 3;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
message Village {
|
|
68
|
-
string name = 1;
|
|
69
|
-
string district_references_id = 2;
|
|
70
|
-
string references_id = 3;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
message GetCountryRequest {
|
|
74
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
75
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
message CountryGetByIdRequest {
|
|
79
|
-
string references_id =1;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
message UpdateCountryRequest {
|
|
83
|
-
string references_id =1;
|
|
84
|
-
BaseCountry country = 2;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
message GetProvinceRequest {
|
|
88
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
89
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
message GetCityRequest {
|
|
93
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
94
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
message GetDistrictRequest {
|
|
98
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
99
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
message GetVillageRequest {
|
|
103
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
104
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
message CreateCountryRequest {
|
|
108
|
-
BaseCountry country = 1;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
message ProvinceGetByIdRequest {
|
|
112
|
-
string references_id =1;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
message UpdateProvinceRequest {
|
|
116
|
-
string references_id =1;
|
|
117
|
-
Province province = 2;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
message DeleteCountryRequest {
|
|
121
|
-
string references_id =1;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
message DeleteProvinceRequest {
|
|
125
|
-
string references_id =1;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
message CreateProvinceRequest {
|
|
129
|
-
Province province = 1;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
message CreateCityRequest {
|
|
133
|
-
City city = 1;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
message CityGetByIdRequest {
|
|
137
|
-
string references_id =1;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
message UpdateCityRequest {
|
|
141
|
-
string references_id =1;
|
|
142
|
-
City city = 2;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
message DeleteCityRequest {
|
|
146
|
-
string references_id =1;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
message CreateDistrictRequest {
|
|
150
|
-
District district = 1;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
message DistrictGetByIdRequest {
|
|
154
|
-
string references_id =1;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
message UpdateDistrictRequest {
|
|
158
|
-
string references_id =1;
|
|
159
|
-
District district = 2;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
message DeleteDistrictRequest {
|
|
163
|
-
string references_id =1;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
message CreateVillageRequest {
|
|
167
|
-
Village village = 1;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
message VillageGetByIdRequest {
|
|
171
|
-
string references_id =1;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
message UpdateVillageRequest {
|
|
175
|
-
string references_id =1;
|
|
176
|
-
Village village = 2;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
message DeleteVillageRequest {
|
|
180
|
-
string references_id =1;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
// response
|
|
184
|
-
message DeleteVillageResponse {
|
|
185
|
-
string references_id =1;
|
|
186
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
187
|
-
}
|
|
188
|
-
message UpdateVillageResponse {
|
|
189
|
-
Village village = 1;
|
|
190
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
191
|
-
}
|
|
192
|
-
message VillageGetByIdResponse {
|
|
193
|
-
Village village = 1;
|
|
194
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
195
|
-
}
|
|
196
|
-
message CreateVillageResponse {
|
|
197
|
-
Village village = 1;
|
|
198
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
199
|
-
}
|
|
200
|
-
message DeleteDistrictResponse {
|
|
201
|
-
string references_id =1;
|
|
202
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
203
|
-
}
|
|
204
|
-
message UpdateDistrictResponse {
|
|
205
|
-
District district = 1;
|
|
206
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
207
|
-
}
|
|
208
|
-
message DistrictGetByIdResponse {
|
|
209
|
-
District district = 1;
|
|
210
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
211
|
-
}
|
|
212
|
-
message CreateDistrictResponse {
|
|
213
|
-
District district = 1;
|
|
214
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
215
|
-
}
|
|
216
|
-
message DeleteCityResponse {
|
|
217
|
-
string references_id =1;
|
|
218
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
219
|
-
}
|
|
220
|
-
message UpdateCityResponse {
|
|
221
|
-
City city = 1;
|
|
222
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
223
|
-
}
|
|
224
|
-
message CityGetByIdResponse {
|
|
225
|
-
City city = 1;
|
|
226
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
227
|
-
}
|
|
228
|
-
message CreateCityResponse {
|
|
229
|
-
City city = 1;
|
|
230
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
231
|
-
}
|
|
232
|
-
message CreateProvinceResponse {
|
|
233
|
-
Province province = 1;
|
|
234
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
message DeleteProvinceResponse {
|
|
238
|
-
string references_id =1;
|
|
239
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
message DeleteCountryResponse {
|
|
243
|
-
string references_id =1;
|
|
244
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
message UpdateProvinceResponse {
|
|
248
|
-
Province province = 1;
|
|
249
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
message ProvinceGetByIdResponse {
|
|
253
|
-
Province province = 1;
|
|
254
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
message GetCountryResponse {
|
|
258
|
-
repeated Country country = 1;
|
|
259
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
message GetProvinceResponse {
|
|
263
|
-
repeated Province province = 1;
|
|
264
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
message GetCityResponse {
|
|
268
|
-
repeated City city = 1;
|
|
269
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
message GetDistrictResponse {
|
|
273
|
-
repeated District district = 1;
|
|
274
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
message GetVillageResponse {
|
|
278
|
-
repeated Village village = 1;
|
|
279
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
message CreateCountryResponse {
|
|
283
|
-
Country country = 1;
|
|
284
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
message UpdateCountryResponse {
|
|
288
|
-
Country country = 1;
|
|
289
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
message CountryGetByIdResponse {
|
|
293
|
-
Country country = 1;
|
|
294
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
295
|
-
}
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/core/material";
|
|
4
|
-
|
|
5
|
-
// Importing necessary dependencies
|
|
6
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
7
|
-
import "prisca/v1/core/material_type/material_type.proto";
|
|
8
|
-
import "prisca/v1/core/material_group/material_group.proto";
|
|
9
|
-
import "prisca/v1/core/work_location/work_location.proto";
|
|
10
|
-
import "prisca/v1/core/unit_of_measurement/unit_of_measurement.proto";
|
|
11
|
-
import "prisca/v1/core/employee/employee.proto";
|
|
12
|
-
//import "prisca/v1/core/department_material/department_material.proto";
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
service MaterialService {
|
|
17
|
-
rpc CreateMaterial(CreateMaterialRequest) returns (CreateMaterialResponse);
|
|
18
|
-
rpc UpdateMaterial(UpdateMaterialRequest) returns (UpdateMaterialResponse);
|
|
19
|
-
rpc DeleteMaterial(DeleteMaterialRequest) returns (DeleteMaterialResponse);
|
|
20
|
-
rpc GetMaterialById(GetMaterialByIdRequest) returns (GetMaterialByIdResponse);
|
|
21
|
-
rpc GetListMaterials(GetListMaterialRequest) returns (GetListMaterialResponse);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
message Material {
|
|
25
|
-
int64 id = 1;
|
|
26
|
-
string material_code = 2;
|
|
27
|
-
string material_description = 3;
|
|
28
|
-
string material_category = 4;
|
|
29
|
-
string old_product_number = 5;
|
|
30
|
-
string material_group_ref = 6;
|
|
31
|
-
string references_id = 7;
|
|
32
|
-
repeated MaterialLanguageDescription language_description = 8;
|
|
33
|
-
string created_by = 9;
|
|
34
|
-
string updated_by = 10;
|
|
35
|
-
string created_at = 11; // ISO 8601 format
|
|
36
|
-
string updated_at = 12; // Nullable, ISO 8601 format
|
|
37
|
-
string base_unit_of_measure_ref = 13;
|
|
38
|
-
optional UnitOfMeasure base_unit_of_measure = 14;
|
|
39
|
-
repeated MaterialUOM unit_of_measure = 15;
|
|
40
|
-
optional MaterialType material_type = 16;
|
|
41
|
-
optional MaterialGroup material_group = 17;
|
|
42
|
-
string material_plant_ref = 18;
|
|
43
|
-
optional WorkLocation material_plant = 19;
|
|
44
|
-
string material_type_code_ref = 20;
|
|
45
|
-
string number_range_sequence = 21;
|
|
46
|
-
string companies_references_id = 22;
|
|
47
|
-
optional Employee created_by_employee = 23;
|
|
48
|
-
optional Employee updated_by_employee = 24;
|
|
49
|
-
// int64 department_material_ref = 6;
|
|
50
|
-
// optional DepartmentMaterial department_material = 16;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
message MaterialLanguageDescription {
|
|
54
|
-
string language = 1;
|
|
55
|
-
string title = 2;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
message MaterialUOM {
|
|
59
|
-
int64 material_id = 1;
|
|
60
|
-
int64 uom_id = 2;
|
|
61
|
-
string unit_conversion = 3;
|
|
62
|
-
string unit =4;
|
|
63
|
-
string uom_references_id = 5;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
message MaterialUOMRequest {
|
|
67
|
-
string uom_references_id = 1;
|
|
68
|
-
string unit_conversion = 2;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
// Request Messages
|
|
72
|
-
message BaseMaterialRequest {
|
|
73
|
-
string material_code = 1;
|
|
74
|
-
string material_type_code_ref = 2;
|
|
75
|
-
string material_description = 3;
|
|
76
|
-
string material_category = 4;
|
|
77
|
-
string old_product_number = 5;
|
|
78
|
-
string material_group_ref = 6;
|
|
79
|
-
repeated MaterialLanguageDescription language_description = 7;
|
|
80
|
-
repeated MaterialUOMRequest unit_of_measure = 8;
|
|
81
|
-
string material_plant_ref = 9;
|
|
82
|
-
string base_unit_of_measure_ref = 10;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
message CreateMaterialRequest {
|
|
86
|
-
BaseMaterialRequest base_material = 1;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
message UpdateMaterialRequest {
|
|
90
|
-
string references_id =1;
|
|
91
|
-
BaseMaterialRequest base_material = 2;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
message DeleteMaterialRequest {
|
|
95
|
-
repeated string reference_ids = 1;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
message GetMaterialByIdRequest {
|
|
99
|
-
string references_id =1;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
message GetListMaterialRequest {
|
|
103
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
104
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// Response Messages
|
|
108
|
-
message CreateMaterialResponse {
|
|
109
|
-
Material material = 1;
|
|
110
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
message UpdateMaterialResponse {
|
|
114
|
-
Material material = 1;
|
|
115
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
message DeleteMaterialResponse {
|
|
119
|
-
repeated string reference_ids = 1;
|
|
120
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
message GetMaterialByIdResponse {
|
|
124
|
-
Material material = 1;
|
|
125
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
message GetListMaterialResponse {
|
|
129
|
-
repeated Material materials = 1;
|
|
130
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
131
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/core/material_group";
|
|
4
|
-
|
|
5
|
-
// Importing necessary dependencies
|
|
6
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
7
|
-
import "prisca/v1/core/employee/employee.proto";
|
|
8
|
-
|
|
9
|
-
service MaterialGroupService {
|
|
10
|
-
rpc CreateMaterialGroup(CreateMaterialGroupRequest) returns (CreateMaterialGroupResponse);
|
|
11
|
-
rpc UpdateMaterialGroup(UpdateMaterialGroupRequest) returns (UpdateMaterialGroupResponse);
|
|
12
|
-
rpc DeleteMaterialGroup(DeleteMaterialGroupRequest) returns (DeleteMaterialGroupResponse);
|
|
13
|
-
rpc GetMaterialGroupById(GetMaterialGroupByIdRequest) returns (GetMaterialGroupByIdResponse);
|
|
14
|
-
rpc GetListMaterialGroups(GetListMaterialGroupRequest) returns (GetListMaterialGroupResponse);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
message MaterialGroup {
|
|
18
|
-
int64 id = 1;
|
|
19
|
-
string material_group_code = 2;
|
|
20
|
-
string material_group_description = 3;
|
|
21
|
-
string material_group_description_external = 4;
|
|
22
|
-
string references_id = 5;
|
|
23
|
-
string created_at = 6; // ISO 8601
|
|
24
|
-
string updated_at = 7; // Nullable
|
|
25
|
-
string created_by = 8;
|
|
26
|
-
string updated_by = 9;
|
|
27
|
-
string companies_references_id = 10;
|
|
28
|
-
optional Employee created_by_employee = 11;
|
|
29
|
-
optional Employee updated_by_employee = 12;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
// Request Messages
|
|
33
|
-
message BaseMaterialGroupRequest {
|
|
34
|
-
string material_group_code = 1;
|
|
35
|
-
string material_group_description = 2;
|
|
36
|
-
string material_group_description_external = 3;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
message CreateMaterialGroupRequest {
|
|
40
|
-
BaseMaterialGroupRequest base_material_group = 1;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
message UpdateMaterialGroupRequest {
|
|
44
|
-
string references_id =1;
|
|
45
|
-
BaseMaterialGroupRequest base_material_group = 2;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
message DeleteMaterialGroupRequest {
|
|
49
|
-
repeated string reference_ids = 1;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
message GetMaterialGroupByIdRequest {
|
|
53
|
-
string references_id =1;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
message GetListMaterialGroupRequest {
|
|
57
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
58
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
// Response Messages
|
|
62
|
-
message CreateMaterialGroupResponse {
|
|
63
|
-
MaterialGroup material_group = 1;
|
|
64
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
message UpdateMaterialGroupResponse {
|
|
68
|
-
MaterialGroup material_group = 1;
|
|
69
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
message DeleteMaterialGroupResponse {
|
|
73
|
-
repeated string reference_ids = 1;
|
|
74
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
message GetMaterialGroupByIdResponse {
|
|
78
|
-
MaterialGroup material_group = 1;
|
|
79
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
message GetListMaterialGroupResponse {
|
|
83
|
-
repeated MaterialGroup material_groups = 1;
|
|
84
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
85
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/core/material_type";
|
|
4
|
-
|
|
5
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
6
|
-
import "prisca/v1/core/number_range/number_range.proto";
|
|
7
|
-
import "prisca/v1/core/employee/employee.proto";
|
|
8
|
-
|
|
9
|
-
//package prisca.v1.unit_of_measurement;
|
|
10
|
-
|
|
11
|
-
// Unit of Measurement Service
|
|
12
|
-
service MaterialTypeService {
|
|
13
|
-
rpc CreateMaterialType(MaterialTypeRequest) returns (MaterialTypeResponse);
|
|
14
|
-
rpc GetMaterialTypeList(MaterialTypeListRequest) returns (MaterialTypeListResponse);
|
|
15
|
-
rpc GetMaterialTypeById(MaterialTypeGetByIdRequest) returns (MaterialTypeGetByIdResponse);
|
|
16
|
-
rpc UpdateMaterialType(MaterialTypeUpdateRequest) returns (MaterialTypeUpdateResponse);
|
|
17
|
-
rpc DeleteMaterialType(MaterialTypeDeleteRequest) returns (MaterialTypeDeleteResponse);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
// Base Model
|
|
21
|
-
message MaterialType {
|
|
22
|
-
int64 id = 1;
|
|
23
|
-
string material_type_code =2;
|
|
24
|
-
string material_type_description =3;
|
|
25
|
-
repeated string department_user = 4;
|
|
26
|
-
string references_id = 5;
|
|
27
|
-
string created_at = 6; // Use ISO 8601 format for date strings
|
|
28
|
-
string updated_at = 7; // Optional, nullable
|
|
29
|
-
string internal_number_range_ref = 8;
|
|
30
|
-
string external_number_range_ref = 9;
|
|
31
|
-
optional NumberRange internal_number_range = 10;
|
|
32
|
-
optional NumberRange external_number_range = 11;
|
|
33
|
-
string created_by = 12;
|
|
34
|
-
string updated_by = 13;
|
|
35
|
-
string companies_references_id = 14;
|
|
36
|
-
optional Employee created_by_employee = 15;
|
|
37
|
-
optional Employee updated_by_employee = 16;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
message BaseMaterial {
|
|
41
|
-
string material_type_code= 1;
|
|
42
|
-
string material_type_description =2;
|
|
43
|
-
repeated string department_user = 3;
|
|
44
|
-
string internal_number_range_ref = 4;
|
|
45
|
-
string external_number_range_ref = 5;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// Request Messages
|
|
49
|
-
message MaterialTypeRequest {
|
|
50
|
-
BaseMaterial material_type = 1;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
message MaterialTypeListRequest {
|
|
54
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
55
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
message MaterialTypeGetByIdRequest {
|
|
59
|
-
string references_id =1;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
message MaterialTypeUpdateRequest {
|
|
63
|
-
string references_id =1;
|
|
64
|
-
BaseMaterial material_type = 2;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
message MaterialTypeDeleteRequest {
|
|
68
|
-
repeated string reference_ids = 1;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
// Response Messages
|
|
72
|
-
message MaterialTypeResponse {
|
|
73
|
-
MaterialType material_type =1;
|
|
74
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
message MaterialTypeListResponse {
|
|
78
|
-
repeated MaterialType material_type =1;
|
|
79
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
message MaterialTypeGetByIdResponse {
|
|
83
|
-
MaterialType material_type = 1;
|
|
84
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
message MaterialTypeUpdateResponse {
|
|
88
|
-
MaterialType material_type = 1;
|
|
89
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
message MaterialTypeDeleteResponse {
|
|
93
|
-
repeated string reference_ids = 1;
|
|
94
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
95
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/core/messaging";
|
|
4
|
-
|
|
5
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
6
|
-
|
|
7
|
-
service EmailTemplateService {
|
|
8
|
-
rpc CreateEmailTemplate(CreateEmailTemplateRequest) returns (CreateEmailTemplateResponse);
|
|
9
|
-
rpc GetEmailTemplateById(GetEmailTemplateByIdRequest) returns (GetEmailTemplateByIdResponse);
|
|
10
|
-
rpc GetListEmailTemplate(GetListEmailTemplateRequest) returns (GetListEmailTemplateResponse);
|
|
11
|
-
rpc UpdateEmailTemplate(UpdateEmailTemplateRequest) returns (UpdateEmailTemplateResponse);
|
|
12
|
-
rpc DeleteEmailTemplate(DeleteEmailTemplateRequest) returns (DeleteEmailTemplateResponse);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
message EmailTemplate {
|
|
16
|
-
int32 id = 1;
|
|
17
|
-
string subject = 2;
|
|
18
|
-
string body = 3;
|
|
19
|
-
string references_id = 4;
|
|
20
|
-
string companies_references_id = 5;
|
|
21
|
-
string created_at = 6;
|
|
22
|
-
string updated_at = 7;
|
|
23
|
-
string type = 8;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
message BaseEmailTemplateRequest {
|
|
27
|
-
string subject = 1;
|
|
28
|
-
string body = 2;
|
|
29
|
-
string type = 3;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
message CreateEmailTemplateRequest {
|
|
33
|
-
BaseEmailTemplateRequest base_request = 1;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
message CreateEmailTemplateResponse {
|
|
37
|
-
prisca.v1.global.meta.Meta meta = 1;
|
|
38
|
-
EmailTemplate email_template = 2;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
message GetEmailTemplateByIdRequest {
|
|
42
|
-
string references_id = 1;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
message GetEmailTemplateByIdResponse {
|
|
46
|
-
prisca.v1.global.meta.Meta meta = 1;
|
|
47
|
-
EmailTemplate email_template = 2;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
message GetListEmailTemplateRequest {
|
|
51
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
52
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
message GetListEmailTemplateResponse {
|
|
56
|
-
prisca.v1.global.meta.Meta meta = 1;
|
|
57
|
-
repeated EmailTemplate email_templates = 2;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
message UpdateEmailTemplateRequest {
|
|
61
|
-
string references_id = 1;
|
|
62
|
-
BaseEmailTemplateRequest base_request = 2;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
message UpdateEmailTemplateResponse {
|
|
66
|
-
prisca.v1.global.meta.Meta meta = 1;
|
|
67
|
-
EmailTemplate email_template = 2;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
message DeleteEmailTemplateRequest {
|
|
71
|
-
repeated string reference_ids = 1;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
message DeleteEmailTemplateResponse {
|
|
75
|
-
repeated string reference_ids = 1;
|
|
76
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
77
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/core/messaging";
|
|
4
|
-
|
|
5
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
6
|
-
|
|
7
|
-
service MessagingService {
|
|
8
|
-
rpc SendEmailRequest(SendEmailMessageRequest) returns (SendEmailMessageResponse);
|
|
9
|
-
rpc SendTeamsMessageRequest(SendEmailMessageRequest) returns (SendEmailMessageResponse);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
message BaseEmailMessageRequest {
|
|
13
|
-
string id = 1;
|
|
14
|
-
string email = 2;
|
|
15
|
-
repeated string cc = 3;
|
|
16
|
-
repeated Variable variable = 4;
|
|
17
|
-
}
|
|
18
|
-
message Variable {
|
|
19
|
-
string key = 1;
|
|
20
|
-
string value = 2;
|
|
21
|
-
}
|
|
22
|
-
message SendEmailMessageRequest {
|
|
23
|
-
BaseEmailMessageRequest base_request = 1;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
message SendEmailMessageResponse {
|
|
27
|
-
prisca.v1.global.meta.Meta meta = 1;
|
|
28
|
-
BaseEmailMessageRequest base_email_message_request = 2;
|
|
29
|
-
}
|