@siglume/api-sdk 0.10.0 → 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/README.md +1 -1
- package/dist/bin/siglume.cjs +1 -161
- package/dist/bin/siglume.cjs.map +1 -1
- package/dist/bin/siglume.js +1 -161
- package/dist/bin/siglume.js.map +1 -1
- package/dist/cli/index.cjs +1 -161
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.d.cts +3 -116
- package/dist/cli/index.d.ts +3 -116
- package/dist/cli/index.js +1 -161
- package/dist/cli/index.js.map +1 -1
- package/dist/index.cjs +1 -222
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -202
- package/dist/index.d.ts +4 -202
- package/dist/index.js +1 -222
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -188,13 +188,6 @@ interface ConnectedAccountRef {
|
|
|
188
188
|
}
|
|
189
189
|
interface AppManifest {
|
|
190
190
|
capability_key: string;
|
|
191
|
-
/**
|
|
192
|
-
* LOCAL-ONLY identification. The Siglume platform never reads this on
|
|
193
|
-
* auto_register / confirm_auto_register and rejects submissions that
|
|
194
|
-
* declare a version — the authoritative `release_semver` is controlled
|
|
195
|
-
* by the platform per the bump rules on the confirm endpoint
|
|
196
|
-
* (see `confirm_registration({ version_bump: ... })`).
|
|
197
|
-
*/
|
|
198
191
|
version?: string;
|
|
199
192
|
name: string;
|
|
200
193
|
job_to_be_done: string;
|
|
@@ -211,13 +204,6 @@ interface AppManifest {
|
|
|
211
204
|
applicable_regulations?: string[];
|
|
212
205
|
data_residency?: string;
|
|
213
206
|
short_description?: string;
|
|
214
|
-
/**
|
|
215
|
-
* Long-form sales description shown on the buyer-facing API detail
|
|
216
|
-
* page. Complements `short_description` (one-liner) with a fuller
|
|
217
|
-
* pitch: who this is for, what it can / cannot do, limits, required
|
|
218
|
-
* connected accounts. The Tool Manual is agent-facing and not shown
|
|
219
|
-
* to buyers; put buyer-facing story here.
|
|
220
|
-
*/
|
|
221
207
|
description?: string;
|
|
222
208
|
docs_url?: string;
|
|
223
209
|
support_contact?: string;
|
|
@@ -381,6 +367,7 @@ interface AppListingRecord {
|
|
|
381
367
|
price_value_minor: number;
|
|
382
368
|
currency: string;
|
|
383
369
|
short_description?: string | null;
|
|
370
|
+
description?: string | null;
|
|
384
371
|
docs_url?: string | null;
|
|
385
372
|
support_contact?: string | null;
|
|
386
373
|
seller_display_name?: string | null;
|
|
@@ -1322,76 +1309,12 @@ interface AgentThreadRecord {
|
|
|
1322
1309
|
items: NetworkContentDetail[];
|
|
1323
1310
|
raw: Record<string, unknown>;
|
|
1324
1311
|
}
|
|
1325
|
-
declare const RefundReason: {
|
|
1326
|
-
readonly CUSTOMER_REQUEST: "customer-request";
|
|
1327
|
-
readonly DUPLICATE: "duplicate";
|
|
1328
|
-
readonly FRAUDULENT: "fraudulent";
|
|
1329
|
-
readonly SERVICE_FAILURE: "service-failure";
|
|
1330
|
-
readonly GOODWILL: "goodwill";
|
|
1331
|
-
};
|
|
1332
|
-
type RefundReason = (typeof RefundReason)[keyof typeof RefundReason];
|
|
1333
|
-
declare const DisputeResponse: {
|
|
1334
|
-
readonly ACCEPT: "accept";
|
|
1335
|
-
readonly CONTEST: "contest";
|
|
1336
|
-
};
|
|
1337
|
-
type DisputeResponse = (typeof DisputeResponse)[keyof typeof DisputeResponse];
|
|
1338
|
-
declare const RefundStatus: {
|
|
1339
|
-
readonly ISSUED: "issued";
|
|
1340
|
-
readonly FAILED: "failed";
|
|
1341
|
-
};
|
|
1342
|
-
type RefundStatus = (typeof RefundStatus)[keyof typeof RefundStatus];
|
|
1343
|
-
declare const DisputeStatus: {
|
|
1344
|
-
readonly OPEN: "open";
|
|
1345
|
-
readonly ACCEPTED: "accepted";
|
|
1346
|
-
readonly CONTESTED: "contested";
|
|
1347
|
-
};
|
|
1348
|
-
type DisputeStatus = (typeof DisputeStatus)[keyof typeof DisputeStatus];
|
|
1349
|
-
interface RefundRecord {
|
|
1350
|
-
refund_id: string;
|
|
1351
|
-
receipt_id: string;
|
|
1352
|
-
owner_user_id?: string | null;
|
|
1353
|
-
payment_mandate_id?: string | null;
|
|
1354
|
-
usage_event_id?: string | null;
|
|
1355
|
-
chain_receipt_id?: string | null;
|
|
1356
|
-
amount_minor: number;
|
|
1357
|
-
currency: string;
|
|
1358
|
-
status: string;
|
|
1359
|
-
reason_code: string;
|
|
1360
|
-
note?: string | null;
|
|
1361
|
-
idempotency_key?: string | null;
|
|
1362
|
-
on_chain_tx_hash?: string | null;
|
|
1363
|
-
metadata: Record<string, unknown>;
|
|
1364
|
-
idempotent_replay: boolean;
|
|
1365
|
-
created_at?: string | null;
|
|
1366
|
-
updated_at?: string | null;
|
|
1367
|
-
raw: Record<string, unknown>;
|
|
1368
|
-
}
|
|
1369
|
-
interface DisputeRecord {
|
|
1370
|
-
dispute_id: string;
|
|
1371
|
-
receipt_id: string;
|
|
1372
|
-
owner_user_id?: string | null;
|
|
1373
|
-
payment_mandate_id?: string | null;
|
|
1374
|
-
usage_event_id?: string | null;
|
|
1375
|
-
external_dispute_id?: string | null;
|
|
1376
|
-
status: string;
|
|
1377
|
-
reason_code: string;
|
|
1378
|
-
description?: string | null;
|
|
1379
|
-
evidence: Record<string, unknown>;
|
|
1380
|
-
response_decision?: string | null;
|
|
1381
|
-
response_note?: string | null;
|
|
1382
|
-
responded_at?: string | null;
|
|
1383
|
-
metadata: Record<string, unknown>;
|
|
1384
|
-
idempotent_replay: boolean;
|
|
1385
|
-
created_at?: string | null;
|
|
1386
|
-
updated_at?: string | null;
|
|
1387
|
-
raw: Record<string, unknown>;
|
|
1388
|
-
}
|
|
1389
1312
|
|
|
1390
1313
|
declare const WEBHOOK_SIGNATURE_HEADER = "Siglume-Signature";
|
|
1391
1314
|
declare const WEBHOOK_EVENT_ID_HEADER = "Siglume-Event-Id";
|
|
1392
1315
|
declare const WEBHOOK_EVENT_TYPE_HEADER = "Siglume-Event-Type";
|
|
1393
1316
|
declare const DEFAULT_WEBHOOK_TOLERANCE_SECONDS = 300;
|
|
1394
|
-
declare const WEBHOOK_EVENT_TYPES: readonly ["subscription.created", "subscription.renewed", "subscription.cancelled", "subscription.paused", "subscription.reinstated", "
|
|
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"];
|
|
1395
1318
|
type WebhookEventType = (typeof WEBHOOK_EVENT_TYPES)[number];
|
|
1396
1319
|
interface WebhookSignatureVerification {
|
|
1397
1320
|
timestamp: number;
|
|
@@ -1457,15 +1380,6 @@ interface SubscriptionLifecycleEventData extends Record<string, unknown> {
|
|
|
1457
1380
|
currency?: string;
|
|
1458
1381
|
amount_minor?: number;
|
|
1459
1382
|
}
|
|
1460
|
-
interface RefundIssuedEventData extends Record<string, unknown> {
|
|
1461
|
-
refund_id?: string;
|
|
1462
|
-
receipt_id?: string;
|
|
1463
|
-
amount_minor?: number;
|
|
1464
|
-
currency?: string;
|
|
1465
|
-
status?: string;
|
|
1466
|
-
payment_mandate_id?: string;
|
|
1467
|
-
on_chain_tx_hash?: string;
|
|
1468
|
-
}
|
|
1469
1383
|
interface PaymentEventData extends SubscriptionLifecycleEventData {
|
|
1470
1384
|
payment_status?: string;
|
|
1471
1385
|
}
|
|
@@ -1500,14 +1414,10 @@ interface SubscriptionPausedEvent extends WebhookEventBase<"subscription.paused"
|
|
|
1500
1414
|
}
|
|
1501
1415
|
interface SubscriptionReinstatedEvent extends WebhookEventBase<"subscription.reinstated", SubscriptionLifecycleEventData> {
|
|
1502
1416
|
}
|
|
1503
|
-
interface RefundIssuedEvent extends WebhookEventBase<"refund.issued", RefundIssuedEventData> {
|
|
1504
|
-
}
|
|
1505
1417
|
interface PaymentSucceededEvent extends WebhookEventBase<"payment.succeeded", PaymentEventData> {
|
|
1506
1418
|
}
|
|
1507
1419
|
interface PaymentFailedEvent extends WebhookEventBase<"payment.failed", PaymentEventData> {
|
|
1508
1420
|
}
|
|
1509
|
-
interface PaymentDisputedEvent extends WebhookEventBase<"payment.disputed", PaymentEventData> {
|
|
1510
|
-
}
|
|
1511
1421
|
interface CapabilityPublishedEvent extends WebhookEventBase<"capability.published", CapabilityEventData> {
|
|
1512
1422
|
}
|
|
1513
1423
|
interface CapabilityDelistedEvent extends WebhookEventBase<"capability.delisted", CapabilityEventData> {
|
|
@@ -1516,7 +1426,7 @@ interface ExecutionCompletedEvent extends WebhookEventBase<"execution.completed"
|
|
|
1516
1426
|
}
|
|
1517
1427
|
interface ExecutionFailedEvent extends WebhookEventBase<"execution.failed", ExecutionFailedEventData> {
|
|
1518
1428
|
}
|
|
1519
|
-
type SiglumeWebhookEvent = SubscriptionCreatedEvent | SubscriptionRenewedEvent | SubscriptionCancelledEvent | SubscriptionPausedEvent | SubscriptionReinstatedEvent |
|
|
1429
|
+
type SiglumeWebhookEvent = SubscriptionCreatedEvent | SubscriptionRenewedEvent | SubscriptionCancelledEvent | SubscriptionPausedEvent | SubscriptionReinstatedEvent | PaymentSucceededEvent | PaymentFailedEvent | CapabilityPublishedEvent | CapabilityDelistedEvent | ExecutionCompletedEvent | ExecutionFailedEvent;
|
|
1520
1430
|
interface QueuedWebhookEvent {
|
|
1521
1431
|
queued: boolean;
|
|
1522
1432
|
event: SiglumeWebhookEvent;
|
|
@@ -1649,7 +1559,6 @@ interface SiglumeClientShape {
|
|
|
1649
1559
|
source_url?: string;
|
|
1650
1560
|
runtime_validation?: Record<string, unknown>;
|
|
1651
1561
|
oauth_credentials?: Record<string, unknown> | unknown[];
|
|
1652
|
-
metadata?: Record<string, unknown>;
|
|
1653
1562
|
source_context?: Record<string, unknown>;
|
|
1654
1563
|
input_form_spec?: Record<string, unknown>;
|
|
1655
1564
|
}): Promise<AutoRegistrationReceipt>;
|
|
@@ -2091,39 +2000,6 @@ interface SiglumeClientShape {
|
|
|
2091
2000
|
limit?: number;
|
|
2092
2001
|
cursor?: string;
|
|
2093
2002
|
}): Promise<CursorPage<SupportCaseRecord>>;
|
|
2094
|
-
issue_partial_refund(options: {
|
|
2095
|
-
receipt_id: string;
|
|
2096
|
-
amount_minor: number;
|
|
2097
|
-
reason?: RefundReason | string;
|
|
2098
|
-
note?: string;
|
|
2099
|
-
idempotency_key: string;
|
|
2100
|
-
original_amount_minor?: number;
|
|
2101
|
-
}): Promise<RefundRecord>;
|
|
2102
|
-
issue_full_refund(options: {
|
|
2103
|
-
receipt_id: string;
|
|
2104
|
-
reason?: RefundReason | string;
|
|
2105
|
-
note?: string;
|
|
2106
|
-
idempotency_key?: string;
|
|
2107
|
-
}): Promise<RefundRecord>;
|
|
2108
|
-
list_refunds(options?: {
|
|
2109
|
-
receipt_id?: string;
|
|
2110
|
-
limit?: number;
|
|
2111
|
-
}): Promise<RefundRecord[]>;
|
|
2112
|
-
get_refund(refund_id: string): Promise<RefundRecord>;
|
|
2113
|
-
get_refunds_for_receipt(receipt_id: string, options?: {
|
|
2114
|
-
limit?: number;
|
|
2115
|
-
}): Promise<RefundRecord[]>;
|
|
2116
|
-
list_disputes(options?: {
|
|
2117
|
-
receipt_id?: string;
|
|
2118
|
-
limit?: number;
|
|
2119
|
-
}): Promise<DisputeRecord[]>;
|
|
2120
|
-
get_dispute(dispute_id: string): Promise<DisputeRecord>;
|
|
2121
|
-
respond_to_dispute(options: {
|
|
2122
|
-
dispute_id: string;
|
|
2123
|
-
response: DisputeResponse | string;
|
|
2124
|
-
evidence: Record<string, unknown>;
|
|
2125
|
-
note?: string;
|
|
2126
|
-
}): Promise<DisputeRecord>;
|
|
2127
2003
|
create_webhook_subscription(options: {
|
|
2128
2004
|
callback_url: string;
|
|
2129
2005
|
description?: string;
|
|
@@ -2210,7 +2086,6 @@ declare class SiglumeClient implements SiglumeClientShape {
|
|
|
2210
2086
|
source_url?: string;
|
|
2211
2087
|
runtime_validation?: Record<string, unknown>;
|
|
2212
2088
|
oauth_credentials?: Record<string, unknown> | unknown[];
|
|
2213
|
-
metadata?: Record<string, unknown>;
|
|
2214
2089
|
source_context?: Record<string, unknown>;
|
|
2215
2090
|
input_form_spec?: Record<string, unknown>;
|
|
2216
2091
|
}): Promise<AutoRegistrationReceipt>;
|
|
@@ -2653,39 +2528,6 @@ declare class SiglumeClient implements SiglumeClientShape {
|
|
|
2653
2528
|
limit?: number;
|
|
2654
2529
|
cursor?: string;
|
|
2655
2530
|
}): Promise<CursorPageResult<SupportCaseRecord>>;
|
|
2656
|
-
issue_partial_refund(options: {
|
|
2657
|
-
receipt_id: string;
|
|
2658
|
-
amount_minor: number;
|
|
2659
|
-
reason?: RefundReason | string;
|
|
2660
|
-
note?: string;
|
|
2661
|
-
idempotency_key: string;
|
|
2662
|
-
original_amount_minor?: number;
|
|
2663
|
-
}): Promise<RefundRecord>;
|
|
2664
|
-
issue_full_refund(options: {
|
|
2665
|
-
receipt_id: string;
|
|
2666
|
-
reason?: RefundReason | string;
|
|
2667
|
-
note?: string;
|
|
2668
|
-
idempotency_key?: string;
|
|
2669
|
-
}): Promise<RefundRecord>;
|
|
2670
|
-
list_refunds(options?: {
|
|
2671
|
-
receipt_id?: string;
|
|
2672
|
-
limit?: number;
|
|
2673
|
-
}): Promise<RefundRecord[]>;
|
|
2674
|
-
get_refund(refund_id: string): Promise<RefundRecord>;
|
|
2675
|
-
get_refunds_for_receipt(receipt_id: string, options?: {
|
|
2676
|
-
limit?: number;
|
|
2677
|
-
}): Promise<RefundRecord[]>;
|
|
2678
|
-
list_disputes(options?: {
|
|
2679
|
-
receipt_id?: string;
|
|
2680
|
-
limit?: number;
|
|
2681
|
-
}): Promise<DisputeRecord[]>;
|
|
2682
|
-
get_dispute(dispute_id: string): Promise<DisputeRecord>;
|
|
2683
|
-
respond_to_dispute(options: {
|
|
2684
|
-
dispute_id: string;
|
|
2685
|
-
response: DisputeResponse | string;
|
|
2686
|
-
evidence: Record<string, unknown>;
|
|
2687
|
-
note?: string;
|
|
2688
|
-
}): Promise<DisputeRecord>;
|
|
2689
2531
|
create_webhook_subscription(options: {
|
|
2690
2532
|
callback_url: string;
|
|
2691
2533
|
description?: string;
|
|
@@ -2983,46 +2825,6 @@ declare class MeterClient {
|
|
|
2983
2825
|
}
|
|
2984
2826
|
declare function normalizeUsageRecord(record: UsageRecord): UsageRecord;
|
|
2985
2827
|
|
|
2986
|
-
type RefundClientOptions = SiglumeClientOptions;
|
|
2987
|
-
declare class RefundClient {
|
|
2988
|
-
private readonly client;
|
|
2989
|
-
constructor(options: RefundClientOptions);
|
|
2990
|
-
close(): void;
|
|
2991
|
-
issue_partial_refund(options: {
|
|
2992
|
-
receipt_id: string;
|
|
2993
|
-
amount_minor: number;
|
|
2994
|
-
reason?: RefundReason | string;
|
|
2995
|
-
note?: string;
|
|
2996
|
-
idempotency_key: string;
|
|
2997
|
-
original_amount_minor?: number;
|
|
2998
|
-
}): Promise<RefundRecord>;
|
|
2999
|
-
issue_full_refund(options: {
|
|
3000
|
-
receipt_id: string;
|
|
3001
|
-
reason?: RefundReason | string;
|
|
3002
|
-
note?: string;
|
|
3003
|
-
idempotency_key?: string;
|
|
3004
|
-
}): Promise<RefundRecord>;
|
|
3005
|
-
list_refunds(options?: {
|
|
3006
|
-
receipt_id?: string;
|
|
3007
|
-
limit?: number;
|
|
3008
|
-
}): Promise<RefundRecord[]>;
|
|
3009
|
-
get_refund(refund_id: string): Promise<RefundRecord>;
|
|
3010
|
-
get_refunds_for_receipt(receipt_id: string, options?: {
|
|
3011
|
-
limit?: number;
|
|
3012
|
-
}): Promise<RefundRecord[]>;
|
|
3013
|
-
list_disputes(options?: {
|
|
3014
|
-
receipt_id?: string;
|
|
3015
|
-
limit?: number;
|
|
3016
|
-
}): Promise<DisputeRecord[]>;
|
|
3017
|
-
get_dispute(dispute_id: string): Promise<DisputeRecord>;
|
|
3018
|
-
respond_to_dispute(options: {
|
|
3019
|
-
dispute_id: string;
|
|
3020
|
-
response: DisputeResponse | string;
|
|
3021
|
-
evidence: Record<string, unknown>;
|
|
3022
|
-
note?: string;
|
|
3023
|
-
}): Promise<DisputeRecord>;
|
|
3024
|
-
}
|
|
3025
|
-
|
|
3026
2828
|
declare abstract class AppAdapter {
|
|
3027
2829
|
abstract manifest(): Awaitable<AppManifest>;
|
|
3028
2830
|
abstract execute(ctx: ExecutionContext): Awaitable<ExecutionResult>;
|
|
@@ -3263,4 +3065,4 @@ declare function validate_tool_manual(manualInput: ManualInput): [boolean, ToolM
|
|
|
3263
3065
|
|
|
3264
3066
|
declare function renderJson(value: unknown): string;
|
|
3265
3067
|
|
|
3266
|
-
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
|
|
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
|
@@ -188,13 +188,6 @@ interface ConnectedAccountRef {
|
|
|
188
188
|
}
|
|
189
189
|
interface AppManifest {
|
|
190
190
|
capability_key: string;
|
|
191
|
-
/**
|
|
192
|
-
* LOCAL-ONLY identification. The Siglume platform never reads this on
|
|
193
|
-
* auto_register / confirm_auto_register and rejects submissions that
|
|
194
|
-
* declare a version — the authoritative `release_semver` is controlled
|
|
195
|
-
* by the platform per the bump rules on the confirm endpoint
|
|
196
|
-
* (see `confirm_registration({ version_bump: ... })`).
|
|
197
|
-
*/
|
|
198
191
|
version?: string;
|
|
199
192
|
name: string;
|
|
200
193
|
job_to_be_done: string;
|
|
@@ -211,13 +204,6 @@ interface AppManifest {
|
|
|
211
204
|
applicable_regulations?: string[];
|
|
212
205
|
data_residency?: string;
|
|
213
206
|
short_description?: string;
|
|
214
|
-
/**
|
|
215
|
-
* Long-form sales description shown on the buyer-facing API detail
|
|
216
|
-
* page. Complements `short_description` (one-liner) with a fuller
|
|
217
|
-
* pitch: who this is for, what it can / cannot do, limits, required
|
|
218
|
-
* connected accounts. The Tool Manual is agent-facing and not shown
|
|
219
|
-
* to buyers; put buyer-facing story here.
|
|
220
|
-
*/
|
|
221
207
|
description?: string;
|
|
222
208
|
docs_url?: string;
|
|
223
209
|
support_contact?: string;
|
|
@@ -381,6 +367,7 @@ interface AppListingRecord {
|
|
|
381
367
|
price_value_minor: number;
|
|
382
368
|
currency: string;
|
|
383
369
|
short_description?: string | null;
|
|
370
|
+
description?: string | null;
|
|
384
371
|
docs_url?: string | null;
|
|
385
372
|
support_contact?: string | null;
|
|
386
373
|
seller_display_name?: string | null;
|
|
@@ -1322,76 +1309,12 @@ interface AgentThreadRecord {
|
|
|
1322
1309
|
items: NetworkContentDetail[];
|
|
1323
1310
|
raw: Record<string, unknown>;
|
|
1324
1311
|
}
|
|
1325
|
-
declare const RefundReason: {
|
|
1326
|
-
readonly CUSTOMER_REQUEST: "customer-request";
|
|
1327
|
-
readonly DUPLICATE: "duplicate";
|
|
1328
|
-
readonly FRAUDULENT: "fraudulent";
|
|
1329
|
-
readonly SERVICE_FAILURE: "service-failure";
|
|
1330
|
-
readonly GOODWILL: "goodwill";
|
|
1331
|
-
};
|
|
1332
|
-
type RefundReason = (typeof RefundReason)[keyof typeof RefundReason];
|
|
1333
|
-
declare const DisputeResponse: {
|
|
1334
|
-
readonly ACCEPT: "accept";
|
|
1335
|
-
readonly CONTEST: "contest";
|
|
1336
|
-
};
|
|
1337
|
-
type DisputeResponse = (typeof DisputeResponse)[keyof typeof DisputeResponse];
|
|
1338
|
-
declare const RefundStatus: {
|
|
1339
|
-
readonly ISSUED: "issued";
|
|
1340
|
-
readonly FAILED: "failed";
|
|
1341
|
-
};
|
|
1342
|
-
type RefundStatus = (typeof RefundStatus)[keyof typeof RefundStatus];
|
|
1343
|
-
declare const DisputeStatus: {
|
|
1344
|
-
readonly OPEN: "open";
|
|
1345
|
-
readonly ACCEPTED: "accepted";
|
|
1346
|
-
readonly CONTESTED: "contested";
|
|
1347
|
-
};
|
|
1348
|
-
type DisputeStatus = (typeof DisputeStatus)[keyof typeof DisputeStatus];
|
|
1349
|
-
interface RefundRecord {
|
|
1350
|
-
refund_id: string;
|
|
1351
|
-
receipt_id: string;
|
|
1352
|
-
owner_user_id?: string | null;
|
|
1353
|
-
payment_mandate_id?: string | null;
|
|
1354
|
-
usage_event_id?: string | null;
|
|
1355
|
-
chain_receipt_id?: string | null;
|
|
1356
|
-
amount_minor: number;
|
|
1357
|
-
currency: string;
|
|
1358
|
-
status: string;
|
|
1359
|
-
reason_code: string;
|
|
1360
|
-
note?: string | null;
|
|
1361
|
-
idempotency_key?: string | null;
|
|
1362
|
-
on_chain_tx_hash?: string | null;
|
|
1363
|
-
metadata: Record<string, unknown>;
|
|
1364
|
-
idempotent_replay: boolean;
|
|
1365
|
-
created_at?: string | null;
|
|
1366
|
-
updated_at?: string | null;
|
|
1367
|
-
raw: Record<string, unknown>;
|
|
1368
|
-
}
|
|
1369
|
-
interface DisputeRecord {
|
|
1370
|
-
dispute_id: string;
|
|
1371
|
-
receipt_id: string;
|
|
1372
|
-
owner_user_id?: string | null;
|
|
1373
|
-
payment_mandate_id?: string | null;
|
|
1374
|
-
usage_event_id?: string | null;
|
|
1375
|
-
external_dispute_id?: string | null;
|
|
1376
|
-
status: string;
|
|
1377
|
-
reason_code: string;
|
|
1378
|
-
description?: string | null;
|
|
1379
|
-
evidence: Record<string, unknown>;
|
|
1380
|
-
response_decision?: string | null;
|
|
1381
|
-
response_note?: string | null;
|
|
1382
|
-
responded_at?: string | null;
|
|
1383
|
-
metadata: Record<string, unknown>;
|
|
1384
|
-
idempotent_replay: boolean;
|
|
1385
|
-
created_at?: string | null;
|
|
1386
|
-
updated_at?: string | null;
|
|
1387
|
-
raw: Record<string, unknown>;
|
|
1388
|
-
}
|
|
1389
1312
|
|
|
1390
1313
|
declare const WEBHOOK_SIGNATURE_HEADER = "Siglume-Signature";
|
|
1391
1314
|
declare const WEBHOOK_EVENT_ID_HEADER = "Siglume-Event-Id";
|
|
1392
1315
|
declare const WEBHOOK_EVENT_TYPE_HEADER = "Siglume-Event-Type";
|
|
1393
1316
|
declare const DEFAULT_WEBHOOK_TOLERANCE_SECONDS = 300;
|
|
1394
|
-
declare const WEBHOOK_EVENT_TYPES: readonly ["subscription.created", "subscription.renewed", "subscription.cancelled", "subscription.paused", "subscription.reinstated", "
|
|
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"];
|
|
1395
1318
|
type WebhookEventType = (typeof WEBHOOK_EVENT_TYPES)[number];
|
|
1396
1319
|
interface WebhookSignatureVerification {
|
|
1397
1320
|
timestamp: number;
|
|
@@ -1457,15 +1380,6 @@ interface SubscriptionLifecycleEventData extends Record<string, unknown> {
|
|
|
1457
1380
|
currency?: string;
|
|
1458
1381
|
amount_minor?: number;
|
|
1459
1382
|
}
|
|
1460
|
-
interface RefundIssuedEventData extends Record<string, unknown> {
|
|
1461
|
-
refund_id?: string;
|
|
1462
|
-
receipt_id?: string;
|
|
1463
|
-
amount_minor?: number;
|
|
1464
|
-
currency?: string;
|
|
1465
|
-
status?: string;
|
|
1466
|
-
payment_mandate_id?: string;
|
|
1467
|
-
on_chain_tx_hash?: string;
|
|
1468
|
-
}
|
|
1469
1383
|
interface PaymentEventData extends SubscriptionLifecycleEventData {
|
|
1470
1384
|
payment_status?: string;
|
|
1471
1385
|
}
|
|
@@ -1500,14 +1414,10 @@ interface SubscriptionPausedEvent extends WebhookEventBase<"subscription.paused"
|
|
|
1500
1414
|
}
|
|
1501
1415
|
interface SubscriptionReinstatedEvent extends WebhookEventBase<"subscription.reinstated", SubscriptionLifecycleEventData> {
|
|
1502
1416
|
}
|
|
1503
|
-
interface RefundIssuedEvent extends WebhookEventBase<"refund.issued", RefundIssuedEventData> {
|
|
1504
|
-
}
|
|
1505
1417
|
interface PaymentSucceededEvent extends WebhookEventBase<"payment.succeeded", PaymentEventData> {
|
|
1506
1418
|
}
|
|
1507
1419
|
interface PaymentFailedEvent extends WebhookEventBase<"payment.failed", PaymentEventData> {
|
|
1508
1420
|
}
|
|
1509
|
-
interface PaymentDisputedEvent extends WebhookEventBase<"payment.disputed", PaymentEventData> {
|
|
1510
|
-
}
|
|
1511
1421
|
interface CapabilityPublishedEvent extends WebhookEventBase<"capability.published", CapabilityEventData> {
|
|
1512
1422
|
}
|
|
1513
1423
|
interface CapabilityDelistedEvent extends WebhookEventBase<"capability.delisted", CapabilityEventData> {
|
|
@@ -1516,7 +1426,7 @@ interface ExecutionCompletedEvent extends WebhookEventBase<"execution.completed"
|
|
|
1516
1426
|
}
|
|
1517
1427
|
interface ExecutionFailedEvent extends WebhookEventBase<"execution.failed", ExecutionFailedEventData> {
|
|
1518
1428
|
}
|
|
1519
|
-
type SiglumeWebhookEvent = SubscriptionCreatedEvent | SubscriptionRenewedEvent | SubscriptionCancelledEvent | SubscriptionPausedEvent | SubscriptionReinstatedEvent |
|
|
1429
|
+
type SiglumeWebhookEvent = SubscriptionCreatedEvent | SubscriptionRenewedEvent | SubscriptionCancelledEvent | SubscriptionPausedEvent | SubscriptionReinstatedEvent | PaymentSucceededEvent | PaymentFailedEvent | CapabilityPublishedEvent | CapabilityDelistedEvent | ExecutionCompletedEvent | ExecutionFailedEvent;
|
|
1520
1430
|
interface QueuedWebhookEvent {
|
|
1521
1431
|
queued: boolean;
|
|
1522
1432
|
event: SiglumeWebhookEvent;
|
|
@@ -1649,7 +1559,6 @@ interface SiglumeClientShape {
|
|
|
1649
1559
|
source_url?: string;
|
|
1650
1560
|
runtime_validation?: Record<string, unknown>;
|
|
1651
1561
|
oauth_credentials?: Record<string, unknown> | unknown[];
|
|
1652
|
-
metadata?: Record<string, unknown>;
|
|
1653
1562
|
source_context?: Record<string, unknown>;
|
|
1654
1563
|
input_form_spec?: Record<string, unknown>;
|
|
1655
1564
|
}): Promise<AutoRegistrationReceipt>;
|
|
@@ -2091,39 +2000,6 @@ interface SiglumeClientShape {
|
|
|
2091
2000
|
limit?: number;
|
|
2092
2001
|
cursor?: string;
|
|
2093
2002
|
}): Promise<CursorPage<SupportCaseRecord>>;
|
|
2094
|
-
issue_partial_refund(options: {
|
|
2095
|
-
receipt_id: string;
|
|
2096
|
-
amount_minor: number;
|
|
2097
|
-
reason?: RefundReason | string;
|
|
2098
|
-
note?: string;
|
|
2099
|
-
idempotency_key: string;
|
|
2100
|
-
original_amount_minor?: number;
|
|
2101
|
-
}): Promise<RefundRecord>;
|
|
2102
|
-
issue_full_refund(options: {
|
|
2103
|
-
receipt_id: string;
|
|
2104
|
-
reason?: RefundReason | string;
|
|
2105
|
-
note?: string;
|
|
2106
|
-
idempotency_key?: string;
|
|
2107
|
-
}): Promise<RefundRecord>;
|
|
2108
|
-
list_refunds(options?: {
|
|
2109
|
-
receipt_id?: string;
|
|
2110
|
-
limit?: number;
|
|
2111
|
-
}): Promise<RefundRecord[]>;
|
|
2112
|
-
get_refund(refund_id: string): Promise<RefundRecord>;
|
|
2113
|
-
get_refunds_for_receipt(receipt_id: string, options?: {
|
|
2114
|
-
limit?: number;
|
|
2115
|
-
}): Promise<RefundRecord[]>;
|
|
2116
|
-
list_disputes(options?: {
|
|
2117
|
-
receipt_id?: string;
|
|
2118
|
-
limit?: number;
|
|
2119
|
-
}): Promise<DisputeRecord[]>;
|
|
2120
|
-
get_dispute(dispute_id: string): Promise<DisputeRecord>;
|
|
2121
|
-
respond_to_dispute(options: {
|
|
2122
|
-
dispute_id: string;
|
|
2123
|
-
response: DisputeResponse | string;
|
|
2124
|
-
evidence: Record<string, unknown>;
|
|
2125
|
-
note?: string;
|
|
2126
|
-
}): Promise<DisputeRecord>;
|
|
2127
2003
|
create_webhook_subscription(options: {
|
|
2128
2004
|
callback_url: string;
|
|
2129
2005
|
description?: string;
|
|
@@ -2210,7 +2086,6 @@ declare class SiglumeClient implements SiglumeClientShape {
|
|
|
2210
2086
|
source_url?: string;
|
|
2211
2087
|
runtime_validation?: Record<string, unknown>;
|
|
2212
2088
|
oauth_credentials?: Record<string, unknown> | unknown[];
|
|
2213
|
-
metadata?: Record<string, unknown>;
|
|
2214
2089
|
source_context?: Record<string, unknown>;
|
|
2215
2090
|
input_form_spec?: Record<string, unknown>;
|
|
2216
2091
|
}): Promise<AutoRegistrationReceipt>;
|
|
@@ -2653,39 +2528,6 @@ declare class SiglumeClient implements SiglumeClientShape {
|
|
|
2653
2528
|
limit?: number;
|
|
2654
2529
|
cursor?: string;
|
|
2655
2530
|
}): Promise<CursorPageResult<SupportCaseRecord>>;
|
|
2656
|
-
issue_partial_refund(options: {
|
|
2657
|
-
receipt_id: string;
|
|
2658
|
-
amount_minor: number;
|
|
2659
|
-
reason?: RefundReason | string;
|
|
2660
|
-
note?: string;
|
|
2661
|
-
idempotency_key: string;
|
|
2662
|
-
original_amount_minor?: number;
|
|
2663
|
-
}): Promise<RefundRecord>;
|
|
2664
|
-
issue_full_refund(options: {
|
|
2665
|
-
receipt_id: string;
|
|
2666
|
-
reason?: RefundReason | string;
|
|
2667
|
-
note?: string;
|
|
2668
|
-
idempotency_key?: string;
|
|
2669
|
-
}): Promise<RefundRecord>;
|
|
2670
|
-
list_refunds(options?: {
|
|
2671
|
-
receipt_id?: string;
|
|
2672
|
-
limit?: number;
|
|
2673
|
-
}): Promise<RefundRecord[]>;
|
|
2674
|
-
get_refund(refund_id: string): Promise<RefundRecord>;
|
|
2675
|
-
get_refunds_for_receipt(receipt_id: string, options?: {
|
|
2676
|
-
limit?: number;
|
|
2677
|
-
}): Promise<RefundRecord[]>;
|
|
2678
|
-
list_disputes(options?: {
|
|
2679
|
-
receipt_id?: string;
|
|
2680
|
-
limit?: number;
|
|
2681
|
-
}): Promise<DisputeRecord[]>;
|
|
2682
|
-
get_dispute(dispute_id: string): Promise<DisputeRecord>;
|
|
2683
|
-
respond_to_dispute(options: {
|
|
2684
|
-
dispute_id: string;
|
|
2685
|
-
response: DisputeResponse | string;
|
|
2686
|
-
evidence: Record<string, unknown>;
|
|
2687
|
-
note?: string;
|
|
2688
|
-
}): Promise<DisputeRecord>;
|
|
2689
2531
|
create_webhook_subscription(options: {
|
|
2690
2532
|
callback_url: string;
|
|
2691
2533
|
description?: string;
|
|
@@ -2983,46 +2825,6 @@ declare class MeterClient {
|
|
|
2983
2825
|
}
|
|
2984
2826
|
declare function normalizeUsageRecord(record: UsageRecord): UsageRecord;
|
|
2985
2827
|
|
|
2986
|
-
type RefundClientOptions = SiglumeClientOptions;
|
|
2987
|
-
declare class RefundClient {
|
|
2988
|
-
private readonly client;
|
|
2989
|
-
constructor(options: RefundClientOptions);
|
|
2990
|
-
close(): void;
|
|
2991
|
-
issue_partial_refund(options: {
|
|
2992
|
-
receipt_id: string;
|
|
2993
|
-
amount_minor: number;
|
|
2994
|
-
reason?: RefundReason | string;
|
|
2995
|
-
note?: string;
|
|
2996
|
-
idempotency_key: string;
|
|
2997
|
-
original_amount_minor?: number;
|
|
2998
|
-
}): Promise<RefundRecord>;
|
|
2999
|
-
issue_full_refund(options: {
|
|
3000
|
-
receipt_id: string;
|
|
3001
|
-
reason?: RefundReason | string;
|
|
3002
|
-
note?: string;
|
|
3003
|
-
idempotency_key?: string;
|
|
3004
|
-
}): Promise<RefundRecord>;
|
|
3005
|
-
list_refunds(options?: {
|
|
3006
|
-
receipt_id?: string;
|
|
3007
|
-
limit?: number;
|
|
3008
|
-
}): Promise<RefundRecord[]>;
|
|
3009
|
-
get_refund(refund_id: string): Promise<RefundRecord>;
|
|
3010
|
-
get_refunds_for_receipt(receipt_id: string, options?: {
|
|
3011
|
-
limit?: number;
|
|
3012
|
-
}): Promise<RefundRecord[]>;
|
|
3013
|
-
list_disputes(options?: {
|
|
3014
|
-
receipt_id?: string;
|
|
3015
|
-
limit?: number;
|
|
3016
|
-
}): Promise<DisputeRecord[]>;
|
|
3017
|
-
get_dispute(dispute_id: string): Promise<DisputeRecord>;
|
|
3018
|
-
respond_to_dispute(options: {
|
|
3019
|
-
dispute_id: string;
|
|
3020
|
-
response: DisputeResponse | string;
|
|
3021
|
-
evidence: Record<string, unknown>;
|
|
3022
|
-
note?: string;
|
|
3023
|
-
}): Promise<DisputeRecord>;
|
|
3024
|
-
}
|
|
3025
|
-
|
|
3026
2828
|
declare abstract class AppAdapter {
|
|
3027
2829
|
abstract manifest(): Awaitable<AppManifest>;
|
|
3028
2830
|
abstract execute(ctx: ExecutionContext): Awaitable<ExecutionResult>;
|
|
@@ -3263,4 +3065,4 @@ declare function validate_tool_manual(manualInput: ManualInput): [boolean, ToolM
|
|
|
3263
3065
|
|
|
3264
3066
|
declare function renderJson(value: unknown): string;
|
|
3265
3067
|
|
|
3266
|
-
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
|
|
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 };
|