@primitivedotdev/sdk 1.27.0 → 1.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/dist/api/index.d.ts +4 -4
- package/dist/api/index.js +4 -4
- package/dist/{api-D4xf448r.js → api-CgziU-nd.js} +65 -12
- package/dist/contract/index.d.ts +14 -5
- package/dist/contract/index.js +6 -4
- package/dist/{errors-CCJX3I_T.d.ts → errors-Li0PXZXa.d.ts} +5 -1
- package/dist/{index-DwP3ul-y.d.ts → index-BLgNIwYK.d.ts} +265 -7
- package/dist/{index-DCLGz6IH.d.ts → index-BxPkB7GU.d.ts} +35 -10
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3 -3
- package/dist/openapi/index.js +1 -1
- package/dist/{operations.generated-CoVn-Rb6.js → operations.generated-CKeVL_i2.js} +474 -5
- package/dist/parser/index.d.ts +1 -1
- package/dist/{trust-DBOnyTHV.js → trust-m3dNPmWL.js} +186 -65
- package/dist/{types-DcXtFARL.d.ts → types-Rn4qu5Q7.d.ts} +12 -5
- package/dist/webhook/index.d.ts +3 -3
- package/dist/webhook/index.js +2 -2
- package/dist/{webhook-B72YFapb.js → webhook-DArt1Ipq.js} +18 -11
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as WebhookEvent, S as KnownWebhookEvent } from "./types-
|
|
2
|
-
import { y as ReceivedEmail } from "./errors-
|
|
1
|
+
import { L as WebhookEvent, S as KnownWebhookEvent } from "./types-Rn4qu5Q7.js";
|
|
2
|
+
import { y as ReceivedEmail } from "./errors-Li0PXZXa.js";
|
|
3
3
|
|
|
4
4
|
//#region ../packages/api-core/src/api/core/auth.gen.d.ts
|
|
5
5
|
type AuthToken = string | undefined;
|
|
@@ -800,7 +800,7 @@ type PaginationMeta = {
|
|
|
800
800
|
type ErrorResponse = {
|
|
801
801
|
success: boolean;
|
|
802
802
|
error: {
|
|
803
|
-
code: 'unauthorized' | 'forbidden' | 'not_found' | 'validation_error' | 'rate_limit_exceeded' | 'internal_error' | 'conflict' | 'mx_conflict' | 'not_scheduled' | 'sent_email_deleted' | 'sent_email_not_settled' | 'sent_email_changed' | 'sent_email_cleanup_failed' | 'connection_not_revoked' | 'attachment_changed' | 'content_discarded' | 'attachment_limit_exceeded' | 'attachment_integrity_failed' | 'attachment_not_ready' | 'attachment_storage_unavailable' | 'outbound_disabled' | 'cannot_send_from_domain' | 'recipient_not_allowed' | 'outbound_key_missing' | 'outbound_unreachable' | 'outbound_key_invalid' | 'outbound_capacity_exhausted' | 'outbound_response_malformed' | 'outbound_relay_failed' | 'discard_not_enabled' | 'inbound_not_repliable' | 'search_timeout' | 'authorization_pending' | 'slow_down' | 'access_denied' | 'expired_token' | 'invalid_device_code' | 'invalid_signup_code' | 'invalid_signup_token' | 'invalid_verification_code' | 'email_delivery_failed' | 'clerk_signup_failed' | 'no_orgs_for_user' | 'org_not_accessible' | 'feature_disabled' | 'memory_conflict' | 'template_not_installable' | 'scaffold_only' | 'invalid_variables' | 'unknown_secrets' | 'missing_secrets' | 'no_inbound_domain' | 'domain_cannot_send' | 'address_taken' | 'route_cap_reached' | 'name_exhausted' | 'developer_usage_credit_exhausted' | 'no_payout_address' | 'ownership_proof_failed' | 'payment_verification_failed' | 'payment_declined' | 'challenge_expired' | 'settlement_failed' | 'pull_unavailable' | 'subscription_conflict' | 'subscription_limit' | 'subscription_disabled' | 'request_aborted' | 'event_content_unavailable' | 'event_preparation_failed' | 'subscription_unavailable' | 'stale_delivery';
|
|
803
|
+
code: 'unauthorized' | 'forbidden' | 'not_found' | 'validation_error' | 'rate_limit_exceeded' | 'internal_error' | 'conflict' | 'mx_conflict' | 'not_scheduled' | 'sent_email_deleted' | 'sent_email_not_settled' | 'sent_email_changed' | 'sent_email_cleanup_failed' | 'connection_not_revoked' | 'attachment_changed' | 'content_discarded' | 'attachment_limit_exceeded' | 'attachment_integrity_failed' | 'attachment_not_ready' | 'attachment_storage_unavailable' | 'outbound_disabled' | 'cannot_send_from_domain' | 'recipient_not_allowed' | 'outbound_key_missing' | 'outbound_unreachable' | 'outbound_key_invalid' | 'outbound_capacity_exhausted' | 'outbound_response_malformed' | 'outbound_relay_failed' | 'discard_not_enabled' | 'inbound_not_repliable' | 'search_timeout' | 'authorization_pending' | 'slow_down' | 'access_denied' | 'expired_token' | 'invalid_device_code' | 'invalid_signup_code' | 'invalid_signup_token' | 'invalid_verification_code' | 'email_delivery_failed' | 'clerk_signup_failed' | 'no_orgs_for_user' | 'org_not_accessible' | 'feature_disabled' | 'memory_conflict' | 'template_not_installable' | 'scaffold_only' | 'invalid_variables' | 'unknown_secrets' | 'missing_secrets' | 'no_inbound_domain' | 'domain_cannot_send' | 'address_taken' | 'route_cap_reached' | 'name_exhausted' | 'developer_usage_credit_exhausted' | 'no_payout_address' | 'ownership_proof_failed' | 'payment_verification_failed' | 'payment_declined' | 'challenge_expired' | 'settlement_failed' | 'pull_unavailable' | 'subscription_conflict' | 'subscription_limit' | 'subscription_disabled' | 'request_aborted' | 'event_content_unavailable' | 'event_preparation_failed' | 'subscription_unavailable' | 'stale_delivery' | 'idempotency_key_required' | 'idempotency_key_reused' | 'credit_code_invalid' | 'credit_code_already_redeemed' | 'credit_code_not_eligible' | 'credit_code_balance_cap' | 'rate_limited' | 'service_unavailable';
|
|
804
804
|
message: string;
|
|
805
805
|
/**
|
|
806
806
|
* Optional structured data that callers can inspect to recover
|
|
@@ -1334,6 +1334,108 @@ type WebhookSecret = {
|
|
|
1334
1334
|
*/
|
|
1335
1335
|
secret: string;
|
|
1336
1336
|
};
|
|
1337
|
+
type RedeemCreditCodeInput = {
|
|
1338
|
+
/**
|
|
1339
|
+
* The credit code to redeem. Surrounding whitespace is ignored; the
|
|
1340
|
+
* rest must be 1 to 256 characters.
|
|
1341
|
+
*
|
|
1342
|
+
*/
|
|
1343
|
+
code: string;
|
|
1344
|
+
};
|
|
1345
|
+
type CreditRedemption = {
|
|
1346
|
+
/**
|
|
1347
|
+
* Identifier of the redemption.
|
|
1348
|
+
*/
|
|
1349
|
+
redemption_id: string;
|
|
1350
|
+
/**
|
|
1351
|
+
* Credit granted, in micros of `currency` (1 USD = 1000000 micros).
|
|
1352
|
+
*/
|
|
1353
|
+
amount_micros: string;
|
|
1354
|
+
/**
|
|
1355
|
+
* Currency of the granted credit, for example `usd`.
|
|
1356
|
+
*/
|
|
1357
|
+
currency: string;
|
|
1358
|
+
/**
|
|
1359
|
+
* When the credit was granted.
|
|
1360
|
+
*/
|
|
1361
|
+
granted_at: string;
|
|
1362
|
+
/**
|
|
1363
|
+
* When the granted credit expires, or null when it does not expire.
|
|
1364
|
+
*/
|
|
1365
|
+
expires_at: string | null;
|
|
1366
|
+
/**
|
|
1367
|
+
* Customer-facing label of the promotion, when it has one.
|
|
1368
|
+
*/
|
|
1369
|
+
label: string | null;
|
|
1370
|
+
/**
|
|
1371
|
+
* True when this Idempotency-Key already redeemed this code and the
|
|
1372
|
+
* original grant is returned. No second grant is made.
|
|
1373
|
+
*
|
|
1374
|
+
*/
|
|
1375
|
+
replayed: boolean;
|
|
1376
|
+
/**
|
|
1377
|
+
* Human-readable summary of the grant, suitable to show as is.
|
|
1378
|
+
*/
|
|
1379
|
+
message: string;
|
|
1380
|
+
};
|
|
1381
|
+
type CreditBalance = {
|
|
1382
|
+
/**
|
|
1383
|
+
* The active agent spending budget an operator funded for top-ups,
|
|
1384
|
+
* or null when there is none.
|
|
1385
|
+
*
|
|
1386
|
+
*/
|
|
1387
|
+
budget: {
|
|
1388
|
+
/**
|
|
1389
|
+
* Currency of the budget, for example `usd`.
|
|
1390
|
+
*/
|
|
1391
|
+
currency: string;
|
|
1392
|
+
/**
|
|
1393
|
+
* Total allowance the operator funded, in micros.
|
|
1394
|
+
*/
|
|
1395
|
+
max_amount_micros: string;
|
|
1396
|
+
/**
|
|
1397
|
+
* How much of the allowance has been drawn down, in micros.
|
|
1398
|
+
*/
|
|
1399
|
+
spent_micros: string;
|
|
1400
|
+
/**
|
|
1401
|
+
* `max_amount_micros - spent_micros`, floored at zero.
|
|
1402
|
+
*/
|
|
1403
|
+
remaining_micros: string;
|
|
1404
|
+
/**
|
|
1405
|
+
* Largest single top-up allowed, in micros, or null for no per-top-up cap.
|
|
1406
|
+
*/
|
|
1407
|
+
per_topup_cap_micros: string | null;
|
|
1408
|
+
/**
|
|
1409
|
+
* When the allowance expires, or null for no expiry.
|
|
1410
|
+
*/
|
|
1411
|
+
expires_at: string | null;
|
|
1412
|
+
/**
|
|
1413
|
+
* Budget status. An active budget reads `active`.
|
|
1414
|
+
*/
|
|
1415
|
+
status: string;
|
|
1416
|
+
} | null;
|
|
1417
|
+
/**
|
|
1418
|
+
* Prepaid usage credit (top-ups, redeemed credit codes and granted
|
|
1419
|
+
* credit) that can still pay for usage, or null when there is none.
|
|
1420
|
+
* Omitted when an exact figure cannot be given right now; the budget
|
|
1421
|
+
* is still returned.
|
|
1422
|
+
*
|
|
1423
|
+
*/
|
|
1424
|
+
prepaid_credit?: {
|
|
1425
|
+
/**
|
|
1426
|
+
* Currency of the credit, which is the organization billing currency.
|
|
1427
|
+
*/
|
|
1428
|
+
currency: string;
|
|
1429
|
+
/**
|
|
1430
|
+
* What the credit can still pay for, in micros.
|
|
1431
|
+
*/
|
|
1432
|
+
remaining_micros: string;
|
|
1433
|
+
/**
|
|
1434
|
+
* Earliest expiry among credits with a balance, or null when none of them expires.
|
|
1435
|
+
*/
|
|
1436
|
+
next_expires_at: string | null;
|
|
1437
|
+
} | null;
|
|
1438
|
+
};
|
|
1337
1439
|
type InboxStatus = {
|
|
1338
1440
|
/**
|
|
1339
1441
|
* True when at least one active inbound domain has an enabled processing route.
|
|
@@ -3252,6 +3354,10 @@ type CompleteWebhookResponse = {
|
|
|
3252
3354
|
[key: string]: unknown;
|
|
3253
3355
|
};
|
|
3254
3356
|
type Endpoint = {
|
|
3357
|
+
/**
|
|
3358
|
+
* Server-enforced recipient for an address-scoped pull subscription; null for account-wide receiving.
|
|
3359
|
+
*/
|
|
3360
|
+
recipient?: string | null;
|
|
3255
3361
|
receiver_capabilities?: {
|
|
3256
3362
|
completion_modes: Array<'http' | 'exec' | 'stdout' | 'sdk'>;
|
|
3257
3363
|
stream_protocols: Array<'primitive.events.v1'>;
|
|
@@ -5141,6 +5247,115 @@ type RotateWebhookSecretResponses = {
|
|
|
5141
5247
|
};
|
|
5142
5248
|
};
|
|
5143
5249
|
type RotateWebhookSecretResponse = RotateWebhookSecretResponses[keyof RotateWebhookSecretResponses];
|
|
5250
|
+
type RedeemCreditCodeData = {
|
|
5251
|
+
body: RedeemCreditCodeInput;
|
|
5252
|
+
headers: {
|
|
5253
|
+
/**
|
|
5254
|
+
* Required client-supplied key: 1 to 200 printable ASCII
|
|
5255
|
+
* characters, without spaces. Use a new key for each code you
|
|
5256
|
+
* redeem and reuse it only to retry the same request.
|
|
5257
|
+
*
|
|
5258
|
+
*/
|
|
5259
|
+
'Idempotency-Key': string;
|
|
5260
|
+
};
|
|
5261
|
+
path?: never;
|
|
5262
|
+
query?: never;
|
|
5263
|
+
url: '/credits/redeem';
|
|
5264
|
+
};
|
|
5265
|
+
type RedeemCreditCodeErrors = {
|
|
5266
|
+
/**
|
|
5267
|
+
* `idempotency_key_required` means the Idempotency-Key header is
|
|
5268
|
+
* missing. `validation_error` means the header is empty, longer than
|
|
5269
|
+
* 200 characters or not printable non-space ASCII, or the body is
|
|
5270
|
+
* invalid.
|
|
5271
|
+
*
|
|
5272
|
+
*/
|
|
5273
|
+
400: ErrorResponse;
|
|
5274
|
+
/**
|
|
5275
|
+
* Invalid or missing API key
|
|
5276
|
+
*/
|
|
5277
|
+
401: ErrorResponse;
|
|
5278
|
+
/**
|
|
5279
|
+
* Authenticated caller lacks permission for the operation
|
|
5280
|
+
*/
|
|
5281
|
+
403: ErrorResponse;
|
|
5282
|
+
/**
|
|
5283
|
+
* The organization or user already redeemed this code, or already
|
|
5284
|
+
* redeemed another code in the same exclusive group (a set of codes
|
|
5285
|
+
* of which each organization or user may redeem only one).
|
|
5286
|
+
* `error.code` is `credit_code_already_redeemed`.
|
|
5287
|
+
*
|
|
5288
|
+
*/
|
|
5289
|
+
409: ErrorResponse;
|
|
5290
|
+
/**
|
|
5291
|
+
* The code cannot be redeemed. `credit_code_invalid` covers unknown,
|
|
5292
|
+
* expired and exhausted codes and callers without authority to
|
|
5293
|
+
* redeem; `credit_code_not_eligible` means the organization does not
|
|
5294
|
+
* meet the promotion terms; `credit_code_balance_cap` means the
|
|
5295
|
+
* organization already holds the most promotional credit it can;
|
|
5296
|
+
* `idempotency_key_reused` means this Idempotency-Key already
|
|
5297
|
+
* redeemed a different code.
|
|
5298
|
+
*
|
|
5299
|
+
*/
|
|
5300
|
+
422: ErrorResponse;
|
|
5301
|
+
/**
|
|
5302
|
+
* Too many requests or redemption attempts. `error.code` is
|
|
5303
|
+
* `rate_limited`. Wait for `Retry-After` when present. Like other
|
|
5304
|
+
* rate-limited responses, it also carries the `ratelimit-limit`,
|
|
5305
|
+
* `ratelimit-remaining`, `ratelimit-reset` and `ratelimit-policy`
|
|
5306
|
+
* quota headers when the limiter reports them.
|
|
5307
|
+
*
|
|
5308
|
+
*/
|
|
5309
|
+
429: ErrorResponse;
|
|
5310
|
+
/**
|
|
5311
|
+
* The code could not be redeemed right now. Retry later with the
|
|
5312
|
+
* same Idempotency-Key. `error.code` is `service_unavailable`.
|
|
5313
|
+
*
|
|
5314
|
+
*/
|
|
5315
|
+
503: ErrorResponse;
|
|
5316
|
+
};
|
|
5317
|
+
type RedeemCreditCodeError = RedeemCreditCodeErrors[keyof RedeemCreditCodeErrors];
|
|
5318
|
+
type RedeemCreditCodeResponses = {
|
|
5319
|
+
/**
|
|
5320
|
+
* The code was redeemed, or this request replayed an earlier
|
|
5321
|
+
* redemption with the same Idempotency-Key.
|
|
5322
|
+
*
|
|
5323
|
+
*/
|
|
5324
|
+
200: SuccessEnvelope & {
|
|
5325
|
+
data?: CreditRedemption;
|
|
5326
|
+
};
|
|
5327
|
+
};
|
|
5328
|
+
type RedeemCreditCodeResponse = RedeemCreditCodeResponses[keyof RedeemCreditCodeResponses];
|
|
5329
|
+
type GetCreditBalanceData = {
|
|
5330
|
+
body?: never;
|
|
5331
|
+
path?: never;
|
|
5332
|
+
query?: never;
|
|
5333
|
+
url: '/credits/balance';
|
|
5334
|
+
};
|
|
5335
|
+
type GetCreditBalanceErrors = {
|
|
5336
|
+
/**
|
|
5337
|
+
* Invalid or missing API key
|
|
5338
|
+
*/
|
|
5339
|
+
401: ErrorResponse;
|
|
5340
|
+
/**
|
|
5341
|
+
* Authenticated caller lacks permission for the operation
|
|
5342
|
+
*/
|
|
5343
|
+
403: ErrorResponse;
|
|
5344
|
+
/**
|
|
5345
|
+
* Rate limit exceeded
|
|
5346
|
+
*/
|
|
5347
|
+
429: ErrorResponse;
|
|
5348
|
+
};
|
|
5349
|
+
type GetCreditBalanceError = GetCreditBalanceErrors[keyof GetCreditBalanceErrors];
|
|
5350
|
+
type GetCreditBalanceResponses = {
|
|
5351
|
+
/**
|
|
5352
|
+
* The organization credit balance.
|
|
5353
|
+
*/
|
|
5354
|
+
200: SuccessEnvelope & {
|
|
5355
|
+
data?: CreditBalance;
|
|
5356
|
+
};
|
|
5357
|
+
};
|
|
5358
|
+
type GetCreditBalanceResponse = GetCreditBalanceResponses[keyof GetCreditBalanceResponses];
|
|
5144
5359
|
type ListDomainsData = {
|
|
5145
5360
|
body?: never;
|
|
5146
5361
|
path?: never;
|
|
@@ -5608,6 +5823,10 @@ type SearchEmailsErrors = {
|
|
|
5608
5823
|
* Invalid or missing API key
|
|
5609
5824
|
*/
|
|
5610
5825
|
401: ErrorResponse;
|
|
5826
|
+
/**
|
|
5827
|
+
* Resource not found
|
|
5828
|
+
*/
|
|
5829
|
+
404: ErrorResponse;
|
|
5611
5830
|
/**
|
|
5612
5831
|
* Search query timed out
|
|
5613
5832
|
*/
|
|
@@ -9779,7 +9998,7 @@ type GetAgentResponses = {
|
|
|
9779
9998
|
};
|
|
9780
9999
|
type GetAgentResponse = GetAgentResponses[keyof GetAgentResponses];
|
|
9781
10000
|
declare namespace sdk_gen_d_exports {
|
|
9782
|
-
export { Options, addDomain, awaitReply, cancelSentEmail, checkDomainDns, cliLogout, completeWebhookEvent, createAgentAccount, createAgentClaimLink, createChallenge, createEmailChallenge, createEndpoint, createFilter, createFunction, createFunctionSecret, createOrgSecret, createRegistry, createRoute, createWakeAuthorization, createWakeSchedule, decideRegistryRequest, defineAgent, deleteDomain, deleteEmail, deleteEndpoint, deleteFilter, deleteFunction, deleteFunctionSecret, deleteMemory, deleteOrgSecret, deleteRegistry, deleteRoute, deleteSentEmail, deleteWakeAuthorization, deleteWakeSchedule, discardEmailContent, downloadAttachments, downloadDomainZoneFile, downloadEmailAttachmentPart, downloadRawEmail, downloadSentAttachmentPart, getAccount, getAgent, getChallenge, getConversation, getEmail, getFunction, getFunctionRouting, getFunctionTestRunTrace, getInboxStatus, getMemory, getOrgRoutingTopology, getOutboundStatus, getRegistry, getSendPermissions, getSentEmail, getSpendPolicy, getStorageStats, getTemplate, getTemplateInstall, getThread, getWakeSchedule, getWebhookSecret, installTemplate, listDeclinedPayments, listDeliveries, listDomains, listEmails, listEndpoints, listFilters, listFunctionLogs, listFunctionSecrets, listFunctions, listOrgSecrets, listPayoutAddresses, listRegistries, listRegistryAgents, listRegistryRequests, listRoutes, listSentEmails, listTemplates, listWakeAuthorizations, listWakeDispatches, listWakeSchedules, payChallenge, pollCliLogin, publishAgent, pullWebhookEvent, registerPayoutAddress, removeAgentConnection, reorderRoutes, replayDelivery, replayEmailWebhooks, replyToEmail, rescheduleSentEmail, resendAgentSignupVerification, resendCliSignupVerification, resolveRegistryHandle, rotateWebhookSecret, runWakeSchedule, searchEmails, searchMemories, semanticSearch, sendEmail, setFunctionRoute, setFunctionSecret, setMemory, setOrgSecret, simulateRoute, startAgentClaim, startAgentSignup, startCliLogin, startCliSignup, testEndpoint, testEndpointRules, testFunction, unpublishAgent, unsetFunctionRoute, updateAccount, updateDomain, updateEndpoint, updateFilter, updateFunction, updateRegistry, updateRoute, updateSpendPolicy, updateWakeAuthorization, updateWakeSchedule, verifyAgentClaim, verifyAgentSignup, verifyCliSignup, verifyDomain };
|
|
10001
|
+
export { Options, addDomain, awaitReply, cancelSentEmail, checkDomainDns, cliLogout, completeWebhookEvent, createAgentAccount, createAgentClaimLink, createChallenge, createEmailChallenge, createEndpoint, createFilter, createFunction, createFunctionSecret, createOrgSecret, createRegistry, createRoute, createWakeAuthorization, createWakeSchedule, decideRegistryRequest, defineAgent, deleteDomain, deleteEmail, deleteEndpoint, deleteFilter, deleteFunction, deleteFunctionSecret, deleteMemory, deleteOrgSecret, deleteRegistry, deleteRoute, deleteSentEmail, deleteWakeAuthorization, deleteWakeSchedule, discardEmailContent, downloadAttachments, downloadDomainZoneFile, downloadEmailAttachmentPart, downloadRawEmail, downloadSentAttachmentPart, getAccount, getAgent, getChallenge, getConversation, getCreditBalance, getEmail, getFunction, getFunctionRouting, getFunctionTestRunTrace, getInboxStatus, getMemory, getOrgRoutingTopology, getOutboundStatus, getRegistry, getSendPermissions, getSentEmail, getSpendPolicy, getStorageStats, getTemplate, getTemplateInstall, getThread, getWakeSchedule, getWebhookSecret, installTemplate, listDeclinedPayments, listDeliveries, listDomains, listEmails, listEndpoints, listFilters, listFunctionLogs, listFunctionSecrets, listFunctions, listOrgSecrets, listPayoutAddresses, listRegistries, listRegistryAgents, listRegistryRequests, listRoutes, listSentEmails, listTemplates, listWakeAuthorizations, listWakeDispatches, listWakeSchedules, payChallenge, pollCliLogin, publishAgent, pullWebhookEvent, redeemCreditCode, registerPayoutAddress, removeAgentConnection, reorderRoutes, replayDelivery, replayEmailWebhooks, replyToEmail, rescheduleSentEmail, resendAgentSignupVerification, resendCliSignupVerification, resolveRegistryHandle, rotateWebhookSecret, runWakeSchedule, searchEmails, searchMemories, semanticSearch, sendEmail, setFunctionRoute, setFunctionSecret, setMemory, setOrgSecret, simulateRoute, startAgentClaim, startAgentSignup, startCliLogin, startCliSignup, testEndpoint, testEndpointRules, testFunction, unpublishAgent, unsetFunctionRoute, updateAccount, updateDomain, updateEndpoint, updateFilter, updateFunction, updateRegistry, updateRoute, updateSpendPolicy, updateWakeAuthorization, updateWakeSchedule, verifyAgentClaim, verifyAgentSignup, verifyCliSignup, verifyDomain };
|
|
9783
10002
|
}
|
|
9784
10003
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options$1<TData, ThrowOnError, TResponse> & {
|
|
9785
10004
|
/**
|
|
@@ -9977,6 +10196,37 @@ declare const getWebhookSecret: <ThrowOnError extends boolean = false>(options?:
|
|
|
9977
10196
|
*
|
|
9978
10197
|
*/
|
|
9979
10198
|
declare const rotateWebhookSecret: <ThrowOnError extends boolean = false>(options?: Options<RotateWebhookSecretData, ThrowOnError>) => RequestResult<RotateWebhookSecretResponses, RotateWebhookSecretErrors, ThrowOnError, "fields">;
|
|
10199
|
+
/**
|
|
10200
|
+
* Redeem a credit code
|
|
10201
|
+
*
|
|
10202
|
+
* Redeem a credit code for the authenticated organization. The credit is
|
|
10203
|
+
* added to the organization prepaid credit and shows in
|
|
10204
|
+
* `GET /credits/balance` under `prepaid_credit`.
|
|
10205
|
+
*
|
|
10206
|
+
* Redeeming requires an organization owner or admin. An API key redeems
|
|
10207
|
+
* with the authority of the user who created it, based on that user's
|
|
10208
|
+
* current role; a key without that authority gets the same
|
|
10209
|
+
* `credit_code_invalid` refusal as an unknown code.
|
|
10210
|
+
*
|
|
10211
|
+
* The `Idempotency-Key` header is required. Retrying with the same key
|
|
10212
|
+
* and code returns the original grant with `replayed: true` and grants
|
|
10213
|
+
* nothing new; the same key with a different code is refused with
|
|
10214
|
+
* `idempotency_key_reused`. Every refusal carries a human-readable
|
|
10215
|
+
* `error.message` that can be shown to the user as is.
|
|
10216
|
+
*
|
|
10217
|
+
*/
|
|
10218
|
+
declare const redeemCreditCode: <ThrowOnError extends boolean = false>(options: Options<RedeemCreditCodeData, ThrowOnError>) => RequestResult<RedeemCreditCodeResponses, RedeemCreditCodeErrors, ThrowOnError, "fields">;
|
|
10219
|
+
/**
|
|
10220
|
+
* Get credit balance
|
|
10221
|
+
*
|
|
10222
|
+
* Read the organization credit position. `prepaid_credit` is the prepaid
|
|
10223
|
+
* usage credit (paid top-ups, redeemed credit codes and granted credit)
|
|
10224
|
+
* that can still pay for usage. `budget` is the active agent spending
|
|
10225
|
+
* budget an operator funded for top-ups, or null when there is none.
|
|
10226
|
+
* Amounts are strings of integer micros (1 USD = 1000000 micros).
|
|
10227
|
+
*
|
|
10228
|
+
*/
|
|
10229
|
+
declare const getCreditBalance: <ThrowOnError extends boolean = false>(options?: Options<GetCreditBalanceData, ThrowOnError>) => RequestResult<GetCreditBalanceResponses, GetCreditBalanceErrors, ThrowOnError, "fields">;
|
|
9980
10230
|
/**
|
|
9981
10231
|
* List all domains
|
|
9982
10232
|
*
|
|
@@ -10108,6 +10358,14 @@ declare const listEmails: <ThrowOnError extends boolean = false>(options?: Optio
|
|
|
10108
10358
|
* `domain_id`, status, attachment presence, and spam score bounds
|
|
10109
10359
|
* are combined with the text query.
|
|
10110
10360
|
*
|
|
10361
|
+
* Connected-agent credentials search only mail received by their own
|
|
10362
|
+
* address. This applies to results, totals, facets, and every page;
|
|
10363
|
+
* search filters cannot widen the credential's scope. When
|
|
10364
|
+
* `reply_to_sent_email_id` is supplied, its parent send must belong
|
|
10365
|
+
* to the connected address in the same organization. An unavailable
|
|
10366
|
+
* parent returns 404. Sender filters are not authentication proof;
|
|
10367
|
+
* inspect the email detail's authentication evidence before trusting it.
|
|
10368
|
+
*
|
|
10111
10369
|
*/
|
|
10112
10370
|
declare const searchEmails: <ThrowOnError extends boolean = false>(options?: Options<SearchEmailsData, ThrowOnError>) => RequestResult<SearchEmailsResponses, SearchEmailsErrors, ThrowOnError, "fields">;
|
|
10113
10371
|
/**
|
|
@@ -10287,7 +10545,7 @@ declare const listEndpoints: <ThrowOnError extends boolean = false>(options?: Op
|
|
|
10287
10545
|
* accepts the signature.
|
|
10288
10546
|
*
|
|
10289
10547
|
*
|
|
10290
|
-
* For local receiving, use kind=pull and a stable name, without url, function_id or domain_id. Named creation resumes the same active destination; omitted filters preserve its selection, while conflicting supplied configuration returns 409. New unfiltered destinations receive all subsequently ready eligible event types. Pull destinations do not occupy HTTP routing slots. Signing-secret setup and a test HTTP delivery are not required for pull receiving.
|
|
10548
|
+
* For local receiving, use kind=pull and a stable name, without url, function_id or domain_id. Named creation resumes the same active destination; omitted filters preserve its selection, while conflicting supplied configuration returns 409. New unfiltered destinations receive all subsequently ready eligible event types within their credential scope. Connected-agent credentials automatically create private subscriptions restricted to inbound email for their assigned address. Names are isolated per credential; revocation or replacement deletes its subscriptions. Address-scoped events contain parsed mail without raw MIME, signed download links, routing metadata, or sibling envelope recipients. Pull destinations do not occupy HTTP routing slots. Signing-secret setup and a test HTTP delivery are not required for pull receiving.
|
|
10291
10549
|
*/
|
|
10292
10550
|
declare const createEndpoint: <ThrowOnError extends boolean = false>(options: Options<CreateEndpointData, ThrowOnError>) => RequestResult<CreateEndpointResponses, CreateEndpointErrors, ThrowOnError, "fields">;
|
|
10293
10551
|
/**
|
|
@@ -11355,7 +11613,7 @@ declare class EventConnection {
|
|
|
11355
11613
|
private readonly options;
|
|
11356
11614
|
private socket?;
|
|
11357
11615
|
private pending?;
|
|
11358
|
-
private
|
|
11616
|
+
private origin?;
|
|
11359
11617
|
private touch?;
|
|
11360
11618
|
constructor(client: PrimitiveApiClient["client"], endpointId: string, options?: {
|
|
11361
11619
|
transport?: "websocket" | "poll";
|
|
@@ -11930,4 +12188,4 @@ interface CreatedAgent {
|
|
|
11930
12188
|
*/
|
|
11931
12189
|
declare function createAgent(options: CreateAgentOptions): Promise<CreatedAgent>;
|
|
11932
12190
|
//#endregion
|
|
11933
|
-
export { PrimitiveApiClientOptions as $, UpdateDomainInput as $_, CreateWakeScheduleError as $a, GetAccountErrors as $c, ListFunctionSecretsResponses as $d, ListWakeSchedulesData as $f, TemplateInstallState as $g, SetFunctionRouteResponses as $h, CreateEmailChallengeErrors as $i, GetOutboundStatusError as $l, RotateWebhookSecretErrors as $m, sendEmail as $n, DeleteOrgSecretData as $o, RegistryRequest as $p, CancelSentEmailError as $r, DownloadDomainZoneFileResponses as $s, getMemory as $t, IdempotencyKey as $u, VerifyAgentClaimErrors as $v, WaitForNextOptions as A, TestResult as A_, CreateOrgSecretErrors as Aa, Filter as Ac, ListEmailsErrors as Ad, ListRoutesErrors as Af, StartAgentClaimResponses as Ag, SendEmailData as Ah, CompleteWebhookStdoutInput as Ai, GetFunctionRoutingResponse as Al, RescheduleSentEmailErrors as Am, listWakeAuthorizations as An, DeleteEndpointResponse as Ao, PublishAgentError as Ap, AddDomainData as Ar, DeliverySummary as As, deleteFunctionSecret as At, GetTemplateErrors as Au, UpdateRouteResponse as Av, X402PaymentRequirements as Ay, EventStatus as B, UnsetFunctionRouteErrors as B_, CreateRouteData as Ba, FunctionTestRun as Bc, ListFiltersError as Bd, ListTemplatesErrors as Bf, StartCliLoginInput as Bg, SendPermissionAnyRecipient as Bh, CreateAgentClaimLinkError as Bi, GetInboxStatusResponse as Bl, ResendCliSignupVerificationError as Bm, replayDelivery as Bn, DeleteFunctionResponse as Bo, PullWebhookEventResponse as Bp, AgentClaimStartResult as Br, DomainDnsHealthScope as Bs, downloadDomainZoneFile as Bt, GetThreadErrors as Bu, UpdateWakeAuthorizationErrors as Bv, RequestOptions$2 as By, SemanticSearchResponse as C, TestEndpointRulesResult as C_, CreateFunctionSecretError as Ca, EmailSearchMeta as Cc, ListDomainsData as Cd, ListRegistryRequestsData as Cf, SimulateRouteResponses as Cg, SemanticSearchField as Ch, CompleteWebhookEventResponse as Ci, GetFunctionError as Cl, ReplyToEmailData as Cm, listPayoutAddresses as Cn, DeleteEmailError as Co, PollCliLoginData as Cp, updateWakeSchedule as Cr, DeleteWakeAuthorizationResponses as Cs, decideRegistryRequest as Ct, GetStorageStatsData as Cu, UpdateRegistryInput as Cv, WebhookSecret as Cy, SendPayloadReference as D, TestFunctionResponse as D_, CreateFunctionSecretResponses as Da, EmailWebhookStatus as Dc, ListDomainsResponses as Dd, ListRegistryRequestsResponses as Df, StartAgentClaimErrors as Dg, SemanticSearchResult as Dh, CompleteWebhookInput as Di, GetFunctionRoutingData as Dl, ReplyToEmailResponses as Dm, listRoutes as Dn, DeleteEndpointData as Do, PollCliLoginResponse as Dp, verifyDomain as Dr, DeleteWakeScheduleResponse as Ds, deleteEndpoint as Dt, GetStorageStatsResponses as Du, UpdateRouteError as Dv, X402EmailChallengeDetails as Dy, SendInput as E, TestFunctionErrors as E_, CreateFunctionSecretResponse as Ea, EmailSummary as Ec, ListDomainsResponse as Ed, ListRegistryRequestsResponse as Ef, StartAgentClaimError as Eg, SemanticSearchResponses as Eh, CompleteWebhookHttpInput as Ei, GetFunctionResponses as El, ReplyToEmailResponse as Em, listRegistryRequests as En, DeleteEmailResponses as Eo, PollCliLoginInput as Ep, verifyCliSignup as Er, DeleteWakeScheduleErrors as Es, deleteEmail as Et, GetStorageStatsResponse as Eu, UpdateRouteData as Ev, X402EmailChallenge as Ey, VerifyOptions as F, UnpublishAgentErrors as F_, CreateRegistryError as Fa, FunctionRouteBody as Fc, ListEndpointsErrors as Fd, ListSentEmailsErrors as Ff, StartAgentSignupResponse as Fg, SendMailAttachment as Fh, CreateAgentAccountErrors as Fi, GetFunctionTestRunTraceResponse as Fl, ResendAgentSignupVerificationErrors as Fm, publishAgent as Fn, DeleteFilterResponse as Fo, PublishAgentResult as Fp, AddDomainResponses as Fr, DiscardEmailContentResponse as Fs, deleteSentEmail as Ft, GetTemplateInstallResponses as Fu, UpdateSpendPolicyInput as Fv, Client as Fy, EventConnection as G, UpdateAccountError as G_, CreateRouteResponses as Ga, FunctionTestRunReply as Gc, ListFunctionLogsError as Gd, ListWakeAuthorizationsErrors as Gf, StartCliSignupErrors as Gg, SentEmailDetail as Gh, CreateChallengeData as Gi, GetMemoryResponse as Gl, ResolveRegistryHandleData as Gm, resendCliSignupVerification as Gn, DeleteFunctionSecretResponse as Go, RegisterPayoutAddressData as Gp, AttachmentPartIndex as Gr, DownloadAttachmentsError as Gs, getAgent as Gt, GetWakeScheduleErrors as Gu, UpdateWakeScheduleError as Gv, EventsResource as H, UnsetFunctionRouteResponses as H_, CreateRouteErrors as Ha, FunctionTestRunDeliveryEndpoint as Hc, ListFiltersResponse as Hd, ListTemplatesResponses as Hf, StartCliLoginResponses as Hg, SendPermissionRule as Hh, CreateAgentClaimLinkInput as Hi, GetMemoryData as Hl, ResendCliSignupVerificationInput as Hm, replyToEmail as Hn, DeleteFunctionSecretData as Ho, PullWebhookInput as Hp, AgentSignupResendResult as Hr, DomainDnsRecord as Hs, downloadRawEmail as Ht, GetThreadResponses as Hu, UpdateWakeAuthorizationResponse as Hv, ResponseStyle as Hy, verifyWebhookSignature as I, UnpublishAgentResponse as I_, CreateRegistryErrors as Ia, FunctionRouteResult as Ic, ListEndpointsResponse as Id, ListSentEmailsResponse as If, StartAgentSignupResponses as Ig, SendMailInput as Ih, CreateAgentAccountInput as Ii, GetFunctionTestRunTraceResponses as Il, ResendAgentSignupVerificationInput as Im, pullWebhookEvent as In, DeleteFilterResponses as Io, PublishPolicy as Ip, AgentAccountResult as Ir, DiscardEmailContentResponses as Is, deleteWakeAuthorization as It, GetTemplateResponse as Iu, UpdateSpendPolicyResponse as Iv, ClientOptions as Iy, EventReceiverError as J, UpdateAccountResponse as J_, CreateWakeAuthorizationErrors as Ja, FunctionTestRunTrace as Jc, ListFunctionLogsResponses as Jd, ListWakeDispatchesData as Jf, StartCliSignupResponses as Jg, SentEmailSummary as Jh, CreateChallengeInput as Ji, GetOrgRoutingTopologyError as Jl, ResolveRegistryHandleResponse as Jm, runWakeSchedule as Jn, DeleteMemoryError as Jo, RegisterPayoutAddressInput as Jp, AwaitReplyErrors as Jr, DownloadAttachmentsResponses as Js, getEmail as Jt, GetWebhookSecretData as Ju, UpdateWakeScheduleResponse as Jv, EventDelivery as K, UpdateAccountErrors as K_, CreateWakeAuthorizationData as Ka, FunctionTestRunSend as Kc, ListFunctionLogsErrors as Kd, ListWakeAuthorizationsResponse as Kf, StartCliSignupInput as Kg, SentEmailRescheduleInput as Kh, CreateChallengeError as Ki, GetMemoryResponses as Kl, ResolveRegistryHandleError as Km, resolveRegistryHandle as Kn, DeleteFunctionSecretResponses as Ko, RegisterPayoutAddressError as Kp, AwaitReplyData as Kr, DownloadAttachmentsErrors as Ks, getChallenge as Kt, GetWakeScheduleResponse as Ku, UpdateWakeScheduleErrors as Kv, DeliveryExpired as L, UnpublishAgentResponses as L_, CreateRegistryInput as La, FunctionRouting as Lc, ListEndpointsResponses as Ld, ListSentEmailsResponses as Lf, StartCliLoginData as Lg, SendMailPayloadRef as Lh, CreateAgentAccountResponse as Li, GetInboxStatusData as Ll, ResendAgentSignupVerificationResponse as Lm, registerPayoutAddress as Ln, DeleteFunctionData as Lo, PullWebhookEventData as Lp, AgentAccountUpgradeHint as Lr, DkimSignature as Ls, deleteWakeSchedule as Lt, GetTemplateResponses as Lu, UpdateSpendPolicyResponses as Lv, Config as Ly, createAgent as M, ThreadMessage as M_, CreateOrgSecretResponse as Ma, FunctionDetail as Mc, ListEmailsResponses as Md, ListRoutesResponses as Mf, StartAgentSignupError as Mg, SendEmailErrors as Mh, ConversationMessage as Mi, GetFunctionTestRunTraceData as Ml, RescheduleSentEmailResponses as Mm, listWakeSchedules as Mn, DeleteFilterData as Mo, PublishAgentInput as Mp, AddDomainErrors as Mr, DiscardEmailContentData as Ms, deleteOrgSecret as Mt, GetTemplateInstallError as Mu, UpdateSpendPolicyData as Mv, X402Receipt as My, createPrimitiveClient as N, UnpublishAgentData as N_, CreateOrgSecretResponses as Na, FunctionListItem as Nc, ListEndpointsData as Nd, ListSentEmailsData as Nf, StartAgentSignupErrors as Ng, SendEmailResponse as Nh, CreateAgentAccountData as Ni, GetFunctionTestRunTraceError as Nl, ResendAgentSignupVerificationData as Nm, payChallenge as Nn, DeleteFilterError as No, PublishAgentResponse as Np, AddDomainInput as Nr, DiscardEmailContentError as Ns, deleteRegistry as Nt, GetTemplateInstallErrors as Nu, UpdateSpendPolicyError as Nv, X402SpendPolicy as Ny, SendResult as O, TestFunctionResponses as O_, CreateOrgSecretData as Oa, Endpoint as Oc, ListEmailsData as Od, ListRoutesData as Of, StartAgentClaimInput as Og, SemanticSearchScoreBreakdown as Oh, CompleteWebhookResponse as Oi, GetFunctionRoutingError as Ol, RescheduleSentEmailData as Om, listSentEmails as On, DeleteEndpointError as Oo, PollCliLoginResponses as Op, Account as Or, DeleteWakeScheduleResponses as Os, deleteFilter as Ot, GetTemplateData as Ou, UpdateRouteErrors as Ov, X402NonceBinding as Oy, PRIMITIVE_SIGNATURE_HEADER as P, UnpublishAgentError as P_, CreateRegistryData as Pa, FunctionLogRow as Pc, ListEndpointsError as Pd, ListSentEmailsError as Pf, StartAgentSignupInput as Pg, SendEmailResponses as Ph, CreateAgentAccountError as Pi, GetFunctionTestRunTraceErrors as Pl, ResendAgentSignupVerificationError as Pm, pollCliLogin as Pn, DeleteFilterErrors as Po, PublishAgentResponses as Pp, AddDomainResponse as Pr, DiscardEmailContentErrors as Ps, deleteRoute as Pt, GetTemplateInstallResponse as Pu, UpdateSpendPolicyErrors as Pv, createClient as Py, PrimitiveApiClient as Q, UpdateDomainErrors as Q_, CreateWakeScheduleData as Qa, GetAccountError as Qc, ListFunctionSecretsResponse as Qd, ListWakeDispatchesResponses as Qf, TemplateInstall as Qg, SetFunctionRouteResponse as Qh, CreateEmailChallengeError as Qi, GetOutboundStatusData as Ql, RotateWebhookSecretError as Qm, semanticSearch as Qn, DeleteMemoryResult as Qo, RegistryAgent as Qp, CancelSentEmailData as Qr, DownloadDomainZoneFileResponse as Qs, getInboxStatus as Qt, GetWebhookSecretResponses as Qu, VerifyAgentClaimError as Qv, EventListenOptions as R, UnsetFunctionRouteData as R_, CreateRegistryResponse as Ra, FunctionSecretListItem as Rc, ListEnvelope as Rd, ListTemplatesData as Rf, StartCliLoginError as Rg, SendMailResult as Rh, CreateAgentAccountResponses as Ri, GetInboxStatusError as Rl, ResendAgentSignupVerificationResponses as Rm, removeAgentConnection as Rn, DeleteFunctionError as Ro, PullWebhookEventError as Rp, AgentClaimLinkResult as Rr, Domain as Rs, discardEmailContent as Rt, GetThreadData as Ru, UpdateWakeAuthorizationData as Rv, CreateClientConfig as Ry, RequestOptions as S, TestEndpointRulesResponses as S_, CreateFunctionSecretData as Sa, EmailSearchHighlights as Sc, ListDeliveriesResponses as Sd, ListRegistryAgentsResponses as Sf, SimulateRouteResponse as Sg, SemanticSearchErrors as Sh, CompleteWebhookEventErrors as Si, GetFunctionData as Sl, ReplyEmail as Sm, listOrgSecrets as Sn, DeleteEmailData as So, PlanLimits as Sp, updateWakeAuthorization as Sr, DeleteWakeAuthorizationResponse as Ss, createWakeSchedule as St, GetSpendPolicyResponses as Su, UpdateRegistryErrors as Sv, WakeSchedule as Sy, SendAttachmentInput as T, TestFunctionError as T_, CreateFunctionSecretInput as Ta, EmailStatus as Tc, ListDomainsErrors as Td, ListRegistryRequestsErrors as Tf, StartAgentClaimData as Tg, SemanticSearchMeta as Th, CompleteWebhookExecInput as Ti, GetFunctionResponse as Tl, ReplyToEmailErrors as Tm, listRegistryAgents as Tn, DeleteEmailResponse as To, PollCliLoginErrors as Tp, verifyAgentSignup as Tr, DeleteWakeScheduleError as Ts, deleteDomain as Tt, GetStorageStatsErrors as Tu, UpdateRegistryResponses as Tv, X402DeclinedPayment as Ty, LocalEvent as U, UnverifiedDomain as U_, CreateRouteInput as Ua, FunctionTestRunInboundEmail as Uc, ListFiltersResponses as Ud, ListWakeAuthorizationsData as Uf, StartCliSignupData as Ug, SendPermissionYourDomain as Uh, CreateAgentClaimLinkResponse as Ui, GetMemoryError as Ul, ResendCliSignupVerificationResponse as Um, rescheduleSentEmail as Un, DeleteFunctionSecretError as Uo, PullWebhookResponse as Up, AgentSignupStartResult as Ur, DomainVerifyResult as Us, downloadSentAttachmentPart as Ut, GetWakeScheduleData as Uu, UpdateWakeAuthorizationResponses as Uv, createConfig as Uy, EventWaitOptions as V, UnsetFunctionRouteResponse as V_, CreateRouteError as Va, FunctionTestRunDelivery as Vc, ListFiltersErrors as Vd, ListTemplatesResponse as Vf, StartCliLoginResponse as Vg, SendPermissionManagedZone as Vh, CreateAgentClaimLinkErrors as Vi, GetInboxStatusResponses as Vl, ResendCliSignupVerificationErrors as Vm, replayEmailWebhooks as Vn, DeleteFunctionResponses as Vo, PullWebhookEventResponses as Vp, AgentOrgRef as Vr, DomainDnsHealthStatus as Vs, downloadEmailAttachmentPart as Vt, GetThreadResponse as Vu, UpdateWakeAuthorizationInput as Vv, RequestResult as Vy, PendingEvent as W, UpdateAccountData as W_, CreateRouteResponse as Wa, FunctionTestRunOutboundRequest as Wc, ListFunctionLogsData as Wd, ListWakeAuthorizationsError as Wf, StartCliSignupError as Wg, SendPermissionsMeta as Wh, CreateAgentClaimLinkResponses as Wi, GetMemoryErrors as Wl, ResendCliSignupVerificationResponses as Wm, resendAgentSignupVerification as Wn, DeleteFunctionSecretErrors as Wo, RecipientRoute as Wp, AgentSignupVerifyResult as Wr, DownloadAttachmentsData as Ws, getAccount as Wt, GetWakeScheduleError as Wu, UpdateWakeScheduleData as Wv, Auth as Wy, isMemoryJsonValue as X, UpdateDomainData as X_, CreateWakeAuthorizationResponse as Xa, GateFix as Xc, ListFunctionSecretsError as Xd, ListWakeDispatchesErrors as Xf, SuccessEnvelope as Xg, SetFunctionRouteError as Xh, CreateChallengeResponses as Xi, GetOrgRoutingTopologyResponse as Xl, ResourceId as Xm, searchEmails as Xn, DeleteMemoryResponse as Xo, RegisterPayoutAddressResponses as Xp, AwaitReplyResponses as Xr, DownloadDomainZoneFileError as Xs, getFunctionRouting as Xt, GetWebhookSecretErrors as Xu, VerifiedDomain as Xv, EventSocketFactory as Y, UpdateAccountResponses as Y_, CreateWakeAuthorizationInput as Ya, GateDenial as Yc, ListFunctionSecretsData as Yd, ListWakeDispatchesError as Yf, StorageStats as Yg, SetFunctionRouteData as Yh, CreateChallengeResponse as Yi, GetOrgRoutingTopologyErrors as Yl, ResolveRegistryHandleResponses as Ym, sdk_gen_d_exports as Yn, DeleteMemoryErrors as Yo, RegisterPayoutAddressResponse as Yp, AwaitReplyResponse as Yr, DownloadDomainZoneFileData as Ys, getFunction as Yt, GetWebhookSecretError as Yu, UpdateWakeScheduleResponses as Yv, DEFAULT_API_BASE_URL as Z, UpdateDomainError as Z_, CreateWakeAuthorizationResponses as Za, GetAccountData as Zc, ListFunctionSecretsErrors as Zd, ListWakeDispatchesResponse as Zf, TemplateAuthor as Zg, SetFunctionRouteErrors as Zh, CreateEmailChallengeData as Zi, GetOrgRoutingTopologyResponses as Zl, RotateWebhookSecretData as Zm, searchMemories as Zn, DeleteMemoryResponses as Zo, Registry as Zp, AwaitReplyResult as Zr, DownloadDomainZoneFileErrors as Zs, getFunctionTestRunTrace as Zt, GetWebhookSecretResponse as Zu, VerifyAgentClaimData as Zv, MemorySearchResponse as _, TestEndpointRulesData as __, CreateFunctionErrors as _a, EmailAuth as _c, ListDeclinedPaymentsResponses as _d, ListRegistriesErrors as _f, SetOrgSecretResponses as _g, SearchMemoriesResponse as _h, CliSignupResendResult as _i, GetEmailData as _l, ReplayEmailWebhooksError as _m, listEndpoints as _n, DeleteDomainData as _o, PayChallengeError as _p, updateFilter as _r, DeleteSentEmailResponse as _s, createFunctionSecret as _t, GetSentEmailResponses as _u, UpdateFunctionInput as _v, VerifyDomainErrors as _y, CreatedAgent as a, TemplateRegistrySummary as a_, CreateEndpointErrors as aa, DownloadRawEmailData as ac, InboxStatusRecentEmailSummary as ad, ListOrgSecretsData as af, SetFunctionSecretResponses as ag, RunWakeScheduleError as ah, CheckDomainDnsErrors as ai, GetAgentResponse as al, ReorderRoutesData as am, getSpendPolicy as an, DecideRegistryRequestData as ao, MemoryResolvedScope as ap, startAgentClaim as ar, DeleteRegistryError as as, awaitReply as at, GetRegistryErrors as au, UpdateEndpointInput as av, VerifyAgentSignupErrors as ay, PrimitiveClientOptions as b, TestEndpointRulesInput as b_, CreateFunctionResponses as ba, EmailSearchFacetBucket as bc, ListDeliveriesErrors as bd, ListRegistryAgentsData as bf, SimulateRouteErrors as bg, SemanticSearchData as bh, CompleteWebhookEventData as bi, GetEmailResponse as bl, ReplayEmailWebhooksResponses as bm, listFunctionSecrets as bn, DeleteDomainResponse as bo, PayChallengeResponse as bp, updateRoute as br, DeleteWakeAuthorizationError as bs, createRoute as bt, GetSpendPolicyErrors as bu, UpdateRegistryData as bv, WakeAuthorization as by, InboxResource as c, TemplateSetup as c_, CreateEndpointResponses as ca, DownloadRawEmailResponse as cc, InstallTemplateError as cd, ListOrgSecretsResponse as cf, SetMemoryErrors as cg, RunWakeScheduleResponses as ch, CliLoginPollResult as ci, GetChallengeError as cl, ReorderRoutesInput as cm, getTemplateInstall as cn, DecideRegistryRequestInput as co, MemoryScopeQueryType as cp, startCliSignup as cr, DeleteRegistryResponses as cs, cliLogout as ct, GetSendPermissionsData as cu, UpdateFilterData as cv, VerifyAgentSignupResponses as cy, MemoryDeleteInput as d, TemplateVariableValidation as d_, CreateFilterErrors as da, DownloadSentAttachmentPartError as dc, InstallTemplateResponses as dd, ListPayoutAddressesError as df, SetMemoryResponses as dg, SearchEmailsErrors as dh, CliLogoutError as di, GetChallengeResponses as dl, ReplayDeliveryData as dm, getWebhookSecret as dn, DefineAgentData as do, OrgSecretWriteResult as dp, testFunction as dr, DeleteRouteErrors as ds, createAgentClaimLink as dt, GetSendPermissionsResponse as du, UpdateFilterInput as dv, VerifyCliSignupErrors as dy, TemplateInstallStatus as e_, CreateEmailChallengeInput as ea, DownloadEmailAttachmentPartData as ec, InboxStatus as ed, ListFunctionsData as ef, SetFunctionSecretData as eg, RotateWebhookSecretResponse as eh, CancelSentEmailErrors as ei, GetAccountResponse as el, RemoveAgentConnectionData as em, getOrgRoutingTopology as en, CreateWakeScheduleErrors as eo, ListWakeSchedulesError as ep, setFunctionRoute as er, DeleteOrgSecretError as es, PrimitiveApiError as et, GetOutboundStatusErrors as eu, UpdateDomainResponse as ev, VerifyAgentClaimInput as ey, MemoryGetInput as f, TestEndpointData as f_, CreateFilterInput as fa, DownloadSentAttachmentPartErrors as fc, Limit as fd, ListPayoutAddressesErrors as ff, SetOrgSecretData as fg, SearchEmailsResponse as fh, CliLogoutErrors as fi, GetConversationData as fl, ReplayDeliveryError as fm, installTemplate as fn, DefineAgentError as fo, OutboundStatus as fp, unpublishAgent as fr, DeleteRouteResponse as fs, createChallenge as ft, GetSendPermissionsResponses as fu, UpdateFilterResponse as fv, VerifyCliSignupInput as fy, MemorySearchInput as g, TestEndpointResponses as g_, CreateFunctionError as ga, EmailAttachment as gc, ListDeclinedPaymentsResponse as gd, ListRegistriesError as gf, SetOrgSecretResponse as gg, SearchMemoriesErrors as gh, CliLogoutResult as gi, GetConversationResponses as gl, ReplayEmailWebhooksData as gm, listEmails as gn, DefineAgentResponses as go, PayChallengeData as gp, updateEndpoint as gr, DeleteSentEmailErrors as gs, createFunction as gt, GetSentEmailResponse as gu, UpdateFunctionErrors as gv, VerifyDomainError as gy, MemoryRecordWithValue as h, TestEndpointResponse as h_, CreateFunctionData as ha, EmailAddress as hc, ListDeclinedPaymentsErrors as hd, ListRegistriesData as hf, SetOrgSecretInput as hg, SearchMemoriesError as hh, CliLogoutResponses as hi, GetConversationResponse as hl, ReplayDeliveryResponses as hm, listDomains as hn, DefineAgentResponse as ho, ParsedEmailData as hp, updateDomain as hr, DeleteSentEmailError as hs, createFilter as ht, GetSentEmailErrors as hu, UpdateFunctionError as hv, VerifyDomainData as hy, CreateAgentOptions as i, TemplateRegistryStatus as i_, CreateEndpointError as ia, DownloadEmailAttachmentPartResponses as ic, InboxStatusNextAction as id, ListFunctionsResponses as if, SetFunctionSecretResponse as ig, RunWakeScheduleData as ih, CheckDomainDnsError as ii, GetAgentErrors as il, RemoveAgentConnectionResponses as im, getSentEmail as in, Cursor as io, MemoryKeyQuery as ip, simulateRoute as ir, DeleteRegistryData as is, addDomain as it, GetRegistryError as iu, UpdateEndpointErrors as iv, VerifyAgentSignupError as iy, client as j, Thread as j_, CreateOrgSecretInput as ja, FunctionDeployStatus as jc, ListEmailsResponse as jd, ListRoutesResponse as jf, StartAgentSignupData as jg, SendEmailError as jh, Conversation as ji, GetFunctionRoutingResponses as jl, RescheduleSentEmailResponse as jm, listWakeDispatches as jn, DeleteEndpointResponses as jo, PublishAgentErrors as jp, AddDomainError as jr, DiscardContentResult as js, deleteMemory as jt, GetTemplateInstallData as ju, UpdateRouteResponses as jv, X402PayoutAddress as jy, SendThreadInput as k, TestInvocationResult as k_, CreateOrgSecretError as ka, ErrorResponse as kc, ListEmailsError as kd, ListRoutesError as kf, StartAgentClaimResponse as kg, SemanticSearchSnippet as kh, CompleteWebhookSdkInput as ki, GetFunctionRoutingErrors as kl, RescheduleSentEmailError as km, listTemplates as kn, DeleteEndpointErrors as ko, PublishAgentData as kp, AccountUpdated as kr, DeliveryStatus as ks, deleteFunction as kt, GetTemplateError as ku, UpdateRouteInput as kv, X402PaymentPayload as ky, InboxStreamOptions as l, TemplateSource as l_, CreateFilterData as la, DownloadRawEmailResponses as lc, InstallTemplateErrors as ld, ListOrgSecretsResponses as lf, SetMemoryInput as lg, SearchEmailsData as lh, CliLoginStartResult as li, GetChallengeErrors as ll, ReorderRoutesResponse as lm, getThread as ln, DecideRegistryRequestResponse as lo, NumericString as lp, testEndpoint as lr, DeleteRouteData as ls, completeWebhookEvent as lt, GetSendPermissionsError as lu, UpdateFilterError as lv, VerifyCliSignupData as ly, MemoryRecord as m, TestEndpointErrors as m_, CreateFilterResponses as ma, DownloadSentAttachmentPartResponses as mc, ListDeclinedPaymentsError as md, ListPayoutAddressesResponses as mf, SetOrgSecretErrors as mg, SearchMemoriesData as mh, CliLogoutResponse as mi, GetConversationErrors as ml, ReplayDeliveryResponse as mm, listDeliveries as mn, DefineAgentInput as mo, PaginationMeta as mp, updateAccount as mr, DeleteSentEmailData as ms, createEndpoint as mt, GetSentEmailError as mu, UpdateFunctionData as mv, VerifyCliSignupResponses as my, AgentResource as n, TemplateRegistryDetail as n_, CreateEmailChallengeResponses as na, DownloadEmailAttachmentPartErrors as nc, InboxStatusEndpointSummary as nd, ListFunctionsErrors as nf, SetFunctionSecretErrors as ng, RouteEvaluatedEntry as nh, CancelSentEmailResponses as ni, GetAgentData as nl, RemoveAgentConnectionErrors as nm, getRegistry as nn, CreateWakeScheduleResponse as no, ListWakeSchedulesResponse as np, setMemory as nr, DeleteOrgSecretResponse as ns, RequestOptions$1 as nt, GetOutboundStatusResponses as nu, UpdateEndpointData as nv, VerifyAgentClaimResponses as ny, ForwardInput as o, TemplateSecret as o_, CreateEndpointInput as oa, DownloadRawEmailError as oc, InstallTemplateBody as od, ListOrgSecretsError as of, SetMemoryData as og, RunWakeScheduleErrors as oh, CheckDomainDnsResponse as oi, GetAgentResponses as ol, ReorderRoutesError as om, getStorageStats as on, DecideRegistryRequestError as oo, MemoryScope as op, startAgentSignup as or, DeleteRegistryErrors as os, cancelSentEmail as ot, GetRegistryResponse as ou, UpdateEndpointResponse as ov, VerifyAgentSignupInput as oy, MemoryJsonValue as p, TestEndpointError as p_, CreateFilterResponse as pa, DownloadSentAttachmentPartResponse as pc, ListDeclinedPaymentsData as pd, ListPayoutAddressesResponse as pf, SetOrgSecretError as pg, SearchEmailsResponses as ph, CliLogoutInput as pi, GetConversationError as pl, ReplayDeliveryErrors as pm, listDeclinedPayments as pn, DefineAgentErrors as po, OutboundStatusDomain as pp, unsetFunctionRoute as pr, DeleteRouteResponses as ps, createEmailChallenge as pt, GetSentEmailData as pu, UpdateFilterResponses as pv, VerifyCliSignupResponse as py, EventOffer as q, UpdateAccountInput as q_, CreateWakeAuthorizationError as qa, FunctionTestRunState as qc, ListFunctionLogsResponse as qd, ListWakeAuthorizationsResponses as qf, StartCliSignupResponse as qg, SentEmailStatus as qh, CreateChallengeErrors as qi, GetOrgRoutingTopologyData as ql, ResolveRegistryHandleErrors as qm, rotateWebhookSecret as qn, DeleteMemoryData as qo, RegisterPayoutAddressErrors as qp, AwaitReplyError as qr, DownloadAttachmentsResponse as qs, getConversation as qt, GetWakeScheduleResponses as qu, UpdateWakeScheduleInput as qv, AttachmentPartDownload as r, TemplateRegistryPage as r_, CreateEndpointData as ra, DownloadEmailAttachmentPartResponse as rc, InboxStatusFunctionSummary as rd, ListFunctionsResponse as rf, SetFunctionSecretInput as rg, RoutingTopology as rh, CheckDomainDnsData as ri, GetAgentError as rl, RemoveAgentConnectionResponse as rm, getSendPermissions as rn, CreateWakeScheduleResponses as ro, ListWakeSchedulesResponses as rp, setOrgSecret as rr, DeleteOrgSecretResponses as rs, createPrimitiveApiClient as rt, GetRegistryData as ru, UpdateEndpointError as rv, VerifyAgentSignupData as ry, InboundEmail as s, TemplateSecretGroup as s_, CreateEndpointResponse as sa, DownloadRawEmailErrors as sc, InstallTemplateData as sd, ListOrgSecretsErrors as sf, SetMemoryError as sg, RunWakeScheduleResponse as sh, CheckDomainDnsResponses as si, GetChallengeData as sl, ReorderRoutesErrors as sm, getTemplate as sn, DecideRegistryRequestErrors as so, MemoryScopeId as sp, startCliLogin as sr, DeleteRegistryResponse as ss, checkDomainDns as st, GetRegistryResponses as su, UpdateEndpointResponses as sv, VerifyAgentSignupResponse as sy, AccountResource as t, TemplateManifest as t_, CreateEmailChallengeResponse as ta, DownloadEmailAttachmentPartError as tc, InboxStatusDomain as td, ListFunctionsError as tf, SetFunctionSecretError as tg, RotateWebhookSecretResponses as th, CancelSentEmailResponse as ti, GetAccountResponses as tl, RemoveAgentConnectionError as tm, getOutboundStatus as tn, CreateWakeScheduleInput as to, ListWakeSchedulesErrors as tp, setFunctionSecret as tr, DeleteOrgSecretErrors as ts, PrimitiveApiErrorDetails as tt, GetOutboundStatusResponse as tu, UpdateDomainResponses as tv, VerifyAgentClaimResponse as ty, MemoriesResource as u, TemplateVariable as u_, CreateFilterError as ua, DownloadSentAttachmentPartData as uc, InstallTemplateResponse as ud, ListPayoutAddressesData as uf, SetMemoryResponse as ug, SearchEmailsError as uh, CliLogoutData as ui, GetChallengeResponse as ul, ReorderRoutesResponses as um, getWakeSchedule as un, DecideRegistryRequestResponses as uo, OrgSecretListItem as up, testEndpointRules as ur, DeleteRouteError as us, createAgentAccount as ut, GetSendPermissionsErrors as uu, UpdateFilterErrors as uv, VerifyCliSignupError as uy, MemorySetInput as v, TestEndpointRulesError as v_, CreateFunctionInput as va, EmailDetail as vc, ListDeliveriesData as vd, ListRegistriesResponse as vf, SimulateRouteData as vg, SearchMemoriesResponses as vh, CliSignupStartResult as vi, GetEmailError as vl, ReplayEmailWebhooksErrors as vm, listFilters as vn, DeleteDomainError as vo, PayChallengeErrors as vp, updateFunction as vr, DeleteSentEmailResponses as vs, createOrgSecret as vt, GetSpendPolicyData as vu, UpdateFunctionResponse as vv, VerifyDomainResponse as vy, SendAttachment as w, TestFunctionData as w_, CreateFunctionSecretErrors as wa, EmailSearchResult as wc, ListDomainsError as wd, ListRegistryRequestsError as wf, SimulateRouteResult as wg, SemanticSearchInput as wh, CompleteWebhookEventResponses as wi, GetFunctionErrors as wl, ReplyToEmailError as wm, listRegistries as wn, DeleteEmailErrors as wo, PollCliLoginError as wp, verifyAgentClaim as wr, DeleteWakeScheduleData as ws, defineAgent as wt, GetStorageStatsError as wu, UpdateRegistryResponse as wv, X402Challenge as wy, ReplyInput as x, TestEndpointRulesResponse as x_, CreateFunctionResult as xa, EmailSearchFacets as xc, ListDeliveriesResponse as xd, ListRegistryAgentsResponse as xf, SimulateRouteInput as xg, SemanticSearchError as xh, CompleteWebhookEventError as xi, GetEmailResponses as xl, ReplayResult as xm, listFunctions as xn, DeleteDomainResponses as xo, PayChallengeResponses as xp, updateSpendPolicy as xr, DeleteWakeAuthorizationErrors as xs, createWakeAuthorization as xt, GetSpendPolicyResponse as xu, UpdateRegistryError as xv, WakeDispatch as xy, PrimitiveClient as y, TestEndpointRulesErrors as y_, CreateFunctionResponse as ya, EmailDetailReply as yc, ListDeliveriesError as yd, ListRegistriesResponses as yf, SimulateRouteError as yg, SemanticSearchCoverage as yh, CliSignupVerifyResult as yi, GetEmailErrors as yl, ReplayEmailWebhooksResponse as ym, listFunctionLogs as yn, DeleteDomainErrors as yo, PayChallengeInput as yp, updateRegistry as yr, DeleteWakeAuthorizationData as ys, createRegistry as yt, GetSpendPolicyError as yu, UpdateFunctionResponses as yv, VerifyDomainResponses as yy, EventListener as z, UnsetFunctionRouteError as z_, CreateRegistryResponses as za, FunctionSecretWriteResult as zc, ListFiltersData as zd, ListTemplatesError as zf, StartCliLoginErrors as zg, SendPermissionAddress as zh, CreateAgentClaimLinkData as zi, GetInboxStatusErrors as zl, ResendCliSignupVerificationData as zm, reorderRoutes as zn, DeleteFunctionErrors as zo, PullWebhookEventErrors as zp, AgentClaimResult as zr, DomainDnsHealthCheck as zs, downloadAttachments as zt, GetThreadError as zu, UpdateWakeAuthorizationError as zv, Options$1 as zy };
|
|
12191
|
+
export { PrimitiveApiClientOptions as $, UnsetFunctionRouteData as $_, CreateWakeAuthorizationResponses as $a, GateDenial as $c, ListFunctionLogsData as $d, ListWakeAuthorizationsError as $f, StartCliLoginError as $g, SendMailResult as $h, CreateEmailChallengeData as $i, GetMemoryErrors as $l, ResendAgentSignupVerificationResponses as $m, searchMemories as $n, DeleteMemoryErrors as $o, RecipientRoute as $p, AwaitReplyResult as $r, DownloadDomainZoneFileData as $s, getInboxStatus as $t, GetWakeScheduleError as $u, UpdateWakeAuthorizationData as $v, CreateClientConfig as $y, WaitForNextOptions as A, TestEndpointResponse as A_, CreateOrgSecretData as Aa, EmailSummary as Ac, ListDeliveriesResponse as Ad, ListRegistryAgentsResponse as Af, SetOrgSecretInput as Ag, SearchMemoriesError as Ah, CompleteWebhookResponse as Ai, GetEmailResponses as Al, ReplayDeliveryResponses as Am, listTemplates as An, DeleteEmailResponses as Ao, PayChallengeResponses as Ap, Account as Ar, DeleteWakeScheduleErrors as As, deleteFunctionSecret as At, GetSpendPolicyResponse as Au, UpdateFunctionError as Av, VerifyDomainData as Ay, EventStatus as B, TestFunctionError as B_, CreateRegistryResponse as Ba, FunctionRouteResult as Bc, ListEmailsResponse as Bd, ListRoutesResponse as Bf, StartAgentClaimData as Bg, SemanticSearchMeta as Bh, CreateAgentAccountResponses as Bi, GetFunctionRoutingResponses as Bl, ReplyToEmailErrors as Bm, removeAgentConnection as Bn, DeleteFilterResponses as Bo, PublishAgentErrors as Bp, AgentClaimLinkResult as Br, DiscardEmailContentResponses as Bs, downloadDomainZoneFile as Bt, GetTemplateInstallData as Bu, UpdateRegistryResponses as Bv, X402DeclinedPayment as By, SemanticSearchResponse as C, TemplateSetup as C_, CreateFunctionResult as Ca, EmailDetailReply as Cc, ListDeclinedPaymentsError as Cd, ListPayoutAddressesResponses as Cf, SetMemoryErrors as Cg, RunWakeScheduleResponses as Ch, CompleteWebhookEventError as Ci, GetCreditBalanceErrors as Cl, ReorderRoutesInput as Cm, listOrgSecrets as Cn, DeleteDomainErrors as Co, PaginationMeta as Cp, updateSpendPolicy as Cr, DeleteWakeAuthorizationData as Cs, decideRegistryRequest as Ct, GetSentEmailError as Cu, UpdateFilterData as Cv, VerifyAgentSignupResponses as Cy, SendPayloadReference as D, TestEndpointData as D_, CreateFunctionSecretInput as Da, EmailSearchMeta as Dc, ListDeliveriesData as Dd, ListRegistriesResponse as Df, SetOrgSecretData as Dg, SearchEmailsResponse as Dh, CompleteWebhookExecInput as Di, GetEmailError as Dl, ReplayDeliveryError as Dm, listRegistryRequests as Dn, DeleteEmailError as Do, PayChallengeErrors as Dp, verifyAgentSignup as Dr, DeleteWakeAuthorizationResponses as Ds, deleteEndpoint as Dt, GetSpendPolicyData as Du, UpdateFilterResponse as Dv, VerifyCliSignupInput as Dy, SendInput as E, TemplateVariableValidation as E_, CreateFunctionSecretErrors as Ea, EmailSearchHighlights as Ec, ListDeclinedPaymentsResponses as Ed, ListRegistriesErrors as Ef, SetMemoryResponses as Eg, SearchEmailsErrors as Eh, CompleteWebhookEventResponses as Ei, GetEmailData as El, ReplayDeliveryData as Em, listRegistryAgents as En, DeleteEmailData as Eo, PayChallengeError as Ep, verifyAgentClaim as Er, DeleteWakeAuthorizationResponse as Es, deleteEmail as Et, GetSentEmailResponses as Eu, UpdateFilterInput as Ev, VerifyCliSignupErrors as Ey, VerifyOptions as F, TestEndpointRulesInput as F_, CreateOrgSecretResponses as Fa, FunctionDeployStatus as Fc, ListDomainsResponse as Fd, ListRegistryRequestsResponse as Ff, SimulateRouteErrors as Fg, SemanticSearchData as Fh, CreateAgentAccountData as Fi, GetFunctionResponses as Fl, ReplayEmailWebhooksResponses as Fm, pollCliLogin as Fn, DeleteEndpointResponses as Fo, PollCliLoginInput as Fp, AddDomainInput as Fr, DiscardContentResult as Fs, deleteSentEmail as Ft, GetStorageStatsResponse as Fu, UpdateRegistryData as Fv, WakeAuthorization as Fy, EventConnection as G, TestResult as G_, CreateRouteInput as Ga, FunctionTestRunDelivery as Gc, ListEndpointsResponse as Gd, ListSentEmailsResponse as Gf, StartAgentClaimResponses as Gg, SendEmailData as Gh, CreateAgentClaimLinkResponse as Gi, GetFunctionTestRunTraceResponses as Gl, RescheduleSentEmailErrors as Gm, rescheduleSentEmail as Gn, DeleteFunctionResponses as Go, PublishPolicy as Gp, AgentSignupStartResult as Gr, DomainDnsHealthStatus as Gs, getAgent as Gt, GetTemplateResponse as Gu, UpdateRouteResponse as Gv, X402PaymentRequirements as Gy, EventsResource as H, TestFunctionResponse as H_, CreateRouteData as Ha, FunctionSecretListItem as Hc, ListEndpointsData as Hd, ListSentEmailsData as Hf, StartAgentClaimErrors as Hg, SemanticSearchResult as Hh, CreateAgentClaimLinkError as Hi, GetFunctionTestRunTraceError as Hl, ReplyToEmailResponses as Hm, replayDelivery as Hn, DeleteFunctionError as Ho, PublishAgentResponse as Hp, AgentClaimStartResult as Hr, Domain as Hs, downloadRawEmail as Ht, GetTemplateInstallErrors as Hu, UpdateRouteError as Hv, X402EmailChallengeDetails as Hy, verifyWebhookSignature as I, TestEndpointRulesResponse as I_, CreateRegistryData as Ia, FunctionDetail as Ic, ListDomainsResponses as Id, ListRegistryRequestsResponses as If, SimulateRouteInput as Ig, SemanticSearchError as Ih, CreateAgentAccountError as Ii, GetFunctionRoutingData as Il, ReplayResult as Im, publishAgent as In, DeleteFilterData as Io, PollCliLoginResponse as Ip, AddDomainResponse as Ir, DiscardEmailContentData as Is, deleteWakeAuthorization as It, GetStorageStatsResponses as Iu, UpdateRegistryError as Iv, WakeDispatch as Iy, EventReceiverError as J, UnpublishAgentData as J_, CreateWakeAuthorizationData as Ja, FunctionTestRunOutboundRequest as Jc, ListFiltersData as Jd, ListTemplatesError as Jf, StartAgentSignupErrors as Jg, SendEmailResponse as Jh, CreateChallengeError as Ji, GetInboxStatusErrors as Jl, ResendAgentSignupVerificationData as Jm, resolveRegistryHandle as Jn, DeleteFunctionSecretErrors as Jo, PullWebhookEventErrors as Jp, AwaitReplyData as Jr, DownloadAttachmentsData as Js, getCreditBalance as Jt, GetThreadError as Ju, UpdateSpendPolicyError as Jv, X402SpendPolicy as Jy, EventDelivery as K, Thread as K_, CreateRouteResponse as Ka, FunctionTestRunDeliveryEndpoint as Kc, ListEndpointsResponses as Kd, ListSentEmailsResponses as Kf, StartAgentSignupData as Kg, SendEmailError as Kh, CreateAgentClaimLinkResponses as Ki, GetInboxStatusData as Kl, RescheduleSentEmailResponse as Km, resendAgentSignupVerification as Kn, DeleteFunctionSecretData as Ko, PullWebhookEventData as Kp, AgentSignupVerifyResult as Kr, DomainDnsRecord as Ks, getChallenge as Kt, GetTemplateResponses as Ku, UpdateRouteResponses as Kv, X402PayoutAddress as Ky, DeliveryExpired as L, TestEndpointRulesResponses as L_, CreateRegistryError as La, FunctionListItem as Lc, ListEmailsData as Ld, ListRoutesData as Lf, SimulateRouteResponse as Lg, SemanticSearchErrors as Lh, CreateAgentAccountErrors as Li, GetFunctionRoutingError as Ll, ReplyEmail as Lm, pullWebhookEvent as Ln, DeleteFilterError as Lo, PollCliLoginResponses as Lp, AddDomainResponses as Lr, DiscardEmailContentError as Ls, deleteWakeSchedule as Lt, GetTemplateData as Lu, UpdateRegistryErrors as Lv, WakeSchedule as Ly, createAgent as M, TestEndpointRulesData as M_, CreateOrgSecretErrors as Ma, Endpoint as Mc, ListDomainsData as Md, ListRegistryRequestsData as Mf, SetOrgSecretResponses as Mg, SearchMemoriesResponse as Mh, CompleteWebhookStdoutInput as Mi, GetFunctionError as Ml, ReplayEmailWebhooksError as Mm, listWakeDispatches as Mn, DeleteEndpointError as Mo, PollCliLoginData as Mp, AddDomainData as Mr, DeleteWakeScheduleResponses as Ms, deleteOrgSecret as Mt, GetStorageStatsData as Mu, UpdateFunctionInput as Mv, VerifyDomainErrors as My, createPrimitiveClient as N, TestEndpointRulesError as N_, CreateOrgSecretInput as Na, ErrorResponse as Nc, ListDomainsError as Nd, ListRegistryRequestsError as Nf, SimulateRouteData as Ng, SearchMemoriesResponses as Nh, Conversation as Ni, GetFunctionErrors as Nl, ReplayEmailWebhooksErrors as Nm, listWakeSchedules as Nn, DeleteEndpointErrors as No, PollCliLoginError as Np, AddDomainError as Nr, DeliveryStatus as Ns, deleteRegistry as Nt, GetStorageStatsError as Nu, UpdateFunctionResponse as Nv, VerifyDomainResponse as Ny, SendResult as O, TestEndpointError as O_, CreateFunctionSecretResponse as Oa, EmailSearchResult as Oc, ListDeliveriesError as Od, ListRegistriesResponses as Of, SetOrgSecretError as Og, SearchEmailsResponses as Oh, CompleteWebhookHttpInput as Oi, GetEmailErrors as Ol, ReplayDeliveryErrors as Om, listRoutes as On, DeleteEmailErrors as Oo, PayChallengeInput as Op, verifyCliSignup as Or, DeleteWakeScheduleData as Os, deleteFilter as Ot, GetSpendPolicyError as Ou, UpdateFilterResponses as Ov, VerifyCliSignupResponse as Oy, PRIMITIVE_SIGNATURE_HEADER as P, TestEndpointRulesErrors as P_, CreateOrgSecretResponse as Pa, Filter as Pc, ListDomainsErrors as Pd, ListRegistryRequestsErrors as Pf, SimulateRouteError as Pg, SemanticSearchCoverage as Ph, ConversationMessage as Pi, GetFunctionResponse as Pl, ReplayEmailWebhooksResponse as Pm, payChallenge as Pn, DeleteEndpointResponse as Po, PollCliLoginErrors as Pp, AddDomainErrors as Pr, DeliverySummary as Ps, deleteRoute as Pt, GetStorageStatsErrors as Pu, UpdateFunctionResponses as Pv, VerifyDomainResponses as Py, PrimitiveApiClient as Q, UnpublishAgentResponses as Q_, CreateWakeAuthorizationResponse as Qa, FunctionTestRunTrace as Qc, ListFiltersResponses as Qd, ListWakeAuthorizationsData as Qf, StartCliLoginData as Qg, SendMailPayloadRef as Qh, CreateChallengeResponses as Qi, GetMemoryError as Ql, ResendAgentSignupVerificationResponse as Qm, searchEmails as Qn, DeleteMemoryError as Qo, PullWebhookResponse as Qp, AwaitReplyResponses as Qr, DownloadAttachmentsResponses as Qs, getFunctionTestRunTrace as Qt, GetWakeScheduleData as Qu, UpdateSpendPolicyResponses as Qv, Config as Qy, EventListenOptions as R, TestEndpointRulesResult as R_, CreateRegistryErrors as Ra, FunctionLogRow as Rc, ListEmailsError as Rd, ListRoutesError as Rf, SimulateRouteResponses as Rg, SemanticSearchField as Rh, CreateAgentAccountInput as Ri, GetFunctionRoutingErrors as Rl, ReplyToEmailData as Rm, redeemCreditCode as Rn, DeleteFilterErrors as Ro, PublishAgentData as Rp, AgentAccountResult as Rr, DiscardEmailContentErrors as Rs, discardEmailContent as Rt, GetTemplateError as Ru, UpdateRegistryInput as Rv, WebhookSecret as Ry, RequestOptions as S, TemplateSecretGroup as S_, CreateFunctionResponses as Sa, EmailDetail as Sc, ListDeclinedPaymentsData as Sd, ListPayoutAddressesResponse as Sf, SetMemoryError as Sg, RunWakeScheduleResponse as Sh, CompleteWebhookEventData as Si, GetCreditBalanceError as Sl, ReorderRoutesErrors as Sm, listFunctions as Sn, DeleteDomainError as So, OutboundStatusDomain as Sp, updateRoute as Sr, DeleteSentEmailResponses as Ss, createWakeSchedule as St, GetSentEmailData as Su, UpdateEndpointResponses as Sv, VerifyAgentSignupResponse as Sy, SendAttachmentInput as T, TemplateVariable as T_, CreateFunctionSecretError as Ta, EmailSearchFacets as Tc, ListDeclinedPaymentsResponse as Td, ListRegistriesError as Tf, SetMemoryResponse as Tg, SearchEmailsError as Th, CompleteWebhookEventResponse as Ti, GetCreditBalanceResponses as Tl, ReorderRoutesResponses as Tm, listRegistries as Tn, DeleteDomainResponses as To, PayChallengeData as Tp, updateWakeSchedule as Tr, DeleteWakeAuthorizationErrors as Ts, deleteDomain as Tt, GetSentEmailResponse as Tu, UpdateFilterErrors as Tv, VerifyCliSignupError as Ty, LocalEvent as U, TestFunctionResponses as U_, CreateRouteError as Ua, FunctionSecretWriteResult as Uc, ListEndpointsError as Ud, ListSentEmailsError as Uf, StartAgentClaimInput as Ug, SemanticSearchScoreBreakdown as Uh, CreateAgentClaimLinkErrors as Ui, GetFunctionTestRunTraceErrors as Ul, RescheduleSentEmailData as Um, replayEmailWebhooks as Un, DeleteFunctionErrors as Uo, PublishAgentResponses as Up, AgentOrgRef as Ur, DomainDnsHealthCheck as Us, downloadSentAttachmentPart as Ut, GetTemplateInstallResponse as Uu, UpdateRouteErrors as Uv, X402NonceBinding as Uy, EventWaitOptions as V, TestFunctionErrors as V_, CreateRegistryResponses as Va, FunctionRouting as Vc, ListEmailsResponses as Vd, ListRoutesResponses as Vf, StartAgentClaimError as Vg, SemanticSearchResponses as Vh, CreateAgentClaimLinkData as Vi, GetFunctionTestRunTraceData as Vl, ReplyToEmailResponse as Vm, reorderRoutes as Vn, DeleteFunctionData as Vo, PublishAgentInput as Vp, AgentClaimResult as Vr, DkimSignature as Vs, downloadEmailAttachmentPart as Vt, GetTemplateInstallError as Vu, UpdateRouteData as Vv, X402EmailChallenge as Vy, PendingEvent as W, TestInvocationResult as W_, CreateRouteErrors as Wa, FunctionTestRun as Wc, ListEndpointsErrors as Wd, ListSentEmailsErrors as Wf, StartAgentClaimResponse as Wg, SemanticSearchSnippet as Wh, CreateAgentClaimLinkInput as Wi, GetFunctionTestRunTraceResponse as Wl, RescheduleSentEmailError as Wm, replyToEmail as Wn, DeleteFunctionResponse as Wo, PublishAgentResult as Wp, AgentSignupResendResult as Wr, DomainDnsHealthScope as Ws, getAccount as Wt, GetTemplateInstallResponses as Wu, UpdateRouteInput as Wv, X402PaymentPayload as Wy, isMemoryJsonValue as X, UnpublishAgentErrors as X_, CreateWakeAuthorizationErrors as Xa, FunctionTestRunSend as Xc, ListFiltersErrors as Xd, ListTemplatesResponse as Xf, StartAgentSignupResponse as Xg, SendMailAttachment as Xh, CreateChallengeInput as Xi, GetInboxStatusResponses as Xl, ResendAgentSignupVerificationErrors as Xm, runWakeSchedule as Xn, DeleteFunctionSecretResponses as Xo, PullWebhookEventResponses as Xp, AwaitReplyErrors as Xr, DownloadAttachmentsErrors as Xs, getFunction as Xt, GetThreadResponse as Xu, UpdateSpendPolicyInput as Xv, Client as Xy, EventSocketFactory as Y, UnpublishAgentError as Y_, CreateWakeAuthorizationError as Ya, FunctionTestRunReply as Yc, ListFiltersError as Yd, ListTemplatesErrors as Yf, StartAgentSignupInput as Yg, SendEmailResponses as Yh, CreateChallengeErrors as Yi, GetInboxStatusResponse as Yl, ResendAgentSignupVerificationError as Ym, rotateWebhookSecret as Yn, DeleteFunctionSecretResponse as Yo, PullWebhookEventResponse as Yp, AwaitReplyError as Yr, DownloadAttachmentsError as Ys, getEmail as Yt, GetThreadErrors as Yu, UpdateSpendPolicyErrors as Yv, createClient as Yy, DEFAULT_API_BASE_URL as Z, UnpublishAgentResponse as Z_, CreateWakeAuthorizationInput as Za, FunctionTestRunState as Zc, ListFiltersResponse as Zd, ListTemplatesResponses as Zf, StartAgentSignupResponses as Zg, SendMailInput as Zh, CreateChallengeResponse as Zi, GetMemoryData as Zl, ResendAgentSignupVerificationInput as Zm, sdk_gen_d_exports as Zn, DeleteMemoryData as Zo, PullWebhookInput as Zp, AwaitReplyResponse as Zr, DownloadAttachmentsResponse as Zs, getFunctionRouting as Zt, GetThreadResponses as Zu, UpdateSpendPolicyResponse as Zv, ClientOptions as Zy, MemorySearchResponse as _, TemplateRegistryDetail as __, CreateFunctionData as _a, DownloadSentAttachmentPartResponse as _c, InstallTemplateError as _d, ListOrgSecretsResponse as _f, SetFunctionSecretErrors as _g, RouteEvaluatedEntry as _h, CliLogoutResponses as _i, GetConversationError as _l, RemoveAgentConnectionErrors as _m, listEmails as _n, DefineAgentErrors as _o, MemoryScopeQueryType as _p, updateDomain as _r, DeleteRouteResponses as _s, createFunctionSecret as _t, GetSendPermissionsData as _u, UpdateEndpointData as _v, VerifyAgentClaimResponses as _y, CreatedAgent as a, StartCliSignupError as a_, CreateEndpointData as aa, Auth as ab, DownloadEmailAttachmentPartError as ac, GetWebhookSecretErrors as ad, ListFunctionSecretsError as af, SendPermissionsMeta as ag, ResendCliSignupVerificationResponses as ah, CheckDomainDnsData as ai, GetAccountResponses as al, RedeemCreditCodeResponses as am, getSentEmail as an, CreateWakeScheduleResponses as ao, ListWakeDispatchesErrors as ap, setOrgSecret as ar, DeleteOrgSecretErrors as as, awaitReply as at, GetOrgRoutingTopologyResponse as au, UpdateAccountData as av, UpdateWakeScheduleData as ay, PrimitiveClientOptions as b, TemplateRegistrySummary as b_, CreateFunctionInput as ba, EmailAttachment as bc, InstallTemplateResponses as bd, ListPayoutAddressesError as bf, SetFunctionSecretResponses as bg, RunWakeScheduleError as bh, CliSignupStartResult as bi, GetConversationResponses as bl, ReorderRoutesData as bm, listFunctionLogs as bn, DefineAgentResponses as bo, OrgSecretWriteResult as bp, updateFunction as br, DeleteSentEmailErrors as bs, createRoute as bt, GetSendPermissionsResponse as bu, UpdateEndpointInput as bv, VerifyAgentSignupErrors as by, InboxResource as c, StartCliSignupResponse as c_, CreateEndpointInput as ca, DownloadEmailAttachmentPartResponses as cc, IdempotencyKey as cd, ListFunctionSecretsResponses as cf, SentEmailStatus as cg, ResolveRegistryHandleErrors as ch, CheckDomainDnsResponse as ci, GetAgentErrors as cl, RegisterPayoutAddressErrors as cm, getTemplate as cn, Cursor as co, ListWakeSchedulesData as cp, startAgentSignup as cr, DeleteRegistryData as cs, cliLogout as ct, GetOutboundStatusError as cu, UpdateAccountInput as cv, UpdateWakeScheduleInput as cy, MemoryDeleteInput as d, SuccessEnvelope as d_, CreateFilterData as da, DownloadRawEmailErrors as dc, InboxStatusEndpointSummary as dd, ListFunctionsErrors as df, SetFunctionRouteError as dg, ResourceId as dh, CliLoginStartResult as di, GetChallengeData as dl, RegisterPayoutAddressResponses as dm, getWakeSchedule as dn, DecideRegistryRequestErrors as do, ListWakeSchedulesResponse as dp, testEndpoint as dr, DeleteRegistryResponse as ds, createAgentClaimLink as dt, GetOutboundStatusResponses as du, UpdateDomainData as dv, VerifiedDomain as dy, StartCliLoginErrors as e_, CreateEmailChallengeError as ea, Options$1 as eb, DownloadDomainZoneFileError as ec, GetWakeScheduleErrors as ed, ListFunctionLogsError as ef, SendPermissionAddress as eg, ResendCliSignupVerificationData as eh, CancelSentEmailData as ei, GateFix as el, RedeemCreditCodeData as em, getMemory as en, CreateWakeScheduleData as eo, ListWakeAuthorizationsErrors as ep, semanticSearch as er, DeleteMemoryResponse as es, PrimitiveApiError as et, GetMemoryResponse as eu, UnsetFunctionRouteError as ev, UpdateWakeAuthorizationError as ey, MemoryGetInput as f, TemplateAuthor as f_, CreateFilterError as fa, DownloadRawEmailResponse as fc, InboxStatusFunctionSummary as fd, ListFunctionsResponse as ff, SetFunctionRouteErrors as fg, RotateWebhookSecretData as fh, CliLogoutData as fi, GetChallengeError as fl, Registry as fm, getWebhookSecret as fn, DecideRegistryRequestInput as fo, ListWakeSchedulesResponses as fp, testEndpointRules as fr, DeleteRegistryResponses as fs, createChallenge as ft, GetRegistryData as fu, UpdateDomainError as fv, VerifyAgentClaimData as fy, MemorySearchInput as g, TemplateManifest as g_, CreateFilterResponses as ga, DownloadSentAttachmentPartErrors as gc, InstallTemplateData as gd, ListOrgSecretsErrors as gf, SetFunctionSecretError as gg, RotateWebhookSecretResponses as gh, CliLogoutResponse as gi, GetConversationData as gl, RemoveAgentConnectionError as gm, listDomains as gn, DefineAgentError as go, MemoryScopeId as gp, updateAccount as gr, DeleteRouteResponse as gs, createFunction as gt, GetRegistryResponses as gu, UpdateDomainResponses as gv, VerifyAgentClaimResponse as gy, MemoryRecordWithValue as h, TemplateInstallStatus as h_, CreateFilterResponse as ha, DownloadSentAttachmentPartError as hc, InstallTemplateBody as hd, ListOrgSecretsError as hf, SetFunctionSecretData as hg, RotateWebhookSecretResponse as hh, CliLogoutInput as hi, GetChallengeResponses as hl, RemoveAgentConnectionData as hm, listDeliveries as hn, DefineAgentData as ho, MemoryScope as hp, unsetFunctionRoute as hr, DeleteRouteErrors as hs, createFilter as ht, GetRegistryResponse as hu, UpdateDomainResponse as hv, VerifyAgentClaimInput as hy, CreateAgentOptions as i, StartCliSignupData as i_, CreateEmailChallengeResponses as ia, createConfig as ib, DownloadEmailAttachmentPartData as ic, GetWebhookSecretError as id, ListFunctionSecretsData as if, SendPermissionYourDomain as ig, ResendCliSignupVerificationResponse as ih, CancelSentEmailResponses as ii, GetAccountResponse as il, RedeemCreditCodeResponse as im, getSendPermissions as in, CreateWakeScheduleResponse as io, ListWakeDispatchesError as ip, setMemory as ir, DeleteOrgSecretError as is, addDomain as it, GetOrgRoutingTopologyErrors as iu, UnverifiedDomain as iv, UpdateWakeAuthorizationResponses as iy, client as j, TestEndpointResponses as j_, CreateOrgSecretError as ja, EmailWebhookStatus as jc, ListDeliveriesResponses as jd, ListRegistryAgentsResponses as jf, SetOrgSecretResponse as jg, SearchMemoriesErrors as jh, CompleteWebhookSdkInput as ji, GetFunctionData as jl, ReplayEmailWebhooksData as jm, listWakeAuthorizations as jn, DeleteEndpointData as jo, PlanLimits as jp, AccountUpdated as jr, DeleteWakeScheduleResponse as js, deleteMemory as jt, GetSpendPolicyResponses as ju, UpdateFunctionErrors as jv, VerifyDomainError as jy, SendThreadInput as k, TestEndpointErrors as k_, CreateFunctionSecretResponses as ka, EmailStatus as kc, ListDeliveriesErrors as kd, ListRegistryAgentsData as kf, SetOrgSecretErrors as kg, SearchMemoriesData as kh, CompleteWebhookInput as ki, GetEmailResponse as kl, ReplayDeliveryResponse as km, listSentEmails as kn, DeleteEmailResponse as ko, PayChallengeResponse as kp, verifyDomain as kr, DeleteWakeScheduleError as ks, deleteFunction as kt, GetSpendPolicyErrors as ku, UpdateFunctionData as kv, VerifyCliSignupResponses as ky, InboxStreamOptions as l, StartCliSignupResponses as l_, CreateEndpointResponse as la, DownloadRawEmailData as lc, InboxStatus as ld, ListFunctionsData as lf, SentEmailSummary as lg, ResolveRegistryHandleResponse as lh, CheckDomainDnsResponses as li, GetAgentResponse as ll, RegisterPayoutAddressInput as lm, getTemplateInstall as ln, DecideRegistryRequestData as lo, ListWakeSchedulesError as lp, startCliLogin as lr, DeleteRegistryError as ls, completeWebhookEvent as lt, GetOutboundStatusErrors as lu, UpdateAccountResponse as lv, UpdateWakeScheduleResponse as ly, MemoryRecord as m, TemplateInstallState as m_, CreateFilterInput as ma, DownloadSentAttachmentPartData as mc, InboxStatusRecentEmailSummary as md, ListOrgSecretsData as mf, SetFunctionRouteResponses as mg, RotateWebhookSecretErrors as mh, CliLogoutErrors as mi, GetChallengeResponse as ml, RegistryRequest as mm, listDeclinedPayments as mn, DecideRegistryRequestResponses as mo, MemoryResolvedScope as mp, unpublishAgent as mr, DeleteRouteError as ms, createEndpoint as mt, GetRegistryErrors as mu, UpdateDomainInput as mv, VerifyAgentClaimErrors as my, AgentResource as n, StartCliLoginResponse as n_, CreateEmailChallengeInput as na, RequestResult as nb, DownloadDomainZoneFileResponse as nc, GetWakeScheduleResponses as nd, ListFunctionLogsResponse as nf, SendPermissionManagedZone as ng, ResendCliSignupVerificationErrors as nh, CancelSentEmailErrors as ni, GetAccountError as nl, RedeemCreditCodeErrors as nm, getOutboundStatus as nn, CreateWakeScheduleErrors as no, ListWakeAuthorizationsResponses as np, setFunctionRoute as nr, DeleteMemoryResult as ns, RequestOptions$1 as nt, GetOrgRoutingTopologyData as nu, UnsetFunctionRouteResponse as nv, UpdateWakeAuthorizationInput as ny, ForwardInput as o, StartCliSignupErrors as o_, CreateEndpointError as oa, DownloadEmailAttachmentPartErrors as oc, GetWebhookSecretResponse as od, ListFunctionSecretsErrors as of, SentEmailDetail as og, ResolveRegistryHandleData as oh, CheckDomainDnsError as oi, GetAgentData as ol, RegisterPayoutAddressData as om, getSpendPolicy as on, CreditBalance as oo, ListWakeDispatchesResponse as op, simulateRoute as or, DeleteOrgSecretResponse as os, cancelSentEmail as ot, GetOrgRoutingTopologyResponses as ou, UpdateAccountError as ov, UpdateWakeScheduleError as oy, MemoryJsonValue as p, TemplateInstall as p_, CreateFilterErrors as pa, DownloadRawEmailResponses as pc, InboxStatusNextAction as pd, ListFunctionsResponses as pf, SetFunctionRouteResponse as pg, RotateWebhookSecretError as ph, CliLogoutError as pi, GetChallengeErrors as pl, RegistryAgent as pm, installTemplate as pn, DecideRegistryRequestResponse as po, MemoryKeyQuery as pp, testFunction as pr, DeleteRouteData as ps, createEmailChallenge as pt, GetRegistryError as pu, UpdateDomainErrors as pv, VerifyAgentClaimError as py, EventOffer as q, ThreadMessage as q_, CreateRouteResponses as qa, FunctionTestRunInboundEmail as qc, ListEnvelope as qd, ListTemplatesData as qf, StartAgentSignupError as qg, SendEmailErrors as qh, CreateChallengeData as qi, GetInboxStatusError as ql, RescheduleSentEmailResponses as qm, resendCliSignupVerification as qn, DeleteFunctionSecretError as qo, PullWebhookEventError as qp, AttachmentPartIndex as qr, DomainVerifyResult as qs, getConversation as qt, GetThreadData as qu, UpdateSpendPolicyData as qv, X402Receipt as qy, AttachmentPartDownload as r, StartCliLoginResponses as r_, CreateEmailChallengeResponse as ra, ResponseStyle as rb, DownloadDomainZoneFileResponses as rc, GetWebhookSecretData as rd, ListFunctionLogsResponses as rf, SendPermissionRule as rg, ResendCliSignupVerificationInput as rh, CancelSentEmailResponse as ri, GetAccountErrors as rl, RedeemCreditCodeInput as rm, getRegistry as rn, CreateWakeScheduleInput as ro, ListWakeDispatchesData as rp, setFunctionSecret as rr, DeleteOrgSecretData as rs, createPrimitiveApiClient as rt, GetOrgRoutingTopologyError as ru, UnsetFunctionRouteResponses as rv, UpdateWakeAuthorizationResponse as ry, InboundEmail as s, StartCliSignupInput as s_, CreateEndpointErrors as sa, DownloadEmailAttachmentPartResponse as sc, GetWebhookSecretResponses as sd, ListFunctionSecretsResponse as sf, SentEmailRescheduleInput as sg, ResolveRegistryHandleError as sh, CheckDomainDnsErrors as si, GetAgentError as sl, RegisterPayoutAddressError as sm, getStorageStats as sn, CreditRedemption as so, ListWakeDispatchesResponses as sp, startAgentClaim as sr, DeleteOrgSecretResponses as ss, checkDomainDns as st, GetOutboundStatusData as su, UpdateAccountErrors as sv, UpdateWakeScheduleErrors as sy, AccountResource as t, StartCliLoginInput as t_, CreateEmailChallengeErrors as ta, RequestOptions$2 as tb, DownloadDomainZoneFileErrors as tc, GetWakeScheduleResponse as td, ListFunctionLogsErrors as tf, SendPermissionAnyRecipient as tg, ResendCliSignupVerificationError as th, CancelSentEmailError as ti, GetAccountData as tl, RedeemCreditCodeError as tm, getOrgRoutingTopology as tn, CreateWakeScheduleError as to, ListWakeAuthorizationsResponse as tp, sendEmail as tr, DeleteMemoryResponses as ts, PrimitiveApiErrorDetails as tt, GetMemoryResponses as tu, UnsetFunctionRouteErrors as tv, UpdateWakeAuthorizationErrors as ty, MemoriesResource as u, StorageStats as u_, CreateEndpointResponses as ua, DownloadRawEmailError as uc, InboxStatusDomain as ud, ListFunctionsError as uf, SetFunctionRouteData as ug, ResolveRegistryHandleResponses as uh, CliLoginPollResult as ui, GetAgentResponses as ul, RegisterPayoutAddressResponse as um, getThread as un, DecideRegistryRequestError as uo, ListWakeSchedulesErrors as up, startCliSignup as ur, DeleteRegistryErrors as us, createAgentAccount as ut, GetOutboundStatusResponse as uu, UpdateAccountResponses as uv, UpdateWakeScheduleResponses as uy, MemorySetInput as v, TemplateRegistryPage as v_, CreateFunctionError as va, DownloadSentAttachmentPartResponses as vc, InstallTemplateErrors as vd, ListOrgSecretsResponses as vf, SetFunctionSecretInput as vg, RoutingTopology as vh, CliLogoutResult as vi, GetConversationErrors as vl, RemoveAgentConnectionResponse as vm, listEndpoints as vn, DefineAgentInput as vo, NumericString as vp, updateEndpoint as vr, DeleteSentEmailData as vs, createOrgSecret as vt, GetSendPermissionsError as vu, UpdateEndpointError as vv, VerifyAgentSignupData as vy, SendAttachment as w, TemplateSource as w_, CreateFunctionSecretData as wa, EmailSearchFacetBucket as wc, ListDeclinedPaymentsErrors as wd, ListRegistriesData as wf, SetMemoryInput as wg, SearchEmailsData as wh, CompleteWebhookEventErrors as wi, GetCreditBalanceResponse as wl, ReorderRoutesResponse as wm, listPayoutAddresses as wn, DeleteDomainResponse as wo, ParsedEmailData as wp, updateWakeAuthorization as wr, DeleteWakeAuthorizationError as ws, defineAgent as wt, GetSentEmailErrors as wu, UpdateFilterError as wv, VerifyCliSignupData as wy, ReplyInput as x, TemplateSecret as x_, CreateFunctionResponse as xa, EmailAuth as xc, Limit as xd, ListPayoutAddressesErrors as xf, SetMemoryData as xg, RunWakeScheduleErrors as xh, CliSignupVerifyResult as xi, GetCreditBalanceData as xl, ReorderRoutesError as xm, listFunctionSecrets as xn, DeleteDomainData as xo, OutboundStatus as xp, updateRegistry as xr, DeleteSentEmailResponse as xs, createWakeAuthorization as xt, GetSendPermissionsResponses as xu, UpdateEndpointResponse as xv, VerifyAgentSignupInput as xy, PrimitiveClient as y, TemplateRegistryStatus as y_, CreateFunctionErrors as ya, EmailAddress as yc, InstallTemplateResponse as yd, ListPayoutAddressesData as yf, SetFunctionSecretResponse as yg, RunWakeScheduleData as yh, CliSignupResendResult as yi, GetConversationResponse as yl, RemoveAgentConnectionResponses as ym, listFilters as yn, DefineAgentResponse as yo, OrgSecretListItem as yp, updateFilter as yr, DeleteSentEmailError as ys, createRegistry as yt, GetSendPermissionsErrors as yu, UpdateEndpointErrors as yv, VerifyAgentSignupError as yy, EventListener as z, TestFunctionData as z_, CreateRegistryInput as za, FunctionRouteBody as zc, ListEmailsErrors as zd, ListRoutesErrors as zf, SimulateRouteResult as zg, SemanticSearchInput as zh, CreateAgentAccountResponse as zi, GetFunctionRoutingResponse as zl, ReplyToEmailError as zm, registerPayoutAddress as zn, DeleteFilterResponse as zo, PublishAgentError as zp, AgentAccountUpgradeHint as zr, DiscardEmailContentResponse as zs, downloadAttachments as zt, GetTemplateErrors as zu, UpdateRegistryResponse as zv, X402Challenge as zy };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as WebhookEvent, f as EmailReceivedEvent } from "./types-
|
|
2
|
-
import { u as WebhookValidationError, y as ReceivedEmail } from "./errors-
|
|
1
|
+
import { L as WebhookEvent, f as EmailReceivedEvent } from "./types-Rn4qu5Q7.js";
|
|
2
|
+
import { u as WebhookValidationError, y as ReceivedEmail } from "./errors-Li0PXZXa.js";
|
|
3
3
|
|
|
4
4
|
//#region src/validation.d.ts
|
|
5
5
|
interface ValidationSuccess<T> {
|
|
@@ -385,13 +385,38 @@ declare const emailReceivedEventJsonSchema: {
|
|
|
385
385
|
};
|
|
386
386
|
readonly content: {
|
|
387
387
|
readonly type: "object";
|
|
388
|
+
readonly if: {
|
|
389
|
+
readonly properties: {
|
|
390
|
+
readonly raw: {
|
|
391
|
+
readonly type: "null";
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
};
|
|
395
|
+
readonly then: {
|
|
396
|
+
readonly properties: {
|
|
397
|
+
readonly download: {
|
|
398
|
+
readonly type: "null";
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
readonly else: {
|
|
403
|
+
readonly properties: {
|
|
404
|
+
readonly download: {
|
|
405
|
+
readonly type: "object";
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
};
|
|
388
409
|
readonly properties: {
|
|
389
410
|
readonly raw: {
|
|
390
|
-
readonly
|
|
391
|
-
|
|
411
|
+
readonly anyOf: [{
|
|
412
|
+
readonly $ref: "#/definitions/RawContent";
|
|
413
|
+
}, {
|
|
414
|
+
readonly type: "null";
|
|
415
|
+
}];
|
|
416
|
+
readonly description: "Raw MIME is null for address-scoped listeners. Use email.parsed for message content.";
|
|
392
417
|
};
|
|
393
418
|
readonly download: {
|
|
394
|
-
readonly type: "object";
|
|
419
|
+
readonly type: ["object", "null"];
|
|
395
420
|
readonly properties: {
|
|
396
421
|
readonly url: {
|
|
397
422
|
readonly type: "string";
|
|
@@ -406,7 +431,7 @@ declare const emailReceivedEventJsonSchema: {
|
|
|
406
431
|
};
|
|
407
432
|
};
|
|
408
433
|
readonly required: ["url", "expires_at"];
|
|
409
|
-
readonly description: "
|
|
434
|
+
readonly description: "Raw download information. Null for address-scoped listeners, which do not receive bearer download links.";
|
|
410
435
|
};
|
|
411
436
|
};
|
|
412
437
|
readonly required: ["raw", "download"];
|
|
@@ -1524,7 +1549,7 @@ declare function confirmedHeaders(): {
|
|
|
1524
1549
|
* ```typescript
|
|
1525
1550
|
* if (isDownloadExpired(event)) {
|
|
1526
1551
|
* console.log("Download URL has expired, cannot fetch raw email");
|
|
1527
|
-
* } else {
|
|
1552
|
+
* } else if (event.email.content.download) {
|
|
1528
1553
|
* const response = await fetch(event.email.content.download.url);
|
|
1529
1554
|
* }
|
|
1530
1555
|
* ```
|
|
@@ -1553,13 +1578,13 @@ declare function getDownloadTimeRemaining(event: EmailReceivedEvent, now?: numbe
|
|
|
1553
1578
|
* Use this to check before calling `decodeRawEmail()` to avoid try/catch.
|
|
1554
1579
|
*
|
|
1555
1580
|
* @param event - The webhook event
|
|
1556
|
-
* @returns true if raw content is included inline, false if download required
|
|
1581
|
+
* @returns true if raw content is included inline, false if download is required or raw content is unavailable
|
|
1557
1582
|
*
|
|
1558
1583
|
* @example
|
|
1559
1584
|
* ```typescript
|
|
1560
1585
|
* if (isRawIncluded(event)) {
|
|
1561
1586
|
* const rawEmail = decodeRawEmail(event);
|
|
1562
|
-
* } else {
|
|
1587
|
+
* } else if (event.email.content.download) {
|
|
1563
1588
|
* const response = await fetch(event.email.content.download.url);
|
|
1564
1589
|
* }
|
|
1565
1590
|
* ```
|
|
@@ -1578,7 +1603,7 @@ interface DecodeRawEmailOptions {
|
|
|
1578
1603
|
/**
|
|
1579
1604
|
* Decode the raw email content from an EmailReceivedEvent.
|
|
1580
1605
|
*
|
|
1581
|
-
* Throws if
|
|
1606
|
+
* Throws if raw content requires downloading or is unavailable for this credential.
|
|
1582
1607
|
* By default, verifies the SHA-256 hash matches after decoding.
|
|
1583
1608
|
*
|
|
1584
1609
|
* NOTE: This function assumes a well-formed event from `handleWebhook()`.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as WaitForNextOptions,
|
|
2
|
-
import { $ as isPaymentFailedEvent, A as RawContentInline, B as InteractionEvent, C as ParsedData, D as ParsedStatus, E as ParsedError, F as ValidateEmailAuthResult, G as PaymentFailedEvent, H as InteractionX402Suffix, I as WebhookAttachment, J as WebhookEventType, K as PaymentSettledEvent, L as WebhookEvent, M as SpfResult, N as TlsReportAnalysis, O as RawContent, P as UnknownEvent, Q as isPaymentEvent, R as EMAIL_EVENT_TYPES, S as KnownWebhookEvent, T as ParsedDataFailed, U as PAYMENT_EVENT_TYPES, V as InteractionX402Event, W as PaymentEvent, X as isInteractionX402Event, Y as isEmailReceivedEvent, Z as isKnownWebhookEventType, _ as ForwardResultAttachmentAnalyzed, a as DkimSignature, b as ForwardVerdict, c as DmarcResult, d as EmailAuth, et as isPaymentSettledEvent, f as EmailReceivedEvent, g as ForwardResult, h as ForwardOriginalSender, i as DkimResult, j as RoutingDecision, k as RawContentDownloadOnly, l as EmailAddress, m as ForwardAnalysis, n as AuthVerdict, o as DmarcPolicy, p as EventType, q as WEBHOOK_EVENT_TYPES, r as BounceAnalysis, s as DmarcReportAnalysis, t as AuthConfidence, u as EmailAnalysis, v as ForwardResultAttachmentSkipped, w as ParsedDataComplete, x as ForwardVerification, y as ForwardResultInline, z as INTERACTION_EVENT_TYPES } from "./types-
|
|
3
|
-
import { C as buildReplySubject, E as parseHeaderAddress, S as buildForwardSubject, T as normalizeReceivedEmail, _ as isTrustedSender, a as RawEmailDecodeErrorCode, b as ReceivedEmailAddress, c as WebhookPayloadError, d as WebhookValidationErrorCode, f as WebhookVerificationError, g as TrustedSenderResult, h as TrustedSenderOptions, i as RawEmailDecodeError, l as WebhookPayloadErrorCode, m as TrustReason, n as PrimitiveWebhookError, o as VERIFICATION_ERRORS, p as WebhookVerificationErrorCode, r as RAW_EMAIL_ERRORS, s as WebhookErrorCode, t as PAYLOAD_ERRORS, u as WebhookValidationError, v as validateEmailAuth, w as formatAddress, x as ReceivedEmailThread, y as ReceivedEmail } from "./errors-
|
|
4
|
-
import { A as SignResult, B as validateEmailReceivedEvent, C as StandardWebhooksVerifyOptions, D as LEGACY_SIGNATURE_HEADER, E as LEGACY_CONFIRMED_HEADER, F as VerifyDownloadTokenOptions, I as VerifyDownloadTokenResult, L as generateDownloadToken, M as signWebhookPayload, N as verifyWebhookSignature, O as PRIMITIVE_CONFIRMED_HEADER, P as GenerateDownloadTokenOptions, R as verifyDownloadToken, S as StandardWebhooksSignResult, T as verifyStandardWebhooksSignature, _ as WEBHOOK_VERSION, a as WebhookHeaders, b as STANDARD_WEBHOOK_SIGNATURE_HEADER, c as getDownloadTimeRemaining, d as handleWebhookEvent, f as isDownloadExpired, g as parseWebhookEvent, h as verifyRawEmailDownload, i as WEBHOOK_EVENT_HEADER, j as VerifyOptions, k as PRIMITIVE_SIGNATURE_HEADER, l as getEventHeader, m as receive, n as HandleWebhookOptions, o as confirmedHeaders, p as isRawIncluded, r as ReceiveRequestOptions, s as decodeRawEmail, t as DecodeRawEmailOptions, u as handleWebhook, v as emailReceivedEventJsonSchema, w as signStandardWebhooksPayload, x as STANDARD_WEBHOOK_TIMESTAMP_HEADER, y as STANDARD_WEBHOOK_ID_HEADER, z as safeValidateEmailReceivedEvent } from "./index-
|
|
1
|
+
import { A as WaitForNextOptions, Ar as Account, Br as AgentClaimLinkResult, E as SendInput, Hr as AgentClaimStartResult, M as createAgent, N as createPrimitiveClient, O as SendResult, Ri as CreateAgentAccountInput, Rr as AgentAccountResult, Ug as StartAgentClaimInput, Vr as AgentClaimResult, Wi as CreateAgentClaimLinkInput, _ as MemorySearchResponse, a as CreatedAgent, b as PrimitiveClientOptions, c as InboxResource, d as MemoryDeleteInput, et as PrimitiveApiError, f as MemoryGetInput, g as MemorySearchInput, h as MemoryRecordWithValue, hy as VerifyAgentClaimInput, i as CreateAgentOptions, j as client, jp as PlanLimits, k as SendThreadInput, l as InboxStreamOptions, m as MemoryRecord, o as ForwardInput, p as MemoryJsonValue, r as AttachmentPartDownload, s as InboundEmail, t as AccountResource, u as MemoriesResource, v as MemorySetInput, w as SendAttachment, x as ReplyInput, y as PrimitiveClient, zr as AgentAccountUpgradeHint } from "./index-BLgNIwYK.js";
|
|
2
|
+
import { $ as isPaymentFailedEvent, A as RawContentInline, B as InteractionEvent, C as ParsedData, D as ParsedStatus, E as ParsedError, F as ValidateEmailAuthResult, G as PaymentFailedEvent, H as InteractionX402Suffix, I as WebhookAttachment, J as WebhookEventType, K as PaymentSettledEvent, L as WebhookEvent, M as SpfResult, N as TlsReportAnalysis, O as RawContent, P as UnknownEvent, Q as isPaymentEvent, R as EMAIL_EVENT_TYPES, S as KnownWebhookEvent, T as ParsedDataFailed, U as PAYMENT_EVENT_TYPES, V as InteractionX402Event, W as PaymentEvent, X as isInteractionX402Event, Y as isEmailReceivedEvent, Z as isKnownWebhookEventType, _ as ForwardResultAttachmentAnalyzed, a as DkimSignature, b as ForwardVerdict, c as DmarcResult, d as EmailAuth, et as isPaymentSettledEvent, f as EmailReceivedEvent, g as ForwardResult, h as ForwardOriginalSender, i as DkimResult, j as RoutingDecision, k as RawContentDownloadOnly, l as EmailAddress, m as ForwardAnalysis, n as AuthVerdict, o as DmarcPolicy, p as EventType, q as WEBHOOK_EVENT_TYPES, r as BounceAnalysis, s as DmarcReportAnalysis, t as AuthConfidence, u as EmailAnalysis, v as ForwardResultAttachmentSkipped, w as ParsedDataComplete, x as ForwardVerification, y as ForwardResultInline, z as INTERACTION_EVENT_TYPES } from "./types-Rn4qu5Q7.js";
|
|
3
|
+
import { C as buildReplySubject, E as parseHeaderAddress, S as buildForwardSubject, T as normalizeReceivedEmail, _ as isTrustedSender, a as RawEmailDecodeErrorCode, b as ReceivedEmailAddress, c as WebhookPayloadError, d as WebhookValidationErrorCode, f as WebhookVerificationError, g as TrustedSenderResult, h as TrustedSenderOptions, i as RawEmailDecodeError, l as WebhookPayloadErrorCode, m as TrustReason, n as PrimitiveWebhookError, o as VERIFICATION_ERRORS, p as WebhookVerificationErrorCode, r as RAW_EMAIL_ERRORS, s as WebhookErrorCode, t as PAYLOAD_ERRORS, u as WebhookValidationError, v as validateEmailAuth, w as formatAddress, x as ReceivedEmailThread, y as ReceivedEmail } from "./errors-Li0PXZXa.js";
|
|
4
|
+
import { A as SignResult, B as validateEmailReceivedEvent, C as StandardWebhooksVerifyOptions, D as LEGACY_SIGNATURE_HEADER, E as LEGACY_CONFIRMED_HEADER, F as VerifyDownloadTokenOptions, I as VerifyDownloadTokenResult, L as generateDownloadToken, M as signWebhookPayload, N as verifyWebhookSignature, O as PRIMITIVE_CONFIRMED_HEADER, P as GenerateDownloadTokenOptions, R as verifyDownloadToken, S as StandardWebhooksSignResult, T as verifyStandardWebhooksSignature, _ as WEBHOOK_VERSION, a as WebhookHeaders, b as STANDARD_WEBHOOK_SIGNATURE_HEADER, c as getDownloadTimeRemaining, d as handleWebhookEvent, f as isDownloadExpired, g as parseWebhookEvent, h as verifyRawEmailDownload, i as WEBHOOK_EVENT_HEADER, j as VerifyOptions, k as PRIMITIVE_SIGNATURE_HEADER, l as getEventHeader, m as receive, n as HandleWebhookOptions, o as confirmedHeaders, p as isRawIncluded, r as ReceiveRequestOptions, s as decodeRawEmail, t as DecodeRawEmailOptions, u as handleWebhook, v as emailReceivedEventJsonSchema, w as signStandardWebhooksPayload, x as STANDARD_WEBHOOK_TIMESTAMP_HEADER, y as STANDARD_WEBHOOK_ID_HEADER, z as safeValidateEmailReceivedEvent } from "./index-BxPkB7GU.js";
|
|
5
5
|
import { a as NonceBinding, c as TokenDomain, f as X402PaymentPayload, l as TransferAuthorization, m as X402Signer, o as PayoutRegistrationMessageInput, x as deriveEip3009Nonce, y as buildPayoutRegistrationMessage } from "./sign-m3ZStnNw.js";
|
|
6
6
|
import { X402Challenge, X402ChargeInput, X402Client, X402ClientOptions, X402DeclinedPayment, X402Error, X402PaymentRequirements, X402PayoutAddress, X402Receipt, X402SpendPolicy, createX402Client, parseEmailChallengeFromPart } from "./x402/index.js";
|
|
7
7
|
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as PrimitiveClient, c as createPrimitiveClient, i as MemoriesResource, o as client, r as InboxResource, s as createAgent, t as AccountResource, v as PrimitiveApiError } from "./api-
|
|
2
|
-
import { A as PAYLOAD_ERRORS, C as isInteractionX402Event, D as isPaymentSettledEvent, E as isPaymentFailedEvent, F as WebhookPayloadError, I as WebhookValidationError, L as WebhookVerificationError, M as RAW_EMAIL_ERRORS, N as RawEmailDecodeError, O as safeValidateEmailReceivedEvent, P as VERIFICATION_ERRORS, S as isEmailReceivedEvent, T as isPaymentEvent, _ as parseWebhookEvent, a as DkimResult, b as PAYMENT_EVENT_TYPES, c as EventType, d as SpfResult, f as buildForwardSubject, g as parseHeaderAddress, h as normalizeReceivedEmail, i as AuthVerdict, j as PrimitiveWebhookError, k as validateEmailReceivedEvent, l as ForwardVerdict, m as formatAddress, n as validateEmailAuth, o as DmarcPolicy, p as buildReplySubject, r as AuthConfidence, s as DmarcResult, t as isTrustedSender, u as ParsedStatus, v as EMAIL_EVENT_TYPES, w as isKnownWebhookEventType, x as WEBHOOK_EVENT_TYPES, y as INTERACTION_EVENT_TYPES } from "./trust-
|
|
3
|
-
import { C as signWebhookPayload, E as verifyDownloadToken, S as PRIMITIVE_SIGNATURE_HEADER, T as generateDownloadToken, _ as signStandardWebhooksPayload, a as getEventHeader, b as LEGACY_SIGNATURE_HEADER, c as isDownloadExpired, d as verifyRawEmailDownload, f as WEBHOOK_VERSION, g as STANDARD_WEBHOOK_TIMESTAMP_HEADER, h as STANDARD_WEBHOOK_SIGNATURE_HEADER, i as getDownloadTimeRemaining, l as isRawIncluded, m as STANDARD_WEBHOOK_ID_HEADER, n as confirmedHeaders, o as handleWebhook, p as emailReceivedEventJsonSchema, r as decodeRawEmail, s as handleWebhookEvent, t as WEBHOOK_EVENT_HEADER, u as receive, v as verifyStandardWebhooksSignature, w as verifyWebhookSignature, x as PRIMITIVE_CONFIRMED_HEADER, y as LEGACY_CONFIRMED_HEADER } from "./webhook-
|
|
1
|
+
import { a as PrimitiveClient, c as createPrimitiveClient, i as MemoriesResource, o as client, r as InboxResource, s as createAgent, t as AccountResource, v as PrimitiveApiError } from "./api-CgziU-nd.js";
|
|
2
|
+
import { A as PAYLOAD_ERRORS, C as isInteractionX402Event, D as isPaymentSettledEvent, E as isPaymentFailedEvent, F as WebhookPayloadError, I as WebhookValidationError, L as WebhookVerificationError, M as RAW_EMAIL_ERRORS, N as RawEmailDecodeError, O as safeValidateEmailReceivedEvent, P as VERIFICATION_ERRORS, S as isEmailReceivedEvent, T as isPaymentEvent, _ as parseWebhookEvent, a as DkimResult, b as PAYMENT_EVENT_TYPES, c as EventType, d as SpfResult, f as buildForwardSubject, g as parseHeaderAddress, h as normalizeReceivedEmail, i as AuthVerdict, j as PrimitiveWebhookError, k as validateEmailReceivedEvent, l as ForwardVerdict, m as formatAddress, n as validateEmailAuth, o as DmarcPolicy, p as buildReplySubject, r as AuthConfidence, s as DmarcResult, t as isTrustedSender, u as ParsedStatus, v as EMAIL_EVENT_TYPES, w as isKnownWebhookEventType, x as WEBHOOK_EVENT_TYPES, y as INTERACTION_EVENT_TYPES } from "./trust-m3dNPmWL.js";
|
|
3
|
+
import { C as signWebhookPayload, E as verifyDownloadToken, S as PRIMITIVE_SIGNATURE_HEADER, T as generateDownloadToken, _ as signStandardWebhooksPayload, a as getEventHeader, b as LEGACY_SIGNATURE_HEADER, c as isDownloadExpired, d as verifyRawEmailDownload, f as WEBHOOK_VERSION, g as STANDARD_WEBHOOK_TIMESTAMP_HEADER, h as STANDARD_WEBHOOK_SIGNATURE_HEADER, i as getDownloadTimeRemaining, l as isRawIncluded, m as STANDARD_WEBHOOK_ID_HEADER, n as confirmedHeaders, o as handleWebhook, p as emailReceivedEventJsonSchema, r as decodeRawEmail, s as handleWebhookEvent, t as WEBHOOK_EVENT_HEADER, u as receive, v as verifyStandardWebhooksSignature, w as verifyWebhookSignature, x as PRIMITIVE_CONFIRMED_HEADER, y as LEGACY_CONFIRMED_HEADER } from "./webhook-DArt1Ipq.js";
|
|
4
4
|
import { X402Client, X402Error, buildPayoutRegistrationMessage, createX402Client, deriveEip3009Nonce, parseEmailChallengeFromPart } from "./x402/index.js";
|
|
5
5
|
//#region src/index.ts
|
|
6
6
|
const primitive = {
|
package/dist/openapi/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as openapiDocument, t as operationManifest } from "../operations.generated-
|
|
1
|
+
import { n as openapiDocument, t as operationManifest } from "../operations.generated-CKeVL_i2.js";
|
|
2
2
|
export { openapiDocument, operationManifest };
|