@openvtc/trust-tasks 0.28.17 → 0.28.19

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 (187) hide show
  1. package/CHANGELOG.md +68 -0
  2. package/dist/_shared/components.d.ts +254 -1
  3. package/dist/_shared/components.d.ts.map +1 -1
  4. package/dist/index.d.ts +87 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +87 -0
  7. package/dist/index.js.map +1 -1
  8. package/dist/vta/collection/_shared/0.1/collection.d.ts +2 -2
  9. package/dist/vta/collection/_shared/0.1/collection.d.ts.map +1 -1
  10. package/dist/vta/collection/list/0.1/payload.d.ts +4 -4
  11. package/dist/vta/collection/list/0.1/payload.js +2 -2
  12. package/dist/vta/collection/list/0.1/payload.js.map +1 -1
  13. package/dist/vta/collection/settings/set/0.1/payload.d.ts +469 -0
  14. package/dist/vta/collection/settings/set/0.1/payload.d.ts.map +1 -0
  15. package/dist/vta/collection/settings/set/0.1/payload.js +275 -0
  16. package/dist/vta/collection/settings/set/0.1/payload.js.map +1 -0
  17. package/dist/vta/collection/settings/show/0.1/payload.d.ts +437 -0
  18. package/dist/vta/collection/settings/show/0.1/payload.d.ts.map +1 -0
  19. package/dist/vta/collection/settings/show/0.1/payload.js +260 -0
  20. package/dist/vta/collection/settings/show/0.1/payload.js.map +1 -0
  21. package/dist/vtc/badges/_shared/0.1/badge.d.ts +22 -0
  22. package/dist/vtc/badges/_shared/0.1/badge.d.ts.map +1 -0
  23. package/dist/vtc/badges/_shared/0.1/badge.js +6 -0
  24. package/dist/vtc/badges/_shared/0.1/badge.js.map +1 -0
  25. package/dist/vtc/badges/awards/list/0.1/payload.d.ts +1228 -0
  26. package/dist/vtc/badges/awards/list/0.1/payload.d.ts.map +1 -0
  27. package/dist/vtc/badges/awards/list/0.1/payload.js +699 -0
  28. package/dist/vtc/badges/awards/list/0.1/payload.js.map +1 -0
  29. package/dist/vtc/badges/awards/offer/0.1/payload.d.ts +793 -0
  30. package/dist/vtc/badges/awards/offer/0.1/payload.d.ts.map +1 -0
  31. package/dist/vtc/badges/awards/offer/0.1/payload.js +461 -0
  32. package/dist/vtc/badges/awards/offer/0.1/payload.js.map +1 -0
  33. package/dist/vtc/badges/awards/revoke/0.1/payload.d.ts +605 -0
  34. package/dist/vtc/badges/awards/revoke/0.1/payload.d.ts.map +1 -0
  35. package/dist/vtc/badges/awards/revoke/0.1/payload.js +351 -0
  36. package/dist/vtc/badges/awards/revoke/0.1/payload.js.map +1 -0
  37. package/dist/vtc/badges/awards/withdraw/0.1/payload.d.ts +605 -0
  38. package/dist/vtc/badges/awards/withdraw/0.1/payload.d.ts.map +1 -0
  39. package/dist/vtc/badges/awards/withdraw/0.1/payload.js +351 -0
  40. package/dist/vtc/badges/awards/withdraw/0.1/payload.js.map +1 -0
  41. package/dist/vtc/badges/create/0.1/payload.d.ts +1829 -0
  42. package/dist/vtc/badges/create/0.1/payload.d.ts.map +1 -0
  43. package/dist/vtc/badges/create/0.1/payload.js +1051 -0
  44. package/dist/vtc/badges/create/0.1/payload.js.map +1 -0
  45. package/dist/vtc/badges/holders/list/0.1/payload.d.ts +984 -0
  46. package/dist/vtc/badges/holders/list/0.1/payload.d.ts.map +1 -0
  47. package/dist/vtc/badges/holders/list/0.1/payload.js +555 -0
  48. package/dist/vtc/badges/holders/list/0.1/payload.js.map +1 -0
  49. package/dist/vtc/badges/images/get/0.1/payload.d.ts +454 -0
  50. package/dist/vtc/badges/images/get/0.1/payload.d.ts.map +1 -0
  51. package/dist/vtc/badges/images/get/0.1/payload.js +266 -0
  52. package/dist/vtc/badges/images/get/0.1/payload.js.map +1 -0
  53. package/dist/vtc/badges/images/upload/0.1/payload.d.ts +455 -0
  54. package/dist/vtc/badges/images/upload/0.1/payload.d.ts.map +1 -0
  55. package/dist/vtc/badges/images/upload/0.1/payload.js +276 -0
  56. package/dist/vtc/badges/images/upload/0.1/payload.js.map +1 -0
  57. package/dist/vtc/badges/kudos/give/0.1/payload.d.ts +613 -0
  58. package/dist/vtc/badges/kudos/give/0.1/payload.d.ts.map +1 -0
  59. package/dist/vtc/badges/kudos/give/0.1/payload.js +353 -0
  60. package/dist/vtc/badges/kudos/give/0.1/payload.js.map +1 -0
  61. package/dist/vtc/badges/kudos/list/0.1/payload.d.ts +1766 -0
  62. package/dist/vtc/badges/kudos/list/0.1/payload.d.ts.map +1 -0
  63. package/dist/vtc/badges/kudos/list/0.1/payload.js +995 -0
  64. package/dist/vtc/badges/kudos/list/0.1/payload.js.map +1 -0
  65. package/dist/vtc/badges/list/0.1/payload.d.ts +1096 -0
  66. package/dist/vtc/badges/list/0.1/payload.d.ts.map +1 -0
  67. package/dist/vtc/badges/list/0.1/payload.js +617 -0
  68. package/dist/vtc/badges/list/0.1/payload.js.map +1 -0
  69. package/dist/vtc/badges/mine/accept/0.1/payload.d.ts +1376 -0
  70. package/dist/vtc/badges/mine/accept/0.1/payload.d.ts.map +1 -0
  71. package/dist/vtc/badges/mine/accept/0.1/payload.js +799 -0
  72. package/dist/vtc/badges/mine/accept/0.1/payload.js.map +1 -0
  73. package/dist/vtc/badges/mine/arrange/0.1/payload.d.ts +1217 -0
  74. package/dist/vtc/badges/mine/arrange/0.1/payload.d.ts.map +1 -0
  75. package/dist/vtc/badges/mine/arrange/0.1/payload.js +698 -0
  76. package/dist/vtc/badges/mine/arrange/0.1/payload.js.map +1 -0
  77. package/dist/vtc/badges/mine/decline/0.1/payload.d.ts +589 -0
  78. package/dist/vtc/badges/mine/decline/0.1/payload.d.ts.map +1 -0
  79. package/dist/vtc/badges/mine/decline/0.1/payload.js +344 -0
  80. package/dist/vtc/badges/mine/decline/0.1/payload.js.map +1 -0
  81. package/dist/vtc/badges/mine/hide/0.1/payload.d.ts +1093 -0
  82. package/dist/vtc/badges/mine/hide/0.1/payload.d.ts.map +1 -0
  83. package/dist/vtc/badges/mine/hide/0.1/payload.js +630 -0
  84. package/dist/vtc/badges/mine/hide/0.1/payload.js.map +1 -0
  85. package/dist/vtc/badges/mine/list/0.1/payload.d.ts +1897 -0
  86. package/dist/vtc/badges/mine/list/0.1/payload.d.ts.map +1 -0
  87. package/dist/vtc/badges/mine/list/0.1/payload.js +1087 -0
  88. package/dist/vtc/badges/mine/list/0.1/payload.js.map +1 -0
  89. package/dist/vtc/badges/mine/show/0.1/payload.d.ts +1093 -0
  90. package/dist/vtc/badges/mine/show/0.1/payload.d.ts.map +1 -0
  91. package/dist/vtc/badges/mine/show/0.1/payload.js +630 -0
  92. package/dist/vtc/badges/mine/show/0.1/payload.js.map +1 -0
  93. package/dist/vtc/badges/promote/0.1/payload.d.ts +1757 -0
  94. package/dist/vtc/badges/promote/0.1/payload.d.ts.map +1 -0
  95. package/dist/vtc/badges/promote/0.1/payload.js +1018 -0
  96. package/dist/vtc/badges/promote/0.1/payload.js.map +1 -0
  97. package/dist/vtc/badges/retire/0.1/payload.d.ts +904 -0
  98. package/dist/vtc/badges/retire/0.1/payload.d.ts.map +1 -0
  99. package/dist/vtc/badges/retire/0.1/payload.js +524 -0
  100. package/dist/vtc/badges/retire/0.1/payload.js.map +1 -0
  101. package/dist/vtc/badges/settings/show/0.1/payload.d.ts +731 -0
  102. package/dist/vtc/badges/settings/show/0.1/payload.d.ts.map +1 -0
  103. package/dist/vtc/badges/settings/show/0.1/payload.js +421 -0
  104. package/dist/vtc/badges/settings/show/0.1/payload.js.map +1 -0
  105. package/dist/vtc/badges/settings/update/0.1/payload.d.ts +775 -0
  106. package/dist/vtc/badges/settings/update/0.1/payload.d.ts.map +1 -0
  107. package/dist/vtc/badges/settings/update/0.1/payload.js +444 -0
  108. package/dist/vtc/badges/settings/update/0.1/payload.js.map +1 -0
  109. package/dist/vtc/badges/show/0.1/payload.d.ts +1056 -0
  110. package/dist/vtc/badges/show/0.1/payload.d.ts.map +1 -0
  111. package/dist/vtc/badges/show/0.1/payload.js +613 -0
  112. package/dist/vtc/badges/show/0.1/payload.js.map +1 -0
  113. package/dist/vtc/badges/update/0.1/payload.d.ts +1033 -0
  114. package/dist/vtc/badges/update/0.1/payload.d.ts.map +1 -0
  115. package/dist/vtc/badges/update/0.1/payload.js +588 -0
  116. package/dist/vtc/badges/update/0.1/payload.js.map +1 -0
  117. package/dist/vtc/badges/wall/show/0.1/payload.d.ts +1099 -0
  118. package/dist/vtc/badges/wall/show/0.1/payload.d.ts.map +1 -0
  119. package/dist/vtc/badges/wall/show/0.1/payload.js +634 -0
  120. package/dist/vtc/badges/wall/show/0.1/payload.js.map +1 -0
  121. package/dist/vtc/groups/create/0.1/payload.d.ts +42 -2
  122. package/dist/vtc/groups/create/0.1/payload.d.ts.map +1 -1
  123. package/dist/vtc/groups/create/0.1/payload.js +20 -0
  124. package/dist/vtc/groups/create/0.1/payload.js.map +1 -1
  125. package/dist/vtc/groups/list/0.1/payload.d.ts +42 -2
  126. package/dist/vtc/groups/list/0.1/payload.d.ts.map +1 -1
  127. package/dist/vtc/groups/list/0.1/payload.js +20 -0
  128. package/dist/vtc/groups/list/0.1/payload.js.map +1 -1
  129. package/dist/vtc/groups/list/0.2/payload.d.ts +42 -2
  130. package/dist/vtc/groups/list/0.2/payload.d.ts.map +1 -1
  131. package/dist/vtc/groups/list/0.2/payload.js +20 -0
  132. package/dist/vtc/groups/list/0.2/payload.js.map +1 -1
  133. package/dist/vtc/groups/show/0.1/payload.d.ts +42 -2
  134. package/dist/vtc/groups/show/0.1/payload.d.ts.map +1 -1
  135. package/dist/vtc/groups/show/0.1/payload.js +20 -0
  136. package/dist/vtc/groups/show/0.1/payload.js.map +1 -1
  137. package/dist/vtc/groups/update/0.1/payload.d.ts +42 -2
  138. package/dist/vtc/groups/update/0.1/payload.d.ts.map +1 -1
  139. package/dist/vtc/groups/update/0.1/payload.js +20 -0
  140. package/dist/vtc/groups/update/0.1/payload.js.map +1 -1
  141. package/dist/vtn/registry/check/0.1/payload.d.ts +528 -0
  142. package/dist/vtn/registry/check/0.1/payload.d.ts.map +1 -0
  143. package/dist/vtn/registry/check/0.1/payload.js +282 -0
  144. package/dist/vtn/registry/check/0.1/payload.js.map +1 -0
  145. package/dist/vtn/registry/status/0.1/payload.d.ts +736 -0
  146. package/dist/vtn/registry/status/0.1/payload.d.ts.map +1 -0
  147. package/dist/vtn/registry/status/0.1/payload.js +421 -0
  148. package/dist/vtn/registry/status/0.1/payload.js.map +1 -0
  149. package/package.json +1 -1
  150. package/src/_shared/components.ts +254 -1
  151. package/src/index.ts +87 -0
  152. package/src/vta/collection/_shared/0.1/collection.ts +2 -2
  153. package/src/vta/collection/list/0.1/payload.ts +2 -2
  154. package/src/vta/collection/settings/set/0.1/payload.ts +319 -0
  155. package/src/vta/collection/settings/show/0.1/payload.ts +296 -0
  156. package/src/vtc/badges/_shared/0.1/badge.ts +23 -0
  157. package/src/vtc/badges/awards/list/0.1/payload.ts +768 -0
  158. package/src/vtc/badges/awards/offer/0.1/payload.ts +530 -0
  159. package/src/vtc/badges/awards/revoke/0.1/payload.ts +395 -0
  160. package/src/vtc/badges/awards/withdraw/0.1/payload.ts +395 -0
  161. package/src/vtc/badges/create/0.1/payload.ts +1137 -0
  162. package/src/vtc/badges/holders/list/0.1/payload.ts +628 -0
  163. package/src/vtc/badges/images/get/0.1/payload.ts +311 -0
  164. package/src/vtc/badges/images/upload/0.1/payload.ts +324 -0
  165. package/src/vtc/badges/kudos/give/0.1/payload.ts +401 -0
  166. package/src/vtc/badges/kudos/list/0.1/payload.ts +1080 -0
  167. package/src/vtc/badges/list/0.1/payload.ts +695 -0
  168. package/src/vtc/badges/mine/accept/0.1/payload.ts +840 -0
  169. package/src/vtc/badges/mine/arrange/0.1/payload.ts +768 -0
  170. package/src/vtc/badges/mine/decline/0.1/payload.ts +384 -0
  171. package/src/vtc/badges/mine/hide/0.1/payload.ts +670 -0
  172. package/src/vtc/badges/mine/list/0.1/payload.ts +1153 -0
  173. package/src/vtc/badges/mine/show/0.1/payload.ts +670 -0
  174. package/src/vtc/badges/promote/0.1/payload.ts +1088 -0
  175. package/src/vtc/badges/retire/0.1/payload.ts +565 -0
  176. package/src/vtc/badges/settings/show/0.1/payload.ts +457 -0
  177. package/src/vtc/badges/settings/update/0.1/payload.ts +490 -0
  178. package/src/vtc/badges/show/0.1/payload.ts +675 -0
  179. package/src/vtc/badges/update/0.1/payload.ts +656 -0
  180. package/src/vtc/badges/wall/show/0.1/payload.ts +684 -0
  181. package/src/vtc/groups/create/0.1/payload.ts +22 -2
  182. package/src/vtc/groups/list/0.1/payload.ts +22 -2
  183. package/src/vtc/groups/list/0.2/payload.ts +22 -2
  184. package/src/vtc/groups/show/0.1/payload.ts +22 -2
  185. package/src/vtc/groups/update/0.1/payload.ts +22 -2
  186. package/src/vtn/registry/check/0.1/payload.ts +365 -0
  187. package/src/vtn/registry/status/0.1/payload.ts +502 -0
@@ -0,0 +1,605 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vtc/badges/awards/revoke/0.1/payload.schema.json
4
+ */
5
+ import type { Award, AwardId, AwardNote, AwardState, BadgeId, EntryId, Ext, GroupCredentialId } from "../../../../../_shared/components.js";
6
+ /**
7
+ * Take an accepted award back: revoke or stop renewing the credential that evidences it, remove the holder from the badge group where it was their last award, and tell them. The outer document members are owned by the framework — SPEC §6.3.
8
+ */
9
+ export interface VTCBadgesAwardsRevokePayload {
10
+ /**
11
+ * The award to take back. It must be `accepted`.
12
+ */
13
+ awardId: AwardId;
14
+ /**
15
+ * Why, kept with the audit of the change for the badge's owners and administrators. The holder is told the award was taken back, never the reason.
16
+ */
17
+ reason: string;
18
+ ext?: Ext;
19
+ }
20
+ /**
21
+ * The success response to a vtc/badges/awards/revoke/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/badges/awards/revoke/0.1#response.
22
+ */
23
+ export interface VTCBadgesAwardsRevokeResponsePayload {
24
+ /**
25
+ * The award as it now stands: `state` `revoked`, `decidedAt` set. `credentialId` names the credential that evidenced it, now revoked or no longer renewed.
26
+ */
27
+ award: Award;
28
+ ext?: Ext;
29
+ }
30
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
31
+ export type { Award, AwardId, AwardNote, AwardState, BadgeId, EntryId, Ext, GroupCredentialId };
32
+ /** Trust Task type URI. */
33
+ export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/badges/awards/revoke/0.1";
34
+ /**
35
+ * The earlier version of this specification that this one declares it
36
+ * extends (front matter `extends`, SPEC §5.2 "Declared extension"), or
37
+ * `null`. Only the direct declaration — follow the chain with
38
+ * `extendsChain` / `readForSpec`.
39
+ */
40
+ export declare const EXTENDS: string | null;
41
+ /**
42
+ * Why this version is deprecated, or `null` while it is current. A
43
+ * superseded or retired version is still supported, and is withdrawn from
44
+ * this package in a later scheduled batch (SPEC "Superseded and Withdrawn
45
+ * Versions").
46
+ */
47
+ export declare const DEPRECATION: string | null;
48
+ /** Stable alias for this specification's request payload shape. */
49
+ export type Payload = VTCBadgesAwardsRevokePayload;
50
+ /** Trust Task response type URI (request type URI + "#response"). */
51
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtc/badges/awards/revoke/0.1#response";
52
+ /** Stable alias for this specification's success-response payload shape. */
53
+ export type Response = VTCBadgesAwardsRevokeResponsePayload;
54
+ /**
55
+ * This specification's payload schema, as a value.
56
+ *
57
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
58
+ * rather than only as a `.json` file because TypeScript types are erased
59
+ * at runtime: without a schema a consumer has nothing to validate, and
60
+ * every REQUIRED payload member is optional in practice. Cross-file
61
+ * `$ref`s are already inlined, so it needs no resolver.
62
+ */
63
+ export declare const PAYLOAD_SCHEMA: {
64
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
65
+ readonly $id: "https://trusttasks.org/spec/vtc/badges/awards/revoke/0.1";
66
+ readonly title: "VTC Badges — Awards — Revoke — payload";
67
+ readonly description: "Take an accepted award back: revoke or stop renewing the credential that evidences it, remove the holder from the badge group where it was their last award, and tell them. The outer document members are owned by the framework — SPEC §6.3.";
68
+ readonly type: "object";
69
+ readonly additionalProperties: false;
70
+ readonly required: readonly ["awardId", "reason"];
71
+ readonly properties: {
72
+ readonly awardId: {
73
+ readonly $ref: "#/$defs/AwardId";
74
+ readonly description: "The award to take back. It must be `accepted`.";
75
+ };
76
+ readonly reason: {
77
+ readonly type: "string";
78
+ readonly minLength: 1;
79
+ readonly maxLength: 1024;
80
+ readonly description: "Why, kept with the audit of the change for the badge's owners and administrators. The holder is told the award was taken back, never the reason.";
81
+ };
82
+ readonly ext: {
83
+ readonly $ref: "#/$defs/Ext";
84
+ };
85
+ };
86
+ readonly $defs: {
87
+ readonly Response: {
88
+ readonly $anchor: "response";
89
+ readonly title: "VTC Badges — Awards — Revoke — response payload";
90
+ readonly description: "The success response to a vtc/badges/awards/revoke/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/badges/awards/revoke/0.1#response.";
91
+ readonly type: "object";
92
+ readonly additionalProperties: false;
93
+ readonly required: readonly ["award"];
94
+ readonly properties: {
95
+ readonly award: {
96
+ readonly $ref: "#/$defs/Award";
97
+ readonly description: "The award as it now stands: `state` `revoked`, `decidedAt` set. `credentialId` names the credential that evidenced it, now revoked or no longer renewed.";
98
+ };
99
+ readonly ext: {
100
+ readonly $ref: "#/$defs/Ext";
101
+ };
102
+ };
103
+ };
104
+ readonly Ext: {
105
+ readonly title: "Ext";
106
+ 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.";
107
+ readonly type: "object";
108
+ readonly minProperties: 1;
109
+ readonly additionalProperties: true;
110
+ readonly propertyNames: {
111
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
112
+ };
113
+ };
114
+ readonly Award: {
115
+ readonly title: "Award";
116
+ readonly description: "One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires.";
117
+ readonly type: "object";
118
+ readonly additionalProperties: false;
119
+ readonly required: readonly ["awardId", "badgeId", "entryId", "state", "offeredAt"];
120
+ readonly properties: {
121
+ readonly awardId: {
122
+ readonly $ref: "#/$defs/AwardId";
123
+ };
124
+ readonly badgeId: {
125
+ readonly $ref: "#/$defs/BadgeId";
126
+ };
127
+ readonly entryId: {
128
+ readonly $ref: "#/$defs/EntryId";
129
+ readonly description: "The recipient.";
130
+ };
131
+ readonly givenBy: {
132
+ readonly $ref: "#/$defs/EntryId";
133
+ };
134
+ readonly note: {
135
+ readonly $ref: "#/$defs/AwardNote";
136
+ };
137
+ readonly state: {
138
+ readonly $ref: "#/$defs/AwardState";
139
+ };
140
+ readonly offeredAt: {
141
+ readonly type: "string";
142
+ readonly format: "date-time";
143
+ };
144
+ readonly decidedAt: {
145
+ readonly type: "string";
146
+ readonly format: "date-time";
147
+ readonly description: "When the recipient accepted or declined, the giver withdrew, the offer expired, or the award was revoked.";
148
+ };
149
+ readonly expiresAt: {
150
+ readonly type: "string";
151
+ readonly format: "date-time";
152
+ readonly description: "When an unanswered offer lapses, where the community expires offers.";
153
+ };
154
+ readonly credentialId: {
155
+ readonly $ref: "#/$defs/GroupCredentialId";
156
+ };
157
+ readonly ext: {
158
+ readonly $ref: "#/$defs/Ext";
159
+ };
160
+ };
161
+ };
162
+ readonly AwardState: {
163
+ readonly title: "AwardState";
164
+ readonly description: "`offered`: waiting for the recipient. `accepted`: the recipient took it; for a community badge the credential was issued and the membership recorded. `declined`: the recipient declined; nothing was recorded in the group and nothing issued. `withdrawn`: the giver withdrew the offer before a decision. `expired`: the offer lapsed unanswered. `revoked`: taken back after acceptance (VTI-BDG-023).";
165
+ readonly type: "string";
166
+ readonly enum: readonly ["offered", "accepted", "declined", "withdrawn", "expired", "revoked"];
167
+ };
168
+ readonly AwardNote: {
169
+ readonly title: "AwardNote";
170
+ readonly type: "string";
171
+ readonly minLength: 1;
172
+ readonly maxLength: 500;
173
+ readonly description: "What the award is for, from the giver, shown to the recipient and written as the award's evidence narrative where the badge carries a credential. Plain text; erased with its author (VTI-BDG-090).";
174
+ };
175
+ readonly BadgeId: {
176
+ readonly title: "BadgeId";
177
+ readonly description: "Opaque identifier of a badge: `bdg_` followed by 16 to 64 base64url characters. Random, community-scoped, never reused (VTI-BDG-001).";
178
+ readonly type: "string";
179
+ readonly pattern: "^bdg_[A-Za-z0-9_-]{16,64}$";
180
+ };
181
+ readonly AwardId: {
182
+ readonly title: "AwardId";
183
+ readonly description: "Opaque identifier of one giving of a badge to one member: `awd_` followed by 16 to 64 base64url characters. Random and unique within the community.";
184
+ readonly type: "string";
185
+ readonly pattern: "^awd_[A-Za-z0-9_-]{16,64}$";
186
+ };
187
+ readonly GroupCredentialId: {
188
+ readonly title: "GroupCredentialId";
189
+ readonly description: "Identifier (`id`) of a group membership credential issued to a member. Each renewal issues a new credential with a new identifier. Validity is the community's setting; a community SHOULD default to 30 days, renewed when 10 days remain.";
190
+ readonly type: "string";
191
+ readonly minLength: 1;
192
+ readonly maxLength: 512;
193
+ };
194
+ readonly EntryId: {
195
+ readonly title: "EntryId";
196
+ readonly description: "Opaque identifier of one directory entry: `dir_` followed by 16 to 64 base64url characters. Random, scoped to one community, and stable for the life of the membership — it survives a rotation of the member's DID, which is why groups, notes and cards are keyed by it. It MUST NOT be derived from, and MUST NOT reveal, any DID of the member, and the same person's entries in two communities MUST NOT share one. Compared by exact string equality.";
197
+ readonly type: "string";
198
+ readonly pattern: "^dir_[A-Za-z0-9_-]{16,64}$";
199
+ };
200
+ };
201
+ };
202
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
203
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
204
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
205
+ readonly $ref: "#/$defs/Response";
206
+ readonly $defs: {
207
+ readonly Response: {
208
+ readonly $anchor: "response";
209
+ readonly title: "VTC Badges — Awards — Revoke — response payload";
210
+ readonly description: "The success response to a vtc/badges/awards/revoke/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/badges/awards/revoke/0.1#response.";
211
+ readonly type: "object";
212
+ readonly additionalProperties: false;
213
+ readonly required: readonly ["award"];
214
+ readonly properties: {
215
+ readonly award: {
216
+ readonly $ref: "#/$defs/Award";
217
+ readonly description: "The award as it now stands: `state` `revoked`, `decidedAt` set. `credentialId` names the credential that evidenced it, now revoked or no longer renewed.";
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
+ readonly Award: {
235
+ readonly title: "Award";
236
+ readonly description: "One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires.";
237
+ readonly type: "object";
238
+ readonly additionalProperties: false;
239
+ readonly required: readonly ["awardId", "badgeId", "entryId", "state", "offeredAt"];
240
+ readonly properties: {
241
+ readonly awardId: {
242
+ readonly $ref: "#/$defs/AwardId";
243
+ };
244
+ readonly badgeId: {
245
+ readonly $ref: "#/$defs/BadgeId";
246
+ };
247
+ readonly entryId: {
248
+ readonly $ref: "#/$defs/EntryId";
249
+ readonly description: "The recipient.";
250
+ };
251
+ readonly givenBy: {
252
+ readonly $ref: "#/$defs/EntryId";
253
+ };
254
+ readonly note: {
255
+ readonly $ref: "#/$defs/AwardNote";
256
+ };
257
+ readonly state: {
258
+ readonly $ref: "#/$defs/AwardState";
259
+ };
260
+ readonly offeredAt: {
261
+ readonly type: "string";
262
+ readonly format: "date-time";
263
+ };
264
+ readonly decidedAt: {
265
+ readonly type: "string";
266
+ readonly format: "date-time";
267
+ readonly description: "When the recipient accepted or declined, the giver withdrew, the offer expired, or the award was revoked.";
268
+ };
269
+ readonly expiresAt: {
270
+ readonly type: "string";
271
+ readonly format: "date-time";
272
+ readonly description: "When an unanswered offer lapses, where the community expires offers.";
273
+ };
274
+ readonly credentialId: {
275
+ readonly $ref: "#/$defs/GroupCredentialId";
276
+ };
277
+ readonly ext: {
278
+ readonly $ref: "#/$defs/Ext";
279
+ };
280
+ };
281
+ };
282
+ readonly AwardState: {
283
+ readonly title: "AwardState";
284
+ readonly description: "`offered`: waiting for the recipient. `accepted`: the recipient took it; for a community badge the credential was issued and the membership recorded. `declined`: the recipient declined; nothing was recorded in the group and nothing issued. `withdrawn`: the giver withdrew the offer before a decision. `expired`: the offer lapsed unanswered. `revoked`: taken back after acceptance (VTI-BDG-023).";
285
+ readonly type: "string";
286
+ readonly enum: readonly ["offered", "accepted", "declined", "withdrawn", "expired", "revoked"];
287
+ };
288
+ readonly AwardNote: {
289
+ readonly title: "AwardNote";
290
+ readonly type: "string";
291
+ readonly minLength: 1;
292
+ readonly maxLength: 500;
293
+ readonly description: "What the award is for, from the giver, shown to the recipient and written as the award's evidence narrative where the badge carries a credential. Plain text; erased with its author (VTI-BDG-090).";
294
+ };
295
+ readonly BadgeId: {
296
+ readonly title: "BadgeId";
297
+ readonly description: "Opaque identifier of a badge: `bdg_` followed by 16 to 64 base64url characters. Random, community-scoped, never reused (VTI-BDG-001).";
298
+ readonly type: "string";
299
+ readonly pattern: "^bdg_[A-Za-z0-9_-]{16,64}$";
300
+ };
301
+ readonly AwardId: {
302
+ readonly title: "AwardId";
303
+ readonly description: "Opaque identifier of one giving of a badge to one member: `awd_` followed by 16 to 64 base64url characters. Random and unique within the community.";
304
+ readonly type: "string";
305
+ readonly pattern: "^awd_[A-Za-z0-9_-]{16,64}$";
306
+ };
307
+ readonly GroupCredentialId: {
308
+ readonly title: "GroupCredentialId";
309
+ readonly description: "Identifier (`id`) of a group membership credential issued to a member. Each renewal issues a new credential with a new identifier. Validity is the community's setting; a community SHOULD default to 30 days, renewed when 10 days remain.";
310
+ readonly type: "string";
311
+ readonly minLength: 1;
312
+ readonly maxLength: 512;
313
+ };
314
+ readonly EntryId: {
315
+ readonly title: "EntryId";
316
+ readonly description: "Opaque identifier of one directory entry: `dir_` followed by 16 to 64 base64url characters. Random, scoped to one community, and stable for the life of the membership — it survives a rotation of the member's DID, which is why groups, notes and cards are keyed by it. It MUST NOT be derived from, and MUST NOT reveal, any DID of the member, and the same person's entries in two communities MUST NOT share one. Compared by exact string equality.";
317
+ readonly type: "string";
318
+ readonly pattern: "^dir_[A-Za-z0-9_-]{16,64}$";
319
+ };
320
+ };
321
+ };
322
+ /**
323
+ * SPEC.md §7.2 policy for the request variant, from this specification's
324
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
325
+ * per-specification and cannot be derived from the document alone, and
326
+ * item 2 needs the schema this carries.
327
+ */
328
+ export declare const SPEC: {
329
+ readonly typeUri: "https://trusttasks.org/spec/vtc/badges/awards/revoke/0.1";
330
+ readonly isBearer: false;
331
+ readonly isProofRequired: true;
332
+ readonly isRecipientRequired: true;
333
+ readonly isIssuedAtRequired: true;
334
+ readonly payloadSchema: {
335
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
336
+ readonly $id: "https://trusttasks.org/spec/vtc/badges/awards/revoke/0.1";
337
+ readonly title: "VTC Badges — Awards — Revoke — payload";
338
+ readonly description: "Take an accepted award back: revoke or stop renewing the credential that evidences it, remove the holder from the badge group where it was their last award, and tell them. The outer document members are owned by the framework — SPEC §6.3.";
339
+ readonly type: "object";
340
+ readonly additionalProperties: false;
341
+ readonly required: readonly ["awardId", "reason"];
342
+ readonly properties: {
343
+ readonly awardId: {
344
+ readonly $ref: "#/$defs/AwardId";
345
+ readonly description: "The award to take back. It must be `accepted`.";
346
+ };
347
+ readonly reason: {
348
+ readonly type: "string";
349
+ readonly minLength: 1;
350
+ readonly maxLength: 1024;
351
+ readonly description: "Why, kept with the audit of the change for the badge's owners and administrators. The holder is told the award was taken back, never the reason.";
352
+ };
353
+ readonly ext: {
354
+ readonly $ref: "#/$defs/Ext";
355
+ };
356
+ };
357
+ readonly $defs: {
358
+ readonly Response: {
359
+ readonly $anchor: "response";
360
+ readonly title: "VTC Badges — Awards — Revoke — response payload";
361
+ readonly description: "The success response to a vtc/badges/awards/revoke/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/badges/awards/revoke/0.1#response.";
362
+ readonly type: "object";
363
+ readonly additionalProperties: false;
364
+ readonly required: readonly ["award"];
365
+ readonly properties: {
366
+ readonly award: {
367
+ readonly $ref: "#/$defs/Award";
368
+ readonly description: "The award as it now stands: `state` `revoked`, `decidedAt` set. `credentialId` names the credential that evidenced it, now revoked or no longer renewed.";
369
+ };
370
+ readonly ext: {
371
+ readonly $ref: "#/$defs/Ext";
372
+ };
373
+ };
374
+ };
375
+ readonly Ext: {
376
+ readonly title: "Ext";
377
+ 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.";
378
+ readonly type: "object";
379
+ readonly minProperties: 1;
380
+ readonly additionalProperties: true;
381
+ readonly propertyNames: {
382
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
383
+ };
384
+ };
385
+ readonly Award: {
386
+ readonly title: "Award";
387
+ readonly description: "One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires.";
388
+ readonly type: "object";
389
+ readonly additionalProperties: false;
390
+ readonly required: readonly ["awardId", "badgeId", "entryId", "state", "offeredAt"];
391
+ readonly properties: {
392
+ readonly awardId: {
393
+ readonly $ref: "#/$defs/AwardId";
394
+ };
395
+ readonly badgeId: {
396
+ readonly $ref: "#/$defs/BadgeId";
397
+ };
398
+ readonly entryId: {
399
+ readonly $ref: "#/$defs/EntryId";
400
+ readonly description: "The recipient.";
401
+ };
402
+ readonly givenBy: {
403
+ readonly $ref: "#/$defs/EntryId";
404
+ };
405
+ readonly note: {
406
+ readonly $ref: "#/$defs/AwardNote";
407
+ };
408
+ readonly state: {
409
+ readonly $ref: "#/$defs/AwardState";
410
+ };
411
+ readonly offeredAt: {
412
+ readonly type: "string";
413
+ readonly format: "date-time";
414
+ };
415
+ readonly decidedAt: {
416
+ readonly type: "string";
417
+ readonly format: "date-time";
418
+ readonly description: "When the recipient accepted or declined, the giver withdrew, the offer expired, or the award was revoked.";
419
+ };
420
+ readonly expiresAt: {
421
+ readonly type: "string";
422
+ readonly format: "date-time";
423
+ readonly description: "When an unanswered offer lapses, where the community expires offers.";
424
+ };
425
+ readonly credentialId: {
426
+ readonly $ref: "#/$defs/GroupCredentialId";
427
+ };
428
+ readonly ext: {
429
+ readonly $ref: "#/$defs/Ext";
430
+ };
431
+ };
432
+ };
433
+ readonly AwardState: {
434
+ readonly title: "AwardState";
435
+ readonly description: "`offered`: waiting for the recipient. `accepted`: the recipient took it; for a community badge the credential was issued and the membership recorded. `declined`: the recipient declined; nothing was recorded in the group and nothing issued. `withdrawn`: the giver withdrew the offer before a decision. `expired`: the offer lapsed unanswered. `revoked`: taken back after acceptance (VTI-BDG-023).";
436
+ readonly type: "string";
437
+ readonly enum: readonly ["offered", "accepted", "declined", "withdrawn", "expired", "revoked"];
438
+ };
439
+ readonly AwardNote: {
440
+ readonly title: "AwardNote";
441
+ readonly type: "string";
442
+ readonly minLength: 1;
443
+ readonly maxLength: 500;
444
+ readonly description: "What the award is for, from the giver, shown to the recipient and written as the award's evidence narrative where the badge carries a credential. Plain text; erased with its author (VTI-BDG-090).";
445
+ };
446
+ readonly BadgeId: {
447
+ readonly title: "BadgeId";
448
+ readonly description: "Opaque identifier of a badge: `bdg_` followed by 16 to 64 base64url characters. Random, community-scoped, never reused (VTI-BDG-001).";
449
+ readonly type: "string";
450
+ readonly pattern: "^bdg_[A-Za-z0-9_-]{16,64}$";
451
+ };
452
+ readonly AwardId: {
453
+ readonly title: "AwardId";
454
+ readonly description: "Opaque identifier of one giving of a badge to one member: `awd_` followed by 16 to 64 base64url characters. Random and unique within the community.";
455
+ readonly type: "string";
456
+ readonly pattern: "^awd_[A-Za-z0-9_-]{16,64}$";
457
+ };
458
+ readonly GroupCredentialId: {
459
+ readonly title: "GroupCredentialId";
460
+ readonly description: "Identifier (`id`) of a group membership credential issued to a member. Each renewal issues a new credential with a new identifier. Validity is the community's setting; a community SHOULD default to 30 days, renewed when 10 days remain.";
461
+ readonly type: "string";
462
+ readonly minLength: 1;
463
+ readonly maxLength: 512;
464
+ };
465
+ readonly EntryId: {
466
+ readonly title: "EntryId";
467
+ readonly description: "Opaque identifier of one directory entry: `dir_` followed by 16 to 64 base64url characters. Random, scoped to one community, and stable for the life of the membership — it survives a rotation of the member's DID, which is why groups, notes and cards are keyed by it. It MUST NOT be derived from, and MUST NOT reveal, any DID of the member, and the same person's entries in two communities MUST NOT share one. Compared by exact string equality.";
468
+ readonly type: "string";
469
+ readonly pattern: "^dir_[A-Za-z0-9_-]{16,64}$";
470
+ };
471
+ };
472
+ };
473
+ };
474
+ /**
475
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
476
+ * tracks the *issuer* party's requirement because a response swaps the
477
+ * parties (§7.3 item 5).
478
+ */
479
+ export declare const RESPONSE_SPEC: {
480
+ readonly typeUri: "https://trusttasks.org/spec/vtc/badges/awards/revoke/0.1#response";
481
+ readonly isBearer: false;
482
+ readonly isProofRequired: true;
483
+ readonly isRecipientRequired: true;
484
+ readonly isIssuedAtRequired: true;
485
+ readonly payloadSchema: {
486
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
487
+ readonly $ref: "#/$defs/Response";
488
+ readonly $defs: {
489
+ readonly Response: {
490
+ readonly $anchor: "response";
491
+ readonly title: "VTC Badges — Awards — Revoke — response payload";
492
+ readonly description: "The success response to a vtc/badges/awards/revoke/0.1 request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/vtc/badges/awards/revoke/0.1#response.";
493
+ readonly type: "object";
494
+ readonly additionalProperties: false;
495
+ readonly required: readonly ["award"];
496
+ readonly properties: {
497
+ readonly award: {
498
+ readonly $ref: "#/$defs/Award";
499
+ readonly description: "The award as it now stands: `state` `revoked`, `decidedAt` set. `credentialId` names the credential that evidenced it, now revoked or no longer renewed.";
500
+ };
501
+ readonly ext: {
502
+ readonly $ref: "#/$defs/Ext";
503
+ };
504
+ };
505
+ };
506
+ readonly Ext: {
507
+ readonly title: "Ext";
508
+ 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.";
509
+ readonly type: "object";
510
+ readonly minProperties: 1;
511
+ readonly additionalProperties: true;
512
+ readonly propertyNames: {
513
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
514
+ };
515
+ };
516
+ readonly Award: {
517
+ readonly title: "Award";
518
+ readonly description: "One giving of a badge to one member. `givenBy` is the giver's directory entry, absent for an award a dynamic badge group's rule made. `note` is shown to the recipient, the giver, the badge's owners and administrators, never to other members. `credentialId` is present on an accepted award of a community badge: the badge credential that evidences it, renewed or re-issued as the badge's regime requires.";
519
+ readonly type: "object";
520
+ readonly additionalProperties: false;
521
+ readonly required: readonly ["awardId", "badgeId", "entryId", "state", "offeredAt"];
522
+ readonly properties: {
523
+ readonly awardId: {
524
+ readonly $ref: "#/$defs/AwardId";
525
+ };
526
+ readonly badgeId: {
527
+ readonly $ref: "#/$defs/BadgeId";
528
+ };
529
+ readonly entryId: {
530
+ readonly $ref: "#/$defs/EntryId";
531
+ readonly description: "The recipient.";
532
+ };
533
+ readonly givenBy: {
534
+ readonly $ref: "#/$defs/EntryId";
535
+ };
536
+ readonly note: {
537
+ readonly $ref: "#/$defs/AwardNote";
538
+ };
539
+ readonly state: {
540
+ readonly $ref: "#/$defs/AwardState";
541
+ };
542
+ readonly offeredAt: {
543
+ readonly type: "string";
544
+ readonly format: "date-time";
545
+ };
546
+ readonly decidedAt: {
547
+ readonly type: "string";
548
+ readonly format: "date-time";
549
+ readonly description: "When the recipient accepted or declined, the giver withdrew, the offer expired, or the award was revoked.";
550
+ };
551
+ readonly expiresAt: {
552
+ readonly type: "string";
553
+ readonly format: "date-time";
554
+ readonly description: "When an unanswered offer lapses, where the community expires offers.";
555
+ };
556
+ readonly credentialId: {
557
+ readonly $ref: "#/$defs/GroupCredentialId";
558
+ };
559
+ readonly ext: {
560
+ readonly $ref: "#/$defs/Ext";
561
+ };
562
+ };
563
+ };
564
+ readonly AwardState: {
565
+ readonly title: "AwardState";
566
+ readonly description: "`offered`: waiting for the recipient. `accepted`: the recipient took it; for a community badge the credential was issued and the membership recorded. `declined`: the recipient declined; nothing was recorded in the group and nothing issued. `withdrawn`: the giver withdrew the offer before a decision. `expired`: the offer lapsed unanswered. `revoked`: taken back after acceptance (VTI-BDG-023).";
567
+ readonly type: "string";
568
+ readonly enum: readonly ["offered", "accepted", "declined", "withdrawn", "expired", "revoked"];
569
+ };
570
+ readonly AwardNote: {
571
+ readonly title: "AwardNote";
572
+ readonly type: "string";
573
+ readonly minLength: 1;
574
+ readonly maxLength: 500;
575
+ readonly description: "What the award is for, from the giver, shown to the recipient and written as the award's evidence narrative where the badge carries a credential. Plain text; erased with its author (VTI-BDG-090).";
576
+ };
577
+ readonly BadgeId: {
578
+ readonly title: "BadgeId";
579
+ readonly description: "Opaque identifier of a badge: `bdg_` followed by 16 to 64 base64url characters. Random, community-scoped, never reused (VTI-BDG-001).";
580
+ readonly type: "string";
581
+ readonly pattern: "^bdg_[A-Za-z0-9_-]{16,64}$";
582
+ };
583
+ readonly AwardId: {
584
+ readonly title: "AwardId";
585
+ readonly description: "Opaque identifier of one giving of a badge to one member: `awd_` followed by 16 to 64 base64url characters. Random and unique within the community.";
586
+ readonly type: "string";
587
+ readonly pattern: "^awd_[A-Za-z0-9_-]{16,64}$";
588
+ };
589
+ readonly GroupCredentialId: {
590
+ readonly title: "GroupCredentialId";
591
+ readonly description: "Identifier (`id`) of a group membership credential issued to a member. Each renewal issues a new credential with a new identifier. Validity is the community's setting; a community SHOULD default to 30 days, renewed when 10 days remain.";
592
+ readonly type: "string";
593
+ readonly minLength: 1;
594
+ readonly maxLength: 512;
595
+ };
596
+ readonly EntryId: {
597
+ readonly title: "EntryId";
598
+ readonly description: "Opaque identifier of one directory entry: `dir_` followed by 16 to 64 base64url characters. Random, scoped to one community, and stable for the life of the membership — it survives a rotation of the member's DID, which is why groups, notes and cards are keyed by it. It MUST NOT be derived from, and MUST NOT reveal, any DID of the member, and the same person's entries in two communities MUST NOT share one. Compared by exact string equality.";
599
+ readonly type: "string";
600
+ readonly pattern: "^dir_[A-Za-z0-9_-]{16,64}$";
601
+ };
602
+ };
603
+ };
604
+ };
605
+ //# sourceMappingURL=payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/vtc/badges/awards/revoke/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAG5I;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,oCAAoC;IACnD;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC;IACb,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,kHAAkH;AAClH,YAAY,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,iBAAiB,EAAE,CAAC;AAEhG,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,0DAAmE,CAAC;AAE5F;;;;;GAKG;AACH,eAAO,MAAM,OAAO,EAAE,MAAM,GAAG,IAAW,CAAC;AAE3C;;;;;GAKG;AACH,eAAO,MAAM,WAAW,EAAE,MAAM,GAAG,IAAW,CAAC;AAE/C,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4JjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqI1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}