@versori/run 0.2.0-alpha.9 → 0.2.1-alpha.0

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 (115) hide show
  1. package/{script/deps/jsr.io/@std/bytes/1.0.5 → esm/deps/jsr.io/@std/bytes/1.0.6}/_types.d.ts.map +1 -1
  2. package/{script/deps/jsr.io/@std/bytes/1.0.5 → esm/deps/jsr.io/@std/bytes/1.0.6}/concat.d.ts +1 -1
  3. package/esm/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/concat.d.ts.map +1 -1
  4. package/esm/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/copy.d.ts.map +1 -1
  5. package/esm/deps/jsr.io/@std/fmt/{1.0.7 → 1.0.8}/colors.d.ts.map +1 -1
  6. package/esm/deps/jsr.io/@std/io/0.225.2/buffer.js +1 -1
  7. package/esm/deps/jsr.io/@std/io/0.225.2/read_all.js +1 -1
  8. package/esm/deps/jsr.io/@std/log/0.224.14/base_handler.d.ts +21 -0
  9. package/esm/deps/jsr.io/@std/log/0.224.14/base_handler.d.ts.map +1 -1
  10. package/esm/deps/jsr.io/@std/log/0.224.14/console_handler.js +1 -1
  11. package/esm/src/context/Context.d.ts +17 -24
  12. package/esm/src/context/Context.d.ts.map +1 -1
  13. package/esm/src/context/Context.js +23 -8
  14. package/esm/src/context/ContextProvider.d.ts +6 -4
  15. package/esm/src/context/ContextProvider.d.ts.map +1 -1
  16. package/esm/src/context/ContextProvider.js +9 -2
  17. package/esm/src/dsl/http/default.d.ts +2 -0
  18. package/esm/src/dsl/http/default.d.ts.map +1 -1
  19. package/esm/src/dsl/http/default.js +10 -0
  20. package/esm/src/dsl/http/versori/contextcredentials.d.ts +10 -0
  21. package/esm/src/dsl/http/versori/contextcredentials.d.ts.map +1 -0
  22. package/esm/src/dsl/http/versori/contextcredentials.js +1 -0
  23. package/esm/src/dsl/http/versori/credentials/client.d.ts +3 -0
  24. package/esm/src/dsl/http/versori/credentials/client.d.ts.map +1 -1
  25. package/esm/src/dsl/http/versori/credentials/client.js +11 -3
  26. package/esm/src/dsl/http/versori/credentials/credentials.d.ts +41 -2
  27. package/esm/src/dsl/http/versori/credentials/credentials.d.ts.map +1 -1
  28. package/esm/src/dsl/http/versori/credentials/credentials.js +7 -9
  29. package/esm/src/dsl/http/versori/credentials/v1alpha1/common_pb.d.ts +31 -0
  30. package/esm/src/dsl/http/versori/credentials/v1alpha1/common_pb.d.ts.map +1 -0
  31. package/esm/src/dsl/http/versori/credentials/v1alpha1/common_pb.js +31 -0
  32. package/esm/src/dsl/http/versori/credentials/v1alpha1/credential_service_pb.d.ts +84 -0
  33. package/esm/src/dsl/http/versori/credentials/v1alpha1/credential_service_pb.d.ts.map +1 -0
  34. package/esm/src/dsl/http/versori/credentials/v1alpha1/credential_service_pb.js +128 -0
  35. package/esm/src/dsl/http/versori/roundtripper.d.ts +14 -7
  36. package/esm/src/dsl/http/versori/roundtripper.d.ts.map +1 -1
  37. package/esm/src/dsl/http/versori/roundtripper.js +132 -72
  38. package/esm/src/dsl/tasks/HttpTask.d.ts +13 -4
  39. package/esm/src/dsl/tasks/HttpTask.d.ts.map +1 -1
  40. package/esm/src/dsl/tasks/HttpTask.js +42 -21
  41. package/esm/src/interpreter/memory/MemoryInterpreter.d.ts.map +1 -1
  42. package/esm/src/interpreter/memory/MemoryInterpreter.js +11 -3
  43. package/esm/src/interpreter/memory/compilers/schedule.d.ts.map +1 -1
  44. package/esm/src/interpreter/memory/compilers/schedule.js +1 -1
  45. package/esm/src/interpreter/memory/compilers/webhook.js +1 -1
  46. package/esm/src/kv/nats/NatsKeyValueProvider.d.ts +1 -0
  47. package/esm/src/kv/nats/NatsKeyValueProvider.d.ts.map +1 -1
  48. package/esm/src/observability/logging/ConsoleLogger.d.ts +1 -0
  49. package/esm/src/observability/logging/ConsoleLogger.d.ts.map +1 -1
  50. package/esm/src/observability/logging/ConsoleLogger.js +124 -30
  51. package/package.json +3 -2
  52. package/{esm/deps/jsr.io/@std/bytes/1.0.5 → script/deps/jsr.io/@std/bytes/1.0.6}/_types.d.ts.map +1 -1
  53. package/{esm/deps/jsr.io/@std/bytes/1.0.5 → script/deps/jsr.io/@std/bytes/1.0.6}/concat.d.ts +1 -1
  54. package/script/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/concat.d.ts.map +1 -1
  55. package/script/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/copy.d.ts.map +1 -1
  56. package/script/deps/jsr.io/@std/fmt/{1.0.7 → 1.0.8}/colors.d.ts.map +1 -1
  57. package/script/deps/jsr.io/@std/io/0.225.2/buffer.js +1 -1
  58. package/script/deps/jsr.io/@std/io/0.225.2/read_all.js +1 -1
  59. package/script/deps/jsr.io/@std/log/0.224.14/base_handler.d.ts +21 -0
  60. package/script/deps/jsr.io/@std/log/0.224.14/base_handler.d.ts.map +1 -1
  61. package/script/deps/jsr.io/@std/log/0.224.14/console_handler.js +1 -1
  62. package/script/src/context/Context.d.ts +17 -24
  63. package/script/src/context/Context.d.ts.map +1 -1
  64. package/script/src/context/Context.js +23 -8
  65. package/script/src/context/ContextProvider.d.ts +6 -4
  66. package/script/src/context/ContextProvider.d.ts.map +1 -1
  67. package/script/src/context/ContextProvider.js +9 -2
  68. package/script/src/dsl/http/default.d.ts +2 -0
  69. package/script/src/dsl/http/default.d.ts.map +1 -1
  70. package/script/src/dsl/http/default.js +10 -0
  71. package/script/src/dsl/http/versori/contextcredentials.d.ts +10 -0
  72. package/script/src/dsl/http/versori/contextcredentials.d.ts.map +1 -0
  73. package/script/src/dsl/http/versori/contextcredentials.js +2 -0
  74. package/script/src/dsl/http/versori/credentials/client.d.ts +3 -0
  75. package/script/src/dsl/http/versori/credentials/client.d.ts.map +1 -1
  76. package/script/src/dsl/http/versori/credentials/client.js +10 -0
  77. package/script/src/dsl/http/versori/credentials/credentials.d.ts +41 -2
  78. package/script/src/dsl/http/versori/credentials/credentials.d.ts.map +1 -1
  79. package/script/src/dsl/http/versori/credentials/credentials.js +8 -9
  80. package/script/src/dsl/http/versori/credentials/v1alpha1/common_pb.d.ts +31 -0
  81. package/script/src/dsl/http/versori/credentials/v1alpha1/common_pb.d.ts.map +1 -0
  82. package/script/src/dsl/http/versori/credentials/v1alpha1/common_pb.js +34 -0
  83. package/script/src/dsl/http/versori/credentials/v1alpha1/credential_service_pb.d.ts +84 -0
  84. package/script/src/dsl/http/versori/credentials/v1alpha1/credential_service_pb.d.ts.map +1 -0
  85. package/script/src/dsl/http/versori/credentials/v1alpha1/credential_service_pb.js +131 -0
  86. package/script/src/dsl/http/versori/roundtripper.d.ts +14 -7
  87. package/script/src/dsl/http/versori/roundtripper.d.ts.map +1 -1
  88. package/script/src/dsl/http/versori/roundtripper.js +137 -77
  89. package/script/src/dsl/tasks/HttpTask.d.ts +13 -4
  90. package/script/src/dsl/tasks/HttpTask.d.ts.map +1 -1
  91. package/script/src/dsl/tasks/HttpTask.js +42 -21
  92. package/script/src/interpreter/memory/MemoryInterpreter.d.ts.map +1 -1
  93. package/script/src/interpreter/memory/MemoryInterpreter.js +10 -2
  94. package/script/src/interpreter/memory/compilers/schedule.d.ts.map +1 -1
  95. package/script/src/interpreter/memory/compilers/schedule.js +1 -1
  96. package/script/src/interpreter/memory/compilers/webhook.js +1 -1
  97. package/script/src/kv/nats/NatsKeyValueProvider.d.ts +1 -0
  98. package/script/src/kv/nats/NatsKeyValueProvider.d.ts.map +1 -1
  99. package/script/src/observability/logging/ConsoleLogger.d.ts +1 -0
  100. package/script/src/observability/logging/ConsoleLogger.d.ts.map +1 -1
  101. package/script/src/observability/logging/ConsoleLogger.js +124 -30
  102. /package/esm/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/_types.d.ts +0 -0
  103. /package/esm/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/_types.js +0 -0
  104. /package/esm/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/concat.js +0 -0
  105. /package/esm/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/copy.d.ts +0 -0
  106. /package/esm/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/copy.js +0 -0
  107. /package/esm/deps/jsr.io/@std/fmt/{1.0.7 → 1.0.8}/colors.d.ts +0 -0
  108. /package/esm/deps/jsr.io/@std/fmt/{1.0.7 → 1.0.8}/colors.js +0 -0
  109. /package/script/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/_types.d.ts +0 -0
  110. /package/script/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/_types.js +0 -0
  111. /package/script/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/concat.js +0 -0
  112. /package/script/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/copy.d.ts +0 -0
  113. /package/script/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.6}/copy.js +0 -0
  114. /package/script/deps/jsr.io/@std/fmt/{1.0.7 → 1.0.8}/colors.d.ts +0 -0
  115. /package/script/deps/jsr.io/@std/fmt/{1.0.7 → 1.0.8}/colors.js +0 -0
@@ -1,8 +1,20 @@
1
1
  "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _ContextImpl_creds;
2
14
  Object.defineProperty(exports, "__esModule", { value: true });
3
15
  exports.ContextImpl = void 0;
4
16
  class ContextImpl {
5
- constructor(log, kvp, executionId, startTime, data, options = {}) {
17
+ constructor(log, kvp, creds, executionId, startTime, data, options = {}) {
6
18
  Object.defineProperty(this, "log", {
7
19
  enumerable: true,
8
20
  configurable: true,
@@ -45,8 +57,10 @@ class ContextImpl {
45
57
  writable: true,
46
58
  value: void 0
47
59
  });
60
+ _ContextImpl_creds.set(this, void 0);
48
61
  this.log = log;
49
62
  this.executionId = executionId;
63
+ __classPrivateFieldSet(this, _ContextImpl_creds, creds, "f");
50
64
  this.startTime = startTime;
51
65
  this.data = data;
52
66
  this.idx = void 0;
@@ -56,12 +70,13 @@ class ContextImpl {
56
70
  // so that destructuring the context object doesn't break the binding of the methods to the
57
71
  // correct instance.
58
72
  this.openKv = this.openKv.bind(this);
73
+ this.credentials = this.credentials.bind(this);
59
74
  }
60
75
  get activation() {
61
76
  return this.options.activation;
62
77
  }
63
78
  setIndex(idx) {
64
- const next = new ContextImpl(this.log, this.kvp, this.executionId, this.startTime, this.data, this.options);
79
+ const next = new ContextImpl(this.log, this.kvp, __classPrivateFieldGet(this, _ContextImpl_creds, "f"), this.executionId, this.startTime, this.data, this.options);
65
80
  next.idx = idx;
66
81
  return next;
67
82
  }
@@ -70,13 +85,13 @@ class ContextImpl {
70
85
  if (this.activation) {
71
86
  throw new Error('Activation is already set');
72
87
  }
73
- return new ContextImpl(this.log, this.kvp, this.executionId, this.startTime, this.data, {
88
+ return new ContextImpl(this.log, this.kvp, __classPrivateFieldGet(this, _ContextImpl_creds, "f"), this.executionId, this.startTime, this.data, {
74
89
  ...this.options,
75
90
  activation,
76
91
  });
77
92
  }
78
93
  withData(data) {
79
- return new ContextImpl(this.log, this.kvp, this.executionId, this.startTime, data, this.options);
94
+ return new ContextImpl(this.log, this.kvp, __classPrivateFieldGet(this, _ContextImpl_creds, "f"), this.executionId, this.startTime, data, this.options);
80
95
  }
81
96
  openKv(scope = ':project:') {
82
97
  if (scope === ':execution:') {
@@ -91,6 +106,9 @@ class ContextImpl {
91
106
  activationId: this.activation?.id,
92
107
  });
93
108
  }
109
+ credentials() {
110
+ return __classPrivateFieldGet(this, _ContextImpl_creds, "f");
111
+ }
94
112
  destroy(scope) {
95
113
  if (scope === ':execution:') {
96
114
  return this.kvp.destroy({
@@ -104,7 +122,7 @@ class ContextImpl {
104
122
  activationId: this.activation?.id,
105
123
  });
106
124
  }
107
- [Symbol.toPrimitive]() {
125
+ [(_ContextImpl_creds = new WeakMap(), Symbol.toPrimitive)]() {
108
126
  return {
109
127
  startTime: this.startTime,
110
128
  executionId: this.executionId,
@@ -112,8 +130,5 @@ class ContextImpl {
112
130
  data: this.data,
113
131
  };
114
132
  }
115
- toJSON() {
116
- return this[Symbol.toPrimitive]();
117
- }
118
133
  }
119
134
  exports.ContextImpl = ContextImpl;
@@ -1,15 +1,17 @@
1
1
  import { KeyValueProvider } from '../kv/KeyValue.js';
2
2
  import { Logger } from '../observability/logging/Logger.js';
3
- import { Context, ContextOptions, InternalContext } from './Context.js';
3
+ import { Context, ContextImpl, ContextOptions } from './Context.js';
4
+ import { Credentials } from '../dsl/http/versori/contextcredentials.js';
4
5
  export interface ContextProvider {
5
- create<D>(data: D, options?: ContextOptions): InternalContext<D, void>;
6
+ create<D>(data: D, options?: ContextOptions): ContextImpl<D, void>;
6
7
  destroy(ctx: Context<any>): Promise<void>;
7
8
  }
8
9
  export declare class ContextProviderImpl implements ContextProvider {
9
10
  log: Logger;
10
11
  kvp: KeyValueProvider;
11
- constructor(log: Logger, kvp: KeyValueProvider);
12
- create<D>(data: D, options?: ContextOptions): InternalContext<D, void>;
12
+ creds: Credentials;
13
+ constructor(log: Logger, kvp: KeyValueProvider, creds: Credentials);
14
+ create<D>(data: D, options?: ContextOptions): ContextImpl<D>;
13
15
  destroy(ctx: Context<any>): Promise<void>;
14
16
  }
15
17
  //# sourceMappingURL=ContextProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContextProvider.d.ts","sourceRoot":"","sources":["../../../src/src/context/ContextProvider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAe,cAAc,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAGrF,MAAM,WAAW,eAAe;IAC5B,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;IACvE,OAAO,CAAC,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7C;AAED,qBAAa,mBAAoB,YAAW,eAAe;IACvD,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,gBAAgB,CAAC;gBAEV,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,gBAAgB;IAK9C,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,GAAE,cAAmB,GAAG,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC;IAe1E,OAAO,CAAC,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;CAM5C"}
1
+ {"version":3,"file":"ContextProvider.d.ts","sourceRoot":"","sources":["../../../src/src/context/ContextProvider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAExE,MAAM,WAAW,eAAe;IAC5B,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,CAAC,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7C;AAED,qBAAa,mBAAoB,YAAW,eAAe;IACvD,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,gBAAgB,CAAC;IACtB,KAAK,EAAE,WAAW,CAAC;gBAEP,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,gBAAgB,EAAE,KAAK,EAAE,WAAW;IAMlE,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,GAAE,cAAmB,GAAG,WAAW,CAAC,CAAC,CAAC;IAehE,OAAO,CAAC,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;CAM5C"}
@@ -4,7 +4,7 @@ exports.ContextProviderImpl = void 0;
4
4
  const mod_js_1 = require("../../deps/jsr.io/@std/ulid/1.0.0/mod.js");
5
5
  const Context_js_1 = require("./Context.js");
6
6
  class ContextProviderImpl {
7
- constructor(log, kvp) {
7
+ constructor(log, kvp, creds) {
8
8
  Object.defineProperty(this, "log", {
9
9
  enumerable: true,
10
10
  configurable: true,
@@ -17,8 +17,15 @@ class ContextProviderImpl {
17
17
  writable: true,
18
18
  value: void 0
19
19
  });
20
+ Object.defineProperty(this, "creds", {
21
+ enumerable: true,
22
+ configurable: true,
23
+ writable: true,
24
+ value: void 0
25
+ });
20
26
  this.log = log;
21
27
  this.kvp = kvp;
28
+ this.creds = creds;
22
29
  }
23
30
  create(data, options = {}) {
24
31
  const executionId = (0, mod_js_1.ulid)();
@@ -29,7 +36,7 @@ class ContextProviderImpl {
29
36
  externalUserId: options.activation.user.externalId,
30
37
  });
31
38
  }
32
- return new Context_js_1.ContextImpl(logger, this.kvp, executionId, new Date(), data, options);
39
+ return new Context_js_1.ContextImpl(logger, this.kvp, this.creds, executionId, new Date(), data, options);
33
40
  }
34
41
  destroy(ctx) {
35
42
  return this.kvp.destroy({
@@ -1,4 +1,5 @@
1
1
  import { DynamicFetcher, RoundTripperFactory } from './types.js';
2
+ import { Credentials } from './versori/contextcredentials.js';
2
3
  /**
3
4
  * A factory class for creating a default round tripper.
4
5
  * This class is used to provide a default implementation for initializing
@@ -19,5 +20,6 @@ export declare class DefaultRoundTripperFactory implements RoundTripperFactory {
19
20
  */
20
21
  create(connName: string, fn?: typeof fetch): Promise<typeof fetch>;
21
22
  createDynamic(templateName: string, fn: typeof fetch): Promise<DynamicFetcher>;
23
+ credentials(): Credentials;
22
24
  }
23
25
  //# sourceMappingURL=default.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../src/src/dsl/http/default.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,cAAc,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAE7E;;;;GAIG;AACH,qBAAa,0BAA2B,YAAW,mBAAmB;IAClE;;OAEG;;IAGH;;;;;;;OAOG;IACG,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,GAAE,OAAO,KAAa,GAAG,OAAO,CAAC,OAAO,KAAK,CAAC;IAIzE,aAAa,CAAC,YAAY,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,KAAK,GAAG,OAAO,CAAC,cAAc,CAAC;CAKvF"}
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../src/src/dsl/http/default.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,cAAc,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D;;;;GAIG;AACH,qBAAa,0BAA2B,YAAW,mBAAmB;IAClE;;OAEG;;IAGH;;;;;;;OAOG;IACG,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,GAAE,OAAO,KAAa,GAAG,OAAO,CAAC,OAAO,KAAK,CAAC;IAIzE,aAAa,CAAC,YAAY,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,KAAK,GAAG,OAAO,CAAC,cAAc,CAAC;IAMpF,WAAW,IAAI,WAAW;CAU7B"}
@@ -27,5 +27,15 @@ class DefaultRoundTripperFactory {
27
27
  return fetch(input, init);
28
28
  };
29
29
  }
30
+ credentials() {
31
+ return {
32
+ getRaw: () => Promise.resolve(new Uint8Array(0)),
33
+ getAccessToken: () => Promise.resolve({
34
+ accessToken: '',
35
+ tokenType: '',
36
+ expiry: undefined,
37
+ }),
38
+ };
39
+ }
30
40
  }
31
41
  exports.DefaultRoundTripperFactory = DefaultRoundTripperFactory;
@@ -0,0 +1,10 @@
1
+ export type Token = {
2
+ accessToken: string;
3
+ tokenType: string;
4
+ expiry?: Date;
5
+ };
6
+ export interface Credentials {
7
+ getRaw(name: string): Promise<Uint8Array>;
8
+ getAccessToken(name: string, forceRefresh?: boolean): Promise<Token>;
9
+ }
10
+ //# sourceMappingURL=contextcredentials.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contextcredentials.d.ts","sourceRoot":"","sources":["../../../../../src/src/dsl/http/versori/contextcredentials.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,IAAI,CAAC;CACjB,CAAA;AAED,MAAM,WAAW,WAAW;IACxB,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IAC1C,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;CACxE"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,10 @@
1
1
  import { GetTokenResponse } from './tokens/v1/token_service_pb.js';
2
+ import { GetCredentialResponse } from './v1alpha1/credential_service_pb.js';
2
3
  export declare class VersoriCredentialClient {
3
4
  private TokenService;
5
+ private credentialsClient;
4
6
  constructor(credsBaseUrl: string);
5
7
  getToken(credId: string, forceRefresh?: boolean): Promise<GetTokenResponse>;
8
+ getRaw(credId: string): Promise<GetCredentialResponse>;
6
9
  }
7
10
  //# sourceMappingURL=client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/src/dsl/http/versori/credentials/client.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAGnE,qBAAa,uBAAuB;IAEhC,OAAO,CAAC,YAAY,CAAc;gBAEtB,YAAY,EAAE,MAAM;IAIhC,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,GAAE,OAAe,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAGrF"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/src/dsl/http/versori/credentials/client.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAGnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAE5E,qBAAa,uBAAuB;IAEhC,OAAO,CAAC,YAAY,CAAc;IAClC,OAAO,CAAC,iBAAiB,CAAoB;gBAEjC,YAAY,EAAE,MAAM;IAKhC,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,GAAE,OAAe,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAIlF,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC;CAGzD"}
@@ -10,10 +10,20 @@ class VersoriCredentialClient {
10
10
  writable: true,
11
11
  value: void 0
12
12
  });
13
+ Object.defineProperty(this, "credentialsClient", {
14
+ enumerable: true,
15
+ configurable: true,
16
+ writable: true,
17
+ value: void 0
18
+ });
13
19
  this.TokenService = (0, credentials_js_1.createTokenClient)(credsBaseUrl);
20
+ this.credentialsClient = (0, credentials_js_1.createCredentialsClient)(credsBaseUrl);
14
21
  }
15
22
  getToken(credId, forceRefresh = false) {
16
23
  return this.TokenService.getToken({ credentialId: credId, forceRefresh });
17
24
  }
25
+ getRaw(credId) {
26
+ return this.credentialsClient.get({ id: credId, showRedacted: true });
27
+ }
18
28
  }
19
29
  exports.VersoriCredentialClient = VersoriCredentialClient;
@@ -1,4 +1,5 @@
1
- export declare function createTokenClient(baseUrl?: string): import("@connectrpc/connect").Client<import("@bufbuild/protobuf/codegenv1").GenService<{
1
+ import { Client } from '@connectrpc/connect';
2
+ export declare function createTokenClient(baseUrl?: string): Client<import("@bufbuild/protobuf/codegenv1").GenService<{
2
3
  getToken: {
3
4
  methodKind: "unary";
4
5
  input: typeof import("./tokens/v1/token_service_pb.js").GetTokenRequestSchema;
@@ -11,7 +12,7 @@ export declare function createTokenClient(baseUrl?: string): import("@connectrpc
11
12
  };
12
13
  }>>;
13
14
  export type TokenClient = ReturnType<typeof createTokenClient>;
14
- export declare function createOAuth2TokenService(baseUrl?: string): import("@connectrpc/connect").Client<import("@bufbuild/protobuf/codegenv1").GenService<{
15
+ export declare function createOAuth2TokenService(baseUrl?: string): Client<import("@bufbuild/protobuf/codegenv1").GenService<{
15
16
  getAccessToken: {
16
17
  methodKind: "unary";
17
18
  input: typeof import("./oauth2/v1/token_service_pb.js").GetAccessTokenRequestSchema;
@@ -39,4 +40,42 @@ export declare function createOAuth2TokenService(baseUrl?: string): import("@con
39
40
  };
40
41
  }>>;
41
42
  export type OAuth2TokenClient = ReturnType<typeof createOAuth2TokenService>;
43
+ export declare function createCredentialsClient(baseUrl?: string): Client<import("@bufbuild/protobuf/codegenv1").GenService<{
44
+ create: {
45
+ methodKind: "unary";
46
+ input: typeof import("./v1alpha1/credential_service_pb.js").CreateCredentialRequestSchema;
47
+ output: typeof import("./v1alpha1/credential_service_pb.js").CreateCredentialResponseSchema;
48
+ };
49
+ get: {
50
+ methodKind: "unary";
51
+ input: typeof import("./v1alpha1/credential_service_pb.js").GetCredentialRequestSchema;
52
+ output: typeof import("./v1alpha1/credential_service_pb.js").GetCredentialResponseSchema;
53
+ };
54
+ getMany: {
55
+ methodKind: "unary";
56
+ input: typeof import("./v1alpha1/credential_service_pb.js").GetManyCredentialsRequestSchema;
57
+ output: typeof import("./v1alpha1/credential_service_pb.js").GetManyCredentialsResponseSchema;
58
+ };
59
+ list: {
60
+ methodKind: "unary";
61
+ input: typeof import("./v1alpha1/credential_service_pb.js").ListCredentialsRequestSchema;
62
+ output: typeof import("./v1alpha1/credential_service_pb.js").ListCredentialsResponseSchema;
63
+ };
64
+ update: {
65
+ methodKind: "unary";
66
+ input: typeof import("./v1alpha1/credential_service_pb.js").UpdateCredentialRequestSchema;
67
+ output: typeof import("./v1alpha1/credential_service_pb.js").UpdateCredentialResponseSchema;
68
+ };
69
+ delete: {
70
+ methodKind: "unary";
71
+ input: typeof import("./v1alpha1/credential_service_pb.js").DeleteCredentialRequestSchema;
72
+ output: typeof import("./v1alpha1/credential_service_pb.js").DeleteCredentialResponseSchema;
73
+ };
74
+ validate: {
75
+ methodKind: "unary";
76
+ input: typeof import("./v1alpha1/credential_service_pb.js").ValidateCredentialRequestSchema;
77
+ output: typeof import("./v1alpha1/credential_service_pb.js").ValidateCredentialResponseSchema;
78
+ };
79
+ }>>;
80
+ export type CredentialsClient = ReturnType<typeof createCredentialsClient>;
42
81
  //# sourceMappingURL=credentials.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../../../../../../src/src/dsl/http/versori/credentials/credentials.ts"],"names":[],"mappings":"AAeA,wBAAgB,iBAAiB,CAAC,OAAO,GAAE,MAAgC;;;;;;;;;;;IAK1E;AAED,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE/D,wBAAgB,wBAAwB,CAAC,OAAO,GAAE,MAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;IAKjF;AAED,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
1
+ {"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../../../../../../src/src/dsl/http/versori/credentials/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,qBAAqB,CAAC;AAe3D,wBAAgB,iBAAiB,CAAC,OAAO,GAAE,MAAgC;;;;;;;;;;;IAK1E;AAED,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE/D,wBAAgB,wBAAwB,CAAC,OAAO,GAAE,MAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;IAKjF;AAED,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE5E,wBAAgB,uBAAuB,CAAC,OAAO,GAAE,MAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKhF;AAED,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
@@ -2,12 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createTokenClient = createTokenClient;
4
4
  exports.createOAuth2TokenService = createOAuth2TokenService;
5
+ exports.createCredentialsClient = createCredentialsClient;
5
6
  const connect_1 = require("@connectrpc/connect");
6
7
  const connect_node_1 = require("@connectrpc/connect-node");
7
8
  const token_service_pb_js_1 = require("./tokens/v1/token_service_pb.js");
8
9
  const token_service_pb_js_2 = require("./oauth2/v1/token_service_pb.js");
9
- // // @deno-types="./v1alpha1/credential_service_pb.d.ts"
10
- // import { CredentialService } from './v1alpha1/credential_service_pb.js';
10
+ const credential_service_pb_js_1 = require("./v1alpha1/credential_service_pb.js");
11
11
  // // @deno-types="./customauth/v1/customauth_service_pb.d.ts"
12
12
  // import { CustomAuthenticationService } from './customauth/v1/customauth_service_pb.d.ts';
13
13
  function createTokenClient(baseUrl = 'http://localhost:9000') {
@@ -22,13 +22,12 @@ function createOAuth2TokenService(baseUrl = 'http://localhost:9000') {
22
22
  });
23
23
  return (0, connect_1.createClient)(token_service_pb_js_2.OAuth2TokenService, transport);
24
24
  }
25
- // export function createCredentialService(baseUrl: string = 'http://localhost:9000') {
26
- // const transport = createGrpcTransport({
27
- // baseUrl,
28
- // });
29
- // return createClient(CredentialService, transport);
30
- // }
31
- // export type CredentialService = ReturnType<typeof createCredentialService>;
25
+ function createCredentialsClient(baseUrl = 'http://localhost:9000') {
26
+ const transport = (0, connect_node_1.createGrpcTransport)({
27
+ baseUrl,
28
+ });
29
+ return (0, connect_1.createClient)(credential_service_pb_js_1.CredentialService, transport);
30
+ }
32
31
  // export function createCustomAuthService(baseUrl: string = 'http://localhost:9000') {
33
32
  // const transport = createGrpcTransport({
34
33
  // baseUrl,
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Describes the file versori/credential/v1alpha1/common.proto.
3
+ */
4
+ export const file_versori_credential_v1alpha1_common: import("@bufbuild/protobuf").DescFile;
5
+ /**
6
+ * Describes the message versori.credential.v1alpha1.PageParams.
7
+ * Use `create(PageParamsSchema)` to create a new message.
8
+ */
9
+ export const PageParamsSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
10
+ /**
11
+ * Describes the message versori.credential.v1alpha1.Sort.
12
+ * Use `create(SortSchema)` to create a new message.
13
+ */
14
+ export const SortSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
15
+ /**
16
+ * Describes the enum versori.credential.v1alpha1.Sort.Order.
17
+ */
18
+ export const Sort_OrderSchema: import("@bufbuild/protobuf/codegenv1").GenEnum<number, import("@bufbuild/protobuf").JsonValue>;
19
+ /**
20
+ * @generated from enum versori.credential.v1alpha1.Sort.Order
21
+ */
22
+ export const Sort_Order: {
23
+ [key: number]: string;
24
+ [k: string]: string | number;
25
+ };
26
+ /**
27
+ * Describes the message versori.credential.v1alpha1.PageInfo.
28
+ * Use `create(PageInfoSchema)` to create a new message.
29
+ */
30
+ export const PageInfoSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
31
+ //# sourceMappingURL=common_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common_pb.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/dsl/http/versori/credentials/v1alpha1/common_pb.js"],"names":[],"mappings":"AAMA;;GAEG;AACH,4FACmjB;AAEnjB;;;GAGG;AACH,+JAC0D;AAE1D;;;GAGG;AACH,yJAC0D;AAE1D;;GAEG;AACH,8HAC0D;AAE1D;;GAEG;AACH;;;EAC2B;AAE3B;;;GAGG;AACH,6JAC0D"}
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.2.3
3
+ // @generated from file versori/credential/v1alpha1/common.proto (package versori.credential.v1alpha1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PageInfoSchema = exports.Sort_Order = exports.Sort_OrderSchema = exports.SortSchema = exports.PageParamsSchema = exports.file_versori_credential_v1alpha1_common = void 0;
7
+ const codegenv1_1 = require("@bufbuild/protobuf/codegenv1");
8
+ /**
9
+ * Describes the file versori/credential/v1alpha1/common.proto.
10
+ */
11
+ exports.file_versori_credential_v1alpha1_common = (0, codegenv1_1.fileDesc)("Cih2ZXJzb3JpL2NyZWRlbnRpYWwvdjFhbHBoYTEvY29tbW9uLnByb3RvEht2ZXJzb3JpLmNyZWRlbnRpYWwudjFhbHBoYTEiawoKUGFnZVBhcmFtcxINCgVmaXJzdBgBIAEoBRINCgVhZnRlchgCIAEoCRIOCgZiZWZvcmUYAyABKAkSLwoEc29ydBgEIAMoCzIhLnZlcnNvcmkuY3JlZGVudGlhbC52MWFscGhhMS5Tb3J0ImoKBFNvcnQSDgoGY29sdW1uGAEgASgJEjYKBW9yZGVyGAIgASgOMicudmVyc29yaS5jcmVkZW50aWFsLnYxYWxwaGExLlNvcnQuT3JkZXIiGgoFT3JkZXISBwoDQVNDEAASCAoEREVTQxABIkkKCFBhZ2VJbmZvEhMKC3RvdGFsX2NvdW50GAEgASgDEhMKC25leHRfY3Vyc29yGAIgASgJEhMKC3ByZXZfY3Vyc29yGAMgASgJQiZaJHZlcnNvcmkuZGV2L2NyZWRlbnRpYWxzL2FwaS92MWFscGhhMWIGcHJvdG8z");
12
+ /**
13
+ * Describes the message versori.credential.v1alpha1.PageParams.
14
+ * Use `create(PageParamsSchema)` to create a new message.
15
+ */
16
+ exports.PageParamsSchema = (0, codegenv1_1.messageDesc)(exports.file_versori_credential_v1alpha1_common, 0);
17
+ /**
18
+ * Describes the message versori.credential.v1alpha1.Sort.
19
+ * Use `create(SortSchema)` to create a new message.
20
+ */
21
+ exports.SortSchema = (0, codegenv1_1.messageDesc)(exports.file_versori_credential_v1alpha1_common, 1);
22
+ /**
23
+ * Describes the enum versori.credential.v1alpha1.Sort.Order.
24
+ */
25
+ exports.Sort_OrderSchema = (0, codegenv1_1.enumDesc)(exports.file_versori_credential_v1alpha1_common, 1, 0);
26
+ /**
27
+ * @generated from enum versori.credential.v1alpha1.Sort.Order
28
+ */
29
+ exports.Sort_Order = (0, codegenv1_1.tsEnum)(exports.Sort_OrderSchema);
30
+ /**
31
+ * Describes the message versori.credential.v1alpha1.PageInfo.
32
+ * Use `create(PageInfoSchema)` to create a new message.
33
+ */
34
+ exports.PageInfoSchema = (0, codegenv1_1.messageDesc)(exports.file_versori_credential_v1alpha1_common, 2);
@@ -0,0 +1,84 @@
1
+ /**
2
+ * Describes the file versori/credential/v1alpha1/credential_service.proto.
3
+ */
4
+ export const file_versori_credential_v1alpha1_credential_service: import("@bufbuild/protobuf").DescFile;
5
+ /**
6
+ * Describes the message versori.credential.v1alpha1.CreateCredentialRequest.
7
+ * Use `create(CreateCredentialRequestSchema)` to create a new message.
8
+ */
9
+ export const CreateCredentialRequestSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
10
+ /**
11
+ * Describes the message versori.credential.v1alpha1.CreateCredentialResponse.
12
+ * Use `create(CreateCredentialResponseSchema)` to create a new message.
13
+ */
14
+ export const CreateCredentialResponseSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
15
+ /**
16
+ * Describes the message versori.credential.v1alpha1.GetCredentialRequest.
17
+ * Use `create(GetCredentialRequestSchema)` to create a new message.
18
+ */
19
+ export const GetCredentialRequestSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
20
+ /**
21
+ * Describes the message versori.credential.v1alpha1.GetCredentialResponse.
22
+ * Use `create(GetCredentialResponseSchema)` to create a new message.
23
+ */
24
+ export const GetCredentialResponseSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
25
+ /**
26
+ * Describes the message versori.credential.v1alpha1.GetManyCredentialsRequest.
27
+ * Use `create(GetManyCredentialsRequestSchema)` to create a new message.
28
+ */
29
+ export const GetManyCredentialsRequestSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
30
+ /**
31
+ * Describes the message versori.credential.v1alpha1.GetManyCredentialsResponse.
32
+ * Use `create(GetManyCredentialsResponseSchema)` to create a new message.
33
+ */
34
+ export const GetManyCredentialsResponseSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
35
+ /**
36
+ * Describes the message versori.credential.v1alpha1.ListCredentialsRequest.
37
+ * Use `create(ListCredentialsRequestSchema)` to create a new message.
38
+ */
39
+ export const ListCredentialsRequestSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
40
+ /**
41
+ * Describes the message versori.credential.v1alpha1.ListCredentialsResponse.
42
+ * Use `create(ListCredentialsResponseSchema)` to create a new message.
43
+ */
44
+ export const ListCredentialsResponseSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
45
+ /**
46
+ * Describes the message versori.credential.v1alpha1.UpdateCredentialRequest.
47
+ * Use `create(UpdateCredentialRequestSchema)` to create a new message.
48
+ */
49
+ export const UpdateCredentialRequestSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
50
+ /**
51
+ * Describes the message versori.credential.v1alpha1.UpdateCredentialResponse.
52
+ * Use `create(UpdateCredentialResponseSchema)` to create a new message.
53
+ */
54
+ export const UpdateCredentialResponseSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
55
+ /**
56
+ * Describes the message versori.credential.v1alpha1.DeleteCredentialRequest.
57
+ * Use `create(DeleteCredentialRequestSchema)` to create a new message.
58
+ */
59
+ export const DeleteCredentialRequestSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
60
+ /**
61
+ * Describes the message versori.credential.v1alpha1.DeleteCredentialResponse.
62
+ * Use `create(DeleteCredentialResponseSchema)` to create a new message.
63
+ */
64
+ export const DeleteCredentialResponseSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
65
+ /**
66
+ * Describes the message versori.credential.v1alpha1.ValidateCredentialRequest.
67
+ * Use `create(ValidateCredentialRequestSchema)` to create a new message.
68
+ */
69
+ export const ValidateCredentialRequestSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
70
+ /**
71
+ * Describes the message versori.credential.v1alpha1.ValidateCredentialResponse.
72
+ * Use `create(ValidateCredentialResponseSchema)` to create a new message.
73
+ */
74
+ export const ValidateCredentialResponseSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
75
+ /**
76
+ * Describes the message versori.credential.v1alpha1.ValidateCredentialResponse.ValidationError.
77
+ * Use `create(ValidateCredentialResponse_ValidationErrorSchema)` to create a new message.
78
+ */
79
+ export const ValidateCredentialResponse_ValidationErrorSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
80
+ /**
81
+ * @generated from service versori.credential.v1alpha1.CredentialService
82
+ */
83
+ export const CredentialService: import("@bufbuild/protobuf/codegenv1").GenService<import("@bufbuild/protobuf/codegenv1").GenServiceMethods>;
84
+ //# sourceMappingURL=credential_service_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credential_service_pb.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/dsl/http/versori/credentials/v1alpha1/credential_service_pb.js"],"names":[],"mappings":"AASA;;GAEG;AACH,wGASM;AAEN;;;GAGG;AACH,4KAEwE;AAExE;;;GAGG;AACH,6KAEwE;AAExE;;;GAGG;AACH,yKAEwE;AAExE;;;GAGG;AACH,0KAEwE;AAExE;;;GAGG;AACH,8KAEwE;AAExE;;;GAGG;AACH,+KAEwE;AAExE;;;GAGG;AACH,2KAEwE;AAExE;;;GAGG;AACH,4KAEwE;AAExE;;;GAGG;AACH,4KAEwE;AAExE;;;GAGG;AACH,6KAEwE;AAExE;;;GAGG;AACH,4KAEyE;AAEzE;;;GAGG;AACH,6KAEyE;AAEzE;;;GAGG;AACH,8KAEyE;AAEzE;;;GAGG;AACH,+KAEyE;AAEzE;;;GAGG;AACH,+LAE4E;AAE5E;;GAEG;AACH,4IAEwE"}