@openvtc/trust-tasks 0.19.15 → 0.19.17

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 (65) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/_shared/components.d.ts +314 -0
  3. package/dist/_shared/components.d.ts.map +1 -1
  4. package/dist/index.d.ts +11 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +11 -0
  7. package/dist/index.js.map +1 -1
  8. package/dist/messaging/_shared/0.1/mediator-ops.d.ts +16 -0
  9. package/dist/messaging/_shared/0.1/mediator-ops.d.ts.map +1 -0
  10. package/dist/messaging/_shared/0.1/mediator-ops.js +6 -0
  11. package/dist/messaging/_shared/0.1/mediator-ops.js.map +1 -0
  12. package/dist/messaging/message/delete/0.1/payload.d.ts +370 -0
  13. package/dist/messaging/message/delete/0.1/payload.d.ts.map +1 -0
  14. package/dist/messaging/message/delete/0.1/payload.js +206 -0
  15. package/dist/messaging/message/delete/0.1/payload.js.map +1 -0
  16. package/dist/messaging/message/get/0.1/payload.d.ts +568 -0
  17. package/dist/messaging/message/get/0.1/payload.d.ts.map +1 -0
  18. package/dist/messaging/message/get/0.1/payload.js +332 -0
  19. package/dist/messaging/message/get/0.1/payload.js.map +1 -0
  20. package/dist/messaging/message/list/0.1/payload.d.ts +627 -0
  21. package/dist/messaging/message/list/0.1/payload.d.ts.map +1 -0
  22. package/dist/messaging/message/list/0.1/payload.js +352 -0
  23. package/dist/messaging/message/list/0.1/payload.js.map +1 -0
  24. package/dist/messaging/monitor/event/0.1/payload.d.ts +385 -0
  25. package/dist/messaging/monitor/event/0.1/payload.d.ts.map +1 -0
  26. package/dist/messaging/monitor/event/0.1/payload.js +230 -0
  27. package/dist/messaging/monitor/event/0.1/payload.js.map +1 -0
  28. package/dist/messaging/monitor/subscribe/0.1/payload.d.ts +719 -0
  29. package/dist/messaging/monitor/subscribe/0.1/payload.d.ts.map +1 -0
  30. package/dist/messaging/monitor/subscribe/0.1/payload.js +417 -0
  31. package/dist/messaging/monitor/subscribe/0.1/payload.js.map +1 -0
  32. package/dist/messaging/monitor/unsubscribe/0.1/payload.d.ts +245 -0
  33. package/dist/messaging/monitor/unsubscribe/0.1/payload.d.ts.map +1 -0
  34. package/dist/messaging/monitor/unsubscribe/0.1/payload.js +136 -0
  35. package/dist/messaging/monitor/unsubscribe/0.1/payload.js.map +1 -0
  36. package/dist/messaging/queue/list/0.1/payload.d.ts +679 -0
  37. package/dist/messaging/queue/list/0.1/payload.d.ts.map +1 -0
  38. package/dist/messaging/queue/list/0.1/payload.js +377 -0
  39. package/dist/messaging/queue/list/0.1/payload.js.map +1 -0
  40. package/dist/messaging/queue/purge/0.1/payload.d.ts +389 -0
  41. package/dist/messaging/queue/purge/0.1/payload.d.ts.map +1 -0
  42. package/dist/messaging/queue/purge/0.1/payload.js +210 -0
  43. package/dist/messaging/queue/purge/0.1/payload.js.map +1 -0
  44. package/dist/messaging/queue/status/0.1/payload.d.ts +697 -0
  45. package/dist/messaging/queue/status/0.1/payload.d.ts.map +1 -0
  46. package/dist/messaging/queue/status/0.1/payload.js +389 -0
  47. package/dist/messaging/queue/status/0.1/payload.js.map +1 -0
  48. package/dist/messaging/stats/show/0.1/payload.d.ts +963 -0
  49. package/dist/messaging/stats/show/0.1/payload.d.ts.map +1 -0
  50. package/dist/messaging/stats/show/0.1/payload.js +515 -0
  51. package/dist/messaging/stats/show/0.1/payload.js.map +1 -0
  52. package/package.json +1 -1
  53. package/src/_shared/components.ts +342 -0
  54. package/src/index.ts +11 -0
  55. package/src/messaging/_shared/0.1/mediator-ops.ts +17 -0
  56. package/src/messaging/message/delete/0.1/payload.ts +259 -0
  57. package/src/messaging/message/get/0.1/payload.ts +375 -0
  58. package/src/messaging/message/list/0.1/payload.ts +410 -0
  59. package/src/messaging/monitor/event/0.1/payload.ts +267 -0
  60. package/src/messaging/monitor/subscribe/0.1/payload.ts +473 -0
  61. package/src/messaging/monitor/unsubscribe/0.1/payload.ts +172 -0
  62. package/src/messaging/queue/list/0.1/payload.ts +443 -0
  63. package/src/messaging/queue/purge/0.1/payload.ts +270 -0
  64. package/src/messaging/queue/status/0.1/payload.ts +439 -0
  65. package/src/messaging/stats/show/0.1/payload.ts +611 -0
@@ -0,0 +1,245 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/messaging/monitor/unsubscribe/0.1/payload.schema.json
4
+ */
5
+ import type { Ext } from "../../../../_shared/components.js";
6
+ export interface MessagingUnsubscribeFromTrafficMonitorPayload {
7
+ subscriptionId: string;
8
+ /**
9
+ * Ecosystem-defined extension members per SPEC.md §4.5.1.
10
+ */
11
+ ext?: Ext;
12
+ }
13
+ /**
14
+ * The success response to a messaging/monitor/unsubscribe request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/messaging/monitor/unsubscribe/0.1#response.
15
+ */
16
+ export interface MessagingUnsubscribeFromTrafficMonitorResponsePayload {
17
+ eventsSent?: number;
18
+ eventsDropped?: number;
19
+ /**
20
+ * Ecosystem-defined extension members per SPEC.md §4.5.1.
21
+ */
22
+ ext?: Ext;
23
+ }
24
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
25
+ export type { Ext };
26
+ /** Trust Task type URI. */
27
+ export declare const TYPE_URI: "https://trusttasks.org/spec/messaging/monitor/unsubscribe/0.1";
28
+ /** Stable alias for this specification's request payload shape. */
29
+ export type Payload = MessagingUnsubscribeFromTrafficMonitorPayload;
30
+ /** Trust Task response type URI (request type URI + "#response"). */
31
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/messaging/monitor/unsubscribe/0.1#response";
32
+ /** Stable alias for this specification's success-response payload shape. */
33
+ export type Response = MessagingUnsubscribeFromTrafficMonitorResponsePayload;
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/messaging/monitor/unsubscribe/0.1";
46
+ readonly title: "Messaging — Unsubscribe from Traffic Monitor — payload";
47
+ readonly type: "object";
48
+ readonly additionalProperties: false;
49
+ readonly required: readonly ["subscriptionId"];
50
+ readonly properties: {
51
+ readonly subscriptionId: {
52
+ readonly type: "string";
53
+ readonly minLength: 1;
54
+ };
55
+ readonly ext: {
56
+ readonly $ref: "#/$defs/Ext";
57
+ readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
58
+ };
59
+ };
60
+ readonly $defs: {
61
+ readonly Response: {
62
+ readonly $anchor: "response";
63
+ readonly title: "Messaging — Unsubscribe from Traffic Monitor — response payload";
64
+ readonly description: "The success response to a messaging/monitor/unsubscribe request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/messaging/monitor/unsubscribe/0.1#response.";
65
+ readonly type: "object";
66
+ readonly additionalProperties: false;
67
+ readonly properties: {
68
+ readonly eventsSent: {
69
+ readonly type: "integer";
70
+ readonly minimum: 0;
71
+ };
72
+ readonly eventsDropped: {
73
+ readonly type: "integer";
74
+ readonly minimum: 0;
75
+ };
76
+ readonly ext: {
77
+ readonly $ref: "#/$defs/Ext";
78
+ readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
79
+ };
80
+ };
81
+ };
82
+ readonly Ext: {
83
+ readonly title: "Ext";
84
+ 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.";
85
+ readonly type: "object";
86
+ readonly minProperties: 1;
87
+ readonly additionalProperties: true;
88
+ readonly propertyNames: {
89
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
90
+ };
91
+ };
92
+ };
93
+ };
94
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
95
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
96
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
97
+ readonly $ref: "#/$defs/Response";
98
+ readonly $defs: {
99
+ readonly Response: {
100
+ readonly $anchor: "response";
101
+ readonly title: "Messaging — Unsubscribe from Traffic Monitor — response payload";
102
+ readonly description: "The success response to a messaging/monitor/unsubscribe request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/messaging/monitor/unsubscribe/0.1#response.";
103
+ readonly type: "object";
104
+ readonly additionalProperties: false;
105
+ readonly properties: {
106
+ readonly eventsSent: {
107
+ readonly type: "integer";
108
+ readonly minimum: 0;
109
+ };
110
+ readonly eventsDropped: {
111
+ readonly type: "integer";
112
+ readonly minimum: 0;
113
+ };
114
+ readonly ext: {
115
+ readonly $ref: "#/$defs/Ext";
116
+ readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
117
+ };
118
+ };
119
+ };
120
+ readonly Ext: {
121
+ readonly title: "Ext";
122
+ 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.";
123
+ readonly type: "object";
124
+ readonly minProperties: 1;
125
+ readonly additionalProperties: true;
126
+ readonly propertyNames: {
127
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
128
+ };
129
+ };
130
+ };
131
+ };
132
+ /**
133
+ * SPEC.md §7.2 policy for the request variant, from this specification's
134
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
135
+ * per-specification and cannot be derived from the document alone, and
136
+ * item 2 needs the schema this carries.
137
+ */
138
+ export declare const SPEC: {
139
+ readonly typeUri: "https://trusttasks.org/spec/messaging/monitor/unsubscribe/0.1";
140
+ readonly isBearer: false;
141
+ readonly isProofRequired: true;
142
+ readonly isRecipientRequired: true;
143
+ readonly isIssuedAtRequired: true;
144
+ readonly payloadSchema: {
145
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
146
+ readonly $id: "https://trusttasks.org/spec/messaging/monitor/unsubscribe/0.1";
147
+ readonly title: "Messaging — Unsubscribe from Traffic Monitor — payload";
148
+ readonly type: "object";
149
+ readonly additionalProperties: false;
150
+ readonly required: readonly ["subscriptionId"];
151
+ readonly properties: {
152
+ readonly subscriptionId: {
153
+ readonly type: "string";
154
+ readonly minLength: 1;
155
+ };
156
+ readonly ext: {
157
+ readonly $ref: "#/$defs/Ext";
158
+ readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
159
+ };
160
+ };
161
+ readonly $defs: {
162
+ readonly Response: {
163
+ readonly $anchor: "response";
164
+ readonly title: "Messaging — Unsubscribe from Traffic Monitor — response payload";
165
+ readonly description: "The success response to a messaging/monitor/unsubscribe request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/messaging/monitor/unsubscribe/0.1#response.";
166
+ readonly type: "object";
167
+ readonly additionalProperties: false;
168
+ readonly properties: {
169
+ readonly eventsSent: {
170
+ readonly type: "integer";
171
+ readonly minimum: 0;
172
+ };
173
+ readonly eventsDropped: {
174
+ readonly type: "integer";
175
+ readonly minimum: 0;
176
+ };
177
+ readonly ext: {
178
+ readonly $ref: "#/$defs/Ext";
179
+ readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
180
+ };
181
+ };
182
+ };
183
+ readonly Ext: {
184
+ readonly title: "Ext";
185
+ 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.";
186
+ readonly type: "object";
187
+ readonly minProperties: 1;
188
+ readonly additionalProperties: true;
189
+ readonly propertyNames: {
190
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
191
+ };
192
+ };
193
+ };
194
+ };
195
+ };
196
+ /**
197
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
198
+ * tracks the *issuer* party's requirement because a response swaps the
199
+ * parties (§7.3 item 5).
200
+ */
201
+ export declare const RESPONSE_SPEC: {
202
+ readonly typeUri: "https://trusttasks.org/spec/messaging/monitor/unsubscribe/0.1#response";
203
+ readonly isBearer: false;
204
+ readonly isProofRequired: false;
205
+ readonly isRecipientRequired: true;
206
+ readonly isIssuedAtRequired: true;
207
+ readonly payloadSchema: {
208
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
209
+ readonly $ref: "#/$defs/Response";
210
+ readonly $defs: {
211
+ readonly Response: {
212
+ readonly $anchor: "response";
213
+ readonly title: "Messaging — Unsubscribe from Traffic Monitor — response payload";
214
+ readonly description: "The success response to a messaging/monitor/unsubscribe request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/messaging/monitor/unsubscribe/0.1#response.";
215
+ readonly type: "object";
216
+ readonly additionalProperties: false;
217
+ readonly properties: {
218
+ readonly eventsSent: {
219
+ readonly type: "integer";
220
+ readonly minimum: 0;
221
+ };
222
+ readonly eventsDropped: {
223
+ readonly type: "integer";
224
+ readonly minimum: 0;
225
+ };
226
+ readonly ext: {
227
+ readonly $ref: "#/$defs/Ext";
228
+ readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
229
+ };
230
+ };
231
+ };
232
+ readonly Ext: {
233
+ readonly title: "Ext";
234
+ 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.";
235
+ readonly type: "object";
236
+ readonly minProperties: 1;
237
+ readonly additionalProperties: true;
238
+ readonly propertyNames: {
239
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
240
+ };
241
+ };
242
+ };
243
+ };
244
+ };
245
+ //# sourceMappingURL=payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/messaging/monitor/unsubscribe/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,mCAAmC,CAAC;AAG7D,MAAM,WAAW,6CAA6C;IAC5D,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,qDAAqD;IACpE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,kHAAkH;AAClH,YAAY,EAAE,GAAG,EAAE,CAAC;AAEpB,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,+DAAwE,CAAC;AAEjG,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,6CAA6C,CAAC;AAEpE,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,wEAAiF,CAAC;AAEnH,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,qDAAqD,CAAC;AAE7E;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoC1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
@@ -0,0 +1,136 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/messaging/monitor/unsubscribe/0.1/payload.schema.json
4
+ */
5
+ /** Trust Task type URI. */
6
+ export const TYPE_URI = "https://trusttasks.org/spec/messaging/monitor/unsubscribe/0.1";
7
+ /** Trust Task response type URI (request type URI + "#response"). */
8
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/messaging/monitor/unsubscribe/0.1#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/messaging/monitor/unsubscribe/0.1",
21
+ "title": "Messaging — Unsubscribe from Traffic Monitor — payload",
22
+ "type": "object",
23
+ "additionalProperties": false,
24
+ "required": [
25
+ "subscriptionId"
26
+ ],
27
+ "properties": {
28
+ "subscriptionId": {
29
+ "type": "string",
30
+ "minLength": 1
31
+ },
32
+ "ext": {
33
+ "$ref": "#/$defs/Ext",
34
+ "description": "Ecosystem-defined extension members per SPEC.md §4.5.1."
35
+ }
36
+ },
37
+ "$defs": {
38
+ "Response": {
39
+ "$anchor": "response",
40
+ "title": "Messaging — Unsubscribe from Traffic Monitor — response payload",
41
+ "description": "The success response to a messaging/monitor/unsubscribe request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/messaging/monitor/unsubscribe/0.1#response.",
42
+ "type": "object",
43
+ "additionalProperties": false,
44
+ "properties": {
45
+ "eventsSent": {
46
+ "type": "integer",
47
+ "minimum": 0
48
+ },
49
+ "eventsDropped": {
50
+ "type": "integer",
51
+ "minimum": 0
52
+ },
53
+ "ext": {
54
+ "$ref": "#/$defs/Ext",
55
+ "description": "Ecosystem-defined extension members per SPEC.md §4.5.1."
56
+ }
57
+ }
58
+ },
59
+ "Ext": {
60
+ "title": "Ext",
61
+ "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.",
62
+ "type": "object",
63
+ "minProperties": 1,
64
+ "additionalProperties": true,
65
+ "propertyNames": {
66
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
67
+ }
68
+ }
69
+ }
70
+ };
71
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
72
+ export const RESPONSE_PAYLOAD_SCHEMA = {
73
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
74
+ "$ref": "#/$defs/Response",
75
+ "$defs": {
76
+ "Response": {
77
+ "$anchor": "response",
78
+ "title": "Messaging — Unsubscribe from Traffic Monitor — response payload",
79
+ "description": "The success response to a messaging/monitor/unsubscribe request. Carried in a Trust Task document whose type is https://trusttasks.org/spec/messaging/monitor/unsubscribe/0.1#response.",
80
+ "type": "object",
81
+ "additionalProperties": false,
82
+ "properties": {
83
+ "eventsSent": {
84
+ "type": "integer",
85
+ "minimum": 0
86
+ },
87
+ "eventsDropped": {
88
+ "type": "integer",
89
+ "minimum": 0
90
+ },
91
+ "ext": {
92
+ "$ref": "#/$defs/Ext",
93
+ "description": "Ecosystem-defined extension members per SPEC.md §4.5.1."
94
+ }
95
+ }
96
+ },
97
+ "Ext": {
98
+ "title": "Ext",
99
+ "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.",
100
+ "type": "object",
101
+ "minProperties": 1,
102
+ "additionalProperties": true,
103
+ "propertyNames": {
104
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
105
+ }
106
+ }
107
+ }
108
+ };
109
+ /**
110
+ * SPEC.md §7.2 policy for the request variant, from this specification's
111
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
112
+ * per-specification and cannot be derived from the document alone, and
113
+ * item 2 needs the schema this carries.
114
+ */
115
+ export const SPEC = {
116
+ typeUri: TYPE_URI,
117
+ isBearer: false,
118
+ isProofRequired: true,
119
+ isRecipientRequired: true,
120
+ isIssuedAtRequired: true,
121
+ payloadSchema: PAYLOAD_SCHEMA,
122
+ };
123
+ /**
124
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
125
+ * tracks the *issuer* party's requirement because a response swaps the
126
+ * parties (§7.3 item 5).
127
+ */
128
+ export const RESPONSE_SPEC = {
129
+ typeUri: RESPONSE_TYPE_URI,
130
+ isBearer: false,
131
+ isProofRequired: false,
132
+ isRecipientRequired: true,
133
+ isIssuedAtRequired: true,
134
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
135
+ };
136
+ //# sourceMappingURL=payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/messaging/monitor/unsubscribe/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA2BH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,+DAAwE,CAAC;AAKjG,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,wEAAiF,CAAC;AAKnH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,+DAA+D;IACtE,OAAO,EAAE,wDAAwD;IACjE,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,gBAAgB;KACjB;IACD,YAAY,EAAE;QACZ,gBAAgB,EAAE;YAChB,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;SACf;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;YACrB,aAAa,EAAE,yDAAyD;SACzE;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,iEAAiE;YAC1E,aAAa,EAAE,yLAAyL;YACxM,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,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