@doist/automations-mcp 1.10.0 → 1.10.1

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.
@@ -12597,13 +12597,27 @@ var UsageBillingAccountNotFoundResponseSchema = z56.object({
12597
12597
  http_code: z56.literal(404),
12598
12598
  error_extra: z56.record(z56.string(), z56.unknown())
12599
12599
  });
12600
+ var USAGE_BILLING_TOP_UP_REFUSAL_TAGS = {
12601
+ topUpUnavailable: "USAGE_BILLING_TOP_UP_UNAVAILABLE",
12602
+ planRequired: "USAGE_BILLING_PLAN_REQUIRED",
12603
+ currencyMismatch: "USAGE_BILLING_CURRENCY_MISMATCH",
12604
+ topUpBelowMinimum: "USAGE_BILLING_TOP_UP_BELOW_MINIMUM"
12605
+ };
12606
+ var UsageBillingTopUpRefusalTagSchema = z56.enum(USAGE_BILLING_TOP_UP_REFUSAL_TAGS);
12600
12607
  var UsageBillingTopUpUnavailableResponseSchema = z56.object({
12601
- error_tag: z56.literal("USAGE_BILLING_TOP_UP_UNAVAILABLE"),
12608
+ error_tag: z56.literal(USAGE_BILLING_TOP_UP_REFUSAL_TAGS.topUpUnavailable),
12602
12609
  error_code: z56.literal(605),
12603
12610
  error: z56.string(),
12604
12611
  http_code: z56.literal(400),
12605
12612
  error_extra: z56.record(z56.string(), z56.unknown())
12606
12613
  });
12614
+ var UsageBillingTopUpPlanRequiredResponseSchema = z56.object({
12615
+ error_tag: z56.literal(USAGE_BILLING_TOP_UP_REFUSAL_TAGS.planRequired),
12616
+ error_code: z56.literal(615),
12617
+ error: z56.string(),
12618
+ http_code: z56.literal(400),
12619
+ error_extra: z56.record(z56.string(), z56.unknown())
12620
+ });
12607
12621
  var UsageBillingTopUpRefusalSchema = z56.object({
12608
12622
  error_tag: z56.string().min(1),
12609
12623
  error_extra: z56.object({ event_id: z56.string().optional() }).optional()
@@ -13978,7 +13992,7 @@ import { McpServer } from "@modelcontextprotocol/server";
13978
13992
  // package.json
13979
13993
  var package_default = {
13980
13994
  name: "@doist/automations-mcp",
13981
- version: "1.10.0",
13995
+ version: "1.10.1",
13982
13996
  description: "MCP server and importable AI tools for Todoist Automations",
13983
13997
  type: "module",
13984
13998
  main: "./dist/index.js",
@@ -16589,4 +16603,4 @@ export {
16589
16603
  DEFAULT_BASE_URL,
16590
16604
  getMcpServer
16591
16605
  };
16592
- //# sourceMappingURL=chunk-4DEVWVZG.js.map
16606
+ //# sourceMappingURL=chunk-U7WP4F24.js.map