@agentpress/sdk 0.5.4 → 0.6.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/dist/index.d.cts CHANGED
@@ -111,12 +111,48 @@ interface KeyRotationEvent {
111
111
  /** Present only on `type: "emergency"` rotations. */
112
112
  reason?: string;
113
113
  }
114
+ /** Per-tool approval mode for action webhooks: run automatically, always
115
+ * require human approval, or let the agent decide per call. Mirrors the core
116
+ * `ToolApprovalMode`. */
117
+ type ToolApprovalMode = "allow" | "ask" | "agent";
118
+ /**
119
+ * Typed shape of the JSON body sent to `POST /webhooks/actions/:org/:identifier`.
120
+ * `WebhookSendParams.payload` is intentionally `Record<string, unknown>`; use
121
+ * this interface to type your payload object for editor help.
122
+ */
123
+ interface ActionWebhookPayload {
124
+ /** Event type (e.g. "review.created"). */
125
+ eventType: string;
126
+ /** External system's unique id for idempotency. */
127
+ externalId?: string;
128
+ /** External user id (resolved via `authProvider`) or an internal user UUID. */
129
+ userId?: string;
130
+ /** Registered external auth provider name used to resolve `userId`. */
131
+ authProvider?: string;
132
+ /** Override the webhook's default action rule. */
133
+ actionRuleId?: string;
134
+ /** Extra per-request instructions appended to the rule's instructions. */
135
+ instructions?: string;
136
+ /**
137
+ * Per-request tool-approval overrides keyed by tool name. Honored only when
138
+ * the webhook has `allowApprovalOverride` enabled in AgentPress. A user's
139
+ * always_deny preference still wins over any override.
140
+ */
141
+ toolApprovals?: Record<string, ToolApprovalMode>;
142
+ /** Arbitrary event data forwarded to the agent as sourceData. */
143
+ data?: Record<string, unknown>;
144
+ }
114
145
  /** Parameters for {@link WebhooksClient.send}. */
115
146
  interface WebhookSendParams {
116
- /** Webhook action name (matches an action rule on the server). */
147
+ /** Action webhook identifier (used in `/webhooks/actions/:org/:identifier`). */
117
148
  action: string;
118
149
  /** Arbitrary payload data forwarded to the webhook handler. */
119
150
  payload: Record<string, unknown>;
151
+ /**
152
+ * Verification scheme for the outbound request. Defaults to Svix signing
153
+ * with the client's `webhookSecret`.
154
+ */
155
+ auth?: WebhookSendAuth;
120
156
  }
121
157
  /** Parameters for verifying an inbound webhook signature via {@link WebhooksClient.verify} or {@link WebhooksClient.verifyOrThrow}. */
122
158
  interface WebhookVerifyParams {
@@ -136,6 +172,7 @@ interface WebhookResponse {
136
172
  actionId?: string;
137
173
  /** `true` if an action with the same `externalId` already existed (idempotency). */
138
174
  alreadyExists?: boolean;
175
+ /** `true` when AgentPress accepted the event but intentionally skipped dispatch. */
139
176
  skipped?: boolean;
140
177
  /**
141
178
  * `true` when AgentPress accepted the event (HTTP 202) but could not create
@@ -145,15 +182,69 @@ interface WebhookResponse {
145
182
  * is returned in this case; use {@link eventId} to correlate.
146
183
  */
147
184
  buffered?: boolean;
148
- /** UUID of the buffered `webhook_events` row (present when `buffered` is `true`). */
185
+ /** UUID of the persisted `webhook_events` row for buffered or skipped events. */
149
186
  eventId?: string;
150
- /** Machine-readable reason the event was buffered (e.g. `"no_action_rule_configured"`). */
187
+ /** Machine-readable reason the event was buffered or skipped. */
151
188
  reason?: string;
152
189
  data?: Record<string, unknown>;
153
190
  }
191
+ /** Authentication options for {@link WebhooksClient.send}. */
192
+ type WebhookSendAuth = {
193
+ scheme: "svix"; /** Action webhook secret. Defaults to the client's `webhookSecret`. */
194
+ secret?: string; /** Optional stable message id for deterministic tests/retries. */
195
+ msgId?: string; /** Unix timestamp in seconds. Defaults to now. */
196
+ timestamp?: number;
197
+ } | {
198
+ scheme: "hmac_sha256"; /** Action webhook secret. Defaults to the client's `webhookSecret`. */
199
+ secret?: string; /** Unix timestamp in seconds. Defaults to now. */
200
+ timestamp?: number;
201
+ } | {
202
+ scheme: "shared_token"; /** Action webhook token. Defaults to the client's `webhookSecret`. */
203
+ token?: string;
204
+ } | {
205
+ /** No verification headers. Only use for intentionally public webhooks. */scheme: "none";
206
+ };
207
+ /** Response from sending an event to the legacy Actions listener endpoint. */
208
+ interface WebhookIngestResponse {
209
+ /** UUID of the persisted `webhook_events` row. */
210
+ eventId: string;
211
+ /** True when the event matched an existing source/dedupe key. */
212
+ duplicate: boolean;
213
+ }
214
+ /** Authentication options for {@link WebhooksClient.sendToActionsListener}. */
215
+ type WebhookIngestAuth = {
216
+ scheme: "svix"; /** Listener secret shown once on create/rotation. */
217
+ secret: string; /** Optional stable message id for deterministic tests/retries. */
218
+ msgId?: string; /** Unix timestamp in seconds. Defaults to now. */
219
+ timestamp?: number;
220
+ } | {
221
+ scheme: "hmac_sha256"; /** Listener secret shown once on create/rotation. */
222
+ secret: string; /** Unix timestamp in seconds. Defaults to now. */
223
+ timestamp?: number;
224
+ } | {
225
+ scheme: "shared_token"; /** Listener token shown once on create/rotation. */
226
+ token: string;
227
+ } | {
228
+ /** Secret-URL listener. The endpoint URL itself is the credential. */scheme: "none";
229
+ };
230
+ /** Parameters for sending directly to the legacy Actions listener endpoint. */
231
+ interface WebhookIngestSendParams {
232
+ /** Listener identifier used in `/webhooks/ingest/:org/:identifier`. */
233
+ identifier: string;
234
+ /** Arbitrary JSON payload to buffer and route through the listener. */
235
+ payload: Record<string, unknown>;
236
+ /** Auth scheme matching the listener verification setting. */
237
+ auth: WebhookIngestAuth;
238
+ }
239
+ /** Preferred response name for Actions listener integrations. */
240
+ type ActionsListenerResponse = WebhookIngestResponse;
241
+ /** Preferred auth name for Actions listener integrations. */
242
+ type ActionsListenerAuth = WebhookIngestAuth;
243
+ /** Preferred parameter name for {@link WebhooksClient.sendToActionsListener}. */
244
+ type ActionsListenerSendParams = WebhookIngestSendParams;
154
245
  /** Parameters for {@link signHmacWebhookRequest}. */
155
246
  interface SignHmacWebhookRequestParams {
156
- /** The webhook listener's shared secret. */
247
+ /** The action webhook's shared secret. */
157
248
  secret: string;
158
249
  /**
159
250
  * The exact raw request body string that will be sent. The signature is
@@ -173,71 +264,75 @@ interface SignedHmacWebhookRequest {
173
264
  };
174
265
  }
175
266
  /**
176
- * Verification scheme for an inbound webhook listener
177
- * (`POST /webhooks/ingest/:org/:identifier`).
267
+ * Verification scheme for an action webhook
268
+ * (`POST /webhooks/actions/:org/:identifier`).
178
269
  *
179
270
  * - `"svix"` — Svix-style signing (`svix-id` / `svix-timestamp` / `svix-signature`).
180
271
  * - `"hmac_sha256"` — `x-webhook-timestamp` + `x-webhook-signature` headers;
181
272
  * sign with {@link signHmacWebhookRequest}.
182
273
  * - `"shared_token"` — `Authorization: Bearer <token>` or `x-webhook-token`;
183
274
  * build with {@link sharedTokenHeaders}.
184
- * - `"none"` — capability URL: the unguessable random suffix appended to the
185
- * endpoint identifier at creation time is the credential.
275
+ * - `"none"` — no verification headers; intended only for deliberately public
276
+ * or legacy endpoints.
186
277
  */
187
278
  type WebhookVerificationScheme = "svix" | "hmac_sha256" | "shared_token" | "none";
188
- /** Environment label for an inbound webhook listener. */
279
+ /** Preferred verification-scheme name for Actions listener integrations. */
280
+ type ActionsListenerVerificationScheme = WebhookVerificationScheme;
281
+ /** Environment label for an action webhook. */
189
282
  type WebhookEnvironment = "dev" | "sandbox" | "prod";
190
- /** Per-listener routing configuration ({@link IWebhookListenerConfig.routingConfig}). */
191
- interface IWebhookListenerRoutingConfig {
192
- /** Event types to skip (marked `skipped`, never dispatched to an agent). */
283
+ /** Preferred environment name for Actions listener integrations. */
284
+ type ActionsListenerEnvironment = WebhookEnvironment;
285
+ /** Per-action-webhook routing configuration. */
286
+ interface IActionWebhookRoutingConfig {
287
+ /** Legacy listener compatibility: event types to log but never dispatch. */
193
288
  ignoredEventTypes?: string[];
194
- /**
195
- * `"route"` dispatches buffered events to the target agent;
196
- * `"buffer_only"` accepts + logs events but skips agent dispatch.
197
- */
289
+ /** Legacy listener compatibility: buffer events without dispatching. */
198
290
  mode?: "route" | "buffer_only";
199
291
  /** Retention window in days for processed/skipped events. */
200
292
  retentionDays?: number;
201
- /** Sender IPs allowed to hit the ingest endpoint. Empty/omitted = all. */
293
+ /** Sender IPs allowed to hit the webhook endpoint. Empty/omitted = all. */
202
294
  ipAllowlist?: string[];
203
- /**
204
- * Webhook-specific guidance appended to the agent prompt on every
205
- * dispatched event (payload shapes, which tools to call, etc.).
206
- */
207
- instructions?: string;
208
- /** Ingest quota for this listener. Defaults to 100, capped at 1000. */
295
+ /** Browser sender origins allowed to hit the webhook endpoint. Empty/omitted = all. */
296
+ allowedOrigins?: string[];
297
+ /** Request quota for this action webhook. Defaults to 100/minute, capped at 1000. */
209
298
  rateLimitPerMinute?: number;
299
+ /** Legacy listener compatibility. New instructions should live on the action rule. */
300
+ instructions?: string;
210
301
  }
211
- /**
212
- * An inbound webhook listener as configured in AgentPress. Listeners receive
213
- * external events on `POST /webhooks/ingest/:org/:identifier`, buffer them
214
- * durably, and route them into actions for the target agent.
215
- */
216
- interface IWebhookListenerConfig {
302
+ /** Compatibility routing-config name for Actions listener integrations. */
303
+ type IWebhookListenerRoutingConfig = IActionWebhookRoutingConfig;
304
+ /** Preferred routing-config name for Actions listener integrations. */
305
+ type IActionsListenerRoutingConfig = IActionWebhookRoutingConfig;
306
+ /** Action webhook configuration as exposed to SDK consumers. */
307
+ interface IActionWebhookConfig {
217
308
  /** Human-readable display name. */
218
309
  name: string;
219
- /** Stable slug used in the ingest URL path. */
310
+ /** Stable slug used in the webhook URL path. */
220
311
  identifier: string;
221
312
  /** How inbound requests are authenticated. */
222
313
  verificationScheme: WebhookVerificationScheme;
223
- /** Environment label for the listener. */
314
+ /** Environment label for the webhook. */
224
315
  environment: WebhookEnvironment;
225
- /** Disabled listeners reject inbound events at the edge. */
316
+ /** Disabled webhooks reject inbound events at the edge. */
226
317
  enabled: boolean;
227
- /** Agent on the listener's default action rule (quick-setup path). */
318
+ /** Agent on the default action rule. */
228
319
  targetAgentId: string | null;
229
320
  /** Fallback user actions run as when the payload does not resolve one. */
230
321
  runAsUserId: string | null;
231
322
  /** Routing, retention, and rate-limit configuration. */
232
- routingConfig: IWebhookListenerRoutingConfig;
323
+ routingConfig: IActionWebhookRoutingConfig;
233
324
  }
325
+ /** Compatibility config name for Actions listener integrations. */
326
+ type IWebhookListenerConfig = IActionWebhookConfig;
327
+ /** Preferred config name for Actions listener integrations. */
328
+ type IActionsListenerConfig = IActionWebhookConfig;
234
329
  /**
235
- * An action rule's listen subscription. Rules that subscribe to a listening
330
+ * An action rule's webhook subscription. Rules that subscribe to an action
236
331
  * webhook receive its buffered events in addition to the webhook's default
237
- * rule, so one listening URL can fan out to several rules.
332
+ * rule, so one action webhook can fan out to several rules.
238
333
  */
239
- interface IActionRuleListenSubscription {
240
- /** Webhook listener this rule subscribes to; `null` = no subscription. */
334
+ interface IActionRuleWebhookSubscription {
335
+ /** Action webhook this rule subscribes to; `null` = no subscription. */
241
336
  listenWebhookId: string | null;
242
337
  /** Event types to receive; empty array = all event types. */
243
338
  listenEventTypes: string[];
@@ -263,6 +358,11 @@ interface StagedToolCall {
263
358
  * callbacks may contain a plain string.
264
359
  */
265
360
  summary?: string | StagedToolCallSummary;
361
+ /**
362
+ * For agent-decided approvals: the agent's one-line rationale for requiring
363
+ * approval. Untrusted, bounded audit metadata — not authorization evidence.
364
+ */
365
+ agentApprovalRationale?: string;
266
366
  }
267
367
  /** Parameters for {@link ActionsClient.approve}. */
268
368
  interface ApproveActionParams {
@@ -359,13 +459,14 @@ interface ActionCallbackPayload {
359
459
  [key: string]: unknown;
360
460
  }
361
461
  /** Mode of a user tool approval rule. */
362
- type ApprovalMode = "always_allow" | "always_deny";
462
+ type ApprovalMode = "always_allow" | "always_deny" | "agent_decides";
363
463
  /**
364
- * Mode accepted by settings UIs that sync Allow/Ask choices. `always_allow`
365
- * persists an allow rule. `ask` means no stored allow rule for that listed
366
- * tool. `always_deny` is intentionally not accepted by sync.
464
+ * Mode accepted by settings UIs that sync Allow/Ask/Agent choices.
465
+ * `always_allow` persists an allow rule, `agent_decides` persists an
466
+ * agent-decide rule, and `ask` means no stored rule for that listed tool.
467
+ * `always_deny` is intentionally not accepted by sync.
367
468
  */
368
- type ApprovalRuleSyncMode = "always_allow" | "ask";
469
+ type ApprovalRuleSyncMode = "always_allow" | "agent_decides" | "ask";
369
470
  /**
370
471
  * A persisted rule that auto-approves (or auto-denies) a specific
371
472
  * `(user, webhook, tool)` triple, bypassing the per-action approval prompt.
@@ -420,6 +521,8 @@ interface WebhookApprovalToolMetadata {
420
521
  destructiveHint: boolean | null;
421
522
  /** True/false when known; null when the tool catalog does not expose it. */
422
523
  sensitiveHint: boolean | null;
524
+ /** The rule's configured default approval mode for this tool, when exposed. */
525
+ mode?: "ask" | "agent";
423
526
  }
424
527
  /** Webhook metadata plus the ordered approval-tool catalog for partner UIs. */
425
528
  interface WebhookApprovalMetadata {
@@ -778,7 +881,8 @@ declare class WebhooksClient {
778
881
  constructor(options: ResolvedOptions, http: HttpClient);
779
882
  /**
780
883
  * Send an arbitrary webhook payload to AgentPress.
781
- * Signs the payload with HMAC-SHA256 (Svix-compatible).
884
+ * Signs the payload with the verification scheme configured on the action
885
+ * webhook. Defaults to Svix-compatible signing.
782
886
  *
783
887
  * On the happy path the response is synchronous: `{ success: true,
784
888
  * actionId, data }`, or `{ success, actionId, alreadyExists: true, data }`
@@ -791,11 +895,25 @@ declare class WebhooksClient {
791
895
  * auto-processes once an operator fixes the configuration, so check
792
896
  * {@link WebhookResponse.buffered} before relying on `actionId`.
793
897
  *
794
- * @throws ConfigurationError if webhookSecret is not configured
898
+ * @throws ConfigurationError if the selected verification scheme needs a
899
+ * secret/token and none is configured
795
900
  * @throws HttpError on non-2xx response
796
901
  * @throws TimeoutError if request exceeds timeout
797
902
  */
798
903
  send(params: WebhookSendParams): Promise<WebhookResponse>;
904
+ /**
905
+ * Send a payload to the legacy Actions listener ingestion endpoint
906
+ * (`POST /webhooks/ingest/:org/:identifier`).
907
+ *
908
+ * New integrations should prefer {@link send}; this method is kept for
909
+ * existing listener integrations and SDK patch compatibility.
910
+ */
911
+ sendToActionsListener(params: ActionsListenerSendParams): Promise<ActionsListenerResponse>;
912
+ /**
913
+ * @deprecated Use {@link sendToActionsListener}. Kept as a compatibility
914
+ * alias for integrations created before the Actions listener naming update.
915
+ */
916
+ sendToListener(params: WebhookIngestSendParams): Promise<WebhookIngestResponse>;
799
917
  /**
800
918
  * Verify an inbound Svix webhook signature.
801
919
  *
@@ -924,11 +1042,11 @@ declare class KeyRotationVerifyError extends AgentPressError {
924
1042
  constructor(reason: KeyRotationVerifyErrorReason, message: string);
925
1043
  }
926
1044
  //#endregion
927
- //#region src/webhooks/ingestSigning.d.ts
1045
+ //#region src/webhooks/actionWebhookSigning.d.ts
928
1046
  /**
929
- * Sign an outbound request for an AgentPress inbound webhook listener that
930
- * uses the `hmac_sha256` verification scheme
931
- * (`POST /webhooks/ingest/:org/:identifier`).
1047
+ * Sign an outbound request for an AgentPress action webhook that uses the
1048
+ * `hmac_sha256` verification scheme
1049
+ * (`POST /webhooks/actions/:org/:identifier`).
932
1050
  *
933
1051
  * Produces the two headers AgentPress verifies:
934
1052
  *
@@ -943,7 +1061,7 @@ declare class KeyRotationVerifyError extends AgentPressError {
943
1061
  * ```ts
944
1062
  * const rawBody = JSON.stringify({ eventType: "review.created", data: {...} });
945
1063
  * const { headers } = signHmacWebhookRequest({ secret, rawBody });
946
- * await fetch(ingestUrl, {
1064
+ * await fetch(actionWebhookUrl, {
947
1065
  * method: "POST",
948
1066
  * body: rawBody,
949
1067
  * headers: { "content-type": "application/json", ...headers },
@@ -952,8 +1070,8 @@ declare class KeyRotationVerifyError extends AgentPressError {
952
1070
  */
953
1071
  declare function signHmacWebhookRequest(params: SignHmacWebhookRequestParams): SignedHmacWebhookRequest;
954
1072
  /**
955
- * Build the auth header for an AgentPress inbound webhook listener that uses
956
- * the `shared_token` verification scheme. AgentPress also accepts
1073
+ * Build the auth header for an AgentPress action webhook that uses the
1074
+ * `shared_token` verification scheme. AgentPress also accepts
957
1075
  * `Authorization: Bearer <token>`; this helper uses the dedicated
958
1076
  * `x-webhook-token` header so it never collides with other auth middleware.
959
1077
  */
@@ -961,5 +1079,5 @@ declare function sharedTokenHeaders(token: string): {
961
1079
  "x-webhook-token": string;
962
1080
  };
963
1081
  //#endregion
964
- export { ACTION_EVENT_TYPES, type ActionCallbackPayload, type ActionEventType, type ActionManageResponse, type ActionStatus, ActionsClient, AgentPress, AgentPressError, type AgentPressOptions, type AgentResponse, type ApprovalMode, type ApprovalRuleSyncMode, type ApproveActionParams, ConfigurationError, type CreateUserApprovalParams, type DeleteUserApprovalParams, type GetUserApprovalWebhookMetadataParams, HttpError, type IActionRuleListenSubscription, type IWebhookListenerConfig, type IWebhookListenerRoutingConfig, type KeyRotationEvent, KeyRotationVerifyError, type KeyRotationVerifyErrorReason, type KeyRotationVerifyParams, type ListUserApprovalsParams, type ListUserApprovalsResponse, type PartnerMcpOptions, type PartnerTokenClaims, PartnerTokenError, type PartnerTokenErrorReason, PartnersClient, type RejectActionParams, type SignHmacWebhookRequestParams, type SignedHmacWebhookRequest, type StagedToolCall, type StagedToolCallSummary, type SyncUserApprovalRule, type SyncUserApprovalsParams, type SyncUserApprovalsResponse, TimeoutError, type ToolCallResult, type UpdateUserApprovalParams, UserApprovalsClient, type UserToolApproval, type WebhookApprovalMetadata, type WebhookApprovalToolMetadata, type WebhookEnvironment, type WebhookResponse, type WebhookSendParams, WebhookSignatureError, type WebhookVerificationScheme, type WebhookVerifyParams, WebhooksClient, sharedTokenHeaders, signHmacWebhookRequest };
1082
+ export { ACTION_EVENT_TYPES, type ActionCallbackPayload, type ActionEventType, type ActionManageResponse, type ActionStatus, type ActionWebhookPayload, ActionsClient, type ActionsListenerAuth, type ActionsListenerEnvironment, type ActionsListenerResponse, type ActionsListenerSendParams, type ActionsListenerVerificationScheme, AgentPress, AgentPressError, type AgentPressOptions, type AgentResponse, type ApprovalMode, type ApprovalRuleSyncMode, type ApproveActionParams, ConfigurationError, type CreateUserApprovalParams, type DeleteUserApprovalParams, type GetUserApprovalWebhookMetadataParams, HttpError, type IActionRuleWebhookSubscription, type IActionWebhookConfig, type IActionWebhookRoutingConfig, type IActionsListenerConfig, type IActionsListenerRoutingConfig, type IWebhookListenerConfig, type IWebhookListenerRoutingConfig, type KeyRotationEvent, KeyRotationVerifyError, type KeyRotationVerifyErrorReason, type KeyRotationVerifyParams, type ListUserApprovalsParams, type ListUserApprovalsResponse, type PartnerMcpOptions, type PartnerTokenClaims, PartnerTokenError, type PartnerTokenErrorReason, PartnersClient, type RejectActionParams, type SignHmacWebhookRequestParams, type SignedHmacWebhookRequest, type StagedToolCall, type StagedToolCallSummary, type SyncUserApprovalRule, type SyncUserApprovalsParams, type SyncUserApprovalsResponse, TimeoutError, type ToolApprovalMode, type ToolCallResult, type UpdateUserApprovalParams, UserApprovalsClient, type UserToolApproval, type WebhookApprovalMetadata, type WebhookApprovalToolMetadata, type WebhookEnvironment, type WebhookIngestAuth, type WebhookIngestResponse, type WebhookIngestSendParams, type WebhookResponse, type WebhookSendAuth, type WebhookSendParams, WebhookSignatureError, type WebhookVerificationScheme, type WebhookVerifyParams, WebhooksClient, sharedTokenHeaders, signHmacWebhookRequest };
965
1083
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/types.ts","../src/http.ts","../src/actions/client.ts","../src/partners/client.ts","../src/userApprovals/client.ts","../src/webhooks/client.ts","../src/client.ts","../src/errors.ts","../src/webhooks/ingestSigning.ts"],"mappings":";;UACiB,iBAAA;EAAiB;EAEhC,aAAA;EAkBa;EAhBb,MAAA;EAoBqC;EAlBrC,OAAA;EAkB6C;EAhB7C,OAAA;EAJA;EAMA,GAAA;EAFA;;;;;;;;;EAYA,UAAA,GAAa,iBAAA;EAIwB;EAFrC,SAAA,IAAa,GAAA,UAAa,IAAA,EAAM,WAAA;EAEa;EAA7C,UAAA,IAAc,GAAA,UAAa,QAAA,EAAU,QAAA;AAAA;;UAItB,iBAAA;EAAiB;;;;;;;EAQhC,OAAA;EAqBiB;AAInB;;;;EAnBE,MAAA;EAuBA;EArBA,QAAA;EAyBA;EAvBA,mBAAA;EA2BA;;;;;EArBA,cAAA;EAiCC;;AAAW;AAId;EAhCE,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,MAAA,EAAQ,4BAAA;cAEZ,MAAA,EAAQ,4BAAA,EAA8B,OAAA;AAAA;;;AP7GpD;;;;;;;;;;;;;;;;;;;;;;;;AAwB+C;AAxB/C,iBQ+BgB,sBAAA,CACd,MAAA,EAAQ,4BAAA,GACP,wBAAwB;;;;;;;iBAqBX,kBAAA,CAAmB,KAAA;EACjC,iBAAiB;AAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/types.ts","../src/http.ts","../src/actions/client.ts","../src/partners/client.ts","../src/userApprovals/client.ts","../src/webhooks/client.ts","../src/client.ts","../src/errors.ts","../src/webhooks/actionWebhookSigning.ts"],"mappings":";;UACiB,iBAAA;EAAiB;EAEhC,aAAA;EAkBa;EAhBb,MAAA;EAoBqC;EAlBrC,OAAA;EAkB6C;EAhB7C,OAAA;EAJA;EAMA,GAAA;EAFA;;;;;;;;;EAYA,UAAA,GAAa,iBAAA;EAIwB;EAFrC,SAAA,IAAa,GAAA,UAAa,IAAA,EAAM,WAAA;EAEa;EAA7C,UAAA,IAAc,GAAA,UAAa,QAAA,EAAU,QAAA;AAAA;;UAItB,iBAAA;EAAiB;;;;;;;EAQhC,OAAA;EAqBiB;AAInB;;;;EAnBE,MAAA;EAuBA;EArBA,QAAA;EAyBA;EAvBA,mBAAA;EA2BA;;;;;EArBA,cAAA;EAiCC;;AAAW;AAId;EAhCE,iBAAA;AAAA;;UAIe,kBAAA;EA8BG;EA5BlB,GAAA;EAkCS;EAhCT,KAAA;EAgCe;EA9Bf,YAAA;EAkC+B;EAhC/B,GAAA;EAgC+B;EA9B/B,GAAA;EAgCA;EA9BA,GAAA;EAgCA;EA9BA,GAAA;EAkCA;EAhCA,GAAA;EAoCA;EAlCA,MAAA;EAkCM;EAhCN,SAAA;EAsC0B;EApC1B,WAAA;EAoC0B;EAAA,CAlCzB,GAAA;AAAA;;UAIc,uBAAA;EAuDgB;EArD/B,OAAA,WAAkB,MAAA;EAuDX;;;;;EAjDP,OAAA,EAAS,MAAM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