@forumulate/sdk 0.11.2 → 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.2";
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.2';
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";
@@ -3388,6 +3392,9 @@ export declare const OPERATIONS: {
3388
3392
  readonly refund: "POST ~o/shop/orders/{orderId}/refund";
3389
3393
  readonly delete: "=remove DELETE ~o/shop/products/{productId}";
3390
3394
  }];
3395
+ readonly SiblingPage: readonly ["siblingPage", {
3396
+ readonly siblingPage: "GET /public/domains/sibling-page";
3397
+ }];
3391
3398
  readonly Site: readonly ["sites", {
3392
3399
  readonly removeDomain: "DELETE ~o/sites/{siteId}/domains/{domainId}";
3393
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}' }],
@@ -478,6 +478,7 @@ exports.OPERATIONS = {
478
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}' }],
479
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' }],
480
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' }],
481
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}' }],
482
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' }],
483
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: 34742545 bytes
4
- sha256: a05a66848200df106dcac94df946fc5c665cfd896c071fcf8eeb76240f8b4381
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.2",
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",