@aldiokta/protocgen 1.0.18 → 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 (96) 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_grpc_pb.js +0 -256
  52. package/prisca/v1/core/auth/auth_pb.js +0 -2801
  53. package/prisca/v1/core/company/company_grpc_pb.js +0 -177
  54. package/prisca/v1/core/company/company_pb.js +0 -2845
  55. package/prisca/v1/core/department_material/department_material_grpc_pb.js +0 -144
  56. package/prisca/v1/core/department_material/department_material_pb.js +0 -2167
  57. package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +0 -178
  58. package/prisca/v1/core/job_grade/job_grade_pb.js +0 -2605
  59. package/prisca/v1/core/job_position/job_position_grpc_pb.js +0 -181
  60. package/prisca/v1/core/job_position/job_position_pb.js +0 -3582
  61. package/prisca/v1/core/job_title/job_title_grpc_pb.js +0 -178
  62. package/prisca/v1/core/job_title/job_title_pb.js +0 -2928
  63. package/prisca/v1/core/location/location_grpc_pb.js +0 -276
  64. package/prisca/v1/core/location/location_pb.js +0 -4334
  65. package/prisca/v1/core/material/material_grpc_pb.js +0 -181
  66. package/prisca/v1/core/material/material_pb.js +0 -4046
  67. package/prisca/v1/core/material_group/material_group_grpc_pb.js +0 -177
  68. package/prisca/v1/core/material_group/material_group_pb.js +0 -2582
  69. package/prisca/v1/core/material_type/material_type_grpc_pb.js +0 -147
  70. package/prisca/v1/core/material_type/material_type_pb.js +0 -2399
  71. package/prisca/v1/core/number_range/number_range_grpc_pb.js +0 -177
  72. package/prisca/v1/core/number_range/number_range_pb.js +0 -2672
  73. package/prisca/v1/core/organization/organization_grpc_pb.js +0 -180
  74. package/prisca/v1/core/organization/organization_pb.js +0 -3002
  75. package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +0 -177
  76. package/prisca/v1/core/organization_level/organization_level_pb.js +0 -2432
  77. package/prisca/v1/core/procurement/procurement_grpc_pb.js +0 -146
  78. package/prisca/v1/core/procurement/procurement_pb.js +0 -1681
  79. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -266
  80. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -4429
  81. package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +0 -1
  82. package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +0 -206
  83. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +0 -421
  84. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +0 -9597
  85. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +0 -180
  86. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +0 -2798
  87. package/prisca/v1/core/users/users_grpc_pb.js +0 -1
  88. package/prisca/v1/core/users/users_pb.js +0 -626
  89. package/prisca/v1/core/users_role/users_role_grpc_pb.js +0 -177
  90. package/prisca/v1/core/users_role/users_role_pb.js +0 -2372
  91. package/prisca/v1/core/work_location/work_location_grpc_pb.js +0 -177
  92. package/prisca/v1/core/work_location/work_location_pb.js +0 -2850
  93. package/prisca/v1/core/workflow/workflow_grpc_pb.js +0 -179
  94. package/prisca/v1/core/workflow/workflow_pb.js +0 -6318
  95. package/prisca/v1/global/meta/meta_grpc_pb.js +0 -1
  96. package/prisca/v1/global/meta/meta_pb.js +0 -1179
@@ -0,0 +1,965 @@
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/company/company.proto
6
+
7
+ package company
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
+ type Company struct {
25
+ state protoimpl.MessageState `protogen:"open.v1"`
26
+ Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
27
+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
28
+ CurrencyCode string `protobuf:"bytes,3,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"`
29
+ Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
30
+ ParentReferencesId string `protobuf:"bytes,5,opt,name=parent_references_id,json=parentReferencesId,proto3" json:"parent_references_id,omitempty"`
31
+ unknownFields protoimpl.UnknownFields
32
+ sizeCache protoimpl.SizeCache
33
+ }
34
+
35
+ func (x *Company) Reset() {
36
+ *x = Company{}
37
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[0]
38
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
39
+ ms.StoreMessageInfo(mi)
40
+ }
41
+
42
+ func (x *Company) String() string {
43
+ return protoimpl.X.MessageStringOf(x)
44
+ }
45
+
46
+ func (*Company) ProtoMessage() {}
47
+
48
+ func (x *Company) ProtoReflect() protoreflect.Message {
49
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[0]
50
+ if x != nil {
51
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
52
+ if ms.LoadMessageInfo() == nil {
53
+ ms.StoreMessageInfo(mi)
54
+ }
55
+ return ms
56
+ }
57
+ return mi.MessageOf(x)
58
+ }
59
+
60
+ // Deprecated: Use Company.ProtoReflect.Descriptor instead.
61
+ func (*Company) Descriptor() ([]byte, []int) {
62
+ return file_prisca_v1_core_company_company_proto_rawDescGZIP(), []int{0}
63
+ }
64
+
65
+ func (x *Company) GetCode() string {
66
+ if x != nil {
67
+ return x.Code
68
+ }
69
+ return ""
70
+ }
71
+
72
+ func (x *Company) GetName() string {
73
+ if x != nil {
74
+ return x.Name
75
+ }
76
+ return ""
77
+ }
78
+
79
+ func (x *Company) GetCurrencyCode() string {
80
+ if x != nil {
81
+ return x.CurrencyCode
82
+ }
83
+ return ""
84
+ }
85
+
86
+ func (x *Company) GetDescription() string {
87
+ if x != nil {
88
+ return x.Description
89
+ }
90
+ return ""
91
+ }
92
+
93
+ func (x *Company) GetParentReferencesId() string {
94
+ if x != nil {
95
+ return x.ParentReferencesId
96
+ }
97
+ return ""
98
+ }
99
+
100
+ type BaseCompanyParent struct {
101
+ state protoimpl.MessageState `protogen:"open.v1"`
102
+ Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
103
+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
104
+ ReferencesId string `protobuf:"bytes,3,opt,name=references_id,json=referencesId,proto3" json:"references_id,omitempty"`
105
+ unknownFields protoimpl.UnknownFields
106
+ sizeCache protoimpl.SizeCache
107
+ }
108
+
109
+ func (x *BaseCompanyParent) Reset() {
110
+ *x = BaseCompanyParent{}
111
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[1]
112
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
113
+ ms.StoreMessageInfo(mi)
114
+ }
115
+
116
+ func (x *BaseCompanyParent) String() string {
117
+ return protoimpl.X.MessageStringOf(x)
118
+ }
119
+
120
+ func (*BaseCompanyParent) ProtoMessage() {}
121
+
122
+ func (x *BaseCompanyParent) ProtoReflect() protoreflect.Message {
123
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[1]
124
+ if x != nil {
125
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
126
+ if ms.LoadMessageInfo() == nil {
127
+ ms.StoreMessageInfo(mi)
128
+ }
129
+ return ms
130
+ }
131
+ return mi.MessageOf(x)
132
+ }
133
+
134
+ // Deprecated: Use BaseCompanyParent.ProtoReflect.Descriptor instead.
135
+ func (*BaseCompanyParent) Descriptor() ([]byte, []int) {
136
+ return file_prisca_v1_core_company_company_proto_rawDescGZIP(), []int{1}
137
+ }
138
+
139
+ func (x *BaseCompanyParent) GetCode() string {
140
+ if x != nil {
141
+ return x.Code
142
+ }
143
+ return ""
144
+ }
145
+
146
+ func (x *BaseCompanyParent) GetName() string {
147
+ if x != nil {
148
+ return x.Name
149
+ }
150
+ return ""
151
+ }
152
+
153
+ func (x *BaseCompanyParent) GetReferencesId() string {
154
+ if x != nil {
155
+ return x.ReferencesId
156
+ }
157
+ return ""
158
+ }
159
+
160
+ type BaseCompany struct {
161
+ state protoimpl.MessageState `protogen:"open.v1"`
162
+ Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
163
+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
164
+ CurrencyCode string `protobuf:"bytes,3,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"`
165
+ Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
166
+ ReferencesId string `protobuf:"bytes,5,opt,name=references_id,json=referencesId,proto3" json:"references_id,omitempty"`
167
+ ParentReferencesId string `protobuf:"bytes,6,opt,name=parent_references_id,json=parentReferencesId,proto3" json:"parent_references_id,omitempty"`
168
+ Parent *BaseCompanyParent `protobuf:"bytes,7,opt,name=parent,proto3" json:"parent,omitempty"`
169
+ unknownFields protoimpl.UnknownFields
170
+ sizeCache protoimpl.SizeCache
171
+ }
172
+
173
+ func (x *BaseCompany) Reset() {
174
+ *x = BaseCompany{}
175
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[2]
176
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
177
+ ms.StoreMessageInfo(mi)
178
+ }
179
+
180
+ func (x *BaseCompany) String() string {
181
+ return protoimpl.X.MessageStringOf(x)
182
+ }
183
+
184
+ func (*BaseCompany) ProtoMessage() {}
185
+
186
+ func (x *BaseCompany) ProtoReflect() protoreflect.Message {
187
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[2]
188
+ if x != nil {
189
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
190
+ if ms.LoadMessageInfo() == nil {
191
+ ms.StoreMessageInfo(mi)
192
+ }
193
+ return ms
194
+ }
195
+ return mi.MessageOf(x)
196
+ }
197
+
198
+ // Deprecated: Use BaseCompany.ProtoReflect.Descriptor instead.
199
+ func (*BaseCompany) Descriptor() ([]byte, []int) {
200
+ return file_prisca_v1_core_company_company_proto_rawDescGZIP(), []int{2}
201
+ }
202
+
203
+ func (x *BaseCompany) GetCode() string {
204
+ if x != nil {
205
+ return x.Code
206
+ }
207
+ return ""
208
+ }
209
+
210
+ func (x *BaseCompany) GetName() string {
211
+ if x != nil {
212
+ return x.Name
213
+ }
214
+ return ""
215
+ }
216
+
217
+ func (x *BaseCompany) GetCurrencyCode() string {
218
+ if x != nil {
219
+ return x.CurrencyCode
220
+ }
221
+ return ""
222
+ }
223
+
224
+ func (x *BaseCompany) GetDescription() string {
225
+ if x != nil {
226
+ return x.Description
227
+ }
228
+ return ""
229
+ }
230
+
231
+ func (x *BaseCompany) GetReferencesId() string {
232
+ if x != nil {
233
+ return x.ReferencesId
234
+ }
235
+ return ""
236
+ }
237
+
238
+ func (x *BaseCompany) GetParentReferencesId() string {
239
+ if x != nil {
240
+ return x.ParentReferencesId
241
+ }
242
+ return ""
243
+ }
244
+
245
+ func (x *BaseCompany) GetParent() *BaseCompanyParent {
246
+ if x != nil {
247
+ return x.Parent
248
+ }
249
+ return nil
250
+ }
251
+
252
+ type CompanyGetByIdRequest struct {
253
+ state protoimpl.MessageState `protogen:"open.v1"`
254
+ ReferencesId string `protobuf:"bytes,1,opt,name=references_id,json=referencesId,proto3" json:"references_id,omitempty"`
255
+ unknownFields protoimpl.UnknownFields
256
+ sizeCache protoimpl.SizeCache
257
+ }
258
+
259
+ func (x *CompanyGetByIdRequest) Reset() {
260
+ *x = CompanyGetByIdRequest{}
261
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[3]
262
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
263
+ ms.StoreMessageInfo(mi)
264
+ }
265
+
266
+ func (x *CompanyGetByIdRequest) String() string {
267
+ return protoimpl.X.MessageStringOf(x)
268
+ }
269
+
270
+ func (*CompanyGetByIdRequest) ProtoMessage() {}
271
+
272
+ func (x *CompanyGetByIdRequest) ProtoReflect() protoreflect.Message {
273
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[3]
274
+ if x != nil {
275
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
276
+ if ms.LoadMessageInfo() == nil {
277
+ ms.StoreMessageInfo(mi)
278
+ }
279
+ return ms
280
+ }
281
+ return mi.MessageOf(x)
282
+ }
283
+
284
+ // Deprecated: Use CompanyGetByIdRequest.ProtoReflect.Descriptor instead.
285
+ func (*CompanyGetByIdRequest) Descriptor() ([]byte, []int) {
286
+ return file_prisca_v1_core_company_company_proto_rawDescGZIP(), []int{3}
287
+ }
288
+
289
+ func (x *CompanyGetByIdRequest) GetReferencesId() string {
290
+ if x != nil {
291
+ return x.ReferencesId
292
+ }
293
+ return ""
294
+ }
295
+
296
+ type CompanyGetByIdResponse struct {
297
+ state protoimpl.MessageState `protogen:"open.v1"`
298
+ Company *BaseCompany `protobuf:"bytes,1,opt,name=company,proto3" json:"company,omitempty"`
299
+ Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
300
+ unknownFields protoimpl.UnknownFields
301
+ sizeCache protoimpl.SizeCache
302
+ }
303
+
304
+ func (x *CompanyGetByIdResponse) Reset() {
305
+ *x = CompanyGetByIdResponse{}
306
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[4]
307
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
308
+ ms.StoreMessageInfo(mi)
309
+ }
310
+
311
+ func (x *CompanyGetByIdResponse) String() string {
312
+ return protoimpl.X.MessageStringOf(x)
313
+ }
314
+
315
+ func (*CompanyGetByIdResponse) ProtoMessage() {}
316
+
317
+ func (x *CompanyGetByIdResponse) ProtoReflect() protoreflect.Message {
318
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[4]
319
+ if x != nil {
320
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
321
+ if ms.LoadMessageInfo() == nil {
322
+ ms.StoreMessageInfo(mi)
323
+ }
324
+ return ms
325
+ }
326
+ return mi.MessageOf(x)
327
+ }
328
+
329
+ // Deprecated: Use CompanyGetByIdResponse.ProtoReflect.Descriptor instead.
330
+ func (*CompanyGetByIdResponse) Descriptor() ([]byte, []int) {
331
+ return file_prisca_v1_core_company_company_proto_rawDescGZIP(), []int{4}
332
+ }
333
+
334
+ func (x *CompanyGetByIdResponse) GetCompany() *BaseCompany {
335
+ if x != nil {
336
+ return x.Company
337
+ }
338
+ return nil
339
+ }
340
+
341
+ func (x *CompanyGetByIdResponse) GetMeta() *meta.Meta {
342
+ if x != nil {
343
+ return x.Meta
344
+ }
345
+ return nil
346
+ }
347
+
348
+ type UpdateCompanyRequest struct {
349
+ state protoimpl.MessageState `protogen:"open.v1"`
350
+ ReferencesId string `protobuf:"bytes,1,opt,name=references_id,json=referencesId,proto3" json:"references_id,omitempty"`
351
+ Company *Company `protobuf:"bytes,2,opt,name=company,proto3" json:"company,omitempty"`
352
+ unknownFields protoimpl.UnknownFields
353
+ sizeCache protoimpl.SizeCache
354
+ }
355
+
356
+ func (x *UpdateCompanyRequest) Reset() {
357
+ *x = UpdateCompanyRequest{}
358
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[5]
359
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
360
+ ms.StoreMessageInfo(mi)
361
+ }
362
+
363
+ func (x *UpdateCompanyRequest) String() string {
364
+ return protoimpl.X.MessageStringOf(x)
365
+ }
366
+
367
+ func (*UpdateCompanyRequest) ProtoMessage() {}
368
+
369
+ func (x *UpdateCompanyRequest) ProtoReflect() protoreflect.Message {
370
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[5]
371
+ if x != nil {
372
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
373
+ if ms.LoadMessageInfo() == nil {
374
+ ms.StoreMessageInfo(mi)
375
+ }
376
+ return ms
377
+ }
378
+ return mi.MessageOf(x)
379
+ }
380
+
381
+ // Deprecated: Use UpdateCompanyRequest.ProtoReflect.Descriptor instead.
382
+ func (*UpdateCompanyRequest) Descriptor() ([]byte, []int) {
383
+ return file_prisca_v1_core_company_company_proto_rawDescGZIP(), []int{5}
384
+ }
385
+
386
+ func (x *UpdateCompanyRequest) GetReferencesId() string {
387
+ if x != nil {
388
+ return x.ReferencesId
389
+ }
390
+ return ""
391
+ }
392
+
393
+ func (x *UpdateCompanyRequest) GetCompany() *Company {
394
+ if x != nil {
395
+ return x.Company
396
+ }
397
+ return nil
398
+ }
399
+
400
+ type UpdateCompanyResponse struct {
401
+ state protoimpl.MessageState `protogen:"open.v1"`
402
+ Company *Company `protobuf:"bytes,1,opt,name=company,proto3" json:"company,omitempty"`
403
+ Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
404
+ unknownFields protoimpl.UnknownFields
405
+ sizeCache protoimpl.SizeCache
406
+ }
407
+
408
+ func (x *UpdateCompanyResponse) Reset() {
409
+ *x = UpdateCompanyResponse{}
410
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[6]
411
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
412
+ ms.StoreMessageInfo(mi)
413
+ }
414
+
415
+ func (x *UpdateCompanyResponse) String() string {
416
+ return protoimpl.X.MessageStringOf(x)
417
+ }
418
+
419
+ func (*UpdateCompanyResponse) ProtoMessage() {}
420
+
421
+ func (x *UpdateCompanyResponse) ProtoReflect() protoreflect.Message {
422
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[6]
423
+ if x != nil {
424
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
425
+ if ms.LoadMessageInfo() == nil {
426
+ ms.StoreMessageInfo(mi)
427
+ }
428
+ return ms
429
+ }
430
+ return mi.MessageOf(x)
431
+ }
432
+
433
+ // Deprecated: Use UpdateCompanyResponse.ProtoReflect.Descriptor instead.
434
+ func (*UpdateCompanyResponse) Descriptor() ([]byte, []int) {
435
+ return file_prisca_v1_core_company_company_proto_rawDescGZIP(), []int{6}
436
+ }
437
+
438
+ func (x *UpdateCompanyResponse) GetCompany() *Company {
439
+ if x != nil {
440
+ return x.Company
441
+ }
442
+ return nil
443
+ }
444
+
445
+ func (x *UpdateCompanyResponse) GetMeta() *meta.Meta {
446
+ if x != nil {
447
+ return x.Meta
448
+ }
449
+ return nil
450
+ }
451
+
452
+ type CreateCompanyRequest struct {
453
+ state protoimpl.MessageState `protogen:"open.v1"`
454
+ Company *Company `protobuf:"bytes,1,opt,name=company,proto3" json:"company,omitempty"`
455
+ unknownFields protoimpl.UnknownFields
456
+ sizeCache protoimpl.SizeCache
457
+ }
458
+
459
+ func (x *CreateCompanyRequest) Reset() {
460
+ *x = CreateCompanyRequest{}
461
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[7]
462
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
463
+ ms.StoreMessageInfo(mi)
464
+ }
465
+
466
+ func (x *CreateCompanyRequest) String() string {
467
+ return protoimpl.X.MessageStringOf(x)
468
+ }
469
+
470
+ func (*CreateCompanyRequest) ProtoMessage() {}
471
+
472
+ func (x *CreateCompanyRequest) ProtoReflect() protoreflect.Message {
473
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[7]
474
+ if x != nil {
475
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
476
+ if ms.LoadMessageInfo() == nil {
477
+ ms.StoreMessageInfo(mi)
478
+ }
479
+ return ms
480
+ }
481
+ return mi.MessageOf(x)
482
+ }
483
+
484
+ // Deprecated: Use CreateCompanyRequest.ProtoReflect.Descriptor instead.
485
+ func (*CreateCompanyRequest) Descriptor() ([]byte, []int) {
486
+ return file_prisca_v1_core_company_company_proto_rawDescGZIP(), []int{7}
487
+ }
488
+
489
+ func (x *CreateCompanyRequest) GetCompany() *Company {
490
+ if x != nil {
491
+ return x.Company
492
+ }
493
+ return nil
494
+ }
495
+
496
+ type CreateCompanyResponse struct {
497
+ state protoimpl.MessageState `protogen:"open.v1"`
498
+ Company *Company `protobuf:"bytes,1,opt,name=company,proto3" json:"company,omitempty"`
499
+ Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
500
+ unknownFields protoimpl.UnknownFields
501
+ sizeCache protoimpl.SizeCache
502
+ }
503
+
504
+ func (x *CreateCompanyResponse) Reset() {
505
+ *x = CreateCompanyResponse{}
506
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[8]
507
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
508
+ ms.StoreMessageInfo(mi)
509
+ }
510
+
511
+ func (x *CreateCompanyResponse) String() string {
512
+ return protoimpl.X.MessageStringOf(x)
513
+ }
514
+
515
+ func (*CreateCompanyResponse) ProtoMessage() {}
516
+
517
+ func (x *CreateCompanyResponse) ProtoReflect() protoreflect.Message {
518
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[8]
519
+ if x != nil {
520
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
521
+ if ms.LoadMessageInfo() == nil {
522
+ ms.StoreMessageInfo(mi)
523
+ }
524
+ return ms
525
+ }
526
+ return mi.MessageOf(x)
527
+ }
528
+
529
+ // Deprecated: Use CreateCompanyResponse.ProtoReflect.Descriptor instead.
530
+ func (*CreateCompanyResponse) Descriptor() ([]byte, []int) {
531
+ return file_prisca_v1_core_company_company_proto_rawDescGZIP(), []int{8}
532
+ }
533
+
534
+ func (x *CreateCompanyResponse) GetCompany() *Company {
535
+ if x != nil {
536
+ return x.Company
537
+ }
538
+ return nil
539
+ }
540
+
541
+ func (x *CreateCompanyResponse) GetMeta() *meta.Meta {
542
+ if x != nil {
543
+ return x.Meta
544
+ }
545
+ return nil
546
+ }
547
+
548
+ type DeleteCompanyRequest struct {
549
+ state protoimpl.MessageState `protogen:"open.v1"`
550
+ ReferencesId string `protobuf:"bytes,1,opt,name=references_id,json=referencesId,proto3" json:"references_id,omitempty"`
551
+ unknownFields protoimpl.UnknownFields
552
+ sizeCache protoimpl.SizeCache
553
+ }
554
+
555
+ func (x *DeleteCompanyRequest) Reset() {
556
+ *x = DeleteCompanyRequest{}
557
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[9]
558
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
559
+ ms.StoreMessageInfo(mi)
560
+ }
561
+
562
+ func (x *DeleteCompanyRequest) String() string {
563
+ return protoimpl.X.MessageStringOf(x)
564
+ }
565
+
566
+ func (*DeleteCompanyRequest) ProtoMessage() {}
567
+
568
+ func (x *DeleteCompanyRequest) ProtoReflect() protoreflect.Message {
569
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[9]
570
+ if x != nil {
571
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
572
+ if ms.LoadMessageInfo() == nil {
573
+ ms.StoreMessageInfo(mi)
574
+ }
575
+ return ms
576
+ }
577
+ return mi.MessageOf(x)
578
+ }
579
+
580
+ // Deprecated: Use DeleteCompanyRequest.ProtoReflect.Descriptor instead.
581
+ func (*DeleteCompanyRequest) Descriptor() ([]byte, []int) {
582
+ return file_prisca_v1_core_company_company_proto_rawDescGZIP(), []int{9}
583
+ }
584
+
585
+ func (x *DeleteCompanyRequest) GetReferencesId() string {
586
+ if x != nil {
587
+ return x.ReferencesId
588
+ }
589
+ return ""
590
+ }
591
+
592
+ type DeleteCompanyResponse struct {
593
+ state protoimpl.MessageState `protogen:"open.v1"`
594
+ Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
595
+ Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
596
+ unknownFields protoimpl.UnknownFields
597
+ sizeCache protoimpl.SizeCache
598
+ }
599
+
600
+ func (x *DeleteCompanyResponse) Reset() {
601
+ *x = DeleteCompanyResponse{}
602
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[10]
603
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
604
+ ms.StoreMessageInfo(mi)
605
+ }
606
+
607
+ func (x *DeleteCompanyResponse) String() string {
608
+ return protoimpl.X.MessageStringOf(x)
609
+ }
610
+
611
+ func (*DeleteCompanyResponse) ProtoMessage() {}
612
+
613
+ func (x *DeleteCompanyResponse) ProtoReflect() protoreflect.Message {
614
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[10]
615
+ if x != nil {
616
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
617
+ if ms.LoadMessageInfo() == nil {
618
+ ms.StoreMessageInfo(mi)
619
+ }
620
+ return ms
621
+ }
622
+ return mi.MessageOf(x)
623
+ }
624
+
625
+ // Deprecated: Use DeleteCompanyResponse.ProtoReflect.Descriptor instead.
626
+ func (*DeleteCompanyResponse) Descriptor() ([]byte, []int) {
627
+ return file_prisca_v1_core_company_company_proto_rawDescGZIP(), []int{10}
628
+ }
629
+
630
+ func (x *DeleteCompanyResponse) GetId() int64 {
631
+ if x != nil {
632
+ return x.Id
633
+ }
634
+ return 0
635
+ }
636
+
637
+ func (x *DeleteCompanyResponse) GetMeta() *meta.Meta {
638
+ if x != nil {
639
+ return x.Meta
640
+ }
641
+ return nil
642
+ }
643
+
644
+ type GetListCompanyRequest struct {
645
+ state protoimpl.MessageState `protogen:"open.v1"`
646
+ Pagination *meta.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
647
+ Query *meta.FilterRequest `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
648
+ unknownFields protoimpl.UnknownFields
649
+ sizeCache protoimpl.SizeCache
650
+ }
651
+
652
+ func (x *GetListCompanyRequest) Reset() {
653
+ *x = GetListCompanyRequest{}
654
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[11]
655
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
656
+ ms.StoreMessageInfo(mi)
657
+ }
658
+
659
+ func (x *GetListCompanyRequest) String() string {
660
+ return protoimpl.X.MessageStringOf(x)
661
+ }
662
+
663
+ func (*GetListCompanyRequest) ProtoMessage() {}
664
+
665
+ func (x *GetListCompanyRequest) ProtoReflect() protoreflect.Message {
666
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[11]
667
+ if x != nil {
668
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
669
+ if ms.LoadMessageInfo() == nil {
670
+ ms.StoreMessageInfo(mi)
671
+ }
672
+ return ms
673
+ }
674
+ return mi.MessageOf(x)
675
+ }
676
+
677
+ // Deprecated: Use GetListCompanyRequest.ProtoReflect.Descriptor instead.
678
+ func (*GetListCompanyRequest) Descriptor() ([]byte, []int) {
679
+ return file_prisca_v1_core_company_company_proto_rawDescGZIP(), []int{11}
680
+ }
681
+
682
+ func (x *GetListCompanyRequest) GetPagination() *meta.PaginationRequest {
683
+ if x != nil {
684
+ return x.Pagination
685
+ }
686
+ return nil
687
+ }
688
+
689
+ func (x *GetListCompanyRequest) GetQuery() *meta.FilterRequest {
690
+ if x != nil {
691
+ return x.Query
692
+ }
693
+ return nil
694
+ }
695
+
696
+ type GetListCompanyResponse struct {
697
+ state protoimpl.MessageState `protogen:"open.v1"`
698
+ Company []*BaseCompany `protobuf:"bytes,1,rep,name=company,proto3" json:"company,omitempty"`
699
+ Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
700
+ unknownFields protoimpl.UnknownFields
701
+ sizeCache protoimpl.SizeCache
702
+ }
703
+
704
+ func (x *GetListCompanyResponse) Reset() {
705
+ *x = GetListCompanyResponse{}
706
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[12]
707
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
708
+ ms.StoreMessageInfo(mi)
709
+ }
710
+
711
+ func (x *GetListCompanyResponse) String() string {
712
+ return protoimpl.X.MessageStringOf(x)
713
+ }
714
+
715
+ func (*GetListCompanyResponse) ProtoMessage() {}
716
+
717
+ func (x *GetListCompanyResponse) ProtoReflect() protoreflect.Message {
718
+ mi := &file_prisca_v1_core_company_company_proto_msgTypes[12]
719
+ if x != nil {
720
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
721
+ if ms.LoadMessageInfo() == nil {
722
+ ms.StoreMessageInfo(mi)
723
+ }
724
+ return ms
725
+ }
726
+ return mi.MessageOf(x)
727
+ }
728
+
729
+ // Deprecated: Use GetListCompanyResponse.ProtoReflect.Descriptor instead.
730
+ func (*GetListCompanyResponse) Descriptor() ([]byte, []int) {
731
+ return file_prisca_v1_core_company_company_proto_rawDescGZIP(), []int{12}
732
+ }
733
+
734
+ func (x *GetListCompanyResponse) GetCompany() []*BaseCompany {
735
+ if x != nil {
736
+ return x.Company
737
+ }
738
+ return nil
739
+ }
740
+
741
+ func (x *GetListCompanyResponse) GetMeta() *meta.Meta {
742
+ if x != nil {
743
+ return x.Meta
744
+ }
745
+ return nil
746
+ }
747
+
748
+ var File_prisca_v1_core_company_company_proto protoreflect.FileDescriptor
749
+
750
+ var file_prisca_v1_core_company_company_proto_rawDesc = []byte{
751
+ 0x0a, 0x24, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x72, 0x65,
752
+ 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79,
753
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76,
754
+ 0x31, 0x2f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2f, 0x6d, 0x65,
755
+ 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaa, 0x01, 0x0a, 0x07, 0x43, 0x6f, 0x6d,
756
+ 0x70, 0x61, 0x6e, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
757
+ 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
758
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d,
759
+ 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20,
760
+ 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x43, 0x6f, 0x64,
761
+ 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
762
+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
763
+ 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x14, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65,
764
+ 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28,
765
+ 0x09, 0x52, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e,
766
+ 0x63, 0x65, 0x73, 0x49, 0x64, 0x22, 0x60, 0x0a, 0x11, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6d,
767
+ 0x70, 0x61, 0x6e, 0x79, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f,
768
+ 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12,
769
+ 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
770
+ 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73,
771
+ 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72,
772
+ 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49, 0x64, 0x22, 0xff, 0x01, 0x0a, 0x0b, 0x42, 0x61, 0x73, 0x65,
773
+ 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18,
774
+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e,
775
+ 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
776
+ 0x23, 0x0a, 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x63, 0x6f, 0x64, 0x65,
777
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79,
778
+ 0x43, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
779
+ 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
780
+ 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65,
781
+ 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72,
782
+ 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x70,
783
+ 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73,
784
+ 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e,
785
+ 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49, 0x64, 0x12, 0x2a, 0x0a,
786
+ 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e,
787
+ 0x42, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x50, 0x61, 0x72, 0x65, 0x6e,
788
+ 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x22, 0x3c, 0x0a, 0x15, 0x43, 0x6f, 0x6d,
789
+ 0x70, 0x61, 0x6e, 0x79, 0x47, 0x65, 0x74, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65,
790
+ 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73,
791
+ 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72,
792
+ 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49, 0x64, 0x22, 0x71, 0x0a, 0x16, 0x43, 0x6f, 0x6d, 0x70, 0x61,
793
+ 0x6e, 0x79, 0x47, 0x65, 0x74, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
794
+ 0x65, 0x12, 0x26, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x18, 0x01, 0x20, 0x01,
795
+ 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79,
796
+ 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74,
797
+ 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61,
798
+ 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e,
799
+ 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x22, 0x5f, 0x0a, 0x14, 0x55, 0x70,
800
+ 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
801
+ 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73,
802
+ 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72,
803
+ 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x70, 0x61,
804
+ 0x6e, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61,
805
+ 0x6e, 0x79, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x22, 0x6c, 0x0a, 0x15, 0x55,
806
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x73, 0x70,
807
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x18,
808
+ 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52,
809
+ 0x07, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61,
810
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e,
811
+ 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d,
812
+ 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x22, 0x3a, 0x0a, 0x14, 0x43, 0x72, 0x65,
813
+ 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
814
+ 0x74, 0x12, 0x22, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x18, 0x01, 0x20, 0x01,
815
+ 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x07, 0x63, 0x6f,
816
+ 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x22, 0x6c, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43,
817
+ 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22,
818
+ 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
819
+ 0x08, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x70, 0x61,
820
+ 0x6e, 0x79, 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
821
+ 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f,
822
+ 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d,
823
+ 0x65, 0x74, 0x61, 0x22, 0x3b, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d,
824
+ 0x70, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72,
825
+ 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
826
+ 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49, 0x64,
827
+ 0x22, 0x58, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e,
828
+ 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
829
+ 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74,
830
+ 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61,
831
+ 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e,
832
+ 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x22, 0x9d, 0x01, 0x0a, 0x15, 0x47,
833
+ 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x71,
834
+ 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69,
835
+ 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63,
836
+ 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61,
837
+ 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
838
+ 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3a,
839
+ 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e,
840
+ 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c,
841
+ 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
842
+ 0x65, 0x73, 0x74, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x71, 0x0a, 0x16, 0x47, 0x65,
843
+ 0x74, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x73, 0x70,
844
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x18,
845
+ 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x70,
846
+ 0x61, 0x6e, 0x79, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x12, 0x2f, 0x0a, 0x04,
847
+ 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x69,
848
+ 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65,
849
+ 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x32, 0xd6, 0x02,
850
+ 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
851
+ 0x12, 0x3e, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e,
852
+ 0x79, 0x12, 0x15, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e,
853
+ 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
854
+ 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
855
+ 0x12, 0x41, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x42, 0x79,
856
+ 0x49, 0x64, 0x12, 0x16, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x47, 0x65, 0x74, 0x42,
857
+ 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x43, 0x6f, 0x6d,
858
+ 0x70, 0x61, 0x6e, 0x79, 0x47, 0x65, 0x74, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f,
859
+ 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d,
860
+ 0x70, 0x61, 0x6e, 0x79, 0x12, 0x15, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d,
861
+ 0x70, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x55, 0x70,
862
+ 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f,
863
+ 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d,
864
+ 0x70, 0x61, 0x6e, 0x79, 0x12, 0x15, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d,
865
+ 0x70, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x44, 0x65,
866
+ 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f,
867
+ 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f,
868
+ 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x12, 0x16, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x43,
869
+ 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e,
870
+ 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x65,
871
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x4f, 0x5a, 0x4d, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62,
872
+ 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x5f, 0x73, 0x6d, 0x2f,
873
+ 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2d, 0x76, 0x32, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2d, 0x73,
874
+ 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x67, 0x65, 0x6e,
875
+ 0x2f, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f,
876
+ 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
877
+ }
878
+
879
+ var (
880
+ file_prisca_v1_core_company_company_proto_rawDescOnce sync.Once
881
+ file_prisca_v1_core_company_company_proto_rawDescData = file_prisca_v1_core_company_company_proto_rawDesc
882
+ )
883
+
884
+ func file_prisca_v1_core_company_company_proto_rawDescGZIP() []byte {
885
+ file_prisca_v1_core_company_company_proto_rawDescOnce.Do(func() {
886
+ file_prisca_v1_core_company_company_proto_rawDescData = protoimpl.X.CompressGZIP(file_prisca_v1_core_company_company_proto_rawDescData)
887
+ })
888
+ return file_prisca_v1_core_company_company_proto_rawDescData
889
+ }
890
+
891
+ var file_prisca_v1_core_company_company_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
892
+ var file_prisca_v1_core_company_company_proto_goTypes = []any{
893
+ (*Company)(nil), // 0: Company
894
+ (*BaseCompanyParent)(nil), // 1: BaseCompanyParent
895
+ (*BaseCompany)(nil), // 2: BaseCompany
896
+ (*CompanyGetByIdRequest)(nil), // 3: CompanyGetByIdRequest
897
+ (*CompanyGetByIdResponse)(nil), // 4: CompanyGetByIdResponse
898
+ (*UpdateCompanyRequest)(nil), // 5: UpdateCompanyRequest
899
+ (*UpdateCompanyResponse)(nil), // 6: UpdateCompanyResponse
900
+ (*CreateCompanyRequest)(nil), // 7: CreateCompanyRequest
901
+ (*CreateCompanyResponse)(nil), // 8: CreateCompanyResponse
902
+ (*DeleteCompanyRequest)(nil), // 9: DeleteCompanyRequest
903
+ (*DeleteCompanyResponse)(nil), // 10: DeleteCompanyResponse
904
+ (*GetListCompanyRequest)(nil), // 11: GetListCompanyRequest
905
+ (*GetListCompanyResponse)(nil), // 12: GetListCompanyResponse
906
+ (*meta.Meta)(nil), // 13: prisca.v1.global.meta.Meta
907
+ (*meta.PaginationRequest)(nil), // 14: prisca.v1.global.meta.PaginationRequest
908
+ (*meta.FilterRequest)(nil), // 15: prisca.v1.global.meta.FilterRequest
909
+ }
910
+ var file_prisca_v1_core_company_company_proto_depIdxs = []int32{
911
+ 1, // 0: BaseCompany.parent:type_name -> BaseCompanyParent
912
+ 2, // 1: CompanyGetByIdResponse.company:type_name -> BaseCompany
913
+ 13, // 2: CompanyGetByIdResponse.meta:type_name -> prisca.v1.global.meta.Meta
914
+ 0, // 3: UpdateCompanyRequest.company:type_name -> Company
915
+ 0, // 4: UpdateCompanyResponse.company:type_name -> Company
916
+ 13, // 5: UpdateCompanyResponse.meta:type_name -> prisca.v1.global.meta.Meta
917
+ 0, // 6: CreateCompanyRequest.company:type_name -> Company
918
+ 0, // 7: CreateCompanyResponse.company:type_name -> Company
919
+ 13, // 8: CreateCompanyResponse.meta:type_name -> prisca.v1.global.meta.Meta
920
+ 13, // 9: DeleteCompanyResponse.meta:type_name -> prisca.v1.global.meta.Meta
921
+ 14, // 10: GetListCompanyRequest.pagination:type_name -> prisca.v1.global.meta.PaginationRequest
922
+ 15, // 11: GetListCompanyRequest.query:type_name -> prisca.v1.global.meta.FilterRequest
923
+ 2, // 12: GetListCompanyResponse.company:type_name -> BaseCompany
924
+ 13, // 13: GetListCompanyResponse.meta:type_name -> prisca.v1.global.meta.Meta
925
+ 7, // 14: CompanyService.CreateCompany:input_type -> CreateCompanyRequest
926
+ 3, // 15: CompanyService.GetCompanyById:input_type -> CompanyGetByIdRequest
927
+ 5, // 16: CompanyService.UpdateCompany:input_type -> UpdateCompanyRequest
928
+ 9, // 17: CompanyService.DeleteCompany:input_type -> DeleteCompanyRequest
929
+ 11, // 18: CompanyService.GetListCompany:input_type -> GetListCompanyRequest
930
+ 8, // 19: CompanyService.CreateCompany:output_type -> CreateCompanyResponse
931
+ 4, // 20: CompanyService.GetCompanyById:output_type -> CompanyGetByIdResponse
932
+ 6, // 21: CompanyService.UpdateCompany:output_type -> UpdateCompanyResponse
933
+ 10, // 22: CompanyService.DeleteCompany:output_type -> DeleteCompanyResponse
934
+ 12, // 23: CompanyService.GetListCompany:output_type -> GetListCompanyResponse
935
+ 19, // [19:24] is the sub-list for method output_type
936
+ 14, // [14:19] is the sub-list for method input_type
937
+ 14, // [14:14] is the sub-list for extension type_name
938
+ 14, // [14:14] is the sub-list for extension extendee
939
+ 0, // [0:14] is the sub-list for field type_name
940
+ }
941
+
942
+ func init() { file_prisca_v1_core_company_company_proto_init() }
943
+ func file_prisca_v1_core_company_company_proto_init() {
944
+ if File_prisca_v1_core_company_company_proto != nil {
945
+ return
946
+ }
947
+ type x struct{}
948
+ out := protoimpl.TypeBuilder{
949
+ File: protoimpl.DescBuilder{
950
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
951
+ RawDescriptor: file_prisca_v1_core_company_company_proto_rawDesc,
952
+ NumEnums: 0,
953
+ NumMessages: 13,
954
+ NumExtensions: 0,
955
+ NumServices: 1,
956
+ },
957
+ GoTypes: file_prisca_v1_core_company_company_proto_goTypes,
958
+ DependencyIndexes: file_prisca_v1_core_company_company_proto_depIdxs,
959
+ MessageInfos: file_prisca_v1_core_company_company_proto_msgTypes,
960
+ }.Build()
961
+ File_prisca_v1_core_company_company_proto = out.File
962
+ file_prisca_v1_core_company_company_proto_rawDesc = nil
963
+ file_prisca_v1_core_company_company_proto_goTypes = nil
964
+ file_prisca_v1_core_company_company_proto_depIdxs = nil
965
+ }