@aldiokta/protocgen 1.0.56 → 1.0.58

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.
Files changed (131) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/account_assignment/account_assignment_grpc_pb.js +177 -0
  3. package/prisca/v1/account_assignment/account_assignment_pb.js +2522 -0
  4. package/prisca/v1/account_group/account_group_grpc_pb.js +178 -0
  5. package/prisca/v1/account_group/account_group_pb.js +2755 -0
  6. package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +177 -0
  7. package/prisca/v1/chart_of_account/chart_of_account_pb.js +2522 -0
  8. package/prisca/v1/core/auth/auth_grpc_pb.js +367 -0
  9. package/prisca/v1/core/auth/auth_pb.js +3745 -0
  10. package/prisca/v1/core/company/company_grpc_pb.js +177 -0
  11. package/prisca/v1/core/company/company_pb.js +2875 -0
  12. package/prisca/v1/core/currency/currency_grpc_pb.js +177 -0
  13. package/prisca/v1/core/currency/currency_pb.js +2522 -0
  14. package/prisca/v1/core/department_material/department_material_grpc_pb.js +144 -0
  15. package/prisca/v1/core/department_material/department_material_pb.js +2167 -0
  16. package/prisca/v1/core/employee/employee_grpc_pb.js +184 -0
  17. package/prisca/v1/core/employee/employee_pb.js +3877 -0
  18. package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +178 -0
  19. package/prisca/v1/core/job_grade/job_grade_pb.js +2605 -0
  20. package/prisca/v1/core/job_position/job_position_grpc_pb.js +181 -0
  21. package/prisca/v1/core/job_position/job_position_pb.js +3762 -0
  22. package/prisca/v1/core/job_title/job_title_grpc_pb.js +178 -0
  23. package/prisca/v1/core/job_title/job_title_pb.js +2958 -0
  24. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +177 -0
  25. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +2612 -0
  26. package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +177 -0
  27. package/prisca/v1/core/link_data_source/link_data_source_pb.js +2612 -0
  28. package/prisca/v1/core/location/location_grpc_pb.js +837 -0
  29. package/prisca/v1/core/location/location_pb.js +10879 -0
  30. package/prisca/v1/core/material/material_grpc_pb.js +181 -0
  31. package/prisca/v1/core/material/material_pb.js +4106 -0
  32. package/prisca/v1/core/material_group/material_group_grpc_pb.js +177 -0
  33. package/prisca/v1/core/material_group/material_group_pb.js +2582 -0
  34. package/prisca/v1/core/material_type/material_type_grpc_pb.js +148 -0
  35. package/prisca/v1/core/material_type/material_type_pb.js +2392 -0
  36. package/prisca/v1/core/messaging/email_template_grpc_pb.js +177 -0
  37. package/prisca/v1/core/messaging/email_template_pb.js +2552 -0
  38. package/prisca/v1/core/messaging/messaging_grpc_pb.js +45 -0
  39. package/prisca/v1/core/messaging/messaging_pb.js +896 -0
  40. package/prisca/v1/core/number_range/number_range_grpc_pb.js +177 -0
  41. package/prisca/v1/core/number_range/number_range_pb.js +2732 -0
  42. package/prisca/v1/core/organization/organization_grpc_pb.js +180 -0
  43. package/prisca/v1/core/organization/organization_pb.js +3032 -0
  44. package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +178 -0
  45. package/prisca/v1/core/organization_level/organization_level_pb.js +2545 -0
  46. package/prisca/v1/core/procurement/procurement_grpc_pb.js +146 -0
  47. package/prisca/v1/core/procurement/procurement_pb.js +1681 -0
  48. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +266 -0
  49. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_pb.js +4429 -0
  50. package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +1 -0
  51. package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +206 -0
  52. package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +177 -0
  53. package/prisca/v1/core/tax_code/tax_code_pb.js +2582 -0
  54. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +421 -0
  55. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +8965 -0
  56. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +180 -0
  57. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +2798 -0
  58. package/prisca/v1/core/users/users_grpc_pb.js +1 -0
  59. package/prisca/v1/core/users/users_pb.js +626 -0
  60. package/prisca/v1/core/users_role/users_role_grpc_pb.js +177 -0
  61. package/prisca/v1/core/users_role/users_role_pb.js +2372 -0
  62. package/prisca/v1/core/work_location/work_location_grpc_pb.js +179 -0
  63. package/prisca/v1/core/work_location/work_location_pb.js +3972 -0
  64. package/prisca/v1/core/workflow/workflow_grpc_pb.js +180 -0
  65. package/prisca/v1/core/workflow/workflow_pb.js +6589 -0
  66. package/prisca/v1/document_type/document_type_grpc_pb.js +178 -0
  67. package/prisca/v1/document_type/document_type_pb.js +2746 -0
  68. package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +181 -0
  69. package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +3276 -0
  70. package/prisca/v1/global/meta/meta_grpc_pb.js +1 -0
  71. package/prisca/v1/global/meta/meta_pb.js +1179 -0
  72. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +267 -0
  73. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +7825 -0
  74. package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +178 -0
  75. package/prisca/v1/purchasing_group/purchasing_group_pb.js +2875 -0
  76. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +145 -0
  77. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +2139 -0
  78. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +146 -0
  79. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +2183 -0
  80. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +146 -0
  81. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +2536 -0
  82. package/prisca/v1/account_assignment/account_assignment.pb.go +0 -893
  83. package/prisca/v1/account_assignment/account_assignment_grpc.pb.go +0 -274
  84. package/prisca/v1/account_group/account_group.pb.go +0 -955
  85. package/prisca/v1/account_group/account_group_grpc.pb.go +0 -273
  86. package/prisca/v1/chart_of_account/chart_of_account.pb.go +0 -882
  87. package/prisca/v1/chart_of_account/chart_of_account_grpc.pb.go +0 -273
  88. package/prisca/v1/core/auth/auth.proto +0 -129
  89. package/prisca/v1/core/company/company.proto +0 -86
  90. package/prisca/v1/core/currency/currency.proto +0 -76
  91. package/prisca/v1/core/department_material/department_material.proto +0 -69
  92. package/prisca/v1/core/employee/employee.proto +0 -120
  93. package/prisca/v1/core/job_grade/job_grade.proto +0 -79
  94. package/prisca/v1/core/job_position/job_position.proto +0 -113
  95. package/prisca/v1/core/job_title/job_title.proto +0 -89
  96. package/prisca/v1/core/line_of_approval/line_of_approval.proto +0 -79
  97. package/prisca/v1/core/link_data_source/link_data_source.proto +0 -78
  98. package/prisca/v1/core/location/location.proto +0 -289
  99. package/prisca/v1/core/material/material.proto +0 -129
  100. package/prisca/v1/core/material_group/material_group.proto +0 -79
  101. package/prisca/v1/core/material_type/material_type.proto +0 -77
  102. package/prisca/v1/core/messaging/email_template.proto +0 -75
  103. package/prisca/v1/core/messaging/messaging.proto +0 -28
  104. package/prisca/v1/core/number_range/number_range.proto +0 -83
  105. package/prisca/v1/core/organization/organization.proto +0 -94
  106. package/prisca/v1/core/organization_level/organization_level.proto +0 -77
  107. package/prisca/v1/core/procurement/procurement.proto +0 -54
  108. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx.proto +0 -131
  109. package/prisca/v1/core/recipient_roles/recipient_roles.proto +0 -10
  110. package/prisca/v1/core/tax_code/tax_code.proto +0 -79
  111. package/prisca/v1/core/transaction_builder/transaction_builder.proto +0 -262
  112. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +0 -88
  113. package/prisca/v1/core/users/users.proto +0 -22
  114. package/prisca/v1/core/users_role/users_role.proto +0 -72
  115. package/prisca/v1/core/work_location/work_location.proto +0 -122
  116. package/prisca/v1/core/workflow/workflow.proto +0 -197
  117. package/prisca/v1/document_type/document_type.pb.go +0 -952
  118. package/prisca/v1/document_type/document_type_grpc.pb.go +0 -273
  119. package/prisca/v1/general_ledger_account/general_ledger_account.pb.go +0 -1146
  120. package/prisca/v1/general_ledger_account/general_ledger_account_grpc.pb.go +0 -274
  121. package/prisca/v1/global/meta/meta.proto +0 -57
  122. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.pb.go +0 -2674
  123. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc.pb.go +0 -388
  124. package/prisca/v1/purchasing_group/purchasing_group.pb.go +0 -1004
  125. package/prisca/v1/purchasing_group/purchasing_group_grpc.pb.go +0 -274
  126. package/prisca/v1/purchasing_organization/purchasing_organization.pb.go +0 -775
  127. package/prisca/v1/purchasing_organization/purchasing_organization_grpc.pb.go +0 -236
  128. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.pb.go +0 -805
  129. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc.pb.go +0 -236
  130. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.pb.go +0 -906
  131. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc.pb.go +0 -236
@@ -1,120 +0,0 @@
1
- syntax = "proto3";
2
-
3
- option go_package = "gitlab.com/integra_sm/prisca-v2-core-service/protocgen/prisca/v1/core/employee";
4
-
5
- // Importing necessary dependencies
6
- import "prisca/v1/global/meta/meta.proto";
7
- import "prisca/v1/core/organization/organization.proto";
8
- import "prisca/v1/core/work_location/work_location.proto";
9
- import "prisca/v1/core/job_position/job_position.proto";
10
- import "prisca/v1/core/job_grade/job_grade.proto";
11
- import "prisca/v1/core/job_title/job_title.proto";
12
- import "prisca/v1/core/location/location.proto";
13
- import "prisca/v1/core/company/company.proto";
14
-
15
- service EmployeeService {
16
- rpc CreateEmployee(CreateEmployeeRequest) returns (CreateEmployeeResponse);
17
- rpc GetEmployeeById(GetEmployeeByIdRequest) returns (EmployeeGetByIdResponse);
18
- rpc UpdateEmployee(UpdateEmployeeRequest) returns (UpdateEmployeeResponse);
19
- rpc GetListEmployee(GetListEmployeeRequest) returns (GetListEmployeeResponse);
20
- rpc DeleteEmployee(DeleteEmployeeRequest) returns (DeleteEmployeeResponse);
21
- }
22
-
23
- message Employee {
24
- string nik = 1;
25
- string full_name = 2;
26
- string address = 3;
27
- string email = 4;
28
- string phone_number = 5;
29
- string organization_references_id = 6;
30
- BaseOrganization organizations = 7;
31
- string work_location_references_id = 8;
32
- WorkLocation work_locations = 9;
33
- string job_position_references_id = 10;
34
- JobPosition job_positions = 11;
35
- string job_grade_references_id = 12;
36
- JobGrade job_grades = 13;
37
- string job_title_references_id = 14;
38
- JobTitle job_titles = 15;
39
- string references_id = 16;
40
- string country_references_id = 17;
41
- Country country = 18;
42
- string village_references_id = 19;
43
- Village village = 20;
44
- string city_references_id = 21;
45
- City city = 22;
46
- string district_references_id = 23;
47
- District district = 24;
48
- string province_references_id = 25;
49
- Province province = 26;
50
- string companies_references_id = 27;
51
- BaseCompanyParent companies = 28;
52
- }
53
-
54
- message BaseEmployee {
55
- string nik = 1;
56
- string full_name = 2;
57
- string address = 3;
58
- string email = 4;
59
- string phone_number = 5;
60
- string organization_references_id = 6;
61
- string work_location_references_id = 7;
62
- string job_position_references_id = 8;
63
- string job_grade_references_id = 9;
64
- string job_title_references_id = 10;
65
- string references_id = 11;
66
- string country_references_id = 12;
67
- string village_references_id = 13;
68
- string city_references_id = 14;
69
- string district_references_id = 15;
70
- string province_references_id = 16;
71
- string companies_references_id = 17;
72
- }
73
-
74
- message GetEmployeeByIdRequest {
75
- string references_id = 1;
76
- }
77
-
78
- message CreateEmployeeRequest {
79
- BaseEmployee employee = 1;
80
- }
81
-
82
- message UpdateEmployeeRequest {
83
- string references_id = 1;
84
- BaseEmployee employee = 2;
85
- }
86
-
87
- message DeleteEmployeeRequest {
88
- string references_id = 1;
89
- }
90
-
91
- message GetListEmployeeRequest {
92
- prisca.v1.global.meta.PaginationRequest pagination = 1;
93
- prisca.v1.global.meta.FilterRequest query = 2;
94
- }
95
-
96
- // Response Messages
97
- message CreateEmployeeResponse {
98
- BaseEmployee employee = 1;
99
- prisca.v1.global.meta.Meta meta = 2;
100
- }
101
-
102
- message GetListEmployeeResponse {
103
- repeated Employee employee = 1;
104
- prisca.v1.global.meta.Meta meta = 2;
105
- }
106
-
107
- message UpdateEmployeeResponse {
108
- BaseEmployee employee = 1;
109
- prisca.v1.global.meta.Meta meta = 2;
110
- }
111
-
112
- message EmployeeGetByIdResponse {
113
- Employee employee = 1;
114
- prisca.v1.global.meta.Meta meta = 2;
115
- }
116
-
117
- message DeleteEmployeeResponse {
118
- string references_id = 1;
119
- prisca.v1.global.meta.Meta meta = 2;
120
- }
@@ -1,79 +0,0 @@
1
- syntax = "proto3";
2
-
3
- option go_package = "gitlab.com/integra_sm/prisca-v2-core-service/protocgen/prisca/v1/core/job_grade";
4
-
5
- // Importing necessary dependencies
6
- import "prisca/v1/global/meta/meta.proto";
7
- import "prisca/v1/core/company/company.proto";
8
-
9
- service JobGradeService {
10
- rpc CreateJobGrade(CreateJobGradeRequest) returns (CreateJobGradeResponse);
11
- rpc GetJobGradeById(JobGradeGetByIdRequest) returns (JobGradeGetByIdResponse);
12
- rpc UpdateJobGrade(UpdateJobGradeRequest) returns (UpdateJobGradeResponse);
13
- rpc DeleteJobGrade(DeleteJobGradeRequest) returns (DeleteJobGradeResponse);
14
- rpc GetListJobGrade(GetListJobGradeRequest) returns (GetListJobGradeResponse);
15
- }
16
-
17
- message JobGrade {
18
- string code = 1;
19
- string name = 2;
20
- string description = 3;
21
- string companies_references_id = 4;
22
- }
23
-
24
- message BaseJobGrade {
25
- string references_id = 1;
26
- string code = 2;
27
- string name = 3;
28
- string description = 4;
29
- string companies_references_id = 5;
30
- BaseCompanyParent company = 6;
31
- }
32
-
33
- message JobGradeGetByIdRequest {
34
- string references_id = 1;
35
- }
36
-
37
- message CreateJobGradeRequest {
38
- JobGrade job_grade = 1;
39
- }
40
-
41
- message UpdateJobGradeRequest {
42
- string references_id = 1;
43
- JobGrade job_grade = 2;
44
- }
45
-
46
- message DeleteJobGradeRequest {
47
- int64 id = 1;
48
- }
49
-
50
- message DeleteJobGradeResponse {
51
- int64 id = 1;
52
- prisca.v1.global.meta.Meta meta = 2;
53
- }
54
-
55
- message GetListJobGradeRequest {
56
- prisca.v1.global.meta.PaginationRequest pagination = 1;
57
- prisca.v1.global.meta.FilterRequest query = 2;
58
- }
59
-
60
- // Response Messages
61
- message CreateJobGradeResponse {
62
- BaseJobGrade job_grade = 1;
63
- prisca.v1.global.meta.Meta meta = 2;
64
- }
65
-
66
- message GetListJobGradeResponse {
67
- repeated BaseJobGrade job_grade = 1;
68
- prisca.v1.global.meta.Meta meta = 2;
69
- }
70
-
71
- message UpdateJobGradeResponse {
72
- JobGrade job_grade = 1;
73
- prisca.v1.global.meta.Meta meta = 2;
74
- }
75
-
76
- message JobGradeGetByIdResponse {
77
- BaseJobGrade job_grade = 1;
78
- prisca.v1.global.meta.Meta meta = 2;
79
- }
@@ -1,113 +0,0 @@
1
- syntax = "proto3";
2
-
3
- option go_package = "gitlab.com/integra_sm/prisca-v2-core-service/protocgen/prisca/v1/core/job_position";
4
-
5
- // Importing necessary dependencies
6
- import "prisca/v1/global/meta/meta.proto";
7
- import "prisca/v1/core/organization/organization.proto";
8
- import "prisca/v1/core/work_location/work_location.proto";
9
- import "prisca/v1/core/company/company.proto";
10
- import "prisca/v1/core/users_role/users_role.proto";
11
-
12
- service JobPositionService {
13
- rpc CreateJobPosition(CreateJobPositionRequest) returns (CreateJobPositionResponse);
14
- rpc GetJobPositionById(JobPositionGetByIdRequest) returns (JobPositionGetByIdResponse);
15
- rpc UpdateJobPosition(UpdateJobPositionRequest) returns (UpdateJobPositionResponse);
16
- rpc DeleteJobPosition(DeleteJobPositionRequest) returns (DeleteJobPositionResponse);
17
- rpc GetListJobPosition(GetListJobPositionRequest) returns (GetListJobPositionResponse);
18
- }
19
-
20
- message BaseJobPosition {
21
- string code = 1;
22
- string name = 2;
23
- string alias = 3;
24
- string cost_center_code = 4;
25
- string parent_references_id = 5;
26
- BaseJobPositionParent parent = 6;
27
- string organization_references_id = 7;
28
- BaseOrganization organizations = 8;
29
- string work_location_references_id = 9;
30
- WorkLocation work_locations = 10;
31
- string description = 11;
32
- string companies_references_id = 12;
33
- BaseCompanyParent company = 13;
34
- string users_role_references_id = 14;
35
- BaseUsersRole role = 15;
36
- string references_id = 16;
37
- }
38
-
39
- message BaseJobPositionParent {
40
- string references_id = 1;
41
- string code = 2;
42
- string name = 3;
43
- string alias = 4;
44
- string cost_center_code = 5;
45
- BaseJobPosition job_positions = 6;
46
- Organization organizations = 7;
47
- WorkLocation work_locations = 8;
48
- string description = 9;
49
- BaseCompanyParent company = 10;
50
- BaseUsersRole role = 11;
51
- }
52
-
53
- message JobPosition {
54
- string references_id = 1;
55
- string code = 2;
56
- string name = 3;
57
- string alias = 4;
58
- string cost_center_code = 5;
59
- string parent_references_id = 6;
60
- string organization_references_id = 7;
61
- string work_location_references_id = 8;
62
- string description = 9;
63
- string companies_references_id = 10;
64
- string users_role_references_id = 11;
65
- }
66
-
67
- message JobPositionGetByIdRequest {
68
- string references_id = 1;
69
- }
70
-
71
- message CreateJobPositionRequest {
72
- JobPosition job_position = 1;
73
- }
74
-
75
- message UpdateJobPositionRequest {
76
- string references_id = 1;
77
- JobPosition job_position = 2;
78
- }
79
-
80
- message DeleteJobPositionRequest {
81
- string references_id = 1;
82
- }
83
-
84
- message DeleteJobPositionResponse {
85
- string references_id = 1;
86
- prisca.v1.global.meta.Meta meta = 2;
87
- }
88
-
89
- message GetListJobPositionRequest {
90
- prisca.v1.global.meta.PaginationRequest pagination = 1;
91
- prisca.v1.global.meta.FilterRequest query = 2;
92
- }
93
-
94
- // Response Messages
95
- message CreateJobPositionResponse {
96
- JobPosition job_position = 1;
97
- prisca.v1.global.meta.Meta meta = 2;
98
- }
99
-
100
- message GetListJobPositionResponse {
101
- repeated BaseJobPosition job_position = 1;
102
- prisca.v1.global.meta.Meta meta = 2;
103
- }
104
-
105
- message UpdateJobPositionResponse {
106
- JobPosition job_position = 1;
107
- prisca.v1.global.meta.Meta meta = 2;
108
- }
109
-
110
- message JobPositionGetByIdResponse {
111
- BaseJobPosition job_position = 1;
112
- prisca.v1.global.meta.Meta meta = 2;
113
- }
@@ -1,89 +0,0 @@
1
- syntax = "proto3";
2
-
3
- option go_package = "gitlab.com/integra_sm/prisca-v2-core-service/protocgen/prisca/v1/core/job_title";
4
-
5
- // Importing necessary dependencies
6
- import "prisca/v1/global/meta/meta.proto";
7
- import "prisca/v1/core/company/company.proto";
8
-
9
- service JobTitleService {
10
- rpc CreateJobTitle(CreateJobTitleRequest) returns (CreateJobTitleResponse);
11
- rpc GetJobTitleById(JobTitleGetByIdRequest) returns (JobTitleGetByIdResponse);
12
- rpc UpdateJobTitle(UpdateJobTitleRequest) returns (UpdateJobTitleResponse);
13
- rpc DeleteJobTitle(DeleteJobTitleRequest) returns (DeleteJobTitleResponse);
14
- rpc GetListJobTitle(GetListJobTitleRequest) returns (GetListJobTitleResponse);
15
- }
16
-
17
- message JobTitle {
18
- string code = 1;
19
- string name = 2;
20
- string description = 3;
21
- string parent_references_id = 4;
22
- string companies_references_id = 5;
23
- }
24
-
25
- message BaseJobTitle {
26
- string references_id = 1;
27
- string code = 2;
28
- string name = 3;
29
- string description = 4;
30
- string parent_references_id = 5;
31
- BaseJobTitleParent parent = 6;
32
- string companies_references_id = 7;
33
- BaseCompanyParent company = 8;
34
- }
35
-
36
- message BaseJobTitleParent {
37
- string references_id = 1;
38
- string code = 2;
39
- string name = 3;
40
- string description = 4;
41
- }
42
-
43
- message JobTitleGetByIdRequest {
44
- string references_id = 1;
45
- }
46
-
47
- message CreateJobTitleRequest {
48
- JobTitle job_title = 1;
49
- }
50
-
51
- message UpdateJobTitleRequest {
52
- string references_id = 1;
53
- JobTitle job_title = 2;
54
- }
55
-
56
- message DeleteJobTitleRequest {
57
- int64 id = 1;
58
- }
59
-
60
- message DeleteJobTitleResponse {
61
- int64 id = 1;
62
- prisca.v1.global.meta.Meta meta = 2;
63
- }
64
-
65
- message GetListJobTitleRequest {
66
- prisca.v1.global.meta.PaginationRequest pagination = 1;
67
- prisca.v1.global.meta.FilterRequest query = 2;
68
- }
69
-
70
- // Response Messages
71
- message CreateJobTitleResponse {
72
- JobTitle job_title = 1;
73
- prisca.v1.global.meta.Meta meta = 2;
74
- }
75
-
76
- message GetListJobTitleResponse {
77
- repeated BaseJobTitle job_title = 1;
78
- prisca.v1.global.meta.Meta meta = 2;
79
- }
80
-
81
- message UpdateJobTitleResponse {
82
- JobTitle job_title = 1;
83
- prisca.v1.global.meta.Meta meta = 2;
84
- }
85
-
86
- message JobTitleGetByIdResponse {
87
- BaseJobTitle job_title = 1;
88
- prisca.v1.global.meta.Meta meta = 2;
89
- }
@@ -1,79 +0,0 @@
1
- syntax = "proto3";
2
-
3
- option go_package = "gitlab.com/integra_sm/prisca-v2-core-service/protocgen/prisca/v1/core/line_of_approval";
4
-
5
- import "prisca/v1/global/meta/meta.proto";
6
-
7
- service LineOfApprovalService {
8
- rpc CreateLineOfApproval(CreateLineOfApprovalRequest) returns (CreateLineOfApprovalResponse);
9
- rpc UpdateLineOfApproval(UpdateLineOfApprovalRequest) returns (UpdateLineOfApprovalResponse);
10
- rpc DeleteLineOfApproval(DeleteLineOfApprovalRequest) returns (DeleteLineOfApprovalResponse);
11
- rpc GetLineOfApprovalById(GetLineOfApprovalByIdRequest) returns (GetLineOfApprovalByIdResponse);
12
- rpc GetListLineOfApprovals(GetListLineOfApprovalRequest) returns (GetListLineOfApprovalResponse);
13
- }
14
-
15
- message LineOfApproval {
16
- int32 id = 1;
17
- string workflow_ref = 2;
18
- string document_ref = 3;
19
- string employees_ref_id = 4;
20
- string status = 5;
21
- string references_id = 6;
22
- string created_at = 7; // ISO 8601 format
23
- string updated_at = 8; // Nullable, ISO 8601 format
24
- string document_type = 9;
25
- }
26
-
27
- // Request Messages
28
- message BaseLineOfApprovalRequest {
29
- string status = 1; // Enum values: rejected, pending, approved
30
- }
31
-
32
- message CreateLineOfApprovalRequest {
33
- BaseLineOfApprovalRequest base_line_of_approval = 1;
34
- }
35
-
36
- message UpdateLineOfApprovalRequest {
37
- string references_id = 1;
38
- BaseLineOfApprovalRequest base_line_of_approval = 2;
39
- }
40
-
41
- message DeleteLineOfApprovalRequest {
42
- string references_id = 1;
43
- }
44
-
45
- message GetLineOfApprovalByIdRequest {
46
- string references_id = 1;
47
- }
48
-
49
- message GetListLineOfApprovalRequest {
50
- prisca.v1.global.meta.PaginationRequest pagination = 1;
51
- prisca.v1.global.meta.FilterRequest query = 2;
52
- string keyword = 3;
53
- }
54
-
55
- // Response Messages
56
- message CreateLineOfApprovalResponse {
57
- LineOfApproval line_of_approval = 1;
58
- prisca.v1.global.meta.Meta meta = 2;
59
- }
60
-
61
- message UpdateLineOfApprovalResponse {
62
- LineOfApproval line_of_approval = 1;
63
- prisca.v1.global.meta.Meta meta = 2;
64
- }
65
-
66
- message DeleteLineOfApprovalResponse {
67
- string references_id = 1;
68
- prisca.v1.global.meta.Meta meta = 2;
69
- }
70
-
71
- message GetLineOfApprovalByIdResponse {
72
- LineOfApproval line_of_approval = 1;
73
- prisca.v1.global.meta.Meta meta = 2;
74
- }
75
-
76
- message GetListLineOfApprovalResponse {
77
- repeated LineOfApproval line_of_approvals = 1;
78
- prisca.v1.global.meta.Meta meta = 2;
79
- }
@@ -1,78 +0,0 @@
1
- syntax = "proto3";
2
-
3
- option go_package = "gitlab.com/integra_sm/prisca-v2-core-service/protocgen/cherry/v1/core/link_data_source";
4
-
5
- import "prisca/v1/global/meta/meta.proto";
6
- service LinkDataSourceService {
7
- rpc CreateLinkDataSource (CreateLinkDataSourceReq) returns (CreateLinkDataSourceRes);
8
- rpc UpdateLinkDataSource (UpdateLinkDataSourceReq) returns (UpdateLinkDataSourceRes);
9
- rpc GetIdLinkDataSource (GetIdLinkDataSourceReq) returns (GetIdLinkDataSourceRes);
10
- rpc GetListLinkDataSource (GetListLinkDataSourceReq) returns (GetListLinkDataSourceRes);
11
- rpc DeleteLinkDatasource (DeleteLinkDataSourceReq) returns (DeleteLinkDataSourceRes);
12
- }
13
-
14
- message LinkDataSource {
15
- int64 id = 1;
16
- string url = 2;
17
- string name = 3;
18
- string key = 4;
19
- string auth_type = 5;
20
- string references_id = 6;
21
- string created_at = 7; // Use ISO 8601 format for date strings
22
- string updated_at = 8; // Optional, nullable
23
- }
24
-
25
- message BaseLinkDataSourceReq {
26
- string url = 1;
27
- string key = 2;
28
- string auth_key = 3;
29
- }
30
-
31
- message CreateLinkDataSourceReq {
32
- BaseLinkDataSourceReq base_link_data_source = 1;
33
- }
34
-
35
- message UpdateLinkDataSourceReq {
36
- int64 id = 1;
37
- BaseLinkDataSourceReq base_link_data_source = 2;
38
- }
39
-
40
- message GetIdLinkDataSourceReq {
41
- int64 id = 1;
42
- }
43
-
44
- message DeleteLinkDataSourceReq {
45
- int64 id = 1;
46
- }
47
-
48
- message GetListLinkDataSourceReq {
49
- prisca.v1.global.meta.PaginationRequest pagination = 1;
50
- prisca.v1.global.meta.FilterRequest query = 2;
51
- }
52
-
53
- // response
54
-
55
- message CreateLinkDataSourceRes {
56
- LinkDataSource link_data_source = 1;
57
- prisca.v1.global.meta.Meta meta =2;
58
- }
59
-
60
- message UpdateLinkDataSourceRes {
61
- LinkDataSource link_data_source = 1;
62
- prisca.v1.global.meta.Meta meta =2;
63
- }
64
-
65
- message GetIdLinkDataSourceRes {
66
- LinkDataSource link_data_source = 1;
67
- prisca.v1.global.meta.Meta meta =2;
68
- }
69
-
70
- message DeleteLinkDataSourceRes {
71
- int64 id = 1;
72
- prisca.v1.global.meta.Meta meta =2;
73
- }
74
-
75
- message GetListLinkDataSourceRes {
76
- repeated LinkDataSource link_data_source = 1;
77
- prisca.v1.global.meta.Meta meta =2;
78
- }