@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.
- package/package.json +1 -1
- package/prisca/v1/core/auth/auth.pb.go +998 -0
- package/prisca/v1/core/auth/auth_grpc.pb.go +427 -0
- package/prisca/v1/core/company/company.pb.go +965 -0
- package/prisca/v1/core/company/company_grpc.pb.go +273 -0
- package/prisca/v1/core/department_material/department_material.pb.go +776 -0
- package/prisca/v1/core/department_material/department_material_grpc.pb.go +236 -0
- package/prisca/v1/core/job_grade/job_grade.pb.go +887 -0
- package/prisca/v1/core/job_grade/job_grade_grpc.pb.go +273 -0
- package/prisca/v1/core/job_position/job_position.pb.go +1196 -0
- package/prisca/v1/core/job_position/job_position_grpc.pb.go +273 -0
- package/prisca/v1/core/job_title/job_title.pb.go +986 -0
- package/prisca/v1/core/job_title/job_title_grpc.pb.go +273 -0
- package/prisca/v1/core/line_of_approval/line_of_approval.pb.go +913 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc.pb.go +273 -0
- package/prisca/v1/core/location/location.pb.go +1397 -0
- package/prisca/v1/core/location/location_grpc.pb.go +387 -0
- package/prisca/v1/core/material/material.pb.go +1366 -0
- package/prisca/v1/core/material/material_grpc.pb.go +273 -0
- package/prisca/v1/core/material_group/material_group.pb.go +911 -0
- package/prisca/v1/core/material_group/material_group_grpc.pb.go +273 -0
- package/prisca/v1/core/material_type/material_type.pb.go +827 -0
- package/prisca/v1/core/material_type/material_type_grpc.pb.go +239 -0
- package/prisca/v1/core/number_range/number_range.pb.go +916 -0
- package/prisca/v1/core/number_range/number_range_grpc.pb.go +273 -0
- package/prisca/v1/core/organization/organization.pb.go +1039 -0
- package/prisca/v1/core/organization/organization_grpc.pb.go +273 -0
- package/prisca/v1/core/organization_level/organization_level.pb.go +853 -0
- package/prisca/v1/core/organization_level/organization_level_grpc.pb.go +274 -0
- package/prisca/v1/core/procurement/procurement.pb.go +622 -0
- package/prisca/v1/core/procurement/procurement_grpc.pb.go +275 -0
- package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx.pb.go +1550 -0
- package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc.pb.go +388 -0
- package/prisca/v1/core/recipient_roles/recipient_roles.pb.go +141 -0
- package/prisca/v1/core/role/role.pb.go +797 -0
- package/prisca/v1/core/role/role_grpc.pb.go +273 -0
- package/prisca/v1/core/transaction_builder/transaction_builder.pb.go +3217 -0
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc.pb.go +656 -0
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement.pb.go +973 -0
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc.pb.go +278 -0
- package/prisca/v1/core/users/users.pb.go +281 -0
- package/prisca/v1/core/users_role/users_role.pb.go +813 -0
- package/prisca/v1/core/users_role/users_role_grpc.pb.go +273 -0
- package/prisca/v1/core/work_location/work_location.pb.go +995 -0
- package/prisca/v1/core/work_location/work_location_grpc.pb.go +273 -0
- package/prisca/v1/core/work_locations/work_locations.pb.go +184 -0
- package/prisca/v1/core/work_locations/work_locations_grpc.pb.go +76 -0
- package/prisca/v1/core/workflow/workflow.pb.go +2057 -0
- package/prisca/v1/core/workflow/workflow_grpc.pb.go +273 -0
- package/prisca/v1/global/meta/meta.pb.go +446 -0
- package/prisca/v1/core/auth/auth_grpc_pb.js +0 -256
- package/prisca/v1/core/auth/auth_pb.js +0 -2801
- package/prisca/v1/core/company/company_grpc_pb.js +0 -177
- package/prisca/v1/core/company/company_pb.js +0 -2845
- package/prisca/v1/core/department_material/department_material_grpc_pb.js +0 -144
- package/prisca/v1/core/department_material/department_material_pb.js +0 -2167
- package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +0 -178
- package/prisca/v1/core/job_grade/job_grade_pb.js +0 -2605
- package/prisca/v1/core/job_position/job_position_grpc_pb.js +0 -181
- package/prisca/v1/core/job_position/job_position_pb.js +0 -3582
- package/prisca/v1/core/job_title/job_title_grpc_pb.js +0 -178
- package/prisca/v1/core/job_title/job_title_pb.js +0 -2928
- package/prisca/v1/core/location/location_grpc_pb.js +0 -276
- package/prisca/v1/core/location/location_pb.js +0 -4334
- package/prisca/v1/core/material/material_grpc_pb.js +0 -181
- package/prisca/v1/core/material/material_pb.js +0 -4046
- package/prisca/v1/core/material_group/material_group_grpc_pb.js +0 -177
- package/prisca/v1/core/material_group/material_group_pb.js +0 -2582
- package/prisca/v1/core/material_type/material_type_grpc_pb.js +0 -147
- package/prisca/v1/core/material_type/material_type_pb.js +0 -2399
- package/prisca/v1/core/number_range/number_range_grpc_pb.js +0 -177
- package/prisca/v1/core/number_range/number_range_pb.js +0 -2672
- package/prisca/v1/core/organization/organization_grpc_pb.js +0 -180
- package/prisca/v1/core/organization/organization_pb.js +0 -3002
- package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +0 -177
- package/prisca/v1/core/organization_level/organization_level_pb.js +0 -2432
- package/prisca/v1/core/procurement/procurement_grpc_pb.js +0 -146
- package/prisca/v1/core/procurement/procurement_pb.js +0 -1681
- package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +0 -266
- package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_pb.js +0 -4429
- package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +0 -1
- package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +0 -206
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +0 -421
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +0 -9597
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +0 -180
- package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +0 -2798
- package/prisca/v1/core/users/users_grpc_pb.js +0 -1
- package/prisca/v1/core/users/users_pb.js +0 -626
- package/prisca/v1/core/users_role/users_role_grpc_pb.js +0 -177
- package/prisca/v1/core/users_role/users_role_pb.js +0 -2372
- package/prisca/v1/core/work_location/work_location_grpc_pb.js +0 -177
- package/prisca/v1/core/work_location/work_location_pb.js +0 -2850
- package/prisca/v1/core/workflow/workflow_grpc_pb.js +0 -179
- package/prisca/v1/core/workflow/workflow_pb.js +0 -6318
- package/prisca/v1/global/meta/meta_grpc_pb.js +0 -1
- package/prisca/v1/global/meta/meta_pb.js +0 -1179
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
2
|
+
// versions:
|
|
3
|
+
// - protoc-gen-go-grpc v1.5.1
|
|
4
|
+
// - protoc (unknown)
|
|
5
|
+
// source: prisca/v1/core/unit_of_measurement/unit_of_measurement.proto
|
|
6
|
+
|
|
7
|
+
package unit_of_measurement
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
context "context"
|
|
11
|
+
grpc "google.golang.org/grpc"
|
|
12
|
+
codes "google.golang.org/grpc/codes"
|
|
13
|
+
status "google.golang.org/grpc/status"
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
// This is a compile-time assertion to ensure that this generated file
|
|
17
|
+
// is compatible with the grpc package it is being compiled against.
|
|
18
|
+
// Requires gRPC-Go v1.64.0 or later.
|
|
19
|
+
const _ = grpc.SupportPackageIsVersion9
|
|
20
|
+
|
|
21
|
+
const (
|
|
22
|
+
UnitOfMeasurementService_CreateUnitOfMeasurement_FullMethodName = "/UnitOfMeasurementService/CreateUnitOfMeasurement"
|
|
23
|
+
UnitOfMeasurementService_GetUnitOfMeasurementById_FullMethodName = "/UnitOfMeasurementService/GetUnitOfMeasurementById"
|
|
24
|
+
UnitOfMeasurementService_GetListUnitOfMeasurements_FullMethodName = "/UnitOfMeasurementService/GetListUnitOfMeasurements"
|
|
25
|
+
UnitOfMeasurementService_UpdateUnitOfMeasurement_FullMethodName = "/UnitOfMeasurementService/UpdateUnitOfMeasurement"
|
|
26
|
+
UnitOfMeasurementService_DeleteUnitOfMeasurement_FullMethodName = "/UnitOfMeasurementService/DeleteUnitOfMeasurement"
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
// UnitOfMeasurementServiceClient is the client API for UnitOfMeasurementService service.
|
|
30
|
+
//
|
|
31
|
+
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
|
|
32
|
+
//
|
|
33
|
+
// Unit of Measurement Service
|
|
34
|
+
type UnitOfMeasurementServiceClient interface {
|
|
35
|
+
CreateUnitOfMeasurement(ctx context.Context, in *CreateUnitOfMeasureRequest, opts ...grpc.CallOption) (*CreateUnitOfMeasureResponse, error)
|
|
36
|
+
GetUnitOfMeasurementById(ctx context.Context, in *GetUnitOfMeasureByIdRequest, opts ...grpc.CallOption) (*GetUnitOfMeasureByIdResponse, error)
|
|
37
|
+
GetListUnitOfMeasurements(ctx context.Context, in *GetListUnitOfMeasureRequest, opts ...grpc.CallOption) (*GetListUnitOfMeasureResponse, error)
|
|
38
|
+
UpdateUnitOfMeasurement(ctx context.Context, in *UpdateUnitOfMeasureRequest, opts ...grpc.CallOption) (*UpdateUnitOfMeasureResponse, error)
|
|
39
|
+
DeleteUnitOfMeasurement(ctx context.Context, in *DeleteUnitOfMeasureRequest, opts ...grpc.CallOption) (*DeleteUnitOfMeasureResponse, error)
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
type unitOfMeasurementServiceClient struct {
|
|
43
|
+
cc grpc.ClientConnInterface
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
func NewUnitOfMeasurementServiceClient(cc grpc.ClientConnInterface) UnitOfMeasurementServiceClient {
|
|
47
|
+
return &unitOfMeasurementServiceClient{cc}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
func (c *unitOfMeasurementServiceClient) CreateUnitOfMeasurement(ctx context.Context, in *CreateUnitOfMeasureRequest, opts ...grpc.CallOption) (*CreateUnitOfMeasureResponse, error) {
|
|
51
|
+
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
52
|
+
out := new(CreateUnitOfMeasureResponse)
|
|
53
|
+
err := c.cc.Invoke(ctx, UnitOfMeasurementService_CreateUnitOfMeasurement_FullMethodName, in, out, cOpts...)
|
|
54
|
+
if err != nil {
|
|
55
|
+
return nil, err
|
|
56
|
+
}
|
|
57
|
+
return out, nil
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
func (c *unitOfMeasurementServiceClient) GetUnitOfMeasurementById(ctx context.Context, in *GetUnitOfMeasureByIdRequest, opts ...grpc.CallOption) (*GetUnitOfMeasureByIdResponse, error) {
|
|
61
|
+
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
62
|
+
out := new(GetUnitOfMeasureByIdResponse)
|
|
63
|
+
err := c.cc.Invoke(ctx, UnitOfMeasurementService_GetUnitOfMeasurementById_FullMethodName, in, out, cOpts...)
|
|
64
|
+
if err != nil {
|
|
65
|
+
return nil, err
|
|
66
|
+
}
|
|
67
|
+
return out, nil
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
func (c *unitOfMeasurementServiceClient) GetListUnitOfMeasurements(ctx context.Context, in *GetListUnitOfMeasureRequest, opts ...grpc.CallOption) (*GetListUnitOfMeasureResponse, error) {
|
|
71
|
+
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
72
|
+
out := new(GetListUnitOfMeasureResponse)
|
|
73
|
+
err := c.cc.Invoke(ctx, UnitOfMeasurementService_GetListUnitOfMeasurements_FullMethodName, in, out, cOpts...)
|
|
74
|
+
if err != nil {
|
|
75
|
+
return nil, err
|
|
76
|
+
}
|
|
77
|
+
return out, nil
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
func (c *unitOfMeasurementServiceClient) UpdateUnitOfMeasurement(ctx context.Context, in *UpdateUnitOfMeasureRequest, opts ...grpc.CallOption) (*UpdateUnitOfMeasureResponse, error) {
|
|
81
|
+
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
82
|
+
out := new(UpdateUnitOfMeasureResponse)
|
|
83
|
+
err := c.cc.Invoke(ctx, UnitOfMeasurementService_UpdateUnitOfMeasurement_FullMethodName, in, out, cOpts...)
|
|
84
|
+
if err != nil {
|
|
85
|
+
return nil, err
|
|
86
|
+
}
|
|
87
|
+
return out, nil
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
func (c *unitOfMeasurementServiceClient) DeleteUnitOfMeasurement(ctx context.Context, in *DeleteUnitOfMeasureRequest, opts ...grpc.CallOption) (*DeleteUnitOfMeasureResponse, error) {
|
|
91
|
+
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
92
|
+
out := new(DeleteUnitOfMeasureResponse)
|
|
93
|
+
err := c.cc.Invoke(ctx, UnitOfMeasurementService_DeleteUnitOfMeasurement_FullMethodName, in, out, cOpts...)
|
|
94
|
+
if err != nil {
|
|
95
|
+
return nil, err
|
|
96
|
+
}
|
|
97
|
+
return out, nil
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// UnitOfMeasurementServiceServer is the server API for UnitOfMeasurementService service.
|
|
101
|
+
// All implementations must embed UnimplementedUnitOfMeasurementServiceServer
|
|
102
|
+
// for forward compatibility.
|
|
103
|
+
//
|
|
104
|
+
// Unit of Measurement Service
|
|
105
|
+
type UnitOfMeasurementServiceServer interface {
|
|
106
|
+
CreateUnitOfMeasurement(context.Context, *CreateUnitOfMeasureRequest) (*CreateUnitOfMeasureResponse, error)
|
|
107
|
+
GetUnitOfMeasurementById(context.Context, *GetUnitOfMeasureByIdRequest) (*GetUnitOfMeasureByIdResponse, error)
|
|
108
|
+
GetListUnitOfMeasurements(context.Context, *GetListUnitOfMeasureRequest) (*GetListUnitOfMeasureResponse, error)
|
|
109
|
+
UpdateUnitOfMeasurement(context.Context, *UpdateUnitOfMeasureRequest) (*UpdateUnitOfMeasureResponse, error)
|
|
110
|
+
DeleteUnitOfMeasurement(context.Context, *DeleteUnitOfMeasureRequest) (*DeleteUnitOfMeasureResponse, error)
|
|
111
|
+
mustEmbedUnimplementedUnitOfMeasurementServiceServer()
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// UnimplementedUnitOfMeasurementServiceServer must be embedded to have
|
|
115
|
+
// forward compatible implementations.
|
|
116
|
+
//
|
|
117
|
+
// NOTE: this should be embedded by value instead of pointer to avoid a nil
|
|
118
|
+
// pointer dereference when methods are called.
|
|
119
|
+
type UnimplementedUnitOfMeasurementServiceServer struct{}
|
|
120
|
+
|
|
121
|
+
func (UnimplementedUnitOfMeasurementServiceServer) CreateUnitOfMeasurement(context.Context, *CreateUnitOfMeasureRequest) (*CreateUnitOfMeasureResponse, error) {
|
|
122
|
+
return nil, status.Errorf(codes.Unimplemented, "method CreateUnitOfMeasurement not implemented")
|
|
123
|
+
}
|
|
124
|
+
func (UnimplementedUnitOfMeasurementServiceServer) GetUnitOfMeasurementById(context.Context, *GetUnitOfMeasureByIdRequest) (*GetUnitOfMeasureByIdResponse, error) {
|
|
125
|
+
return nil, status.Errorf(codes.Unimplemented, "method GetUnitOfMeasurementById not implemented")
|
|
126
|
+
}
|
|
127
|
+
func (UnimplementedUnitOfMeasurementServiceServer) GetListUnitOfMeasurements(context.Context, *GetListUnitOfMeasureRequest) (*GetListUnitOfMeasureResponse, error) {
|
|
128
|
+
return nil, status.Errorf(codes.Unimplemented, "method GetListUnitOfMeasurements not implemented")
|
|
129
|
+
}
|
|
130
|
+
func (UnimplementedUnitOfMeasurementServiceServer) UpdateUnitOfMeasurement(context.Context, *UpdateUnitOfMeasureRequest) (*UpdateUnitOfMeasureResponse, error) {
|
|
131
|
+
return nil, status.Errorf(codes.Unimplemented, "method UpdateUnitOfMeasurement not implemented")
|
|
132
|
+
}
|
|
133
|
+
func (UnimplementedUnitOfMeasurementServiceServer) DeleteUnitOfMeasurement(context.Context, *DeleteUnitOfMeasureRequest) (*DeleteUnitOfMeasureResponse, error) {
|
|
134
|
+
return nil, status.Errorf(codes.Unimplemented, "method DeleteUnitOfMeasurement not implemented")
|
|
135
|
+
}
|
|
136
|
+
func (UnimplementedUnitOfMeasurementServiceServer) mustEmbedUnimplementedUnitOfMeasurementServiceServer() {
|
|
137
|
+
}
|
|
138
|
+
func (UnimplementedUnitOfMeasurementServiceServer) testEmbeddedByValue() {}
|
|
139
|
+
|
|
140
|
+
// UnsafeUnitOfMeasurementServiceServer may be embedded to opt out of forward compatibility for this service.
|
|
141
|
+
// Use of this interface is not recommended, as added methods to UnitOfMeasurementServiceServer will
|
|
142
|
+
// result in compilation errors.
|
|
143
|
+
type UnsafeUnitOfMeasurementServiceServer interface {
|
|
144
|
+
mustEmbedUnimplementedUnitOfMeasurementServiceServer()
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
func RegisterUnitOfMeasurementServiceServer(s grpc.ServiceRegistrar, srv UnitOfMeasurementServiceServer) {
|
|
148
|
+
// If the following call pancis, it indicates UnimplementedUnitOfMeasurementServiceServer was
|
|
149
|
+
// embedded by pointer and is nil. This will cause panics if an
|
|
150
|
+
// unimplemented method is ever invoked, so we test this at initialization
|
|
151
|
+
// time to prevent it from happening at runtime later due to I/O.
|
|
152
|
+
if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
|
|
153
|
+
t.testEmbeddedByValue()
|
|
154
|
+
}
|
|
155
|
+
s.RegisterService(&UnitOfMeasurementService_ServiceDesc, srv)
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
func _UnitOfMeasurementService_CreateUnitOfMeasurement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
159
|
+
in := new(CreateUnitOfMeasureRequest)
|
|
160
|
+
if err := dec(in); err != nil {
|
|
161
|
+
return nil, err
|
|
162
|
+
}
|
|
163
|
+
if interceptor == nil {
|
|
164
|
+
return srv.(UnitOfMeasurementServiceServer).CreateUnitOfMeasurement(ctx, in)
|
|
165
|
+
}
|
|
166
|
+
info := &grpc.UnaryServerInfo{
|
|
167
|
+
Server: srv,
|
|
168
|
+
FullMethod: UnitOfMeasurementService_CreateUnitOfMeasurement_FullMethodName,
|
|
169
|
+
}
|
|
170
|
+
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
171
|
+
return srv.(UnitOfMeasurementServiceServer).CreateUnitOfMeasurement(ctx, req.(*CreateUnitOfMeasureRequest))
|
|
172
|
+
}
|
|
173
|
+
return interceptor(ctx, in, info, handler)
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
func _UnitOfMeasurementService_GetUnitOfMeasurementById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
177
|
+
in := new(GetUnitOfMeasureByIdRequest)
|
|
178
|
+
if err := dec(in); err != nil {
|
|
179
|
+
return nil, err
|
|
180
|
+
}
|
|
181
|
+
if interceptor == nil {
|
|
182
|
+
return srv.(UnitOfMeasurementServiceServer).GetUnitOfMeasurementById(ctx, in)
|
|
183
|
+
}
|
|
184
|
+
info := &grpc.UnaryServerInfo{
|
|
185
|
+
Server: srv,
|
|
186
|
+
FullMethod: UnitOfMeasurementService_GetUnitOfMeasurementById_FullMethodName,
|
|
187
|
+
}
|
|
188
|
+
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
189
|
+
return srv.(UnitOfMeasurementServiceServer).GetUnitOfMeasurementById(ctx, req.(*GetUnitOfMeasureByIdRequest))
|
|
190
|
+
}
|
|
191
|
+
return interceptor(ctx, in, info, handler)
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
func _UnitOfMeasurementService_GetListUnitOfMeasurements_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
195
|
+
in := new(GetListUnitOfMeasureRequest)
|
|
196
|
+
if err := dec(in); err != nil {
|
|
197
|
+
return nil, err
|
|
198
|
+
}
|
|
199
|
+
if interceptor == nil {
|
|
200
|
+
return srv.(UnitOfMeasurementServiceServer).GetListUnitOfMeasurements(ctx, in)
|
|
201
|
+
}
|
|
202
|
+
info := &grpc.UnaryServerInfo{
|
|
203
|
+
Server: srv,
|
|
204
|
+
FullMethod: UnitOfMeasurementService_GetListUnitOfMeasurements_FullMethodName,
|
|
205
|
+
}
|
|
206
|
+
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
207
|
+
return srv.(UnitOfMeasurementServiceServer).GetListUnitOfMeasurements(ctx, req.(*GetListUnitOfMeasureRequest))
|
|
208
|
+
}
|
|
209
|
+
return interceptor(ctx, in, info, handler)
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
func _UnitOfMeasurementService_UpdateUnitOfMeasurement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
213
|
+
in := new(UpdateUnitOfMeasureRequest)
|
|
214
|
+
if err := dec(in); err != nil {
|
|
215
|
+
return nil, err
|
|
216
|
+
}
|
|
217
|
+
if interceptor == nil {
|
|
218
|
+
return srv.(UnitOfMeasurementServiceServer).UpdateUnitOfMeasurement(ctx, in)
|
|
219
|
+
}
|
|
220
|
+
info := &grpc.UnaryServerInfo{
|
|
221
|
+
Server: srv,
|
|
222
|
+
FullMethod: UnitOfMeasurementService_UpdateUnitOfMeasurement_FullMethodName,
|
|
223
|
+
}
|
|
224
|
+
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
225
|
+
return srv.(UnitOfMeasurementServiceServer).UpdateUnitOfMeasurement(ctx, req.(*UpdateUnitOfMeasureRequest))
|
|
226
|
+
}
|
|
227
|
+
return interceptor(ctx, in, info, handler)
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
func _UnitOfMeasurementService_DeleteUnitOfMeasurement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
231
|
+
in := new(DeleteUnitOfMeasureRequest)
|
|
232
|
+
if err := dec(in); err != nil {
|
|
233
|
+
return nil, err
|
|
234
|
+
}
|
|
235
|
+
if interceptor == nil {
|
|
236
|
+
return srv.(UnitOfMeasurementServiceServer).DeleteUnitOfMeasurement(ctx, in)
|
|
237
|
+
}
|
|
238
|
+
info := &grpc.UnaryServerInfo{
|
|
239
|
+
Server: srv,
|
|
240
|
+
FullMethod: UnitOfMeasurementService_DeleteUnitOfMeasurement_FullMethodName,
|
|
241
|
+
}
|
|
242
|
+
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
243
|
+
return srv.(UnitOfMeasurementServiceServer).DeleteUnitOfMeasurement(ctx, req.(*DeleteUnitOfMeasureRequest))
|
|
244
|
+
}
|
|
245
|
+
return interceptor(ctx, in, info, handler)
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
// UnitOfMeasurementService_ServiceDesc is the grpc.ServiceDesc for UnitOfMeasurementService service.
|
|
249
|
+
// It's only intended for direct use with grpc.RegisterService,
|
|
250
|
+
// and not to be introspected or modified (even as a copy)
|
|
251
|
+
var UnitOfMeasurementService_ServiceDesc = grpc.ServiceDesc{
|
|
252
|
+
ServiceName: "UnitOfMeasurementService",
|
|
253
|
+
HandlerType: (*UnitOfMeasurementServiceServer)(nil),
|
|
254
|
+
Methods: []grpc.MethodDesc{
|
|
255
|
+
{
|
|
256
|
+
MethodName: "CreateUnitOfMeasurement",
|
|
257
|
+
Handler: _UnitOfMeasurementService_CreateUnitOfMeasurement_Handler,
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
MethodName: "GetUnitOfMeasurementById",
|
|
261
|
+
Handler: _UnitOfMeasurementService_GetUnitOfMeasurementById_Handler,
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
MethodName: "GetListUnitOfMeasurements",
|
|
265
|
+
Handler: _UnitOfMeasurementService_GetListUnitOfMeasurements_Handler,
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
MethodName: "UpdateUnitOfMeasurement",
|
|
269
|
+
Handler: _UnitOfMeasurementService_UpdateUnitOfMeasurement_Handler,
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
MethodName: "DeleteUnitOfMeasurement",
|
|
273
|
+
Handler: _UnitOfMeasurementService_DeleteUnitOfMeasurement_Handler,
|
|
274
|
+
},
|
|
275
|
+
},
|
|
276
|
+
Streams: []grpc.StreamDesc{},
|
|
277
|
+
Metadata: "prisca/v1/core/unit_of_measurement/unit_of_measurement.proto",
|
|
278
|
+
}
|
|
@@ -0,0 +1,281 @@
|
|
|
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/users/users.proto
|
|
6
|
+
|
|
7
|
+
package users
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
11
|
+
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
12
|
+
reflect "reflect"
|
|
13
|
+
sync "sync"
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
const (
|
|
17
|
+
// Verify that this generated code is sufficiently up-to-date.
|
|
18
|
+
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
19
|
+
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
20
|
+
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
type Users struct {
|
|
24
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
25
|
+
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
26
|
+
ReferencesId string `protobuf:"bytes,2,opt,name=references_id,json=referencesId,proto3" json:"references_id,omitempty"`
|
|
27
|
+
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
28
|
+
GenderRefId string `protobuf:"bytes,4,opt,name=gender_ref_id,json=genderRefId,proto3" json:"gender_ref_id,omitempty"`
|
|
29
|
+
PhoneNumber string `protobuf:"bytes,5,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
|
|
30
|
+
Email string `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"`
|
|
31
|
+
RoleRefId string `protobuf:"bytes,7,opt,name=role_ref_id,json=roleRefId,proto3" json:"role_ref_id,omitempty"`
|
|
32
|
+
Credential string `protobuf:"bytes,8,opt,name=credential,proto3" json:"credential,omitempty"`
|
|
33
|
+
LastLogin string `protobuf:"bytes,9,opt,name=last_login,json=lastLogin,proto3" json:"last_login,omitempty"`
|
|
34
|
+
LastCredentialRenewal string `protobuf:"bytes,10,opt,name=last_credential_renewal,json=lastCredentialRenewal,proto3" json:"last_credential_renewal,omitempty"`
|
|
35
|
+
DeviceMobileId string `protobuf:"bytes,11,opt,name=device_mobile_id,json=deviceMobileId,proto3" json:"device_mobile_id,omitempty"`
|
|
36
|
+
DeviceDekstopId string `protobuf:"bytes,12,opt,name=device_dekstop_id,json=deviceDekstopId,proto3" json:"device_dekstop_id,omitempty"`
|
|
37
|
+
CreatedBy string `protobuf:"bytes,13,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
|
|
38
|
+
UpdatedBy string `protobuf:"bytes,14,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
|
|
39
|
+
CreatedAt string `protobuf:"bytes,15,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
40
|
+
UpdatedAt string `protobuf:"bytes,16,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
41
|
+
unknownFields protoimpl.UnknownFields
|
|
42
|
+
sizeCache protoimpl.SizeCache
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
func (x *Users) Reset() {
|
|
46
|
+
*x = Users{}
|
|
47
|
+
mi := &file_prisca_v1_core_users_users_proto_msgTypes[0]
|
|
48
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
49
|
+
ms.StoreMessageInfo(mi)
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
func (x *Users) String() string {
|
|
53
|
+
return protoimpl.X.MessageStringOf(x)
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
func (*Users) ProtoMessage() {}
|
|
57
|
+
|
|
58
|
+
func (x *Users) ProtoReflect() protoreflect.Message {
|
|
59
|
+
mi := &file_prisca_v1_core_users_users_proto_msgTypes[0]
|
|
60
|
+
if x != nil {
|
|
61
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
62
|
+
if ms.LoadMessageInfo() == nil {
|
|
63
|
+
ms.StoreMessageInfo(mi)
|
|
64
|
+
}
|
|
65
|
+
return ms
|
|
66
|
+
}
|
|
67
|
+
return mi.MessageOf(x)
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// Deprecated: Use Users.ProtoReflect.Descriptor instead.
|
|
71
|
+
func (*Users) Descriptor() ([]byte, []int) {
|
|
72
|
+
return file_prisca_v1_core_users_users_proto_rawDescGZIP(), []int{0}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
func (x *Users) GetId() int32 {
|
|
76
|
+
if x != nil {
|
|
77
|
+
return x.Id
|
|
78
|
+
}
|
|
79
|
+
return 0
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
func (x *Users) GetReferencesId() string {
|
|
83
|
+
if x != nil {
|
|
84
|
+
return x.ReferencesId
|
|
85
|
+
}
|
|
86
|
+
return ""
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
func (x *Users) GetName() string {
|
|
90
|
+
if x != nil {
|
|
91
|
+
return x.Name
|
|
92
|
+
}
|
|
93
|
+
return ""
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
func (x *Users) GetGenderRefId() string {
|
|
97
|
+
if x != nil {
|
|
98
|
+
return x.GenderRefId
|
|
99
|
+
}
|
|
100
|
+
return ""
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
func (x *Users) GetPhoneNumber() string {
|
|
104
|
+
if x != nil {
|
|
105
|
+
return x.PhoneNumber
|
|
106
|
+
}
|
|
107
|
+
return ""
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
func (x *Users) GetEmail() string {
|
|
111
|
+
if x != nil {
|
|
112
|
+
return x.Email
|
|
113
|
+
}
|
|
114
|
+
return ""
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
func (x *Users) GetRoleRefId() string {
|
|
118
|
+
if x != nil {
|
|
119
|
+
return x.RoleRefId
|
|
120
|
+
}
|
|
121
|
+
return ""
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
func (x *Users) GetCredential() string {
|
|
125
|
+
if x != nil {
|
|
126
|
+
return x.Credential
|
|
127
|
+
}
|
|
128
|
+
return ""
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
func (x *Users) GetLastLogin() string {
|
|
132
|
+
if x != nil {
|
|
133
|
+
return x.LastLogin
|
|
134
|
+
}
|
|
135
|
+
return ""
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
func (x *Users) GetLastCredentialRenewal() string {
|
|
139
|
+
if x != nil {
|
|
140
|
+
return x.LastCredentialRenewal
|
|
141
|
+
}
|
|
142
|
+
return ""
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
func (x *Users) GetDeviceMobileId() string {
|
|
146
|
+
if x != nil {
|
|
147
|
+
return x.DeviceMobileId
|
|
148
|
+
}
|
|
149
|
+
return ""
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
func (x *Users) GetDeviceDekstopId() string {
|
|
153
|
+
if x != nil {
|
|
154
|
+
return x.DeviceDekstopId
|
|
155
|
+
}
|
|
156
|
+
return ""
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
func (x *Users) GetCreatedBy() string {
|
|
160
|
+
if x != nil {
|
|
161
|
+
return x.CreatedBy
|
|
162
|
+
}
|
|
163
|
+
return ""
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
func (x *Users) GetUpdatedBy() string {
|
|
167
|
+
if x != nil {
|
|
168
|
+
return x.UpdatedBy
|
|
169
|
+
}
|
|
170
|
+
return ""
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
func (x *Users) GetCreatedAt() string {
|
|
174
|
+
if x != nil {
|
|
175
|
+
return x.CreatedAt
|
|
176
|
+
}
|
|
177
|
+
return ""
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
func (x *Users) GetUpdatedAt() string {
|
|
181
|
+
if x != nil {
|
|
182
|
+
return x.UpdatedAt
|
|
183
|
+
}
|
|
184
|
+
return ""
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
var File_prisca_v1_core_users_users_proto protoreflect.FileDescriptor
|
|
188
|
+
|
|
189
|
+
var file_prisca_v1_core_users_users_proto_rawDesc = []byte{
|
|
190
|
+
0x0a, 0x20, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x72, 0x65,
|
|
191
|
+
0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f,
|
|
192
|
+
0x74, 0x6f, 0x22, 0x96, 0x04, 0x0a, 0x05, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x0e, 0x0a, 0x02,
|
|
193
|
+
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d,
|
|
194
|
+
0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
|
|
195
|
+
0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49,
|
|
196
|
+
0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
197
|
+
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f,
|
|
198
|
+
0x72, 0x65, 0x66, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, 0x65,
|
|
199
|
+
0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x66, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f,
|
|
200
|
+
0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
201
|
+
0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05,
|
|
202
|
+
0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61,
|
|
203
|
+
0x69, 0x6c, 0x12, 0x1e, 0x0a, 0x0b, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x5f, 0x69,
|
|
204
|
+
0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x66,
|
|
205
|
+
0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c,
|
|
206
|
+
0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69,
|
|
207
|
+
0x61, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x69, 0x6e,
|
|
208
|
+
0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x4c, 0x6f, 0x67, 0x69,
|
|
209
|
+
0x6e, 0x12, 0x36, 0x0a, 0x17, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e,
|
|
210
|
+
0x74, 0x69, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x18, 0x0a, 0x20, 0x01,
|
|
211
|
+
0x28, 0x09, 0x52, 0x15, 0x6c, 0x61, 0x73, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69,
|
|
212
|
+
0x61, 0x6c, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x12, 0x28, 0x0a, 0x10, 0x64, 0x65, 0x76,
|
|
213
|
+
0x69, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20,
|
|
214
|
+
0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4d, 0x6f, 0x62, 0x69, 0x6c,
|
|
215
|
+
0x65, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x64, 0x65,
|
|
216
|
+
0x6b, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f,
|
|
217
|
+
0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x44, 0x65, 0x6b, 0x73, 0x74, 0x6f, 0x70, 0x49, 0x64, 0x12,
|
|
218
|
+
0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x0d, 0x20,
|
|
219
|
+
0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x12, 0x1d,
|
|
220
|
+
0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x0e, 0x20, 0x01,
|
|
221
|
+
0x28, 0x09, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x12, 0x1d, 0x0a,
|
|
222
|
+
0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28,
|
|
223
|
+
0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a,
|
|
224
|
+
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09,
|
|
225
|
+
0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x42, 0x4d, 0x5a, 0x4b, 0x67,
|
|
226
|
+
0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72,
|
|
227
|
+
0x61, 0x5f, 0x73, 0x6d, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2d, 0x76, 0x32, 0x2d, 0x63,
|
|
228
|
+
0x6f, 0x72, 0x65, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
|
|
229
|
+
0x6f, 0x63, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f,
|
|
230
|
+
0x63, 0x6f, 0x72, 0x65, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
|
231
|
+
0x6f, 0x33,
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
var (
|
|
235
|
+
file_prisca_v1_core_users_users_proto_rawDescOnce sync.Once
|
|
236
|
+
file_prisca_v1_core_users_users_proto_rawDescData = file_prisca_v1_core_users_users_proto_rawDesc
|
|
237
|
+
)
|
|
238
|
+
|
|
239
|
+
func file_prisca_v1_core_users_users_proto_rawDescGZIP() []byte {
|
|
240
|
+
file_prisca_v1_core_users_users_proto_rawDescOnce.Do(func() {
|
|
241
|
+
file_prisca_v1_core_users_users_proto_rawDescData = protoimpl.X.CompressGZIP(file_prisca_v1_core_users_users_proto_rawDescData)
|
|
242
|
+
})
|
|
243
|
+
return file_prisca_v1_core_users_users_proto_rawDescData
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
var file_prisca_v1_core_users_users_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
|
|
247
|
+
var file_prisca_v1_core_users_users_proto_goTypes = []any{
|
|
248
|
+
(*Users)(nil), // 0: Users
|
|
249
|
+
}
|
|
250
|
+
var file_prisca_v1_core_users_users_proto_depIdxs = []int32{
|
|
251
|
+
0, // [0:0] is the sub-list for method output_type
|
|
252
|
+
0, // [0:0] is the sub-list for method input_type
|
|
253
|
+
0, // [0:0] is the sub-list for extension type_name
|
|
254
|
+
0, // [0:0] is the sub-list for extension extendee
|
|
255
|
+
0, // [0:0] is the sub-list for field type_name
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
func init() { file_prisca_v1_core_users_users_proto_init() }
|
|
259
|
+
func file_prisca_v1_core_users_users_proto_init() {
|
|
260
|
+
if File_prisca_v1_core_users_users_proto != nil {
|
|
261
|
+
return
|
|
262
|
+
}
|
|
263
|
+
type x struct{}
|
|
264
|
+
out := protoimpl.TypeBuilder{
|
|
265
|
+
File: protoimpl.DescBuilder{
|
|
266
|
+
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
267
|
+
RawDescriptor: file_prisca_v1_core_users_users_proto_rawDesc,
|
|
268
|
+
NumEnums: 0,
|
|
269
|
+
NumMessages: 1,
|
|
270
|
+
NumExtensions: 0,
|
|
271
|
+
NumServices: 0,
|
|
272
|
+
},
|
|
273
|
+
GoTypes: file_prisca_v1_core_users_users_proto_goTypes,
|
|
274
|
+
DependencyIndexes: file_prisca_v1_core_users_users_proto_depIdxs,
|
|
275
|
+
MessageInfos: file_prisca_v1_core_users_users_proto_msgTypes,
|
|
276
|
+
}.Build()
|
|
277
|
+
File_prisca_v1_core_users_users_proto = out.File
|
|
278
|
+
file_prisca_v1_core_users_users_proto_rawDesc = nil
|
|
279
|
+
file_prisca_v1_core_users_users_proto_goTypes = nil
|
|
280
|
+
file_prisca_v1_core_users_users_proto_depIdxs = nil
|
|
281
|
+
}
|