@openvtc/trust-tasks 0.10.0 → 0.12.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.
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/vta/_shared/0.1/service.d.ts +11 -0
- package/dist/vta/_shared/0.1/service.d.ts.map +1 -0
- package/dist/vta/_shared/0.1/service.js +6 -0
- package/dist/vta/_shared/0.1/service.js.map +1 -0
- package/dist/vta/services/disable/1.0/payload.d.ts +452 -0
- package/dist/vta/services/disable/1.0/payload.d.ts.map +1 -0
- package/dist/vta/services/disable/1.0/payload.js +240 -0
- package/dist/vta/services/disable/1.0/payload.js.map +1 -0
- package/dist/vta/services/drain/cancel/1.0/payload.d.ts +234 -0
- package/dist/vta/services/drain/cancel/1.0/payload.d.ts.map +1 -0
- package/dist/vta/services/drain/cancel/1.0/payload.js +131 -0
- package/dist/vta/services/drain/cancel/1.0/payload.js.map +1 -0
- package/dist/vta/services/drain/list/1.0/payload.d.ts +352 -0
- package/dist/vta/services/drain/list/1.0/payload.d.ts.map +1 -0
- package/dist/vta/services/drain/list/1.0/payload.js +189 -0
- package/dist/vta/services/drain/list/1.0/payload.js.map +1 -0
- package/dist/vta/services/enable/1.0/payload.d.ts +511 -0
- package/dist/vta/services/enable/1.0/payload.d.ts.map +1 -0
- package/dist/vta/services/enable/1.0/payload.js +262 -0
- package/dist/vta/services/enable/1.0/payload.js.map +1 -0
- package/dist/vta/services/get/1.0/payload.d.ts +399 -0
- package/dist/vta/services/get/1.0/payload.d.ts.map +1 -0
- package/dist/vta/services/get/1.0/payload.js +219 -0
- package/dist/vta/services/get/1.0/payload.js.map +1 -0
- package/dist/vta/services/list/1.0/payload.d.ts +409 -0
- package/dist/vta/services/list/1.0/payload.d.ts.map +1 -0
- package/dist/vta/services/list/1.0/payload.js +221 -0
- package/dist/vta/services/list/1.0/payload.js.map +1 -0
- package/dist/vta/services/rollback/1.0/payload.d.ts +458 -0
- package/dist/vta/services/rollback/1.0/payload.d.ts.map +1 -0
- package/dist/vta/services/rollback/1.0/payload.js +251 -0
- package/dist/vta/services/rollback/1.0/payload.js.map +1 -0
- package/dist/vta/services/update/1.0/payload.d.ts +511 -0
- package/dist/vta/services/update/1.0/payload.d.ts.map +1 -0
- package/dist/vta/services/update/1.0/payload.js +262 -0
- package/dist/vta/services/update/1.0/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/index.ts +9 -0
- package/src/vta/_shared/0.1/service.ts +11 -0
- package/src/vta/services/disable/1.0/payload.ts +311 -0
- package/src/vta/services/drain/cancel/1.0/payload.ts +169 -0
- package/src/vta/services/drain/list/1.0/payload.ts +241 -0
- package/src/vta/services/enable/1.0/payload.ts +350 -0
- package/src/vta/services/get/1.0/payload.ts +279 -0
- package/src/vta/services/list/1.0/payload.ts +283 -0
- package/src/vta/services/rollback/1.0/payload.ts +322 -0
- package/src/vta/services/update/1.0/payload.ts +350 -0
|
@@ -0,0 +1,399 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vta/services/get/1.0/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Which transport a task is acting on. This is the discriminator: it selects which member of `config` is meaningful, and a payload naming one kind with another's config is malformed rather than merely ignored.
|
|
7
|
+
*/
|
|
8
|
+
export type ServiceKind = "didcomm" | "rest" | "tsp" | "webauthn";
|
|
9
|
+
/**
|
|
10
|
+
* Request payload for vta/services/get. Reads one transport's current state.
|
|
11
|
+
*/
|
|
12
|
+
export interface VTAServicesGetPayload {
|
|
13
|
+
service: ServiceKind;
|
|
14
|
+
ext?: Ext;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.
|
|
18
|
+
*/
|
|
19
|
+
export interface Ext {
|
|
20
|
+
[k: string]: unknown | undefined;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Success response to vta/services/get. Type https://trusttasks.org/spec/vta/services/get/1.0#response.
|
|
24
|
+
*/
|
|
25
|
+
export interface VTAServicesGetResponsePayload {
|
|
26
|
+
state: ServiceState;
|
|
27
|
+
ext?: Ext;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* What the agent currently advertises for one service. `enabled` is the only member every kind carries; the rest are kind-specific and absent when they do not apply. Note that `enabled: false` and an absent entry are different: the first says the agent knows about this transport and is not advertising it, the second says it has never been configured.
|
|
31
|
+
*/
|
|
32
|
+
export interface ServiceState {
|
|
33
|
+
kind: ServiceKind;
|
|
34
|
+
/**
|
|
35
|
+
* Whether the agent currently advertises this transport in its DID document.
|
|
36
|
+
*/
|
|
37
|
+
enabled: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* The mediator this transport routes through. Present for `didcomm` and `tsp`.
|
|
40
|
+
*/
|
|
41
|
+
mediatorDid?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The advertised endpoint. Present for `rest` and `webauthn`.
|
|
44
|
+
*/
|
|
45
|
+
url?: string;
|
|
46
|
+
/**
|
|
47
|
+
* RFC 3339 instant at which a scheduled drain completes. Present only while a `didcomm` mediator is draining — see `vta/services/drain/list`.
|
|
48
|
+
*/
|
|
49
|
+
drainsUntil?: string;
|
|
50
|
+
ext?: Ext;
|
|
51
|
+
}
|
|
52
|
+
/** Trust Task type URI. */
|
|
53
|
+
export declare const TYPE_URI: "https://trusttasks.org/spec/vta/services/get/1.0";
|
|
54
|
+
/** Stable alias for this specification's request payload shape. */
|
|
55
|
+
export type Payload = VTAServicesGetPayload;
|
|
56
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
57
|
+
export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vta/services/get/1.0#response";
|
|
58
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
59
|
+
export type Response = VTAServicesGetResponsePayload;
|
|
60
|
+
/**
|
|
61
|
+
* This specification's payload schema, as a value.
|
|
62
|
+
*
|
|
63
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
64
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
65
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
66
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
67
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
68
|
+
*/
|
|
69
|
+
export declare const PAYLOAD_SCHEMA: {
|
|
70
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
71
|
+
readonly $id: "https://trusttasks.org/spec/vta/services/get/1.0";
|
|
72
|
+
readonly title: "VTA Services — Get — payload";
|
|
73
|
+
readonly description: "Request payload for vta/services/get. Reads one transport's current state.";
|
|
74
|
+
readonly type: "object";
|
|
75
|
+
readonly additionalProperties: false;
|
|
76
|
+
readonly required: readonly ["service"];
|
|
77
|
+
readonly properties: {
|
|
78
|
+
readonly service: {
|
|
79
|
+
readonly $ref: "#/$defs/ServiceKind";
|
|
80
|
+
};
|
|
81
|
+
readonly ext: {
|
|
82
|
+
readonly $ref: "#/$defs/Ext";
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
readonly $defs: {
|
|
86
|
+
readonly Response: {
|
|
87
|
+
readonly $anchor: "response";
|
|
88
|
+
readonly title: "VTA Services — Get — response payload";
|
|
89
|
+
readonly description: "Success response to vta/services/get. Type https://trusttasks.org/spec/vta/services/get/1.0#response.";
|
|
90
|
+
readonly type: "object";
|
|
91
|
+
readonly additionalProperties: false;
|
|
92
|
+
readonly required: readonly ["state"];
|
|
93
|
+
readonly properties: {
|
|
94
|
+
readonly state: {
|
|
95
|
+
readonly $ref: "#/$defs/ServiceState";
|
|
96
|
+
};
|
|
97
|
+
readonly ext: {
|
|
98
|
+
readonly $ref: "#/$defs/Ext";
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
readonly Ext: {
|
|
103
|
+
readonly title: "Ext";
|
|
104
|
+
readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
|
|
105
|
+
readonly type: "object";
|
|
106
|
+
readonly minProperties: 1;
|
|
107
|
+
readonly additionalProperties: true;
|
|
108
|
+
readonly propertyNames: {
|
|
109
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
readonly ServiceState: {
|
|
113
|
+
readonly title: "ServiceState";
|
|
114
|
+
readonly description: "What the agent currently advertises for one service. `enabled` is the only member every kind carries; the rest are kind-specific and absent when they do not apply. Note that `enabled: false` and an absent entry are different: the first says the agent knows about this transport and is not advertising it, the second says it has never been configured.";
|
|
115
|
+
readonly type: "object";
|
|
116
|
+
readonly additionalProperties: false;
|
|
117
|
+
readonly required: readonly ["kind", "enabled"];
|
|
118
|
+
readonly properties: {
|
|
119
|
+
readonly kind: {
|
|
120
|
+
readonly $ref: "#/$defs/ServiceKind";
|
|
121
|
+
};
|
|
122
|
+
readonly enabled: {
|
|
123
|
+
readonly type: "boolean";
|
|
124
|
+
readonly description: "Whether the agent currently advertises this transport in its DID document.";
|
|
125
|
+
};
|
|
126
|
+
readonly mediatorDid: {
|
|
127
|
+
readonly type: "string";
|
|
128
|
+
readonly description: "The mediator this transport routes through. Present for `didcomm` and `tsp`.";
|
|
129
|
+
};
|
|
130
|
+
readonly url: {
|
|
131
|
+
readonly type: "string";
|
|
132
|
+
readonly description: "The advertised endpoint. Present for `rest` and `webauthn`.";
|
|
133
|
+
};
|
|
134
|
+
readonly drainsUntil: {
|
|
135
|
+
readonly type: "string";
|
|
136
|
+
readonly format: "date-time";
|
|
137
|
+
readonly description: "RFC 3339 instant at which a scheduled drain completes. Present only while a `didcomm` mediator is draining — see `vta/services/drain/list`.";
|
|
138
|
+
};
|
|
139
|
+
readonly ext: {
|
|
140
|
+
readonly $ref: "#/$defs/Ext";
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
readonly ServiceKind: {
|
|
145
|
+
readonly title: "ServiceKind";
|
|
146
|
+
readonly description: "Which transport a task is acting on. This is the discriminator: it selects which member of `config` is meaningful, and a payload naming one kind with another's config is malformed rather than merely ignored.";
|
|
147
|
+
readonly type: "string";
|
|
148
|
+
readonly enum: readonly ["didcomm", "rest", "tsp", "webauthn"];
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
153
|
+
export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
154
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
155
|
+
readonly $ref: "#/$defs/Response";
|
|
156
|
+
readonly $defs: {
|
|
157
|
+
readonly Response: {
|
|
158
|
+
readonly $anchor: "response";
|
|
159
|
+
readonly title: "VTA Services — Get — response payload";
|
|
160
|
+
readonly description: "Success response to vta/services/get. Type https://trusttasks.org/spec/vta/services/get/1.0#response.";
|
|
161
|
+
readonly type: "object";
|
|
162
|
+
readonly additionalProperties: false;
|
|
163
|
+
readonly required: readonly ["state"];
|
|
164
|
+
readonly properties: {
|
|
165
|
+
readonly state: {
|
|
166
|
+
readonly $ref: "#/$defs/ServiceState";
|
|
167
|
+
};
|
|
168
|
+
readonly ext: {
|
|
169
|
+
readonly $ref: "#/$defs/Ext";
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
readonly Ext: {
|
|
174
|
+
readonly title: "Ext";
|
|
175
|
+
readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
|
|
176
|
+
readonly type: "object";
|
|
177
|
+
readonly minProperties: 1;
|
|
178
|
+
readonly additionalProperties: true;
|
|
179
|
+
readonly propertyNames: {
|
|
180
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
readonly ServiceState: {
|
|
184
|
+
readonly title: "ServiceState";
|
|
185
|
+
readonly description: "What the agent currently advertises for one service. `enabled` is the only member every kind carries; the rest are kind-specific and absent when they do not apply. Note that `enabled: false` and an absent entry are different: the first says the agent knows about this transport and is not advertising it, the second says it has never been configured.";
|
|
186
|
+
readonly type: "object";
|
|
187
|
+
readonly additionalProperties: false;
|
|
188
|
+
readonly required: readonly ["kind", "enabled"];
|
|
189
|
+
readonly properties: {
|
|
190
|
+
readonly kind: {
|
|
191
|
+
readonly $ref: "#/$defs/ServiceKind";
|
|
192
|
+
};
|
|
193
|
+
readonly enabled: {
|
|
194
|
+
readonly type: "boolean";
|
|
195
|
+
readonly description: "Whether the agent currently advertises this transport in its DID document.";
|
|
196
|
+
};
|
|
197
|
+
readonly mediatorDid: {
|
|
198
|
+
readonly type: "string";
|
|
199
|
+
readonly description: "The mediator this transport routes through. Present for `didcomm` and `tsp`.";
|
|
200
|
+
};
|
|
201
|
+
readonly url: {
|
|
202
|
+
readonly type: "string";
|
|
203
|
+
readonly description: "The advertised endpoint. Present for `rest` and `webauthn`.";
|
|
204
|
+
};
|
|
205
|
+
readonly drainsUntil: {
|
|
206
|
+
readonly type: "string";
|
|
207
|
+
readonly format: "date-time";
|
|
208
|
+
readonly description: "RFC 3339 instant at which a scheduled drain completes. Present only while a `didcomm` mediator is draining — see `vta/services/drain/list`.";
|
|
209
|
+
};
|
|
210
|
+
readonly ext: {
|
|
211
|
+
readonly $ref: "#/$defs/Ext";
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
readonly ServiceKind: {
|
|
216
|
+
readonly title: "ServiceKind";
|
|
217
|
+
readonly description: "Which transport a task is acting on. This is the discriminator: it selects which member of `config` is meaningful, and a payload naming one kind with another's config is malformed rather than merely ignored.";
|
|
218
|
+
readonly type: "string";
|
|
219
|
+
readonly enum: readonly ["didcomm", "rest", "tsp", "webauthn"];
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
/**
|
|
224
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
225
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
226
|
+
* per-specification and cannot be derived from the document alone, and
|
|
227
|
+
* item 2 needs the schema this carries.
|
|
228
|
+
*/
|
|
229
|
+
export declare const SPEC: {
|
|
230
|
+
readonly typeUri: "https://trusttasks.org/spec/vta/services/get/1.0";
|
|
231
|
+
readonly isBearer: false;
|
|
232
|
+
readonly isProofRequired: false;
|
|
233
|
+
readonly isRecipientRequired: true;
|
|
234
|
+
readonly payloadSchema: {
|
|
235
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
236
|
+
readonly $id: "https://trusttasks.org/spec/vta/services/get/1.0";
|
|
237
|
+
readonly title: "VTA Services — Get — payload";
|
|
238
|
+
readonly description: "Request payload for vta/services/get. Reads one transport's current state.";
|
|
239
|
+
readonly type: "object";
|
|
240
|
+
readonly additionalProperties: false;
|
|
241
|
+
readonly required: readonly ["service"];
|
|
242
|
+
readonly properties: {
|
|
243
|
+
readonly service: {
|
|
244
|
+
readonly $ref: "#/$defs/ServiceKind";
|
|
245
|
+
};
|
|
246
|
+
readonly ext: {
|
|
247
|
+
readonly $ref: "#/$defs/Ext";
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
readonly $defs: {
|
|
251
|
+
readonly Response: {
|
|
252
|
+
readonly $anchor: "response";
|
|
253
|
+
readonly title: "VTA Services — Get — response payload";
|
|
254
|
+
readonly description: "Success response to vta/services/get. Type https://trusttasks.org/spec/vta/services/get/1.0#response.";
|
|
255
|
+
readonly type: "object";
|
|
256
|
+
readonly additionalProperties: false;
|
|
257
|
+
readonly required: readonly ["state"];
|
|
258
|
+
readonly properties: {
|
|
259
|
+
readonly state: {
|
|
260
|
+
readonly $ref: "#/$defs/ServiceState";
|
|
261
|
+
};
|
|
262
|
+
readonly ext: {
|
|
263
|
+
readonly $ref: "#/$defs/Ext";
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
readonly Ext: {
|
|
268
|
+
readonly title: "Ext";
|
|
269
|
+
readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
|
|
270
|
+
readonly type: "object";
|
|
271
|
+
readonly minProperties: 1;
|
|
272
|
+
readonly additionalProperties: true;
|
|
273
|
+
readonly propertyNames: {
|
|
274
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
readonly ServiceState: {
|
|
278
|
+
readonly title: "ServiceState";
|
|
279
|
+
readonly description: "What the agent currently advertises for one service. `enabled` is the only member every kind carries; the rest are kind-specific and absent when they do not apply. Note that `enabled: false` and an absent entry are different: the first says the agent knows about this transport and is not advertising it, the second says it has never been configured.";
|
|
280
|
+
readonly type: "object";
|
|
281
|
+
readonly additionalProperties: false;
|
|
282
|
+
readonly required: readonly ["kind", "enabled"];
|
|
283
|
+
readonly properties: {
|
|
284
|
+
readonly kind: {
|
|
285
|
+
readonly $ref: "#/$defs/ServiceKind";
|
|
286
|
+
};
|
|
287
|
+
readonly enabled: {
|
|
288
|
+
readonly type: "boolean";
|
|
289
|
+
readonly description: "Whether the agent currently advertises this transport in its DID document.";
|
|
290
|
+
};
|
|
291
|
+
readonly mediatorDid: {
|
|
292
|
+
readonly type: "string";
|
|
293
|
+
readonly description: "The mediator this transport routes through. Present for `didcomm` and `tsp`.";
|
|
294
|
+
};
|
|
295
|
+
readonly url: {
|
|
296
|
+
readonly type: "string";
|
|
297
|
+
readonly description: "The advertised endpoint. Present for `rest` and `webauthn`.";
|
|
298
|
+
};
|
|
299
|
+
readonly drainsUntil: {
|
|
300
|
+
readonly type: "string";
|
|
301
|
+
readonly format: "date-time";
|
|
302
|
+
readonly description: "RFC 3339 instant at which a scheduled drain completes. Present only while a `didcomm` mediator is draining — see `vta/services/drain/list`.";
|
|
303
|
+
};
|
|
304
|
+
readonly ext: {
|
|
305
|
+
readonly $ref: "#/$defs/Ext";
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
readonly ServiceKind: {
|
|
310
|
+
readonly title: "ServiceKind";
|
|
311
|
+
readonly description: "Which transport a task is acting on. This is the discriminator: it selects which member of `config` is meaningful, and a payload naming one kind with another's config is malformed rather than merely ignored.";
|
|
312
|
+
readonly type: "string";
|
|
313
|
+
readonly enum: readonly ["didcomm", "rest", "tsp", "webauthn"];
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
/**
|
|
319
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
320
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
321
|
+
* parties (§7.3 item 5).
|
|
322
|
+
*/
|
|
323
|
+
export declare const RESPONSE_SPEC: {
|
|
324
|
+
readonly typeUri: "https://trusttasks.org/spec/vta/services/get/1.0#response";
|
|
325
|
+
readonly isBearer: false;
|
|
326
|
+
readonly isProofRequired: false;
|
|
327
|
+
readonly isRecipientRequired: true;
|
|
328
|
+
readonly payloadSchema: {
|
|
329
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
330
|
+
readonly $ref: "#/$defs/Response";
|
|
331
|
+
readonly $defs: {
|
|
332
|
+
readonly Response: {
|
|
333
|
+
readonly $anchor: "response";
|
|
334
|
+
readonly title: "VTA Services — Get — response payload";
|
|
335
|
+
readonly description: "Success response to vta/services/get. Type https://trusttasks.org/spec/vta/services/get/1.0#response.";
|
|
336
|
+
readonly type: "object";
|
|
337
|
+
readonly additionalProperties: false;
|
|
338
|
+
readonly required: readonly ["state"];
|
|
339
|
+
readonly properties: {
|
|
340
|
+
readonly state: {
|
|
341
|
+
readonly $ref: "#/$defs/ServiceState";
|
|
342
|
+
};
|
|
343
|
+
readonly ext: {
|
|
344
|
+
readonly $ref: "#/$defs/Ext";
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
};
|
|
348
|
+
readonly Ext: {
|
|
349
|
+
readonly title: "Ext";
|
|
350
|
+
readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
|
|
351
|
+
readonly type: "object";
|
|
352
|
+
readonly minProperties: 1;
|
|
353
|
+
readonly additionalProperties: true;
|
|
354
|
+
readonly propertyNames: {
|
|
355
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
356
|
+
};
|
|
357
|
+
};
|
|
358
|
+
readonly ServiceState: {
|
|
359
|
+
readonly title: "ServiceState";
|
|
360
|
+
readonly description: "What the agent currently advertises for one service. `enabled` is the only member every kind carries; the rest are kind-specific and absent when they do not apply. Note that `enabled: false` and an absent entry are different: the first says the agent knows about this transport and is not advertising it, the second says it has never been configured.";
|
|
361
|
+
readonly type: "object";
|
|
362
|
+
readonly additionalProperties: false;
|
|
363
|
+
readonly required: readonly ["kind", "enabled"];
|
|
364
|
+
readonly properties: {
|
|
365
|
+
readonly kind: {
|
|
366
|
+
readonly $ref: "#/$defs/ServiceKind";
|
|
367
|
+
};
|
|
368
|
+
readonly enabled: {
|
|
369
|
+
readonly type: "boolean";
|
|
370
|
+
readonly description: "Whether the agent currently advertises this transport in its DID document.";
|
|
371
|
+
};
|
|
372
|
+
readonly mediatorDid: {
|
|
373
|
+
readonly type: "string";
|
|
374
|
+
readonly description: "The mediator this transport routes through. Present for `didcomm` and `tsp`.";
|
|
375
|
+
};
|
|
376
|
+
readonly url: {
|
|
377
|
+
readonly type: "string";
|
|
378
|
+
readonly description: "The advertised endpoint. Present for `rest` and `webauthn`.";
|
|
379
|
+
};
|
|
380
|
+
readonly drainsUntil: {
|
|
381
|
+
readonly type: "string";
|
|
382
|
+
readonly format: "date-time";
|
|
383
|
+
readonly description: "RFC 3339 instant at which a scheduled drain completes. Present only while a `didcomm` mediator is draining — see `vta/services/drain/list`.";
|
|
384
|
+
};
|
|
385
|
+
readonly ext: {
|
|
386
|
+
readonly $ref: "#/$defs/Ext";
|
|
387
|
+
};
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
readonly ServiceKind: {
|
|
391
|
+
readonly title: "ServiceKind";
|
|
392
|
+
readonly description: "Which transport a task is acting on. This is the discriminator: it selects which member of `config` is meaningful, and a payload naming one kind with another's config is malformed rather than merely ignored.";
|
|
393
|
+
readonly type: "string";
|
|
394
|
+
readonly enum: readonly ["didcomm", "rest", "tsp", "webauthn"];
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
//# sourceMappingURL=payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vta/services/get/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,MAAM,GAAG,KAAK,GAAG,UAAU,CAAC;AAElE;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,WAAW,CAAC;IACrB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,GAAG;IAClB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AACD;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,KAAK,EAAE,YAAY,CAAC;IACpB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,WAAW,CAAC;IAClB;;OAEG;IACH,OAAO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6
|
+
export const TYPE_URI = "https://trusttasks.org/spec/vta/services/get/1.0";
|
|
7
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
8
|
+
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vta/services/get/1.0#response";
|
|
9
|
+
/**
|
|
10
|
+
* This specification's payload schema, as a value.
|
|
11
|
+
*
|
|
12
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
13
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
14
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
15
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
16
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
17
|
+
*/
|
|
18
|
+
export const PAYLOAD_SCHEMA = {
|
|
19
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
20
|
+
"$id": "https://trusttasks.org/spec/vta/services/get/1.0",
|
|
21
|
+
"title": "VTA Services — Get — payload",
|
|
22
|
+
"description": "Request payload for vta/services/get. Reads one transport's current state.",
|
|
23
|
+
"type": "object",
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"required": [
|
|
26
|
+
"service"
|
|
27
|
+
],
|
|
28
|
+
"properties": {
|
|
29
|
+
"service": {
|
|
30
|
+
"$ref": "#/$defs/ServiceKind"
|
|
31
|
+
},
|
|
32
|
+
"ext": {
|
|
33
|
+
"$ref": "#/$defs/Ext"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"$defs": {
|
|
37
|
+
"Response": {
|
|
38
|
+
"$anchor": "response",
|
|
39
|
+
"title": "VTA Services — Get — response payload",
|
|
40
|
+
"description": "Success response to vta/services/get. Type https://trusttasks.org/spec/vta/services/get/1.0#response.",
|
|
41
|
+
"type": "object",
|
|
42
|
+
"additionalProperties": false,
|
|
43
|
+
"required": [
|
|
44
|
+
"state"
|
|
45
|
+
],
|
|
46
|
+
"properties": {
|
|
47
|
+
"state": {
|
|
48
|
+
"$ref": "#/$defs/ServiceState"
|
|
49
|
+
},
|
|
50
|
+
"ext": {
|
|
51
|
+
"$ref": "#/$defs/Ext"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"Ext": {
|
|
56
|
+
"title": "Ext",
|
|
57
|
+
"description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
|
|
58
|
+
"type": "object",
|
|
59
|
+
"minProperties": 1,
|
|
60
|
+
"additionalProperties": true,
|
|
61
|
+
"propertyNames": {
|
|
62
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"ServiceState": {
|
|
66
|
+
"title": "ServiceState",
|
|
67
|
+
"description": "What the agent currently advertises for one service. `enabled` is the only member every kind carries; the rest are kind-specific and absent when they do not apply. Note that `enabled: false` and an absent entry are different: the first says the agent knows about this transport and is not advertising it, the second says it has never been configured.",
|
|
68
|
+
"type": "object",
|
|
69
|
+
"additionalProperties": false,
|
|
70
|
+
"required": [
|
|
71
|
+
"kind",
|
|
72
|
+
"enabled"
|
|
73
|
+
],
|
|
74
|
+
"properties": {
|
|
75
|
+
"kind": {
|
|
76
|
+
"$ref": "#/$defs/ServiceKind"
|
|
77
|
+
},
|
|
78
|
+
"enabled": {
|
|
79
|
+
"type": "boolean",
|
|
80
|
+
"description": "Whether the agent currently advertises this transport in its DID document."
|
|
81
|
+
},
|
|
82
|
+
"mediatorDid": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"description": "The mediator this transport routes through. Present for `didcomm` and `tsp`."
|
|
85
|
+
},
|
|
86
|
+
"url": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"description": "The advertised endpoint. Present for `rest` and `webauthn`."
|
|
89
|
+
},
|
|
90
|
+
"drainsUntil": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"format": "date-time",
|
|
93
|
+
"description": "RFC 3339 instant at which a scheduled drain completes. Present only while a `didcomm` mediator is draining — see `vta/services/drain/list`."
|
|
94
|
+
},
|
|
95
|
+
"ext": {
|
|
96
|
+
"$ref": "#/$defs/Ext"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"ServiceKind": {
|
|
101
|
+
"title": "ServiceKind",
|
|
102
|
+
"description": "Which transport a task is acting on. This is the discriminator: it selects which member of `config` is meaningful, and a payload naming one kind with another's config is malformed rather than merely ignored.",
|
|
103
|
+
"type": "string",
|
|
104
|
+
"enum": [
|
|
105
|
+
"didcomm",
|
|
106
|
+
"rest",
|
|
107
|
+
"tsp",
|
|
108
|
+
"webauthn"
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
114
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
115
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
116
|
+
"$ref": "#/$defs/Response",
|
|
117
|
+
"$defs": {
|
|
118
|
+
"Response": {
|
|
119
|
+
"$anchor": "response",
|
|
120
|
+
"title": "VTA Services — Get — response payload",
|
|
121
|
+
"description": "Success response to vta/services/get. Type https://trusttasks.org/spec/vta/services/get/1.0#response.",
|
|
122
|
+
"type": "object",
|
|
123
|
+
"additionalProperties": false,
|
|
124
|
+
"required": [
|
|
125
|
+
"state"
|
|
126
|
+
],
|
|
127
|
+
"properties": {
|
|
128
|
+
"state": {
|
|
129
|
+
"$ref": "#/$defs/ServiceState"
|
|
130
|
+
},
|
|
131
|
+
"ext": {
|
|
132
|
+
"$ref": "#/$defs/Ext"
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"Ext": {
|
|
137
|
+
"title": "Ext",
|
|
138
|
+
"description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
|
|
139
|
+
"type": "object",
|
|
140
|
+
"minProperties": 1,
|
|
141
|
+
"additionalProperties": true,
|
|
142
|
+
"propertyNames": {
|
|
143
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"ServiceState": {
|
|
147
|
+
"title": "ServiceState",
|
|
148
|
+
"description": "What the agent currently advertises for one service. `enabled` is the only member every kind carries; the rest are kind-specific and absent when they do not apply. Note that `enabled: false` and an absent entry are different: the first says the agent knows about this transport and is not advertising it, the second says it has never been configured.",
|
|
149
|
+
"type": "object",
|
|
150
|
+
"additionalProperties": false,
|
|
151
|
+
"required": [
|
|
152
|
+
"kind",
|
|
153
|
+
"enabled"
|
|
154
|
+
],
|
|
155
|
+
"properties": {
|
|
156
|
+
"kind": {
|
|
157
|
+
"$ref": "#/$defs/ServiceKind"
|
|
158
|
+
},
|
|
159
|
+
"enabled": {
|
|
160
|
+
"type": "boolean",
|
|
161
|
+
"description": "Whether the agent currently advertises this transport in its DID document."
|
|
162
|
+
},
|
|
163
|
+
"mediatorDid": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"description": "The mediator this transport routes through. Present for `didcomm` and `tsp`."
|
|
166
|
+
},
|
|
167
|
+
"url": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"description": "The advertised endpoint. Present for `rest` and `webauthn`."
|
|
170
|
+
},
|
|
171
|
+
"drainsUntil": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"format": "date-time",
|
|
174
|
+
"description": "RFC 3339 instant at which a scheduled drain completes. Present only while a `didcomm` mediator is draining — see `vta/services/drain/list`."
|
|
175
|
+
},
|
|
176
|
+
"ext": {
|
|
177
|
+
"$ref": "#/$defs/Ext"
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"ServiceKind": {
|
|
182
|
+
"title": "ServiceKind",
|
|
183
|
+
"description": "Which transport a task is acting on. This is the discriminator: it selects which member of `config` is meaningful, and a payload naming one kind with another's config is malformed rather than merely ignored.",
|
|
184
|
+
"type": "string",
|
|
185
|
+
"enum": [
|
|
186
|
+
"didcomm",
|
|
187
|
+
"rest",
|
|
188
|
+
"tsp",
|
|
189
|
+
"webauthn"
|
|
190
|
+
]
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
196
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
197
|
+
* per-specification and cannot be derived from the document alone, and
|
|
198
|
+
* item 2 needs the schema this carries.
|
|
199
|
+
*/
|
|
200
|
+
export const SPEC = {
|
|
201
|
+
typeUri: TYPE_URI,
|
|
202
|
+
isBearer: false,
|
|
203
|
+
isProofRequired: false,
|
|
204
|
+
isRecipientRequired: true,
|
|
205
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
206
|
+
};
|
|
207
|
+
/**
|
|
208
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
209
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
210
|
+
* parties (§7.3 item 5).
|
|
211
|
+
*/
|
|
212
|
+
export const RESPONSE_SPEC = {
|
|
213
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
214
|
+
isBearer: false,
|
|
215
|
+
isProofRequired: false,
|
|
216
|
+
isRecipientRequired: true,
|
|
217
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
218
|
+
};
|
|
219
|
+
//# sourceMappingURL=payload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vta/services/get/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAmDH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,kDAA2D,CAAC;AAKpF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,2DA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