@aldiokta/protocgen 1.0.67 → 1.0.69

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 (31) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/account_assignment/account_assignment.proto +75 -0
  3. package/prisca/v1/account_group/account_group.proto +81 -0
  4. package/prisca/v1/chart_of_account/chart_of_account.proto +75 -0
  5. package/prisca/v1/document_type/document_type.proto +80 -0
  6. package/prisca/v1/general_ledger_account/general_ledger_account.proto +98 -0
  7. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx.proto +343 -0
  8. package/prisca/v1/purchasing_group/purchasing_group.proto +87 -0
  9. package/prisca/v1/purchasing_organization/purchasing_organization.proto +68 -0
  10. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment.proto +70 -0
  11. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant.proto +80 -0
  12. package/prisca/v1/account_assignment/account_assignment_grpc_pb.js +0 -177
  13. package/prisca/v1/account_assignment/account_assignment_pb.js +0 -2522
  14. package/prisca/v1/account_group/account_group_grpc_pb.js +0 -178
  15. package/prisca/v1/account_group/account_group_pb.js +0 -2755
  16. package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +0 -177
  17. package/prisca/v1/chart_of_account/chart_of_account_pb.js +0 -2522
  18. package/prisca/v1/document_type/document_type_grpc_pb.js +0 -178
  19. package/prisca/v1/document_type/document_type_pb.js +0 -2746
  20. package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +0 -181
  21. package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +0 -3276
  22. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -454
  23. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -11122
  24. package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +0 -178
  25. package/prisca/v1/purchasing_group/purchasing_group_pb.js +0 -2875
  26. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +0 -145
  27. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +0 -2139
  28. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +0 -146
  29. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +0 -2183
  30. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +0 -145
  31. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +0 -2543
@@ -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');