bem-ai-sdk 0.19.0 → 0.20.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 +17 -0
- package/client.d.mts +92 -20
- package/client.d.mts.map +1 -1
- package/client.d.ts +92 -20
- package/client.d.ts.map +1 -1
- package/client.js +81 -9
- package/client.js.map +1 -1
- package/client.mjs +82 -10
- package/client.mjs.map +1 -1
- package/index.d.mts +4 -0
- package/index.d.mts.map +1 -1
- package/index.d.ts +4 -0
- package/index.d.ts.map +1 -1
- package/index.js +13 -1
- package/index.js.map +1 -1
- package/index.mjs +4 -0
- package/index.mjs.map +1 -1
- package/lib/uploads.d.mts +23 -0
- package/lib/uploads.d.mts.map +1 -0
- package/lib/uploads.d.ts +23 -0
- package/lib/uploads.d.ts.map +1 -0
- package/lib/uploads.js +96 -0
- package/lib/uploads.js.map +1 -0
- package/lib/uploads.mjs +60 -0
- package/lib/uploads.mjs.map +1 -0
- package/lib/upsert.d.mts +44 -0
- package/lib/upsert.d.mts.map +1 -0
- package/lib/upsert.d.ts +44 -0
- package/lib/upsert.d.ts.map +1 -0
- package/lib/upsert.js +61 -0
- package/lib/upsert.js.map +1 -0
- package/lib/upsert.mjs +57 -0
- package/lib/upsert.mjs.map +1 -0
- package/lib/wait.d.mts +63 -0
- package/lib/wait.d.mts.map +1 -0
- package/lib/wait.d.ts +63 -0
- package/lib/wait.d.ts.map +1 -0
- package/lib/wait.js +88 -0
- package/lib/wait.js.map +1 -0
- package/lib/wait.mjs +82 -0
- package/lib/wait.mjs.map +1 -0
- package/lib/webhooks.d.mts +79 -0
- package/lib/webhooks.d.mts.map +1 -0
- package/lib/webhooks.d.ts +79 -0
- package/lib/webhooks.d.ts.map +1 -0
- package/lib/webhooks.js +138 -0
- package/lib/webhooks.js.map +1 -0
- package/lib/webhooks.mjs +133 -0
- package/lib/webhooks.mjs.map +1 -0
- package/package.json +11 -1
- package/resources/collections/collections.d.mts +24 -26
- package/resources/collections/collections.d.mts.map +1 -1
- package/resources/collections/collections.d.ts +24 -26
- package/resources/collections/collections.d.ts.map +1 -1
- package/resources/collections/collections.js.map +1 -1
- package/resources/collections/collections.mjs.map +1 -1
- package/resources/collections/index.d.mts +2 -2
- package/resources/collections/index.d.mts.map +1 -1
- package/resources/collections/index.d.ts +2 -2
- package/resources/collections/index.d.ts.map +1 -1
- package/resources/collections/index.js.map +1 -1
- package/resources/collections/index.mjs.map +1 -1
- package/resources/collections/items.d.mts +6 -116
- package/resources/collections/items.d.mts.map +1 -1
- package/resources/collections/items.d.ts +6 -116
- package/resources/collections/items.d.ts.map +1 -1
- package/resources/collections/items.js +1 -1
- package/resources/collections/items.js.map +1 -1
- package/resources/collections/items.mjs +1 -1
- package/resources/collections/items.mjs.map +1 -1
- package/resources/connectors.d.mts +185 -0
- package/resources/connectors.d.mts.map +1 -0
- package/resources/connectors.d.ts +185 -0
- package/resources/connectors.d.ts.map +1 -0
- package/resources/connectors.js +69 -0
- package/resources/connectors.js.map +1 -0
- package/resources/connectors.mjs +65 -0
- package/resources/connectors.mjs.map +1 -0
- package/resources/eval/eval.d.mts +2 -2
- package/resources/eval/eval.d.mts.map +1 -1
- package/resources/eval/eval.d.ts +2 -2
- package/resources/eval/eval.d.ts.map +1 -1
- package/resources/eval/eval.js.map +1 -1
- package/resources/eval/eval.mjs +1 -1
- package/resources/eval/eval.mjs.map +1 -1
- package/resources/eval/index.d.mts +1 -1
- package/resources/eval/index.d.mts.map +1 -1
- package/resources/eval/index.d.ts +1 -1
- package/resources/eval/index.d.ts.map +1 -1
- package/resources/eval/index.js.map +1 -1
- package/resources/eval/index.mjs.map +1 -1
- package/resources/eval/results.d.mts +16 -68
- package/resources/eval/results.d.mts.map +1 -1
- package/resources/eval/results.d.ts +16 -68
- package/resources/eval/results.d.ts.map +1 -1
- package/resources/eval/results.js +9 -7
- package/resources/eval/results.js.map +1 -1
- package/resources/eval/results.mjs +9 -7
- package/resources/eval/results.mjs.map +1 -1
- package/resources/fs.d.mts +27 -3
- package/resources/fs.d.mts.map +1 -1
- package/resources/fs.d.ts +27 -3
- package/resources/fs.d.ts.map +1 -1
- package/resources/functions/functions.d.mts +46 -176
- package/resources/functions/functions.d.mts.map +1 -1
- package/resources/functions/functions.d.ts +46 -176
- package/resources/functions/functions.d.ts.map +1 -1
- package/resources/functions/functions.js.map +1 -1
- package/resources/functions/functions.mjs.map +1 -1
- package/resources/functions/index.d.mts +1 -1
- package/resources/functions/index.d.mts.map +1 -1
- package/resources/functions/index.d.ts +1 -1
- package/resources/functions/index.d.ts.map +1 -1
- package/resources/functions/index.js.map +1 -1
- package/resources/functions/index.mjs.map +1 -1
- package/resources/functions/versions.d.mts +2 -35
- package/resources/functions/versions.d.mts.map +1 -1
- package/resources/functions/versions.d.ts +2 -35
- package/resources/functions/versions.d.ts.map +1 -1
- package/resources/index.d.mts +9 -6
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +9 -6
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +8 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +4 -1
- package/resources/index.mjs.map +1 -1
- package/resources/outputs.d.mts +410 -7
- package/resources/outputs.d.mts.map +1 -1
- package/resources/outputs.d.ts +410 -7
- package/resources/outputs.d.ts.map +1 -1
- package/resources/outputs.js.map +1 -1
- package/resources/outputs.mjs.map +1 -1
- package/resources/subscriptions.d.mts +215 -0
- package/resources/subscriptions.d.mts.map +1 -0
- package/resources/subscriptions.d.ts +215 -0
- package/resources/subscriptions.d.ts.map +1 -0
- package/resources/subscriptions.js +62 -0
- package/resources/subscriptions.js.map +1 -0
- package/resources/subscriptions.mjs +58 -0
- package/resources/subscriptions.mjs.map +1 -0
- package/resources/webhook-secret.d.mts +47 -24
- package/resources/webhook-secret.d.mts.map +1 -1
- package/resources/webhook-secret.d.ts +47 -24
- package/resources/webhook-secret.d.ts.map +1 -1
- package/resources/webhook-secret.js +44 -10
- package/resources/webhook-secret.js.map +1 -1
- package/resources/webhook-secret.mjs +42 -8
- package/resources/webhook-secret.mjs.map +1 -1
- package/resources/webhooks.d.mts +1064 -0
- package/resources/webhooks.d.mts.map +1 -0
- package/resources/webhooks.d.ts +1064 -0
- package/resources/webhooks.d.ts.map +1 -0
- package/resources/webhooks.js +12 -0
- package/resources/webhooks.js.map +1 -0
- package/resources/webhooks.mjs +8 -0
- package/resources/webhooks.mjs.map +1 -0
- package/resources/workflows/index.d.mts +1 -1
- package/resources/workflows/index.d.mts.map +1 -1
- package/resources/workflows/index.d.ts +1 -1
- package/resources/workflows/index.d.ts.map +1 -1
- package/resources/workflows/index.js.map +1 -1
- package/resources/workflows/index.mjs.map +1 -1
- package/resources/workflows/workflows.d.mts +122 -204
- package/resources/workflows/workflows.d.mts.map +1 -1
- package/resources/workflows/workflows.d.ts +122 -204
- package/resources/workflows/workflows.d.ts.map +1 -1
- package/resources/workflows/workflows.js.map +1 -1
- package/resources/workflows/workflows.mjs.map +1 -1
- package/src/client.ts +171 -20
- package/src/index.ts +13 -0
- package/src/lib/uploads.ts +66 -0
- package/src/lib/upsert.ts +91 -0
- package/src/lib/wait.ts +136 -0
- package/src/lib/webhooks.ts +194 -0
- package/src/resources/collections/collections.ts +23 -26
- package/src/resources/collections/index.ts +2 -2
- package/src/resources/collections/items.ts +5 -137
- package/src/resources/connectors.ts +238 -0
- package/src/resources/eval/eval.ts +2 -9
- package/src/resources/eval/index.ts +1 -2
- package/src/resources/eval/results.ts +16 -81
- package/src/resources/fs.ts +32 -3
- package/src/resources/functions/functions.ts +51 -190
- package/src/resources/functions/index.ts +2 -0
- package/src/resources/functions/versions.ts +2 -38
- package/src/resources/index.ts +43 -6
- package/src/resources/outputs.ts +526 -41
- package/src/resources/subscriptions.ts +320 -0
- package/src/resources/webhook-secret.ts +47 -28
- package/src/resources/webhooks.ts +1372 -0
- package/src/resources/workflows/index.ts +5 -0
- package/src/resources/workflows/workflows.ts +145 -270
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.20.0 (2026-05-07)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.19.1...v0.20.0](https://github.com/bem-team/bem-typescript-sdk/compare/v0.19.1...v0.20.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** add new resources and webhook support ([51cd1df](https://github.com/bem-team/bem-typescript-sdk/commit/51cd1df28b004fe172d7190d26b2b8c7add713d0))
|
|
10
|
+
* **api:** api update ([10796c9](https://github.com/bem-team/bem-typescript-sdk/commit/10796c9c0cbee0b005c467f7ca0ccea9aee45274))
|
|
11
|
+
|
|
12
|
+
## 0.19.1 (2026-05-07)
|
|
13
|
+
|
|
14
|
+
Full Changelog: [v0.19.0...v0.19.1](https://github.com/bem-team/bem-typescript-sdk/compare/v0.19.0...v0.19.1)
|
|
15
|
+
|
|
16
|
+
### Documentation
|
|
17
|
+
|
|
18
|
+
* update http mcp docs ([cdd651f](https://github.com/bem-team/bem-typescript-sdk/commit/cdd651f0b3e87fadbb46c2d99ded35e2e58eeeca))
|
|
19
|
+
|
|
3
20
|
## 0.19.0 (2026-05-04)
|
|
4
21
|
|
|
5
22
|
Full Changelog: [v0.18.0...v0.19.0](https://github.com/bem-team/bem-typescript-sdk/compare/v0.18.0...v0.19.0)
|
package/client.d.mts
CHANGED
|
@@ -9,16 +9,19 @@ import * as Uploads from "./core/uploads.mjs";
|
|
|
9
9
|
import * as API from "./resources/index.mjs";
|
|
10
10
|
import { APIPromise } from "./core/api-promise.mjs";
|
|
11
11
|
import { Call, CallGetResponse, CallListParams, CallRetrieveTraceResponse, Calls, CallsCallsPage } from "./resources/calls.mjs";
|
|
12
|
+
import { Connector, ConnectorCreateParams, ConnectorDeleteResponse, ConnectorListParams, ConnectorListResponse, ConnectorType, Connectors } from "./resources/connectors.mjs";
|
|
12
13
|
import { ErrorEvent, ErrorEventsErrorsPage, ErrorListParams, ErrorRetrieveResponse, Errors as ErrorsAPIErrors, InboundEmailEvent } from "./resources/errors.mjs";
|
|
13
14
|
import { EventSubmitFeedbackParams, EventSubmitFeedbackResponse, Events } from "./resources/events.mjs";
|
|
14
|
-
import { FNavigateParams, FNavigateResponse, Fs } from "./resources/fs.mjs";
|
|
15
|
+
import { FNavigateParams, FNavigateResponse, Fs, FsOp } from "./resources/fs.mjs";
|
|
15
16
|
import { InferSchema, InferSchemaCreateParams, InferSchemaCreateResponse } from "./resources/infer-schema.mjs";
|
|
16
|
-
import { AnyType, Event, EventsOutputsPage, OutputListParams, OutputRetrieveResponse, Outputs } from "./resources/outputs.mjs";
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
17
|
+
import { AnyType, Event, EventsOutputsPage, InputType, OutputListParams, OutputRetrieveResponse, Outputs } from "./resources/outputs.mjs";
|
|
18
|
+
import { SubscriptionCreateParams, SubscriptionListParams, SubscriptionListResponse, SubscriptionUpdateParams, SubscriptionV3, Subscriptions } from "./resources/subscriptions.mjs";
|
|
19
|
+
import { WebhookSecret, WebhookSecretResource } from "./resources/webhook-secret.mjs";
|
|
20
|
+
import { ClassifyWebhookEvent, CollectionProcessingWebhookEvent, EnrichWebhookEvent, EvaluationWebhookEvent, ExtractWebhookEvent, JoinWebhookEvent, ParseWebhookEvent, PayloadShapingWebhookEvent, SendWebhookEvent, SplitCollectionWebhookEvent, SplitItemWebhookEvent, UnwrapWebhookEvent, Webhooks } from "./resources/webhooks.mjs";
|
|
21
|
+
import { Collection, CollectionCountTokensParams, CollectionCountTokensResponse, CollectionCreateParams, CollectionDeleteParams, CollectionItem, CollectionListParams, CollectionListResponse, Collections } from "./resources/collections/collections.mjs";
|
|
19
22
|
import { Eval, EvalTriggerEvaluationParams, EvalTriggerEvaluationResponse } from "./resources/eval/eval.mjs";
|
|
20
|
-
import { ClassificationListItem, CreateFunction, EnrichConfig, EnrichStep, Function, FunctionAudit, FunctionCreateParams, FunctionListParams, FunctionResponse, FunctionType, FunctionUpdateParams, Functions, FunctionsFunctionsPage, ListFunctionsResponse, SplitFunctionSemanticPageItemClass, UpdateFunction, UserActionSummary, WorkflowUsageInfo } from "./resources/functions/functions.mjs";
|
|
21
|
-
import { FunctionVersionIdentifier, Workflow, WorkflowAudit, WorkflowCallParams, WorkflowCopyParams, WorkflowCopyResponse, WorkflowCreateParams, WorkflowEdgeResponse, WorkflowListParams, WorkflowNodeResponse, WorkflowRetrieveResponse, WorkflowUpdateParams, WorkflowUpdateResponse, Workflows, WorkflowsWorkflowsPage } from "./resources/workflows/workflows.mjs";
|
|
23
|
+
import { ClassificationListItem, CreateFunction, EnrichConfig, EnrichStep, Function, FunctionAudit, FunctionCreateParams, FunctionListParams, FunctionResponse, FunctionType, FunctionUpdateParams, Functions, FunctionsFunctionsPage, ListFunctionsResponse, ParseConfig, SendDestinationType, SplitFunctionSemanticPageItemClass, UpdateFunction, UserActionSummary, WorkflowUsageInfo } from "./resources/functions/functions.mjs";
|
|
24
|
+
import { FunctionVersionIdentifier, Workflow, WorkflowAudit, WorkflowCallParams, WorkflowConnector, WorkflowConnectorError, WorkflowConnectorType, WorkflowCopyParams, WorkflowCopyResponse, WorkflowCreateParams, WorkflowEdge, WorkflowEdgeResponse, WorkflowListParams, WorkflowNode, WorkflowNodeResponse, WorkflowRetrieveResponse, WorkflowUpdateParams, WorkflowUpdateResponse, Workflows, WorkflowsWorkflowsPage } from "./resources/workflows/workflows.mjs";
|
|
22
25
|
import { type Fetch } from "./internal/builtin-types.mjs";
|
|
23
26
|
import { HeadersLike, NullableHeaders } from "./internal/headers.mjs";
|
|
24
27
|
import { FinalRequestOptions, RequestOptions } from "./internal/request-options.mjs";
|
|
@@ -304,18 +307,53 @@ export declare class Bem {
|
|
|
304
307
|
* Split and enrich function types do not support feedback.
|
|
305
308
|
*/
|
|
306
309
|
events: API.Events;
|
|
310
|
+
webhooks: API.Webhooks;
|
|
307
311
|
/**
|
|
308
|
-
*
|
|
312
|
+
* bem POSTs a JSON event to your configured webhook URL each time a subscribed function call, workflow output, or collection-processing job fires. This section is the reference for those deliveries: the payload shape per event type, plus the endpoints you use to manage the signing secret.
|
|
309
313
|
*
|
|
310
|
-
*
|
|
311
|
-
* in the format `t={unix_timestamp},v1={hex_hmac_sha256}`. The signature covers
|
|
312
|
-
* `{timestamp}.{raw_request_body}` and can be verified using HMAC-SHA256 with your secret.
|
|
314
|
+
* Every variant shares the same envelope — function/workflow IDs, timestamps, the inbound email that triggered the call, and so on — and adds a payload field that depends on the function type. The `eventType` field on the body is the discriminator: dispatch on it to select which payload shape to expect. SDKs generated from this spec expose a `webhooks.unwrap()` helper that performs the dispatch and returns a typed event.
|
|
313
315
|
*
|
|
314
|
-
*
|
|
315
|
-
*
|
|
316
|
-
*
|
|
316
|
+
* ## Payloads
|
|
317
|
+
*
|
|
318
|
+
* | `eventType` | Payload | Schema |
|
|
319
|
+
* | --- | --- | --- |
|
|
320
|
+
* | `extract` | [Extract event](/api/v3/webhooks/events/extract) | `ExtractEvent` |
|
|
321
|
+
* | `classify` | [Classify event](/api/v3/webhooks/events/classify) | `ClassifyEvent` |
|
|
322
|
+
* | `parse` | [Parse event](/api/v3/webhooks/events/parse) | `ParseEvent` |
|
|
323
|
+
* | `split_collection` | [Split collection event](/api/v3/webhooks/events/split-collection) | `SplitCollectionEvent` |
|
|
324
|
+
* | `split_item` | [Split item event](/api/v3/webhooks/events/split-item) | `SplitItemEvent` |
|
|
325
|
+
* | `join` | [Join event](/api/v3/webhooks/events/join) | `JoinEvent` |
|
|
326
|
+
* | `enrich` | [Enrich event](/api/v3/webhooks/events/enrich) | `EnrichEvent` |
|
|
327
|
+
* | `payload_shaping` | [Payload shaping event](/api/v3/webhooks/events/payload-shaping) | `PayloadShapingEvent` |
|
|
328
|
+
* | `send` | [Send event](/api/v3/webhooks/events/send) | `SendEvent` |
|
|
329
|
+
* | `evaluation` | [Evaluation event](/api/v3/webhooks/events/evaluation) | `EvaluationEvent` |
|
|
330
|
+
* | `collection_processing` | [Collection processing event](/api/v3/webhooks/events/collection-processing) | `collectionProcessingEvent` |
|
|
331
|
+
* | `error` | [Error event](/api/v3/webhooks/events/error) | `ErrorEvent` |
|
|
332
|
+
*
|
|
333
|
+
* ## Signing secret
|
|
334
|
+
*
|
|
335
|
+
* Every delivery includes a `bem-signature` header in the format `t={unix_timestamp},v1={hex_hmac_sha256}`. The signature covers `{timestamp}.{raw_request_body}` and is computed with HMAC-SHA256 using the active signing secret for your environment.
|
|
336
|
+
*
|
|
337
|
+
* To verify a payload:
|
|
338
|
+
*
|
|
339
|
+
* 1. Parse `bem-signature: t={timestamp},v1={signature}`.
|
|
340
|
+
* 2. Construct the signed string: `{timestamp}.{raw_request_body}`.
|
|
341
|
+
* 3. Compute HMAC-SHA256 of that string using your secret.
|
|
342
|
+
* 4. Reject the request if the hex digest doesn't match `v1`, or if the timestamp is more than a few minutes old.
|
|
343
|
+
*
|
|
344
|
+
* Manage the secret with these endpoints:
|
|
345
|
+
*
|
|
346
|
+
* - [**Generate a signing secret**](/api/v3/webhooks/secret/generate-secret) — `POST /v3/webhook-secret`. Returns the new secret in full exactly once.
|
|
347
|
+
* - [**Get the signing secret**](/api/v3/webhooks/secret/get-secret) — `GET /v3/webhook-secret`. Returns the active secret.
|
|
348
|
+
* - [**Revoke the signing secret**](/api/v3/webhooks/secret/revoke-secret) — `DELETE /v3/webhook-secret`. Webhook deliveries continue but are unsigned until a new secret is generated.
|
|
349
|
+
*
|
|
350
|
+
* For zero-downtime rotation, briefly accept both the old and new secret in your verification logic before revoking the old one.
|
|
351
|
+
*
|
|
352
|
+
* ## Retries
|
|
353
|
+
*
|
|
354
|
+
* bem treats any non-2XX response (or a transport failure) as a delivery error and retries with exponential backoff. Return a 2XX as soon as you have durably queued the payload — do not block on downstream work.
|
|
317
355
|
*/
|
|
318
|
-
webhookSecret: API.
|
|
356
|
+
webhookSecret: API.WebhookSecretResource;
|
|
319
357
|
/**
|
|
320
358
|
* Trigger and retrieve evaluations for completed transformations.
|
|
321
359
|
*
|
|
@@ -367,6 +405,37 @@ export declare class Bem {
|
|
|
367
405
|
* `/v3/calls` and `/v3/outputs`.
|
|
368
406
|
*/
|
|
369
407
|
fs: API.Fs;
|
|
408
|
+
/**
|
|
409
|
+
* Connectors are integrations that trigger a Bem workflow from an external system.
|
|
410
|
+
*
|
|
411
|
+
* A connector binds an inbound source — currently Box or a Paragon-managed integration such as
|
|
412
|
+
* Google Drive — to a specific workflow (by `workflowName` or `workflowID`). When the source
|
|
413
|
+
* observes a new file, Bem invokes the bound workflow against that file.
|
|
414
|
+
*
|
|
415
|
+
* Use these endpoints to create, list, and remove connectors. The fields used at create time
|
|
416
|
+
* depend on the connector `type`: Box connectors require Box credentials and a folder to watch,
|
|
417
|
+
* while Paragon connectors carry a `paragonIntegration` identifier and an integration-specific
|
|
418
|
+
* `paragonConfiguration` object (for example, `{ "folderId": "..." }` for Google Drive).
|
|
419
|
+
*/
|
|
420
|
+
connectors: API.Connectors;
|
|
421
|
+
/**
|
|
422
|
+
* Subscriptions wire up notifications for the events your functions and collections produce.
|
|
423
|
+
*
|
|
424
|
+
* Each subscription targets a single function (by `functionName` or `functionID`) or a single
|
|
425
|
+
* collection (by `collectionName` or `collectionID`) and selects a `type` corresponding to the
|
|
426
|
+
* event you want to receive — for example `transform`, `route`, `join`, `evaluation`, `error`,
|
|
427
|
+
* `enrich`, or `collection_processing`.
|
|
428
|
+
*
|
|
429
|
+
* Deliveries can be sent to any combination of:
|
|
430
|
+
*
|
|
431
|
+
* - `webhookURL` — HTTPS endpoint that receives a JSON POST per event.
|
|
432
|
+
* - `s3Bucket` + `s3FilePath` — sync output JSON into an AWS S3 prefix you own.
|
|
433
|
+
* - `googleDriveFolderID` — drop output JSON into a Google Drive folder.
|
|
434
|
+
*
|
|
435
|
+
* Use `disabled: true` to pause delivery without deleting the subscription. Updates follow
|
|
436
|
+
* conventional PATCH semantics — only the fields you include are changed.
|
|
437
|
+
*/
|
|
438
|
+
subscriptions: API.Subscriptions;
|
|
370
439
|
}
|
|
371
440
|
export declare namespace Bem {
|
|
372
441
|
export type RequestOptions = Opts.RequestOptions;
|
|
@@ -382,16 +451,19 @@ export declare namespace Bem {
|
|
|
382
451
|
export { type ErrorsPageParams as ErrorsPageParams, type ErrorsPageResponse as ErrorsPageResponse };
|
|
383
452
|
export import WorkflowVersionsPage = Pagination.WorkflowVersionsPage;
|
|
384
453
|
export { type WorkflowVersionsPageParams as WorkflowVersionsPageParams, type WorkflowVersionsPageResponse as WorkflowVersionsPageResponse, };
|
|
385
|
-
export { Functions as Functions, type ClassificationListItem as ClassificationListItem, type CreateFunction as CreateFunction, type EnrichConfig as EnrichConfig, type EnrichStep as EnrichStep, type Function as Function, type FunctionAudit as FunctionAudit, type FunctionResponse as FunctionResponse, type FunctionType as FunctionType, type ListFunctionsResponse as ListFunctionsResponse, type SplitFunctionSemanticPageItemClass as SplitFunctionSemanticPageItemClass, type UpdateFunction as UpdateFunction, type UserActionSummary as UserActionSummary, type WorkflowUsageInfo as WorkflowUsageInfo, type FunctionsFunctionsPage as FunctionsFunctionsPage, type FunctionCreateParams as FunctionCreateParams, type FunctionUpdateParams as FunctionUpdateParams, type FunctionListParams as FunctionListParams, };
|
|
454
|
+
export { Functions as Functions, type ClassificationListItem as ClassificationListItem, type CreateFunction as CreateFunction, type EnrichConfig as EnrichConfig, type EnrichStep as EnrichStep, type Function as Function, type FunctionAudit as FunctionAudit, type FunctionResponse as FunctionResponse, type FunctionType as FunctionType, type ListFunctionsResponse as ListFunctionsResponse, type ParseConfig as ParseConfig, type SendDestinationType as SendDestinationType, type SplitFunctionSemanticPageItemClass as SplitFunctionSemanticPageItemClass, type UpdateFunction as UpdateFunction, type UserActionSummary as UserActionSummary, type WorkflowUsageInfo as WorkflowUsageInfo, type FunctionsFunctionsPage as FunctionsFunctionsPage, type FunctionCreateParams as FunctionCreateParams, type FunctionUpdateParams as FunctionUpdateParams, type FunctionListParams as FunctionListParams, };
|
|
386
455
|
export { Calls as Calls, type Call as Call, type CallGetResponse as CallGetResponse, type CallRetrieveTraceResponse as CallRetrieveTraceResponse, type CallsCallsPage as CallsCallsPage, type CallListParams as CallListParams, };
|
|
387
456
|
export { ErrorsAPIErrors as Errors, type ErrorEvent as ErrorEvent, type InboundEmailEvent as InboundEmailEvent, type ErrorRetrieveResponse as ErrorRetrieveResponse, type ErrorEventsErrorsPage as ErrorEventsErrorsPage, type ErrorListParams as ErrorListParams, };
|
|
388
|
-
export { Outputs as Outputs, type AnyType as AnyType, type Event as Event, type OutputRetrieveResponse as OutputRetrieveResponse, type EventsOutputsPage as EventsOutputsPage, type OutputListParams as OutputListParams, };
|
|
389
|
-
export { Workflows as Workflows, type FunctionVersionIdentifier as FunctionVersionIdentifier, type Workflow as Workflow, type WorkflowAudit as WorkflowAudit, type WorkflowEdgeResponse as WorkflowEdgeResponse, type WorkflowNodeResponse as WorkflowNodeResponse, type WorkflowRetrieveResponse as WorkflowRetrieveResponse, type WorkflowUpdateResponse as WorkflowUpdateResponse, type WorkflowCopyResponse as WorkflowCopyResponse, type WorkflowsWorkflowsPage as WorkflowsWorkflowsPage, type WorkflowCreateParams as WorkflowCreateParams, type WorkflowUpdateParams as WorkflowUpdateParams, type WorkflowListParams as WorkflowListParams, type WorkflowCallParams as WorkflowCallParams, type WorkflowCopyParams as WorkflowCopyParams, };
|
|
457
|
+
export { Outputs as Outputs, type AnyType as AnyType, type Event as Event, type InputType as InputType, type OutputRetrieveResponse as OutputRetrieveResponse, type EventsOutputsPage as EventsOutputsPage, type OutputListParams as OutputListParams, };
|
|
458
|
+
export { Workflows as Workflows, type FunctionVersionIdentifier as FunctionVersionIdentifier, type Workflow as Workflow, type WorkflowAudit as WorkflowAudit, type WorkflowConnector as WorkflowConnector, type WorkflowConnectorError as WorkflowConnectorError, type WorkflowConnectorType as WorkflowConnectorType, type WorkflowEdge as WorkflowEdge, type WorkflowEdgeResponse as WorkflowEdgeResponse, type WorkflowNode as WorkflowNode, type WorkflowNodeResponse as WorkflowNodeResponse, type WorkflowRetrieveResponse as WorkflowRetrieveResponse, type WorkflowUpdateResponse as WorkflowUpdateResponse, type WorkflowCopyResponse as WorkflowCopyResponse, type WorkflowsWorkflowsPage as WorkflowsWorkflowsPage, type WorkflowCreateParams as WorkflowCreateParams, type WorkflowUpdateParams as WorkflowUpdateParams, type WorkflowListParams as WorkflowListParams, type WorkflowCallParams as WorkflowCallParams, type WorkflowCopyParams as WorkflowCopyParams, };
|
|
390
459
|
export { InferSchema as InferSchema, type InferSchemaCreateResponse as InferSchemaCreateResponse, type InferSchemaCreateParams as InferSchemaCreateParams, };
|
|
391
|
-
export { Collections as Collections, type
|
|
460
|
+
export { Collections as Collections, type Collection as Collection, type CollectionItem as CollectionItem, type CollectionListResponse as CollectionListResponse, type CollectionCountTokensResponse as CollectionCountTokensResponse, type CollectionCreateParams as CollectionCreateParams, type CollectionListParams as CollectionListParams, type CollectionDeleteParams as CollectionDeleteParams, type CollectionCountTokensParams as CollectionCountTokensParams, };
|
|
392
461
|
export { Events as Events, type EventSubmitFeedbackResponse as EventSubmitFeedbackResponse, type EventSubmitFeedbackParams as EventSubmitFeedbackParams, };
|
|
393
|
-
export {
|
|
462
|
+
export { Webhooks as Webhooks, type ExtractWebhookEvent as ExtractWebhookEvent, type ClassifyWebhookEvent as ClassifyWebhookEvent, type ParseWebhookEvent as ParseWebhookEvent, type SplitCollectionWebhookEvent as SplitCollectionWebhookEvent, type SplitItemWebhookEvent as SplitItemWebhookEvent, type JoinWebhookEvent as JoinWebhookEvent, type EnrichWebhookEvent as EnrichWebhookEvent, type PayloadShapingWebhookEvent as PayloadShapingWebhookEvent, type SendWebhookEvent as SendWebhookEvent, type EvaluationWebhookEvent as EvaluationWebhookEvent, type CollectionProcessingWebhookEvent as CollectionProcessingWebhookEvent, type UnwrapWebhookEvent as UnwrapWebhookEvent, };
|
|
463
|
+
export { WebhookSecretResource as WebhookSecretResource, type WebhookSecret as WebhookSecret };
|
|
394
464
|
export { Eval as Eval, type EvalTriggerEvaluationResponse as EvalTriggerEvaluationResponse, type EvalTriggerEvaluationParams as EvalTriggerEvaluationParams, };
|
|
395
|
-
export { Fs as Fs, type FNavigateResponse as FNavigateResponse, type FNavigateParams as FNavigateParams };
|
|
465
|
+
export { Fs as Fs, type FsOp as FsOp, type FNavigateResponse as FNavigateResponse, type FNavigateParams as FNavigateParams, };
|
|
466
|
+
export { Connectors as Connectors, type Connector as Connector, type ConnectorType as ConnectorType, type ConnectorListResponse as ConnectorListResponse, type ConnectorDeleteResponse as ConnectorDeleteResponse, type ConnectorCreateParams as ConnectorCreateParams, type ConnectorListParams as ConnectorListParams, };
|
|
467
|
+
export { Subscriptions as Subscriptions, type SubscriptionV3 as SubscriptionV3, type SubscriptionListResponse as SubscriptionListResponse, type SubscriptionCreateParams as SubscriptionCreateParams, type SubscriptionUpdateParams as SubscriptionUpdateParams, type SubscriptionListParams as SubscriptionListParams, };
|
|
396
468
|
}
|
|
397
469
|
//# sourceMappingURL=client.d.mts.map
|
package/client.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.mts","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"OAEO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAY;OAC3C,KAAK,EAAc,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE;YAIvE,EAAE,MAAM,EAAE,QAAQ,EAAE;OAKzB,KAAK,IAAI;OAGT,KAAK,MAAM;OACX,KAAK,UAAU;OACf,EAEL,KAAK,eAAe,EACpB,iBAAiB,EACjB,KAAK,gBAAgB,EACrB,kBAAkB,EAClB,KAAK,mBAAmB,EACxB,qBAAqB,EACrB,KAAK,iBAAiB,EACtB,mBAAmB,EACnB,KAAK,0BAA0B,EAC/B,4BAA4B,EAC5B,KAAK,mBAAmB,EACxB,qBAAqB,EACtB;OACM,KAAK,OAAO;OACZ,KAA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;IAEF,OAAO,EACL,aAAa,IAAI,aAAa,EAC9B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
package/client.d.ts
CHANGED
|
@@ -9,16 +9,19 @@ import * as Uploads from "./core/uploads.js";
|
|
|
9
9
|
import * as API from "./resources/index.js";
|
|
10
10
|
import { APIPromise } from "./core/api-promise.js";
|
|
11
11
|
import { Call, CallGetResponse, CallListParams, CallRetrieveTraceResponse, Calls, CallsCallsPage } from "./resources/calls.js";
|
|
12
|
+
import { Connector, ConnectorCreateParams, ConnectorDeleteResponse, ConnectorListParams, ConnectorListResponse, ConnectorType, Connectors } from "./resources/connectors.js";
|
|
12
13
|
import { ErrorEvent, ErrorEventsErrorsPage, ErrorListParams, ErrorRetrieveResponse, Errors as ErrorsAPIErrors, InboundEmailEvent } from "./resources/errors.js";
|
|
13
14
|
import { EventSubmitFeedbackParams, EventSubmitFeedbackResponse, Events } from "./resources/events.js";
|
|
14
|
-
import { FNavigateParams, FNavigateResponse, Fs } from "./resources/fs.js";
|
|
15
|
+
import { FNavigateParams, FNavigateResponse, Fs, FsOp } from "./resources/fs.js";
|
|
15
16
|
import { InferSchema, InferSchemaCreateParams, InferSchemaCreateResponse } from "./resources/infer-schema.js";
|
|
16
|
-
import { AnyType, Event, EventsOutputsPage, OutputListParams, OutputRetrieveResponse, Outputs } from "./resources/outputs.js";
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
17
|
+
import { AnyType, Event, EventsOutputsPage, InputType, OutputListParams, OutputRetrieveResponse, Outputs } from "./resources/outputs.js";
|
|
18
|
+
import { SubscriptionCreateParams, SubscriptionListParams, SubscriptionListResponse, SubscriptionUpdateParams, SubscriptionV3, Subscriptions } from "./resources/subscriptions.js";
|
|
19
|
+
import { WebhookSecret, WebhookSecretResource } from "./resources/webhook-secret.js";
|
|
20
|
+
import { ClassifyWebhookEvent, CollectionProcessingWebhookEvent, EnrichWebhookEvent, EvaluationWebhookEvent, ExtractWebhookEvent, JoinWebhookEvent, ParseWebhookEvent, PayloadShapingWebhookEvent, SendWebhookEvent, SplitCollectionWebhookEvent, SplitItemWebhookEvent, UnwrapWebhookEvent, Webhooks } from "./resources/webhooks.js";
|
|
21
|
+
import { Collection, CollectionCountTokensParams, CollectionCountTokensResponse, CollectionCreateParams, CollectionDeleteParams, CollectionItem, CollectionListParams, CollectionListResponse, Collections } from "./resources/collections/collections.js";
|
|
19
22
|
import { Eval, EvalTriggerEvaluationParams, EvalTriggerEvaluationResponse } from "./resources/eval/eval.js";
|
|
20
|
-
import { ClassificationListItem, CreateFunction, EnrichConfig, EnrichStep, Function, FunctionAudit, FunctionCreateParams, FunctionListParams, FunctionResponse, FunctionType, FunctionUpdateParams, Functions, FunctionsFunctionsPage, ListFunctionsResponse, SplitFunctionSemanticPageItemClass, UpdateFunction, UserActionSummary, WorkflowUsageInfo } from "./resources/functions/functions.js";
|
|
21
|
-
import { FunctionVersionIdentifier, Workflow, WorkflowAudit, WorkflowCallParams, WorkflowCopyParams, WorkflowCopyResponse, WorkflowCreateParams, WorkflowEdgeResponse, WorkflowListParams, WorkflowNodeResponse, WorkflowRetrieveResponse, WorkflowUpdateParams, WorkflowUpdateResponse, Workflows, WorkflowsWorkflowsPage } from "./resources/workflows/workflows.js";
|
|
23
|
+
import { ClassificationListItem, CreateFunction, EnrichConfig, EnrichStep, Function, FunctionAudit, FunctionCreateParams, FunctionListParams, FunctionResponse, FunctionType, FunctionUpdateParams, Functions, FunctionsFunctionsPage, ListFunctionsResponse, ParseConfig, SendDestinationType, SplitFunctionSemanticPageItemClass, UpdateFunction, UserActionSummary, WorkflowUsageInfo } from "./resources/functions/functions.js";
|
|
24
|
+
import { FunctionVersionIdentifier, Workflow, WorkflowAudit, WorkflowCallParams, WorkflowConnector, WorkflowConnectorError, WorkflowConnectorType, WorkflowCopyParams, WorkflowCopyResponse, WorkflowCreateParams, WorkflowEdge, WorkflowEdgeResponse, WorkflowListParams, WorkflowNode, WorkflowNodeResponse, WorkflowRetrieveResponse, WorkflowUpdateParams, WorkflowUpdateResponse, Workflows, WorkflowsWorkflowsPage } from "./resources/workflows/workflows.js";
|
|
22
25
|
import { type Fetch } from "./internal/builtin-types.js";
|
|
23
26
|
import { HeadersLike, NullableHeaders } from "./internal/headers.js";
|
|
24
27
|
import { FinalRequestOptions, RequestOptions } from "./internal/request-options.js";
|
|
@@ -304,18 +307,53 @@ export declare class Bem {
|
|
|
304
307
|
* Split and enrich function types do not support feedback.
|
|
305
308
|
*/
|
|
306
309
|
events: API.Events;
|
|
310
|
+
webhooks: API.Webhooks;
|
|
307
311
|
/**
|
|
308
|
-
*
|
|
312
|
+
* bem POSTs a JSON event to your configured webhook URL each time a subscribed function call, workflow output, or collection-processing job fires. This section is the reference for those deliveries: the payload shape per event type, plus the endpoints you use to manage the signing secret.
|
|
309
313
|
*
|
|
310
|
-
*
|
|
311
|
-
* in the format `t={unix_timestamp},v1={hex_hmac_sha256}`. The signature covers
|
|
312
|
-
* `{timestamp}.{raw_request_body}` and can be verified using HMAC-SHA256 with your secret.
|
|
314
|
+
* Every variant shares the same envelope — function/workflow IDs, timestamps, the inbound email that triggered the call, and so on — and adds a payload field that depends on the function type. The `eventType` field on the body is the discriminator: dispatch on it to select which payload shape to expect. SDKs generated from this spec expose a `webhooks.unwrap()` helper that performs the dispatch and returns a typed event.
|
|
313
315
|
*
|
|
314
|
-
*
|
|
315
|
-
*
|
|
316
|
-
*
|
|
316
|
+
* ## Payloads
|
|
317
|
+
*
|
|
318
|
+
* | `eventType` | Payload | Schema |
|
|
319
|
+
* | --- | --- | --- |
|
|
320
|
+
* | `extract` | [Extract event](/api/v3/webhooks/events/extract) | `ExtractEvent` |
|
|
321
|
+
* | `classify` | [Classify event](/api/v3/webhooks/events/classify) | `ClassifyEvent` |
|
|
322
|
+
* | `parse` | [Parse event](/api/v3/webhooks/events/parse) | `ParseEvent` |
|
|
323
|
+
* | `split_collection` | [Split collection event](/api/v3/webhooks/events/split-collection) | `SplitCollectionEvent` |
|
|
324
|
+
* | `split_item` | [Split item event](/api/v3/webhooks/events/split-item) | `SplitItemEvent` |
|
|
325
|
+
* | `join` | [Join event](/api/v3/webhooks/events/join) | `JoinEvent` |
|
|
326
|
+
* | `enrich` | [Enrich event](/api/v3/webhooks/events/enrich) | `EnrichEvent` |
|
|
327
|
+
* | `payload_shaping` | [Payload shaping event](/api/v3/webhooks/events/payload-shaping) | `PayloadShapingEvent` |
|
|
328
|
+
* | `send` | [Send event](/api/v3/webhooks/events/send) | `SendEvent` |
|
|
329
|
+
* | `evaluation` | [Evaluation event](/api/v3/webhooks/events/evaluation) | `EvaluationEvent` |
|
|
330
|
+
* | `collection_processing` | [Collection processing event](/api/v3/webhooks/events/collection-processing) | `collectionProcessingEvent` |
|
|
331
|
+
* | `error` | [Error event](/api/v3/webhooks/events/error) | `ErrorEvent` |
|
|
332
|
+
*
|
|
333
|
+
* ## Signing secret
|
|
334
|
+
*
|
|
335
|
+
* Every delivery includes a `bem-signature` header in the format `t={unix_timestamp},v1={hex_hmac_sha256}`. The signature covers `{timestamp}.{raw_request_body}` and is computed with HMAC-SHA256 using the active signing secret for your environment.
|
|
336
|
+
*
|
|
337
|
+
* To verify a payload:
|
|
338
|
+
*
|
|
339
|
+
* 1. Parse `bem-signature: t={timestamp},v1={signature}`.
|
|
340
|
+
* 2. Construct the signed string: `{timestamp}.{raw_request_body}`.
|
|
341
|
+
* 3. Compute HMAC-SHA256 of that string using your secret.
|
|
342
|
+
* 4. Reject the request if the hex digest doesn't match `v1`, or if the timestamp is more than a few minutes old.
|
|
343
|
+
*
|
|
344
|
+
* Manage the secret with these endpoints:
|
|
345
|
+
*
|
|
346
|
+
* - [**Generate a signing secret**](/api/v3/webhooks/secret/generate-secret) — `POST /v3/webhook-secret`. Returns the new secret in full exactly once.
|
|
347
|
+
* - [**Get the signing secret**](/api/v3/webhooks/secret/get-secret) — `GET /v3/webhook-secret`. Returns the active secret.
|
|
348
|
+
* - [**Revoke the signing secret**](/api/v3/webhooks/secret/revoke-secret) — `DELETE /v3/webhook-secret`. Webhook deliveries continue but are unsigned until a new secret is generated.
|
|
349
|
+
*
|
|
350
|
+
* For zero-downtime rotation, briefly accept both the old and new secret in your verification logic before revoking the old one.
|
|
351
|
+
*
|
|
352
|
+
* ## Retries
|
|
353
|
+
*
|
|
354
|
+
* bem treats any non-2XX response (or a transport failure) as a delivery error and retries with exponential backoff. Return a 2XX as soon as you have durably queued the payload — do not block on downstream work.
|
|
317
355
|
*/
|
|
318
|
-
webhookSecret: API.
|
|
356
|
+
webhookSecret: API.WebhookSecretResource;
|
|
319
357
|
/**
|
|
320
358
|
* Trigger and retrieve evaluations for completed transformations.
|
|
321
359
|
*
|
|
@@ -367,6 +405,37 @@ export declare class Bem {
|
|
|
367
405
|
* `/v3/calls` and `/v3/outputs`.
|
|
368
406
|
*/
|
|
369
407
|
fs: API.Fs;
|
|
408
|
+
/**
|
|
409
|
+
* Connectors are integrations that trigger a Bem workflow from an external system.
|
|
410
|
+
*
|
|
411
|
+
* A connector binds an inbound source — currently Box or a Paragon-managed integration such as
|
|
412
|
+
* Google Drive — to a specific workflow (by `workflowName` or `workflowID`). When the source
|
|
413
|
+
* observes a new file, Bem invokes the bound workflow against that file.
|
|
414
|
+
*
|
|
415
|
+
* Use these endpoints to create, list, and remove connectors. The fields used at create time
|
|
416
|
+
* depend on the connector `type`: Box connectors require Box credentials and a folder to watch,
|
|
417
|
+
* while Paragon connectors carry a `paragonIntegration` identifier and an integration-specific
|
|
418
|
+
* `paragonConfiguration` object (for example, `{ "folderId": "..." }` for Google Drive).
|
|
419
|
+
*/
|
|
420
|
+
connectors: API.Connectors;
|
|
421
|
+
/**
|
|
422
|
+
* Subscriptions wire up notifications for the events your functions and collections produce.
|
|
423
|
+
*
|
|
424
|
+
* Each subscription targets a single function (by `functionName` or `functionID`) or a single
|
|
425
|
+
* collection (by `collectionName` or `collectionID`) and selects a `type` corresponding to the
|
|
426
|
+
* event you want to receive — for example `transform`, `route`, `join`, `evaluation`, `error`,
|
|
427
|
+
* `enrich`, or `collection_processing`.
|
|
428
|
+
*
|
|
429
|
+
* Deliveries can be sent to any combination of:
|
|
430
|
+
*
|
|
431
|
+
* - `webhookURL` — HTTPS endpoint that receives a JSON POST per event.
|
|
432
|
+
* - `s3Bucket` + `s3FilePath` — sync output JSON into an AWS S3 prefix you own.
|
|
433
|
+
* - `googleDriveFolderID` — drop output JSON into a Google Drive folder.
|
|
434
|
+
*
|
|
435
|
+
* Use `disabled: true` to pause delivery without deleting the subscription. Updates follow
|
|
436
|
+
* conventional PATCH semantics — only the fields you include are changed.
|
|
437
|
+
*/
|
|
438
|
+
subscriptions: API.Subscriptions;
|
|
370
439
|
}
|
|
371
440
|
export declare namespace Bem {
|
|
372
441
|
export type RequestOptions = Opts.RequestOptions;
|
|
@@ -382,16 +451,19 @@ export declare namespace Bem {
|
|
|
382
451
|
export { type ErrorsPageParams as ErrorsPageParams, type ErrorsPageResponse as ErrorsPageResponse };
|
|
383
452
|
export import WorkflowVersionsPage = Pagination.WorkflowVersionsPage;
|
|
384
453
|
export { type WorkflowVersionsPageParams as WorkflowVersionsPageParams, type WorkflowVersionsPageResponse as WorkflowVersionsPageResponse, };
|
|
385
|
-
export { Functions as Functions, type ClassificationListItem as ClassificationListItem, type CreateFunction as CreateFunction, type EnrichConfig as EnrichConfig, type EnrichStep as EnrichStep, type Function as Function, type FunctionAudit as FunctionAudit, type FunctionResponse as FunctionResponse, type FunctionType as FunctionType, type ListFunctionsResponse as ListFunctionsResponse, type SplitFunctionSemanticPageItemClass as SplitFunctionSemanticPageItemClass, type UpdateFunction as UpdateFunction, type UserActionSummary as UserActionSummary, type WorkflowUsageInfo as WorkflowUsageInfo, type FunctionsFunctionsPage as FunctionsFunctionsPage, type FunctionCreateParams as FunctionCreateParams, type FunctionUpdateParams as FunctionUpdateParams, type FunctionListParams as FunctionListParams, };
|
|
454
|
+
export { Functions as Functions, type ClassificationListItem as ClassificationListItem, type CreateFunction as CreateFunction, type EnrichConfig as EnrichConfig, type EnrichStep as EnrichStep, type Function as Function, type FunctionAudit as FunctionAudit, type FunctionResponse as FunctionResponse, type FunctionType as FunctionType, type ListFunctionsResponse as ListFunctionsResponse, type ParseConfig as ParseConfig, type SendDestinationType as SendDestinationType, type SplitFunctionSemanticPageItemClass as SplitFunctionSemanticPageItemClass, type UpdateFunction as UpdateFunction, type UserActionSummary as UserActionSummary, type WorkflowUsageInfo as WorkflowUsageInfo, type FunctionsFunctionsPage as FunctionsFunctionsPage, type FunctionCreateParams as FunctionCreateParams, type FunctionUpdateParams as FunctionUpdateParams, type FunctionListParams as FunctionListParams, };
|
|
386
455
|
export { Calls as Calls, type Call as Call, type CallGetResponse as CallGetResponse, type CallRetrieveTraceResponse as CallRetrieveTraceResponse, type CallsCallsPage as CallsCallsPage, type CallListParams as CallListParams, };
|
|
387
456
|
export { ErrorsAPIErrors as Errors, type ErrorEvent as ErrorEvent, type InboundEmailEvent as InboundEmailEvent, type ErrorRetrieveResponse as ErrorRetrieveResponse, type ErrorEventsErrorsPage as ErrorEventsErrorsPage, type ErrorListParams as ErrorListParams, };
|
|
388
|
-
export { Outputs as Outputs, type AnyType as AnyType, type Event as Event, type OutputRetrieveResponse as OutputRetrieveResponse, type EventsOutputsPage as EventsOutputsPage, type OutputListParams as OutputListParams, };
|
|
389
|
-
export { Workflows as Workflows, type FunctionVersionIdentifier as FunctionVersionIdentifier, type Workflow as Workflow, type WorkflowAudit as WorkflowAudit, type WorkflowEdgeResponse as WorkflowEdgeResponse, type WorkflowNodeResponse as WorkflowNodeResponse, type WorkflowRetrieveResponse as WorkflowRetrieveResponse, type WorkflowUpdateResponse as WorkflowUpdateResponse, type WorkflowCopyResponse as WorkflowCopyResponse, type WorkflowsWorkflowsPage as WorkflowsWorkflowsPage, type WorkflowCreateParams as WorkflowCreateParams, type WorkflowUpdateParams as WorkflowUpdateParams, type WorkflowListParams as WorkflowListParams, type WorkflowCallParams as WorkflowCallParams, type WorkflowCopyParams as WorkflowCopyParams, };
|
|
457
|
+
export { Outputs as Outputs, type AnyType as AnyType, type Event as Event, type InputType as InputType, type OutputRetrieveResponse as OutputRetrieveResponse, type EventsOutputsPage as EventsOutputsPage, type OutputListParams as OutputListParams, };
|
|
458
|
+
export { Workflows as Workflows, type FunctionVersionIdentifier as FunctionVersionIdentifier, type Workflow as Workflow, type WorkflowAudit as WorkflowAudit, type WorkflowConnector as WorkflowConnector, type WorkflowConnectorError as WorkflowConnectorError, type WorkflowConnectorType as WorkflowConnectorType, type WorkflowEdge as WorkflowEdge, type WorkflowEdgeResponse as WorkflowEdgeResponse, type WorkflowNode as WorkflowNode, type WorkflowNodeResponse as WorkflowNodeResponse, type WorkflowRetrieveResponse as WorkflowRetrieveResponse, type WorkflowUpdateResponse as WorkflowUpdateResponse, type WorkflowCopyResponse as WorkflowCopyResponse, type WorkflowsWorkflowsPage as WorkflowsWorkflowsPage, type WorkflowCreateParams as WorkflowCreateParams, type WorkflowUpdateParams as WorkflowUpdateParams, type WorkflowListParams as WorkflowListParams, type WorkflowCallParams as WorkflowCallParams, type WorkflowCopyParams as WorkflowCopyParams, };
|
|
390
459
|
export { InferSchema as InferSchema, type InferSchemaCreateResponse as InferSchemaCreateResponse, type InferSchemaCreateParams as InferSchemaCreateParams, };
|
|
391
|
-
export { Collections as Collections, type
|
|
460
|
+
export { Collections as Collections, type Collection as Collection, type CollectionItem as CollectionItem, type CollectionListResponse as CollectionListResponse, type CollectionCountTokensResponse as CollectionCountTokensResponse, type CollectionCreateParams as CollectionCreateParams, type CollectionListParams as CollectionListParams, type CollectionDeleteParams as CollectionDeleteParams, type CollectionCountTokensParams as CollectionCountTokensParams, };
|
|
392
461
|
export { Events as Events, type EventSubmitFeedbackResponse as EventSubmitFeedbackResponse, type EventSubmitFeedbackParams as EventSubmitFeedbackParams, };
|
|
393
|
-
export {
|
|
462
|
+
export { Webhooks as Webhooks, type ExtractWebhookEvent as ExtractWebhookEvent, type ClassifyWebhookEvent as ClassifyWebhookEvent, type ParseWebhookEvent as ParseWebhookEvent, type SplitCollectionWebhookEvent as SplitCollectionWebhookEvent, type SplitItemWebhookEvent as SplitItemWebhookEvent, type JoinWebhookEvent as JoinWebhookEvent, type EnrichWebhookEvent as EnrichWebhookEvent, type PayloadShapingWebhookEvent as PayloadShapingWebhookEvent, type SendWebhookEvent as SendWebhookEvent, type EvaluationWebhookEvent as EvaluationWebhookEvent, type CollectionProcessingWebhookEvent as CollectionProcessingWebhookEvent, type UnwrapWebhookEvent as UnwrapWebhookEvent, };
|
|
463
|
+
export { WebhookSecretResource as WebhookSecretResource, type WebhookSecret as WebhookSecret };
|
|
394
464
|
export { Eval as Eval, type EvalTriggerEvaluationResponse as EvalTriggerEvaluationResponse, type EvalTriggerEvaluationParams as EvalTriggerEvaluationParams, };
|
|
395
|
-
export { Fs as Fs, type FNavigateResponse as FNavigateResponse, type FNavigateParams as FNavigateParams };
|
|
465
|
+
export { Fs as Fs, type FsOp as FsOp, type FNavigateResponse as FNavigateResponse, type FNavigateParams as FNavigateParams, };
|
|
466
|
+
export { Connectors as Connectors, type Connector as Connector, type ConnectorType as ConnectorType, type ConnectorListResponse as ConnectorListResponse, type ConnectorDeleteResponse as ConnectorDeleteResponse, type ConnectorCreateParams as ConnectorCreateParams, type ConnectorListParams as ConnectorListParams, };
|
|
467
|
+
export { Subscriptions as Subscriptions, type SubscriptionV3 as SubscriptionV3, type SubscriptionListResponse as SubscriptionListResponse, type SubscriptionCreateParams as SubscriptionCreateParams, type SubscriptionUpdateParams as SubscriptionUpdateParams, type SubscriptionListParams as SubscriptionListParams, };
|
|
396
468
|
}
|
|
397
469
|
//# sourceMappingURL=client.d.ts.map
|
package/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sour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client.d.ts","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"OAEO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAY;OAC3C,KAAK,EAAc,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE;YAIvE,EAAE,MAAM,EAAE,QAAQ,EAAE;OAKzB,KAAK,IAAI;OAGT,KAAK,MAAM;OACX,KAAK,UAAU;OACf,EAEL,KAAK,eAAe,EACpB,iBAAiB,EACjB,KAAK,gBAAgB,EACrB,kBAAkB,EAClB,KAAK,mBAAmB,EACxB,qBAAqB,EACrB,KAAK,iBAAiB,EACtB,mBAAmB,EACnB,KAAK,0BAA0B,EAC/B,4BAA4B,EAC5B,KAAK,mBAAmB,EACxB,qBAAqB,EACtB;OACM,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,EAAE,UAAU,EAAE;OACd,EACL,IAAI,EACJ,eAAe,EACf,cAAc,EACd,yBAAyB,EACzB,KAAK,EACL,cAAc,EACf;OACM,EACL,SAAS,EACT,qBAAqB,EACrB,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EACrB,aAAa,EACb,UAAU,EACX;OACM,EACL,UAAU,EACV,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,MAAM,IAAI,eAAe,EACzB,iBAAiB,EAClB;OACM,EAAE,yBAAyB,EAAE,2BAA2B,EAAE,MAAM,EAAE;OAClE,EAAE,eAAe,EAAE,iBAAiB,EAAE,EAAE,EAAE,IAAI,EAAE;OAChD,EAAE,WAAW,EAAE,uBAAuB,EAAE,yBAAyB,EAAE;OACnE,EACL,OAAO,EACP,KAAK,EACL,iBAAiB,EACjB,SAAS,EACT,gBAAgB,EAChB,sBAAsB,EACtB,OAAO,EACR;OACM,EACL,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,wBAAwB,EACxB,cAAc,EACd,aAAa,EACd;OACM,EAAE,aAAa,EAAE,qBAAqB,EAAE;OACxC,EACL,oBAAoB,EACpB,gCAAgC,EAChC,kBA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,IAAI,EACZ,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;IAEF,OAAO,EACL,EAAE,IAAI,EAAE,EACR,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;IAEF,OAAO,EACL,UAAU,IAAI,UAAU,EACxB,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,aAAa,IAAI,aAAa,EAC9B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
package/client.js
CHANGED
|
@@ -19,12 +19,15 @@ const Uploads = tslib_1.__importStar(require("./core/uploads.js"));
|
|
|
19
19
|
const API = tslib_1.__importStar(require("./resources/index.js"));
|
|
20
20
|
const api_promise_1 = require("./core/api-promise.js");
|
|
21
21
|
const calls_1 = require("./resources/calls.js");
|
|
22
|
+
const connectors_1 = require("./resources/connectors.js");
|
|
22
23
|
const errors_2 = require("./resources/errors.js");
|
|
23
24
|
const events_1 = require("./resources/events.js");
|
|
24
25
|
const fs_1 = require("./resources/fs.js");
|
|
25
26
|
const infer_schema_1 = require("./resources/infer-schema.js");
|
|
26
27
|
const outputs_1 = require("./resources/outputs.js");
|
|
28
|
+
const subscriptions_1 = require("./resources/subscriptions.js");
|
|
27
29
|
const webhook_secret_1 = require("./resources/webhook-secret.js");
|
|
30
|
+
const webhooks_1 = require("./resources/webhooks.js");
|
|
28
31
|
const collections_1 = require("./resources/collections/collections.js");
|
|
29
32
|
const eval_1 = require("./resources/eval/eval.js");
|
|
30
33
|
const functions_1 = require("./resources/functions/functions.js");
|
|
@@ -173,18 +176,53 @@ class Bem {
|
|
|
173
176
|
* Split and enrich function types do not support feedback.
|
|
174
177
|
*/
|
|
175
178
|
this.events = new API.Events(this);
|
|
179
|
+
this.webhooks = new API.Webhooks(this);
|
|
176
180
|
/**
|
|
177
|
-
*
|
|
181
|
+
* bem POSTs a JSON event to your configured webhook URL each time a subscribed function call, workflow output, or collection-processing job fires. This section is the reference for those deliveries: the payload shape per event type, plus the endpoints you use to manage the signing secret.
|
|
178
182
|
*
|
|
179
|
-
*
|
|
180
|
-
* in the format `t={unix_timestamp},v1={hex_hmac_sha256}`. The signature covers
|
|
181
|
-
* `{timestamp}.{raw_request_body}` and can be verified using HMAC-SHA256 with your secret.
|
|
183
|
+
* Every variant shares the same envelope — function/workflow IDs, timestamps, the inbound email that triggered the call, and so on — and adds a payload field that depends on the function type. The `eventType` field on the body is the discriminator: dispatch on it to select which payload shape to expect. SDKs generated from this spec expose a `webhooks.unwrap()` helper that performs the dispatch and returns a typed event.
|
|
182
184
|
*
|
|
183
|
-
*
|
|
184
|
-
*
|
|
185
|
-
*
|
|
185
|
+
* ## Payloads
|
|
186
|
+
*
|
|
187
|
+
* | `eventType` | Payload | Schema |
|
|
188
|
+
* | --- | --- | --- |
|
|
189
|
+
* | `extract` | [Extract event](/api/v3/webhooks/events/extract) | `ExtractEvent` |
|
|
190
|
+
* | `classify` | [Classify event](/api/v3/webhooks/events/classify) | `ClassifyEvent` |
|
|
191
|
+
* | `parse` | [Parse event](/api/v3/webhooks/events/parse) | `ParseEvent` |
|
|
192
|
+
* | `split_collection` | [Split collection event](/api/v3/webhooks/events/split-collection) | `SplitCollectionEvent` |
|
|
193
|
+
* | `split_item` | [Split item event](/api/v3/webhooks/events/split-item) | `SplitItemEvent` |
|
|
194
|
+
* | `join` | [Join event](/api/v3/webhooks/events/join) | `JoinEvent` |
|
|
195
|
+
* | `enrich` | [Enrich event](/api/v3/webhooks/events/enrich) | `EnrichEvent` |
|
|
196
|
+
* | `payload_shaping` | [Payload shaping event](/api/v3/webhooks/events/payload-shaping) | `PayloadShapingEvent` |
|
|
197
|
+
* | `send` | [Send event](/api/v3/webhooks/events/send) | `SendEvent` |
|
|
198
|
+
* | `evaluation` | [Evaluation event](/api/v3/webhooks/events/evaluation) | `EvaluationEvent` |
|
|
199
|
+
* | `collection_processing` | [Collection processing event](/api/v3/webhooks/events/collection-processing) | `collectionProcessingEvent` |
|
|
200
|
+
* | `error` | [Error event](/api/v3/webhooks/events/error) | `ErrorEvent` |
|
|
201
|
+
*
|
|
202
|
+
* ## Signing secret
|
|
203
|
+
*
|
|
204
|
+
* Every delivery includes a `bem-signature` header in the format `t={unix_timestamp},v1={hex_hmac_sha256}`. The signature covers `{timestamp}.{raw_request_body}` and is computed with HMAC-SHA256 using the active signing secret for your environment.
|
|
205
|
+
*
|
|
206
|
+
* To verify a payload:
|
|
207
|
+
*
|
|
208
|
+
* 1. Parse `bem-signature: t={timestamp},v1={signature}`.
|
|
209
|
+
* 2. Construct the signed string: `{timestamp}.{raw_request_body}`.
|
|
210
|
+
* 3. Compute HMAC-SHA256 of that string using your secret.
|
|
211
|
+
* 4. Reject the request if the hex digest doesn't match `v1`, or if the timestamp is more than a few minutes old.
|
|
212
|
+
*
|
|
213
|
+
* Manage the secret with these endpoints:
|
|
214
|
+
*
|
|
215
|
+
* - [**Generate a signing secret**](/api/v3/webhooks/secret/generate-secret) — `POST /v3/webhook-secret`. Returns the new secret in full exactly once.
|
|
216
|
+
* - [**Get the signing secret**](/api/v3/webhooks/secret/get-secret) — `GET /v3/webhook-secret`. Returns the active secret.
|
|
217
|
+
* - [**Revoke the signing secret**](/api/v3/webhooks/secret/revoke-secret) — `DELETE /v3/webhook-secret`. Webhook deliveries continue but are unsigned until a new secret is generated.
|
|
218
|
+
*
|
|
219
|
+
* For zero-downtime rotation, briefly accept both the old and new secret in your verification logic before revoking the old one.
|
|
220
|
+
*
|
|
221
|
+
* ## Retries
|
|
222
|
+
*
|
|
223
|
+
* bem treats any non-2XX response (or a transport failure) as a delivery error and retries with exponential backoff. Return a 2XX as soon as you have durably queued the payload — do not block on downstream work.
|
|
186
224
|
*/
|
|
187
|
-
this.webhookSecret = new API.
|
|
225
|
+
this.webhookSecret = new API.WebhookSecretResource(this);
|
|
188
226
|
/**
|
|
189
227
|
* Trigger and retrieve evaluations for completed transformations.
|
|
190
228
|
*
|
|
@@ -236,6 +274,37 @@ class Bem {
|
|
|
236
274
|
* `/v3/calls` and `/v3/outputs`.
|
|
237
275
|
*/
|
|
238
276
|
this.fs = new API.Fs(this);
|
|
277
|
+
/**
|
|
278
|
+
* Connectors are integrations that trigger a Bem workflow from an external system.
|
|
279
|
+
*
|
|
280
|
+
* A connector binds an inbound source — currently Box or a Paragon-managed integration such as
|
|
281
|
+
* Google Drive — to a specific workflow (by `workflowName` or `workflowID`). When the source
|
|
282
|
+
* observes a new file, Bem invokes the bound workflow against that file.
|
|
283
|
+
*
|
|
284
|
+
* Use these endpoints to create, list, and remove connectors. The fields used at create time
|
|
285
|
+
* depend on the connector `type`: Box connectors require Box credentials and a folder to watch,
|
|
286
|
+
* while Paragon connectors carry a `paragonIntegration` identifier and an integration-specific
|
|
287
|
+
* `paragonConfiguration` object (for example, `{ "folderId": "..." }` for Google Drive).
|
|
288
|
+
*/
|
|
289
|
+
this.connectors = new API.Connectors(this);
|
|
290
|
+
/**
|
|
291
|
+
* Subscriptions wire up notifications for the events your functions and collections produce.
|
|
292
|
+
*
|
|
293
|
+
* Each subscription targets a single function (by `functionName` or `functionID`) or a single
|
|
294
|
+
* collection (by `collectionName` or `collectionID`) and selects a `type` corresponding to the
|
|
295
|
+
* event you want to receive — for example `transform`, `route`, `join`, `evaluation`, `error`,
|
|
296
|
+
* `enrich`, or `collection_processing`.
|
|
297
|
+
*
|
|
298
|
+
* Deliveries can be sent to any combination of:
|
|
299
|
+
*
|
|
300
|
+
* - `webhookURL` — HTTPS endpoint that receives a JSON POST per event.
|
|
301
|
+
* - `s3Bucket` + `s3FilePath` — sync output JSON into an AWS S3 prefix you own.
|
|
302
|
+
* - `googleDriveFolderID` — drop output JSON into a Google Drive folder.
|
|
303
|
+
*
|
|
304
|
+
* Use `disabled: true` to pause delivery without deleting the subscription. Updates follow
|
|
305
|
+
* conventional PATCH semantics — only the fields you include are changed.
|
|
306
|
+
*/
|
|
307
|
+
this.subscriptions = new API.Subscriptions(this);
|
|
239
308
|
if (apiKey === undefined) {
|
|
240
309
|
throw new Errors.BemError("The BEM_API_KEY environment variable is missing or empty; either provide it, or instantiate the Bem client with an apiKey option, like new Bem({ apiKey: 'My API Key' }).");
|
|
241
310
|
}
|
|
@@ -680,7 +749,10 @@ Bem.Workflows = workflows_1.Workflows;
|
|
|
680
749
|
Bem.InferSchema = infer_schema_1.InferSchema;
|
|
681
750
|
Bem.Collections = collections_1.Collections;
|
|
682
751
|
Bem.Events = events_1.Events;
|
|
683
|
-
Bem.
|
|
752
|
+
Bem.Webhooks = webhooks_1.Webhooks;
|
|
753
|
+
Bem.WebhookSecretResource = webhook_secret_1.WebhookSecretResource;
|
|
684
754
|
Bem.Eval = eval_1.Eval;
|
|
685
755
|
Bem.Fs = fs_1.Fs;
|
|
756
|
+
Bem.Connectors = connectors_1.Connectors;
|
|
757
|
+
Bem.Subscriptions = subscriptions_1.Subscriptions;
|
|
686
758
|
//# sourceMappingURL=client.js.map
|