@aldiokta/protocgen 1.0.56 → 1.0.57
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 +177 -0
- package/prisca/v1/account_assignment/account_assignment_pb.js +2522 -0
- package/prisca/v1/account_group/account_group_grpc_pb.js +178 -0
- package/prisca/v1/account_group/account_group_pb.js +2755 -0
- package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +177 -0
- package/prisca/v1/chart_of_account/chart_of_account_pb.js +2522 -0
- package/prisca/v1/core/auth/auth_grpc_pb.js +367 -0
- package/prisca/v1/core/auth/auth_pb.js +3745 -0
- package/prisca/v1/core/company/company_grpc_pb.js +177 -0
- package/prisca/v1/core/company/company_pb.js +2875 -0
- package/prisca/v1/core/currency/currency_grpc_pb.js +177 -0
- package/prisca/v1/core/currency/currency_pb.js +2522 -0
- package/prisca/v1/core/department_material/department_material_grpc_pb.js +144 -0
- package/prisca/v1/core/department_material/department_material_pb.js +2167 -0
- package/prisca/v1/core/employee/employee_grpc_pb.js +184 -0
- package/prisca/v1/core/employee/employee_pb.js +3877 -0
- package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +178 -0
- package/prisca/v1/core/job_grade/job_grade_pb.js +2605 -0
- package/prisca/v1/core/job_position/job_position_grpc_pb.js +181 -0
- package/prisca/v1/core/job_position/job_position_pb.js +3762 -0
- package/prisca/v1/core/job_title/job_title_grpc_pb.js +178 -0
- package/prisca/v1/core/job_title/job_title_pb.js +2958 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +177 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +2612 -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 +2612 -0
- package/prisca/v1/core/location/location_grpc_pb.js +837 -0
- package/prisca/v1/core/location/location_pb.js +10879 -0
- package/prisca/v1/core/material/material_grpc_pb.js +181 -0
- package/prisca/v1/core/material/material_pb.js +4106 -0
- package/prisca/v1/core/material_group/material_group_grpc_pb.js +177 -0
- package/prisca/v1/core/material_group/material_group_pb.js +2582 -0
- package/prisca/v1/core/material_type/material_type_grpc_pb.js +148 -0
- package/prisca/v1/core/material_type/material_type_pb.js +2392 -0
- package/prisca/v1/core/messaging/email_template_grpc_pb.js +177 -0
- package/prisca/v1/core/messaging/email_template_pb.js +2552 -0
- package/prisca/v1/core/messaging/messaging_grpc_pb.js +45 -0
- package/prisca/v1/core/messaging/messaging_pb.js +896 -0
- package/prisca/v1/core/number_range/number_range_grpc_pb.js +177 -0
- package/prisca/v1/core/number_range/number_range_pb.js +2732 -0
- package/prisca/v1/core/organization/organization_grpc_pb.js +180 -0
- package/prisca/v1/core/organization/organization_pb.js +3032 -0
- package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +178 -0
- package/prisca/v1/core/organization_level/organization_level_pb.js +2545 -0
- package/prisca/v1/core/procurement/procurement_grpc_pb.js +146 -0
- package/prisca/v1/core/procurement/procurement_pb.js +1681 -0
- package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +266 -0
- package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_pb.js +4429 -0
- package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +1 -0
- package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +206 -0
- package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +177 -0
- package/prisca/v1/core/tax_code/tax_code_pb.js +2582 -0
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +421 -0
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +8965 -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 +2798 -0
- package/prisca/v1/core/users/users_grpc_pb.js +1 -0
- package/prisca/v1/core/users/users_pb.js +626 -0
- package/prisca/v1/core/users_role/users_role_grpc_pb.js +177 -0
- package/prisca/v1/core/users_role/users_role_pb.js +2372 -0
- package/prisca/v1/core/work_location/work_location_grpc_pb.js +179 -0
- package/prisca/v1/core/work_location/work_location_pb.js +3972 -0
- package/prisca/v1/core/workflow/workflow_grpc_pb.js +180 -0
- package/prisca/v1/core/workflow/workflow_pb.js +6589 -0
- package/prisca/v1/document_type/document_type_grpc_pb.js +178 -0
- package/prisca/v1/document_type/document_type_pb.js +2746 -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 +3276 -0
- package/prisca/v1/global/meta/meta_grpc_pb.js +1 -0
- package/prisca/v1/global/meta/meta_pb.js +1179 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +267 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +7825 -0
- package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +178 -0
- package/prisca/v1/purchasing_group/purchasing_group_pb.js +2875 -0
- package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +145 -0
- package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +2139 -0
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +146 -0
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +2183 -0
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +146 -0
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +2536 -0
- package/prisca/v1/account_assignment/account_assignment.pb.go +0 -893
- package/prisca/v1/account_assignment/account_assignment_grpc.pb.go +0 -274
- package/prisca/v1/account_group/account_group.pb.go +0 -955
- package/prisca/v1/account_group/account_group_grpc.pb.go +0 -273
- package/prisca/v1/chart_of_account/chart_of_account.pb.go +0 -882
- package/prisca/v1/chart_of_account/chart_of_account_grpc.pb.go +0 -273
- package/prisca/v1/core/auth/auth.proto +0 -129
- package/prisca/v1/core/company/company.proto +0 -86
- 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 -120
- 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_approval/line_of_approval.proto +0 -79
- package/prisca/v1/core/link_data_source/link_data_source.proto +0 -78
- package/prisca/v1/core/location/location.proto +0 -289
- package/prisca/v1/core/material/material.proto +0 -129
- package/prisca/v1/core/material_group/material_group.proto +0 -79
- package/prisca/v1/core/material_type/material_type.proto +0 -77
- package/prisca/v1/core/messaging/email_template.proto +0 -75
- package/prisca/v1/core/messaging/messaging.proto +0 -28
- package/prisca/v1/core/number_range/number_range.proto +0 -83
- package/prisca/v1/core/organization/organization.proto +0 -94
- package/prisca/v1/core/organization_level/organization_level.proto +0 -77
- package/prisca/v1/core/procurement/procurement.proto +0 -54
- package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx.proto +0 -131
- package/prisca/v1/core/recipient_roles/recipient_roles.proto +0 -10
- package/prisca/v1/core/tax_code/tax_code.proto +0 -79
- package/prisca/v1/core/transaction_builder/transaction_builder.proto +0 -262
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +0 -88
- package/prisca/v1/core/users/users.proto +0 -22
- package/prisca/v1/core/users_role/users_role.proto +0 -72
- package/prisca/v1/core/work_location/work_location.proto +0 -122
- package/prisca/v1/core/workflow/workflow.proto +0 -197
- package/prisca/v1/document_type/document_type.pb.go +0 -952
- package/prisca/v1/document_type/document_type_grpc.pb.go +0 -273
- package/prisca/v1/general_ledger_account/general_ledger_account.pb.go +0 -1146
- package/prisca/v1/general_ledger_account/general_ledger_account_grpc.pb.go +0 -274
- package/prisca/v1/global/meta/meta.proto +0 -57
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.pb.go +0 -2674
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc.pb.go +0 -388
- package/prisca/v1/purchasing_group/purchasing_group.pb.go +0 -1004
- package/prisca/v1/purchasing_group/purchasing_group_grpc.pb.go +0 -274
- package/prisca/v1/purchasing_organization/purchasing_organization.pb.go +0 -775
- package/prisca/v1/purchasing_organization/purchasing_organization_grpc.pb.go +0 -236
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.pb.go +0 -805
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc.pb.go +0 -236
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.pb.go +0 -906
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc.pb.go +0 -236
|
@@ -1,262 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-core-service/protocgen/prisca/v1/core/transaction_builder";
|
|
4
|
-
package prisca.v1.core.transaction_builder;
|
|
5
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
6
|
-
import "google/protobuf/any.proto";
|
|
7
|
-
|
|
8
|
-
service TransactionBuilderService {
|
|
9
|
-
// builder
|
|
10
|
-
rpc CreateTransactionBuilder(TransactionBuilderRequest)
|
|
11
|
-
returns (ResponseTransactionBuilder);
|
|
12
|
-
rpc CreateTransactionFields(TransactionFieldsRequest)
|
|
13
|
-
returns (ResponseTransactionFieldsList);
|
|
14
|
-
rpc CreateTransactionConfig(TransactionConfigRequest)
|
|
15
|
-
returns (ResponseTransactionConfig);
|
|
16
|
-
|
|
17
|
-
rpc GetTransactionBuilder(GetTransactionBuilderById)
|
|
18
|
-
returns (ResponseTransactionBuilder);
|
|
19
|
-
rpc GetTransactionBuilderWithDetail(GetTransactionBuilderByIdWithDetail)
|
|
20
|
-
returns (ResponseTransactionBuilderWithDetails);
|
|
21
|
-
rpc GetTransactionFields(GetTransactionFieldsById)
|
|
22
|
-
returns (ResponseTransactionFields);
|
|
23
|
-
rpc GetTransactionConfig(GetTransactionConfigById)
|
|
24
|
-
returns (ResponseTransactionConfig);
|
|
25
|
-
|
|
26
|
-
rpc GetListTransactionBuilder(GetTransactionBuilderList)
|
|
27
|
-
returns (ResponseTransactionBuilderList);
|
|
28
|
-
rpc GetListTransactionBuilderTable(GetTransactionFieldsById)
|
|
29
|
-
returns (ResponseTransactionBuilderWithDetailTable);
|
|
30
|
-
rpc GetListTransactionBuilderForm(GetTransactionFieldsById)
|
|
31
|
-
returns (ResponseTransactionBuilderWithDetailForm);
|
|
32
|
-
rpc GetListTransactionBuilderDetail(GetTransactionFieldsById)
|
|
33
|
-
returns (ResponseTransactionBuilderWithDetail);
|
|
34
|
-
rpc GetListTransactionConfig(GetTransactionConfigList)
|
|
35
|
-
returns (ResponseTransactionConfigList);
|
|
36
|
-
|
|
37
|
-
rpc UpdateTransactionBuilder(EditTransactionBuilderById)
|
|
38
|
-
returns (ResponseTransactionBuilder);
|
|
39
|
-
rpc UpdateTransactionFields(EditTransactionFieldsById)
|
|
40
|
-
returns (ResponseTransactionFields);
|
|
41
|
-
rpc UpdateTransactionConfig(EditTransactionConfigById)
|
|
42
|
-
returns (ResponseTransactionConfig);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
message Value {
|
|
46
|
-
string key = 1;
|
|
47
|
-
string value = 2;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
message PropertiesRules {
|
|
51
|
-
string type = 1;
|
|
52
|
-
string value = 2;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
message TransactionBuilderFieldsForm {
|
|
56
|
-
int64 transaction_builder_id = 1;
|
|
57
|
-
int64 orders = 2;
|
|
58
|
-
string key = 3;
|
|
59
|
-
string label = 4;
|
|
60
|
-
string references_id = 5;
|
|
61
|
-
repeated Value option = 6;
|
|
62
|
-
string properties = 7;
|
|
63
|
-
repeated FieldRulesWithProp field_rules = 8;
|
|
64
|
-
bool is_master = 9;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
message TransactionBuilderFieldsDetail {
|
|
68
|
-
int64 transaction_builder_id = 1;
|
|
69
|
-
int64 orders = 2;
|
|
70
|
-
string key = 3;
|
|
71
|
-
string label = 4;
|
|
72
|
-
string references_id = 5;
|
|
73
|
-
string properties = 6;
|
|
74
|
-
string value = 7;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
message TransactionBuilderFieldsTable {
|
|
78
|
-
int64 transaction_builder_id = 1;
|
|
79
|
-
int64 orders = 2;
|
|
80
|
-
string key = 3;
|
|
81
|
-
string label = 4;
|
|
82
|
-
string references_id = 5;
|
|
83
|
-
string properties = 6;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
// model
|
|
87
|
-
message TransactionBuilderFields {
|
|
88
|
-
int64 id = 1;
|
|
89
|
-
int64 transaction_builder_id = 2;
|
|
90
|
-
string key = 3;
|
|
91
|
-
string label = 4;
|
|
92
|
-
repeated FieldRules field_rules = 5;
|
|
93
|
-
repeated FieldViews field_views = 6;
|
|
94
|
-
string value = 7;
|
|
95
|
-
string references_id = 8;
|
|
96
|
-
bool is_master = 9;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
message TransactionBuilderFieldsBase {
|
|
100
|
-
string key = 1;
|
|
101
|
-
string label = 2;
|
|
102
|
-
repeated FieldRules field_rules = 3;
|
|
103
|
-
repeated FieldViews field_views = 4;
|
|
104
|
-
bool is_master = 5;
|
|
105
|
-
string references_id = 6;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
message FieldRulesWithProp {
|
|
109
|
-
optional int64 id = 1;
|
|
110
|
-
string name = 2;
|
|
111
|
-
string properties = 3;
|
|
112
|
-
optional string transaction_builder_field_ref = 4;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
message FieldRules {
|
|
116
|
-
optional int64 id = 1;
|
|
117
|
-
string name = 2;
|
|
118
|
-
string properties = 3;
|
|
119
|
-
optional string transaction_builder_field_ref = 4;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
message FieldViews {
|
|
123
|
-
optional int64 id = 1;
|
|
124
|
-
string name = 2;
|
|
125
|
-
string orders = 3;
|
|
126
|
-
string properties = 4;
|
|
127
|
-
optional string transaction_builder_field_ref = 5;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
message TransactionBuilder {
|
|
131
|
-
int64 id = 1;
|
|
132
|
-
string name = 2;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
message TransactionBuilderWithDetails {
|
|
136
|
-
int64 id = 1;
|
|
137
|
-
string name = 2;
|
|
138
|
-
repeated TransactionBuilderFields transaction_builder_fields = 3;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
message TransactionBuilderWithDetailTableRes {
|
|
142
|
-
int64 id = 1;
|
|
143
|
-
string name = 2;
|
|
144
|
-
repeated TransactionBuilderFieldsTable transaction_builder_fields = 3;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
message TransactionBuilderWithDetailFormRes {
|
|
148
|
-
int64 id = 1;
|
|
149
|
-
string name = 2;
|
|
150
|
-
repeated TransactionBuilderFieldsForm transaction_builder_fields = 3;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
message TransactionBuilderWithDetailRes {
|
|
154
|
-
int64 id = 1;
|
|
155
|
-
string name = 2;
|
|
156
|
-
repeated TransactionBuilderFieldsDetail transaction_builder_fields = 3;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
message TransactionBuilderConfig {
|
|
160
|
-
string name = 1;
|
|
161
|
-
int64 transaction_builder_id = 2;
|
|
162
|
-
string type = 3;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
// request builder
|
|
166
|
-
message TransactionBuilderRequest { string name = 1; }
|
|
167
|
-
|
|
168
|
-
message GetTransactionBuilderById { int64 id = 1; }
|
|
169
|
-
|
|
170
|
-
message GetTransactionBuilderByIdWithDetail { int64 id = 1; }
|
|
171
|
-
|
|
172
|
-
message EditTransactionBuilderById {
|
|
173
|
-
int64 id = 1;
|
|
174
|
-
string name = 2;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
message GetTransactionBuilderList {
|
|
178
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
179
|
-
}
|
|
180
|
-
// request transaction field
|
|
181
|
-
message TransactionFieldsRequest {
|
|
182
|
-
int64 id = 1;
|
|
183
|
-
repeated TransactionBuilderFieldsBase transaction_builder_fields = 2;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
message GetTransactionFieldsById { int64 id = 1; }
|
|
187
|
-
|
|
188
|
-
message EditTransactionFieldsById {
|
|
189
|
-
TransactionBuilderFields transaction_field = 1;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
// request transaction config
|
|
193
|
-
message TransactionConfigRequest {
|
|
194
|
-
TransactionBuilderConfig transaction_builder_config = 1;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
message GetTransactionConfigById { int64 id = 1; }
|
|
198
|
-
|
|
199
|
-
message GetTransactionConfigList {
|
|
200
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
message EditTransactionConfigById {
|
|
204
|
-
TransactionBuilderConfig transaction_congfig = 1;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
// response builder
|
|
208
|
-
message ResponseTransactionBuilder {
|
|
209
|
-
TransactionBuilder transaction_builder = 1;
|
|
210
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
message ResponseTransactionBuilderWithDetailList {
|
|
214
|
-
repeated TransactionBuilderWithDetails transaction_builder = 1;
|
|
215
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
message ResponseTransactionBuilderWithDetails {
|
|
219
|
-
TransactionBuilderWithDetails transaction_builder = 1;
|
|
220
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
message ResponseTransactionBuilderWithDetailTable {
|
|
224
|
-
TransactionBuilderWithDetailTableRes transaction_builder = 1;
|
|
225
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
message ResponseTransactionBuilderWithDetailForm {
|
|
229
|
-
TransactionBuilderWithDetailFormRes transaction_builder = 1;
|
|
230
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
message ResponseTransactionBuilderWithDetail {
|
|
234
|
-
TransactionBuilderWithDetailRes transaction_builder = 1;
|
|
235
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
message ResponseTransactionBuilderList {
|
|
239
|
-
repeated TransactionBuilder transaction_builders = 1;
|
|
240
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
// response fields
|
|
244
|
-
message ResponseTransactionFieldsList {
|
|
245
|
-
repeated TransactionBuilderFields transaction_fields = 1;
|
|
246
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
message ResponseTransactionFields {
|
|
250
|
-
TransactionBuilderFieldsBase transaction_field = 1;
|
|
251
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
// response config
|
|
255
|
-
message ResponseTransactionConfig {
|
|
256
|
-
TransactionBuilderConfig transaction_builder_config = 1;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
message ResponseTransactionConfigList {
|
|
260
|
-
repeated TransactionBuilderConfig transaction_builder_config = 1;
|
|
261
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
262
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-core-service/protocgen/prisca/v1/core/unit_of_measurement";
|
|
4
|
-
|
|
5
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
6
|
-
|
|
7
|
-
//package prisca.v1.unit_of_measurement;
|
|
8
|
-
|
|
9
|
-
// Unit of Measurement Service
|
|
10
|
-
service UnitOfMeasurementService {
|
|
11
|
-
rpc CreateUnitOfMeasurement(CreateUnitOfMeasureRequest) returns (CreateUnitOfMeasureResponse);
|
|
12
|
-
rpc GetUnitOfMeasurementById(GetUnitOfMeasureByIdRequest) returns (GetUnitOfMeasureByIdResponse);
|
|
13
|
-
rpc GetListUnitOfMeasurements(GetListUnitOfMeasureRequest) returns (GetListUnitOfMeasureResponse);
|
|
14
|
-
rpc UpdateUnitOfMeasurement(UpdateUnitOfMeasureRequest) returns (UpdateUnitOfMeasureResponse);
|
|
15
|
-
rpc DeleteUnitOfMeasurement(DeleteUnitOfMeasureRequest) returns (DeleteUnitOfMeasureResponse);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
// Base Model
|
|
19
|
-
message UnitOfMeasure {
|
|
20
|
-
int64 id = 1;
|
|
21
|
-
string unit = 2;
|
|
22
|
-
string commercial = 3;
|
|
23
|
-
string technical = 4;
|
|
24
|
-
string commercial_description = 5;
|
|
25
|
-
string technical_description = 6;
|
|
26
|
-
bool is_active = 7;
|
|
27
|
-
string references_id = 8;
|
|
28
|
-
string created_at = 9; // Use ISO 8601 format for date strings
|
|
29
|
-
string updated_at = 10; // Optional, nullable
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
// Request Messages
|
|
33
|
-
message BaseUnitOfMeasureRequest {
|
|
34
|
-
string unit = 1;
|
|
35
|
-
string commercial = 2;
|
|
36
|
-
string technical = 3;
|
|
37
|
-
optional string commercial_description= 4;
|
|
38
|
-
optional string technical_description= 5;
|
|
39
|
-
bool is_active = 6;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
message CreateUnitOfMeasureRequest {
|
|
43
|
-
BaseUnitOfMeasureRequest base_unit_of_measure = 1;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
message UpdateUnitOfMeasureRequest {
|
|
47
|
-
string references_id =1;
|
|
48
|
-
BaseUnitOfMeasureRequest base_unit_of_measure = 2;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
message GetListUnitOfMeasureRequest {
|
|
52
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
53
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
message GetUnitOfMeasureByIdRequest {
|
|
57
|
-
string references_id =1;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
message DeleteUnitOfMeasureRequest {
|
|
61
|
-
string references_id =1;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
// Response Messages
|
|
65
|
-
message CreateUnitOfMeasureResponse {
|
|
66
|
-
UnitOfMeasure unit_of_measure = 1;
|
|
67
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
message UpdateUnitOfMeasureResponse {
|
|
71
|
-
UnitOfMeasure unit_of_measure = 1;
|
|
72
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
message GetListUnitOfMeasureResponse {
|
|
76
|
-
repeated UnitOfMeasure unit_of_measures = 1;
|
|
77
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
message GetUnitOfMeasureByIdResponse {
|
|
81
|
-
UnitOfMeasure unit_of_measure = 1;
|
|
82
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
message DeleteUnitOfMeasureResponse {
|
|
86
|
-
string references_id =1;
|
|
87
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
88
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-core-service/protocgen/prisca/v1/core/users";
|
|
4
|
-
|
|
5
|
-
message Users {
|
|
6
|
-
int32 id = 1;
|
|
7
|
-
string references_id = 2;
|
|
8
|
-
string name = 3;
|
|
9
|
-
string gender_ref_id = 4;
|
|
10
|
-
string phone_number = 5;
|
|
11
|
-
string email = 6;
|
|
12
|
-
string role_ref_id = 7;
|
|
13
|
-
string credential = 8;
|
|
14
|
-
string last_login = 9;
|
|
15
|
-
string last_credential_renewal = 10;
|
|
16
|
-
string device_mobile_id = 11;
|
|
17
|
-
string device_dekstop_id = 12;
|
|
18
|
-
string created_by = 13;
|
|
19
|
-
string updated_by = 14;
|
|
20
|
-
string created_at = 15;
|
|
21
|
-
string updated_at = 16;
|
|
22
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-core-service/protocgen/prisca/v1/core/users_role";
|
|
4
|
-
|
|
5
|
-
// Importing necessary dependencies
|
|
6
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
7
|
-
|
|
8
|
-
service RoleService {
|
|
9
|
-
rpc CreateUsersRole(CreateUsersRoleRequest) returns (CreateUsersRoleResponse);
|
|
10
|
-
rpc GetUsersRoleById(UsersRoleGetByIdRequest) returns (UsersRoleGetByIdResponse);
|
|
11
|
-
rpc UpdateUsersRole(UpdateUsersRoleRequest) returns (UpdateUsersRoleResponse);
|
|
12
|
-
rpc DeleteUsersRole(DeleteUsersRoleRequest) returns (DeleteUsersRoleResponse);
|
|
13
|
-
rpc GetListUsersRole(GetListUsersRoleRequest) returns (GetListUsersRoleResponse);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
message UsersRole {
|
|
17
|
-
string name = 1;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
message BaseUsersRole {
|
|
21
|
-
string references_id = 1;
|
|
22
|
-
string name = 2;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
message UsersRoleGetByIdRequest {
|
|
27
|
-
string references_id = 1;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
message CreateUsersRoleRequest {
|
|
31
|
-
UsersRole users_role = 1;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
message UpdateUsersRoleRequest {
|
|
35
|
-
string references_id = 1;
|
|
36
|
-
UsersRole users_role = 2;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
message DeleteUsersRoleRequest {
|
|
40
|
-
string references_id = 1;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
message DeleteUsersRoleResponse {
|
|
44
|
-
string references_id = 1;
|
|
45
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
message GetListUsersRoleRequest {
|
|
49
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
50
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
// Response Messages
|
|
54
|
-
message CreateUsersRoleResponse {
|
|
55
|
-
UsersRole users_role = 1;
|
|
56
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
message GetListUsersRoleResponse {
|
|
60
|
-
repeated UsersRole users_role = 1;
|
|
61
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
message UpdateUsersRoleResponse {
|
|
65
|
-
UsersRole users_role = 1;
|
|
66
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
message UsersRoleGetByIdResponse {
|
|
70
|
-
UsersRole users_role = 1;
|
|
71
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
72
|
-
}
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-core-service/protocgen/prisca/v1/core/work_location";
|
|
4
|
-
|
|
5
|
-
// Importing necessary dependencies
|
|
6
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
7
|
-
import "prisca/v1/core/location/location.proto";
|
|
8
|
-
import "prisca/v1/core/company/company.proto";
|
|
9
|
-
|
|
10
|
-
service WorkLocationService {
|
|
11
|
-
rpc CreateWorkLocation(CreateWorkLocationRequest) returns (CreateWorkLocationResponse);
|
|
12
|
-
rpc UpdateWorkLocation(UpdateWorkLocationRequest) returns (UpdateWorkLocationResponse);
|
|
13
|
-
rpc DeleteWorkLocation(DeleteWorkLocationRequest) returns (DeleteWorkLocationResponse);
|
|
14
|
-
rpc GetWorkLocationById(WorkLocationGetByIdRequest) returns (WorkLocationGetByIdResponse);
|
|
15
|
-
rpc GetListWorkLocation(GetListWorkLocationRequest) returns (GetListWorkLocationResponse);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
message WorkLocation {
|
|
19
|
-
string companies_references_id = 1;
|
|
20
|
-
string code = 2;
|
|
21
|
-
string location_name = 3;
|
|
22
|
-
string alias = 4;
|
|
23
|
-
string address = 5;
|
|
24
|
-
string letter_address_line1 = 6;
|
|
25
|
-
string letter_address_line2 = 7;
|
|
26
|
-
string letter_address_line3 = 8;
|
|
27
|
-
string phone_number = 9;
|
|
28
|
-
string email = 10;
|
|
29
|
-
string npwp = 11;
|
|
30
|
-
string npwp_address = 12;
|
|
31
|
-
double latitude = 13;
|
|
32
|
-
double longitude = 14;
|
|
33
|
-
int64 radius = 15;
|
|
34
|
-
string country_references_id = 16;
|
|
35
|
-
string village_references_id = 17;
|
|
36
|
-
string city_references_id = 18;
|
|
37
|
-
string district_references_id = 19;
|
|
38
|
-
string province_references_id = 20;
|
|
39
|
-
string area_references_id = 21;
|
|
40
|
-
string tax_office_location = 22;
|
|
41
|
-
string references_id = 23;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
message BaseWorkLocation {
|
|
45
|
-
string code = 1;
|
|
46
|
-
string location_name = 2;
|
|
47
|
-
string alias = 3;
|
|
48
|
-
string address = 4;
|
|
49
|
-
string letter_address_line1 = 5;
|
|
50
|
-
string letter_address_line2 = 6;
|
|
51
|
-
string letter_address_line3 = 7;
|
|
52
|
-
string phone_number = 8;
|
|
53
|
-
string email = 9;
|
|
54
|
-
string npwp = 10;
|
|
55
|
-
string npwp_address = 11;
|
|
56
|
-
double latitude = 12;
|
|
57
|
-
double longitude = 13;
|
|
58
|
-
int64 radius = 14;
|
|
59
|
-
string country_references_id = 15;
|
|
60
|
-
Country country = 16;
|
|
61
|
-
string village_references_id = 17;
|
|
62
|
-
Village village = 18;
|
|
63
|
-
string city_references_id = 19;
|
|
64
|
-
City city = 20;
|
|
65
|
-
string district_references_id = 21;
|
|
66
|
-
District district = 22;
|
|
67
|
-
string province_references_id = 23;
|
|
68
|
-
Province province = 24;
|
|
69
|
-
string area_references_id = 25;
|
|
70
|
-
string tax_office_location = 26;
|
|
71
|
-
string references_id = 27;
|
|
72
|
-
string companies_references_id = 28;
|
|
73
|
-
BaseCompanyParent company = 29;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
message WorkLocationGetByIdRequest {
|
|
77
|
-
string references_id =1;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
message CreateWorkLocationRequest {
|
|
81
|
-
WorkLocation work_location = 1;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
message UpdateWorkLocationRequest {
|
|
85
|
-
string references_id =1;
|
|
86
|
-
WorkLocation work_location = 2;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
message DeleteWorkLocationRequest {
|
|
90
|
-
string references_id =1;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
message DeleteWorkLocationResponse {
|
|
94
|
-
string references_id =1;
|
|
95
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
message GetListWorkLocationRequest {
|
|
99
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
100
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// Response Messages
|
|
104
|
-
message CreateWorkLocationResponse {
|
|
105
|
-
WorkLocation work_location = 1;
|
|
106
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
message GetListWorkLocationResponse {
|
|
110
|
-
repeated BaseWorkLocation work_location = 1;
|
|
111
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
message UpdateWorkLocationResponse {
|
|
115
|
-
WorkLocation work_location = 1;
|
|
116
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
message WorkLocationGetByIdResponse {
|
|
120
|
-
BaseWorkLocation work_location = 1;
|
|
121
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
122
|
-
}
|