totalum-sdk 1.11.0 → 1.12.0
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 +20 -0
- package/dist/_types/{coerce.d-BKhuaDya.d.ts → coerce.d-Cp5NZQN-.d.ts} +1 -1
- package/dist/_types/{errors.d-RTRkidv5.d.ts → errors.d-ve4rY-Hx.d.ts} +37 -5
- package/dist/_types/{integrations.d-CzTa9T-L.d.ts → integrations.d-BRhNKT7K.d.ts} +2 -2
- package/dist/_types/{ops.d-CNsrT4Ma.d.ts → ops.d-DIC4u0go.d.ts} +2 -2
- package/dist/ai/index.d.ts +275 -23
- package/dist/ai/index.js +305 -24
- package/dist/analytics/index.d.ts +58 -12
- package/dist/analytics/index.js +46 -3
- package/dist/browser/index.d.ts +228 -20
- package/dist/browser/index.js +122 -13
- package/dist/connections/index.d.ts +305 -23
- package/dist/connections/index.js +302 -21
- package/dist/cron/index.d.ts +147 -20
- package/dist/cron/index.js +157 -15
- package/dist/d1/errors.js +15 -0
- package/dist/d1/index.d.ts +254 -10
- package/dist/d1/index.js +24 -4
- package/dist/d1/session.js +26 -2
- package/dist/email/index.d.ts +65 -10
- package/dist/email/index.js +60 -5
- package/dist/errors.js +17 -0
- package/dist/files/index.d.ts +243 -20
- package/dist/files/index.js +247 -14
- package/dist/index.d.ts +25 -10
- package/dist/index.js +19 -5
- package/dist/logs/index.d.ts +48 -10
- package/dist/logs/index.js +39 -4
- package/dist/payments/index.d.ts +221 -23
- package/dist/payments/index.js +216 -18
- package/dist/pdf/index.d.ts +59 -9
- package/dist/pdf/index.js +54 -4
- package/dist/react/index.d.ts +78 -6
- package/dist/react/index.js +51 -5
- package/dist/realtime/index.d.ts +55 -8
- package/dist/realtime/index.js +53 -6
- package/dist/scan/index.d.ts +78 -10
- package/dist/scan/index.js +63 -3
- package/dist/seo/index.d.ts +1118 -8
- package/dist/seo/index.js +325 -4
- package/dist/speech/index.d.ts +34 -10
- package/dist/speech/index.js +25 -5
- package/dist/vectors/index.d.ts +96 -9
- package/dist/vectors/index.js +93 -7
- package/dist/web/index.d.ts +168 -15
- package/dist/web/index.js +163 -10
- package/dist/webhooks/index.d.ts +122 -15
- package/dist/webhooks/index.js +119 -13
- package/package.json +2 -1
- package/totalum-sdk.md +10336 -754
- package/totalum-sdk.signatures.json +69 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.12.0",
|
|
3
3
|
"methods": [
|
|
4
4
|
{
|
|
5
5
|
"call": "totalum.files.upload(input, { name?, contentType?, private?, folder? })",
|
|
@@ -353,6 +353,74 @@
|
|
|
353
353
|
"call": "totalum.seo.indexNowKey()",
|
|
354
354
|
"returns": "{ key, keyLocation }"
|
|
355
355
|
},
|
|
356
|
+
{
|
|
357
|
+
"call": "totalum.seo.locations()",
|
|
358
|
+
"returns": "{ countries, languages }"
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"call": "totalum.seo.serp.google({ country, city?, language, keyword, depth?, device?: 'mobile' | 'desktop' })",
|
|
362
|
+
"returns": "{ keyword, totalResults, organic, featuredSnippet, peopleAlsoAsk, relatedSearches, aiOverview, usage }"
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"call": "totalum.seo.serp.aiMode({ country, language, keyword, device?: 'mobile' | 'desktop' })",
|
|
366
|
+
"returns": "{ sources, keyword, answer, usage }"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"call": "totalum.seo.serp.maps({ country, city?, language, keyword, depth? })",
|
|
370
|
+
"returns": "{ keyword, results, usage }"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"call": "totalum.seo.ai.answer({ country?, prompt, model?, platform?: 'claude' | 'chatgpt' | 'gemini' | 'perplexity', webSearch? })",
|
|
374
|
+
"returns": "{ sources, model, platform: 'claude' | 'chatgpt' | 'gemini' | 'perplexity', answer, citedDomains, searchQueries, usage }"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"call": "totalum.seo.ai.chatgptSearch({ country, language, keyword })",
|
|
378
|
+
"returns": "{ sources, keyword, answer, searchQueries, searchResults, brands, usage }"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"call": "totalum.seo.ai.mentions({ country, language, domain?, keyword?, platform?: 'chatgpt' | 'google', limit?, view?: 'mentions' | 'top-domains' | 'top-pages' })",
|
|
382
|
+
"returns": "{ pages?, mentions?, totalCount, domains?, usage }"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"call": "totalum.seo.ai.keywordVolume({ country, language, keywords })",
|
|
386
|
+
"returns": "{ keywords, usage }"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"call": "totalum.seo.keywords.ideas({ country, language, keywords, limit? })",
|
|
390
|
+
"returns": "{ keywords, usage }"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"call": "totalum.seo.keywords.related({ country, language, keyword, limit?, depth? })",
|
|
394
|
+
"returns": "{ keywords, usage }"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"call": "totalum.seo.keywords.overview({ country, language, keywords })",
|
|
398
|
+
"returns": "{ keywords, usage }"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"call": "totalum.seo.keywords.trends({ country?, language?, keywords, timeRange?: 'past_7_days' | 'past_30_days' | 'past_90_days' | 'past_12_months' | 'past_5_years' })",
|
|
402
|
+
"returns": "{ keywords, timeline, usage }"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"call": "totalum.seo.domain.keywords({ country, language, domain, limit? })",
|
|
406
|
+
"returns": "{ domain, keywords, totalCount, usage }"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"call": "totalum.seo.domain.competitors({ country, language, domain, limit? })",
|
|
410
|
+
"returns": "{ domain, competitors, usage }"
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"call": "totalum.seo.domain.keywordGap({ country, language, domain, competitor, limit?, mode?: 'shared' | 'missing' })",
|
|
414
|
+
"returns": "{ domain, keywords, competitor, usage }"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"call": "totalum.seo.domain.backlinks({ domain })",
|
|
418
|
+
"returns": "{ domain, rank, backlinks, referringDomains, referringDomainsNofollow, referringMainDomains, referringIps, brokenBacklinks, spamScore, firstSeen, topTlds, topCountries, usage }"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"call": "totalum.seo.page.analyze({ url })",
|
|
422
|
+
"returns": "{ url, links, images, statusCode, title, description, score, content, canonical, headings, wordCount, hasStructuredData, issues, social, usage }"
|
|
423
|
+
},
|
|
356
424
|
{
|
|
357
425
|
"call": "totalum.browser.session({ proxy?, solveCaptchas?, captcha?, stealth?: 'basic' | 'off' | 'verified', fingerprintOs?: 'mobile' | 'windows' | 'mac' | 'linux' | 'tablet', timeoutMinutes?, keepAlive?, context?, contextId?, blockAds?, allowedDomains?, ignoreCertificateErrors?, caCertificateIds?, extensionId?, metadata?, logSession?, recordSession?, region?: 'eu' | 'us-west-2' | 'us-east-1' | 'eu-central-1' | 'ap-southeast-1' | 'us', locale?, timezone?, geolocation?, userAgent?, extraHeaders?, blockResources?, device?, captureDownloads?, viewport? })",
|
|
358
426
|
"returns": "BrowserSession"
|