totalum-sdk 1.10.3 → 1.10.4

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.
package/CHANGELOG.md CHANGED
@@ -20,6 +20,11 @@ regenerated), plus the request each call sends to SDK-API (`compat/requests/*.js
20
20
  - **Dist-tags:** `next` is the newest release; `latest` moves only by a decision at launch. `dev` holds the old
21
21
  `0.1.0-dev.N` prereleases.
22
22
 
23
+ ## 1.10.4 — 2026-10-09
24
+
25
+ - Documentation only: `totalum.cron` no longer says runs cost nothing — each run costs a small fraction of a credit.
26
+ No public type or request changes.
27
+
23
28
  ## 1.10.3 — 2026-10-08
24
29
 
25
30
  - Documentation only: app AI features (text, vision, images, video, speech, transcription, embeddings, rerank) go
@@ -1,4 +1,4 @@
1
- import { b as SiteMetric, a as SiteDimension, S as SiteAnalyticsOutput } from '../_types/ops.d-ClcRosoO.js';
1
+ import { b as SiteMetric, a as SiteDimension, S as SiteAnalyticsOutput } from '../_types/ops.d-G13QAhKA.js';
2
2
  import { T as TotalumClientOptions } from '../_types/errors.d-CIkIZmY-.js';
3
3
  export { a as TotalumError, b as TotalumErrorCode, i as isTotalumError } from '../_types/errors.d-CIkIZmY-.js';
4
4
  import '../_types/coerce.d-Dgx5wOUv.js';
@@ -7,7 +7,7 @@ import '../_types/coerce.d-Dgx5wOUv.js';
7
7
  /**
8
8
  * `totalum.cron` over the Totalum API `/v1/cron/*` (scope `cron`): HTTP jobs against the project's own host,
9
9
  * fired by Totalum's Scheduler; limits per plan (`429 CRON_LIMIT_REACHED {limit, plan}`, `400 INVALID_SCHEDULE
10
- * {minIntervalSeconds}`). Executions cost nothing. `timezone` (IANA) reads the schedule on that zone's clock, daylight
10
+ * {minIntervalSeconds}`). Each run costs a small fraction of a credit. `timezone` (IANA) reads the schedule on that zone's clock, daylight
11
11
  * saving included; `pauseAfterFailures` (1–100, default 3; `null` = never) sets how many failed runs in a row pause it.
12
12
  */
13
13
  declare function totalumCron(options?: TotalumClientOptions): {
@@ -4,7 +4,7 @@ export { TotalumError, isTotalumError } from '../errors.js';
4
4
  /**
5
5
  * `totalum.cron` over the Totalum API `/v1/cron/*` (scope `cron`): HTTP jobs against the project's own host,
6
6
  * fired by Totalum's Scheduler; limits per plan (`429 CRON_LIMIT_REACHED {limit, plan}`, `400 INVALID_SCHEDULE
7
- * {minIntervalSeconds}`). Executions cost nothing. `timezone` (IANA) reads the schedule on that zone's clock, daylight
7
+ * {minIntervalSeconds}`). Each run costs a small fraction of a credit. `timezone` (IANA) reads the schedule on that zone's clock, daylight
8
8
  * saving included; `pauseAfterFailures` (1–100, default 3; `null` = never) sets how many failed runs in a row pause it.
9
9
  */
10
10
  export function totalumCron(options = {}) {
package/dist/index.d.ts CHANGED
@@ -33,7 +33,7 @@ export { TotalumWebhookError, TotalumWebhooks, WebhookConfig, WebhookEvent, Webh
33
33
  export { D1Database, D1DatabaseSession, D1ExecResult, D1PreparedStatement, D1Result, READ_YOUR_WRITES_COOKIE, TotalumD1ClientCode, TotalumD1Error, TotalumD1ErrorCode, TotalumD1Options, isTotalumD1Error, totalumD1, withTotalumSession } from './d1/index.js';
34
34
  export { T as TotalumClientOptions, a as TotalumError, b as TotalumErrorCode, i as isTotalumError } from './_types/errors.d-CIkIZmY-.js';
35
35
  export { C as CheckoutInput, a as CheckoutOutput, b as CheckoutSession, c as CronJob, d as CronJobInput, e as CronJobPatch, f as CronRun, g as CronRunsPage, h as CustomerPortalLinkInput, i as CustomerPortalLinkOutput, E as EmailSendInput, j as EmailSendOutput, k as EmailView, F as FileDescriptor, l as FileUploadUrlInput, m as FileUploadUrlOutput, n as FilesListQuery, o as FilesPage, J as JobCreated, O as OnboardingLinkInput, p as OnboardingLinkOutput, P as PaymentsStatus, q as PdfFromHtmlInput, r as PdfFromUrlInput, s as PdfOutput, R as RefundInput, t as RefundOutput, S as ScanDocumentInput, u as ScanOcrInput, v as ScanOcrOutput, w as ScreenshotInput, x as ScreenshotOutput, y as SeoIndexNowKey, z as SeoNotifyOutput, A as SpeakInput, B as StoredMedia, D as Subscription, G as SubscriptionUpdateInput, T as TranscribeInput, H as TranscribeOutput, W as WebJob, I as WebScrapeOutput, K as WebSearchOutput } from './_types/integrations.d-B3Ea8Iuc.js';
36
- export { L as LogsPage, S as SiteAnalyticsOutput, a as SiteDimension, b as SiteMetric } from './_types/ops.d-ClcRosoO.js';
36
+ export { L as LogsPage, S as SiteAnalyticsOutput, a as SiteDimension, b as SiteMetric } from './_types/ops.d-G13QAhKA.js';
37
37
  import './_types/coerce.d-Dgx5wOUv.js';
38
38
 
39
39
  /** The options of `createTotalum()`: every namespace's options in one object (each falls back to its env var). */
@@ -1,5 +1,5 @@
1
- import { c as LogsQueryInput } from '../_types/ops.d-ClcRosoO.js';
2
- export { L as LogsPage } from '../_types/ops.d-ClcRosoO.js';
1
+ import { c as LogsQueryInput } from '../_types/ops.d-G13QAhKA.js';
2
+ export { L as LogsPage } from '../_types/ops.d-G13QAhKA.js';
3
3
  import { T as TotalumClientOptions } from '../_types/errors.d-CIkIZmY-.js';
4
4
  export { a as TotalumError, b as TotalumErrorCode, i as isTotalumError } from '../_types/errors.d-CIkIZmY-.js';
5
5
  import '../_types/coerce.d-Dgx5wOUv.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "totalum-sdk",
3
- "version": "1.10.3",
3
+ "version": "1.10.4",
4
4
  "description": "The SDK generated Totalum apps import: every integration namespace over SDK-API (totalum-sdk, or one subpath each: /files, /ai, /web, \u2026) and totalum-sdk/d1, the D1 driver",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
package/totalum-sdk.md CHANGED
@@ -757,7 +757,7 @@ totalumCron(options?: TotalumClientOptions)
757
757
 
758
758
  `totalum.cron` over the Totalum API `/v1/cron/*` (scope `cron`): HTTP jobs against the project's own host,
759
759
  fired by Totalum's Scheduler; limits per plan (`429 CRON_LIMIT_REACHED {limit, plan}`, `400 INVALID_SCHEDULE
760
- {minIntervalSeconds}`). Executions cost nothing. `timezone` (IANA) reads the schedule on that zone's clock, daylight
760
+ {minIntervalSeconds}`). Each run costs a small fraction of a credit. `timezone` (IANA) reads the schedule on that zone's clock, daylight
761
761
  saving included; `pauseAfterFailures` (1–100, default 3; `null` = never) sets how many failed runs in a row pause it.
762
762
 
763
763
  #### `cron.create`
@@ -1018,7 +1018,7 @@ totalumAnalytics(options?: TotalumClientOptions)
1018
1018
  #### `analytics.site`
1019
1019
 
1020
1020
  ```ts
1021
- analytics.site(q?: SiteAnalyticsQuery): Promise<{ window: { from: string; to: string; granularity: 'day' | 'hour' | 'minute'; }; source: 'wae'; approximate: { uniques: boolean; }; cachedAt: string; series?: { [x: string]: number; t: string; }[] | undefined; top?: { [x: string]: number; key: string; share: number; }[] | undefined; }>
1021
+ analytics.site(q?: SiteAnalyticsQuery): Promise<{ window: { from: string; to: string; granularity: 'day' | 'minute' | 'hour'; }; source: 'wae'; approximate: { uniques: boolean; }; cachedAt: string; series?: { [x: string]: number; t: string; }[] | undefined; top?: { [x: string]: number; key: string; share: number; }[] | undefined; }>
1022
1022
  ```
1023
1023
 
1024
1024
  Page views, visits, uniques, errors, bytes or TTFB as a series or a top-N.
@@ -1148,7 +1148,7 @@ type SiteAnalyticsQuery = {
1148
1148
  from?: string;
1149
1149
  to?: string;
1150
1150
  /** `minute` only within the last 30 minutes. */
1151
- granularity?: 'day' | 'hour' | 'minute';
1151
+ granularity?: 'day' | 'minute' | 'hour';
1152
1152
  /** Up to 4. */
1153
1153
  metric?: 'uniques' | 'bytes' | 'errors' | 'page_views' | 'hits' | 'ttfb_p50' | 'ttfb_p95' | ('uniques' | 'bytes' | 'errors' | 'page_views' | 'hits' | 'ttfb_p50' | 'ttfb_p95')[];
1154
1154
  /** Omit for a time series (`series`); set for a top-N (`top`). */
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.10.3",
2
+ "version": "1.10.4",
3
3
  "methods": [
4
4
  {
5
5
  "call": "totalum.files.upload(input, { name?, contentType?, private?, folder? })",
@@ -326,7 +326,7 @@
326
326
  "returns": "{ items, window, nextCursor, sampled, hint? }"
327
327
  },
328
328
  {
329
- "call": "totalum.analytics.site({ from?, to?, granularity?: 'day' | 'hour' | 'minute', metric?, dimension?, limit?, bots?: 'exclude' | 'include' | 'only', env?: 'dev' | 'live' })",
329
+ "call": "totalum.analytics.site({ from?, to?, granularity?: 'day' | 'minute' | 'hour', metric?, dimension?, limit?, bots?: 'exclude' | 'include' | 'only', env?: 'dev' | 'live' })",
330
330
  "returns": "{ window, source, approximate, cachedAt, series?, top? }"
331
331
  }
332
332
  ]
@@ -36,8 +36,8 @@ declare const SiteAnalyticsOutput: ZodObject<{
36
36
  to: ZodISODateTime;
37
37
  granularity: ZodEnum<{
38
38
  day: "day";
39
- hour: "hour";
40
39
  minute: "minute";
40
+ hour: "hour";
41
41
  }>;
42
42
  }, $strip>;
43
43
  source: ZodLiteral<"wae">;