@verana-labs/verana-types 0.10.1-dev.12 → 0.10.1-dev.14

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 (61) hide show
  1. package/dist/amino-converter/co.d.ts +3 -0
  2. package/dist/amino-converter/co.js +164 -0
  3. package/dist/amino-converter/cs.js +2 -2
  4. package/dist/amino-converter/ec.d.ts +4 -0
  5. package/dist/amino-converter/ec.js +63 -0
  6. package/dist/amino-converter/{tr.d.ts → gf.d.ts} +0 -3
  7. package/dist/amino-converter/gf.js +48 -0
  8. package/dist/amino-converter/group.d.ts +3 -0
  9. package/dist/amino-converter/group.js +91 -0
  10. package/dist/amino-converter/pp.d.ts +12 -0
  11. package/dist/amino-converter/{perm.js → pp.js} +95 -79
  12. package/dist/codec/verana/cs/v1/query.d.ts +2 -2
  13. package/dist/codec/verana/cs/v1/query.js +21 -21
  14. package/dist/codec/verana/cs/v1/tx.d.ts +1 -1
  15. package/dist/codec/verana/cs/v1/tx.js +22 -22
  16. package/dist/codec/verana/cs/v1/types.d.ts +6 -2
  17. package/dist/codec/verana/cs/v1/types.js +30 -30
  18. package/dist/codec/verana/de/v1/query.d.ts +72 -4
  19. package/dist/codec/verana/de/v1/query.js +261 -19
  20. package/dist/codec/verana/de/v1/types.d.ts +124 -34
  21. package/dist/codec/verana/de/v1/types.js +361 -109
  22. package/dist/codec/verana/{tr → ec}/module/module.d.ts +1 -1
  23. package/dist/codec/verana/{tr → ec}/module/module.js +2 -2
  24. package/dist/codec/verana/{tr → ec}/v1/genesis.d.ts +10 -12
  25. package/dist/codec/verana/{tr → ec}/v1/genesis.js +16 -56
  26. package/dist/codec/verana/{tr → ec}/v1/params.d.ts +1 -1
  27. package/dist/codec/verana/{tr → ec}/v1/params.js +2 -2
  28. package/dist/codec/verana/ec/v1/query.d.ts +109 -0
  29. package/dist/codec/verana/{tr → ec}/v1/query.js +69 -71
  30. package/dist/codec/verana/ec/v1/tx.d.ts +152 -0
  31. package/dist/codec/verana/{tr → ec}/v1/tx.js +85 -403
  32. package/dist/codec/verana/ec/v1/types.d.ts +67 -0
  33. package/dist/codec/verana/ec/v1/types.js +422 -0
  34. package/dist/codec/verana/{perm → pp}/module/module.d.ts +1 -1
  35. package/dist/codec/verana/{perm → pp}/module/module.js +2 -2
  36. package/dist/codec/verana/{perm → pp}/v1/genesis.d.ts +9 -9
  37. package/dist/codec/verana/{perm → pp}/v1/genesis.js +26 -26
  38. package/dist/codec/verana/{perm → pp}/v1/params.d.ts +1 -1
  39. package/dist/codec/verana/{perm → pp}/v1/params.js +2 -2
  40. package/dist/codec/verana/pp/v1/query.d.ts +208 -0
  41. package/dist/codec/verana/{perm → pp}/v1/query.js +148 -148
  42. package/dist/codec/verana/pp/v1/tx.d.ts +447 -0
  43. package/dist/codec/verana/{perm → pp}/v1/tx.js +412 -302
  44. package/dist/codec/verana/pp/v1/types.d.ts +137 -0
  45. package/dist/codec/verana/{perm → pp}/v1/types.js +270 -345
  46. package/dist/helpers/aminoConverters.d.ts +6 -4
  47. package/dist/helpers/aminoConverters.js +6 -4
  48. package/dist/index.d.ts +4 -2
  49. package/dist/index.js +4 -2
  50. package/dist/signing.d.ts +36 -32
  51. package/dist/signing.js +85 -68
  52. package/package.json +1 -1
  53. package/dist/amino-converter/perm.d.ts +0 -12
  54. package/dist/amino-converter/tr.js +0 -107
  55. package/dist/codec/verana/perm/v1/query.d.ts +0 -208
  56. package/dist/codec/verana/perm/v1/tx.d.ts +0 -441
  57. package/dist/codec/verana/perm/v1/types.d.ts +0 -134
  58. package/dist/codec/verana/tr/v1/query.d.ts +0 -117
  59. package/dist/codec/verana/tr/v1/tx.d.ts +0 -255
  60. package/dist/codec/verana/tr/v1/types.d.ts +0 -105
  61. package/dist/codec/verana/tr/v1/types.js +0 -809
@@ -155,7 +155,6 @@ function createBaseMsgCreateCredentialSchema() {
155
155
  return {
156
156
  corporation: "",
157
157
  operator: "",
158
- trId: 0,
159
158
  jsonSchema: "",
160
159
  issuerGrantorValidationValidityPeriod: undefined,
161
160
  verifierGrantorValidationValidityPeriod: undefined,
@@ -168,6 +167,7 @@ function createBaseMsgCreateCredentialSchema() {
168
167
  pricingAsset: "",
169
168
  digestAlgorithm: "",
170
169
  holderOnboardingMode: 0,
170
+ ecosystemId: 0,
171
171
  };
172
172
  }
173
173
  exports.MsgCreateCredentialSchema = {
@@ -178,9 +178,6 @@ exports.MsgCreateCredentialSchema = {
178
178
  if (message.operator !== "") {
179
179
  writer.uint32(18).string(message.operator);
180
180
  }
181
- if (message.trId !== 0) {
182
- writer.uint32(24).uint64(message.trId);
183
- }
184
181
  if (message.jsonSchema !== "") {
185
182
  writer.uint32(34).string(message.jsonSchema);
186
183
  }
@@ -217,6 +214,9 @@ exports.MsgCreateCredentialSchema = {
217
214
  if (message.holderOnboardingMode !== 0) {
218
215
  writer.uint32(120).uint32(message.holderOnboardingMode);
219
216
  }
217
+ if (message.ecosystemId !== 0) {
218
+ writer.uint32(128).uint64(message.ecosystemId);
219
+ }
220
220
  return writer;
221
221
  },
222
222
  decode(input, length) {
@@ -238,12 +238,6 @@ exports.MsgCreateCredentialSchema = {
238
238
  }
239
239
  message.operator = reader.string();
240
240
  continue;
241
- case 3:
242
- if (tag !== 24) {
243
- break;
244
- }
245
- message.trId = longToNumber(reader.uint64());
246
- continue;
247
241
  case 4:
248
242
  if (tag !== 34) {
249
243
  break;
@@ -316,6 +310,12 @@ exports.MsgCreateCredentialSchema = {
316
310
  }
317
311
  message.holderOnboardingMode = reader.uint32();
318
312
  continue;
313
+ case 16:
314
+ if (tag !== 128) {
315
+ break;
316
+ }
317
+ message.ecosystemId = longToNumber(reader.uint64());
318
+ continue;
319
319
  }
320
320
  if ((tag & 7) === 4 || tag === 0) {
321
321
  break;
@@ -328,7 +328,6 @@ exports.MsgCreateCredentialSchema = {
328
328
  return {
329
329
  corporation: isSet(object.corporation) ? globalThis.String(object.corporation) : "",
330
330
  operator: isSet(object.operator) ? globalThis.String(object.operator) : "",
331
- trId: isSet(object.trId) ? globalThis.Number(object.trId) : 0,
332
331
  jsonSchema: isSet(object.jsonSchema) ? globalThis.String(object.jsonSchema) : "",
333
332
  issuerGrantorValidationValidityPeriod: isSet(object.issuerGrantorValidationValidityPeriod)
334
333
  ? exports.OptionalUInt32.fromJSON(object.issuerGrantorValidationValidityPeriod)
@@ -353,6 +352,7 @@ exports.MsgCreateCredentialSchema = {
353
352
  pricingAsset: isSet(object.pricingAsset) ? globalThis.String(object.pricingAsset) : "",
354
353
  digestAlgorithm: isSet(object.digestAlgorithm) ? globalThis.String(object.digestAlgorithm) : "",
355
354
  holderOnboardingMode: isSet(object.holderOnboardingMode) ? globalThis.Number(object.holderOnboardingMode) : 0,
355
+ ecosystemId: isSet(object.ecosystemId) ? globalThis.Number(object.ecosystemId) : 0,
356
356
  };
357
357
  },
358
358
  toJSON(message) {
@@ -363,9 +363,6 @@ exports.MsgCreateCredentialSchema = {
363
363
  if (message.operator !== "") {
364
364
  obj.operator = message.operator;
365
365
  }
366
- if (message.trId !== 0) {
367
- obj.trId = Math.round(message.trId);
368
- }
369
366
  if (message.jsonSchema !== "") {
370
367
  obj.jsonSchema = message.jsonSchema;
371
368
  }
@@ -402,6 +399,9 @@ exports.MsgCreateCredentialSchema = {
402
399
  if (message.holderOnboardingMode !== 0) {
403
400
  obj.holderOnboardingMode = Math.round(message.holderOnboardingMode);
404
401
  }
402
+ if (message.ecosystemId !== 0) {
403
+ obj.ecosystemId = Math.round(message.ecosystemId);
404
+ }
405
405
  return obj;
406
406
  },
407
407
  create(base) {
@@ -412,8 +412,7 @@ exports.MsgCreateCredentialSchema = {
412
412
  const message = createBaseMsgCreateCredentialSchema();
413
413
  message.corporation = (_a = object.corporation) !== null && _a !== void 0 ? _a : "";
414
414
  message.operator = (_b = object.operator) !== null && _b !== void 0 ? _b : "";
415
- message.trId = (_c = object.trId) !== null && _c !== void 0 ? _c : 0;
416
- message.jsonSchema = (_d = object.jsonSchema) !== null && _d !== void 0 ? _d : "";
415
+ message.jsonSchema = (_c = object.jsonSchema) !== null && _c !== void 0 ? _c : "";
417
416
  message.issuerGrantorValidationValidityPeriod =
418
417
  (object.issuerGrantorValidationValidityPeriod !== undefined &&
419
418
  object.issuerGrantorValidationValidityPeriod !== null)
@@ -436,12 +435,13 @@ exports.MsgCreateCredentialSchema = {
436
435
  (object.holderValidationValidityPeriod !== undefined && object.holderValidationValidityPeriod !== null)
437
436
  ? exports.OptionalUInt32.fromPartial(object.holderValidationValidityPeriod)
438
437
  : undefined;
439
- message.issuerOnboardingMode = (_e = object.issuerOnboardingMode) !== null && _e !== void 0 ? _e : 0;
440
- message.verifierOnboardingMode = (_f = object.verifierOnboardingMode) !== null && _f !== void 0 ? _f : 0;
441
- message.pricingAssetType = (_g = object.pricingAssetType) !== null && _g !== void 0 ? _g : 0;
442
- message.pricingAsset = (_h = object.pricingAsset) !== null && _h !== void 0 ? _h : "";
443
- message.digestAlgorithm = (_j = object.digestAlgorithm) !== null && _j !== void 0 ? _j : "";
444
- message.holderOnboardingMode = (_k = object.holderOnboardingMode) !== null && _k !== void 0 ? _k : 0;
438
+ message.issuerOnboardingMode = (_d = object.issuerOnboardingMode) !== null && _d !== void 0 ? _d : 0;
439
+ message.verifierOnboardingMode = (_e = object.verifierOnboardingMode) !== null && _e !== void 0 ? _e : 0;
440
+ message.pricingAssetType = (_f = object.pricingAssetType) !== null && _f !== void 0 ? _f : 0;
441
+ message.pricingAsset = (_g = object.pricingAsset) !== null && _g !== void 0 ? _g : "";
442
+ message.digestAlgorithm = (_h = object.digestAlgorithm) !== null && _h !== void 0 ? _h : "";
443
+ message.holderOnboardingMode = (_j = object.holderOnboardingMode) !== null && _j !== void 0 ? _j : 0;
444
+ message.ecosystemId = (_k = object.ecosystemId) !== null && _k !== void 0 ? _k : 0;
445
445
  return message;
446
446
  },
447
447
  };
@@ -74,10 +74,13 @@ export interface SchemaAuthorizationPolicy {
74
74
  created: Date | undefined;
75
75
  version: number;
76
76
  }
77
- /** CredentialSchema defines the structure for a credential schema */
77
+ /**
78
+ * CredentialSchema defines the structure for a credential schema.
79
+ * `ecosystem_id` is the v4-rc2 replacement for the legacy `tr_id` field (issue
80
+ * #305): the owning subject is now an Ecosystem, identified by its uint64 id.
81
+ */
78
82
  export interface CredentialSchema {
79
83
  id: number;
80
- trId: number;
81
84
  created: Date | undefined;
82
85
  modified: Date | undefined;
83
86
  archived: Date | undefined;
@@ -93,6 +96,7 @@ export interface CredentialSchema {
93
96
  pricingAsset: string;
94
97
  digestAlgorithm: string;
95
98
  holderOnboardingMode: HolderOnboardingMode;
99
+ ecosystemId: number;
96
100
  }
97
101
  export declare const SchemaAuthorizationPolicy: {
98
102
  encode(message: SchemaAuthorizationPolicy, writer?: _m0.Writer): _m0.Writer;
@@ -467,7 +467,6 @@ exports.SchemaAuthorizationPolicy = {
467
467
  function createBaseCredentialSchema() {
468
468
  return {
469
469
  id: 0,
470
- trId: 0,
471
470
  created: undefined,
472
471
  modified: undefined,
473
472
  archived: undefined,
@@ -483,6 +482,7 @@ function createBaseCredentialSchema() {
483
482
  pricingAsset: "",
484
483
  digestAlgorithm: "",
485
484
  holderOnboardingMode: 0,
485
+ ecosystemId: 0,
486
486
  };
487
487
  }
488
488
  exports.CredentialSchema = {
@@ -490,9 +490,6 @@ exports.CredentialSchema = {
490
490
  if (message.id !== 0) {
491
491
  writer.uint32(8).uint64(message.id);
492
492
  }
493
- if (message.trId !== 0) {
494
- writer.uint32(16).uint64(message.trId);
495
- }
496
493
  if (message.created !== undefined) {
497
494
  timestamp_1.Timestamp.encode(toTimestamp(message.created), writer.uint32(26).fork()).ldelim();
498
495
  }
@@ -538,6 +535,9 @@ exports.CredentialSchema = {
538
535
  if (message.holderOnboardingMode !== 0) {
539
536
  writer.uint32(144).int32(message.holderOnboardingMode);
540
537
  }
538
+ if (message.ecosystemId !== 0) {
539
+ writer.uint32(152).uint64(message.ecosystemId);
540
+ }
541
541
  return writer;
542
542
  },
543
543
  decode(input, length) {
@@ -553,12 +553,6 @@ exports.CredentialSchema = {
553
553
  }
554
554
  message.id = longToNumber(reader.uint64());
555
555
  continue;
556
- case 2:
557
- if (tag !== 16) {
558
- break;
559
- }
560
- message.trId = longToNumber(reader.uint64());
561
- continue;
562
556
  case 3:
563
557
  if (tag !== 26) {
564
558
  break;
@@ -649,6 +643,12 @@ exports.CredentialSchema = {
649
643
  }
650
644
  message.holderOnboardingMode = reader.int32();
651
645
  continue;
646
+ case 19:
647
+ if (tag !== 152) {
648
+ break;
649
+ }
650
+ message.ecosystemId = longToNumber(reader.uint64());
651
+ continue;
652
652
  }
653
653
  if ((tag & 7) === 4 || tag === 0) {
654
654
  break;
@@ -660,7 +660,6 @@ exports.CredentialSchema = {
660
660
  fromJSON(object) {
661
661
  return {
662
662
  id: isSet(object.id) ? globalThis.Number(object.id) : 0,
663
- trId: isSet(object.trId) ? globalThis.Number(object.trId) : 0,
664
663
  created: isSet(object.created) ? fromJsonTimestamp(object.created) : undefined,
665
664
  modified: isSet(object.modified) ? fromJsonTimestamp(object.modified) : undefined,
666
665
  archived: isSet(object.archived) ? fromJsonTimestamp(object.archived) : undefined,
@@ -692,6 +691,7 @@ exports.CredentialSchema = {
692
691
  holderOnboardingMode: isSet(object.holderOnboardingMode)
693
692
  ? holderOnboardingModeFromJSON(object.holderOnboardingMode)
694
693
  : 0,
694
+ ecosystemId: isSet(object.ecosystemId) ? globalThis.Number(object.ecosystemId) : 0,
695
695
  };
696
696
  },
697
697
  toJSON(message) {
@@ -699,9 +699,6 @@ exports.CredentialSchema = {
699
699
  if (message.id !== 0) {
700
700
  obj.id = Math.round(message.id);
701
701
  }
702
- if (message.trId !== 0) {
703
- obj.trId = Math.round(message.trId);
704
- }
705
702
  if (message.created !== undefined) {
706
703
  obj.created = message.created.toISOString();
707
704
  }
@@ -747,6 +744,9 @@ exports.CredentialSchema = {
747
744
  if (message.holderOnboardingMode !== 0) {
748
745
  obj.holderOnboardingMode = holderOnboardingModeToJSON(message.holderOnboardingMode);
749
746
  }
747
+ if (message.ecosystemId !== 0) {
748
+ obj.ecosystemId = Math.round(message.ecosystemId);
749
+ }
750
750
  return obj;
751
751
  },
752
752
  create(base) {
@@ -756,22 +756,22 @@ exports.CredentialSchema = {
756
756
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
757
757
  const message = createBaseCredentialSchema();
758
758
  message.id = (_a = object.id) !== null && _a !== void 0 ? _a : 0;
759
- message.trId = (_b = object.trId) !== null && _b !== void 0 ? _b : 0;
760
- message.created = (_c = object.created) !== null && _c !== void 0 ? _c : undefined;
761
- message.modified = (_d = object.modified) !== null && _d !== void 0 ? _d : undefined;
762
- message.archived = (_e = object.archived) !== null && _e !== void 0 ? _e : undefined;
763
- message.jsonSchema = (_f = object.jsonSchema) !== null && _f !== void 0 ? _f : "";
764
- message.issuerGrantorValidationValidityPeriod = (_g = object.issuerGrantorValidationValidityPeriod) !== null && _g !== void 0 ? _g : 0;
765
- message.verifierGrantorValidationValidityPeriod = (_h = object.verifierGrantorValidationValidityPeriod) !== null && _h !== void 0 ? _h : 0;
766
- message.issuerValidationValidityPeriod = (_j = object.issuerValidationValidityPeriod) !== null && _j !== void 0 ? _j : 0;
767
- message.verifierValidationValidityPeriod = (_k = object.verifierValidationValidityPeriod) !== null && _k !== void 0 ? _k : 0;
768
- message.holderValidationValidityPeriod = (_l = object.holderValidationValidityPeriod) !== null && _l !== void 0 ? _l : 0;
769
- message.issuerOnboardingMode = (_m = object.issuerOnboardingMode) !== null && _m !== void 0 ? _m : 0;
770
- message.verifierOnboardingMode = (_o = object.verifierOnboardingMode) !== null && _o !== void 0 ? _o : 0;
771
- message.pricingAssetType = (_p = object.pricingAssetType) !== null && _p !== void 0 ? _p : 0;
772
- message.pricingAsset = (_q = object.pricingAsset) !== null && _q !== void 0 ? _q : "";
773
- message.digestAlgorithm = (_r = object.digestAlgorithm) !== null && _r !== void 0 ? _r : "";
774
- message.holderOnboardingMode = (_s = object.holderOnboardingMode) !== null && _s !== void 0 ? _s : 0;
759
+ message.created = (_b = object.created) !== null && _b !== void 0 ? _b : undefined;
760
+ message.modified = (_c = object.modified) !== null && _c !== void 0 ? _c : undefined;
761
+ message.archived = (_d = object.archived) !== null && _d !== void 0 ? _d : undefined;
762
+ message.jsonSchema = (_e = object.jsonSchema) !== null && _e !== void 0 ? _e : "";
763
+ message.issuerGrantorValidationValidityPeriod = (_f = object.issuerGrantorValidationValidityPeriod) !== null && _f !== void 0 ? _f : 0;
764
+ message.verifierGrantorValidationValidityPeriod = (_g = object.verifierGrantorValidationValidityPeriod) !== null && _g !== void 0 ? _g : 0;
765
+ message.issuerValidationValidityPeriod = (_h = object.issuerValidationValidityPeriod) !== null && _h !== void 0 ? _h : 0;
766
+ message.verifierValidationValidityPeriod = (_j = object.verifierValidationValidityPeriod) !== null && _j !== void 0 ? _j : 0;
767
+ message.holderValidationValidityPeriod = (_k = object.holderValidationValidityPeriod) !== null && _k !== void 0 ? _k : 0;
768
+ message.issuerOnboardingMode = (_l = object.issuerOnboardingMode) !== null && _l !== void 0 ? _l : 0;
769
+ message.verifierOnboardingMode = (_m = object.verifierOnboardingMode) !== null && _m !== void 0 ? _m : 0;
770
+ message.pricingAssetType = (_o = object.pricingAssetType) !== null && _o !== void 0 ? _o : 0;
771
+ message.pricingAsset = (_p = object.pricingAsset) !== null && _p !== void 0 ? _p : "";
772
+ message.digestAlgorithm = (_q = object.digestAlgorithm) !== null && _q !== void 0 ? _q : "";
773
+ message.holderOnboardingMode = (_r = object.holderOnboardingMode) !== null && _r !== void 0 ? _r : 0;
774
+ message.ecosystemId = (_s = object.ecosystemId) !== null && _s !== void 0 ? _s : 0;
775
775
  return message;
776
776
  },
777
777
  };
@@ -15,8 +15,8 @@ export interface QueryParamsResponse {
15
15
  * Query/ListOperatorAuthorizations RPC method.
16
16
  */
17
17
  export interface QueryListOperatorAuthorizationsRequest {
18
- /** corporation filters by the corporation group that granted the authorization. */
19
- corporation: string;
18
+ /** corporation_id filters by the corporation that granted the authorization. */
19
+ corporationId: number;
20
20
  /** operator filters by the operator account that received the authorization. */
21
21
  operator: string;
22
22
  /** response_max_size limits the number of results. Must be 1-1024, defaults to 64. */
@@ -34,8 +34,8 @@ export interface QueryListOperatorAuthorizationsResponse {
34
34
  * Query/ListVSOperatorAuthorizations RPC method.
35
35
  */
36
36
  export interface QueryListVSOperatorAuthorizationsRequest {
37
- /** corporation filters by the corporation group that granted the authorization. */
38
- corporation: string;
37
+ /** corporation_id filters by the corporation that granted the authorization. */
38
+ corporationId: number;
39
39
  /** vs_operator filters by the VS operator account. */
40
40
  vsOperator: string;
41
41
  /** response_max_size limits the number of results. Must be 1-1024, defaults to 64. */
@@ -48,6 +48,36 @@ export interface QueryListVSOperatorAuthorizationsRequest {
48
48
  export interface QueryListVSOperatorAuthorizationsResponse {
49
49
  vsOperatorAuthorizations: VSOperatorAuthorization[];
50
50
  }
51
+ /**
52
+ * QueryGetOperatorAuthorizationRequest is the request type for the
53
+ * Query/GetOperatorAuthorization RPC method.
54
+ */
55
+ export interface QueryGetOperatorAuthorizationRequest {
56
+ /** id is the OperatorAuthorization id to fetch. */
57
+ id: number;
58
+ }
59
+ /**
60
+ * QueryGetOperatorAuthorizationResponse is the response type for the
61
+ * Query/GetOperatorAuthorization RPC method.
62
+ */
63
+ export interface QueryGetOperatorAuthorizationResponse {
64
+ operatorAuthorization: OperatorAuthorization | undefined;
65
+ }
66
+ /**
67
+ * QueryGetVSOperatorAuthorizationRequest is the request type for the
68
+ * Query/GetVSOperatorAuthorization RPC method.
69
+ */
70
+ export interface QueryGetVSOperatorAuthorizationRequest {
71
+ /** id is the VSOperatorAuthorization id to fetch. */
72
+ id: number;
73
+ }
74
+ /**
75
+ * QueryGetVSOperatorAuthorizationResponse is the response type for the
76
+ * Query/GetVSOperatorAuthorization RPC method.
77
+ */
78
+ export interface QueryGetVSOperatorAuthorizationResponse {
79
+ vsOperatorAuthorization: VSOperatorAuthorization | undefined;
80
+ }
51
81
  export declare const QueryParamsRequest: {
52
82
  encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer;
53
83
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest;
@@ -96,6 +126,38 @@ export declare const QueryListVSOperatorAuthorizationsResponse: {
96
126
  create<I extends Exact<DeepPartial<QueryListVSOperatorAuthorizationsResponse>, I>>(base?: I): QueryListVSOperatorAuthorizationsResponse;
97
127
  fromPartial<I extends Exact<DeepPartial<QueryListVSOperatorAuthorizationsResponse>, I>>(object: I): QueryListVSOperatorAuthorizationsResponse;
98
128
  };
129
+ export declare const QueryGetOperatorAuthorizationRequest: {
130
+ encode(message: QueryGetOperatorAuthorizationRequest, writer?: _m0.Writer): _m0.Writer;
131
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryGetOperatorAuthorizationRequest;
132
+ fromJSON(object: any): QueryGetOperatorAuthorizationRequest;
133
+ toJSON(message: QueryGetOperatorAuthorizationRequest): unknown;
134
+ create<I extends Exact<DeepPartial<QueryGetOperatorAuthorizationRequest>, I>>(base?: I): QueryGetOperatorAuthorizationRequest;
135
+ fromPartial<I extends Exact<DeepPartial<QueryGetOperatorAuthorizationRequest>, I>>(object: I): QueryGetOperatorAuthorizationRequest;
136
+ };
137
+ export declare const QueryGetOperatorAuthorizationResponse: {
138
+ encode(message: QueryGetOperatorAuthorizationResponse, writer?: _m0.Writer): _m0.Writer;
139
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryGetOperatorAuthorizationResponse;
140
+ fromJSON(object: any): QueryGetOperatorAuthorizationResponse;
141
+ toJSON(message: QueryGetOperatorAuthorizationResponse): unknown;
142
+ create<I extends Exact<DeepPartial<QueryGetOperatorAuthorizationResponse>, I>>(base?: I): QueryGetOperatorAuthorizationResponse;
143
+ fromPartial<I extends Exact<DeepPartial<QueryGetOperatorAuthorizationResponse>, I>>(object: I): QueryGetOperatorAuthorizationResponse;
144
+ };
145
+ export declare const QueryGetVSOperatorAuthorizationRequest: {
146
+ encode(message: QueryGetVSOperatorAuthorizationRequest, writer?: _m0.Writer): _m0.Writer;
147
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryGetVSOperatorAuthorizationRequest;
148
+ fromJSON(object: any): QueryGetVSOperatorAuthorizationRequest;
149
+ toJSON(message: QueryGetVSOperatorAuthorizationRequest): unknown;
150
+ create<I extends Exact<DeepPartial<QueryGetVSOperatorAuthorizationRequest>, I>>(base?: I): QueryGetVSOperatorAuthorizationRequest;
151
+ fromPartial<I extends Exact<DeepPartial<QueryGetVSOperatorAuthorizationRequest>, I>>(object: I): QueryGetVSOperatorAuthorizationRequest;
152
+ };
153
+ export declare const QueryGetVSOperatorAuthorizationResponse: {
154
+ encode(message: QueryGetVSOperatorAuthorizationResponse, writer?: _m0.Writer): _m0.Writer;
155
+ decode(input: _m0.Reader | Uint8Array, length?: number): QueryGetVSOperatorAuthorizationResponse;
156
+ fromJSON(object: any): QueryGetVSOperatorAuthorizationResponse;
157
+ toJSON(message: QueryGetVSOperatorAuthorizationResponse): unknown;
158
+ create<I extends Exact<DeepPartial<QueryGetVSOperatorAuthorizationResponse>, I>>(base?: I): QueryGetVSOperatorAuthorizationResponse;
159
+ fromPartial<I extends Exact<DeepPartial<QueryGetVSOperatorAuthorizationResponse>, I>>(object: I): QueryGetVSOperatorAuthorizationResponse;
160
+ };
99
161
  /** Query defines the gRPC querier service. */
100
162
  export interface Query {
101
163
  /** Parameters queries the parameters of the module. */
@@ -104,6 +166,10 @@ export interface Query {
104
166
  ListOperatorAuthorizations(request: QueryListOperatorAuthorizationsRequest): Promise<QueryListOperatorAuthorizationsResponse>;
105
167
  /** ListVSOperatorAuthorizations returns VS operator authorizations matching optional filters. */
106
168
  ListVSOperatorAuthorizations(request: QueryListVSOperatorAuthorizationsRequest): Promise<QueryListVSOperatorAuthorizationsResponse>;
169
+ /** [MOD-DE-QRY-3] GetOperatorAuthorization returns a single OperatorAuthorization by id. */
170
+ GetOperatorAuthorization(request: QueryGetOperatorAuthorizationRequest): Promise<QueryGetOperatorAuthorizationResponse>;
171
+ /** [MOD-DE-QRY-4] GetVSOperatorAuthorization returns a single VSOperatorAuthorization by id. */
172
+ GetVSOperatorAuthorization(request: QueryGetVSOperatorAuthorizationRequest): Promise<QueryGetVSOperatorAuthorizationResponse>;
107
173
  }
108
174
  export declare const QueryServiceName = "verana.de.v1.Query";
109
175
  export declare class QueryClientImpl implements Query {
@@ -115,6 +181,8 @@ export declare class QueryClientImpl implements Query {
115
181
  Params(request: QueryParamsRequest): Promise<QueryParamsResponse>;
116
182
  ListOperatorAuthorizations(request: QueryListOperatorAuthorizationsRequest): Promise<QueryListOperatorAuthorizationsResponse>;
117
183
  ListVSOperatorAuthorizations(request: QueryListVSOperatorAuthorizationsRequest): Promise<QueryListVSOperatorAuthorizationsResponse>;
184
+ GetOperatorAuthorization(request: QueryGetOperatorAuthorizationRequest): Promise<QueryGetOperatorAuthorizationResponse>;
185
+ GetVSOperatorAuthorization(request: QueryGetVSOperatorAuthorizationRequest): Promise<QueryGetVSOperatorAuthorizationResponse>;
118
186
  }
119
187
  interface Rpc {
120
188
  request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;