@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
@@ -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_core_material_group_material_group_pb = require('../../../../prisca/v1/core/material_group/material_group_pb.js');
6
- var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
7
- var prisca_v1_core_employee_employee_pb = require('../../../../prisca/v1/core/employee/employee_pb.js');
8
-
9
- function serialize_CreateMaterialGroupRequest(arg) {
10
- if (!(arg instanceof prisca_v1_core_material_group_material_group_pb.CreateMaterialGroupRequest)) {
11
- throw new Error('Expected argument of type CreateMaterialGroupRequest');
12
- }
13
- return Buffer.from(arg.serializeBinary());
14
- }
15
-
16
- function deserialize_CreateMaterialGroupRequest(buffer_arg) {
17
- return prisca_v1_core_material_group_material_group_pb.CreateMaterialGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
18
- }
19
-
20
- function serialize_CreateMaterialGroupResponse(arg) {
21
- if (!(arg instanceof prisca_v1_core_material_group_material_group_pb.CreateMaterialGroupResponse)) {
22
- throw new Error('Expected argument of type CreateMaterialGroupResponse');
23
- }
24
- return Buffer.from(arg.serializeBinary());
25
- }
26
-
27
- function deserialize_CreateMaterialGroupResponse(buffer_arg) {
28
- return prisca_v1_core_material_group_material_group_pb.CreateMaterialGroupResponse.deserializeBinary(new Uint8Array(buffer_arg));
29
- }
30
-
31
- function serialize_DeleteMaterialGroupRequest(arg) {
32
- if (!(arg instanceof prisca_v1_core_material_group_material_group_pb.DeleteMaterialGroupRequest)) {
33
- throw new Error('Expected argument of type DeleteMaterialGroupRequest');
34
- }
35
- return Buffer.from(arg.serializeBinary());
36
- }
37
-
38
- function deserialize_DeleteMaterialGroupRequest(buffer_arg) {
39
- return prisca_v1_core_material_group_material_group_pb.DeleteMaterialGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
40
- }
41
-
42
- function serialize_DeleteMaterialGroupResponse(arg) {
43
- if (!(arg instanceof prisca_v1_core_material_group_material_group_pb.DeleteMaterialGroupResponse)) {
44
- throw new Error('Expected argument of type DeleteMaterialGroupResponse');
45
- }
46
- return Buffer.from(arg.serializeBinary());
47
- }
48
-
49
- function deserialize_DeleteMaterialGroupResponse(buffer_arg) {
50
- return prisca_v1_core_material_group_material_group_pb.DeleteMaterialGroupResponse.deserializeBinary(new Uint8Array(buffer_arg));
51
- }
52
-
53
- function serialize_GetListMaterialGroupRequest(arg) {
54
- if (!(arg instanceof prisca_v1_core_material_group_material_group_pb.GetListMaterialGroupRequest)) {
55
- throw new Error('Expected argument of type GetListMaterialGroupRequest');
56
- }
57
- return Buffer.from(arg.serializeBinary());
58
- }
59
-
60
- function deserialize_GetListMaterialGroupRequest(buffer_arg) {
61
- return prisca_v1_core_material_group_material_group_pb.GetListMaterialGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
62
- }
63
-
64
- function serialize_GetListMaterialGroupResponse(arg) {
65
- if (!(arg instanceof prisca_v1_core_material_group_material_group_pb.GetListMaterialGroupResponse)) {
66
- throw new Error('Expected argument of type GetListMaterialGroupResponse');
67
- }
68
- return Buffer.from(arg.serializeBinary());
69
- }
70
-
71
- function deserialize_GetListMaterialGroupResponse(buffer_arg) {
72
- return prisca_v1_core_material_group_material_group_pb.GetListMaterialGroupResponse.deserializeBinary(new Uint8Array(buffer_arg));
73
- }
74
-
75
- function serialize_GetMaterialGroupByIdRequest(arg) {
76
- if (!(arg instanceof prisca_v1_core_material_group_material_group_pb.GetMaterialGroupByIdRequest)) {
77
- throw new Error('Expected argument of type GetMaterialGroupByIdRequest');
78
- }
79
- return Buffer.from(arg.serializeBinary());
80
- }
81
-
82
- function deserialize_GetMaterialGroupByIdRequest(buffer_arg) {
83
- return prisca_v1_core_material_group_material_group_pb.GetMaterialGroupByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
84
- }
85
-
86
- function serialize_GetMaterialGroupByIdResponse(arg) {
87
- if (!(arg instanceof prisca_v1_core_material_group_material_group_pb.GetMaterialGroupByIdResponse)) {
88
- throw new Error('Expected argument of type GetMaterialGroupByIdResponse');
89
- }
90
- return Buffer.from(arg.serializeBinary());
91
- }
92
-
93
- function deserialize_GetMaterialGroupByIdResponse(buffer_arg) {
94
- return prisca_v1_core_material_group_material_group_pb.GetMaterialGroupByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
95
- }
96
-
97
- function serialize_UpdateMaterialGroupRequest(arg) {
98
- if (!(arg instanceof prisca_v1_core_material_group_material_group_pb.UpdateMaterialGroupRequest)) {
99
- throw new Error('Expected argument of type UpdateMaterialGroupRequest');
100
- }
101
- return Buffer.from(arg.serializeBinary());
102
- }
103
-
104
- function deserialize_UpdateMaterialGroupRequest(buffer_arg) {
105
- return prisca_v1_core_material_group_material_group_pb.UpdateMaterialGroupRequest.deserializeBinary(new Uint8Array(buffer_arg));
106
- }
107
-
108
- function serialize_UpdateMaterialGroupResponse(arg) {
109
- if (!(arg instanceof prisca_v1_core_material_group_material_group_pb.UpdateMaterialGroupResponse)) {
110
- throw new Error('Expected argument of type UpdateMaterialGroupResponse');
111
- }
112
- return Buffer.from(arg.serializeBinary());
113
- }
114
-
115
- function deserialize_UpdateMaterialGroupResponse(buffer_arg) {
116
- return prisca_v1_core_material_group_material_group_pb.UpdateMaterialGroupResponse.deserializeBinary(new Uint8Array(buffer_arg));
117
- }
118
-
119
-
120
- var MaterialGroupServiceService = exports.MaterialGroupServiceService = {
121
- createMaterialGroup: {
122
- path: '/MaterialGroupService/CreateMaterialGroup',
123
- requestStream: false,
124
- responseStream: false,
125
- requestType: prisca_v1_core_material_group_material_group_pb.CreateMaterialGroupRequest,
126
- responseType: prisca_v1_core_material_group_material_group_pb.CreateMaterialGroupResponse,
127
- requestSerialize: serialize_CreateMaterialGroupRequest,
128
- requestDeserialize: deserialize_CreateMaterialGroupRequest,
129
- responseSerialize: serialize_CreateMaterialGroupResponse,
130
- responseDeserialize: deserialize_CreateMaterialGroupResponse,
131
- },
132
- updateMaterialGroup: {
133
- path: '/MaterialGroupService/UpdateMaterialGroup',
134
- requestStream: false,
135
- responseStream: false,
136
- requestType: prisca_v1_core_material_group_material_group_pb.UpdateMaterialGroupRequest,
137
- responseType: prisca_v1_core_material_group_material_group_pb.UpdateMaterialGroupResponse,
138
- requestSerialize: serialize_UpdateMaterialGroupRequest,
139
- requestDeserialize: deserialize_UpdateMaterialGroupRequest,
140
- responseSerialize: serialize_UpdateMaterialGroupResponse,
141
- responseDeserialize: deserialize_UpdateMaterialGroupResponse,
142
- },
143
- deleteMaterialGroup: {
144
- path: '/MaterialGroupService/DeleteMaterialGroup',
145
- requestStream: false,
146
- responseStream: false,
147
- requestType: prisca_v1_core_material_group_material_group_pb.DeleteMaterialGroupRequest,
148
- responseType: prisca_v1_core_material_group_material_group_pb.DeleteMaterialGroupResponse,
149
- requestSerialize: serialize_DeleteMaterialGroupRequest,
150
- requestDeserialize: deserialize_DeleteMaterialGroupRequest,
151
- responseSerialize: serialize_DeleteMaterialGroupResponse,
152
- responseDeserialize: deserialize_DeleteMaterialGroupResponse,
153
- },
154
- getMaterialGroupById: {
155
- path: '/MaterialGroupService/GetMaterialGroupById',
156
- requestStream: false,
157
- responseStream: false,
158
- requestType: prisca_v1_core_material_group_material_group_pb.GetMaterialGroupByIdRequest,
159
- responseType: prisca_v1_core_material_group_material_group_pb.GetMaterialGroupByIdResponse,
160
- requestSerialize: serialize_GetMaterialGroupByIdRequest,
161
- requestDeserialize: deserialize_GetMaterialGroupByIdRequest,
162
- responseSerialize: serialize_GetMaterialGroupByIdResponse,
163
- responseDeserialize: deserialize_GetMaterialGroupByIdResponse,
164
- },
165
- getListMaterialGroups: {
166
- path: '/MaterialGroupService/GetListMaterialGroups',
167
- requestStream: false,
168
- responseStream: false,
169
- requestType: prisca_v1_core_material_group_material_group_pb.GetListMaterialGroupRequest,
170
- responseType: prisca_v1_core_material_group_material_group_pb.GetListMaterialGroupResponse,
171
- requestSerialize: serialize_GetListMaterialGroupRequest,
172
- requestDeserialize: deserialize_GetListMaterialGroupRequest,
173
- responseSerialize: serialize_GetListMaterialGroupResponse,
174
- responseDeserialize: deserialize_GetListMaterialGroupResponse,
175
- },
176
- };
177
-
178
- exports.MaterialGroupServiceClient = grpc.makeGenericClientConstructor(MaterialGroupServiceService, 'MaterialGroupService');