@kernelminds/scailo-sdk 0.0.111 → 0.0.113

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 (73) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +148 -0
  3. package/lib/cjs/index.js +0 -1
  4. package/lib/cjs/src/base.scailo_pb.js +42 -0
  5. package/lib/cjs/src/components.scailo_pb.js +36 -0
  6. package/lib/cjs/src/equipments.scailo_pb.js +36 -0
  7. package/lib/cjs/src/feedstocks.scailo_pb.js +36 -0
  8. package/lib/cjs/src/infrastructures.scailo_pb.js +36 -0
  9. package/lib/cjs/src/merchandises.scailo_pb.js +36 -0
  10. package/lib/cjs/src/products.scailo_pb.js +36 -0
  11. package/lib/cjs/src/vault_commons.scailo_pb.js +2 -2
  12. package/lib/cjs/types/index.d.ts +0 -1
  13. package/lib/cjs/types/index.d.ts.map +1 -1
  14. package/lib/cjs/types/src/base.scailo_pb.d.ts +37 -1
  15. package/lib/cjs/types/src/base.scailo_pb.d.ts.map +1 -1
  16. package/lib/cjs/types/src/components.scailo_pb.d.ts +31 -0
  17. package/lib/cjs/types/src/components.scailo_pb.d.ts.map +1 -1
  18. package/lib/cjs/types/src/equipments.scailo_pb.d.ts +31 -0
  19. package/lib/cjs/types/src/equipments.scailo_pb.d.ts.map +1 -1
  20. package/lib/cjs/types/src/feedstocks.scailo_pb.d.ts +31 -0
  21. package/lib/cjs/types/src/feedstocks.scailo_pb.d.ts.map +1 -1
  22. package/lib/cjs/types/src/infrastructures.scailo_pb.d.ts +31 -0
  23. package/lib/cjs/types/src/infrastructures.scailo_pb.d.ts.map +1 -1
  24. package/lib/cjs/types/src/merchandises.scailo_pb.d.ts +31 -0
  25. package/lib/cjs/types/src/merchandises.scailo_pb.d.ts.map +1 -1
  26. package/lib/cjs/types/src/products.scailo_pb.d.ts +31 -0
  27. package/lib/cjs/types/src/products.scailo_pb.d.ts.map +1 -1
  28. package/lib/cjs/types/src/vault_commons.scailo_pb.d.ts +2 -2
  29. package/lib/esm/index.js +0 -1
  30. package/lib/esm/src/base.scailo_pb.js +42 -0
  31. package/lib/esm/src/components.scailo_pb.js +36 -0
  32. package/lib/esm/src/equipments.scailo_pb.js +36 -0
  33. package/lib/esm/src/feedstocks.scailo_pb.js +36 -0
  34. package/lib/esm/src/infrastructures.scailo_pb.js +36 -0
  35. package/lib/esm/src/merchandises.scailo_pb.js +36 -0
  36. package/lib/esm/src/products.scailo_pb.js +36 -0
  37. package/lib/esm/src/vault_commons.scailo_pb.js +2 -2
  38. package/lib/esm/types/index.d.ts +0 -1
  39. package/lib/esm/types/index.d.ts.map +1 -1
  40. package/lib/esm/types/src/base.scailo_pb.d.ts +37 -1
  41. package/lib/esm/types/src/base.scailo_pb.d.ts.map +1 -1
  42. package/lib/esm/types/src/components.scailo_pb.d.ts +31 -0
  43. package/lib/esm/types/src/components.scailo_pb.d.ts.map +1 -1
  44. package/lib/esm/types/src/equipments.scailo_pb.d.ts +31 -0
  45. package/lib/esm/types/src/equipments.scailo_pb.d.ts.map +1 -1
  46. package/lib/esm/types/src/feedstocks.scailo_pb.d.ts +31 -0
  47. package/lib/esm/types/src/feedstocks.scailo_pb.d.ts.map +1 -1
  48. package/lib/esm/types/src/infrastructures.scailo_pb.d.ts +31 -0
  49. package/lib/esm/types/src/infrastructures.scailo_pb.d.ts.map +1 -1
  50. package/lib/esm/types/src/merchandises.scailo_pb.d.ts +31 -0
  51. package/lib/esm/types/src/merchandises.scailo_pb.d.ts.map +1 -1
  52. package/lib/esm/types/src/products.scailo_pb.d.ts +31 -0
  53. package/lib/esm/types/src/products.scailo_pb.d.ts.map +1 -1
  54. package/lib/esm/types/src/vault_commons.scailo_pb.d.ts +2 -2
  55. package/package.json +6 -6
  56. package/lib/cjs/src/genesis.validate.scailo_pb.js +0 -1141
  57. package/lib/cjs/src/google/protobuf/duration_pb.js +0 -183
  58. package/lib/cjs/src/google/protobuf/timestamp_pb.js +0 -227
  59. package/lib/cjs/types/src/genesis.validate.scailo_pb.d.ts +0 -1796
  60. package/lib/cjs/types/src/genesis.validate.scailo_pb.d.ts.map +0 -1
  61. package/lib/cjs/types/src/google/protobuf/duration_pb.d.ts +0 -97
  62. package/lib/cjs/types/src/google/protobuf/duration_pb.d.ts.map +0 -1
  63. package/lib/cjs/types/src/google/protobuf/timestamp_pb.d.ts +0 -129
  64. package/lib/cjs/types/src/google/protobuf/timestamp_pb.d.ts.map +0 -1
  65. package/lib/esm/src/genesis.validate.scailo_pb.js +0 -2045
  66. package/lib/esm/src/google/protobuf/duration_pb.js +0 -183
  67. package/lib/esm/src/google/protobuf/timestamp_pb.js +0 -227
  68. package/lib/esm/types/src/genesis.validate.scailo_pb.d.ts +0 -1796
  69. package/lib/esm/types/src/genesis.validate.scailo_pb.d.ts.map +0 -1
  70. package/lib/esm/types/src/google/protobuf/duration_pb.d.ts +0 -97
  71. package/lib/esm/types/src/google/protobuf/duration_pb.d.ts.map +0 -1
  72. package/lib/esm/types/src/google/protobuf/timestamp_pb.d.ts +0 -129
  73. package/lib/esm/types/src/google/protobuf/timestamp_pb.d.ts.map +0 -1
@@ -1,1796 +0,0 @@
1
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
- import { Message, proto2 } from "@bufbuild/protobuf";
3
- import { Duration } from "./google/protobuf/duration_pb.js";
4
- import { Timestamp } from "./google/protobuf/timestamp_pb.js";
5
- /**
6
- * WellKnownRegex contain some well-known patterns.
7
- *
8
- * @generated from enum genesis_validate.KnownRegex
9
- */
10
- export declare enum KnownRegex {
11
- /**
12
- * @generated from enum value: UNKNOWN = 0;
13
- */
14
- UNKNOWN = 0,
15
- /**
16
- * HTTP header name as defined by RFC 7230.
17
- *
18
- * @generated from enum value: HTTP_HEADER_NAME = 1;
19
- */
20
- HTTP_HEADER_NAME = 1,
21
- /**
22
- * HTTP header value as defined by RFC 7230.
23
- *
24
- * @generated from enum value: HTTP_HEADER_VALUE = 2;
25
- */
26
- HTTP_HEADER_VALUE = 2
27
- }
28
- /**
29
- * FieldRules encapsulates the rules for each type of field. Depending on the
30
- * field, the correct set should be used to ensure proper validations.
31
- *
32
- * @generated from message genesis_validate.FieldRules
33
- */
34
- export declare class FieldRules extends Message<FieldRules> {
35
- /**
36
- * @generated from field: optional genesis_validate.MessageRules message = 17;
37
- */
38
- message?: MessageRules;
39
- /**
40
- * @generated from oneof genesis_validate.FieldRules.type
41
- */
42
- type: {
43
- /**
44
- * Scalar Field Types
45
- *
46
- * @generated from field: genesis_validate.FloatRules float = 1;
47
- */
48
- value: FloatRules;
49
- case: "float";
50
- } | {
51
- /**
52
- * @generated from field: genesis_validate.DoubleRules double = 2;
53
- */
54
- value: DoubleRules;
55
- case: "double";
56
- } | {
57
- /**
58
- * @generated from field: genesis_validate.Int32Rules int32 = 3;
59
- */
60
- value: Int32Rules;
61
- case: "int32";
62
- } | {
63
- /**
64
- * @generated from field: genesis_validate.Int64Rules int64 = 4;
65
- */
66
- value: Int64Rules;
67
- case: "int64";
68
- } | {
69
- /**
70
- * @generated from field: genesis_validate.UInt32Rules uint32 = 5;
71
- */
72
- value: UInt32Rules;
73
- case: "uint32";
74
- } | {
75
- /**
76
- * @generated from field: genesis_validate.UInt64Rules uint64 = 6;
77
- */
78
- value: UInt64Rules;
79
- case: "uint64";
80
- } | {
81
- /**
82
- * @generated from field: genesis_validate.SInt32Rules sint32 = 7;
83
- */
84
- value: SInt32Rules;
85
- case: "sint32";
86
- } | {
87
- /**
88
- * @generated from field: genesis_validate.SInt64Rules sint64 = 8;
89
- */
90
- value: SInt64Rules;
91
- case: "sint64";
92
- } | {
93
- /**
94
- * @generated from field: genesis_validate.Fixed32Rules fixed32 = 9;
95
- */
96
- value: Fixed32Rules;
97
- case: "fixed32";
98
- } | {
99
- /**
100
- * @generated from field: genesis_validate.Fixed64Rules fixed64 = 10;
101
- */
102
- value: Fixed64Rules;
103
- case: "fixed64";
104
- } | {
105
- /**
106
- * @generated from field: genesis_validate.SFixed32Rules sfixed32 = 11;
107
- */
108
- value: SFixed32Rules;
109
- case: "sfixed32";
110
- } | {
111
- /**
112
- * @generated from field: genesis_validate.SFixed64Rules sfixed64 = 12;
113
- */
114
- value: SFixed64Rules;
115
- case: "sfixed64";
116
- } | {
117
- /**
118
- * @generated from field: genesis_validate.BoolRules bool = 13;
119
- */
120
- value: BoolRules;
121
- case: "bool";
122
- } | {
123
- /**
124
- * @generated from field: genesis_validate.StringRules string = 14;
125
- */
126
- value: StringRules;
127
- case: "string";
128
- } | {
129
- /**
130
- * @generated from field: genesis_validate.BytesRules bytes = 15;
131
- */
132
- value: BytesRules;
133
- case: "bytes";
134
- } | {
135
- /**
136
- * Complex Field Types
137
- *
138
- * @generated from field: genesis_validate.EnumRules enum = 16;
139
- */
140
- value: EnumRules;
141
- case: "enum";
142
- } | {
143
- /**
144
- * @generated from field: genesis_validate.RepeatedRules repeated = 18;
145
- */
146
- value: RepeatedRules;
147
- case: "repeated";
148
- } | {
149
- /**
150
- * @generated from field: genesis_validate.MapRules map = 19;
151
- */
152
- value: MapRules;
153
- case: "map";
154
- } | {
155
- /**
156
- * Well-Known Field Types
157
- *
158
- * @generated from field: genesis_validate.AnyRules any = 20;
159
- */
160
- value: AnyRules;
161
- case: "any";
162
- } | {
163
- /**
164
- * @generated from field: genesis_validate.DurationRules duration = 21;
165
- */
166
- value: DurationRules;
167
- case: "duration";
168
- } | {
169
- /**
170
- * @generated from field: genesis_validate.TimestampRules timestamp = 22;
171
- */
172
- value: TimestampRules;
173
- case: "timestamp";
174
- } | {
175
- case: undefined;
176
- value?: undefined;
177
- };
178
- constructor(data?: PartialMessage<FieldRules>);
179
- static readonly runtime: typeof proto2;
180
- static readonly typeName = "genesis_validate.FieldRules";
181
- static readonly fields: FieldList;
182
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FieldRules;
183
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FieldRules;
184
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FieldRules;
185
- static equals(a: FieldRules | PlainMessage<FieldRules> | undefined, b: FieldRules | PlainMessage<FieldRules> | undefined): boolean;
186
- }
187
- /**
188
- * FloatRules describes the constraints applied to `float` values
189
- *
190
- * @generated from message genesis_validate.FloatRules
191
- */
192
- export declare class FloatRules extends Message<FloatRules> {
193
- /**
194
- * Const specifies that this field must be exactly the specified value
195
- *
196
- * @generated from field: optional float const = 1;
197
- */
198
- const?: number;
199
- /**
200
- * Lt specifies that this field must be less than the specified value,
201
- * exclusive
202
- *
203
- * @generated from field: optional float lt = 2;
204
- */
205
- lt?: number;
206
- /**
207
- * Lte specifies that this field must be less than or equal to the
208
- * specified value, inclusive
209
- *
210
- * @generated from field: optional float lte = 3;
211
- */
212
- lte?: number;
213
- /**
214
- * Gt specifies that this field must be greater than the specified value,
215
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
216
- * range is reversed.
217
- *
218
- * @generated from field: optional float gt = 4;
219
- */
220
- gt?: number;
221
- /**
222
- * Gte specifies that this field must be greater than or equal to the
223
- * specified value, inclusive. If the value of Gte is larger than a
224
- * specified Lt or Lte, the range is reversed.
225
- *
226
- * @generated from field: optional float gte = 5;
227
- */
228
- gte?: number;
229
- /**
230
- * In specifies that this field must be equal to one of the specified
231
- * values
232
- *
233
- * @generated from field: repeated float in = 6;
234
- */
235
- in: number[];
236
- /**
237
- * NotIn specifies that this field cannot be equal to one of the specified
238
- * values
239
- *
240
- * @generated from field: repeated float not_in = 7;
241
- */
242
- notIn: number[];
243
- /**
244
- * IgnoreEmpty specifies that the validation rules of this field should be
245
- * evaluated only if the field is not empty
246
- *
247
- * @generated from field: optional bool ignore_empty = 8;
248
- */
249
- ignoreEmpty?: boolean;
250
- constructor(data?: PartialMessage<FloatRules>);
251
- static readonly runtime: typeof proto2;
252
- static readonly typeName = "genesis_validate.FloatRules";
253
- static readonly fields: FieldList;
254
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FloatRules;
255
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FloatRules;
256
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FloatRules;
257
- static equals(a: FloatRules | PlainMessage<FloatRules> | undefined, b: FloatRules | PlainMessage<FloatRules> | undefined): boolean;
258
- }
259
- /**
260
- * DoubleRules describes the constraints applied to `double` values
261
- *
262
- * @generated from message genesis_validate.DoubleRules
263
- */
264
- export declare class DoubleRules extends Message<DoubleRules> {
265
- /**
266
- * Const specifies that this field must be exactly the specified value
267
- *
268
- * @generated from field: optional double const = 1;
269
- */
270
- const?: number;
271
- /**
272
- * Lt specifies that this field must be less than the specified value,
273
- * exclusive
274
- *
275
- * @generated from field: optional double lt = 2;
276
- */
277
- lt?: number;
278
- /**
279
- * Lte specifies that this field must be less than or equal to the
280
- * specified value, inclusive
281
- *
282
- * @generated from field: optional double lte = 3;
283
- */
284
- lte?: number;
285
- /**
286
- * Gt specifies that this field must be greater than the specified value,
287
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
288
- * range is reversed.
289
- *
290
- * @generated from field: optional double gt = 4;
291
- */
292
- gt?: number;
293
- /**
294
- * Gte specifies that this field must be greater than or equal to the
295
- * specified value, inclusive. If the value of Gte is larger than a
296
- * specified Lt or Lte, the range is reversed.
297
- *
298
- * @generated from field: optional double gte = 5;
299
- */
300
- gte?: number;
301
- /**
302
- * In specifies that this field must be equal to one of the specified
303
- * values
304
- *
305
- * @generated from field: repeated double in = 6;
306
- */
307
- in: number[];
308
- /**
309
- * NotIn specifies that this field cannot be equal to one of the specified
310
- * values
311
- *
312
- * @generated from field: repeated double not_in = 7;
313
- */
314
- notIn: number[];
315
- /**
316
- * IgnoreEmpty specifies that the validation rules of this field should be
317
- * evaluated only if the field is not empty
318
- *
319
- * @generated from field: optional bool ignore_empty = 8;
320
- */
321
- ignoreEmpty?: boolean;
322
- constructor(data?: PartialMessage<DoubleRules>);
323
- static readonly runtime: typeof proto2;
324
- static readonly typeName = "genesis_validate.DoubleRules";
325
- static readonly fields: FieldList;
326
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DoubleRules;
327
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DoubleRules;
328
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DoubleRules;
329
- static equals(a: DoubleRules | PlainMessage<DoubleRules> | undefined, b: DoubleRules | PlainMessage<DoubleRules> | undefined): boolean;
330
- }
331
- /**
332
- * Int32Rules describes the constraints applied to `int32` values
333
- *
334
- * @generated from message genesis_validate.Int32Rules
335
- */
336
- export declare class Int32Rules extends Message<Int32Rules> {
337
- /**
338
- * Const specifies that this field must be exactly the specified value
339
- *
340
- * @generated from field: optional int32 const = 1;
341
- */
342
- const?: number;
343
- /**
344
- * Lt specifies that this field must be less than the specified value,
345
- * exclusive
346
- *
347
- * @generated from field: optional int32 lt = 2;
348
- */
349
- lt?: number;
350
- /**
351
- * Lte specifies that this field must be less than or equal to the
352
- * specified value, inclusive
353
- *
354
- * @generated from field: optional int32 lte = 3;
355
- */
356
- lte?: number;
357
- /**
358
- * Gt specifies that this field must be greater than the specified value,
359
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
360
- * range is reversed.
361
- *
362
- * @generated from field: optional int32 gt = 4;
363
- */
364
- gt?: number;
365
- /**
366
- * Gte specifies that this field must be greater than or equal to the
367
- * specified value, inclusive. If the value of Gte is larger than a
368
- * specified Lt or Lte, the range is reversed.
369
- *
370
- * @generated from field: optional int32 gte = 5;
371
- */
372
- gte?: number;
373
- /**
374
- * In specifies that this field must be equal to one of the specified
375
- * values
376
- *
377
- * @generated from field: repeated int32 in = 6;
378
- */
379
- in: number[];
380
- /**
381
- * NotIn specifies that this field cannot be equal to one of the specified
382
- * values
383
- *
384
- * @generated from field: repeated int32 not_in = 7;
385
- */
386
- notIn: number[];
387
- /**
388
- * IgnoreEmpty specifies that the validation rules of this field should be
389
- * evaluated only if the field is not empty
390
- *
391
- * @generated from field: optional bool ignore_empty = 8;
392
- */
393
- ignoreEmpty?: boolean;
394
- constructor(data?: PartialMessage<Int32Rules>);
395
- static readonly runtime: typeof proto2;
396
- static readonly typeName = "genesis_validate.Int32Rules";
397
- static readonly fields: FieldList;
398
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Int32Rules;
399
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Int32Rules;
400
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Int32Rules;
401
- static equals(a: Int32Rules | PlainMessage<Int32Rules> | undefined, b: Int32Rules | PlainMessage<Int32Rules> | undefined): boolean;
402
- }
403
- /**
404
- * Int64Rules describes the constraints applied to `int64` values
405
- *
406
- * @generated from message genesis_validate.Int64Rules
407
- */
408
- export declare class Int64Rules extends Message<Int64Rules> {
409
- /**
410
- * Const specifies that this field must be exactly the specified value
411
- *
412
- * @generated from field: optional int64 const = 1;
413
- */
414
- const?: bigint;
415
- /**
416
- * Lt specifies that this field must be less than the specified value,
417
- * exclusive
418
- *
419
- * @generated from field: optional int64 lt = 2;
420
- */
421
- lt?: bigint;
422
- /**
423
- * Lte specifies that this field must be less than or equal to the
424
- * specified value, inclusive
425
- *
426
- * @generated from field: optional int64 lte = 3;
427
- */
428
- lte?: bigint;
429
- /**
430
- * Gt specifies that this field must be greater than the specified value,
431
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
432
- * range is reversed.
433
- *
434
- * @generated from field: optional int64 gt = 4;
435
- */
436
- gt?: bigint;
437
- /**
438
- * Gte specifies that this field must be greater than or equal to the
439
- * specified value, inclusive. If the value of Gte is larger than a
440
- * specified Lt or Lte, the range is reversed.
441
- *
442
- * @generated from field: optional int64 gte = 5;
443
- */
444
- gte?: bigint;
445
- /**
446
- * In specifies that this field must be equal to one of the specified
447
- * values
448
- *
449
- * @generated from field: repeated int64 in = 6;
450
- */
451
- in: bigint[];
452
- /**
453
- * NotIn specifies that this field cannot be equal to one of the specified
454
- * values
455
- *
456
- * @generated from field: repeated int64 not_in = 7;
457
- */
458
- notIn: bigint[];
459
- /**
460
- * IgnoreEmpty specifies that the validation rules of this field should be
461
- * evaluated only if the field is not empty
462
- *
463
- * @generated from field: optional bool ignore_empty = 8;
464
- */
465
- ignoreEmpty?: boolean;
466
- constructor(data?: PartialMessage<Int64Rules>);
467
- static readonly runtime: typeof proto2;
468
- static readonly typeName = "genesis_validate.Int64Rules";
469
- static readonly fields: FieldList;
470
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Int64Rules;
471
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Int64Rules;
472
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Int64Rules;
473
- static equals(a: Int64Rules | PlainMessage<Int64Rules> | undefined, b: Int64Rules | PlainMessage<Int64Rules> | undefined): boolean;
474
- }
475
- /**
476
- * UInt32Rules describes the constraints applied to `uint32` values
477
- *
478
- * @generated from message genesis_validate.UInt32Rules
479
- */
480
- export declare class UInt32Rules extends Message<UInt32Rules> {
481
- /**
482
- * Const specifies that this field must be exactly the specified value
483
- *
484
- * @generated from field: optional uint32 const = 1;
485
- */
486
- const?: number;
487
- /**
488
- * Lt specifies that this field must be less than the specified value,
489
- * exclusive
490
- *
491
- * @generated from field: optional uint32 lt = 2;
492
- */
493
- lt?: number;
494
- /**
495
- * Lte specifies that this field must be less than or equal to the
496
- * specified value, inclusive
497
- *
498
- * @generated from field: optional uint32 lte = 3;
499
- */
500
- lte?: number;
501
- /**
502
- * Gt specifies that this field must be greater than the specified value,
503
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
504
- * range is reversed.
505
- *
506
- * @generated from field: optional uint32 gt = 4;
507
- */
508
- gt?: number;
509
- /**
510
- * Gte specifies that this field must be greater than or equal to the
511
- * specified value, inclusive. If the value of Gte is larger than a
512
- * specified Lt or Lte, the range is reversed.
513
- *
514
- * @generated from field: optional uint32 gte = 5;
515
- */
516
- gte?: number;
517
- /**
518
- * In specifies that this field must be equal to one of the specified
519
- * values
520
- *
521
- * @generated from field: repeated uint32 in = 6;
522
- */
523
- in: number[];
524
- /**
525
- * NotIn specifies that this field cannot be equal to one of the specified
526
- * values
527
- *
528
- * @generated from field: repeated uint32 not_in = 7;
529
- */
530
- notIn: number[];
531
- /**
532
- * IgnoreEmpty specifies that the validation rules of this field should be
533
- * evaluated only if the field is not empty
534
- *
535
- * @generated from field: optional bool ignore_empty = 8;
536
- */
537
- ignoreEmpty?: boolean;
538
- constructor(data?: PartialMessage<UInt32Rules>);
539
- static readonly runtime: typeof proto2;
540
- static readonly typeName = "genesis_validate.UInt32Rules";
541
- static readonly fields: FieldList;
542
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UInt32Rules;
543
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UInt32Rules;
544
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UInt32Rules;
545
- static equals(a: UInt32Rules | PlainMessage<UInt32Rules> | undefined, b: UInt32Rules | PlainMessage<UInt32Rules> | undefined): boolean;
546
- }
547
- /**
548
- * UInt64Rules describes the constraints applied to `uint64` values
549
- *
550
- * @generated from message genesis_validate.UInt64Rules
551
- */
552
- export declare class UInt64Rules extends Message<UInt64Rules> {
553
- /**
554
- * Const specifies that this field must be exactly the specified value
555
- *
556
- * @generated from field: optional uint64 const = 1;
557
- */
558
- const?: bigint;
559
- /**
560
- * Lt specifies that this field must be less than the specified value,
561
- * exclusive
562
- *
563
- * @generated from field: optional uint64 lt = 2;
564
- */
565
- lt?: bigint;
566
- /**
567
- * Lte specifies that this field must be less than or equal to the
568
- * specified value, inclusive
569
- *
570
- * @generated from field: optional uint64 lte = 3;
571
- */
572
- lte?: bigint;
573
- /**
574
- * Gt specifies that this field must be greater than the specified value,
575
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
576
- * range is reversed.
577
- *
578
- * @generated from field: optional uint64 gt = 4;
579
- */
580
- gt?: bigint;
581
- /**
582
- * Gte specifies that this field must be greater than or equal to the
583
- * specified value, inclusive. If the value of Gte is larger than a
584
- * specified Lt or Lte, the range is reversed.
585
- *
586
- * @generated from field: optional uint64 gte = 5;
587
- */
588
- gte?: bigint;
589
- /**
590
- * In specifies that this field must be equal to one of the specified
591
- * values
592
- *
593
- * @generated from field: repeated uint64 in = 6;
594
- */
595
- in: bigint[];
596
- /**
597
- * NotIn specifies that this field cannot be equal to one of the specified
598
- * values
599
- *
600
- * @generated from field: repeated uint64 not_in = 7;
601
- */
602
- notIn: bigint[];
603
- /**
604
- * IgnoreEmpty specifies that the validation rules of this field should be
605
- * evaluated only if the field is not empty
606
- *
607
- * @generated from field: optional bool ignore_empty = 8;
608
- */
609
- ignoreEmpty?: boolean;
610
- constructor(data?: PartialMessage<UInt64Rules>);
611
- static readonly runtime: typeof proto2;
612
- static readonly typeName = "genesis_validate.UInt64Rules";
613
- static readonly fields: FieldList;
614
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UInt64Rules;
615
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UInt64Rules;
616
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UInt64Rules;
617
- static equals(a: UInt64Rules | PlainMessage<UInt64Rules> | undefined, b: UInt64Rules | PlainMessage<UInt64Rules> | undefined): boolean;
618
- }
619
- /**
620
- * SInt32Rules describes the constraints applied to `sint32` values
621
- *
622
- * @generated from message genesis_validate.SInt32Rules
623
- */
624
- export declare class SInt32Rules extends Message<SInt32Rules> {
625
- /**
626
- * Const specifies that this field must be exactly the specified value
627
- *
628
- * @generated from field: optional sint32 const = 1;
629
- */
630
- const?: number;
631
- /**
632
- * Lt specifies that this field must be less than the specified value,
633
- * exclusive
634
- *
635
- * @generated from field: optional sint32 lt = 2;
636
- */
637
- lt?: number;
638
- /**
639
- * Lte specifies that this field must be less than or equal to the
640
- * specified value, inclusive
641
- *
642
- * @generated from field: optional sint32 lte = 3;
643
- */
644
- lte?: number;
645
- /**
646
- * Gt specifies that this field must be greater than the specified value,
647
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
648
- * range is reversed.
649
- *
650
- * @generated from field: optional sint32 gt = 4;
651
- */
652
- gt?: number;
653
- /**
654
- * Gte specifies that this field must be greater than or equal to the
655
- * specified value, inclusive. If the value of Gte is larger than a
656
- * specified Lt or Lte, the range is reversed.
657
- *
658
- * @generated from field: optional sint32 gte = 5;
659
- */
660
- gte?: number;
661
- /**
662
- * In specifies that this field must be equal to one of the specified
663
- * values
664
- *
665
- * @generated from field: repeated sint32 in = 6;
666
- */
667
- in: number[];
668
- /**
669
- * NotIn specifies that this field cannot be equal to one of the specified
670
- * values
671
- *
672
- * @generated from field: repeated sint32 not_in = 7;
673
- */
674
- notIn: number[];
675
- /**
676
- * IgnoreEmpty specifies that the validation rules of this field should be
677
- * evaluated only if the field is not empty
678
- *
679
- * @generated from field: optional bool ignore_empty = 8;
680
- */
681
- ignoreEmpty?: boolean;
682
- constructor(data?: PartialMessage<SInt32Rules>);
683
- static readonly runtime: typeof proto2;
684
- static readonly typeName = "genesis_validate.SInt32Rules";
685
- static readonly fields: FieldList;
686
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SInt32Rules;
687
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SInt32Rules;
688
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SInt32Rules;
689
- static equals(a: SInt32Rules | PlainMessage<SInt32Rules> | undefined, b: SInt32Rules | PlainMessage<SInt32Rules> | undefined): boolean;
690
- }
691
- /**
692
- * SInt64Rules describes the constraints applied to `sint64` values
693
- *
694
- * @generated from message genesis_validate.SInt64Rules
695
- */
696
- export declare class SInt64Rules extends Message<SInt64Rules> {
697
- /**
698
- * Const specifies that this field must be exactly the specified value
699
- *
700
- * @generated from field: optional sint64 const = 1;
701
- */
702
- const?: bigint;
703
- /**
704
- * Lt specifies that this field must be less than the specified value,
705
- * exclusive
706
- *
707
- * @generated from field: optional sint64 lt = 2;
708
- */
709
- lt?: bigint;
710
- /**
711
- * Lte specifies that this field must be less than or equal to the
712
- * specified value, inclusive
713
- *
714
- * @generated from field: optional sint64 lte = 3;
715
- */
716
- lte?: bigint;
717
- /**
718
- * Gt specifies that this field must be greater than the specified value,
719
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
720
- * range is reversed.
721
- *
722
- * @generated from field: optional sint64 gt = 4;
723
- */
724
- gt?: bigint;
725
- /**
726
- * Gte specifies that this field must be greater than or equal to the
727
- * specified value, inclusive. If the value of Gte is larger than a
728
- * specified Lt or Lte, the range is reversed.
729
- *
730
- * @generated from field: optional sint64 gte = 5;
731
- */
732
- gte?: bigint;
733
- /**
734
- * In specifies that this field must be equal to one of the specified
735
- * values
736
- *
737
- * @generated from field: repeated sint64 in = 6;
738
- */
739
- in: bigint[];
740
- /**
741
- * NotIn specifies that this field cannot be equal to one of the specified
742
- * values
743
- *
744
- * @generated from field: repeated sint64 not_in = 7;
745
- */
746
- notIn: bigint[];
747
- /**
748
- * IgnoreEmpty specifies that the validation rules of this field should be
749
- * evaluated only if the field is not empty
750
- *
751
- * @generated from field: optional bool ignore_empty = 8;
752
- */
753
- ignoreEmpty?: boolean;
754
- constructor(data?: PartialMessage<SInt64Rules>);
755
- static readonly runtime: typeof proto2;
756
- static readonly typeName = "genesis_validate.SInt64Rules";
757
- static readonly fields: FieldList;
758
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SInt64Rules;
759
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SInt64Rules;
760
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SInt64Rules;
761
- static equals(a: SInt64Rules | PlainMessage<SInt64Rules> | undefined, b: SInt64Rules | PlainMessage<SInt64Rules> | undefined): boolean;
762
- }
763
- /**
764
- * Fixed32Rules describes the constraints applied to `fixed32` values
765
- *
766
- * @generated from message genesis_validate.Fixed32Rules
767
- */
768
- export declare class Fixed32Rules extends Message<Fixed32Rules> {
769
- /**
770
- * Const specifies that this field must be exactly the specified value
771
- *
772
- * @generated from field: optional fixed32 const = 1;
773
- */
774
- const?: number;
775
- /**
776
- * Lt specifies that this field must be less than the specified value,
777
- * exclusive
778
- *
779
- * @generated from field: optional fixed32 lt = 2;
780
- */
781
- lt?: number;
782
- /**
783
- * Lte specifies that this field must be less than or equal to the
784
- * specified value, inclusive
785
- *
786
- * @generated from field: optional fixed32 lte = 3;
787
- */
788
- lte?: number;
789
- /**
790
- * Gt specifies that this field must be greater than the specified value,
791
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
792
- * range is reversed.
793
- *
794
- * @generated from field: optional fixed32 gt = 4;
795
- */
796
- gt?: number;
797
- /**
798
- * Gte specifies that this field must be greater than or equal to the
799
- * specified value, inclusive. If the value of Gte is larger than a
800
- * specified Lt or Lte, the range is reversed.
801
- *
802
- * @generated from field: optional fixed32 gte = 5;
803
- */
804
- gte?: number;
805
- /**
806
- * In specifies that this field must be equal to one of the specified
807
- * values
808
- *
809
- * @generated from field: repeated fixed32 in = 6;
810
- */
811
- in: number[];
812
- /**
813
- * NotIn specifies that this field cannot be equal to one of the specified
814
- * values
815
- *
816
- * @generated from field: repeated fixed32 not_in = 7;
817
- */
818
- notIn: number[];
819
- /**
820
- * IgnoreEmpty specifies that the validation rules of this field should be
821
- * evaluated only if the field is not empty
822
- *
823
- * @generated from field: optional bool ignore_empty = 8;
824
- */
825
- ignoreEmpty?: boolean;
826
- constructor(data?: PartialMessage<Fixed32Rules>);
827
- static readonly runtime: typeof proto2;
828
- static readonly typeName = "genesis_validate.Fixed32Rules";
829
- static readonly fields: FieldList;
830
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Fixed32Rules;
831
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Fixed32Rules;
832
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Fixed32Rules;
833
- static equals(a: Fixed32Rules | PlainMessage<Fixed32Rules> | undefined, b: Fixed32Rules | PlainMessage<Fixed32Rules> | undefined): boolean;
834
- }
835
- /**
836
- * Fixed64Rules describes the constraints applied to `fixed64` values
837
- *
838
- * @generated from message genesis_validate.Fixed64Rules
839
- */
840
- export declare class Fixed64Rules extends Message<Fixed64Rules> {
841
- /**
842
- * Const specifies that this field must be exactly the specified value
843
- *
844
- * @generated from field: optional fixed64 const = 1;
845
- */
846
- const?: bigint;
847
- /**
848
- * Lt specifies that this field must be less than the specified value,
849
- * exclusive
850
- *
851
- * @generated from field: optional fixed64 lt = 2;
852
- */
853
- lt?: bigint;
854
- /**
855
- * Lte specifies that this field must be less than or equal to the
856
- * specified value, inclusive
857
- *
858
- * @generated from field: optional fixed64 lte = 3;
859
- */
860
- lte?: bigint;
861
- /**
862
- * Gt specifies that this field must be greater than the specified value,
863
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
864
- * range is reversed.
865
- *
866
- * @generated from field: optional fixed64 gt = 4;
867
- */
868
- gt?: bigint;
869
- /**
870
- * Gte specifies that this field must be greater than or equal to the
871
- * specified value, inclusive. If the value of Gte is larger than a
872
- * specified Lt or Lte, the range is reversed.
873
- *
874
- * @generated from field: optional fixed64 gte = 5;
875
- */
876
- gte?: bigint;
877
- /**
878
- * In specifies that this field must be equal to one of the specified
879
- * values
880
- *
881
- * @generated from field: repeated fixed64 in = 6;
882
- */
883
- in: bigint[];
884
- /**
885
- * NotIn specifies that this field cannot be equal to one of the specified
886
- * values
887
- *
888
- * @generated from field: repeated fixed64 not_in = 7;
889
- */
890
- notIn: bigint[];
891
- /**
892
- * IgnoreEmpty specifies that the validation rules of this field should be
893
- * evaluated only if the field is not empty
894
- *
895
- * @generated from field: optional bool ignore_empty = 8;
896
- */
897
- ignoreEmpty?: boolean;
898
- constructor(data?: PartialMessage<Fixed64Rules>);
899
- static readonly runtime: typeof proto2;
900
- static readonly typeName = "genesis_validate.Fixed64Rules";
901
- static readonly fields: FieldList;
902
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Fixed64Rules;
903
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Fixed64Rules;
904
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Fixed64Rules;
905
- static equals(a: Fixed64Rules | PlainMessage<Fixed64Rules> | undefined, b: Fixed64Rules | PlainMessage<Fixed64Rules> | undefined): boolean;
906
- }
907
- /**
908
- * SFixed32Rules describes the constraints applied to `sfixed32` values
909
- *
910
- * @generated from message genesis_validate.SFixed32Rules
911
- */
912
- export declare class SFixed32Rules extends Message<SFixed32Rules> {
913
- /**
914
- * Const specifies that this field must be exactly the specified value
915
- *
916
- * @generated from field: optional sfixed32 const = 1;
917
- */
918
- const?: number;
919
- /**
920
- * Lt specifies that this field must be less than the specified value,
921
- * exclusive
922
- *
923
- * @generated from field: optional sfixed32 lt = 2;
924
- */
925
- lt?: number;
926
- /**
927
- * Lte specifies that this field must be less than or equal to the
928
- * specified value, inclusive
929
- *
930
- * @generated from field: optional sfixed32 lte = 3;
931
- */
932
- lte?: number;
933
- /**
934
- * Gt specifies that this field must be greater than the specified value,
935
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
936
- * range is reversed.
937
- *
938
- * @generated from field: optional sfixed32 gt = 4;
939
- */
940
- gt?: number;
941
- /**
942
- * Gte specifies that this field must be greater than or equal to the
943
- * specified value, inclusive. If the value of Gte is larger than a
944
- * specified Lt or Lte, the range is reversed.
945
- *
946
- * @generated from field: optional sfixed32 gte = 5;
947
- */
948
- gte?: number;
949
- /**
950
- * In specifies that this field must be equal to one of the specified
951
- * values
952
- *
953
- * @generated from field: repeated sfixed32 in = 6;
954
- */
955
- in: number[];
956
- /**
957
- * NotIn specifies that this field cannot be equal to one of the specified
958
- * values
959
- *
960
- * @generated from field: repeated sfixed32 not_in = 7;
961
- */
962
- notIn: number[];
963
- /**
964
- * IgnoreEmpty specifies that the validation rules of this field should be
965
- * evaluated only if the field is not empty
966
- *
967
- * @generated from field: optional bool ignore_empty = 8;
968
- */
969
- ignoreEmpty?: boolean;
970
- constructor(data?: PartialMessage<SFixed32Rules>);
971
- static readonly runtime: typeof proto2;
972
- static readonly typeName = "genesis_validate.SFixed32Rules";
973
- static readonly fields: FieldList;
974
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SFixed32Rules;
975
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SFixed32Rules;
976
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SFixed32Rules;
977
- static equals(a: SFixed32Rules | PlainMessage<SFixed32Rules> | undefined, b: SFixed32Rules | PlainMessage<SFixed32Rules> | undefined): boolean;
978
- }
979
- /**
980
- * SFixed64Rules describes the constraints applied to `sfixed64` values
981
- *
982
- * @generated from message genesis_validate.SFixed64Rules
983
- */
984
- export declare class SFixed64Rules extends Message<SFixed64Rules> {
985
- /**
986
- * Const specifies that this field must be exactly the specified value
987
- *
988
- * @generated from field: optional sfixed64 const = 1;
989
- */
990
- const?: bigint;
991
- /**
992
- * Lt specifies that this field must be less than the specified value,
993
- * exclusive
994
- *
995
- * @generated from field: optional sfixed64 lt = 2;
996
- */
997
- lt?: bigint;
998
- /**
999
- * Lte specifies that this field must be less than or equal to the
1000
- * specified value, inclusive
1001
- *
1002
- * @generated from field: optional sfixed64 lte = 3;
1003
- */
1004
- lte?: bigint;
1005
- /**
1006
- * Gt specifies that this field must be greater than the specified value,
1007
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
1008
- * range is reversed.
1009
- *
1010
- * @generated from field: optional sfixed64 gt = 4;
1011
- */
1012
- gt?: bigint;
1013
- /**
1014
- * Gte specifies that this field must be greater than or equal to the
1015
- * specified value, inclusive. If the value of Gte is larger than a
1016
- * specified Lt or Lte, the range is reversed.
1017
- *
1018
- * @generated from field: optional sfixed64 gte = 5;
1019
- */
1020
- gte?: bigint;
1021
- /**
1022
- * In specifies that this field must be equal to one of the specified
1023
- * values
1024
- *
1025
- * @generated from field: repeated sfixed64 in = 6;
1026
- */
1027
- in: bigint[];
1028
- /**
1029
- * NotIn specifies that this field cannot be equal to one of the specified
1030
- * values
1031
- *
1032
- * @generated from field: repeated sfixed64 not_in = 7;
1033
- */
1034
- notIn: bigint[];
1035
- /**
1036
- * IgnoreEmpty specifies that the validation rules of this field should be
1037
- * evaluated only if the field is not empty
1038
- *
1039
- * @generated from field: optional bool ignore_empty = 8;
1040
- */
1041
- ignoreEmpty?: boolean;
1042
- constructor(data?: PartialMessage<SFixed64Rules>);
1043
- static readonly runtime: typeof proto2;
1044
- static readonly typeName = "genesis_validate.SFixed64Rules";
1045
- static readonly fields: FieldList;
1046
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SFixed64Rules;
1047
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SFixed64Rules;
1048
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SFixed64Rules;
1049
- static equals(a: SFixed64Rules | PlainMessage<SFixed64Rules> | undefined, b: SFixed64Rules | PlainMessage<SFixed64Rules> | undefined): boolean;
1050
- }
1051
- /**
1052
- * BoolRules describes the constraints applied to `bool` values
1053
- *
1054
- * @generated from message genesis_validate.BoolRules
1055
- */
1056
- export declare class BoolRules extends Message<BoolRules> {
1057
- /**
1058
- * Const specifies that this field must be exactly the specified value
1059
- *
1060
- * @generated from field: optional bool const = 1;
1061
- */
1062
- const?: boolean;
1063
- constructor(data?: PartialMessage<BoolRules>);
1064
- static readonly runtime: typeof proto2;
1065
- static readonly typeName = "genesis_validate.BoolRules";
1066
- static readonly fields: FieldList;
1067
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BoolRules;
1068
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BoolRules;
1069
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BoolRules;
1070
- static equals(a: BoolRules | PlainMessage<BoolRules> | undefined, b: BoolRules | PlainMessage<BoolRules> | undefined): boolean;
1071
- }
1072
- /**
1073
- * StringRules describe the constraints applied to `string` values
1074
- *
1075
- * @generated from message genesis_validate.StringRules
1076
- */
1077
- export declare class StringRules extends Message<StringRules> {
1078
- /**
1079
- * Const specifies that this field must be exactly the specified value
1080
- *
1081
- * @generated from field: optional string const = 1;
1082
- */
1083
- const?: string;
1084
- /**
1085
- * Len specifies that this field must be the specified number of
1086
- * characters (Unicode code points). Note that the number of
1087
- * characters may differ from the number of bytes in the string.
1088
- *
1089
- * @generated from field: optional uint64 len = 19;
1090
- */
1091
- len?: bigint;
1092
- /**
1093
- * MinLen specifies that this field must be the specified number of
1094
- * characters (Unicode code points) at a minimum. Note that the number of
1095
- * characters may differ from the number of bytes in the string.
1096
- *
1097
- * @generated from field: optional uint64 min_len = 2;
1098
- */
1099
- minLen?: bigint;
1100
- /**
1101
- * MaxLen specifies that this field must be the specified number of
1102
- * characters (Unicode code points) at a maximum. Note that the number of
1103
- * characters may differ from the number of bytes in the string.
1104
- *
1105
- * @generated from field: optional uint64 max_len = 3;
1106
- */
1107
- maxLen?: bigint;
1108
- /**
1109
- * LenBytes specifies that this field must be the specified number of bytes
1110
- *
1111
- * @generated from field: optional uint64 len_bytes = 20;
1112
- */
1113
- lenBytes?: bigint;
1114
- /**
1115
- * MinBytes specifies that this field must be the specified number of bytes
1116
- * at a minimum
1117
- *
1118
- * @generated from field: optional uint64 min_bytes = 4;
1119
- */
1120
- minBytes?: bigint;
1121
- /**
1122
- * MaxBytes specifies that this field must be the specified number of bytes
1123
- * at a maximum
1124
- *
1125
- * @generated from field: optional uint64 max_bytes = 5;
1126
- */
1127
- maxBytes?: bigint;
1128
- /**
1129
- * Pattern specifes that this field must match against the specified
1130
- * regular expression (RE2 syntax). The included expression should elide
1131
- * any delimiters.
1132
- *
1133
- * @generated from field: optional string pattern = 6;
1134
- */
1135
- pattern?: string;
1136
- /**
1137
- * Prefix specifies that this field must have the specified substring at
1138
- * the beginning of the string.
1139
- *
1140
- * @generated from field: optional string prefix = 7;
1141
- */
1142
- prefix?: string;
1143
- /**
1144
- * Suffix specifies that this field must have the specified substring at
1145
- * the end of the string.
1146
- *
1147
- * @generated from field: optional string suffix = 8;
1148
- */
1149
- suffix?: string;
1150
- /**
1151
- * Contains specifies that this field must have the specified substring
1152
- * anywhere in the string.
1153
- *
1154
- * @generated from field: optional string contains = 9;
1155
- */
1156
- contains?: string;
1157
- /**
1158
- * NotContains specifies that this field cannot have the specified substring
1159
- * anywhere in the string.
1160
- *
1161
- * @generated from field: optional string not_contains = 23;
1162
- */
1163
- notContains?: string;
1164
- /**
1165
- * In specifies that this field must be equal to one of the specified
1166
- * values
1167
- *
1168
- * @generated from field: repeated string in = 10;
1169
- */
1170
- in: string[];
1171
- /**
1172
- * NotIn specifies that this field cannot be equal to one of the specified
1173
- * values
1174
- *
1175
- * @generated from field: repeated string not_in = 11;
1176
- */
1177
- notIn: string[];
1178
- /**
1179
- * WellKnown rules provide advanced constraints against common string
1180
- * patterns
1181
- *
1182
- * @generated from oneof genesis_validate.StringRules.well_known
1183
- */
1184
- wellKnown: {
1185
- /**
1186
- * Email specifies that the field must be a valid email address as
1187
- * defined by RFC 5322
1188
- *
1189
- * @generated from field: bool email = 12;
1190
- */
1191
- value: boolean;
1192
- case: "email";
1193
- } | {
1194
- /**
1195
- * Hostname specifies that the field must be a valid hostname as
1196
- * defined by RFC 1034. This constraint does not support
1197
- * internationalized domain names (IDNs).
1198
- *
1199
- * @generated from field: bool hostname = 13;
1200
- */
1201
- value: boolean;
1202
- case: "hostname";
1203
- } | {
1204
- /**
1205
- * Ip specifies that the field must be a valid IP (v4 or v6) address.
1206
- * Valid IPv6 addresses should not include surrounding square brackets.
1207
- *
1208
- * @generated from field: bool ip = 14;
1209
- */
1210
- value: boolean;
1211
- case: "ip";
1212
- } | {
1213
- /**
1214
- * Ipv4 specifies that the field must be a valid IPv4 address.
1215
- *
1216
- * @generated from field: bool ipv4 = 15;
1217
- */
1218
- value: boolean;
1219
- case: "ipv4";
1220
- } | {
1221
- /**
1222
- * Ipv6 specifies that the field must be a valid IPv6 address. Valid
1223
- * IPv6 addresses should not include surrounding square brackets.
1224
- *
1225
- * @generated from field: bool ipv6 = 16;
1226
- */
1227
- value: boolean;
1228
- case: "ipv6";
1229
- } | {
1230
- /**
1231
- * Uri specifies that the field must be a valid, absolute URI as defined
1232
- * by RFC 3986
1233
- *
1234
- * @generated from field: bool uri = 17;
1235
- */
1236
- value: boolean;
1237
- case: "uri";
1238
- } | {
1239
- /**
1240
- * UriRef specifies that the field must be a valid URI as defined by RFC
1241
- * 3986 and may be relative or absolute.
1242
- *
1243
- * @generated from field: bool uri_ref = 18;
1244
- */
1245
- value: boolean;
1246
- case: "uriRef";
1247
- } | {
1248
- /**
1249
- * Address specifies that the field must be either a valid hostname as
1250
- * defined by RFC 1034 (which does not support internationalized domain
1251
- * names or IDNs), or it can be a valid IP (v4 or v6).
1252
- *
1253
- * @generated from field: bool address = 21;
1254
- */
1255
- value: boolean;
1256
- case: "address";
1257
- } | {
1258
- /**
1259
- * Uuid specifies that the field must be a valid UUID as defined by
1260
- * RFC 4122
1261
- *
1262
- * @generated from field: bool uuid = 22;
1263
- */
1264
- value: boolean;
1265
- case: "uuid";
1266
- } | {
1267
- /**
1268
- * WellKnownRegex specifies a common well known pattern defined as a regex.
1269
- *
1270
- * @generated from field: genesis_validate.KnownRegex well_known_regex = 24;
1271
- */
1272
- value: KnownRegex;
1273
- case: "wellKnownRegex";
1274
- } | {
1275
- case: undefined;
1276
- value?: undefined;
1277
- };
1278
- /**
1279
- * This applies to regexes HTTP_HEADER_NAME and HTTP_HEADER_VALUE to enable
1280
- * strict header validation.
1281
- * By default, this is true, and HTTP header validations are RFC-compliant.
1282
- * Setting to false will enable a looser validations that only disallows
1283
- * \r\n\0 characters, which can be used to bypass header matching rules.
1284
- *
1285
- * @generated from field: optional bool strict = 25 [default = true];
1286
- */
1287
- strict?: boolean;
1288
- /**
1289
- * IgnoreEmpty specifies that the validation rules of this field should be
1290
- * evaluated only if the field is not empty
1291
- *
1292
- * @generated from field: optional bool ignore_empty = 26;
1293
- */
1294
- ignoreEmpty?: boolean;
1295
- constructor(data?: PartialMessage<StringRules>);
1296
- static readonly runtime: typeof proto2;
1297
- static readonly typeName = "genesis_validate.StringRules";
1298
- static readonly fields: FieldList;
1299
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StringRules;
1300
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StringRules;
1301
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StringRules;
1302
- static equals(a: StringRules | PlainMessage<StringRules> | undefined, b: StringRules | PlainMessage<StringRules> | undefined): boolean;
1303
- }
1304
- /**
1305
- * BytesRules describe the constraints applied to `bytes` values
1306
- *
1307
- * @generated from message genesis_validate.BytesRules
1308
- */
1309
- export declare class BytesRules extends Message<BytesRules> {
1310
- /**
1311
- * Const specifies that this field must be exactly the specified value
1312
- *
1313
- * @generated from field: optional bytes const = 1;
1314
- */
1315
- const?: Uint8Array;
1316
- /**
1317
- * Len specifies that this field must be the specified number of bytes
1318
- *
1319
- * @generated from field: optional uint64 len = 13;
1320
- */
1321
- len?: bigint;
1322
- /**
1323
- * MinLen specifies that this field must be the specified number of bytes
1324
- * at a minimum
1325
- *
1326
- * @generated from field: optional uint64 min_len = 2;
1327
- */
1328
- minLen?: bigint;
1329
- /**
1330
- * MaxLen specifies that this field must be the specified number of bytes
1331
- * at a maximum
1332
- *
1333
- * @generated from field: optional uint64 max_len = 3;
1334
- */
1335
- maxLen?: bigint;
1336
- /**
1337
- * Pattern specifes that this field must match against the specified
1338
- * regular expression (RE2 syntax). The included expression should elide
1339
- * any delimiters.
1340
- *
1341
- * @generated from field: optional string pattern = 4;
1342
- */
1343
- pattern?: string;
1344
- /**
1345
- * Prefix specifies that this field must have the specified bytes at the
1346
- * beginning of the string.
1347
- *
1348
- * @generated from field: optional bytes prefix = 5;
1349
- */
1350
- prefix?: Uint8Array;
1351
- /**
1352
- * Suffix specifies that this field must have the specified bytes at the
1353
- * end of the string.
1354
- *
1355
- * @generated from field: optional bytes suffix = 6;
1356
- */
1357
- suffix?: Uint8Array;
1358
- /**
1359
- * Contains specifies that this field must have the specified bytes
1360
- * anywhere in the string.
1361
- *
1362
- * @generated from field: optional bytes contains = 7;
1363
- */
1364
- contains?: Uint8Array;
1365
- /**
1366
- * In specifies that this field must be equal to one of the specified
1367
- * values
1368
- *
1369
- * @generated from field: repeated bytes in = 8;
1370
- */
1371
- in: Uint8Array[];
1372
- /**
1373
- * NotIn specifies that this field cannot be equal to one of the specified
1374
- * values
1375
- *
1376
- * @generated from field: repeated bytes not_in = 9;
1377
- */
1378
- notIn: Uint8Array[];
1379
- /**
1380
- * WellKnown rules provide advanced constraints against common byte
1381
- * patterns
1382
- *
1383
- * @generated from oneof genesis_validate.BytesRules.well_known
1384
- */
1385
- wellKnown: {
1386
- /**
1387
- * Ip specifies that the field must be a valid IP (v4 or v6) address in
1388
- * byte format
1389
- *
1390
- * @generated from field: bool ip = 10;
1391
- */
1392
- value: boolean;
1393
- case: "ip";
1394
- } | {
1395
- /**
1396
- * Ipv4 specifies that the field must be a valid IPv4 address in byte
1397
- * format
1398
- *
1399
- * @generated from field: bool ipv4 = 11;
1400
- */
1401
- value: boolean;
1402
- case: "ipv4";
1403
- } | {
1404
- /**
1405
- * Ipv6 specifies that the field must be a valid IPv6 address in byte
1406
- * format
1407
- *
1408
- * @generated from field: bool ipv6 = 12;
1409
- */
1410
- value: boolean;
1411
- case: "ipv6";
1412
- } | {
1413
- case: undefined;
1414
- value?: undefined;
1415
- };
1416
- /**
1417
- * IgnoreEmpty specifies that the validation rules of this field should be
1418
- * evaluated only if the field is not empty
1419
- *
1420
- * @generated from field: optional bool ignore_empty = 14;
1421
- */
1422
- ignoreEmpty?: boolean;
1423
- constructor(data?: PartialMessage<BytesRules>);
1424
- static readonly runtime: typeof proto2;
1425
- static readonly typeName = "genesis_validate.BytesRules";
1426
- static readonly fields: FieldList;
1427
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BytesRules;
1428
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BytesRules;
1429
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BytesRules;
1430
- static equals(a: BytesRules | PlainMessage<BytesRules> | undefined, b: BytesRules | PlainMessage<BytesRules> | undefined): boolean;
1431
- }
1432
- /**
1433
- * EnumRules describe the constraints applied to enum values
1434
- *
1435
- * @generated from message genesis_validate.EnumRules
1436
- */
1437
- export declare class EnumRules extends Message<EnumRules> {
1438
- /**
1439
- * Const specifies that this field must be exactly the specified value
1440
- *
1441
- * @generated from field: optional int32 const = 1;
1442
- */
1443
- const?: number;
1444
- /**
1445
- * DefinedOnly specifies that this field must be only one of the defined
1446
- * values for this enum, failing on any undefined value.
1447
- *
1448
- * @generated from field: optional bool defined_only = 2;
1449
- */
1450
- definedOnly?: boolean;
1451
- /**
1452
- * In specifies that this field must be equal to one of the specified
1453
- * values
1454
- *
1455
- * @generated from field: repeated int32 in = 3;
1456
- */
1457
- in: number[];
1458
- /**
1459
- * NotIn specifies that this field cannot be equal to one of the specified
1460
- * values
1461
- *
1462
- * @generated from field: repeated int32 not_in = 4;
1463
- */
1464
- notIn: number[];
1465
- constructor(data?: PartialMessage<EnumRules>);
1466
- static readonly runtime: typeof proto2;
1467
- static readonly typeName = "genesis_validate.EnumRules";
1468
- static readonly fields: FieldList;
1469
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnumRules;
1470
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnumRules;
1471
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnumRules;
1472
- static equals(a: EnumRules | PlainMessage<EnumRules> | undefined, b: EnumRules | PlainMessage<EnumRules> | undefined): boolean;
1473
- }
1474
- /**
1475
- * MessageRules describe the constraints applied to embedded message values.
1476
- * For message-type fields, validation is performed recursively.
1477
- *
1478
- * @generated from message genesis_validate.MessageRules
1479
- */
1480
- export declare class MessageRules extends Message<MessageRules> {
1481
- /**
1482
- * Skip specifies that the validation rules of this field should not be
1483
- * evaluated
1484
- *
1485
- * @generated from field: optional bool skip = 1;
1486
- */
1487
- skip?: boolean;
1488
- /**
1489
- * Required specifies that this field must be set
1490
- *
1491
- * @generated from field: optional bool required = 2;
1492
- */
1493
- required?: boolean;
1494
- constructor(data?: PartialMessage<MessageRules>);
1495
- static readonly runtime: typeof proto2;
1496
- static readonly typeName = "genesis_validate.MessageRules";
1497
- static readonly fields: FieldList;
1498
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MessageRules;
1499
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MessageRules;
1500
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MessageRules;
1501
- static equals(a: MessageRules | PlainMessage<MessageRules> | undefined, b: MessageRules | PlainMessage<MessageRules> | undefined): boolean;
1502
- }
1503
- /**
1504
- * RepeatedRules describe the constraints applied to `repeated` values
1505
- *
1506
- * @generated from message genesis_validate.RepeatedRules
1507
- */
1508
- export declare class RepeatedRules extends Message<RepeatedRules> {
1509
- /**
1510
- * MinItems specifies that this field must have the specified number of
1511
- * items at a minimum
1512
- *
1513
- * @generated from field: optional uint64 min_items = 1;
1514
- */
1515
- minItems?: bigint;
1516
- /**
1517
- * MaxItems specifies that this field must have the specified number of
1518
- * items at a maximum
1519
- *
1520
- * @generated from field: optional uint64 max_items = 2;
1521
- */
1522
- maxItems?: bigint;
1523
- /**
1524
- * Unique specifies that all elements in this field must be unique. This
1525
- * contraint is only applicable to scalar and enum types (messages are not
1526
- * supported).
1527
- *
1528
- * @generated from field: optional bool unique = 3;
1529
- */
1530
- unique?: boolean;
1531
- /**
1532
- * Items specifies the contraints to be applied to each item in the field.
1533
- * Repeated message fields will still execute validation against each item
1534
- * unless skip is specified here.
1535
- *
1536
- * @generated from field: optional genesis_validate.FieldRules items = 4;
1537
- */
1538
- items?: FieldRules;
1539
- /**
1540
- * IgnoreEmpty specifies that the validation rules of this field should be
1541
- * evaluated only if the field is not empty
1542
- *
1543
- * @generated from field: optional bool ignore_empty = 5;
1544
- */
1545
- ignoreEmpty?: boolean;
1546
- constructor(data?: PartialMessage<RepeatedRules>);
1547
- static readonly runtime: typeof proto2;
1548
- static readonly typeName = "genesis_validate.RepeatedRules";
1549
- static readonly fields: FieldList;
1550
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RepeatedRules;
1551
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RepeatedRules;
1552
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RepeatedRules;
1553
- static equals(a: RepeatedRules | PlainMessage<RepeatedRules> | undefined, b: RepeatedRules | PlainMessage<RepeatedRules> | undefined): boolean;
1554
- }
1555
- /**
1556
- * MapRules describe the constraints applied to `map` values
1557
- *
1558
- * @generated from message genesis_validate.MapRules
1559
- */
1560
- export declare class MapRules extends Message<MapRules> {
1561
- /**
1562
- * MinPairs specifies that this field must have the specified number of
1563
- * KVs at a minimum
1564
- *
1565
- * @generated from field: optional uint64 min_pairs = 1;
1566
- */
1567
- minPairs?: bigint;
1568
- /**
1569
- * MaxPairs specifies that this field must have the specified number of
1570
- * KVs at a maximum
1571
- *
1572
- * @generated from field: optional uint64 max_pairs = 2;
1573
- */
1574
- maxPairs?: bigint;
1575
- /**
1576
- * NoSparse specifies values in this field cannot be unset. This only
1577
- * applies to map's with message value types.
1578
- *
1579
- * @generated from field: optional bool no_sparse = 3;
1580
- */
1581
- noSparse?: boolean;
1582
- /**
1583
- * Keys specifies the constraints to be applied to each key in the field.
1584
- *
1585
- * @generated from field: optional genesis_validate.FieldRules keys = 4;
1586
- */
1587
- keys?: FieldRules;
1588
- /**
1589
- * Values specifies the constraints to be applied to the value of each key
1590
- * in the field. Message values will still have their validations evaluated
1591
- * unless skip is specified here.
1592
- *
1593
- * @generated from field: optional genesis_validate.FieldRules values = 5;
1594
- */
1595
- values?: FieldRules;
1596
- /**
1597
- * IgnoreEmpty specifies that the validation rules of this field should be
1598
- * evaluated only if the field is not empty
1599
- *
1600
- * @generated from field: optional bool ignore_empty = 6;
1601
- */
1602
- ignoreEmpty?: boolean;
1603
- constructor(data?: PartialMessage<MapRules>);
1604
- static readonly runtime: typeof proto2;
1605
- static readonly typeName = "genesis_validate.MapRules";
1606
- static readonly fields: FieldList;
1607
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MapRules;
1608
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MapRules;
1609
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MapRules;
1610
- static equals(a: MapRules | PlainMessage<MapRules> | undefined, b: MapRules | PlainMessage<MapRules> | undefined): boolean;
1611
- }
1612
- /**
1613
- * AnyRules describe constraints applied exclusively to the
1614
- * `google.protobuf.Any` well-known type
1615
- *
1616
- * @generated from message genesis_validate.AnyRules
1617
- */
1618
- export declare class AnyRules extends Message<AnyRules> {
1619
- /**
1620
- * Required specifies that this field must be set
1621
- *
1622
- * @generated from field: optional bool required = 1;
1623
- */
1624
- required?: boolean;
1625
- /**
1626
- * In specifies that this field's `type_url` must be equal to one of the
1627
- * specified values.
1628
- *
1629
- * @generated from field: repeated string in = 2;
1630
- */
1631
- in: string[];
1632
- /**
1633
- * NotIn specifies that this field's `type_url` must not be equal to any of
1634
- * the specified values.
1635
- *
1636
- * @generated from field: repeated string not_in = 3;
1637
- */
1638
- notIn: string[];
1639
- constructor(data?: PartialMessage<AnyRules>);
1640
- static readonly runtime: typeof proto2;
1641
- static readonly typeName = "genesis_validate.AnyRules";
1642
- static readonly fields: FieldList;
1643
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AnyRules;
1644
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AnyRules;
1645
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AnyRules;
1646
- static equals(a: AnyRules | PlainMessage<AnyRules> | undefined, b: AnyRules | PlainMessage<AnyRules> | undefined): boolean;
1647
- }
1648
- /**
1649
- * DurationRules describe the constraints applied exclusively to the
1650
- * `google.protobuf.Duration` well-known type
1651
- *
1652
- * @generated from message genesis_validate.DurationRules
1653
- */
1654
- export declare class DurationRules extends Message<DurationRules> {
1655
- /**
1656
- * Required specifies that this field must be set
1657
- *
1658
- * @generated from field: optional bool required = 1;
1659
- */
1660
- required?: boolean;
1661
- /**
1662
- * Const specifies that this field must be exactly the specified value
1663
- *
1664
- * @generated from field: optional google.protobuf.Duration const = 2;
1665
- */
1666
- const?: Duration;
1667
- /**
1668
- * Lt specifies that this field must be less than the specified value,
1669
- * exclusive
1670
- *
1671
- * @generated from field: optional google.protobuf.Duration lt = 3;
1672
- */
1673
- lt?: Duration;
1674
- /**
1675
- * Lt specifies that this field must be less than the specified value,
1676
- * inclusive
1677
- *
1678
- * @generated from field: optional google.protobuf.Duration lte = 4;
1679
- */
1680
- lte?: Duration;
1681
- /**
1682
- * Gt specifies that this field must be greater than the specified value,
1683
- * exclusive
1684
- *
1685
- * @generated from field: optional google.protobuf.Duration gt = 5;
1686
- */
1687
- gt?: Duration;
1688
- /**
1689
- * Gte specifies that this field must be greater than the specified value,
1690
- * inclusive
1691
- *
1692
- * @generated from field: optional google.protobuf.Duration gte = 6;
1693
- */
1694
- gte?: Duration;
1695
- /**
1696
- * In specifies that this field must be equal to one of the specified
1697
- * values
1698
- *
1699
- * @generated from field: repeated google.protobuf.Duration in = 7;
1700
- */
1701
- in: Duration[];
1702
- /**
1703
- * NotIn specifies that this field cannot be equal to one of the specified
1704
- * values
1705
- *
1706
- * @generated from field: repeated google.protobuf.Duration not_in = 8;
1707
- */
1708
- notIn: Duration[];
1709
- constructor(data?: PartialMessage<DurationRules>);
1710
- static readonly runtime: typeof proto2;
1711
- static readonly typeName = "genesis_validate.DurationRules";
1712
- static readonly fields: FieldList;
1713
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DurationRules;
1714
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DurationRules;
1715
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DurationRules;
1716
- static equals(a: DurationRules | PlainMessage<DurationRules> | undefined, b: DurationRules | PlainMessage<DurationRules> | undefined): boolean;
1717
- }
1718
- /**
1719
- * TimestampRules describe the constraints applied exclusively to the
1720
- * `google.protobuf.Timestamp` well-known type
1721
- *
1722
- * @generated from message genesis_validate.TimestampRules
1723
- */
1724
- export declare class TimestampRules extends Message<TimestampRules> {
1725
- /**
1726
- * Required specifies that this field must be set
1727
- *
1728
- * @generated from field: optional bool required = 1;
1729
- */
1730
- required?: boolean;
1731
- /**
1732
- * Const specifies that this field must be exactly the specified value
1733
- *
1734
- * @generated from field: optional google.protobuf.Timestamp const = 2;
1735
- */
1736
- const?: Timestamp;
1737
- /**
1738
- * Lt specifies that this field must be less than the specified value,
1739
- * exclusive
1740
- *
1741
- * @generated from field: optional google.protobuf.Timestamp lt = 3;
1742
- */
1743
- lt?: Timestamp;
1744
- /**
1745
- * Lte specifies that this field must be less than the specified value,
1746
- * inclusive
1747
- *
1748
- * @generated from field: optional google.protobuf.Timestamp lte = 4;
1749
- */
1750
- lte?: Timestamp;
1751
- /**
1752
- * Gt specifies that this field must be greater than the specified value,
1753
- * exclusive
1754
- *
1755
- * @generated from field: optional google.protobuf.Timestamp gt = 5;
1756
- */
1757
- gt?: Timestamp;
1758
- /**
1759
- * Gte specifies that this field must be greater than the specified value,
1760
- * inclusive
1761
- *
1762
- * @generated from field: optional google.protobuf.Timestamp gte = 6;
1763
- */
1764
- gte?: Timestamp;
1765
- /**
1766
- * LtNow specifies that this must be less than the current time. LtNow
1767
- * can only be used with the Within rule.
1768
- *
1769
- * @generated from field: optional bool lt_now = 7;
1770
- */
1771
- ltNow?: boolean;
1772
- /**
1773
- * GtNow specifies that this must be greater than the current time. GtNow
1774
- * can only be used with the Within rule.
1775
- *
1776
- * @generated from field: optional bool gt_now = 8;
1777
- */
1778
- gtNow?: boolean;
1779
- /**
1780
- * Within specifies that this field must be within this duration of the
1781
- * current time. This constraint can be used alone or with the LtNow and
1782
- * GtNow rules.
1783
- *
1784
- * @generated from field: optional google.protobuf.Duration within = 9;
1785
- */
1786
- within?: Duration;
1787
- constructor(data?: PartialMessage<TimestampRules>);
1788
- static readonly runtime: typeof proto2;
1789
- static readonly typeName = "genesis_validate.TimestampRules";
1790
- static readonly fields: FieldList;
1791
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TimestampRules;
1792
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TimestampRules;
1793
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TimestampRules;
1794
- static equals(a: TimestampRules | PlainMessage<TimestampRules> | undefined, b: TimestampRules | PlainMessage<TimestampRules> | undefined): boolean;
1795
- }
1796
- //# sourceMappingURL=genesis.validate.scailo_pb.d.ts.map