@aldiokta/protocgen 1.1.19 → 1.1.20
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 +2674 -0
- package/prisca/v1/account_group/account_group_grpc_pb.js +200 -0
- package/prisca/v1/account_group/account_group_pb.js +2937 -0
- package/prisca/v1/bidding/bidding_grpc_pb.js +173 -0
- package/prisca/v1/bidding/bidding_pb.js +5616 -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 +2907 -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 +3048 -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 +4283 -0
- package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +44 -0
- package/prisca/v1/core/file_upload/file_upload_pb.js +872 -0
- package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +144 -0
- package/prisca/v1/core/incoterm/incoterm_pb.js +2497 -0
- package/prisca/v1/core/item_transaction/item_transaction_grpc_pb.js +1 -0
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +3880 -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_activity/line_of_activity_grpc_pb.js +45 -0
- package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +1188 -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 +3191 -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 +4180 -0
- package/prisca/v1/core/material_group/material_group_grpc_pb.js +178 -0
- package/prisca/v1/core/material_group/material_group_pb.js +2776 -0
- package/prisca/v1/core/material_type/material_type_grpc_pb.js +149 -0
- package/prisca/v1/core/material_type/material_type_pb.js +2697 -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 +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 +2926 -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/price_condition/price_condition_grpc_pb.js +146 -0
- package/prisca/v1/core/price_condition/price_condition_pb.js +2654 -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 +2582 -0
- package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +144 -0
- package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +2105 -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 +2798 -0
- package/prisca/v1/core/users/users_grpc_pb.js +45 -0
- package/prisca/v1/core/users/users_pb.js +1246 -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 +203 -0
- package/prisca/v1/core/workflow/workflow_pb.js +7525 -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_order/purchase_order_grpc_pb.js +228 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +4989 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +512 -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 +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 +145 -0
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +2543 -0
- package/prisca/v1/quotation/quotation_grpc_pb.js +152 -0
- package/prisca/v1/quotation/quotation_pb.js +2319 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +192 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +5703 -0
- package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +224 -0
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +6333 -0
- package/prisca/v1/account_assignment/account_assignment.proto +0 -79
- package/prisca/v1/account_group/account_group.proto +0 -86
- package/prisca/v1/bidding/bidding.proto +0 -159
- package/prisca/v1/chart_of_account/chart_of_account.proto +0 -87
- 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 -31
- package/prisca/v1/core/incoterm/incoterm.proto +0 -76
- package/prisca/v1/core/item_transaction/item_transaction.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_activity/line_of_activity.proto +0 -42
- package/prisca/v1/core/line_of_approval/line_of_approval.proto +0 -94
- 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 -86
- 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 -83
- 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 -77
- package/prisca/v1/core/term_of_payment/term_of_payment.proto +0 -64
- 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 -45
- package/prisca/v1/core/work_location/work_location.proto +0 -122
- package/prisca/v1/core/workflow/workflow.proto +0 -216
- package/prisca/v1/document_type/document_type.proto +0 -80
- package/prisca/v1/general_ledger_account/general_ledger_account.proto +0 -98
- package/prisca/v1/global/meta/meta.proto +0 -57
- package/prisca/v1/purchase_order/purchase_order.proto +0 -155
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto +0 -304
- package/prisca/v1/purchasing_group/purchasing_group.proto +0 -87
- package/prisca/v1/purchasing_organization/purchasing_organization.proto +0 -68
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.proto +0 -70
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.proto +0 -80
- package/prisca/v1/quotation/quotation.proto +0 -82
- package/prisca/v1/request_for_quotation/request_for_quotation.proto +0 -166
- package/prisca/v1/vendor_domain/vendor_domain.proto +0 -225
|
@@ -1,304 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/purchase_requisition_trx";
|
|
4
|
-
|
|
5
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
6
|
-
import "prisca/v1/core/transaction_builder/transaction_builder.proto";
|
|
7
|
-
import "prisca/v1/document_type/document_type.proto";
|
|
8
|
-
import "prisca/v1/core/employee/employee.proto";
|
|
9
|
-
import "prisca/v1/core/file_upload/file_upload.proto";
|
|
10
|
-
import "prisca/v1/core/item_transaction/item_transaction.proto";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
service PurchaseRequisitionTrxService {
|
|
14
|
-
rpc CreatePurchaseRequisitionTrx(CreatePurchaseRequisitionTrxRequest)
|
|
15
|
-
returns (CreatePurchaseRequisitionTrxResponse);
|
|
16
|
-
rpc UpdatePurchaseRequisitionTrx(UpdatePurchaseRequisitionTrxRequest)
|
|
17
|
-
returns (UpdatePurchaseRequisitionTrxResponse);
|
|
18
|
-
rpc UpdatePurchaseRequisitionStatusTrx(UpdatePurchaseRequisitionTrxStatusRequest)
|
|
19
|
-
returns (UpdatePurchaseRequisitionTrxResponse);
|
|
20
|
-
rpc GetPurchaseRequisitionTrxById(GetPurchaseRequisitionTrxByIdRequest)
|
|
21
|
-
returns (GetPurchaseRequisitionTrxByIdResponse);
|
|
22
|
-
rpc GetPurchaseRequisitionTrxRefId(GetPurchaseRequisitionTrxByRefRequest)
|
|
23
|
-
returns (GetPurchaseRequisitionTrxByRefResponse);
|
|
24
|
-
rpc GetPurchaseRequisitionTrxList(GetPurchaseRequisitionTrxListRequest)
|
|
25
|
-
returns (GetPurchaseRequisitionTrxListResponse);
|
|
26
|
-
rpc GetPurchaseRequisitionWithTrxId(
|
|
27
|
-
GetPurchaseRequisitionTrxDetailByIdRequest)
|
|
28
|
-
returns (GetPurchaseRequisitionTransactionTrxDetailPreloadResponse);
|
|
29
|
-
rpc GetPurchaseRequisitionWithTrxList(
|
|
30
|
-
GetPurchaseRequisitionTrxDetailListRequest)
|
|
31
|
-
returns (GetPurchaseRequisitionTrxDetailListResponse);
|
|
32
|
-
rpc GetPurchaseRequisitionWithTrxListTable(
|
|
33
|
-
GetPurchaseRequisitionTrxDetailListDetailRequest)
|
|
34
|
-
returns (GetPurchaseRequisitionTrxDetailListTableResponse);
|
|
35
|
-
rpc GetPurchaseRequisitionWithTrxListDetail(
|
|
36
|
-
GetPurchaseRequisitionTrxDetailListDetailRequest)
|
|
37
|
-
returns (GetPurchaseRequisitionTrxDetailListDetailResponse);
|
|
38
|
-
rpc CreatePurchaseRequisitionTemplate(CreatePurchaseRequisitionTemplateRequest)
|
|
39
|
-
returns (CreatePurchaseRequisitionTemplateResponse);
|
|
40
|
-
rpc GetPurchaseRequisitionTemplateById(GetPurchaseRequisitionTemplateByIdRequest)
|
|
41
|
-
returns (GetPurchaseRequisitionTemplateByIdResponse);
|
|
42
|
-
rpc GetPurchaseRequisitionTemplateList(GetPurchaseRequisitionTemplateListRequest)
|
|
43
|
-
returns (GetPurchaseRequisitionTemplateListResponse);
|
|
44
|
-
rpc DeletePurchaseRequisitionTemplate(DeletePurchaseRequisitionTemplateRequest)
|
|
45
|
-
returns (DeletePurchaseRequisitionTemplateResponse);
|
|
46
|
-
rpc UpdatePurchaseRequisitionTemplate(UpdatePurchaseRequisitionTemplateRequest)
|
|
47
|
-
returns (UpdatePurchaseRequisitionTemplateResponse);
|
|
48
|
-
rpc GetPurchaseRequisitionTrxByGroupRef(GetPurchaseRequisitionTrxByGroupRefRequest)
|
|
49
|
-
returns (GetPurchaseRequisitionTrxListResponse);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
message PurchaseRequisitionTrx {
|
|
53
|
-
int64 id = 1;
|
|
54
|
-
string title = 2;
|
|
55
|
-
string purchase_requisition_transaction_number = 3;
|
|
56
|
-
string item_category_ref = 4;
|
|
57
|
-
string account_assigment_ref = 5;
|
|
58
|
-
string currency_ref = 6;
|
|
59
|
-
string purchase_requisition_type = 7;
|
|
60
|
-
string department = 8;
|
|
61
|
-
string purchasing_organization = 9;
|
|
62
|
-
string email_cc = 10;
|
|
63
|
-
string plant_ref = 11;
|
|
64
|
-
string purchasing_group = 12;
|
|
65
|
-
string custom_transaction = 13;
|
|
66
|
-
repeated ItemTransaction item_transactions = 14;
|
|
67
|
-
string references_id = 15;
|
|
68
|
-
string group_references = 16;
|
|
69
|
-
bool is_expired = 17;
|
|
70
|
-
string created_at = 18; // ISO 8601
|
|
71
|
-
string updated_at = 19; // Nullable
|
|
72
|
-
string document_type_ref = 20;
|
|
73
|
-
string number_range_sequence = 21;
|
|
74
|
-
optional DocumentType document_type = 22;
|
|
75
|
-
string status = 23;
|
|
76
|
-
string created_by = 24; // ISO 8601
|
|
77
|
-
string updated_by = 25; // ISO 8601
|
|
78
|
-
string justification = 26;
|
|
79
|
-
repeated FileUploadReferencesReq files = 27;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
// req
|
|
84
|
-
message BasePurchaseRequisitionTrx {
|
|
85
|
-
string title = 1;
|
|
86
|
-
string purchase_requisition_transaction_number = 2;
|
|
87
|
-
string item_category_ref = 3;
|
|
88
|
-
string account_assigment_ref = 4;
|
|
89
|
-
string currency_ref = 5;
|
|
90
|
-
string purchase_requisition_type = 6;
|
|
91
|
-
string department = 7;
|
|
92
|
-
string purchasing_organization = 8;
|
|
93
|
-
string email_cc = 9;
|
|
94
|
-
string plant_ref = 10;
|
|
95
|
-
string purchasing_group = 11;
|
|
96
|
-
string custom_transaction = 12;
|
|
97
|
-
repeated BaseItemTransaction item_transactions = 13;
|
|
98
|
-
string document_type_ref = 14;
|
|
99
|
-
string companies_references_id = 15;
|
|
100
|
-
string status = 16;
|
|
101
|
-
string justification = 17;
|
|
102
|
-
repeated FileUploadReferencesReq files = 18;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
message BaseUpdatePurchaseRequisitionTrx {
|
|
106
|
-
string title = 1;
|
|
107
|
-
string purchase_requisition_transaction_number = 2;
|
|
108
|
-
string item_category_ref = 3;
|
|
109
|
-
string account_assigment_ref = 4;
|
|
110
|
-
string currency_ref = 5;
|
|
111
|
-
string purchase_requisition_type = 6;
|
|
112
|
-
string department = 7;
|
|
113
|
-
string purchasing_organization = 8;
|
|
114
|
-
string email_cc = 9;
|
|
115
|
-
string plant_ref = 10;
|
|
116
|
-
string purchasing_group = 11;
|
|
117
|
-
string custom_transaction = 12;
|
|
118
|
-
repeated BaseItemTransaction item_transactions = 13;
|
|
119
|
-
string document_type_ref = 14;
|
|
120
|
-
string status = 15;
|
|
121
|
-
string group_references = 16;
|
|
122
|
-
string references_id = 17;
|
|
123
|
-
string number_range_sequence = 18;
|
|
124
|
-
string justification = 19;
|
|
125
|
-
repeated FileUploadReferencesReq files = 20;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
message CreatePurchaseRequisitionTrxRequest {
|
|
130
|
-
BasePurchaseRequisitionTrx purchase_requisition_transaction = 1;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
message UpdatePurchaseRequisitionTrxRequest {
|
|
134
|
-
int64 id = 1;
|
|
135
|
-
BaseUpdatePurchaseRequisitionTrx purchase_requisition_transaction = 2;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
message UpdatePurchaseRequisitionTrxStatusRequest {
|
|
139
|
-
string status = 1;
|
|
140
|
-
string references_id = 2;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
message GetPurchaseRequisitionTrxByIdRequest {
|
|
144
|
-
int64 id = 1;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
message GetPurchaseRequisitionTrxByRefRequest {
|
|
148
|
-
string references_id = 1;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
message GetPurchaseRequisitionTrxByGroupRefRequest { string group_ref = 1; }
|
|
152
|
-
|
|
153
|
-
message GetPurchaseRequisitionTrxListRequest {
|
|
154
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
155
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
message GetPurchaseRequisitionTrxDetailByIdRequest {
|
|
159
|
-
int64 id = 1;
|
|
160
|
-
int64 trx_builder_id = 2;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
message GetPurchaseRequisitionTrxDetailListRequest {
|
|
164
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
165
|
-
int64 trx_builder_id = 2;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
message GetPurchaseRequisitionTrxDetailListDetailRequest {
|
|
169
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
170
|
-
int64 trx_builder_id = 2;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
message CreatePurchaseRequisitionTemplateRequest {
|
|
174
|
-
BasePurchaseRequisitionTrx purchase_requisition_transaction = 1;
|
|
175
|
-
string companies_references_id = 2;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
message GetPurchaseRequisitionTemplateByIdRequest {
|
|
179
|
-
int64 id = 1;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
message GetPurchaseRequisitionTemplateListRequest {
|
|
183
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
184
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
message DeletePurchaseRequisitionTemplateRequest {
|
|
188
|
-
int64 id = 1;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
message UpdatePurchaseRequisitionTemplateRequest {
|
|
192
|
-
int64 id = 1;
|
|
193
|
-
BaseUpdatePurchaseRequisitionTrx purchase_requisition_transaction = 2;
|
|
194
|
-
string companies_references_id = 3;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
// res
|
|
198
|
-
|
|
199
|
-
message CreatePurchaseRequisitionTrxResponse {
|
|
200
|
-
PurchaseRequisitionTrx purchase_requisition_transaction = 1;
|
|
201
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
message UpdatePurchaseRequisitionTrxResponse {
|
|
205
|
-
PurchaseRequisitionTrx purchase_requisition_transaction = 1;
|
|
206
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
message GetPurchaseRequisitionTrxByRefResponse {
|
|
210
|
-
PurchaseRequisitionTrx purchase_requisition_transaction = 1;
|
|
211
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
message GetPurchaseRequisitionTrxByIdResponse {
|
|
215
|
-
PurchaseRequisitionTrx purchase_requisition_transaction = 1;
|
|
216
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
message GetPurchaseRequisitionTrxListResponse {
|
|
220
|
-
repeated PurchaseRequisitionTrx purchase_requisition_transaction = 1;
|
|
221
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
message GetPurchaseRequisitionTrxDetailByIdResponse {
|
|
225
|
-
prisca.v1.core.transaction_builder.TransactionBuilderFields data = 1;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
message GetPurchaseRequisitionTrxDetaiPreloadlByIdResponse {
|
|
229
|
-
repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail pr_transaction_builder = 3;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
message GetPurchaseRequisitionTransactionTrxDetail {
|
|
233
|
-
repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail pr_transaction_builder = 1;
|
|
234
|
-
repeated GetItemTransactionTrxDetail pr_transaction_item = 2;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
message GetItemTransactionTrxDetail {
|
|
238
|
-
repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail pr_transaction_item_builder = 1;
|
|
239
|
-
repeated GetPurchaseRequisitionDetailTrxDetail
|
|
240
|
-
pr_transaction_item_detail_builder = 2;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
message GetPurchaseRequisitionDetailTrxDetail {
|
|
244
|
-
repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail
|
|
245
|
-
pr_transaction_item_builder = 1;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
message GetPurchaseRequisitionTrxDetailListResponse {
|
|
249
|
-
repeated prisca.v1.core.transaction_builder.TransactionBuilderWithDetails
|
|
250
|
-
data = 1;
|
|
251
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
message GetPurchaseRequisitionTrxDetailListTableResponse {
|
|
255
|
-
repeated
|
|
256
|
-
prisca.v1.core.transaction_builder.TransactionBuilderWithDetailTableRes
|
|
257
|
-
data = 1;
|
|
258
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
message GetPurchaseRequisitionTrxDetailListDetailResponse {
|
|
262
|
-
repeated prisca.v1.core.transaction_builder.TransactionBuilderWithDetailRes
|
|
263
|
-
data = 1;
|
|
264
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
message GetPurchaseRequisitionTransactionTrxDetailPreloadResponse {
|
|
268
|
-
repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail pr_transaction_builder = 1;
|
|
269
|
-
repeated GetPurchaseRequisitionTransactionTrxDetailItemPreload pr_transaction_builder_items = 2;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
message GetPurchaseRequisitionTransactionTrxDetailItemPreload {
|
|
273
|
-
repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail pr_transaction_builder_item = 1;
|
|
274
|
-
repeated GetPurchaseRequisitionTransactionTrxDetailItemDetailPreload pr_transaction_builder_item_details = 2;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
message GetPurchaseRequisitionTransactionTrxDetailItemDetailPreload {
|
|
278
|
-
repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail pr_transaction_builder_item_detail = 1;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
message CreatePurchaseRequisitionTemplateResponse {
|
|
282
|
-
PurchaseRequisitionTrx purchase_requisition_transaction = 1;
|
|
283
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
message GetPurchaseRequisitionTemplateByIdResponse {
|
|
287
|
-
PurchaseRequisitionTrx purchase_requisition_transaction = 1;
|
|
288
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
message GetPurchaseRequisitionTemplateListResponse {
|
|
292
|
-
repeated PurchaseRequisitionTrx purchase_requisition_transaction = 1;
|
|
293
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
message DeletePurchaseRequisitionTemplateResponse {
|
|
297
|
-
int64 id = 1;
|
|
298
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
message UpdatePurchaseRequisitionTemplateResponse {
|
|
302
|
-
PurchaseRequisitionTrx purchase_requisition_transaction = 1;
|
|
303
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
304
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/purchasing_group";
|
|
4
|
-
|
|
5
|
-
// Importing necessary dependencies
|
|
6
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
7
|
-
import "prisca/v1/core/company/company.proto";
|
|
8
|
-
|
|
9
|
-
service PurchasingGroupService {
|
|
10
|
-
rpc CreatePurchasingGroup(CreatePurchasingGroupRequest)
|
|
11
|
-
returns (CreatePurchasingGroupResponse);
|
|
12
|
-
rpc GetPurchasingGroupById(PurchasingGroupGetByIdRequest)
|
|
13
|
-
returns (PurchasingGroupGetByIdResponse);
|
|
14
|
-
rpc UpdatePurchasingGroup(UpdatePurchasingGroupRequest)
|
|
15
|
-
returns (UpdatePurchasingGroupResponse);
|
|
16
|
-
rpc GetListPurchasingGroup(GetListPurchasingGroupRequest)
|
|
17
|
-
returns (GetListPurchasingGroupResponse);
|
|
18
|
-
rpc DeletePurchasingGroup(DeletePurchasingGroupRequest)
|
|
19
|
-
returns (DeletePurchasingGroupResponse);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
message PurchasingGroup {
|
|
23
|
-
string references_id = 1;
|
|
24
|
-
string description = 2;
|
|
25
|
-
string telephone = 3;
|
|
26
|
-
string telephone_no_purchasing_group = 4;
|
|
27
|
-
string fax_number = 5;
|
|
28
|
-
int64 extension = 6;
|
|
29
|
-
string email_address = 7;
|
|
30
|
-
string companies_references_id = 8;
|
|
31
|
-
string code = 9;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
message BasePurchasingGroup {
|
|
35
|
-
string references_id = 1;
|
|
36
|
-
string description = 2;
|
|
37
|
-
string telephone = 3;
|
|
38
|
-
string telephone_no_purchasing_group = 4;
|
|
39
|
-
string fax_number = 5;
|
|
40
|
-
int64 extension = 6;
|
|
41
|
-
string email_address = 7;
|
|
42
|
-
string companies_references_id = 8;
|
|
43
|
-
Company company = 9;
|
|
44
|
-
string code = 10;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
message PurchasingGroupGetByIdRequest { string references_id = 1; }
|
|
48
|
-
|
|
49
|
-
message CreatePurchasingGroupRequest { PurchasingGroup purchasing_group = 1; }
|
|
50
|
-
|
|
51
|
-
message UpdatePurchasingGroupRequest {
|
|
52
|
-
string references_id = 1;
|
|
53
|
-
PurchasingGroup purchasing_group = 2;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
message DeletePurchasingGroupRequest { int64 id = 1; }
|
|
57
|
-
|
|
58
|
-
message GetListPurchasingGroupRequest {
|
|
59
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
60
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// Response Messages
|
|
64
|
-
message CreatePurchasingGroupResponse {
|
|
65
|
-
PurchasingGroup purchasing_group = 1;
|
|
66
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
message GetListPurchasingGroupResponse {
|
|
70
|
-
repeated BasePurchasingGroup purchasing_group = 1;
|
|
71
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
message UpdatePurchasingGroupResponse {
|
|
75
|
-
PurchasingGroup purchasing_group = 1;
|
|
76
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
message PurchasingGroupGetByIdResponse {
|
|
80
|
-
BasePurchasingGroup purchasing_group = 1;
|
|
81
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
message DeletePurchasingGroupResponse {
|
|
85
|
-
int64 id = 1;
|
|
86
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
87
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/purchasing_organization";
|
|
4
|
-
|
|
5
|
-
// Importing necessary dependencies
|
|
6
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
7
|
-
import "prisca/v1/core/company/company.proto";
|
|
8
|
-
|
|
9
|
-
service PurchasingOrganizationService {
|
|
10
|
-
rpc CreatePurchasingOrganization(CreatePurchasingOrganizationRequest)
|
|
11
|
-
returns (CreatePurchasingOrganizationResponse);
|
|
12
|
-
rpc GetPurchasingOrganizationById(PurchasingOrganizationGetByIdRequest)
|
|
13
|
-
returns (PurchasingOrganizationGetByIdResponse);
|
|
14
|
-
rpc UpdatePurchasingOrganization(UpdatePurchasingOrganizationRequest)
|
|
15
|
-
returns (UpdatePurchasingOrganizationResponse);
|
|
16
|
-
rpc GetListPurchasingOrganization(GetListPurchasingOrganizationRequest)
|
|
17
|
-
returns (GetListPurchasingOrganizationResponse);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
message PurchasingOrganization {
|
|
21
|
-
string references_id = 1;
|
|
22
|
-
string description = 2;
|
|
23
|
-
string code = 3;
|
|
24
|
-
bool validity = 4;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
message PurOrg {
|
|
28
|
-
string references_id = 1;
|
|
29
|
-
string code = 2;
|
|
30
|
-
string name = 3;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
message PurchasingOrganizationGetByIdRequest { string references_id = 1; }
|
|
34
|
-
|
|
35
|
-
message CreatePurchasingOrganizationRequest {
|
|
36
|
-
PurchasingOrganization purchasing_organization = 1;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
message UpdatePurchasingOrganizationRequest {
|
|
40
|
-
string references_id = 1;
|
|
41
|
-
PurchasingOrganization purchasing_organization = 2;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
message GetListPurchasingOrganizationRequest {
|
|
45
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
46
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
// Response Messages
|
|
50
|
-
message CreatePurchasingOrganizationResponse {
|
|
51
|
-
PurchasingOrganization purchasing_organization = 1;
|
|
52
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
message GetListPurchasingOrganizationResponse {
|
|
56
|
-
repeated PurchasingOrganization purchasing_organization = 1;
|
|
57
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
message UpdatePurchasingOrganizationResponse {
|
|
61
|
-
PurchasingOrganization purchasing_organization = 1;
|
|
62
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
message PurchasingOrganizationGetByIdResponse {
|
|
66
|
-
PurchasingOrganization purchasing_organization = 1;
|
|
67
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
68
|
-
}
|
package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.proto
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/purchasing_organization_assignment";
|
|
4
|
-
|
|
5
|
-
// Importing necessary dependencies
|
|
6
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
7
|
-
import "prisca/v1/purchasing_organization/purchasing_organization.proto";
|
|
8
|
-
import "prisca/v1/core/company/company.proto";
|
|
9
|
-
|
|
10
|
-
service AssignPOrganizationService {
|
|
11
|
-
rpc CreateAssignPOrganization(CreateAssignPOrganizationRequest)
|
|
12
|
-
returns (CreateAssignPOrganizationResponse);
|
|
13
|
-
rpc GetAssignPOrganizationById(AssignPOrganizationGetByIdRequest)
|
|
14
|
-
returns (AssignPOrganizationGetByIdResponse);
|
|
15
|
-
rpc UpdateAssignPOrganization(UpdateAssignPOrganizationRequest)
|
|
16
|
-
returns (UpdateAssignPOrganizationResponse);
|
|
17
|
-
rpc GetListAssignPOrganization(GetListAssignPOrganizationRequest)
|
|
18
|
-
returns (GetListAssignPOrganizationResponse);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
message AssignPOrganization {
|
|
22
|
-
string companies_references_id = 1;
|
|
23
|
-
string purchasing_organization_references_id = 2;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
message BaseAssignPOrganization {
|
|
27
|
-
string companies_references_id = 1;
|
|
28
|
-
string references_id = 2;
|
|
29
|
-
Company company = 3;
|
|
30
|
-
string purchasing_organization_references_id = 4;
|
|
31
|
-
PurchasingOrganization purchasing_organizations = 5;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
// Request Messages
|
|
35
|
-
message CreateAssignPOrganizationRequest {
|
|
36
|
-
AssignPOrganization assign_purchasing_organization = 1;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
message UpdateAssignPOrganizationRequest {
|
|
40
|
-
string references_id = 1;
|
|
41
|
-
AssignPOrganization assign_purchasing_organization = 2;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
message GetListAssignPOrganizationRequest {
|
|
45
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
46
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
message AssignPOrganizationGetByIdRequest { string references_id = 1; }
|
|
50
|
-
|
|
51
|
-
// Response Messages
|
|
52
|
-
message CreateAssignPOrganizationResponse {
|
|
53
|
-
AssignPOrganization assign_purchasing_organization = 1;
|
|
54
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
message GetListAssignPOrganizationResponse {
|
|
58
|
-
repeated BaseAssignPOrganization assign_purchasing_organization = 1;
|
|
59
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
message UpdateAssignPOrganizationResponse {
|
|
63
|
-
AssignPOrganization assign_purchasing_organization = 1;
|
|
64
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
message AssignPOrganizationGetByIdResponse {
|
|
68
|
-
BaseAssignPOrganization assign_purchasing_organization = 1;
|
|
69
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
70
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/purchasing_organization_plant";
|
|
4
|
-
|
|
5
|
-
// Importing necessary dependencies
|
|
6
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
7
|
-
import "prisca/v1/purchasing_organization/purchasing_organization.proto";
|
|
8
|
-
|
|
9
|
-
service PlantPOrganizationService {
|
|
10
|
-
rpc CreatePlantPOrganization(CreatePlantPOrganizationRequest)
|
|
11
|
-
returns (CreatePlantPOrganizationResponse);
|
|
12
|
-
rpc GetPlantPOrganizationById(PlantPOrganizationGetByIdRequest)
|
|
13
|
-
returns (PlantPOrganizationGetByIdResponse);
|
|
14
|
-
rpc UpdatePlantPOrganization(UpdatePlantPOrganizationRequest)
|
|
15
|
-
returns (UpdatePlantPOrganizationResponse);
|
|
16
|
-
rpc GetListPlantPOrganization(GetListPlantPOrganizationRequest)
|
|
17
|
-
returns (GetListPlantPOrganizationResponse);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
message PlantPOrganization {
|
|
21
|
-
string purchasing_organization_references_id = 1;
|
|
22
|
-
string plant_references_id = 2; // work_location
|
|
23
|
-
string code = 3;
|
|
24
|
-
string description = 4;
|
|
25
|
-
string companies_references_id = 5;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
message BasePlantPOrganization {
|
|
29
|
-
string references_id = 1;
|
|
30
|
-
POWorkLocation plant = 2;
|
|
31
|
-
string code = 3;
|
|
32
|
-
string description = 4;
|
|
33
|
-
string purchasing_organization_references_id = 5;
|
|
34
|
-
PurchasingOrganization purchasing_organizations = 6;
|
|
35
|
-
string companies_references_id = 7;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
message POWorkLocation {
|
|
39
|
-
string code = 1;
|
|
40
|
-
string location_name = 2;
|
|
41
|
-
string references_id = 3;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
// Request Messages
|
|
45
|
-
message CreatePlantPOrganizationRequest {
|
|
46
|
-
PlantPOrganization plant_purchasing_organization = 1;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
message UpdatePlantPOrganizationRequest {
|
|
50
|
-
string references_id = 1;
|
|
51
|
-
PlantPOrganization plant_purchasing_organization = 2;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
message GetListPlantPOrganizationRequest {
|
|
55
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
56
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
message PlantPOrganizationGetByIdRequest { string references_id = 1; }
|
|
60
|
-
|
|
61
|
-
// Response Messages
|
|
62
|
-
message CreatePlantPOrganizationResponse {
|
|
63
|
-
PlantPOrganization Plant_purchasing_organization = 1;
|
|
64
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
message GetListPlantPOrganizationResponse {
|
|
68
|
-
repeated BasePlantPOrganization plant_purchasing_organization = 1;
|
|
69
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
message UpdatePlantPOrganizationResponse {
|
|
73
|
-
PlantPOrganization plant_purchasing_organization = 1;
|
|
74
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
message PlantPOrganizationGetByIdResponse {
|
|
78
|
-
BasePlantPOrganization plant_purchasing_organization = 1;
|
|
79
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
80
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/quotation";
|
|
4
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
5
|
-
import "prisca/v1/vendor_domain/vendor_domain.proto";
|
|
6
|
-
import "prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto";
|
|
7
|
-
import "prisca/v1/core/transaction_builder/transaction_builder.proto";
|
|
8
|
-
import "prisca/v1/core/item_transaction/item_transaction.proto";
|
|
9
|
-
import "prisca/v1/core/employee/employee.proto";
|
|
10
|
-
import "prisca/v1/core/file_upload/file_upload.proto";
|
|
11
|
-
import "prisca/v1/request_for_quotation/request_for_quotation.proto";
|
|
12
|
-
import "prisca/v1/bidding/bidding.proto";
|
|
13
|
-
|
|
14
|
-
service QuotationService {
|
|
15
|
-
rpc GetQuotationById(GetQuotationByIdRequest) returns (GetQuotationByIdResponse);
|
|
16
|
-
rpc GetQuotationByIdDetail(GetQuotationByIdRequest) returns (GetQuotationDetailResponse);
|
|
17
|
-
rpc GetListQuotations(GetListQuotationRequest) returns (GetListQuotationResponse);
|
|
18
|
-
rpc UpdateQuotation (UpdateQuotationRequest) returns (UpdateQuotationResponse);
|
|
19
|
-
rpc SetWinner (UpdateQuotationRequest) returns (UpdateQuotationResponse);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// Order Messages
|
|
23
|
-
message BaseQuotationRequest {
|
|
24
|
-
string description = 1;
|
|
25
|
-
string detail = 2; // Represents json.RawMessage
|
|
26
|
-
float pr_quantity = 3;
|
|
27
|
-
float remaining_quantity_po = 4;
|
|
28
|
-
string replacement = 5;
|
|
29
|
-
float quantity = 6;
|
|
30
|
-
float price = 7;
|
|
31
|
-
string vendor_references_id = 8;
|
|
32
|
-
string bidding_references_id = 9; // Unique
|
|
33
|
-
string term_of_payment = 10; // Represents json.RawMessage
|
|
34
|
-
string delivery_date = 11; // Nullable (ISO 8601 format)
|
|
35
|
-
string delivery_point = 12;
|
|
36
|
-
string vendor_source = 13;
|
|
37
|
-
bool set_winner = 14; // Default: false
|
|
38
|
-
string notes_for_vendor = 15;
|
|
39
|
-
string term_of_condition = 16; // Represents json.RawMessage
|
|
40
|
-
string custom_transaction = 17; // Represents json.RawMessage
|
|
41
|
-
string plant = 18; // json.RawMessage
|
|
42
|
-
string department = 19; // json.RawMessage
|
|
43
|
-
repeated ItemTransaction item_transactions = 20;
|
|
44
|
-
bool visible = 21;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
//request
|
|
48
|
-
message GetQuotationByIdRequest {
|
|
49
|
-
string references_id = 1;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
message UpdateQuotationRequest {
|
|
53
|
-
BaseQuotationRequest base_quotation = 1;
|
|
54
|
-
string references_id = 2;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
message GetListQuotationRequest {
|
|
58
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
59
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
//response
|
|
63
|
-
|
|
64
|
-
message GetQuotationByIdResponse {
|
|
65
|
-
Quotation quotation = 1;
|
|
66
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
message GetQuotationDetailResponse {
|
|
70
|
-
repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder = 1;
|
|
71
|
-
repeated GetQuotationItemPreload transaction_builder_items = 2;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
message GetListQuotationResponse {
|
|
75
|
-
repeated Quotation quotations = 1;
|
|
76
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
message UpdateQuotationResponse {
|
|
80
|
-
Quotation quotation = 1;
|
|
81
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
82
|
-
}
|