From 46ac2de5ae43fc7885229b55a7b382ed4b142493 Mon Sep 17 00:00:00 2001 From: Gerry Saporito Date: Fri, 30 Jan 2026 14:56:12 -0800 Subject: [PATCH] update schedule bots in bulk --- bot_update_scheduled_bots/.env.sample | 2 + bot_update_scheduled_bots/README.md | 96 +++++++ bot_update_scheduled_bots/package.json | 22 ++ .../src/bot_update_scheduled_bots.ts | 105 +++++++ bot_update_scheduled_bots/src/config/env.ts | 6 + .../src/fetch_with_retry.ts | 24 ++ bot_update_scheduled_bots/src/index.ts | 56 ++++ .../src/schemas/BotArtifactSchema.ts | 9 + .../src/schemas/CmdLineArgsSchema.ts | 12 + .../src/schemas/EnvSchema.ts | 6 + bot_update_scheduled_bots/tsconfig.json | 14 + package-lock.json | 260 ++++++++++++++++++ 12 files changed, 612 insertions(+) create mode 100644 bot_update_scheduled_bots/.env.sample create mode 100644 bot_update_scheduled_bots/README.md create mode 100644 bot_update_scheduled_bots/package.json create mode 100644 bot_update_scheduled_bots/src/bot_update_scheduled_bots.ts create mode 100644 bot_update_scheduled_bots/src/config/env.ts create mode 100644 bot_update_scheduled_bots/src/fetch_with_retry.ts create mode 100644 bot_update_scheduled_bots/src/index.ts create mode 100644 bot_update_scheduled_bots/src/schemas/BotArtifactSchema.ts create mode 100644 bot_update_scheduled_bots/src/schemas/CmdLineArgsSchema.ts create mode 100644 bot_update_scheduled_bots/src/schemas/EnvSchema.ts create mode 100644 bot_update_scheduled_bots/tsconfig.json diff --git a/bot_update_scheduled_bots/.env.sample b/bot_update_scheduled_bots/.env.sample new file mode 100644 index 0000000..d2c742e --- /dev/null +++ b/bot_update_scheduled_bots/.env.sample @@ -0,0 +1,2 @@ +RECALL_API_KEY=RECALL_API_KEY +RECALL_REGION=RECALL_REGION # e.g. us-west-2, us-east-1, eu-central-1, ap-northeast-1 diff --git a/bot_update_scheduled_bots/README.md b/bot_update_scheduled_bots/README.md new file mode 100644 index 0000000..b803157 --- /dev/null +++ b/bot_update_scheduled_bots/README.md @@ -0,0 +1,96 @@ +# Update scheduled bots + +This example demonstrates how to bulk update scheduled bots using the Recall.ai API. + +A **scheduled bot** is a bot that hasn't joined a meeting yet — the current time is still less than the bot's `join_at` timestamp. + +## Pre-requisites + +- [Node.js](https://nodejs.org/en/download) +- [NPM](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) + +## Quickstart + +### 1. Set up environment variables + +Copy the `.env.sample` file and rename it to `.env`: + +```bash +cp .env.sample .env +``` + +Then fill out the variables in the `.env` file: + +- `RECALL_API_KEY` - Your Recall.ai API key +- `RECALL_REGION` - Your Recall.ai region (e.g., `us-west-2`) + +### 2. Install dependencies + +Open this directory in a terminal and run: + +```bash +npm install +``` + +### 3. Run the script + +Update all scheduled bots starting from a future date: + +```bash +npx ts-node src/index.ts \ + --start_date_utc "2025-12-15 00:00:00" \ + --update_data '{"bot_name":"Updated Bot"}' +``` + +Update scheduled bots within a date range: + +```bash +npx ts-node src/index.ts \ + --start_date_utc "2025-12-15 00:00:00" \ + --end_date_utc "2025-12-31 00:00:00" \ + --update_data '{"meeting_url":"https://new-meeting.example.com"}' +``` + +Filter by custom metadata to update only specific customer's bots: + +```bash +npx ts-node src/index.ts \ + --start_date_utc "2025-12-15 00:00:00" \ + --metadata '{"team_id":"1872"}' \ + --update_data '{"bot_name":"Team Bot"}' +``` + +Update recording retention to 168 hours (7 days): + +```bash +npx ts-node src/index.ts \ + --start_date_utc "2025-12-15 00:00:00" \ + --update_data '{"recording_config":{"retention":{"type":"timed","hours":168}}}' +``` + +### 4. View the output + +The script will output progress and final count: + +``` +Updating scheduled bots: 2025-12-15 00:00:00 → 2025-12-31 00:00:00 + +Update data: {"bot_name":"Updated Bot"} + +{ pageCount: 5, nextPage: null } +Updated bot: abc123 +Updated bot: def456 +... + +Updated 5 bots +``` + +## CLI Options + +| Option | Required | Description | +| ------------------ | -------- | --------------------------------------------------------------------------- | +| `--start_date_utc` | Yes | Update bots scheduled to join after this date (must be in the future) | +| `--end_date_utc` | No | Update bots scheduled to join before this date | +| `--metadata` | No | JSON object to filter by custom bot metadata (e.g., `'{"team_id":"1872"}'`) | +| `--update_data` | Yes | JSON object with fields to update on each bot | +| `--help` | No | Show help message | diff --git a/bot_update_scheduled_bots/package.json b/bot_update_scheduled_bots/package.json new file mode 100644 index 0000000..75d9f32 --- /dev/null +++ b/bot_update_scheduled_bots/package.json @@ -0,0 +1,22 @@ +{ + "name": "bot_update_scheduled_bots", + "version": "1.0.0", + "description": "Update scheduled bots", + "main": "index.ts", + "scripts": { + "dev": "ts-node src/index.ts" + }, + "author": "Gerry Saporito", + "license": "MIT", + "devDependencies": { + "@types/mri": "^1.1.4", + "@types/node": "^24.10.1", + "ts-node": "^10.9.2", + "typescript": "^5.9.3" + }, + "dependencies": { + "dotenv": "^17.2.3", + "mri": "^1.2.0", + "zod": "^4.1.13" + } +} \ No newline at end of file diff --git a/bot_update_scheduled_bots/src/bot_update_scheduled_bots.ts b/bot_update_scheduled_bots/src/bot_update_scheduled_bots.ts new file mode 100644 index 0000000..ed59d1e --- /dev/null +++ b/bot_update_scheduled_bots/src/bot_update_scheduled_bots.ts @@ -0,0 +1,105 @@ +import { z } from "zod"; +import { env } from "./config/env"; +import { fetch_with_retry } from "./fetch_with_retry"; +import { BotArtifactSchema } from "./schemas/BotArtifactSchema"; + +/** + * Update scheduled bots after a given date. + */ +export async function bot_update_scheduled_bots(args: any) { + const { start_date_utc, end_date_utc, metadata, update_data } = z.object({ + start_date_utc: z.string(), + end_date_utc: z.string().optional(), + metadata: z.record(z.string(), z.string()).optional(), + update_data: z.record(z.string(), z.unknown()), + }).parse(args); + + let count = 0; + let next: string | null = null; + do { + const page = await list_bots({ + join_at_after: start_date_utc, + join_at_before: end_date_utc, + metadata, + next, + }); + console.log({ pageCount: page.results.length, nextPage: page.next }); + + await Promise.all(page.results.map(async (bot) => { + await update_scheduled_bot_by_id({ bot_id: bot.id, update_data }); + console.log(`Updated bot: ${bot.id}`); + })); + count += page.results.length; + next = page.next; + } while (next); + + return { count }; +} + +/** + * Filters bots by the given arguments. + * Returns a page of bots and the next page URL to fetch the next page of bots. + */ +async function list_bots(args: { + next?: string | null; // next page URL + join_at_after?: string; // ISO 8601, e.g. "2025-12-15 00:00:00" + join_at_before?: string; // ISO 8601, e.g. "2025-12-15 00:25:00" + metadata?: Record; // add one key-value pair +}) { + const { next, join_at_after, join_at_before, metadata } = z.object({ + next: z.string().nullable(), + join_at_after: z.string().optional(), + join_at_before: z.string().optional(), + metadata: z.record(z.string(), z.string()).optional(), + }).parse(args); + + const url = next + ? new URL(next) + : new URL(`https://${env.RECALL_REGION}.recall.ai/api/v1/bot`); + if (!next) { + if (join_at_after) url.searchParams.set("join_at_after", join_at_after); + if (join_at_before) url.searchParams.set("join_at_before", join_at_before); + if (metadata) { + for (const [key, value] of Object.entries(metadata)) { + url.searchParams.set(`metadata__${key}`, value); + } + } + } + + const response = await fetch_with_retry(url.toString(), { + method: "GET", + headers: { + "Authorization": `${env.RECALL_API_KEY}`, + "Content-Type": "application/json", + }, + }); + if (!response.ok) throw new Error(await response.text()); + + return z.object({ + results: BotArtifactSchema.array(), + next: z.string().nullable(), + }).parse(await response.json()); +} + +/** + * Updates a bot by its ID. + */ +async function update_scheduled_bot_by_id(args: { + bot_id: string; + update_data: Record; +}) { + const { bot_id, update_data } = z.object({ + bot_id: z.string(), + update_data: z.record(z.string(), z.unknown()), + }).parse(args); + + const response = await fetch_with_retry(`https://${env.RECALL_REGION}.recall.ai/api/v1/bot/${bot_id}/`, { + method: "PATCH", + headers: { + "Authorization": `${env.RECALL_API_KEY}`, + "Content-Type": "application/json", + }, + body: JSON.stringify(update_data), + }); + if (!response.ok) throw new Error(await response.text()); +} \ No newline at end of file diff --git a/bot_update_scheduled_bots/src/config/env.ts b/bot_update_scheduled_bots/src/config/env.ts new file mode 100644 index 0000000..9223f2a --- /dev/null +++ b/bot_update_scheduled_bots/src/config/env.ts @@ -0,0 +1,6 @@ +import dotenv from "dotenv"; +import { EnvSchema } from "../schemas/EnvSchema"; + +dotenv.config(); + +export const env = EnvSchema.parse(process.env); \ No newline at end of file diff --git a/bot_update_scheduled_bots/src/fetch_with_retry.ts b/bot_update_scheduled_bots/src/fetch_with_retry.ts new file mode 100644 index 0000000..c20e1f8 --- /dev/null +++ b/bot_update_scheduled_bots/src/fetch_with_retry.ts @@ -0,0 +1,24 @@ +/** + * Helper function to fetch with retry. + * Respects the Retry-After header. + */ +export async function fetch_with_retry(url: string, options: RequestInit, max_attempts: number = 5): Promise { + for (let attempt = 1; attempt <= max_attempts; attempt++) { + const response = await fetch(url, options); + if (response.status === 429) { + let retry_after = Number(response.headers.get("Retry-After")) || 0; + console.log(`Rate limit exceeded, retrying in ${retry_after} seconds`); + if (!retry_after) { + console.error("Retry-After header not found"); + retry_after = 0; + } + await new Promise((resolve) => setTimeout( + resolve, + 1000 * (retry_after + Math.ceil(Math.random() * 5)), + )); + continue; + } + return response; + } + throw new Error(`Max attempts (${max_attempts}) reached while fetching ${url}. options=${JSON.stringify(options)}`); +} \ No newline at end of file diff --git a/bot_update_scheduled_bots/src/index.ts b/bot_update_scheduled_bots/src/index.ts new file mode 100644 index 0000000..eec5f1c --- /dev/null +++ b/bot_update_scheduled_bots/src/index.ts @@ -0,0 +1,56 @@ +import mri from "mri"; +import { bot_update_scheduled_bots } from "./bot_update_scheduled_bots"; +import { CmdLineArgsSchema } from "./schemas/CmdLineArgsSchema"; + +async function main() { + const raw = mri(process.argv.slice(2), { alias: { h: "help" } }); + + if (raw.help) { + console.log(` +Usage: npx ts-node src/index.ts [options] + +Options: + --start_date_utc Update bots scheduled to join after this date (ISO 8601, e.g., "2025-01-01 00:00:00") + --end_date_utc Update bots scheduled to join before this date (ISO 8601, e.g., "2025-02-01 00:00:00") [optional] + --metadata Filter by custom metadata (e.g., '{"customer_id":"123"}') + --update_data JSON object with fields to update (e.g., '{"bot_name":"New Name"}') + --help Show this help message + +Examples: + npx ts-node src/index.ts \\ + --start_date_utc "2025-12-15 00:00:00" \\ + --update_data '{"bot_name":"Updated Bot"}' + + npx ts-node src/index.ts \\ + --start_date_utc "2025-12-15 00:00:00" \\ + --end_date_utc "2025-12-31 00:00:00" \\ + --update_data '{"meeting_url":"https://new-meeting.example.com"}' + + npx ts-node src/index.ts \\ + --start_date_utc "2025-12-15 00:00:00" \\ + --metadata '{"team":"engineering"}' \\ + --update_data '{"bot_name":"Eng Bot"}' + + npx ts-node src/index.ts \\ + --start_date_utc "2025-12-15 00:00:00" \\ + --update_data '{"recording_config":{"retention":{"type":"timed","hours":168}}}' + `); + process.exit(0); + } + + const args = CmdLineArgsSchema.parse(raw); + + console.log(`Updating scheduled bots: ${args.start_date_utc}${args.end_date_utc ? ` → ${args.end_date_utc}` : ""}\n`); + console.log(`Update data: ${JSON.stringify(args.update_data)}\n`); + + try { + const { count } = await bot_update_scheduled_bots(args); + console.log(`\nUpdated ${count} bots`); + } catch (error) { + console.error("Error updating scheduled bots:"); + console.error(error); + process.exit(1); + } +} + +main().catch((e) => { console.error("Error:", e.message); process.exit(1); }); diff --git a/bot_update_scheduled_bots/src/schemas/BotArtifactSchema.ts b/bot_update_scheduled_bots/src/schemas/BotArtifactSchema.ts new file mode 100644 index 0000000..56c070f --- /dev/null +++ b/bot_update_scheduled_bots/src/schemas/BotArtifactSchema.ts @@ -0,0 +1,9 @@ +import { z } from "zod"; + +export const BotArtifactSchema = z.object({ + id: z.string(), + status_changes: z.array(z.object({ + code: z.string(), // status code, e.g. "joining_call", "done", "fatal" + created_at: z.string(), // ISO 8601, e.g. "2025-12-15 00:00:00" + })), +}); \ No newline at end of file diff --git a/bot_update_scheduled_bots/src/schemas/CmdLineArgsSchema.ts b/bot_update_scheduled_bots/src/schemas/CmdLineArgsSchema.ts new file mode 100644 index 0000000..8d91006 --- /dev/null +++ b/bot_update_scheduled_bots/src/schemas/CmdLineArgsSchema.ts @@ -0,0 +1,12 @@ +import { z } from "zod"; + +export const CmdLineArgsSchema = z.object({ + start_date_utc: z.string({ message: "--start_date_utc is required" }).refine( + (date) => new Date(date) > new Date(new Date().getTime() - 1 * 60 * 1000), // start date must be greater than 1 minute ago + { message: "--start_date_utc must be in the future" }, + ), + end_date_utc: z.string().optional(), + metadata: z.string().optional().transform((v) => v ? JSON.parse(v) : {}), + update_data: z.string({ message: "--update_data is required" }).transform((v) => JSON.parse(v)), + help: z.boolean().optional(), +}); \ No newline at end of file diff --git a/bot_update_scheduled_bots/src/schemas/EnvSchema.ts b/bot_update_scheduled_bots/src/schemas/EnvSchema.ts new file mode 100644 index 0000000..b29d68e --- /dev/null +++ b/bot_update_scheduled_bots/src/schemas/EnvSchema.ts @@ -0,0 +1,6 @@ +import { z } from "zod"; + +export const EnvSchema = z.object({ + RECALL_API_KEY: z.string(), + RECALL_REGION: z.string(), +}); \ No newline at end of file diff --git a/bot_update_scheduled_bots/tsconfig.json b/bot_update_scheduled_bots/tsconfig.json new file mode 100644 index 0000000..6eaad52 --- /dev/null +++ b/bot_update_scheduled_bots/tsconfig.json @@ -0,0 +1,14 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "NodeNext", + "moduleResolution": "NodeNext", + "outDir": "dist", + "rootDir": "src", + "strict": true, + "esModuleInterop": true, + "skipLibCheck": true, + "sourceMap": true + }, + "include": ["src"] +} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 0b449fd..77ec253 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8291,6 +8291,262 @@ "url": "https://github.com/sponsors/colinhacks" } }, + "bot_update_scheduled_bots": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "dotenv": "^17.2.3", + "mri": "^1.2.0", + "zod": "^4.1.13" + }, + "devDependencies": { + "@types/mri": "^1.1.4", + "@types/node": "^24.10.1", + "ts-node": "^10.9.2", + "typescript": "^5.9.3" + } + }, + "bot_update_scheduled_bots/node_modules/@types/mri": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@types/mri/-/mri-1.1.5.tgz", + "integrity": "sha512-C6NscC1RO9iz1YmvqPlFdbo/q8krKwrvWsciw2MG+pH+WUgxWKv1VFpY/Y2AAZubzUpA4FH6d+FDtroboN9xMw==", + "dev": true, + "license": "MIT" + }, + "bot_update_scheduled_bots/node_modules/@types/node": { + "version": "24.10.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.10.9.tgz", + "integrity": "sha512-ne4A0IpG3+2ETuREInjPNhUGis1SFjv1d5asp8MzEAGtOZeTeHVDOYqOgqfhvseqg/iXty2hjBf1zAOb7RNiNw==", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": "~7.16.0" + } + }, + "bot_update_scheduled_bots/node_modules/@types/node/node_modules/undici-types": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", + "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==", + "dev": true, + "license": "MIT" + }, + "bot_update_scheduled_bots/node_modules/dotenv": { + "version": "17.2.3", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.2.3.tgz", + "integrity": "sha512-JVUnt+DUIzu87TABbhPmNfVdBDt18BLOWjMUFJMSi/Qqg7NTYtabbvSNJGOJ7afbRuv9D/lngizHtP7QyLQ+9w==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, + "bot_update_scheduled_bots/node_modules/mri": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz", + "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "bot_update_scheduled_bots/node_modules/ts-node": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", + "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, + "bot_update_scheduled_bots/node_modules/ts-node/node_modules/@cspotcode/source-map-support": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "engines": { + "node": ">=12" + } + }, + "bot_update_scheduled_bots/node_modules/ts-node/node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "bot_update_scheduled_bots/node_modules/ts-node/node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "bot_update_scheduled_bots/node_modules/ts-node/node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", + "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", + "dev": true, + "license": "MIT" + }, + "bot_update_scheduled_bots/node_modules/ts-node/node_modules/@tsconfig/node10": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.12.tgz", + "integrity": "sha512-UCYBaeFvM11aU2y3YPZ//O5Rhj+xKyzy7mvcIoAjASbigy8mHMryP5cK7dgjlz2hWxh1g5pLw084E0a/wlUSFQ==", + "dev": true, + "license": "MIT" + }, + "bot_update_scheduled_bots/node_modules/ts-node/node_modules/@tsconfig/node12": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", + "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", + "dev": true, + "license": "MIT" + }, + "bot_update_scheduled_bots/node_modules/ts-node/node_modules/@tsconfig/node14": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", + "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", + "dev": true, + "license": "MIT" + }, + "bot_update_scheduled_bots/node_modules/ts-node/node_modules/@tsconfig/node16": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", + "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", + "dev": true, + "license": "MIT" + }, + "bot_update_scheduled_bots/node_modules/ts-node/node_modules/acorn": { + "version": "8.15.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", + "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "bot_update_scheduled_bots/node_modules/ts-node/node_modules/acorn-walk": { + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", + "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^8.11.0" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "bot_update_scheduled_bots/node_modules/ts-node/node_modules/arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true, + "license": "MIT" + }, + "bot_update_scheduled_bots/node_modules/ts-node/node_modules/create-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", + "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", + "dev": true, + "license": "MIT" + }, + "bot_update_scheduled_bots/node_modules/ts-node/node_modules/diff": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.4.tgz", + "integrity": "sha512-X07nttJQkwkfKfvTPG/KSnE2OMdcUCao6+eXF3wmnIQRn2aPAHH3VxDbDOdegkd6JbPsXqShpvEOHfAT+nCNwQ==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "bot_update_scheduled_bots/node_modules/ts-node/node_modules/make-error": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "dev": true, + "license": "ISC" + }, + "bot_update_scheduled_bots/node_modules/ts-node/node_modules/v8-compile-cache-lib": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", + "dev": true, + "license": "MIT" + }, + "bot_update_scheduled_bots/node_modules/ts-node/node_modules/yn": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", + "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "bot_update_scheduled_bots/node_modules/zod": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.3.6.tgz", + "integrity": "sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, "bot_zoom_obf_flow": { "version": "1.0.0", "license": "MIT", @@ -14398,6 +14654,10 @@ "resolved": "bot_track_and_calculate_usage", "link": true }, + "node_modules/bot_update_scheduled_bots": { + "resolved": "bot_update_scheduled_bots", + "link": true + }, "node_modules/bot_zoom_obf_flow": { "resolved": "bot_zoom_obf_flow", "link": true