@aldiokta/protocgen 1.0.20 → 1.0.21

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 (96) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/core/auth/auth_grpc_pb.js +256 -0
  3. package/prisca/v1/core/auth/auth_pb.js +2801 -0
  4. package/prisca/v1/core/company/company_grpc_pb.js +177 -0
  5. package/prisca/v1/core/company/company_pb.js +2875 -0
  6. package/prisca/v1/core/department_material/department_material_grpc_pb.js +144 -0
  7. package/prisca/v1/core/department_material/department_material_pb.js +2167 -0
  8. package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +178 -0
  9. package/prisca/v1/core/job_grade/job_grade_pb.js +2605 -0
  10. package/prisca/v1/core/job_position/job_position_grpc_pb.js +181 -0
  11. package/prisca/v1/core/job_position/job_position_pb.js +3582 -0
  12. package/prisca/v1/core/job_title/job_title_grpc_pb.js +178 -0
  13. package/prisca/v1/core/job_title/job_title_pb.js +2928 -0
  14. package/prisca/v1/core/location/location_grpc_pb.js +276 -0
  15. package/prisca/v1/core/location/location_pb.js +4334 -0
  16. package/prisca/v1/core/material/material_grpc_pb.js +181 -0
  17. package/prisca/v1/core/material/material_pb.js +4046 -0
  18. package/prisca/v1/core/material_group/material_group_grpc_pb.js +177 -0
  19. package/prisca/v1/core/material_group/material_group_pb.js +2582 -0
  20. package/prisca/v1/core/material_type/material_type_grpc_pb.js +147 -0
  21. package/prisca/v1/core/material_type/material_type_pb.js +2399 -0
  22. package/prisca/v1/core/number_range/number_range_grpc_pb.js +177 -0
  23. package/prisca/v1/core/number_range/number_range_pb.js +2672 -0
  24. package/prisca/v1/core/organization/organization_grpc_pb.js +180 -0
  25. package/prisca/v1/core/organization/organization_pb.js +3002 -0
  26. package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +177 -0
  27. package/prisca/v1/core/organization_level/organization_level_pb.js +2432 -0
  28. package/prisca/v1/core/procurement/procurement_grpc_pb.js +146 -0
  29. package/prisca/v1/core/procurement/procurement_pb.js +1681 -0
  30. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +266 -0
  31. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_pb.js +4429 -0
  32. package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +1 -0
  33. package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +206 -0
  34. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +421 -0
  35. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +9597 -0
  36. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +180 -0
  37. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +2798 -0
  38. package/prisca/v1/core/users/users_grpc_pb.js +1 -0
  39. package/prisca/v1/core/users/users_pb.js +626 -0
  40. package/prisca/v1/core/users_role/users_role_grpc_pb.js +177 -0
  41. package/prisca/v1/core/users_role/users_role_pb.js +2372 -0
  42. package/prisca/v1/core/work_location/work_location_grpc_pb.js +177 -0
  43. package/prisca/v1/core/work_location/work_location_pb.js +2850 -0
  44. package/prisca/v1/core/workflow/workflow_grpc_pb.js +179 -0
  45. package/prisca/v1/core/workflow/workflow_pb.js +6318 -0
  46. package/prisca/v1/global/meta/meta_grpc_pb.js +1 -0
  47. package/prisca/v1/global/meta/meta_pb.js +1179 -0
  48. package/prisca/v1/core/auth/auth.pb.go +0 -998
  49. package/prisca/v1/core/auth/auth_grpc.pb.go +0 -427
  50. package/prisca/v1/core/company/company.pb.go +0 -965
  51. package/prisca/v1/core/company/company_grpc.pb.go +0 -273
  52. package/prisca/v1/core/department_material/department_material.pb.go +0 -776
  53. package/prisca/v1/core/department_material/department_material_grpc.pb.go +0 -236
  54. package/prisca/v1/core/job_grade/job_grade.pb.go +0 -887
  55. package/prisca/v1/core/job_grade/job_grade_grpc.pb.go +0 -273
  56. package/prisca/v1/core/job_position/job_position.pb.go +0 -1196
  57. package/prisca/v1/core/job_position/job_position_grpc.pb.go +0 -273
  58. package/prisca/v1/core/job_title/job_title.pb.go +0 -986
  59. package/prisca/v1/core/job_title/job_title_grpc.pb.go +0 -273
  60. package/prisca/v1/core/line_of_approval/line_of_approval.pb.go +0 -913
  61. package/prisca/v1/core/line_of_approval/line_of_approval_grpc.pb.go +0 -273
  62. package/prisca/v1/core/location/location.pb.go +0 -1397
  63. package/prisca/v1/core/location/location_grpc.pb.go +0 -387
  64. package/prisca/v1/core/material/material.pb.go +0 -1366
  65. package/prisca/v1/core/material/material_grpc.pb.go +0 -273
  66. package/prisca/v1/core/material_group/material_group.pb.go +0 -911
  67. package/prisca/v1/core/material_group/material_group_grpc.pb.go +0 -273
  68. package/prisca/v1/core/material_type/material_type.pb.go +0 -827
  69. package/prisca/v1/core/material_type/material_type_grpc.pb.go +0 -239
  70. package/prisca/v1/core/number_range/number_range.pb.go +0 -916
  71. package/prisca/v1/core/number_range/number_range_grpc.pb.go +0 -273
  72. package/prisca/v1/core/organization/organization.pb.go +0 -1039
  73. package/prisca/v1/core/organization/organization_grpc.pb.go +0 -273
  74. package/prisca/v1/core/organization_level/organization_level.pb.go +0 -853
  75. package/prisca/v1/core/organization_level/organization_level_grpc.pb.go +0 -274
  76. package/prisca/v1/core/procurement/procurement.pb.go +0 -622
  77. package/prisca/v1/core/procurement/procurement_grpc.pb.go +0 -275
  78. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx.pb.go +0 -1550
  79. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc.pb.go +0 -388
  80. package/prisca/v1/core/recipient_roles/recipient_roles.pb.go +0 -141
  81. package/prisca/v1/core/role/role.pb.go +0 -797
  82. package/prisca/v1/core/role/role_grpc.pb.go +0 -273
  83. package/prisca/v1/core/transaction_builder/transaction_builder.pb.go +0 -3217
  84. package/prisca/v1/core/transaction_builder/transaction_builder_grpc.pb.go +0 -656
  85. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.pb.go +0 -973
  86. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc.pb.go +0 -278
  87. package/prisca/v1/core/users/users.pb.go +0 -281
  88. package/prisca/v1/core/users_role/users_role.pb.go +0 -813
  89. package/prisca/v1/core/users_role/users_role_grpc.pb.go +0 -273
  90. package/prisca/v1/core/work_location/work_location.pb.go +0 -995
  91. package/prisca/v1/core/work_location/work_location_grpc.pb.go +0 -273
  92. package/prisca/v1/core/work_locations/work_locations.pb.go +0 -184
  93. package/prisca/v1/core/work_locations/work_locations_grpc.pb.go +0 -76
  94. package/prisca/v1/core/workflow/workflow.pb.go +0 -2057
  95. package/prisca/v1/core/workflow/workflow_grpc.pb.go +0 -273
  96. package/prisca/v1/global/meta/meta.pb.go +0 -446
@@ -1,622 +0,0 @@
1
- // protoc --go_out=. --go-grpc_out=. proto/prisca/procurement/v1/private/*.proto
2
-
3
- // Code generated by protoc-gen-go. DO NOT EDIT.
4
- // versions:
5
- // protoc-gen-go v1.36.1
6
- // protoc (unknown)
7
- // source: prisca/v1/core/procurement/procurement.proto
8
-
9
- package procurement
10
-
11
- import (
12
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14
- reflect "reflect"
15
- sync "sync"
16
- )
17
-
18
- const (
19
- // Verify that this generated code is sufficiently up-to-date.
20
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21
- // Verify that runtime/protoimpl is sufficiently up-to-date.
22
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23
- )
24
-
25
- type ResponseMeta struct {
26
- state protoimpl.MessageState `protogen:"open.v1"`
27
- Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
28
- Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
29
- Total int64 `protobuf:"varint,3,opt,name=Total,proto3" json:"Total,omitempty"`
30
- unknownFields protoimpl.UnknownFields
31
- sizeCache protoimpl.SizeCache
32
- }
33
-
34
- func (x *ResponseMeta) Reset() {
35
- *x = ResponseMeta{}
36
- mi := &file_prisca_v1_core_procurement_procurement_proto_msgTypes[0]
37
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
38
- ms.StoreMessageInfo(mi)
39
- }
40
-
41
- func (x *ResponseMeta) String() string {
42
- return protoimpl.X.MessageStringOf(x)
43
- }
44
-
45
- func (*ResponseMeta) ProtoMessage() {}
46
-
47
- func (x *ResponseMeta) ProtoReflect() protoreflect.Message {
48
- mi := &file_prisca_v1_core_procurement_procurement_proto_msgTypes[0]
49
- if x != nil {
50
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
51
- if ms.LoadMessageInfo() == nil {
52
- ms.StoreMessageInfo(mi)
53
- }
54
- return ms
55
- }
56
- return mi.MessageOf(x)
57
- }
58
-
59
- // Deprecated: Use ResponseMeta.ProtoReflect.Descriptor instead.
60
- func (*ResponseMeta) Descriptor() ([]byte, []int) {
61
- return file_prisca_v1_core_procurement_procurement_proto_rawDescGZIP(), []int{0}
62
- }
63
-
64
- func (x *ResponseMeta) GetLimit() int64 {
65
- if x != nil {
66
- return x.Limit
67
- }
68
- return 0
69
- }
70
-
71
- func (x *ResponseMeta) GetOffset() int64 {
72
- if x != nil {
73
- return x.Offset
74
- }
75
- return 0
76
- }
77
-
78
- func (x *ResponseMeta) GetTotal() int64 {
79
- if x != nil {
80
- return x.Total
81
- }
82
- return 0
83
- }
84
-
85
- type GetPRRequest struct {
86
- state protoimpl.MessageState `protogen:"open.v1"`
87
- Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
88
- Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
89
- PrNumber string `protobuf:"bytes,3,opt,name=PrNumber,proto3" json:"PrNumber,omitempty"`
90
- unknownFields protoimpl.UnknownFields
91
- sizeCache protoimpl.SizeCache
92
- }
93
-
94
- func (x *GetPRRequest) Reset() {
95
- *x = GetPRRequest{}
96
- mi := &file_prisca_v1_core_procurement_procurement_proto_msgTypes[1]
97
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
98
- ms.StoreMessageInfo(mi)
99
- }
100
-
101
- func (x *GetPRRequest) String() string {
102
- return protoimpl.X.MessageStringOf(x)
103
- }
104
-
105
- func (*GetPRRequest) ProtoMessage() {}
106
-
107
- func (x *GetPRRequest) ProtoReflect() protoreflect.Message {
108
- mi := &file_prisca_v1_core_procurement_procurement_proto_msgTypes[1]
109
- if x != nil {
110
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
111
- if ms.LoadMessageInfo() == nil {
112
- ms.StoreMessageInfo(mi)
113
- }
114
- return ms
115
- }
116
- return mi.MessageOf(x)
117
- }
118
-
119
- // Deprecated: Use GetPRRequest.ProtoReflect.Descriptor instead.
120
- func (*GetPRRequest) Descriptor() ([]byte, []int) {
121
- return file_prisca_v1_core_procurement_procurement_proto_rawDescGZIP(), []int{1}
122
- }
123
-
124
- func (x *GetPRRequest) GetLimit() int64 {
125
- if x != nil {
126
- return x.Limit
127
- }
128
- return 0
129
- }
130
-
131
- func (x *GetPRRequest) GetOffset() int64 {
132
- if x != nil {
133
- return x.Offset
134
- }
135
- return 0
136
- }
137
-
138
- func (x *GetPRRequest) GetPrNumber() string {
139
- if x != nil {
140
- return x.PrNumber
141
- }
142
- return ""
143
- }
144
-
145
- type CreatePRRequest struct {
146
- state protoimpl.MessageState `protogen:"open.v1"`
147
- PrNumber string `protobuf:"bytes,1,opt,name=PrNumber,proto3" json:"PrNumber,omitempty"`
148
- Title string `protobuf:"bytes,2,opt,name=Title,proto3" json:"Title,omitempty"`
149
- unknownFields protoimpl.UnknownFields
150
- sizeCache protoimpl.SizeCache
151
- }
152
-
153
- func (x *CreatePRRequest) Reset() {
154
- *x = CreatePRRequest{}
155
- mi := &file_prisca_v1_core_procurement_procurement_proto_msgTypes[2]
156
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
157
- ms.StoreMessageInfo(mi)
158
- }
159
-
160
- func (x *CreatePRRequest) String() string {
161
- return protoimpl.X.MessageStringOf(x)
162
- }
163
-
164
- func (*CreatePRRequest) ProtoMessage() {}
165
-
166
- func (x *CreatePRRequest) ProtoReflect() protoreflect.Message {
167
- mi := &file_prisca_v1_core_procurement_procurement_proto_msgTypes[2]
168
- if x != nil {
169
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
170
- if ms.LoadMessageInfo() == nil {
171
- ms.StoreMessageInfo(mi)
172
- }
173
- return ms
174
- }
175
- return mi.MessageOf(x)
176
- }
177
-
178
- // Deprecated: Use CreatePRRequest.ProtoReflect.Descriptor instead.
179
- func (*CreatePRRequest) Descriptor() ([]byte, []int) {
180
- return file_prisca_v1_core_procurement_procurement_proto_rawDescGZIP(), []int{2}
181
- }
182
-
183
- func (x *CreatePRRequest) GetPrNumber() string {
184
- if x != nil {
185
- return x.PrNumber
186
- }
187
- return ""
188
- }
189
-
190
- func (x *CreatePRRequest) GetTitle() string {
191
- if x != nil {
192
- return x.Title
193
- }
194
- return ""
195
- }
196
-
197
- type UpdatePRRequest struct {
198
- state protoimpl.MessageState `protogen:"open.v1"`
199
- Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
200
- PrNumber string `protobuf:"bytes,2,opt,name=PrNumber,proto3" json:"PrNumber,omitempty"`
201
- Title string `protobuf:"bytes,3,opt,name=Title,proto3" json:"Title,omitempty"`
202
- unknownFields protoimpl.UnknownFields
203
- sizeCache protoimpl.SizeCache
204
- }
205
-
206
- func (x *UpdatePRRequest) Reset() {
207
- *x = UpdatePRRequest{}
208
- mi := &file_prisca_v1_core_procurement_procurement_proto_msgTypes[3]
209
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
210
- ms.StoreMessageInfo(mi)
211
- }
212
-
213
- func (x *UpdatePRRequest) String() string {
214
- return protoimpl.X.MessageStringOf(x)
215
- }
216
-
217
- func (*UpdatePRRequest) ProtoMessage() {}
218
-
219
- func (x *UpdatePRRequest) ProtoReflect() protoreflect.Message {
220
- mi := &file_prisca_v1_core_procurement_procurement_proto_msgTypes[3]
221
- if x != nil {
222
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
223
- if ms.LoadMessageInfo() == nil {
224
- ms.StoreMessageInfo(mi)
225
- }
226
- return ms
227
- }
228
- return mi.MessageOf(x)
229
- }
230
-
231
- // Deprecated: Use UpdatePRRequest.ProtoReflect.Descriptor instead.
232
- func (*UpdatePRRequest) Descriptor() ([]byte, []int) {
233
- return file_prisca_v1_core_procurement_procurement_proto_rawDescGZIP(), []int{3}
234
- }
235
-
236
- func (x *UpdatePRRequest) GetId() int64 {
237
- if x != nil {
238
- return x.Id
239
- }
240
- return 0
241
- }
242
-
243
- func (x *UpdatePRRequest) GetPrNumber() string {
244
- if x != nil {
245
- return x.PrNumber
246
- }
247
- return ""
248
- }
249
-
250
- func (x *UpdatePRRequest) GetTitle() string {
251
- if x != nil {
252
- return x.Title
253
- }
254
- return ""
255
- }
256
-
257
- type GetSinglePRRequest struct {
258
- state protoimpl.MessageState `protogen:"open.v1"`
259
- Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
260
- unknownFields protoimpl.UnknownFields
261
- sizeCache protoimpl.SizeCache
262
- }
263
-
264
- func (x *GetSinglePRRequest) Reset() {
265
- *x = GetSinglePRRequest{}
266
- mi := &file_prisca_v1_core_procurement_procurement_proto_msgTypes[4]
267
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
268
- ms.StoreMessageInfo(mi)
269
- }
270
-
271
- func (x *GetSinglePRRequest) String() string {
272
- return protoimpl.X.MessageStringOf(x)
273
- }
274
-
275
- func (*GetSinglePRRequest) ProtoMessage() {}
276
-
277
- func (x *GetSinglePRRequest) ProtoReflect() protoreflect.Message {
278
- mi := &file_prisca_v1_core_procurement_procurement_proto_msgTypes[4]
279
- if x != nil {
280
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
281
- if ms.LoadMessageInfo() == nil {
282
- ms.StoreMessageInfo(mi)
283
- }
284
- return ms
285
- }
286
- return mi.MessageOf(x)
287
- }
288
-
289
- // Deprecated: Use GetSinglePRRequest.ProtoReflect.Descriptor instead.
290
- func (*GetSinglePRRequest) Descriptor() ([]byte, []int) {
291
- return file_prisca_v1_core_procurement_procurement_proto_rawDescGZIP(), []int{4}
292
- }
293
-
294
- func (x *GetSinglePRRequest) GetId() int64 {
295
- if x != nil {
296
- return x.Id
297
- }
298
- return 0
299
- }
300
-
301
- type PRDetailResponse struct {
302
- state protoimpl.MessageState `protogen:"open.v1"`
303
- Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
304
- PrNumber string `protobuf:"bytes,2,opt,name=PrNumber,proto3" json:"PrNumber,omitempty"`
305
- Title string `protobuf:"bytes,3,opt,name=Title,proto3" json:"Title,omitempty"`
306
- ReferencesId string `protobuf:"bytes,4,opt,name=ReferencesId,proto3" json:"ReferencesId,omitempty"`
307
- CreatedAt string `protobuf:"bytes,5,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"`
308
- UpdatedAt string `protobuf:"bytes,6,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"`
309
- unknownFields protoimpl.UnknownFields
310
- sizeCache protoimpl.SizeCache
311
- }
312
-
313
- func (x *PRDetailResponse) Reset() {
314
- *x = PRDetailResponse{}
315
- mi := &file_prisca_v1_core_procurement_procurement_proto_msgTypes[5]
316
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
317
- ms.StoreMessageInfo(mi)
318
- }
319
-
320
- func (x *PRDetailResponse) String() string {
321
- return protoimpl.X.MessageStringOf(x)
322
- }
323
-
324
- func (*PRDetailResponse) ProtoMessage() {}
325
-
326
- func (x *PRDetailResponse) ProtoReflect() protoreflect.Message {
327
- mi := &file_prisca_v1_core_procurement_procurement_proto_msgTypes[5]
328
- if x != nil {
329
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
330
- if ms.LoadMessageInfo() == nil {
331
- ms.StoreMessageInfo(mi)
332
- }
333
- return ms
334
- }
335
- return mi.MessageOf(x)
336
- }
337
-
338
- // Deprecated: Use PRDetailResponse.ProtoReflect.Descriptor instead.
339
- func (*PRDetailResponse) Descriptor() ([]byte, []int) {
340
- return file_prisca_v1_core_procurement_procurement_proto_rawDescGZIP(), []int{5}
341
- }
342
-
343
- func (x *PRDetailResponse) GetId() int64 {
344
- if x != nil {
345
- return x.Id
346
- }
347
- return 0
348
- }
349
-
350
- func (x *PRDetailResponse) GetPrNumber() string {
351
- if x != nil {
352
- return x.PrNumber
353
- }
354
- return ""
355
- }
356
-
357
- func (x *PRDetailResponse) GetTitle() string {
358
- if x != nil {
359
- return x.Title
360
- }
361
- return ""
362
- }
363
-
364
- func (x *PRDetailResponse) GetReferencesId() string {
365
- if x != nil {
366
- return x.ReferencesId
367
- }
368
- return ""
369
- }
370
-
371
- func (x *PRDetailResponse) GetCreatedAt() string {
372
- if x != nil {
373
- return x.CreatedAt
374
- }
375
- return ""
376
- }
377
-
378
- func (x *PRDetailResponse) GetUpdatedAt() string {
379
- if x != nil {
380
- return x.UpdatedAt
381
- }
382
- return ""
383
- }
384
-
385
- type PRListResponse struct {
386
- state protoimpl.MessageState `protogen:"open.v1"`
387
- PurchaseRequests []*PRDetailResponse `protobuf:"bytes,1,rep,name=PurchaseRequests,proto3" json:"PurchaseRequests,omitempty"`
388
- Meta *ResponseMeta `protobuf:"bytes,2,opt,name=Meta,proto3" json:"Meta,omitempty"`
389
- unknownFields protoimpl.UnknownFields
390
- sizeCache protoimpl.SizeCache
391
- }
392
-
393
- func (x *PRListResponse) Reset() {
394
- *x = PRListResponse{}
395
- mi := &file_prisca_v1_core_procurement_procurement_proto_msgTypes[6]
396
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
397
- ms.StoreMessageInfo(mi)
398
- }
399
-
400
- func (x *PRListResponse) String() string {
401
- return protoimpl.X.MessageStringOf(x)
402
- }
403
-
404
- func (*PRListResponse) ProtoMessage() {}
405
-
406
- func (x *PRListResponse) ProtoReflect() protoreflect.Message {
407
- mi := &file_prisca_v1_core_procurement_procurement_proto_msgTypes[6]
408
- if x != nil {
409
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
410
- if ms.LoadMessageInfo() == nil {
411
- ms.StoreMessageInfo(mi)
412
- }
413
- return ms
414
- }
415
- return mi.MessageOf(x)
416
- }
417
-
418
- // Deprecated: Use PRListResponse.ProtoReflect.Descriptor instead.
419
- func (*PRListResponse) Descriptor() ([]byte, []int) {
420
- return file_prisca_v1_core_procurement_procurement_proto_rawDescGZIP(), []int{6}
421
- }
422
-
423
- func (x *PRListResponse) GetPurchaseRequests() []*PRDetailResponse {
424
- if x != nil {
425
- return x.PurchaseRequests
426
- }
427
- return nil
428
- }
429
-
430
- func (x *PRListResponse) GetMeta() *ResponseMeta {
431
- if x != nil {
432
- return x.Meta
433
- }
434
- return nil
435
- }
436
-
437
- type SuccessResponse struct {
438
- state protoimpl.MessageState `protogen:"open.v1"`
439
- Response string `protobuf:"bytes,1,opt,name=Response,proto3" json:"Response,omitempty"`
440
- unknownFields protoimpl.UnknownFields
441
- sizeCache protoimpl.SizeCache
442
- }
443
-
444
- func (x *SuccessResponse) Reset() {
445
- *x = SuccessResponse{}
446
- mi := &file_prisca_v1_core_procurement_procurement_proto_msgTypes[7]
447
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
448
- ms.StoreMessageInfo(mi)
449
- }
450
-
451
- func (x *SuccessResponse) String() string {
452
- return protoimpl.X.MessageStringOf(x)
453
- }
454
-
455
- func (*SuccessResponse) ProtoMessage() {}
456
-
457
- func (x *SuccessResponse) ProtoReflect() protoreflect.Message {
458
- mi := &file_prisca_v1_core_procurement_procurement_proto_msgTypes[7]
459
- if x != nil {
460
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
461
- if ms.LoadMessageInfo() == nil {
462
- ms.StoreMessageInfo(mi)
463
- }
464
- return ms
465
- }
466
- return mi.MessageOf(x)
467
- }
468
-
469
- // Deprecated: Use SuccessResponse.ProtoReflect.Descriptor instead.
470
- func (*SuccessResponse) Descriptor() ([]byte, []int) {
471
- return file_prisca_v1_core_procurement_procurement_proto_rawDescGZIP(), []int{7}
472
- }
473
-
474
- func (x *SuccessResponse) GetResponse() string {
475
- if x != nil {
476
- return x.Response
477
- }
478
- return ""
479
- }
480
-
481
- var File_prisca_v1_core_procurement_procurement_proto protoreflect.FileDescriptor
482
-
483
- var file_prisca_v1_core_procurement_procurement_proto_rawDesc = []byte{
484
- 0x0a, 0x2c, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x72, 0x65,
485
- 0x2f, 0x70, 0x72, 0x6f, 0x63, 0x75, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x70, 0x72, 0x6f,
486
- 0x63, 0x75, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52,
487
- 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x14,
488
- 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c,
489
- 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02,
490
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05,
491
- 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x54, 0x6f, 0x74,
492
- 0x61, 0x6c, 0x22, 0x58, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x50, 0x52, 0x52, 0x65, 0x71, 0x75, 0x65,
493
- 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
494
- 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73,
495
- 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
496
- 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01,
497
- 0x28, 0x09, 0x52, 0x08, 0x50, 0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x43, 0x0a, 0x0f,
498
- 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x52, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
499
- 0x1a, 0x0a, 0x08, 0x50, 0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
500
- 0x09, 0x52, 0x08, 0x50, 0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x54,
501
- 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x54, 0x69, 0x74, 0x6c,
502
- 0x65, 0x22, 0x53, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x52, 0x52, 0x65, 0x71,
503
- 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
504
- 0x52, 0x02, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72,
505
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x50, 0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72,
506
- 0x12, 0x14, 0x0a, 0x05, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
507
- 0x05, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x22, 0x24, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x69, 0x6e,
508
- 0x67, 0x6c, 0x65, 0x50, 0x52, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02,
509
- 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49, 0x64, 0x22, 0xb4, 0x01, 0x0a,
510
- 0x10, 0x50, 0x52, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
511
- 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49,
512
- 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20,
513
- 0x01, 0x28, 0x09, 0x52, 0x08, 0x50, 0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x14, 0x0a,
514
- 0x05, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x54, 0x69,
515
- 0x74, 0x6c, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,
516
- 0x73, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x52, 0x65, 0x66, 0x65, 0x72,
517
- 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74,
518
- 0x65, 0x64, 0x41, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x43, 0x72, 0x65, 0x61,
519
- 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64,
520
- 0x41, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
521
- 0x64, 0x41, 0x74, 0x22, 0x72, 0x0a, 0x0e, 0x50, 0x52, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73,
522
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x10, 0x50, 0x75, 0x72, 0x63, 0x68, 0x61, 0x73,
523
- 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
524
- 0x11, 0x2e, 0x50, 0x52, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
525
- 0x73, 0x65, 0x52, 0x10, 0x50, 0x75, 0x72, 0x63, 0x68, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75,
526
- 0x65, 0x73, 0x74, 0x73, 0x12, 0x21, 0x0a, 0x04, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01,
527
- 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x74,
528
- 0x61, 0x52, 0x04, 0x4d, 0x65, 0x74, 0x61, 0x22, 0x2d, 0x0a, 0x0f, 0x53, 0x75, 0x63, 0x63, 0x65,
529
- 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x65,
530
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x52, 0x65,
531
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xff, 0x01, 0x0a, 0x12, 0x50, 0x72, 0x6f, 0x63, 0x75,
532
- 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2d, 0x0a,
533
- 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x10, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
534
- 0x50, 0x52, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x50, 0x52, 0x44, 0x65,
535
- 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x06,
536
- 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x10, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50,
537
- 0x52, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x50, 0x52, 0x44, 0x65, 0x74,
538
- 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x03, 0x47,
539
- 0x65, 0x74, 0x12, 0x0d, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x52, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
540
- 0x74, 0x1a, 0x0f, 0x2e, 0x50, 0x52, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
541
- 0x73, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x12,
542
- 0x13, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x50, 0x52, 0x52, 0x65, 0x71,
543
- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x50, 0x52, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52,
544
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74,
545
- 0x65, 0x12, 0x13, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x50, 0x52, 0x52,
546
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
547
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x53, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x6c,
548
- 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x5f, 0x73,
549
- 0x6d, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2d, 0x76, 0x32, 0x2d, 0x63, 0x6f, 0x72, 0x65,
550
- 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x67,
551
- 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x72,
552
- 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x63, 0x75, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70,
553
- 0x72, 0x6f, 0x74, 0x6f, 0x33,
554
- }
555
-
556
- var (
557
- file_prisca_v1_core_procurement_procurement_proto_rawDescOnce sync.Once
558
- file_prisca_v1_core_procurement_procurement_proto_rawDescData = file_prisca_v1_core_procurement_procurement_proto_rawDesc
559
- )
560
-
561
- func file_prisca_v1_core_procurement_procurement_proto_rawDescGZIP() []byte {
562
- file_prisca_v1_core_procurement_procurement_proto_rawDescOnce.Do(func() {
563
- file_prisca_v1_core_procurement_procurement_proto_rawDescData = protoimpl.X.CompressGZIP(file_prisca_v1_core_procurement_procurement_proto_rawDescData)
564
- })
565
- return file_prisca_v1_core_procurement_procurement_proto_rawDescData
566
- }
567
-
568
- var file_prisca_v1_core_procurement_procurement_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
569
- var file_prisca_v1_core_procurement_procurement_proto_goTypes = []any{
570
- (*ResponseMeta)(nil), // 0: ResponseMeta
571
- (*GetPRRequest)(nil), // 1: GetPRRequest
572
- (*CreatePRRequest)(nil), // 2: CreatePRRequest
573
- (*UpdatePRRequest)(nil), // 3: UpdatePRRequest
574
- (*GetSinglePRRequest)(nil), // 4: GetSinglePRRequest
575
- (*PRDetailResponse)(nil), // 5: PRDetailResponse
576
- (*PRListResponse)(nil), // 6: PRListResponse
577
- (*SuccessResponse)(nil), // 7: SuccessResponse
578
- }
579
- var file_prisca_v1_core_procurement_procurement_proto_depIdxs = []int32{
580
- 5, // 0: PRListResponse.PurchaseRequests:type_name -> PRDetailResponse
581
- 0, // 1: PRListResponse.Meta:type_name -> ResponseMeta
582
- 2, // 2: ProcurementService.Create:input_type -> CreatePRRequest
583
- 3, // 3: ProcurementService.Update:input_type -> UpdatePRRequest
584
- 1, // 4: ProcurementService.Get:input_type -> GetPRRequest
585
- 4, // 5: ProcurementService.GetSingle:input_type -> GetSinglePRRequest
586
- 4, // 6: ProcurementService.Delete:input_type -> GetSinglePRRequest
587
- 5, // 7: ProcurementService.Create:output_type -> PRDetailResponse
588
- 5, // 8: ProcurementService.Update:output_type -> PRDetailResponse
589
- 6, // 9: ProcurementService.Get:output_type -> PRListResponse
590
- 5, // 10: ProcurementService.GetSingle:output_type -> PRDetailResponse
591
- 7, // 11: ProcurementService.Delete:output_type -> SuccessResponse
592
- 7, // [7:12] is the sub-list for method output_type
593
- 2, // [2:7] is the sub-list for method input_type
594
- 2, // [2:2] is the sub-list for extension type_name
595
- 2, // [2:2] is the sub-list for extension extendee
596
- 0, // [0:2] is the sub-list for field type_name
597
- }
598
-
599
- func init() { file_prisca_v1_core_procurement_procurement_proto_init() }
600
- func file_prisca_v1_core_procurement_procurement_proto_init() {
601
- if File_prisca_v1_core_procurement_procurement_proto != nil {
602
- return
603
- }
604
- type x struct{}
605
- out := protoimpl.TypeBuilder{
606
- File: protoimpl.DescBuilder{
607
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
608
- RawDescriptor: file_prisca_v1_core_procurement_procurement_proto_rawDesc,
609
- NumEnums: 0,
610
- NumMessages: 8,
611
- NumExtensions: 0,
612
- NumServices: 1,
613
- },
614
- GoTypes: file_prisca_v1_core_procurement_procurement_proto_goTypes,
615
- DependencyIndexes: file_prisca_v1_core_procurement_procurement_proto_depIdxs,
616
- MessageInfos: file_prisca_v1_core_procurement_procurement_proto_msgTypes,
617
- }.Build()
618
- File_prisca_v1_core_procurement_procurement_proto = out.File
619
- file_prisca_v1_core_procurement_procurement_proto_rawDesc = nil
620
- file_prisca_v1_core_procurement_procurement_proto_goTypes = nil
621
- file_prisca_v1_core_procurement_procurement_proto_depIdxs = nil
622
- }