@aldiokta/protocgen 1.1.9 → 1.1.19

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 (160) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/account_assignment/account_assignment.proto +79 -0
  3. package/prisca/v1/account_group/account_group.proto +86 -0
  4. package/prisca/v1/bidding/bidding.proto +159 -0
  5. package/prisca/v1/chart_of_account/chart_of_account.proto +87 -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 +31 -0
  14. package/prisca/v1/core/incoterm/incoterm.proto +76 -0
  15. package/prisca/v1/core/item_transaction/item_transaction.proto +120 -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 +42 -0
  20. package/prisca/v1/core/line_of_approval/line_of_approval.proto +94 -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 +86 -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 +83 -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 +77 -0
  37. package/prisca/v1/core/term_of_payment/term_of_payment.proto +64 -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 +45 -0
  41. package/prisca/v1/core/work_location/work_location.proto +122 -0
  42. package/prisca/v1/core/workflow/workflow.proto +216 -0
  43. package/prisca/v1/document_type/document_type.proto +80 -0
  44. package/prisca/v1/general_ledger_account/general_ledger_account.proto +98 -0
  45. package/prisca/v1/global/meta/meta.proto +57 -0
  46. package/prisca/v1/purchase_order/purchase_order.proto +155 -0
  47. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto +304 -0
  48. package/prisca/v1/purchasing_group/purchasing_group.proto +87 -0
  49. package/prisca/v1/purchasing_organization/purchasing_organization.proto +68 -0
  50. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.proto +70 -0
  51. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.proto +80 -0
  52. package/prisca/v1/quotation/quotation.proto +82 -0
  53. package/prisca/v1/request_for_quotation/request_for_quotation.proto +166 -0
  54. package/prisca/v1/vendor_domain/vendor_domain.proto +225 -0
  55. package/prisca/v1/account_assignment/account_assignment_grpc_pb.js +0 -199
  56. package/prisca/v1/account_assignment/account_assignment_pb.js +0 -2674
  57. package/prisca/v1/account_group/account_group_grpc_pb.js +0 -200
  58. package/prisca/v1/account_group/account_group_pb.js +0 -2937
  59. package/prisca/v1/bidding/bidding_grpc_pb.js +0 -174
  60. package/prisca/v1/bidding/bidding_pb.js +0 -3793
  61. package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +0 -199
  62. package/prisca/v1/chart_of_account/chart_of_account_pb.js +0 -2907
  63. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +0 -544
  64. package/prisca/v1/core/access_manager/access_manager_pb.js +0 -9383
  65. package/prisca/v1/core/auth/auth_grpc_pb.js +0 -423
  66. package/prisca/v1/core/auth/auth_pb.js +0 -4497
  67. package/prisca/v1/core/chat_messaging/chat_messaging_grpc_pb.js +0 -111
  68. package/prisca/v1/core/chat_messaging/chat_messaging_pb.js +0 -1531
  69. package/prisca/v1/core/company/company_grpc_pb.js +0 -178
  70. package/prisca/v1/core/company/company_pb.js +0 -3048
  71. package/prisca/v1/core/currency/currency_grpc_pb.js +0 -177
  72. package/prisca/v1/core/currency/currency_pb.js +0 -2522
  73. package/prisca/v1/core/department_material/department_material_grpc_pb.js +0 -144
  74. package/prisca/v1/core/department_material/department_material_pb.js +0 -2167
  75. package/prisca/v1/core/employee/employee_grpc_pb.js +0 -206
  76. package/prisca/v1/core/employee/employee_pb.js +0 -4283
  77. package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +0 -44
  78. package/prisca/v1/core/file_upload/file_upload_pb.js +0 -872
  79. package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +0 -144
  80. package/prisca/v1/core/incoterm/incoterm_pb.js +0 -2497
  81. package/prisca/v1/core/item_transaction/item_transaction_grpc_pb.js +0 -1
  82. package/prisca/v1/core/item_transaction/item_transaction_pb.js +0 -3880
  83. package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +0 -178
  84. package/prisca/v1/core/job_grade/job_grade_pb.js +0 -2605
  85. package/prisca/v1/core/job_position/job_position_grpc_pb.js +0 -181
  86. package/prisca/v1/core/job_position/job_position_pb.js +0 -3762
  87. package/prisca/v1/core/job_title/job_title_grpc_pb.js +0 -178
  88. package/prisca/v1/core/job_title/job_title_pb.js +0 -2958
  89. package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +0 -45
  90. package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +0 -1188
  91. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +0 -200
  92. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +0 -3191
  93. package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +0 -177
  94. package/prisca/v1/core/link_data_source/link_data_source_pb.js +0 -2612
  95. package/prisca/v1/core/location/location_grpc_pb.js +0 -837
  96. package/prisca/v1/core/location/location_pb.js +0 -10879
  97. package/prisca/v1/core/material/material_grpc_pb.js +0 -182
  98. package/prisca/v1/core/material/material_pb.js +0 -4180
  99. package/prisca/v1/core/material_group/material_group_grpc_pb.js +0 -178
  100. package/prisca/v1/core/material_group/material_group_pb.js +0 -2776
  101. package/prisca/v1/core/material_type/material_type_grpc_pb.js +0 -149
  102. package/prisca/v1/core/material_type/material_type_pb.js +0 -2697
  103. package/prisca/v1/core/messaging/email_template_grpc_pb.js +0 -177
  104. package/prisca/v1/core/messaging/email_template_pb.js +0 -2552
  105. package/prisca/v1/core/messaging/messaging_grpc_pb.js +0 -56
  106. package/prisca/v1/core/messaging/messaging_pb.js +0 -896
  107. package/prisca/v1/core/number_range/number_range_grpc_pb.js +0 -178
  108. package/prisca/v1/core/number_range/number_range_pb.js +0 -2926
  109. package/prisca/v1/core/organization/organization_grpc_pb.js +0 -180
  110. package/prisca/v1/core/organization/organization_pb.js +0 -3032
  111. package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +0 -178
  112. package/prisca/v1/core/organization_level/organization_level_pb.js +0 -2545
  113. package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +0 -146
  114. package/prisca/v1/core/price_condition/price_condition_pb.js +0 -2654
  115. package/prisca/v1/core/procurement/procurement_grpc_pb.js +0 -146
  116. package/prisca/v1/core/procurement/procurement_pb.js +0 -1681
  117. package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +0 -1
  118. package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +0 -206
  119. package/prisca/v1/core/report/report_grpc_pb.js +0 -200
  120. package/prisca/v1/core/report/report_pb.js +0 -2822
  121. package/prisca/v1/core/report/user_report_grpc_pb.js +0 -179
  122. package/prisca/v1/core/report/user_report_pb.js +0 -2452
  123. package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +0 -177
  124. package/prisca/v1/core/tax_code/tax_code_pb.js +0 -2582
  125. package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +0 -144
  126. package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +0 -2105
  127. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +0 -498
  128. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +0 -10976
  129. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +0 -180
  130. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +0 -2798
  131. package/prisca/v1/core/users/users_grpc_pb.js +0 -45
  132. package/prisca/v1/core/users/users_pb.js +0 -1246
  133. package/prisca/v1/core/work_location/work_location_grpc_pb.js +0 -179
  134. package/prisca/v1/core/work_location/work_location_pb.js +0 -3972
  135. package/prisca/v1/core/workflow/workflow_grpc_pb.js +0 -203
  136. package/prisca/v1/core/workflow/workflow_pb.js +0 -7525
  137. package/prisca/v1/document_type/document_type_grpc_pb.js +0 -178
  138. package/prisca/v1/document_type/document_type_pb.js +0 -2746
  139. package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +0 -181
  140. package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +0 -3276
  141. package/prisca/v1/global/meta/meta_grpc_pb.js +0 -1
  142. package/prisca/v1/global/meta/meta_pb.js +0 -1179
  143. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +0 -228
  144. package/prisca/v1/purchase_order/purchase_order_pb.js +0 -4989
  145. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -512
  146. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -9917
  147. package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +0 -178
  148. package/prisca/v1/purchasing_group/purchasing_group_pb.js +0 -2875
  149. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +0 -145
  150. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +0 -2139
  151. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +0 -146
  152. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +0 -2183
  153. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +0 -145
  154. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +0 -2543
  155. package/prisca/v1/quotation/quotation_grpc_pb.js +0 -151
  156. package/prisca/v1/quotation/quotation_pb.js +0 -3971
  157. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +0 -192
  158. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +0 -5703
  159. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +0 -224
  160. package/prisca/v1/vendor_domain/vendor_domain_pb.js +0 -6333
@@ -0,0 +1,166 @@
1
+ syntax = "proto3";
2
+
3
+ option go_package = "gitlab.com/integra_sm/prisca-v2-proto/protocgen/prisca/v1/request_for_quotation";
4
+ import "prisca/v1/global/meta/meta.proto";
5
+ import "prisca/v1/vendor_domain/vendor_domain.proto";
6
+ import "prisca/v1/core/transaction_builder/transaction_builder.proto";
7
+ import "prisca/v1/core/item_transaction/item_transaction.proto";
8
+ import "prisca/v1/core/employee/employee.proto";
9
+
10
+ service RequestForQuotationService {
11
+ rpc CreateRFQ (RequestRFQ) returns (ResponseRFQ);
12
+ rpc GetById (GetByIdRFQ) returns (GetByIdRFQResponse);
13
+ rpc GetListRfq (GetListRFQ) returns (GetListRFQResponse);
14
+ rpc UpdateRfq (RequestRFQ) returns (UpdateRFQResponse);
15
+ rpc GetByIdDetail (GetByIdWithDetailRFQ) returns (GetRFQDetailResponse);
16
+ rpc UpdateStatusRFQ (UpdateRequestForQuotationStatusReq) returns (UpdateRFQResponse);
17
+ }
18
+
19
+ message UpdateRequestForQuotationStatusReq {
20
+ string status = 1;
21
+ string references_id = 2;
22
+ }
23
+
24
+ message RequestForQuotation {
25
+ int64 id = 1;
26
+ string title = 2;
27
+ string request_for_quotation_number = 3;
28
+ string request_for_quotation_method = 4;
29
+ string bidding_start_date = 5;
30
+ string bidding_end_date = 6;
31
+ string max_submission_date = 7;
32
+ string contract_no = 8;
33
+ string incoterm = 9;
34
+ string shipping_address = 10;
35
+ string scope_of_work = 11;
36
+ string status = 12;
37
+ string term_of_payment = 13;
38
+ string file_ids = 14;
39
+ string references_id = 15;
40
+ repeated ItemTransaction item_transactions = 16;
41
+ repeated RequestForQuotationVendor request_for_quotation_vendor = 17;
42
+ string created_by = 18;
43
+ string updated_by = 19;
44
+ string created_at = 20;
45
+ string updated_at = 21;
46
+ Employee created_by_employee = 22;
47
+ Employee updated_by_employee = 23;
48
+ string custom_transaction = 24;
49
+ string department = 25;
50
+ string plant = 26;
51
+ }
52
+
53
+ message Creator {
54
+
55
+ }
56
+
57
+ message RequestForQuotationItem {
58
+ int64 id = 1;
59
+ string request_for_quotation_references_id = 2;
60
+ string description = 3;
61
+ string references_id = 4;
62
+ int64 quantity = 5;
63
+ string description_detail = 6;
64
+ string file_ids = 7;
65
+ string unit_of_measure = 8;
66
+ float estimated_unit_price = 9;
67
+ string created_by = 10;
68
+ string updated_by = 11;
69
+ string created_at = 12;
70
+ string updated_at = 13;
71
+ Employee created_by_employee = 14;
72
+ Employee updated_by_employee = 15;
73
+ }
74
+
75
+ message RequestForQuotationVendor {
76
+ int64 id = 1;
77
+ string request_for_quotation_references_id = 2;
78
+ string vendor_references_id = 3;
79
+ string vendor_detail = 4;
80
+ string created_by = 5;
81
+ string updated_by = 6;
82
+ string created_at = 7;
83
+ string updated_at = 8;
84
+ Employee created_by_employee = 9;
85
+ Employee updated_by_employee = 10;
86
+ Vendor vendor = 11;
87
+ }
88
+
89
+
90
+ message RequestRFQ {
91
+ string request_for_quotation_number = 1;
92
+ string request_for_quotation_method = 2;
93
+ string bidding_start_date = 3;
94
+ string bidding_end_date = 4;
95
+ string max_submission_date = 5;
96
+ string contract_no = 6;
97
+ string incoterm = 7;
98
+ string shipping_address = 8;
99
+ string scope_of_work = 9;
100
+ string file_ids = 10;
101
+ string references_id = 11;
102
+ repeated ItemTransaction item_transactions = 12;
103
+ repeated Vendor request_for_quotation_vendor = 13;
104
+ string term_of_payment = 14;
105
+ string status = 15;
106
+ string title = 16;
107
+ string custom_transaction = 17;
108
+ string plant = 18;
109
+ }
110
+
111
+ message GetByIdRFQ {
112
+ string references_id = 1;
113
+ }
114
+
115
+ message GetListRFQ {
116
+ prisca.v1.global.meta.PaginationRequest pagination = 1;
117
+ prisca.v1.global.meta.FilterRequest query = 2;
118
+ }
119
+
120
+ message UpdateRFQ {
121
+ string references_id = 1;
122
+ RequestForQuotation request_for_quotation = 2;
123
+ }
124
+
125
+ message GetByIdWithDetailRFQ {
126
+ string references_id = 1;
127
+ }
128
+
129
+ message ResponseRFQ {
130
+ RequestForQuotation request_for_quotation = 1;
131
+ prisca.v1.global.meta.Meta meta = 2;
132
+ }
133
+
134
+ message UpdateRFQResponse {
135
+ RequestForQuotation request_for_quotation = 1;
136
+ prisca.v1.global.meta.Meta meta = 2;
137
+ }
138
+
139
+ message GetByIdRFQResponse {
140
+ RequestForQuotation request_for_quotation = 1;
141
+ prisca.v1.global.meta.Meta meta = 2;
142
+ }
143
+
144
+ message GetListRFQResponse {
145
+ repeated RequestForQuotation request_for_quotation = 1;
146
+ prisca.v1.global.meta.Meta meta = 2;
147
+ }
148
+
149
+ message GetRFQDetailResponse {
150
+ repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder = 1;
151
+ repeated GetRFQItemPreload transaction_builder_items = 2;
152
+ repeated GetRFQVendorPreload transaction_builder_vendors = 3;
153
+ }
154
+
155
+ message GetRFQItemPreload {
156
+ repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder_item = 1;
157
+ repeated GetRFQItemDetailPreload transaction_builder_item_details = 2;
158
+ }
159
+
160
+ message GetRFQVendorPreload {
161
+ repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder_vendor = 1;
162
+ }
163
+
164
+ message GetRFQItemDetailPreload {
165
+ repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder_item_detail = 1;
166
+ }
@@ -0,0 +1,225 @@
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
+ }
74
+
75
+ message BankAccount {
76
+ string id = 1;
77
+ string account_name = 2;
78
+ string account_number = 3;
79
+ }
80
+
81
+ message Contact {
82
+ string first_name = 1;
83
+ string last_name = 2;
84
+ string valid_from = 3;
85
+ string valid_to = 4;
86
+ }
87
+
88
+ message Relationship {
89
+ string category = 1;
90
+ string business_partner = 2;
91
+ string valid_from = 3;
92
+ string valid_to = 4;
93
+ }
94
+
95
+ message Communication {
96
+ string telephone = 1;
97
+ string cell_phone = 2;
98
+ string fax = 3;
99
+ string email = 4;
100
+ }
101
+
102
+ message TaxInformation {
103
+ string tax_number = 1;
104
+ string tax_category = 2;
105
+ }
106
+
107
+ message Attachment {
108
+ string file_name = 1;
109
+ string file_url = 2;
110
+ }
111
+
112
+
113
+ // Request Messages
114
+ message BaseVendorRequest {
115
+ string name = 1;
116
+ string alias_name = 2;
117
+ string legal_form = 3;
118
+ string organization_title = 4;
119
+ string grouping = 5;
120
+ string organization = 6;
121
+ string status = 7;
122
+
123
+ // Address Information
124
+ string street = 8;
125
+ string house_number = 9;
126
+ string city = 10;
127
+ string postal_code = 11;
128
+ string country = 12;
129
+ string region = 13;
130
+ string language = 14;
131
+
132
+ // Industry
133
+ string industry = 15;
134
+
135
+ // Roles
136
+ string business_partner_role = 16;
137
+ string valid_from = 17;
138
+ string valid_to = 18;
139
+
140
+ // Bank Accounts
141
+ repeated BankAccount bank_accounts = 19;
142
+
143
+ // Contacts
144
+ repeated Contact contacts = 20;
145
+
146
+ // Communication
147
+ repeated Communication communications = 21;
148
+ // Relationships
149
+ repeated Relationship relationships = 22;
150
+
151
+ // Tax Information
152
+ repeated TaxInformation tax_information = 23;
153
+
154
+ // Attachments
155
+ repeated FileUploadReferencesReq files = 24;
156
+
157
+ // Notes
158
+ string vendor_description = 25;
159
+ }
160
+
161
+
162
+ message CreateVendorRequest {
163
+ BaseVendorRequest base_vendor = 1;
164
+ }
165
+
166
+ message UpdateVendorRequest {
167
+ string references_id =1;
168
+ BaseVendorRequest base_vendor = 2;
169
+ }
170
+
171
+ message GetListVendorRequest {
172
+ prisca.v1.global.meta.PaginationRequest pagination = 1;
173
+ prisca.v1.global.meta.FilterRequest query = 2;
174
+ }
175
+
176
+ message GetVendorByIdRequest {
177
+ string references_id =1;
178
+ }
179
+
180
+ message GetVendorProfileRequest {
181
+ }
182
+
183
+ message DeleteVendorRequest {
184
+ string references_id =1;
185
+ }
186
+
187
+ // Response Messages
188
+ message CreateVendorResponse {
189
+ Vendor vendor = 1;
190
+ prisca.v1.global.meta.Meta meta =2;
191
+ }
192
+
193
+ message UpdateVendorResponse {
194
+ Vendor vendor = 1;
195
+ prisca.v1.global.meta.Meta meta =2;
196
+ }
197
+
198
+ message GetListVendorResponse {
199
+ repeated Vendor vendors = 1;
200
+ prisca.v1.global.meta.Meta meta =2;
201
+ }
202
+
203
+ message GetVendorByIdResponse {
204
+ Vendor vendor = 1;
205
+ prisca.v1.global.meta.Meta meta =2;
206
+ }
207
+
208
+ message DeleteVendorResponse {
209
+ string references_id =1;
210
+ prisca.v1.global.meta.Meta meta =2;
211
+ }
212
+
213
+ message GetVendorDetailResponse {
214
+ repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder = 1;
215
+ repeated GetVendorItemPreload transaction_builder_items = 2;
216
+ }
217
+
218
+ message GetVendorItemPreload {
219
+ repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder_item = 1;
220
+ repeated GetVendorItemDetailPreload transaction_builder_item_details = 2;
221
+ }
222
+
223
+ message GetVendorItemDetailPreload {
224
+ repeated prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail transaction_builder_item_detail = 1;
225
+ }
@@ -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');