totalum-sdk 1.10.3 → 1.10.5
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 +10 -0
- package/dist/analytics/index.d.ts +1 -1
- package/dist/cron/index.d.ts +1 -1
- package/dist/cron/index.js +1 -1
- package/dist/files/index.d.ts +2 -2
- package/dist/files/index.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/logs/index.d.ts +2 -2
- package/package.json +1 -1
- package/totalum-sdk.md +5 -5
- package/totalum-sdk.signatures.json +2 -2
- package/dist/_types/{ops.d-ClcRosoO.d.ts → ops.d-G13QAhKA.d.ts} +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -20,6 +20,16 @@ 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.5 — 2026-10-09
|
|
24
|
+
|
|
25
|
+
- Documentation only: `files.getUploadUrl` states the real largest file per plan — 50 MB on Free, 500 MB on
|
|
26
|
+
Starter, Builder and Professional, 1 GB on Enterprise. No public type or request changes.
|
|
27
|
+
|
|
28
|
+
## 1.10.4 — 2026-10-09
|
|
29
|
+
|
|
30
|
+
- Documentation only: `totalum.cron` no longer says runs cost nothing — each run costs a small fraction of a credit.
|
|
31
|
+
No public type or request changes.
|
|
32
|
+
|
|
23
33
|
## 1.10.3 — 2026-10-08
|
|
24
34
|
|
|
25
35
|
- 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-
|
|
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';
|
package/dist/cron/index.d.ts
CHANGED
|
@@ -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}`).
|
|
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): {
|
package/dist/cron/index.js
CHANGED
|
@@ -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}`).
|
|
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/files/index.d.ts
CHANGED
|
@@ -25,8 +25,8 @@ declare function totalumFiles(options?: TotalumFilesOptions): {
|
|
|
25
25
|
upload(input: Blob | ArrayBuffer | Uint8Array | string, opts?: UploadOptions): Promise<FileDescriptor>;
|
|
26
26
|
/**
|
|
27
27
|
* A presigned PUT (15 min, bound to this type and size) for a direct browser/Node upload; then `complete(key)`.
|
|
28
|
-
* The largest file is 50 MB on the Free plan,
|
|
29
|
-
*
|
|
28
|
+
* The largest file is 50 MB on the Free plan, 500 MB on Starter, Builder and Professional, and 1 GB on Enterprise;
|
|
29
|
+
* above it `FILE_TOO_LARGE` (413, `details.maxBytes`).
|
|
30
30
|
*/
|
|
31
31
|
getUploadUrl: (input: FileUploadUrlInput) => Promise<{
|
|
32
32
|
uploadUrl: string;
|
package/dist/files/index.js
CHANGED
|
@@ -32,8 +32,8 @@ export function totalumFiles(options = {}) {
|
|
|
32
32
|
},
|
|
33
33
|
/**
|
|
34
34
|
* A presigned PUT (15 min, bound to this type and size) for a direct browser/Node upload; then `complete(key)`.
|
|
35
|
-
* The largest file is 50 MB on the Free plan,
|
|
36
|
-
*
|
|
35
|
+
* The largest file is 50 MB on the Free plan, 500 MB on Starter, Builder and Professional, and 1 GB on Enterprise;
|
|
36
|
+
* above it `FILE_TOO_LARGE` (413, `details.maxBytes`).
|
|
37
37
|
*/
|
|
38
38
|
getUploadUrl: (input) => call('POST', '/v1/files/upload-url', input),
|
|
39
39
|
/** Registers a file uploaded with `getUploadUrl` and returns its descriptor. */
|
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-
|
|
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). */
|
package/dist/logs/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as LogsQueryInput } from '../_types/ops.d-
|
|
2
|
-
export { L as LogsPage } from '../_types/ops.d-
|
|
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
|
+
"version": "1.10.5",
|
|
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
|
@@ -130,8 +130,8 @@ files.getUploadUrl(input: { name: string; contentType: string; size: number; fol
|
|
|
130
130
|
```
|
|
131
131
|
|
|
132
132
|
A presigned PUT (15 min, bound to this type and size) for a direct browser/Node upload; then `complete(key)`.
|
|
133
|
-
The largest file is 50 MB on the Free plan,
|
|
134
|
-
|
|
133
|
+
The largest file is 50 MB on the Free plan, 500 MB on Starter, Builder and Professional, and 1 GB on Enterprise;
|
|
134
|
+
above it `FILE_TOO_LARGE` (413, `details.maxBytes`).
|
|
135
135
|
|
|
136
136
|
#### `files.complete`
|
|
137
137
|
|
|
@@ -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}`).
|
|
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' | '
|
|
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' | '
|
|
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.
|
|
2
|
+
"version": "1.10.5",
|
|
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' | '
|
|
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
|
]
|