@forumulate/sdk 0.11.1 → 0.11.3

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/dist/http.d.ts CHANGED
@@ -6,7 +6,7 @@
6
6
  * and not another.
7
7
  */
8
8
  /** Kept in step with package.json by `coverage.test.ts`. */
9
- export declare const SDK_VERSION = "0.11.1";
9
+ export declare const SDK_VERSION = "0.11.3";
10
10
  /** The API's error envelope: `{ error: { code, message, details? }, requestId? }`. */
11
11
  export interface ForumulateErrorInit {
12
12
  /** Field-level detail, e.g. `{ title: ['Required'] }` for `validation.failed`. */
package/dist/http.js CHANGED
@@ -11,7 +11,7 @@ exports.ForumulateError = exports.SDK_VERSION = void 0;
11
11
  exports.retryDelayMs = retryDelayMs;
12
12
  exports.send = send;
13
13
  /** Kept in step with package.json by `coverage.test.ts`. */
14
- exports.SDK_VERSION = '0.11.1';
14
+ exports.SDK_VERSION = '0.11.3';
15
15
  /**
16
16
  * Thrown for any non-2xx API response, and for a network failure that
17
17
  * outlived its retries (`status: 0`, `code: 'network.error'`). Mirrors the
@@ -2175,6 +2175,10 @@ export declare const OPERATIONS: {
2175
2175
  readonly ask: "POST /connector/kb/ask";
2176
2176
  readonly questions: "POST /connector/kb/questions";
2177
2177
  readonly suggest: "POST /connector/kb/suggestions";
2178
+ readonly subscribe: "POST /connector/kb/webhook";
2179
+ readonly webhookStatus: "GET /connector/kb/webhook";
2180
+ readonly unsubscribe: "DELETE /connector/kb/webhook";
2181
+ readonly rotateWebhookSecret: "POST /connector/kb/webhook/rotate-secret";
2178
2182
  }];
2179
2183
  readonly ConnectorProviders: readonly ["integrations.connectorProviders", {
2180
2184
  readonly list: "GET ~o/connector-providers p";
@@ -2949,6 +2953,10 @@ export declare const OPERATIONS: {
2949
2953
  readonly CookieMunch: readonly ["privacy.cookieMunch", {
2950
2954
  readonly handle: "POST /hooks/cookiemunch";
2951
2955
  }];
2956
+ readonly CookieMunchLink: readonly ["privacy.cookieMunchLink", {
2957
+ readonly status: "GET ~o/privacy/cookiemunch";
2958
+ readonly connect: "POST ~o/privacy/cookiemunch/connect";
2959
+ }];
2952
2960
  readonly PrivacyExecutor: readonly ["privacy.executor", {
2953
2961
  readonly exportPolicyAcceptances: "POST /privacy/executor/{orgId}/policy-acceptances/export";
2954
2962
  readonly erasePolicyAcceptances: "POST /privacy/executor/{orgId}/policy-acceptances/erase";
@@ -3345,6 +3353,10 @@ export declare const OPERATIONS: {
3345
3353
  readonly devices: "GET /auth/login-devices p";
3346
3354
  readonly forget: "DELETE /auth/login-devices/{id}";
3347
3355
  }];
3356
+ readonly SeolyticizeHook: readonly ["seolyticizeHook", {
3357
+ readonly get: "GET ~o/seolyticize/deploy-hook";
3358
+ readonly put: "PUT ~o/seolyticize/deploy-hook";
3359
+ }];
3348
3360
  readonly SeoReport: readonly ["seoReport", {
3349
3361
  readonly forSpace: "GET ~s/seo-report p";
3350
3362
  readonly forSite: "GET ~o/sites/{siteId}/seo-report p";
@@ -3380,6 +3392,9 @@ export declare const OPERATIONS: {
3380
3392
  readonly refund: "POST ~o/shop/orders/{orderId}/refund";
3381
3393
  readonly delete: "=remove DELETE ~o/shop/products/{productId}";
3382
3394
  }];
3395
+ readonly SiblingPage: readonly ["siblingPage", {
3396
+ readonly siblingPage: "GET /public/domains/sibling-page";
3397
+ }];
3383
3398
  readonly Site: readonly ["sites", {
3384
3399
  readonly removeDomain: "DELETE ~o/sites/{siteId}/domains/{domainId}";
3385
3400
  readonly list: "GET ~o/sites p";
@@ -296,7 +296,7 @@ exports.OPERATIONS = {
296
296
  IntegrationHealth: ['integrationHealth', { get: 'GET ~o/integration-health' }],
297
297
  Integrations: ['integrations', { catalog: 'GET ~o/integrations/catalog p', list: 'GET ~o/integrations p', install: 'POST ~o/integrations', update: 'PATCH ~o/integrations/{id}', uninstall: 'DELETE ~o/integrations/{id}', test: 'POST ~o/integrations/{id}/test' }],
298
298
  AtlasWebhook: ['integrations.atlasWebhook', { receive: 'POST /atlas/webhooks' }],
299
- ConnectorKb: ['integrations.connectorKb', { manifest: 'GET /connector/kb/manifest', pages: 'GET /connector/kb/pages', chunks: 'GET /connector/kb/chunks p', search: 'GET /connector/kb/search', llms: 'GET /connector/kb/llms.txt', ask: 'POST /connector/kb/ask', questions: 'POST /connector/kb/questions', suggest: 'POST /connector/kb/suggestions' }],
299
+ ConnectorKb: ['integrations.connectorKb', { manifest: 'GET /connector/kb/manifest', pages: 'GET /connector/kb/pages', chunks: 'GET /connector/kb/chunks p', search: 'GET /connector/kb/search', llms: 'GET /connector/kb/llms.txt', ask: 'POST /connector/kb/ask', questions: 'POST /connector/kb/questions', suggest: 'POST /connector/kb/suggestions', subscribe: 'POST /connector/kb/webhook', webhookStatus: 'GET /connector/kb/webhook', unsubscribe: 'DELETE /connector/kb/webhook', rotateWebhookSecret: 'POST /connector/kb/webhook/rotate-secret' }],
300
300
  ConnectorProviders: ['integrations.connectorProviders', { list: 'GET ~o/connector-providers p' }],
301
301
  Connectors: ['integrations.connectors', { list: 'GET ~s/connectors p', install: 'POST ~s/connectors', update: 'PATCH ~s/connectors/{connectorId}', remove: 'DELETE ~s/connectors/{connectorId}', mintToken: 'POST ~s/connectors/{connectorId}/token', revokeToken: 'DELETE ~s/connectors/{connectorId}/token', test: 'POST ~s/connectors/{connectorId}/test', registerKnowledge: 'POST ~s/connectors/{connectorId}/knowledge/register', activity: 'GET ~s/connectors/{connectorId}/activity p', delete: '=remove DELETE ~s/connectors/{connectorId}' }],
302
302
  CustomProviders: ['integrations.customProviders', { list: 'GET ~o/custom-chat-providers p', create: 'POST ~o/custom-chat-providers', get: 'GET ~o/custom-chat-providers/{slug}', update: 'PUT ~o/custom-chat-providers/{slug}', patch: 'PATCH ~o/custom-chat-providers/{slug}', remove: 'DELETE ~o/custom-chat-providers/{slug}', delete: '=remove DELETE ~o/custom-chat-providers/{slug}' }],
@@ -410,6 +410,7 @@ exports.OPERATIONS = {
410
410
  ConsentPartners: ['privacy.consentPartners', { list: 'GET ~o/consent/partners', upsert: 'PUT ~o/consent/partners/{partnerId}', remove: 'DELETE ~o/consent/partners/{partnerId}', delete: '=remove DELETE ~o/consent/partners/{partnerId}' }],
411
411
  ConsentWebhook: ['privacy.consentWebhook', { handle: 'POST /hooks/consent/{orgId}', status: 'GET /hooks/consent/{orgId}' }],
412
412
  CookieMunch: ['privacy.cookieMunch', { handle: 'POST /hooks/cookiemunch' }],
413
+ CookieMunchLink: ['privacy.cookieMunchLink', { status: 'GET ~o/privacy/cookiemunch', connect: 'POST ~o/privacy/cookiemunch/connect' }],
413
414
  PrivacyExecutor: ['privacy.executor', { exportPolicyAcceptances: 'POST /privacy/executor/{orgId}/policy-acceptances/export', erasePolicyAcceptances: 'POST /privacy/executor/{orgId}/policy-acceptances/erase', lookup: 'POST /privacy/executor/{orgId}/lookup', open: 'POST /privacy/executor/{orgId}/requests', list: 'GET /privacy/executor/{orgId}/requests p', status: 'GET /privacy/executor/{orgId}/requests/{id}', cancel: 'POST /privacy/executor/{orgId}/requests/{id}/cancel', export: 'GET /privacy/executor/{orgId}/requests/{id}/export' }],
414
415
  ConsentPublic: ['privacy.publicConsent', { resolved: 'GET ~P/consent', record: 'POST ~P/consent/receipts' }],
415
416
  Public: ['public', { gate: 'GET ~P/gate', hubIntro: 'GET ~P/hubs/{kind}/{key}', search: 'GET ~P/search', pdf: 'GET ~P/pdf b', pagePdf: 'GET ~P/pages/{pageId}/pdf b', faq: 'GET ~P/faq', apiOrigins: 'GET ~P/api-origins p', scriptOrigins: 'GET ~P/script-origins p', styleOrigins: 'GET ~P/style-origins', seo: 'GET ~P/seo', siteOf: 'GET ~P/site', chrome: 'GET ~P/chrome', sitemap: 'GET ~P/sitemap.xml', robots: 'GET ~P/robots.txt', updates: 'GET ~P/updates p', llmsTxt: 'GET ~P/llms.txt', llmsFull: 'GET ~P/llms-full.txt', skillMd: 'GET ~P/skill.md', pageMarkdown: 'GET ~P/pages/{pageId}.md', overview: 'GET ~P', pageVersion: 'GET ~P/pages/{pageId}/version', page: 'GET ~P/pages/{pageId}', exportAll: 'GET ~P/export', view: 'POST ~P/pages/{pageId}/view' }],
@@ -472,10 +473,12 @@ exports.OPERATIONS = {
472
473
  EmbeddingProvider: ['search.embeddingProvider', { status: 'GET ~o/search/embedding-provider', connect: 'PUT ~o/search/embedding-provider', patch: 'PATCH ~o/search/embedding-provider', disconnect: 'DELETE ~o/search/embedding-provider', test: 'POST ~o/search/embedding-provider/test', reindex: 'POST ~o/search/embedding-provider/reindex', update: '=patch PATCH ~o/search/embedding-provider' }],
473
474
  Retrieval: ['search.retrieval', { retrieve: 'POST ~o/search' }],
474
475
  SecurityPolicy: ['securityPolicy', { twoFactor: 'GET ~o/security/two-factor', devices: 'GET /auth/login-devices p', forget: 'DELETE /auth/login-devices/{id}' }],
476
+ SeolyticizeHook: ['seolyticizeHook', { get: 'GET ~o/seolyticize/deploy-hook', put: 'PUT ~o/seolyticize/deploy-hook' }],
475
477
  SeoReport: ['seoReport', { forSpace: 'GET ~s/seo-report p', forSite: 'GET ~o/sites/{siteId}/seo-report p' }],
476
478
  ServiceConnectors: ['serviceConnectors', { catalog: 'GET ~o/service-connectors/catalog p', list: 'GET ~o/service-connectors p', get: 'GET ~o/service-connectors/{provider}', set: 'PUT ~o/service-connectors/{provider}', patch: 'PATCH ~o/service-connectors/{provider}', remove: 'DELETE ~o/service-connectors/{provider}', sync: 'POST ~o/service-connectors/{provider}/sync', authorizeUrl: 'GET ~o/service-connectors/{provider}/authorize-url', delete: '=remove DELETE ~o/service-connectors/{provider}', update: '=patch PATCH ~o/service-connectors/{provider}' }],
477
479
  Shape: ['shapes', { get: 'GET ~s/shape', put: 'PUT ~s/shape', patch: 'PATCH ~s/shape', setDefaultKind: 'PUT ~s/shape/default-kind', setKind: 'PUT ~s/shape/kinds/{name}', removeKind: 'DELETE ~s/shape/kinds/{name}', applyPreset: 'POST ~s/shape/presets/{name}', update: '=patch PATCH ~s/shape' }],
478
480
  Shop: ['shop', { list: 'GET ~o/shop/products p', create: 'POST ~o/shop/products', update: 'PATCH ~o/shop/products/{productId}', remove: 'DELETE ~o/shop/products/{productId}', orders: 'GET ~o/shop/orders p', refund: 'POST ~o/shop/orders/{orderId}/refund', delete: '=remove DELETE ~o/shop/products/{productId}' }],
481
+ SiblingPage: ['siblingPage', { siblingPage: 'GET /public/domains/sibling-page' }],
479
482
  Site: ['sites', { removeDomain: 'DELETE ~o/sites/{siteId}/domains/{domainId}', list: 'GET ~o/sites p', create: 'POST ~o/sites', get: 'GET ~o/sites/{siteId}', update: 'PATCH ~o/sites/{siteId}', replace: 'PUT ~o/sites/{siteId}', remove: 'DELETE ~o/sites/{siteId}', setStaging: 'POST ~o/sites/{siteId}/staging', listDomains: 'GET ~o/sites/{siteId}/domains p', addDomain: 'POST ~o/sites/{siteId}/domains', domainSetup: 'GET ~o/sites/{siteId}/domains/{domainId}/setup', setDomainWww: 'PUT ~o/sites/{siteId}/domains/{domainId}/www', allocateSubdomain: 'POST ~o/sites/{siteId}/domains/subdomain', verifyDomain: 'POST ~o/sites/{siteId}/domains/{domainId}/verify', activateDomain: 'POST ~o/sites/{siteId}/domains/{domainId}/activate', delete: '=remove DELETE ~o/sites/{siteId}' }],
480
483
  SiteBrand: ['sites.brand', { get: 'GET ~o/sites/{siteId}/brand', put: 'PUT ~o/sites/{siteId}/brand', patch: 'PATCH ~o/sites/{siteId}/brand', remove: 'DELETE ~o/sites/{siteId}/brand', refresh: 'POST ~o/sites/{siteId}/brand/refresh', delete: '=remove DELETE ~o/sites/{siteId}/brand', update: '=patch PATCH ~o/sites/{siteId}/brand' }],
481
484
  SiteConsent: ['sites.consent', { get: 'GET ~o/sites/{siteId}/consent', set: 'PUT ~o/sites/{siteId}/consent' }],
package/dist/schema.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist/schema.d.ts
3
- size: 34702332 bytes
4
- sha256: 861c073c09e845a2ba396ebe1adb7a51c8f8d6b89c64dcb964753f3c0cd26c98
3
+ size: 34782328 bytes
4
+ sha256: f987074d98809f4a6497e2aa36a9618cc54bff81e1c258b25fc7898f87e76754
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forumulate/sdk",
3
- "version": "0.11.1",
3
+ "version": "0.11.3",
4
4
  "description": "Typed TypeScript client for the Forumulate REST API.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://forumulate.com/reference",