@aldiokta/protocgen 1.0.87 → 1.0.89

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 (103) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/core/access_manager/access_manager.proto +273 -0
  3. package/prisca/v1/core/auth/auth.proto +142 -0
  4. package/prisca/v1/core/company/company.proto +86 -0
  5. package/prisca/v1/core/currency/currency.proto +76 -0
  6. package/prisca/v1/core/department_material/department_material.proto +69 -0
  7. package/prisca/v1/core/employee/employee.proto +129 -0
  8. package/prisca/v1/core/file_upload/file_upload.proto +31 -0
  9. package/prisca/v1/core/job_grade/job_grade.proto +79 -0
  10. package/prisca/v1/core/job_position/job_position.proto +113 -0
  11. package/prisca/v1/core/job_title/job_title.proto +89 -0
  12. package/prisca/v1/core/line_of_activity/line_of_activity.proto +42 -0
  13. package/prisca/v1/core/line_of_approval/line_of_approval.proto +82 -0
  14. package/prisca/v1/core/link_data_source/link_data_source.proto +78 -0
  15. package/prisca/v1/core/location/location.proto +289 -0
  16. package/prisca/v1/core/material/material.proto +131 -0
  17. package/prisca/v1/core/material_group/material_group.proto +85 -0
  18. package/prisca/v1/core/material_type/material_type.proto +86 -0
  19. package/prisca/v1/core/messaging/email_template.proto +75 -0
  20. package/prisca/v1/core/messaging/messaging.proto +28 -0
  21. package/prisca/v1/core/number_range/number_range.proto +89 -0
  22. package/prisca/v1/core/organization/organization.proto +94 -0
  23. package/prisca/v1/core/organization_level/organization_level.proto +77 -0
  24. package/prisca/v1/core/procurement/procurement.proto +54 -0
  25. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx.proto +131 -0
  26. package/prisca/v1/core/recipient_roles/recipient_roles.proto +10 -0
  27. package/prisca/v1/core/report/report.proto +86 -0
  28. package/prisca/v1/core/report/user_report.proto +74 -0
  29. package/prisca/v1/core/tax_code/tax_code.proto +77 -0
  30. package/prisca/v1/core/transaction_builder/transaction_builder.proto +314 -0
  31. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +88 -0
  32. package/prisca/v1/core/users/users.proto +45 -0
  33. package/prisca/v1/core/work_location/work_location.proto +122 -0
  34. package/prisca/v1/core/workflow/workflow.proto +219 -0
  35. package/prisca/v1/global/meta/meta.proto +57 -0
  36. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +0 -544
  37. package/prisca/v1/core/access_manager/access_manager_pb.js +0 -9000
  38. package/prisca/v1/core/auth/auth_grpc_pb.js +0 -367
  39. package/prisca/v1/core/auth/auth_pb.js +0 -3766
  40. package/prisca/v1/core/company/company_grpc_pb.js +0 -177
  41. package/prisca/v1/core/company/company_pb.js +0 -2875
  42. package/prisca/v1/core/currency/currency_grpc_pb.js +0 -177
  43. package/prisca/v1/core/currency/currency_pb.js +0 -2522
  44. package/prisca/v1/core/department_material/department_material_grpc_pb.js +0 -144
  45. package/prisca/v1/core/department_material/department_material_pb.js +0 -2167
  46. package/prisca/v1/core/employee/employee_grpc_pb.js +0 -206
  47. package/prisca/v1/core/employee/employee_pb.js +0 -4283
  48. package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +0 -66
  49. package/prisca/v1/core/file_upload/file_upload_pb.js +0 -864
  50. package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +0 -178
  51. package/prisca/v1/core/job_grade/job_grade_pb.js +0 -2605
  52. package/prisca/v1/core/job_position/job_position_grpc_pb.js +0 -181
  53. package/prisca/v1/core/job_position/job_position_pb.js +0 -3762
  54. package/prisca/v1/core/job_title/job_title_grpc_pb.js +0 -178
  55. package/prisca/v1/core/job_title/job_title_pb.js +0 -2958
  56. package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +0 -45
  57. package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +0 -1158
  58. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +0 -178
  59. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +0 -2695
  60. package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +0 -177
  61. package/prisca/v1/core/link_data_source/link_data_source_pb.js +0 -2612
  62. package/prisca/v1/core/location/location_grpc_pb.js +0 -837
  63. package/prisca/v1/core/location/location_pb.js +0 -10879
  64. package/prisca/v1/core/material/material_grpc_pb.js +0 -182
  65. package/prisca/v1/core/material/material_pb.js +0 -4180
  66. package/prisca/v1/core/material_group/material_group_grpc_pb.js +0 -178
  67. package/prisca/v1/core/material_group/material_group_pb.js +0 -2776
  68. package/prisca/v1/core/material_type/material_type_grpc_pb.js +0 -149
  69. package/prisca/v1/core/material_type/material_type_pb.js +0 -2697
  70. package/prisca/v1/core/messaging/email_template_grpc_pb.js +0 -177
  71. package/prisca/v1/core/messaging/email_template_pb.js +0 -2552
  72. package/prisca/v1/core/messaging/messaging_grpc_pb.js +0 -45
  73. package/prisca/v1/core/messaging/messaging_pb.js +0 -896
  74. package/prisca/v1/core/number_range/number_range_grpc_pb.js +0 -178
  75. package/prisca/v1/core/number_range/number_range_pb.js +0 -2926
  76. package/prisca/v1/core/organization/organization_grpc_pb.js +0 -180
  77. package/prisca/v1/core/organization/organization_pb.js +0 -3032
  78. package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +0 -178
  79. package/prisca/v1/core/organization_level/organization_level_pb.js +0 -2545
  80. package/prisca/v1/core/procurement/procurement_grpc_pb.js +0 -146
  81. package/prisca/v1/core/procurement/procurement_pb.js +0 -1681
  82. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -266
  83. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -4429
  84. package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +0 -1
  85. package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +0 -206
  86. package/prisca/v1/core/report/report_grpc_pb.js +0 -189
  87. package/prisca/v1/core/report/report_pb.js +0 -2732
  88. package/prisca/v1/core/report/user_report_grpc_pb.js +0 -179
  89. package/prisca/v1/core/report/user_report_pb.js +0 -2452
  90. package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +0 -177
  91. package/prisca/v1/core/tax_code/tax_code_pb.js +0 -2582
  92. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +0 -465
  93. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +0 -10591
  94. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +0 -180
  95. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +0 -2798
  96. package/prisca/v1/core/users/users_grpc_pb.js +0 -45
  97. package/prisca/v1/core/users/users_pb.js +0 -1246
  98. package/prisca/v1/core/work_location/work_location_grpc_pb.js +0 -179
  99. package/prisca/v1/core/work_location/work_location_pb.js +0 -3972
  100. package/prisca/v1/core/workflow/workflow_grpc_pb.js +0 -202
  101. package/prisca/v1/core/workflow/workflow_pb.js +0 -7376
  102. package/prisca/v1/global/meta/meta_grpc_pb.js +0 -1
  103. package/prisca/v1/global/meta/meta_pb.js +0 -1179
@@ -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_organization_level_organization_level_pb = require('../../../../prisca/v1/core/organization_level/organization_level_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_CreateOrganizationLevelRequest(arg) {
10
- if (!(arg instanceof prisca_v1_core_organization_level_organization_level_pb.CreateOrganizationLevelRequest)) {
11
- throw new Error('Expected argument of type CreateOrganizationLevelRequest');
12
- }
13
- return Buffer.from(arg.serializeBinary());
14
- }
15
-
16
- function deserialize_CreateOrganizationLevelRequest(buffer_arg) {
17
- return prisca_v1_core_organization_level_organization_level_pb.CreateOrganizationLevelRequest.deserializeBinary(new Uint8Array(buffer_arg));
18
- }
19
-
20
- function serialize_CreateOrganizationLevelResponse(arg) {
21
- if (!(arg instanceof prisca_v1_core_organization_level_organization_level_pb.CreateOrganizationLevelResponse)) {
22
- throw new Error('Expected argument of type CreateOrganizationLevelResponse');
23
- }
24
- return Buffer.from(arg.serializeBinary());
25
- }
26
-
27
- function deserialize_CreateOrganizationLevelResponse(buffer_arg) {
28
- return prisca_v1_core_organization_level_organization_level_pb.CreateOrganizationLevelResponse.deserializeBinary(new Uint8Array(buffer_arg));
29
- }
30
-
31
- function serialize_DeleteOrganizationLevelRequest(arg) {
32
- if (!(arg instanceof prisca_v1_core_organization_level_organization_level_pb.DeleteOrganizationLevelRequest)) {
33
- throw new Error('Expected argument of type DeleteOrganizationLevelRequest');
34
- }
35
- return Buffer.from(arg.serializeBinary());
36
- }
37
-
38
- function deserialize_DeleteOrganizationLevelRequest(buffer_arg) {
39
- return prisca_v1_core_organization_level_organization_level_pb.DeleteOrganizationLevelRequest.deserializeBinary(new Uint8Array(buffer_arg));
40
- }
41
-
42
- function serialize_DeleteOrganizationLevelResponse(arg) {
43
- if (!(arg instanceof prisca_v1_core_organization_level_organization_level_pb.DeleteOrganizationLevelResponse)) {
44
- throw new Error('Expected argument of type DeleteOrganizationLevelResponse');
45
- }
46
- return Buffer.from(arg.serializeBinary());
47
- }
48
-
49
- function deserialize_DeleteOrganizationLevelResponse(buffer_arg) {
50
- return prisca_v1_core_organization_level_organization_level_pb.DeleteOrganizationLevelResponse.deserializeBinary(new Uint8Array(buffer_arg));
51
- }
52
-
53
- function serialize_GetListOrganizationLevelRequest(arg) {
54
- if (!(arg instanceof prisca_v1_core_organization_level_organization_level_pb.GetListOrganizationLevelRequest)) {
55
- throw new Error('Expected argument of type GetListOrganizationLevelRequest');
56
- }
57
- return Buffer.from(arg.serializeBinary());
58
- }
59
-
60
- function deserialize_GetListOrganizationLevelRequest(buffer_arg) {
61
- return prisca_v1_core_organization_level_organization_level_pb.GetListOrganizationLevelRequest.deserializeBinary(new Uint8Array(buffer_arg));
62
- }
63
-
64
- function serialize_GetListOrganizationLevelResponse(arg) {
65
- if (!(arg instanceof prisca_v1_core_organization_level_organization_level_pb.GetListOrganizationLevelResponse)) {
66
- throw new Error('Expected argument of type GetListOrganizationLevelResponse');
67
- }
68
- return Buffer.from(arg.serializeBinary());
69
- }
70
-
71
- function deserialize_GetListOrganizationLevelResponse(buffer_arg) {
72
- return prisca_v1_core_organization_level_organization_level_pb.GetListOrganizationLevelResponse.deserializeBinary(new Uint8Array(buffer_arg));
73
- }
74
-
75
- function serialize_OrganizationLevelGetByIdRequest(arg) {
76
- if (!(arg instanceof prisca_v1_core_organization_level_organization_level_pb.OrganizationLevelGetByIdRequest)) {
77
- throw new Error('Expected argument of type OrganizationLevelGetByIdRequest');
78
- }
79
- return Buffer.from(arg.serializeBinary());
80
- }
81
-
82
- function deserialize_OrganizationLevelGetByIdRequest(buffer_arg) {
83
- return prisca_v1_core_organization_level_organization_level_pb.OrganizationLevelGetByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
84
- }
85
-
86
- function serialize_OrganizationLevelGetByIdResponse(arg) {
87
- if (!(arg instanceof prisca_v1_core_organization_level_organization_level_pb.OrganizationLevelGetByIdResponse)) {
88
- throw new Error('Expected argument of type OrganizationLevelGetByIdResponse');
89
- }
90
- return Buffer.from(arg.serializeBinary());
91
- }
92
-
93
- function deserialize_OrganizationLevelGetByIdResponse(buffer_arg) {
94
- return prisca_v1_core_organization_level_organization_level_pb.OrganizationLevelGetByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
95
- }
96
-
97
- function serialize_UpdateOrganizationLevelRequest(arg) {
98
- if (!(arg instanceof prisca_v1_core_organization_level_organization_level_pb.UpdateOrganizationLevelRequest)) {
99
- throw new Error('Expected argument of type UpdateOrganizationLevelRequest');
100
- }
101
- return Buffer.from(arg.serializeBinary());
102
- }
103
-
104
- function deserialize_UpdateOrganizationLevelRequest(buffer_arg) {
105
- return prisca_v1_core_organization_level_organization_level_pb.UpdateOrganizationLevelRequest.deserializeBinary(new Uint8Array(buffer_arg));
106
- }
107
-
108
- function serialize_UpdateOrganizationLevelResponse(arg) {
109
- if (!(arg instanceof prisca_v1_core_organization_level_organization_level_pb.UpdateOrganizationLevelResponse)) {
110
- throw new Error('Expected argument of type UpdateOrganizationLevelResponse');
111
- }
112
- return Buffer.from(arg.serializeBinary());
113
- }
114
-
115
- function deserialize_UpdateOrganizationLevelResponse(buffer_arg) {
116
- return prisca_v1_core_organization_level_organization_level_pb.UpdateOrganizationLevelResponse.deserializeBinary(new Uint8Array(buffer_arg));
117
- }
118
-
119
-
120
- var OrganizationLevelServiceService = exports.OrganizationLevelServiceService = {
121
- createOrganizationLevel: {
122
- path: '/OrganizationLevelService/CreateOrganizationLevel',
123
- requestStream: false,
124
- responseStream: false,
125
- requestType: prisca_v1_core_organization_level_organization_level_pb.CreateOrganizationLevelRequest,
126
- responseType: prisca_v1_core_organization_level_organization_level_pb.CreateOrganizationLevelResponse,
127
- requestSerialize: serialize_CreateOrganizationLevelRequest,
128
- requestDeserialize: deserialize_CreateOrganizationLevelRequest,
129
- responseSerialize: serialize_CreateOrganizationLevelResponse,
130
- responseDeserialize: deserialize_CreateOrganizationLevelResponse,
131
- },
132
- getOrganizationLevelById: {
133
- path: '/OrganizationLevelService/GetOrganizationLevelById',
134
- requestStream: false,
135
- responseStream: false,
136
- requestType: prisca_v1_core_organization_level_organization_level_pb.OrganizationLevelGetByIdRequest,
137
- responseType: prisca_v1_core_organization_level_organization_level_pb.OrganizationLevelGetByIdResponse,
138
- requestSerialize: serialize_OrganizationLevelGetByIdRequest,
139
- requestDeserialize: deserialize_OrganizationLevelGetByIdRequest,
140
- responseSerialize: serialize_OrganizationLevelGetByIdResponse,
141
- responseDeserialize: deserialize_OrganizationLevelGetByIdResponse,
142
- },
143
- updateOrganizationLevel: {
144
- path: '/OrganizationLevelService/UpdateOrganizationLevel',
145
- requestStream: false,
146
- responseStream: false,
147
- requestType: prisca_v1_core_organization_level_organization_level_pb.UpdateOrganizationLevelRequest,
148
- responseType: prisca_v1_core_organization_level_organization_level_pb.UpdateOrganizationLevelResponse,
149
- requestSerialize: serialize_UpdateOrganizationLevelRequest,
150
- requestDeserialize: deserialize_UpdateOrganizationLevelRequest,
151
- responseSerialize: serialize_UpdateOrganizationLevelResponse,
152
- responseDeserialize: deserialize_UpdateOrganizationLevelResponse,
153
- },
154
- deleteOrganizationLevel: {
155
- path: '/OrganizationLevelService/DeleteOrganizationLevel',
156
- requestStream: false,
157
- responseStream: false,
158
- requestType: prisca_v1_core_organization_level_organization_level_pb.DeleteOrganizationLevelRequest,
159
- responseType: prisca_v1_core_organization_level_organization_level_pb.DeleteOrganizationLevelResponse,
160
- requestSerialize: serialize_DeleteOrganizationLevelRequest,
161
- requestDeserialize: deserialize_DeleteOrganizationLevelRequest,
162
- responseSerialize: serialize_DeleteOrganizationLevelResponse,
163
- responseDeserialize: deserialize_DeleteOrganizationLevelResponse,
164
- },
165
- getListOrganizationLevel: {
166
- path: '/OrganizationLevelService/GetListOrganizationLevel',
167
- requestStream: false,
168
- responseStream: false,
169
- requestType: prisca_v1_core_organization_level_organization_level_pb.GetListOrganizationLevelRequest,
170
- responseType: prisca_v1_core_organization_level_organization_level_pb.GetListOrganizationLevelResponse,
171
- requestSerialize: serialize_GetListOrganizationLevelRequest,
172
- requestDeserialize: deserialize_GetListOrganizationLevelRequest,
173
- responseSerialize: serialize_GetListOrganizationLevelResponse,
174
- responseDeserialize: deserialize_GetListOrganizationLevelResponse,
175
- },
176
- };
177
-
178
- exports.OrganizationLevelServiceClient = grpc.makeGenericClientConstructor(OrganizationLevelServiceService, 'OrganizationLevelService');