@aldiokta/protocgen 1.1.22 → 1.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/prisca/v1/account_assignment/account_assignment.proto +81 -0
- package/prisca/v1/account_group/account_group.proto +88 -0
- package/prisca/v1/bidding/bidding.proto +221 -0
- package/prisca/v1/chart_of_account/chart_of_account.proto +89 -0
- package/prisca/v1/core/access_manager/access_manager.proto +281 -0
- package/prisca/v1/core/auth/auth.proto +150 -0
- package/prisca/v1/core/chat_messaging/chat_messaging.proto +55 -0
- package/prisca/v1/core/company/company.proto +92 -0
- package/prisca/v1/core/currency/currency.proto +76 -0
- package/prisca/v1/core/department_material/department_material.proto +69 -0
- package/prisca/v1/core/employee/employee.proto +129 -0
- package/prisca/v1/core/file_upload/file_upload.proto +37 -0
- package/prisca/v1/core/incoterm/incoterm.proto +85 -0
- package/prisca/v1/core/item_transaction/item_transaction.proto +134 -0
- package/prisca/v1/core/job_grade/job_grade.proto +79 -0
- package/prisca/v1/core/job_position/job_position.proto +113 -0
- package/prisca/v1/core/job_title/job_title.proto +89 -0
- package/prisca/v1/core/line_of_activity/line_of_activity.proto +66 -0
- package/prisca/v1/core/line_of_approval/line_of_approval.proto +96 -0
- package/prisca/v1/core/link_data_source/link_data_source.proto +78 -0
- package/prisca/v1/core/location/location.proto +289 -0
- package/prisca/v1/core/material/material.proto +131 -0
- package/prisca/v1/core/material_group/material_group.proto +85 -0
- package/prisca/v1/core/material_type/material_type.proto +95 -0
- package/prisca/v1/core/messaging/email_template.proto +75 -0
- package/prisca/v1/core/messaging/messaging.proto +29 -0
- package/prisca/v1/core/number_range/number_range.proto +89 -0
- package/prisca/v1/core/organization/organization.proto +94 -0
- package/prisca/v1/core/organization_level/organization_level.proto +77 -0
- package/prisca/v1/core/price_condition/price_condition.proto +93 -0
- package/prisca/v1/core/procurement/procurement.proto +54 -0
- package/prisca/v1/core/recipient_roles/recipient_roles.proto +10 -0
- package/prisca/v1/core/report/report.proto +90 -0
- package/prisca/v1/core/report/user_report.proto +74 -0
- package/prisca/v1/core/tax_code/tax_code.proto +82 -0
- package/prisca/v1/core/term_of_payment/term_of_payment.proto +74 -0
- package/prisca/v1/core/transaction_builder/transaction_builder.proto +325 -0
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +88 -0
- package/prisca/v1/core/users/users.proto +55 -0
- package/prisca/v1/core/work_location/work_location.proto +122 -0
- package/prisca/v1/core/workflow/workflow.proto +218 -0
- package/prisca/v1/delivery_order/delivery_order.proto +147 -0
- package/prisca/v1/document_type/document_type.proto +82 -0
- package/prisca/v1/general_ledger_account/general_ledger_account.proto +100 -0
- package/prisca/v1/global/meta/meta.proto +57 -0
- package/prisca/v1/good_receipt/good_receipt.proto +11 -0
- package/prisca/v1/purchase_order/purchase_order.proto +157 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto +306 -0
- package/prisca/v1/purchasing_group/purchasing_group.proto +89 -0
- package/prisca/v1/purchasing_organization/purchasing_organization.proto +79 -0
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.proto +81 -0
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.proto +80 -0
- package/prisca/v1/quotation/quotation.proto +118 -0
- package/prisca/v1/request_for_quotation/request_for_quotation.proto +174 -0
- package/prisca/v1/valuation/valuation.proto +223 -0
- package/prisca/v1/vendor_domain/vendor_domain.proto +226 -0
- package/prisca/v1/account_assignment/account_assignment_grpc_pb.js +0 -199
- package/prisca/v1/account_assignment/account_assignment_pb.js +0 -2674
- package/prisca/v1/account_group/account_group_grpc_pb.js +0 -200
- package/prisca/v1/account_group/account_group_pb.js +0 -2937
- package/prisca/v1/bidding/bidding_grpc_pb.js +0 -262
- package/prisca/v1/bidding/bidding_pb.js +0 -6944
- package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +0 -199
- package/prisca/v1/chart_of_account/chart_of_account_pb.js +0 -2907
- package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +0 -544
- package/prisca/v1/core/access_manager/access_manager_pb.js +0 -9383
- package/prisca/v1/core/auth/auth_grpc_pb.js +0 -423
- package/prisca/v1/core/auth/auth_pb.js +0 -4497
- package/prisca/v1/core/chat_messaging/chat_messaging_grpc_pb.js +0 -111
- package/prisca/v1/core/chat_messaging/chat_messaging_pb.js +0 -1531
- package/prisca/v1/core/company/company_grpc_pb.js +0 -178
- package/prisca/v1/core/company/company_pb.js +0 -3100
- package/prisca/v1/core/currency/currency_grpc_pb.js +0 -177
- package/prisca/v1/core/currency/currency_pb.js +0 -2522
- package/prisca/v1/core/department_material/department_material_grpc_pb.js +0 -144
- package/prisca/v1/core/department_material/department_material_pb.js +0 -2167
- package/prisca/v1/core/employee/employee_grpc_pb.js +0 -206
- package/prisca/v1/core/employee/employee_pb.js +0 -4335
- package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +0 -44
- package/prisca/v1/core/file_upload/file_upload_pb.js +0 -1052
- package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +0 -177
- package/prisca/v1/core/incoterm/incoterm_pb.js +0 -2904
- package/prisca/v1/core/item_transaction/item_transaction_grpc_pb.js +0 -1
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +0 -4180
- package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +0 -178
- package/prisca/v1/core/job_grade/job_grade_pb.js +0 -2657
- package/prisca/v1/core/job_position/job_position_grpc_pb.js +0 -181
- package/prisca/v1/core/job_position/job_position_pb.js +0 -3814
- package/prisca/v1/core/job_title/job_title_grpc_pb.js +0 -178
- package/prisca/v1/core/job_title/job_title_pb.js +0 -3010
- package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +0 -45
- package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +0 -1188
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +0 -200
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +0 -3251
- package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +0 -177
- package/prisca/v1/core/link_data_source/link_data_source_pb.js +0 -2612
- package/prisca/v1/core/location/location_grpc_pb.js +0 -837
- package/prisca/v1/core/location/location_pb.js +0 -10879
- package/prisca/v1/core/material/material_grpc_pb.js +0 -182
- package/prisca/v1/core/material/material_pb.js +0 -4232
- package/prisca/v1/core/material_group/material_group_grpc_pb.js +0 -178
- package/prisca/v1/core/material_group/material_group_pb.js +0 -2828
- package/prisca/v1/core/material_type/material_type_grpc_pb.js +0 -182
- package/prisca/v1/core/material_type/material_type_pb.js +0 -3104
- package/prisca/v1/core/messaging/email_template_grpc_pb.js +0 -177
- package/prisca/v1/core/messaging/email_template_pb.js +0 -2552
- package/prisca/v1/core/messaging/messaging_grpc_pb.js +0 -56
- package/prisca/v1/core/messaging/messaging_pb.js +0 -896
- package/prisca/v1/core/number_range/number_range_grpc_pb.js +0 -178
- package/prisca/v1/core/number_range/number_range_pb.js +0 -2978
- package/prisca/v1/core/organization/organization_grpc_pb.js +0 -180
- package/prisca/v1/core/organization/organization_pb.js +0 -3084
- package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +0 -178
- package/prisca/v1/core/organization_level/organization_level_pb.js +0 -2597
- package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +0 -179
- package/prisca/v1/core/price_condition/price_condition_pb.js +0 -3061
- package/prisca/v1/core/procurement/procurement_grpc_pb.js +0 -146
- package/prisca/v1/core/procurement/procurement_pb.js +0 -1681
- package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +0 -1
- package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +0 -206
- package/prisca/v1/core/report/report_grpc_pb.js +0 -200
- package/prisca/v1/core/report/report_pb.js +0 -2822
- package/prisca/v1/core/report/user_report_grpc_pb.js +0 -179
- package/prisca/v1/core/report/user_report_pb.js +0 -2452
- package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +0 -177
- package/prisca/v1/core/tax_code/tax_code_pb.js +0 -2732
- package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +0 -177
- package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +0 -2512
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +0 -498
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +0 -10976
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +0 -180
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +0 -2798
- package/prisca/v1/core/users/users_grpc_pb.js +0 -78
- package/prisca/v1/core/users/users_pb.js +0 -1653
- package/prisca/v1/core/work_location/work_location_grpc_pb.js +0 -179
- package/prisca/v1/core/work_location/work_location_pb.js +0 -4024
- package/prisca/v1/core/workflow/workflow_grpc_pb.js +0 -203
- package/prisca/v1/core/workflow/workflow_pb.js +0 -7577
- package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +0 -229
- package/prisca/v1/delivery_order/delivery_order_pb.js +0 -4661
- package/prisca/v1/document_type/document_type_grpc_pb.js +0 -178
- package/prisca/v1/document_type/document_type_pb.js +0 -2746
- package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +0 -181
- package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +0 -3276
- package/prisca/v1/global/meta/meta_grpc_pb.js +0 -1
- package/prisca/v1/global/meta/meta_pb.js +0 -1179
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +0 -1
- package/prisca/v1/good_receipt/good_receipt_pb.js +0 -35
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +0 -228
- package/prisca/v1/purchase_order/purchase_order_pb.js +0 -5049
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -523
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -9917
- package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +0 -178
- package/prisca/v1/purchasing_group/purchasing_group_pb.js +0 -2927
- package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +0 -178
- package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +0 -2546
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +0 -179
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +0 -2590
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +0 -145
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +0 -2543
- package/prisca/v1/quotation/quotation_grpc_pb.js +0 -163
- package/prisca/v1/quotation/quotation_pb.js +0 -2796
- package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +0 -193
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +0 -5961
- package/prisca/v1/valuation/valuation_grpc_pb.js +0 -365
- package/prisca/v1/valuation/valuation_pb.js +0 -7729
- package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +0 -224
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +0 -6363
|
@@ -0,0 +1,89 @@
|
|
|
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 {
|
|
57
|
+
repeated string reference_ids = 1;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
message GetListPurchasingGroupRequest {
|
|
61
|
+
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
62
|
+
prisca.v1.global.meta.FilterRequest query = 2;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// Response Messages
|
|
66
|
+
message CreatePurchasingGroupResponse {
|
|
67
|
+
PurchasingGroup purchasing_group = 1;
|
|
68
|
+
prisca.v1.global.meta.Meta meta = 2;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
message GetListPurchasingGroupResponse {
|
|
72
|
+
repeated BasePurchasingGroup purchasing_group = 1;
|
|
73
|
+
prisca.v1.global.meta.Meta meta = 2;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
message UpdatePurchasingGroupResponse {
|
|
77
|
+
PurchasingGroup purchasing_group = 1;
|
|
78
|
+
prisca.v1.global.meta.Meta meta = 2;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
message PurchasingGroupGetByIdResponse {
|
|
82
|
+
BasePurchasingGroup purchasing_group = 1;
|
|
83
|
+
prisca.v1.global.meta.Meta meta = 2;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
message DeletePurchasingGroupResponse {
|
|
87
|
+
repeated string reference_ids = 1;
|
|
88
|
+
prisca.v1.global.meta.Meta meta = 2;
|
|
89
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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
|
+
rpc DeletePurchasingOrganization(DeletePurchasingOrganizationRequest)
|
|
19
|
+
returns (DeletePurchasingOrganizationResponse);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
message PurchasingOrganization {
|
|
23
|
+
string references_id = 1;
|
|
24
|
+
string description = 2;
|
|
25
|
+
string code = 3;
|
|
26
|
+
bool validity = 4;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
message PurOrg {
|
|
30
|
+
string references_id = 1;
|
|
31
|
+
string code = 2;
|
|
32
|
+
string name = 3;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
message PurchasingOrganizationGetByIdRequest { string references_id = 1; }
|
|
36
|
+
|
|
37
|
+
message CreatePurchasingOrganizationRequest {
|
|
38
|
+
PurchasingOrganization purchasing_organization = 1;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
message UpdatePurchasingOrganizationRequest {
|
|
42
|
+
string references_id = 1;
|
|
43
|
+
PurchasingOrganization purchasing_organization = 2;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
message GetListPurchasingOrganizationRequest {
|
|
47
|
+
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
48
|
+
prisca.v1.global.meta.FilterRequest query = 2;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
message DeletePurchasingOrganizationRequest {
|
|
52
|
+
repeated string reference_ids = 1;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// Response Messages
|
|
56
|
+
message CreatePurchasingOrganizationResponse {
|
|
57
|
+
PurchasingOrganization purchasing_organization = 1;
|
|
58
|
+
prisca.v1.global.meta.Meta meta = 2;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
message GetListPurchasingOrganizationResponse {
|
|
62
|
+
repeated PurchasingOrganization purchasing_organization = 1;
|
|
63
|
+
prisca.v1.global.meta.Meta meta = 2;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
message UpdatePurchasingOrganizationResponse {
|
|
67
|
+
PurchasingOrganization purchasing_organization = 1;
|
|
68
|
+
prisca.v1.global.meta.Meta meta = 2;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
message PurchasingOrganizationGetByIdResponse {
|
|
72
|
+
PurchasingOrganization purchasing_organization = 1;
|
|
73
|
+
prisca.v1.global.meta.Meta meta = 2;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
message DeletePurchasingOrganizationResponse {
|
|
77
|
+
repeated string reference_ids = 1;
|
|
78
|
+
prisca.v1.global.meta.Meta meta = 2;
|
|
79
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
rpc DeleteAssignPOrganization(DeleteAssignPOrganizationRequest)
|
|
20
|
+
returns (DeleteAssignPOrganizationResponse);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
message AssignPOrganization {
|
|
24
|
+
string companies_references_id = 1;
|
|
25
|
+
string purchasing_organization_references_id = 2;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
message BaseAssignPOrganization {
|
|
29
|
+
string companies_references_id = 1;
|
|
30
|
+
string references_id = 2;
|
|
31
|
+
Company company = 3;
|
|
32
|
+
string purchasing_organization_references_id = 4;
|
|
33
|
+
PurchasingOrganization purchasing_organizations = 5;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
message DeleteAssignPOrganizationRequest {
|
|
37
|
+
repeated string reference_ids = 1;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// Request Messages
|
|
41
|
+
message CreateAssignPOrganizationRequest {
|
|
42
|
+
AssignPOrganization assign_purchasing_organization = 1;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
message UpdateAssignPOrganizationRequest {
|
|
46
|
+
string references_id = 1;
|
|
47
|
+
AssignPOrganization assign_purchasing_organization = 2;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
message GetListAssignPOrganizationRequest {
|
|
51
|
+
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
52
|
+
prisca.v1.global.meta.FilterRequest query = 2;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
message AssignPOrganizationGetByIdRequest { string references_id = 1; }
|
|
56
|
+
|
|
57
|
+
// Response Messages
|
|
58
|
+
message CreateAssignPOrganizationResponse {
|
|
59
|
+
AssignPOrganization assign_purchasing_organization = 1;
|
|
60
|
+
prisca.v1.global.meta.Meta meta = 2;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
message GetListAssignPOrganizationResponse {
|
|
64
|
+
repeated BaseAssignPOrganization assign_purchasing_organization = 1;
|
|
65
|
+
prisca.v1.global.meta.Meta meta = 2;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
message UpdateAssignPOrganizationResponse {
|
|
69
|
+
AssignPOrganization assign_purchasing_organization = 1;
|
|
70
|
+
prisca.v1.global.meta.Meta meta = 2;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
message AssignPOrganizationGetByIdResponse {
|
|
74
|
+
BaseAssignPOrganization assign_purchasing_organization = 1;
|
|
75
|
+
prisca.v1.global.meta.Meta meta = 2;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
message DeleteAssignPOrganizationResponse {
|
|
79
|
+
repeated string reference_ids = 1;
|
|
80
|
+
prisca.v1.global.meta.Meta meta = 2;
|
|
81
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
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 (UpdateSetWinner) returns (UpdateQuotationResponse);
|
|
20
|
+
rpc SetQuotation (SetQuotationRequest) returns (UpdateQuotationResponse);
|
|
21
|
+
rpc UnSetWinner (UnSetWinnerRequest) returns (UpdateQuotationResponse);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
message BaseEditQuantityQuotationItem {
|
|
26
|
+
string references_id = 1;
|
|
27
|
+
int64 quantity = 2;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
message UpdateSetWinner {
|
|
31
|
+
string references_id = 1;
|
|
32
|
+
string term_and_condition = 2;
|
|
33
|
+
string justification = 3;
|
|
34
|
+
repeated BaseEditQuantityQuotationItem item_transactions = 4;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// Order Messages
|
|
38
|
+
message BaseQuotationRequest {
|
|
39
|
+
string description = 1;
|
|
40
|
+
string detail = 2; // Represents json.RawMessage
|
|
41
|
+
float pr_quantity = 3;
|
|
42
|
+
float remaining_quantity_po = 4;
|
|
43
|
+
string replacement = 5;
|
|
44
|
+
float quantity = 6;
|
|
45
|
+
float price = 7;
|
|
46
|
+
string vendor_references_id = 8;
|
|
47
|
+
string bidding_references_id = 9; // Unique
|
|
48
|
+
string term_of_payment = 10; // Represents json.RawMessage
|
|
49
|
+
string delivery_date = 11; // Nullable (ISO 8601 format)
|
|
50
|
+
string delivery_point = 12;
|
|
51
|
+
string vendor_source = 13;
|
|
52
|
+
bool set_winner = 14; // Default: false
|
|
53
|
+
string notes_for_vendor = 15;
|
|
54
|
+
string term_of_condition = 16; // Represents json.RawMessage
|
|
55
|
+
string custom_transaction = 17; // Represents json.RawMessage
|
|
56
|
+
string plant = 18; // json.RawMessage
|
|
57
|
+
string department = 19; // json.RawMessage
|
|
58
|
+
repeated ItemTransaction item_transactions = 20;
|
|
59
|
+
bool visible = 21;
|
|
60
|
+
repeated FileUploadReferencesReq files = 22;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
//request
|
|
64
|
+
message GetQuotationByIdRequest {
|
|
65
|
+
string references_id = 1;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
message UnSetWinnerRequest {
|
|
69
|
+
string references_id = 1;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
message UpdateQuotationRequest {
|
|
73
|
+
BaseQuotationRequest base_quotation = 1;
|
|
74
|
+
string references_id = 2;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
message GetListQuotationRequest {
|
|
78
|
+
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
79
|
+
prisca.v1.global.meta.FilterRequest query = 2;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
message SetItemQuotation {
|
|
83
|
+
string references_id = 1;
|
|
84
|
+
string detail_description = 2;
|
|
85
|
+
string replacement = 3;
|
|
86
|
+
float quantity = 4;
|
|
87
|
+
string delivery_date = 5;
|
|
88
|
+
repeated ItemTransactionPriceCondition item_transaction_price_condition = 6;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
message SetQuotationRequest {
|
|
92
|
+
string references_id = 1;
|
|
93
|
+
string term_of_payment = 2;
|
|
94
|
+
string term_of_condition = 3;
|
|
95
|
+
repeated SetItemQuotation set_item_quotations = 4;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
//response
|
|
99
|
+
|
|
100
|
+
message GetQuotationByIdResponse {
|
|
101
|
+
Quotation quotation = 1;
|
|
102
|
+
prisca.v1.global.meta.Meta meta = 2;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
message GetQuotationDetailResponse {
|
|
106
|
+
repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder = 1;
|
|
107
|
+
repeated GetQuotationItemPreload transaction_builder_items = 2;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
message GetListQuotationResponse {
|
|
111
|
+
repeated Quotation quotations = 1;
|
|
112
|
+
prisca.v1.global.meta.Meta meta = 2;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
message UpdateQuotationResponse {
|
|
116
|
+
Quotation quotation = 1;
|
|
117
|
+
prisca.v1.global.meta.Meta meta = 2;
|
|
118
|
+
}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/request_for_quotation";
|
|
4
|
+
import "prisca/v1/global/meta/meta.proto";
|
|
5
|
+
import "prisca/v1/vendor_domain/vendor_domain.proto";
|
|
6
|
+
import "prisca/v1/core/transaction_builder/transaction_builder.proto";
|
|
7
|
+
import "prisca/v1/core/item_transaction/item_transaction.proto";
|
|
8
|
+
import "prisca/v1/core/employee/employee.proto";
|
|
9
|
+
import "prisca/v1/core/file_upload/file_upload.proto";
|
|
10
|
+
|
|
11
|
+
service RequestForQuotationService {
|
|
12
|
+
rpc CreateRFQ (RequestRFQ) returns (ResponseRFQ);
|
|
13
|
+
rpc GetById (GetByIdRFQ) returns (GetByIdRFQResponse);
|
|
14
|
+
rpc GetListRfq (GetListRFQ) returns (GetListRFQResponse);
|
|
15
|
+
rpc UpdateRfq (RequestRFQ) returns (UpdateRFQResponse);
|
|
16
|
+
rpc GetByIdDetail (GetByIdWithDetailRFQ) returns (GetRFQDetailResponse);
|
|
17
|
+
rpc UpdateStatusRFQ (UpdateRequestForQuotationStatusReq) returns (UpdateRFQResponse);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
message UpdateRequestForQuotationStatusReq {
|
|
21
|
+
string status = 1;
|
|
22
|
+
string references_id = 2;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
message RequestForQuotation {
|
|
26
|
+
int64 id = 1;
|
|
27
|
+
string title = 2;
|
|
28
|
+
string request_for_quotation_number = 3;
|
|
29
|
+
string request_for_quotation_method = 4;
|
|
30
|
+
string bidding_start_date = 5;
|
|
31
|
+
string bidding_end_date = 6;
|
|
32
|
+
string max_submission_date = 7;
|
|
33
|
+
string contract_no = 8;
|
|
34
|
+
string incoterm = 9;
|
|
35
|
+
string shipping_address = 10;
|
|
36
|
+
string scope_of_work = 11;
|
|
37
|
+
string status = 12;
|
|
38
|
+
string term_of_payment = 13;
|
|
39
|
+
string file_ids = 14;
|
|
40
|
+
string references_id = 15;
|
|
41
|
+
repeated ItemTransaction item_transactions = 16;
|
|
42
|
+
repeated RequestForQuotationVendor request_for_quotation_vendor = 17;
|
|
43
|
+
string created_by = 18;
|
|
44
|
+
string updated_by = 19;
|
|
45
|
+
string created_at = 20;
|
|
46
|
+
string updated_at = 21;
|
|
47
|
+
optional Employee created_by_employee = 22;
|
|
48
|
+
optional Employee updated_by_employee = 23;
|
|
49
|
+
string custom_transaction = 24;
|
|
50
|
+
string department = 25;
|
|
51
|
+
string plant = 26;
|
|
52
|
+
repeated FileUploadReferencesReq files = 27;
|
|
53
|
+
string notes_for_vendor = 28;
|
|
54
|
+
string group_references = 29;
|
|
55
|
+
string companies_references_id = 30;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
message Creator {
|
|
59
|
+
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
message RequestForQuotationItem {
|
|
63
|
+
int64 id = 1;
|
|
64
|
+
string request_for_quotation_references_id = 2;
|
|
65
|
+
string description = 3;
|
|
66
|
+
string references_id = 4;
|
|
67
|
+
int64 quantity = 5;
|
|
68
|
+
string description_detail = 6;
|
|
69
|
+
string file_ids = 7;
|
|
70
|
+
string unit_of_measure = 8;
|
|
71
|
+
float estimated_unit_price = 9;
|
|
72
|
+
string created_by = 10;
|
|
73
|
+
string updated_by = 11;
|
|
74
|
+
string created_at = 12;
|
|
75
|
+
string updated_at = 13;
|
|
76
|
+
optional Employee created_by_employee = 14;
|
|
77
|
+
optional Employee updated_by_employee = 15;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
message RequestForQuotationVendor {
|
|
81
|
+
int64 id = 1;
|
|
82
|
+
string request_for_quotation_references_id = 2;
|
|
83
|
+
string vendor_references_id = 3;
|
|
84
|
+
string vendor_detail = 4;
|
|
85
|
+
string created_by = 5;
|
|
86
|
+
string updated_by = 6;
|
|
87
|
+
string created_at = 7;
|
|
88
|
+
string updated_at = 8;
|
|
89
|
+
optional Employee created_by_employee = 9;
|
|
90
|
+
optional Employee updated_by_employee = 10;
|
|
91
|
+
optional Vendor vendor = 11;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
message RequestRFQ {
|
|
96
|
+
string request_for_quotation_number = 1;
|
|
97
|
+
string request_for_quotation_method = 2;
|
|
98
|
+
string bidding_start_date = 3;
|
|
99
|
+
string bidding_end_date = 4;
|
|
100
|
+
string max_submission_date = 5;
|
|
101
|
+
string contract_no = 6;
|
|
102
|
+
string incoterm = 7;
|
|
103
|
+
string shipping_address = 8;
|
|
104
|
+
string scope_of_work = 9;
|
|
105
|
+
string file_ids = 10;
|
|
106
|
+
string references_id = 11;
|
|
107
|
+
repeated ItemTransaction item_transactions = 12;
|
|
108
|
+
repeated Vendor request_for_quotation_vendor = 13;
|
|
109
|
+
string term_of_payment = 14;
|
|
110
|
+
string status = 15;
|
|
111
|
+
string title = 16;
|
|
112
|
+
string custom_transaction = 17;
|
|
113
|
+
string plant = 18;
|
|
114
|
+
repeated FileUploadReferencesReq files = 19;
|
|
115
|
+
string notes_for_vendor = 20;
|
|
116
|
+
string group_references = 21;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
message GetByIdRFQ {
|
|
120
|
+
string references_id = 1;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
message GetListRFQ {
|
|
124
|
+
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
125
|
+
prisca.v1.global.meta.FilterRequest query = 2;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
message UpdateRFQ {
|
|
129
|
+
string references_id = 1;
|
|
130
|
+
RequestForQuotation request_for_quotation = 2;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
message GetByIdWithDetailRFQ {
|
|
134
|
+
string references_id = 1;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
message ResponseRFQ {
|
|
138
|
+
RequestForQuotation request_for_quotation = 1;
|
|
139
|
+
prisca.v1.global.meta.Meta meta = 2;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
message UpdateRFQResponse {
|
|
143
|
+
RequestForQuotation request_for_quotation = 1;
|
|
144
|
+
prisca.v1.global.meta.Meta meta = 2;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
message GetByIdRFQResponse {
|
|
148
|
+
RequestForQuotation request_for_quotation = 1;
|
|
149
|
+
prisca.v1.global.meta.Meta meta = 2;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
message GetListRFQResponse {
|
|
153
|
+
repeated RequestForQuotation request_for_quotation = 1;
|
|
154
|
+
prisca.v1.global.meta.Meta meta = 2;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
message GetRFQDetailResponse {
|
|
158
|
+
repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder = 1;
|
|
159
|
+
repeated GetRFQItemPreload transaction_builder_items = 2;
|
|
160
|
+
repeated GetRFQVendorPreload transaction_builder_vendors = 3;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
message GetRFQItemPreload {
|
|
164
|
+
repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder_item = 1;
|
|
165
|
+
repeated GetRFQItemDetailPreload transaction_builder_item_details = 2;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
message GetRFQVendorPreload {
|
|
169
|
+
repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder_vendor = 1;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
message GetRFQItemDetailPreload {
|
|
173
|
+
repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder_item_detail = 1;
|
|
174
|
+
}
|