@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,388 +0,0 @@
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/purchase_requisition_trx/purchase_requisition_trx.proto
6
-
7
- package purchase_requisition_trx
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
- PurchaseRequisitionTrxService_CreatePurchaseRequisitionTrx_FullMethodName = "/PurchaseRequisitionTrxService/CreatePurchaseRequisitionTrx"
23
- PurchaseRequisitionTrxService_UpdatePurchaseRequisitionTrx_FullMethodName = "/PurchaseRequisitionTrxService/UpdatePurchaseRequisitionTrx"
24
- PurchaseRequisitionTrxService_GetPurchaseRequisitionTrxById_FullMethodName = "/PurchaseRequisitionTrxService/GetPurchaseRequisitionTrxById"
25
- PurchaseRequisitionTrxService_GetPurchaseRequisitionTrxList_FullMethodName = "/PurchaseRequisitionTrxService/GetPurchaseRequisitionTrxList"
26
- PurchaseRequisitionTrxService_GetPurchaseRequisitionWithTrxId_FullMethodName = "/PurchaseRequisitionTrxService/GetPurchaseRequisitionWithTrxId"
27
- PurchaseRequisitionTrxService_GetPurchaseRequisitionWithTrxList_FullMethodName = "/PurchaseRequisitionTrxService/GetPurchaseRequisitionWithTrxList"
28
- PurchaseRequisitionTrxService_GetPurchaseRequisitionWithTrxListTable_FullMethodName = "/PurchaseRequisitionTrxService/GetPurchaseRequisitionWithTrxListTable"
29
- PurchaseRequisitionTrxService_GetPurchaseRequisitionWithTrxListDetail_FullMethodName = "/PurchaseRequisitionTrxService/GetPurchaseRequisitionWithTrxListDetail"
30
- )
31
-
32
- // PurchaseRequisitionTrxServiceClient is the client API for PurchaseRequisitionTrxService service.
33
- //
34
- // 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.
35
- type PurchaseRequisitionTrxServiceClient interface {
36
- CreatePurchaseRequisitionTrx(ctx context.Context, in *CreatePurchaseRequisitionTrxRequest, opts ...grpc.CallOption) (*CreatePurchaseRequisitionTrxResponse, error)
37
- UpdatePurchaseRequisitionTrx(ctx context.Context, in *UpdatePurchaseRequisitionTrxRequest, opts ...grpc.CallOption) (*UpdatePurchaseRequisitionTrxResponse, error)
38
- GetPurchaseRequisitionTrxById(ctx context.Context, in *GetPurchaseRequisitionTrxByIdRequest, opts ...grpc.CallOption) (*GetPurchaseRequisitionTrxByIdResponse, error)
39
- GetPurchaseRequisitionTrxList(ctx context.Context, in *GetPurchaseRequisitionTrxListRequest, opts ...grpc.CallOption) (*GetPurchaseRequisitionTrxListResponse, error)
40
- GetPurchaseRequisitionWithTrxId(ctx context.Context, in *GetPurchaseRequisitionTrxDetailByIdRequest, opts ...grpc.CallOption) (*GetPurchaseRequisitionTrxDetailByIdResponse, error)
41
- GetPurchaseRequisitionWithTrxList(ctx context.Context, in *GetPurchaseRequisitionTrxDetailListRequest, opts ...grpc.CallOption) (*GetPurchaseRequisitionTrxDetailListResponse, error)
42
- GetPurchaseRequisitionWithTrxListTable(ctx context.Context, in *GetPurchaseRequisitionTrxDetailListDetailRequest, opts ...grpc.CallOption) (*GetPurchaseRequisitionTrxDetailListTableResponse, error)
43
- GetPurchaseRequisitionWithTrxListDetail(ctx context.Context, in *GetPurchaseRequisitionTrxDetailListDetailRequest, opts ...grpc.CallOption) (*GetPurchaseRequisitionTrxDetailListDetailResponse, error)
44
- }
45
-
46
- type purchaseRequisitionTrxServiceClient struct {
47
- cc grpc.ClientConnInterface
48
- }
49
-
50
- func NewPurchaseRequisitionTrxServiceClient(cc grpc.ClientConnInterface) PurchaseRequisitionTrxServiceClient {
51
- return &purchaseRequisitionTrxServiceClient{cc}
52
- }
53
-
54
- func (c *purchaseRequisitionTrxServiceClient) CreatePurchaseRequisitionTrx(ctx context.Context, in *CreatePurchaseRequisitionTrxRequest, opts ...grpc.CallOption) (*CreatePurchaseRequisitionTrxResponse, error) {
55
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
56
- out := new(CreatePurchaseRequisitionTrxResponse)
57
- err := c.cc.Invoke(ctx, PurchaseRequisitionTrxService_CreatePurchaseRequisitionTrx_FullMethodName, in, out, cOpts...)
58
- if err != nil {
59
- return nil, err
60
- }
61
- return out, nil
62
- }
63
-
64
- func (c *purchaseRequisitionTrxServiceClient) UpdatePurchaseRequisitionTrx(ctx context.Context, in *UpdatePurchaseRequisitionTrxRequest, opts ...grpc.CallOption) (*UpdatePurchaseRequisitionTrxResponse, error) {
65
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
66
- out := new(UpdatePurchaseRequisitionTrxResponse)
67
- err := c.cc.Invoke(ctx, PurchaseRequisitionTrxService_UpdatePurchaseRequisitionTrx_FullMethodName, in, out, cOpts...)
68
- if err != nil {
69
- return nil, err
70
- }
71
- return out, nil
72
- }
73
-
74
- func (c *purchaseRequisitionTrxServiceClient) GetPurchaseRequisitionTrxById(ctx context.Context, in *GetPurchaseRequisitionTrxByIdRequest, opts ...grpc.CallOption) (*GetPurchaseRequisitionTrxByIdResponse, error) {
75
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
76
- out := new(GetPurchaseRequisitionTrxByIdResponse)
77
- err := c.cc.Invoke(ctx, PurchaseRequisitionTrxService_GetPurchaseRequisitionTrxById_FullMethodName, in, out, cOpts...)
78
- if err != nil {
79
- return nil, err
80
- }
81
- return out, nil
82
- }
83
-
84
- func (c *purchaseRequisitionTrxServiceClient) GetPurchaseRequisitionTrxList(ctx context.Context, in *GetPurchaseRequisitionTrxListRequest, opts ...grpc.CallOption) (*GetPurchaseRequisitionTrxListResponse, error) {
85
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
86
- out := new(GetPurchaseRequisitionTrxListResponse)
87
- err := c.cc.Invoke(ctx, PurchaseRequisitionTrxService_GetPurchaseRequisitionTrxList_FullMethodName, in, out, cOpts...)
88
- if err != nil {
89
- return nil, err
90
- }
91
- return out, nil
92
- }
93
-
94
- func (c *purchaseRequisitionTrxServiceClient) GetPurchaseRequisitionWithTrxId(ctx context.Context, in *GetPurchaseRequisitionTrxDetailByIdRequest, opts ...grpc.CallOption) (*GetPurchaseRequisitionTrxDetailByIdResponse, error) {
95
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
96
- out := new(GetPurchaseRequisitionTrxDetailByIdResponse)
97
- err := c.cc.Invoke(ctx, PurchaseRequisitionTrxService_GetPurchaseRequisitionWithTrxId_FullMethodName, in, out, cOpts...)
98
- if err != nil {
99
- return nil, err
100
- }
101
- return out, nil
102
- }
103
-
104
- func (c *purchaseRequisitionTrxServiceClient) GetPurchaseRequisitionWithTrxList(ctx context.Context, in *GetPurchaseRequisitionTrxDetailListRequest, opts ...grpc.CallOption) (*GetPurchaseRequisitionTrxDetailListResponse, error) {
105
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
106
- out := new(GetPurchaseRequisitionTrxDetailListResponse)
107
- err := c.cc.Invoke(ctx, PurchaseRequisitionTrxService_GetPurchaseRequisitionWithTrxList_FullMethodName, in, out, cOpts...)
108
- if err != nil {
109
- return nil, err
110
- }
111
- return out, nil
112
- }
113
-
114
- func (c *purchaseRequisitionTrxServiceClient) GetPurchaseRequisitionWithTrxListTable(ctx context.Context, in *GetPurchaseRequisitionTrxDetailListDetailRequest, opts ...grpc.CallOption) (*GetPurchaseRequisitionTrxDetailListTableResponse, error) {
115
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
116
- out := new(GetPurchaseRequisitionTrxDetailListTableResponse)
117
- err := c.cc.Invoke(ctx, PurchaseRequisitionTrxService_GetPurchaseRequisitionWithTrxListTable_FullMethodName, in, out, cOpts...)
118
- if err != nil {
119
- return nil, err
120
- }
121
- return out, nil
122
- }
123
-
124
- func (c *purchaseRequisitionTrxServiceClient) GetPurchaseRequisitionWithTrxListDetail(ctx context.Context, in *GetPurchaseRequisitionTrxDetailListDetailRequest, opts ...grpc.CallOption) (*GetPurchaseRequisitionTrxDetailListDetailResponse, error) {
125
- cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
126
- out := new(GetPurchaseRequisitionTrxDetailListDetailResponse)
127
- err := c.cc.Invoke(ctx, PurchaseRequisitionTrxService_GetPurchaseRequisitionWithTrxListDetail_FullMethodName, in, out, cOpts...)
128
- if err != nil {
129
- return nil, err
130
- }
131
- return out, nil
132
- }
133
-
134
- // PurchaseRequisitionTrxServiceServer is the server API for PurchaseRequisitionTrxService service.
135
- // All implementations must embed UnimplementedPurchaseRequisitionTrxServiceServer
136
- // for forward compatibility.
137
- type PurchaseRequisitionTrxServiceServer interface {
138
- CreatePurchaseRequisitionTrx(context.Context, *CreatePurchaseRequisitionTrxRequest) (*CreatePurchaseRequisitionTrxResponse, error)
139
- UpdatePurchaseRequisitionTrx(context.Context, *UpdatePurchaseRequisitionTrxRequest) (*UpdatePurchaseRequisitionTrxResponse, error)
140
- GetPurchaseRequisitionTrxById(context.Context, *GetPurchaseRequisitionTrxByIdRequest) (*GetPurchaseRequisitionTrxByIdResponse, error)
141
- GetPurchaseRequisitionTrxList(context.Context, *GetPurchaseRequisitionTrxListRequest) (*GetPurchaseRequisitionTrxListResponse, error)
142
- GetPurchaseRequisitionWithTrxId(context.Context, *GetPurchaseRequisitionTrxDetailByIdRequest) (*GetPurchaseRequisitionTrxDetailByIdResponse, error)
143
- GetPurchaseRequisitionWithTrxList(context.Context, *GetPurchaseRequisitionTrxDetailListRequest) (*GetPurchaseRequisitionTrxDetailListResponse, error)
144
- GetPurchaseRequisitionWithTrxListTable(context.Context, *GetPurchaseRequisitionTrxDetailListDetailRequest) (*GetPurchaseRequisitionTrxDetailListTableResponse, error)
145
- GetPurchaseRequisitionWithTrxListDetail(context.Context, *GetPurchaseRequisitionTrxDetailListDetailRequest) (*GetPurchaseRequisitionTrxDetailListDetailResponse, error)
146
- mustEmbedUnimplementedPurchaseRequisitionTrxServiceServer()
147
- }
148
-
149
- // UnimplementedPurchaseRequisitionTrxServiceServer must be embedded to have
150
- // forward compatible implementations.
151
- //
152
- // NOTE: this should be embedded by value instead of pointer to avoid a nil
153
- // pointer dereference when methods are called.
154
- type UnimplementedPurchaseRequisitionTrxServiceServer struct{}
155
-
156
- func (UnimplementedPurchaseRequisitionTrxServiceServer) CreatePurchaseRequisitionTrx(context.Context, *CreatePurchaseRequisitionTrxRequest) (*CreatePurchaseRequisitionTrxResponse, error) {
157
- return nil, status.Errorf(codes.Unimplemented, "method CreatePurchaseRequisitionTrx not implemented")
158
- }
159
- func (UnimplementedPurchaseRequisitionTrxServiceServer) UpdatePurchaseRequisitionTrx(context.Context, *UpdatePurchaseRequisitionTrxRequest) (*UpdatePurchaseRequisitionTrxResponse, error) {
160
- return nil, status.Errorf(codes.Unimplemented, "method UpdatePurchaseRequisitionTrx not implemented")
161
- }
162
- func (UnimplementedPurchaseRequisitionTrxServiceServer) GetPurchaseRequisitionTrxById(context.Context, *GetPurchaseRequisitionTrxByIdRequest) (*GetPurchaseRequisitionTrxByIdResponse, error) {
163
- return nil, status.Errorf(codes.Unimplemented, "method GetPurchaseRequisitionTrxById not implemented")
164
- }
165
- func (UnimplementedPurchaseRequisitionTrxServiceServer) GetPurchaseRequisitionTrxList(context.Context, *GetPurchaseRequisitionTrxListRequest) (*GetPurchaseRequisitionTrxListResponse, error) {
166
- return nil, status.Errorf(codes.Unimplemented, "method GetPurchaseRequisitionTrxList not implemented")
167
- }
168
- func (UnimplementedPurchaseRequisitionTrxServiceServer) GetPurchaseRequisitionWithTrxId(context.Context, *GetPurchaseRequisitionTrxDetailByIdRequest) (*GetPurchaseRequisitionTrxDetailByIdResponse, error) {
169
- return nil, status.Errorf(codes.Unimplemented, "method GetPurchaseRequisitionWithTrxId not implemented")
170
- }
171
- func (UnimplementedPurchaseRequisitionTrxServiceServer) GetPurchaseRequisitionWithTrxList(context.Context, *GetPurchaseRequisitionTrxDetailListRequest) (*GetPurchaseRequisitionTrxDetailListResponse, error) {
172
- return nil, status.Errorf(codes.Unimplemented, "method GetPurchaseRequisitionWithTrxList not implemented")
173
- }
174
- func (UnimplementedPurchaseRequisitionTrxServiceServer) GetPurchaseRequisitionWithTrxListTable(context.Context, *GetPurchaseRequisitionTrxDetailListDetailRequest) (*GetPurchaseRequisitionTrxDetailListTableResponse, error) {
175
- return nil, status.Errorf(codes.Unimplemented, "method GetPurchaseRequisitionWithTrxListTable not implemented")
176
- }
177
- func (UnimplementedPurchaseRequisitionTrxServiceServer) GetPurchaseRequisitionWithTrxListDetail(context.Context, *GetPurchaseRequisitionTrxDetailListDetailRequest) (*GetPurchaseRequisitionTrxDetailListDetailResponse, error) {
178
- return nil, status.Errorf(codes.Unimplemented, "method GetPurchaseRequisitionWithTrxListDetail not implemented")
179
- }
180
- func (UnimplementedPurchaseRequisitionTrxServiceServer) mustEmbedUnimplementedPurchaseRequisitionTrxServiceServer() {
181
- }
182
- func (UnimplementedPurchaseRequisitionTrxServiceServer) testEmbeddedByValue() {}
183
-
184
- // UnsafePurchaseRequisitionTrxServiceServer may be embedded to opt out of forward compatibility for this service.
185
- // Use of this interface is not recommended, as added methods to PurchaseRequisitionTrxServiceServer will
186
- // result in compilation errors.
187
- type UnsafePurchaseRequisitionTrxServiceServer interface {
188
- mustEmbedUnimplementedPurchaseRequisitionTrxServiceServer()
189
- }
190
-
191
- func RegisterPurchaseRequisitionTrxServiceServer(s grpc.ServiceRegistrar, srv PurchaseRequisitionTrxServiceServer) {
192
- // If the following call pancis, it indicates UnimplementedPurchaseRequisitionTrxServiceServer was
193
- // embedded by pointer and is nil. This will cause panics if an
194
- // unimplemented method is ever invoked, so we test this at initialization
195
- // time to prevent it from happening at runtime later due to I/O.
196
- if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
197
- t.testEmbeddedByValue()
198
- }
199
- s.RegisterService(&PurchaseRequisitionTrxService_ServiceDesc, srv)
200
- }
201
-
202
- func _PurchaseRequisitionTrxService_CreatePurchaseRequisitionTrx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
203
- in := new(CreatePurchaseRequisitionTrxRequest)
204
- if err := dec(in); err != nil {
205
- return nil, err
206
- }
207
- if interceptor == nil {
208
- return srv.(PurchaseRequisitionTrxServiceServer).CreatePurchaseRequisitionTrx(ctx, in)
209
- }
210
- info := &grpc.UnaryServerInfo{
211
- Server: srv,
212
- FullMethod: PurchaseRequisitionTrxService_CreatePurchaseRequisitionTrx_FullMethodName,
213
- }
214
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
215
- return srv.(PurchaseRequisitionTrxServiceServer).CreatePurchaseRequisitionTrx(ctx, req.(*CreatePurchaseRequisitionTrxRequest))
216
- }
217
- return interceptor(ctx, in, info, handler)
218
- }
219
-
220
- func _PurchaseRequisitionTrxService_UpdatePurchaseRequisitionTrx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
221
- in := new(UpdatePurchaseRequisitionTrxRequest)
222
- if err := dec(in); err != nil {
223
- return nil, err
224
- }
225
- if interceptor == nil {
226
- return srv.(PurchaseRequisitionTrxServiceServer).UpdatePurchaseRequisitionTrx(ctx, in)
227
- }
228
- info := &grpc.UnaryServerInfo{
229
- Server: srv,
230
- FullMethod: PurchaseRequisitionTrxService_UpdatePurchaseRequisitionTrx_FullMethodName,
231
- }
232
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
233
- return srv.(PurchaseRequisitionTrxServiceServer).UpdatePurchaseRequisitionTrx(ctx, req.(*UpdatePurchaseRequisitionTrxRequest))
234
- }
235
- return interceptor(ctx, in, info, handler)
236
- }
237
-
238
- func _PurchaseRequisitionTrxService_GetPurchaseRequisitionTrxById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
239
- in := new(GetPurchaseRequisitionTrxByIdRequest)
240
- if err := dec(in); err != nil {
241
- return nil, err
242
- }
243
- if interceptor == nil {
244
- return srv.(PurchaseRequisitionTrxServiceServer).GetPurchaseRequisitionTrxById(ctx, in)
245
- }
246
- info := &grpc.UnaryServerInfo{
247
- Server: srv,
248
- FullMethod: PurchaseRequisitionTrxService_GetPurchaseRequisitionTrxById_FullMethodName,
249
- }
250
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
251
- return srv.(PurchaseRequisitionTrxServiceServer).GetPurchaseRequisitionTrxById(ctx, req.(*GetPurchaseRequisitionTrxByIdRequest))
252
- }
253
- return interceptor(ctx, in, info, handler)
254
- }
255
-
256
- func _PurchaseRequisitionTrxService_GetPurchaseRequisitionTrxList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
257
- in := new(GetPurchaseRequisitionTrxListRequest)
258
- if err := dec(in); err != nil {
259
- return nil, err
260
- }
261
- if interceptor == nil {
262
- return srv.(PurchaseRequisitionTrxServiceServer).GetPurchaseRequisitionTrxList(ctx, in)
263
- }
264
- info := &grpc.UnaryServerInfo{
265
- Server: srv,
266
- FullMethod: PurchaseRequisitionTrxService_GetPurchaseRequisitionTrxList_FullMethodName,
267
- }
268
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
269
- return srv.(PurchaseRequisitionTrxServiceServer).GetPurchaseRequisitionTrxList(ctx, req.(*GetPurchaseRequisitionTrxListRequest))
270
- }
271
- return interceptor(ctx, in, info, handler)
272
- }
273
-
274
- func _PurchaseRequisitionTrxService_GetPurchaseRequisitionWithTrxId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
275
- in := new(GetPurchaseRequisitionTrxDetailByIdRequest)
276
- if err := dec(in); err != nil {
277
- return nil, err
278
- }
279
- if interceptor == nil {
280
- return srv.(PurchaseRequisitionTrxServiceServer).GetPurchaseRequisitionWithTrxId(ctx, in)
281
- }
282
- info := &grpc.UnaryServerInfo{
283
- Server: srv,
284
- FullMethod: PurchaseRequisitionTrxService_GetPurchaseRequisitionWithTrxId_FullMethodName,
285
- }
286
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
287
- return srv.(PurchaseRequisitionTrxServiceServer).GetPurchaseRequisitionWithTrxId(ctx, req.(*GetPurchaseRequisitionTrxDetailByIdRequest))
288
- }
289
- return interceptor(ctx, in, info, handler)
290
- }
291
-
292
- func _PurchaseRequisitionTrxService_GetPurchaseRequisitionWithTrxList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
293
- in := new(GetPurchaseRequisitionTrxDetailListRequest)
294
- if err := dec(in); err != nil {
295
- return nil, err
296
- }
297
- if interceptor == nil {
298
- return srv.(PurchaseRequisitionTrxServiceServer).GetPurchaseRequisitionWithTrxList(ctx, in)
299
- }
300
- info := &grpc.UnaryServerInfo{
301
- Server: srv,
302
- FullMethod: PurchaseRequisitionTrxService_GetPurchaseRequisitionWithTrxList_FullMethodName,
303
- }
304
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
305
- return srv.(PurchaseRequisitionTrxServiceServer).GetPurchaseRequisitionWithTrxList(ctx, req.(*GetPurchaseRequisitionTrxDetailListRequest))
306
- }
307
- return interceptor(ctx, in, info, handler)
308
- }
309
-
310
- func _PurchaseRequisitionTrxService_GetPurchaseRequisitionWithTrxListTable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
311
- in := new(GetPurchaseRequisitionTrxDetailListDetailRequest)
312
- if err := dec(in); err != nil {
313
- return nil, err
314
- }
315
- if interceptor == nil {
316
- return srv.(PurchaseRequisitionTrxServiceServer).GetPurchaseRequisitionWithTrxListTable(ctx, in)
317
- }
318
- info := &grpc.UnaryServerInfo{
319
- Server: srv,
320
- FullMethod: PurchaseRequisitionTrxService_GetPurchaseRequisitionWithTrxListTable_FullMethodName,
321
- }
322
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
323
- return srv.(PurchaseRequisitionTrxServiceServer).GetPurchaseRequisitionWithTrxListTable(ctx, req.(*GetPurchaseRequisitionTrxDetailListDetailRequest))
324
- }
325
- return interceptor(ctx, in, info, handler)
326
- }
327
-
328
- func _PurchaseRequisitionTrxService_GetPurchaseRequisitionWithTrxListDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
329
- in := new(GetPurchaseRequisitionTrxDetailListDetailRequest)
330
- if err := dec(in); err != nil {
331
- return nil, err
332
- }
333
- if interceptor == nil {
334
- return srv.(PurchaseRequisitionTrxServiceServer).GetPurchaseRequisitionWithTrxListDetail(ctx, in)
335
- }
336
- info := &grpc.UnaryServerInfo{
337
- Server: srv,
338
- FullMethod: PurchaseRequisitionTrxService_GetPurchaseRequisitionWithTrxListDetail_FullMethodName,
339
- }
340
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
341
- return srv.(PurchaseRequisitionTrxServiceServer).GetPurchaseRequisitionWithTrxListDetail(ctx, req.(*GetPurchaseRequisitionTrxDetailListDetailRequest))
342
- }
343
- return interceptor(ctx, in, info, handler)
344
- }
345
-
346
- // PurchaseRequisitionTrxService_ServiceDesc is the grpc.ServiceDesc for PurchaseRequisitionTrxService service.
347
- // It's only intended for direct use with grpc.RegisterService,
348
- // and not to be introspected or modified (even as a copy)
349
- var PurchaseRequisitionTrxService_ServiceDesc = grpc.ServiceDesc{
350
- ServiceName: "PurchaseRequisitionTrxService",
351
- HandlerType: (*PurchaseRequisitionTrxServiceServer)(nil),
352
- Methods: []grpc.MethodDesc{
353
- {
354
- MethodName: "CreatePurchaseRequisitionTrx",
355
- Handler: _PurchaseRequisitionTrxService_CreatePurchaseRequisitionTrx_Handler,
356
- },
357
- {
358
- MethodName: "UpdatePurchaseRequisitionTrx",
359
- Handler: _PurchaseRequisitionTrxService_UpdatePurchaseRequisitionTrx_Handler,
360
- },
361
- {
362
- MethodName: "GetPurchaseRequisitionTrxById",
363
- Handler: _PurchaseRequisitionTrxService_GetPurchaseRequisitionTrxById_Handler,
364
- },
365
- {
366
- MethodName: "GetPurchaseRequisitionTrxList",
367
- Handler: _PurchaseRequisitionTrxService_GetPurchaseRequisitionTrxList_Handler,
368
- },
369
- {
370
- MethodName: "GetPurchaseRequisitionWithTrxId",
371
- Handler: _PurchaseRequisitionTrxService_GetPurchaseRequisitionWithTrxId_Handler,
372
- },
373
- {
374
- MethodName: "GetPurchaseRequisitionWithTrxList",
375
- Handler: _PurchaseRequisitionTrxService_GetPurchaseRequisitionWithTrxList_Handler,
376
- },
377
- {
378
- MethodName: "GetPurchaseRequisitionWithTrxListTable",
379
- Handler: _PurchaseRequisitionTrxService_GetPurchaseRequisitionWithTrxListTable_Handler,
380
- },
381
- {
382
- MethodName: "GetPurchaseRequisitionWithTrxListDetail",
383
- Handler: _PurchaseRequisitionTrxService_GetPurchaseRequisitionWithTrxListDetail_Handler,
384
- },
385
- },
386
- Streams: []grpc.StreamDesc{},
387
- Metadata: "prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx.proto",
388
- }
@@ -1,141 +0,0 @@
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/recipient_roles/recipient_roles.proto
6
-
7
- package recipient_roles
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 RecipientRoles struct {
24
- state protoimpl.MessageState `protogen:"open.v1"`
25
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
26
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
27
- unknownFields protoimpl.UnknownFields
28
- sizeCache protoimpl.SizeCache
29
- }
30
-
31
- func (x *RecipientRoles) Reset() {
32
- *x = RecipientRoles{}
33
- mi := &file_prisca_v1_core_recipient_roles_recipient_roles_proto_msgTypes[0]
34
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
35
- ms.StoreMessageInfo(mi)
36
- }
37
-
38
- func (x *RecipientRoles) String() string {
39
- return protoimpl.X.MessageStringOf(x)
40
- }
41
-
42
- func (*RecipientRoles) ProtoMessage() {}
43
-
44
- func (x *RecipientRoles) ProtoReflect() protoreflect.Message {
45
- mi := &file_prisca_v1_core_recipient_roles_recipient_roles_proto_msgTypes[0]
46
- if x != nil {
47
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
48
- if ms.LoadMessageInfo() == nil {
49
- ms.StoreMessageInfo(mi)
50
- }
51
- return ms
52
- }
53
- return mi.MessageOf(x)
54
- }
55
-
56
- // Deprecated: Use RecipientRoles.ProtoReflect.Descriptor instead.
57
- func (*RecipientRoles) Descriptor() ([]byte, []int) {
58
- return file_prisca_v1_core_recipient_roles_recipient_roles_proto_rawDescGZIP(), []int{0}
59
- }
60
-
61
- func (x *RecipientRoles) GetId() int64 {
62
- if x != nil {
63
- return x.Id
64
- }
65
- return 0
66
- }
67
-
68
- func (x *RecipientRoles) GetDescription() string {
69
- if x != nil {
70
- return x.Description
71
- }
72
- return ""
73
- }
74
-
75
- var File_prisca_v1_core_recipient_roles_recipient_roles_proto protoreflect.FileDescriptor
76
-
77
- var file_prisca_v1_core_recipient_roles_recipient_roles_proto_rawDesc = []byte{
78
- 0x0a, 0x34, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x72, 0x65,
79
- 0x2f, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x73,
80
- 0x2f, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x73,
81
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x42, 0x0a, 0x0e, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69,
82
- 0x65, 0x6e, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
83
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63,
84
- 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64,
85
- 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x57, 0x5a, 0x55, 0x67, 0x69,
86
- 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61,
87
- 0x5f, 0x73, 0x6d, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2d, 0x76, 0x32, 0x2d, 0x63, 0x6f,
88
- 0x72, 0x65, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
89
- 0x63, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63,
90
- 0x6f, 0x72, 0x65, 0x2f, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x6f,
91
- 0x6c, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
92
- }
93
-
94
- var (
95
- file_prisca_v1_core_recipient_roles_recipient_roles_proto_rawDescOnce sync.Once
96
- file_prisca_v1_core_recipient_roles_recipient_roles_proto_rawDescData = file_prisca_v1_core_recipient_roles_recipient_roles_proto_rawDesc
97
- )
98
-
99
- func file_prisca_v1_core_recipient_roles_recipient_roles_proto_rawDescGZIP() []byte {
100
- file_prisca_v1_core_recipient_roles_recipient_roles_proto_rawDescOnce.Do(func() {
101
- file_prisca_v1_core_recipient_roles_recipient_roles_proto_rawDescData = protoimpl.X.CompressGZIP(file_prisca_v1_core_recipient_roles_recipient_roles_proto_rawDescData)
102
- })
103
- return file_prisca_v1_core_recipient_roles_recipient_roles_proto_rawDescData
104
- }
105
-
106
- var file_prisca_v1_core_recipient_roles_recipient_roles_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
107
- var file_prisca_v1_core_recipient_roles_recipient_roles_proto_goTypes = []any{
108
- (*RecipientRoles)(nil), // 0: RecipientRoles
109
- }
110
- var file_prisca_v1_core_recipient_roles_recipient_roles_proto_depIdxs = []int32{
111
- 0, // [0:0] is the sub-list for method output_type
112
- 0, // [0:0] is the sub-list for method input_type
113
- 0, // [0:0] is the sub-list for extension type_name
114
- 0, // [0:0] is the sub-list for extension extendee
115
- 0, // [0:0] is the sub-list for field type_name
116
- }
117
-
118
- func init() { file_prisca_v1_core_recipient_roles_recipient_roles_proto_init() }
119
- func file_prisca_v1_core_recipient_roles_recipient_roles_proto_init() {
120
- if File_prisca_v1_core_recipient_roles_recipient_roles_proto != nil {
121
- return
122
- }
123
- type x struct{}
124
- out := protoimpl.TypeBuilder{
125
- File: protoimpl.DescBuilder{
126
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
127
- RawDescriptor: file_prisca_v1_core_recipient_roles_recipient_roles_proto_rawDesc,
128
- NumEnums: 0,
129
- NumMessages: 1,
130
- NumExtensions: 0,
131
- NumServices: 0,
132
- },
133
- GoTypes: file_prisca_v1_core_recipient_roles_recipient_roles_proto_goTypes,
134
- DependencyIndexes: file_prisca_v1_core_recipient_roles_recipient_roles_proto_depIdxs,
135
- MessageInfos: file_prisca_v1_core_recipient_roles_recipient_roles_proto_msgTypes,
136
- }.Build()
137
- File_prisca_v1_core_recipient_roles_recipient_roles_proto = out.File
138
- file_prisca_v1_core_recipient_roles_recipient_roles_proto_rawDesc = nil
139
- file_prisca_v1_core_recipient_roles_recipient_roles_proto_goTypes = nil
140
- file_prisca_v1_core_recipient_roles_recipient_roles_proto_depIdxs = nil
141
- }