@aldiokta/protocgen 1.1.23 → 1.1.25

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 (169) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/account_assignment/account_assignment_grpc_pb.js +199 -0
  3. package/prisca/v1/account_assignment/account_assignment_pb.js +2726 -0
  4. package/prisca/v1/account_group/account_group_grpc_pb.js +200 -0
  5. package/prisca/v1/account_group/account_group_pb.js +2989 -0
  6. package/prisca/v1/bidding/bidding_grpc_pb.js +294 -0
  7. package/prisca/v1/bidding/bidding_pb.js +7488 -0
  8. package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +199 -0
  9. package/prisca/v1/chart_of_account/chart_of_account_pb.js +2959 -0
  10. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +544 -0
  11. package/prisca/v1/core/access_manager/access_manager_pb.js +9383 -0
  12. package/prisca/v1/core/auth/auth_grpc_pb.js +423 -0
  13. package/prisca/v1/core/auth/auth_pb.js +4497 -0
  14. package/prisca/v1/core/chat_messaging/chat_messaging_grpc_pb.js +111 -0
  15. package/prisca/v1/core/chat_messaging/chat_messaging_pb.js +1531 -0
  16. package/prisca/v1/core/company/company_grpc_pb.js +178 -0
  17. package/prisca/v1/core/company/company_pb.js +3100 -0
  18. package/prisca/v1/core/currency/currency_grpc_pb.js +177 -0
  19. package/prisca/v1/core/currency/currency_pb.js +2522 -0
  20. package/prisca/v1/core/department_material/department_material_grpc_pb.js +144 -0
  21. package/prisca/v1/core/department_material/department_material_pb.js +2167 -0
  22. package/prisca/v1/core/employee/employee_grpc_pb.js +206 -0
  23. package/prisca/v1/core/employee/employee_pb.js +4335 -0
  24. package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +44 -0
  25. package/prisca/v1/core/file_upload/file_upload_pb.js +1052 -0
  26. package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +177 -0
  27. package/prisca/v1/core/incoterm/incoterm_pb.js +2904 -0
  28. package/prisca/v1/core/item_transaction/item_transaction_grpc_pb.js +1 -0
  29. package/prisca/v1/core/item_transaction/item_transaction_pb.js +4330 -0
  30. package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +178 -0
  31. package/prisca/v1/core/job_grade/job_grade_pb.js +2657 -0
  32. package/prisca/v1/core/job_position/job_position_grpc_pb.js +181 -0
  33. package/prisca/v1/core/job_position/job_position_pb.js +3814 -0
  34. package/prisca/v1/core/job_title/job_title_grpc_pb.js +178 -0
  35. package/prisca/v1/core/job_title/job_title_pb.js +3010 -0
  36. package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +78 -0
  37. package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +2087 -0
  38. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +200 -0
  39. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +3251 -0
  40. package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +177 -0
  41. package/prisca/v1/core/link_data_source/link_data_source_pb.js +2612 -0
  42. package/prisca/v1/core/location/location_grpc_pb.js +837 -0
  43. package/prisca/v1/core/location/location_pb.js +10879 -0
  44. package/prisca/v1/core/material/material_grpc_pb.js +182 -0
  45. package/prisca/v1/core/material/material_pb.js +4232 -0
  46. package/prisca/v1/core/material_group/material_group_grpc_pb.js +178 -0
  47. package/prisca/v1/core/material_group/material_group_pb.js +2828 -0
  48. package/prisca/v1/core/material_type/material_type_grpc_pb.js +182 -0
  49. package/prisca/v1/core/material_type/material_type_pb.js +3104 -0
  50. package/prisca/v1/core/messaging/email_template_grpc_pb.js +177 -0
  51. package/prisca/v1/core/messaging/email_template_pb.js +2664 -0
  52. package/prisca/v1/core/messaging/messaging_grpc_pb.js +56 -0
  53. package/prisca/v1/core/messaging/messaging_pb.js +896 -0
  54. package/prisca/v1/core/number_range/number_range_grpc_pb.js +178 -0
  55. package/prisca/v1/core/number_range/number_range_pb.js +2978 -0
  56. package/prisca/v1/core/organization/organization_grpc_pb.js +180 -0
  57. package/prisca/v1/core/organization/organization_pb.js +3084 -0
  58. package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +178 -0
  59. package/prisca/v1/core/organization_level/organization_level_pb.js +2597 -0
  60. package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +179 -0
  61. package/prisca/v1/core/price_condition/price_condition_pb.js +3061 -0
  62. package/prisca/v1/core/procurement/procurement_grpc_pb.js +146 -0
  63. package/prisca/v1/core/procurement/procurement_pb.js +1681 -0
  64. package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +1 -0
  65. package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +206 -0
  66. package/prisca/v1/core/report/report_grpc_pb.js +200 -0
  67. package/prisca/v1/core/report/report_pb.js +2822 -0
  68. package/prisca/v1/core/report/user_report_grpc_pb.js +179 -0
  69. package/prisca/v1/core/report/user_report_pb.js +2452 -0
  70. package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +177 -0
  71. package/prisca/v1/core/tax_code/tax_code_pb.js +2784 -0
  72. package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +177 -0
  73. package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +2512 -0
  74. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +498 -0
  75. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +10976 -0
  76. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +180 -0
  77. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +2850 -0
  78. package/prisca/v1/core/users/users_grpc_pb.js +78 -0
  79. package/prisca/v1/core/users/users_pb.js +1653 -0
  80. package/prisca/v1/core/work_location/work_location_grpc_pb.js +179 -0
  81. package/prisca/v1/core/work_location/work_location_pb.js +4024 -0
  82. package/prisca/v1/core/workflow/workflow_grpc_pb.js +203 -0
  83. package/prisca/v1/core/workflow/workflow_pb.js +7577 -0
  84. package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +229 -0
  85. package/prisca/v1/delivery_order/delivery_order_pb.js +4661 -0
  86. package/prisca/v1/document_type/document_type_grpc_pb.js +178 -0
  87. package/prisca/v1/document_type/document_type_pb.js +2798 -0
  88. package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +181 -0
  89. package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +3328 -0
  90. package/prisca/v1/global/meta/meta_grpc_pb.js +1 -0
  91. package/prisca/v1/global/meta/meta_pb.js +1179 -0
  92. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +1 -0
  93. package/prisca/v1/good_receipt/good_receipt_pb.js +35 -0
  94. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +228 -0
  95. package/prisca/v1/purchase_order/purchase_order_pb.js +5049 -0
  96. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +523 -0
  97. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +9917 -0
  98. package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +178 -0
  99. package/prisca/v1/purchasing_group/purchasing_group_pb.js +2927 -0
  100. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +178 -0
  101. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +2546 -0
  102. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +179 -0
  103. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +2590 -0
  104. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +145 -0
  105. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +2543 -0
  106. package/prisca/v1/quotation/quotation_grpc_pb.js +207 -0
  107. package/prisca/v1/quotation/quotation_pb.js +3582 -0
  108. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +193 -0
  109. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +5961 -0
  110. package/prisca/v1/valuation/valuation_grpc_pb.js +366 -0
  111. package/prisca/v1/valuation/valuation_pb.js +7812 -0
  112. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +224 -0
  113. package/prisca/v1/vendor_domain/vendor_domain_pb.js +6363 -0
  114. package/prisca/v1/account_assignment/account_assignment.proto +0 -81
  115. package/prisca/v1/account_group/account_group.proto +0 -88
  116. package/prisca/v1/bidding/bidding.proto +0 -221
  117. package/prisca/v1/chart_of_account/chart_of_account.proto +0 -89
  118. package/prisca/v1/core/access_manager/access_manager.proto +0 -281
  119. package/prisca/v1/core/auth/auth.proto +0 -150
  120. package/prisca/v1/core/chat_messaging/chat_messaging.proto +0 -55
  121. package/prisca/v1/core/company/company.proto +0 -92
  122. package/prisca/v1/core/currency/currency.proto +0 -76
  123. package/prisca/v1/core/department_material/department_material.proto +0 -69
  124. package/prisca/v1/core/employee/employee.proto +0 -129
  125. package/prisca/v1/core/file_upload/file_upload.proto +0 -37
  126. package/prisca/v1/core/incoterm/incoterm.proto +0 -85
  127. package/prisca/v1/core/item_transaction/item_transaction.proto +0 -134
  128. package/prisca/v1/core/job_grade/job_grade.proto +0 -79
  129. package/prisca/v1/core/job_position/job_position.proto +0 -113
  130. package/prisca/v1/core/job_title/job_title.proto +0 -89
  131. package/prisca/v1/core/line_of_activity/line_of_activity.proto +0 -66
  132. package/prisca/v1/core/line_of_approval/line_of_approval.proto +0 -96
  133. package/prisca/v1/core/link_data_source/link_data_source.proto +0 -78
  134. package/prisca/v1/core/location/location.proto +0 -289
  135. package/prisca/v1/core/material/material.proto +0 -131
  136. package/prisca/v1/core/material_group/material_group.proto +0 -85
  137. package/prisca/v1/core/material_type/material_type.proto +0 -95
  138. package/prisca/v1/core/messaging/email_template.proto +0 -75
  139. package/prisca/v1/core/messaging/messaging.proto +0 -29
  140. package/prisca/v1/core/number_range/number_range.proto +0 -89
  141. package/prisca/v1/core/organization/organization.proto +0 -94
  142. package/prisca/v1/core/organization_level/organization_level.proto +0 -77
  143. package/prisca/v1/core/price_condition/price_condition.proto +0 -93
  144. package/prisca/v1/core/procurement/procurement.proto +0 -54
  145. package/prisca/v1/core/recipient_roles/recipient_roles.proto +0 -10
  146. package/prisca/v1/core/report/report.proto +0 -90
  147. package/prisca/v1/core/report/user_report.proto +0 -74
  148. package/prisca/v1/core/tax_code/tax_code.proto +0 -82
  149. package/prisca/v1/core/term_of_payment/term_of_payment.proto +0 -74
  150. package/prisca/v1/core/transaction_builder/transaction_builder.proto +0 -325
  151. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +0 -88
  152. package/prisca/v1/core/users/users.proto +0 -55
  153. package/prisca/v1/core/work_location/work_location.proto +0 -122
  154. package/prisca/v1/core/workflow/workflow.proto +0 -218
  155. package/prisca/v1/delivery_order/delivery_order.proto +0 -147
  156. package/prisca/v1/document_type/document_type.proto +0 -82
  157. package/prisca/v1/general_ledger_account/general_ledger_account.proto +0 -100
  158. package/prisca/v1/global/meta/meta.proto +0 -57
  159. package/prisca/v1/good_receipt/good_receipt.proto +0 -11
  160. package/prisca/v1/purchase_order/purchase_order.proto +0 -157
  161. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto +0 -306
  162. package/prisca/v1/purchasing_group/purchasing_group.proto +0 -89
  163. package/prisca/v1/purchasing_organization/purchasing_organization.proto +0 -79
  164. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.proto +0 -81
  165. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.proto +0 -80
  166. package/prisca/v1/quotation/quotation.proto +0 -118
  167. package/prisca/v1/request_for_quotation/request_for_quotation.proto +0 -174
  168. package/prisca/v1/valuation/valuation.proto +0 -223
  169. package/prisca/v1/vendor_domain/vendor_domain.proto +0 -226
@@ -1,223 +0,0 @@
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
- }
@@ -1,226 +0,0 @@
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
- }