@aldiokta/protocgen 1.1.23 → 1.1.24
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 +4270 -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 +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 +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,90 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/core/report";
|
|
4
|
-
|
|
5
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
6
|
-
|
|
7
|
-
// Report Service grpc
|
|
8
|
-
service ReportService {
|
|
9
|
-
rpc CreateReport(CreateReportRequest) returns (CreateReportResponse);
|
|
10
|
-
rpc CreateDefaultReport(CreateReportRequest) returns (GetListReportResponse);
|
|
11
|
-
rpc GetReportById(GetReportByIdRequest) returns (GetReportByIdResponse);
|
|
12
|
-
rpc GetListReports(GetListReportRequest) returns (GetListReportResponse);
|
|
13
|
-
rpc GetListReportsSimplified(GetListReportRequest) returns (GetListReportResponse);
|
|
14
|
-
rpc UpdateReport(UpdateReportRequest) returns (UpdateReportResponse);
|
|
15
|
-
rpc DeleteReport(DeleteReportRequest) returns (DeleteReportResponse);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
// Base Model
|
|
19
|
-
message Report {
|
|
20
|
-
string description = 1;
|
|
21
|
-
string formula = 2;
|
|
22
|
-
string references_id = 3;
|
|
23
|
-
string created_at = 4; // ISO 8601 format
|
|
24
|
-
string updated_at = 5; // Optional, nullable
|
|
25
|
-
string result = 6; // JSON Raw Message
|
|
26
|
-
string label = 7;
|
|
27
|
-
string name = 8;
|
|
28
|
-
string type = 9;
|
|
29
|
-
string companies_references_id = 10;
|
|
30
|
-
string value_key = 11;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
// Request Messages
|
|
34
|
-
message BaseReportRequest {
|
|
35
|
-
string description = 1;
|
|
36
|
-
string formula = 2;
|
|
37
|
-
string label = 3;
|
|
38
|
-
string name = 4;
|
|
39
|
-
string type = 5;
|
|
40
|
-
string companies_references_id = 6;
|
|
41
|
-
string value_key = 7;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
message CreateReportRequest {
|
|
45
|
-
BaseReportRequest base_report = 1;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
message UpdateReportRequest {
|
|
49
|
-
string references_id = 1;
|
|
50
|
-
BaseReportRequest base_report = 2;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
message GetListReportRequest {
|
|
54
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
55
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
message GetReportByIdRequest {
|
|
59
|
-
string references_id = 1;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
message DeleteReportRequest {
|
|
63
|
-
string references_id = 1;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
// Response Messages
|
|
67
|
-
message CreateReportResponse {
|
|
68
|
-
Report report = 1;
|
|
69
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
message UpdateReportResponse {
|
|
73
|
-
Report report = 1;
|
|
74
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
message GetListReportResponse {
|
|
78
|
-
repeated Report reports = 1;
|
|
79
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
message GetReportByIdResponse {
|
|
83
|
-
Report report = 1;
|
|
84
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
message DeleteReportResponse {
|
|
88
|
-
string references_id = 1;
|
|
89
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
90
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/core/report";
|
|
4
|
-
|
|
5
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
6
|
-
import "prisca/v1/core/report/report.proto";
|
|
7
|
-
|
|
8
|
-
// UserReport Service grpc
|
|
9
|
-
service UserReportService {
|
|
10
|
-
rpc CreateUserReport(CreateUserReportRequest) returns (CreateUserReportResponse);
|
|
11
|
-
rpc GetUserReportById(GetUserReportByIdRequest) returns (GetUserReportByIdResponse);
|
|
12
|
-
rpc GetListUserReports(GetListUserReportRequest) returns (GetListUserReportResponse);
|
|
13
|
-
rpc UpdateUserReport(UpdateUserReportRequest) returns (UpdateUserReportResponse);
|
|
14
|
-
rpc DeleteUserReport(DeleteUserReportRequest) returns (DeleteUserReportResponse);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// Base Model
|
|
18
|
-
message UserReport {
|
|
19
|
-
string report_references_id = 1;
|
|
20
|
-
string user_references_id = 2;
|
|
21
|
-
string created_at = 3; // ISO 8601 format
|
|
22
|
-
optional Report report = 4;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// Request Messages
|
|
26
|
-
message BaseUserReportRequest {
|
|
27
|
-
repeated string report_references_id = 1;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
message CreateUserReportRequest {
|
|
31
|
-
BaseUserReportRequest base_report = 1;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
message UpdateUserReportRequest {
|
|
35
|
-
BaseUserReportRequest base_report = 1;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
message GetListUserReportRequest {
|
|
39
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
40
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
message GetUserReportByIdRequest {
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
message DeleteUserReportRequest {
|
|
47
|
-
BaseUserReportRequest base_report = 1;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// Response Messages
|
|
51
|
-
message CreateUserReportResponse {
|
|
52
|
-
BaseUserReportRequest user_report = 1;
|
|
53
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
message UpdateUserReportResponse {
|
|
57
|
-
BaseUserReportRequest user_report = 1;
|
|
58
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
message GetListUserReportResponse {
|
|
62
|
-
repeated UserReport reports = 1;
|
|
63
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
message GetUserReportByIdResponse {
|
|
67
|
-
repeated UserReport reports = 1;
|
|
68
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
message DeleteUserReportResponse {
|
|
72
|
-
string user_references_id = 1;
|
|
73
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
74
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/core/tax_code;tax_code";
|
|
4
|
-
|
|
5
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
6
|
-
|
|
7
|
-
service TaxCodeService {
|
|
8
|
-
rpc CreateTaxCode(CreateTaxCodeRequest) returns (CreateTaxCodeResponse);
|
|
9
|
-
rpc UpdateTaxCode(UpdateTaxCodeRequest) returns (UpdateTaxCodeResponse);
|
|
10
|
-
rpc GetTaxCodeById(GetTaxCodeByIdRequest) returns (GetTaxCodeByIdResponse);
|
|
11
|
-
rpc GetListTaxCode(GetListTaxCodeRequest) returns (GetListTaxCodeResponse);
|
|
12
|
-
rpc DeleteTaxCode(DeleteTaxCodeRequest) returns (DeleteTaxCodeResponse);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
message TaxCode {
|
|
16
|
-
int64 id = 1;
|
|
17
|
-
string code = 2;
|
|
18
|
-
string code_name = 3;
|
|
19
|
-
string procedure = 4;
|
|
20
|
-
string references_id = 5;
|
|
21
|
-
string created_at = 6;
|
|
22
|
-
string updated_at = 7;
|
|
23
|
-
string created_by = 8;
|
|
24
|
-
string updated_by = 9;
|
|
25
|
-
string companies_references_id = 10;
|
|
26
|
-
int64 value = 11;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
message BaseTaxCode {
|
|
30
|
-
string code = 1;
|
|
31
|
-
string code_name = 2;
|
|
32
|
-
string procedure = 3;
|
|
33
|
-
int64 value = 4;
|
|
34
|
-
}
|
|
35
|
-
message CreateTaxCodeRequest {
|
|
36
|
-
BaseTaxCode base_tax_code = 1;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
message CreateTaxCodeResponse {
|
|
40
|
-
TaxCode tax_code = 1;
|
|
41
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
message UpdateTaxCodeRequest {
|
|
45
|
-
string references_id = 1;
|
|
46
|
-
BaseTaxCode base_tax_code = 2;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
message UpdateTaxCodeResponse {
|
|
50
|
-
TaxCode tax_code = 1;
|
|
51
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
message GetTaxCodeByIdRequest {
|
|
55
|
-
string references_id = 1;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
message GetTaxCodeByIdResponse {
|
|
59
|
-
TaxCode tax_code = 1;
|
|
60
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
message GetListTaxCodeRequest {
|
|
64
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
65
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
message GetListTaxCodeResponse {
|
|
69
|
-
repeated TaxCode tax_codes = 1;
|
|
70
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
message DeleteTaxCodeRequest {
|
|
74
|
-
repeated string reference_ids = 1;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
message DeleteTaxCodeResponse {
|
|
78
|
-
repeated string reference_ids = 1;
|
|
79
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/core/term_of_payment";
|
|
4
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
5
|
-
|
|
6
|
-
service TermOfPaymentService {
|
|
7
|
-
rpc CreateTermOfPayment (CreateTermOfPaymentReq) returns (CreateTermOfPaymentRes);
|
|
8
|
-
rpc UpdateTermOfPayment (UpdateTermOfPaymentReq) returns (UpdateTermOfPaymentRes);
|
|
9
|
-
rpc GetSingleTermOfPayment (GetSingleTermOfPaymentReq) returns (GetSingleTermOfPaymentRes);
|
|
10
|
-
rpc GetListTermOfPayment (GetListTermOfPaymentReq) returns (GetListTermOfPaymentRes);
|
|
11
|
-
rpc DeleteTermOfPayment (DeleteTermOfPaymentReq) returns (DeleteTermOfPaymentRes);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
message TermOfPayment {
|
|
17
|
-
int64 id = 1;
|
|
18
|
-
string code = 2;
|
|
19
|
-
string days = 3;
|
|
20
|
-
string description = 4;
|
|
21
|
-
string references_id = 5;
|
|
22
|
-
string created_at = 6;
|
|
23
|
-
string updated_at = 7;
|
|
24
|
-
string created_by = 9;
|
|
25
|
-
string updated_by = 10;
|
|
26
|
-
string companies_references_id = 11;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
message CreateTermOfPaymentReq {
|
|
30
|
-
TermOfPayment term_of_payment = 1;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
message UpdateTermOfPaymentReq {
|
|
34
|
-
TermOfPayment term_of_payment = 1;
|
|
35
|
-
string references_id = 2;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
message GetListTermOfPaymentReq {
|
|
39
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
40
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
message GetSingleTermOfPaymentReq {
|
|
44
|
-
string references_id = 1;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
message DeleteTermOfPaymentReq {
|
|
48
|
-
repeated string reference_ids = 1;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
message DeleteTermOfPaymentRes {
|
|
52
|
-
repeated string reference_ids = 1;
|
|
53
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
message CreateTermOfPaymentRes {
|
|
57
|
-
TermOfPayment term_of_payment = 1;
|
|
58
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
message GetSingleTermOfPaymentRes {
|
|
62
|
-
TermOfPayment term_of_payment = 1;
|
|
63
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
message UpdateTermOfPaymentRes {
|
|
67
|
-
TermOfPayment term_of_payment = 1;
|
|
68
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
message GetListTermOfPaymentRes {
|
|
72
|
-
repeated TermOfPayment term_of_payment = 1;
|
|
73
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
74
|
-
}
|
|
@@ -1,325 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/core/transaction_builder";
|
|
4
|
-
package prisca.v1.core.transaction_builder;
|
|
5
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
6
|
-
import "google/protobuf/any.proto";
|
|
7
|
-
|
|
8
|
-
service TransactionBuilderService {
|
|
9
|
-
// builder
|
|
10
|
-
rpc CreateTransactionBuilder(TransactionBuilderRequest)
|
|
11
|
-
returns (ResponseTransactionBuilder);
|
|
12
|
-
rpc CreateTransactionFields(TransactionFieldsRequest)
|
|
13
|
-
returns (ResponseTransactionFieldsList);
|
|
14
|
-
rpc CreateTransactionConfig(TransactionConfigRequest)
|
|
15
|
-
returns (ResponseTransactionConfig);
|
|
16
|
-
|
|
17
|
-
rpc GetTransactionBuilder(GetTransactionBuilderById)
|
|
18
|
-
returns (ResponseTransactionBuilder);
|
|
19
|
-
rpc GetTransactionBuilderWithDetail(GetTransactionBuilderByIdWithDetail)
|
|
20
|
-
returns (ResponseTransactionBuilderWithDetails);
|
|
21
|
-
rpc GetTransactionFields(GetTransactionFieldsById)
|
|
22
|
-
returns (ResponseTransactionFields);
|
|
23
|
-
rpc GetTransactionConfig(GetTransactionConfigById)
|
|
24
|
-
returns (ResponseTransactionConfig);
|
|
25
|
-
|
|
26
|
-
rpc GetListTransactionBuilder(GetTransactionBuilderList)
|
|
27
|
-
returns (ResponseTransactionBuilderList);
|
|
28
|
-
rpc GetListTransactionBuilderTable(GetTransactionFieldsById)
|
|
29
|
-
returns (ResponseTransactionBuilderWithDetailTable);
|
|
30
|
-
rpc GetListTransactionBuilderFilter(GetTransactionFieldsById)
|
|
31
|
-
returns (ResponseTransactionBuilderWithDetailFilter);
|
|
32
|
-
rpc GetListTransactionBuilderWorkflowCriteria(GetTransactionFieldsById)
|
|
33
|
-
returns (ResponseTransactionBuilderWithDetailWorkflowCriteria);
|
|
34
|
-
rpc GetListTransactionBuilderForm(GetTransactionFieldsById)
|
|
35
|
-
returns (ResponseTransactionBuilderWithDetailForm);
|
|
36
|
-
rpc GetListTransactionBuilderDetail(GetTransactionFieldsById)
|
|
37
|
-
returns (ResponseTransactionBuilderWithDetail);
|
|
38
|
-
rpc GetListTransactionConfig(GetTransactionConfigList)
|
|
39
|
-
returns (ResponseTransactionConfigList);
|
|
40
|
-
|
|
41
|
-
rpc UpdateTransactionBuilder(EditTransactionBuilderById)
|
|
42
|
-
returns (ResponseTransactionBuilder);
|
|
43
|
-
rpc UpdateTransactionFields(EditTransactionFieldsById)
|
|
44
|
-
returns (ResponseTransactionFields);
|
|
45
|
-
rpc UpdateTransactionConfig(EditTransactionConfigById)
|
|
46
|
-
returns (ResponseTransactionConfig);
|
|
47
|
-
|
|
48
|
-
rpc CreateTransactionBuilderDefault(CreateTransactionBuilderDefaultReq)
|
|
49
|
-
returns (CreateTransactionBuilderDefaultRes);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
message Value {
|
|
53
|
-
string key = 1;
|
|
54
|
-
string value = 2;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
message PropertiesRules {
|
|
58
|
-
string type = 1;
|
|
59
|
-
string value = 2;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
message TransactionBuilderFieldsForm {
|
|
63
|
-
int64 transaction_builder_id = 1;
|
|
64
|
-
int64 orders = 2;
|
|
65
|
-
string key = 3;
|
|
66
|
-
string label = 4;
|
|
67
|
-
string references_id = 5;
|
|
68
|
-
repeated Value option = 6;
|
|
69
|
-
string properties = 7;
|
|
70
|
-
repeated FieldRulesWithProp field_rules = 8;
|
|
71
|
-
bool is_master = 9;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
message TransactionBuilderFieldsDetail {
|
|
75
|
-
int64 transaction_builder_id = 1;
|
|
76
|
-
int64 orders = 2;
|
|
77
|
-
string key = 3;
|
|
78
|
-
string label = 4;
|
|
79
|
-
string references_id = 5;
|
|
80
|
-
string properties = 6;
|
|
81
|
-
string value = 7;
|
|
82
|
-
bool is_master = 8;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
message TransactionBuilderFieldsTable {
|
|
86
|
-
int64 transaction_builder_id = 1;
|
|
87
|
-
int64 orders = 2;
|
|
88
|
-
string key = 3;
|
|
89
|
-
string label = 4;
|
|
90
|
-
string references_id = 5;
|
|
91
|
-
string properties = 6;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
message TransactionBuilderFieldsFilter {
|
|
96
|
-
int64 transaction_builder_id = 1;
|
|
97
|
-
int64 orders = 2;
|
|
98
|
-
string key = 3;
|
|
99
|
-
string label = 4;
|
|
100
|
-
string references_id = 5;
|
|
101
|
-
string properties = 6;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
message TransactionBuilderFieldsWorkflowCriteria {
|
|
106
|
-
int64 transaction_builder_id = 1;
|
|
107
|
-
string key = 3;
|
|
108
|
-
string label = 4;
|
|
109
|
-
string references_id = 5;
|
|
110
|
-
string properties = 6;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
// model
|
|
114
|
-
message TransactionBuilderFields {
|
|
115
|
-
int64 id = 1;
|
|
116
|
-
int64 transaction_builder_id = 2;
|
|
117
|
-
string key = 3;
|
|
118
|
-
string label = 4;
|
|
119
|
-
repeated FieldRules field_rules = 5;
|
|
120
|
-
repeated FieldViews field_views = 6;
|
|
121
|
-
string value = 7;
|
|
122
|
-
string references_id = 8;
|
|
123
|
-
bool is_master = 9;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
message TransactionBuilderFieldsBase {
|
|
127
|
-
string key = 1;
|
|
128
|
-
string label = 2;
|
|
129
|
-
repeated FieldRules field_rules = 3;
|
|
130
|
-
repeated FieldViews field_views = 4;
|
|
131
|
-
bool is_master = 5;
|
|
132
|
-
string references_id = 6;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
message FieldRulesWithProp {
|
|
136
|
-
optional int64 id = 1;
|
|
137
|
-
string name = 2;
|
|
138
|
-
string properties = 3;
|
|
139
|
-
optional string transaction_builder_field_ref = 4;
|
|
140
|
-
string references_id = 5;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
message FieldRules {
|
|
144
|
-
optional int64 id = 1;
|
|
145
|
-
string name = 2;
|
|
146
|
-
string properties = 3;
|
|
147
|
-
optional string transaction_builder_field_ref = 4;
|
|
148
|
-
string references_id = 5;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
message FieldViews {
|
|
152
|
-
optional int64 id = 1;
|
|
153
|
-
string name = 2;
|
|
154
|
-
string orders = 3;
|
|
155
|
-
string properties = 4;
|
|
156
|
-
optional string transaction_builder_field_ref = 5;
|
|
157
|
-
string references_id = 6;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
message TransactionBuilder {
|
|
161
|
-
int64 id = 1;
|
|
162
|
-
string name = 2;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
message TransactionBuilderWithDetails {
|
|
166
|
-
int64 id = 1;
|
|
167
|
-
string name = 2;
|
|
168
|
-
repeated TransactionBuilderFields transaction_builder_fields = 3;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
message TransactionBuilderWithDetailTableRes {
|
|
172
|
-
int64 id = 1;
|
|
173
|
-
string name = 2;
|
|
174
|
-
repeated TransactionBuilderFieldsTable transaction_builder_fields = 3;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
message TransactionBuilderWithDetailFilterRes {
|
|
179
|
-
int64 id = 1;
|
|
180
|
-
string name = 2;
|
|
181
|
-
repeated TransactionBuilderFieldsFilter transaction_builder_fields = 3;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
message TransactionBuilderWithDetailWorkflowCriteriaRes {
|
|
186
|
-
int64 id = 1;
|
|
187
|
-
string name = 2;
|
|
188
|
-
repeated TransactionBuilderFieldsWorkflowCriteria transaction_builder_fields = 3;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
message TransactionBuilderWithDetailFormRes {
|
|
192
|
-
int64 id = 1;
|
|
193
|
-
string name = 2;
|
|
194
|
-
repeated TransactionBuilderFieldsForm transaction_builder_fields = 3;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
message TransactionBuilderWithDetailRes {
|
|
198
|
-
int64 id = 1;
|
|
199
|
-
string name = 2;
|
|
200
|
-
repeated TransactionBuilderFieldsDetail transaction_builder_fields = 3;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
message TransactionBuilderConfig {
|
|
204
|
-
string name = 1;
|
|
205
|
-
int64 transaction_builder_id = 2;
|
|
206
|
-
string type = 3;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
// request builder
|
|
210
|
-
message TransactionBuilderRequest { string name = 1; }
|
|
211
|
-
|
|
212
|
-
message GetTransactionBuilderById { int64 id = 1; }
|
|
213
|
-
|
|
214
|
-
message GetTransactionBuilderByIdWithDetail { int64 id = 1; }
|
|
215
|
-
|
|
216
|
-
message EditTransactionBuilderById {
|
|
217
|
-
int64 id = 1;
|
|
218
|
-
string name = 2;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
message GetTransactionBuilderList {
|
|
222
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
223
|
-
}
|
|
224
|
-
// request transaction field
|
|
225
|
-
message TransactionFieldsRequest {
|
|
226
|
-
int64 id = 1;
|
|
227
|
-
repeated TransactionBuilderFieldsBase transaction_builder_fields = 2;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
message GetTransactionFieldsById { int64 id = 1; }
|
|
231
|
-
|
|
232
|
-
message EditTransactionFieldsById {
|
|
233
|
-
TransactionBuilderFields transaction_field = 1;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
// request transaction config
|
|
237
|
-
message TransactionConfigRequest {
|
|
238
|
-
TransactionBuilderConfig transaction_builder_config = 1;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
message GetTransactionConfigById { int64 id = 1; }
|
|
242
|
-
|
|
243
|
-
message GetTransactionConfigList {
|
|
244
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
message EditTransactionConfigById {
|
|
248
|
-
TransactionBuilderConfig transaction_congfig = 1;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
// response builder
|
|
252
|
-
message ResponseTransactionBuilder {
|
|
253
|
-
TransactionBuilder transaction_builder = 1;
|
|
254
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
message ResponseTransactionBuilderWithDetailList {
|
|
258
|
-
repeated TransactionBuilderWithDetails transaction_builder = 1;
|
|
259
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
message ResponseTransactionBuilderWithDetails {
|
|
263
|
-
TransactionBuilderWithDetails transaction_builder = 1;
|
|
264
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
message ResponseTransactionBuilderWithDetailTable {
|
|
268
|
-
TransactionBuilderWithDetailTableRes transaction_builder = 1;
|
|
269
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
message ResponseTransactionBuilderWithDetailFilter{
|
|
273
|
-
TransactionBuilderWithDetailFilterRes transaction_builder = 1;
|
|
274
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
message ResponseTransactionBuilderWithDetailWorkflowCriteria{
|
|
279
|
-
TransactionBuilderWithDetailWorkflowCriteriaRes transaction_builder = 1;
|
|
280
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
message ResponseTransactionBuilderWithDetailForm {
|
|
284
|
-
TransactionBuilderWithDetailFormRes transaction_builder = 1;
|
|
285
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
message ResponseTransactionBuilderWithDetail {
|
|
289
|
-
TransactionBuilderWithDetailRes transaction_builder = 1;
|
|
290
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
message ResponseTransactionBuilderList {
|
|
294
|
-
repeated TransactionBuilder transaction_builders = 1;
|
|
295
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
// response fields
|
|
299
|
-
message ResponseTransactionFieldsList {
|
|
300
|
-
repeated TransactionBuilderFields transaction_fields = 1;
|
|
301
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
message ResponseTransactionFields {
|
|
305
|
-
TransactionBuilderFieldsBase transaction_field = 1;
|
|
306
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
// response config
|
|
310
|
-
message ResponseTransactionConfig {
|
|
311
|
-
TransactionBuilderConfig transaction_builder_config = 1;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
message ResponseTransactionConfigList {
|
|
315
|
-
repeated TransactionBuilderConfig transaction_builder_config = 1;
|
|
316
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
message CreateTransactionBuilderDefaultReq {
|
|
320
|
-
string companies_references_id = 1;
|
|
321
|
-
}
|
|
322
|
-
message CreateTransactionBuilderDefaultRes {
|
|
323
|
-
repeated TransactionBuilderWithDetailRes transaction_builder = 1;
|
|
324
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
325
|
-
}
|