@openvtc/trust-tasks 0.9.0 → 0.10.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 (126) hide show
  1. package/dist/index.d.ts +24 -0
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +24 -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/webvh-records.d.ts +11 -0
  10. package/dist/vta/_shared/0.1/webvh-records.d.ts.map +1 -0
  11. package/dist/vta/_shared/0.1/webvh-records.js +6 -0
  12. package/dist/vta/_shared/0.1/webvh-records.js.map +1 -0
  13. package/dist/vta/contexts/create/1.0/payload.d.ts +443 -0
  14. package/dist/vta/contexts/create/1.0/payload.d.ts.map +1 -0
  15. package/dist/vta/contexts/create/1.0/payload.js +226 -0
  16. package/dist/vta/contexts/create/1.0/payload.js.map +1 -0
  17. package/dist/vta/contexts/delete/1.0/payload.d.ts +256 -0
  18. package/dist/vta/contexts/delete/1.0/payload.d.ts.map +1 -0
  19. package/dist/vta/contexts/delete/1.0/payload.js +143 -0
  20. package/dist/vta/contexts/delete/1.0/payload.js.map +1 -0
  21. package/dist/vta/contexts/get/1.0/payload.d.ts +405 -0
  22. package/dist/vta/contexts/get/1.0/payload.d.ts.map +1 -0
  23. package/dist/vta/contexts/get/1.0/payload.js +212 -0
  24. package/dist/vta/contexts/get/1.0/payload.js.map +1 -0
  25. package/dist/vta/contexts/list/1.0/payload.d.ts +460 -0
  26. package/dist/vta/contexts/list/1.0/payload.d.ts.map +1 -0
  27. package/dist/vta/contexts/list/1.0/payload.js +237 -0
  28. package/dist/vta/contexts/list/1.0/payload.js.map +1 -0
  29. package/dist/vta/contexts/preview-delete/1.0/payload.d.ts +394 -0
  30. package/dist/vta/contexts/preview-delete/1.0/payload.d.ts.map +1 -0
  31. package/dist/vta/contexts/preview-delete/1.0/payload.js +209 -0
  32. package/dist/vta/contexts/preview-delete/1.0/payload.js.map +1 -0
  33. package/dist/vta/contexts/update/1.0/payload.d.ts +653 -0
  34. package/dist/vta/contexts/update/1.0/payload.d.ts.map +1 -0
  35. package/dist/vta/contexts/update/1.0/payload.js +314 -0
  36. package/dist/vta/contexts/update/1.0/payload.js.map +1 -0
  37. package/dist/vta/contexts/update-did/1.0/payload.d.ts +419 -0
  38. package/dist/vta/contexts/update-did/1.0/payload.d.ts.map +1 -0
  39. package/dist/vta/contexts/update-did/1.0/payload.js +218 -0
  40. package/dist/vta/contexts/update-did/1.0/payload.js.map +1 -0
  41. package/dist/vta/webvh/agent-name/check/1.0/payload.d.ts +301 -0
  42. package/dist/vta/webvh/agent-name/check/1.0/payload.d.ts.map +1 -0
  43. package/dist/vta/webvh/agent-name/check/1.0/payload.js +165 -0
  44. package/dist/vta/webvh/agent-name/check/1.0/payload.js.map +1 -0
  45. package/dist/vta/webvh/agent-name/disable/1.0/payload.d.ts +274 -0
  46. package/dist/vta/webvh/agent-name/disable/1.0/payload.d.ts.map +1 -0
  47. package/dist/vta/webvh/agent-name/disable/1.0/payload.js +153 -0
  48. package/dist/vta/webvh/agent-name/disable/1.0/payload.js.map +1 -0
  49. package/dist/vta/webvh/agent-name/enable/1.0/payload.d.ts +274 -0
  50. package/dist/vta/webvh/agent-name/enable/1.0/payload.d.ts.map +1 -0
  51. package/dist/vta/webvh/agent-name/enable/1.0/payload.js +153 -0
  52. package/dist/vta/webvh/agent-name/enable/1.0/payload.js.map +1 -0
  53. package/dist/vta/webvh/agent-name/list/1.0/payload.d.ts +377 -0
  54. package/dist/vta/webvh/agent-name/list/1.0/payload.d.ts.map +1 -0
  55. package/dist/vta/webvh/agent-name/list/1.0/payload.js +201 -0
  56. package/dist/vta/webvh/agent-name/list/1.0/payload.js.map +1 -0
  57. package/dist/vta/webvh/agent-name/remove/1.0/payload.d.ts +274 -0
  58. package/dist/vta/webvh/agent-name/remove/1.0/payload.d.ts.map +1 -0
  59. package/dist/vta/webvh/agent-name/remove/1.0/payload.js +153 -0
  60. package/dist/vta/webvh/agent-name/remove/1.0/payload.js.map +1 -0
  61. package/dist/vta/webvh/agent-name/set/1.0/payload.d.ts +274 -0
  62. package/dist/vta/webvh/agent-name/set/1.0/payload.d.ts.map +1 -0
  63. package/dist/vta/webvh/agent-name/set/1.0/payload.js +153 -0
  64. package/dist/vta/webvh/agent-name/set/1.0/payload.js.map +1 -0
  65. package/dist/vta/webvh/dids/create/1.0/payload.d.ts +806 -0
  66. package/dist/vta/webvh/dids/create/1.0/payload.d.ts.map +1 -0
  67. package/dist/vta/webvh/dids/create/1.0/payload.js +400 -0
  68. package/dist/vta/webvh/dids/create/1.0/payload.js.map +1 -0
  69. package/dist/vta/webvh/dids/delete/1.0/payload.d.ts +257 -0
  70. package/dist/vta/webvh/dids/delete/1.0/payload.d.ts.map +1 -0
  71. package/dist/vta/webvh/dids/delete/1.0/payload.js +145 -0
  72. package/dist/vta/webvh/dids/delete/1.0/payload.js.map +1 -0
  73. package/dist/vta/webvh/dids/get/1.0/payload.d.ts +539 -0
  74. package/dist/vta/webvh/dids/get/1.0/payload.d.ts.map +1 -0
  75. package/dist/vta/webvh/dids/get/1.0/payload.js +282 -0
  76. package/dist/vta/webvh/dids/get/1.0/payload.js.map +1 -0
  77. package/dist/vta/webvh/dids/list/1.0/payload.d.ts +537 -0
  78. package/dist/vta/webvh/dids/list/1.0/payload.d.ts.map +1 -0
  79. package/dist/vta/webvh/dids/list/1.0/payload.js +278 -0
  80. package/dist/vta/webvh/dids/list/1.0/payload.js.map +1 -0
  81. package/dist/vta/webvh/dids/register-with-server/1.0/payload.d.ts +299 -0
  82. package/dist/vta/webvh/dids/register-with-server/1.0/payload.d.ts.map +1 -0
  83. package/dist/vta/webvh/dids/register-with-server/1.0/payload.js +163 -0
  84. package/dist/vta/webvh/dids/register-with-server/1.0/payload.js.map +1 -0
  85. package/dist/vta/webvh/dids/rotate-keys/1.0/payload.d.ts +357 -0
  86. package/dist/vta/webvh/dids/rotate-keys/1.0/payload.d.ts.map +1 -0
  87. package/dist/vta/webvh/dids/rotate-keys/1.0/payload.js +196 -0
  88. package/dist/vta/webvh/dids/rotate-keys/1.0/payload.js.map +1 -0
  89. package/dist/vta/webvh/servers/list/1.0/payload.d.ts +366 -0
  90. package/dist/vta/webvh/servers/list/1.0/payload.d.ts.map +1 -0
  91. package/dist/vta/webvh/servers/list/1.0/payload.js +200 -0
  92. package/dist/vta/webvh/servers/list/1.0/payload.js.map +1 -0
  93. package/dist/vta/webvh/servers/register/1.0/payload.d.ts +335 -0
  94. package/dist/vta/webvh/servers/register/1.0/payload.d.ts.map +1 -0
  95. package/dist/vta/webvh/servers/register/1.0/payload.js +183 -0
  96. package/dist/vta/webvh/servers/register/1.0/payload.js.map +1 -0
  97. package/dist/vta/webvh/servers/remove/1.0/payload.d.ts +237 -0
  98. package/dist/vta/webvh/servers/remove/1.0/payload.d.ts.map +1 -0
  99. package/dist/vta/webvh/servers/remove/1.0/payload.js +137 -0
  100. package/dist/vta/webvh/servers/remove/1.0/payload.js.map +1 -0
  101. package/package.json +2 -1
  102. package/src/index.ts +24 -0
  103. package/src/vta/_shared/0.1/context.ts +11 -0
  104. package/src/vta/_shared/0.1/webvh-records.ts +11 -0
  105. package/src/vta/contexts/create/1.0/payload.ts +301 -0
  106. package/src/vta/contexts/delete/1.0/payload.ts +183 -0
  107. package/src/vta/contexts/get/1.0/payload.ts +275 -0
  108. package/src/vta/contexts/list/1.0/payload.ts +309 -0
  109. package/src/vta/contexts/preview-delete/1.0/payload.ts +267 -0
  110. package/src/vta/contexts/update/1.0/payload.ts +421 -0
  111. package/src/vta/contexts/update-did/1.0/payload.ts +285 -0
  112. package/src/vta/webvh/agent-name/check/1.0/payload.ts +216 -0
  113. package/src/vta/webvh/agent-name/disable/1.0/payload.ts +197 -0
  114. package/src/vta/webvh/agent-name/enable/1.0/payload.ts +197 -0
  115. package/src/vta/webvh/agent-name/list/1.0/payload.ts +258 -0
  116. package/src/vta/webvh/agent-name/remove/1.0/payload.ts +197 -0
  117. package/src/vta/webvh/agent-name/set/1.0/payload.ts +197 -0
  118. package/src/vta/webvh/dids/create/1.0/payload.ts +548 -0
  119. package/src/vta/webvh/dids/delete/1.0/payload.ts +182 -0
  120. package/src/vta/webvh/dids/get/1.0/payload.ts +363 -0
  121. package/src/vta/webvh/dids/list/1.0/payload.ts +361 -0
  122. package/src/vta/webvh/dids/register-with-server/1.0/payload.ts +212 -0
  123. package/src/vta/webvh/dids/rotate-keys/1.0/payload.ts +251 -0
  124. package/src/vta/webvh/servers/list/1.0/payload.ts +248 -0
  125. package/src/vta/webvh/servers/register/1.0/payload.ts +230 -0
  126. package/src/vta/webvh/servers/remove/1.0/payload.ts +170 -0
@@ -0,0 +1,183 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vta/webvh/servers/register/1.0/payload.schema.json
4
+ */
5
+ /** Trust Task type URI. */
6
+ export const TYPE_URI = "https://trusttasks.org/spec/vta/webvh/servers/register/1.0";
7
+ /** Trust Task response type URI (request type URI + "#response"). */
8
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vta/webvh/servers/register/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/webvh/servers/register/1.0",
21
+ "title": "VTA WebVH Servers Register — payload",
22
+ "type": "object",
23
+ "additionalProperties": false,
24
+ "required": [
25
+ "id"
26
+ ],
27
+ "properties": {
28
+ "id": {
29
+ "type": "string",
30
+ "minLength": 1,
31
+ "description": "Local id for the server. Referenced by every DID published through it."
32
+ },
33
+ "did": {
34
+ "type": "string",
35
+ "description": "The server's DID, used to authenticate it. Absent where the VTA resolves it during registration."
36
+ },
37
+ "label": {
38
+ "type": "string"
39
+ },
40
+ "ext": {
41
+ "$ref": "#/$defs/Ext"
42
+ }
43
+ },
44
+ "$defs": {
45
+ "Response": {
46
+ "$anchor": "response",
47
+ "title": "VTA WebVH Servers Register — response payload",
48
+ "description": "Success response to vta/webvh/servers/register: the registration the VTA now holds. Type https://trusttasks.org/spec/vta/webvh/servers/register/1.0#response.",
49
+ "$ref": "#/$defs/WebvhServerRecord"
50
+ },
51
+ "WebvhServerRecord": {
52
+ "title": "WebvhServerRecord",
53
+ "description": "A hosting server the VTA is registered with. Carries no credential: what the VTA holds to authenticate against the server is never part of this record and never leaves it.",
54
+ "type": "object",
55
+ "additionalProperties": false,
56
+ "required": [
57
+ "id",
58
+ "did",
59
+ "createdAt",
60
+ "updatedAt"
61
+ ],
62
+ "properties": {
63
+ "id": {
64
+ "type": "string",
65
+ "description": "Local id for the server, chosen by the operator."
66
+ },
67
+ "did": {
68
+ "type": "string",
69
+ "description": "The server's own DID, used to authenticate it."
70
+ },
71
+ "label": {
72
+ "type": "string"
73
+ },
74
+ "createdAt": {
75
+ "type": "string",
76
+ "format": "date-time"
77
+ },
78
+ "updatedAt": {
79
+ "type": "string",
80
+ "format": "date-time"
81
+ },
82
+ "ext": {
83
+ "$ref": "#/$defs/Ext"
84
+ }
85
+ }
86
+ },
87
+ "Ext": {
88
+ "title": "Ext",
89
+ "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.",
90
+ "type": "object",
91
+ "minProperties": 1,
92
+ "additionalProperties": true,
93
+ "propertyNames": {
94
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
95
+ }
96
+ }
97
+ }
98
+ };
99
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
100
+ export const RESPONSE_PAYLOAD_SCHEMA = {
101
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
102
+ "$ref": "#/$defs/Response",
103
+ "$defs": {
104
+ "Response": {
105
+ "$anchor": "response",
106
+ "title": "VTA WebVH Servers Register — response payload",
107
+ "description": "Success response to vta/webvh/servers/register: the registration the VTA now holds. Type https://trusttasks.org/spec/vta/webvh/servers/register/1.0#response.",
108
+ "$ref": "#/$defs/WebvhServerRecord"
109
+ },
110
+ "WebvhServerRecord": {
111
+ "title": "WebvhServerRecord",
112
+ "description": "A hosting server the VTA is registered with. Carries no credential: what the VTA holds to authenticate against the server is never part of this record and never leaves it.",
113
+ "type": "object",
114
+ "additionalProperties": false,
115
+ "required": [
116
+ "id",
117
+ "did",
118
+ "createdAt",
119
+ "updatedAt"
120
+ ],
121
+ "properties": {
122
+ "id": {
123
+ "type": "string",
124
+ "description": "Local id for the server, chosen by the operator."
125
+ },
126
+ "did": {
127
+ "type": "string",
128
+ "description": "The server's own DID, used to authenticate it."
129
+ },
130
+ "label": {
131
+ "type": "string"
132
+ },
133
+ "createdAt": {
134
+ "type": "string",
135
+ "format": "date-time"
136
+ },
137
+ "updatedAt": {
138
+ "type": "string",
139
+ "format": "date-time"
140
+ },
141
+ "ext": {
142
+ "$ref": "#/$defs/Ext"
143
+ }
144
+ }
145
+ },
146
+ "Ext": {
147
+ "title": "Ext",
148
+ "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.",
149
+ "type": "object",
150
+ "minProperties": 1,
151
+ "additionalProperties": true,
152
+ "propertyNames": {
153
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
154
+ }
155
+ }
156
+ }
157
+ };
158
+ /**
159
+ * SPEC.md §7.2 policy for the request variant, from this specification's
160
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
161
+ * per-specification and cannot be derived from the document alone, and
162
+ * item 2 needs the schema this carries.
163
+ */
164
+ export const SPEC = {
165
+ typeUri: TYPE_URI,
166
+ isBearer: false,
167
+ isProofRequired: true,
168
+ isRecipientRequired: true,
169
+ payloadSchema: PAYLOAD_SCHEMA,
170
+ };
171
+ /**
172
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
173
+ * tracks the *issuer* party's requirement because a response swaps the
174
+ * parties (§7.3 item 5).
175
+ */
176
+ export const RESPONSE_SPEC = {
177
+ typeUri: RESPONSE_TYPE_URI,
178
+ isBearer: false,
179
+ isProofRequired: true,
180
+ isRecipientRequired: true,
181
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
182
+ };
183
+ //# sourceMappingURL=payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/vta/webvh/servers/register/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAsCH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,4DAAqE,CAAC;AAK9F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,qEAA8E,CAAC;AAKhH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,4DAA4D;IACnE,OAAO,EAAE,sCAAsC;IAC/C,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,IAAI;KACL;IACD,YAAY,EAAE;QACZ,IAAI,EAAE;YACJ,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,aAAa,EAAE,wEAAwE;SACxF;QACD,KAAK,EAAE;YACL,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,kGAAkG;SAClH;QACD,OAAO,EAAE;YACP,MA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AAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
@@ -0,0 +1,237 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vta/webvh/servers/remove/1.0/payload.schema.json
4
+ */
5
+ export interface VTAWebVHServersRemovePayload {
6
+ id: string;
7
+ ext?: Ext;
8
+ }
9
+ /**
10
+ * 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.
11
+ */
12
+ export interface Ext {
13
+ [k: string]: unknown | undefined;
14
+ }
15
+ /**
16
+ * Success response to vta/webvh/servers/remove. Type https://trusttasks.org/spec/vta/webvh/servers/remove/1.0#response.
17
+ */
18
+ export interface VTAWebVHServersRemoveResponsePayload {
19
+ id: string;
20
+ /**
21
+ * Whether the registration was removed. Removing it does not unpublish anything: DIDs the server already serves keep resolving, and the VTA simply loses its route for updating them.
22
+ */
23
+ removed: boolean;
24
+ ext?: Ext;
25
+ }
26
+ /** Trust Task type URI. */
27
+ export declare const TYPE_URI: "https://trusttasks.org/spec/vta/webvh/servers/remove/1.0";
28
+ /** Stable alias for this specification's request payload shape. */
29
+ export type Payload = VTAWebVHServersRemovePayload;
30
+ /** Trust Task response type URI (request type URI + "#response"). */
31
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vta/webvh/servers/remove/1.0#response";
32
+ /** Stable alias for this specification's success-response payload shape. */
33
+ export type Response = VTAWebVHServersRemoveResponsePayload;
34
+ /**
35
+ * This specification's payload schema, as a value.
36
+ *
37
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
38
+ * rather than only as a `.json` file because TypeScript types are erased
39
+ * at runtime: without a schema a consumer has nothing to validate, and
40
+ * every REQUIRED payload member is optional in practice. Cross-file
41
+ * `$ref`s are already inlined, so it needs no resolver.
42
+ */
43
+ export declare const PAYLOAD_SCHEMA: {
44
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
45
+ readonly $id: "https://trusttasks.org/spec/vta/webvh/servers/remove/1.0";
46
+ readonly title: "VTA WebVH Servers Remove — payload";
47
+ readonly type: "object";
48
+ readonly additionalProperties: false;
49
+ readonly required: readonly ["id"];
50
+ readonly properties: {
51
+ readonly id: {
52
+ readonly type: "string";
53
+ readonly minLength: 1;
54
+ };
55
+ readonly ext: {
56
+ readonly $ref: "#/$defs/Ext";
57
+ };
58
+ };
59
+ readonly $defs: {
60
+ readonly Response: {
61
+ readonly $anchor: "response";
62
+ readonly title: "VTA WebVH Servers Remove — response payload";
63
+ readonly description: "Success response to vta/webvh/servers/remove. Type https://trusttasks.org/spec/vta/webvh/servers/remove/1.0#response.";
64
+ readonly type: "object";
65
+ readonly additionalProperties: false;
66
+ readonly required: readonly ["id", "removed"];
67
+ readonly properties: {
68
+ readonly id: {
69
+ readonly type: "string";
70
+ };
71
+ readonly removed: {
72
+ readonly type: "boolean";
73
+ readonly description: "Whether the registration was removed. Removing it does not unpublish anything: DIDs the server already serves keep resolving, and the VTA simply loses its route for updating them.";
74
+ };
75
+ readonly ext: {
76
+ readonly $ref: "#/$defs/Ext";
77
+ };
78
+ };
79
+ };
80
+ readonly Ext: {
81
+ readonly title: "Ext";
82
+ 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.";
83
+ readonly type: "object";
84
+ readonly minProperties: 1;
85
+ readonly additionalProperties: true;
86
+ readonly propertyNames: {
87
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
88
+ };
89
+ };
90
+ };
91
+ };
92
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
93
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
94
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
95
+ readonly $ref: "#/$defs/Response";
96
+ readonly $defs: {
97
+ readonly Response: {
98
+ readonly $anchor: "response";
99
+ readonly title: "VTA WebVH Servers Remove — response payload";
100
+ readonly description: "Success response to vta/webvh/servers/remove. Type https://trusttasks.org/spec/vta/webvh/servers/remove/1.0#response.";
101
+ readonly type: "object";
102
+ readonly additionalProperties: false;
103
+ readonly required: readonly ["id", "removed"];
104
+ readonly properties: {
105
+ readonly id: {
106
+ readonly type: "string";
107
+ };
108
+ readonly removed: {
109
+ readonly type: "boolean";
110
+ readonly description: "Whether the registration was removed. Removing it does not unpublish anything: DIDs the server already serves keep resolving, and the VTA simply loses its route for updating them.";
111
+ };
112
+ readonly ext: {
113
+ readonly $ref: "#/$defs/Ext";
114
+ };
115
+ };
116
+ };
117
+ readonly Ext: {
118
+ readonly title: "Ext";
119
+ 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.";
120
+ readonly type: "object";
121
+ readonly minProperties: 1;
122
+ readonly additionalProperties: true;
123
+ readonly propertyNames: {
124
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
125
+ };
126
+ };
127
+ };
128
+ };
129
+ /**
130
+ * SPEC.md §7.2 policy for the request variant, from this specification's
131
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
132
+ * per-specification and cannot be derived from the document alone, and
133
+ * item 2 needs the schema this carries.
134
+ */
135
+ export declare const SPEC: {
136
+ readonly typeUri: "https://trusttasks.org/spec/vta/webvh/servers/remove/1.0";
137
+ readonly isBearer: false;
138
+ readonly isProofRequired: true;
139
+ readonly isRecipientRequired: true;
140
+ readonly payloadSchema: {
141
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
142
+ readonly $id: "https://trusttasks.org/spec/vta/webvh/servers/remove/1.0";
143
+ readonly title: "VTA WebVH Servers Remove — payload";
144
+ readonly type: "object";
145
+ readonly additionalProperties: false;
146
+ readonly required: readonly ["id"];
147
+ readonly properties: {
148
+ readonly id: {
149
+ readonly type: "string";
150
+ readonly minLength: 1;
151
+ };
152
+ readonly ext: {
153
+ readonly $ref: "#/$defs/Ext";
154
+ };
155
+ };
156
+ readonly $defs: {
157
+ readonly Response: {
158
+ readonly $anchor: "response";
159
+ readonly title: "VTA WebVH Servers Remove — response payload";
160
+ readonly description: "Success response to vta/webvh/servers/remove. Type https://trusttasks.org/spec/vta/webvh/servers/remove/1.0#response.";
161
+ readonly type: "object";
162
+ readonly additionalProperties: false;
163
+ readonly required: readonly ["id", "removed"];
164
+ readonly properties: {
165
+ readonly id: {
166
+ readonly type: "string";
167
+ };
168
+ readonly removed: {
169
+ readonly type: "boolean";
170
+ readonly description: "Whether the registration was removed. Removing it does not unpublish anything: DIDs the server already serves keep resolving, and the VTA simply loses its route for updating them.";
171
+ };
172
+ readonly ext: {
173
+ readonly $ref: "#/$defs/Ext";
174
+ };
175
+ };
176
+ };
177
+ readonly Ext: {
178
+ readonly title: "Ext";
179
+ 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.";
180
+ readonly type: "object";
181
+ readonly minProperties: 1;
182
+ readonly additionalProperties: true;
183
+ readonly propertyNames: {
184
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
185
+ };
186
+ };
187
+ };
188
+ };
189
+ };
190
+ /**
191
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
192
+ * tracks the *issuer* party's requirement because a response swaps the
193
+ * parties (§7.3 item 5).
194
+ */
195
+ export declare const RESPONSE_SPEC: {
196
+ readonly typeUri: "https://trusttasks.org/spec/vta/webvh/servers/remove/1.0#response";
197
+ readonly isBearer: false;
198
+ readonly isProofRequired: true;
199
+ readonly isRecipientRequired: true;
200
+ readonly payloadSchema: {
201
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
202
+ readonly $ref: "#/$defs/Response";
203
+ readonly $defs: {
204
+ readonly Response: {
205
+ readonly $anchor: "response";
206
+ readonly title: "VTA WebVH Servers Remove — response payload";
207
+ readonly description: "Success response to vta/webvh/servers/remove. Type https://trusttasks.org/spec/vta/webvh/servers/remove/1.0#response.";
208
+ readonly type: "object";
209
+ readonly additionalProperties: false;
210
+ readonly required: readonly ["id", "removed"];
211
+ readonly properties: {
212
+ readonly id: {
213
+ readonly type: "string";
214
+ };
215
+ readonly removed: {
216
+ readonly type: "boolean";
217
+ readonly description: "Whether the registration was removed. Removing it does not unpublish anything: DIDs the server already serves keep resolving, and the VTA simply loses its route for updating them.";
218
+ };
219
+ readonly ext: {
220
+ readonly $ref: "#/$defs/Ext";
221
+ };
222
+ };
223
+ };
224
+ readonly Ext: {
225
+ readonly title: "Ext";
226
+ 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.";
227
+ readonly type: "object";
228
+ readonly minProperties: 1;
229
+ readonly additionalProperties: true;
230
+ readonly propertyNames: {
231
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
232
+ };
233
+ };
234
+ };
235
+ };
236
+ };
237
+ //# sourceMappingURL=payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/vta/webvh/servers/remove/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,4BAA4B;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,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,oCAAoC;IACnD,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,0DAAmE,CAAC;AAE5F,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,4BAA4B,CAAC;AAEnD,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,mEAA4E,CAAC;AAE9G,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,oCAAoC,CAAC;AAE5D;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsC1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhB,CAAC"}
@@ -0,0 +1,137 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vta/webvh/servers/remove/1.0/payload.schema.json
4
+ */
5
+ /** Trust Task type URI. */
6
+ export const TYPE_URI = "https://trusttasks.org/spec/vta/webvh/servers/remove/1.0";
7
+ /** Trust Task response type URI (request type URI + "#response"). */
8
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vta/webvh/servers/remove/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/webvh/servers/remove/1.0",
21
+ "title": "VTA WebVH Servers Remove — payload",
22
+ "type": "object",
23
+ "additionalProperties": false,
24
+ "required": [
25
+ "id"
26
+ ],
27
+ "properties": {
28
+ "id": {
29
+ "type": "string",
30
+ "minLength": 1
31
+ },
32
+ "ext": {
33
+ "$ref": "#/$defs/Ext"
34
+ }
35
+ },
36
+ "$defs": {
37
+ "Response": {
38
+ "$anchor": "response",
39
+ "title": "VTA WebVH Servers Remove — response payload",
40
+ "description": "Success response to vta/webvh/servers/remove. Type https://trusttasks.org/spec/vta/webvh/servers/remove/1.0#response.",
41
+ "type": "object",
42
+ "additionalProperties": false,
43
+ "required": [
44
+ "id",
45
+ "removed"
46
+ ],
47
+ "properties": {
48
+ "id": {
49
+ "type": "string"
50
+ },
51
+ "removed": {
52
+ "type": "boolean",
53
+ "description": "Whether the registration was removed. Removing it does not unpublish anything: DIDs the server already serves keep resolving, and the VTA simply loses its route for updating them."
54
+ },
55
+ "ext": {
56
+ "$ref": "#/$defs/Ext"
57
+ }
58
+ }
59
+ },
60
+ "Ext": {
61
+ "title": "Ext",
62
+ "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.",
63
+ "type": "object",
64
+ "minProperties": 1,
65
+ "additionalProperties": true,
66
+ "propertyNames": {
67
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
68
+ }
69
+ }
70
+ }
71
+ };
72
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
73
+ export const RESPONSE_PAYLOAD_SCHEMA = {
74
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
75
+ "$ref": "#/$defs/Response",
76
+ "$defs": {
77
+ "Response": {
78
+ "$anchor": "response",
79
+ "title": "VTA WebVH Servers Remove — response payload",
80
+ "description": "Success response to vta/webvh/servers/remove. Type https://trusttasks.org/spec/vta/webvh/servers/remove/1.0#response.",
81
+ "type": "object",
82
+ "additionalProperties": false,
83
+ "required": [
84
+ "id",
85
+ "removed"
86
+ ],
87
+ "properties": {
88
+ "id": {
89
+ "type": "string"
90
+ },
91
+ "removed": {
92
+ "type": "boolean",
93
+ "description": "Whether the registration was removed. Removing it does not unpublish anything: DIDs the server already serves keep resolving, and the VTA simply loses its route for updating them."
94
+ },
95
+ "ext": {
96
+ "$ref": "#/$defs/Ext"
97
+ }
98
+ }
99
+ },
100
+ "Ext": {
101
+ "title": "Ext",
102
+ "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.",
103
+ "type": "object",
104
+ "minProperties": 1,
105
+ "additionalProperties": true,
106
+ "propertyNames": {
107
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
108
+ }
109
+ }
110
+ }
111
+ };
112
+ /**
113
+ * SPEC.md §7.2 policy for the request variant, from this specification's
114
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
115
+ * per-specification and cannot be derived from the document alone, and
116
+ * item 2 needs the schema this carries.
117
+ */
118
+ export const SPEC = {
119
+ typeUri: TYPE_URI,
120
+ isBearer: false,
121
+ isProofRequired: true,
122
+ isRecipientRequired: true,
123
+ payloadSchema: PAYLOAD_SCHEMA,
124
+ };
125
+ /**
126
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
127
+ * tracks the *issuer* party's requirement because a response swaps the
128
+ * parties (§7.3 item 5).
129
+ */
130
+ export const RESPONSE_SPEC = {
131
+ typeUri: RESPONSE_TYPE_URI,
132
+ isBearer: false,
133
+ isProofRequired: true,
134
+ isRecipientRequired: true,
135
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
136
+ };
137
+ //# sourceMappingURL=payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/vta/webvh/servers/remove/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAw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B;IAC1B,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,6CAA6C;YACtD,aAAa,EAAE,uHAAuH;YACtI,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,IAAI;gBACJ,SAAS;aACV;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE;oBACJ,MAAM,EAAE,QAAQ;iBACjB;gBACD,SAAS,EAAE;oBACT,MAAM,EAAE,SAAS;oBACjB,aAAa,EAAE,qLAAqL;iBACrM;gBACD,KAAK,EAAE;oBACL,MAAM,EAAE,aAAa;iBACtB;aACF;SACF;QACD,KAAK,EAAE;YACL,OAAO,EAAE,KAAK;YACd,aAAa,EAAE,uKAAuK;YACtL,MAAM,EAAE,QAAQ;YAChB,eAAe,EAAE,CAAC;YAClB,sBAAsB,EAAE,IAAI;YAC5B,eAAe,EAAE;gBACf,SAAS,EAAE,mCAAmC;aAC/C;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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openvtc/trust-tasks",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "Generated TypeScript bindings for the Trust Tasks framework registry.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -15,6 +15,7 @@
15
15
  "import": "./dist/*.js"
16
16
  }
17
17
  },
18
+ "sideEffects": false,
18
19
  "files": [
19
20
  "dist",
20
21
  "src",
package/src/index.ts CHANGED
@@ -251,14 +251,23 @@ export * as VaultUsage_v0_1 from "./vault/usage/0.1/payload.js";
251
251
  export * as VaultUsage_v0_2 from "./vault/usage/0.2/payload.js";
252
252
  export * as VrcRelationshipsIssue_v0_1 from "./vrc/relationships/issue/0.1/payload.js";
253
253
  export * as VrcRelationshipsPropose_v0_1 from "./vrc/relationships/propose/0.1/payload.js";
254
+ export * as ContextShared_v0_1 from "./vta/_shared/0.1/context.js";
254
255
  export * as DidTemplateShared_v0_1 from "./vta/_shared/0.1/did-template.js";
255
256
  export * as PasskeyVmShared_v0_1 from "./vta/_shared/0.1/passkey-vm.js";
257
+ export * as WebvhRecordsShared_v0_1 from "./vta/_shared/0.1/webvh-records.js";
258
+ export * as VtaContextsCreate_v1_0 from "./vta/contexts/create/1.0/payload.js";
259
+ export * as VtaContextsDelete_v1_0 from "./vta/contexts/delete/1.0/payload.js";
256
260
  export * as VtaContextsDidTemplatesCreate_v1_0 from "./vta/contexts/did-templates/create/1.0/payload.js";
257
261
  export * as VtaContextsDidTemplatesDelete_v1_0 from "./vta/contexts/did-templates/delete/1.0/payload.js";
258
262
  export * as VtaContextsDidTemplatesGet_v1_0 from "./vta/contexts/did-templates/get/1.0/payload.js";
259
263
  export * as VtaContextsDidTemplatesList_v1_0 from "./vta/contexts/did-templates/list/1.0/payload.js";
260
264
  export * as VtaContextsDidTemplatesRender_v1_0 from "./vta/contexts/did-templates/render/1.0/payload.js";
261
265
  export * as VtaContextsDidTemplatesUpdate_v1_0 from "./vta/contexts/did-templates/update/1.0/payload.js";
266
+ export * as VtaContextsGet_v1_0 from "./vta/contexts/get/1.0/payload.js";
267
+ export * as VtaContextsList_v1_0 from "./vta/contexts/list/1.0/payload.js";
268
+ export * as VtaContextsPreviewDelete_v1_0 from "./vta/contexts/preview-delete/1.0/payload.js";
269
+ export * as VtaContextsUpdateDid_v1_0 from "./vta/contexts/update-did/1.0/payload.js";
270
+ export * as VtaContextsUpdate_v1_0 from "./vta/contexts/update/1.0/payload.js";
262
271
  export * as VtaCredentialsIssue_v0_1 from "./vta/credentials/issue/0.1/payload.js";
263
272
  export * as VtaCredentialsIssue_v0_2 from "./vta/credentials/issue/0.2/payload.js";
264
273
  export * as VtaCredentialsRevoke_v0_1 from "./vta/credentials/revoke/0.1/payload.js";
@@ -281,9 +290,24 @@ export * as VtaPasskeyVmsEnrollChallenge_v0_1 from "./vta/passkey-vms/enroll-cha
281
290
  export * as VtaPasskeyVmsEnrollSubmit_v0_1 from "./vta/passkey-vms/enroll-submit/0.1/payload.js";
282
291
  export * as VtaPasskeyVmsList_v0_1 from "./vta/passkey-vms/list/0.1/payload.js";
283
292
  export * as VtaPasskeyVmsRevoke_v0_1 from "./vta/passkey-vms/revoke/0.1/payload.js";
293
+ export * as VtaWebvhAgentNameCheck_v1_0 from "./vta/webvh/agent-name/check/1.0/payload.js";
294
+ export * as VtaWebvhAgentNameDisable_v1_0 from "./vta/webvh/agent-name/disable/1.0/payload.js";
295
+ export * as VtaWebvhAgentNameEnable_v1_0 from "./vta/webvh/agent-name/enable/1.0/payload.js";
296
+ export * as VtaWebvhAgentNameList_v1_0 from "./vta/webvh/agent-name/list/1.0/payload.js";
297
+ export * as VtaWebvhAgentNameRemove_v1_0 from "./vta/webvh/agent-name/remove/1.0/payload.js";
298
+ export * as VtaWebvhAgentNameSet_v1_0 from "./vta/webvh/agent-name/set/1.0/payload.js";
299
+ export * as VtaWebvhDidsCreate_v1_0 from "./vta/webvh/dids/create/1.0/payload.js";
300
+ export * as VtaWebvhDidsDelete_v1_0 from "./vta/webvh/dids/delete/1.0/payload.js";
301
+ export * as VtaWebvhDidsGet_v1_0 from "./vta/webvh/dids/get/1.0/payload.js";
302
+ export * as VtaWebvhDidsList_v1_0 from "./vta/webvh/dids/list/1.0/payload.js";
303
+ export * as VtaWebvhDidsRegisterWithServer_v1_0 from "./vta/webvh/dids/register-with-server/1.0/payload.js";
304
+ export * as VtaWebvhDidsRotateKeys_v1_0 from "./vta/webvh/dids/rotate-keys/1.0/payload.js";
284
305
  export * as VtaWebvhDidsUpdate_v1_0 from "./vta/webvh/dids/update/1.0/payload.js";
285
306
  export * as VtaWebvhServersDomains_v0_1 from "./vta/webvh/servers/domains/0.1/payload.js";
307
+ export * as VtaWebvhServersList_v1_0 from "./vta/webvh/servers/list/1.0/payload.js";
286
308
  export * as VtaWebvhServersReconcile_v0_1 from "./vta/webvh/servers/reconcile/0.1/payload.js";
309
+ export * as VtaWebvhServersRegister_v1_0 from "./vta/webvh/servers/register/1.0/payload.js";
310
+ export * as VtaWebvhServersRemove_v1_0 from "./vta/webvh/servers/remove/1.0/payload.js";
287
311
  export * as BackupShared_v0_1 from "./vtc/_shared/0.1/backup.js";
288
312
  export * as CommunityShared_v0_1 from "./vtc/_shared/0.1/community.js";
289
313
  export * as ConfigPortabilityShared_v0_1 from "./vtc/_shared/0.1/config-portability.js";
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vta/_shared/0.1/context.schema.json
4
+ */
5
+
6
+ /**
7
+ * A *context* is the VTA's unit of separation: keys, DIDs, vault entries, policies and memory all belong to exactly one, and an ACL entry's scopes are context ids. Contexts nest — `parent` names the context this one sits under, and `basePath` is the resolved path from the root — so authority granted at an ancestor reaches its descendants. `ContextRecord` is the persisted shape every task in the family returns; it is defined once here because `create`, `get`, `update`, `update-did` and `list` all hand back the same record, and an inline copy per task would fork the moment one of them gained a member.
8
+ */
9
+ export interface ContextRecordSharedDefinitionForTheVtaContextsSpecFamily {
10
+ [k: string]: unknown | undefined;
11
+ }