added core billing file

This commit is contained in:
John Yeo
2026-03-04 13:06:43 +00:00
parent ea0e504271
commit d9eab40f69
5 changed files with 35 additions and 5 deletions

View File

@@ -209,7 +209,7 @@
"@clickhouse/client": "^1.11.2",
"@date-fns/tz": "^1.2.0",
"@date-fns/utc": "^2.1.0",
"@hatchet-dev/typescript-sdk": "^1.10.5",
"@hatchet-dev/typescript-sdk": "1.14.0",
"@hono-rate-limiter/redis": "^0.1.4",
"@hono/node-server": "^1.19.5",
"@hono/zod-validator": "^0.7.3",
@@ -5399,6 +5399,8 @@
"@useautumn/sdk/typescript": ["typescript@5.8.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ=="],
"@useautumn/sdk/zod": ["zod@4.3.6", "", {}, "sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg=="],
"@vercel/sdk/zod": ["zod@4.3.6", "", {}, "sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg=="],
"accepts/mime-types": ["mime-types@2.1.35", "", { "dependencies": { "mime-db": "1.52.0" } }, "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw=="],

View File

@@ -42,19 +42,19 @@
"@autumn/shared": "workspace:*",
"@aws-sdk/client-sqs": "^3.958.0",
"@axiomhq/pino": "^1.3.1",
"@better-auth/oauth-provider": "^1.4.12",
"@better-auth/dash": "catalog:",
"@better-auth/oauth-provider": "^1.4.12",
"@chronark/zod-bird": "^1.0.0",
"@clickhouse/client": "^1.11.2",
"@date-fns/tz": "^1.2.0",
"@date-fns/utc": "^2.1.0",
"@hatchet-dev/typescript-sdk": "^1.10.5",
"@hatchet-dev/typescript-sdk": "1.14.0",
"@hono-rate-limiter/redis": "^0.1.4",
"@hono/node-server": "^1.19.5",
"@hono/zod-validator": "^0.7.3",
"@hyperbrowser/sdk": "^0.54.0",
"@onkernel/sdk": "^0.36.1",
"@infisical/sdk": "^4.0.6",
"@onkernel/sdk": "^0.36.1",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/auto-instrumentations-node": "^0.60.1",
"@opentelemetry/exporter-trace-otlp-proto": "^0.202.0",

View File

@@ -1,4 +1,4 @@
import { HatchetClient } from "@hatchet-dev/typescript-sdk";
import { HatchetClient } from "@hatchet-dev/typescript-sdk/v1";
export const isHatchetEnabled = !!process.env.HATCHET_CLIENT_TOKEN;

View File

@@ -0,0 +1,22 @@
import type { TestGroup } from "../types";
import { coreAttach } from "./coreAttach";
import { coreBillingOthers } from "./coreBillingOthers";
import { coreLegacy } from "./coreLegacy";
import { coreMigrations } from "./coreMigrations";
import { coreStripe } from "./coreStripe";
import { coreUpdateSubscription } from "./coreUpdateSubscription";
export const coreBilling: TestGroup = {
name: "core-billing",
description:
"Core billing tests: attach, update-subscription, multi-attach, setup-payment",
tier: "core",
paths: [
...coreAttach.paths,
...coreUpdateSubscription.paths,
...coreBillingOthers.paths,
...coreLegacy.paths,
...coreMigrations.paths,
...coreStripe.paths,
],
};

View File

@@ -13,5 +13,11 @@ export const coreBillingOthers: TestGroup = {
// Setup payment
"billing/setup-payment",
// Customers
"crud/customers",
// Autumn webhooks
"autumn-webhooks",
],
};