@siglume/api-sdk 0.9.1 → 0.10.1

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
@@ -204,6 +204,7 @@ interface AppManifest {
204
204
  applicable_regulations?: string[];
205
205
  data_residency?: string;
206
206
  short_description?: string;
207
+ description?: string;
207
208
  docs_url?: string;
208
209
  support_contact?: string;
209
210
  seller_homepage_url?: string;
@@ -366,6 +367,7 @@ interface AppListingRecord {
366
367
  price_value_minor: number;
367
368
  currency: string;
368
369
  short_description?: string | null;
370
+ description?: string | null;
369
371
  docs_url?: string | null;
370
372
  support_contact?: string | null;
371
373
  seller_display_name?: string | null;
@@ -1307,76 +1309,12 @@ interface AgentThreadRecord {
1307
1309
  items: NetworkContentDetail[];
1308
1310
  raw: Record<string, unknown>;
1309
1311
  }
1310
- declare const RefundReason: {
1311
- readonly CUSTOMER_REQUEST: "customer-request";
1312
- readonly DUPLICATE: "duplicate";
1313
- readonly FRAUDULENT: "fraudulent";
1314
- readonly SERVICE_FAILURE: "service-failure";
1315
- readonly GOODWILL: "goodwill";
1316
- };
1317
- type RefundReason = (typeof RefundReason)[keyof typeof RefundReason];
1318
- declare const DisputeResponse: {
1319
- readonly ACCEPT: "accept";
1320
- readonly CONTEST: "contest";
1321
- };
1322
- type DisputeResponse = (typeof DisputeResponse)[keyof typeof DisputeResponse];
1323
- declare const RefundStatus: {
1324
- readonly ISSUED: "issued";
1325
- readonly FAILED: "failed";
1326
- };
1327
- type RefundStatus = (typeof RefundStatus)[keyof typeof RefundStatus];
1328
- declare const DisputeStatus: {
1329
- readonly OPEN: "open";
1330
- readonly ACCEPTED: "accepted";
1331
- readonly CONTESTED: "contested";
1332
- };
1333
- type DisputeStatus = (typeof DisputeStatus)[keyof typeof DisputeStatus];
1334
- interface RefundRecord {
1335
- refund_id: string;
1336
- receipt_id: string;
1337
- owner_user_id?: string | null;
1338
- payment_mandate_id?: string | null;
1339
- usage_event_id?: string | null;
1340
- chain_receipt_id?: string | null;
1341
- amount_minor: number;
1342
- currency: string;
1343
- status: string;
1344
- reason_code: string;
1345
- note?: string | null;
1346
- idempotency_key?: string | null;
1347
- on_chain_tx_hash?: string | null;
1348
- metadata: Record<string, unknown>;
1349
- idempotent_replay: boolean;
1350
- created_at?: string | null;
1351
- updated_at?: string | null;
1352
- raw: Record<string, unknown>;
1353
- }
1354
- interface DisputeRecord {
1355
- dispute_id: string;
1356
- receipt_id: string;
1357
- owner_user_id?: string | null;
1358
- payment_mandate_id?: string | null;
1359
- usage_event_id?: string | null;
1360
- external_dispute_id?: string | null;
1361
- status: string;
1362
- reason_code: string;
1363
- description?: string | null;
1364
- evidence: Record<string, unknown>;
1365
- response_decision?: string | null;
1366
- response_note?: string | null;
1367
- responded_at?: string | null;
1368
- metadata: Record<string, unknown>;
1369
- idempotent_replay: boolean;
1370
- created_at?: string | null;
1371
- updated_at?: string | null;
1372
- raw: Record<string, unknown>;
1373
- }
1374
1312
 
1375
1313
  declare const WEBHOOK_SIGNATURE_HEADER = "Siglume-Signature";
1376
1314
  declare const WEBHOOK_EVENT_ID_HEADER = "Siglume-Event-Id";
1377
1315
  declare const WEBHOOK_EVENT_TYPE_HEADER = "Siglume-Event-Type";
1378
1316
  declare const DEFAULT_WEBHOOK_TOLERANCE_SECONDS = 300;
1379
- declare const WEBHOOK_EVENT_TYPES: readonly ["subscription.created", "subscription.renewed", "subscription.cancelled", "subscription.paused", "subscription.reinstated", "refund.issued", "payment.succeeded", "payment.failed", "payment.disputed", "capability.published", "capability.delisted", "execution.completed", "execution.failed"];
1317
+ declare const WEBHOOK_EVENT_TYPES: readonly ["subscription.created", "subscription.renewed", "subscription.cancelled", "subscription.paused", "subscription.reinstated", "payment.succeeded", "payment.failed", "capability.published", "capability.delisted", "execution.completed", "execution.failed"];
1380
1318
  type WebhookEventType = (typeof WEBHOOK_EVENT_TYPES)[number];
1381
1319
  interface WebhookSignatureVerification {
1382
1320
  timestamp: number;
@@ -1442,15 +1380,6 @@ interface SubscriptionLifecycleEventData extends Record<string, unknown> {
1442
1380
  currency?: string;
1443
1381
  amount_minor?: number;
1444
1382
  }
1445
- interface RefundIssuedEventData extends Record<string, unknown> {
1446
- refund_id?: string;
1447
- receipt_id?: string;
1448
- amount_minor?: number;
1449
- currency?: string;
1450
- status?: string;
1451
- payment_mandate_id?: string;
1452
- on_chain_tx_hash?: string;
1453
- }
1454
1383
  interface PaymentEventData extends SubscriptionLifecycleEventData {
1455
1384
  payment_status?: string;
1456
1385
  }
@@ -1485,14 +1414,10 @@ interface SubscriptionPausedEvent extends WebhookEventBase<"subscription.paused"
1485
1414
  }
1486
1415
  interface SubscriptionReinstatedEvent extends WebhookEventBase<"subscription.reinstated", SubscriptionLifecycleEventData> {
1487
1416
  }
1488
- interface RefundIssuedEvent extends WebhookEventBase<"refund.issued", RefundIssuedEventData> {
1489
- }
1490
1417
  interface PaymentSucceededEvent extends WebhookEventBase<"payment.succeeded", PaymentEventData> {
1491
1418
  }
1492
1419
  interface PaymentFailedEvent extends WebhookEventBase<"payment.failed", PaymentEventData> {
1493
1420
  }
1494
- interface PaymentDisputedEvent extends WebhookEventBase<"payment.disputed", PaymentEventData> {
1495
- }
1496
1421
  interface CapabilityPublishedEvent extends WebhookEventBase<"capability.published", CapabilityEventData> {
1497
1422
  }
1498
1423
  interface CapabilityDelistedEvent extends WebhookEventBase<"capability.delisted", CapabilityEventData> {
@@ -1501,7 +1426,7 @@ interface ExecutionCompletedEvent extends WebhookEventBase<"execution.completed"
1501
1426
  }
1502
1427
  interface ExecutionFailedEvent extends WebhookEventBase<"execution.failed", ExecutionFailedEventData> {
1503
1428
  }
1504
- type SiglumeWebhookEvent = SubscriptionCreatedEvent | SubscriptionRenewedEvent | SubscriptionCancelledEvent | SubscriptionPausedEvent | SubscriptionReinstatedEvent | RefundIssuedEvent | PaymentSucceededEvent | PaymentFailedEvent | PaymentDisputedEvent | CapabilityPublishedEvent | CapabilityDelistedEvent | ExecutionCompletedEvent | ExecutionFailedEvent;
1429
+ type SiglumeWebhookEvent = SubscriptionCreatedEvent | SubscriptionRenewedEvent | SubscriptionCancelledEvent | SubscriptionPausedEvent | SubscriptionReinstatedEvent | PaymentSucceededEvent | PaymentFailedEvent | CapabilityPublishedEvent | CapabilityDelistedEvent | ExecutionCompletedEvent | ExecutionFailedEvent;
1505
1430
  interface QueuedWebhookEvent {
1506
1431
  queued: boolean;
1507
1432
  event: SiglumeWebhookEvent;
@@ -1634,7 +1559,6 @@ interface SiglumeClientShape {
1634
1559
  source_url?: string;
1635
1560
  runtime_validation?: Record<string, unknown>;
1636
1561
  oauth_credentials?: Record<string, unknown> | unknown[];
1637
- metadata?: Record<string, unknown>;
1638
1562
  source_context?: Record<string, unknown>;
1639
1563
  input_form_spec?: Record<string, unknown>;
1640
1564
  }): Promise<AutoRegistrationReceipt>;
@@ -2076,39 +2000,6 @@ interface SiglumeClientShape {
2076
2000
  limit?: number;
2077
2001
  cursor?: string;
2078
2002
  }): Promise<CursorPage<SupportCaseRecord>>;
2079
- issue_partial_refund(options: {
2080
- receipt_id: string;
2081
- amount_minor: number;
2082
- reason?: RefundReason | string;
2083
- note?: string;
2084
- idempotency_key: string;
2085
- original_amount_minor?: number;
2086
- }): Promise<RefundRecord>;
2087
- issue_full_refund(options: {
2088
- receipt_id: string;
2089
- reason?: RefundReason | string;
2090
- note?: string;
2091
- idempotency_key?: string;
2092
- }): Promise<RefundRecord>;
2093
- list_refunds(options?: {
2094
- receipt_id?: string;
2095
- limit?: number;
2096
- }): Promise<RefundRecord[]>;
2097
- get_refund(refund_id: string): Promise<RefundRecord>;
2098
- get_refunds_for_receipt(receipt_id: string, options?: {
2099
- limit?: number;
2100
- }): Promise<RefundRecord[]>;
2101
- list_disputes(options?: {
2102
- receipt_id?: string;
2103
- limit?: number;
2104
- }): Promise<DisputeRecord[]>;
2105
- get_dispute(dispute_id: string): Promise<DisputeRecord>;
2106
- respond_to_dispute(options: {
2107
- dispute_id: string;
2108
- response: DisputeResponse | string;
2109
- evidence: Record<string, unknown>;
2110
- note?: string;
2111
- }): Promise<DisputeRecord>;
2112
2003
  create_webhook_subscription(options: {
2113
2004
  callback_url: string;
2114
2005
  description?: string;
@@ -2195,7 +2086,6 @@ declare class SiglumeClient implements SiglumeClientShape {
2195
2086
  source_url?: string;
2196
2087
  runtime_validation?: Record<string, unknown>;
2197
2088
  oauth_credentials?: Record<string, unknown> | unknown[];
2198
- metadata?: Record<string, unknown>;
2199
2089
  source_context?: Record<string, unknown>;
2200
2090
  input_form_spec?: Record<string, unknown>;
2201
2091
  }): Promise<AutoRegistrationReceipt>;
@@ -2638,39 +2528,6 @@ declare class SiglumeClient implements SiglumeClientShape {
2638
2528
  limit?: number;
2639
2529
  cursor?: string;
2640
2530
  }): Promise<CursorPageResult<SupportCaseRecord>>;
2641
- issue_partial_refund(options: {
2642
- receipt_id: string;
2643
- amount_minor: number;
2644
- reason?: RefundReason | string;
2645
- note?: string;
2646
- idempotency_key: string;
2647
- original_amount_minor?: number;
2648
- }): Promise<RefundRecord>;
2649
- issue_full_refund(options: {
2650
- receipt_id: string;
2651
- reason?: RefundReason | string;
2652
- note?: string;
2653
- idempotency_key?: string;
2654
- }): Promise<RefundRecord>;
2655
- list_refunds(options?: {
2656
- receipt_id?: string;
2657
- limit?: number;
2658
- }): Promise<RefundRecord[]>;
2659
- get_refund(refund_id: string): Promise<RefundRecord>;
2660
- get_refunds_for_receipt(receipt_id: string, options?: {
2661
- limit?: number;
2662
- }): Promise<RefundRecord[]>;
2663
- list_disputes(options?: {
2664
- receipt_id?: string;
2665
- limit?: number;
2666
- }): Promise<DisputeRecord[]>;
2667
- get_dispute(dispute_id: string): Promise<DisputeRecord>;
2668
- respond_to_dispute(options: {
2669
- dispute_id: string;
2670
- response: DisputeResponse | string;
2671
- evidence: Record<string, unknown>;
2672
- note?: string;
2673
- }): Promise<DisputeRecord>;
2674
2531
  create_webhook_subscription(options: {
2675
2532
  callback_url: string;
2676
2533
  description?: string;
@@ -2968,46 +2825,6 @@ declare class MeterClient {
2968
2825
  }
2969
2826
  declare function normalizeUsageRecord(record: UsageRecord): UsageRecord;
2970
2827
 
2971
- type RefundClientOptions = SiglumeClientOptions;
2972
- declare class RefundClient {
2973
- private readonly client;
2974
- constructor(options: RefundClientOptions);
2975
- close(): void;
2976
- issue_partial_refund(options: {
2977
- receipt_id: string;
2978
- amount_minor: number;
2979
- reason?: RefundReason | string;
2980
- note?: string;
2981
- idempotency_key: string;
2982
- original_amount_minor?: number;
2983
- }): Promise<RefundRecord>;
2984
- issue_full_refund(options: {
2985
- receipt_id: string;
2986
- reason?: RefundReason | string;
2987
- note?: string;
2988
- idempotency_key?: string;
2989
- }): Promise<RefundRecord>;
2990
- list_refunds(options?: {
2991
- receipt_id?: string;
2992
- limit?: number;
2993
- }): Promise<RefundRecord[]>;
2994
- get_refund(refund_id: string): Promise<RefundRecord>;
2995
- get_refunds_for_receipt(receipt_id: string, options?: {
2996
- limit?: number;
2997
- }): Promise<RefundRecord[]>;
2998
- list_disputes(options?: {
2999
- receipt_id?: string;
3000
- limit?: number;
3001
- }): Promise<DisputeRecord[]>;
3002
- get_dispute(dispute_id: string): Promise<DisputeRecord>;
3003
- respond_to_dispute(options: {
3004
- dispute_id: string;
3005
- response: DisputeResponse | string;
3006
- evidence: Record<string, unknown>;
3007
- note?: string;
3008
- }): Promise<DisputeRecord>;
3009
- }
3010
-
3011
2828
  declare abstract class AppAdapter {
3012
2829
  abstract manifest(): Awaitable<AppManifest>;
3013
2830
  abstract execute(ctx: ExecutionContext): Awaitable<ExecutionResult>;
@@ -3248,4 +3065,4 @@ declare function validate_tool_manual(manualInput: ManualInput): [boolean, ToolM
3248
3065
 
3249
3066
  declare function renderJson(value: unknown): string;
3250
3067
 
3251
- export { type AccessGrantRecord, type AccountAlert, type AccountContentDeleteResult, type AccountContentPostResult, type AccountDigest, type AccountDigestItem, type AccountDigestSummary, type AccountFeedbackSubmission, type AccountPlan, type AccountPlanCancellation, type AccountPreferences, type AccountWatchlist, type AdsBilling, type AdsBillingSettlement, type AdsCampaignPostRecord, type AdsCampaignRecord, type AdsProfile, type AgentCharter, type AgentRecord, type AgentThreadRecord, type AgentTopicSubscription, AnthropicProvider, type AnthropicToolDefinition, AppAdapter, AppCategory, type AppListingRecord, type AppManifest, AppTestHarness, ApprovalMode, type ApprovalPolicy, type ApprovalRequestHint, type AutoRegistrationReceipt, type Awaitable, type BillingPortalLink, BreakingChange, type BudgetPolicy, type BundleListingRecord, type BundleMember, type CapabilityBindingRecord, type CapabilityDelistedEvent, type CapabilityEventData, type CapabilityListing, type CapabilityPublishedEvent, type CassetteFile, type CassetteInteraction, type Change, ChangeLevel, type ConnectedAccountLifecycleResult, type ConnectedAccountOAuthStart, type ConnectedAccountProvider, type ConnectedAccountRecord, type ConnectedAccountRef, type CrossCurrencyQuote, type CursorPage, DEFAULT_OPERATION_AGENT_ID, DEFAULT_SIGLUME_API_BASE, DEFAULT_WEBHOOK_TOLERANCE_SECONDS, type DeveloperPortalSummary, type DisputeRecord, DisputeResponse, DisputeStatus, type EmbeddedWalletCharge, type EnvelopeMeta, Environment, type ExecutionArtifact, type ExecutionCompletedEvent, type ExecutionCompletedEventData, type ExecutionContext, type ExecutionFailedEvent, type ExecutionFailedEventData, ExecutionKind, type ExecutionResult, type ExpressLikeRequest, type ExpressLikeResponse, type FavoriteAgent, type FavoriteAgentMutation, type GrantBindingResult, type HeaderLike, type HealthCheckResult, InMemoryWebhookDedupe, type InstalledToolBindingPolicyRecord, type InstalledToolConnectionReadiness, type InstalledToolExecutionRecord, type InstalledToolPolicyUpdateResult, type InstalledToolReceiptRecord, type InstalledToolReceiptStepRecord, type InstalledToolRecord, type JsonObject, type JsonPrimitive, type JsonValue, LLMProvider, type MarketNeedRecord, type MarketProposalActionResult, type MarketProposalRecord, type McpToolDescriptor, MeterClient, type MeterClientOptions, type MeterRecordResult, type MeteringInvoiceLinePreview, type MeteringSimulationResult, type NetworkClaimRecord, type NetworkContentDetail, type NetworkContentSummary, type NetworkEvidenceRecord, type NetworkRepliesPage, type OpenAIFunctionDefinition, OpenAIProvider, type OpenAIResponsesToolDefinition, type OperationExecution, type OperationMetadata, type PartnerApiKeyHandle, type PartnerApiKeyRecord, type PartnerDashboard, type PartnerUsage, type PaymentDisputedEvent, type PaymentEventData, type PaymentFailedEvent, type PaymentSucceededEvent, PermissionClass, type PlanCheckoutSession, type PlanWeb3Mandate, type PolygonMandate, PriceModel, type QueuedWebhookEvent, type ReceiptRef, RecordMode, Recorder, type RecorderOptions, RefundClient, type RefundClientOptions, type RefundIssuedEvent, type RefundIssuedEventData, RefundReason, type RefundRecord, RefundStatus, type RegistrationConfirmation, type RegistrationQuality, type SandboxSession, SettlementMode, type SettlementReceipt, type SideEffectRecord, SiglumeAPIError, SiglumeAssistError, SiglumeBuyerClient, type SiglumeBuyerClientOptions, SiglumeClient, SiglumeClientError, type SiglumeClientOptions, type SiglumeClientShape, SiglumeError, SiglumeExperimentalError, SiglumeExperimentalWarning, SiglumeNotFoundError, SiglumeProjectError, SiglumeValidationError, SiglumeWebhookError, type SiglumeWebhookEvent, SiglumeWebhookPayloadError, SiglumeWebhookReplayError, SiglumeWebhookSignatureError, type StructuredGenerationUsage, StubProvider, type Subscription, type SubscriptionCancelledEvent, type SubscriptionCreatedEvent, type SubscriptionLifecycleEventData, type SubscriptionPausedEvent, type SubscriptionReinstatedEvent, type SubscriptionRenewedEvent, type SupportCaseRecord, TOOL_MANUAL_DRAFT_PROMPT, type ToolManual, type ToolManualAssistAttempt, type ToolManualAssistMetadata, type ToolManualAssistResult, type ToolManualGrade, type ToolManualIssue, type ToolManualIssueSeverity, ToolManualPermissionClass, type ToolManualQualityReport, type ToolSchemaExport, type UsageEventRecord, type UsageRecord, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_EVENT_TYPE_HEADER, WEBHOOK_SIGNATURE_HEADER, type WebhookCallback, type WebhookDeliveryRecord, type WebhookDispatchResult, type WebhookEventBase, type WebhookEventType, WebhookHandler, type WebhookSignatureVerification, type WebhookSubscriptionRecord, type WorksCategoryRecord, type WorksOwnerDashboard, type WorksOwnerDashboardAgent, type WorksOwnerDashboardOrder, type WorksOwnerDashboardPitch, type WorksOwnerDashboardStats, type WorksPosterDashboard, type WorksPosterDashboardJob, type WorksPosterDashboardOrder, type WorksPosterDashboardStats, type WorksRegistrationRecord, buildOperationMetadata, build_webhook_signature_header, compute_webhook_signature, defaultCapabilityKeyForOperation, defaultOperationOutputSchema, diff_manifest, diff_tool_manual, draft_tool_manual, fallbackOperationCatalog, fill_tool_manual_gaps, normalizeUsageRecord, parse_cross_currency_quote, parse_embedded_wallet_charge, parse_polygon_mandate, parse_queued_webhook_event, parse_settlement_receipt, parse_webhook_delivery, parse_webhook_event, parse_webhook_subscription, renderJson as render_json, score_tool_manual_offline, score_tool_manual_remote, simulate_embedded_wallet_charge, simulate_polygon_mandate, to_anthropic_tool, to_mcp_tool, to_openai_function, to_openai_responses_tool, tool_manual_to_dict, validate_tool_manual, verify_webhook_signature };
3068
+ export { type AccessGrantRecord, type AccountAlert, type AccountContentDeleteResult, type AccountContentPostResult, type AccountDigest, type AccountDigestItem, type AccountDigestSummary, type AccountFeedbackSubmission, type AccountPlan, type AccountPlanCancellation, type AccountPreferences, type AccountWatchlist, type AdsBilling, type AdsBillingSettlement, type AdsCampaignPostRecord, type AdsCampaignRecord, type AdsProfile, type AgentCharter, type AgentRecord, type AgentThreadRecord, type AgentTopicSubscription, AnthropicProvider, type AnthropicToolDefinition, AppAdapter, AppCategory, type AppListingRecord, type AppManifest, AppTestHarness, ApprovalMode, type ApprovalPolicy, type ApprovalRequestHint, type AutoRegistrationReceipt, type Awaitable, type BillingPortalLink, BreakingChange, type BudgetPolicy, type BundleListingRecord, type BundleMember, type CapabilityBindingRecord, type CapabilityDelistedEvent, type CapabilityEventData, type CapabilityListing, type CapabilityPublishedEvent, type CassetteFile, type CassetteInteraction, type Change, ChangeLevel, type ConnectedAccountLifecycleResult, type ConnectedAccountOAuthStart, type ConnectedAccountProvider, type ConnectedAccountRecord, type ConnectedAccountRef, type CrossCurrencyQuote, type CursorPage, DEFAULT_OPERATION_AGENT_ID, DEFAULT_SIGLUME_API_BASE, DEFAULT_WEBHOOK_TOLERANCE_SECONDS, type DeveloperPortalSummary, type EmbeddedWalletCharge, type EnvelopeMeta, Environment, type ExecutionArtifact, type ExecutionCompletedEvent, type ExecutionCompletedEventData, type ExecutionContext, type ExecutionFailedEvent, type ExecutionFailedEventData, ExecutionKind, type ExecutionResult, type ExpressLikeRequest, type ExpressLikeResponse, type FavoriteAgent, type FavoriteAgentMutation, type GrantBindingResult, type HeaderLike, type HealthCheckResult, InMemoryWebhookDedupe, type InstalledToolBindingPolicyRecord, type InstalledToolConnectionReadiness, type InstalledToolExecutionRecord, type InstalledToolPolicyUpdateResult, type InstalledToolReceiptRecord, type InstalledToolReceiptStepRecord, type InstalledToolRecord, type JsonObject, type JsonPrimitive, type JsonValue, LLMProvider, type MarketNeedRecord, type MarketProposalActionResult, type MarketProposalRecord, type McpToolDescriptor, MeterClient, type MeterClientOptions, type MeterRecordResult, type MeteringInvoiceLinePreview, type MeteringSimulationResult, type NetworkClaimRecord, type NetworkContentDetail, type NetworkContentSummary, type NetworkEvidenceRecord, type NetworkRepliesPage, type OpenAIFunctionDefinition, OpenAIProvider, type OpenAIResponsesToolDefinition, type OperationExecution, type OperationMetadata, type PartnerApiKeyHandle, type PartnerApiKeyRecord, type PartnerDashboard, type PartnerUsage, type PaymentEventData, type PaymentFailedEvent, type PaymentSucceededEvent, PermissionClass, type PlanCheckoutSession, type PlanWeb3Mandate, type PolygonMandate, PriceModel, type QueuedWebhookEvent, type ReceiptRef, RecordMode, Recorder, type RecorderOptions, type RegistrationConfirmation, type RegistrationQuality, type SandboxSession, SettlementMode, type SettlementReceipt, type SideEffectRecord, SiglumeAPIError, SiglumeAssistError, SiglumeBuyerClient, type SiglumeBuyerClientOptions, SiglumeClient, SiglumeClientError, type SiglumeClientOptions, type SiglumeClientShape, SiglumeError, SiglumeExperimentalError, SiglumeExperimentalWarning, SiglumeNotFoundError, SiglumeProjectError, SiglumeValidationError, SiglumeWebhookError, type SiglumeWebhookEvent, SiglumeWebhookPayloadError, SiglumeWebhookReplayError, SiglumeWebhookSignatureError, type StructuredGenerationUsage, StubProvider, type Subscription, type SubscriptionCancelledEvent, type SubscriptionCreatedEvent, type SubscriptionLifecycleEventData, type SubscriptionPausedEvent, type SubscriptionReinstatedEvent, type SubscriptionRenewedEvent, type SupportCaseRecord, TOOL_MANUAL_DRAFT_PROMPT, type ToolManual, type ToolManualAssistAttempt, type ToolManualAssistMetadata, type ToolManualAssistResult, type ToolManualGrade, type ToolManualIssue, type ToolManualIssueSeverity, ToolManualPermissionClass, type ToolManualQualityReport, type ToolSchemaExport, type UsageEventRecord, type UsageRecord, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_EVENT_TYPE_HEADER, WEBHOOK_SIGNATURE_HEADER, type WebhookCallback, type WebhookDeliveryRecord, type WebhookDispatchResult, type WebhookEventBase, type WebhookEventType, WebhookHandler, type WebhookSignatureVerification, type WebhookSubscriptionRecord, type WorksCategoryRecord, type WorksOwnerDashboard, type WorksOwnerDashboardAgent, type WorksOwnerDashboardOrder, type WorksOwnerDashboardPitch, type WorksOwnerDashboardStats, type WorksPosterDashboard, type WorksPosterDashboardJob, type WorksPosterDashboardOrder, type WorksPosterDashboardStats, type WorksRegistrationRecord, buildOperationMetadata, build_webhook_signature_header, compute_webhook_signature, defaultCapabilityKeyForOperation, defaultOperationOutputSchema, diff_manifest, diff_tool_manual, draft_tool_manual, fallbackOperationCatalog, fill_tool_manual_gaps, normalizeUsageRecord, parse_cross_currency_quote, parse_embedded_wallet_charge, parse_polygon_mandate, parse_queued_webhook_event, parse_settlement_receipt, parse_webhook_delivery, parse_webhook_event, parse_webhook_subscription, renderJson as render_json, score_tool_manual_offline, score_tool_manual_remote, simulate_embedded_wallet_charge, simulate_polygon_mandate, to_anthropic_tool, to_mcp_tool, to_openai_function, to_openai_responses_tool, tool_manual_to_dict, validate_tool_manual, verify_webhook_signature };
package/dist/index.d.ts CHANGED
@@ -204,6 +204,7 @@ interface AppManifest {
204
204
  applicable_regulations?: string[];
205
205
  data_residency?: string;
206
206
  short_description?: string;
207
+ description?: string;
207
208
  docs_url?: string;
208
209
  support_contact?: string;
209
210
  seller_homepage_url?: string;
@@ -366,6 +367,7 @@ interface AppListingRecord {
366
367
  price_value_minor: number;
367
368
  currency: string;
368
369
  short_description?: string | null;
370
+ description?: string | null;
369
371
  docs_url?: string | null;
370
372
  support_contact?: string | null;
371
373
  seller_display_name?: string | null;
@@ -1307,76 +1309,12 @@ interface AgentThreadRecord {
1307
1309
  items: NetworkContentDetail[];
1308
1310
  raw: Record<string, unknown>;
1309
1311
  }
1310
- declare const RefundReason: {
1311
- readonly CUSTOMER_REQUEST: "customer-request";
1312
- readonly DUPLICATE: "duplicate";
1313
- readonly FRAUDULENT: "fraudulent";
1314
- readonly SERVICE_FAILURE: "service-failure";
1315
- readonly GOODWILL: "goodwill";
1316
- };
1317
- type RefundReason = (typeof RefundReason)[keyof typeof RefundReason];
1318
- declare const DisputeResponse: {
1319
- readonly ACCEPT: "accept";
1320
- readonly CONTEST: "contest";
1321
- };
1322
- type DisputeResponse = (typeof DisputeResponse)[keyof typeof DisputeResponse];
1323
- declare const RefundStatus: {
1324
- readonly ISSUED: "issued";
1325
- readonly FAILED: "failed";
1326
- };
1327
- type RefundStatus = (typeof RefundStatus)[keyof typeof RefundStatus];
1328
- declare const DisputeStatus: {
1329
- readonly OPEN: "open";
1330
- readonly ACCEPTED: "accepted";
1331
- readonly CONTESTED: "contested";
1332
- };
1333
- type DisputeStatus = (typeof DisputeStatus)[keyof typeof DisputeStatus];
1334
- interface RefundRecord {
1335
- refund_id: string;
1336
- receipt_id: string;
1337
- owner_user_id?: string | null;
1338
- payment_mandate_id?: string | null;
1339
- usage_event_id?: string | null;
1340
- chain_receipt_id?: string | null;
1341
- amount_minor: number;
1342
- currency: string;
1343
- status: string;
1344
- reason_code: string;
1345
- note?: string | null;
1346
- idempotency_key?: string | null;
1347
- on_chain_tx_hash?: string | null;
1348
- metadata: Record<string, unknown>;
1349
- idempotent_replay: boolean;
1350
- created_at?: string | null;
1351
- updated_at?: string | null;
1352
- raw: Record<string, unknown>;
1353
- }
1354
- interface DisputeRecord {
1355
- dispute_id: string;
1356
- receipt_id: string;
1357
- owner_user_id?: string | null;
1358
- payment_mandate_id?: string | null;
1359
- usage_event_id?: string | null;
1360
- external_dispute_id?: string | null;
1361
- status: string;
1362
- reason_code: string;
1363
- description?: string | null;
1364
- evidence: Record<string, unknown>;
1365
- response_decision?: string | null;
1366
- response_note?: string | null;
1367
- responded_at?: string | null;
1368
- metadata: Record<string, unknown>;
1369
- idempotent_replay: boolean;
1370
- created_at?: string | null;
1371
- updated_at?: string | null;
1372
- raw: Record<string, unknown>;
1373
- }
1374
1312
 
1375
1313
  declare const WEBHOOK_SIGNATURE_HEADER = "Siglume-Signature";
1376
1314
  declare const WEBHOOK_EVENT_ID_HEADER = "Siglume-Event-Id";
1377
1315
  declare const WEBHOOK_EVENT_TYPE_HEADER = "Siglume-Event-Type";
1378
1316
  declare const DEFAULT_WEBHOOK_TOLERANCE_SECONDS = 300;
1379
- declare const WEBHOOK_EVENT_TYPES: readonly ["subscription.created", "subscription.renewed", "subscription.cancelled", "subscription.paused", "subscription.reinstated", "refund.issued", "payment.succeeded", "payment.failed", "payment.disputed", "capability.published", "capability.delisted", "execution.completed", "execution.failed"];
1317
+ declare const WEBHOOK_EVENT_TYPES: readonly ["subscription.created", "subscription.renewed", "subscription.cancelled", "subscription.paused", "subscription.reinstated", "payment.succeeded", "payment.failed", "capability.published", "capability.delisted", "execution.completed", "execution.failed"];
1380
1318
  type WebhookEventType = (typeof WEBHOOK_EVENT_TYPES)[number];
1381
1319
  interface WebhookSignatureVerification {
1382
1320
  timestamp: number;
@@ -1442,15 +1380,6 @@ interface SubscriptionLifecycleEventData extends Record<string, unknown> {
1442
1380
  currency?: string;
1443
1381
  amount_minor?: number;
1444
1382
  }
1445
- interface RefundIssuedEventData extends Record<string, unknown> {
1446
- refund_id?: string;
1447
- receipt_id?: string;
1448
- amount_minor?: number;
1449
- currency?: string;
1450
- status?: string;
1451
- payment_mandate_id?: string;
1452
- on_chain_tx_hash?: string;
1453
- }
1454
1383
  interface PaymentEventData extends SubscriptionLifecycleEventData {
1455
1384
  payment_status?: string;
1456
1385
  }
@@ -1485,14 +1414,10 @@ interface SubscriptionPausedEvent extends WebhookEventBase<"subscription.paused"
1485
1414
  }
1486
1415
  interface SubscriptionReinstatedEvent extends WebhookEventBase<"subscription.reinstated", SubscriptionLifecycleEventData> {
1487
1416
  }
1488
- interface RefundIssuedEvent extends WebhookEventBase<"refund.issued", RefundIssuedEventData> {
1489
- }
1490
1417
  interface PaymentSucceededEvent extends WebhookEventBase<"payment.succeeded", PaymentEventData> {
1491
1418
  }
1492
1419
  interface PaymentFailedEvent extends WebhookEventBase<"payment.failed", PaymentEventData> {
1493
1420
  }
1494
- interface PaymentDisputedEvent extends WebhookEventBase<"payment.disputed", PaymentEventData> {
1495
- }
1496
1421
  interface CapabilityPublishedEvent extends WebhookEventBase<"capability.published", CapabilityEventData> {
1497
1422
  }
1498
1423
  interface CapabilityDelistedEvent extends WebhookEventBase<"capability.delisted", CapabilityEventData> {
@@ -1501,7 +1426,7 @@ interface ExecutionCompletedEvent extends WebhookEventBase<"execution.completed"
1501
1426
  }
1502
1427
  interface ExecutionFailedEvent extends WebhookEventBase<"execution.failed", ExecutionFailedEventData> {
1503
1428
  }
1504
- type SiglumeWebhookEvent = SubscriptionCreatedEvent | SubscriptionRenewedEvent | SubscriptionCancelledEvent | SubscriptionPausedEvent | SubscriptionReinstatedEvent | RefundIssuedEvent | PaymentSucceededEvent | PaymentFailedEvent | PaymentDisputedEvent | CapabilityPublishedEvent | CapabilityDelistedEvent | ExecutionCompletedEvent | ExecutionFailedEvent;
1429
+ type SiglumeWebhookEvent = SubscriptionCreatedEvent | SubscriptionRenewedEvent | SubscriptionCancelledEvent | SubscriptionPausedEvent | SubscriptionReinstatedEvent | PaymentSucceededEvent | PaymentFailedEvent | CapabilityPublishedEvent | CapabilityDelistedEvent | ExecutionCompletedEvent | ExecutionFailedEvent;
1505
1430
  interface QueuedWebhookEvent {
1506
1431
  queued: boolean;
1507
1432
  event: SiglumeWebhookEvent;
@@ -1634,7 +1559,6 @@ interface SiglumeClientShape {
1634
1559
  source_url?: string;
1635
1560
  runtime_validation?: Record<string, unknown>;
1636
1561
  oauth_credentials?: Record<string, unknown> | unknown[];
1637
- metadata?: Record<string, unknown>;
1638
1562
  source_context?: Record<string, unknown>;
1639
1563
  input_form_spec?: Record<string, unknown>;
1640
1564
  }): Promise<AutoRegistrationReceipt>;
@@ -2076,39 +2000,6 @@ interface SiglumeClientShape {
2076
2000
  limit?: number;
2077
2001
  cursor?: string;
2078
2002
  }): Promise<CursorPage<SupportCaseRecord>>;
2079
- issue_partial_refund(options: {
2080
- receipt_id: string;
2081
- amount_minor: number;
2082
- reason?: RefundReason | string;
2083
- note?: string;
2084
- idempotency_key: string;
2085
- original_amount_minor?: number;
2086
- }): Promise<RefundRecord>;
2087
- issue_full_refund(options: {
2088
- receipt_id: string;
2089
- reason?: RefundReason | string;
2090
- note?: string;
2091
- idempotency_key?: string;
2092
- }): Promise<RefundRecord>;
2093
- list_refunds(options?: {
2094
- receipt_id?: string;
2095
- limit?: number;
2096
- }): Promise<RefundRecord[]>;
2097
- get_refund(refund_id: string): Promise<RefundRecord>;
2098
- get_refunds_for_receipt(receipt_id: string, options?: {
2099
- limit?: number;
2100
- }): Promise<RefundRecord[]>;
2101
- list_disputes(options?: {
2102
- receipt_id?: string;
2103
- limit?: number;
2104
- }): Promise<DisputeRecord[]>;
2105
- get_dispute(dispute_id: string): Promise<DisputeRecord>;
2106
- respond_to_dispute(options: {
2107
- dispute_id: string;
2108
- response: DisputeResponse | string;
2109
- evidence: Record<string, unknown>;
2110
- note?: string;
2111
- }): Promise<DisputeRecord>;
2112
2003
  create_webhook_subscription(options: {
2113
2004
  callback_url: string;
2114
2005
  description?: string;
@@ -2195,7 +2086,6 @@ declare class SiglumeClient implements SiglumeClientShape {
2195
2086
  source_url?: string;
2196
2087
  runtime_validation?: Record<string, unknown>;
2197
2088
  oauth_credentials?: Record<string, unknown> | unknown[];
2198
- metadata?: Record<string, unknown>;
2199
2089
  source_context?: Record<string, unknown>;
2200
2090
  input_form_spec?: Record<string, unknown>;
2201
2091
  }): Promise<AutoRegistrationReceipt>;
@@ -2638,39 +2528,6 @@ declare class SiglumeClient implements SiglumeClientShape {
2638
2528
  limit?: number;
2639
2529
  cursor?: string;
2640
2530
  }): Promise<CursorPageResult<SupportCaseRecord>>;
2641
- issue_partial_refund(options: {
2642
- receipt_id: string;
2643
- amount_minor: number;
2644
- reason?: RefundReason | string;
2645
- note?: string;
2646
- idempotency_key: string;
2647
- original_amount_minor?: number;
2648
- }): Promise<RefundRecord>;
2649
- issue_full_refund(options: {
2650
- receipt_id: string;
2651
- reason?: RefundReason | string;
2652
- note?: string;
2653
- idempotency_key?: string;
2654
- }): Promise<RefundRecord>;
2655
- list_refunds(options?: {
2656
- receipt_id?: string;
2657
- limit?: number;
2658
- }): Promise<RefundRecord[]>;
2659
- get_refund(refund_id: string): Promise<RefundRecord>;
2660
- get_refunds_for_receipt(receipt_id: string, options?: {
2661
- limit?: number;
2662
- }): Promise<RefundRecord[]>;
2663
- list_disputes(options?: {
2664
- receipt_id?: string;
2665
- limit?: number;
2666
- }): Promise<DisputeRecord[]>;
2667
- get_dispute(dispute_id: string): Promise<DisputeRecord>;
2668
- respond_to_dispute(options: {
2669
- dispute_id: string;
2670
- response: DisputeResponse | string;
2671
- evidence: Record<string, unknown>;
2672
- note?: string;
2673
- }): Promise<DisputeRecord>;
2674
2531
  create_webhook_subscription(options: {
2675
2532
  callback_url: string;
2676
2533
  description?: string;
@@ -2968,46 +2825,6 @@ declare class MeterClient {
2968
2825
  }
2969
2826
  declare function normalizeUsageRecord(record: UsageRecord): UsageRecord;
2970
2827
 
2971
- type RefundClientOptions = SiglumeClientOptions;
2972
- declare class RefundClient {
2973
- private readonly client;
2974
- constructor(options: RefundClientOptions);
2975
- close(): void;
2976
- issue_partial_refund(options: {
2977
- receipt_id: string;
2978
- amount_minor: number;
2979
- reason?: RefundReason | string;
2980
- note?: string;
2981
- idempotency_key: string;
2982
- original_amount_minor?: number;
2983
- }): Promise<RefundRecord>;
2984
- issue_full_refund(options: {
2985
- receipt_id: string;
2986
- reason?: RefundReason | string;
2987
- note?: string;
2988
- idempotency_key?: string;
2989
- }): Promise<RefundRecord>;
2990
- list_refunds(options?: {
2991
- receipt_id?: string;
2992
- limit?: number;
2993
- }): Promise<RefundRecord[]>;
2994
- get_refund(refund_id: string): Promise<RefundRecord>;
2995
- get_refunds_for_receipt(receipt_id: string, options?: {
2996
- limit?: number;
2997
- }): Promise<RefundRecord[]>;
2998
- list_disputes(options?: {
2999
- receipt_id?: string;
3000
- limit?: number;
3001
- }): Promise<DisputeRecord[]>;
3002
- get_dispute(dispute_id: string): Promise<DisputeRecord>;
3003
- respond_to_dispute(options: {
3004
- dispute_id: string;
3005
- response: DisputeResponse | string;
3006
- evidence: Record<string, unknown>;
3007
- note?: string;
3008
- }): Promise<DisputeRecord>;
3009
- }
3010
-
3011
2828
  declare abstract class AppAdapter {
3012
2829
  abstract manifest(): Awaitable<AppManifest>;
3013
2830
  abstract execute(ctx: ExecutionContext): Awaitable<ExecutionResult>;
@@ -3248,4 +3065,4 @@ declare function validate_tool_manual(manualInput: ManualInput): [boolean, ToolM
3248
3065
 
3249
3066
  declare function renderJson(value: unknown): string;
3250
3067
 
3251
- export { type AccessGrantRecord, type AccountAlert, type AccountContentDeleteResult, type AccountContentPostResult, type AccountDigest, type AccountDigestItem, type AccountDigestSummary, type AccountFeedbackSubmission, type AccountPlan, type AccountPlanCancellation, type AccountPreferences, type AccountWatchlist, type AdsBilling, type AdsBillingSettlement, type AdsCampaignPostRecord, type AdsCampaignRecord, type AdsProfile, type AgentCharter, type AgentRecord, type AgentThreadRecord, type AgentTopicSubscription, AnthropicProvider, type AnthropicToolDefinition, AppAdapter, AppCategory, type AppListingRecord, type AppManifest, AppTestHarness, ApprovalMode, type ApprovalPolicy, type ApprovalRequestHint, type AutoRegistrationReceipt, type Awaitable, type BillingPortalLink, BreakingChange, type BudgetPolicy, type BundleListingRecord, type BundleMember, type CapabilityBindingRecord, type CapabilityDelistedEvent, type CapabilityEventData, type CapabilityListing, type CapabilityPublishedEvent, type CassetteFile, type CassetteInteraction, type Change, ChangeLevel, type ConnectedAccountLifecycleResult, type ConnectedAccountOAuthStart, type ConnectedAccountProvider, type ConnectedAccountRecord, type ConnectedAccountRef, type CrossCurrencyQuote, type CursorPage, DEFAULT_OPERATION_AGENT_ID, DEFAULT_SIGLUME_API_BASE, DEFAULT_WEBHOOK_TOLERANCE_SECONDS, type DeveloperPortalSummary, type DisputeRecord, DisputeResponse, DisputeStatus, type EmbeddedWalletCharge, type EnvelopeMeta, Environment, type ExecutionArtifact, type ExecutionCompletedEvent, type ExecutionCompletedEventData, type ExecutionContext, type ExecutionFailedEvent, type ExecutionFailedEventData, ExecutionKind, type ExecutionResult, type ExpressLikeRequest, type ExpressLikeResponse, type FavoriteAgent, type FavoriteAgentMutation, type GrantBindingResult, type HeaderLike, type HealthCheckResult, InMemoryWebhookDedupe, type InstalledToolBindingPolicyRecord, type InstalledToolConnectionReadiness, type InstalledToolExecutionRecord, type InstalledToolPolicyUpdateResult, type InstalledToolReceiptRecord, type InstalledToolReceiptStepRecord, type InstalledToolRecord, type JsonObject, type JsonPrimitive, type JsonValue, LLMProvider, type MarketNeedRecord, type MarketProposalActionResult, type MarketProposalRecord, type McpToolDescriptor, MeterClient, type MeterClientOptions, type MeterRecordResult, type MeteringInvoiceLinePreview, type MeteringSimulationResult, type NetworkClaimRecord, type NetworkContentDetail, type NetworkContentSummary, type NetworkEvidenceRecord, type NetworkRepliesPage, type OpenAIFunctionDefinition, OpenAIProvider, type OpenAIResponsesToolDefinition, type OperationExecution, type OperationMetadata, type PartnerApiKeyHandle, type PartnerApiKeyRecord, type PartnerDashboard, type PartnerUsage, type PaymentDisputedEvent, type PaymentEventData, type PaymentFailedEvent, type PaymentSucceededEvent, PermissionClass, type PlanCheckoutSession, type PlanWeb3Mandate, type PolygonMandate, PriceModel, type QueuedWebhookEvent, type ReceiptRef, RecordMode, Recorder, type RecorderOptions, RefundClient, type RefundClientOptions, type RefundIssuedEvent, type RefundIssuedEventData, RefundReason, type RefundRecord, RefundStatus, type RegistrationConfirmation, type RegistrationQuality, type SandboxSession, SettlementMode, type SettlementReceipt, type SideEffectRecord, SiglumeAPIError, SiglumeAssistError, SiglumeBuyerClient, type SiglumeBuyerClientOptions, SiglumeClient, SiglumeClientError, type SiglumeClientOptions, type SiglumeClientShape, SiglumeError, SiglumeExperimentalError, SiglumeExperimentalWarning, SiglumeNotFoundError, SiglumeProjectError, SiglumeValidationError, SiglumeWebhookError, type SiglumeWebhookEvent, SiglumeWebhookPayloadError, SiglumeWebhookReplayError, SiglumeWebhookSignatureError, type StructuredGenerationUsage, StubProvider, type Subscription, type SubscriptionCancelledEvent, type SubscriptionCreatedEvent, type SubscriptionLifecycleEventData, type SubscriptionPausedEvent, type SubscriptionReinstatedEvent, type SubscriptionRenewedEvent, type SupportCaseRecord, TOOL_MANUAL_DRAFT_PROMPT, type ToolManual, type ToolManualAssistAttempt, type ToolManualAssistMetadata, type ToolManualAssistResult, type ToolManualGrade, type ToolManualIssue, type ToolManualIssueSeverity, ToolManualPermissionClass, type ToolManualQualityReport, type ToolSchemaExport, type UsageEventRecord, type UsageRecord, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_EVENT_TYPE_HEADER, WEBHOOK_SIGNATURE_HEADER, type WebhookCallback, type WebhookDeliveryRecord, type WebhookDispatchResult, type WebhookEventBase, type WebhookEventType, WebhookHandler, type WebhookSignatureVerification, type WebhookSubscriptionRecord, type WorksCategoryRecord, type WorksOwnerDashboard, type WorksOwnerDashboardAgent, type WorksOwnerDashboardOrder, type WorksOwnerDashboardPitch, type WorksOwnerDashboardStats, type WorksPosterDashboard, type WorksPosterDashboardJob, type WorksPosterDashboardOrder, type WorksPosterDashboardStats, type WorksRegistrationRecord, buildOperationMetadata, build_webhook_signature_header, compute_webhook_signature, defaultCapabilityKeyForOperation, defaultOperationOutputSchema, diff_manifest, diff_tool_manual, draft_tool_manual, fallbackOperationCatalog, fill_tool_manual_gaps, normalizeUsageRecord, parse_cross_currency_quote, parse_embedded_wallet_charge, parse_polygon_mandate, parse_queued_webhook_event, parse_settlement_receipt, parse_webhook_delivery, parse_webhook_event, parse_webhook_subscription, renderJson as render_json, score_tool_manual_offline, score_tool_manual_remote, simulate_embedded_wallet_charge, simulate_polygon_mandate, to_anthropic_tool, to_mcp_tool, to_openai_function, to_openai_responses_tool, tool_manual_to_dict, validate_tool_manual, verify_webhook_signature };
3068
+ export { type AccessGrantRecord, type AccountAlert, type AccountContentDeleteResult, type AccountContentPostResult, type AccountDigest, type AccountDigestItem, type AccountDigestSummary, type AccountFeedbackSubmission, type AccountPlan, type AccountPlanCancellation, type AccountPreferences, type AccountWatchlist, type AdsBilling, type AdsBillingSettlement, type AdsCampaignPostRecord, type AdsCampaignRecord, type AdsProfile, type AgentCharter, type AgentRecord, type AgentThreadRecord, type AgentTopicSubscription, AnthropicProvider, type AnthropicToolDefinition, AppAdapter, AppCategory, type AppListingRecord, type AppManifest, AppTestHarness, ApprovalMode, type ApprovalPolicy, type ApprovalRequestHint, type AutoRegistrationReceipt, type Awaitable, type BillingPortalLink, BreakingChange, type BudgetPolicy, type BundleListingRecord, type BundleMember, type CapabilityBindingRecord, type CapabilityDelistedEvent, type CapabilityEventData, type CapabilityListing, type CapabilityPublishedEvent, type CassetteFile, type CassetteInteraction, type Change, ChangeLevel, type ConnectedAccountLifecycleResult, type ConnectedAccountOAuthStart, type ConnectedAccountProvider, type ConnectedAccountRecord, type ConnectedAccountRef, type CrossCurrencyQuote, type CursorPage, DEFAULT_OPERATION_AGENT_ID, DEFAULT_SIGLUME_API_BASE, DEFAULT_WEBHOOK_TOLERANCE_SECONDS, type DeveloperPortalSummary, type EmbeddedWalletCharge, type EnvelopeMeta, Environment, type ExecutionArtifact, type ExecutionCompletedEvent, type ExecutionCompletedEventData, type ExecutionContext, type ExecutionFailedEvent, type ExecutionFailedEventData, ExecutionKind, type ExecutionResult, type ExpressLikeRequest, type ExpressLikeResponse, type FavoriteAgent, type FavoriteAgentMutation, type GrantBindingResult, type HeaderLike, type HealthCheckResult, InMemoryWebhookDedupe, type InstalledToolBindingPolicyRecord, type InstalledToolConnectionReadiness, type InstalledToolExecutionRecord, type InstalledToolPolicyUpdateResult, type InstalledToolReceiptRecord, type InstalledToolReceiptStepRecord, type InstalledToolRecord, type JsonObject, type JsonPrimitive, type JsonValue, LLMProvider, type MarketNeedRecord, type MarketProposalActionResult, type MarketProposalRecord, type McpToolDescriptor, MeterClient, type MeterClientOptions, type MeterRecordResult, type MeteringInvoiceLinePreview, type MeteringSimulationResult, type NetworkClaimRecord, type NetworkContentDetail, type NetworkContentSummary, type NetworkEvidenceRecord, type NetworkRepliesPage, type OpenAIFunctionDefinition, OpenAIProvider, type OpenAIResponsesToolDefinition, type OperationExecution, type OperationMetadata, type PartnerApiKeyHandle, type PartnerApiKeyRecord, type PartnerDashboard, type PartnerUsage, type PaymentEventData, type PaymentFailedEvent, type PaymentSucceededEvent, PermissionClass, type PlanCheckoutSession, type PlanWeb3Mandate, type PolygonMandate, PriceModel, type QueuedWebhookEvent, type ReceiptRef, RecordMode, Recorder, type RecorderOptions, type RegistrationConfirmation, type RegistrationQuality, type SandboxSession, SettlementMode, type SettlementReceipt, type SideEffectRecord, SiglumeAPIError, SiglumeAssistError, SiglumeBuyerClient, type SiglumeBuyerClientOptions, SiglumeClient, SiglumeClientError, type SiglumeClientOptions, type SiglumeClientShape, SiglumeError, SiglumeExperimentalError, SiglumeExperimentalWarning, SiglumeNotFoundError, SiglumeProjectError, SiglumeValidationError, SiglumeWebhookError, type SiglumeWebhookEvent, SiglumeWebhookPayloadError, SiglumeWebhookReplayError, SiglumeWebhookSignatureError, type StructuredGenerationUsage, StubProvider, type Subscription, type SubscriptionCancelledEvent, type SubscriptionCreatedEvent, type SubscriptionLifecycleEventData, type SubscriptionPausedEvent, type SubscriptionReinstatedEvent, type SubscriptionRenewedEvent, type SupportCaseRecord, TOOL_MANUAL_DRAFT_PROMPT, type ToolManual, type ToolManualAssistAttempt, type ToolManualAssistMetadata, type ToolManualAssistResult, type ToolManualGrade, type ToolManualIssue, type ToolManualIssueSeverity, ToolManualPermissionClass, type ToolManualQualityReport, type ToolSchemaExport, type UsageEventRecord, type UsageRecord, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_EVENT_TYPE_HEADER, WEBHOOK_SIGNATURE_HEADER, type WebhookCallback, type WebhookDeliveryRecord, type WebhookDispatchResult, type WebhookEventBase, type WebhookEventType, WebhookHandler, type WebhookSignatureVerification, type WebhookSubscriptionRecord, type WorksCategoryRecord, type WorksOwnerDashboard, type WorksOwnerDashboardAgent, type WorksOwnerDashboardOrder, type WorksOwnerDashboardPitch, type WorksOwnerDashboardStats, type WorksPosterDashboard, type WorksPosterDashboardJob, type WorksPosterDashboardOrder, type WorksPosterDashboardStats, type WorksRegistrationRecord, buildOperationMetadata, build_webhook_signature_header, compute_webhook_signature, defaultCapabilityKeyForOperation, defaultOperationOutputSchema, diff_manifest, diff_tool_manual, draft_tool_manual, fallbackOperationCatalog, fill_tool_manual_gaps, normalizeUsageRecord, parse_cross_currency_quote, parse_embedded_wallet_charge, parse_polygon_mandate, parse_queued_webhook_event, parse_settlement_receipt, parse_webhook_delivery, parse_webhook_event, parse_webhook_subscription, renderJson as render_json, score_tool_manual_offline, score_tool_manual_remote, simulate_embedded_wallet_charge, simulate_polygon_mandate, to_anthropic_tool, to_mcp_tool, to_openai_function, to_openai_responses_tool, tool_manual_to_dict, validate_tool_manual, verify_webhook_signature };