@aldiokta/protocgen 1.1.21 → 1.1.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/account_assignment/account_assignment.proto +81 -0
  3. package/prisca/v1/account_group/account_group.proto +88 -0
  4. package/prisca/v1/bidding/bidding.proto +221 -0
  5. package/prisca/v1/chart_of_account/chart_of_account.proto +89 -0
  6. package/prisca/v1/core/access_manager/access_manager.proto +281 -0
  7. package/prisca/v1/core/auth/auth.proto +150 -0
  8. package/prisca/v1/core/chat_messaging/chat_messaging.proto +55 -0
  9. package/prisca/v1/core/company/company.proto +92 -0
  10. package/prisca/v1/core/currency/currency.proto +76 -0
  11. package/prisca/v1/core/department_material/department_material.proto +69 -0
  12. package/prisca/v1/core/employee/employee.proto +129 -0
  13. package/prisca/v1/core/file_upload/file_upload.proto +37 -0
  14. package/prisca/v1/core/incoterm/incoterm.proto +85 -0
  15. package/prisca/v1/core/item_transaction/item_transaction.proto +134 -0
  16. package/prisca/v1/core/job_grade/job_grade.proto +79 -0
  17. package/prisca/v1/core/job_position/job_position.proto +113 -0
  18. package/prisca/v1/core/job_title/job_title.proto +89 -0
  19. package/prisca/v1/core/line_of_activity/line_of_activity.proto +66 -0
  20. package/prisca/v1/core/line_of_approval/line_of_approval.proto +96 -0
  21. package/prisca/v1/core/link_data_source/link_data_source.proto +78 -0
  22. package/prisca/v1/core/location/location.proto +289 -0
  23. package/prisca/v1/core/material/material.proto +131 -0
  24. package/prisca/v1/core/material_group/material_group.proto +85 -0
  25. package/prisca/v1/core/material_type/material_type.proto +95 -0
  26. package/prisca/v1/core/messaging/email_template.proto +75 -0
  27. package/prisca/v1/core/messaging/messaging.proto +29 -0
  28. package/prisca/v1/core/number_range/number_range.proto +89 -0
  29. package/prisca/v1/core/organization/organization.proto +94 -0
  30. package/prisca/v1/core/organization_level/organization_level.proto +77 -0
  31. package/prisca/v1/core/price_condition/price_condition.proto +93 -0
  32. package/prisca/v1/core/procurement/procurement.proto +54 -0
  33. package/prisca/v1/core/recipient_roles/recipient_roles.proto +10 -0
  34. package/prisca/v1/core/report/report.proto +90 -0
  35. package/prisca/v1/core/report/user_report.proto +74 -0
  36. package/prisca/v1/core/tax_code/tax_code.proto +82 -0
  37. package/prisca/v1/core/term_of_payment/term_of_payment.proto +74 -0
  38. package/prisca/v1/core/transaction_builder/transaction_builder.proto +325 -0
  39. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +88 -0
  40. package/prisca/v1/core/users/users.proto +55 -0
  41. package/prisca/v1/core/work_location/work_location.proto +122 -0
  42. package/prisca/v1/core/workflow/workflow.proto +218 -0
  43. package/prisca/v1/delivery_order/delivery_order.proto +147 -0
  44. package/prisca/v1/document_type/document_type.proto +82 -0
  45. package/prisca/v1/general_ledger_account/general_ledger_account.proto +100 -0
  46. package/prisca/v1/global/meta/meta.proto +57 -0
  47. package/prisca/v1/good_receipt/good_receipt.proto +11 -0
  48. package/prisca/v1/purchase_order/purchase_order.proto +157 -0
  49. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto +306 -0
  50. package/prisca/v1/purchasing_group/purchasing_group.proto +89 -0
  51. package/prisca/v1/purchasing_organization/purchasing_organization.proto +79 -0
  52. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.proto +81 -0
  53. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.proto +80 -0
  54. package/prisca/v1/quotation/quotation.proto +118 -0
  55. package/prisca/v1/request_for_quotation/request_for_quotation.proto +174 -0
  56. package/prisca/v1/valuation/valuation.proto +223 -0
  57. package/prisca/v1/vendor_domain/vendor_domain.proto +226 -0
  58. package/prisca/v1/account_assignment/account_assignment_grpc_pb.js +0 -199
  59. package/prisca/v1/account_assignment/account_assignment_pb.js +0 -2674
  60. package/prisca/v1/account_group/account_group_grpc_pb.js +0 -200
  61. package/prisca/v1/account_group/account_group_pb.js +0 -2937
  62. package/prisca/v1/bidding/bidding_grpc_pb.js +0 -229
  63. package/prisca/v1/bidding/bidding_pb.js +0 -6335
  64. package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +0 -199
  65. package/prisca/v1/chart_of_account/chart_of_account_pb.js +0 -2907
  66. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +0 -544
  67. package/prisca/v1/core/access_manager/access_manager_pb.js +0 -9383
  68. package/prisca/v1/core/auth/auth_grpc_pb.js +0 -423
  69. package/prisca/v1/core/auth/auth_pb.js +0 -4497
  70. package/prisca/v1/core/chat_messaging/chat_messaging_grpc_pb.js +0 -111
  71. package/prisca/v1/core/chat_messaging/chat_messaging_pb.js +0 -1531
  72. package/prisca/v1/core/company/company_grpc_pb.js +0 -178
  73. package/prisca/v1/core/company/company_pb.js +0 -3048
  74. package/prisca/v1/core/currency/currency_grpc_pb.js +0 -177
  75. package/prisca/v1/core/currency/currency_pb.js +0 -2522
  76. package/prisca/v1/core/department_material/department_material_grpc_pb.js +0 -144
  77. package/prisca/v1/core/department_material/department_material_pb.js +0 -2167
  78. package/prisca/v1/core/employee/employee_grpc_pb.js +0 -206
  79. package/prisca/v1/core/employee/employee_pb.js +0 -4283
  80. package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +0 -44
  81. package/prisca/v1/core/file_upload/file_upload_pb.js +0 -1052
  82. package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +0 -144
  83. package/prisca/v1/core/incoterm/incoterm_pb.js +0 -2497
  84. package/prisca/v1/core/item_transaction/item_transaction_grpc_pb.js +0 -1
  85. package/prisca/v1/core/item_transaction/item_transaction_pb.js +0 -3910
  86. package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +0 -178
  87. package/prisca/v1/core/job_grade/job_grade_pb.js +0 -2605
  88. package/prisca/v1/core/job_position/job_position_grpc_pb.js +0 -181
  89. package/prisca/v1/core/job_position/job_position_pb.js +0 -3762
  90. package/prisca/v1/core/job_title/job_title_grpc_pb.js +0 -178
  91. package/prisca/v1/core/job_title/job_title_pb.js +0 -2958
  92. package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +0 -45
  93. package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +0 -1188
  94. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +0 -200
  95. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +0 -3191
  96. package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +0 -177
  97. package/prisca/v1/core/link_data_source/link_data_source_pb.js +0 -2612
  98. package/prisca/v1/core/location/location_grpc_pb.js +0 -837
  99. package/prisca/v1/core/location/location_pb.js +0 -10879
  100. package/prisca/v1/core/material/material_grpc_pb.js +0 -182
  101. package/prisca/v1/core/material/material_pb.js +0 -4180
  102. package/prisca/v1/core/material_group/material_group_grpc_pb.js +0 -178
  103. package/prisca/v1/core/material_group/material_group_pb.js +0 -2776
  104. package/prisca/v1/core/material_type/material_type_grpc_pb.js +0 -149
  105. package/prisca/v1/core/material_type/material_type_pb.js +0 -2697
  106. package/prisca/v1/core/messaging/email_template_grpc_pb.js +0 -177
  107. package/prisca/v1/core/messaging/email_template_pb.js +0 -2552
  108. package/prisca/v1/core/messaging/messaging_grpc_pb.js +0 -56
  109. package/prisca/v1/core/messaging/messaging_pb.js +0 -896
  110. package/prisca/v1/core/number_range/number_range_grpc_pb.js +0 -178
  111. package/prisca/v1/core/number_range/number_range_pb.js +0 -2926
  112. package/prisca/v1/core/organization/organization_grpc_pb.js +0 -180
  113. package/prisca/v1/core/organization/organization_pb.js +0 -3032
  114. package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +0 -178
  115. package/prisca/v1/core/organization_level/organization_level_pb.js +0 -2545
  116. package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +0 -146
  117. package/prisca/v1/core/price_condition/price_condition_pb.js +0 -2654
  118. package/prisca/v1/core/procurement/procurement_grpc_pb.js +0 -146
  119. package/prisca/v1/core/procurement/procurement_pb.js +0 -1681
  120. package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +0 -1
  121. package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +0 -206
  122. package/prisca/v1/core/report/report_grpc_pb.js +0 -200
  123. package/prisca/v1/core/report/report_pb.js +0 -2822
  124. package/prisca/v1/core/report/user_report_grpc_pb.js +0 -179
  125. package/prisca/v1/core/report/user_report_pb.js +0 -2452
  126. package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +0 -177
  127. package/prisca/v1/core/tax_code/tax_code_pb.js +0 -2582
  128. package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +0 -144
  129. package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +0 -2105
  130. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +0 -498
  131. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +0 -10976
  132. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +0 -180
  133. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +0 -2798
  134. package/prisca/v1/core/users/users_grpc_pb.js +0 -45
  135. package/prisca/v1/core/users/users_pb.js +0 -1246
  136. package/prisca/v1/core/work_location/work_location_grpc_pb.js +0 -179
  137. package/prisca/v1/core/work_location/work_location_pb.js +0 -3972
  138. package/prisca/v1/core/workflow/workflow_grpc_pb.js +0 -203
  139. package/prisca/v1/core/workflow/workflow_pb.js +0 -7525
  140. package/prisca/v1/document_type/document_type_grpc_pb.js +0 -178
  141. package/prisca/v1/document_type/document_type_pb.js +0 -2746
  142. package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +0 -181
  143. package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +0 -3276
  144. package/prisca/v1/global/meta/meta_grpc_pb.js +0 -1
  145. package/prisca/v1/global/meta/meta_pb.js +0 -1179
  146. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +0 -228
  147. package/prisca/v1/purchase_order/purchase_order_pb.js +0 -4959
  148. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -523
  149. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -9917
  150. package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +0 -178
  151. package/prisca/v1/purchasing_group/purchasing_group_pb.js +0 -2875
  152. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +0 -145
  153. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +0 -2139
  154. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +0 -146
  155. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +0 -2183
  156. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +0 -145
  157. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +0 -2543
  158. package/prisca/v1/quotation/quotation_grpc_pb.js +0 -152
  159. package/prisca/v1/quotation/quotation_pb.js +0 -2319
  160. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +0 -192
  161. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +0 -5703
  162. package/prisca/v1/valuation/valuation_grpc_pb.js +0 -365
  163. package/prisca/v1/valuation/valuation_pb.js +0 -7729
  164. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +0 -224
  165. package/prisca/v1/vendor_domain/vendor_domain_pb.js +0 -6333
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aldiokta/protocgen",
3
- "version": "1.1.21",
3
+ "version": "1.1.23",
4
4
  "description": "protocgen js generated for products v2",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -0,0 +1,81 @@
1
+ syntax = "proto3";
2
+
3
+ option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/account_assignment;account_assignment";
4
+
5
+ import "prisca/v1/global/meta/meta.proto";
6
+
7
+ service AccountAssignmentService {
8
+ rpc CreateAccountAssignment(CreateAccountAssignmentRequest)
9
+ returns (CreateAccountAssignmentResponse);
10
+ rpc CreateAccountAssignmentDefault(CreateAccountAssignmentDefaultReq)
11
+ returns (CreateAccountAssignmentDefaultReq);
12
+ rpc UpdateAccountAssignment(UpdateAccountAssignmentRequest)
13
+ returns (UpdateAccountAssignmentResponse);
14
+ rpc GetAccountAssignmentById(GetAccountAssignmentByIdRequest)
15
+ returns (GetAccountAssignmentByIdResponse);
16
+ rpc GetListAccountAssignment(GetListAccountAssignmentRequest)
17
+ returns (GetListAccountAssignmentResponse);
18
+ rpc DeleteAccountAssignment(DeleteAccountAssignmentRequest)
19
+ returns (DeleteAccountAssignmentResponse);
20
+ }
21
+
22
+ message AccountAssignment {
23
+ int64 id = 1;
24
+ string category = 2;
25
+ string category_description = 3;
26
+ string references_id = 4;
27
+ string created_at = 5; // Use ISO 8601 format for date strings
28
+ string updated_at = 6; // Optional, nullable
29
+ }
30
+
31
+ message BaseAccountAssignment {
32
+ string category = 1;
33
+ string category_description = 2;
34
+ }
35
+
36
+ message CreateAccountAssignmentRequest {
37
+ BaseAccountAssignment base_account_assignment = 1;
38
+ }
39
+ message CreateAccountAssignmentDefaultReq {
40
+ string companies_references_id = 1;
41
+ }
42
+ message CreateAccountAssignmentResponse {
43
+ AccountAssignment account_assignment = 1;
44
+ prisca.v1.global.meta.Meta meta = 2;
45
+ }
46
+
47
+ message UpdateAccountAssignmentRequest {
48
+ string references_id = 1;
49
+ BaseAccountAssignment base_account_assignment = 2;
50
+ }
51
+
52
+ message UpdateAccountAssignmentResponse {
53
+ AccountAssignment account_assignment = 1;
54
+ prisca.v1.global.meta.Meta meta = 2;
55
+ }
56
+
57
+ message GetAccountAssignmentByIdRequest { string references_id = 1; }
58
+
59
+ message GetAccountAssignmentByIdResponse {
60
+ AccountAssignment account_assignment = 1;
61
+ prisca.v1.global.meta.Meta meta = 2;
62
+ }
63
+
64
+ message GetListAccountAssignmentRequest {
65
+ prisca.v1.global.meta.PaginationRequest pagination = 1;
66
+ prisca.v1.global.meta.FilterRequest query = 2;
67
+ }
68
+
69
+ message GetListAccountAssignmentResponse {
70
+ repeated AccountAssignment account_assignments = 1;
71
+ prisca.v1.global.meta.Meta meta = 2;
72
+ }
73
+
74
+ message DeleteAccountAssignmentRequest {
75
+ repeated string reference_ids = 1;
76
+ }
77
+
78
+ message DeleteAccountAssignmentResponse {
79
+ repeated string reference_ids = 1;
80
+ prisca.v1.global.meta.Meta meta = 2;
81
+ }
@@ -0,0 +1,88 @@
1
+ syntax = "proto3";
2
+
3
+ option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/account_group;account_group";
4
+
5
+ import "prisca/v1/global/meta/meta.proto";
6
+ import "prisca/v1/chart_of_account/chart_of_account.proto";
7
+
8
+ service AccountGroupService {
9
+ rpc CreateAccountGroup(CreateAccountGroupRequest)
10
+ returns (CreateAccountGroupResponse);
11
+ rpc CreateAccountGroupDefault(CreateAccountGroupDefaultReq)
12
+ returns (CreateAccountGroupDefaultReq);
13
+ rpc UpdateAccountGroup(UpdateAccountGroupRequest)
14
+ returns (UpdateAccountGroupResponse);
15
+ rpc GetAccountGroupById(GetAccountGroupByIdRequest)
16
+ returns (GetAccountGroupByIdResponse);
17
+ rpc GetListAccountGroup(GetListAccountGroupRequest)
18
+ returns (GetListAccountGroupResponse);
19
+ rpc DeleteAccountGroup(DeleteAccountGroupRequest)
20
+ returns (DeleteAccountGroupResponse);
21
+ }
22
+
23
+ message AccountGroup {
24
+ int64 id = 1;
25
+ string code = 2;
26
+ string name = 3;
27
+ string from_account = 4;
28
+ string to_account = 5;
29
+ string chart_of_account_ref = 6;
30
+ string references_id = 7;
31
+ string created_at = 8; // Use ISO 8601 format for date strings
32
+ string updated_at = 9; // Optional, nullable
33
+ optional ChartOfAccount chart_of_account = 10;
34
+ }
35
+
36
+ message BaseAccountGroup {
37
+ string code = 1;
38
+ string name = 2;
39
+ string from_account = 3;
40
+ string to_account = 4;
41
+ string chart_of_account_ref = 5;
42
+ }
43
+
44
+ message CreateAccountGroupRequest { BaseAccountGroup base_account_group = 1; }
45
+ message CreateAccountGroupDefaultReq {
46
+ string chart_of_account_ref = 1;
47
+ string companies_references_id = 2;
48
+ }
49
+ message CreateAccountGroupResponse {
50
+ AccountGroup account_group = 1;
51
+ prisca.v1.global.meta.Meta meta = 2;
52
+ }
53
+
54
+ message UpdateAccountGroupRequest {
55
+ string references_id = 1;
56
+ BaseAccountGroup base_account_group = 2;
57
+ }
58
+
59
+ message UpdateAccountGroupResponse {
60
+ AccountGroup account_group = 1;
61
+ prisca.v1.global.meta.Meta meta = 2;
62
+ }
63
+
64
+ message GetAccountGroupByIdRequest { string references_id = 1; }
65
+
66
+ message GetAccountGroupByIdResponse {
67
+ AccountGroup account_group = 1;
68
+ prisca.v1.global.meta.Meta meta = 2;
69
+ }
70
+
71
+ message GetListAccountGroupRequest {
72
+ prisca.v1.global.meta.PaginationRequest pagination = 1;
73
+ prisca.v1.global.meta.FilterRequest query = 2;
74
+ }
75
+
76
+ message GetListAccountGroupResponse {
77
+ repeated AccountGroup account_groups = 1;
78
+ prisca.v1.global.meta.Meta meta = 2;
79
+ }
80
+
81
+ message DeleteAccountGroupRequest {
82
+ repeated string reference_ids = 1;
83
+ }
84
+
85
+ message DeleteAccountGroupResponse {
86
+ repeated string reference_ids = 1;
87
+ prisca.v1.global.meta.Meta meta = 2;
88
+ }
@@ -0,0 +1,221 @@
1
+ syntax = "proto3";
2
+
3
+ option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/bidding";
4
+ import "prisca/v1/global/meta/meta.proto";
5
+ import "prisca/v1/vendor_domain/vendor_domain.proto";
6
+ import "prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto";
7
+ import "prisca/v1/core/transaction_builder/transaction_builder.proto";
8
+ import "prisca/v1/core/item_transaction/item_transaction.proto";
9
+ import "prisca/v1/core/employee/employee.proto";
10
+ import "prisca/v1/core/file_upload/file_upload.proto";
11
+ // import "prisca/v1/core/valuation/valuation.proto";
12
+ import "prisca/v1/request_for_quotation/request_for_quotation.proto";
13
+
14
+ service BiddingService {
15
+ rpc CreateBidding (CreateBiddingRequest) returns (ResponseBidding);
16
+ rpc GetDetailBidding (GetDetailBiddingByReferences) returns (GetBiddingDetailResponse);
17
+ rpc GetListBidding (RequestGetListBidding) returns (ResponseGetListBidding);
18
+ rpc UpdateBidding (UpdateBiddingReq) returns (ResponseBidding);
19
+ rpc GetBiddingById (GetBiddingByIdRequest) returns (GetBiddingByIdResponse);
20
+ rpc RequestForPO (RequestPO) returns (ResponseRequestPo);
21
+ rpc UpdateBiddingStatus (UpdateBiddingStatusReq) returns (ResponseBidding);
22
+ rpc AddVendorBidding (RequestAddVendorBidding) returns (ResponseAddVendorBidding);
23
+ rpc UpdateFileBidding (RequestUpdateFileBidding) returns (ResUpdateFileBidding);
24
+ }
25
+
26
+
27
+
28
+ message Quotation {
29
+ int64 id = 1;
30
+ string title = 2;
31
+ string description = 3;
32
+ string detail = 4; // Represents json.RawMessage
33
+ float pr_quantity = 5;
34
+ float remaining_quantity_po = 6;
35
+ string replacement = 7;
36
+ float quantity = 8;
37
+ float price = 9;
38
+ string vendor_references_id = 10;
39
+ string bidding_references_id = 11; // Unique
40
+ string quotation_number = 12;
41
+ string request_for_quotation_number = 13;
42
+ string bidding_number = 14;
43
+ string term_of_payment = 15; // Represents json.RawMessage
44
+ string delivery_date = 16; // Nullable (ISO 8601 format)
45
+ string delivery_point = 17;
46
+ string vendor_source = 18;
47
+ bool set_winner = 19; // Default: false
48
+ bool is_scored = 20;
49
+ string notes_for_vendor = 21;
50
+ string term_of_condition = 22; // Represents json.RawMessage
51
+ string custom_transaction = 23; // Represents json.RawMessage
52
+ string references_id = 24; // UUID
53
+ string created_by = 25;
54
+ string updated_by = 26;
55
+ string created_at = 27; // ISO 8601 format
56
+ string updated_at = 28; // Nullable (ISO 8601 format)
57
+ repeated ItemTransaction item_transactions = 29;
58
+ optional Vendor vendor = 30;
59
+ optional Employee created_by_employee = 31;
60
+ optional Employee updated_by_employee = 32;
61
+ bool visible = 33;
62
+ optional Bidding bidding = 34;
63
+ string companies_references_id = 35;
64
+ repeated FileUploadReferencesReq files = 36;
65
+ string purchase_requisition_transaction_number = 37;
66
+ string file_ids = 38;
67
+ }
68
+
69
+ message Bidding {
70
+ int64 id = 1;
71
+ string bidding_number = 2;
72
+ string request_for_quotation_references_id = 3;
73
+ string request_for_quotation_number = 4;
74
+ string department = 5;
75
+ string bidding_start_date = 6;
76
+ string bidding_end_date = 7;
77
+ string title = 8;
78
+ string remarks = 9;
79
+ string max_submission_date = 10;
80
+ string references_id = 11;
81
+ repeated Quotation quotation= 12;
82
+ string fileIds = 13;
83
+ string created_by = 14;
84
+ string updated_by =15;
85
+ string created_at = 16;
86
+ string updated_at = 17;
87
+ string custom_transaction = 18;
88
+ optional Employee created_by_employee = 19;
89
+ optional Employee updated_by_employee = 20;
90
+ string status = 21;
91
+ string companies_references_id = 22;
92
+ string group_references = 23;
93
+ string purchase_requisition_transaction_number = 24;
94
+ }
95
+
96
+ message RequestBiddingBase {
97
+ string bidding_number = 1;
98
+ string request_for_quotation_references_id = 2;
99
+ string request_for_quotation_number = 3;
100
+ string bidding_start_date = 5;
101
+ string bidding_end_date = 6;
102
+ string title = 7;
103
+ string term_of_payment = 8;
104
+ string max_submission_date = 9;
105
+ string remarks = 10;
106
+ repeated FileUploadReferencesReq files = 11;
107
+ repeated ItemTransaction item_transactions = 13;
108
+ string status = 14;
109
+ string purchase_requisition_transaction_number = 15;
110
+ string group_references = 16;
111
+
112
+ }
113
+
114
+ message RequestUpdateFileBidding {
115
+ string references_id = 1;
116
+ repeated FileUploadReferencesReq files = 2;
117
+ }
118
+
119
+ message RequestAddVendorBidding {
120
+ string references_id = 1;
121
+ Vendor request_quotation_vendor = 2;
122
+ }
123
+
124
+ message UpdateBiddingStatusReq {
125
+ string references_id = 1;
126
+ string status = 2;
127
+ }
128
+
129
+ message CreateBiddingRequest {
130
+ string references_id = 1; // references rfq
131
+ }
132
+
133
+ message RequestBidding {
134
+ RequestBiddingBase request_bidding = 1;
135
+ }
136
+ message GetBiddingByIdRequest {
137
+ string references_id =1;
138
+ }
139
+ message GetDetailBiddingByReferences {
140
+ string references_id = 1;
141
+ }
142
+
143
+ message UpdateBiddingReq {
144
+ string references_id = 1;
145
+ string status = 2;
146
+ string bidding_start_date = 3;
147
+ string bidding_end_date = 4;
148
+ string reason = 5;
149
+ }
150
+
151
+ message RequestGetListBidding {
152
+ prisca.v1.global.meta.PaginationRequest pagination = 1;
153
+ prisca.v1.global.meta.FilterRequest query = 2;
154
+ }
155
+
156
+
157
+ message ResponseBidding {
158
+ Bidding bidding = 1;
159
+ prisca.v1.global.meta.Meta meta = 2;
160
+ }
161
+
162
+ message GetBiddingByIdResponse {
163
+ Bidding bidding = 1;
164
+ prisca.v1.global.meta.Meta meta =2;
165
+ }
166
+ message ResponseDetailBiddingByReferences {
167
+ Bidding bidding = 1;
168
+ prisca.v1.global.meta.Meta meta = 2;
169
+ }
170
+
171
+
172
+ message ResponseAddVendorBidding {
173
+ Quotation quotation = 1;
174
+ prisca.v1.global.meta.Meta meta = 2;
175
+ }
176
+
177
+
178
+ message ResponseGetListBidding {
179
+ repeated Bidding bidding = 1;
180
+ prisca.v1.global.meta.Meta meta = 2;
181
+ }
182
+
183
+ message GetBiddingDetailResponse {
184
+ repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder = 1;
185
+ repeated GetQuotationDetailPreload transaction_builder_quotation = 2;
186
+ }
187
+
188
+ message GetQuotationDetailPreload {
189
+ repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder = 1;
190
+ repeated GetQuotationItemPreload transaction_builder_items = 2;
191
+ repeated GetQuotationVendorPreload transaction_builder_vendors = 3;
192
+ }
193
+
194
+
195
+ message GetQuotationItemPreload {
196
+ repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder_item = 1;
197
+ repeated GetQuotationItemDetailPreload transaction_builder_item_details = 2;
198
+ }
199
+
200
+ message GetQuotationItemDetailPreload {
201
+ repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder_item_detail = 1;
202
+ }
203
+
204
+ message GetQuotationVendorPreload {
205
+ repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder_vendor = 1;
206
+ }
207
+
208
+
209
+ message ResUpdateFileBidding {
210
+ string references_id = 1;
211
+ repeated FileUploadReferencesReq files = 2;
212
+ }
213
+
214
+ message RequestPO {
215
+ string references_id = 1;
216
+ string quotation_references = 2;
217
+ }
218
+
219
+ message ResponseRequestPo {
220
+ prisca.v1.global.meta.Meta meta = 2;
221
+ }
@@ -0,0 +1,89 @@
1
+ syntax = "proto3";
2
+
3
+ option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/chart_of_account;chart_of_account";
4
+
5
+ import "prisca/v1/global/meta/meta.proto";
6
+
7
+ service ChartOfAccountService {
8
+ rpc CreateChartOfAccount(CreateChartOfAccountRequest)
9
+ returns (CreateChartOfAccountResponse);
10
+ rpc CreateChartOfAccountDefault(CreateChartOfAccountRequestDefault)
11
+ returns (CreateChartOfAccountResponse);
12
+ rpc UpdateChartOfAccount(UpdateChartOfAccountRequest)
13
+ returns (UpdateChartOfAccountResponse);
14
+ rpc GetChartOfAccountById(GetChartOfAccountByIdRequest)
15
+ returns (GetChartOfAccountByIdResponse);
16
+ rpc GetListChartOfAccount(GetListChartOfAccountRequest)
17
+ returns (GetListChartOfAccountResponse);
18
+ rpc DeleteChartOfAccount(DeleteChartOfAccountRequest)
19
+ returns (DeleteChartOfAccountResponse);
20
+ }
21
+
22
+ message ChartOfAccount {
23
+ int64 id = 1;
24
+ string code = 2;
25
+ string code_description = 3;
26
+ string references_id = 4;
27
+ string created_at = 5; // Use ISO 8601 format for date strings
28
+ string updated_at = 6; // Optional, nullable
29
+ }
30
+
31
+ message BaseChartOfAccount {
32
+ string code = 1;
33
+ string code_description = 2;
34
+ }
35
+
36
+ message BaseChartOfAccountDefault {
37
+ string code = 1;
38
+ string code_description = 2;
39
+ string companies_references_id = 3;
40
+ }
41
+
42
+ message CreateChartOfAccountRequest {
43
+ BaseChartOfAccount base_chart_of_account = 1;
44
+ }
45
+
46
+ message CreateChartOfAccountRequestDefault {
47
+ BaseChartOfAccountDefault base_chart_of_account = 1;
48
+ }
49
+
50
+ message CreateChartOfAccountResponse {
51
+ ChartOfAccount chart_of_account = 1;
52
+ prisca.v1.global.meta.Meta meta = 2;
53
+ }
54
+
55
+ message UpdateChartOfAccountRequest {
56
+ string references_id = 1;
57
+ BaseChartOfAccount base_chart_of_account = 2;
58
+ }
59
+
60
+ message UpdateChartOfAccountResponse {
61
+ ChartOfAccount chart_of_account = 1;
62
+ prisca.v1.global.meta.Meta meta = 2;
63
+ }
64
+
65
+ message GetChartOfAccountByIdRequest { string references_id = 1; }
66
+
67
+ message GetChartOfAccountByIdResponse {
68
+ ChartOfAccount chart_of_account = 1;
69
+ prisca.v1.global.meta.Meta meta = 2;
70
+ }
71
+
72
+ message GetListChartOfAccountRequest {
73
+ prisca.v1.global.meta.PaginationRequest pagination = 1;
74
+ prisca.v1.global.meta.FilterRequest query = 2;
75
+ }
76
+
77
+ message GetListChartOfAccountResponse {
78
+ repeated ChartOfAccount chart_of_accounts = 1;
79
+ prisca.v1.global.meta.Meta meta = 2;
80
+ }
81
+
82
+ message DeleteChartOfAccountRequest {
83
+ repeated string reference_ids = 1;
84
+ }
85
+
86
+ message DeleteChartOfAccountResponse {
87
+ repeated string reference_ids = 1;
88
+ prisca.v1.global.meta.Meta meta = 2;
89
+ }