@aldiokta/protocgen 1.0.19 → 1.0.20

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 (73) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/core/auth/auth.pb.go +998 -0
  3. package/prisca/v1/core/auth/auth_grpc.pb.go +427 -0
  4. package/prisca/v1/core/company/company.pb.go +965 -0
  5. package/prisca/v1/core/company/company_grpc.pb.go +273 -0
  6. package/prisca/v1/core/department_material/department_material.pb.go +776 -0
  7. package/prisca/v1/core/department_material/department_material_grpc.pb.go +236 -0
  8. package/prisca/v1/core/job_grade/job_grade.pb.go +887 -0
  9. package/prisca/v1/core/job_grade/job_grade_grpc.pb.go +273 -0
  10. package/prisca/v1/core/job_position/job_position.pb.go +1196 -0
  11. package/prisca/v1/core/job_position/job_position_grpc.pb.go +273 -0
  12. package/prisca/v1/core/job_title/job_title.pb.go +986 -0
  13. package/prisca/v1/core/job_title/job_title_grpc.pb.go +273 -0
  14. package/prisca/v1/core/line_of_approval/line_of_approval.pb.go +913 -0
  15. package/prisca/v1/core/line_of_approval/line_of_approval_grpc.pb.go +273 -0
  16. package/prisca/v1/core/location/location.pb.go +1397 -0
  17. package/prisca/v1/core/location/location_grpc.pb.go +387 -0
  18. package/prisca/v1/core/material/material.pb.go +1366 -0
  19. package/prisca/v1/core/material/material_grpc.pb.go +273 -0
  20. package/prisca/v1/core/material_group/material_group.pb.go +911 -0
  21. package/prisca/v1/core/material_group/material_group_grpc.pb.go +273 -0
  22. package/prisca/v1/core/material_type/material_type.pb.go +827 -0
  23. package/prisca/v1/core/material_type/material_type_grpc.pb.go +239 -0
  24. package/prisca/v1/core/number_range/number_range.pb.go +916 -0
  25. package/prisca/v1/core/number_range/number_range_grpc.pb.go +273 -0
  26. package/prisca/v1/core/organization/organization.pb.go +1039 -0
  27. package/prisca/v1/core/organization/organization_grpc.pb.go +273 -0
  28. package/prisca/v1/core/organization_level/organization_level.pb.go +853 -0
  29. package/prisca/v1/core/organization_level/organization_level_grpc.pb.go +274 -0
  30. package/prisca/v1/core/procurement/procurement.pb.go +622 -0
  31. package/prisca/v1/core/procurement/procurement_grpc.pb.go +275 -0
  32. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx.pb.go +1550 -0
  33. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc.pb.go +388 -0
  34. package/prisca/v1/core/recipient_roles/recipient_roles.pb.go +141 -0
  35. package/prisca/v1/core/role/role.pb.go +797 -0
  36. package/prisca/v1/core/role/role_grpc.pb.go +273 -0
  37. package/prisca/v1/core/transaction_builder/transaction_builder.pb.go +3217 -0
  38. package/prisca/v1/core/transaction_builder/transaction_builder_grpc.pb.go +656 -0
  39. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.pb.go +973 -0
  40. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc.pb.go +278 -0
  41. package/prisca/v1/core/users/users.pb.go +281 -0
  42. package/prisca/v1/core/users_role/users_role.pb.go +813 -0
  43. package/prisca/v1/core/users_role/users_role_grpc.pb.go +273 -0
  44. package/prisca/v1/core/work_location/work_location.pb.go +995 -0
  45. package/prisca/v1/core/work_location/work_location_grpc.pb.go +273 -0
  46. package/prisca/v1/core/work_locations/work_locations.pb.go +184 -0
  47. package/prisca/v1/core/work_locations/work_locations_grpc.pb.go +76 -0
  48. package/prisca/v1/core/workflow/workflow.pb.go +2057 -0
  49. package/prisca/v1/core/workflow/workflow_grpc.pb.go +273 -0
  50. package/prisca/v1/global/meta/meta.pb.go +446 -0
  51. package/prisca/v1/core/auth/auth.proto +0 -100
  52. package/prisca/v1/core/company/company.proto +0 -86
  53. package/prisca/v1/core/department_material/department_material.proto +0 -69
  54. package/prisca/v1/core/job_grade/job_grade.proto +0 -79
  55. package/prisca/v1/core/job_position/job_position.proto +0 -107
  56. package/prisca/v1/core/job_title/job_title.proto +0 -88
  57. package/prisca/v1/core/location/location.proto +0 -124
  58. package/prisca/v1/core/material/material.proto +0 -127
  59. package/prisca/v1/core/material_group/material_group.proto +0 -79
  60. package/prisca/v1/core/material_type/material_type.proto +0 -77
  61. package/prisca/v1/core/number_range/number_range.proto +0 -81
  62. package/prisca/v1/core/organization/organization.proto +0 -93
  63. package/prisca/v1/core/organization_level/organization_level.proto +0 -73
  64. package/prisca/v1/core/procurement/procurement.proto +0 -54
  65. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx.proto +0 -131
  66. package/prisca/v1/core/recipient_roles/recipient_roles.proto +0 -10
  67. package/prisca/v1/core/transaction_builder/transaction_builder.proto +0 -278
  68. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +0 -88
  69. package/prisca/v1/core/users/users.proto +0 -22
  70. package/prisca/v1/core/users_role/users_role.proto +0 -72
  71. package/prisca/v1/core/work_location/work_location.proto +0 -88
  72. package/prisca/v1/core/workflow/workflow.proto +0 -191
  73. package/prisca/v1/global/meta/meta.proto +0 -57
@@ -0,0 +1,827 @@
1
+ // Code generated by protoc-gen-go. DO NOT EDIT.
2
+ // versions:
3
+ // protoc-gen-go v1.36.1
4
+ // protoc (unknown)
5
+ // source: prisca/v1/core/material_type/material_type.proto
6
+
7
+ package material_type
8
+
9
+ import (
10
+ meta "gitlab.com/integra_sm/prisca-v2-core-service/protocgen/prisca/v1/global/meta"
11
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13
+ reflect "reflect"
14
+ sync "sync"
15
+ )
16
+
17
+ const (
18
+ // Verify that this generated code is sufficiently up-to-date.
19
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
21
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22
+ )
23
+
24
+ // Base Model
25
+ type MaterialType struct {
26
+ state protoimpl.MessageState `protogen:"open.v1"`
27
+ Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
28
+ MaterialTypeCode string `protobuf:"bytes,2,opt,name=material_type_code,json=materialTypeCode,proto3" json:"material_type_code,omitempty"`
29
+ MaterialTypeDescription string `protobuf:"bytes,3,opt,name=material_type_description,json=materialTypeDescription,proto3" json:"material_type_description,omitempty"`
30
+ InternalNumberRange string `protobuf:"bytes,4,opt,name=internal_number_range,json=internalNumberRange,proto3" json:"internal_number_range,omitempty"`
31
+ ExternalNumberRange string `protobuf:"bytes,5,opt,name=external_number_range,json=externalNumberRange,proto3" json:"external_number_range,omitempty"`
32
+ DepartmentUser []string `protobuf:"bytes,6,rep,name=department_user,json=departmentUser,proto3" json:"department_user,omitempty"`
33
+ ReferencesId string `protobuf:"bytes,7,opt,name=references_id,json=referencesId,proto3" json:"references_id,omitempty"`
34
+ CreatedAt string `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Use ISO 8601 format for date strings
35
+ UpdatedAt string `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // Optional, nullable
36
+ unknownFields protoimpl.UnknownFields
37
+ sizeCache protoimpl.SizeCache
38
+ }
39
+
40
+ func (x *MaterialType) Reset() {
41
+ *x = MaterialType{}
42
+ mi := &file_prisca_v1_core_material_type_material_type_proto_msgTypes[0]
43
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
44
+ ms.StoreMessageInfo(mi)
45
+ }
46
+
47
+ func (x *MaterialType) String() string {
48
+ return protoimpl.X.MessageStringOf(x)
49
+ }
50
+
51
+ func (*MaterialType) ProtoMessage() {}
52
+
53
+ func (x *MaterialType) ProtoReflect() protoreflect.Message {
54
+ mi := &file_prisca_v1_core_material_type_material_type_proto_msgTypes[0]
55
+ if x != nil {
56
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
57
+ if ms.LoadMessageInfo() == nil {
58
+ ms.StoreMessageInfo(mi)
59
+ }
60
+ return ms
61
+ }
62
+ return mi.MessageOf(x)
63
+ }
64
+
65
+ // Deprecated: Use MaterialType.ProtoReflect.Descriptor instead.
66
+ func (*MaterialType) Descriptor() ([]byte, []int) {
67
+ return file_prisca_v1_core_material_type_material_type_proto_rawDescGZIP(), []int{0}
68
+ }
69
+
70
+ func (x *MaterialType) GetId() int64 {
71
+ if x != nil {
72
+ return x.Id
73
+ }
74
+ return 0
75
+ }
76
+
77
+ func (x *MaterialType) GetMaterialTypeCode() string {
78
+ if x != nil {
79
+ return x.MaterialTypeCode
80
+ }
81
+ return ""
82
+ }
83
+
84
+ func (x *MaterialType) GetMaterialTypeDescription() string {
85
+ if x != nil {
86
+ return x.MaterialTypeDescription
87
+ }
88
+ return ""
89
+ }
90
+
91
+ func (x *MaterialType) GetInternalNumberRange() string {
92
+ if x != nil {
93
+ return x.InternalNumberRange
94
+ }
95
+ return ""
96
+ }
97
+
98
+ func (x *MaterialType) GetExternalNumberRange() string {
99
+ if x != nil {
100
+ return x.ExternalNumberRange
101
+ }
102
+ return ""
103
+ }
104
+
105
+ func (x *MaterialType) GetDepartmentUser() []string {
106
+ if x != nil {
107
+ return x.DepartmentUser
108
+ }
109
+ return nil
110
+ }
111
+
112
+ func (x *MaterialType) GetReferencesId() string {
113
+ if x != nil {
114
+ return x.ReferencesId
115
+ }
116
+ return ""
117
+ }
118
+
119
+ func (x *MaterialType) GetCreatedAt() string {
120
+ if x != nil {
121
+ return x.CreatedAt
122
+ }
123
+ return ""
124
+ }
125
+
126
+ func (x *MaterialType) GetUpdatedAt() string {
127
+ if x != nil {
128
+ return x.UpdatedAt
129
+ }
130
+ return ""
131
+ }
132
+
133
+ type BaseMaterial struct {
134
+ state protoimpl.MessageState `protogen:"open.v1"`
135
+ MaterialTypeCode string `protobuf:"bytes,1,opt,name=material_type_code,json=materialTypeCode,proto3" json:"material_type_code,omitempty"`
136
+ MaterialTypeDescription string `protobuf:"bytes,2,opt,name=material_type_description,json=materialTypeDescription,proto3" json:"material_type_description,omitempty"`
137
+ InternalNumberRange string `protobuf:"bytes,3,opt,name=internal_number_range,json=internalNumberRange,proto3" json:"internal_number_range,omitempty"`
138
+ ExternalNumberRange string `protobuf:"bytes,4,opt,name=external_number_range,json=externalNumberRange,proto3" json:"external_number_range,omitempty"`
139
+ DepartmentUser []string `protobuf:"bytes,5,rep,name=department_user,json=departmentUser,proto3" json:"department_user,omitempty"`
140
+ unknownFields protoimpl.UnknownFields
141
+ sizeCache protoimpl.SizeCache
142
+ }
143
+
144
+ func (x *BaseMaterial) Reset() {
145
+ *x = BaseMaterial{}
146
+ mi := &file_prisca_v1_core_material_type_material_type_proto_msgTypes[1]
147
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
148
+ ms.StoreMessageInfo(mi)
149
+ }
150
+
151
+ func (x *BaseMaterial) String() string {
152
+ return protoimpl.X.MessageStringOf(x)
153
+ }
154
+
155
+ func (*BaseMaterial) ProtoMessage() {}
156
+
157
+ func (x *BaseMaterial) ProtoReflect() protoreflect.Message {
158
+ mi := &file_prisca_v1_core_material_type_material_type_proto_msgTypes[1]
159
+ if x != nil {
160
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
161
+ if ms.LoadMessageInfo() == nil {
162
+ ms.StoreMessageInfo(mi)
163
+ }
164
+ return ms
165
+ }
166
+ return mi.MessageOf(x)
167
+ }
168
+
169
+ // Deprecated: Use BaseMaterial.ProtoReflect.Descriptor instead.
170
+ func (*BaseMaterial) Descriptor() ([]byte, []int) {
171
+ return file_prisca_v1_core_material_type_material_type_proto_rawDescGZIP(), []int{1}
172
+ }
173
+
174
+ func (x *BaseMaterial) GetMaterialTypeCode() string {
175
+ if x != nil {
176
+ return x.MaterialTypeCode
177
+ }
178
+ return ""
179
+ }
180
+
181
+ func (x *BaseMaterial) GetMaterialTypeDescription() string {
182
+ if x != nil {
183
+ return x.MaterialTypeDescription
184
+ }
185
+ return ""
186
+ }
187
+
188
+ func (x *BaseMaterial) GetInternalNumberRange() string {
189
+ if x != nil {
190
+ return x.InternalNumberRange
191
+ }
192
+ return ""
193
+ }
194
+
195
+ func (x *BaseMaterial) GetExternalNumberRange() string {
196
+ if x != nil {
197
+ return x.ExternalNumberRange
198
+ }
199
+ return ""
200
+ }
201
+
202
+ func (x *BaseMaterial) GetDepartmentUser() []string {
203
+ if x != nil {
204
+ return x.DepartmentUser
205
+ }
206
+ return nil
207
+ }
208
+
209
+ // Request Messages
210
+ type MaterialTypeRequest struct {
211
+ state protoimpl.MessageState `protogen:"open.v1"`
212
+ MaterialType *BaseMaterial `protobuf:"bytes,1,opt,name=material_type,json=materialType,proto3" json:"material_type,omitempty"`
213
+ unknownFields protoimpl.UnknownFields
214
+ sizeCache protoimpl.SizeCache
215
+ }
216
+
217
+ func (x *MaterialTypeRequest) Reset() {
218
+ *x = MaterialTypeRequest{}
219
+ mi := &file_prisca_v1_core_material_type_material_type_proto_msgTypes[2]
220
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
221
+ ms.StoreMessageInfo(mi)
222
+ }
223
+
224
+ func (x *MaterialTypeRequest) String() string {
225
+ return protoimpl.X.MessageStringOf(x)
226
+ }
227
+
228
+ func (*MaterialTypeRequest) ProtoMessage() {}
229
+
230
+ func (x *MaterialTypeRequest) ProtoReflect() protoreflect.Message {
231
+ mi := &file_prisca_v1_core_material_type_material_type_proto_msgTypes[2]
232
+ if x != nil {
233
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
234
+ if ms.LoadMessageInfo() == nil {
235
+ ms.StoreMessageInfo(mi)
236
+ }
237
+ return ms
238
+ }
239
+ return mi.MessageOf(x)
240
+ }
241
+
242
+ // Deprecated: Use MaterialTypeRequest.ProtoReflect.Descriptor instead.
243
+ func (*MaterialTypeRequest) Descriptor() ([]byte, []int) {
244
+ return file_prisca_v1_core_material_type_material_type_proto_rawDescGZIP(), []int{2}
245
+ }
246
+
247
+ func (x *MaterialTypeRequest) GetMaterialType() *BaseMaterial {
248
+ if x != nil {
249
+ return x.MaterialType
250
+ }
251
+ return nil
252
+ }
253
+
254
+ type MaterialTypeListRequest struct {
255
+ state protoimpl.MessageState `protogen:"open.v1"`
256
+ Pagination *meta.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
257
+ Query *meta.FilterRequest `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
258
+ unknownFields protoimpl.UnknownFields
259
+ sizeCache protoimpl.SizeCache
260
+ }
261
+
262
+ func (x *MaterialTypeListRequest) Reset() {
263
+ *x = MaterialTypeListRequest{}
264
+ mi := &file_prisca_v1_core_material_type_material_type_proto_msgTypes[3]
265
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
266
+ ms.StoreMessageInfo(mi)
267
+ }
268
+
269
+ func (x *MaterialTypeListRequest) String() string {
270
+ return protoimpl.X.MessageStringOf(x)
271
+ }
272
+
273
+ func (*MaterialTypeListRequest) ProtoMessage() {}
274
+
275
+ func (x *MaterialTypeListRequest) ProtoReflect() protoreflect.Message {
276
+ mi := &file_prisca_v1_core_material_type_material_type_proto_msgTypes[3]
277
+ if x != nil {
278
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
279
+ if ms.LoadMessageInfo() == nil {
280
+ ms.StoreMessageInfo(mi)
281
+ }
282
+ return ms
283
+ }
284
+ return mi.MessageOf(x)
285
+ }
286
+
287
+ // Deprecated: Use MaterialTypeListRequest.ProtoReflect.Descriptor instead.
288
+ func (*MaterialTypeListRequest) Descriptor() ([]byte, []int) {
289
+ return file_prisca_v1_core_material_type_material_type_proto_rawDescGZIP(), []int{3}
290
+ }
291
+
292
+ func (x *MaterialTypeListRequest) GetPagination() *meta.PaginationRequest {
293
+ if x != nil {
294
+ return x.Pagination
295
+ }
296
+ return nil
297
+ }
298
+
299
+ func (x *MaterialTypeListRequest) GetQuery() *meta.FilterRequest {
300
+ if x != nil {
301
+ return x.Query
302
+ }
303
+ return nil
304
+ }
305
+
306
+ type MaterialTypeGetByIdRequest struct {
307
+ state protoimpl.MessageState `protogen:"open.v1"`
308
+ ReferencesId string `protobuf:"bytes,1,opt,name=references_id,json=referencesId,proto3" json:"references_id,omitempty"`
309
+ unknownFields protoimpl.UnknownFields
310
+ sizeCache protoimpl.SizeCache
311
+ }
312
+
313
+ func (x *MaterialTypeGetByIdRequest) Reset() {
314
+ *x = MaterialTypeGetByIdRequest{}
315
+ mi := &file_prisca_v1_core_material_type_material_type_proto_msgTypes[4]
316
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
317
+ ms.StoreMessageInfo(mi)
318
+ }
319
+
320
+ func (x *MaterialTypeGetByIdRequest) String() string {
321
+ return protoimpl.X.MessageStringOf(x)
322
+ }
323
+
324
+ func (*MaterialTypeGetByIdRequest) ProtoMessage() {}
325
+
326
+ func (x *MaterialTypeGetByIdRequest) ProtoReflect() protoreflect.Message {
327
+ mi := &file_prisca_v1_core_material_type_material_type_proto_msgTypes[4]
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 MaterialTypeGetByIdRequest.ProtoReflect.Descriptor instead.
339
+ func (*MaterialTypeGetByIdRequest) Descriptor() ([]byte, []int) {
340
+ return file_prisca_v1_core_material_type_material_type_proto_rawDescGZIP(), []int{4}
341
+ }
342
+
343
+ func (x *MaterialTypeGetByIdRequest) GetReferencesId() string {
344
+ if x != nil {
345
+ return x.ReferencesId
346
+ }
347
+ return ""
348
+ }
349
+
350
+ type MaterialTypeUpdateRequest struct {
351
+ state protoimpl.MessageState `protogen:"open.v1"`
352
+ ReferencesId string `protobuf:"bytes,1,opt,name=references_id,json=referencesId,proto3" json:"references_id,omitempty"`
353
+ MaterialType *BaseMaterial `protobuf:"bytes,2,opt,name=material_type,json=materialType,proto3" json:"material_type,omitempty"`
354
+ unknownFields protoimpl.UnknownFields
355
+ sizeCache protoimpl.SizeCache
356
+ }
357
+
358
+ func (x *MaterialTypeUpdateRequest) Reset() {
359
+ *x = MaterialTypeUpdateRequest{}
360
+ mi := &file_prisca_v1_core_material_type_material_type_proto_msgTypes[5]
361
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
362
+ ms.StoreMessageInfo(mi)
363
+ }
364
+
365
+ func (x *MaterialTypeUpdateRequest) String() string {
366
+ return protoimpl.X.MessageStringOf(x)
367
+ }
368
+
369
+ func (*MaterialTypeUpdateRequest) ProtoMessage() {}
370
+
371
+ func (x *MaterialTypeUpdateRequest) ProtoReflect() protoreflect.Message {
372
+ mi := &file_prisca_v1_core_material_type_material_type_proto_msgTypes[5]
373
+ if x != nil {
374
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
375
+ if ms.LoadMessageInfo() == nil {
376
+ ms.StoreMessageInfo(mi)
377
+ }
378
+ return ms
379
+ }
380
+ return mi.MessageOf(x)
381
+ }
382
+
383
+ // Deprecated: Use MaterialTypeUpdateRequest.ProtoReflect.Descriptor instead.
384
+ func (*MaterialTypeUpdateRequest) Descriptor() ([]byte, []int) {
385
+ return file_prisca_v1_core_material_type_material_type_proto_rawDescGZIP(), []int{5}
386
+ }
387
+
388
+ func (x *MaterialTypeUpdateRequest) GetReferencesId() string {
389
+ if x != nil {
390
+ return x.ReferencesId
391
+ }
392
+ return ""
393
+ }
394
+
395
+ func (x *MaterialTypeUpdateRequest) GetMaterialType() *BaseMaterial {
396
+ if x != nil {
397
+ return x.MaterialType
398
+ }
399
+ return nil
400
+ }
401
+
402
+ // Response Messages
403
+ type MaterialTypeResponse struct {
404
+ state protoimpl.MessageState `protogen:"open.v1"`
405
+ MaterialType *MaterialType `protobuf:"bytes,1,opt,name=material_type,json=materialType,proto3" json:"material_type,omitempty"`
406
+ Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
407
+ unknownFields protoimpl.UnknownFields
408
+ sizeCache protoimpl.SizeCache
409
+ }
410
+
411
+ func (x *MaterialTypeResponse) Reset() {
412
+ *x = MaterialTypeResponse{}
413
+ mi := &file_prisca_v1_core_material_type_material_type_proto_msgTypes[6]
414
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
415
+ ms.StoreMessageInfo(mi)
416
+ }
417
+
418
+ func (x *MaterialTypeResponse) String() string {
419
+ return protoimpl.X.MessageStringOf(x)
420
+ }
421
+
422
+ func (*MaterialTypeResponse) ProtoMessage() {}
423
+
424
+ func (x *MaterialTypeResponse) ProtoReflect() protoreflect.Message {
425
+ mi := &file_prisca_v1_core_material_type_material_type_proto_msgTypes[6]
426
+ if x != nil {
427
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
428
+ if ms.LoadMessageInfo() == nil {
429
+ ms.StoreMessageInfo(mi)
430
+ }
431
+ return ms
432
+ }
433
+ return mi.MessageOf(x)
434
+ }
435
+
436
+ // Deprecated: Use MaterialTypeResponse.ProtoReflect.Descriptor instead.
437
+ func (*MaterialTypeResponse) Descriptor() ([]byte, []int) {
438
+ return file_prisca_v1_core_material_type_material_type_proto_rawDescGZIP(), []int{6}
439
+ }
440
+
441
+ func (x *MaterialTypeResponse) GetMaterialType() *MaterialType {
442
+ if x != nil {
443
+ return x.MaterialType
444
+ }
445
+ return nil
446
+ }
447
+
448
+ func (x *MaterialTypeResponse) GetMeta() *meta.Meta {
449
+ if x != nil {
450
+ return x.Meta
451
+ }
452
+ return nil
453
+ }
454
+
455
+ type MaterialTypeListResponse struct {
456
+ state protoimpl.MessageState `protogen:"open.v1"`
457
+ MaterialType []*MaterialType `protobuf:"bytes,1,rep,name=material_type,json=materialType,proto3" json:"material_type,omitempty"`
458
+ Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
459
+ unknownFields protoimpl.UnknownFields
460
+ sizeCache protoimpl.SizeCache
461
+ }
462
+
463
+ func (x *MaterialTypeListResponse) Reset() {
464
+ *x = MaterialTypeListResponse{}
465
+ mi := &file_prisca_v1_core_material_type_material_type_proto_msgTypes[7]
466
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
467
+ ms.StoreMessageInfo(mi)
468
+ }
469
+
470
+ func (x *MaterialTypeListResponse) String() string {
471
+ return protoimpl.X.MessageStringOf(x)
472
+ }
473
+
474
+ func (*MaterialTypeListResponse) ProtoMessage() {}
475
+
476
+ func (x *MaterialTypeListResponse) ProtoReflect() protoreflect.Message {
477
+ mi := &file_prisca_v1_core_material_type_material_type_proto_msgTypes[7]
478
+ if x != nil {
479
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
480
+ if ms.LoadMessageInfo() == nil {
481
+ ms.StoreMessageInfo(mi)
482
+ }
483
+ return ms
484
+ }
485
+ return mi.MessageOf(x)
486
+ }
487
+
488
+ // Deprecated: Use MaterialTypeListResponse.ProtoReflect.Descriptor instead.
489
+ func (*MaterialTypeListResponse) Descriptor() ([]byte, []int) {
490
+ return file_prisca_v1_core_material_type_material_type_proto_rawDescGZIP(), []int{7}
491
+ }
492
+
493
+ func (x *MaterialTypeListResponse) GetMaterialType() []*MaterialType {
494
+ if x != nil {
495
+ return x.MaterialType
496
+ }
497
+ return nil
498
+ }
499
+
500
+ func (x *MaterialTypeListResponse) GetMeta() *meta.Meta {
501
+ if x != nil {
502
+ return x.Meta
503
+ }
504
+ return nil
505
+ }
506
+
507
+ type MaterialTypeGetByIdResponse struct {
508
+ state protoimpl.MessageState `protogen:"open.v1"`
509
+ MaterialType *MaterialType `protobuf:"bytes,1,opt,name=material_type,json=materialType,proto3" json:"material_type,omitempty"`
510
+ Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
511
+ unknownFields protoimpl.UnknownFields
512
+ sizeCache protoimpl.SizeCache
513
+ }
514
+
515
+ func (x *MaterialTypeGetByIdResponse) Reset() {
516
+ *x = MaterialTypeGetByIdResponse{}
517
+ mi := &file_prisca_v1_core_material_type_material_type_proto_msgTypes[8]
518
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
519
+ ms.StoreMessageInfo(mi)
520
+ }
521
+
522
+ func (x *MaterialTypeGetByIdResponse) String() string {
523
+ return protoimpl.X.MessageStringOf(x)
524
+ }
525
+
526
+ func (*MaterialTypeGetByIdResponse) ProtoMessage() {}
527
+
528
+ func (x *MaterialTypeGetByIdResponse) ProtoReflect() protoreflect.Message {
529
+ mi := &file_prisca_v1_core_material_type_material_type_proto_msgTypes[8]
530
+ if x != nil {
531
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
532
+ if ms.LoadMessageInfo() == nil {
533
+ ms.StoreMessageInfo(mi)
534
+ }
535
+ return ms
536
+ }
537
+ return mi.MessageOf(x)
538
+ }
539
+
540
+ // Deprecated: Use MaterialTypeGetByIdResponse.ProtoReflect.Descriptor instead.
541
+ func (*MaterialTypeGetByIdResponse) Descriptor() ([]byte, []int) {
542
+ return file_prisca_v1_core_material_type_material_type_proto_rawDescGZIP(), []int{8}
543
+ }
544
+
545
+ func (x *MaterialTypeGetByIdResponse) GetMaterialType() *MaterialType {
546
+ if x != nil {
547
+ return x.MaterialType
548
+ }
549
+ return nil
550
+ }
551
+
552
+ func (x *MaterialTypeGetByIdResponse) GetMeta() *meta.Meta {
553
+ if x != nil {
554
+ return x.Meta
555
+ }
556
+ return nil
557
+ }
558
+
559
+ type MaterialTypeUpdateResponse struct {
560
+ state protoimpl.MessageState `protogen:"open.v1"`
561
+ MaterialType *MaterialType `protobuf:"bytes,1,opt,name=material_type,json=materialType,proto3" json:"material_type,omitempty"`
562
+ Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
563
+ unknownFields protoimpl.UnknownFields
564
+ sizeCache protoimpl.SizeCache
565
+ }
566
+
567
+ func (x *MaterialTypeUpdateResponse) Reset() {
568
+ *x = MaterialTypeUpdateResponse{}
569
+ mi := &file_prisca_v1_core_material_type_material_type_proto_msgTypes[9]
570
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
571
+ ms.StoreMessageInfo(mi)
572
+ }
573
+
574
+ func (x *MaterialTypeUpdateResponse) String() string {
575
+ return protoimpl.X.MessageStringOf(x)
576
+ }
577
+
578
+ func (*MaterialTypeUpdateResponse) ProtoMessage() {}
579
+
580
+ func (x *MaterialTypeUpdateResponse) ProtoReflect() protoreflect.Message {
581
+ mi := &file_prisca_v1_core_material_type_material_type_proto_msgTypes[9]
582
+ if x != nil {
583
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
584
+ if ms.LoadMessageInfo() == nil {
585
+ ms.StoreMessageInfo(mi)
586
+ }
587
+ return ms
588
+ }
589
+ return mi.MessageOf(x)
590
+ }
591
+
592
+ // Deprecated: Use MaterialTypeUpdateResponse.ProtoReflect.Descriptor instead.
593
+ func (*MaterialTypeUpdateResponse) Descriptor() ([]byte, []int) {
594
+ return file_prisca_v1_core_material_type_material_type_proto_rawDescGZIP(), []int{9}
595
+ }
596
+
597
+ func (x *MaterialTypeUpdateResponse) GetMaterialType() *MaterialType {
598
+ if x != nil {
599
+ return x.MaterialType
600
+ }
601
+ return nil
602
+ }
603
+
604
+ func (x *MaterialTypeUpdateResponse) GetMeta() *meta.Meta {
605
+ if x != nil {
606
+ return x.Meta
607
+ }
608
+ return nil
609
+ }
610
+
611
+ var File_prisca_v1_core_material_type_material_type_proto protoreflect.FileDescriptor
612
+
613
+ var file_prisca_v1_core_material_type_material_type_proto_rawDesc = []byte{
614
+ 0x0a, 0x30, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x72, 0x65,
615
+ 0x2f, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d,
616
+ 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f,
617
+ 0x74, 0x6f, 0x1a, 0x20, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x6c,
618
+ 0x6f, 0x62, 0x61, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70,
619
+ 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfc, 0x02, 0x0a, 0x0c, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,
620
+ 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
621
+ 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,
622
+ 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
623
+ 0x09, 0x52, 0x10, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x43,
624
+ 0x6f, 0x64, 0x65, 0x12, 0x3a, 0x0a, 0x19, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f,
625
+ 0x74, 0x79, 0x70, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
626
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c,
627
+ 0x54, 0x79, 0x70, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12,
628
+ 0x32, 0x0a, 0x15, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62,
629
+ 0x65, 0x72, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13,
630
+ 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61,
631
+ 0x6e, 0x67, 0x65, 0x12, 0x32, 0x0a, 0x15, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f,
632
+ 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01,
633
+ 0x28, 0x09, 0x52, 0x13, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62,
634
+ 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x65, 0x70, 0x61, 0x72,
635
+ 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09,
636
+ 0x52, 0x0e, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72,
637
+ 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x69,
638
+ 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e,
639
+ 0x63, 0x65, 0x73, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
640
+ 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74,
641
+ 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f,
642
+ 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
643
+ 0x64, 0x41, 0x74, 0x22, 0x89, 0x02, 0x0a, 0x0c, 0x42, 0x61, 0x73, 0x65, 0x4d, 0x61, 0x74, 0x65,
644
+ 0x72, 0x69, 0x61, 0x6c, 0x12, 0x2c, 0x0a, 0x12, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c,
645
+ 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
646
+ 0x52, 0x10, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x43, 0x6f,
647
+ 0x64, 0x65, 0x12, 0x3a, 0x0a, 0x19, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x74,
648
+ 0x79, 0x70, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18,
649
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54,
650
+ 0x79, 0x70, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32,
651
+ 0x0a, 0x15, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65,
652
+ 0x72, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x69,
653
+ 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e,
654
+ 0x67, 0x65, 0x12, 0x32, 0x0a, 0x15, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x6e,
655
+ 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
656
+ 0x09, 0x52, 0x13, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65,
657
+ 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74,
658
+ 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52,
659
+ 0x0e, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x22,
660
+ 0x49, 0x0a, 0x13, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52,
661
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69,
662
+ 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e,
663
+ 0x42, 0x61, 0x73, 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x0c, 0x6d, 0x61,
664
+ 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x22, 0x9f, 0x01, 0x0a, 0x17, 0x4d,
665
+ 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52,
666
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61,
667
+ 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72, 0x69,
668
+ 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65,
669
+ 0x74, 0x61, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
670
+ 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
671
+ 0x12, 0x3a, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
672
+ 0x24, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62,
673
+ 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65,
674
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x41, 0x0a, 0x1a,
675
+ 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x47, 0x65, 0x74, 0x42,
676
+ 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65,
677
+ 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
678
+ 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49, 0x64, 0x22,
679
+ 0x74, 0x0a, 0x19, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x55,
680
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d,
681
+ 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
682
+ 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49,
683
+ 0x64, 0x12, 0x32, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x74, 0x79,
684
+ 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x4d,
685
+ 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x0c, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,
686
+ 0x6c, 0x54, 0x79, 0x70, 0x65, 0x22, 0x7b, 0x0a, 0x14, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,
687
+ 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a,
688
+ 0x0d, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,
689
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54,
690
+ 0x79, 0x70, 0x65, 0x52, 0x0c, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70,
691
+ 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
692
+ 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62,
693
+ 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65,
694
+ 0x74, 0x61, 0x22, 0x7f, 0x0a, 0x18, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79,
695
+ 0x70, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32,
696
+ 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
697
+ 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c,
698
+ 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79,
699
+ 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
700
+ 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f,
701
+ 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d,
702
+ 0x65, 0x74, 0x61, 0x22, 0x82, 0x01, 0x0a, 0x1b, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c,
703
+ 0x54, 0x79, 0x70, 0x65, 0x47, 0x65, 0x74, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f,
704
+ 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f,
705
+ 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x4d, 0x61, 0x74,
706
+ 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x6d, 0x61, 0x74, 0x65, 0x72,
707
+ 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18,
708
+ 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76,
709
+ 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65,
710
+ 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x22, 0x81, 0x01, 0x0a, 0x1a, 0x4d, 0x61, 0x74,
711
+ 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52,
712
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x65, 0x72,
713
+ 0x69, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d,
714
+ 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x6d,
715
+ 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x6d,
716
+ 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x73,
717
+ 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74,
718
+ 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x32, 0xc5, 0x02, 0x0a,
719
+ 0x13, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x53, 0x65, 0x72,
720
+ 0x76, 0x69, 0x63, 0x65, 0x12, 0x41, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x61,
721
+ 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x2e, 0x4d, 0x61, 0x74,
722
+ 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
723
+ 0x1a, 0x15, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52,
724
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4d, 0x61,
725
+ 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18,
726
+ 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x4c, 0x69, 0x73,
727
+ 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72,
728
+ 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
729
+ 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69,
730
+ 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, 0x1b, 0x2e, 0x4d, 0x61, 0x74,
731
+ 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x47, 0x65, 0x74, 0x42, 0x79, 0x49, 0x64,
732
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69,
733
+ 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x47, 0x65, 0x74, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73,
734
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d,
735
+ 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x2e, 0x4d, 0x61,
736
+ 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
737
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69,
738
+ 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70,
739
+ 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x55, 0x5a, 0x53, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63,
740
+ 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x5f, 0x73, 0x6d, 0x2f, 0x70, 0x72,
741
+ 0x69, 0x73, 0x63, 0x61, 0x2d, 0x76, 0x32, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2d, 0x73, 0x65, 0x72,
742
+ 0x76, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x67, 0x65, 0x6e, 0x2f, 0x70,
743
+ 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x6d, 0x61,
744
+ 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f,
745
+ 0x74, 0x6f, 0x33,
746
+ }
747
+
748
+ var (
749
+ file_prisca_v1_core_material_type_material_type_proto_rawDescOnce sync.Once
750
+ file_prisca_v1_core_material_type_material_type_proto_rawDescData = file_prisca_v1_core_material_type_material_type_proto_rawDesc
751
+ )
752
+
753
+ func file_prisca_v1_core_material_type_material_type_proto_rawDescGZIP() []byte {
754
+ file_prisca_v1_core_material_type_material_type_proto_rawDescOnce.Do(func() {
755
+ file_prisca_v1_core_material_type_material_type_proto_rawDescData = protoimpl.X.CompressGZIP(file_prisca_v1_core_material_type_material_type_proto_rawDescData)
756
+ })
757
+ return file_prisca_v1_core_material_type_material_type_proto_rawDescData
758
+ }
759
+
760
+ var file_prisca_v1_core_material_type_material_type_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
761
+ var file_prisca_v1_core_material_type_material_type_proto_goTypes = []any{
762
+ (*MaterialType)(nil), // 0: MaterialType
763
+ (*BaseMaterial)(nil), // 1: BaseMaterial
764
+ (*MaterialTypeRequest)(nil), // 2: MaterialTypeRequest
765
+ (*MaterialTypeListRequest)(nil), // 3: MaterialTypeListRequest
766
+ (*MaterialTypeGetByIdRequest)(nil), // 4: MaterialTypeGetByIdRequest
767
+ (*MaterialTypeUpdateRequest)(nil), // 5: MaterialTypeUpdateRequest
768
+ (*MaterialTypeResponse)(nil), // 6: MaterialTypeResponse
769
+ (*MaterialTypeListResponse)(nil), // 7: MaterialTypeListResponse
770
+ (*MaterialTypeGetByIdResponse)(nil), // 8: MaterialTypeGetByIdResponse
771
+ (*MaterialTypeUpdateResponse)(nil), // 9: MaterialTypeUpdateResponse
772
+ (*meta.PaginationRequest)(nil), // 10: prisca.v1.global.meta.PaginationRequest
773
+ (*meta.FilterRequest)(nil), // 11: prisca.v1.global.meta.FilterRequest
774
+ (*meta.Meta)(nil), // 12: prisca.v1.global.meta.Meta
775
+ }
776
+ var file_prisca_v1_core_material_type_material_type_proto_depIdxs = []int32{
777
+ 1, // 0: MaterialTypeRequest.material_type:type_name -> BaseMaterial
778
+ 10, // 1: MaterialTypeListRequest.pagination:type_name -> prisca.v1.global.meta.PaginationRequest
779
+ 11, // 2: MaterialTypeListRequest.query:type_name -> prisca.v1.global.meta.FilterRequest
780
+ 1, // 3: MaterialTypeUpdateRequest.material_type:type_name -> BaseMaterial
781
+ 0, // 4: MaterialTypeResponse.material_type:type_name -> MaterialType
782
+ 12, // 5: MaterialTypeResponse.meta:type_name -> prisca.v1.global.meta.Meta
783
+ 0, // 6: MaterialTypeListResponse.material_type:type_name -> MaterialType
784
+ 12, // 7: MaterialTypeListResponse.meta:type_name -> prisca.v1.global.meta.Meta
785
+ 0, // 8: MaterialTypeGetByIdResponse.material_type:type_name -> MaterialType
786
+ 12, // 9: MaterialTypeGetByIdResponse.meta:type_name -> prisca.v1.global.meta.Meta
787
+ 0, // 10: MaterialTypeUpdateResponse.material_type:type_name -> MaterialType
788
+ 12, // 11: MaterialTypeUpdateResponse.meta:type_name -> prisca.v1.global.meta.Meta
789
+ 2, // 12: MaterialTypeService.CreateMaterialType:input_type -> MaterialTypeRequest
790
+ 3, // 13: MaterialTypeService.GetMaterialTypeList:input_type -> MaterialTypeListRequest
791
+ 4, // 14: MaterialTypeService.GetMaterialTypeById:input_type -> MaterialTypeGetByIdRequest
792
+ 5, // 15: MaterialTypeService.UpdateMaterialType:input_type -> MaterialTypeUpdateRequest
793
+ 6, // 16: MaterialTypeService.CreateMaterialType:output_type -> MaterialTypeResponse
794
+ 7, // 17: MaterialTypeService.GetMaterialTypeList:output_type -> MaterialTypeListResponse
795
+ 8, // 18: MaterialTypeService.GetMaterialTypeById:output_type -> MaterialTypeGetByIdResponse
796
+ 9, // 19: MaterialTypeService.UpdateMaterialType:output_type -> MaterialTypeUpdateResponse
797
+ 16, // [16:20] is the sub-list for method output_type
798
+ 12, // [12:16] is the sub-list for method input_type
799
+ 12, // [12:12] is the sub-list for extension type_name
800
+ 12, // [12:12] is the sub-list for extension extendee
801
+ 0, // [0:12] is the sub-list for field type_name
802
+ }
803
+
804
+ func init() { file_prisca_v1_core_material_type_material_type_proto_init() }
805
+ func file_prisca_v1_core_material_type_material_type_proto_init() {
806
+ if File_prisca_v1_core_material_type_material_type_proto != nil {
807
+ return
808
+ }
809
+ type x struct{}
810
+ out := protoimpl.TypeBuilder{
811
+ File: protoimpl.DescBuilder{
812
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
813
+ RawDescriptor: file_prisca_v1_core_material_type_material_type_proto_rawDesc,
814
+ NumEnums: 0,
815
+ NumMessages: 10,
816
+ NumExtensions: 0,
817
+ NumServices: 1,
818
+ },
819
+ GoTypes: file_prisca_v1_core_material_type_material_type_proto_goTypes,
820
+ DependencyIndexes: file_prisca_v1_core_material_type_material_type_proto_depIdxs,
821
+ MessageInfos: file_prisca_v1_core_material_type_material_type_proto_msgTypes,
822
+ }.Build()
823
+ File_prisca_v1_core_material_type_material_type_proto = out.File
824
+ file_prisca_v1_core_material_type_material_type_proto_rawDesc = nil
825
+ file_prisca_v1_core_material_type_material_type_proto_goTypes = nil
826
+ file_prisca_v1_core_material_type_material_type_proto_depIdxs = nil
827
+ }