@aldiokta/protocgen 1.1.44 → 1.1.45

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 (178) 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 +251 -0
  5. package/prisca/v1/chart_of_account/chart_of_account.proto +89 -0
  6. package/prisca/v1/core/access_manager/access_manager.proto +328 -0
  7. package/prisca/v1/core/auth/auth.proto +185 -0
  8. package/prisca/v1/core/chat_messaging/chat_messaging.proto +62 -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 +41 -0
  14. package/prisca/v1/core/incoterm/incoterm.proto +85 -0
  15. package/prisca/v1/core/item_transaction/item_transaction.proto +188 -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 +94 -0
  20. package/prisca/v1/core/line_of_approval/line_of_approval.proto +113 -0
  21. package/prisca/v1/core/link_data_source/link_data_source.proto +78 -0
  22. package/prisca/v1/core/location/location.proto +295 -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 +77 -0
  27. package/prisca/v1/core/messaging/messaging.proto +29 -0
  28. package/prisca/v1/core/messaging/notification.proto +144 -0
  29. package/prisca/v1/core/number_range/number_range.proto +89 -0
  30. package/prisca/v1/core/organization/organization.proto +94 -0
  31. package/prisca/v1/core/organization_level/organization_level.proto +77 -0
  32. package/prisca/v1/core/price_condition/price_condition.proto +97 -0
  33. package/prisca/v1/core/procurement/procurement.proto +54 -0
  34. package/prisca/v1/core/recipient_roles/recipient_roles.proto +10 -0
  35. package/prisca/v1/core/report/report.proto +90 -0
  36. package/prisca/v1/core/report/user_report.proto +74 -0
  37. package/prisca/v1/core/tax_code/tax_code.proto +82 -0
  38. package/prisca/v1/core/term_of_payment/term_of_payment.proto +74 -0
  39. package/prisca/v1/core/transaction_builder/transaction_builder.proto +366 -0
  40. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +89 -0
  41. package/prisca/v1/core/users/users.proto +55 -0
  42. package/prisca/v1/core/work_location/work_location.proto +122 -0
  43. package/prisca/v1/core/workflow/workflow.proto +220 -0
  44. package/prisca/v1/core/workspace/workspace.proto +48 -0
  45. package/prisca/v1/delivery_order/delivery_order.proto +116 -0
  46. package/prisca/v1/document_type/document_type.proto +89 -0
  47. package/prisca/v1/general_ledger_account/general_ledger_account.proto +100 -0
  48. package/prisca/v1/global/meta/meta.proto +57 -0
  49. package/prisca/v1/good_receipt/good_receipt.proto +118 -0
  50. package/prisca/v1/invoice/invoice.proto +170 -0
  51. package/prisca/v1/purchase_order/purchase_order.proto +292 -0
  52. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto +327 -0
  53. package/prisca/v1/purchasing_group/purchasing_group.proto +89 -0
  54. package/prisca/v1/purchasing_organization/purchasing_organization.proto +77 -0
  55. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.proto +81 -0
  56. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.proto +80 -0
  57. package/prisca/v1/quotation/quotation.proto +135 -0
  58. package/prisca/v1/request_for_quotation/request_for_quotation.proto +203 -0
  59. package/prisca/v1/valuation/valuation.proto +223 -0
  60. package/prisca/v1/vendor_domain/vendor_domain.proto +485 -0
  61. package/prisca/v1/account_assignment/account_assignment_grpc_pb.js +0 -199
  62. package/prisca/v1/account_assignment/account_assignment_pb.js +0 -2720
  63. package/prisca/v1/account_group/account_group_grpc_pb.js +0 -200
  64. package/prisca/v1/account_group/account_group_pb.js +0 -2983
  65. package/prisca/v1/bidding/bidding_grpc_pb.js +0 -350
  66. package/prisca/v1/bidding/bidding_pb.js +0 -8694
  67. package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +0 -199
  68. package/prisca/v1/chart_of_account/chart_of_account_pb.js +0 -2953
  69. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +0 -577
  70. package/prisca/v1/core/access_manager/access_manager_pb.js +0 -10655
  71. package/prisca/v1/core/auth/auth_grpc_pb.js +0 -523
  72. package/prisca/v1/core/auth/auth_pb.js +0 -5833
  73. package/prisca/v1/core/chat_messaging/chat_messaging_grpc_pb.js +0 -111
  74. package/prisca/v1/core/chat_messaging/chat_messaging_pb.js +0 -1726
  75. package/prisca/v1/core/company/company_grpc_pb.js +0 -178
  76. package/prisca/v1/core/company/company_pb.js +0 -3094
  77. package/prisca/v1/core/currency/currency_grpc_pb.js +0 -177
  78. package/prisca/v1/core/currency/currency_pb.js +0 -2516
  79. package/prisca/v1/core/department_material/department_material_grpc_pb.js +0 -144
  80. package/prisca/v1/core/department_material/department_material_pb.js +0 -2161
  81. package/prisca/v1/core/employee/employee_grpc_pb.js +0 -206
  82. package/prisca/v1/core/employee/employee_pb.js +0 -4329
  83. package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +0 -66
  84. package/prisca/v1/core/file_upload/file_upload_pb.js +0 -1136
  85. package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +0 -177
  86. package/prisca/v1/core/incoterm/incoterm_pb.js +0 -2898
  87. package/prisca/v1/core/item_transaction/item_transaction_grpc_pb.js +0 -1
  88. package/prisca/v1/core/item_transaction/item_transaction_pb.js +0 -6038
  89. package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +0 -178
  90. package/prisca/v1/core/job_grade/job_grade_pb.js +0 -2651
  91. package/prisca/v1/core/job_position/job_position_grpc_pb.js +0 -181
  92. package/prisca/v1/core/job_position/job_position_pb.js +0 -3808
  93. package/prisca/v1/core/job_title/job_title_grpc_pb.js +0 -178
  94. package/prisca/v1/core/job_title/job_title_pb.js +0 -3004
  95. package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +0 -78
  96. package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +0 -2503
  97. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +0 -222
  98. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +0 -3801
  99. package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +0 -177
  100. package/prisca/v1/core/link_data_source/link_data_source_pb.js +0 -2606
  101. package/prisca/v1/core/location/location_grpc_pb.js +0 -837
  102. package/prisca/v1/core/location/location_pb.js +0 -11262
  103. package/prisca/v1/core/material/material_grpc_pb.js +0 -182
  104. package/prisca/v1/core/material/material_pb.js +0 -4226
  105. package/prisca/v1/core/material_group/material_group_grpc_pb.js +0 -178
  106. package/prisca/v1/core/material_group/material_group_pb.js +0 -2822
  107. package/prisca/v1/core/material_type/material_type_grpc_pb.js +0 -182
  108. package/prisca/v1/core/material_type/material_type_pb.js +0 -3098
  109. package/prisca/v1/core/messaging/email_template_grpc_pb.js +0 -177
  110. package/prisca/v1/core/messaging/email_template_pb.js +0 -2658
  111. package/prisca/v1/core/messaging/messaging_grpc_pb.js +0 -56
  112. package/prisca/v1/core/messaging/messaging_pb.js +0 -890
  113. package/prisca/v1/core/messaging/notification_grpc_pb.js +0 -331
  114. package/prisca/v1/core/messaging/notification_pb.js +0 -4775
  115. package/prisca/v1/core/number_range/number_range_grpc_pb.js +0 -178
  116. package/prisca/v1/core/number_range/number_range_pb.js +0 -2972
  117. package/prisca/v1/core/organization/organization_grpc_pb.js +0 -180
  118. package/prisca/v1/core/organization/organization_pb.js +0 -3078
  119. package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +0 -178
  120. package/prisca/v1/core/organization_level/organization_level_pb.js +0 -2591
  121. package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +0 -179
  122. package/prisca/v1/core/price_condition/price_condition_pb.js +0 -3175
  123. package/prisca/v1/core/procurement/procurement_grpc_pb.js +0 -146
  124. package/prisca/v1/core/procurement/procurement_pb.js +0 -1675
  125. package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +0 -1
  126. package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +0 -200
  127. package/prisca/v1/core/report/report_grpc_pb.js +0 -200
  128. package/prisca/v1/core/report/report_pb.js +0 -2816
  129. package/prisca/v1/core/report/user_report_grpc_pb.js +0 -179
  130. package/prisca/v1/core/report/user_report_pb.js +0 -2446
  131. package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +0 -177
  132. package/prisca/v1/core/tax_code/tax_code_pb.js +0 -2778
  133. package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +0 -177
  134. package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +0 -2506
  135. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +0 -652
  136. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +0 -11953
  137. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +0 -180
  138. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +0 -2874
  139. package/prisca/v1/core/users/users_grpc_pb.js +0 -78
  140. package/prisca/v1/core/users/users_pb.js +0 -1647
  141. package/prisca/v1/core/work_location/work_location_grpc_pb.js +0 -179
  142. package/prisca/v1/core/work_location/work_location_pb.js +0 -4018
  143. package/prisca/v1/core/workflow/workflow_grpc_pb.js +0 -203
  144. package/prisca/v1/core/workflow/workflow_pb.js +0 -7631
  145. package/prisca/v1/core/workspace/workspace_grpc_pb.js +0 -101
  146. package/prisca/v1/core/workspace/workspace_pb.js +0 -1381
  147. package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +0 -229
  148. package/prisca/v1/delivery_order/delivery_order_pb.js +0 -3647
  149. package/prisca/v1/document_type/document_type_grpc_pb.js +0 -200
  150. package/prisca/v1/document_type/document_type_pb.js +0 -3004
  151. package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +0 -181
  152. package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +0 -3322
  153. package/prisca/v1/global/meta/meta_grpc_pb.js +0 -1
  154. package/prisca/v1/global/meta/meta_pb.js +0 -1173
  155. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +0 -250
  156. package/prisca/v1/good_receipt/good_receipt_pb.js +0 -3945
  157. package/prisca/v1/invoice/invoice_grpc_pb.js +0 -273
  158. package/prisca/v1/invoice/invoice_pb.js +0 -5664
  159. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +0 -263
  160. package/prisca/v1/purchase_order/purchase_order_pb.js +0 -9839
  161. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -600
  162. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -10795
  163. package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +0 -178
  164. package/prisca/v1/purchasing_group/purchasing_group_pb.js +0 -2921
  165. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +0 -178
  166. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +0 -2418
  167. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +0 -179
  168. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +0 -2584
  169. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +0 -145
  170. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +0 -2537
  171. package/prisca/v1/quotation/quotation_grpc_pb.js +0 -240
  172. package/prisca/v1/quotation/quotation_pb.js +0 -4167
  173. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +0 -281
  174. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +0 -7042
  175. package/prisca/v1/valuation/valuation_grpc_pb.js +0 -366
  176. package/prisca/v1/valuation/valuation_pb.js +0 -7806
  177. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +0 -290
  178. package/prisca/v1/vendor_domain/vendor_domain_pb.js +0 -14714
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aldiokta/protocgen",
3
- "version": "1.1.44",
3
+ "version": "1.1.45",
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,251 @@
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/company/company.proto";
12
+ // import "prisca/v1/core/valuation/valuation.proto";
13
+ import "prisca/v1/request_for_quotation/request_for_quotation.proto";
14
+
15
+ service BiddingService {
16
+ rpc CreateBidding (CreateBiddingRequest) returns (ResponseBidding);
17
+ rpc GetDetailBidding (GetDetailBiddingByReferences) returns (GetBiddingDetailResponse);
18
+ rpc GetListBidding (RequestGetListBidding) returns (ResponseGetListBidding);
19
+ rpc UpdateBidding (UpdateBiddingReq) returns (ResponseBidding);
20
+ rpc GetBiddingById (GetBiddingByIdRequest) returns (GetBiddingByIdResponse);
21
+ rpc RequestForPO (RequestPO) returns (ResponseRequestPo);
22
+ rpc UpdateBiddingStatus (UpdateBiddingStatusReq) returns (ResponseBidding);
23
+ rpc AddVendorBidding (RequestAddVendorBidding) returns (ResponseAddVendorBidding);
24
+ rpc DeleteVendorBidding (DeleteVendorBiddingReq) returns (DeleteVendorBiddingRes);
25
+ rpc UpdateFileBidding (RequestUpdateFileBidding) returns (ResUpdateFileBidding);
26
+ rpc ExtendedBidding (RequestExtended) returns (ResponseBidding);
27
+ }
28
+
29
+ message Quotation {
30
+ int64 id = 1;
31
+ string title = 2;
32
+ string description = 3;
33
+ string detail = 4; // Represents json.RawMessage
34
+ float pr_quantity = 5;
35
+ float remaining_quantity_po = 6;
36
+ string replacement = 7;
37
+ float quantity = 8;
38
+ float price = 9;
39
+ string vendor_references_id = 10;
40
+ string bidding_references_id = 11; // Unique
41
+ string quotation_number = 12;
42
+ string request_for_quotation_number = 13;
43
+ string bidding_number = 14;
44
+ string term_of_payment = 15; // Represents json.RawMessage
45
+ string delivery_date = 16; // Nullable (ISO 8601 format)
46
+ string delivery_point = 17;
47
+ string vendor_source = 18;
48
+ bool set_winner = 19; // Default: false
49
+ bool is_scored = 20;
50
+ string notes_for_vendor = 21;
51
+ string term_of_condition = 22; // Represents json.RawMessage
52
+ string custom_transaction = 23; // Represents json.RawMessage
53
+ string references_id = 24; // UUID
54
+ string created_by = 25;
55
+ string updated_by = 26;
56
+ string created_at = 27; // ISO 8601 format
57
+ string updated_at = 28; // Nullable (ISO 8601 format)
58
+ repeated ItemTransaction item_transactions = 29;
59
+ optional Vendor vendor = 30;
60
+ optional Employee created_by_employee = 31;
61
+ optional Employee updated_by_employee = 32;
62
+ bool visible = 33;
63
+ optional Bidding bidding = 34;
64
+ string companies_references_id = 35;
65
+ repeated FileUploadReferencesReq files = 36;
66
+ string purchase_requisition_transaction_number = 37;
67
+ string file_ids = 38;
68
+ string status = 39;
69
+ string bidding_date = 40;
70
+ string bidding_start_date = 41;
71
+ string bidding_end_date = 42;
72
+ string request_for_quotation_method = 43;
73
+ string max_submission_date = 44;
74
+ optional BaseCompany companies = 45;
75
+ string department = 46;
76
+ }
77
+
78
+ message Bidding {
79
+ int64 id = 1;
80
+ string bidding_number = 2;
81
+ string request_for_quotation_references_id = 3;
82
+ string request_for_quotation_number = 4;
83
+ string department = 5;
84
+ string bidding_start_date = 6;
85
+ string bidding_end_date = 7;
86
+ string title = 8;
87
+ string remarks = 9;
88
+ string max_submission_date = 10;
89
+ string references_id = 11;
90
+ repeated Quotation quotation= 12;
91
+ string fileIds = 13;
92
+ string created_by = 14;
93
+ string updated_by =15;
94
+ string created_at = 16;
95
+ string updated_at = 17;
96
+ string custom_transaction = 18;
97
+ optional Employee created_by_employee = 19;
98
+ optional Employee updated_by_employee = 20;
99
+ string status = 21;
100
+ string companies_references_id = 22;
101
+ string group_references = 23;
102
+ string purchase_requisition_transaction_number = 24;
103
+ int64 total_quotation = 25;
104
+ int64 fullfiled_quotation = 26;
105
+ string term_of_payment = 27;
106
+ string purchasing_organization = 28;
107
+ string purchasing_group = 29;
108
+ string purchase_requisition_type = 30;
109
+ }
110
+
111
+ message RequestExtended {
112
+ string references_id = 1;
113
+ string reason_bidding_extended = 2;
114
+ string max_submission_date = 3;
115
+ string bidding_end_date = 4;
116
+ }
117
+
118
+ message RequestBiddingBase {
119
+ string bidding_number = 1;
120
+ string request_for_quotation_references_id = 2;
121
+ string request_for_quotation_number = 3;
122
+ string bidding_start_date = 5;
123
+ string bidding_end_date = 6;
124
+ string title = 7;
125
+ string term_of_payment = 8;
126
+ string max_submission_date = 9;
127
+ string remarks = 10;
128
+ repeated FileUploadReferencesReq files = 11;
129
+ repeated ItemTransaction item_transactions = 13;
130
+ string status = 14;
131
+ string purchase_requisition_transaction_number = 15;
132
+ string group_references = 16;
133
+ string purchase_requisition_type = 17;
134
+ string purchasing_organization = 18;
135
+ string purchasing_group = 19;
136
+ }
137
+
138
+ message RequestUpdateFileBidding {
139
+ string references_id = 1;
140
+ repeated FileUploadReferencesReq files = 2;
141
+ }
142
+
143
+ message RequestAddVendorBidding {
144
+ string references_id = 1;
145
+ Vendor request_quotation_vendor = 2;
146
+ }
147
+
148
+ message UpdateBiddingStatusReq {
149
+ string references_id = 1;
150
+ string status = 2;
151
+ }
152
+
153
+ message CreateBiddingRequest {
154
+ string references_id = 1; // references rfq
155
+ }
156
+
157
+ message RequestBidding {
158
+ RequestBiddingBase request_bidding = 1;
159
+ }
160
+
161
+ message GetBiddingByIdRequest {
162
+ string references_id =1;
163
+ }
164
+ message GetDetailBiddingByReferences {
165
+ string references_id = 1;
166
+ }
167
+
168
+ message UpdateBiddingReq {
169
+ string references_id = 1;
170
+ string status = 2;
171
+ string bidding_start_date = 3;
172
+ string bidding_end_date = 4;
173
+ string reason = 5;
174
+ }
175
+
176
+ message RequestGetListBidding {
177
+ prisca.v1.global.meta.PaginationRequest pagination = 1;
178
+ prisca.v1.global.meta.FilterRequest query = 2;
179
+ }
180
+
181
+ message ResponseBidding {
182
+ Bidding bidding = 1;
183
+ prisca.v1.global.meta.Meta meta = 2;
184
+ }
185
+
186
+ message GetBiddingByIdResponse {
187
+ Bidding bidding = 1;
188
+ prisca.v1.global.meta.Meta meta =2;
189
+ }
190
+ message ResponseDetailBiddingByReferences {
191
+ Bidding bidding = 1;
192
+ prisca.v1.global.meta.Meta meta = 2;
193
+ }
194
+
195
+ message ResponseAddVendorBidding {
196
+ Quotation quotation = 1;
197
+ prisca.v1.global.meta.Meta meta = 2;
198
+ }
199
+
200
+ message ResponseGetListBidding {
201
+ repeated Bidding bidding = 1;
202
+ prisca.v1.global.meta.Meta meta = 2;
203
+ }
204
+
205
+ message GetBiddingDetailResponse {
206
+ repeated TransactionBuilderFieldsDetail transaction_builder = 1;
207
+ repeated GetQuotationDetailPreload transaction_builder_quotation = 2;
208
+ }
209
+
210
+ message GetQuotationDetailPreload {
211
+ repeated TransactionBuilderFieldsDetail transaction_builder = 1;
212
+ repeated GetQuotationItemPreload transaction_builder_items = 2;
213
+ repeated GetQuotationVendorPreload transaction_builder_vendors = 3;
214
+ }
215
+
216
+ message GetQuotationItemPreload {
217
+ repeated TransactionBuilderFieldsDetail transaction_builder_item = 1;
218
+ repeated GetQuotationItemDetailPreload transaction_builder_item_details = 2;
219
+ }
220
+
221
+ message GetQuotationItemDetailPreload {
222
+ repeated TransactionBuilderFieldsDetail transaction_builder_item_detail = 1;
223
+ }
224
+
225
+ message GetQuotationVendorPreload {
226
+ repeated TransactionBuilderFieldsDetail transaction_builder_vendor = 1;
227
+ }
228
+
229
+ message ResUpdateFileBidding {
230
+ string references_id = 1;
231
+ repeated FileUploadReferencesReq files = 2;
232
+ }
233
+
234
+ message RequestPO {
235
+ string references_id = 1;
236
+ string quotation_references = 2;
237
+ }
238
+
239
+ message ResponseRequestPo {
240
+ repeated string po_numbers = 1;
241
+ prisca.v1.global.meta.Meta meta = 2;
242
+ }
243
+
244
+ message DeleteVendorBiddingReq {
245
+ string bidding_reference_id = 1;
246
+ repeated string vendor_reference_ids = 2;
247
+ }
248
+
249
+ message DeleteVendorBiddingRes {
250
+ prisca.v1.global.meta.Meta meta = 1;
251
+ }
@@ -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
+ }