@aldiokta/protocgen 1.0.20 → 1.0.22

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 +179 -0
  43. package/prisca/v1/core/work_location/work_location_pb.js +3972 -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,916 +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/number_range/number_range.proto
6
-
7
- package number_range
8
-
9
- import (
10
- meta "gitlab.com/integra_sm/prisca-v2-core-service/protocgen/prisca/v1/global/meta"
11
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13
- reflect "reflect"
14
- sync "sync"
15
- )
16
-
17
- const (
18
- // Verify that this generated code is sufficiently up-to-date.
19
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20
- // Verify that runtime/protoimpl is sufficiently up-to-date.
21
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22
- )
23
-
24
- type NumberRange struct {
25
- state protoimpl.MessageState `protogen:"open.v1"`
26
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
27
- No string `protobuf:"bytes,2,opt,name=no,proto3" json:"no,omitempty"`
28
- FromNumber string `protobuf:"bytes,3,opt,name=from_number,json=fromNumber,proto3" json:"from_number,omitempty"`
29
- ToNumber string `protobuf:"bytes,4,opt,name=to_number,json=toNumber,proto3" json:"to_number,omitempty"`
30
- RangeStatus string `protobuf:"bytes,5,opt,name=range_status,json=rangeStatus,proto3" json:"range_status,omitempty"`
31
- External bool `protobuf:"varint,6,opt,name=external,proto3" json:"external,omitempty"`
32
- ReferencesId string `protobuf:"bytes,7,opt,name=references_id,json=referencesId,proto3" json:"references_id,omitempty"`
33
- CreatedAt string `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // ISO 8601
34
- UpdatedAt string `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // Nullable
35
- unknownFields protoimpl.UnknownFields
36
- sizeCache protoimpl.SizeCache
37
- }
38
-
39
- func (x *NumberRange) Reset() {
40
- *x = NumberRange{}
41
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[0]
42
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
43
- ms.StoreMessageInfo(mi)
44
- }
45
-
46
- func (x *NumberRange) String() string {
47
- return protoimpl.X.MessageStringOf(x)
48
- }
49
-
50
- func (*NumberRange) ProtoMessage() {}
51
-
52
- func (x *NumberRange) ProtoReflect() protoreflect.Message {
53
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[0]
54
- if x != nil {
55
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56
- if ms.LoadMessageInfo() == nil {
57
- ms.StoreMessageInfo(mi)
58
- }
59
- return ms
60
- }
61
- return mi.MessageOf(x)
62
- }
63
-
64
- // Deprecated: Use NumberRange.ProtoReflect.Descriptor instead.
65
- func (*NumberRange) Descriptor() ([]byte, []int) {
66
- return file_prisca_v1_core_number_range_number_range_proto_rawDescGZIP(), []int{0}
67
- }
68
-
69
- func (x *NumberRange) GetId() int64 {
70
- if x != nil {
71
- return x.Id
72
- }
73
- return 0
74
- }
75
-
76
- func (x *NumberRange) GetNo() string {
77
- if x != nil {
78
- return x.No
79
- }
80
- return ""
81
- }
82
-
83
- func (x *NumberRange) GetFromNumber() string {
84
- if x != nil {
85
- return x.FromNumber
86
- }
87
- return ""
88
- }
89
-
90
- func (x *NumberRange) GetToNumber() string {
91
- if x != nil {
92
- return x.ToNumber
93
- }
94
- return ""
95
- }
96
-
97
- func (x *NumberRange) GetRangeStatus() string {
98
- if x != nil {
99
- return x.RangeStatus
100
- }
101
- return ""
102
- }
103
-
104
- func (x *NumberRange) GetExternal() bool {
105
- if x != nil {
106
- return x.External
107
- }
108
- return false
109
- }
110
-
111
- func (x *NumberRange) GetReferencesId() string {
112
- if x != nil {
113
- return x.ReferencesId
114
- }
115
- return ""
116
- }
117
-
118
- func (x *NumberRange) GetCreatedAt() string {
119
- if x != nil {
120
- return x.CreatedAt
121
- }
122
- return ""
123
- }
124
-
125
- func (x *NumberRange) GetUpdatedAt() string {
126
- if x != nil {
127
- return x.UpdatedAt
128
- }
129
- return ""
130
- }
131
-
132
- // Request Messages
133
- type BaseNumberRangeRequest struct {
134
- state protoimpl.MessageState `protogen:"open.v1"`
135
- No string `protobuf:"bytes,1,opt,name=no,proto3" json:"no,omitempty"`
136
- FromNumber string `protobuf:"bytes,2,opt,name=from_number,json=fromNumber,proto3" json:"from_number,omitempty"`
137
- ToNumber string `protobuf:"bytes,3,opt,name=to_number,json=toNumber,proto3" json:"to_number,omitempty"`
138
- External bool `protobuf:"varint,4,opt,name=external,proto3" json:"external,omitempty"`
139
- unknownFields protoimpl.UnknownFields
140
- sizeCache protoimpl.SizeCache
141
- }
142
-
143
- func (x *BaseNumberRangeRequest) Reset() {
144
- *x = BaseNumberRangeRequest{}
145
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[1]
146
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
147
- ms.StoreMessageInfo(mi)
148
- }
149
-
150
- func (x *BaseNumberRangeRequest) String() string {
151
- return protoimpl.X.MessageStringOf(x)
152
- }
153
-
154
- func (*BaseNumberRangeRequest) ProtoMessage() {}
155
-
156
- func (x *BaseNumberRangeRequest) ProtoReflect() protoreflect.Message {
157
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[1]
158
- if x != nil {
159
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
160
- if ms.LoadMessageInfo() == nil {
161
- ms.StoreMessageInfo(mi)
162
- }
163
- return ms
164
- }
165
- return mi.MessageOf(x)
166
- }
167
-
168
- // Deprecated: Use BaseNumberRangeRequest.ProtoReflect.Descriptor instead.
169
- func (*BaseNumberRangeRequest) Descriptor() ([]byte, []int) {
170
- return file_prisca_v1_core_number_range_number_range_proto_rawDescGZIP(), []int{1}
171
- }
172
-
173
- func (x *BaseNumberRangeRequest) GetNo() string {
174
- if x != nil {
175
- return x.No
176
- }
177
- return ""
178
- }
179
-
180
- func (x *BaseNumberRangeRequest) GetFromNumber() string {
181
- if x != nil {
182
- return x.FromNumber
183
- }
184
- return ""
185
- }
186
-
187
- func (x *BaseNumberRangeRequest) GetToNumber() string {
188
- if x != nil {
189
- return x.ToNumber
190
- }
191
- return ""
192
- }
193
-
194
- func (x *BaseNumberRangeRequest) GetExternal() bool {
195
- if x != nil {
196
- return x.External
197
- }
198
- return false
199
- }
200
-
201
- type CreateNumberRangeRequest struct {
202
- state protoimpl.MessageState `protogen:"open.v1"`
203
- BaseNumberRange *BaseNumberRangeRequest `protobuf:"bytes,1,opt,name=base_number_range,json=baseNumberRange,proto3" json:"base_number_range,omitempty"`
204
- unknownFields protoimpl.UnknownFields
205
- sizeCache protoimpl.SizeCache
206
- }
207
-
208
- func (x *CreateNumberRangeRequest) Reset() {
209
- *x = CreateNumberRangeRequest{}
210
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[2]
211
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
212
- ms.StoreMessageInfo(mi)
213
- }
214
-
215
- func (x *CreateNumberRangeRequest) String() string {
216
- return protoimpl.X.MessageStringOf(x)
217
- }
218
-
219
- func (*CreateNumberRangeRequest) ProtoMessage() {}
220
-
221
- func (x *CreateNumberRangeRequest) ProtoReflect() protoreflect.Message {
222
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[2]
223
- if x != nil {
224
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
225
- if ms.LoadMessageInfo() == nil {
226
- ms.StoreMessageInfo(mi)
227
- }
228
- return ms
229
- }
230
- return mi.MessageOf(x)
231
- }
232
-
233
- // Deprecated: Use CreateNumberRangeRequest.ProtoReflect.Descriptor instead.
234
- func (*CreateNumberRangeRequest) Descriptor() ([]byte, []int) {
235
- return file_prisca_v1_core_number_range_number_range_proto_rawDescGZIP(), []int{2}
236
- }
237
-
238
- func (x *CreateNumberRangeRequest) GetBaseNumberRange() *BaseNumberRangeRequest {
239
- if x != nil {
240
- return x.BaseNumberRange
241
- }
242
- return nil
243
- }
244
-
245
- type UpdateNumberRangeRequest struct {
246
- state protoimpl.MessageState `protogen:"open.v1"`
247
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
248
- BaseNumberRange *BaseNumberRangeRequest `protobuf:"bytes,2,opt,name=base_number_range,json=baseNumberRange,proto3" json:"base_number_range,omitempty"`
249
- unknownFields protoimpl.UnknownFields
250
- sizeCache protoimpl.SizeCache
251
- }
252
-
253
- func (x *UpdateNumberRangeRequest) Reset() {
254
- *x = UpdateNumberRangeRequest{}
255
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[3]
256
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
257
- ms.StoreMessageInfo(mi)
258
- }
259
-
260
- func (x *UpdateNumberRangeRequest) String() string {
261
- return protoimpl.X.MessageStringOf(x)
262
- }
263
-
264
- func (*UpdateNumberRangeRequest) ProtoMessage() {}
265
-
266
- func (x *UpdateNumberRangeRequest) ProtoReflect() protoreflect.Message {
267
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[3]
268
- if x != nil {
269
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
270
- if ms.LoadMessageInfo() == nil {
271
- ms.StoreMessageInfo(mi)
272
- }
273
- return ms
274
- }
275
- return mi.MessageOf(x)
276
- }
277
-
278
- // Deprecated: Use UpdateNumberRangeRequest.ProtoReflect.Descriptor instead.
279
- func (*UpdateNumberRangeRequest) Descriptor() ([]byte, []int) {
280
- return file_prisca_v1_core_number_range_number_range_proto_rawDescGZIP(), []int{3}
281
- }
282
-
283
- func (x *UpdateNumberRangeRequest) GetId() int64 {
284
- if x != nil {
285
- return x.Id
286
- }
287
- return 0
288
- }
289
-
290
- func (x *UpdateNumberRangeRequest) GetBaseNumberRange() *BaseNumberRangeRequest {
291
- if x != nil {
292
- return x.BaseNumberRange
293
- }
294
- return nil
295
- }
296
-
297
- type DeleteNumberRangeRequest struct {
298
- state protoimpl.MessageState `protogen:"open.v1"`
299
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
300
- unknownFields protoimpl.UnknownFields
301
- sizeCache protoimpl.SizeCache
302
- }
303
-
304
- func (x *DeleteNumberRangeRequest) Reset() {
305
- *x = DeleteNumberRangeRequest{}
306
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[4]
307
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
308
- ms.StoreMessageInfo(mi)
309
- }
310
-
311
- func (x *DeleteNumberRangeRequest) String() string {
312
- return protoimpl.X.MessageStringOf(x)
313
- }
314
-
315
- func (*DeleteNumberRangeRequest) ProtoMessage() {}
316
-
317
- func (x *DeleteNumberRangeRequest) ProtoReflect() protoreflect.Message {
318
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[4]
319
- if x != nil {
320
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
321
- if ms.LoadMessageInfo() == nil {
322
- ms.StoreMessageInfo(mi)
323
- }
324
- return ms
325
- }
326
- return mi.MessageOf(x)
327
- }
328
-
329
- // Deprecated: Use DeleteNumberRangeRequest.ProtoReflect.Descriptor instead.
330
- func (*DeleteNumberRangeRequest) Descriptor() ([]byte, []int) {
331
- return file_prisca_v1_core_number_range_number_range_proto_rawDescGZIP(), []int{4}
332
- }
333
-
334
- func (x *DeleteNumberRangeRequest) GetId() int64 {
335
- if x != nil {
336
- return x.Id
337
- }
338
- return 0
339
- }
340
-
341
- type GetNumberRangeByIdRequest struct {
342
- state protoimpl.MessageState `protogen:"open.v1"`
343
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
344
- unknownFields protoimpl.UnknownFields
345
- sizeCache protoimpl.SizeCache
346
- }
347
-
348
- func (x *GetNumberRangeByIdRequest) Reset() {
349
- *x = GetNumberRangeByIdRequest{}
350
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[5]
351
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
352
- ms.StoreMessageInfo(mi)
353
- }
354
-
355
- func (x *GetNumberRangeByIdRequest) String() string {
356
- return protoimpl.X.MessageStringOf(x)
357
- }
358
-
359
- func (*GetNumberRangeByIdRequest) ProtoMessage() {}
360
-
361
- func (x *GetNumberRangeByIdRequest) ProtoReflect() protoreflect.Message {
362
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[5]
363
- if x != nil {
364
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
365
- if ms.LoadMessageInfo() == nil {
366
- ms.StoreMessageInfo(mi)
367
- }
368
- return ms
369
- }
370
- return mi.MessageOf(x)
371
- }
372
-
373
- // Deprecated: Use GetNumberRangeByIdRequest.ProtoReflect.Descriptor instead.
374
- func (*GetNumberRangeByIdRequest) Descriptor() ([]byte, []int) {
375
- return file_prisca_v1_core_number_range_number_range_proto_rawDescGZIP(), []int{5}
376
- }
377
-
378
- func (x *GetNumberRangeByIdRequest) GetId() int64 {
379
- if x != nil {
380
- return x.Id
381
- }
382
- return 0
383
- }
384
-
385
- type GetListNumberRangeRequest struct {
386
- state protoimpl.MessageState `protogen:"open.v1"`
387
- Pagination *meta.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
388
- Query *meta.FilterRequest `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
389
- unknownFields protoimpl.UnknownFields
390
- sizeCache protoimpl.SizeCache
391
- }
392
-
393
- func (x *GetListNumberRangeRequest) Reset() {
394
- *x = GetListNumberRangeRequest{}
395
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[6]
396
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
397
- ms.StoreMessageInfo(mi)
398
- }
399
-
400
- func (x *GetListNumberRangeRequest) String() string {
401
- return protoimpl.X.MessageStringOf(x)
402
- }
403
-
404
- func (*GetListNumberRangeRequest) ProtoMessage() {}
405
-
406
- func (x *GetListNumberRangeRequest) ProtoReflect() protoreflect.Message {
407
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[6]
408
- if x != nil {
409
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
410
- if ms.LoadMessageInfo() == nil {
411
- ms.StoreMessageInfo(mi)
412
- }
413
- return ms
414
- }
415
- return mi.MessageOf(x)
416
- }
417
-
418
- // Deprecated: Use GetListNumberRangeRequest.ProtoReflect.Descriptor instead.
419
- func (*GetListNumberRangeRequest) Descriptor() ([]byte, []int) {
420
- return file_prisca_v1_core_number_range_number_range_proto_rawDescGZIP(), []int{6}
421
- }
422
-
423
- func (x *GetListNumberRangeRequest) GetPagination() *meta.PaginationRequest {
424
- if x != nil {
425
- return x.Pagination
426
- }
427
- return nil
428
- }
429
-
430
- func (x *GetListNumberRangeRequest) GetQuery() *meta.FilterRequest {
431
- if x != nil {
432
- return x.Query
433
- }
434
- return nil
435
- }
436
-
437
- // Response Messages
438
- type CreateNumberRangeResponse struct {
439
- state protoimpl.MessageState `protogen:"open.v1"`
440
- NumberRange *NumberRange `protobuf:"bytes,1,opt,name=number_range,json=numberRange,proto3" json:"number_range,omitempty"`
441
- Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
442
- unknownFields protoimpl.UnknownFields
443
- sizeCache protoimpl.SizeCache
444
- }
445
-
446
- func (x *CreateNumberRangeResponse) Reset() {
447
- *x = CreateNumberRangeResponse{}
448
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[7]
449
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
450
- ms.StoreMessageInfo(mi)
451
- }
452
-
453
- func (x *CreateNumberRangeResponse) String() string {
454
- return protoimpl.X.MessageStringOf(x)
455
- }
456
-
457
- func (*CreateNumberRangeResponse) ProtoMessage() {}
458
-
459
- func (x *CreateNumberRangeResponse) ProtoReflect() protoreflect.Message {
460
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[7]
461
- if x != nil {
462
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
463
- if ms.LoadMessageInfo() == nil {
464
- ms.StoreMessageInfo(mi)
465
- }
466
- return ms
467
- }
468
- return mi.MessageOf(x)
469
- }
470
-
471
- // Deprecated: Use CreateNumberRangeResponse.ProtoReflect.Descriptor instead.
472
- func (*CreateNumberRangeResponse) Descriptor() ([]byte, []int) {
473
- return file_prisca_v1_core_number_range_number_range_proto_rawDescGZIP(), []int{7}
474
- }
475
-
476
- func (x *CreateNumberRangeResponse) GetNumberRange() *NumberRange {
477
- if x != nil {
478
- return x.NumberRange
479
- }
480
- return nil
481
- }
482
-
483
- func (x *CreateNumberRangeResponse) GetMeta() *meta.Meta {
484
- if x != nil {
485
- return x.Meta
486
- }
487
- return nil
488
- }
489
-
490
- type UpdateNumberRangeResponse struct {
491
- state protoimpl.MessageState `protogen:"open.v1"`
492
- NumberRange *NumberRange `protobuf:"bytes,1,opt,name=number_range,json=numberRange,proto3" json:"number_range,omitempty"`
493
- Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
494
- unknownFields protoimpl.UnknownFields
495
- sizeCache protoimpl.SizeCache
496
- }
497
-
498
- func (x *UpdateNumberRangeResponse) Reset() {
499
- *x = UpdateNumberRangeResponse{}
500
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[8]
501
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
502
- ms.StoreMessageInfo(mi)
503
- }
504
-
505
- func (x *UpdateNumberRangeResponse) String() string {
506
- return protoimpl.X.MessageStringOf(x)
507
- }
508
-
509
- func (*UpdateNumberRangeResponse) ProtoMessage() {}
510
-
511
- func (x *UpdateNumberRangeResponse) ProtoReflect() protoreflect.Message {
512
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[8]
513
- if x != nil {
514
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
515
- if ms.LoadMessageInfo() == nil {
516
- ms.StoreMessageInfo(mi)
517
- }
518
- return ms
519
- }
520
- return mi.MessageOf(x)
521
- }
522
-
523
- // Deprecated: Use UpdateNumberRangeResponse.ProtoReflect.Descriptor instead.
524
- func (*UpdateNumberRangeResponse) Descriptor() ([]byte, []int) {
525
- return file_prisca_v1_core_number_range_number_range_proto_rawDescGZIP(), []int{8}
526
- }
527
-
528
- func (x *UpdateNumberRangeResponse) GetNumberRange() *NumberRange {
529
- if x != nil {
530
- return x.NumberRange
531
- }
532
- return nil
533
- }
534
-
535
- func (x *UpdateNumberRangeResponse) GetMeta() *meta.Meta {
536
- if x != nil {
537
- return x.Meta
538
- }
539
- return nil
540
- }
541
-
542
- type DeleteNumberRangeResponse struct {
543
- state protoimpl.MessageState `protogen:"open.v1"`
544
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
545
- Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
546
- unknownFields protoimpl.UnknownFields
547
- sizeCache protoimpl.SizeCache
548
- }
549
-
550
- func (x *DeleteNumberRangeResponse) Reset() {
551
- *x = DeleteNumberRangeResponse{}
552
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[9]
553
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
554
- ms.StoreMessageInfo(mi)
555
- }
556
-
557
- func (x *DeleteNumberRangeResponse) String() string {
558
- return protoimpl.X.MessageStringOf(x)
559
- }
560
-
561
- func (*DeleteNumberRangeResponse) ProtoMessage() {}
562
-
563
- func (x *DeleteNumberRangeResponse) ProtoReflect() protoreflect.Message {
564
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[9]
565
- if x != nil {
566
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
567
- if ms.LoadMessageInfo() == nil {
568
- ms.StoreMessageInfo(mi)
569
- }
570
- return ms
571
- }
572
- return mi.MessageOf(x)
573
- }
574
-
575
- // Deprecated: Use DeleteNumberRangeResponse.ProtoReflect.Descriptor instead.
576
- func (*DeleteNumberRangeResponse) Descriptor() ([]byte, []int) {
577
- return file_prisca_v1_core_number_range_number_range_proto_rawDescGZIP(), []int{9}
578
- }
579
-
580
- func (x *DeleteNumberRangeResponse) GetId() int64 {
581
- if x != nil {
582
- return x.Id
583
- }
584
- return 0
585
- }
586
-
587
- func (x *DeleteNumberRangeResponse) GetMeta() *meta.Meta {
588
- if x != nil {
589
- return x.Meta
590
- }
591
- return nil
592
- }
593
-
594
- type GetNumberRangeByIdResponse struct {
595
- state protoimpl.MessageState `protogen:"open.v1"`
596
- NumberRange *NumberRange `protobuf:"bytes,1,opt,name=number_range,json=numberRange,proto3" json:"number_range,omitempty"`
597
- Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
598
- unknownFields protoimpl.UnknownFields
599
- sizeCache protoimpl.SizeCache
600
- }
601
-
602
- func (x *GetNumberRangeByIdResponse) Reset() {
603
- *x = GetNumberRangeByIdResponse{}
604
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[10]
605
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
606
- ms.StoreMessageInfo(mi)
607
- }
608
-
609
- func (x *GetNumberRangeByIdResponse) String() string {
610
- return protoimpl.X.MessageStringOf(x)
611
- }
612
-
613
- func (*GetNumberRangeByIdResponse) ProtoMessage() {}
614
-
615
- func (x *GetNumberRangeByIdResponse) ProtoReflect() protoreflect.Message {
616
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[10]
617
- if x != nil {
618
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
619
- if ms.LoadMessageInfo() == nil {
620
- ms.StoreMessageInfo(mi)
621
- }
622
- return ms
623
- }
624
- return mi.MessageOf(x)
625
- }
626
-
627
- // Deprecated: Use GetNumberRangeByIdResponse.ProtoReflect.Descriptor instead.
628
- func (*GetNumberRangeByIdResponse) Descriptor() ([]byte, []int) {
629
- return file_prisca_v1_core_number_range_number_range_proto_rawDescGZIP(), []int{10}
630
- }
631
-
632
- func (x *GetNumberRangeByIdResponse) GetNumberRange() *NumberRange {
633
- if x != nil {
634
- return x.NumberRange
635
- }
636
- return nil
637
- }
638
-
639
- func (x *GetNumberRangeByIdResponse) GetMeta() *meta.Meta {
640
- if x != nil {
641
- return x.Meta
642
- }
643
- return nil
644
- }
645
-
646
- type GetListNumberRangeResponse struct {
647
- state protoimpl.MessageState `protogen:"open.v1"`
648
- NumberRanges []*NumberRange `protobuf:"bytes,1,rep,name=number_ranges,json=numberRanges,proto3" json:"number_ranges,omitempty"`
649
- Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
650
- unknownFields protoimpl.UnknownFields
651
- sizeCache protoimpl.SizeCache
652
- }
653
-
654
- func (x *GetListNumberRangeResponse) Reset() {
655
- *x = GetListNumberRangeResponse{}
656
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[11]
657
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
658
- ms.StoreMessageInfo(mi)
659
- }
660
-
661
- func (x *GetListNumberRangeResponse) String() string {
662
- return protoimpl.X.MessageStringOf(x)
663
- }
664
-
665
- func (*GetListNumberRangeResponse) ProtoMessage() {}
666
-
667
- func (x *GetListNumberRangeResponse) ProtoReflect() protoreflect.Message {
668
- mi := &file_prisca_v1_core_number_range_number_range_proto_msgTypes[11]
669
- if x != nil {
670
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
671
- if ms.LoadMessageInfo() == nil {
672
- ms.StoreMessageInfo(mi)
673
- }
674
- return ms
675
- }
676
- return mi.MessageOf(x)
677
- }
678
-
679
- // Deprecated: Use GetListNumberRangeResponse.ProtoReflect.Descriptor instead.
680
- func (*GetListNumberRangeResponse) Descriptor() ([]byte, []int) {
681
- return file_prisca_v1_core_number_range_number_range_proto_rawDescGZIP(), []int{11}
682
- }
683
-
684
- func (x *GetListNumberRangeResponse) GetNumberRanges() []*NumberRange {
685
- if x != nil {
686
- return x.NumberRanges
687
- }
688
- return nil
689
- }
690
-
691
- func (x *GetListNumberRangeResponse) GetMeta() *meta.Meta {
692
- if x != nil {
693
- return x.Meta
694
- }
695
- return nil
696
- }
697
-
698
- var File_prisca_v1_core_number_range_number_range_proto protoreflect.FileDescriptor
699
-
700
- var file_prisca_v1_core_number_range_number_range_proto_rawDesc = []byte{
701
- 0x0a, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x72, 0x65,
702
- 0x2f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x2f, 0x6e, 0x75,
703
- 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
704
- 0x1a, 0x20, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x6c, 0x6f, 0x62,
705
- 0x61, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f,
706
- 0x74, 0x6f, 0x22, 0x8d, 0x02, 0x0a, 0x0b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e,
707
- 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02,
708
- 0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x6e, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
709
- 0x6e, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65,
710
- 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x4e, 0x75, 0x6d,
711
- 0x62, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72,
712
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72,
713
- 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
714
- 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x61,
715
- 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x18,
716
- 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x12,
717
- 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x69, 0x64,
718
- 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
719
- 0x65, 0x73, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f,
720
- 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
721
- 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61,
722
- 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64,
723
- 0x41, 0x74, 0x22, 0x82, 0x01, 0x0a, 0x16, 0x42, 0x61, 0x73, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65,
724
- 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a,
725
- 0x02, 0x6e, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x6e, 0x6f, 0x12, 0x1f, 0x0a,
726
- 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01,
727
- 0x28, 0x09, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1b,
728
- 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28,
729
- 0x09, 0x52, 0x08, 0x74, 0x6f, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x65,
730
- 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x65,
731
- 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x22, 0x5f, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74,
732
- 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75,
733
- 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x11, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62,
734
- 0x65, 0x72, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17,
735
- 0x2e, 0x42, 0x61, 0x73, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65,
736
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0f, 0x62, 0x61, 0x73, 0x65, 0x4e, 0x75, 0x6d,
737
- 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x6f, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61,
738
- 0x74, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71,
739
- 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
740
- 0x52, 0x02, 0x69, 0x64, 0x12, 0x43, 0x0a, 0x11, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6e, 0x75, 0x6d,
741
- 0x62, 0x65, 0x72, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
742
- 0x17, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67,
743
- 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0f, 0x62, 0x61, 0x73, 0x65, 0x4e, 0x75,
744
- 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x2a, 0x0a, 0x18, 0x44, 0x65, 0x6c,
745
- 0x65, 0x74, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65,
746
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
747
- 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0x2b, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x4e, 0x75, 0x6d, 0x62,
748
- 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65,
749
- 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02,
750
- 0x69, 0x64, 0x22, 0xa1, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x75,
751
- 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
752
- 0x12, 0x48, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01,
753
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31,
754
- 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x61, 0x67,
755
- 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a,
756
- 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x05, 0x71, 0x75,
757
- 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x69, 0x73,
758
- 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74,
759
- 0x61, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52,
760
- 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x7d, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
761
- 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
762
- 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x0c, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x72, 0x61,
763
- 0x6e, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x4e, 0x75, 0x6d, 0x62,
764
- 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0b, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52,
765
- 0x61, 0x6e, 0x67, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01,
766
- 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67,
767
- 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52,
768
- 0x04, 0x6d, 0x65, 0x74, 0x61, 0x22, 0x7d, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e,
769
- 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
770
- 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x0c, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x72, 0x61, 0x6e,
771
- 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65,
772
- 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0b, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61,
773
- 0x6e, 0x67, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28,
774
- 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c,
775
- 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04,
776
- 0x6d, 0x65, 0x74, 0x61, 0x22, 0x5c, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x75,
777
- 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
778
- 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69,
779
- 0x64, 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
780
- 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62,
781
- 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65,
782
- 0x74, 0x61, 0x22, 0x7e, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52,
783
- 0x61, 0x6e, 0x67, 0x65, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
784
- 0x12, 0x2f, 0x0a, 0x0c, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65,
785
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52,
786
- 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0b, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67,
787
- 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
788
- 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62,
789
- 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65,
790
- 0x74, 0x61, 0x22, 0x80, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x75,
791
- 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
792
- 0x65, 0x12, 0x31, 0x0a, 0x0d, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x72, 0x61, 0x6e, 0x67,
793
- 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x4e, 0x75, 0x6d, 0x62, 0x65,
794
- 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0c, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61,
795
- 0x6e, 0x67, 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01,
796
- 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67,
797
- 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52,
798
- 0x04, 0x6d, 0x65, 0x74, 0x61, 0x32, 0x97, 0x03, 0x0a, 0x12, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72,
799
- 0x52, 0x61, 0x6e, 0x67, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4a, 0x0a, 0x11,
800
- 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67,
801
- 0x65, 0x12, 0x19, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72,
802
- 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x43,
803
- 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65,
804
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61,
805
- 0x74, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x19, 0x2e,
806
- 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67,
807
- 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
808
- 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70,
809
- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x75,
810
- 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x19, 0x2e, 0x44, 0x65, 0x6c, 0x65,
811
- 0x74, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71,
812
- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x75, 0x6d,
813
- 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
814
- 0x12, 0x4d, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e,
815
- 0x67, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, 0x1a, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x75, 0x6d, 0x62,
816
- 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65,
817
- 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61,
818
- 0x6e, 0x67, 0x65, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
819
- 0x4e, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72,
820
- 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x1a, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74,
821
- 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
822
- 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x75, 0x6d, 0x62,
823
- 0x65, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42,
824
- 0x54, 0x5a, 0x52, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e,
825
- 0x74, 0x65, 0x67, 0x72, 0x61, 0x5f, 0x73, 0x6d, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2d,
826
- 0x76, 0x32, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f,
827
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61,
828
- 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f,
829
- 0x72, 0x61, 0x6e, 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
830
- }
831
-
832
- var (
833
- file_prisca_v1_core_number_range_number_range_proto_rawDescOnce sync.Once
834
- file_prisca_v1_core_number_range_number_range_proto_rawDescData = file_prisca_v1_core_number_range_number_range_proto_rawDesc
835
- )
836
-
837
- func file_prisca_v1_core_number_range_number_range_proto_rawDescGZIP() []byte {
838
- file_prisca_v1_core_number_range_number_range_proto_rawDescOnce.Do(func() {
839
- file_prisca_v1_core_number_range_number_range_proto_rawDescData = protoimpl.X.CompressGZIP(file_prisca_v1_core_number_range_number_range_proto_rawDescData)
840
- })
841
- return file_prisca_v1_core_number_range_number_range_proto_rawDescData
842
- }
843
-
844
- var file_prisca_v1_core_number_range_number_range_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
845
- var file_prisca_v1_core_number_range_number_range_proto_goTypes = []any{
846
- (*NumberRange)(nil), // 0: NumberRange
847
- (*BaseNumberRangeRequest)(nil), // 1: BaseNumberRangeRequest
848
- (*CreateNumberRangeRequest)(nil), // 2: CreateNumberRangeRequest
849
- (*UpdateNumberRangeRequest)(nil), // 3: UpdateNumberRangeRequest
850
- (*DeleteNumberRangeRequest)(nil), // 4: DeleteNumberRangeRequest
851
- (*GetNumberRangeByIdRequest)(nil), // 5: GetNumberRangeByIdRequest
852
- (*GetListNumberRangeRequest)(nil), // 6: GetListNumberRangeRequest
853
- (*CreateNumberRangeResponse)(nil), // 7: CreateNumberRangeResponse
854
- (*UpdateNumberRangeResponse)(nil), // 8: UpdateNumberRangeResponse
855
- (*DeleteNumberRangeResponse)(nil), // 9: DeleteNumberRangeResponse
856
- (*GetNumberRangeByIdResponse)(nil), // 10: GetNumberRangeByIdResponse
857
- (*GetListNumberRangeResponse)(nil), // 11: GetListNumberRangeResponse
858
- (*meta.PaginationRequest)(nil), // 12: prisca.v1.global.meta.PaginationRequest
859
- (*meta.FilterRequest)(nil), // 13: prisca.v1.global.meta.FilterRequest
860
- (*meta.Meta)(nil), // 14: prisca.v1.global.meta.Meta
861
- }
862
- var file_prisca_v1_core_number_range_number_range_proto_depIdxs = []int32{
863
- 1, // 0: CreateNumberRangeRequest.base_number_range:type_name -> BaseNumberRangeRequest
864
- 1, // 1: UpdateNumberRangeRequest.base_number_range:type_name -> BaseNumberRangeRequest
865
- 12, // 2: GetListNumberRangeRequest.pagination:type_name -> prisca.v1.global.meta.PaginationRequest
866
- 13, // 3: GetListNumberRangeRequest.query:type_name -> prisca.v1.global.meta.FilterRequest
867
- 0, // 4: CreateNumberRangeResponse.number_range:type_name -> NumberRange
868
- 14, // 5: CreateNumberRangeResponse.meta:type_name -> prisca.v1.global.meta.Meta
869
- 0, // 6: UpdateNumberRangeResponse.number_range:type_name -> NumberRange
870
- 14, // 7: UpdateNumberRangeResponse.meta:type_name -> prisca.v1.global.meta.Meta
871
- 14, // 8: DeleteNumberRangeResponse.meta:type_name -> prisca.v1.global.meta.Meta
872
- 0, // 9: GetNumberRangeByIdResponse.number_range:type_name -> NumberRange
873
- 14, // 10: GetNumberRangeByIdResponse.meta:type_name -> prisca.v1.global.meta.Meta
874
- 0, // 11: GetListNumberRangeResponse.number_ranges:type_name -> NumberRange
875
- 14, // 12: GetListNumberRangeResponse.meta:type_name -> prisca.v1.global.meta.Meta
876
- 2, // 13: NumberRangeService.CreateNumberRange:input_type -> CreateNumberRangeRequest
877
- 3, // 14: NumberRangeService.UpdateNumberRange:input_type -> UpdateNumberRangeRequest
878
- 4, // 15: NumberRangeService.DeleteNumberRange:input_type -> DeleteNumberRangeRequest
879
- 5, // 16: NumberRangeService.GetNumberRangeById:input_type -> GetNumberRangeByIdRequest
880
- 6, // 17: NumberRangeService.GetListNumberRanges:input_type -> GetListNumberRangeRequest
881
- 7, // 18: NumberRangeService.CreateNumberRange:output_type -> CreateNumberRangeResponse
882
- 8, // 19: NumberRangeService.UpdateNumberRange:output_type -> UpdateNumberRangeResponse
883
- 9, // 20: NumberRangeService.DeleteNumberRange:output_type -> DeleteNumberRangeResponse
884
- 10, // 21: NumberRangeService.GetNumberRangeById:output_type -> GetNumberRangeByIdResponse
885
- 11, // 22: NumberRangeService.GetListNumberRanges:output_type -> GetListNumberRangeResponse
886
- 18, // [18:23] is the sub-list for method output_type
887
- 13, // [13:18] is the sub-list for method input_type
888
- 13, // [13:13] is the sub-list for extension type_name
889
- 13, // [13:13] is the sub-list for extension extendee
890
- 0, // [0:13] is the sub-list for field type_name
891
- }
892
-
893
- func init() { file_prisca_v1_core_number_range_number_range_proto_init() }
894
- func file_prisca_v1_core_number_range_number_range_proto_init() {
895
- if File_prisca_v1_core_number_range_number_range_proto != nil {
896
- return
897
- }
898
- type x struct{}
899
- out := protoimpl.TypeBuilder{
900
- File: protoimpl.DescBuilder{
901
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
902
- RawDescriptor: file_prisca_v1_core_number_range_number_range_proto_rawDesc,
903
- NumEnums: 0,
904
- NumMessages: 12,
905
- NumExtensions: 0,
906
- NumServices: 1,
907
- },
908
- GoTypes: file_prisca_v1_core_number_range_number_range_proto_goTypes,
909
- DependencyIndexes: file_prisca_v1_core_number_range_number_range_proto_depIdxs,
910
- MessageInfos: file_prisca_v1_core_number_range_number_range_proto_msgTypes,
911
- }.Build()
912
- File_prisca_v1_core_number_range_number_range_proto = out.File
913
- file_prisca_v1_core_number_range_number_range_proto_rawDesc = nil
914
- file_prisca_v1_core_number_range_number_range_proto_goTypes = nil
915
- file_prisca_v1_core_number_range_number_range_proto_depIdxs = nil
916
- }