@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
@@ -0,0 +1,223 @@
1
+ syntax = "proto3";
2
+
3
+ option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/valuation";
4
+ import "prisca/v1/core/employee/employee.proto";
5
+ import "prisca/v1/global/meta/meta.proto";
6
+ import "prisca/v1/vendor_domain/vendor_domain.proto";
7
+
8
+ service ValuationService {
9
+ rpc CreateValuationIndicator(CreateValuationIndicatorRequest) returns (CreateValuationIndicatorResponse);
10
+ rpc UpdateValuationIndicator(UpdateValuationIndicatorRequest) returns (UpdateValuationIndicatorResponse);
11
+ rpc DeleteValuationIndicator(DeleteValuationIndicatorRequest) returns (DeleteValuationIndicatorResponse);
12
+ rpc GetListValuationIndicators(GetListValuationIndicatorRequest)
13
+ returns (GetListValuationIndicatorResponse);
14
+ rpc CreateValuationScale(CreateValuationScaleRequest) returns (CreateValuationScaleResponse);
15
+ rpc UpdateValuationScale(UpdateValuationScaleRequest) returns (UpdateValuationScaleResponse);
16
+ rpc DeleteValuationScale(DeleteValuationScaleRequest) returns (DeleteValuationScaleResponse);
17
+ rpc GetListValuationScales(GetListValuationScaleRequest)
18
+ returns (GetListValuationScaleResponse);
19
+ rpc CreateValuationDefault(CreateValuationDefaultRequest) returns (ValuationUpdateResponse);
20
+ rpc FindValuationBuilder(GetListValuationRequest) returns (ValuationBuilderResponse);
21
+ rpc SetValuation(ValuationUpdateRequest) returns (ValuationUpdateResponse);
22
+ }
23
+
24
+ //valuation
25
+
26
+ message Valuation {
27
+ int64 id = 1;
28
+ string references_id = 2;
29
+ string created_by = 3;
30
+ string updated_by = 4;
31
+ string updated_at = 5;
32
+ string created_at = 6;
33
+ optional Employee created_by_employee = 7;
34
+ optional Employee updated_by_employee = 8;
35
+ string companies_references_id = 9;
36
+ string bidding_references_id = 10;
37
+ string vendor_references_id = 11;
38
+ string quotation_references_id = 12;
39
+ string valuation_indicator_references_id = 13;
40
+ string valuation_scale_references_id = 14;
41
+ optional ValuationIndicator valuation_indicator = 15;
42
+ optional ValuationScale valuation_scale = 16;
43
+ }
44
+
45
+ message BaseValuationReq {
46
+ string valuation_indicator_references_id = 1;
47
+ string valuation_scale_references_id = 2;
48
+ }
49
+
50
+ message ValuationUpdateRequest {
51
+ string quotation_references_id = 1;
52
+ repeated BaseValuationReq base_valuation = 2;
53
+ }
54
+
55
+ message ValuationUpdateResponse {
56
+ repeated Valuation valuation = 1;
57
+ prisca.v1.global.meta.Meta meta =2;
58
+ }
59
+
60
+ message BaseValuationBuilder {
61
+ string name = 1;
62
+ string indicator_references_id = 2;
63
+ float point = 3;
64
+ }
65
+
66
+ message ValuationBuilderResponse {
67
+ repeated BaseValuationBuilder valuation_builders = 1;
68
+ repeated ValuationScale valuation_scales = 2;
69
+ string bidding_references_id = 3;
70
+ string vendor_references_id = 4;
71
+ optional Vendor vendor = 5;
72
+ prisca.v1.global.meta.Meta meta =6;
73
+ }
74
+
75
+ message GetListValuationRequest {
76
+ string quotation_references_id = 1;
77
+ }
78
+
79
+ message CreateValuationDefaultRequest {
80
+ string quotation_references_id = 1;
81
+ }
82
+
83
+ //valuation indicator
84
+ message ValuationIndicator {
85
+ int64 id = 1;
86
+ string name = 2;
87
+ string description = 3;
88
+ string references_id = 4;
89
+ string created_by = 5;
90
+ string updated_by = 6;
91
+ string updated_at = 7;
92
+ string created_at = 8;
93
+ optional Employee created_by_employee = 9;
94
+ optional Employee updated_by_employee = 10;
95
+ string companies_references_id = 11;
96
+ }
97
+
98
+ message BaseValuationIndicatorRequest {
99
+ string name = 1;
100
+ string description = 2;
101
+ }
102
+
103
+ message CreateValuationIndicatorRequest {
104
+ BaseValuationIndicatorRequest base_valuation_indicator = 1;
105
+ }
106
+
107
+ message UpdateValuationIndicatorRequest {
108
+ string references_id =1;
109
+ BaseValuationIndicatorRequest base_valuation_indicator = 2;
110
+ }
111
+
112
+ message DeleteValuationIndicatorRequest {
113
+ string references_id =1;
114
+ }
115
+
116
+ message GetValuationIndicatorByIdRequest {
117
+ string references_id =1;
118
+ }
119
+
120
+ message GetListValuationIndicatorRequest {
121
+ prisca.v1.global.meta.PaginationRequest pagination = 1;
122
+ prisca.v1.global.meta.FilterRequest query = 2;
123
+ }
124
+
125
+ // Response Messages
126
+ message CreateValuationIndicatorResponse {
127
+ ValuationIndicator valuation_indicator = 1;
128
+ prisca.v1.global.meta.Meta meta =2;
129
+ }
130
+
131
+ message UpdateValuationIndicatorResponse {
132
+ ValuationIndicator valuation_indicator = 1;
133
+ prisca.v1.global.meta.Meta meta =2;
134
+ }
135
+
136
+ message DeleteValuationIndicatorResponse {
137
+ string references_id =1;
138
+ prisca.v1.global.meta.Meta meta =2;
139
+ }
140
+
141
+ message GetValuationIndicatorByIdResponse {
142
+ ValuationIndicator valuation_indicator = 1;
143
+ prisca.v1.global.meta.Meta meta =2;
144
+ }
145
+
146
+ message GetListValuationIndicatorResponse {
147
+ repeated ValuationIndicator valuation_indicators = 1;
148
+ prisca.v1.global.meta.Meta meta =2;
149
+ }
150
+
151
+ //valuation scale
152
+ message ValuationScale {
153
+ int64 id = 1;
154
+ string name = 2;
155
+ string description = 3;
156
+ string references_id = 4;
157
+ string created_by = 5;
158
+ string updated_by = 6;
159
+ string updated_at = 7;
160
+ string created_at = 8;
161
+ optional Employee created_by_employee = 9;
162
+ optional Employee updated_by_employee = 10;
163
+ string companies_references_id = 11;
164
+ float point = 12;
165
+ float order_point = 13;
166
+ string color = 14;
167
+ }
168
+
169
+ message BaseValuationScaleRequest {
170
+ string name = 1;
171
+ string description = 2;
172
+ float point = 3;
173
+ float order_point = 4;
174
+ string color = 5;
175
+ }
176
+
177
+ message CreateValuationScaleRequest {
178
+ BaseValuationScaleRequest base_valuation_scale = 1;
179
+ }
180
+
181
+ message UpdateValuationScaleRequest {
182
+ string references_id =1;
183
+ BaseValuationScaleRequest base_valuation_scale = 2;
184
+ }
185
+
186
+ message DeleteValuationScaleRequest {
187
+ string references_id =1;
188
+ }
189
+
190
+ message GetValuationScaleByIdRequest {
191
+ string references_id =1;
192
+ }
193
+
194
+ message GetListValuationScaleRequest {
195
+ prisca.v1.global.meta.PaginationRequest pagination = 1;
196
+ prisca.v1.global.meta.FilterRequest query = 2;
197
+ }
198
+
199
+ // Response Messages
200
+ message CreateValuationScaleResponse {
201
+ ValuationScale valuation_scale = 1;
202
+ prisca.v1.global.meta.Meta meta =2;
203
+ }
204
+
205
+ message UpdateValuationScaleResponse {
206
+ ValuationScale valuation_scale = 1;
207
+ prisca.v1.global.meta.Meta meta =2;
208
+ }
209
+
210
+ message DeleteValuationScaleResponse {
211
+ string references_id =1;
212
+ prisca.v1.global.meta.Meta meta =2;
213
+ }
214
+
215
+ message GetValuationScaleByIdResponse {
216
+ ValuationScale valuation_scale = 1;
217
+ prisca.v1.global.meta.Meta meta =2;
218
+ }
219
+
220
+ message GetListValuationScaleResponse {
221
+ repeated ValuationScale valuation_scales = 1;
222
+ prisca.v1.global.meta.Meta meta =2;
223
+ }
@@ -0,0 +1,226 @@
1
+ syntax = "proto3";
2
+
3
+ option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/vendor_domain";
4
+
5
+ import "prisca/v1/global/meta/meta.proto";
6
+ import "prisca/v1/core/file_upload/file_upload.proto";
7
+ import "prisca/v1/core/transaction_builder/transaction_builder.proto";
8
+ //package prisca.v1.vendor_domain;
9
+
10
+ // Unit of Measurement Service
11
+ service VendorService {
12
+ rpc CreateVendor(CreateVendorRequest) returns (CreateVendorResponse);
13
+ rpc GetVendorById(GetVendorByIdRequest) returns (GetVendorByIdResponse);
14
+ rpc GetVendorByIdDetail(GetVendorByIdRequest) returns (GetVendorDetailResponse);
15
+ rpc GetVendorProfile(GetVendorProfileRequest) returns (GetVendorByIdResponse);
16
+ rpc GetListVendors(GetListVendorRequest) returns (GetListVendorResponse);
17
+ rpc UpdateVendor(UpdateVendorRequest) returns (UpdateVendorResponse);
18
+ rpc DeleteVendor(DeleteVendorRequest) returns (DeleteVendorResponse);
19
+ }
20
+
21
+ message Vendor {
22
+ int64 id = 1;
23
+ string name = 2;
24
+ string references_id = 3;
25
+ string alias_name = 4;
26
+ string legal_form = 5;
27
+ string organization_title = 6;
28
+ string grouping = 7;
29
+ string organization = 8;
30
+ string status = 9;
31
+ bool one_time_status = 10;
32
+ string created_at = 11; // ISO 8601 format
33
+ string updated_at = 12; // Nullable
34
+
35
+ // Address Information
36
+ string street = 13;
37
+ string house_number = 14;
38
+ string city = 15;
39
+ string postal_code = 16;
40
+ string country = 17;
41
+ string region = 18;
42
+ string language = 19;
43
+
44
+ // Industry
45
+ string industry = 20;
46
+
47
+ // Roles
48
+ string business_partner_role = 21;
49
+ string valid_from = 22;
50
+ string valid_to = 23;
51
+
52
+ // Bank Accounts
53
+ repeated BankAccount bank_accounts = 24;
54
+
55
+ // Contacts
56
+ repeated Contact contacts = 25;
57
+
58
+ // Communication
59
+ repeated Communication communications = 26;
60
+
61
+ // Relationships
62
+ repeated Relationship relationships = 27;
63
+
64
+ // Tax Information
65
+ repeated TaxInformation tax_information = 28;
66
+
67
+ // Attachments
68
+ string file_ids = 29;
69
+ repeated FileUploadReferencesReq files = 30;
70
+
71
+ // Notes
72
+ string vendor_description = 31;
73
+ bool is_send_to_vendor = 32;
74
+ }
75
+
76
+ message BankAccount {
77
+ string id = 1;
78
+ string account_name = 2;
79
+ string account_number = 3;
80
+ }
81
+
82
+ message Contact {
83
+ string first_name = 1;
84
+ string last_name = 2;
85
+ string valid_from = 3;
86
+ string valid_to = 4;
87
+ }
88
+
89
+ message Relationship {
90
+ string category = 1;
91
+ string business_partner = 2;
92
+ string valid_from = 3;
93
+ string valid_to = 4;
94
+ }
95
+
96
+ message Communication {
97
+ string telephone = 1;
98
+ string cell_phone = 2;
99
+ string fax = 3;
100
+ string email = 4;
101
+ }
102
+
103
+ message TaxInformation {
104
+ string tax_number = 1;
105
+ string tax_category = 2;
106
+ }
107
+
108
+ message Attachment {
109
+ string file_name = 1;
110
+ string file_url = 2;
111
+ }
112
+
113
+
114
+ // Request Messages
115
+ message BaseVendorRequest {
116
+ string name = 1;
117
+ string alias_name = 2;
118
+ string legal_form = 3;
119
+ string organization_title = 4;
120
+ string grouping = 5;
121
+ string organization = 6;
122
+ string status = 7;
123
+
124
+ // Address Information
125
+ string street = 8;
126
+ string house_number = 9;
127
+ string city = 10;
128
+ string postal_code = 11;
129
+ string country = 12;
130
+ string region = 13;
131
+ string language = 14;
132
+
133
+ // Industry
134
+ string industry = 15;
135
+
136
+ // Roles
137
+ string business_partner_role = 16;
138
+ string valid_from = 17;
139
+ string valid_to = 18;
140
+
141
+ // Bank Accounts
142
+ repeated BankAccount bank_accounts = 19;
143
+
144
+ // Contacts
145
+ repeated Contact contacts = 20;
146
+
147
+ // Communication
148
+ repeated Communication communications = 21;
149
+ // Relationships
150
+ repeated Relationship relationships = 22;
151
+
152
+ // Tax Information
153
+ repeated TaxInformation tax_information = 23;
154
+
155
+ // Attachments
156
+ repeated FileUploadReferencesReq files = 24;
157
+
158
+ // Notes
159
+ string vendor_description = 25;
160
+ }
161
+
162
+
163
+ message CreateVendorRequest {
164
+ BaseVendorRequest base_vendor = 1;
165
+ }
166
+
167
+ message UpdateVendorRequest {
168
+ string references_id =1;
169
+ BaseVendorRequest base_vendor = 2;
170
+ }
171
+
172
+ message GetListVendorRequest {
173
+ prisca.v1.global.meta.PaginationRequest pagination = 1;
174
+ prisca.v1.global.meta.FilterRequest query = 2;
175
+ }
176
+
177
+ message GetVendorByIdRequest {
178
+ string references_id =1;
179
+ }
180
+
181
+ message GetVendorProfileRequest {
182
+ }
183
+
184
+ message DeleteVendorRequest {
185
+ string references_id =1;
186
+ }
187
+
188
+ // Response Messages
189
+ message CreateVendorResponse {
190
+ Vendor vendor = 1;
191
+ prisca.v1.global.meta.Meta meta =2;
192
+ }
193
+
194
+ message UpdateVendorResponse {
195
+ Vendor vendor = 1;
196
+ prisca.v1.global.meta.Meta meta =2;
197
+ }
198
+
199
+ message GetListVendorResponse {
200
+ repeated Vendor vendors = 1;
201
+ prisca.v1.global.meta.Meta meta =2;
202
+ }
203
+
204
+ message GetVendorByIdResponse {
205
+ Vendor vendor = 1;
206
+ prisca.v1.global.meta.Meta meta =2;
207
+ }
208
+
209
+ message DeleteVendorResponse {
210
+ string references_id =1;
211
+ prisca.v1.global.meta.Meta meta =2;
212
+ }
213
+
214
+ message GetVendorDetailResponse {
215
+ repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder = 1;
216
+ repeated GetVendorItemPreload transaction_builder_items = 2;
217
+ }
218
+
219
+ message GetVendorItemPreload {
220
+ repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder_item = 1;
221
+ repeated GetVendorItemDetailPreload transaction_builder_item_details = 2;
222
+ }
223
+
224
+ message GetVendorItemDetailPreload {
225
+ repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder_item_detail = 1;
226
+ }
@@ -1,199 +0,0 @@
1
- // GENERATED CODE -- DO NOT EDIT!
2
-
3
- 'use strict';
4
- var grpc = require('@grpc/grpc-js');
5
- var prisca_v1_account_assignment_account_assignment_pb = require('../../../prisca/v1/account_assignment/account_assignment_pb.js');
6
- var prisca_v1_global_meta_meta_pb = require('../../../prisca/v1/global/meta/meta_pb.js');
7
-
8
- function serialize_CreateAccountAssignmentDefaultReq(arg) {
9
- if (!(arg instanceof prisca_v1_account_assignment_account_assignment_pb.CreateAccountAssignmentDefaultReq)) {
10
- throw new Error('Expected argument of type CreateAccountAssignmentDefaultReq');
11
- }
12
- return Buffer.from(arg.serializeBinary());
13
- }
14
-
15
- function deserialize_CreateAccountAssignmentDefaultReq(buffer_arg) {
16
- return prisca_v1_account_assignment_account_assignment_pb.CreateAccountAssignmentDefaultReq.deserializeBinary(new Uint8Array(buffer_arg));
17
- }
18
-
19
- function serialize_CreateAccountAssignmentRequest(arg) {
20
- if (!(arg instanceof prisca_v1_account_assignment_account_assignment_pb.CreateAccountAssignmentRequest)) {
21
- throw new Error('Expected argument of type CreateAccountAssignmentRequest');
22
- }
23
- return Buffer.from(arg.serializeBinary());
24
- }
25
-
26
- function deserialize_CreateAccountAssignmentRequest(buffer_arg) {
27
- return prisca_v1_account_assignment_account_assignment_pb.CreateAccountAssignmentRequest.deserializeBinary(new Uint8Array(buffer_arg));
28
- }
29
-
30
- function serialize_CreateAccountAssignmentResponse(arg) {
31
- if (!(arg instanceof prisca_v1_account_assignment_account_assignment_pb.CreateAccountAssignmentResponse)) {
32
- throw new Error('Expected argument of type CreateAccountAssignmentResponse');
33
- }
34
- return Buffer.from(arg.serializeBinary());
35
- }
36
-
37
- function deserialize_CreateAccountAssignmentResponse(buffer_arg) {
38
- return prisca_v1_account_assignment_account_assignment_pb.CreateAccountAssignmentResponse.deserializeBinary(new Uint8Array(buffer_arg));
39
- }
40
-
41
- function serialize_DeleteAccountAssignmentRequest(arg) {
42
- if (!(arg instanceof prisca_v1_account_assignment_account_assignment_pb.DeleteAccountAssignmentRequest)) {
43
- throw new Error('Expected argument of type DeleteAccountAssignmentRequest');
44
- }
45
- return Buffer.from(arg.serializeBinary());
46
- }
47
-
48
- function deserialize_DeleteAccountAssignmentRequest(buffer_arg) {
49
- return prisca_v1_account_assignment_account_assignment_pb.DeleteAccountAssignmentRequest.deserializeBinary(new Uint8Array(buffer_arg));
50
- }
51
-
52
- function serialize_DeleteAccountAssignmentResponse(arg) {
53
- if (!(arg instanceof prisca_v1_account_assignment_account_assignment_pb.DeleteAccountAssignmentResponse)) {
54
- throw new Error('Expected argument of type DeleteAccountAssignmentResponse');
55
- }
56
- return Buffer.from(arg.serializeBinary());
57
- }
58
-
59
- function deserialize_DeleteAccountAssignmentResponse(buffer_arg) {
60
- return prisca_v1_account_assignment_account_assignment_pb.DeleteAccountAssignmentResponse.deserializeBinary(new Uint8Array(buffer_arg));
61
- }
62
-
63
- function serialize_GetAccountAssignmentByIdRequest(arg) {
64
- if (!(arg instanceof prisca_v1_account_assignment_account_assignment_pb.GetAccountAssignmentByIdRequest)) {
65
- throw new Error('Expected argument of type GetAccountAssignmentByIdRequest');
66
- }
67
- return Buffer.from(arg.serializeBinary());
68
- }
69
-
70
- function deserialize_GetAccountAssignmentByIdRequest(buffer_arg) {
71
- return prisca_v1_account_assignment_account_assignment_pb.GetAccountAssignmentByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
72
- }
73
-
74
- function serialize_GetAccountAssignmentByIdResponse(arg) {
75
- if (!(arg instanceof prisca_v1_account_assignment_account_assignment_pb.GetAccountAssignmentByIdResponse)) {
76
- throw new Error('Expected argument of type GetAccountAssignmentByIdResponse');
77
- }
78
- return Buffer.from(arg.serializeBinary());
79
- }
80
-
81
- function deserialize_GetAccountAssignmentByIdResponse(buffer_arg) {
82
- return prisca_v1_account_assignment_account_assignment_pb.GetAccountAssignmentByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
83
- }
84
-
85
- function serialize_GetListAccountAssignmentRequest(arg) {
86
- if (!(arg instanceof prisca_v1_account_assignment_account_assignment_pb.GetListAccountAssignmentRequest)) {
87
- throw new Error('Expected argument of type GetListAccountAssignmentRequest');
88
- }
89
- return Buffer.from(arg.serializeBinary());
90
- }
91
-
92
- function deserialize_GetListAccountAssignmentRequest(buffer_arg) {
93
- return prisca_v1_account_assignment_account_assignment_pb.GetListAccountAssignmentRequest.deserializeBinary(new Uint8Array(buffer_arg));
94
- }
95
-
96
- function serialize_GetListAccountAssignmentResponse(arg) {
97
- if (!(arg instanceof prisca_v1_account_assignment_account_assignment_pb.GetListAccountAssignmentResponse)) {
98
- throw new Error('Expected argument of type GetListAccountAssignmentResponse');
99
- }
100
- return Buffer.from(arg.serializeBinary());
101
- }
102
-
103
- function deserialize_GetListAccountAssignmentResponse(buffer_arg) {
104
- return prisca_v1_account_assignment_account_assignment_pb.GetListAccountAssignmentResponse.deserializeBinary(new Uint8Array(buffer_arg));
105
- }
106
-
107
- function serialize_UpdateAccountAssignmentRequest(arg) {
108
- if (!(arg instanceof prisca_v1_account_assignment_account_assignment_pb.UpdateAccountAssignmentRequest)) {
109
- throw new Error('Expected argument of type UpdateAccountAssignmentRequest');
110
- }
111
- return Buffer.from(arg.serializeBinary());
112
- }
113
-
114
- function deserialize_UpdateAccountAssignmentRequest(buffer_arg) {
115
- return prisca_v1_account_assignment_account_assignment_pb.UpdateAccountAssignmentRequest.deserializeBinary(new Uint8Array(buffer_arg));
116
- }
117
-
118
- function serialize_UpdateAccountAssignmentResponse(arg) {
119
- if (!(arg instanceof prisca_v1_account_assignment_account_assignment_pb.UpdateAccountAssignmentResponse)) {
120
- throw new Error('Expected argument of type UpdateAccountAssignmentResponse');
121
- }
122
- return Buffer.from(arg.serializeBinary());
123
- }
124
-
125
- function deserialize_UpdateAccountAssignmentResponse(buffer_arg) {
126
- return prisca_v1_account_assignment_account_assignment_pb.UpdateAccountAssignmentResponse.deserializeBinary(new Uint8Array(buffer_arg));
127
- }
128
-
129
-
130
- var AccountAssignmentServiceService = exports.AccountAssignmentServiceService = {
131
- createAccountAssignment: {
132
- path: '/AccountAssignmentService/CreateAccountAssignment',
133
- requestStream: false,
134
- responseStream: false,
135
- requestType: prisca_v1_account_assignment_account_assignment_pb.CreateAccountAssignmentRequest,
136
- responseType: prisca_v1_account_assignment_account_assignment_pb.CreateAccountAssignmentResponse,
137
- requestSerialize: serialize_CreateAccountAssignmentRequest,
138
- requestDeserialize: deserialize_CreateAccountAssignmentRequest,
139
- responseSerialize: serialize_CreateAccountAssignmentResponse,
140
- responseDeserialize: deserialize_CreateAccountAssignmentResponse,
141
- },
142
- createAccountAssignmentDefault: {
143
- path: '/AccountAssignmentService/CreateAccountAssignmentDefault',
144
- requestStream: false,
145
- responseStream: false,
146
- requestType: prisca_v1_account_assignment_account_assignment_pb.CreateAccountAssignmentDefaultReq,
147
- responseType: prisca_v1_account_assignment_account_assignment_pb.CreateAccountAssignmentDefaultReq,
148
- requestSerialize: serialize_CreateAccountAssignmentDefaultReq,
149
- requestDeserialize: deserialize_CreateAccountAssignmentDefaultReq,
150
- responseSerialize: serialize_CreateAccountAssignmentDefaultReq,
151
- responseDeserialize: deserialize_CreateAccountAssignmentDefaultReq,
152
- },
153
- updateAccountAssignment: {
154
- path: '/AccountAssignmentService/UpdateAccountAssignment',
155
- requestStream: false,
156
- responseStream: false,
157
- requestType: prisca_v1_account_assignment_account_assignment_pb.UpdateAccountAssignmentRequest,
158
- responseType: prisca_v1_account_assignment_account_assignment_pb.UpdateAccountAssignmentResponse,
159
- requestSerialize: serialize_UpdateAccountAssignmentRequest,
160
- requestDeserialize: deserialize_UpdateAccountAssignmentRequest,
161
- responseSerialize: serialize_UpdateAccountAssignmentResponse,
162
- responseDeserialize: deserialize_UpdateAccountAssignmentResponse,
163
- },
164
- getAccountAssignmentById: {
165
- path: '/AccountAssignmentService/GetAccountAssignmentById',
166
- requestStream: false,
167
- responseStream: false,
168
- requestType: prisca_v1_account_assignment_account_assignment_pb.GetAccountAssignmentByIdRequest,
169
- responseType: prisca_v1_account_assignment_account_assignment_pb.GetAccountAssignmentByIdResponse,
170
- requestSerialize: serialize_GetAccountAssignmentByIdRequest,
171
- requestDeserialize: deserialize_GetAccountAssignmentByIdRequest,
172
- responseSerialize: serialize_GetAccountAssignmentByIdResponse,
173
- responseDeserialize: deserialize_GetAccountAssignmentByIdResponse,
174
- },
175
- getListAccountAssignment: {
176
- path: '/AccountAssignmentService/GetListAccountAssignment',
177
- requestStream: false,
178
- responseStream: false,
179
- requestType: prisca_v1_account_assignment_account_assignment_pb.GetListAccountAssignmentRequest,
180
- responseType: prisca_v1_account_assignment_account_assignment_pb.GetListAccountAssignmentResponse,
181
- requestSerialize: serialize_GetListAccountAssignmentRequest,
182
- requestDeserialize: deserialize_GetListAccountAssignmentRequest,
183
- responseSerialize: serialize_GetListAccountAssignmentResponse,
184
- responseDeserialize: deserialize_GetListAccountAssignmentResponse,
185
- },
186
- deleteAccountAssignment: {
187
- path: '/AccountAssignmentService/DeleteAccountAssignment',
188
- requestStream: false,
189
- responseStream: false,
190
- requestType: prisca_v1_account_assignment_account_assignment_pb.DeleteAccountAssignmentRequest,
191
- responseType: prisca_v1_account_assignment_account_assignment_pb.DeleteAccountAssignmentResponse,
192
- requestSerialize: serialize_DeleteAccountAssignmentRequest,
193
- requestDeserialize: deserialize_DeleteAccountAssignmentRequest,
194
- responseSerialize: serialize_DeleteAccountAssignmentResponse,
195
- responseDeserialize: deserialize_DeleteAccountAssignmentResponse,
196
- },
197
- };
198
-
199
- exports.AccountAssignmentServiceClient = grpc.makeGenericClientConstructor(AccountAssignmentServiceService, 'AccountAssignmentService');