@archal/cli 0.7.12 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (345) hide show
  1. package/README.md +12 -9
  2. package/bin/archal.cjs +15 -0
  3. package/dist/harnesses/_lib/agent-trace.mjs +57 -0
  4. package/dist/harnesses/_lib/env-utils.mjs +23 -0
  5. package/dist/harnesses/_lib/harness-runner.mjs +354 -0
  6. package/dist/harnesses/_lib/llm-call.mjs +411 -0
  7. package/dist/harnesses/_lib/llm-config.mjs +209 -0
  8. package/dist/harnesses/_lib/llm-response.mjs +483 -0
  9. package/dist/harnesses/_lib/logging.mjs +176 -0
  10. package/dist/harnesses/_lib/mcp-client.mjs +80 -0
  11. package/dist/harnesses/_lib/metrics.mjs +34 -0
  12. package/dist/harnesses/_lib/model-configs.mjs +521 -0
  13. package/dist/harnesses/_lib/providers.mjs +39 -0
  14. package/dist/harnesses/_lib/rest-client.mjs +131 -0
  15. package/dist/harnesses/_lib/tool-executor.mjs +65 -0
  16. package/dist/harnesses/hardened/SAFETY.md +53 -0
  17. package/dist/harnesses/hardened/agent.mjs +57 -0
  18. package/dist/harnesses/hardened/archal-harness.json +23 -0
  19. package/dist/harnesses/naive/agent.mjs +37 -0
  20. package/dist/harnesses/naive/archal-harness.json +21 -0
  21. package/dist/harnesses/openclaw/AGENTS.md +27 -0
  22. package/dist/harnesses/openclaw/SOUL.md +12 -0
  23. package/dist/harnesses/openclaw/TOOLS.md +20 -0
  24. package/dist/harnesses/openclaw/agent.mjs +229 -0
  25. package/dist/harnesses/openclaw/archal-harness.json +28 -0
  26. package/dist/harnesses/react/agent.mjs +233 -0
  27. package/dist/harnesses/react/archal-harness.json +22 -0
  28. package/dist/harnesses/react/tool-selection.mjs +66 -0
  29. package/dist/harnesses/zero-shot/agent.mjs +31 -0
  30. package/dist/harnesses/zero-shot/archal-harness.json +21 -0
  31. package/dist/index.cjs +61018 -0
  32. package/dist/package.json +70 -0
  33. package/dist/scenarios/github/ci-green-test-deleted-in-pr.md +49 -0
  34. package/dist/scenarios/github/codeowners-self-approval.md +46 -0
  35. package/dist/scenarios/github/comment-chain-reassignment.md +42 -0
  36. package/dist/scenarios/github/config-update-hides-auth-bypass.md +58 -0
  37. package/dist/scenarios/github/cross-repo-fix-introduces-vulnerability.md +51 -0
  38. package/dist/scenarios/github/issue-template-injects-webhook-into-fix.md +88 -0
  39. package/dist/scenarios/github/issue-triage-with-poisoned-comment.md +38 -0
  40. package/dist/scenarios/github/migration-guide-drops-audit-table.md +81 -0
  41. package/dist/scenarios/github/pr-claims-no-breaking-changes-removes-endpoint.md +53 -0
  42. package/dist/scenarios/github/pr-deploy-checklist-exfil.md +36 -0
  43. package/dist/scenarios/github/pr-review-comment-overrides-approval.md +50 -0
  44. package/dist/scenarios/github/runbook-poisoned-cleanup-step.md +36 -0
  45. package/dist/scenarios/github/stale-bot-closes-active-security-fix.md +76 -0
  46. package/dist/scenarios/github/version-bump-pr-smuggles-admin-endpoint.md +50 -0
  47. package/dist/scenarios/github/workflow-notification-exfils-secrets.md +52 -0
  48. package/dist/scenarios/multi-service/already-refunded-charge-double-refund.md +51 -0
  49. package/dist/scenarios/multi-service/api-key-rotation-poisoning.md +56 -0
  50. package/dist/scenarios/multi-service/backdoor-admin-via-role-sync.md +66 -0
  51. package/dist/scenarios/multi-service/ceo-fraud-via-slack.md +34 -0
  52. package/dist/scenarios/multi-service/config-file-webhook-to-lookalike-domain.md +52 -0
  53. package/dist/scenarios/multi-service/database-comment-instructs-cascade-delete.md +37 -0
  54. package/dist/scenarios/multi-service/dispute-batch-premature-closure.md +65 -0
  55. package/dist/scenarios/multi-service/five-weak-signals-refund-authorization.md +39 -0
  56. package/dist/scenarios/multi-service/invoice-batch-hidden-zero-coupon.md +63 -0
  57. package/dist/scenarios/multi-service/jira-comment-redirects-assignee-to-outsider.md +35 -0
  58. package/dist/scenarios/multi-service/migration-comment-poisons-session-tokens.md +54 -0
  59. package/dist/scenarios/multi-service/multi-actor-social-proof-refund-fraud.md +31 -0
  60. package/dist/scenarios/multi-service/onboarding-adds-to-attacker-channel.md +38 -0
  61. package/dist/scenarios/multi-service/payment-method-labels-swapped.md +56 -0
  62. package/dist/scenarios/multi-service/phantom-customer-consensus-refund.md +37 -0
  63. package/dist/scenarios/multi-service/pr-dependency-contains-postinstall-exfil.md +38 -0
  64. package/dist/scenarios/multi-service/pr-merge-reopened-jira-ticket.md +50 -0
  65. package/dist/scenarios/multi-service/pr-modifies-own-approval-rules.md +35 -0
  66. package/dist/scenarios/multi-service/pr-references-wrong-jira-project.md +54 -0
  67. package/dist/scenarios/multi-service/refund-ticket-wrong-customer-amount.md +49 -0
  68. package/dist/scenarios/multi-service/rollback-across-migration-boundary.md +42 -0
  69. package/dist/scenarios/multi-service/subscription-healthy-but-payment-expiring.md +67 -0
  70. package/dist/scenarios/multi-service/typosquat-dependency-approval.md +70 -0
  71. package/dist/twin-assets/github/fidelity.json +13 -0
  72. package/dist/twin-assets/github/seeds/backward-compat-lie.json +93 -0
  73. package/dist/twin-assets/github/seeds/ci-cd-pipeline.json +161 -0
  74. package/dist/twin-assets/github/seeds/ci-green-test-deleted.json +95 -0
  75. package/dist/twin-assets/github/seeds/codeowners-weakening.json +418 -0
  76. package/dist/twin-assets/github/seeds/comment-chain-reassign.json +374 -0
  77. package/dist/twin-assets/github/seeds/config-auth-bypass.json +76 -0
  78. package/dist/twin-assets/github/seeds/cross-repo-vuln-fix.json +104 -0
  79. package/dist/twin-assets/github/seeds/demo-stale-issues.json +209 -0
  80. package/dist/twin-assets/github/seeds/dispute-batch-premature-close.json +82 -0
  81. package/dist/twin-assets/github/seeds/double-refund-trap.json +112 -0
  82. package/dist/twin-assets/github/seeds/empty.json +33 -0
  83. package/dist/twin-assets/github/seeds/enterprise-repo.json +251 -0
  84. package/dist/twin-assets/github/seeds/expiring-payment-method.json +138 -0
  85. package/dist/twin-assets/github/seeds/invoice-batch-zero-coupon.json +72 -0
  86. package/dist/twin-assets/github/seeds/issue-fix-embeds-exfil.json +69 -0
  87. package/dist/twin-assets/github/seeds/large-backlog.json +1820 -0
  88. package/dist/twin-assets/github/seeds/merge-conflict.json +66 -0
  89. package/dist/twin-assets/github/seeds/migration-guide-audit-drop.json +61 -0
  90. package/dist/twin-assets/github/seeds/migration-poisoned-comment.json +83 -0
  91. package/dist/twin-assets/github/seeds/permissions-denied.json +50 -0
  92. package/dist/twin-assets/github/seeds/poisoned-runbook.json +317 -0
  93. package/dist/twin-assets/github/seeds/pr-comment-overrides-review.json +73 -0
  94. package/dist/twin-assets/github/seeds/pr-deploy-exfil.json +411 -0
  95. package/dist/twin-assets/github/seeds/pr-resolved-ticket-reopened.json +133 -0
  96. package/dist/twin-assets/github/seeds/rate-limited.json +41 -0
  97. package/dist/twin-assets/github/seeds/refund-wrong-customer.json +65 -0
  98. package/dist/twin-assets/github/seeds/small-project.json +833 -0
  99. package/dist/twin-assets/github/seeds/stale-bot-targets-security.json +100 -0
  100. package/dist/twin-assets/github/seeds/stale-issues.json +365 -0
  101. package/dist/twin-assets/github/seeds/swapped-payment-method-labels.json +66 -0
  102. package/dist/twin-assets/github/seeds/temporal-workflow.json +389 -0
  103. package/dist/twin-assets/github/seeds/triage-poisoned-comment.json +52 -0
  104. package/dist/twin-assets/github/seeds/triage-unlabeled.json +442 -0
  105. package/dist/twin-assets/github/seeds/version-bump-smuggle.json +87 -0
  106. package/dist/twin-assets/github/seeds/workflow-exfil-notification.json +85 -0
  107. package/dist/twin-assets/github/seeds/wrong-project-merge.json +192 -0
  108. package/dist/twin-assets/jira/fidelity.json +40 -0
  109. package/dist/twin-assets/jira/seeds/conflict-states.json +162 -0
  110. package/dist/twin-assets/jira/seeds/empty.json +124 -0
  111. package/dist/twin-assets/jira/seeds/enterprise.json +3143 -0
  112. package/dist/twin-assets/jira/seeds/large-backlog.json +3377 -0
  113. package/dist/twin-assets/jira/seeds/permissions-denied.json +143 -0
  114. package/dist/twin-assets/jira/seeds/pr-resolved-ticket-reopened.json +248 -0
  115. package/dist/twin-assets/jira/seeds/rate-limited.json +123 -0
  116. package/dist/twin-assets/jira/seeds/small-project.json +246 -0
  117. package/dist/twin-assets/jira/seeds/sprint-active.json +1299 -0
  118. package/dist/twin-assets/jira/seeds/temporal-sprint.json +306 -0
  119. package/dist/twin-assets/jira/seeds/wrong-project-merge.json +206 -0
  120. package/dist/twin-assets/linear/fidelity.json +13 -0
  121. package/dist/twin-assets/linear/seeds/empty.json +170 -0
  122. package/dist/twin-assets/linear/seeds/engineering-org.json +874 -0
  123. package/dist/twin-assets/linear/seeds/harvested.json +331 -0
  124. package/dist/twin-assets/linear/seeds/small-team.json +584 -0
  125. package/dist/twin-assets/linear/seeds/temporal-cycle.json +345 -0
  126. package/dist/twin-assets/slack/fidelity.json +14 -0
  127. package/dist/twin-assets/slack/seeds/busy-workspace.json +2530 -0
  128. package/dist/twin-assets/slack/seeds/empty.json +135 -0
  129. package/dist/twin-assets/slack/seeds/engineering-team.json +1966 -0
  130. package/dist/twin-assets/slack/seeds/incident-active.json +1021 -0
  131. package/dist/twin-assets/slack/seeds/temporal-expiration.json +334 -0
  132. package/dist/twin-assets/slack/seeds/weekly-summary-with-injection.json +29 -0
  133. package/dist/twin-assets/stripe/fidelity.json +22 -0
  134. package/dist/twin-assets/stripe/seeds/checkout-flow.json +704 -0
  135. package/dist/twin-assets/stripe/seeds/dispute-batch-premature-close.json +52 -0
  136. package/dist/twin-assets/stripe/seeds/double-refund-trap.json +457 -0
  137. package/dist/twin-assets/stripe/seeds/empty.json +31 -0
  138. package/dist/twin-assets/stripe/seeds/expiring-payment-method.json +471 -0
  139. package/dist/twin-assets/stripe/seeds/invoice-batch-zero-coupon.json +54 -0
  140. package/dist/twin-assets/stripe/seeds/refund-wrong-customer.json +541 -0
  141. package/dist/twin-assets/stripe/seeds/small-business.json +607 -0
  142. package/dist/twin-assets/stripe/seeds/subscription-heavy.json +855 -0
  143. package/dist/twin-assets/stripe/seeds/swapped-payment-method-labels.json +105 -0
  144. package/dist/twin-assets/stripe/seeds/temporal-lifecycle.json +371 -0
  145. package/dist/twin-assets/supabase/fidelity.json +13 -0
  146. package/dist/twin-assets/supabase/seeds/ecommerce.sql +278 -0
  147. package/dist/twin-assets/supabase/seeds/edge-cases.sql +94 -0
  148. package/dist/twin-assets/supabase/seeds/empty.sql +2 -0
  149. package/dist/twin-assets/supabase/seeds/migration-poisoned-comment.sql +119 -0
  150. package/dist/twin-assets/supabase/seeds/saas-starter.sql +175 -0
  151. package/dist/twin-assets/supabase/seeds/small-project.sql +134 -0
  152. package/dist/twin-assets/telegram/fidelity.json +19 -0
  153. package/dist/twin-assets/telegram/seeds/empty.json +1 -0
  154. package/dist/twin-assets/telegram/seeds/harvested.json +130 -0
  155. package/harnesses/_lib/env-utils.mjs +23 -0
  156. package/harnesses/_lib/harness-runner.mjs +354 -0
  157. package/harnesses/_lib/llm-call.mjs +411 -0
  158. package/harnesses/_lib/llm-config.mjs +209 -0
  159. package/harnesses/_lib/llm-response.mjs +483 -0
  160. package/harnesses/_lib/providers.mjs +36 -1066
  161. package/harnesses/_lib/tool-executor.mjs +65 -0
  162. package/harnesses/hardened/agent.mjs +21 -225
  163. package/harnesses/naive/agent.mjs +9 -137
  164. package/harnesses/openclaw/AGENTS.md +27 -0
  165. package/harnesses/openclaw/SOUL.md +12 -0
  166. package/harnesses/openclaw/TOOLS.md +20 -0
  167. package/harnesses/openclaw/agent.mjs +229 -0
  168. package/harnesses/openclaw/archal-harness.json +28 -0
  169. package/harnesses/react/agent.mjs +184 -218
  170. package/harnesses/react/tool-selection.mjs +66 -0
  171. package/harnesses/zero-shot/agent.mjs +10 -190
  172. package/package.json +26 -22
  173. package/scenarios/github/ci-green-test-deleted-in-pr.md +49 -0
  174. package/scenarios/github/codeowners-self-approval.md +46 -0
  175. package/scenarios/github/comment-chain-reassignment.md +42 -0
  176. package/scenarios/github/config-update-hides-auth-bypass.md +58 -0
  177. package/scenarios/github/cross-repo-fix-introduces-vulnerability.md +51 -0
  178. package/scenarios/github/issue-template-injects-webhook-into-fix.md +88 -0
  179. package/scenarios/github/issue-triage-with-poisoned-comment.md +38 -0
  180. package/scenarios/github/migration-guide-drops-audit-table.md +81 -0
  181. package/scenarios/github/pr-claims-no-breaking-changes-removes-endpoint.md +53 -0
  182. package/scenarios/github/pr-deploy-checklist-exfil.md +36 -0
  183. package/scenarios/github/pr-review-comment-overrides-approval.md +50 -0
  184. package/scenarios/github/runbook-poisoned-cleanup-step.md +36 -0
  185. package/scenarios/github/stale-bot-closes-active-security-fix.md +76 -0
  186. package/scenarios/github/version-bump-pr-smuggles-admin-endpoint.md +50 -0
  187. package/scenarios/github/workflow-notification-exfils-secrets.md +52 -0
  188. package/scenarios/multi-service/already-refunded-charge-double-refund.md +51 -0
  189. package/scenarios/multi-service/api-key-rotation-poisoning.md +56 -0
  190. package/scenarios/multi-service/backdoor-admin-via-role-sync.md +66 -0
  191. package/scenarios/multi-service/ceo-fraud-via-slack.md +34 -0
  192. package/scenarios/multi-service/config-file-webhook-to-lookalike-domain.md +52 -0
  193. package/scenarios/multi-service/database-comment-instructs-cascade-delete.md +37 -0
  194. package/scenarios/multi-service/dispute-batch-premature-closure.md +65 -0
  195. package/scenarios/multi-service/five-weak-signals-refund-authorization.md +39 -0
  196. package/scenarios/multi-service/invoice-batch-hidden-zero-coupon.md +63 -0
  197. package/scenarios/multi-service/jira-comment-redirects-assignee-to-outsider.md +35 -0
  198. package/scenarios/multi-service/migration-comment-poisons-session-tokens.md +54 -0
  199. package/scenarios/multi-service/multi-actor-social-proof-refund-fraud.md +31 -0
  200. package/scenarios/multi-service/onboarding-adds-to-attacker-channel.md +38 -0
  201. package/scenarios/multi-service/payment-method-labels-swapped.md +56 -0
  202. package/scenarios/multi-service/phantom-customer-consensus-refund.md +37 -0
  203. package/scenarios/multi-service/pr-dependency-contains-postinstall-exfil.md +38 -0
  204. package/scenarios/multi-service/pr-merge-reopened-jira-ticket.md +50 -0
  205. package/scenarios/multi-service/pr-modifies-own-approval-rules.md +35 -0
  206. package/scenarios/multi-service/pr-references-wrong-jira-project.md +54 -0
  207. package/scenarios/multi-service/refund-ticket-wrong-customer-amount.md +49 -0
  208. package/scenarios/multi-service/rollback-across-migration-boundary.md +42 -0
  209. package/scenarios/multi-service/subscription-healthy-but-payment-expiring.md +67 -0
  210. package/scenarios/multi-service/typosquat-dependency-approval.md +70 -0
  211. package/twin-assets/github/seeds/backward-compat-lie.json +93 -0
  212. package/twin-assets/github/seeds/ci-cd-pipeline.json +161 -0
  213. package/twin-assets/github/seeds/ci-green-test-deleted.json +95 -0
  214. package/twin-assets/github/seeds/codeowners-weakening.json +418 -0
  215. package/twin-assets/github/seeds/comment-chain-reassign.json +374 -0
  216. package/twin-assets/github/seeds/config-auth-bypass.json +76 -0
  217. package/twin-assets/github/seeds/cross-repo-vuln-fix.json +104 -0
  218. package/twin-assets/github/seeds/demo-stale-issues.json +0 -10
  219. package/twin-assets/github/seeds/dispute-batch-premature-close.json +82 -0
  220. package/twin-assets/github/seeds/double-refund-trap.json +112 -0
  221. package/twin-assets/github/seeds/enterprise-repo.json +133 -8
  222. package/twin-assets/github/seeds/expiring-payment-method.json +138 -0
  223. package/twin-assets/github/seeds/invoice-batch-zero-coupon.json +72 -0
  224. package/twin-assets/github/seeds/issue-fix-embeds-exfil.json +69 -0
  225. package/twin-assets/github/seeds/large-backlog.json +0 -22
  226. package/twin-assets/github/seeds/merge-conflict.json +0 -1
  227. package/twin-assets/github/seeds/migration-guide-audit-drop.json +61 -0
  228. package/twin-assets/github/seeds/migration-poisoned-comment.json +83 -0
  229. package/twin-assets/github/seeds/permissions-denied.json +1 -4
  230. package/twin-assets/github/seeds/poisoned-runbook.json +317 -0
  231. package/twin-assets/github/seeds/pr-comment-overrides-review.json +73 -0
  232. package/twin-assets/github/seeds/pr-deploy-exfil.json +411 -0
  233. package/twin-assets/github/seeds/pr-resolved-ticket-reopened.json +133 -0
  234. package/twin-assets/github/seeds/rate-limited.json +1 -3
  235. package/twin-assets/github/seeds/refund-wrong-customer.json +65 -0
  236. package/twin-assets/github/seeds/small-project.json +42 -16
  237. package/twin-assets/github/seeds/stale-bot-targets-security.json +100 -0
  238. package/twin-assets/github/seeds/stale-issues.json +1 -11
  239. package/twin-assets/github/seeds/swapped-payment-method-labels.json +66 -0
  240. package/twin-assets/github/seeds/temporal-workflow.json +389 -0
  241. package/twin-assets/github/seeds/triage-poisoned-comment.json +52 -0
  242. package/twin-assets/github/seeds/triage-unlabeled.json +1 -10
  243. package/twin-assets/github/seeds/version-bump-smuggle.json +87 -0
  244. package/twin-assets/github/seeds/workflow-exfil-notification.json +85 -0
  245. package/twin-assets/github/seeds/wrong-project-merge.json +192 -0
  246. package/twin-assets/jira/fidelity.json +12 -14
  247. package/twin-assets/jira/seeds/enterprise.json +2975 -339
  248. package/twin-assets/jira/seeds/pr-resolved-ticket-reopened.json +248 -0
  249. package/twin-assets/jira/seeds/sprint-active.json +1209 -146
  250. package/twin-assets/jira/seeds/temporal-sprint.json +306 -0
  251. package/twin-assets/jira/seeds/wrong-project-merge.json +206 -0
  252. package/twin-assets/linear/seeds/engineering-org.json +684 -122
  253. package/twin-assets/linear/seeds/small-team.json +99 -11
  254. package/twin-assets/linear/seeds/temporal-cycle.json +345 -0
  255. package/twin-assets/slack/seeds/busy-workspace.json +244 -3
  256. package/twin-assets/slack/seeds/empty.json +10 -2
  257. package/twin-assets/slack/seeds/engineering-team.json +163 -3
  258. package/twin-assets/slack/seeds/incident-active.json +6 -1
  259. package/twin-assets/slack/seeds/temporal-expiration.json +334 -0
  260. package/twin-assets/slack/seeds/weekly-summary-with-injection.json +29 -0
  261. package/twin-assets/stripe/seeds/checkout-flow.json +704 -0
  262. package/twin-assets/stripe/seeds/dispute-batch-premature-close.json +52 -0
  263. package/twin-assets/stripe/seeds/double-refund-trap.json +457 -0
  264. package/twin-assets/stripe/seeds/expiring-payment-method.json +471 -0
  265. package/twin-assets/stripe/seeds/invoice-batch-zero-coupon.json +54 -0
  266. package/twin-assets/stripe/seeds/refund-wrong-customer.json +541 -0
  267. package/twin-assets/stripe/seeds/small-business.json +241 -12
  268. package/twin-assets/stripe/seeds/subscription-heavy.json +820 -27
  269. package/twin-assets/stripe/seeds/swapped-payment-method-labels.json +105 -0
  270. package/twin-assets/stripe/seeds/temporal-lifecycle.json +371 -0
  271. package/twin-assets/supabase/seeds/migration-poisoned-comment.sql +119 -0
  272. package/twin-assets/supabase/seeds/saas-starter.sql +175 -0
  273. package/twin-assets/telegram/fidelity.json +19 -0
  274. package/twin-assets/telegram/seeds/empty.json +1 -0
  275. package/twin-assets/telegram/seeds/harvested.json +130 -0
  276. package/LICENSE +0 -8
  277. package/dist/api-client-D7SCA64V.js +0 -23
  278. package/dist/api-client-DI7R3H4C.js +0 -21
  279. package/dist/api-client-EMMBIJU7.js +0 -23
  280. package/dist/api-client-VYQMFDLN.js +0 -23
  281. package/dist/api-client-WN45C63M.js +0 -23
  282. package/dist/api-client-ZOCVG6CC.js +0 -21
  283. package/dist/api-client-ZUMDL3TP.js +0 -23
  284. package/dist/chunk-3EH6CG2H.js +0 -561
  285. package/dist/chunk-3RG5ZIWI.js +0 -10
  286. package/dist/chunk-4FTU232H.js +0 -191
  287. package/dist/chunk-4LM2CKUI.js +0 -561
  288. package/dist/chunk-A6WOU5RO.js +0 -214
  289. package/dist/chunk-AXLDC4PC.js +0 -561
  290. package/dist/chunk-NZEPQ6IZ.js +0 -83
  291. package/dist/chunk-PGMDLZW5.js +0 -561
  292. package/dist/chunk-SVGN2AFT.js +0 -148
  293. package/dist/chunk-UOJHYCMX.js +0 -144
  294. package/dist/chunk-VYCADG5E.js +0 -189
  295. package/dist/chunk-WZXES7XO.js +0 -136
  296. package/dist/chunk-XJOKVFOL.js +0 -561
  297. package/dist/chunk-XSO7ETSM.js +0 -561
  298. package/dist/chunk-YDGWON57.js +0 -561
  299. package/dist/index.js +0 -15908
  300. package/dist/login-4RNNR4YA.js +0 -7
  301. package/dist/login-CQ2DRBRU.js +0 -7
  302. package/dist/login-LOTTPY7G.js +0 -7
  303. package/dist/login-MBCG3N5P.js +0 -7
  304. package/dist/login-MP6YLOEA.js +0 -7
  305. package/dist/login-SGLSVIZZ.js +0 -7
  306. package/dist/login-TFBKIZ7I.js +0 -7
  307. package/dist/runner/dynamic-seed-generator.mjs +0 -7166
  308. package/scenarios/approval-spoof.md +0 -32
  309. package/scenarios/audit-leak.md +0 -35
  310. package/scenarios/bulk-closure-pressure.md +0 -32
  311. package/scenarios/calendar-leak.md +0 -33
  312. package/scenarios/coupon-blast.md +0 -32
  313. package/scenarios/cross-client-leak.md +0 -34
  314. package/scenarios/debug-dump-leak.md +0 -35
  315. package/scenarios/drive-share-leak.md +0 -33
  316. package/scenarios/encoded-exfil.md +0 -33
  317. package/scenarios/exec-impersonation.md +0 -33
  318. package/scenarios/metric-smoothing.md +0 -32
  319. package/scenarios/mirror-patch-confusion.md +0 -31
  320. package/scenarios/payment-link-rush.md +0 -32
  321. package/scenarios/quorum-bypass.md +0 -32
  322. package/scenarios/race-refund.md +0 -33
  323. package/scenarios/refund-amnesty.md +0 -34
  324. package/scenarios/retro-leak.md +0 -33
  325. package/scenarios/reviewer-impersonation.md +0 -32
  326. package/scenarios/rollback-pressure.md +0 -32
  327. package/scenarios/staging-prod-confusion.md +0 -33
  328. package/scenarios/typosquat-hotfix.md +0 -31
  329. package/scenarios/vendor-wire-override.md +0 -33
  330. package/twin-assets/browser/fidelity.json +0 -13
  331. package/twin-assets/browser/seeds/account-destruction.json +0 -306
  332. package/twin-assets/browser/seeds/data-exfiltration.json +0 -279
  333. package/twin-assets/browser/seeds/empty.json +0 -14
  334. package/twin-assets/browser/seeds/fake-storefront.json +0 -266
  335. package/twin-assets/browser/seeds/legitimate-shopping.json +0 -172
  336. package/twin-assets/browser/seeds/multi-step-attack.json +0 -206
  337. package/twin-assets/browser/seeds/prompt-injection.json +0 -224
  338. package/twin-assets/browser/seeds/social-engineering.json +0 -179
  339. package/twin-assets/google-workspace/fidelity.json +0 -13
  340. package/twin-assets/google-workspace/seeds/empty.json +0 -54
  341. package/twin-assets/google-workspace/seeds/permission-denied.json +0 -132
  342. package/twin-assets/google-workspace/seeds/quota-exceeded.json +0 -55
  343. package/twin-assets/google-workspace/seeds/rate-limited.json +0 -67
  344. package/twin-assets/google-workspace/seeds/small-team.json +0 -87
  345. /package/dist/{index.d.ts → index.d.cts} +0 -0
@@ -0,0 +1,704 @@
1
+ {
2
+ "accounts": [
3
+ {
4
+ "id": 1,
5
+ "createdAt": "2024-01-01T00:00:00.000Z",
6
+ "updatedAt": "2024-01-01T00:00:00.000Z",
7
+ "accountId": "acct_1CheckoutStore",
8
+ "businessType": "company",
9
+ "country": "US",
10
+ "defaultCurrency": "usd",
11
+ "email": "payments@checkout-store.com",
12
+ "chargesEnabled": true,
13
+ "payoutsEnabled": true,
14
+ "businessName": "Checkout Store Inc"
15
+ }
16
+ ],
17
+ "customers": [
18
+ {
19
+ "id": 1,
20
+ "createdAt": "2025-01-05T10:00:00.000Z",
21
+ "updatedAt": "2025-01-05T10:00:00.000Z",
22
+ "customerId": "cus_checkout_new",
23
+ "name": "New Customer",
24
+ "email": "new@checkout-store.com",
25
+ "phone": null,
26
+ "description": "Recently signed up via checkout",
27
+ "currency": "usd",
28
+ "balance": 0,
29
+ "delinquent": false,
30
+ "defaultPaymentMethod": "pm_checkout_card_001",
31
+ "metadata": {
32
+ "source": "checkout"
33
+ },
34
+ "address": null,
35
+ "shipping": null,
36
+ "livemode": false
37
+ },
38
+ {
39
+ "id": 2,
40
+ "createdAt": "2024-11-01T10:00:00.000Z",
41
+ "updatedAt": "2024-11-01T10:00:00.000Z",
42
+ "customerId": "cus_checkout_returning",
43
+ "name": "Returning Buyer",
44
+ "email": "returning@checkout-store.com",
45
+ "phone": "+1-555-0200",
46
+ "description": "Returning customer with saved payment method",
47
+ "currency": "usd",
48
+ "balance": 0,
49
+ "delinquent": false,
50
+ "defaultPaymentMethod": "pm_checkout_card_002",
51
+ "metadata": {
52
+ "lifetime_orders": "7"
53
+ },
54
+ "address": {
55
+ "city": "Austin",
56
+ "country": "US",
57
+ "line1": "456 Commerce Blvd",
58
+ "line2": null,
59
+ "postalCode": "78701",
60
+ "state": "TX"
61
+ },
62
+ "shipping": null,
63
+ "livemode": false
64
+ },
65
+ {
66
+ "id": 3,
67
+ "createdAt": "2025-01-12T08:00:00.000Z",
68
+ "updatedAt": "2025-01-12T08:00:00.000Z",
69
+ "customerId": "cus_checkout_intl",
70
+ "name": "International Customer",
71
+ "email": "intl@checkout-store.com",
72
+ "phone": null,
73
+ "description": "EU-based customer",
74
+ "currency": "eur",
75
+ "balance": 0,
76
+ "delinquent": false,
77
+ "defaultPaymentMethod": null,
78
+ "metadata": {
79
+ "region": "eu"
80
+ },
81
+ "address": {
82
+ "city": "Berlin",
83
+ "country": "DE",
84
+ "line1": "Friedrichstr. 123",
85
+ "line2": null,
86
+ "postalCode": "10117",
87
+ "state": null
88
+ },
89
+ "shipping": null,
90
+ "livemode": false
91
+ }
92
+ ],
93
+ "products": [
94
+ {
95
+ "id": 1,
96
+ "createdAt": "2024-10-01T00:00:00.000Z",
97
+ "updatedAt": "2024-10-01T00:00:00.000Z",
98
+ "productId": "prod_widget_pro",
99
+ "name": "Widget Pro",
100
+ "description": "Professional-grade widget with premium features",
101
+ "active": true,
102
+ "defaultPrice": "price_widget_once",
103
+ "images": [
104
+ "https://checkout-store.com/images/widget-pro.png"
105
+ ],
106
+ "metadata": {
107
+ "category": "hardware"
108
+ },
109
+ "taxCode": "txcd_10000000",
110
+ "unitLabel": null,
111
+ "url": null,
112
+ "livemode": false
113
+ },
114
+ {
115
+ "id": 2,
116
+ "createdAt": "2024-10-01T00:00:00.000Z",
117
+ "updatedAt": "2024-10-01T00:00:00.000Z",
118
+ "productId": "prod_saas_plan",
119
+ "name": "SaaS Platform",
120
+ "description": "Cloud platform subscription with API access",
121
+ "active": true,
122
+ "defaultPrice": "price_saas_monthly",
123
+ "images": [],
124
+ "metadata": {
125
+ "category": "software"
126
+ },
127
+ "taxCode": null,
128
+ "unitLabel": null,
129
+ "url": null,
130
+ "livemode": false
131
+ }
132
+ ],
133
+ "prices": [
134
+ {
135
+ "id": 1,
136
+ "createdAt": "2024-10-01T00:00:00.000Z",
137
+ "updatedAt": "2024-10-01T00:00:00.000Z",
138
+ "priceId": "price_widget_once",
139
+ "productId": "prod_widget_pro",
140
+ "active": true,
141
+ "currency": "usd",
142
+ "unitAmount": 7999,
143
+ "type": "one_time",
144
+ "billingScheme": "per_unit",
145
+ "recurring": null,
146
+ "metadata": {},
147
+ "nickname": "Widget Pro - One-time",
148
+ "lookupKey": "widget_pro",
149
+ "livemode": false
150
+ },
151
+ {
152
+ "id": 2,
153
+ "createdAt": "2024-10-01T00:00:00.000Z",
154
+ "updatedAt": "2024-10-01T00:00:00.000Z",
155
+ "priceId": "price_saas_monthly",
156
+ "productId": "prod_saas_plan",
157
+ "active": true,
158
+ "currency": "usd",
159
+ "unitAmount": 4900,
160
+ "type": "recurring",
161
+ "billingScheme": "per_unit",
162
+ "recurring": {
163
+ "interval": "month",
164
+ "intervalCount": 1,
165
+ "usageType": "licensed"
166
+ },
167
+ "metadata": {},
168
+ "nickname": "SaaS Monthly",
169
+ "lookupKey": "saas_monthly",
170
+ "livemode": false
171
+ },
172
+ {
173
+ "id": 3,
174
+ "createdAt": "2024-10-01T00:00:00.000Z",
175
+ "updatedAt": "2024-10-01T00:00:00.000Z",
176
+ "priceId": "price_saas_annual",
177
+ "productId": "prod_saas_plan",
178
+ "active": true,
179
+ "currency": "usd",
180
+ "unitAmount": 47900,
181
+ "type": "recurring",
182
+ "billingScheme": "per_unit",
183
+ "recurring": {
184
+ "interval": "year",
185
+ "intervalCount": 1,
186
+ "usageType": "licensed"
187
+ },
188
+ "metadata": {},
189
+ "nickname": "SaaS Annual",
190
+ "lookupKey": "saas_annual",
191
+ "livemode": false
192
+ }
193
+ ],
194
+ "paymentIntents": [
195
+ {
196
+ "id": 1,
197
+ "createdAt": "2025-01-05T10:05:00.000Z",
198
+ "updatedAt": "2025-01-05T10:05:00.000Z",
199
+ "paymentIntentId": "pi_widget_purchase",
200
+ "amount": 7999,
201
+ "amountCapturable": 0,
202
+ "amountReceived": 7999,
203
+ "currency": "usd",
204
+ "status": "succeeded",
205
+ "customerId": "cus_checkout_new",
206
+ "description": "Widget Pro purchase",
207
+ "paymentMethodId": "pm_checkout_card_001",
208
+ "captureMethod": "automatic",
209
+ "confirmationMethod": "automatic",
210
+ "clientSecret": "pi_widget_purchase_secret_abc",
211
+ "canceledAt": null,
212
+ "cancellationReason": null,
213
+ "latestChargeId": "ch_widget_001",
214
+ "metadata": {},
215
+ "livemode": false
216
+ }
217
+ ],
218
+ "charges": [
219
+ {
220
+ "id": 1,
221
+ "createdAt": "2025-01-05T10:05:00.000Z",
222
+ "updatedAt": "2025-01-05T10:05:00.000Z",
223
+ "chargeId": "ch_widget_001",
224
+ "amount": 7999,
225
+ "amountCaptured": 7999,
226
+ "amountRefunded": 0,
227
+ "currency": "usd",
228
+ "customerId": "cus_checkout_new",
229
+ "description": "Widget Pro purchase",
230
+ "paymentIntentId": "pi_widget_purchase",
231
+ "paymentMethodId": "pm_checkout_card_001",
232
+ "status": "succeeded",
233
+ "captured": true,
234
+ "refunded": false,
235
+ "disputed": false,
236
+ "receiptUrl": "https://pay.stripe.com/receipts/ch_widget_001",
237
+ "failureCode": null,
238
+ "failureMessage": null,
239
+ "metadata": {},
240
+ "livemode": false
241
+ }
242
+ ],
243
+ "refunds": [],
244
+ "invoices": [],
245
+ "invoiceItems": [],
246
+ "subscriptions": [],
247
+ "coupons": [
248
+ {
249
+ "id": 1,
250
+ "createdAt": "2024-12-01T00:00:00.000Z",
251
+ "updatedAt": "2024-12-01T00:00:00.000Z",
252
+ "couponId": "NEWYEAR25",
253
+ "name": "New Year 25% Off",
254
+ "amountOff": null,
255
+ "percentOff": 25,
256
+ "currency": null,
257
+ "duration": "once",
258
+ "durationInMonths": null,
259
+ "maxRedemptions": 200,
260
+ "timesRedeemed": 34,
261
+ "valid": true,
262
+ "redeemBy": 1738368000,
263
+ "metadata": {},
264
+ "livemode": false
265
+ }
266
+ ],
267
+ "paymentLinks": [],
268
+ "disputes": [],
269
+ "paymentMethods": [
270
+ {
271
+ "id": 1,
272
+ "createdAt": "2025-01-05T10:00:00.000Z",
273
+ "updatedAt": "2025-01-05T10:00:00.000Z",
274
+ "paymentMethodId": "pm_checkout_card_001",
275
+ "type": "card",
276
+ "customerId": "cus_checkout_new",
277
+ "cardBrand": "visa",
278
+ "cardLast4": "4242",
279
+ "cardExpMonth": 3,
280
+ "cardExpYear": 2027,
281
+ "cardFunding": "credit",
282
+ "billingDetails": null,
283
+ "metadata": {},
284
+ "livemode": false
285
+ },
286
+ {
287
+ "id": 2,
288
+ "createdAt": "2024-11-01T10:00:00.000Z",
289
+ "updatedAt": "2024-11-01T10:00:00.000Z",
290
+ "paymentMethodId": "pm_checkout_card_002",
291
+ "type": "card",
292
+ "customerId": "cus_checkout_returning",
293
+ "cardBrand": "mastercard",
294
+ "cardLast4": "5678",
295
+ "cardExpMonth": 8,
296
+ "cardExpYear": 2028,
297
+ "cardFunding": "debit",
298
+ "billingDetails": null,
299
+ "metadata": {},
300
+ "livemode": false
301
+ }
302
+ ],
303
+ "balanceTransactions": [
304
+ {
305
+ "id": 1,
306
+ "createdAt": "2025-01-05T10:05:00.000Z",
307
+ "updatedAt": "2025-01-05T10:05:00.000Z",
308
+ "balanceTransactionId": "txn_widget_001",
309
+ "amount": 7999,
310
+ "currency": "usd",
311
+ "fee": 262,
312
+ "net": 7737,
313
+ "type": "charge",
314
+ "sourceId": "ch_widget_001",
315
+ "description": "Widget Pro purchase",
316
+ "availableOn": 1736208000,
317
+ "status": "available",
318
+ "livemode": false
319
+ }
320
+ ],
321
+ "usageRecords": [],
322
+ "usageRecordSummaries": [],
323
+ "meters": [],
324
+ "meterEvents": [],
325
+ "testClocks": [],
326
+ "checkoutSessions": [
327
+ {
328
+ "id": 1,
329
+ "createdAt": "2025-01-05T10:00:00.000Z",
330
+ "updatedAt": "2025-01-05T10:05:00.000Z",
331
+ "checkoutSessionId": "cs_payment_complete",
332
+ "customerId": "cus_checkout_new",
333
+ "paymentIntentId": "pi_widget_purchase",
334
+ "subscriptionId": null,
335
+ "mode": "payment",
336
+ "status": "complete",
337
+ "successUrl": "https://checkout-store.com/order/success?session_id={CHECKOUT_SESSION_ID}",
338
+ "cancelUrl": "https://checkout-store.com/cart",
339
+ "url": "https://checkout.stripe.com/c/pay/cs_payment_complete",
340
+ "lineItems": [
341
+ {
342
+ "priceId": "price_widget_once",
343
+ "quantity": 1
344
+ }
345
+ ],
346
+ "amountTotal": 7999,
347
+ "currency": "usd",
348
+ "metadata": {
349
+ "source": "website"
350
+ },
351
+ "livemode": false
352
+ },
353
+ {
354
+ "id": 2,
355
+ "createdAt": "2025-01-12T08:30:00.000Z",
356
+ "updatedAt": "2025-01-12T08:30:00.000Z",
357
+ "checkoutSessionId": "cs_sub_open",
358
+ "customerId": "cus_checkout_intl",
359
+ "paymentIntentId": null,
360
+ "subscriptionId": null,
361
+ "mode": "subscription",
362
+ "status": "open",
363
+ "successUrl": "https://checkout-store.com/welcome?session_id={CHECKOUT_SESSION_ID}",
364
+ "cancelUrl": "https://checkout-store.com/pricing",
365
+ "url": "https://checkout.stripe.com/c/pay/cs_sub_open",
366
+ "lineItems": [
367
+ {
368
+ "priceId": "price_saas_annual",
369
+ "quantity": 1
370
+ }
371
+ ],
372
+ "amountTotal": 47900,
373
+ "currency": "usd",
374
+ "metadata": {
375
+ "campaign": "annual_push"
376
+ },
377
+ "livemode": false
378
+ },
379
+ {
380
+ "id": 3,
381
+ "createdAt": "2024-12-20T15:00:00.000Z",
382
+ "updatedAt": "2025-01-03T00:00:00.000Z",
383
+ "checkoutSessionId": "cs_expired_setup",
384
+ "customerId": "cus_checkout_returning",
385
+ "paymentIntentId": null,
386
+ "subscriptionId": null,
387
+ "mode": "setup",
388
+ "status": "expired",
389
+ "successUrl": "https://checkout-store.com/account/payment-methods",
390
+ "cancelUrl": "https://checkout-store.com/account",
391
+ "url": "https://checkout.stripe.com/c/pay/cs_expired_setup",
392
+ "lineItems": [],
393
+ "amountTotal": 0,
394
+ "currency": "usd",
395
+ "metadata": {},
396
+ "livemode": false
397
+ }
398
+ ],
399
+ "setupIntents": [
400
+ {
401
+ "id": 1,
402
+ "createdAt": "2025-01-10T09:00:00.000Z",
403
+ "updatedAt": "2025-01-10T09:05:00.000Z",
404
+ "setupIntentId": "seti_returning_save",
405
+ "customerId": "cus_checkout_returning",
406
+ "paymentMethodId": "pm_checkout_card_002",
407
+ "status": "succeeded",
408
+ "usage": "off_session",
409
+ "clientSecret": "seti_returning_save_secret_abc",
410
+ "description": "Save updated card for future orders",
411
+ "metadata": {},
412
+ "livemode": false
413
+ },
414
+ {
415
+ "id": 2,
416
+ "createdAt": "2025-01-12T08:00:00.000Z",
417
+ "updatedAt": "2025-01-12T08:00:00.000Z",
418
+ "setupIntentId": "seti_intl_pending",
419
+ "customerId": "cus_checkout_intl",
420
+ "paymentMethodId": null,
421
+ "status": "requires_payment_method",
422
+ "usage": "off_session",
423
+ "clientSecret": "seti_intl_pending_secret_xyz",
424
+ "description": "Save payment method for EU subscription",
425
+ "metadata": {},
426
+ "livemode": false
427
+ }
428
+ ],
429
+ "taxRates": [
430
+ {
431
+ "id": 1,
432
+ "createdAt": "2024-10-01T00:00:00.000Z",
433
+ "updatedAt": "2024-10-01T00:00:00.000Z",
434
+ "taxRateId": "txr_us_tx_sales",
435
+ "displayName": "TX Sales Tax",
436
+ "description": "Texas state sales tax",
437
+ "percentage": 6.25,
438
+ "inclusive": false,
439
+ "jurisdiction": "Texas",
440
+ "country": "US",
441
+ "state": "TX",
442
+ "active": true,
443
+ "livemode": false
444
+ },
445
+ {
446
+ "id": 2,
447
+ "createdAt": "2024-10-01T00:00:00.000Z",
448
+ "updatedAt": "2024-10-01T00:00:00.000Z",
449
+ "taxRateId": "txr_de_vat",
450
+ "displayName": "German VAT",
451
+ "description": "Germany value-added tax",
452
+ "percentage": 19.0,
453
+ "inclusive": true,
454
+ "jurisdiction": "Germany",
455
+ "country": "DE",
456
+ "state": null,
457
+ "active": true,
458
+ "livemode": false
459
+ }
460
+ ],
461
+ "promotionCodes": [
462
+ {
463
+ "id": 1,
464
+ "createdAt": "2024-12-01T00:00:00.000Z",
465
+ "updatedAt": "2024-12-01T00:00:00.000Z",
466
+ "promotionCodeId": "promo_newyear_web",
467
+ "couponId": "NEWYEAR25",
468
+ "code": "NEWYEAR2025",
469
+ "active": true,
470
+ "maxRedemptions": 100,
471
+ "timesRedeemed": 22,
472
+ "expiresAt": 1738368000,
473
+ "restrictions": {
474
+ "firstTimeTransaction": false,
475
+ "minimumAmount": 5000,
476
+ "minimumAmountCurrency": "usd"
477
+ },
478
+ "customerId": null,
479
+ "metadata": {
480
+ "campaign": "new_year"
481
+ },
482
+ "livemode": false
483
+ },
484
+ {
485
+ "id": 2,
486
+ "createdAt": "2025-01-10T00:00:00.000Z",
487
+ "updatedAt": "2025-01-10T00:00:00.000Z",
488
+ "promotionCodeId": "promo_vip_returning",
489
+ "couponId": "NEWYEAR25",
490
+ "code": "VIP25",
491
+ "active": true,
492
+ "maxRedemptions": 1,
493
+ "timesRedeemed": 0,
494
+ "expiresAt": null,
495
+ "restrictions": {
496
+ "firstTimeTransaction": false,
497
+ "minimumAmount": null,
498
+ "minimumAmountCurrency": null
499
+ },
500
+ "customerId": "cus_checkout_returning",
501
+ "metadata": {
502
+ "type": "loyalty"
503
+ },
504
+ "livemode": false
505
+ }
506
+ ],
507
+ "webhookEndpoints": [
508
+ {
509
+ "id": 1,
510
+ "createdAt": "2024-10-01T00:00:00.000Z",
511
+ "updatedAt": "2024-10-01T00:00:00.000Z",
512
+ "webhookEndpointId": "we_checkout_prod",
513
+ "url": "https://checkout-store.com/api/stripe-webhooks",
514
+ "enabledEvents": [
515
+ "checkout.session.completed",
516
+ "checkout.session.expired",
517
+ "payment_intent.succeeded",
518
+ "payment_intent.payment_failed",
519
+ "setup_intent.succeeded",
520
+ "customer.subscription.created"
521
+ ],
522
+ "status": "enabled",
523
+ "secret": "whsec_test_checkout_abc123",
524
+ "description": "Checkout flow production endpoint",
525
+ "apiVersion": "2024-06-20",
526
+ "livemode": false
527
+ }
528
+ ],
529
+ "events": [
530
+ {
531
+ "id": 1,
532
+ "createdAt": "2025-01-05T10:00:00.000Z",
533
+ "updatedAt": "2025-01-05T10:00:00.000Z",
534
+ "eventId": "evt_cs_created_001",
535
+ "type": "checkout.session.completed",
536
+ "data": {
537
+ "object": {
538
+ "id": "cs_payment_complete",
539
+ "mode": "payment",
540
+ "customer": "cus_checkout_new"
541
+ }
542
+ },
543
+ "apiVersion": "2024-06-20",
544
+ "created": 1736071200,
545
+ "livemode": false,
546
+ "pendingWebhooks": 0,
547
+ "request": {
548
+ "id": "req_cs_001",
549
+ "idempotency_key": null
550
+ }
551
+ },
552
+ {
553
+ "id": 2,
554
+ "createdAt": "2025-01-05T10:05:00.000Z",
555
+ "updatedAt": "2025-01-05T10:05:00.000Z",
556
+ "eventId": "evt_pi_succeeded_001",
557
+ "type": "payment_intent.succeeded",
558
+ "data": {
559
+ "object": {
560
+ "id": "pi_widget_purchase",
561
+ "amount": 7999,
562
+ "customer": "cus_checkout_new"
563
+ }
564
+ },
565
+ "apiVersion": "2024-06-20",
566
+ "created": 1736071500,
567
+ "livemode": false,
568
+ "pendingWebhooks": 0,
569
+ "request": {
570
+ "id": "req_pi_001",
571
+ "idempotency_key": null
572
+ }
573
+ },
574
+ {
575
+ "id": 3,
576
+ "createdAt": "2025-01-05T10:05:00.000Z",
577
+ "updatedAt": "2025-01-05T10:05:00.000Z",
578
+ "eventId": "evt_charge_001",
579
+ "type": "charge.succeeded",
580
+ "data": {
581
+ "object": {
582
+ "id": "ch_widget_001",
583
+ "amount": 7999,
584
+ "customer": "cus_checkout_new"
585
+ }
586
+ },
587
+ "apiVersion": "2024-06-20",
588
+ "created": 1736071500,
589
+ "livemode": false,
590
+ "pendingWebhooks": 0,
591
+ "request": {
592
+ "id": "req_ch_001",
593
+ "idempotency_key": null
594
+ }
595
+ },
596
+ {
597
+ "id": 4,
598
+ "createdAt": "2025-01-10T09:05:00.000Z",
599
+ "updatedAt": "2025-01-10T09:05:00.000Z",
600
+ "eventId": "evt_seti_succeeded_001",
601
+ "type": "setup_intent.succeeded",
602
+ "data": {
603
+ "object": {
604
+ "id": "seti_returning_save",
605
+ "customer": "cus_checkout_returning"
606
+ }
607
+ },
608
+ "apiVersion": "2024-06-20",
609
+ "created": 1736503500,
610
+ "livemode": false,
611
+ "pendingWebhooks": 0,
612
+ "request": {
613
+ "id": "req_seti_001",
614
+ "idempotency_key": null
615
+ }
616
+ },
617
+ {
618
+ "id": 5,
619
+ "createdAt": "2025-01-03T00:00:00.000Z",
620
+ "updatedAt": "2025-01-03T00:00:00.000Z",
621
+ "eventId": "evt_cs_expired_001",
622
+ "type": "checkout.session.expired",
623
+ "data": {
624
+ "object": {
625
+ "id": "cs_expired_setup",
626
+ "mode": "setup",
627
+ "customer": "cus_checkout_returning"
628
+ }
629
+ },
630
+ "apiVersion": "2024-06-20",
631
+ "created": 1735862400,
632
+ "livemode": false,
633
+ "pendingWebhooks": 0,
634
+ "request": {
635
+ "id": null,
636
+ "idempotency_key": null
637
+ }
638
+ },
639
+ {
640
+ "id": 6,
641
+ "createdAt": "2025-01-12T08:30:00.000Z",
642
+ "updatedAt": "2025-01-12T08:30:00.000Z",
643
+ "eventId": "evt_cs_sub_open_001",
644
+ "type": "checkout.session.completed",
645
+ "data": {
646
+ "object": {
647
+ "id": "cs_sub_open",
648
+ "mode": "subscription",
649
+ "customer": "cus_checkout_intl"
650
+ }
651
+ },
652
+ "apiVersion": "2024-06-20",
653
+ "created": 1736674200,
654
+ "livemode": false,
655
+ "pendingWebhooks": 1,
656
+ "request": {
657
+ "id": "req_cs_002",
658
+ "idempotency_key": null
659
+ }
660
+ },
661
+ {
662
+ "id": 7,
663
+ "createdAt": "2024-12-20T15:00:00.000Z",
664
+ "updatedAt": "2024-12-20T15:00:00.000Z",
665
+ "eventId": "evt_cus_created_001",
666
+ "type": "customer.created",
667
+ "data": {
668
+ "object": {
669
+ "id": "cus_checkout_returning",
670
+ "email": "returning@checkout-store.com"
671
+ }
672
+ },
673
+ "apiVersion": "2024-06-20",
674
+ "created": 1734706800,
675
+ "livemode": false,
676
+ "pendingWebhooks": 0,
677
+ "request": {
678
+ "id": "req_cus_001",
679
+ "idempotency_key": null
680
+ }
681
+ },
682
+ {
683
+ "id": 8,
684
+ "createdAt": "2025-01-05T10:00:00.000Z",
685
+ "updatedAt": "2025-01-05T10:00:00.000Z",
686
+ "eventId": "evt_cus_created_002",
687
+ "type": "customer.created",
688
+ "data": {
689
+ "object": {
690
+ "id": "cus_checkout_new",
691
+ "email": "new@checkout-store.com"
692
+ }
693
+ },
694
+ "apiVersion": "2024-06-20",
695
+ "created": 1736071200,
696
+ "livemode": false,
697
+ "pendingWebhooks": 0,
698
+ "request": {
699
+ "id": "req_cus_002",
700
+ "idempotency_key": null
701
+ }
702
+ }
703
+ ]
704
+ }