@aldiokta/protocgen 1.1.23 → 1.1.25
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 +2726 -0
- package/prisca/v1/account_group/account_group_grpc_pb.js +200 -0
- package/prisca/v1/account_group/account_group_pb.js +2989 -0
- package/prisca/v1/bidding/bidding_grpc_pb.js +294 -0
- package/prisca/v1/bidding/bidding_pb.js +7488 -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 +2959 -0
- package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +544 -0
- package/prisca/v1/core/access_manager/access_manager_pb.js +9383 -0
- package/prisca/v1/core/auth/auth_grpc_pb.js +423 -0
- package/prisca/v1/core/auth/auth_pb.js +4497 -0
- package/prisca/v1/core/chat_messaging/chat_messaging_grpc_pb.js +111 -0
- package/prisca/v1/core/chat_messaging/chat_messaging_pb.js +1531 -0
- package/prisca/v1/core/company/company_grpc_pb.js +178 -0
- package/prisca/v1/core/company/company_pb.js +3100 -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 +206 -0
- package/prisca/v1/core/employee/employee_pb.js +4335 -0
- package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +44 -0
- package/prisca/v1/core/file_upload/file_upload_pb.js +1052 -0
- package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +177 -0
- package/prisca/v1/core/incoterm/incoterm_pb.js +2904 -0
- package/prisca/v1/core/item_transaction/item_transaction_grpc_pb.js +1 -0
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +4330 -0
- package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +178 -0
- package/prisca/v1/core/job_grade/job_grade_pb.js +2657 -0
- package/prisca/v1/core/job_position/job_position_grpc_pb.js +181 -0
- package/prisca/v1/core/job_position/job_position_pb.js +3814 -0
- package/prisca/v1/core/job_title/job_title_grpc_pb.js +178 -0
- package/prisca/v1/core/job_title/job_title_pb.js +3010 -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 +2087 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +200 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +3251 -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 +182 -0
- package/prisca/v1/core/material/material_pb.js +4232 -0
- package/prisca/v1/core/material_group/material_group_grpc_pb.js +178 -0
- package/prisca/v1/core/material_group/material_group_pb.js +2828 -0
- package/prisca/v1/core/material_type/material_type_grpc_pb.js +182 -0
- package/prisca/v1/core/material_type/material_type_pb.js +3104 -0
- package/prisca/v1/core/messaging/email_template_grpc_pb.js +177 -0
- package/prisca/v1/core/messaging/email_template_pb.js +2664 -0
- package/prisca/v1/core/messaging/messaging_grpc_pb.js +56 -0
- package/prisca/v1/core/messaging/messaging_pb.js +896 -0
- package/prisca/v1/core/number_range/number_range_grpc_pb.js +178 -0
- package/prisca/v1/core/number_range/number_range_pb.js +2978 -0
- package/prisca/v1/core/organization/organization_grpc_pb.js +180 -0
- package/prisca/v1/core/organization/organization_pb.js +3084 -0
- package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +178 -0
- package/prisca/v1/core/organization_level/organization_level_pb.js +2597 -0
- package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +179 -0
- package/prisca/v1/core/price_condition/price_condition_pb.js +3061 -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/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/report/report_grpc_pb.js +200 -0
- package/prisca/v1/core/report/report_pb.js +2822 -0
- package/prisca/v1/core/report/user_report_grpc_pb.js +179 -0
- package/prisca/v1/core/report/user_report_pb.js +2452 -0
- package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +177 -0
- package/prisca/v1/core/tax_code/tax_code_pb.js +2784 -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 +2512 -0
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +498 -0
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +10976 -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 +2850 -0
- package/prisca/v1/core/users/users_grpc_pb.js +78 -0
- package/prisca/v1/core/users/users_pb.js +1653 -0
- package/prisca/v1/core/work_location/work_location_grpc_pb.js +179 -0
- package/prisca/v1/core/work_location/work_location_pb.js +4024 -0
- package/prisca/v1/core/workflow/workflow_grpc_pb.js +203 -0
- package/prisca/v1/core/workflow/workflow_pb.js +7577 -0
- package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +229 -0
- package/prisca/v1/delivery_order/delivery_order_pb.js +4661 -0
- package/prisca/v1/document_type/document_type_grpc_pb.js +178 -0
- package/prisca/v1/document_type/document_type_pb.js +2798 -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 +3328 -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/good_receipt/good_receipt_grpc_pb.js +1 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +35 -0
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +228 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +5049 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +523 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +9917 -0
- package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +178 -0
- package/prisca/v1/purchasing_group/purchasing_group_pb.js +2927 -0
- package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +178 -0
- package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +2546 -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 +2590 -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 +2543 -0
- package/prisca/v1/quotation/quotation_grpc_pb.js +207 -0
- package/prisca/v1/quotation/quotation_pb.js +3582 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +193 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +5961 -0
- package/prisca/v1/valuation/valuation_grpc_pb.js +366 -0
- package/prisca/v1/valuation/valuation_pb.js +7812 -0
- package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +224 -0
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +6363 -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 -221
- package/prisca/v1/chart_of_account/chart_of_account.proto +0 -89
- package/prisca/v1/core/access_manager/access_manager.proto +0 -281
- package/prisca/v1/core/auth/auth.proto +0 -150
- package/prisca/v1/core/chat_messaging/chat_messaging.proto +0 -55
- 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 -37
- package/prisca/v1/core/incoterm/incoterm.proto +0 -85
- package/prisca/v1/core/item_transaction/item_transaction.proto +0 -134
- 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 -66
- package/prisca/v1/core/line_of_approval/line_of_approval.proto +0 -96
- 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 -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 -75
- package/prisca/v1/core/messaging/messaging.proto +0 -29
- 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 -93
- 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 -325
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +0 -88
- 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 -218
- package/prisca/v1/delivery_order/delivery_order.proto +0 -147
- package/prisca/v1/document_type/document_type.proto +0 -82
- 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 -11
- package/prisca/v1/purchase_order/purchase_order.proto +0 -157
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto +0 -306
- package/prisca/v1/purchasing_group/purchasing_group.proto +0 -89
- package/prisca/v1/purchasing_organization/purchasing_organization.proto +0 -79
- 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 -118
- package/prisca/v1/request_for_quotation/request_for_quotation.proto +0 -174
- package/prisca/v1/valuation/valuation.proto +0 -223
- package/prisca/v1/vendor_domain/vendor_domain.proto +0 -226
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/valuation";
|
|
4
|
-
import "prisca/v1/core/employee/employee.proto";
|
|
5
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
6
|
-
import "prisca/v1/vendor_domain/vendor_domain.proto";
|
|
7
|
-
|
|
8
|
-
service ValuationService {
|
|
9
|
-
rpc CreateValuationIndicator(CreateValuationIndicatorRequest) returns (CreateValuationIndicatorResponse);
|
|
10
|
-
rpc UpdateValuationIndicator(UpdateValuationIndicatorRequest) returns (UpdateValuationIndicatorResponse);
|
|
11
|
-
rpc DeleteValuationIndicator(DeleteValuationIndicatorRequest) returns (DeleteValuationIndicatorResponse);
|
|
12
|
-
rpc GetListValuationIndicators(GetListValuationIndicatorRequest)
|
|
13
|
-
returns (GetListValuationIndicatorResponse);
|
|
14
|
-
rpc CreateValuationScale(CreateValuationScaleRequest) returns (CreateValuationScaleResponse);
|
|
15
|
-
rpc UpdateValuationScale(UpdateValuationScaleRequest) returns (UpdateValuationScaleResponse);
|
|
16
|
-
rpc DeleteValuationScale(DeleteValuationScaleRequest) returns (DeleteValuationScaleResponse);
|
|
17
|
-
rpc GetListValuationScales(GetListValuationScaleRequest)
|
|
18
|
-
returns (GetListValuationScaleResponse);
|
|
19
|
-
rpc CreateValuationDefault(CreateValuationDefaultRequest) returns (ValuationUpdateResponse);
|
|
20
|
-
rpc FindValuationBuilder(GetListValuationRequest) returns (ValuationBuilderResponse);
|
|
21
|
-
rpc SetValuation(ValuationUpdateRequest) returns (ValuationUpdateResponse);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
//valuation
|
|
25
|
-
|
|
26
|
-
message Valuation {
|
|
27
|
-
int64 id = 1;
|
|
28
|
-
string references_id = 2;
|
|
29
|
-
string created_by = 3;
|
|
30
|
-
string updated_by = 4;
|
|
31
|
-
string updated_at = 5;
|
|
32
|
-
string created_at = 6;
|
|
33
|
-
optional Employee created_by_employee = 7;
|
|
34
|
-
optional Employee updated_by_employee = 8;
|
|
35
|
-
string companies_references_id = 9;
|
|
36
|
-
string bidding_references_id = 10;
|
|
37
|
-
string vendor_references_id = 11;
|
|
38
|
-
string quotation_references_id = 12;
|
|
39
|
-
string valuation_indicator_references_id = 13;
|
|
40
|
-
string valuation_scale_references_id = 14;
|
|
41
|
-
optional ValuationIndicator valuation_indicator = 15;
|
|
42
|
-
optional ValuationScale valuation_scale = 16;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
message BaseValuationReq {
|
|
46
|
-
string valuation_indicator_references_id = 1;
|
|
47
|
-
string valuation_scale_references_id = 2;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
message ValuationUpdateRequest {
|
|
51
|
-
string quotation_references_id = 1;
|
|
52
|
-
repeated BaseValuationReq base_valuation = 2;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
message ValuationUpdateResponse {
|
|
56
|
-
repeated Valuation valuation = 1;
|
|
57
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
message BaseValuationBuilder {
|
|
61
|
-
string name = 1;
|
|
62
|
-
string indicator_references_id = 2;
|
|
63
|
-
float point = 3;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
message ValuationBuilderResponse {
|
|
67
|
-
repeated BaseValuationBuilder valuation_builders = 1;
|
|
68
|
-
repeated ValuationScale valuation_scales = 2;
|
|
69
|
-
string bidding_references_id = 3;
|
|
70
|
-
string vendor_references_id = 4;
|
|
71
|
-
optional Vendor vendor = 5;
|
|
72
|
-
prisca.v1.global.meta.Meta meta =6;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
message GetListValuationRequest {
|
|
76
|
-
string quotation_references_id = 1;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
message CreateValuationDefaultRequest {
|
|
80
|
-
string quotation_references_id = 1;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
//valuation indicator
|
|
84
|
-
message ValuationIndicator {
|
|
85
|
-
int64 id = 1;
|
|
86
|
-
string name = 2;
|
|
87
|
-
string description = 3;
|
|
88
|
-
string references_id = 4;
|
|
89
|
-
string created_by = 5;
|
|
90
|
-
string updated_by = 6;
|
|
91
|
-
string updated_at = 7;
|
|
92
|
-
string created_at = 8;
|
|
93
|
-
optional Employee created_by_employee = 9;
|
|
94
|
-
optional Employee updated_by_employee = 10;
|
|
95
|
-
string companies_references_id = 11;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
message BaseValuationIndicatorRequest {
|
|
99
|
-
string name = 1;
|
|
100
|
-
string description = 2;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
message CreateValuationIndicatorRequest {
|
|
104
|
-
BaseValuationIndicatorRequest base_valuation_indicator = 1;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
message UpdateValuationIndicatorRequest {
|
|
108
|
-
string references_id =1;
|
|
109
|
-
BaseValuationIndicatorRequest base_valuation_indicator = 2;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
message DeleteValuationIndicatorRequest {
|
|
113
|
-
string references_id =1;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
message GetValuationIndicatorByIdRequest {
|
|
117
|
-
string references_id =1;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
message GetListValuationIndicatorRequest {
|
|
121
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
122
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
// Response Messages
|
|
126
|
-
message CreateValuationIndicatorResponse {
|
|
127
|
-
ValuationIndicator valuation_indicator = 1;
|
|
128
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
message UpdateValuationIndicatorResponse {
|
|
132
|
-
ValuationIndicator valuation_indicator = 1;
|
|
133
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
message DeleteValuationIndicatorResponse {
|
|
137
|
-
string references_id =1;
|
|
138
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
message GetValuationIndicatorByIdResponse {
|
|
142
|
-
ValuationIndicator valuation_indicator = 1;
|
|
143
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
message GetListValuationIndicatorResponse {
|
|
147
|
-
repeated ValuationIndicator valuation_indicators = 1;
|
|
148
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
//valuation scale
|
|
152
|
-
message ValuationScale {
|
|
153
|
-
int64 id = 1;
|
|
154
|
-
string name = 2;
|
|
155
|
-
string description = 3;
|
|
156
|
-
string references_id = 4;
|
|
157
|
-
string created_by = 5;
|
|
158
|
-
string updated_by = 6;
|
|
159
|
-
string updated_at = 7;
|
|
160
|
-
string created_at = 8;
|
|
161
|
-
optional Employee created_by_employee = 9;
|
|
162
|
-
optional Employee updated_by_employee = 10;
|
|
163
|
-
string companies_references_id = 11;
|
|
164
|
-
float point = 12;
|
|
165
|
-
float order_point = 13;
|
|
166
|
-
string color = 14;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
message BaseValuationScaleRequest {
|
|
170
|
-
string name = 1;
|
|
171
|
-
string description = 2;
|
|
172
|
-
float point = 3;
|
|
173
|
-
float order_point = 4;
|
|
174
|
-
string color = 5;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
message CreateValuationScaleRequest {
|
|
178
|
-
BaseValuationScaleRequest base_valuation_scale = 1;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
message UpdateValuationScaleRequest {
|
|
182
|
-
string references_id =1;
|
|
183
|
-
BaseValuationScaleRequest base_valuation_scale = 2;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
message DeleteValuationScaleRequest {
|
|
187
|
-
string references_id =1;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
message GetValuationScaleByIdRequest {
|
|
191
|
-
string references_id =1;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
message GetListValuationScaleRequest {
|
|
195
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
196
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
// Response Messages
|
|
200
|
-
message CreateValuationScaleResponse {
|
|
201
|
-
ValuationScale valuation_scale = 1;
|
|
202
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
message UpdateValuationScaleResponse {
|
|
206
|
-
ValuationScale valuation_scale = 1;
|
|
207
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
message DeleteValuationScaleResponse {
|
|
211
|
-
string references_id =1;
|
|
212
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
message GetValuationScaleByIdResponse {
|
|
216
|
-
ValuationScale valuation_scale = 1;
|
|
217
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
message GetListValuationScaleResponse {
|
|
221
|
-
repeated ValuationScale valuation_scales = 1;
|
|
222
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
223
|
-
}
|
|
@@ -1,226 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/vendor_domain";
|
|
4
|
-
|
|
5
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
6
|
-
import "prisca/v1/core/file_upload/file_upload.proto";
|
|
7
|
-
import "prisca/v1/core/transaction_builder/transaction_builder.proto";
|
|
8
|
-
//package prisca.v1.vendor_domain;
|
|
9
|
-
|
|
10
|
-
// Unit of Measurement Service
|
|
11
|
-
service VendorService {
|
|
12
|
-
rpc CreateVendor(CreateVendorRequest) returns (CreateVendorResponse);
|
|
13
|
-
rpc GetVendorById(GetVendorByIdRequest) returns (GetVendorByIdResponse);
|
|
14
|
-
rpc GetVendorByIdDetail(GetVendorByIdRequest) returns (GetVendorDetailResponse);
|
|
15
|
-
rpc GetVendorProfile(GetVendorProfileRequest) returns (GetVendorByIdResponse);
|
|
16
|
-
rpc GetListVendors(GetListVendorRequest) returns (GetListVendorResponse);
|
|
17
|
-
rpc UpdateVendor(UpdateVendorRequest) returns (UpdateVendorResponse);
|
|
18
|
-
rpc DeleteVendor(DeleteVendorRequest) returns (DeleteVendorResponse);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
message Vendor {
|
|
22
|
-
int64 id = 1;
|
|
23
|
-
string name = 2;
|
|
24
|
-
string references_id = 3;
|
|
25
|
-
string alias_name = 4;
|
|
26
|
-
string legal_form = 5;
|
|
27
|
-
string organization_title = 6;
|
|
28
|
-
string grouping = 7;
|
|
29
|
-
string organization = 8;
|
|
30
|
-
string status = 9;
|
|
31
|
-
bool one_time_status = 10;
|
|
32
|
-
string created_at = 11; // ISO 8601 format
|
|
33
|
-
string updated_at = 12; // Nullable
|
|
34
|
-
|
|
35
|
-
// Address Information
|
|
36
|
-
string street = 13;
|
|
37
|
-
string house_number = 14;
|
|
38
|
-
string city = 15;
|
|
39
|
-
string postal_code = 16;
|
|
40
|
-
string country = 17;
|
|
41
|
-
string region = 18;
|
|
42
|
-
string language = 19;
|
|
43
|
-
|
|
44
|
-
// Industry
|
|
45
|
-
string industry = 20;
|
|
46
|
-
|
|
47
|
-
// Roles
|
|
48
|
-
string business_partner_role = 21;
|
|
49
|
-
string valid_from = 22;
|
|
50
|
-
string valid_to = 23;
|
|
51
|
-
|
|
52
|
-
// Bank Accounts
|
|
53
|
-
repeated BankAccount bank_accounts = 24;
|
|
54
|
-
|
|
55
|
-
// Contacts
|
|
56
|
-
repeated Contact contacts = 25;
|
|
57
|
-
|
|
58
|
-
// Communication
|
|
59
|
-
repeated Communication communications = 26;
|
|
60
|
-
|
|
61
|
-
// Relationships
|
|
62
|
-
repeated Relationship relationships = 27;
|
|
63
|
-
|
|
64
|
-
// Tax Information
|
|
65
|
-
repeated TaxInformation tax_information = 28;
|
|
66
|
-
|
|
67
|
-
// Attachments
|
|
68
|
-
string file_ids = 29;
|
|
69
|
-
repeated FileUploadReferencesReq files = 30;
|
|
70
|
-
|
|
71
|
-
// Notes
|
|
72
|
-
string vendor_description = 31;
|
|
73
|
-
bool is_send_to_vendor = 32;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
message BankAccount {
|
|
77
|
-
string id = 1;
|
|
78
|
-
string account_name = 2;
|
|
79
|
-
string account_number = 3;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
message Contact {
|
|
83
|
-
string first_name = 1;
|
|
84
|
-
string last_name = 2;
|
|
85
|
-
string valid_from = 3;
|
|
86
|
-
string valid_to = 4;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
message Relationship {
|
|
90
|
-
string category = 1;
|
|
91
|
-
string business_partner = 2;
|
|
92
|
-
string valid_from = 3;
|
|
93
|
-
string valid_to = 4;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
message Communication {
|
|
97
|
-
string telephone = 1;
|
|
98
|
-
string cell_phone = 2;
|
|
99
|
-
string fax = 3;
|
|
100
|
-
string email = 4;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
message TaxInformation {
|
|
104
|
-
string tax_number = 1;
|
|
105
|
-
string tax_category = 2;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
message Attachment {
|
|
109
|
-
string file_name = 1;
|
|
110
|
-
string file_url = 2;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
// Request Messages
|
|
115
|
-
message BaseVendorRequest {
|
|
116
|
-
string name = 1;
|
|
117
|
-
string alias_name = 2;
|
|
118
|
-
string legal_form = 3;
|
|
119
|
-
string organization_title = 4;
|
|
120
|
-
string grouping = 5;
|
|
121
|
-
string organization = 6;
|
|
122
|
-
string status = 7;
|
|
123
|
-
|
|
124
|
-
// Address Information
|
|
125
|
-
string street = 8;
|
|
126
|
-
string house_number = 9;
|
|
127
|
-
string city = 10;
|
|
128
|
-
string postal_code = 11;
|
|
129
|
-
string country = 12;
|
|
130
|
-
string region = 13;
|
|
131
|
-
string language = 14;
|
|
132
|
-
|
|
133
|
-
// Industry
|
|
134
|
-
string industry = 15;
|
|
135
|
-
|
|
136
|
-
// Roles
|
|
137
|
-
string business_partner_role = 16;
|
|
138
|
-
string valid_from = 17;
|
|
139
|
-
string valid_to = 18;
|
|
140
|
-
|
|
141
|
-
// Bank Accounts
|
|
142
|
-
repeated BankAccount bank_accounts = 19;
|
|
143
|
-
|
|
144
|
-
// Contacts
|
|
145
|
-
repeated Contact contacts = 20;
|
|
146
|
-
|
|
147
|
-
// Communication
|
|
148
|
-
repeated Communication communications = 21;
|
|
149
|
-
// Relationships
|
|
150
|
-
repeated Relationship relationships = 22;
|
|
151
|
-
|
|
152
|
-
// Tax Information
|
|
153
|
-
repeated TaxInformation tax_information = 23;
|
|
154
|
-
|
|
155
|
-
// Attachments
|
|
156
|
-
repeated FileUploadReferencesReq files = 24;
|
|
157
|
-
|
|
158
|
-
// Notes
|
|
159
|
-
string vendor_description = 25;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
message CreateVendorRequest {
|
|
164
|
-
BaseVendorRequest base_vendor = 1;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
message UpdateVendorRequest {
|
|
168
|
-
string references_id =1;
|
|
169
|
-
BaseVendorRequest base_vendor = 2;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
message GetListVendorRequest {
|
|
173
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
174
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
message GetVendorByIdRequest {
|
|
178
|
-
string references_id =1;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
message GetVendorProfileRequest {
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
message DeleteVendorRequest {
|
|
185
|
-
string references_id =1;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
// Response Messages
|
|
189
|
-
message CreateVendorResponse {
|
|
190
|
-
Vendor vendor = 1;
|
|
191
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
message UpdateVendorResponse {
|
|
195
|
-
Vendor vendor = 1;
|
|
196
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
message GetListVendorResponse {
|
|
200
|
-
repeated Vendor vendors = 1;
|
|
201
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
message GetVendorByIdResponse {
|
|
205
|
-
Vendor vendor = 1;
|
|
206
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
message DeleteVendorResponse {
|
|
210
|
-
string references_id =1;
|
|
211
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
message GetVendorDetailResponse {
|
|
215
|
-
repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder = 1;
|
|
216
|
-
repeated GetVendorItemPreload transaction_builder_items = 2;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
message GetVendorItemPreload {
|
|
220
|
-
repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder_item = 1;
|
|
221
|
-
repeated GetVendorItemDetailPreload transaction_builder_item_details = 2;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
message GetVendorItemDetailPreload {
|
|
225
|
-
repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder_item_detail = 1;
|
|
226
|
-
}
|