@whooshbang/contracts 1.0.0-rc.13

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 (229) hide show
  1. package/CHANGELOG.md +198 -0
  2. package/LICENSE +21 -0
  3. package/README.md +120 -0
  4. package/contract-manifest.json +390 -0
  5. package/dist/base64url.d.ts +2 -0
  6. package/dist/base64url.js +51 -0
  7. package/dist/base64url.js.map +1 -0
  8. package/dist/generated/artifact-index.d.ts +205 -0
  9. package/dist/generated/artifact-index.js +396 -0
  10. package/dist/generated/artifact-index.js.map +1 -0
  11. package/dist/generated/contract-manifest.d.ts +66 -0
  12. package/dist/generated/contract-manifest.js +6 -0
  13. package/dist/generated/contract-manifest.js.map +1 -0
  14. package/dist/generated/core-scenario.d.ts +18 -0
  15. package/dist/generated/core-scenario.js +6 -0
  16. package/dist/generated/core-scenario.js.map +1 -0
  17. package/dist/generated/fixture-index.d.ts +33 -0
  18. package/dist/generated/fixture-index.js +6 -0
  19. package/dist/generated/fixture-index.js.map +1 -0
  20. package/dist/generated/interaction-machine-scenario.d.ts +263 -0
  21. package/dist/generated/interaction-machine-scenario.js +6 -0
  22. package/dist/generated/interaction-machine-scenario.js.map +1 -0
  23. package/dist/generated/interaction-v1.d.ts +152 -0
  24. package/dist/generated/interaction-v1.js +6 -0
  25. package/dist/generated/interaction-v1.js.map +1 -0
  26. package/dist/generated/machine-v1.d.ts +169 -0
  27. package/dist/generated/machine-v1.js +6 -0
  28. package/dist/generated/machine-v1.js.map +1 -0
  29. package/dist/generated/provider-capabilities-v1.d.ts +78 -0
  30. package/dist/generated/provider-capabilities-v1.js +6 -0
  31. package/dist/generated/provider-capabilities-v1.js.map +1 -0
  32. package/dist/generated/validators-standalone.d.ts +659 -0
  33. package/dist/generated/validators-standalone.js +47800 -0
  34. package/dist/generated/validators-standalone.js.map +1 -0
  35. package/dist/generated/validators.d.ts +74 -0
  36. package/dist/generated/validators.js +493 -0
  37. package/dist/generated/validators.js.map +1 -0
  38. package/dist/generated/webhook-delivery-case-v1.d.ts +91 -0
  39. package/dist/generated/webhook-delivery-case-v1.js +6 -0
  40. package/dist/generated/webhook-delivery-case-v1.js.map +1 -0
  41. package/dist/generated/webhook-signing-vector-v1.d.ts +88 -0
  42. package/dist/generated/webhook-signing-vector-v1.js +6 -0
  43. package/dist/generated/webhook-signing-vector-v1.js.map +1 -0
  44. package/dist/generated/whooshbang-event-v1.d.ts +191 -0
  45. package/dist/generated/whooshbang-event-v1.js +6 -0
  46. package/dist/generated/whooshbang-event-v1.js.map +1 -0
  47. package/dist/generated/whooshbang-v1.d.ts +1162 -0
  48. package/dist/generated/whooshbang-v1.js +6 -0
  49. package/dist/generated/whooshbang-v1.js.map +1 -0
  50. package/dist/index.d.ts +20 -0
  51. package/dist/index.js +7 -0
  52. package/dist/index.js.map +1 -0
  53. package/dist/machine-credential.d.ts +31 -0
  54. package/dist/machine-credential.js +78 -0
  55. package/dist/machine-credential.js.map +1 -0
  56. package/dist/webhook-consumer.d.ts +50 -0
  57. package/dist/webhook-consumer.js +71 -0
  58. package/dist/webhook-consumer.js.map +1 -0
  59. package/dist/webhook-delivery.d.ts +46 -0
  60. package/dist/webhook-delivery.js +126 -0
  61. package/dist/webhook-delivery.js.map +1 -0
  62. package/dist/webhook-signature.d.ts +36 -0
  63. package/dist/webhook-signature.js +255 -0
  64. package/dist/webhook-signature.js.map +1 -0
  65. package/examples/python/verify_webhook.py +283 -0
  66. package/fixtures/.gitkeep +1 -0
  67. package/fixtures/core-v1/fixture-index.json +963 -0
  68. package/fixtures/core-v1/problems/auth-invalid.json +9 -0
  69. package/fixtures/core-v1/problems/authentication-required.json +9 -0
  70. package/fixtures/core-v1/problems/cancellation-too-late.json +9 -0
  71. package/fixtures/core-v1/problems/endpoint-rotation-conflict.json +10 -0
  72. package/fixtures/core-v1/problems/environment-mismatch.json +9 -0
  73. package/fixtures/core-v1/problems/idempotency-conflict.json +9 -0
  74. package/fixtures/core-v1/problems/idempotency-key-required.json +9 -0
  75. package/fixtures/core-v1/problems/project-slug-conflict.json +16 -0
  76. package/fixtures/core-v1/problems/provider-outcome-unknown.json +9 -0
  77. package/fixtures/core-v1/problems/provider-retryable.json +10 -0
  78. package/fixtures/core-v1/problems/provider-terminal.json +9 -0
  79. package/fixtures/core-v1/problems/rate-limited.json +10 -0
  80. package/fixtures/core-v1/problems/replay-unavailable-not-terminal.json +16 -0
  81. package/fixtures/core-v1/problems/replay-unavailable-payload.json +16 -0
  82. package/fixtures/core-v1/problems/replay-unavailable-rollout.json +16 -0
  83. package/fixtures/core-v1/problems/request-invalid.json +16 -0
  84. package/fixtures/core-v1/problems/resource-expired.json +9 -0
  85. package/fixtures/core-v1/problems/resource-not-found.json +9 -0
  86. package/fixtures/core-v1/problems/scope-forbidden.json +9 -0
  87. package/fixtures/core-v1/problems/subscriber-unbound.json +9 -0
  88. package/fixtures/core-v1/requests/create-api-credential.json +9 -0
  89. package/fixtures/core-v1/requests/create-customer-endpoint.json +5 -0
  90. package/fixtures/core-v1/requests/create-message.json +15 -0
  91. package/fixtures/core-v1/requests/create-project.json +4 -0
  92. package/fixtures/core-v1/requests/create-subscription-link.json +5 -0
  93. package/fixtures/core-v1/requests/rotate-api-credential.json +3 -0
  94. package/fixtures/core-v1/requests/rotate-customer-endpoint.json +3 -0
  95. package/fixtures/core-v1/scenarios/api-credential-invalid-indistinguishable.json +14 -0
  96. package/fixtures/core-v1/scenarios/api-credential-one-time-reveal.json +21 -0
  97. package/fixtures/core-v1/scenarios/api-credential-revocation-replay.json +17 -0
  98. package/fixtures/core-v1/scenarios/api-credential-rotation-overlap.json +18 -0
  99. package/fixtures/core-v1/scenarios/cancellation-too-late.json +15 -0
  100. package/fixtures/core-v1/scenarios/cross-account-project.json +14 -0
  101. package/fixtures/core-v1/scenarios/cross-project-resource.json +17 -0
  102. package/fixtures/core-v1/scenarios/environment-mismatch.json +17 -0
  103. package/fixtures/core-v1/scenarios/idempotency-conflict.json +35 -0
  104. package/fixtures/core-v1/scenarios/idempotency-equivalent-replay.json +27 -0
  105. package/fixtures/core-v1/scenarios/malformed-bearer.json +14 -0
  106. package/fixtures/core-v1/scenarios/metadata-overrun.json +14 -0
  107. package/fixtures/core-v1/scenarios/missing-scope.json +15 -0
  108. package/fixtures/core-v1/scenarios/project-create-equivalent-replay.json +26 -0
  109. package/fixtures/core-v1/scenarios/project-slug-conflict.json +21 -0
  110. package/fixtures/core-v1/scenarios/provider-outcome-unknown.json +15 -0
  111. package/fixtures/core-v1/scenarios/subscription-activation-replay.json +18 -0
  112. package/fixtures/core-v1/scenarios/subscription-expired-replay.json +16 -0
  113. package/fixtures/core-v1/success/account-projection.json +11 -0
  114. package/fixtures/core-v1/success/api-credential-collection.json +22 -0
  115. package/fixtures/core-v1/success/api-credential-created.json +20 -0
  116. package/fixtures/core-v1/success/api-credential-revoked.json +19 -0
  117. package/fixtures/core-v1/success/api-credential-rotated.json +41 -0
  118. package/fixtures/core-v1/success/customer-endpoint-attempts.json +15 -0
  119. package/fixtures/core-v1/success/customer-endpoint-collection.json +26 -0
  120. package/fixtures/core-v1/success/customer-endpoint-create-replayed.json +16 -0
  121. package/fixtures/core-v1/success/customer-endpoint-created.json +17 -0
  122. package/fixtures/core-v1/success/customer-endpoint-rotated.json +21 -0
  123. package/fixtures/core-v1/success/message-accepted.json +30 -0
  124. package/fixtures/core-v1/success/message-cancellation-too-late.json +27 -0
  125. package/fixtures/core-v1/success/message-cancelled.json +27 -0
  126. package/fixtures/core-v1/success/message-outcome-unknown.json +33 -0
  127. package/fixtures/core-v1/success/message-provider-accepted.json +30 -0
  128. package/fixtures/core-v1/success/project-collection.json +42 -0
  129. package/fixtures/core-v1/success/project-created.json +38 -0
  130. package/fixtures/core-v1/success/subscription-link-activated.json +22 -0
  131. package/fixtures/core-v1/success/subscription-link-cancelled.json +14 -0
  132. package/fixtures/core-v1/success/subscription-link-paused.json +22 -0
  133. package/fixtures/core-v1/success/subscription-link-pending.json +14 -0
  134. package/fixtures/core-v1/success/subscription-link-revoked.json +22 -0
  135. package/fixtures/interaction-machine-v1/capabilities/providers.json +57 -0
  136. package/fixtures/interaction-machine-v1/capabilities/telegram.json +52 -0
  137. package/fixtures/interaction-machine-v1/events/confirm-answered.json +22 -0
  138. package/fixtures/interaction-machine-v1/events/input-answered.json +22 -0
  139. package/fixtures/interaction-machine-v1/events/input-redacted.json +18 -0
  140. package/fixtures/interaction-machine-v1/events/select-answered.json +22 -0
  141. package/fixtures/interaction-machine-v1/requests/ack-processed.json +5 -0
  142. package/fixtures/interaction-machine-v1/requests/ack-quarantined.json +5 -0
  143. package/fixtures/interaction-machine-v1/requests/create-machine-client.json +6 -0
  144. package/fixtures/interaction-machine-v1/requests/create-message-confirm.json +18 -0
  145. package/fixtures/interaction-machine-v1/requests/create-message-input.json +16 -0
  146. package/fixtures/interaction-machine-v1/requests/create-message-select.json +26 -0
  147. package/fixtures/interaction-machine-v1/requests/register-machine-credential.json +4 -0
  148. package/fixtures/interaction-machine-v1/scenarios/ack-conflict.json +14 -0
  149. package/fixtures/interaction-machine-v1/scenarios/ack-cross-machine.json +15 -0
  150. package/fixtures/interaction-machine-v1/scenarios/ack-out-of-order.json +15 -0
  151. package/fixtures/interaction-machine-v1/scenarios/ack-replay.json +17 -0
  152. package/fixtures/interaction-machine-v1/scenarios/ambiguous-free-text.json +15 -0
  153. package/fixtures/interaction-machine-v1/scenarios/callback-token-opacity.json +16 -0
  154. package/fixtures/interaction-machine-v1/scenarios/credential-registration-conflict.json +16 -0
  155. package/fixtures/interaction-machine-v1/scenarios/credential-registration-replay.json +15 -0
  156. package/fixtures/interaction-machine-v1/scenarios/credential-revocation-replay.json +14 -0
  157. package/fixtures/interaction-machine-v1/scenarios/credential-rotation.json +16 -0
  158. package/fixtures/interaction-machine-v1/scenarios/first-credential-activates.json +15 -0
  159. package/fixtures/interaction-machine-v1/scenarios/interaction-duplicate.json +16 -0
  160. package/fixtures/interaction-machine-v1/scenarios/interaction-expired.json +17 -0
  161. package/fixtures/interaction-machine-v1/scenarios/interaction-mismatch.json +16 -0
  162. package/fixtures/interaction-machine-v1/scenarios/interaction-retired.json +16 -0
  163. package/fixtures/interaction-machine-v1/scenarios/interaction-stale.json +16 -0
  164. package/fixtures/interaction-machine-v1/scenarios/machine-admin-denied.json +14 -0
  165. package/fixtures/interaction-machine-v1/scenarios/machine-bound-message-create.json +22 -0
  166. package/fixtures/interaction-machine-v1/scenarios/machine-cancel-denied.json +14 -0
  167. package/fixtures/interaction-machine-v1/scenarios/machine-crash-before-ack.json +16 -0
  168. package/fixtures/interaction-machine-v1/scenarios/machine-notifier-mismatch.json +14 -0
  169. package/fixtures/interaction-machine-v1/scenarios/machine-other-message-read.json +14 -0
  170. package/fixtures/interaction-machine-v1/scenarios/machine-owned-message-read.json +22 -0
  171. package/fixtures/interaction-machine-v1/scenarios/machine-subscriber-mismatch.json +14 -0
  172. package/fixtures/interaction-machine-v1/scenarios/poll-uncommitted-cursor-rejected.json +17 -0
  173. package/fixtures/interaction-machine-v1/scenarios/project-credential-machine-endpoint-denied.json +14 -0
  174. package/fixtures/interaction-machine-v1/scenarios/quarantine-integrity-rejected.json +15 -0
  175. package/fixtures/interaction-machine-v1/scenarios/quarantine-signature-rejected.json +16 -0
  176. package/fixtures/interaction-machine-v1/scenarios/quarantine-valid.json +15 -0
  177. package/fixtures/interaction-machine-v1/scenarios/revoked-machine-credential.json +15 -0
  178. package/fixtures/interaction-machine-v1/success/ack-out-of-order.json +8 -0
  179. package/fixtures/interaction-machine-v1/success/ack-processed.json +8 -0
  180. package/fixtures/interaction-machine-v1/success/ack-quarantined.json +9 -0
  181. package/fixtures/interaction-machine-v1/success/interaction-answered-confirm.json +10 -0
  182. package/fixtures/interaction-machine-v1/success/interaction-answered-input.json +10 -0
  183. package/fixtures/interaction-machine-v1/success/interaction-answered-redacted.json +8 -0
  184. package/fixtures/interaction-machine-v1/success/interaction-answered-select.json +10 -0
  185. package/fixtures/interaction-machine-v1/success/interaction-open.json +7 -0
  186. package/fixtures/interaction-machine-v1/success/machine-client-active.json +20 -0
  187. package/fixtures/interaction-machine-v1/success/machine-client-provisioning.json +19 -0
  188. package/fixtures/interaction-machine-v1/success/machine-client-revoked.json +21 -0
  189. package/fixtures/interaction-machine-v1/success/machine-credential-active.json +13 -0
  190. package/fixtures/interaction-machine-v1/success/machine-credential-revoked.json +14 -0
  191. package/fixtures/interaction-machine-v1/success/message-interaction-open.json +33 -0
  192. package/fixtures/interaction-machine-v1/success/poll-empty.json +6 -0
  193. package/fixtures/interaction-machine-v1/success/poll-events.json +51 -0
  194. package/fixtures/interaction-machine-v1/tokens/callback-token.json +1 -0
  195. package/fixtures/whooshbang-events-v1/delivery/cases.json +418 -0
  196. package/fixtures/whooshbang-events-v1/events/agent-binding-degraded.json +17 -0
  197. package/fixtures/whooshbang-events-v1/events/interaction-expired.json +16 -0
  198. package/fixtures/whooshbang-events-v1/events/interaction-received.json +23 -0
  199. package/fixtures/whooshbang-events-v1/events/message-delivered.json +16 -0
  200. package/fixtures/whooshbang-events-v1/events/message-expired.json +15 -0
  201. package/fixtures/whooshbang-events-v1/events/message-failed.json +17 -0
  202. package/fixtures/whooshbang-events-v1/events/message-provider-accepted.json +15 -0
  203. package/fixtures/whooshbang-events-v1/events/subscription-activated.json +18 -0
  204. package/fixtures/whooshbang-events-v1/events/subscription-revoked.json +18 -0
  205. package/fixtures/whooshbang-events-v1/signing/vectors.json +852 -0
  206. package/openapi/.gitkeep +1 -0
  207. package/openapi/generated/whooshbang-v1.bundle.json +5913 -0
  208. package/openapi/whooshbang-v1.yaml +2334 -0
  209. package/package.json +63 -0
  210. package/schemas/contract-manifest.schema.json +140 -0
  211. package/schemas/core-scenario.schema.json +38 -0
  212. package/schemas/events/agent-binding-degraded-v1.schema.json +8 -0
  213. package/schemas/events/interaction-expired-v1.schema.json +8 -0
  214. package/schemas/events/interaction-received-v1.schema.json +8 -0
  215. package/schemas/events/message-delivered-v1.schema.json +8 -0
  216. package/schemas/events/message-expired-v1.schema.json +8 -0
  217. package/schemas/events/message-failed-v1.schema.json +8 -0
  218. package/schemas/events/message-provider-accepted-v1.schema.json +8 -0
  219. package/schemas/events/subscription-activated-v1.schema.json +8 -0
  220. package/schemas/events/subscription-revoked-v1.schema.json +8 -0
  221. package/schemas/events/whooshbang-event-v1.schema.json +689 -0
  222. package/schemas/fixture-index.schema.json +67 -0
  223. package/schemas/interaction-machine-scenario.schema.json +700 -0
  224. package/schemas/interaction-v1.schema.json +483 -0
  225. package/schemas/machine-v1.schema.json +430 -0
  226. package/schemas/provider-capabilities-v1.schema.json +263 -0
  227. package/schemas/webhooks/webhook-delivery-case-v1.schema.json +167 -0
  228. package/schemas/webhooks/webhook-signing-vector-v1.schema.json +197 -0
  229. package/schemas/whooshbang-v1.schema.json +2173 -0
@@ -0,0 +1,205 @@
1
+ /**
2
+ * Generated by `npm run contracts:generate`.
3
+ * Do not edit this file directly.
4
+ */
5
+ export declare const contractManifest: {
6
+ readonly schema: "flowxo.contract-manifest.v1";
7
+ readonly artifact: "@whooshbang/contracts";
8
+ readonly version: "1.0.0-rc.13";
9
+ readonly openapi: [{
10
+ readonly id: "whooshbang-rest-v1";
11
+ readonly version: "1.0.0-rc.13";
12
+ readonly path: "openapi/whooshbang-v1.yaml";
13
+ }];
14
+ readonly schemas: [{
15
+ readonly id: "whooshbang-v1";
16
+ readonly version: "1.0.0-rc.13";
17
+ readonly path: "schemas/whooshbang-v1.schema.json";
18
+ }, {
19
+ readonly id: "interaction-v1";
20
+ readonly version: "1.0.0-rc.13";
21
+ readonly path: "schemas/interaction-v1.schema.json";
22
+ }, {
23
+ readonly id: "machine-v1";
24
+ readonly version: "1.0.0-rc.13";
25
+ readonly path: "schemas/machine-v1.schema.json";
26
+ }, {
27
+ readonly id: "provider-capabilities-v1";
28
+ readonly version: "1.0.0-rc.13";
29
+ readonly path: "schemas/provider-capabilities-v1.schema.json";
30
+ }, {
31
+ readonly id: "whooshbang-event-v1";
32
+ readonly version: "1.0.0-rc.13";
33
+ readonly path: "schemas/events/whooshbang-event-v1.schema.json";
34
+ }, {
35
+ readonly id: "subscription-activated-event-v1";
36
+ readonly version: "1.0.0-rc.13";
37
+ readonly path: "schemas/events/subscription-activated-v1.schema.json";
38
+ }, {
39
+ readonly id: "subscription-revoked-event-v1";
40
+ readonly version: "1.0.0-rc.13";
41
+ readonly path: "schemas/events/subscription-revoked-v1.schema.json";
42
+ }, {
43
+ readonly id: "message-provider-accepted-event-v1";
44
+ readonly version: "1.0.0-rc.13";
45
+ readonly path: "schemas/events/message-provider-accepted-v1.schema.json";
46
+ }, {
47
+ readonly id: "message-delivered-event-v1";
48
+ readonly version: "1.0.0-rc.13";
49
+ readonly path: "schemas/events/message-delivered-v1.schema.json";
50
+ }, {
51
+ readonly id: "message-failed-event-v1";
52
+ readonly version: "1.0.0-rc.13";
53
+ readonly path: "schemas/events/message-failed-v1.schema.json";
54
+ }, {
55
+ readonly id: "message-expired-event-v1";
56
+ readonly version: "1.0.0-rc.13";
57
+ readonly path: "schemas/events/message-expired-v1.schema.json";
58
+ }, {
59
+ readonly id: "interaction-received-event-v1";
60
+ readonly version: "1.0.0-rc.13";
61
+ readonly path: "schemas/events/interaction-received-v1.schema.json";
62
+ }, {
63
+ readonly id: "interaction-expired-event-v1";
64
+ readonly version: "1.0.0-rc.13";
65
+ readonly path: "schemas/events/interaction-expired-v1.schema.json";
66
+ }, {
67
+ readonly id: "agent-binding-degraded-event-v1";
68
+ readonly version: "1.0.0-rc.13";
69
+ readonly path: "schemas/events/agent-binding-degraded-v1.schema.json";
70
+ }, {
71
+ readonly id: "webhook-signing-vector-v1";
72
+ readonly version: "1.0.0-rc.13";
73
+ readonly path: "schemas/webhooks/webhook-signing-vector-v1.schema.json";
74
+ }, {
75
+ readonly id: "webhook-delivery-case-v1";
76
+ readonly version: "1.0.0-rc.13";
77
+ readonly path: "schemas/webhooks/webhook-delivery-case-v1.schema.json";
78
+ }, {
79
+ readonly id: "interaction-machine-scenario";
80
+ readonly version: "1.0.0-rc.13";
81
+ readonly path: "schemas/interaction-machine-scenario.schema.json";
82
+ }, {
83
+ readonly id: "core-contract-scenario";
84
+ readonly version: "1.0.0-rc.13";
85
+ readonly path: "schemas/core-scenario.schema.json";
86
+ }, {
87
+ readonly id: "core-fixture-index";
88
+ readonly version: "1.0.0-rc.13";
89
+ readonly path: "schemas/fixture-index.schema.json";
90
+ }];
91
+ readonly fixture_sets: [{
92
+ readonly id: "core-api-bodies";
93
+ readonly version: "1.0.0-rc.13";
94
+ readonly schema: "schemas/whooshbang-v1.schema.json";
95
+ readonly fixtures: ["fixtures/core-v1/requests/create-project.json", "fixtures/core-v1/success/account-projection.json", "fixtures/core-v1/success/project-created.json", "fixtures/core-v1/success/project-collection.json", "fixtures/core-v1/requests/create-api-credential.json", "fixtures/core-v1/requests/rotate-api-credential.json", "fixtures/core-v1/success/api-credential-collection.json", "fixtures/core-v1/success/api-credential-created.json", "fixtures/core-v1/success/api-credential-rotated.json", "fixtures/core-v1/success/api-credential-revoked.json", "fixtures/core-v1/requests/create-customer-endpoint.json", "fixtures/core-v1/requests/rotate-customer-endpoint.json", "fixtures/core-v1/success/customer-endpoint-created.json", "fixtures/core-v1/success/customer-endpoint-create-replayed.json", "fixtures/core-v1/success/customer-endpoint-rotated.json", "fixtures/core-v1/success/customer-endpoint-collection.json", "fixtures/core-v1/success/customer-endpoint-attempts.json", "fixtures/core-v1/requests/create-subscription-link.json", "fixtures/core-v1/requests/create-message.json", "fixtures/core-v1/success/subscription-link-pending.json", "fixtures/core-v1/success/subscription-link-activated.json", "fixtures/core-v1/success/subscription-link-paused.json", "fixtures/core-v1/success/subscription-link-revoked.json", "fixtures/core-v1/success/subscription-link-cancelled.json", "fixtures/core-v1/success/message-accepted.json", "fixtures/core-v1/success/message-provider-accepted.json", "fixtures/core-v1/success/message-outcome-unknown.json", "fixtures/core-v1/success/message-cancelled.json", "fixtures/core-v1/success/message-cancellation-too-late.json", "fixtures/core-v1/problems/authentication-required.json", "fixtures/core-v1/problems/auth-invalid.json", "fixtures/core-v1/problems/scope-forbidden.json", "fixtures/core-v1/problems/environment-mismatch.json", "fixtures/core-v1/problems/idempotency-key-required.json", "fixtures/core-v1/problems/idempotency-conflict.json", "fixtures/core-v1/problems/project-slug-conflict.json", "fixtures/core-v1/problems/request-invalid.json", "fixtures/core-v1/problems/replay-unavailable-not-terminal.json", "fixtures/core-v1/problems/replay-unavailable-payload.json", "fixtures/core-v1/problems/replay-unavailable-rollout.json", "fixtures/core-v1/problems/subscriber-unbound.json", "fixtures/core-v1/problems/resource-not-found.json", "fixtures/core-v1/problems/resource-expired.json", "fixtures/core-v1/problems/cancellation-too-late.json", "fixtures/core-v1/problems/endpoint-rotation-conflict.json", "fixtures/core-v1/problems/rate-limited.json", "fixtures/core-v1/problems/provider-retryable.json", "fixtures/core-v1/problems/provider-terminal.json", "fixtures/core-v1/problems/provider-outcome-unknown.json"];
96
+ }, {
97
+ readonly id: "core-semantic-scenarios";
98
+ readonly version: "1.0.0-rc.13";
99
+ readonly schema: "schemas/core-scenario.schema.json";
100
+ readonly fixtures: ["fixtures/core-v1/scenarios/project-create-equivalent-replay.json", "fixtures/core-v1/scenarios/project-slug-conflict.json", "fixtures/core-v1/scenarios/cross-account-project.json", "fixtures/core-v1/scenarios/api-credential-one-time-reveal.json", "fixtures/core-v1/scenarios/api-credential-rotation-overlap.json", "fixtures/core-v1/scenarios/api-credential-revocation-replay.json", "fixtures/core-v1/scenarios/api-credential-invalid-indistinguishable.json", "fixtures/core-v1/scenarios/idempotency-equivalent-replay.json", "fixtures/core-v1/scenarios/idempotency-conflict.json", "fixtures/core-v1/scenarios/cross-project-resource.json", "fixtures/core-v1/scenarios/environment-mismatch.json", "fixtures/core-v1/scenarios/missing-scope.json", "fixtures/core-v1/scenarios/malformed-bearer.json", "fixtures/core-v1/scenarios/subscription-activation-replay.json", "fixtures/core-v1/scenarios/subscription-expired-replay.json", "fixtures/core-v1/scenarios/provider-outcome-unknown.json", "fixtures/core-v1/scenarios/cancellation-too-late.json", "fixtures/core-v1/scenarios/metadata-overrun.json"];
101
+ }, {
102
+ readonly id: "interaction-message-api-bodies";
103
+ readonly version: "1.0.0-rc.13";
104
+ readonly schema: "schemas/whooshbang-v1.schema.json";
105
+ readonly fixtures: ["fixtures/interaction-machine-v1/requests/create-message-confirm.json", "fixtures/interaction-machine-v1/requests/create-message-select.json", "fixtures/interaction-machine-v1/requests/create-message-input.json", "fixtures/interaction-machine-v1/success/message-interaction-open.json", "fixtures/interaction-machine-v1/capabilities/providers.json"];
106
+ }, {
107
+ readonly id: "interaction-contract-bodies";
108
+ readonly version: "1.0.0-rc.13";
109
+ readonly schema: "schemas/interaction-v1.schema.json";
110
+ readonly fixtures: ["fixtures/interaction-machine-v1/success/interaction-open.json", "fixtures/interaction-machine-v1/success/interaction-answered-confirm.json", "fixtures/interaction-machine-v1/success/interaction-answered-select.json", "fixtures/interaction-machine-v1/success/interaction-answered-input.json", "fixtures/interaction-machine-v1/success/interaction-answered-redacted.json", "fixtures/interaction-machine-v1/events/confirm-answered.json", "fixtures/interaction-machine-v1/events/select-answered.json", "fixtures/interaction-machine-v1/events/input-answered.json", "fixtures/interaction-machine-v1/events/input-redacted.json", "fixtures/interaction-machine-v1/tokens/callback-token.json"];
111
+ }, {
112
+ readonly id: "machine-api-bodies";
113
+ readonly version: "1.0.0-rc.13";
114
+ readonly schema: "schemas/machine-v1.schema.json";
115
+ readonly fixtures: ["fixtures/interaction-machine-v1/requests/create-machine-client.json", "fixtures/interaction-machine-v1/requests/register-machine-credential.json", "fixtures/interaction-machine-v1/requests/ack-processed.json", "fixtures/interaction-machine-v1/requests/ack-quarantined.json", "fixtures/interaction-machine-v1/success/machine-client-provisioning.json", "fixtures/interaction-machine-v1/success/machine-client-active.json", "fixtures/interaction-machine-v1/success/machine-client-revoked.json", "fixtures/interaction-machine-v1/success/machine-credential-active.json", "fixtures/interaction-machine-v1/success/machine-credential-revoked.json", "fixtures/interaction-machine-v1/success/poll-events.json", "fixtures/interaction-machine-v1/success/poll-empty.json", "fixtures/interaction-machine-v1/success/ack-processed.json", "fixtures/interaction-machine-v1/success/ack-out-of-order.json", "fixtures/interaction-machine-v1/success/ack-quarantined.json"];
116
+ }, {
117
+ readonly id: "provider-capability-bodies";
118
+ readonly version: "1.0.0-rc.13";
119
+ readonly schema: "schemas/provider-capabilities-v1.schema.json";
120
+ readonly fixtures: ["fixtures/interaction-machine-v1/capabilities/telegram.json"];
121
+ }, {
122
+ readonly id: "interaction-machine-semantic-scenarios";
123
+ readonly version: "1.0.0-rc.13";
124
+ readonly schema: "schemas/interaction-machine-scenario.schema.json";
125
+ readonly fixtures: ["fixtures/interaction-machine-v1/scenarios/interaction-duplicate.json", "fixtures/interaction-machine-v1/scenarios/interaction-stale.json", "fixtures/interaction-machine-v1/scenarios/interaction-expired.json", "fixtures/interaction-machine-v1/scenarios/interaction-retired.json", "fixtures/interaction-machine-v1/scenarios/interaction-mismatch.json", "fixtures/interaction-machine-v1/scenarios/ambiguous-free-text.json", "fixtures/interaction-machine-v1/scenarios/callback-token-opacity.json", "fixtures/interaction-machine-v1/scenarios/credential-registration-replay.json", "fixtures/interaction-machine-v1/scenarios/credential-registration-conflict.json", "fixtures/interaction-machine-v1/scenarios/first-credential-activates.json", "fixtures/interaction-machine-v1/scenarios/credential-revocation-replay.json", "fixtures/interaction-machine-v1/scenarios/credential-rotation.json", "fixtures/interaction-machine-v1/scenarios/machine-crash-before-ack.json", "fixtures/interaction-machine-v1/scenarios/poll-uncommitted-cursor-rejected.json", "fixtures/interaction-machine-v1/scenarios/ack-out-of-order.json", "fixtures/interaction-machine-v1/scenarios/ack-replay.json", "fixtures/interaction-machine-v1/scenarios/ack-conflict.json", "fixtures/interaction-machine-v1/scenarios/ack-cross-machine.json", "fixtures/interaction-machine-v1/scenarios/quarantine-valid.json", "fixtures/interaction-machine-v1/scenarios/quarantine-integrity-rejected.json", "fixtures/interaction-machine-v1/scenarios/quarantine-signature-rejected.json", "fixtures/interaction-machine-v1/scenarios/machine-bound-message-create.json", "fixtures/interaction-machine-v1/scenarios/machine-owned-message-read.json", "fixtures/interaction-machine-v1/scenarios/machine-subscriber-mismatch.json", "fixtures/interaction-machine-v1/scenarios/machine-notifier-mismatch.json", "fixtures/interaction-machine-v1/scenarios/machine-other-message-read.json", "fixtures/interaction-machine-v1/scenarios/machine-cancel-denied.json", "fixtures/interaction-machine-v1/scenarios/machine-admin-denied.json", "fixtures/interaction-machine-v1/scenarios/revoked-machine-credential.json", "fixtures/interaction-machine-v1/scenarios/project-credential-machine-endpoint-denied.json"];
126
+ }, {
127
+ readonly id: "customer-event-bodies";
128
+ readonly version: "1.0.0-rc.13";
129
+ readonly schema: "schemas/events/whooshbang-event-v1.schema.json";
130
+ readonly fixtures: ["fixtures/whooshbang-events-v1/events/subscription-activated.json", "fixtures/whooshbang-events-v1/events/subscription-revoked.json", "fixtures/whooshbang-events-v1/events/message-provider-accepted.json", "fixtures/whooshbang-events-v1/events/message-delivered.json", "fixtures/whooshbang-events-v1/events/message-failed.json", "fixtures/whooshbang-events-v1/events/message-expired.json", "fixtures/whooshbang-events-v1/events/interaction-received.json", "fixtures/whooshbang-events-v1/events/interaction-expired.json", "fixtures/whooshbang-events-v1/events/agent-binding-degraded.json"];
131
+ }, {
132
+ readonly id: "webhook-signing-vectors";
133
+ readonly version: "1.0.0-rc.13";
134
+ readonly schema: "schemas/webhooks/webhook-signing-vector-v1.schema.json";
135
+ readonly fixtures: ["fixtures/whooshbang-events-v1/signing/vectors.json"];
136
+ }, {
137
+ readonly id: "webhook-delivery-cases";
138
+ readonly version: "1.0.0-rc.13";
139
+ readonly schema: "schemas/webhooks/webhook-delivery-case-v1.schema.json";
140
+ readonly fixtures: ["fixtures/whooshbang-events-v1/delivery/cases.json"];
141
+ }, {
142
+ readonly id: "core-fixture-index";
143
+ readonly version: "1.0.0-rc.13";
144
+ readonly schema: "schemas/fixture-index.schema.json";
145
+ readonly fixtures: ["fixtures/core-v1/fixture-index.json"];
146
+ }];
147
+ readonly generated: [{
148
+ readonly id: "whooshbang-openapi-v1-bundle";
149
+ readonly source: "openapi/whooshbang-v1.yaml";
150
+ readonly path: "openapi/generated/whooshbang-v1.bundle.json";
151
+ }, {
152
+ readonly id: "whooshbang-v1-types";
153
+ readonly source: "schemas/whooshbang-v1.schema.json";
154
+ readonly path: "src/generated/whooshbang-v1.ts";
155
+ }, {
156
+ readonly id: "interaction-v1-types";
157
+ readonly source: "schemas/interaction-v1.schema.json";
158
+ readonly path: "src/generated/interaction-v1.ts";
159
+ }, {
160
+ readonly id: "machine-v1-types";
161
+ readonly source: "schemas/machine-v1.schema.json";
162
+ readonly path: "src/generated/machine-v1.ts";
163
+ }, {
164
+ readonly id: "provider-capabilities-v1-types";
165
+ readonly source: "schemas/provider-capabilities-v1.schema.json";
166
+ readonly path: "src/generated/provider-capabilities-v1.ts";
167
+ }, {
168
+ readonly id: "whooshbang-event-v1-types";
169
+ readonly source: "schemas/events/whooshbang-event-v1.schema.json";
170
+ readonly path: "src/generated/whooshbang-event-v1.ts";
171
+ }, {
172
+ readonly id: "webhook-signing-vector-v1-types";
173
+ readonly source: "schemas/webhooks/webhook-signing-vector-v1.schema.json";
174
+ readonly path: "src/generated/webhook-signing-vector-v1.ts";
175
+ }, {
176
+ readonly id: "webhook-delivery-case-v1-types";
177
+ readonly source: "schemas/webhooks/webhook-delivery-case-v1.schema.json";
178
+ readonly path: "src/generated/webhook-delivery-case-v1.ts";
179
+ }, {
180
+ readonly id: "interaction-machine-scenario-types";
181
+ readonly source: "schemas/interaction-machine-scenario.schema.json";
182
+ readonly path: "src/generated/interaction-machine-scenario.ts";
183
+ }, {
184
+ readonly id: "core-contract-scenario-types";
185
+ readonly source: "schemas/core-scenario.schema.json";
186
+ readonly path: "src/generated/core-scenario.ts";
187
+ }, {
188
+ readonly id: "core-fixture-index-types";
189
+ readonly source: "schemas/fixture-index.schema.json";
190
+ readonly path: "src/generated/fixture-index.ts";
191
+ }, {
192
+ readonly id: "whooshbang-v1-validators";
193
+ readonly source: "schemas/whooshbang-v1.schema.json";
194
+ readonly path: "src/generated/validators.ts";
195
+ }, {
196
+ readonly id: "whooshbang-v1-standalone-validators";
197
+ readonly source: "schemas/whooshbang-v1.schema.json";
198
+ readonly path: "src/generated/validators-standalone.ts";
199
+ }];
200
+ readonly compatibility: {
201
+ readonly api_major: 1;
202
+ readonly status: "release-candidate";
203
+ };
204
+ };
205
+ export declare const contractVersion: "1.0.0-rc.13";
@@ -0,0 +1,396 @@
1
+ /**
2
+ * Generated by `npm run contracts:generate`.
3
+ * Do not edit this file directly.
4
+ */
5
+ export const contractManifest = {
6
+ schema: "flowxo.contract-manifest.v1",
7
+ artifact: "@whooshbang/contracts",
8
+ version: "1.0.0-rc.13",
9
+ openapi: [
10
+ {
11
+ id: "whooshbang-rest-v1",
12
+ version: "1.0.0-rc.13",
13
+ path: "openapi/whooshbang-v1.yaml",
14
+ },
15
+ ],
16
+ schemas: [
17
+ {
18
+ id: "whooshbang-v1",
19
+ version: "1.0.0-rc.13",
20
+ path: "schemas/whooshbang-v1.schema.json",
21
+ },
22
+ {
23
+ id: "interaction-v1",
24
+ version: "1.0.0-rc.13",
25
+ path: "schemas/interaction-v1.schema.json",
26
+ },
27
+ {
28
+ id: "machine-v1",
29
+ version: "1.0.0-rc.13",
30
+ path: "schemas/machine-v1.schema.json",
31
+ },
32
+ {
33
+ id: "provider-capabilities-v1",
34
+ version: "1.0.0-rc.13",
35
+ path: "schemas/provider-capabilities-v1.schema.json",
36
+ },
37
+ {
38
+ id: "whooshbang-event-v1",
39
+ version: "1.0.0-rc.13",
40
+ path: "schemas/events/whooshbang-event-v1.schema.json",
41
+ },
42
+ {
43
+ id: "subscription-activated-event-v1",
44
+ version: "1.0.0-rc.13",
45
+ path: "schemas/events/subscription-activated-v1.schema.json",
46
+ },
47
+ {
48
+ id: "subscription-revoked-event-v1",
49
+ version: "1.0.0-rc.13",
50
+ path: "schemas/events/subscription-revoked-v1.schema.json",
51
+ },
52
+ {
53
+ id: "message-provider-accepted-event-v1",
54
+ version: "1.0.0-rc.13",
55
+ path: "schemas/events/message-provider-accepted-v1.schema.json",
56
+ },
57
+ {
58
+ id: "message-delivered-event-v1",
59
+ version: "1.0.0-rc.13",
60
+ path: "schemas/events/message-delivered-v1.schema.json",
61
+ },
62
+ {
63
+ id: "message-failed-event-v1",
64
+ version: "1.0.0-rc.13",
65
+ path: "schemas/events/message-failed-v1.schema.json",
66
+ },
67
+ {
68
+ id: "message-expired-event-v1",
69
+ version: "1.0.0-rc.13",
70
+ path: "schemas/events/message-expired-v1.schema.json",
71
+ },
72
+ {
73
+ id: "interaction-received-event-v1",
74
+ version: "1.0.0-rc.13",
75
+ path: "schemas/events/interaction-received-v1.schema.json",
76
+ },
77
+ {
78
+ id: "interaction-expired-event-v1",
79
+ version: "1.0.0-rc.13",
80
+ path: "schemas/events/interaction-expired-v1.schema.json",
81
+ },
82
+ {
83
+ id: "agent-binding-degraded-event-v1",
84
+ version: "1.0.0-rc.13",
85
+ path: "schemas/events/agent-binding-degraded-v1.schema.json",
86
+ },
87
+ {
88
+ id: "webhook-signing-vector-v1",
89
+ version: "1.0.0-rc.13",
90
+ path: "schemas/webhooks/webhook-signing-vector-v1.schema.json",
91
+ },
92
+ {
93
+ id: "webhook-delivery-case-v1",
94
+ version: "1.0.0-rc.13",
95
+ path: "schemas/webhooks/webhook-delivery-case-v1.schema.json",
96
+ },
97
+ {
98
+ id: "interaction-machine-scenario",
99
+ version: "1.0.0-rc.13",
100
+ path: "schemas/interaction-machine-scenario.schema.json",
101
+ },
102
+ {
103
+ id: "core-contract-scenario",
104
+ version: "1.0.0-rc.13",
105
+ path: "schemas/core-scenario.schema.json",
106
+ },
107
+ {
108
+ id: "core-fixture-index",
109
+ version: "1.0.0-rc.13",
110
+ path: "schemas/fixture-index.schema.json",
111
+ },
112
+ ],
113
+ fixture_sets: [
114
+ {
115
+ id: "core-api-bodies",
116
+ version: "1.0.0-rc.13",
117
+ schema: "schemas/whooshbang-v1.schema.json",
118
+ fixtures: [
119
+ "fixtures/core-v1/requests/create-project.json",
120
+ "fixtures/core-v1/success/account-projection.json",
121
+ "fixtures/core-v1/success/project-created.json",
122
+ "fixtures/core-v1/success/project-collection.json",
123
+ "fixtures/core-v1/requests/create-api-credential.json",
124
+ "fixtures/core-v1/requests/rotate-api-credential.json",
125
+ "fixtures/core-v1/success/api-credential-collection.json",
126
+ "fixtures/core-v1/success/api-credential-created.json",
127
+ "fixtures/core-v1/success/api-credential-rotated.json",
128
+ "fixtures/core-v1/success/api-credential-revoked.json",
129
+ "fixtures/core-v1/requests/create-customer-endpoint.json",
130
+ "fixtures/core-v1/requests/rotate-customer-endpoint.json",
131
+ "fixtures/core-v1/success/customer-endpoint-created.json",
132
+ "fixtures/core-v1/success/customer-endpoint-create-replayed.json",
133
+ "fixtures/core-v1/success/customer-endpoint-rotated.json",
134
+ "fixtures/core-v1/success/customer-endpoint-collection.json",
135
+ "fixtures/core-v1/success/customer-endpoint-attempts.json",
136
+ "fixtures/core-v1/requests/create-subscription-link.json",
137
+ "fixtures/core-v1/requests/create-message.json",
138
+ "fixtures/core-v1/success/subscription-link-pending.json",
139
+ "fixtures/core-v1/success/subscription-link-activated.json",
140
+ "fixtures/core-v1/success/subscription-link-paused.json",
141
+ "fixtures/core-v1/success/subscription-link-revoked.json",
142
+ "fixtures/core-v1/success/subscription-link-cancelled.json",
143
+ "fixtures/core-v1/success/message-accepted.json",
144
+ "fixtures/core-v1/success/message-provider-accepted.json",
145
+ "fixtures/core-v1/success/message-outcome-unknown.json",
146
+ "fixtures/core-v1/success/message-cancelled.json",
147
+ "fixtures/core-v1/success/message-cancellation-too-late.json",
148
+ "fixtures/core-v1/problems/authentication-required.json",
149
+ "fixtures/core-v1/problems/auth-invalid.json",
150
+ "fixtures/core-v1/problems/scope-forbidden.json",
151
+ "fixtures/core-v1/problems/environment-mismatch.json",
152
+ "fixtures/core-v1/problems/idempotency-key-required.json",
153
+ "fixtures/core-v1/problems/idempotency-conflict.json",
154
+ "fixtures/core-v1/problems/project-slug-conflict.json",
155
+ "fixtures/core-v1/problems/request-invalid.json",
156
+ "fixtures/core-v1/problems/replay-unavailable-not-terminal.json",
157
+ "fixtures/core-v1/problems/replay-unavailable-payload.json",
158
+ "fixtures/core-v1/problems/replay-unavailable-rollout.json",
159
+ "fixtures/core-v1/problems/subscriber-unbound.json",
160
+ "fixtures/core-v1/problems/resource-not-found.json",
161
+ "fixtures/core-v1/problems/resource-expired.json",
162
+ "fixtures/core-v1/problems/cancellation-too-late.json",
163
+ "fixtures/core-v1/problems/endpoint-rotation-conflict.json",
164
+ "fixtures/core-v1/problems/rate-limited.json",
165
+ "fixtures/core-v1/problems/provider-retryable.json",
166
+ "fixtures/core-v1/problems/provider-terminal.json",
167
+ "fixtures/core-v1/problems/provider-outcome-unknown.json",
168
+ ],
169
+ },
170
+ {
171
+ id: "core-semantic-scenarios",
172
+ version: "1.0.0-rc.13",
173
+ schema: "schemas/core-scenario.schema.json",
174
+ fixtures: [
175
+ "fixtures/core-v1/scenarios/project-create-equivalent-replay.json",
176
+ "fixtures/core-v1/scenarios/project-slug-conflict.json",
177
+ "fixtures/core-v1/scenarios/cross-account-project.json",
178
+ "fixtures/core-v1/scenarios/api-credential-one-time-reveal.json",
179
+ "fixtures/core-v1/scenarios/api-credential-rotation-overlap.json",
180
+ "fixtures/core-v1/scenarios/api-credential-revocation-replay.json",
181
+ "fixtures/core-v1/scenarios/api-credential-invalid-indistinguishable.json",
182
+ "fixtures/core-v1/scenarios/idempotency-equivalent-replay.json",
183
+ "fixtures/core-v1/scenarios/idempotency-conflict.json",
184
+ "fixtures/core-v1/scenarios/cross-project-resource.json",
185
+ "fixtures/core-v1/scenarios/environment-mismatch.json",
186
+ "fixtures/core-v1/scenarios/missing-scope.json",
187
+ "fixtures/core-v1/scenarios/malformed-bearer.json",
188
+ "fixtures/core-v1/scenarios/subscription-activation-replay.json",
189
+ "fixtures/core-v1/scenarios/subscription-expired-replay.json",
190
+ "fixtures/core-v1/scenarios/provider-outcome-unknown.json",
191
+ "fixtures/core-v1/scenarios/cancellation-too-late.json",
192
+ "fixtures/core-v1/scenarios/metadata-overrun.json",
193
+ ],
194
+ },
195
+ {
196
+ id: "interaction-message-api-bodies",
197
+ version: "1.0.0-rc.13",
198
+ schema: "schemas/whooshbang-v1.schema.json",
199
+ fixtures: [
200
+ "fixtures/interaction-machine-v1/requests/create-message-confirm.json",
201
+ "fixtures/interaction-machine-v1/requests/create-message-select.json",
202
+ "fixtures/interaction-machine-v1/requests/create-message-input.json",
203
+ "fixtures/interaction-machine-v1/success/message-interaction-open.json",
204
+ "fixtures/interaction-machine-v1/capabilities/providers.json",
205
+ ],
206
+ },
207
+ {
208
+ id: "interaction-contract-bodies",
209
+ version: "1.0.0-rc.13",
210
+ schema: "schemas/interaction-v1.schema.json",
211
+ fixtures: [
212
+ "fixtures/interaction-machine-v1/success/interaction-open.json",
213
+ "fixtures/interaction-machine-v1/success/interaction-answered-confirm.json",
214
+ "fixtures/interaction-machine-v1/success/interaction-answered-select.json",
215
+ "fixtures/interaction-machine-v1/success/interaction-answered-input.json",
216
+ "fixtures/interaction-machine-v1/success/interaction-answered-redacted.json",
217
+ "fixtures/interaction-machine-v1/events/confirm-answered.json",
218
+ "fixtures/interaction-machine-v1/events/select-answered.json",
219
+ "fixtures/interaction-machine-v1/events/input-answered.json",
220
+ "fixtures/interaction-machine-v1/events/input-redacted.json",
221
+ "fixtures/interaction-machine-v1/tokens/callback-token.json",
222
+ ],
223
+ },
224
+ {
225
+ id: "machine-api-bodies",
226
+ version: "1.0.0-rc.13",
227
+ schema: "schemas/machine-v1.schema.json",
228
+ fixtures: [
229
+ "fixtures/interaction-machine-v1/requests/create-machine-client.json",
230
+ "fixtures/interaction-machine-v1/requests/register-machine-credential.json",
231
+ "fixtures/interaction-machine-v1/requests/ack-processed.json",
232
+ "fixtures/interaction-machine-v1/requests/ack-quarantined.json",
233
+ "fixtures/interaction-machine-v1/success/machine-client-provisioning.json",
234
+ "fixtures/interaction-machine-v1/success/machine-client-active.json",
235
+ "fixtures/interaction-machine-v1/success/machine-client-revoked.json",
236
+ "fixtures/interaction-machine-v1/success/machine-credential-active.json",
237
+ "fixtures/interaction-machine-v1/success/machine-credential-revoked.json",
238
+ "fixtures/interaction-machine-v1/success/poll-events.json",
239
+ "fixtures/interaction-machine-v1/success/poll-empty.json",
240
+ "fixtures/interaction-machine-v1/success/ack-processed.json",
241
+ "fixtures/interaction-machine-v1/success/ack-out-of-order.json",
242
+ "fixtures/interaction-machine-v1/success/ack-quarantined.json",
243
+ ],
244
+ },
245
+ {
246
+ id: "provider-capability-bodies",
247
+ version: "1.0.0-rc.13",
248
+ schema: "schemas/provider-capabilities-v1.schema.json",
249
+ fixtures: ["fixtures/interaction-machine-v1/capabilities/telegram.json"],
250
+ },
251
+ {
252
+ id: "interaction-machine-semantic-scenarios",
253
+ version: "1.0.0-rc.13",
254
+ schema: "schemas/interaction-machine-scenario.schema.json",
255
+ fixtures: [
256
+ "fixtures/interaction-machine-v1/scenarios/interaction-duplicate.json",
257
+ "fixtures/interaction-machine-v1/scenarios/interaction-stale.json",
258
+ "fixtures/interaction-machine-v1/scenarios/interaction-expired.json",
259
+ "fixtures/interaction-machine-v1/scenarios/interaction-retired.json",
260
+ "fixtures/interaction-machine-v1/scenarios/interaction-mismatch.json",
261
+ "fixtures/interaction-machine-v1/scenarios/ambiguous-free-text.json",
262
+ "fixtures/interaction-machine-v1/scenarios/callback-token-opacity.json",
263
+ "fixtures/interaction-machine-v1/scenarios/credential-registration-replay.json",
264
+ "fixtures/interaction-machine-v1/scenarios/credential-registration-conflict.json",
265
+ "fixtures/interaction-machine-v1/scenarios/first-credential-activates.json",
266
+ "fixtures/interaction-machine-v1/scenarios/credential-revocation-replay.json",
267
+ "fixtures/interaction-machine-v1/scenarios/credential-rotation.json",
268
+ "fixtures/interaction-machine-v1/scenarios/machine-crash-before-ack.json",
269
+ "fixtures/interaction-machine-v1/scenarios/poll-uncommitted-cursor-rejected.json",
270
+ "fixtures/interaction-machine-v1/scenarios/ack-out-of-order.json",
271
+ "fixtures/interaction-machine-v1/scenarios/ack-replay.json",
272
+ "fixtures/interaction-machine-v1/scenarios/ack-conflict.json",
273
+ "fixtures/interaction-machine-v1/scenarios/ack-cross-machine.json",
274
+ "fixtures/interaction-machine-v1/scenarios/quarantine-valid.json",
275
+ "fixtures/interaction-machine-v1/scenarios/quarantine-integrity-rejected.json",
276
+ "fixtures/interaction-machine-v1/scenarios/quarantine-signature-rejected.json",
277
+ "fixtures/interaction-machine-v1/scenarios/machine-bound-message-create.json",
278
+ "fixtures/interaction-machine-v1/scenarios/machine-owned-message-read.json",
279
+ "fixtures/interaction-machine-v1/scenarios/machine-subscriber-mismatch.json",
280
+ "fixtures/interaction-machine-v1/scenarios/machine-notifier-mismatch.json",
281
+ "fixtures/interaction-machine-v1/scenarios/machine-other-message-read.json",
282
+ "fixtures/interaction-machine-v1/scenarios/machine-cancel-denied.json",
283
+ "fixtures/interaction-machine-v1/scenarios/machine-admin-denied.json",
284
+ "fixtures/interaction-machine-v1/scenarios/revoked-machine-credential.json",
285
+ "fixtures/interaction-machine-v1/scenarios/project-credential-machine-endpoint-denied.json",
286
+ ],
287
+ },
288
+ {
289
+ id: "customer-event-bodies",
290
+ version: "1.0.0-rc.13",
291
+ schema: "schemas/events/whooshbang-event-v1.schema.json",
292
+ fixtures: [
293
+ "fixtures/whooshbang-events-v1/events/subscription-activated.json",
294
+ "fixtures/whooshbang-events-v1/events/subscription-revoked.json",
295
+ "fixtures/whooshbang-events-v1/events/message-provider-accepted.json",
296
+ "fixtures/whooshbang-events-v1/events/message-delivered.json",
297
+ "fixtures/whooshbang-events-v1/events/message-failed.json",
298
+ "fixtures/whooshbang-events-v1/events/message-expired.json",
299
+ "fixtures/whooshbang-events-v1/events/interaction-received.json",
300
+ "fixtures/whooshbang-events-v1/events/interaction-expired.json",
301
+ "fixtures/whooshbang-events-v1/events/agent-binding-degraded.json",
302
+ ],
303
+ },
304
+ {
305
+ id: "webhook-signing-vectors",
306
+ version: "1.0.0-rc.13",
307
+ schema: "schemas/webhooks/webhook-signing-vector-v1.schema.json",
308
+ fixtures: ["fixtures/whooshbang-events-v1/signing/vectors.json"],
309
+ },
310
+ {
311
+ id: "webhook-delivery-cases",
312
+ version: "1.0.0-rc.13",
313
+ schema: "schemas/webhooks/webhook-delivery-case-v1.schema.json",
314
+ fixtures: ["fixtures/whooshbang-events-v1/delivery/cases.json"],
315
+ },
316
+ {
317
+ id: "core-fixture-index",
318
+ version: "1.0.0-rc.13",
319
+ schema: "schemas/fixture-index.schema.json",
320
+ fixtures: ["fixtures/core-v1/fixture-index.json"],
321
+ },
322
+ ],
323
+ generated: [
324
+ {
325
+ id: "whooshbang-openapi-v1-bundle",
326
+ source: "openapi/whooshbang-v1.yaml",
327
+ path: "openapi/generated/whooshbang-v1.bundle.json",
328
+ },
329
+ {
330
+ id: "whooshbang-v1-types",
331
+ source: "schemas/whooshbang-v1.schema.json",
332
+ path: "src/generated/whooshbang-v1.ts",
333
+ },
334
+ {
335
+ id: "interaction-v1-types",
336
+ source: "schemas/interaction-v1.schema.json",
337
+ path: "src/generated/interaction-v1.ts",
338
+ },
339
+ {
340
+ id: "machine-v1-types",
341
+ source: "schemas/machine-v1.schema.json",
342
+ path: "src/generated/machine-v1.ts",
343
+ },
344
+ {
345
+ id: "provider-capabilities-v1-types",
346
+ source: "schemas/provider-capabilities-v1.schema.json",
347
+ path: "src/generated/provider-capabilities-v1.ts",
348
+ },
349
+ {
350
+ id: "whooshbang-event-v1-types",
351
+ source: "schemas/events/whooshbang-event-v1.schema.json",
352
+ path: "src/generated/whooshbang-event-v1.ts",
353
+ },
354
+ {
355
+ id: "webhook-signing-vector-v1-types",
356
+ source: "schemas/webhooks/webhook-signing-vector-v1.schema.json",
357
+ path: "src/generated/webhook-signing-vector-v1.ts",
358
+ },
359
+ {
360
+ id: "webhook-delivery-case-v1-types",
361
+ source: "schemas/webhooks/webhook-delivery-case-v1.schema.json",
362
+ path: "src/generated/webhook-delivery-case-v1.ts",
363
+ },
364
+ {
365
+ id: "interaction-machine-scenario-types",
366
+ source: "schemas/interaction-machine-scenario.schema.json",
367
+ path: "src/generated/interaction-machine-scenario.ts",
368
+ },
369
+ {
370
+ id: "core-contract-scenario-types",
371
+ source: "schemas/core-scenario.schema.json",
372
+ path: "src/generated/core-scenario.ts",
373
+ },
374
+ {
375
+ id: "core-fixture-index-types",
376
+ source: "schemas/fixture-index.schema.json",
377
+ path: "src/generated/fixture-index.ts",
378
+ },
379
+ {
380
+ id: "whooshbang-v1-validators",
381
+ source: "schemas/whooshbang-v1.schema.json",
382
+ path: "src/generated/validators.ts",
383
+ },
384
+ {
385
+ id: "whooshbang-v1-standalone-validators",
386
+ source: "schemas/whooshbang-v1.schema.json",
387
+ path: "src/generated/validators-standalone.ts",
388
+ },
389
+ ],
390
+ compatibility: {
391
+ api_major: 1,
392
+ status: "release-candidate",
393
+ },
394
+ };
395
+ export const contractVersion = contractManifest.version;
396
+ //# sourceMappingURL=artifact-index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifact-index.js","sourceRoot":"","sources":["../../src/generated/artifact-index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,MAAM,EAAE,6BAA6B;IACrC,QAAQ,EAAE,uBAAuB;IACjC,OAAO,EAAE,aAAa;IACtB,OAAO,EAAE;QACP;YACE,EAAE,EAAE,oBAAoB;YACxB,OAAO,EAAE,aAAa;YACtB,IAAI,EAAE,4BAA4B;SACnC;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,eAAe;YACnB,OAAO,EAAE,aAAa;YACtB,IAAI,EAAE,mCAAmC;SAC1C;QACD;YACE,EAAE,EAAE,gBAAgB;YACpB,OAAO,EAAE,aAAa;YACtB,IAAI,EAAE,oCAAoC;SAC3C;QACD;YACE,EAAE,EAAE,YAAY;YAChB,OAAO,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