@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,85 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/core/material_group";
|
|
4
|
-
|
|
5
|
-
// Importing necessary dependencies
|
|
6
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
7
|
-
import "prisca/v1/core/employee/employee.proto";
|
|
8
|
-
|
|
9
|
-
service MaterialGroupService {
|
|
10
|
-
rpc CreateMaterialGroup(CreateMaterialGroupRequest) returns (CreateMaterialGroupResponse);
|
|
11
|
-
rpc UpdateMaterialGroup(UpdateMaterialGroupRequest) returns (UpdateMaterialGroupResponse);
|
|
12
|
-
rpc DeleteMaterialGroup(DeleteMaterialGroupRequest) returns (DeleteMaterialGroupResponse);
|
|
13
|
-
rpc GetMaterialGroupById(GetMaterialGroupByIdRequest) returns (GetMaterialGroupByIdResponse);
|
|
14
|
-
rpc GetListMaterialGroups(GetListMaterialGroupRequest) returns (GetListMaterialGroupResponse);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
message MaterialGroup {
|
|
18
|
-
int64 id = 1;
|
|
19
|
-
string material_group_code = 2;
|
|
20
|
-
string material_group_description = 3;
|
|
21
|
-
string material_group_description_external = 4;
|
|
22
|
-
string references_id = 5;
|
|
23
|
-
string created_at = 6; // ISO 8601
|
|
24
|
-
string updated_at = 7; // Nullable
|
|
25
|
-
string created_by = 8;
|
|
26
|
-
string updated_by = 9;
|
|
27
|
-
string companies_references_id = 10;
|
|
28
|
-
optional Employee created_by_employee = 11;
|
|
29
|
-
optional Employee updated_by_employee = 12;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
// Request Messages
|
|
33
|
-
message BaseMaterialGroupRequest {
|
|
34
|
-
string material_group_code = 1;
|
|
35
|
-
string material_group_description = 2;
|
|
36
|
-
string material_group_description_external = 3;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
message CreateMaterialGroupRequest {
|
|
40
|
-
BaseMaterialGroupRequest base_material_group = 1;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
message UpdateMaterialGroupRequest {
|
|
44
|
-
string references_id =1;
|
|
45
|
-
BaseMaterialGroupRequest base_material_group = 2;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
message DeleteMaterialGroupRequest {
|
|
49
|
-
repeated string reference_ids = 1;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
message GetMaterialGroupByIdRequest {
|
|
53
|
-
string references_id =1;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
message GetListMaterialGroupRequest {
|
|
57
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
58
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
// Response Messages
|
|
62
|
-
message CreateMaterialGroupResponse {
|
|
63
|
-
MaterialGroup material_group = 1;
|
|
64
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
message UpdateMaterialGroupResponse {
|
|
68
|
-
MaterialGroup material_group = 1;
|
|
69
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
message DeleteMaterialGroupResponse {
|
|
73
|
-
repeated string reference_ids = 1;
|
|
74
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
message GetMaterialGroupByIdResponse {
|
|
78
|
-
MaterialGroup material_group = 1;
|
|
79
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
message GetListMaterialGroupResponse {
|
|
83
|
-
repeated MaterialGroup material_groups = 1;
|
|
84
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
85
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/core/material_type";
|
|
4
|
-
|
|
5
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
6
|
-
import "prisca/v1/core/number_range/number_range.proto";
|
|
7
|
-
import "prisca/v1/core/employee/employee.proto";
|
|
8
|
-
|
|
9
|
-
//package prisca.v1.unit_of_measurement;
|
|
10
|
-
|
|
11
|
-
// Unit of Measurement Service
|
|
12
|
-
service MaterialTypeService {
|
|
13
|
-
rpc CreateMaterialType(MaterialTypeRequest) returns (MaterialTypeResponse);
|
|
14
|
-
rpc GetMaterialTypeList(MaterialTypeListRequest) returns (MaterialTypeListResponse);
|
|
15
|
-
rpc GetMaterialTypeById(MaterialTypeGetByIdRequest) returns (MaterialTypeGetByIdResponse);
|
|
16
|
-
rpc UpdateMaterialType(MaterialTypeUpdateRequest) returns (MaterialTypeUpdateResponse);
|
|
17
|
-
rpc DeleteMaterialType(MaterialTypeDeleteRequest) returns (MaterialTypeDeleteResponse);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
// Base Model
|
|
21
|
-
message MaterialType {
|
|
22
|
-
int64 id = 1;
|
|
23
|
-
string material_type_code =2;
|
|
24
|
-
string material_type_description =3;
|
|
25
|
-
repeated string department_user = 4;
|
|
26
|
-
string references_id = 5;
|
|
27
|
-
string created_at = 6; // Use ISO 8601 format for date strings
|
|
28
|
-
string updated_at = 7; // Optional, nullable
|
|
29
|
-
string internal_number_range_ref = 8;
|
|
30
|
-
string external_number_range_ref = 9;
|
|
31
|
-
optional NumberRange internal_number_range = 10;
|
|
32
|
-
optional NumberRange external_number_range = 11;
|
|
33
|
-
string created_by = 12;
|
|
34
|
-
string updated_by = 13;
|
|
35
|
-
string companies_references_id = 14;
|
|
36
|
-
optional Employee created_by_employee = 15;
|
|
37
|
-
optional Employee updated_by_employee = 16;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
message BaseMaterial {
|
|
41
|
-
string material_type_code= 1;
|
|
42
|
-
string material_type_description =2;
|
|
43
|
-
repeated string department_user = 3;
|
|
44
|
-
string internal_number_range_ref = 4;
|
|
45
|
-
string external_number_range_ref = 5;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// Request Messages
|
|
49
|
-
message MaterialTypeRequest {
|
|
50
|
-
BaseMaterial material_type = 1;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
message MaterialTypeListRequest {
|
|
54
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
55
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
message MaterialTypeGetByIdRequest {
|
|
59
|
-
string references_id =1;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
message MaterialTypeUpdateRequest {
|
|
63
|
-
string references_id =1;
|
|
64
|
-
BaseMaterial material_type = 2;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
message MaterialTypeDeleteRequest {
|
|
68
|
-
repeated string reference_ids = 1;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
// Response Messages
|
|
72
|
-
message MaterialTypeResponse {
|
|
73
|
-
MaterialType material_type =1;
|
|
74
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
message MaterialTypeListResponse {
|
|
78
|
-
repeated MaterialType material_type =1;
|
|
79
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
message MaterialTypeGetByIdResponse {
|
|
83
|
-
MaterialType material_type = 1;
|
|
84
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
message MaterialTypeUpdateResponse {
|
|
88
|
-
MaterialType material_type = 1;
|
|
89
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
message MaterialTypeDeleteResponse {
|
|
93
|
-
repeated string reference_ids = 1;
|
|
94
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
95
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/core/messaging";
|
|
4
|
-
|
|
5
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
6
|
-
|
|
7
|
-
service EmailTemplateService {
|
|
8
|
-
rpc CreateEmailTemplate(CreateEmailTemplateRequest) returns (CreateEmailTemplateResponse);
|
|
9
|
-
rpc GetEmailTemplateById(GetEmailTemplateByIdRequest) returns (GetEmailTemplateByIdResponse);
|
|
10
|
-
rpc GetListEmailTemplate(GetListEmailTemplateRequest) returns (GetListEmailTemplateResponse);
|
|
11
|
-
rpc UpdateEmailTemplate(UpdateEmailTemplateRequest) returns (UpdateEmailTemplateResponse);
|
|
12
|
-
rpc DeleteEmailTemplate(DeleteEmailTemplateRequest) returns (DeleteEmailTemplateResponse);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
message EmailTemplate {
|
|
16
|
-
int32 id = 1;
|
|
17
|
-
string subject = 2;
|
|
18
|
-
string body = 3;
|
|
19
|
-
string references_id = 4;
|
|
20
|
-
string companies_references_id = 5;
|
|
21
|
-
string created_at = 6;
|
|
22
|
-
string updated_at = 7;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
message BaseEmailTemplateRequest {
|
|
26
|
-
string subject = 1;
|
|
27
|
-
string body = 2;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
message CreateEmailTemplateRequest {
|
|
31
|
-
BaseEmailTemplateRequest base_request = 1;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
message CreateEmailTemplateResponse {
|
|
35
|
-
prisca.v1.global.meta.Meta meta = 1;
|
|
36
|
-
EmailTemplate email_template = 2;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
message GetEmailTemplateByIdRequest {
|
|
40
|
-
string references_id = 1;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
message GetEmailTemplateByIdResponse {
|
|
44
|
-
prisca.v1.global.meta.Meta meta = 1;
|
|
45
|
-
EmailTemplate email_template = 2;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
message GetListEmailTemplateRequest {
|
|
49
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
50
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
message GetListEmailTemplateResponse {
|
|
54
|
-
prisca.v1.global.meta.Meta meta = 1;
|
|
55
|
-
repeated EmailTemplate email_templates = 2;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
message UpdateEmailTemplateRequest {
|
|
59
|
-
string references_id = 1;
|
|
60
|
-
BaseEmailTemplateRequest base_request = 2;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
message UpdateEmailTemplateResponse {
|
|
64
|
-
prisca.v1.global.meta.Meta meta = 1;
|
|
65
|
-
EmailTemplate email_template = 2;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
message DeleteEmailTemplateRequest {
|
|
69
|
-
string references_id = 1;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
message DeleteEmailTemplateResponse {
|
|
73
|
-
prisca.v1.global.meta.Meta meta = 1;
|
|
74
|
-
string references_id = 2;
|
|
75
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/core/messaging";
|
|
4
|
-
|
|
5
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
6
|
-
|
|
7
|
-
service MessagingService {
|
|
8
|
-
rpc SendEmailRequest(SendEmailMessageRequest) returns (SendEmailMessageResponse);
|
|
9
|
-
rpc SendTeamsMessageRequest(SendEmailMessageRequest) returns (SendEmailMessageResponse);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
message BaseEmailMessageRequest {
|
|
13
|
-
string id = 1;
|
|
14
|
-
string email = 2;
|
|
15
|
-
repeated string cc = 3;
|
|
16
|
-
repeated Variable variable = 4;
|
|
17
|
-
}
|
|
18
|
-
message Variable {
|
|
19
|
-
string key = 1;
|
|
20
|
-
string value = 2;
|
|
21
|
-
}
|
|
22
|
-
message SendEmailMessageRequest {
|
|
23
|
-
BaseEmailMessageRequest base_request = 1;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
message SendEmailMessageResponse {
|
|
27
|
-
prisca.v1.global.meta.Meta meta = 1;
|
|
28
|
-
BaseEmailMessageRequest base_email_message_request = 2;
|
|
29
|
-
}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/core/number_range";
|
|
4
|
-
|
|
5
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
6
|
-
import "prisca/v1/core/employee/employee.proto";
|
|
7
|
-
|
|
8
|
-
service NumberRangeService {
|
|
9
|
-
rpc CreateNumberRange(CreateNumberRangeRequest) returns (CreateNumberRangeResponse);
|
|
10
|
-
rpc UpdateNumberRange(UpdateNumberRangeRequest) returns (UpdateNumberRangeResponse);
|
|
11
|
-
rpc DeleteNumberRange(DeleteNumberRangeRequest) returns (DeleteNumberRangeResponse);
|
|
12
|
-
rpc GetNumberRangeById(GetNumberRangeByIdRequest) returns (GetNumberRangeByIdResponse);
|
|
13
|
-
rpc GetListNumberRanges(GetListNumberRangeRequest) returns (GetListNumberRangeResponse);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
message NumberRange {
|
|
17
|
-
int64 id = 1;
|
|
18
|
-
string no = 2;
|
|
19
|
-
string from_number = 3;
|
|
20
|
-
string to_number = 4;
|
|
21
|
-
string range_status = 5;
|
|
22
|
-
bool external = 6;
|
|
23
|
-
string references_id = 7;
|
|
24
|
-
string number_range_type = 8;
|
|
25
|
-
string created_at = 9; // ISO 8601
|
|
26
|
-
string updated_at = 10; // Nullable
|
|
27
|
-
string created_by = 11;
|
|
28
|
-
string updated_by = 12;
|
|
29
|
-
string companies_references_id = 13;
|
|
30
|
-
optional Employee created_by_employee = 14;
|
|
31
|
-
optional Employee updated_by_employee = 15;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
// Request Messages
|
|
35
|
-
message BaseNumberRangeRequest {
|
|
36
|
-
string no = 1;
|
|
37
|
-
string from_number = 2;
|
|
38
|
-
string to_number = 3;
|
|
39
|
-
bool external = 4;
|
|
40
|
-
string number_range_type = 5;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
message CreateNumberRangeRequest {
|
|
44
|
-
BaseNumberRangeRequest base_number_range = 1;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
message UpdateNumberRangeRequest {
|
|
48
|
-
string references_id =1;
|
|
49
|
-
BaseNumberRangeRequest base_number_range = 2;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
message DeleteNumberRangeRequest {
|
|
53
|
-
repeated string reference_ids = 1;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
message GetNumberRangeByIdRequest {
|
|
57
|
-
string references_id =1;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
message GetListNumberRangeRequest {
|
|
61
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
62
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
// Response Messages
|
|
66
|
-
message CreateNumberRangeResponse {
|
|
67
|
-
NumberRange number_range = 1;
|
|
68
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
message UpdateNumberRangeResponse {
|
|
72
|
-
NumberRange number_range = 1;
|
|
73
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
message DeleteNumberRangeResponse {
|
|
77
|
-
repeated string reference_ids = 1;
|
|
78
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
message GetNumberRangeByIdResponse {
|
|
82
|
-
NumberRange number_range = 1;
|
|
83
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
message GetListNumberRangeResponse {
|
|
87
|
-
repeated NumberRange number_ranges = 1;
|
|
88
|
-
prisca.v1.global.meta.Meta meta =2;
|
|
89
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/core/organization";
|
|
4
|
-
|
|
5
|
-
// Importing necessary dependencies
|
|
6
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
7
|
-
import "prisca/v1/core/company/company.proto";
|
|
8
|
-
import "prisca/v1/core/work_location/work_location.proto";
|
|
9
|
-
import "prisca/v1/core/organization_level/organization_level.proto";
|
|
10
|
-
|
|
11
|
-
service OrganizationsService {
|
|
12
|
-
rpc CreateOrganization(CreateOrganizationRequest) returns (CreateOrganizationResponse);
|
|
13
|
-
rpc GetOrganizationById(OrganizationGetByIdRequest) returns (OrganizationGetByIdResponse);
|
|
14
|
-
rpc UpdateOrganization(UpdateOrganizationRequest) returns (UpdateOrganizationResponse);
|
|
15
|
-
rpc DeleteOrganization(DeleteOrganizationRequest) returns (DeleteOrganizationResponse);
|
|
16
|
-
rpc GetListOrganization(GetListOrganizationRequest) returns (GetListOrganizationResponse);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
message Organization {
|
|
20
|
-
string references_id = 1;
|
|
21
|
-
string code = 2;
|
|
22
|
-
string name = 3;
|
|
23
|
-
string cost_center_code = 4;
|
|
24
|
-
string parent_references_id = 5;
|
|
25
|
-
BaseOrganization parent = 6;
|
|
26
|
-
string organization_level_references_id = 7;
|
|
27
|
-
BaseOrganizationLevel organization_level = 8;
|
|
28
|
-
string work_location_references_id = 9;
|
|
29
|
-
WorkLocation work_locations = 10;
|
|
30
|
-
string description = 11;
|
|
31
|
-
string companies_references_id = 12;
|
|
32
|
-
BaseCompanyParent company = 13;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
message BaseOrganization {
|
|
36
|
-
string code = 1;
|
|
37
|
-
string name = 2;
|
|
38
|
-
string cost_center_code = 3;
|
|
39
|
-
string parent_references_id = 4;
|
|
40
|
-
string organization_level_references_id = 5;
|
|
41
|
-
string work_location_references_id = 6;
|
|
42
|
-
string companies_references_id = 7;
|
|
43
|
-
string description = 8;
|
|
44
|
-
string references_id = 9;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
message OrganizationGetByIdRequest {
|
|
49
|
-
string references_id = 1;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
message CreateOrganizationRequest {
|
|
53
|
-
BaseOrganization organization = 1;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
message UpdateOrganizationRequest {
|
|
57
|
-
string references_id = 1;
|
|
58
|
-
BaseOrganization organization = 2;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
message DeleteOrganizationRequest {
|
|
62
|
-
repeated string reference_ids = 1;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
message DeleteOrganizationResponse {
|
|
66
|
-
repeated string reference_ids = 1;
|
|
67
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
message GetListOrganizationRequest {
|
|
71
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
72
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
// Response Messages
|
|
76
|
-
message CreateOrganizationResponse {
|
|
77
|
-
Organization organization = 1;
|
|
78
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
message GetListOrganizationResponse {
|
|
82
|
-
repeated Organization organization = 1;
|
|
83
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
message UpdateOrganizationResponse {
|
|
87
|
-
Organization organization = 1;
|
|
88
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
message OrganizationGetByIdResponse {
|
|
92
|
-
Organization organization = 1;
|
|
93
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
94
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/core/organization_level";
|
|
4
|
-
|
|
5
|
-
// Importing necessary dependencies
|
|
6
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
7
|
-
import "prisca/v1/core/company/company.proto";
|
|
8
|
-
|
|
9
|
-
service OrganizationLevelService {
|
|
10
|
-
rpc CreateOrganizationLevel(CreateOrganizationLevelRequest) returns (CreateOrganizationLevelResponse);
|
|
11
|
-
rpc GetOrganizationLevelById(OrganizationLevelGetByIdRequest) returns (OrganizationLevelGetByIdResponse);
|
|
12
|
-
rpc UpdateOrganizationLevel(UpdateOrganizationLevelRequest) returns (UpdateOrganizationLevelResponse);
|
|
13
|
-
rpc DeleteOrganizationLevel(DeleteOrganizationLevelRequest) returns (DeleteOrganizationLevelResponse);
|
|
14
|
-
rpc GetListOrganizationLevel(GetListOrganizationLevelRequest) returns (GetListOrganizationLevelResponse);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
message OrganizationLevel {
|
|
18
|
-
string name = 1;
|
|
19
|
-
int64 level = 2;
|
|
20
|
-
string companies_references_id = 3;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
message BaseOrganizationLevel {
|
|
24
|
-
string references_id = 1;
|
|
25
|
-
string name = 2;
|
|
26
|
-
int64 level = 3;
|
|
27
|
-
string companies_references_id = 4;
|
|
28
|
-
BaseCompanyParent company = 5;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
message OrganizationLevelGetByIdRequest {
|
|
32
|
-
string references_id = 1;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
message OrganizationLevelGetByIdResponse {
|
|
36
|
-
BaseOrganizationLevel organization_level = 1;
|
|
37
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
message UpdateOrganizationLevelRequest {
|
|
41
|
-
string references_id = 1;
|
|
42
|
-
OrganizationLevel organization_level = 2;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
message UpdateOrganizationLevelResponse {
|
|
46
|
-
OrganizationLevel organization_level = 1;
|
|
47
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
message CreateOrganizationLevelRequest {
|
|
51
|
-
OrganizationLevel organization_level = 1;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
message CreateOrganizationLevelResponse {
|
|
55
|
-
OrganizationLevel organization_level = 1;
|
|
56
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
message DeleteOrganizationLevelRequest {
|
|
60
|
-
repeated string reference_ids = 1;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
message DeleteOrganizationLevelResponse {
|
|
65
|
-
repeated string reference_ids = 1;
|
|
66
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
message GetListOrganizationLevelRequest {
|
|
70
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
71
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
message GetListOrganizationLevelResponse {
|
|
75
|
-
repeated BaseOrganizationLevel organization_level = 1;
|
|
76
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
77
|
-
}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/core/price_condition";
|
|
4
|
-
|
|
5
|
-
// Importing necessary dependencies
|
|
6
|
-
import "prisca/v1/global/meta/meta.proto";
|
|
7
|
-
import "prisca/v1/core/company/company.proto";
|
|
8
|
-
import "prisca/v1/core/employee/employee.proto";
|
|
9
|
-
|
|
10
|
-
service PriceConditionService {
|
|
11
|
-
rpc CreatePriceCondition(CreatePriceConditionRequest) returns (CreatePriceConditionResponse);
|
|
12
|
-
rpc GetByIdPriceCondition(GetByIdPriceConditionRequest) returns (GetByIdPriceConditionResponse);
|
|
13
|
-
rpc UpdatePriceCondition(UpdatePriceConditionRequest) returns (UpdatePriceConditionResponse);
|
|
14
|
-
rpc GetListPriceCondition(GetListPriceConditionRequest) returns (GetListPriceConditionResponse);
|
|
15
|
-
rpc DeletePriceCondition (DeletePriceConditionReq) returns (DeletePriceConditionRes);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
message PriceCondition {
|
|
19
|
-
int64 id = 1;
|
|
20
|
-
string type = 2;
|
|
21
|
-
string description = 3;
|
|
22
|
-
float amount = 4;
|
|
23
|
-
string currency = 5;
|
|
24
|
-
int64 divide = 6;
|
|
25
|
-
string unit_of_measure = 7;
|
|
26
|
-
string custom_transaction = 8;
|
|
27
|
-
string companies_references_id = 9;
|
|
28
|
-
string created_at = 10;
|
|
29
|
-
string updated_at = 11;
|
|
30
|
-
string references_id = 12;
|
|
31
|
-
optional Company companies = 13;
|
|
32
|
-
optional Employee created_by_employee = 14;
|
|
33
|
-
optional Employee updated_by_employee = 15;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
message BasePriceCondition {
|
|
37
|
-
string type = 2;
|
|
38
|
-
string description = 3;
|
|
39
|
-
float amount = 4;
|
|
40
|
-
string currency = 5;
|
|
41
|
-
int64 divide = 6;
|
|
42
|
-
string unit_of_measure = 7;
|
|
43
|
-
string custom_transaction = 8;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
message GetByIdPriceConditionRequest {
|
|
47
|
-
string references_id = 1;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
message CreatePriceConditionRequest {
|
|
51
|
-
BasePriceCondition price_condition = 1;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
message UpdatePriceConditionRequest {
|
|
55
|
-
string references_id = 1;
|
|
56
|
-
BasePriceCondition price_condition = 2;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
message GetListPriceConditionRequest {
|
|
61
|
-
prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
62
|
-
prisca.v1.global.meta.FilterRequest query = 2;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
message DeletePriceConditionReq {
|
|
66
|
-
repeated string reference_ids = 1;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
// Response Messages
|
|
70
|
-
message CreatePriceConditionResponse {
|
|
71
|
-
PriceCondition price_condition = 1;
|
|
72
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
message GetListPriceConditionResponse {
|
|
76
|
-
repeated PriceCondition price_condition = 1;
|
|
77
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
message UpdatePriceConditionResponse {
|
|
81
|
-
PriceCondition price_condition = 1;
|
|
82
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
message GetByIdPriceConditionResponse {
|
|
86
|
-
PriceCondition price_condition = 1;
|
|
87
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
message DeletePriceConditionRes {
|
|
91
|
-
repeated string reference_ids = 1;
|
|
92
|
-
prisca.v1.global.meta.Meta meta = 2;
|
|
93
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
// protoc --go_out=. --go-grpc_out=. proto/prisca/procurement/v1/private/*.proto
|
|
2
|
-
|
|
3
|
-
syntax = "proto3";
|
|
4
|
-
|
|
5
|
-
option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/core/procurement";
|
|
6
|
-
|
|
7
|
-
service ProcurementService {
|
|
8
|
-
rpc Create(CreatePRRequest) returns (PRDetailResponse);
|
|
9
|
-
rpc Update(UpdatePRRequest) returns (PRDetailResponse);
|
|
10
|
-
rpc Get(GetPRRequest) returns (PRListResponse);
|
|
11
|
-
rpc GetSingle(GetSinglePRRequest) returns (PRDetailResponse);
|
|
12
|
-
rpc Delete(GetSinglePRRequest) returns (SuccessResponse);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
message ResponseMeta {
|
|
16
|
-
int64 limit = 1;
|
|
17
|
-
int64 offset = 2;
|
|
18
|
-
int64 Total = 3;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
message GetPRRequest {
|
|
22
|
-
int64 limit = 1;
|
|
23
|
-
int64 offset = 2;
|
|
24
|
-
string PrNumber = 3;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
message CreatePRRequest {
|
|
28
|
-
string PrNumber = 1;
|
|
29
|
-
string Title = 2;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
message UpdatePRRequest {
|
|
33
|
-
int64 Id = 1;
|
|
34
|
-
string PrNumber = 2;
|
|
35
|
-
string Title = 3;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
message GetSinglePRRequest { int64 Id = 1; }
|
|
39
|
-
|
|
40
|
-
message PRDetailResponse {
|
|
41
|
-
int64 Id = 1;
|
|
42
|
-
string PrNumber = 2;
|
|
43
|
-
string Title = 3;
|
|
44
|
-
string ReferencesId = 4;
|
|
45
|
-
string CreatedAt = 5;
|
|
46
|
-
string UpdatedAt = 6;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
message PRListResponse {
|
|
50
|
-
repeated PRDetailResponse PurchaseRequests = 1;
|
|
51
|
-
ResponseMeta Meta = 2;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
message SuccessResponse { string Response = 1; }
|