@aldiokta/protocgen 1.1.8 → 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 (158) 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 -119
  60. package/prisca/v1/bidding/bidding_pb.js +0 -3152
  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/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -266
  118. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -4429
  119. package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +0 -1
  120. package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +0 -206
  121. package/prisca/v1/core/report/report_grpc_pb.js +0 -200
  122. package/prisca/v1/core/report/report_pb.js +0 -2822
  123. package/prisca/v1/core/report/user_report_grpc_pb.js +0 -179
  124. package/prisca/v1/core/report/user_report_pb.js +0 -2452
  125. package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +0 -177
  126. package/prisca/v1/core/tax_code/tax_code_pb.js +0 -2582
  127. package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +0 -144
  128. package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +0 -2105
  129. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +0 -498
  130. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +0 -10976
  131. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +0 -180
  132. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +0 -2798
  133. package/prisca/v1/core/users/users_grpc_pb.js +0 -45
  134. package/prisca/v1/core/users/users_pb.js +0 -1246
  135. package/prisca/v1/core/work_location/work_location_grpc_pb.js +0 -179
  136. package/prisca/v1/core/work_location/work_location_pb.js +0 -3972
  137. package/prisca/v1/core/workflow/workflow_grpc_pb.js +0 -203
  138. package/prisca/v1/core/workflow/workflow_pb.js +0 -7525
  139. package/prisca/v1/document_type/document_type_grpc_pb.js +0 -178
  140. package/prisca/v1/document_type/document_type_pb.js +0 -2746
  141. package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +0 -181
  142. package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +0 -3276
  143. package/prisca/v1/global/meta/meta_grpc_pb.js +0 -1
  144. package/prisca/v1/global/meta/meta_pb.js +0 -1179
  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 -3941
  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
@@ -1,178 +0,0 @@
1
- // GENERATED CODE -- DO NOT EDIT!
2
-
3
- 'use strict';
4
- var grpc = require('@grpc/grpc-js');
5
- var prisca_v1_purchasing_group_purchasing_group_pb = require('../../../prisca/v1/purchasing_group/purchasing_group_pb.js');
6
- var prisca_v1_global_meta_meta_pb = require('../../../prisca/v1/global/meta/meta_pb.js');
7
- var prisca_v1_core_company_company_pb = require('../../../prisca/v1/core/company/company_pb.js');
8
-
9
- function serialize_CreatePurchasingGroupRequest(arg) {
10
- if (!(arg instanceof prisca_v1_purchasing_group_purchasing_group_pb.CreatePurchasingGroupRequest)) {
11
- throw new Error('Expected argument of type CreatePurchasingGroupRequest');
12
- }
13
- return Buffer.from(arg.serializeBinary());
14
- }
15
-
16
- function deserialize_CreatePurchasingGroupRequest(buffer_arg) {
17
- return prisca_v1_purchasing_group_purchasing_group_pb.CreatePurchasingGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
18
- }
19
-
20
- function serialize_CreatePurchasingGroupResponse(arg) {
21
- if (!(arg instanceof prisca_v1_purchasing_group_purchasing_group_pb.CreatePurchasingGroupResponse)) {
22
- throw new Error('Expected argument of type CreatePurchasingGroupResponse');
23
- }
24
- return Buffer.from(arg.serializeBinary());
25
- }
26
-
27
- function deserialize_CreatePurchasingGroupResponse(buffer_arg) {
28
- return prisca_v1_purchasing_group_purchasing_group_pb.CreatePurchasingGroupResponse.deserializeBinary(new Uint8Array(buffer_arg));
29
- }
30
-
31
- function serialize_DeletePurchasingGroupRequest(arg) {
32
- if (!(arg instanceof prisca_v1_purchasing_group_purchasing_group_pb.DeletePurchasingGroupRequest)) {
33
- throw new Error('Expected argument of type DeletePurchasingGroupRequest');
34
- }
35
- return Buffer.from(arg.serializeBinary());
36
- }
37
-
38
- function deserialize_DeletePurchasingGroupRequest(buffer_arg) {
39
- return prisca_v1_purchasing_group_purchasing_group_pb.DeletePurchasingGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
40
- }
41
-
42
- function serialize_DeletePurchasingGroupResponse(arg) {
43
- if (!(arg instanceof prisca_v1_purchasing_group_purchasing_group_pb.DeletePurchasingGroupResponse)) {
44
- throw new Error('Expected argument of type DeletePurchasingGroupResponse');
45
- }
46
- return Buffer.from(arg.serializeBinary());
47
- }
48
-
49
- function deserialize_DeletePurchasingGroupResponse(buffer_arg) {
50
- return prisca_v1_purchasing_group_purchasing_group_pb.DeletePurchasingGroupResponse.deserializeBinary(new Uint8Array(buffer_arg));
51
- }
52
-
53
- function serialize_GetListPurchasingGroupRequest(arg) {
54
- if (!(arg instanceof prisca_v1_purchasing_group_purchasing_group_pb.GetListPurchasingGroupRequest)) {
55
- throw new Error('Expected argument of type GetListPurchasingGroupRequest');
56
- }
57
- return Buffer.from(arg.serializeBinary());
58
- }
59
-
60
- function deserialize_GetListPurchasingGroupRequest(buffer_arg) {
61
- return prisca_v1_purchasing_group_purchasing_group_pb.GetListPurchasingGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
62
- }
63
-
64
- function serialize_GetListPurchasingGroupResponse(arg) {
65
- if (!(arg instanceof prisca_v1_purchasing_group_purchasing_group_pb.GetListPurchasingGroupResponse)) {
66
- throw new Error('Expected argument of type GetListPurchasingGroupResponse');
67
- }
68
- return Buffer.from(arg.serializeBinary());
69
- }
70
-
71
- function deserialize_GetListPurchasingGroupResponse(buffer_arg) {
72
- return prisca_v1_purchasing_group_purchasing_group_pb.GetListPurchasingGroupResponse.deserializeBinary(new Uint8Array(buffer_arg));
73
- }
74
-
75
- function serialize_PurchasingGroupGetByIdRequest(arg) {
76
- if (!(arg instanceof prisca_v1_purchasing_group_purchasing_group_pb.PurchasingGroupGetByIdRequest)) {
77
- throw new Error('Expected argument of type PurchasingGroupGetByIdRequest');
78
- }
79
- return Buffer.from(arg.serializeBinary());
80
- }
81
-
82
- function deserialize_PurchasingGroupGetByIdRequest(buffer_arg) {
83
- return prisca_v1_purchasing_group_purchasing_group_pb.PurchasingGroupGetByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
84
- }
85
-
86
- function serialize_PurchasingGroupGetByIdResponse(arg) {
87
- if (!(arg instanceof prisca_v1_purchasing_group_purchasing_group_pb.PurchasingGroupGetByIdResponse)) {
88
- throw new Error('Expected argument of type PurchasingGroupGetByIdResponse');
89
- }
90
- return Buffer.from(arg.serializeBinary());
91
- }
92
-
93
- function deserialize_PurchasingGroupGetByIdResponse(buffer_arg) {
94
- return prisca_v1_purchasing_group_purchasing_group_pb.PurchasingGroupGetByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
95
- }
96
-
97
- function serialize_UpdatePurchasingGroupRequest(arg) {
98
- if (!(arg instanceof prisca_v1_purchasing_group_purchasing_group_pb.UpdatePurchasingGroupRequest)) {
99
- throw new Error('Expected argument of type UpdatePurchasingGroupRequest');
100
- }
101
- return Buffer.from(arg.serializeBinary());
102
- }
103
-
104
- function deserialize_UpdatePurchasingGroupRequest(buffer_arg) {
105
- return prisca_v1_purchasing_group_purchasing_group_pb.UpdatePurchasingGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
106
- }
107
-
108
- function serialize_UpdatePurchasingGroupResponse(arg) {
109
- if (!(arg instanceof prisca_v1_purchasing_group_purchasing_group_pb.UpdatePurchasingGroupResponse)) {
110
- throw new Error('Expected argument of type UpdatePurchasingGroupResponse');
111
- }
112
- return Buffer.from(arg.serializeBinary());
113
- }
114
-
115
- function deserialize_UpdatePurchasingGroupResponse(buffer_arg) {
116
- return prisca_v1_purchasing_group_purchasing_group_pb.UpdatePurchasingGroupResponse.deserializeBinary(new Uint8Array(buffer_arg));
117
- }
118
-
119
-
120
- var PurchasingGroupServiceService = exports.PurchasingGroupServiceService = {
121
- createPurchasingGroup: {
122
- path: '/PurchasingGroupService/CreatePurchasingGroup',
123
- requestStream: false,
124
- responseStream: false,
125
- requestType: prisca_v1_purchasing_group_purchasing_group_pb.CreatePurchasingGroupRequest,
126
- responseType: prisca_v1_purchasing_group_purchasing_group_pb.CreatePurchasingGroupResponse,
127
- requestSerialize: serialize_CreatePurchasingGroupRequest,
128
- requestDeserialize: deserialize_CreatePurchasingGroupRequest,
129
- responseSerialize: serialize_CreatePurchasingGroupResponse,
130
- responseDeserialize: deserialize_CreatePurchasingGroupResponse,
131
- },
132
- getPurchasingGroupById: {
133
- path: '/PurchasingGroupService/GetPurchasingGroupById',
134
- requestStream: false,
135
- responseStream: false,
136
- requestType: prisca_v1_purchasing_group_purchasing_group_pb.PurchasingGroupGetByIdRequest,
137
- responseType: prisca_v1_purchasing_group_purchasing_group_pb.PurchasingGroupGetByIdResponse,
138
- requestSerialize: serialize_PurchasingGroupGetByIdRequest,
139
- requestDeserialize: deserialize_PurchasingGroupGetByIdRequest,
140
- responseSerialize: serialize_PurchasingGroupGetByIdResponse,
141
- responseDeserialize: deserialize_PurchasingGroupGetByIdResponse,
142
- },
143
- updatePurchasingGroup: {
144
- path: '/PurchasingGroupService/UpdatePurchasingGroup',
145
- requestStream: false,
146
- responseStream: false,
147
- requestType: prisca_v1_purchasing_group_purchasing_group_pb.UpdatePurchasingGroupRequest,
148
- responseType: prisca_v1_purchasing_group_purchasing_group_pb.UpdatePurchasingGroupResponse,
149
- requestSerialize: serialize_UpdatePurchasingGroupRequest,
150
- requestDeserialize: deserialize_UpdatePurchasingGroupRequest,
151
- responseSerialize: serialize_UpdatePurchasingGroupResponse,
152
- responseDeserialize: deserialize_UpdatePurchasingGroupResponse,
153
- },
154
- getListPurchasingGroup: {
155
- path: '/PurchasingGroupService/GetListPurchasingGroup',
156
- requestStream: false,
157
- responseStream: false,
158
- requestType: prisca_v1_purchasing_group_purchasing_group_pb.GetListPurchasingGroupRequest,
159
- responseType: prisca_v1_purchasing_group_purchasing_group_pb.GetListPurchasingGroupResponse,
160
- requestSerialize: serialize_GetListPurchasingGroupRequest,
161
- requestDeserialize: deserialize_GetListPurchasingGroupRequest,
162
- responseSerialize: serialize_GetListPurchasingGroupResponse,
163
- responseDeserialize: deserialize_GetListPurchasingGroupResponse,
164
- },
165
- deletePurchasingGroup: {
166
- path: '/PurchasingGroupService/DeletePurchasingGroup',
167
- requestStream: false,
168
- responseStream: false,
169
- requestType: prisca_v1_purchasing_group_purchasing_group_pb.DeletePurchasingGroupRequest,
170
- responseType: prisca_v1_purchasing_group_purchasing_group_pb.DeletePurchasingGroupResponse,
171
- requestSerialize: serialize_DeletePurchasingGroupRequest,
172
- requestDeserialize: deserialize_DeletePurchasingGroupRequest,
173
- responseSerialize: serialize_DeletePurchasingGroupResponse,
174
- responseDeserialize: deserialize_DeletePurchasingGroupResponse,
175
- },
176
- };
177
-
178
- exports.PurchasingGroupServiceClient = grpc.makeGenericClientConstructor(PurchasingGroupServiceService, 'PurchasingGroupService');