@aldiokta/protocgen 1.0.20 → 1.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/core/auth/auth_grpc_pb.js +256 -0
  3. package/prisca/v1/core/auth/auth_pb.js +2801 -0
  4. package/prisca/v1/core/company/company_grpc_pb.js +177 -0
  5. package/prisca/v1/core/company/company_pb.js +2875 -0
  6. package/prisca/v1/core/department_material/department_material_grpc_pb.js +144 -0
  7. package/prisca/v1/core/department_material/department_material_pb.js +2167 -0
  8. package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +178 -0
  9. package/prisca/v1/core/job_grade/job_grade_pb.js +2605 -0
  10. package/prisca/v1/core/job_position/job_position_grpc_pb.js +181 -0
  11. package/prisca/v1/core/job_position/job_position_pb.js +3582 -0
  12. package/prisca/v1/core/job_title/job_title_grpc_pb.js +178 -0
  13. package/prisca/v1/core/job_title/job_title_pb.js +2928 -0
  14. package/prisca/v1/core/location/location_grpc_pb.js +276 -0
  15. package/prisca/v1/core/location/location_pb.js +4334 -0
  16. package/prisca/v1/core/material/material_grpc_pb.js +181 -0
  17. package/prisca/v1/core/material/material_pb.js +4046 -0
  18. package/prisca/v1/core/material_group/material_group_grpc_pb.js +177 -0
  19. package/prisca/v1/core/material_group/material_group_pb.js +2582 -0
  20. package/prisca/v1/core/material_type/material_type_grpc_pb.js +147 -0
  21. package/prisca/v1/core/material_type/material_type_pb.js +2399 -0
  22. package/prisca/v1/core/number_range/number_range_grpc_pb.js +177 -0
  23. package/prisca/v1/core/number_range/number_range_pb.js +2672 -0
  24. package/prisca/v1/core/organization/organization_grpc_pb.js +180 -0
  25. package/prisca/v1/core/organization/organization_pb.js +3002 -0
  26. package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +177 -0
  27. package/prisca/v1/core/organization_level/organization_level_pb.js +2432 -0
  28. package/prisca/v1/core/procurement/procurement_grpc_pb.js +146 -0
  29. package/prisca/v1/core/procurement/procurement_pb.js +1681 -0
  30. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +266 -0
  31. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_pb.js +4429 -0
  32. package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +1 -0
  33. package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +206 -0
  34. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +421 -0
  35. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +9597 -0
  36. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +180 -0
  37. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +2798 -0
  38. package/prisca/v1/core/users/users_grpc_pb.js +1 -0
  39. package/prisca/v1/core/users/users_pb.js +626 -0
  40. package/prisca/v1/core/users_role/users_role_grpc_pb.js +177 -0
  41. package/prisca/v1/core/users_role/users_role_pb.js +2372 -0
  42. package/prisca/v1/core/work_location/work_location_grpc_pb.js +177 -0
  43. package/prisca/v1/core/work_location/work_location_pb.js +2850 -0
  44. package/prisca/v1/core/workflow/workflow_grpc_pb.js +179 -0
  45. package/prisca/v1/core/workflow/workflow_pb.js +6318 -0
  46. package/prisca/v1/global/meta/meta_grpc_pb.js +1 -0
  47. package/prisca/v1/global/meta/meta_pb.js +1179 -0
  48. package/prisca/v1/core/auth/auth.pb.go +0 -998
  49. package/prisca/v1/core/auth/auth_grpc.pb.go +0 -427
  50. package/prisca/v1/core/company/company.pb.go +0 -965
  51. package/prisca/v1/core/company/company_grpc.pb.go +0 -273
  52. package/prisca/v1/core/department_material/department_material.pb.go +0 -776
  53. package/prisca/v1/core/department_material/department_material_grpc.pb.go +0 -236
  54. package/prisca/v1/core/job_grade/job_grade.pb.go +0 -887
  55. package/prisca/v1/core/job_grade/job_grade_grpc.pb.go +0 -273
  56. package/prisca/v1/core/job_position/job_position.pb.go +0 -1196
  57. package/prisca/v1/core/job_position/job_position_grpc.pb.go +0 -273
  58. package/prisca/v1/core/job_title/job_title.pb.go +0 -986
  59. package/prisca/v1/core/job_title/job_title_grpc.pb.go +0 -273
  60. package/prisca/v1/core/line_of_approval/line_of_approval.pb.go +0 -913
  61. package/prisca/v1/core/line_of_approval/line_of_approval_grpc.pb.go +0 -273
  62. package/prisca/v1/core/location/location.pb.go +0 -1397
  63. package/prisca/v1/core/location/location_grpc.pb.go +0 -387
  64. package/prisca/v1/core/material/material.pb.go +0 -1366
  65. package/prisca/v1/core/material/material_grpc.pb.go +0 -273
  66. package/prisca/v1/core/material_group/material_group.pb.go +0 -911
  67. package/prisca/v1/core/material_group/material_group_grpc.pb.go +0 -273
  68. package/prisca/v1/core/material_type/material_type.pb.go +0 -827
  69. package/prisca/v1/core/material_type/material_type_grpc.pb.go +0 -239
  70. package/prisca/v1/core/number_range/number_range.pb.go +0 -916
  71. package/prisca/v1/core/number_range/number_range_grpc.pb.go +0 -273
  72. package/prisca/v1/core/organization/organization.pb.go +0 -1039
  73. package/prisca/v1/core/organization/organization_grpc.pb.go +0 -273
  74. package/prisca/v1/core/organization_level/organization_level.pb.go +0 -853
  75. package/prisca/v1/core/organization_level/organization_level_grpc.pb.go +0 -274
  76. package/prisca/v1/core/procurement/procurement.pb.go +0 -622
  77. package/prisca/v1/core/procurement/procurement_grpc.pb.go +0 -275
  78. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx.pb.go +0 -1550
  79. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc.pb.go +0 -388
  80. package/prisca/v1/core/recipient_roles/recipient_roles.pb.go +0 -141
  81. package/prisca/v1/core/role/role.pb.go +0 -797
  82. package/prisca/v1/core/role/role_grpc.pb.go +0 -273
  83. package/prisca/v1/core/transaction_builder/transaction_builder.pb.go +0 -3217
  84. package/prisca/v1/core/transaction_builder/transaction_builder_grpc.pb.go +0 -656
  85. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.pb.go +0 -973
  86. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc.pb.go +0 -278
  87. package/prisca/v1/core/users/users.pb.go +0 -281
  88. package/prisca/v1/core/users_role/users_role.pb.go +0 -813
  89. package/prisca/v1/core/users_role/users_role_grpc.pb.go +0 -273
  90. package/prisca/v1/core/work_location/work_location.pb.go +0 -995
  91. package/prisca/v1/core/work_location/work_location_grpc.pb.go +0 -273
  92. package/prisca/v1/core/work_locations/work_locations.pb.go +0 -184
  93. package/prisca/v1/core/work_locations/work_locations_grpc.pb.go +0 -76
  94. package/prisca/v1/core/workflow/workflow.pb.go +0 -2057
  95. package/prisca/v1/core/workflow/workflow_grpc.pb.go +0 -273
  96. package/prisca/v1/global/meta/meta.pb.go +0 -446
@@ -1,998 +0,0 @@
1
- // protoc --go_out=. --go-grpc_out=. proto/prisca/auth/v1/private/*.proto
2
-
3
- // Code generated by protoc-gen-go. DO NOT EDIT.
4
- // versions:
5
- // protoc-gen-go v1.36.1
6
- // protoc (unknown)
7
- // source: prisca/v1/core/auth/auth.proto
8
-
9
- package auth
10
-
11
- import (
12
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14
- reflect "reflect"
15
- sync "sync"
16
- )
17
-
18
- const (
19
- // Verify that this generated code is sufficiently up-to-date.
20
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21
- // Verify that runtime/protoimpl is sufficiently up-to-date.
22
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23
- )
24
-
25
- // request
26
- type LoginRequest struct {
27
- state protoimpl.MessageState `protogen:"open.v1"`
28
- Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
29
- Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
30
- unknownFields protoimpl.UnknownFields
31
- sizeCache protoimpl.SizeCache
32
- }
33
-
34
- func (x *LoginRequest) Reset() {
35
- *x = LoginRequest{}
36
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[0]
37
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
38
- ms.StoreMessageInfo(mi)
39
- }
40
-
41
- func (x *LoginRequest) String() string {
42
- return protoimpl.X.MessageStringOf(x)
43
- }
44
-
45
- func (*LoginRequest) ProtoMessage() {}
46
-
47
- func (x *LoginRequest) ProtoReflect() protoreflect.Message {
48
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[0]
49
- if x != nil {
50
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
51
- if ms.LoadMessageInfo() == nil {
52
- ms.StoreMessageInfo(mi)
53
- }
54
- return ms
55
- }
56
- return mi.MessageOf(x)
57
- }
58
-
59
- // Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
60
- func (*LoginRequest) Descriptor() ([]byte, []int) {
61
- return file_prisca_v1_core_auth_auth_proto_rawDescGZIP(), []int{0}
62
- }
63
-
64
- func (x *LoginRequest) GetEmail() string {
65
- if x != nil {
66
- return x.Email
67
- }
68
- return ""
69
- }
70
-
71
- func (x *LoginRequest) GetPassword() string {
72
- if x != nil {
73
- return x.Password
74
- }
75
- return ""
76
- }
77
-
78
- type GetListAccessRequest struct {
79
- state protoimpl.MessageState `protogen:"open.v1"`
80
- Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
81
- Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
82
- unknownFields protoimpl.UnknownFields
83
- sizeCache protoimpl.SizeCache
84
- }
85
-
86
- func (x *GetListAccessRequest) Reset() {
87
- *x = GetListAccessRequest{}
88
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[1]
89
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
90
- ms.StoreMessageInfo(mi)
91
- }
92
-
93
- func (x *GetListAccessRequest) String() string {
94
- return protoimpl.X.MessageStringOf(x)
95
- }
96
-
97
- func (*GetListAccessRequest) ProtoMessage() {}
98
-
99
- func (x *GetListAccessRequest) ProtoReflect() protoreflect.Message {
100
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[1]
101
- if x != nil {
102
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
103
- if ms.LoadMessageInfo() == nil {
104
- ms.StoreMessageInfo(mi)
105
- }
106
- return ms
107
- }
108
- return mi.MessageOf(x)
109
- }
110
-
111
- // Deprecated: Use GetListAccessRequest.ProtoReflect.Descriptor instead.
112
- func (*GetListAccessRequest) Descriptor() ([]byte, []int) {
113
- return file_prisca_v1_core_auth_auth_proto_rawDescGZIP(), []int{1}
114
- }
115
-
116
- func (x *GetListAccessRequest) GetLimit() int64 {
117
- if x != nil {
118
- return x.Limit
119
- }
120
- return 0
121
- }
122
-
123
- func (x *GetListAccessRequest) GetOffset() int64 {
124
- if x != nil {
125
- return x.Offset
126
- }
127
- return 0
128
- }
129
-
130
- type AccessApiCredential struct {
131
- state protoimpl.MessageState `protogen:"open.v1"`
132
- ApiSecretId string `protobuf:"bytes,1,opt,name=apiSecretId,proto3" json:"apiSecretId,omitempty"`
133
- ApiSecretKey string `protobuf:"bytes,2,opt,name=apiSecretKey,proto3" json:"apiSecretKey,omitempty"`
134
- unknownFields protoimpl.UnknownFields
135
- sizeCache protoimpl.SizeCache
136
- }
137
-
138
- func (x *AccessApiCredential) Reset() {
139
- *x = AccessApiCredential{}
140
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[2]
141
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
142
- ms.StoreMessageInfo(mi)
143
- }
144
-
145
- func (x *AccessApiCredential) String() string {
146
- return protoimpl.X.MessageStringOf(x)
147
- }
148
-
149
- func (*AccessApiCredential) ProtoMessage() {}
150
-
151
- func (x *AccessApiCredential) ProtoReflect() protoreflect.Message {
152
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[2]
153
- if x != nil {
154
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
155
- if ms.LoadMessageInfo() == nil {
156
- ms.StoreMessageInfo(mi)
157
- }
158
- return ms
159
- }
160
- return mi.MessageOf(x)
161
- }
162
-
163
- // Deprecated: Use AccessApiCredential.ProtoReflect.Descriptor instead.
164
- func (*AccessApiCredential) Descriptor() ([]byte, []int) {
165
- return file_prisca_v1_core_auth_auth_proto_rawDescGZIP(), []int{2}
166
- }
167
-
168
- func (x *AccessApiCredential) GetApiSecretId() string {
169
- if x != nil {
170
- return x.ApiSecretId
171
- }
172
- return ""
173
- }
174
-
175
- func (x *AccessApiCredential) GetApiSecretKey() string {
176
- if x != nil {
177
- return x.ApiSecretKey
178
- }
179
- return ""
180
- }
181
-
182
- type AccessCreateRequest struct {
183
- state protoimpl.MessageState `protogen:"open.v1"`
184
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
185
- UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
186
- Scopes string `protobuf:"bytes,3,opt,name=scopes,proto3" json:"scopes,omitempty"`
187
- unknownFields protoimpl.UnknownFields
188
- sizeCache protoimpl.SizeCache
189
- }
190
-
191
- func (x *AccessCreateRequest) Reset() {
192
- *x = AccessCreateRequest{}
193
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[3]
194
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
195
- ms.StoreMessageInfo(mi)
196
- }
197
-
198
- func (x *AccessCreateRequest) String() string {
199
- return protoimpl.X.MessageStringOf(x)
200
- }
201
-
202
- func (*AccessCreateRequest) ProtoMessage() {}
203
-
204
- func (x *AccessCreateRequest) ProtoReflect() protoreflect.Message {
205
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[3]
206
- if x != nil {
207
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
208
- if ms.LoadMessageInfo() == nil {
209
- ms.StoreMessageInfo(mi)
210
- }
211
- return ms
212
- }
213
- return mi.MessageOf(x)
214
- }
215
-
216
- // Deprecated: Use AccessCreateRequest.ProtoReflect.Descriptor instead.
217
- func (*AccessCreateRequest) Descriptor() ([]byte, []int) {
218
- return file_prisca_v1_core_auth_auth_proto_rawDescGZIP(), []int{3}
219
- }
220
-
221
- func (x *AccessCreateRequest) GetName() string {
222
- if x != nil {
223
- return x.Name
224
- }
225
- return ""
226
- }
227
-
228
- func (x *AccessCreateRequest) GetUserId() int64 {
229
- if x != nil {
230
- return x.UserId
231
- }
232
- return 0
233
- }
234
-
235
- func (x *AccessCreateRequest) GetScopes() string {
236
- if x != nil {
237
- return x.Scopes
238
- }
239
- return ""
240
- }
241
-
242
- type AuthVerifyToken struct {
243
- state protoimpl.MessageState `protogen:"open.v1"`
244
- Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
245
- unknownFields protoimpl.UnknownFields
246
- sizeCache protoimpl.SizeCache
247
- }
248
-
249
- func (x *AuthVerifyToken) Reset() {
250
- *x = AuthVerifyToken{}
251
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[4]
252
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
253
- ms.StoreMessageInfo(mi)
254
- }
255
-
256
- func (x *AuthVerifyToken) String() string {
257
- return protoimpl.X.MessageStringOf(x)
258
- }
259
-
260
- func (*AuthVerifyToken) ProtoMessage() {}
261
-
262
- func (x *AuthVerifyToken) ProtoReflect() protoreflect.Message {
263
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[4]
264
- if x != nil {
265
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
266
- if ms.LoadMessageInfo() == nil {
267
- ms.StoreMessageInfo(mi)
268
- }
269
- return ms
270
- }
271
- return mi.MessageOf(x)
272
- }
273
-
274
- // Deprecated: Use AuthVerifyToken.ProtoReflect.Descriptor instead.
275
- func (*AuthVerifyToken) Descriptor() ([]byte, []int) {
276
- return file_prisca_v1_core_auth_auth_proto_rawDescGZIP(), []int{4}
277
- }
278
-
279
- func (x *AuthVerifyToken) GetToken() string {
280
- if x != nil {
281
- return x.Token
282
- }
283
- return ""
284
- }
285
-
286
- type UpdateAccessPayload struct {
287
- state protoimpl.MessageState `protogen:"open.v1"`
288
- Access *AccessCreateRequest `protobuf:"bytes,1,opt,name=access,proto3" json:"access,omitempty"`
289
- Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
290
- unknownFields protoimpl.UnknownFields
291
- sizeCache protoimpl.SizeCache
292
- }
293
-
294
- func (x *UpdateAccessPayload) Reset() {
295
- *x = UpdateAccessPayload{}
296
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[5]
297
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
298
- ms.StoreMessageInfo(mi)
299
- }
300
-
301
- func (x *UpdateAccessPayload) String() string {
302
- return protoimpl.X.MessageStringOf(x)
303
- }
304
-
305
- func (*UpdateAccessPayload) ProtoMessage() {}
306
-
307
- func (x *UpdateAccessPayload) ProtoReflect() protoreflect.Message {
308
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[5]
309
- if x != nil {
310
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
311
- if ms.LoadMessageInfo() == nil {
312
- ms.StoreMessageInfo(mi)
313
- }
314
- return ms
315
- }
316
- return mi.MessageOf(x)
317
- }
318
-
319
- // Deprecated: Use UpdateAccessPayload.ProtoReflect.Descriptor instead.
320
- func (*UpdateAccessPayload) Descriptor() ([]byte, []int) {
321
- return file_prisca_v1_core_auth_auth_proto_rawDescGZIP(), []int{5}
322
- }
323
-
324
- func (x *UpdateAccessPayload) GetAccess() *AccessCreateRequest {
325
- if x != nil {
326
- return x.Access
327
- }
328
- return nil
329
- }
330
-
331
- func (x *UpdateAccessPayload) GetId() int64 {
332
- if x != nil {
333
- return x.Id
334
- }
335
- return 0
336
- }
337
-
338
- type GetAccessByIdPayload struct {
339
- state protoimpl.MessageState `protogen:"open.v1"`
340
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
341
- unknownFields protoimpl.UnknownFields
342
- sizeCache protoimpl.SizeCache
343
- }
344
-
345
- func (x *GetAccessByIdPayload) Reset() {
346
- *x = GetAccessByIdPayload{}
347
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[6]
348
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
349
- ms.StoreMessageInfo(mi)
350
- }
351
-
352
- func (x *GetAccessByIdPayload) String() string {
353
- return protoimpl.X.MessageStringOf(x)
354
- }
355
-
356
- func (*GetAccessByIdPayload) ProtoMessage() {}
357
-
358
- func (x *GetAccessByIdPayload) ProtoReflect() protoreflect.Message {
359
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[6]
360
- if x != nil {
361
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
362
- if ms.LoadMessageInfo() == nil {
363
- ms.StoreMessageInfo(mi)
364
- }
365
- return ms
366
- }
367
- return mi.MessageOf(x)
368
- }
369
-
370
- // Deprecated: Use GetAccessByIdPayload.ProtoReflect.Descriptor instead.
371
- func (*GetAccessByIdPayload) Descriptor() ([]byte, []int) {
372
- return file_prisca_v1_core_auth_auth_proto_rawDescGZIP(), []int{6}
373
- }
374
-
375
- func (x *GetAccessByIdPayload) GetId() int64 {
376
- if x != nil {
377
- return x.Id
378
- }
379
- return 0
380
- }
381
-
382
- type CreateUserPayload struct {
383
- state protoimpl.MessageState `protogen:"open.v1"`
384
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
385
- Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
386
- Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
387
- unknownFields protoimpl.UnknownFields
388
- sizeCache protoimpl.SizeCache
389
- }
390
-
391
- func (x *CreateUserPayload) Reset() {
392
- *x = CreateUserPayload{}
393
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[7]
394
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
395
- ms.StoreMessageInfo(mi)
396
- }
397
-
398
- func (x *CreateUserPayload) String() string {
399
- return protoimpl.X.MessageStringOf(x)
400
- }
401
-
402
- func (*CreateUserPayload) ProtoMessage() {}
403
-
404
- func (x *CreateUserPayload) ProtoReflect() protoreflect.Message {
405
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[7]
406
- if x != nil {
407
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
408
- if ms.LoadMessageInfo() == nil {
409
- ms.StoreMessageInfo(mi)
410
- }
411
- return ms
412
- }
413
- return mi.MessageOf(x)
414
- }
415
-
416
- // Deprecated: Use CreateUserPayload.ProtoReflect.Descriptor instead.
417
- func (*CreateUserPayload) Descriptor() ([]byte, []int) {
418
- return file_prisca_v1_core_auth_auth_proto_rawDescGZIP(), []int{7}
419
- }
420
-
421
- func (x *CreateUserPayload) GetName() string {
422
- if x != nil {
423
- return x.Name
424
- }
425
- return ""
426
- }
427
-
428
- func (x *CreateUserPayload) GetEmail() string {
429
- if x != nil {
430
- return x.Email
431
- }
432
- return ""
433
- }
434
-
435
- func (x *CreateUserPayload) GetPassword() string {
436
- if x != nil {
437
- return x.Password
438
- }
439
- return ""
440
- }
441
-
442
- type UpdateUserPayload struct {
443
- state protoimpl.MessageState `protogen:"open.v1"`
444
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
445
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
446
- Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
447
- unknownFields protoimpl.UnknownFields
448
- sizeCache protoimpl.SizeCache
449
- }
450
-
451
- func (x *UpdateUserPayload) Reset() {
452
- *x = UpdateUserPayload{}
453
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[8]
454
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
455
- ms.StoreMessageInfo(mi)
456
- }
457
-
458
- func (x *UpdateUserPayload) String() string {
459
- return protoimpl.X.MessageStringOf(x)
460
- }
461
-
462
- func (*UpdateUserPayload) ProtoMessage() {}
463
-
464
- func (x *UpdateUserPayload) ProtoReflect() protoreflect.Message {
465
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[8]
466
- if x != nil {
467
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
468
- if ms.LoadMessageInfo() == nil {
469
- ms.StoreMessageInfo(mi)
470
- }
471
- return ms
472
- }
473
- return mi.MessageOf(x)
474
- }
475
-
476
- // Deprecated: Use UpdateUserPayload.ProtoReflect.Descriptor instead.
477
- func (*UpdateUserPayload) Descriptor() ([]byte, []int) {
478
- return file_prisca_v1_core_auth_auth_proto_rawDescGZIP(), []int{8}
479
- }
480
-
481
- func (x *UpdateUserPayload) GetId() string {
482
- if x != nil {
483
- return x.Id
484
- }
485
- return ""
486
- }
487
-
488
- func (x *UpdateUserPayload) GetName() string {
489
- if x != nil {
490
- return x.Name
491
- }
492
- return ""
493
- }
494
-
495
- func (x *UpdateUserPayload) GetEmail() string {
496
- if x != nil {
497
- return x.Email
498
- }
499
- return ""
500
- }
501
-
502
- // response
503
- type UserResponse struct {
504
- state protoimpl.MessageState `protogen:"open.v1"`
505
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
506
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
507
- Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
508
- Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
509
- Role string `protobuf:"bytes,5,opt,name=role,proto3" json:"role,omitempty"`
510
- unknownFields protoimpl.UnknownFields
511
- sizeCache protoimpl.SizeCache
512
- }
513
-
514
- func (x *UserResponse) Reset() {
515
- *x = UserResponse{}
516
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[9]
517
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
518
- ms.StoreMessageInfo(mi)
519
- }
520
-
521
- func (x *UserResponse) String() string {
522
- return protoimpl.X.MessageStringOf(x)
523
- }
524
-
525
- func (*UserResponse) ProtoMessage() {}
526
-
527
- func (x *UserResponse) ProtoReflect() protoreflect.Message {
528
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[9]
529
- if x != nil {
530
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
531
- if ms.LoadMessageInfo() == nil {
532
- ms.StoreMessageInfo(mi)
533
- }
534
- return ms
535
- }
536
- return mi.MessageOf(x)
537
- }
538
-
539
- // Deprecated: Use UserResponse.ProtoReflect.Descriptor instead.
540
- func (*UserResponse) Descriptor() ([]byte, []int) {
541
- return file_prisca_v1_core_auth_auth_proto_rawDescGZIP(), []int{9}
542
- }
543
-
544
- func (x *UserResponse) GetId() int64 {
545
- if x != nil {
546
- return x.Id
547
- }
548
- return 0
549
- }
550
-
551
- func (x *UserResponse) GetName() string {
552
- if x != nil {
553
- return x.Name
554
- }
555
- return ""
556
- }
557
-
558
- func (x *UserResponse) GetEmail() string {
559
- if x != nil {
560
- return x.Email
561
- }
562
- return ""
563
- }
564
-
565
- func (x *UserResponse) GetPassword() string {
566
- if x != nil {
567
- return x.Password
568
- }
569
- return ""
570
- }
571
-
572
- func (x *UserResponse) GetRole() string {
573
- if x != nil {
574
- return x.Role
575
- }
576
- return ""
577
- }
578
-
579
- type AccessResponse struct {
580
- state protoimpl.MessageState `protogen:"open.v1"`
581
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
582
- UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
583
- Scopes string `protobuf:"bytes,3,opt,name=scopes,proto3" json:"scopes,omitempty"`
584
- Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
585
- KeyPrefix string `protobuf:"bytes,5,opt,name=keyPrefix,proto3" json:"keyPrefix,omitempty"`
586
- unknownFields protoimpl.UnknownFields
587
- sizeCache protoimpl.SizeCache
588
- }
589
-
590
- func (x *AccessResponse) Reset() {
591
- *x = AccessResponse{}
592
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[10]
593
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
594
- ms.StoreMessageInfo(mi)
595
- }
596
-
597
- func (x *AccessResponse) String() string {
598
- return protoimpl.X.MessageStringOf(x)
599
- }
600
-
601
- func (*AccessResponse) ProtoMessage() {}
602
-
603
- func (x *AccessResponse) ProtoReflect() protoreflect.Message {
604
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[10]
605
- if x != nil {
606
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
607
- if ms.LoadMessageInfo() == nil {
608
- ms.StoreMessageInfo(mi)
609
- }
610
- return ms
611
- }
612
- return mi.MessageOf(x)
613
- }
614
-
615
- // Deprecated: Use AccessResponse.ProtoReflect.Descriptor instead.
616
- func (*AccessResponse) Descriptor() ([]byte, []int) {
617
- return file_prisca_v1_core_auth_auth_proto_rawDescGZIP(), []int{10}
618
- }
619
-
620
- func (x *AccessResponse) GetName() string {
621
- if x != nil {
622
- return x.Name
623
- }
624
- return ""
625
- }
626
-
627
- func (x *AccessResponse) GetUserId() int64 {
628
- if x != nil {
629
- return x.UserId
630
- }
631
- return 0
632
- }
633
-
634
- func (x *AccessResponse) GetScopes() string {
635
- if x != nil {
636
- return x.Scopes
637
- }
638
- return ""
639
- }
640
-
641
- func (x *AccessResponse) GetStatus() string {
642
- if x != nil {
643
- return x.Status
644
- }
645
- return ""
646
- }
647
-
648
- func (x *AccessResponse) GetKeyPrefix() string {
649
- if x != nil {
650
- return x.KeyPrefix
651
- }
652
- return ""
653
- }
654
-
655
- type AccessApiManagersResponse struct {
656
- state protoimpl.MessageState `protogen:"open.v1"`
657
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
658
- UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"`
659
- Scopes string `protobuf:"bytes,3,opt,name=scopes,proto3" json:"scopes,omitempty"`
660
- Status bool `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
661
- KeyPrefix string `protobuf:"bytes,5,opt,name=keyPrefix,proto3" json:"keyPrefix,omitempty"`
662
- Val string `protobuf:"bytes,6,opt,name=val,proto3" json:"val,omitempty"`
663
- CreatedAt string `protobuf:"bytes,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
664
- UpdatedAt string `protobuf:"bytes,8,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
665
- unknownFields protoimpl.UnknownFields
666
- sizeCache protoimpl.SizeCache
667
- }
668
-
669
- func (x *AccessApiManagersResponse) Reset() {
670
- *x = AccessApiManagersResponse{}
671
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[11]
672
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
673
- ms.StoreMessageInfo(mi)
674
- }
675
-
676
- func (x *AccessApiManagersResponse) String() string {
677
- return protoimpl.X.MessageStringOf(x)
678
- }
679
-
680
- func (*AccessApiManagersResponse) ProtoMessage() {}
681
-
682
- func (x *AccessApiManagersResponse) ProtoReflect() protoreflect.Message {
683
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[11]
684
- if x != nil {
685
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
686
- if ms.LoadMessageInfo() == nil {
687
- ms.StoreMessageInfo(mi)
688
- }
689
- return ms
690
- }
691
- return mi.MessageOf(x)
692
- }
693
-
694
- // Deprecated: Use AccessApiManagersResponse.ProtoReflect.Descriptor instead.
695
- func (*AccessApiManagersResponse) Descriptor() ([]byte, []int) {
696
- return file_prisca_v1_core_auth_auth_proto_rawDescGZIP(), []int{11}
697
- }
698
-
699
- func (x *AccessApiManagersResponse) GetName() string {
700
- if x != nil {
701
- return x.Name
702
- }
703
- return ""
704
- }
705
-
706
- func (x *AccessApiManagersResponse) GetUserId() int64 {
707
- if x != nil {
708
- return x.UserId
709
- }
710
- return 0
711
- }
712
-
713
- func (x *AccessApiManagersResponse) GetScopes() string {
714
- if x != nil {
715
- return x.Scopes
716
- }
717
- return ""
718
- }
719
-
720
- func (x *AccessApiManagersResponse) GetStatus() bool {
721
- if x != nil {
722
- return x.Status
723
- }
724
- return false
725
- }
726
-
727
- func (x *AccessApiManagersResponse) GetKeyPrefix() string {
728
- if x != nil {
729
- return x.KeyPrefix
730
- }
731
- return ""
732
- }
733
-
734
- func (x *AccessApiManagersResponse) GetVal() string {
735
- if x != nil {
736
- return x.Val
737
- }
738
- return ""
739
- }
740
-
741
- func (x *AccessApiManagersResponse) GetCreatedAt() string {
742
- if x != nil {
743
- return x.CreatedAt
744
- }
745
- return ""
746
- }
747
-
748
- func (x *AccessApiManagersResponse) GetUpdatedAt() string {
749
- if x != nil {
750
- return x.UpdatedAt
751
- }
752
- return ""
753
- }
754
-
755
- type ListAccessResponse struct {
756
- state protoimpl.MessageState `protogen:"open.v1"`
757
- Data []*AccessResponse `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
758
- unknownFields protoimpl.UnknownFields
759
- sizeCache protoimpl.SizeCache
760
- }
761
-
762
- func (x *ListAccessResponse) Reset() {
763
- *x = ListAccessResponse{}
764
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[12]
765
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
766
- ms.StoreMessageInfo(mi)
767
- }
768
-
769
- func (x *ListAccessResponse) String() string {
770
- return protoimpl.X.MessageStringOf(x)
771
- }
772
-
773
- func (*ListAccessResponse) ProtoMessage() {}
774
-
775
- func (x *ListAccessResponse) ProtoReflect() protoreflect.Message {
776
- mi := &file_prisca_v1_core_auth_auth_proto_msgTypes[12]
777
- if x != nil {
778
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
779
- if ms.LoadMessageInfo() == nil {
780
- ms.StoreMessageInfo(mi)
781
- }
782
- return ms
783
- }
784
- return mi.MessageOf(x)
785
- }
786
-
787
- // Deprecated: Use ListAccessResponse.ProtoReflect.Descriptor instead.
788
- func (*ListAccessResponse) Descriptor() ([]byte, []int) {
789
- return file_prisca_v1_core_auth_auth_proto_rawDescGZIP(), []int{12}
790
- }
791
-
792
- func (x *ListAccessResponse) GetData() []*AccessResponse {
793
- if x != nil {
794
- return x.Data
795
- }
796
- return nil
797
- }
798
-
799
- var File_prisca_v1_core_auth_auth_proto protoreflect.FileDescriptor
800
-
801
- var file_prisca_v1_core_auth_auth_proto_rawDesc = []byte{
802
- 0x0a, 0x1e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x72, 0x65,
803
- 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
804
- 0x22, 0x40, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
805
- 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
806
- 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f,
807
- 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f,
808
- 0x72, 0x64, 0x22, 0x44, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63,
809
- 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69,
810
- 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74,
811
- 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
812
- 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x5b, 0x0a, 0x13, 0x41, 0x63, 0x63, 0x65,
813
- 0x73, 0x73, 0x41, 0x70, 0x69, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x12,
814
- 0x20, 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x49, 0x64, 0x18, 0x01,
815
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x70, 0x69, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x49,
816
- 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x70, 0x69, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65,
817
- 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x70, 0x69, 0x53, 0x65, 0x63, 0x72,
818
- 0x65, 0x74, 0x4b, 0x65, 0x79, 0x22, 0x59, 0x0a, 0x13, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43,
819
- 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04,
820
- 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
821
- 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
822
- 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x70,
823
- 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73,
824
- 0x22, 0x27, 0x0a, 0x0f, 0x41, 0x75, 0x74, 0x68, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x54, 0x6f,
825
- 0x6b, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01,
826
- 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x53, 0x0a, 0x13, 0x55, 0x70, 0x64,
827
- 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64,
828
- 0x12, 0x2c, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
829
- 0x32, 0x14, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52,
830
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x0e,
831
- 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0x26,
832
- 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x79, 0x49, 0x64, 0x50,
833
- 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
834
- 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0x59, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
835
- 0x55, 0x73, 0x65, 0x72, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e,
836
- 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
837
- 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
838
- 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72,
839
- 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72,
840
- 0x64, 0x22, 0x4d, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x50,
841
- 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
842
- 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
843
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d,
844
- 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c,
845
- 0x22, 0x78, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
846
- 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64,
847
- 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
848
- 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20,
849
- 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61,
850
- 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61,
851
- 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x05,
852
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x22, 0x8a, 0x01, 0x0a, 0x0e, 0x41,
853
- 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a,
854
- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
855
- 0x65, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
856
- 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x6f,
857
- 0x70, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65,
858
- 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28,
859
- 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6b, 0x65, 0x79,
860
- 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6b, 0x65,
861
- 0x79, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x22, 0xe3, 0x01, 0x0a, 0x19, 0x41, 0x63, 0x63, 0x65,
862
- 0x73, 0x73, 0x41, 0x70, 0x69, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73,
863
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
864
- 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65,
865
- 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49,
866
- 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
867
- 0x09, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61,
868
- 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
869
- 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x05,
870
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6b, 0x65, 0x79, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12,
871
- 0x10, 0x0a, 0x03, 0x76, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x76, 0x61,
872
- 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x07,
873
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12,
874
- 0x1c, 0x0a, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x08, 0x20, 0x01,
875
- 0x28, 0x09, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x39, 0x0a,
876
- 0x12, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
877
- 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28,
878
- 0x0b, 0x32, 0x0f, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
879
- 0x73, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x32, 0xfe, 0x03, 0x0a, 0x0b, 0x41, 0x75, 0x74,
880
- 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x0b, 0x56, 0x65, 0x72, 0x69,
881
- 0x66, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x10, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x56, 0x65,
882
- 0x72, 0x69, 0x66, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x1a, 0x0d, 0x2e, 0x55, 0x73, 0x65, 0x72,
883
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x09, 0x4c, 0x6f, 0x67, 0x69,
884
- 0x6e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0d, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71,
885
- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
886
- 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65,
887
- 0x72, 0x12, 0x12, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x50, 0x61,
888
- 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x1a, 0x0d, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
889
- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73,
890
- 0x65, 0x72, 0x12, 0x12, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x50,
891
- 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x1a, 0x0d, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73,
892
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x13, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x41,
893
- 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x2e, 0x41,
894
- 0x63, 0x63, 0x65, 0x73, 0x73, 0x41, 0x70, 0x69, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69,
895
- 0x61, 0x6c, 0x1a, 0x1a, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x41, 0x70, 0x69, 0x4d, 0x61,
896
- 0x6e, 0x61, 0x67, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c,
897
- 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
898
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x72,
899
- 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x41, 0x63,
900
- 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x0d,
901
- 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x15, 0x2e,
902
- 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71,
903
- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73,
904
- 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x55, 0x70, 0x64,
905
- 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x14, 0x2e, 0x55, 0x70, 0x64, 0x61,
906
- 0x74, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x1a,
907
- 0x0f, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
908
- 0x12, 0x37, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x79, 0x49,
909
- 0x64, 0x12, 0x15, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x79, 0x49,
910
- 0x64, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x1a, 0x0f, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73,
911
- 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x4c, 0x5a, 0x4a, 0x67, 0x69, 0x74,
912
- 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x5f,
913
- 0x73, 0x6d, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2d, 0x76, 0x32, 0x2d, 0x63, 0x6f, 0x72,
914
- 0x65, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
915
- 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f,
916
- 0x72, 0x65, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
917
- }
918
-
919
- var (
920
- file_prisca_v1_core_auth_auth_proto_rawDescOnce sync.Once
921
- file_prisca_v1_core_auth_auth_proto_rawDescData = file_prisca_v1_core_auth_auth_proto_rawDesc
922
- )
923
-
924
- func file_prisca_v1_core_auth_auth_proto_rawDescGZIP() []byte {
925
- file_prisca_v1_core_auth_auth_proto_rawDescOnce.Do(func() {
926
- file_prisca_v1_core_auth_auth_proto_rawDescData = protoimpl.X.CompressGZIP(file_prisca_v1_core_auth_auth_proto_rawDescData)
927
- })
928
- return file_prisca_v1_core_auth_auth_proto_rawDescData
929
- }
930
-
931
- var file_prisca_v1_core_auth_auth_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
932
- var file_prisca_v1_core_auth_auth_proto_goTypes = []any{
933
- (*LoginRequest)(nil), // 0: LoginRequest
934
- (*GetListAccessRequest)(nil), // 1: GetListAccessRequest
935
- (*AccessApiCredential)(nil), // 2: AccessApiCredential
936
- (*AccessCreateRequest)(nil), // 3: AccessCreateRequest
937
- (*AuthVerifyToken)(nil), // 4: AuthVerifyToken
938
- (*UpdateAccessPayload)(nil), // 5: UpdateAccessPayload
939
- (*GetAccessByIdPayload)(nil), // 6: GetAccessByIdPayload
940
- (*CreateUserPayload)(nil), // 7: CreateUserPayload
941
- (*UpdateUserPayload)(nil), // 8: UpdateUserPayload
942
- (*UserResponse)(nil), // 9: UserResponse
943
- (*AccessResponse)(nil), // 10: AccessResponse
944
- (*AccessApiManagersResponse)(nil), // 11: AccessApiManagersResponse
945
- (*ListAccessResponse)(nil), // 12: ListAccessResponse
946
- }
947
- var file_prisca_v1_core_auth_auth_proto_depIdxs = []int32{
948
- 3, // 0: UpdateAccessPayload.access:type_name -> AccessCreateRequest
949
- 10, // 1: ListAccessResponse.data:type_name -> AccessResponse
950
- 4, // 2: AuthService.VerifyToken:input_type -> AuthVerifyToken
951
- 0, // 3: AuthService.LoginUser:input_type -> LoginRequest
952
- 7, // 4: AuthService.CreateUser:input_type -> CreateUserPayload
953
- 8, // 5: AuthService.UpdateUser:input_type -> UpdateUserPayload
954
- 2, // 6: AuthService.VerifyAuthorization:input_type -> AccessApiCredential
955
- 3, // 7: AuthService.CreateAuthorization:input_type -> AccessCreateRequest
956
- 1, // 8: AuthService.GetListAccess:input_type -> GetListAccessRequest
957
- 5, // 9: AuthService.UpdateAccess:input_type -> UpdateAccessPayload
958
- 6, // 10: AuthService.GetAccessById:input_type -> GetAccessByIdPayload
959
- 9, // 11: AuthService.VerifyToken:output_type -> UserResponse
960
- 9, // 12: AuthService.LoginUser:output_type -> UserResponse
961
- 9, // 13: AuthService.CreateUser:output_type -> UserResponse
962
- 9, // 14: AuthService.UpdateUser:output_type -> UserResponse
963
- 11, // 15: AuthService.VerifyAuthorization:output_type -> AccessApiManagersResponse
964
- 10, // 16: AuthService.CreateAuthorization:output_type -> AccessResponse
965
- 12, // 17: AuthService.GetListAccess:output_type -> ListAccessResponse
966
- 10, // 18: AuthService.UpdateAccess:output_type -> AccessResponse
967
- 10, // 19: AuthService.GetAccessById:output_type -> AccessResponse
968
- 11, // [11:20] is the sub-list for method output_type
969
- 2, // [2:11] is the sub-list for method input_type
970
- 2, // [2:2] is the sub-list for extension type_name
971
- 2, // [2:2] is the sub-list for extension extendee
972
- 0, // [0:2] is the sub-list for field type_name
973
- }
974
-
975
- func init() { file_prisca_v1_core_auth_auth_proto_init() }
976
- func file_prisca_v1_core_auth_auth_proto_init() {
977
- if File_prisca_v1_core_auth_auth_proto != nil {
978
- return
979
- }
980
- type x struct{}
981
- out := protoimpl.TypeBuilder{
982
- File: protoimpl.DescBuilder{
983
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
984
- RawDescriptor: file_prisca_v1_core_auth_auth_proto_rawDesc,
985
- NumEnums: 0,
986
- NumMessages: 13,
987
- NumExtensions: 0,
988
- NumServices: 1,
989
- },
990
- GoTypes: file_prisca_v1_core_auth_auth_proto_goTypes,
991
- DependencyIndexes: file_prisca_v1_core_auth_auth_proto_depIdxs,
992
- MessageInfos: file_prisca_v1_core_auth_auth_proto_msgTypes,
993
- }.Build()
994
- File_prisca_v1_core_auth_auth_proto = out.File
995
- file_prisca_v1_core_auth_auth_proto_rawDesc = nil
996
- file_prisca_v1_core_auth_auth_proto_goTypes = nil
997
- file_prisca_v1_core_auth_auth_proto_depIdxs = nil
998
- }