@openvtc/trust-tasks 0.9.0 → 0.11.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 (171) hide show
  1. package/dist/index.d.ts +33 -0
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +33 -0
  4. package/dist/index.js.map +1 -1
  5. package/dist/vta/_shared/0.1/context.d.ts +11 -0
  6. package/dist/vta/_shared/0.1/context.d.ts.map +1 -0
  7. package/dist/vta/_shared/0.1/context.js +6 -0
  8. package/dist/vta/_shared/0.1/context.js.map +1 -0
  9. package/dist/vta/_shared/0.1/service.d.ts +11 -0
  10. package/dist/vta/_shared/0.1/service.d.ts.map +1 -0
  11. package/dist/vta/_shared/0.1/service.js +6 -0
  12. package/dist/vta/_shared/0.1/service.js.map +1 -0
  13. package/dist/vta/_shared/0.1/webvh-records.d.ts +11 -0
  14. package/dist/vta/_shared/0.1/webvh-records.d.ts.map +1 -0
  15. package/dist/vta/_shared/0.1/webvh-records.js +6 -0
  16. package/dist/vta/_shared/0.1/webvh-records.js.map +1 -0
  17. package/dist/vta/contexts/create/1.0/payload.d.ts +443 -0
  18. package/dist/vta/contexts/create/1.0/payload.d.ts.map +1 -0
  19. package/dist/vta/contexts/create/1.0/payload.js +226 -0
  20. package/dist/vta/contexts/create/1.0/payload.js.map +1 -0
  21. package/dist/vta/contexts/delete/1.0/payload.d.ts +256 -0
  22. package/dist/vta/contexts/delete/1.0/payload.d.ts.map +1 -0
  23. package/dist/vta/contexts/delete/1.0/payload.js +143 -0
  24. package/dist/vta/contexts/delete/1.0/payload.js.map +1 -0
  25. package/dist/vta/contexts/get/1.0/payload.d.ts +405 -0
  26. package/dist/vta/contexts/get/1.0/payload.d.ts.map +1 -0
  27. package/dist/vta/contexts/get/1.0/payload.js +212 -0
  28. package/dist/vta/contexts/get/1.0/payload.js.map +1 -0
  29. package/dist/vta/contexts/list/1.0/payload.d.ts +460 -0
  30. package/dist/vta/contexts/list/1.0/payload.d.ts.map +1 -0
  31. package/dist/vta/contexts/list/1.0/payload.js +237 -0
  32. package/dist/vta/contexts/list/1.0/payload.js.map +1 -0
  33. package/dist/vta/contexts/preview-delete/1.0/payload.d.ts +394 -0
  34. package/dist/vta/contexts/preview-delete/1.0/payload.d.ts.map +1 -0
  35. package/dist/vta/contexts/preview-delete/1.0/payload.js +209 -0
  36. package/dist/vta/contexts/preview-delete/1.0/payload.js.map +1 -0
  37. package/dist/vta/contexts/update/1.0/payload.d.ts +653 -0
  38. package/dist/vta/contexts/update/1.0/payload.d.ts.map +1 -0
  39. package/dist/vta/contexts/update/1.0/payload.js +314 -0
  40. package/dist/vta/contexts/update/1.0/payload.js.map +1 -0
  41. package/dist/vta/contexts/update-did/1.0/payload.d.ts +419 -0
  42. package/dist/vta/contexts/update-did/1.0/payload.d.ts.map +1 -0
  43. package/dist/vta/contexts/update-did/1.0/payload.js +218 -0
  44. package/dist/vta/contexts/update-did/1.0/payload.js.map +1 -0
  45. package/dist/vta/services/disable/1.0/payload.d.ts +438 -0
  46. package/dist/vta/services/disable/1.0/payload.d.ts.map +1 -0
  47. package/dist/vta/services/disable/1.0/payload.js +235 -0
  48. package/dist/vta/services/disable/1.0/payload.js.map +1 -0
  49. package/dist/vta/services/drain/cancel/1.0/payload.d.ts +234 -0
  50. package/dist/vta/services/drain/cancel/1.0/payload.d.ts.map +1 -0
  51. package/dist/vta/services/drain/cancel/1.0/payload.js +131 -0
  52. package/dist/vta/services/drain/cancel/1.0/payload.js.map +1 -0
  53. package/dist/vta/services/drain/list/1.0/payload.d.ts +352 -0
  54. package/dist/vta/services/drain/list/1.0/payload.d.ts.map +1 -0
  55. package/dist/vta/services/drain/list/1.0/payload.js +189 -0
  56. package/dist/vta/services/drain/list/1.0/payload.js.map +1 -0
  57. package/dist/vta/services/enable/1.0/payload.d.ts +511 -0
  58. package/dist/vta/services/enable/1.0/payload.d.ts.map +1 -0
  59. package/dist/vta/services/enable/1.0/payload.js +262 -0
  60. package/dist/vta/services/enable/1.0/payload.js.map +1 -0
  61. package/dist/vta/services/get/1.0/payload.d.ts +399 -0
  62. package/dist/vta/services/get/1.0/payload.d.ts.map +1 -0
  63. package/dist/vta/services/get/1.0/payload.js +219 -0
  64. package/dist/vta/services/get/1.0/payload.js.map +1 -0
  65. package/dist/vta/services/list/1.0/payload.d.ts +409 -0
  66. package/dist/vta/services/list/1.0/payload.d.ts.map +1 -0
  67. package/dist/vta/services/list/1.0/payload.js +221 -0
  68. package/dist/vta/services/list/1.0/payload.js.map +1 -0
  69. package/dist/vta/services/rollback/1.0/payload.d.ts +438 -0
  70. package/dist/vta/services/rollback/1.0/payload.d.ts.map +1 -0
  71. package/dist/vta/services/rollback/1.0/payload.js +235 -0
  72. package/dist/vta/services/rollback/1.0/payload.js.map +1 -0
  73. package/dist/vta/services/update/1.0/payload.d.ts +511 -0
  74. package/dist/vta/services/update/1.0/payload.d.ts.map +1 -0
  75. package/dist/vta/services/update/1.0/payload.js +262 -0
  76. package/dist/vta/services/update/1.0/payload.js.map +1 -0
  77. package/dist/vta/webvh/agent-name/check/1.0/payload.d.ts +301 -0
  78. package/dist/vta/webvh/agent-name/check/1.0/payload.d.ts.map +1 -0
  79. package/dist/vta/webvh/agent-name/check/1.0/payload.js +165 -0
  80. package/dist/vta/webvh/agent-name/check/1.0/payload.js.map +1 -0
  81. package/dist/vta/webvh/agent-name/disable/1.0/payload.d.ts +274 -0
  82. package/dist/vta/webvh/agent-name/disable/1.0/payload.d.ts.map +1 -0
  83. package/dist/vta/webvh/agent-name/disable/1.0/payload.js +153 -0
  84. package/dist/vta/webvh/agent-name/disable/1.0/payload.js.map +1 -0
  85. package/dist/vta/webvh/agent-name/enable/1.0/payload.d.ts +274 -0
  86. package/dist/vta/webvh/agent-name/enable/1.0/payload.d.ts.map +1 -0
  87. package/dist/vta/webvh/agent-name/enable/1.0/payload.js +153 -0
  88. package/dist/vta/webvh/agent-name/enable/1.0/payload.js.map +1 -0
  89. package/dist/vta/webvh/agent-name/list/1.0/payload.d.ts +377 -0
  90. package/dist/vta/webvh/agent-name/list/1.0/payload.d.ts.map +1 -0
  91. package/dist/vta/webvh/agent-name/list/1.0/payload.js +201 -0
  92. package/dist/vta/webvh/agent-name/list/1.0/payload.js.map +1 -0
  93. package/dist/vta/webvh/agent-name/remove/1.0/payload.d.ts +274 -0
  94. package/dist/vta/webvh/agent-name/remove/1.0/payload.d.ts.map +1 -0
  95. package/dist/vta/webvh/agent-name/remove/1.0/payload.js +153 -0
  96. package/dist/vta/webvh/agent-name/remove/1.0/payload.js.map +1 -0
  97. package/dist/vta/webvh/agent-name/set/1.0/payload.d.ts +274 -0
  98. package/dist/vta/webvh/agent-name/set/1.0/payload.d.ts.map +1 -0
  99. package/dist/vta/webvh/agent-name/set/1.0/payload.js +153 -0
  100. package/dist/vta/webvh/agent-name/set/1.0/payload.js.map +1 -0
  101. package/dist/vta/webvh/dids/create/1.0/payload.d.ts +806 -0
  102. package/dist/vta/webvh/dids/create/1.0/payload.d.ts.map +1 -0
  103. package/dist/vta/webvh/dids/create/1.0/payload.js +400 -0
  104. package/dist/vta/webvh/dids/create/1.0/payload.js.map +1 -0
  105. package/dist/vta/webvh/dids/delete/1.0/payload.d.ts +257 -0
  106. package/dist/vta/webvh/dids/delete/1.0/payload.d.ts.map +1 -0
  107. package/dist/vta/webvh/dids/delete/1.0/payload.js +145 -0
  108. package/dist/vta/webvh/dids/delete/1.0/payload.js.map +1 -0
  109. package/dist/vta/webvh/dids/get/1.0/payload.d.ts +539 -0
  110. package/dist/vta/webvh/dids/get/1.0/payload.d.ts.map +1 -0
  111. package/dist/vta/webvh/dids/get/1.0/payload.js +282 -0
  112. package/dist/vta/webvh/dids/get/1.0/payload.js.map +1 -0
  113. package/dist/vta/webvh/dids/list/1.0/payload.d.ts +537 -0
  114. package/dist/vta/webvh/dids/list/1.0/payload.d.ts.map +1 -0
  115. package/dist/vta/webvh/dids/list/1.0/payload.js +278 -0
  116. package/dist/vta/webvh/dids/list/1.0/payload.js.map +1 -0
  117. package/dist/vta/webvh/dids/register-with-server/1.0/payload.d.ts +299 -0
  118. package/dist/vta/webvh/dids/register-with-server/1.0/payload.d.ts.map +1 -0
  119. package/dist/vta/webvh/dids/register-with-server/1.0/payload.js +163 -0
  120. package/dist/vta/webvh/dids/register-with-server/1.0/payload.js.map +1 -0
  121. package/dist/vta/webvh/dids/rotate-keys/1.0/payload.d.ts +357 -0
  122. package/dist/vta/webvh/dids/rotate-keys/1.0/payload.d.ts.map +1 -0
  123. package/dist/vta/webvh/dids/rotate-keys/1.0/payload.js +196 -0
  124. package/dist/vta/webvh/dids/rotate-keys/1.0/payload.js.map +1 -0
  125. package/dist/vta/webvh/servers/list/1.0/payload.d.ts +366 -0
  126. package/dist/vta/webvh/servers/list/1.0/payload.d.ts.map +1 -0
  127. package/dist/vta/webvh/servers/list/1.0/payload.js +200 -0
  128. package/dist/vta/webvh/servers/list/1.0/payload.js.map +1 -0
  129. package/dist/vta/webvh/servers/register/1.0/payload.d.ts +335 -0
  130. package/dist/vta/webvh/servers/register/1.0/payload.d.ts.map +1 -0
  131. package/dist/vta/webvh/servers/register/1.0/payload.js +183 -0
  132. package/dist/vta/webvh/servers/register/1.0/payload.js.map +1 -0
  133. package/dist/vta/webvh/servers/remove/1.0/payload.d.ts +237 -0
  134. package/dist/vta/webvh/servers/remove/1.0/payload.d.ts.map +1 -0
  135. package/dist/vta/webvh/servers/remove/1.0/payload.js +137 -0
  136. package/dist/vta/webvh/servers/remove/1.0/payload.js.map +1 -0
  137. package/package.json +2 -1
  138. package/src/index.ts +33 -0
  139. package/src/vta/_shared/0.1/context.ts +11 -0
  140. package/src/vta/_shared/0.1/service.ts +11 -0
  141. package/src/vta/_shared/0.1/webvh-records.ts +11 -0
  142. package/src/vta/contexts/create/1.0/payload.ts +301 -0
  143. package/src/vta/contexts/delete/1.0/payload.ts +183 -0
  144. package/src/vta/contexts/get/1.0/payload.ts +275 -0
  145. package/src/vta/contexts/list/1.0/payload.ts +309 -0
  146. package/src/vta/contexts/preview-delete/1.0/payload.ts +267 -0
  147. package/src/vta/contexts/update/1.0/payload.ts +421 -0
  148. package/src/vta/contexts/update-did/1.0/payload.ts +285 -0
  149. package/src/vta/services/disable/1.0/payload.ts +302 -0
  150. package/src/vta/services/drain/cancel/1.0/payload.ts +169 -0
  151. package/src/vta/services/drain/list/1.0/payload.ts +241 -0
  152. package/src/vta/services/enable/1.0/payload.ts +350 -0
  153. package/src/vta/services/get/1.0/payload.ts +279 -0
  154. package/src/vta/services/list/1.0/payload.ts +283 -0
  155. package/src/vta/services/rollback/1.0/payload.ts +302 -0
  156. package/src/vta/services/update/1.0/payload.ts +350 -0
  157. package/src/vta/webvh/agent-name/check/1.0/payload.ts +216 -0
  158. package/src/vta/webvh/agent-name/disable/1.0/payload.ts +197 -0
  159. package/src/vta/webvh/agent-name/enable/1.0/payload.ts +197 -0
  160. package/src/vta/webvh/agent-name/list/1.0/payload.ts +258 -0
  161. package/src/vta/webvh/agent-name/remove/1.0/payload.ts +197 -0
  162. package/src/vta/webvh/agent-name/set/1.0/payload.ts +197 -0
  163. package/src/vta/webvh/dids/create/1.0/payload.ts +548 -0
  164. package/src/vta/webvh/dids/delete/1.0/payload.ts +182 -0
  165. package/src/vta/webvh/dids/get/1.0/payload.ts +363 -0
  166. package/src/vta/webvh/dids/list/1.0/payload.ts +361 -0
  167. package/src/vta/webvh/dids/register-with-server/1.0/payload.ts +212 -0
  168. package/src/vta/webvh/dids/rotate-keys/1.0/payload.ts +251 -0
  169. package/src/vta/webvh/servers/list/1.0/payload.ts +248 -0
  170. package/src/vta/webvh/servers/register/1.0/payload.ts +230 -0
  171. package/src/vta/webvh/servers/remove/1.0/payload.ts +170 -0
@@ -0,0 +1,262 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vta/services/update/1.0/payload.schema.json
4
+ */
5
+ /** Trust Task type URI. */
6
+ export const TYPE_URI = "https://trusttasks.org/spec/vta/services/update/1.0";
7
+ /** Trust Task response type URI (request type URI + "#response"). */
8
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vta/services/update/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/update/1.0",
21
+ "title": "VTA Services — Update — payload",
22
+ "description": "Request payload for vta/services/update. Replaces the settings on a transport that is already advertised. Refused when the transport is not currently enabled — that case is `enable`, and conflating the two would let a typo silently advertise a service the operator meant to change.",
23
+ "type": "object",
24
+ "additionalProperties": false,
25
+ "required": [
26
+ "service",
27
+ "config"
28
+ ],
29
+ "properties": {
30
+ "service": {
31
+ "$ref": "#/$defs/ServiceKind"
32
+ },
33
+ "config": {
34
+ "type": "object",
35
+ "additionalProperties": false,
36
+ "description": "Kind-specific settings. Which member applies is decided by `service`, and the two must agree — a `rest` request carrying `mediatorDid` is malformed, not a request with an ignored field. `didcomm` and `tsp` take `mediatorDid`; `rest` and `webauthn` take `url`.",
37
+ "properties": {
38
+ "mediatorDid": {
39
+ "type": "string",
40
+ "minLength": 1,
41
+ "description": "Mediator to route through. Applies to `didcomm` and `tsp`."
42
+ },
43
+ "url": {
44
+ "type": "string",
45
+ "minLength": 1,
46
+ "description": "Endpoint to advertise. Applies to `rest` and `webauthn`. MUST be `https://`, with no fragment and no userinfo — the agent refuses anything else, because this value ends up in a signed DID document that clients will fetch."
47
+ },
48
+ "force": {
49
+ "type": "boolean",
50
+ "description": "`didcomm` only: skip the mediator handshake except for DID resolution. Absent means the handshake runs, which is the safe reading — this carries no schema-level default on purpose, because a default would materialise the field into a `rest` or `webauthn` config where it has no meaning. The handshake is what proves the mediator is reachable and willing, so forcing past it can advertise a mediator that cannot actually deliver."
51
+ },
52
+ "handshakeTimeoutSecs": {
53
+ "type": "integer",
54
+ "minimum": 1,
55
+ "description": "`didcomm` only: trust-ping round-trip budget. Default 10."
56
+ }
57
+ }
58
+ },
59
+ "ext": {
60
+ "$ref": "#/$defs/Ext"
61
+ }
62
+ },
63
+ "$defs": {
64
+ "Response": {
65
+ "$anchor": "response",
66
+ "title": "VTA Services — Update — response payload",
67
+ "description": "Success response to vta/services/update. Type https://trusttasks.org/spec/vta/services/update/1.0#response.",
68
+ "type": "object",
69
+ "additionalProperties": false,
70
+ "required": [
71
+ "result"
72
+ ],
73
+ "properties": {
74
+ "result": {
75
+ "$ref": "#/$defs/ServiceMutationResult"
76
+ },
77
+ "ext": {
78
+ "$ref": "#/$defs/Ext"
79
+ }
80
+ }
81
+ },
82
+ "Ext": {
83
+ "title": "Ext",
84
+ "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.",
85
+ "type": "object",
86
+ "minProperties": 1,
87
+ "additionalProperties": true,
88
+ "propertyNames": {
89
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
90
+ }
91
+ },
92
+ "ServiceMutationResult": {
93
+ "title": "ServiceMutationResult",
94
+ "description": "The outcome of a change to an advertised service. Every member describes the **log entry the change produced**, because that is what the change actually is: the agent's DID document is the record, and a consumer that treats the response as a mere acknowledgement will miss that a redeploy may be required.",
95
+ "type": "object",
96
+ "additionalProperties": false,
97
+ "required": [
98
+ "logEntryVersionId",
99
+ "effectiveAt"
100
+ ],
101
+ "properties": {
102
+ "logEntryVersionId": {
103
+ "type": "string",
104
+ "minLength": 1,
105
+ "description": "Version id of the new did:webvh log entry this change wrote. Joins the change to the document's history."
106
+ },
107
+ "effectiveAt": {
108
+ "type": "string",
109
+ "format": "date-time",
110
+ "description": "RFC 3339 instant the change took effect — the same instant stamped on the new log entry."
111
+ },
112
+ "drainUntil": {
113
+ "type": "string",
114
+ "format": "date-time",
115
+ "description": "Present when the change scheduled a DIDComm drain. Its absence means no drain was scheduled, NOT that a drain finished instantly: a consumer reporting 'done' on an absent value would be right, and one reporting it on a present value would be wrong."
116
+ },
117
+ "drainingMediator": {
118
+ "type": "string",
119
+ "description": "The mediator being drained, when `drainUntil` is present."
120
+ },
121
+ "vtaDid": {
122
+ "type": "string",
123
+ "description": "The agent's own DID — subject of the log entry this change wrote. Carried so a caller can follow up without a second round trip."
124
+ },
125
+ "serverless": {
126
+ "type": "boolean",
127
+ "description": "True when the agent's DID is self-hosted. **The change is persisted locally but NOT published**: the operator must fetch the updated `did.jsonl` and redeploy before any verifier sees it. A consumer that ignores this reports success for a change no one else can observe yet.",
128
+ "default": false
129
+ },
130
+ "ext": {
131
+ "$ref": "#/$defs/Ext"
132
+ }
133
+ }
134
+ },
135
+ "ServiceKind": {
136
+ "title": "ServiceKind",
137
+ "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.",
138
+ "type": "string",
139
+ "enum": [
140
+ "didcomm",
141
+ "rest",
142
+ "tsp",
143
+ "webauthn"
144
+ ]
145
+ }
146
+ }
147
+ };
148
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
149
+ export const RESPONSE_PAYLOAD_SCHEMA = {
150
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
151
+ "$ref": "#/$defs/Response",
152
+ "$defs": {
153
+ "Response": {
154
+ "$anchor": "response",
155
+ "title": "VTA Services — Update — response payload",
156
+ "description": "Success response to vta/services/update. Type https://trusttasks.org/spec/vta/services/update/1.0#response.",
157
+ "type": "object",
158
+ "additionalProperties": false,
159
+ "required": [
160
+ "result"
161
+ ],
162
+ "properties": {
163
+ "result": {
164
+ "$ref": "#/$defs/ServiceMutationResult"
165
+ },
166
+ "ext": {
167
+ "$ref": "#/$defs/Ext"
168
+ }
169
+ }
170
+ },
171
+ "Ext": {
172
+ "title": "Ext",
173
+ "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.",
174
+ "type": "object",
175
+ "minProperties": 1,
176
+ "additionalProperties": true,
177
+ "propertyNames": {
178
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
179
+ }
180
+ },
181
+ "ServiceMutationResult": {
182
+ "title": "ServiceMutationResult",
183
+ "description": "The outcome of a change to an advertised service. Every member describes the **log entry the change produced**, because that is what the change actually is: the agent's DID document is the record, and a consumer that treats the response as a mere acknowledgement will miss that a redeploy may be required.",
184
+ "type": "object",
185
+ "additionalProperties": false,
186
+ "required": [
187
+ "logEntryVersionId",
188
+ "effectiveAt"
189
+ ],
190
+ "properties": {
191
+ "logEntryVersionId": {
192
+ "type": "string",
193
+ "minLength": 1,
194
+ "description": "Version id of the new did:webvh log entry this change wrote. Joins the change to the document's history."
195
+ },
196
+ "effectiveAt": {
197
+ "type": "string",
198
+ "format": "date-time",
199
+ "description": "RFC 3339 instant the change took effect — the same instant stamped on the new log entry."
200
+ },
201
+ "drainUntil": {
202
+ "type": "string",
203
+ "format": "date-time",
204
+ "description": "Present when the change scheduled a DIDComm drain. Its absence means no drain was scheduled, NOT that a drain finished instantly: a consumer reporting 'done' on an absent value would be right, and one reporting it on a present value would be wrong."
205
+ },
206
+ "drainingMediator": {
207
+ "type": "string",
208
+ "description": "The mediator being drained, when `drainUntil` is present."
209
+ },
210
+ "vtaDid": {
211
+ "type": "string",
212
+ "description": "The agent's own DID — subject of the log entry this change wrote. Carried so a caller can follow up without a second round trip."
213
+ },
214
+ "serverless": {
215
+ "type": "boolean",
216
+ "description": "True when the agent's DID is self-hosted. **The change is persisted locally but NOT published**: the operator must fetch the updated `did.jsonl` and redeploy before any verifier sees it. A consumer that ignores this reports success for a change no one else can observe yet.",
217
+ "default": false
218
+ },
219
+ "ext": {
220
+ "$ref": "#/$defs/Ext"
221
+ }
222
+ }
223
+ },
224
+ "ServiceKind": {
225
+ "title": "ServiceKind",
226
+ "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.",
227
+ "type": "string",
228
+ "enum": [
229
+ "didcomm",
230
+ "rest",
231
+ "tsp",
232
+ "webauthn"
233
+ ]
234
+ }
235
+ }
236
+ };
237
+ /**
238
+ * SPEC.md §7.2 policy for the request variant, from this specification's
239
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
240
+ * per-specification and cannot be derived from the document alone, and
241
+ * item 2 needs the schema this carries.
242
+ */
243
+ export const SPEC = {
244
+ typeUri: TYPE_URI,
245
+ isBearer: false,
246
+ isProofRequired: true,
247
+ isRecipientRequired: true,
248
+ payloadSchema: PAYLOAD_SCHEMA,
249
+ };
250
+ /**
251
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
252
+ * tracks the *issuer* party's requirement because a response swaps the
253
+ * parties (§7.3 item 5).
254
+ */
255
+ export const RESPONSE_SPEC = {
256
+ typeUri: RESPONSE_TYPE_URI,
257
+ isBearer: false,
258
+ isProofRequired: true,
259
+ isRecipientRequired: true,
260
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
261
+ };
262
+ //# sourceMappingURL=payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vta/services/update/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA+EH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,qDAA8D,CAAC;AAKvF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,8DAAuE,CAAC;AAKzG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,qDAAqD;IAC5D,OAAO,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aAAa,EAAE,mRAAmR;oBAClS,SAAS,EAAE,KAAK;iBACjB;gBACD,KAAK,EAAE;oBACL,MAAM,EAAE,aAAa;iBACtB;aACF;SACF;QACD,aAAa,EAAE;YACb,OAAO,EAAE,aAAa;YACtB,aAAa,EAAE,iNAAiN;YAChO,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE;gBACN,SAAS;gBACT,MAAM;gBACN,KAAK;gBACL,UAAU;aACX;SACF;KACF;CACO,CAAC;AAEX;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,aAAa,EAAE,cAAc;CACrB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
@@ -0,0 +1,301 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vta/webvh/agent-name/check/1.0/payload.schema.json
4
+ */
5
+ /**
6
+ * Ask whether a name is free before trying to take it.
7
+ */
8
+ export interface VTAWebVHAgentNameCheckPayload {
9
+ /**
10
+ * DID the name is bound to.
11
+ */
12
+ did: string;
13
+ /**
14
+ * The name, without the host — the full form is `<host>/@<name>`.
15
+ */
16
+ name: string;
17
+ ext?: Ext;
18
+ }
19
+ /**
20
+ * 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.
21
+ */
22
+ export interface Ext {
23
+ [k: string]: unknown | undefined;
24
+ }
25
+ /**
26
+ * Success response to vta/webvh/agent-name/check. Type https://trusttasks.org/spec/vta/webvh/agent-name/check/1.0#response.
27
+ */
28
+ export interface VTAWebVHAgentNameCheckResponsePayload {
29
+ name: string;
30
+ /**
31
+ * Host the name would live under. A name is only unique within its host.
32
+ */
33
+ domain: string;
34
+ /**
35
+ * Whether the name can be taken **now**. It is a snapshot, not a hold: another caller may take it between this answer and the attempt.
36
+ */
37
+ available: boolean;
38
+ /**
39
+ * Whether the name is withheld by the host's own policy rather than taken by a DID. A reserved name is not available and will not become so by waiting.
40
+ */
41
+ reserved: boolean;
42
+ ext?: Ext;
43
+ }
44
+ /** Trust Task type URI. */
45
+ export declare const TYPE_URI: "https://trusttasks.org/spec/vta/webvh/agent-name/check/1.0";
46
+ /** Stable alias for this specification's request payload shape. */
47
+ export type Payload = VTAWebVHAgentNameCheckPayload;
48
+ /** Trust Task response type URI (request type URI + "#response"). */
49
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vta/webvh/agent-name/check/1.0#response";
50
+ /** Stable alias for this specification's success-response payload shape. */
51
+ export type Response = VTAWebVHAgentNameCheckResponsePayload;
52
+ /**
53
+ * This specification's payload schema, as a value.
54
+ *
55
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
56
+ * rather than only as a `.json` file because TypeScript types are erased
57
+ * at runtime: without a schema a consumer has nothing to validate, and
58
+ * every REQUIRED payload member is optional in practice. Cross-file
59
+ * `$ref`s are already inlined, so it needs no resolver.
60
+ */
61
+ export declare const PAYLOAD_SCHEMA: {
62
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
63
+ readonly $id: "https://trusttasks.org/spec/vta/webvh/agent-name/check/1.0";
64
+ readonly title: "VTA WebVH Agent-Name Check — payload";
65
+ readonly description: "Ask whether a name is free before trying to take it.";
66
+ readonly type: "object";
67
+ readonly additionalProperties: false;
68
+ readonly required: readonly ["did", "name"];
69
+ readonly properties: {
70
+ readonly did: {
71
+ readonly type: "string";
72
+ readonly minLength: 1;
73
+ readonly description: "DID the name is bound to.";
74
+ };
75
+ readonly name: {
76
+ readonly type: "string";
77
+ readonly minLength: 1;
78
+ readonly description: "The name, without the host — the full form is `<host>/@<name>`.";
79
+ };
80
+ readonly ext: {
81
+ readonly $ref: "#/$defs/Ext";
82
+ };
83
+ };
84
+ readonly $defs: {
85
+ readonly Response: {
86
+ readonly $anchor: "response";
87
+ readonly title: "VTA WebVH Agent-Name Check — response payload";
88
+ readonly description: "Success response to vta/webvh/agent-name/check. Type https://trusttasks.org/spec/vta/webvh/agent-name/check/1.0#response.";
89
+ readonly type: "object";
90
+ readonly additionalProperties: false;
91
+ readonly required: readonly ["name", "domain", "available", "reserved"];
92
+ readonly properties: {
93
+ readonly name: {
94
+ readonly type: "string";
95
+ };
96
+ readonly domain: {
97
+ readonly type: "string";
98
+ readonly description: "Host the name would live under. A name is only unique within its host.";
99
+ };
100
+ readonly available: {
101
+ readonly type: "boolean";
102
+ readonly description: "Whether the name can be taken **now**. It is a snapshot, not a hold: another caller may take it between this answer and the attempt.";
103
+ };
104
+ readonly reserved: {
105
+ readonly type: "boolean";
106
+ readonly description: "Whether the name is withheld by the host's own policy rather than taken by a DID. A reserved name is not available and will not become so by waiting.";
107
+ };
108
+ readonly ext: {
109
+ readonly $ref: "#/$defs/Ext";
110
+ };
111
+ };
112
+ };
113
+ readonly Ext: {
114
+ readonly title: "Ext";
115
+ 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.";
116
+ readonly type: "object";
117
+ readonly minProperties: 1;
118
+ readonly additionalProperties: true;
119
+ readonly propertyNames: {
120
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
121
+ };
122
+ };
123
+ };
124
+ };
125
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
126
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
127
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
128
+ readonly $ref: "#/$defs/Response";
129
+ readonly $defs: {
130
+ readonly Response: {
131
+ readonly $anchor: "response";
132
+ readonly title: "VTA WebVH Agent-Name Check — response payload";
133
+ readonly description: "Success response to vta/webvh/agent-name/check. Type https://trusttasks.org/spec/vta/webvh/agent-name/check/1.0#response.";
134
+ readonly type: "object";
135
+ readonly additionalProperties: false;
136
+ readonly required: readonly ["name", "domain", "available", "reserved"];
137
+ readonly properties: {
138
+ readonly name: {
139
+ readonly type: "string";
140
+ };
141
+ readonly domain: {
142
+ readonly type: "string";
143
+ readonly description: "Host the name would live under. A name is only unique within its host.";
144
+ };
145
+ readonly available: {
146
+ readonly type: "boolean";
147
+ readonly description: "Whether the name can be taken **now**. It is a snapshot, not a hold: another caller may take it between this answer and the attempt.";
148
+ };
149
+ readonly reserved: {
150
+ readonly type: "boolean";
151
+ readonly description: "Whether the name is withheld by the host's own policy rather than taken by a DID. A reserved name is not available and will not become so by waiting.";
152
+ };
153
+ readonly ext: {
154
+ readonly $ref: "#/$defs/Ext";
155
+ };
156
+ };
157
+ };
158
+ readonly Ext: {
159
+ readonly title: "Ext";
160
+ 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.";
161
+ readonly type: "object";
162
+ readonly minProperties: 1;
163
+ readonly additionalProperties: true;
164
+ readonly propertyNames: {
165
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
166
+ };
167
+ };
168
+ };
169
+ };
170
+ /**
171
+ * SPEC.md §7.2 policy for the request variant, from this specification's
172
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
173
+ * per-specification and cannot be derived from the document alone, and
174
+ * item 2 needs the schema this carries.
175
+ */
176
+ export declare const SPEC: {
177
+ readonly typeUri: "https://trusttasks.org/spec/vta/webvh/agent-name/check/1.0";
178
+ readonly isBearer: false;
179
+ readonly isProofRequired: false;
180
+ readonly isRecipientRequired: true;
181
+ readonly payloadSchema: {
182
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
183
+ readonly $id: "https://trusttasks.org/spec/vta/webvh/agent-name/check/1.0";
184
+ readonly title: "VTA WebVH Agent-Name Check — payload";
185
+ readonly description: "Ask whether a name is free before trying to take it.";
186
+ readonly type: "object";
187
+ readonly additionalProperties: false;
188
+ readonly required: readonly ["did", "name"];
189
+ readonly properties: {
190
+ readonly did: {
191
+ readonly type: "string";
192
+ readonly minLength: 1;
193
+ readonly description: "DID the name is bound to.";
194
+ };
195
+ readonly name: {
196
+ readonly type: "string";
197
+ readonly minLength: 1;
198
+ readonly description: "The name, without the host — the full form is `<host>/@<name>`.";
199
+ };
200
+ readonly ext: {
201
+ readonly $ref: "#/$defs/Ext";
202
+ };
203
+ };
204
+ readonly $defs: {
205
+ readonly Response: {
206
+ readonly $anchor: "response";
207
+ readonly title: "VTA WebVH Agent-Name Check — response payload";
208
+ readonly description: "Success response to vta/webvh/agent-name/check. Type https://trusttasks.org/spec/vta/webvh/agent-name/check/1.0#response.";
209
+ readonly type: "object";
210
+ readonly additionalProperties: false;
211
+ readonly required: readonly ["name", "domain", "available", "reserved"];
212
+ readonly properties: {
213
+ readonly name: {
214
+ readonly type: "string";
215
+ };
216
+ readonly domain: {
217
+ readonly type: "string";
218
+ readonly description: "Host the name would live under. A name is only unique within its host.";
219
+ };
220
+ readonly available: {
221
+ readonly type: "boolean";
222
+ readonly description: "Whether the name can be taken **now**. It is a snapshot, not a hold: another caller may take it between this answer and the attempt.";
223
+ };
224
+ readonly reserved: {
225
+ readonly type: "boolean";
226
+ readonly description: "Whether the name is withheld by the host's own policy rather than taken by a DID. A reserved name is not available and will not become so by waiting.";
227
+ };
228
+ readonly ext: {
229
+ readonly $ref: "#/$defs/Ext";
230
+ };
231
+ };
232
+ };
233
+ readonly Ext: {
234
+ readonly title: "Ext";
235
+ 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.";
236
+ readonly type: "object";
237
+ readonly minProperties: 1;
238
+ readonly additionalProperties: true;
239
+ readonly propertyNames: {
240
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
241
+ };
242
+ };
243
+ };
244
+ };
245
+ };
246
+ /**
247
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
248
+ * tracks the *issuer* party's requirement because a response swaps the
249
+ * parties (§7.3 item 5).
250
+ */
251
+ export declare const RESPONSE_SPEC: {
252
+ readonly typeUri: "https://trusttasks.org/spec/vta/webvh/agent-name/check/1.0#response";
253
+ readonly isBearer: false;
254
+ readonly isProofRequired: false;
255
+ readonly isRecipientRequired: true;
256
+ readonly payloadSchema: {
257
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
258
+ readonly $ref: "#/$defs/Response";
259
+ readonly $defs: {
260
+ readonly Response: {
261
+ readonly $anchor: "response";
262
+ readonly title: "VTA WebVH Agent-Name Check — response payload";
263
+ readonly description: "Success response to vta/webvh/agent-name/check. Type https://trusttasks.org/spec/vta/webvh/agent-name/check/1.0#response.";
264
+ readonly type: "object";
265
+ readonly additionalProperties: false;
266
+ readonly required: readonly ["name", "domain", "available", "reserved"];
267
+ readonly properties: {
268
+ readonly name: {
269
+ readonly type: "string";
270
+ };
271
+ readonly domain: {
272
+ readonly type: "string";
273
+ readonly description: "Host the name would live under. A name is only unique within its host.";
274
+ };
275
+ readonly available: {
276
+ readonly type: "boolean";
277
+ readonly description: "Whether the name can be taken **now**. It is a snapshot, not a hold: another caller may take it between this answer and the attempt.";
278
+ };
279
+ readonly reserved: {
280
+ readonly type: "boolean";
281
+ readonly description: "Whether the name is withheld by the host's own policy rather than taken by a DID. A reserved name is not available and will not become so by waiting.";
282
+ };
283
+ readonly ext: {
284
+ readonly $ref: "#/$defs/Ext";
285
+ };
286
+ };
287
+ };
288
+ readonly Ext: {
289
+ readonly title: "Ext";
290
+ 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.";
291
+ readonly type: "object";
292
+ readonly minProperties: 1;
293
+ readonly additionalProperties: true;
294
+ readonly propertyNames: {
295
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
296
+ };
297
+ };
298
+ };
299
+ };
300
+ };
301
+ //# sourceMappingURL=payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/vta/webvh/agent-name/check/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,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,qCAAqC;IACpD,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,4DAAqE,CAAC;AAE9F,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,6BAA6B,CAAC;AAEpD,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,qEAA8E,CAAC;AAEhH,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,qCAAqC,CAAC;AAE7D;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuEjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;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