@primitivedotdev/sdk 1.22.0 → 1.23.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.
@@ -1,4 +1,4 @@
1
- import { y as ReceivedEmail } from "./errors-DAHv2kWU.js";
1
+ import { y as ReceivedEmail } from "./errors-BgI9FKHK.js";
2
2
 
3
3
  //#region ../packages/api-core/src/api/core/auth.gen.d.ts
4
4
  type AuthToken = string | undefined;
@@ -799,7 +799,7 @@ type PaginationMeta = {
799
799
  type ErrorResponse = {
800
800
  success: boolean;
801
801
  error: {
802
- code: 'unauthorized' | 'forbidden' | 'not_found' | 'validation_error' | 'rate_limit_exceeded' | 'internal_error' | 'conflict' | 'mx_conflict' | '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';
802
+ code: 'unauthorized' | 'forbidden' | 'not_found' | 'validation_error' | 'rate_limit_exceeded' | 'internal_error' | 'conflict' | 'mx_conflict' | 'not_scheduled' | '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
803
  message: string;
804
804
  /**
805
805
  * Optional structured data that callers can inspect to recover
@@ -1549,6 +1549,94 @@ type DomainVerifyResult = {
1549
1549
  */
1550
1550
  error: string;
1551
1551
  };
1552
+ /**
1553
+ * Rollup DNS health state. `pending` means never successfully
1554
+ * checked, `healthy` means all required records verified,
1555
+ * `degraded` means a previously-verified record has regressed,
1556
+ * and `suspended` means the failure persisted long enough that
1557
+ * the affected capability was disabled.
1558
+ *
1559
+ */
1560
+ type DomainDnsHealthStatus = 'pending' | 'healthy' | 'degraded' | 'suspended';
1561
+ /**
1562
+ * Health of one DNS scope: `ownership` (verification TXT),
1563
+ * `inbound` (MX), or `outbound` (SPF, DKIM, DMARC, TLS-RPT).
1564
+ *
1565
+ */
1566
+ type DomainDnsHealthScope = {
1567
+ scope: 'ownership' | 'inbound' | 'outbound';
1568
+ /**
1569
+ * Whether this scope's required records are currently verified.
1570
+ */
1571
+ verified: boolean;
1572
+ status: DomainDnsHealthStatus;
1573
+ /**
1574
+ * When this scope was last checked.
1575
+ */
1576
+ checked_at: string;
1577
+ /**
1578
+ * Next scheduled background check, or null when none is planned.
1579
+ */
1580
+ next_check_at: string | null;
1581
+ /**
1582
+ * Number of consecutive failed checks for this scope.
1583
+ */
1584
+ consecutive_failures: number;
1585
+ /**
1586
+ * The exact records inspected for this scope, each with its own status.
1587
+ */
1588
+ records: Array<DomainDnsRecord>;
1589
+ /**
1590
+ * Human-readable failure reason when the scope check errored.
1591
+ */
1592
+ error?: string;
1593
+ };
1594
+ /**
1595
+ * Result of a DNS health check, as returned by
1596
+ * /domains/{id}/dns/check and recorded as the domain's current
1597
+ * health state. The top-level fields summarize the domain
1598
+ * overall; `scopes` breaks the same check down per capability.
1599
+ *
1600
+ */
1601
+ type DomainDnsHealthCheck = {
1602
+ domain_id: string;
1603
+ /**
1604
+ * Active outbound DKIM key the outbound scope was checked against, when one exists.
1605
+ */
1606
+ key_id?: string;
1607
+ domain: string;
1608
+ /**
1609
+ * Whether every required scope is currently verified.
1610
+ */
1611
+ verified: boolean;
1612
+ status: DomainDnsHealthStatus;
1613
+ checked_at: string;
1614
+ /**
1615
+ * Next scheduled background check, or null when none is planned.
1616
+ */
1617
+ next_check_at: string | null;
1618
+ /**
1619
+ * When outbound DNS was first verified, or null if it never has been.
1620
+ */
1621
+ outbound_verified_at: string | null;
1622
+ consecutive_failures: number;
1623
+ /**
1624
+ * All records inspected across scopes, each with its own status.
1625
+ */
1626
+ records: Array<DomainDnsRecord>;
1627
+ scopes: {
1628
+ ownership: DomainDnsHealthScope;
1629
+ inbound: DomainDnsHealthScope;
1630
+ /**
1631
+ * Absent when the domain has no active outbound key to check against.
1632
+ */
1633
+ outbound?: DomainDnsHealthScope;
1634
+ };
1635
+ /**
1636
+ * Human-readable failure reason when the check errored.
1637
+ */
1638
+ error?: string;
1639
+ };
1552
1640
  type EmailSummary = {
1553
1641
  id: string;
1554
1642
  message_id?: string | null;
@@ -2163,6 +2251,18 @@ type SendMailInput = {
2163
2251
  * Maximum time to wait for a delivery outcome when wait is true. Defaults to 30000.
2164
2252
  */
2165
2253
  wait_timeout_ms?: number;
2254
+ /**
2255
+ * Optional future execution time (ISO 8601). When set, the
2256
+ * send is recorded with status `scheduled` and executed at
2257
+ * the requested time instead of immediately. Must be in the
2258
+ * future and at most 30 days out. Incompatible with `wait`
2259
+ * (a scheduled send resolves after this request completes)
2260
+ * and with `attachments` / `payload_attachments` (not yet
2261
+ * supported on scheduled sends). Reschedule via PATCH
2262
+ * /sent-emails/{id}; cancel via /sent-emails/{id}/cancel.
2263
+ *
2264
+ */
2265
+ scheduled_at?: string;
2166
2266
  };
2167
2267
  /**
2168
2268
  * Lifecycle status of an INBOUND email (a row in the `emails`
@@ -2239,9 +2339,17 @@ type EmailWebhookStatus = 'pending' | 'in_flight' | 'fired' | 'failed' | 'exhaus
2239
2339
  * poller couldn't classify the receiver's response.
2240
2340
  * - `delivered` / `bounced` / `deferred` / `wait_timeout`:
2241
2341
  * terminal delivery outcomes (see DeliveryStatus).
2342
+ * - `scheduled`: created with a future `scheduled_at` and
2343
+ * not yet executed; `scheduled_at` carries the pending
2344
+ * execution time. Reschedulable via PATCH
2345
+ * /sent-emails/{id} and cancelable via
2346
+ * /sent-emails/{id}/cancel while in this status.
2347
+ * - `canceled`: terminal; a scheduled send canceled before
2348
+ * execution. `canceled_at` carries the cancellation time
2349
+ * and nothing was dispatched.
2242
2350
  *
2243
2351
  */
2244
- type SentEmailStatus = 'queued' | 'submitted_to_agent' | 'agent_failed' | 'gate_denied' | 'unknown' | 'delivered' | 'bounced' | 'deferred' | 'wait_timeout';
2352
+ type SentEmailStatus = 'queued' | 'submitted_to_agent' | 'agent_failed' | 'gate_denied' | 'unknown' | 'delivered' | 'bounced' | 'deferred' | 'wait_timeout' | 'scheduled' | 'canceled';
2245
2353
  /**
2246
2354
  * Narrower enum covering only the four terminal delivery
2247
2355
  * outcomes returned to a synchronous `wait: true` send.
@@ -2441,6 +2549,19 @@ type SentEmailSummary = {
2441
2549
  *
2442
2550
  */
2443
2551
  request_id?: string | null;
2552
+ /**
2553
+ * Requested execution time for a scheduled send. Kept
2554
+ * after execution as the historical schedule; null on
2555
+ * ordinary immediate sends.
2556
+ *
2557
+ */
2558
+ scheduled_at?: string | null;
2559
+ /**
2560
+ * When a scheduled send was canceled. Null unless the row
2561
+ * reached the `canceled` status.
2562
+ *
2563
+ */
2564
+ canceled_at?: string | null;
2444
2565
  };
2445
2566
  /**
2446
2567
  * A searchable email field.
@@ -2619,6 +2740,142 @@ type SentEmailDetail = SentEmailSummary & {
2619
2740
  */
2620
2741
  body_html?: string | null;
2621
2742
  };
2743
+ /**
2744
+ * A threaded inbound reply to one of the org's sends, keyed by
2745
+ * the inbound email's `reply_to_sent_email_id`. Compact on
2746
+ * purpose: enough to read the reply and decide what to do
2747
+ * next, with `/emails/{id}` available for the fully parsed
2748
+ * detail.
2749
+ *
2750
+ */
2751
+ type ReplyEmail = {
2752
+ /**
2753
+ * Inbound email row id; usable with `/emails/{id}`.
2754
+ */
2755
+ id: string;
2756
+ /**
2757
+ * Conversation thread id; usable with `/threads/{id}`.
2758
+ */
2759
+ thread_id: string | null;
2760
+ /**
2761
+ * The sent-email id this inbound message replied to.
2762
+ */
2763
+ reply_to_sent_email_id: string | null;
2764
+ /**
2765
+ * Sender of the reply (From header when present, else envelope sender).
2766
+ */
2767
+ from_email: string;
2768
+ /**
2769
+ * Recipient address the reply arrived at.
2770
+ */
2771
+ to_email: string;
2772
+ subject: string | null;
2773
+ /**
2774
+ * Plain-text body of the reply, when present.
2775
+ */
2776
+ body_text: string | null;
2777
+ /**
2778
+ * HTML body of the reply, when present.
2779
+ */
2780
+ body_html: string | null;
2781
+ received_at: string | null;
2782
+ /**
2783
+ * Inbound processing status of the reply row. Typically an
2784
+ * `EmailStatus` value, but left as an open string here to
2785
+ * match the server contract, which does not narrow it.
2786
+ *
2787
+ */
2788
+ status: string;
2789
+ };
2790
+ /**
2791
+ * Result of `/sent-emails/{id}/reply`. `reply` is null when no
2792
+ * reply has arrived yet (no-wait call, or the wait timed out).
2793
+ *
2794
+ */
2795
+ type AwaitReplyResult = {
2796
+ /**
2797
+ * The send this lookup was keyed on (echoes the path id).
2798
+ */
2799
+ sent_email_id: string;
2800
+ reply: ReplyEmail | null;
2801
+ /**
2802
+ * Whether the call ran in long-poll mode (`wait=true`).
2803
+ */
2804
+ waited: boolean;
2805
+ /**
2806
+ * True only when a `wait=true` call elapsed its timeout with no reply.
2807
+ */
2808
+ timed_out: boolean;
2809
+ };
2810
+ /**
2811
+ * Per-domain outbound (sending) readiness.
2812
+ */
2813
+ type OutboundStatusDomain = {
2814
+ id: string;
2815
+ domain: string;
2816
+ /**
2817
+ * Single actionable state collapsing the sending
2818
+ * prerequisites: `sendable` (you may send From this domain
2819
+ * now), `pending_ownership` (ownership TXT not verified),
2820
+ * `pending_outbound_dns` (ownership done, SPF/DKIM/DMARC
2821
+ * not verified), or `inactive` (domain deactivated;
2822
+ * re-adding it, not publishing DNS, is the fix).
2823
+ *
2824
+ */
2825
+ status: 'sendable' | 'pending_outbound_dns' | 'pending_ownership' | 'inactive';
2826
+ ownership_verified: boolean;
2827
+ /**
2828
+ * Whether the domain has an active outbound key with verified outbound DNS.
2829
+ */
2830
+ outbound_verified: boolean;
2831
+ };
2832
+ /**
2833
+ * Outbound sending readiness for the caller's org, the outbound
2834
+ * mirror of InboxStatus.
2835
+ *
2836
+ */
2837
+ type OutboundStatus = {
2838
+ /**
2839
+ * True when at least one domain is sendable right now.
2840
+ */
2841
+ ready: boolean;
2842
+ /**
2843
+ * Short human-readable status summary.
2844
+ */
2845
+ summary: string;
2846
+ /**
2847
+ * Flat, sorted list of From-domains the org may send from
2848
+ * right now. The same set echoed in a
2849
+ * `cannot_send_from_domain` error's `details.valid_senders`,
2850
+ * so recovery from that error and orientation here agree.
2851
+ *
2852
+ */
2853
+ sendable_domains: Array<string>;
2854
+ domains: Array<OutboundStatusDomain>;
2855
+ /**
2856
+ * Concrete remediation steps for domains that are not yet
2857
+ * sendable. The server contract leaves entries open-ended;
2858
+ * in practice each carries a `kind`, a human-readable
2859
+ * `message`, and, when there is an obvious next step, a
2860
+ * suggested CLI `command`.
2861
+ *
2862
+ */
2863
+ next_actions: Array<{
2864
+ kind?: string;
2865
+ message?: string;
2866
+ command?: string;
2867
+ [key: string]: unknown;
2868
+ }>;
2869
+ };
2870
+ type SentEmailRescheduleInput = {
2871
+ /**
2872
+ * New execution time (ISO 8601). Must be in the future and
2873
+ * at most 30 days out, the same bounds as the create-time
2874
+ * field on /send-mail.
2875
+ *
2876
+ */
2877
+ scheduled_at: string;
2878
+ };
2622
2879
  /**
2623
2880
  * Body shape for `/emails/{id}/reply`. Intentionally narrow:
2624
2881
  * recipients (`to`), subject, and threading headers
@@ -2737,6 +2994,14 @@ type SendMailResult = {
2737
2994
  *
2738
2995
  */
2739
2996
  idempotent_replay: boolean;
2997
+ /**
2998
+ * Echoed requested execution time on a `scheduled`
2999
+ * response. On scheduled creates, nothing is dispatched
3000
+ * yet: `queue_id` is null and `accepted` / `rejected` are
3001
+ * empty. Absent on immediate sends.
3002
+ *
3003
+ */
3004
+ scheduled_at?: string;
2740
3005
  };
2741
3006
  /**
2742
3007
  * One recipient-scope rule describing a destination the caller
@@ -2867,6 +3132,89 @@ type SendPermissionsMeta = {
2867
3132
  */
2868
3133
  truncated: boolean;
2869
3134
  };
3135
+ type PullWebhookInput = {
3136
+ wait_seconds?: number;
3137
+ };
3138
+ type PullWebhookResponse = {
3139
+ success: true;
3140
+ data: {
3141
+ delivery: {
3142
+ queue_id: string;
3143
+ event_id: string;
3144
+ event_type: string;
3145
+ delivery_id: string;
3146
+ lease_token: string;
3147
+ lease_expires_at: string;
3148
+ body: string;
3149
+ headers: {
3150
+ [key: string]: string;
3151
+ };
3152
+ } | null;
3153
+ backlog: number;
3154
+ gap_count: number;
3155
+ last_gap_reason: string | null;
3156
+ retention_seconds: 86400;
3157
+ handler_timeout_seconds: 30;
3158
+ };
3159
+ meta?: {
3160
+ total?: number;
3161
+ total_capped?: boolean;
3162
+ limit?: number;
3163
+ cursor?: string | null;
3164
+ [key: string]: unknown;
3165
+ };
3166
+ [key: string]: unknown;
3167
+ };
3168
+ type CompleteWebhookInput = ({
3169
+ mode: 'http';
3170
+ } & CompleteWebhookHttpInput) | ({
3171
+ mode: 'exec';
3172
+ } & CompleteWebhookExecInput) | ({
3173
+ mode: 'stdout';
3174
+ } & CompleteWebhookStdoutInput);
3175
+ type CompleteWebhookHttpInput = {
3176
+ queue_id: string;
3177
+ delivery_id: string;
3178
+ lease_token: string;
3179
+ duration_ms: number;
3180
+ mode: 'http';
3181
+ status_code: number | null;
3182
+ transport_error?: 'timeout' | 'network' | 'response_too_large' | 'io';
3183
+ error_code?: string;
3184
+ confirmed?: boolean;
3185
+ };
3186
+ type CompleteWebhookExecInput = {
3187
+ queue_id: string;
3188
+ delivery_id: string;
3189
+ lease_token: string;
3190
+ duration_ms: number;
3191
+ mode: 'exec';
3192
+ exit_code: number | null;
3193
+ transport_error?: 'timeout' | 'io';
3194
+ };
3195
+ type CompleteWebhookStdoutInput = {
3196
+ queue_id: string;
3197
+ delivery_id: string;
3198
+ lease_token: string;
3199
+ duration_ms: number;
3200
+ mode: 'stdout';
3201
+ write_succeeded: boolean;
3202
+ transport_error?: 'io';
3203
+ };
3204
+ type CompleteWebhookResponse = {
3205
+ success: true;
3206
+ data: {
3207
+ result: 'completed' | 'already_completed';
3208
+ };
3209
+ meta?: {
3210
+ total?: number;
3211
+ total_capped?: boolean;
3212
+ limit?: number;
3213
+ cursor?: string | null;
3214
+ [key: string]: unknown;
3215
+ };
3216
+ [key: string]: unknown;
3217
+ };
2870
3218
  type Endpoint = {
2871
3219
  id: string;
2872
3220
  org_id: string;
@@ -2880,6 +3228,7 @@ type Endpoint = {
2880
3228
  * Endpoint-specific filtering rules
2881
3229
  */
2882
3230
  rules: {
3231
+ event_types?: Array<string>;
2883
3232
  [key: string]: unknown;
2884
3233
  };
2885
3234
  created_at: string;
@@ -2907,7 +3256,7 @@ type Endpoint = {
2907
3256
  /**
2908
3257
  * http: deliver to the webhook URL. function: invoke a Primitive Function.
2909
3258
  */
2910
- kind?: 'http' | 'function';
3259
+ kind?: 'http' | 'function' | 'pull';
2911
3260
  /**
2912
3261
  * The Function this endpoint invokes, when kind is function.
2913
3262
  */
@@ -2919,12 +3268,16 @@ type Endpoint = {
2919
3268
  *
2920
3269
  */
2921
3270
  is_route_target?: boolean;
3271
+ /**
3272
+ * Stable name of a pull destination.
3273
+ */
3274
+ name?: string | null;
2922
3275
  };
2923
3276
  type CreateEndpointInput = {
2924
3277
  /**
2925
- * http: deliver to a webhook URL (provide url). function: invoke a Primitive Function (provide function_id, omit url).
3278
+ * http: deliver to url. function: invoke function_id. pull: receive locally using a stable name, without a URL.
2926
3279
  */
2927
- kind?: 'http' | 'function';
3280
+ kind?: 'http' | 'function' | 'pull';
2928
3281
  /**
2929
3282
  * The webhook URL to deliver events to. Required when kind is http; omit for function endpoints.
2930
3283
  */
@@ -2945,6 +3298,7 @@ type CreateEndpointInput = {
2945
3298
  * Endpoint-specific filtering rules
2946
3299
  */
2947
3300
  rules?: {
3301
+ event_types?: Array<string>;
2948
3302
  [key: string]: unknown;
2949
3303
  };
2950
3304
  /**
@@ -2954,6 +3308,10 @@ type CreateEndpointInput = {
2954
3308
  *
2955
3309
  */
2956
3310
  is_route_target?: boolean;
3311
+ /**
3312
+ * Stable account-scoped name, required for kind=pull.
3313
+ */
3314
+ name?: string;
2957
3315
  };
2958
3316
  type UpdateEndpointInput = {
2959
3317
  /**
@@ -2963,6 +3321,7 @@ type UpdateEndpointInput = {
2963
3321
  enabled?: boolean;
2964
3322
  domain_id?: string | null;
2965
3323
  rules?: {
3324
+ event_types?: Array<string>;
2966
3325
  [key: string]: unknown;
2967
3326
  };
2968
3327
  };
@@ -2980,6 +3339,83 @@ type TestResult = {
2980
3339
  */
2981
3340
  signature?: string;
2982
3341
  };
3342
+ type TestEndpointRulesInput = {
3343
+ /**
3344
+ * Id of an already-received email (in your org) to evaluate the rules against.
3345
+ */
3346
+ email_id: string;
3347
+ };
3348
+ /**
3349
+ * Verdict of a dry-run rule evaluation. Produced by the same
3350
+ * shared matcher the live delivery paths use.
3351
+ *
3352
+ */
3353
+ type TestEndpointRulesResult = {
3354
+ /**
3355
+ * Whether the delivery path would deliver this email to the endpoint.
3356
+ */
3357
+ would_deliver: boolean;
3358
+ /**
3359
+ * Name of the failing rule when delivery would be
3360
+ * suppressed; null when the message matches and the
3361
+ * endpoint is subscribed to the event type.
3362
+ *
3363
+ */
3364
+ rule: string | null;
3365
+ /**
3366
+ * Human-readable explanation of the failing rule; null when the message matches.
3367
+ */
3368
+ reason: string | null;
3369
+ /**
3370
+ * False when the endpoint's stored rules blob failed
3371
+ * validation. Delivery fails OPEN on an invalid blob
3372
+ * (delivers as if unfiltered), so false here surfaces a
3373
+ * misconfiguration that is otherwise silent.
3374
+ *
3375
+ */
3376
+ rules_valid: boolean;
3377
+ /**
3378
+ * Whether the endpoint's event-type subscription includes
3379
+ * this email's event type. A separate gate applied before
3380
+ * message matching, surfaced independently so an
3381
+ * unsubscribed endpoint is distinguishable from a rule
3382
+ * rejection.
3383
+ *
3384
+ */
3385
+ subscribed_to_event: boolean;
3386
+ /**
3387
+ * The event type this email would be delivered as.
3388
+ */
3389
+ event_type: string;
3390
+ /**
3391
+ * The message metadata the matcher compared, so the caller
3392
+ * can see WHAT was evaluated (in particular the
3393
+ * authenticated From identity versus the raw envelope
3394
+ * sender).
3395
+ *
3396
+ */
3397
+ evaluated: {
3398
+ size_bytes: number;
3399
+ has_attachments: boolean;
3400
+ attachment_size_bytes: number;
3401
+ /**
3402
+ * Raw envelope sender the blacklist matches against.
3403
+ */
3404
+ sender: string;
3405
+ /**
3406
+ * Bare From-header address, when one was present.
3407
+ */
3408
+ from_address: string | null;
3409
+ /**
3410
+ * Whether the sender identity passed authentication (the whitelist matches only authenticated identities).
3411
+ */
3412
+ sender_authenticated: boolean;
3413
+ /**
3414
+ * Which signal established (or failed to establish) the sender identity.
3415
+ */
3416
+ sender_trust_basis: string;
3417
+ };
3418
+ };
2983
3419
  type Filter = {
2984
3420
  id: string;
2985
3421
  org_id: string;
@@ -4828,6 +5264,51 @@ type VerifyDomainResponses = {
4828
5264
  };
4829
5265
  };
4830
5266
  type VerifyDomainResponse = VerifyDomainResponses[keyof VerifyDomainResponses];
5267
+ type CheckDomainDnsData = {
5268
+ body?: never;
5269
+ path: {
5270
+ /**
5271
+ * Resource UUID
5272
+ */
5273
+ id: string;
5274
+ };
5275
+ query?: never;
5276
+ url: '/domains/{id}/dns/check';
5277
+ };
5278
+ type CheckDomainDnsErrors = {
5279
+ /**
5280
+ * Invalid request parameters
5281
+ */
5282
+ 400: ErrorResponse;
5283
+ /**
5284
+ * Invalid or missing API key
5285
+ */
5286
+ 401: ErrorResponse;
5287
+ /**
5288
+ * Resource not found
5289
+ */
5290
+ 404: ErrorResponse;
5291
+ /**
5292
+ * The domain's active outbound key changed while the check
5293
+ * was running. Nothing was recorded; retry the check.
5294
+ *
5295
+ */
5296
+ 409: ErrorResponse;
5297
+ /**
5298
+ * Rate limit exceeded
5299
+ */
5300
+ 429: ErrorResponse;
5301
+ };
5302
+ type CheckDomainDnsError = CheckDomainDnsErrors[keyof CheckDomainDnsErrors];
5303
+ type CheckDomainDnsResponses = {
5304
+ /**
5305
+ * DNS health check result
5306
+ */
5307
+ 200: SuccessEnvelope & {
5308
+ data?: DomainDnsHealthCheck;
5309
+ };
5310
+ };
5311
+ type CheckDomainDnsResponse = CheckDomainDnsResponses[keyof CheckDomainDnsResponses];
4831
5312
  type DownloadDomainZoneFileData = {
4832
5313
  body?: never;
4833
5314
  path: {
@@ -5468,9 +5949,23 @@ type CreateEndpointErrors = {
5468
5949
  * Invalid or missing API key
5469
5950
  */
5470
5951
  401: ErrorResponse;
5952
+ /**
5953
+ * The request conflicts with the current state of the resource
5954
+ */
5955
+ 409: ErrorResponse;
5956
+ /**
5957
+ * Local receiving is unavailable
5958
+ */
5959
+ 503: ErrorResponse;
5471
5960
  };
5472
5961
  type CreateEndpointError = CreateEndpointErrors[keyof CreateEndpointErrors];
5473
5962
  type CreateEndpointResponses = {
5963
+ /**
5964
+ * Existing named pull destination resumed
5965
+ */
5966
+ 200: SuccessEnvelope & {
5967
+ data?: Endpoint;
5968
+ };
5474
5969
  /**
5475
5970
  * Endpoint created (or reactivated)
5476
5971
  */
@@ -5540,6 +6035,10 @@ type UpdateEndpointErrors = {
5540
6035
  * Resource not found
5541
6036
  */
5542
6037
  404: ErrorResponse;
6038
+ /**
6039
+ * The request conflicts with the current state of the resource
6040
+ */
6041
+ 409: ErrorResponse;
5543
6042
  };
5544
6043
  type UpdateEndpointError = UpdateEndpointErrors[keyof UpdateEndpointErrors];
5545
6044
  type UpdateEndpointResponses = {
@@ -5551,6 +6050,120 @@ type UpdateEndpointResponses = {
5551
6050
  };
5552
6051
  };
5553
6052
  type UpdateEndpointResponse = UpdateEndpointResponses[keyof UpdateEndpointResponses];
6053
+ type PullWebhookEventData = {
6054
+ body: PullWebhookInput;
6055
+ path: {
6056
+ /**
6057
+ * Resource UUID
6058
+ */
6059
+ id: string;
6060
+ };
6061
+ query?: never;
6062
+ url: '/endpoints/{id}/pull';
6063
+ };
6064
+ type PullWebhookEventErrors = {
6065
+ /**
6066
+ * Invalid request parameters
6067
+ */
6068
+ 400: ErrorResponse;
6069
+ /**
6070
+ * Invalid or missing API key
6071
+ */
6072
+ 401: ErrorResponse;
6073
+ /**
6074
+ * Authenticated caller lacks permission for the operation
6075
+ */
6076
+ 403: ErrorResponse;
6077
+ /**
6078
+ * Resource not found
6079
+ */
6080
+ 404: ErrorResponse;
6081
+ /**
6082
+ * Request was canceled
6083
+ */
6084
+ 408: ErrorResponse;
6085
+ /**
6086
+ * The request conflicts with the current state of the resource
6087
+ */
6088
+ 409: ErrorResponse;
6089
+ /**
6090
+ * Queued content is no longer available
6091
+ */
6092
+ 410: ErrorResponse;
6093
+ /**
6094
+ * Rate limit exceeded
6095
+ */
6096
+ 429: ErrorResponse;
6097
+ /**
6098
+ * Local receiving is unavailable
6099
+ */
6100
+ 503: ErrorResponse;
6101
+ };
6102
+ type PullWebhookEventError = PullWebhookEventErrors[keyof PullWebhookEventErrors];
6103
+ type PullWebhookEventResponses = {
6104
+ /**
6105
+ * Delivery operation result
6106
+ */
6107
+ 200: PullWebhookResponse;
6108
+ };
6109
+ type PullWebhookEventResponse = PullWebhookEventResponses[keyof PullWebhookEventResponses];
6110
+ type CompleteWebhookEventData = {
6111
+ body: CompleteWebhookInput;
6112
+ path: {
6113
+ /**
6114
+ * Resource UUID
6115
+ */
6116
+ id: string;
6117
+ };
6118
+ query?: never;
6119
+ url: '/endpoints/{id}/complete';
6120
+ };
6121
+ type CompleteWebhookEventErrors = {
6122
+ /**
6123
+ * Invalid request parameters
6124
+ */
6125
+ 400: ErrorResponse;
6126
+ /**
6127
+ * Invalid or missing API key
6128
+ */
6129
+ 401: ErrorResponse;
6130
+ /**
6131
+ * Authenticated caller lacks permission for the operation
6132
+ */
6133
+ 403: ErrorResponse;
6134
+ /**
6135
+ * Resource not found
6136
+ */
6137
+ 404: ErrorResponse;
6138
+ /**
6139
+ * Request was canceled
6140
+ */
6141
+ 408: ErrorResponse;
6142
+ /**
6143
+ * The request conflicts with the current state of the resource
6144
+ */
6145
+ 409: ErrorResponse;
6146
+ /**
6147
+ * Queued content is no longer available
6148
+ */
6149
+ 410: ErrorResponse;
6150
+ /**
6151
+ * Rate limit exceeded
6152
+ */
6153
+ 429: ErrorResponse;
6154
+ /**
6155
+ * Local receiving is unavailable
6156
+ */
6157
+ 503: ErrorResponse;
6158
+ };
6159
+ type CompleteWebhookEventError = CompleteWebhookEventErrors[keyof CompleteWebhookEventErrors];
6160
+ type CompleteWebhookEventResponses = {
6161
+ /**
6162
+ * Delivery operation result
6163
+ */
6164
+ 200: CompleteWebhookResponse;
6165
+ };
6166
+ type CompleteWebhookEventResponse = CompleteWebhookEventResponses[keyof CompleteWebhookEventResponses];
5554
6167
  type TestEndpointData = {
5555
6168
  body?: never;
5556
6169
  path: {
@@ -5590,6 +6203,44 @@ type TestEndpointResponses = {
5590
6203
  };
5591
6204
  };
5592
6205
  type TestEndpointResponse = TestEndpointResponses[keyof TestEndpointResponses];
6206
+ type TestEndpointRulesData = {
6207
+ body: TestEndpointRulesInput;
6208
+ path: {
6209
+ /**
6210
+ * Resource UUID
6211
+ */
6212
+ id: string;
6213
+ };
6214
+ query?: never;
6215
+ url: '/endpoints/{id}/rules/test';
6216
+ };
6217
+ type TestEndpointRulesErrors = {
6218
+ /**
6219
+ * Invalid request parameters
6220
+ */
6221
+ 400: ErrorResponse;
6222
+ /**
6223
+ * Invalid or missing API key
6224
+ */
6225
+ 401: ErrorResponse;
6226
+ /**
6227
+ * Endpoint or email not found. Both the endpoint id (path)
6228
+ * and `email_id` (body) must belong to the caller's org; the
6229
+ * endpoint must be active (not deleted).
6230
+ *
6231
+ */
6232
+ 404: ErrorResponse;
6233
+ };
6234
+ type TestEndpointRulesError = TestEndpointRulesErrors[keyof TestEndpointRulesErrors];
6235
+ type TestEndpointRulesResponses = {
6236
+ /**
6237
+ * Rule evaluation verdict
6238
+ */
6239
+ 200: SuccessEnvelope & {
6240
+ data?: TestEndpointRulesResult;
6241
+ };
6242
+ };
6243
+ type TestEndpointRulesResponse = TestEndpointRulesResponses[keyof TestEndpointRulesResponses];
5593
6244
  type ListFiltersData = {
5594
6245
  body?: never;
5595
6246
  path?: never;
@@ -6454,6 +7105,28 @@ type SemanticSearchResponses = {
6454
7105
  meta: SemanticSearchMeta;
6455
7106
  };
6456
7107
  };
7108
+ type GetOutboundStatusData = {
7109
+ body?: never;
7110
+ path?: never;
7111
+ query?: never;
7112
+ url: '/outbound/status';
7113
+ };
7114
+ type GetOutboundStatusErrors = {
7115
+ /**
7116
+ * Invalid or missing API key
7117
+ */
7118
+ 401: ErrorResponse;
7119
+ };
7120
+ type GetOutboundStatusError = GetOutboundStatusErrors[keyof GetOutboundStatusErrors];
7121
+ type GetOutboundStatusResponses = {
7122
+ /**
7123
+ * Outbound readiness summary
7124
+ */
7125
+ 200: SuccessEnvelope & {
7126
+ data?: OutboundStatus;
7127
+ };
7128
+ };
7129
+ type GetOutboundStatusResponse = GetOutboundStatusResponses[keyof GetOutboundStatusResponses];
6457
7130
  type ListSentEmailsData = {
6458
7131
  body?: never;
6459
7132
  path?: never;
@@ -6561,6 +7234,145 @@ type GetSentEmailResponses = {
6561
7234
  };
6562
7235
  };
6563
7236
  type GetSentEmailResponse = GetSentEmailResponses[keyof GetSentEmailResponses];
7237
+ type RescheduleSentEmailData = {
7238
+ body: SentEmailRescheduleInput;
7239
+ path: {
7240
+ /**
7241
+ * Resource UUID
7242
+ */
7243
+ id: string;
7244
+ };
7245
+ query?: never;
7246
+ url: '/sent-emails/{id}';
7247
+ };
7248
+ type RescheduleSentEmailErrors = {
7249
+ /**
7250
+ * Invalid request parameters
7251
+ */
7252
+ 400: ErrorResponse;
7253
+ /**
7254
+ * Invalid or missing API key
7255
+ */
7256
+ 401: ErrorResponse;
7257
+ /**
7258
+ * Resource not found
7259
+ */
7260
+ 404: ErrorResponse;
7261
+ /**
7262
+ * The send exists but is no longer in `scheduled` status,
7263
+ * so it cannot be rescheduled. `error.details` carries the
7264
+ * row's `sent_email_id` and current `status`.
7265
+ *
7266
+ */
7267
+ 409: ErrorResponse;
7268
+ };
7269
+ type RescheduleSentEmailError = RescheduleSentEmailErrors[keyof RescheduleSentEmailErrors];
7270
+ type RescheduleSentEmailResponses = {
7271
+ /**
7272
+ * Rescheduled sent-email detail
7273
+ */
7274
+ 200: SuccessEnvelope & {
7275
+ data?: SentEmailDetail;
7276
+ };
7277
+ };
7278
+ type RescheduleSentEmailResponse = RescheduleSentEmailResponses[keyof RescheduleSentEmailResponses];
7279
+ type CancelSentEmailData = {
7280
+ body?: never;
7281
+ path: {
7282
+ /**
7283
+ * Resource UUID
7284
+ */
7285
+ id: string;
7286
+ };
7287
+ query?: never;
7288
+ url: '/sent-emails/{id}/cancel';
7289
+ };
7290
+ type CancelSentEmailErrors = {
7291
+ /**
7292
+ * Invalid request parameters
7293
+ */
7294
+ 400: ErrorResponse;
7295
+ /**
7296
+ * Invalid or missing API key
7297
+ */
7298
+ 401: ErrorResponse;
7299
+ /**
7300
+ * Resource not found
7301
+ */
7302
+ 404: ErrorResponse;
7303
+ /**
7304
+ * The send exists but is no longer in `scheduled` status,
7305
+ * so it cannot be canceled. `error.details` carries the
7306
+ * row's `sent_email_id` and current `status`.
7307
+ *
7308
+ */
7309
+ 409: ErrorResponse;
7310
+ };
7311
+ type CancelSentEmailError = CancelSentEmailErrors[keyof CancelSentEmailErrors];
7312
+ type CancelSentEmailResponses = {
7313
+ /**
7314
+ * Canceled sent-email detail
7315
+ */
7316
+ 200: SuccessEnvelope & {
7317
+ data?: SentEmailDetail;
7318
+ };
7319
+ };
7320
+ type CancelSentEmailResponse = CancelSentEmailResponses[keyof CancelSentEmailResponses];
7321
+ type AwaitReplyData = {
7322
+ body?: never;
7323
+ path: {
7324
+ /**
7325
+ * Resource UUID
7326
+ */
7327
+ id: string;
7328
+ };
7329
+ query?: {
7330
+ /**
7331
+ * When true, long-poll up to `wait_timeout_ms` for the
7332
+ * first reply to arrive instead of returning immediately.
7333
+ * Mirrors send-mail's server-side `wait` semantics. The
7334
+ * server accepts only the literal strings `true` / `false`
7335
+ * (standard boolean query serialization); omitted means
7336
+ * no wait.
7337
+ *
7338
+ */
7339
+ wait?: boolean;
7340
+ /**
7341
+ * Maximum time to hold the request when `wait=true`.
7342
+ * Server default is 10000. NOT given an OpenAPI `default`
7343
+ * on purpose, matching the `/emails` `wait` parameter: a
7344
+ * default makes some generators send the value on every
7345
+ * call.
7346
+ *
7347
+ */
7348
+ wait_timeout_ms?: number;
7349
+ };
7350
+ url: '/sent-emails/{id}/reply';
7351
+ };
7352
+ type AwaitReplyErrors = {
7353
+ /**
7354
+ * Invalid request parameters
7355
+ */
7356
+ 400: ErrorResponse;
7357
+ /**
7358
+ * Invalid or missing API key
7359
+ */
7360
+ 401: ErrorResponse;
7361
+ /**
7362
+ * Resource not found
7363
+ */
7364
+ 404: ErrorResponse;
7365
+ };
7366
+ type AwaitReplyError = AwaitReplyErrors[keyof AwaitReplyErrors];
7367
+ type AwaitReplyResponses = {
7368
+ /**
7369
+ * Reply status for the send (reply may be null)
7370
+ */
7371
+ 200: SuccessEnvelope & {
7372
+ data?: AwaitReplyResult;
7373
+ };
7374
+ };
7375
+ type AwaitReplyResponse = AwaitReplyResponses[keyof AwaitReplyResponses];
6564
7376
  type GetThreadData = {
6565
7377
  body?: never;
6566
7378
  path: {
@@ -8621,7 +9433,7 @@ type GetAgentResponses = {
8621
9433
  };
8622
9434
  type GetAgentResponse = GetAgentResponses[keyof GetAgentResponses];
8623
9435
  declare namespace sdk_gen_d_exports {
8624
- export { Options, addDomain, cliLogout, 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, deleteWakeAuthorization, deleteWakeSchedule, discardEmailContent, downloadAttachments, downloadDomainZoneFile, downloadRawEmail, getAccount, getAgent, getChallenge, getConversation, getEmail, getFunction, getFunctionRouting, getFunctionTestRunTrace, getInboxStatus, getMemory, getOrgRoutingTopology, 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, registerPayoutAddress, reorderRoutes, replayDelivery, replayEmailWebhooks, replyToEmail, resendAgentSignupVerification, resendCliSignupVerification, resolveRegistryHandle, rotateWebhookSecret, runWakeSchedule, searchEmails, searchMemories, semanticSearch, sendEmail, setFunctionRoute, setFunctionSecret, setMemory, setOrgSecret, simulateRoute, startAgentClaim, startAgentSignup, startCliLogin, startCliSignup, testEndpoint, testFunction, unpublishAgent, unsetFunctionRoute, updateAccount, updateDomain, updateEndpoint, updateFilter, updateFunction, updateRegistry, updateRoute, updateSpendPolicy, updateWakeAuthorization, updateWakeSchedule, verifyAgentClaim, verifyAgentSignup, verifyCliSignup, verifyDomain };
9436
+ 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, deleteWakeAuthorization, deleteWakeSchedule, discardEmailContent, downloadAttachments, downloadDomainZoneFile, downloadRawEmail, 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, 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 };
8625
9437
  }
8626
9438
  type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options$1<TData, ThrowOnError, TResponse> & {
8627
9439
  /**
@@ -8868,6 +9680,27 @@ declare const updateDomain: <ThrowOnError extends boolean = false>(options: Opti
8868
9680
  *
8869
9681
  */
8870
9682
  declare const verifyDomain: <ThrowOnError extends boolean = false>(options: Options<VerifyDomainData, ThrowOnError>) => RequestResult<VerifyDomainResponses, VerifyDomainErrors, ThrowOnError, "fields">;
9683
+ /**
9684
+ * Run an on-demand DNS health check
9685
+ *
9686
+ * Re-checks the domain's DNS records and persists the result as
9687
+ * the domain's current DNS health state. This is the on-demand
9688
+ * counterpart of the scheduled background checker: the response
9689
+ * mirrors what the checker records, broken down per scope
9690
+ * (`ownership`, `inbound`, `outbound`) with the exact records
9691
+ * inspected and each record's individual status.
9692
+ *
9693
+ * Unlike /domains/{id}/verify, this call never promotes an
9694
+ * unverified domain; it only re-evaluates and records health for
9695
+ * an existing claim. Managed (Primitive-operated) domains are
9696
+ * rejected with a validation error because their DNS is not
9697
+ * customer-published.
9698
+ *
9699
+ * Rate limited per organization; a `Retry-After` header
9700
+ * accompanies 429 responses.
9701
+ *
9702
+ */
9703
+ declare const checkDomainDns: <ThrowOnError extends boolean = false>(options: Options<CheckDomainDnsData, ThrowOnError>) => RequestResult<CheckDomainDnsResponses, CheckDomainDnsErrors, ThrowOnError, "fields">;
8871
9704
  /**
8872
9705
  * Download domain DNS zone file
8873
9706
  *
@@ -9078,6 +9911,8 @@ declare const listEndpoints: <ThrowOnError extends boolean = false>(options?: Op
9078
9911
  * it via `POST /endpoints/{id}/test` to confirm your verifier
9079
9912
  * accepts the signature.
9080
9913
  *
9914
+ *
9915
+ * 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.
9081
9916
  */
9082
9917
  declare const createEndpoint: <ThrowOnError extends boolean = false>(options: Options<CreateEndpointData, ThrowOnError>) => RequestResult<CreateEndpointResponses, CreateEndpointErrors, ThrowOnError, "fields">;
9083
9918
  /**
@@ -9095,8 +9930,22 @@ declare const deleteEndpoint: <ThrowOnError extends boolean = false>(options: Op
9095
9930
  * endpoint is deactivated and a new one is created (or an existing
9096
9931
  * deactivated endpoint with the new URL is reactivated).
9097
9932
  *
9933
+ *
9934
+ * Pull destinations cannot be assigned a URL, function or recipient-routing domain. Existing endpoint deletion disconnects the destination; creating a new destination does not backfill historical events.
9098
9935
  */
9099
9936
  declare const updateEndpoint: <ThrowOnError extends boolean = false>(options: Options<UpdateEndpointData, ThrowOnError>) => RequestResult<UpdateEndpointResponses, UpdateEndpointErrors, ThrowOnError, "fields">;
9937
+ /**
9938
+ * Receive a pending webhook event without a public endpoint
9939
+ *
9940
+ * Wait up to 30 seconds for one existing event. The body string preserves the exact webhook serialization; headers and canonical occurrence/type metadata travel alongside it. A fixed lease protects the attempt while a short handler accepts input. Retry may redeliver an occurrence: deduplicate event_id. Empty delivery means no offer now, not proof all input was delivered; inspect backlog and persistent gap_count/last_gap_reason. Queue retention is 24 hours and does not extend source-content retention. Disconnecting preserves pending work. Same named destination shares consumption; different destinations get independent copies.
9941
+ */
9942
+ declare const pullWebhookEvent: <ThrowOnError extends boolean = false>(options: Options<PullWebhookEventData, ThrowOnError>) => RequestResult<PullWebhookEventResponses, PullWebhookEventErrors, ThrowOnError, "fields">;
9943
+ /**
9944
+ * Report the outcome of a local webhook delivery attempt
9945
+ *
9946
+ * Report normalized handling evidence for the queue, attempt and lease. Required JSON fields: queue_id, delivery_id, lease_token, mode, duration_ms. For mode=exec include exit_code; stdout includes write_succeeded; http includes status_code and optional transport_error, error_code, confirmed. Supply this discriminated request with --raw-body in the generated CLI. The server classifies success and retry. Duplicate identical completion is idempotent; a stale lease cannot finish a newer attempt. Exec success means durable input acceptance, not completion of agent reasoning. Only successful HTTP handling with recognized confirmation evidence can confirm content discard. Never send arbitrary handler output or HTTP response bodies.
9947
+ */
9948
+ declare const completeWebhookEvent: <ThrowOnError extends boolean = false>(options: Options<CompleteWebhookEventData, ThrowOnError>) => RequestResult<CompleteWebhookEventResponses, CompleteWebhookEventErrors, ThrowOnError, "fields">;
9100
9949
  /**
9101
9950
  * Send a test webhook
9102
9951
  *
@@ -9108,6 +9957,32 @@ declare const updateEndpoint: <ThrowOnError extends boolean = false>(options: Op
9108
9957
  *
9109
9958
  */
9110
9959
  declare const testEndpoint: <ThrowOnError extends boolean = false>(options: Options<TestEndpointData, ThrowOnError>) => RequestResult<TestEndpointResponses, TestEndpointErrors, ThrowOnError, "fields">;
9960
+ /**
9961
+ * Dry-run endpoint rules against a received email
9962
+ *
9963
+ * Evaluates the endpoint's filtering rules against an
9964
+ * already-received email WITHOUT delivering anything. The same
9965
+ * shared matcher the live delivery paths use produces the
9966
+ * verdict, so the response explains exactly why a webhook fired
9967
+ * or was suppressed for that message.
9968
+ *
9969
+ * When delivery would be suppressed, `rule` names the failing
9970
+ * rule and `reason` carries a human-readable explanation; both
9971
+ * are null when the message matches. `evaluated` echoes the
9972
+ * message metadata the matcher compared (size, attachments, and
9973
+ * the authenticated From identity versus the raw envelope
9974
+ * sender), so a surprising verdict can be traced to its inputs.
9975
+ *
9976
+ * Two independent gates are surfaced separately:
9977
+ * `subscribed_to_event` reports the endpoint's event-type
9978
+ * subscription (checked before message matching), and
9979
+ * `rules_valid` reports whether the stored rules blob parsed at
9980
+ * all. Delivery fails OPEN on an invalid blob (the message is
9981
+ * delivered as if unfiltered), so `rules_valid: false` exposes a
9982
+ * misconfiguration that is otherwise silent.
9983
+ *
9984
+ */
9985
+ declare const testEndpointRules: <ThrowOnError extends boolean = false>(options: Options<TestEndpointRulesData, ThrowOnError>) => RequestResult<TestEndpointRulesResponses, TestEndpointRulesErrors, ThrowOnError, "fields">;
9111
9986
  /**
9112
9987
  * List filter rules
9113
9988
  *
@@ -9338,12 +10213,28 @@ declare const sendEmail: <ThrowOnError extends boolean = false>(options: Options
9338
10213
  * Requires the Pro plan and the `semantic_search_enabled`
9339
10214
  * entitlement; callers without them receive `403`.
9340
10215
  *
9341
- * Host routing: this operation is served only by the search host
9342
- * (`https://api.primitive.dev/v1`). The typed SDKs route it there
9343
- * automatically.
9344
- *
9345
10216
  */
9346
10217
  declare const semanticSearch: <ThrowOnError extends boolean = false>(options: Options<SemanticSearchData, ThrowOnError>) => RequestResult<SemanticSearchResponses, SemanticSearchErrors, ThrowOnError, "fields">;
10218
+ /**
10219
+ * Get outbound sending readiness
10220
+ *
10221
+ * The "what can I send From?" bootstrap, the outbound mirror of
10222
+ * /inbox/status. Returns per-domain sending readiness for every
10223
+ * domain in the caller's org, plus the flat `sendable_domains`
10224
+ * list of From-domains the org may send from right now. That
10225
+ * list is the same set echoed in a `cannot_send_from_domain`
10226
+ * error's details, so orienting here before a send and
10227
+ * recovering from that error use identical data.
10228
+ *
10229
+ * Each domain's `status` collapses the sending prerequisites
10230
+ * into one actionable state: `sendable`, `pending_ownership`
10231
+ * (ownership TXT not verified), `pending_outbound_dns`
10232
+ * (SPF/DKIM/DMARC not verified), or `inactive` (domain
10233
+ * deactivated). `next_actions` lists concrete remediation steps,
10234
+ * each with a suggested CLI command where one exists.
10235
+ *
10236
+ */
10237
+ declare const getOutboundStatus: <ThrowOnError extends boolean = false>(options?: Options<GetOutboundStatusData, ThrowOnError>) => RequestResult<GetOutboundStatusResponses, GetOutboundStatusErrors, ThrowOnError, "fields">;
9347
10238
  /**
9348
10239
  * List outbound sent emails
9349
10240
  *
@@ -9379,6 +10270,65 @@ declare const listSentEmails: <ThrowOnError extends boolean = false>(options?: O
9379
10270
  *
9380
10271
  */
9381
10272
  declare const getSentEmail: <ThrowOnError extends boolean = false>(options: Options<GetSentEmailData, ThrowOnError>) => RequestResult<GetSentEmailResponses, GetSentEmailErrors, ThrowOnError, "fields">;
10273
+ /**
10274
+ * Reschedule a scheduled send
10275
+ *
10276
+ * Moves a STILL-SCHEDULED send (status `scheduled`) to a new
10277
+ * execution time. The new `scheduled_at` must be in the future
10278
+ * and at most 30 days out, the same bounds as the create-time
10279
+ * field on /send-mail.
10280
+ *
10281
+ * The update is a compare-and-swap on `status = 'scheduled'`:
10282
+ * once the scheduler has claimed the row for execution, or it
10283
+ * was already canceled or executed, the update loses and the
10284
+ * call returns a 409 `not_scheduled` conflict naming the row's
10285
+ * current status. A due send can therefore never be moved out
10286
+ * from under an in-progress execution.
10287
+ *
10288
+ * Returns the full updated sent-email record on success.
10289
+ *
10290
+ */
10291
+ declare const rescheduleSentEmail: <ThrowOnError extends boolean = false>(options: Options<RescheduleSentEmailData, ThrowOnError>) => RequestResult<RescheduleSentEmailResponses, RescheduleSentEmailErrors, ThrowOnError, "fields">;
10292
+ /**
10293
+ * Cancel a scheduled send
10294
+ *
10295
+ * Cancels a STILL-SCHEDULED send (status `scheduled`), moving it
10296
+ * to the terminal `canceled` status. Nothing is dispatched and
10297
+ * the row is kept for historical lookup with `canceled_at` set.
10298
+ *
10299
+ * Uses the same compare-and-swap guard as reschedule: once the
10300
+ * scheduler has claimed the row for execution, or it was already
10301
+ * canceled or executed, the call returns a 409 `not_scheduled`
10302
+ * conflict naming the row's current status. Canceling can
10303
+ * therefore never race an in-progress execution; a send that
10304
+ * reports `canceled` was never handed to the delivery path.
10305
+ *
10306
+ * Returns the full updated sent-email record on success.
10307
+ *
10308
+ */
10309
+ declare const cancelSentEmail: <ThrowOnError extends boolean = false>(options: Options<CancelSentEmailData, ThrowOnError>) => RequestResult<CancelSentEmailResponses, CancelSentEmailErrors, ThrowOnError, "fields">;
10310
+ /**
10311
+ * Get (or wait for) the reply to a sent email
10312
+ *
10313
+ * Returns the first threaded inbound reply to a send, keyed by
10314
+ * the inbound email's `reply_to_sent_email_id`. This is the
10315
+ * canonical "did a reply arrive for this send?" call: after
10316
+ * /send-mail, poll (or long-poll) here instead of hand-rolling
10317
+ * an /emails/search loop.
10318
+ *
10319
+ * By default the call returns immediately with `reply: null`
10320
+ * when nothing has arrived yet. Set `wait=true` to long-poll:
10321
+ * the server holds the request up to `wait_timeout_ms`
10322
+ * (default 10000, max 30000), returning as soon as the first
10323
+ * reply lands. On a wait that elapses with no reply, the
10324
+ * response has `reply: null` and `timed_out: true`.
10325
+ *
10326
+ * The reply object is compact (headers plus bodies); fetch
10327
+ * `/emails/{id}` with `reply.id` for the fully parsed record,
10328
+ * or `/threads/{thread_id}` for the whole back-and-forth.
10329
+ *
10330
+ */
10331
+ declare const awaitReply: <ThrowOnError extends boolean = false>(options: Options<AwaitReplyData, ThrowOnError>) => RequestResult<AwaitReplyResponses, AwaitReplyErrors, ThrowOnError, "fields">;
9382
10332
  /**
9383
10333
  * Get a conversation thread by id
9384
10334
  *
@@ -10104,6 +11054,15 @@ interface SendInput {
10104
11054
  payloadAttachments?: SendPayloadReference[];
10105
11055
  wait?: boolean;
10106
11056
  waitTimeoutMs?: number;
11057
+ /**
11058
+ * Optional future execution time (ISO 8601). When set, the send is recorded
11059
+ * with status `scheduled` and executed at the requested time instead of
11060
+ * immediately. Server-enforced bounds: strictly in the future, at most 30
11061
+ * days out. Incompatible with `wait`, `attachments`, and
11062
+ * `payloadAttachments`. Reschedule via PATCH /sent-emails/{id}; cancel via
11063
+ * POST /sent-emails/{id}/cancel.
11064
+ */
11065
+ scheduledAt?: string;
10107
11066
  }
10108
11067
  /**
10109
11068
  * Input for {@link PrimitiveClient.sendAttachment}: the normal send fields plus
@@ -10173,6 +11132,12 @@ interface ForwardInput {
10173
11132
  bodyText?: string;
10174
11133
  subject?: string;
10175
11134
  from?: string;
11135
+ /**
11136
+ * Optional future execution time (ISO 8601), forwarded through to the
11137
+ * underlying send. Same semantics and server-enforced bounds as
11138
+ * {@link SendInput.scheduledAt}.
11139
+ */
11140
+ scheduledAt?: string;
10176
11141
  }
10177
11142
  interface SendResult {
10178
11143
  id: string;
@@ -10198,6 +11163,11 @@ interface SendResult {
10198
11163
  deliveryStatus?: SendMailResult["delivery_status"];
10199
11164
  smtpResponseCode?: number | null;
10200
11165
  smtpResponseText?: string;
11166
+ /**
11167
+ * Echoed requested execution time on a `scheduled` response (ISO 8601).
11168
+ * Absent on immediate sends.
11169
+ */
11170
+ scheduledAt?: string;
10201
11171
  }
10202
11172
  /**
10203
11173
  * Page of semantic-search results plus pagination meta. Returned by
@@ -10452,4 +11422,4 @@ interface CreatedAgent {
10452
11422
  */
10453
11423
  declare function createAgent(options: CreateAgentOptions): Promise<CreatedAgent>;
10454
11424
  //#endregion
10455
- export { createFunctionSecret as $, DeleteOrgSecretData as $a, GetSpendPolicyResponses as $c, PollCliLoginError as $d, ResendCliSignupVerificationInput as $f, VerifiedDomain as $g, UpdateDomainData as $h, CreateWakeScheduleError as $i, ListDeliveriesResponses as $l, StartCliSignupData as $m, verifyAgentSignup as $n, EmailAuth as $o, SendPermissionRule as $p, CreateEmailChallengeErrors as $r, GetEmailData as $s, listFunctions as $t, ListRegistryAgentsResponses as $u, client as A, X402EmailChallengeDetails as A_, DeleteEndpointResponse as Aa, GetOrgRoutingTopologyError as Ac, ListWakeSchedulesData as Ad, ReplayDeliveryErrors as Af, UpdateRouteError as Ag, TestFunctionResponse as Ah, CreateOrgSecretErrors as Ai, IdempotencyKey as Al, SimulateRouteErrors as Am, setFunctionSecret as An, DiscardEmailContentResponse as Ao, SemanticSearchCoverage as Ap, CliSignupVerifyResult as Ar, FunctionTestRunTrace as As, getFunctionTestRunTrace as At, ListFunctionSecretsResponses as Au, PrimitiveApiError as B, Config as B_, DeleteFunctionResponse as Ba, GetSendPermissionsError as Bc, NumericString as Bd, ReplyToEmailError as Bf, UpdateSpendPolicyResponses as Bg, UnpublishAgentResponses as Bh, CreateRouteData as Bi, InstallTemplateErrors as Bl, StartAgentClaimResponses as Bm, unpublishAgent as Bn, DownloadAttachmentsResponses as Bo, SemanticSearchSnippet as Bp, CreateAgentClaimLinkError as Br, GetAgentErrors as Bs, getTemplateInstall as Bt, ListOrgSecretsResponses as Bu, SendAttachment as C, WakeAuthorization as C_, DeleteEmailError as Ca, GetInboxStatusResponses as Cc, ListWakeAuthorizationsResponse as Cd, ReorderRoutesError as Cf, UpdateRegistryData as Cg, TestEndpointError as Ch, CreateFunctionSecretError as Ci, GetWakeScheduleResponse as Cl, SetOrgSecretError as Cm, runWakeSchedule as Cn, DeleteWakeScheduleResponses as Co, SearchEmailsResponse as Cp, CliLogoutErrors as Cr, FunctionTestRunDelivery as Cs, getAccount as Ct, ListFunctionLogsErrors as Cu, SendResult as D, X402Challenge as D_, DeleteEndpointData as Da, GetMemoryResponse as Dc, ListWakeDispatchesErrors as Dd, ReorderRoutesResponses as Df, UpdateRegistryResponse as Dg, TestFunctionData as Dh, CreateFunctionSecretResponses as Di, GetWebhookSecretErrors as Dl, SetOrgSecretResponses as Dm, semanticSearch as Dn, DiscardEmailContentData as Do, SearchMemoriesErrors as Dp, CliLogoutResult as Dr, FunctionTestRunReply as Ds, getEmail as Dt, ListFunctionSecretsError as Du, SendPayloadReference as E, WebhookSecret as E_, DeleteEmailResponses as Ea, GetMemoryErrors as Ec, ListWakeDispatchesError as Ed, ReorderRoutesResponse as Ef, UpdateRegistryInput as Eg, TestEndpointResponses as Eh, CreateFunctionSecretResponse as Ei, GetWebhookSecretError as El, SetOrgSecretResponse as Em, searchMemories as En, DiscardContentResult as Eo, SearchMemoriesError as Ep, CliLogoutResponses as Er, FunctionTestRunOutboundRequest as Es, getConversation as Et, ListFunctionSecretsData as Eu, verifyWebhookSignature as F, X402Receipt as F_, DeleteFilterResponse as Fa, GetRegistryError as Fc, MemoryKeyQuery as Fd, ReplayEmailWebhooksErrors as Ff, UpdateSpendPolicyData as Fg, ThreadMessage as Fh, CreateRegistryError as Fi, InboxStatusNextAction as Fl, StartAgentClaimData as Fm, startAgentSignup as Fn, DomainVerifyResult as Fo, SemanticSearchInput as Fp, CreateAgentAccountErrors as Fr, GetAccountErrors as Fs, getSendPermissions as Ft, ListFunctionsResponses as Fu, cliLogout as G, ResponseStyle as G_, DeleteFunctionSecretResponse as Ga, GetSentEmailError as Gc, PayChallengeData as Gd, ResendAgentSignupVerificationError as Gf, UpdateWakeAuthorizationResponse as Gg, UnsetFunctionRouteResponses as Gh, CreateRouteResponses as Gi, ListDeclinedPaymentsError as Gl, StartAgentSignupResponse as Gm, updateFilter as Gn, DownloadDomainZoneFileResponses as Go, SendEmailResponses as Gp, CreateChallengeData as Gr, GetChallengeErrors as Gs, listDeclinedPayments as Gt, ListPayoutAddressesResponses as Gu, RequestOptions$1 as H, Options$1 as H_, DeleteFunctionSecretData as Ha, GetSendPermissionsResponse as Hc, OrgSecretWriteResult as Hd, ReplyToEmailResponse as Hf, UpdateWakeAuthorizationError as Hg, UnsetFunctionRouteError as Hh, CreateRouteErrors as Hi, InstallTemplateResponses as Hl, StartAgentSignupError as Hm, updateAccount as Hn, DownloadDomainZoneFileError as Ho, SendEmailError as Hp, CreateAgentClaimLinkInput as Hr, GetAgentResponses as Hs, getWakeSchedule as Ht, ListPayoutAddressesError as Hu, isMemoryJsonValue as I, X402SpendPolicy as I_, DeleteFilterResponses as Ia, GetRegistryErrors as Ic, MemoryResolvedScope as Id, ReplayEmailWebhooksResponse as If, UpdateSpendPolicyError as Ig, UnpublishAgentData as Ih, CreateRegistryErrors as Ii, InboxStatusRecentEmailSummary as Il, StartAgentClaimError as Im, startCliLogin as In, DownloadAttachmentsData as Io, SemanticSearchMeta as Ip, CreateAgentAccountInput as Ir, GetAccountResponse as Is, getSentEmail as It, ListOrgSecretsData as Iu, createChallenge as J, DeleteMemoryError as Ja, GetSentEmailResponses as Jc, PayChallengeInput as Jd, ResendAgentSignupVerificationResponse as Jf, UpdateWakeScheduleError as Jg, UpdateAccountError as Jh, CreateWakeAuthorizationErrors as Ji, ListDeclinedPaymentsResponses as Jl, StartCliLoginError as Jm, updateRoute as Jn, DownloadRawEmailErrors as Jo, SendMailPayloadRef as Jp, CreateChallengeInput as Jr, GetConversationData as Js, listEmails as Jt, ListRegistriesErrors as Ju, createAgentAccount as K, createConfig as K_, DeleteFunctionSecretResponses as Ka, GetSentEmailErrors as Kc, PayChallengeError as Kd, ResendAgentSignupVerificationErrors as Kf, UpdateWakeAuthorizationResponses as Kg, UnverifiedDomain as Kh, CreateWakeAuthorizationData as Ki, ListDeclinedPaymentsErrors as Kl, StartAgentSignupResponses as Km, updateFunction as Kn, DownloadRawEmailData as Ko, SendMailAttachment as Kp, CreateChallengeError as Kr, GetChallengeResponse as Ks, listDeliveries as Kt, ListRegistriesData as Ku, DEFAULT_API_BASE_URL as L, createClient as L_, DeleteFunctionData as La, GetRegistryResponse as Lc, MemoryScope as Ld, ReplayEmailWebhooksResponses as Lf, UpdateSpendPolicyErrors as Lg, UnpublishAgentError as Lh, CreateRegistryInput as Li, InstallTemplateBody as Ll, StartAgentClaimErrors as Lm, startCliSignup as Ln, DownloadAttachmentsError as Lo, SemanticSearchResponses as Lp, CreateAgentAccountResponse as Lr, GetAccountResponses as Ls, getSpendPolicy as Lt, ListOrgSecretsError as Lu, createPrimitiveClient as M, X402PaymentPayload as M_, DeleteFilterData as Ma, GetOrgRoutingTopologyResponse as Mc, ListWakeSchedulesErrors as Md, ReplayDeliveryResponses as Mf, UpdateRouteInput as Mg, TestInvocationResult as Mh, CreateOrgSecretResponse as Mi, InboxStatusDomain as Ml, SimulateRouteResponse as Mm, setOrgSecret as Mn, DkimSignature as Mo, SemanticSearchError as Mp, ConversationMessage as Mr, GateFix as Ms, getMemory as Mt, ListFunctionsError as Mu, PRIMITIVE_SIGNATURE_HEADER as N, X402PaymentRequirements as N_, DeleteFilterError as Na, GetOrgRoutingTopologyResponses as Nc, ListWakeSchedulesResponse as Nd, ReplayEmailWebhooksData as Nf, UpdateRouteResponse as Ng, TestResult as Nh, CreateOrgSecretResponses as Ni, InboxStatusEndpointSummary as Nl, SimulateRouteResponses as Nm, simulateRoute as Nn, Domain as No, SemanticSearchErrors as Np, CreateAgentAccountData as Nr, GetAccountData as Ns, getOrgRoutingTopology as Nt, ListFunctionsErrors as Nu, SendThreadInput as O, X402DeclinedPayment as O_, DeleteEndpointError as Oa, GetMemoryResponses as Oc, ListWakeDispatchesResponse as Od, ReplayDeliveryData as Of, UpdateRegistryResponses as Og, TestFunctionError as Oh, CreateOrgSecretData as Oi, GetWebhookSecretResponse as Ol, SimulateRouteData as Om, sendEmail as On, DiscardEmailContentError as Oo, SearchMemoriesResponse as Op, CliSignupResendResult as Or, FunctionTestRunSend as Os, getFunction as Ot, ListFunctionSecretsErrors as Ou, VerifyOptions as P, X402PayoutAddress as P_, DeleteFilterErrors as Pa, GetRegistryData as Pc, ListWakeSchedulesResponses as Pd, ReplayEmailWebhooksError as Pf, UpdateRouteResponses as Pg, Thread as Ph, CreateRegistryData as Pi, InboxStatusFunctionSummary as Pl, SimulateRouteResult as Pm, startAgentClaim as Pn, DomainDnsRecord as Po, SemanticSearchField as Pp, CreateAgentAccountError as Pr, GetAccountError as Ps, getRegistry as Pt, ListFunctionsResponse as Pu, createFunction as Q, DeleteMemoryResult as Qa, GetSpendPolicyResponse as Qc, PollCliLoginData as Qd, ResendCliSignupVerificationErrors as Qf, UpdateWakeScheduleResponses as Qg, UpdateAccountResponses as Qh, CreateWakeScheduleData as Qi, ListDeliveriesResponse as Ql, StartCliLoginResponses as Qm, verifyAgentClaim as Qn, EmailAttachment as Qo, SendPermissionManagedZone as Qp, CreateEmailChallengeError as Qr, GetConversationResponses as Qs, listFunctionSecrets as Qt, ListRegistryAgentsResponse as Qu, PrimitiveApiClient as R, Client as R_, DeleteFunctionError as Ra, GetRegistryResponses as Rc, MemoryScopeId as Rd, ReplayResult as Rf, UpdateSpendPolicyInput as Rg, UnpublishAgentErrors as Rh, CreateRegistryResponse as Ri, InstallTemplateData as Rl, StartAgentClaimInput as Rm, testEndpoint as Rn, DownloadAttachmentsErrors as Ro, SemanticSearchResult as Rp, CreateAgentAccountResponses as Rr, GetAgentData as Rs, getStorageStats as Rt, ListOrgSecretsErrors as Ru, SemanticSearchResponse as S, VerifyDomainResponses as S_, DeleteEmailData as Sa, GetInboxStatusResponse as Sc, ListWakeAuthorizationsErrors as Sd, ReorderRoutesData as Sf, UpdateFunctionResponses as Sg, TestEndpointData as Sh, CreateFunctionSecretData as Si, GetWakeScheduleErrors as Sl, SetOrgSecretData as Sm, rotateWebhookSecret as Sn, DeleteWakeScheduleResponse as So, SearchEmailsErrors as Sp, CliLogoutError as Sr, FunctionTestRun as Ss, downloadRawEmail as St, ListFunctionLogsError as Su, SendInput as T, WakeSchedule as T_, DeleteEmailResponse as Ta, GetMemoryError as Tc, ListWakeDispatchesData as Td, ReorderRoutesInput as Tf, UpdateRegistryErrors as Tg, TestEndpointResponse as Th, CreateFunctionSecretInput as Ti, GetWebhookSecretData as Tl, SetOrgSecretInput as Tm, searchEmails as Tn, DeliverySummary as To, SearchMemoriesData as Tp, CliLogoutResponse as Tr, FunctionTestRunInboundEmail as Ts, getChallenge as Tt, ListFunctionLogsResponses as Tu, createPrimitiveApiClient as U, RequestOptions$2 as U_, DeleteFunctionSecretError as Ua, GetSendPermissionsResponses as Uc, PaginationMeta as Ud, ReplyToEmailResponses as Uf, UpdateWakeAuthorizationErrors as Ug, UnsetFunctionRouteErrors as Uh, CreateRouteInput as Ui, Limit as Ul, StartAgentSignupErrors as Um, updateDomain as Un, DownloadDomainZoneFileErrors as Uo, SendEmailErrors as Up, CreateAgentClaimLinkResponse as Ur, GetChallengeData as Us, getWebhookSecret as Ut, ListPayoutAddressesErrors as Uu, PrimitiveApiErrorDetails as V, CreateClientConfig as V_, DeleteFunctionResponses as Va, GetSendPermissionsErrors as Vc, OrgSecretListItem as Vd, ReplyToEmailErrors as Vf, UpdateWakeAuthorizationData as Vg, UnsetFunctionRouteData as Vh, CreateRouteError as Vi, InstallTemplateResponse as Vl, StartAgentSignupData as Vm, unsetFunctionRoute as Vn, DownloadDomainZoneFileData as Vo, SendEmailData as Vp, CreateAgentClaimLinkErrors as Vr, GetAgentResponse as Vs, getThread as Vt, ListPayoutAddressesData as Vu, addDomain as W, RequestResult as W_, DeleteFunctionSecretErrors as Wa, GetSentEmailData as Wc, ParsedEmailData as Wd, ResendAgentSignupVerificationData as Wf, UpdateWakeAuthorizationInput as Wg, UnsetFunctionRouteResponse as Wh, CreateRouteResponse as Wi, ListDeclinedPaymentsData as Wl, StartAgentSignupInput as Wm, updateEndpoint as Wn, DownloadDomainZoneFileResponse as Wo, SendEmailResponse as Wp, CreateAgentClaimLinkResponses as Wr, GetChallengeError as Ws, installTemplate as Wt, ListPayoutAddressesResponse as Wu, createEndpoint as X, DeleteMemoryResponse as Xa, GetSpendPolicyError as Xc, PayChallengeResponses as Xd, ResendCliSignupVerificationData as Xf, UpdateWakeScheduleInput as Xg, UpdateAccountInput as Xh, CreateWakeAuthorizationResponse as Xi, ListDeliveriesError as Xl, StartCliLoginInput as Xm, updateWakeAuthorization as Xn, DownloadRawEmailResponses as Xo, SendPermissionAddress as Xp, CreateChallengeResponses as Xr, GetConversationErrors as Xs, listFilters as Xt, ListRegistriesResponses as Xu, createEmailChallenge as Y, DeleteMemoryErrors as Ya, GetSpendPolicyData as Yc, PayChallengeResponse as Yd, ResendAgentSignupVerificationResponses as Yf, UpdateWakeScheduleErrors as Yg, UpdateAccountErrors as Yh, CreateWakeAuthorizationInput as Yi, ListDeliveriesData as Yl, StartCliLoginErrors as Ym, updateSpendPolicy as Yn, DownloadRawEmailResponse as Yo, SendMailResult as Yp, CreateChallengeResponse as Yr, GetConversationError as Ys, listEndpoints as Yt, ListRegistriesResponse as Yu, createFilter as Z, DeleteMemoryResponses as Za, GetSpendPolicyErrors as Zc, PlanLimits as Zd, ResendCliSignupVerificationError as Zf, UpdateWakeScheduleResponse as Zg, UpdateAccountResponse as Zh, CreateWakeAuthorizationResponses as Zi, ListDeliveriesErrors as Zl, StartCliLoginResponse as Zm, updateWakeSchedule as Zn, EmailAddress as Zo, SendPermissionAnyRecipient as Zp, CreateEmailChallengeData as Zr, GetConversationResponse as Zs, listFunctionLogs as Zt, ListRegistryAgentsData as Zu, MemorySetInput as _, VerifyCliSignupResponses as __, DeleteDomainData as _a, GetFunctionTestRunTraceResponse as _c, ListTemplatesErrors as _d, RegisterPayoutAddressResponse as _f, UpdateFunctionData as _g, TemplateSecretGroup as _h, CreateFunctionErrors as _i, GetThreadErrors as _l, SetMemoryError as _m, replayEmailWebhooks as _n, DeleteWakeAuthorizationResponse as _o, RunWakeScheduleErrors as _p, AgentSignupStartResult as _r, FunctionRouteBody as _s, deleteWakeAuthorization as _t, ListFiltersError as _u, ForwardInput as a, VerifyAgentClaimResponses as a_, DecideRegistryRequestData as aa, GetFunctionError as ac, ListRoutesData as ad, PublishAgentError as af, UpdateEndpointData as ag, StorageStats as ah, CreateEndpointErrors as ai, GetTemplateData as al, SetFunctionRouteData as am, listRoutes as an, DeleteRegistryError as ao, ResolveRegistryHandleResponse as ap, AddDomainError as ar, EmailSearchMeta as as, decideRegistryRequest as at, ListEmailsData as au, ReplyInput as b, VerifyDomainErrors as b_, DeleteDomainResponse as ba, GetInboxStatusError as bc, ListWakeAuthorizationsData as bd, RegistryAgent as bf, UpdateFunctionInput as bg, TemplateVariable as bh, CreateFunctionResponses as bi, GetWakeScheduleData as bl, SetMemoryResponse as bm, resendCliSignupVerification as bn, DeleteWakeScheduleError as bo, SearchEmailsData as bp, CliLoginStartResult as br, FunctionSecretListItem as bs, downloadAttachments as bt, ListFiltersResponses as bu, InboxStreamOptions as c, VerifyAgentSignupErrors as c_, DecideRegistryRequestInput as ca, GetFunctionResponses as cc, ListRoutesResponse as cd, PublishAgentResponse as cf, UpdateEndpointInput as cg, TemplateInstall as ch, CreateEndpointResponses as ci, GetTemplateInstallData as cl, SetFunctionRouteResponse as cm, listWakeAuthorizations as cn, DeleteRegistryResponses as co, RotateWebhookSecretData as cp, AddDomainResponse as cr, EmailSummary as cs, deleteEmail as ct, ListEmailsResponse as cu, MemoryGetInput as d, VerifyAgentSignupResponses as d_, DefineAgentData as da, GetFunctionRoutingErrors as dc, ListSentEmailsError as dd, PublishPolicy as df, UpdateFilterData as dg, TemplateManifest as dh, CreateFilterErrors as di, GetTemplateInstallResponse as dl, SetFunctionSecretError as dm, payChallenge as dn, DeleteRouteErrors as do, RotateWebhookSecretResponse as dp, AgentAccountUpgradeHint as dr, ErrorResponse as ds, deleteFunction as dt, ListEndpointsError as du, VerifyAgentClaimData as e_, CreateWakeScheduleErrors as ea, GetEmailError as ec, ListRegistryRequestsData as ed, PollCliLoginErrors as ef, UpdateDomainError as eg, StartCliSignupError as eh, CreateEmailChallengeInput as ei, GetStorageStatsData as el, SendPermissionYourDomain as em, listOrgSecrets as en, DeleteOrgSecretError as eo, ResendCliSignupVerificationResponse as ep, verifyCliSignup as er, EmailDetail as es, createOrgSecret as et, ListDomainsData as eu, MemoryJsonValue as f, VerifyCliSignupData as f_, DefineAgentError as fa, GetFunctionRoutingResponse as fc, ListSentEmailsErrors as fd, RecipientRoute as ff, UpdateFilterError as fg, TemplateRegistryDetail as fh, CreateFilterInput as fi, GetTemplateInstallResponses as fl, SetFunctionSecretErrors as fm, pollCliLogin as fn, DeleteRouteResponse as fo, RotateWebhookSecretResponses as fp, AgentClaimLinkResult as fr, Filter as fs, deleteFunctionSecret as ft, ListEndpointsErrors as fu, MemorySearchResponse as g, VerifyCliSignupResponse as g_, DefineAgentResponses as ga, GetFunctionTestRunTraceErrors as gc, ListTemplatesError as gd, RegisterPayoutAddressInput as gf, UpdateFilterResponses as gg, TemplateSecret as gh, CreateFunctionError as gi, GetThreadError as gl, SetMemoryData as gm, replayDelivery as gn, DeleteWakeAuthorizationErrors as go, RunWakeScheduleError as gp, AgentSignupResendResult as gr, FunctionLogRow as gs, deleteRoute as gt, ListFiltersData as gu, MemorySearchInput as h, VerifyCliSignupInput as h_, DefineAgentResponse as ha, GetFunctionTestRunTraceError as hc, ListTemplatesData as hd, RegisterPayoutAddressErrors as hf, UpdateFilterResponse as hg, TemplateRegistrySummary as hh, CreateFunctionData as hi, GetThreadData as hl, SetFunctionSecretResponses as hm, reorderRoutes as hn, DeleteWakeAuthorizationError as ho, RunWakeScheduleData as hp, AgentOrgRef as hr, FunctionListItem as hs, deleteRegistry as ht, ListEnvelope as hu, CreatedAgent as i, VerifyAgentClaimResponse as i_, Cursor as ia, GetFunctionData as ic, ListRegistryRequestsResponses as id, PublishAgentData as if, UpdateDomainResponses as ig, StartCliSignupResponses as ih, CreateEndpointError as ii, GetStorageStatsResponses as il, SentEmailSummary as im, listRegistryRequests as in, DeleteRegistryData as io, ResolveRegistryHandleErrors as ip, AddDomainData as ir, EmailSearchHighlights as is, createWakeSchedule as it, ListDomainsResponses as iu, createAgent as j, X402NonceBinding as j_, DeleteEndpointResponses as ja, GetOrgRoutingTopologyErrors as jc, ListWakeSchedulesError as jd, ReplayDeliveryResponse as jf, UpdateRouteErrors as jg, TestFunctionResponses as jh, CreateOrgSecretInput as ji, InboxStatus as jl, SimulateRouteInput as jm, setMemory as jn, DiscardEmailContentResponses as jo, SemanticSearchData as jp, Conversation as jr, GateDenial as js, getInboxStatus as jt, ListFunctionsData as ju, WaitForNextOptions as k, X402EmailChallenge as k_, DeleteEndpointErrors as ka, GetOrgRoutingTopologyData as kc, ListWakeDispatchesResponses as kd, ReplayDeliveryError as kf, UpdateRouteData as kg, TestFunctionErrors as kh, CreateOrgSecretError as ki, GetWebhookSecretResponses as kl, SimulateRouteError as km, setFunctionRoute as kn, DiscardEmailContentErrors as ko, SearchMemoriesResponses as kp, CliSignupStartResult as kr, FunctionTestRunState as ks, getFunctionRouting as kt, ListFunctionSecretsResponse as ku, MemoriesResource as l, VerifyAgentSignupInput as l_, DecideRegistryRequestResponse as la, GetFunctionRoutingData as lc, ListRoutesResponses as ld, PublishAgentResponses as lf, UpdateEndpointResponse as lg, TemplateInstallState as lh, CreateFilterData as li, GetTemplateInstallError as ll, SetFunctionRouteResponses as lm, listWakeDispatches as ln, DeleteRouteData as lo, RotateWebhookSecretError as lp, AddDomainResponses as lr, EmailWebhookStatus as ls, deleteEndpoint as lt, ListEmailsResponses as lu, MemoryRecordWithValue as m, VerifyCliSignupErrors as m_, DefineAgentInput as ma, GetFunctionTestRunTraceData as mc, ListSentEmailsResponses as md, RegisterPayoutAddressError as mf, UpdateFilterInput as mg, TemplateRegistryStatus as mh, CreateFilterResponses as mi, GetTemplateResponses as ml, SetFunctionSecretResponse as mm, registerPayoutAddress as mn, DeleteWakeAuthorizationData as mo, RoutingTopology as mp, AgentClaimStartResult as mr, FunctionDetail as ms, deleteOrgSecret as mt, ListEndpointsResponses as mu, AgentResource as n, VerifyAgentClaimErrors as n_, CreateWakeScheduleResponse as na, GetEmailResponse as nc, ListRegistryRequestsErrors as nd, PollCliLoginResponse as nf, UpdateDomainInput as ng, StartCliSignupInput as nh, CreateEmailChallengeResponses as ni, GetStorageStatsErrors as nl, SentEmailDetail as nm, listRegistries as nn, DeleteOrgSecretResponse as no, ResolveRegistryHandleData as np, Account as nr, EmailSearchFacetBucket as ns, createRoute as nt, ListDomainsErrors as nu, InboundEmail as o, VerifyAgentSignupData as o_, DecideRegistryRequestError as oa, GetFunctionErrors as oc, ListRoutesError as od, PublishAgentErrors as of, UpdateEndpointError as og, SuccessEnvelope as oh, CreateEndpointInput as oi, GetTemplateError as ol, SetFunctionRouteError as om, listSentEmails as on, DeleteRegistryErrors as oo, ResolveRegistryHandleResponses as op, AddDomainErrors as or, EmailSearchResult as os, defineAgent as ot, ListEmailsError as ou, MemoryRecord as p, VerifyCliSignupError as p_, DefineAgentErrors as pa, GetFunctionRoutingResponses as pc, ListSentEmailsResponse as pd, RegisterPayoutAddressData as pf, UpdateFilterErrors as pg, TemplateRegistryPage as ph, CreateFilterResponse as pi, GetTemplateResponse as pl, SetFunctionSecretInput as pm, publishAgent as pn, DeleteRouteResponses as po, RouteEvaluatedEntry as pp, AgentClaimResult as pr, FunctionDeployStatus as ps, deleteMemory as pt, ListEndpointsResponse as pu, createAgentClaimLink as q, Auth as q_, DeleteMemoryData as qa, GetSentEmailResponse as qc, PayChallengeErrors as qd, ResendAgentSignupVerificationInput as qf, UpdateWakeScheduleData as qg, UpdateAccountData as qh, CreateWakeAuthorizationError as qi, ListDeclinedPaymentsResponse as ql, StartCliLoginData as qm, updateRegistry as qn, DownloadRawEmailError as qo, SendMailInput as qp, CreateChallengeErrors as qr, GetChallengeResponses as qs, listDomains as qt, ListRegistriesError as qu, CreateAgentOptions as r, VerifyAgentClaimInput as r_, CreateWakeScheduleResponses as ra, GetEmailResponses as rc, ListRegistryRequestsResponse as rd, PollCliLoginResponses as rf, UpdateDomainResponse as rg, StartCliSignupResponse as rh, CreateEndpointData as ri, GetStorageStatsResponse as rl, SentEmailStatus as rm, listRegistryAgents as rn, DeleteOrgSecretResponses as ro, ResolveRegistryHandleError as rp, AccountUpdated as rr, EmailSearchFacets as rs, createWakeAuthorization as rt, ListDomainsResponse as ru, InboxResource as s, VerifyAgentSignupError as s_, DecideRegistryRequestErrors as sa, GetFunctionResponse as sc, ListRoutesErrors as sd, PublishAgentInput as sf, UpdateEndpointErrors as sg, TemplateAuthor as sh, CreateEndpointResponse as si, GetTemplateErrors as sl, SetFunctionRouteErrors as sm, listTemplates as sn, DeleteRegistryResponse as so, ResourceId as sp, AddDomainInput as sr, EmailStatus as ss, deleteDomain as st, ListEmailsErrors as su, AccountResource as t, VerifyAgentClaimError as t_, CreateWakeScheduleInput as ta, GetEmailErrors as tc, ListRegistryRequestsError as td, PollCliLoginInput as tf, UpdateDomainErrors as tg, StartCliSignupErrors as th, CreateEmailChallengeResponse as ti, GetStorageStatsError as tl, SendPermissionsMeta as tm, listPayoutAddresses as tn, DeleteOrgSecretErrors as to, ResendCliSignupVerificationResponses as tp, verifyDomain as tr, EmailDetailReply as ts, createRegistry as tt, ListDomainsError as tu, MemoryDeleteInput as u, VerifyAgentSignupResponse as u_, DecideRegistryRequestResponses as ua, GetFunctionRoutingError as uc, ListSentEmailsData as ud, PublishAgentResult as uf, UpdateEndpointResponses as ug, TemplateInstallStatus as uh, CreateFilterError as ui, GetTemplateInstallErrors as ul, SetFunctionSecretData as um, listWakeSchedules as un, DeleteRouteError as uo, RotateWebhookSecretErrors as up, AgentAccountResult as ur, Endpoint as us, deleteFilter as ut, ListEndpointsData as uu, PrimitiveClient as v, VerifyDomainData as v_, DeleteDomainError as va, GetFunctionTestRunTraceResponses as vc, ListTemplatesResponse as vd, RegisterPayoutAddressResponses as vf, UpdateFunctionError as vg, TemplateSetup as vh, CreateFunctionInput as vi, GetThreadResponse as vl, SetMemoryErrors as vm, replyToEmail as vn, DeleteWakeAuthorizationResponses as vo, RunWakeScheduleResponse as vp, AgentSignupVerifyResult as vr, FunctionRouteResult as vs, deleteWakeSchedule as vt, ListFiltersErrors as vu, SendAttachmentInput as w, WakeDispatch as w_, DeleteEmailErrors as wa, GetMemoryData as wc, ListWakeAuthorizationsResponses as wd, ReorderRoutesErrors as wf, UpdateRegistryError as wg, TestEndpointErrors as wh, CreateFunctionSecretErrors as wi, GetWakeScheduleResponses as wl, SetOrgSecretErrors as wm, sdk_gen_d_exports as wn, DeliveryStatus as wo, SearchEmailsResponses as wp, CliLogoutInput as wr, FunctionTestRunDeliveryEndpoint as ws, getAgent as wt, ListFunctionLogsResponse as wu, RequestOptions as x, VerifyDomainResponse as x_, DeleteDomainResponses as xa, GetInboxStatusErrors as xc, ListWakeAuthorizationsError as xd, RegistryRequest as xf, UpdateFunctionResponse as xg, TemplateVariableValidation as xh, CreateFunctionResult as xi, GetWakeScheduleError as xl, SetMemoryResponses as xm, resolveRegistryHandle as xn, DeleteWakeScheduleErrors as xo, SearchEmailsError as xp, CliLogoutData as xr, FunctionSecretWriteResult as xs, downloadDomainZoneFile as xt, ListFunctionLogsData as xu, PrimitiveClientOptions as y, VerifyDomainError as y_, DeleteDomainErrors as ya, GetInboxStatusData as yc, ListTemplatesResponses as yd, Registry as yf, UpdateFunctionErrors as yg, TemplateSource as yh, CreateFunctionResponse as yi, GetThreadResponses as yl, SetMemoryInput as ym, resendAgentSignupVerification as yn, DeleteWakeScheduleData as yo, RunWakeScheduleResponses as yp, CliLoginPollResult as yr, FunctionRouting as ys, discardEmailContent as yt, ListFiltersResponse as yu, PrimitiveApiClientOptions as z, ClientOptions as z_, DeleteFunctionErrors as za, GetSendPermissionsData as zc, MemoryScopeQueryType as zd, ReplyToEmailData as zf, UpdateSpendPolicyResponse as zg, UnpublishAgentResponse as zh, CreateRegistryResponses as zi, InstallTemplateError as zl, StartAgentClaimResponse as zm, testFunction as zn, DownloadAttachmentsResponse as zo, SemanticSearchScoreBreakdown as zp, CreateAgentClaimLinkData as zr, GetAgentError as zs, getTemplate as zt, ListOrgSecretsResponse as zu };
11425
+ export { createEmailChallenge as $, UpdateWakeAuthorizationError as $_, DeleteDomainErrors as $a, GetFunctionTestRunTraceErrors as $c, ListSentEmailsError as $d, PublishAgentResponses as $f, UnsetFunctionRouteError as $g, StartCliLoginErrors as $h, CreateFunctionResponse as $i, GetTemplateInstallResponse as $l, SendPermissionAddress as $m, updateFilter as $n, DeleteWakeScheduleData as $o, ResendCliSignupVerificationData as $p, CliSignupStartResult as $r, FunctionLogRow as $s, listEmails as $t, ListEndpointsError as $u, Options$1 as $v, client as A, UpdateFunctionErrors as A_, CreateWakeAuthorizationResponse as Aa, GetChallengeResponses as Ac, ListPayoutAddressesError as Ad, OrgSecretWriteResult as Af, TestEndpointResponses as Ag, SetOrgSecretResponse as Ah, CreateChallengeResponses as Ai, GetSendPermissionsResponse as Al, SearchMemoriesErrors as Am, runWakeSchedule as An, DeleteMemoryResponse as Ao, ReplayEmailWebhooksData as Ap, AwaitReplyResponse as Ar, DownloadRawEmailError as As, getConversation as At, InstallTemplateResponses as Au, VerifyDomainError as Av, PrimitiveApiError as B, UpdateRouteData as B_, DecideRegistryRequestError as Ba, GetEmailResponses as Bc, ListRegistryAgentsResponse as Bd, PayChallengeResponses as Bf, TestFunctionErrors as Bg, StartAgentClaimError as Bh, CreateEndpointInput as Bi, GetSpendPolicyResponse as Bl, SemanticSearchResponses as Bm, simulateRoute as Bn, DeleteRegistryErrors as Bo, ReplyToEmailResponse as Bp, CheckDomainDnsErrors as Br, EmailSearchFacets as Bs, getSendPermissions as Bt, ListDeliveriesResponse as Bu, X402EmailChallenge as Bv, SendAttachment as C, UpdateFilterError as C_, CreateRouteInput as Ca, GetAgentErrors as Cc, ListFunctionsResponses as Cd, MemoryKeyQuery as Cf, TemplateSource as Cg, SetMemoryInput as Ch, CreateAgentClaimLinkResponse as Ci, GetRegistryError as Cl, SearchEmailsData as Cm, replayEmailWebhooks as Cn, DeleteFunctionSecretError as Co, ReorderRoutesResponse as Cp, AgentOrgRef as Cr, DownloadAttachmentsResponses as Cs, discardEmailContent as Ct, InboxStatusNextAction as Cu, VerifyCliSignupData as Cv, SendResult as D, UpdateFilterResponses as D_, CreateWakeAuthorizationError as Da, GetChallengeError as Dc, ListOrgSecretsResponse as Dd, MemoryScopeQueryType as Df, TestEndpointError as Dg, SetOrgSecretError as Dh, CreateChallengeErrors as Di, GetSendPermissionsData as Dl, SearchEmailsResponses as Dm, resendCliSignupVerification as Dn, DeleteMemoryData as Do, ReplayDeliveryErrors as Dp, AwaitReplyData as Dr, DownloadDomainZoneFileResponse as Ds, getAccount as Dt, InstallTemplateError as Du, VerifyCliSignupResponse as Dv, SendPayloadReference as E, UpdateFilterResponse as E_, CreateWakeAuthorizationData as Ea, GetChallengeData as Ec, ListOrgSecretsErrors as Ed, MemoryScopeId as Ef, TestEndpointData as Eg, SetOrgSecretData as Eh, CreateChallengeError as Ei, GetRegistryResponses as El, SearchEmailsResponse as Em, resendAgentSignupVerification as En, DeleteFunctionSecretResponses as Eo, ReplayDeliveryError as Ep, AgentSignupVerifyResult as Er, DownloadDomainZoneFileErrors as Es, downloadRawEmail as Et, InstallTemplateData as Eu, VerifyCliSignupInput as Ev, verifyWebhookSignature as F, UpdateRegistryError as F_, CreateWakeScheduleInput as Fa, GetConversationResponses as Fc, ListRegistriesError as Fd, PayChallengeData as Ff, TestEndpointRulesResponse as Fg, SimulateRouteInput as Fh, CreateEmailChallengeResponse as Fi, GetSentEmailResponse as Fl, SemanticSearchError as Fm, sendEmail as Fn, DeleteOrgSecretErrors as Fo, ReplayResult as Fp, CancelSentEmailErrors as Fr, EmailAttachment as Fs, getInboxStatus as Ft, ListDeclinedPaymentsResponse as Fu, WakeDispatch as Fv, awaitReply as G, UpdateRouteResponses as G_, DefineAgentData as Ga, GetFunctionResponses as Gc, ListRegistryRequestsResponse as Gd, PollCliLoginInput as Gf, Thread as Gg, StartAgentSignupData as Gh, CreateFilterErrors as Gi, GetStorageStatsResponse as Gl, SendEmailError as Gm, testEndpoint as Gn, DeleteRouteErrors as Go, RescheduleSentEmailResponse as Gp, CliLogoutData as Gr, EmailSummary as Gs, getTemplateInstall as Gt, ListDomainsResponse as Gu, X402PayoutAddress as Gv, RequestOptions$1 as H, UpdateRouteErrors as H_, DecideRegistryRequestInput as Ha, GetFunctionError as Hc, ListRegistryRequestsData as Hd, PollCliLoginData as Hf, TestFunctionResponses as Hg, StartAgentClaimInput as Hh, CreateEndpointResponses as Hi, GetStorageStatsData as Hl, SemanticSearchScoreBreakdown as Hm, startAgentSignup as Hn, DeleteRegistryResponses as Ho, RescheduleSentEmailData as Hp, CheckDomainDnsResponses as Hr, EmailSearchMeta as Hs, getSpendPolicy as Ht, ListDomainsData as Hu, X402NonceBinding as Hv, isMemoryJsonValue as I, UpdateRegistryErrors as I_, CreateWakeScheduleResponse as Ia, GetEmailData as Ic, ListRegistriesErrors as Id, PayChallengeError as If, TestEndpointRulesResponses as Ig, SimulateRouteResponse as Ih, CreateEmailChallengeResponses as Ii, GetSentEmailResponses as Il, SemanticSearchErrors as Im, setFunctionRoute as In, DeleteOrgSecretResponse as Io, ReplyEmail as Ip, CancelSentEmailResponse as Ir, EmailAuth as Is, getMemory as It, ListDeclinedPaymentsResponses as Iu, WakeSchedule as Iv, cliLogout as J, UpdateSpendPolicyErrors as J_, DefineAgentInput as Ja, GetFunctionRoutingErrors as Jc, ListRoutesError as Jd, PublishAgentData as Jf, UnpublishAgentError as Jg, StartAgentSignupInput as Jh, CreateFilterResponses as Ji, GetTemplateError as Jl, SendEmailResponses as Jm, unpublishAgent as Jn, DeleteWakeAuthorizationData as Jo, ResendAgentSignupVerificationError as Jp, CliLogoutInput as Jr, ErrorResponse as Js, getWebhookSecret as Jt, ListEmailsError as Ju, createClient as Jv, cancelSentEmail as K, UpdateSpendPolicyData as K_, DefineAgentError as Ka, GetFunctionRoutingData as Kc, ListRegistryRequestsResponses as Kd, PollCliLoginResponse as Kf, ThreadMessage as Kg, StartAgentSignupError as Kh, CreateFilterInput as Ki, GetStorageStatsResponses as Kl, SendEmailErrors as Km, testEndpointRules as Kn, DeleteRouteResponse as Ko, RescheduleSentEmailResponses as Kp, CliLogoutError as Kr, EmailWebhookStatus as Ks, getThread as Kt, ListDomainsResponses as Ku, X402Receipt as Kv, DEFAULT_API_BASE_URL as L, UpdateRegistryInput as L_, CreateWakeScheduleResponses as La, GetEmailError as Lc, ListRegistriesResponse as Ld, PayChallengeErrors as Lf, TestEndpointRulesResult as Lg, SimulateRouteResponses as Lh, CreateEndpointData as Li, GetSpendPolicyData as Ll, SemanticSearchField as Lm, setFunctionSecret as Ln, DeleteOrgSecretResponses as Lo, ReplyToEmailData as Lp, CancelSentEmailResponses as Lr, EmailDetail as Ls, getOrgRoutingTopology as Lt, ListDeliveriesData as Lu, WebhookSecret as Lv, createPrimitiveClient as M, UpdateFunctionResponse as M_, CreateWakeScheduleData as Ma, GetConversationError as Mc, ListPayoutAddressesResponse as Md, OutboundStatusDomain as Mf, TestEndpointRulesError as Mg, SimulateRouteData as Mh, CreateEmailChallengeError as Mi, GetSentEmailData as Ml, SearchMemoriesResponses as Mm, searchEmails as Mn, DeleteMemoryResult as Mo, ReplayEmailWebhooksErrors as Mp, AwaitReplyResult as Mr, DownloadRawEmailResponse as Ms, getFunction as Mt, ListDeclinedPaymentsData as Mu, VerifyDomainResponse as Mv, PRIMITIVE_SIGNATURE_HEADER as N, UpdateFunctionResponses as N_, CreateWakeScheduleError as Na, GetConversationErrors as Nc, ListPayoutAddressesResponses as Nd, PaginationMeta as Nf, TestEndpointRulesErrors as Ng, SimulateRouteError as Nh, CreateEmailChallengeErrors as Ni, GetSentEmailError as Nl, SemanticSearchCoverage as Nm, searchMemories as Nn, DeleteOrgSecretData as No, ReplayEmailWebhooksResponse as Np, CancelSentEmailData as Nr, DownloadRawEmailResponses as Ns, getFunctionRouting as Nt, ListDeclinedPaymentsError as Nu, VerifyDomainResponses as Nv, SendThreadInput as O, UpdateFunctionData as O_, CreateWakeAuthorizationErrors as Oa, GetChallengeErrors as Oc, ListOrgSecretsResponses as Od, NumericString as Of, TestEndpointErrors as Og, SetOrgSecretErrors as Oh, CreateChallengeInput as Oi, GetSendPermissionsError as Ol, SearchMemoriesData as Om, resolveRegistryHandle as On, DeleteMemoryError as Oo, ReplayDeliveryResponse as Op, AwaitReplyError as Or, DownloadDomainZoneFileResponses as Os, getAgent as Ot, InstallTemplateErrors as Ou, VerifyCliSignupResponses as Ov, VerifyOptions as P, UpdateRegistryData as P_, CreateWakeScheduleErrors as Pa, GetConversationResponse as Pc, ListRegistriesData as Pd, ParsedEmailData as Pf, TestEndpointRulesInput as Pg, SimulateRouteErrors as Ph, CreateEmailChallengeInput as Pi, GetSentEmailErrors as Pl, SemanticSearchData as Pm, semanticSearch as Pn, DeleteOrgSecretError as Po, ReplayEmailWebhooksResponses as Pp, CancelSentEmailError as Pr, EmailAddress as Ps, getFunctionTestRunTrace as Pt, ListDeclinedPaymentsErrors as Pu, WakeAuthorization as Pv, createChallenge as Q, UpdateWakeAuthorizationData as Q_, DeleteDomainError as Qa, GetFunctionTestRunTraceError as Qc, ListSentEmailsData as Qd, PublishAgentResponse as Qf, UnsetFunctionRouteData as Qg, StartCliLoginError as Qh, CreateFunctionInput as Qi, GetTemplateInstallErrors as Ql, SendMailResult as Qm, updateEndpoint as Qn, DeleteWakeAuthorizationResponses as Qo, ResendAgentSignupVerificationResponses as Qp, CliSignupResendResult as Qr, FunctionListItem as Qs, listDomains as Qt, ListEndpointsData as Qu, CreateClientConfig as Qv, PrimitiveApiClient as R, UpdateRegistryResponse as R_, Cursor as Ra, GetEmailErrors as Rc, ListRegistriesResponses as Rd, PayChallengeInput as Rf, TestFunctionData as Rg, SimulateRouteResult as Rh, CreateEndpointError as Ri, GetSpendPolicyError as Rl, SemanticSearchInput as Rm, setMemory as Rn, DeleteRegistryData as Ro, ReplyToEmailError as Rp, CheckDomainDnsData as Rr, EmailDetailReply as Rs, getOutboundStatus as Rt, ListDeliveriesError as Ru, X402Challenge as Rv, SemanticSearchResponse as S, UpdateFilterData as S_, CreateRouteErrors as Sa, GetAgentError as Sc, ListFunctionsResponse as Sd, ListWakeSchedulesResponses as Sf, TemplateSetup as Sg, SetMemoryErrors as Sh, CreateAgentClaimLinkInput as Si, GetRegistryData as Sl, RunWakeScheduleResponses as Sm, replayDelivery as Sn, DeleteFunctionSecretData as So, ReorderRoutesInput as Sp, AgentClaimStartResult as Sr, DownloadAttachmentsResponse as Ss, deleteWakeSchedule as St, InboxStatusFunctionSummary as Su, VerifyAgentSignupResponses as Sv, SendInput as T, UpdateFilterInput as T_, CreateRouteResponses as Ta, GetAgentResponses as Tc, ListOrgSecretsError as Td, MemoryScope as Tf, TemplateVariableValidation as Tg, SetMemoryResponses as Th, CreateChallengeData as Ti, GetRegistryResponse as Tl, SearchEmailsErrors as Tm, rescheduleSentEmail as Tn, DeleteFunctionSecretResponse as To, ReplayDeliveryData as Tp, AgentSignupStartResult as Tr, DownloadDomainZoneFileError as Ts, downloadDomainZoneFile as Tt, InstallTemplateBody as Tu, VerifyCliSignupErrors as Tv, createPrimitiveApiClient as U, UpdateRouteInput as U_, DecideRegistryRequestResponse as Ua, GetFunctionErrors as Uc, ListRegistryRequestsError as Ud, PollCliLoginError as Uf, TestInvocationResult as Ug, StartAgentClaimResponse as Uh, CreateFilterData as Ui, GetStorageStatsError as Ul, SemanticSearchSnippet as Um, startCliLogin as Un, DeleteRouteData as Uo, RescheduleSentEmailError as Up, CliLoginPollResult as Ur, EmailSearchResult as Us, getStorageStats as Ut, ListDomainsError as Uu, X402PaymentPayload as Uv, PrimitiveApiErrorDetails as V, UpdateRouteError as V_, DecideRegistryRequestErrors as Va, GetFunctionData as Vc, ListRegistryAgentsResponses as Vd, PlanLimits as Vf, TestFunctionResponse as Vg, StartAgentClaimErrors as Vh, CreateEndpointResponse as Vi, GetSpendPolicyResponses as Vl, SemanticSearchResult as Vm, startAgentClaim as Vn, DeleteRegistryResponse as Vo, ReplyToEmailResponses as Vp, CheckDomainDnsResponse as Vr, EmailSearchHighlights as Vs, getSentEmail as Vt, ListDeliveriesResponses as Vu, X402EmailChallengeDetails as Vv, addDomain as W, UpdateRouteResponse as W_, DecideRegistryRequestResponses as Wa, GetFunctionResponse as Wc, ListRegistryRequestsErrors as Wd, PollCliLoginErrors as Wf, TestResult as Wg, StartAgentClaimResponses as Wh, CreateFilterError as Wi, GetStorageStatsErrors as Wl, SendEmailData as Wm, startCliSignup as Wn, DeleteRouteError as Wo, RescheduleSentEmailErrors as Wp, CliLoginStartResult as Wr, EmailStatus as Ws, getTemplate as Wt, ListDomainsErrors as Wu, X402PaymentRequirements as Wv, createAgentAccount as X, UpdateSpendPolicyResponse as X_, DefineAgentResponses as Xa, GetFunctionRoutingResponses as Xc, ListRoutesResponse as Xd, PublishAgentErrors as Xf, UnpublishAgentResponse as Xg, StartAgentSignupResponses as Xh, CreateFunctionError as Xi, GetTemplateInstallData as Xl, SendMailInput as Xm, updateAccount as Xn, DeleteWakeAuthorizationErrors as Xo, ResendAgentSignupVerificationInput as Xp, CliLogoutResponses as Xr, FunctionDeployStatus as Xs, listDeclinedPayments as Xt, ListEmailsResponse as Xu, ClientOptions as Xv, completeWebhookEvent as Y, UpdateSpendPolicyInput as Y_, DefineAgentResponse as Ya, GetFunctionRoutingResponse as Yc, ListRoutesErrors as Yd, PublishAgentError as Yf, UnpublishAgentErrors as Yg, StartAgentSignupResponse as Yh, CreateFunctionData as Yi, GetTemplateErrors as Yl, SendMailAttachment as Ym, unsetFunctionRoute as Yn, DeleteWakeAuthorizationError as Yo, ResendAgentSignupVerificationErrors as Yp, CliLogoutResponse as Yr, Filter as Ys, installTemplate as Yt, ListEmailsErrors as Yu, Client as Yv, createAgentClaimLink as Z, UpdateSpendPolicyResponses as Z_, DeleteDomainData as Za, GetFunctionTestRunTraceData as Zc, ListRoutesResponses as Zd, PublishAgentInput as Zf, UnpublishAgentResponses as Zg, StartCliLoginData as Zh, CreateFunctionErrors as Zi, GetTemplateInstallError as Zl, SendMailPayloadRef as Zm, updateDomain as Zn, DeleteWakeAuthorizationResponse as Zo, ResendAgentSignupVerificationResponse as Zp, CliLogoutResult as Zr, FunctionDetail as Zs, listDeliveries as Zt, ListEmailsResponses as Zu, Config as Zv, MemorySetInput as _, UpdateEndpointError as __, CreateRegistryInput as _a, GetAccountError as _c, ListFunctionSecretsResponse as _d, ListWakeDispatchesResponses as _f, TemplateRegistryPage as _g, SetFunctionSecretInput as _h, CreateAgentAccountResponse as _i, GetOutboundStatusData as _l, RoutingTopology as _m, pollCliLogin as _n, DeleteFunctionData as _o, RegistryAgent as _p, AddDomainResponses as _r, DomainDnsRecord as _s, deleteMemory as _t, GetWebhookSecretResponses as _u, VerifyAgentSignupData as _v, ForwardInput as a, UpdateAccountError as a_, CreateFunctionSecretInput as aa, FunctionTestRun as ac, ListFiltersError as ad, ListTemplatesErrors as af, StartCliSignupErrors as ag, SentEmailDetail as ah, CompleteWebhookEventResponses as ai, GetInboxStatusResponse as al, ResolveRegistryHandleData as am, listOrgSecrets as an, DeleteEmailResponse as ao, PullWebhookEventResponse as ap, updateWakeSchedule as ar, DeliverySummary as as, createRegistry as at, GetThreadErrors as au, UpdateWakeScheduleError as av, ReplyInput as b, UpdateEndpointResponse as b_, CreateRouteData as ba, GetAccountResponses as bc, ListFunctionsError as bd, ListWakeSchedulesErrors as bf, TemplateSecret as bg, SetMemoryData as bh, CreateAgentClaimLinkError as bi, GetOutboundStatusResponse as bl, RunWakeScheduleErrors as bm, registerPayoutAddress as bn, DeleteFunctionResponse as bo, ReorderRoutesError as bp, AgentClaimLinkResult as br, DownloadAttachmentsError as bs, deleteRoute as bt, InboxStatusDomain as bu, VerifyAgentSignupInput as bv, InboxStreamOptions as c, UpdateAccountResponse as c_, CreateOrgSecretData as ca, FunctionTestRunInboundEmail as cc, ListFiltersResponses as cd, ListWakeAuthorizationsData as cf, StartCliSignupResponses as cg, SentEmailSummary as ch, CompleteWebhookInput as ci, GetMemoryError as cl, ResolveRegistryHandleResponse as cm, listRegistryAgents as cn, DeleteEndpointError as co, PullWebhookResponse as cp, verifyCliSignup as cr, DiscardEmailContentError as cs, createWakeSchedule as ct, GetWakeScheduleData as cu, UpdateWakeScheduleResponse as cv, MemoryGetInput as d, UpdateDomainError as d_, CreateOrgSecretInput as da, FunctionTestRunSend as dc, ListFunctionLogsErrors as dd, ListWakeAuthorizationsResponse as df, TemplateAuthor as dg, SetFunctionRouteErrors as dh, Conversation as di, GetMemoryResponses as dl, RotateWebhookSecretData as dm, listSentEmails as dn, DeleteEndpointResponses as do, RegisterPayoutAddressError as dp, AccountUpdated as dr, DiscardEmailContentResponses as ds, deleteDomain as dt, GetWakeScheduleResponse as du, VerifyAgentClaimData as dv, UnsetFunctionRouteErrors as e_, CreateFunctionResponses as ea, FunctionRouteBody as ec, ListEndpointsErrors as ed, ListSentEmailsErrors as ef, StartCliLoginInput as eg, SendPermissionAnyRecipient as eh, CliSignupVerifyResult as ei, GetFunctionTestRunTraceResponse as el, ResendCliSignupVerificationError as em, listEndpoints as en, DeleteDomainResponse as eo, PublishAgentResult as ep, updateFunction as er, DeleteWakeScheduleError as es, createEndpoint as et, GetTemplateInstallResponses as eu, UpdateWakeAuthorizationErrors as ev, RequestOptions$2 as ey, MemoryJsonValue as f, UpdateDomainErrors as f_, CreateOrgSecretResponse as fa, FunctionTestRunState as fc, ListFunctionLogsResponse as fd, ListWakeAuthorizationsResponses as ff, TemplateInstall as fg, SetFunctionRouteResponse as fh, ConversationMessage as fi, GetOrgRoutingTopologyData as fl, RotateWebhookSecretError as fm, listTemplates as fn, DeleteFilterData as fo, RegisterPayoutAddressErrors as fp, AddDomainData as fr, DkimSignature as fs, deleteEmail as ft, GetWakeScheduleResponses as fu, VerifyAgentClaimError as fv, MemorySearchResponse as g, UpdateEndpointData as g_, CreateRegistryErrors as ga, GetAccountData as gc, ListFunctionSecretsErrors as gd, ListWakeDispatchesResponse as gf, TemplateRegistryDetail as gg, SetFunctionSecretErrors as gh, CreateAgentAccountInput as gi, GetOrgRoutingTopologyResponses as gl, RouteEvaluatedEntry as gm, payChallenge as gn, DeleteFilterResponses as go, Registry as gp, AddDomainResponse as gr, DomainDnsHealthStatus as gs, deleteFunctionSecret as gt, GetWebhookSecretResponse as gu, VerifyAgentClaimResponses as gv, MemorySearchInput as h, UpdateDomainResponses as h_, CreateRegistryError as ha, GateFix as hc, ListFunctionSecretsError as hd, ListWakeDispatchesErrors as hf, TemplateManifest as hg, SetFunctionSecretError as hh, CreateAgentAccountErrors as hi, GetOrgRoutingTopologyResponse as hl, RotateWebhookSecretResponses as hm, listWakeSchedules as hn, DeleteFilterResponse as ho, RegisterPayoutAddressResponses as hp, AddDomainInput as hr, DomainDnsHealthScope as hs, deleteFunction as ht, GetWebhookSecretErrors as hu, VerifyAgentClaimResponse as hv, CreatedAgent as i, UpdateAccountData as i_, CreateFunctionSecretErrors as ia, FunctionSecretWriteResult as ic, ListFiltersData as id, ListTemplatesError as if, StartCliSignupError as ig, SendPermissionsMeta as ih, CompleteWebhookEventResponse as ii, GetInboxStatusErrors as il, ResendCliSignupVerificationResponses as im, listFunctions as in, DeleteEmailErrors as io, PullWebhookEventErrors as ip, updateWakeAuthorization as ir, DeliveryStatus as is, createOrgSecret as it, GetThreadError as iu, UpdateWakeScheduleData as iv, Auth as iy, createAgent as j, UpdateFunctionInput as j_, CreateWakeAuthorizationResponses as ja, GetConversationData as jc, ListPayoutAddressesErrors as jd, OutboundStatus as jf, TestEndpointRulesData as jg, SetOrgSecretResponses as jh, CreateEmailChallengeData as ji, GetSendPermissionsResponses as jl, SearchMemoriesResponse as jm, sdk_gen_d_exports as jn, DeleteMemoryResponses as jo, ReplayEmailWebhooksError as jp, AwaitReplyResponses as jr, DownloadRawEmailErrors as js, getEmail as jt, Limit as ju, VerifyDomainErrors as jv, WaitForNextOptions as k, UpdateFunctionError as k_, CreateWakeAuthorizationInput as ka, GetChallengeResponse as kc, ListPayoutAddressesData as kd, OrgSecretListItem as kf, TestEndpointResponse as kg, SetOrgSecretInput as kh, CreateChallengeResponse as ki, GetSendPermissionsErrors as kl, SearchMemoriesError as km, rotateWebhookSecret as kn, DeleteMemoryErrors as ko, ReplayDeliveryResponses as kp, AwaitReplyErrors as kr, DownloadRawEmailData as ks, getChallenge as kt, InstallTemplateResponse as ku, VerifyDomainData as kv, MemoriesResource as l, UpdateAccountResponses as l_, CreateOrgSecretError as la, FunctionTestRunOutboundRequest as lc, ListFunctionLogsData as ld, ListWakeAuthorizationsError as lf, StorageStats as lg, SetFunctionRouteData as lh, CompleteWebhookResponse as li, GetMemoryErrors as ll, ResolveRegistryHandleResponses as lm, listRegistryRequests as ln, DeleteEndpointErrors as lo, RecipientRoute as lp, verifyDomain as lr, DiscardEmailContentErrors as ls, decideRegistryRequest as lt, GetWakeScheduleError as lu, UpdateWakeScheduleResponses as lv, MemoryRecordWithValue as m, UpdateDomainResponse as m_, CreateRegistryData as ma, GateDenial as mc, ListFunctionSecretsData as md, ListWakeDispatchesError as mf, TemplateInstallStatus as mg, SetFunctionSecretData as mh, CreateAgentAccountError as mi, GetOrgRoutingTopologyErrors as ml, RotateWebhookSecretResponse as mm, listWakeDispatches as mn, DeleteFilterErrors as mo, RegisterPayoutAddressResponse as mp, AddDomainErrors as mr, DomainDnsHealthCheck as ms, deleteFilter as mt, GetWebhookSecretError as mu, VerifyAgentClaimInput as mv, AgentResource as n, UnsetFunctionRouteResponses as n_, CreateFunctionSecretData as na, FunctionRouting as nc, ListEndpointsResponses as nd, ListSentEmailsResponses as nf, StartCliLoginResponses as ng, SendPermissionRule as nh, CompleteWebhookEventError as ni, GetInboxStatusData as nl, ResendCliSignupVerificationInput as nm, listFunctionLogs as nn, DeleteEmailData as no, PullWebhookEventData as np, updateRoute as nr, DeleteWakeScheduleResponse as ns, createFunction as nt, GetTemplateResponses as nu, UpdateWakeAuthorizationResponse as nv, ResponseStyle as ny, InboundEmail as o, UpdateAccountErrors as o_, CreateFunctionSecretResponse as oa, FunctionTestRunDelivery as oc, ListFiltersErrors as od, ListTemplatesResponse as of, StartCliSignupInput as og, SentEmailRescheduleInput as oh, CompleteWebhookExecInput as oi, GetInboxStatusResponses as ol, ResolveRegistryHandleError as om, listPayoutAddresses as on, DeleteEmailResponses as oo, PullWebhookEventResponses as op, verifyAgentClaim as or, DiscardContentResult as os, createRoute as ot, GetThreadResponse as ou, UpdateWakeScheduleErrors as ov, MemoryRecord as p, UpdateDomainInput as p_, CreateOrgSecretResponses as pa, FunctionTestRunTrace as pc, ListFunctionLogsResponses as pd, ListWakeDispatchesData as pf, TemplateInstallState as pg, SetFunctionRouteResponses as ph, CreateAgentAccountData as pi, GetOrgRoutingTopologyError as pl, RotateWebhookSecretErrors as pm, listWakeAuthorizations as pn, DeleteFilterError as po, RegisterPayoutAddressInput as pp, AddDomainError as pr, Domain as ps, deleteEndpoint as pt, GetWebhookSecretData as pu, VerifyAgentClaimErrors as pv, checkDomainDns as q, UpdateSpendPolicyError as q_, DefineAgentErrors as qa, GetFunctionRoutingError as qc, ListRoutesData as qd, PollCliLoginResponses as qf, UnpublishAgentData as qg, StartAgentSignupErrors as qh, CreateFilterResponse as qi, GetTemplateData as ql, SendEmailResponse as qm, testFunction as qn, DeleteRouteResponses as qo, ResendAgentSignupVerificationData as qp, CliLogoutErrors as qr, Endpoint as qs, getWakeSchedule as qt, ListEmailsData as qu, X402SpendPolicy as qv, CreateAgentOptions as r, UnverifiedDomain as r_, CreateFunctionSecretError as ra, FunctionSecretListItem as rc, ListEnvelope as rd, ListTemplatesData as rf, StartCliSignupData as rg, SendPermissionYourDomain as rh, CompleteWebhookEventErrors as ri, GetInboxStatusError as rl, ResendCliSignupVerificationResponse as rm, listFunctionSecrets as rn, DeleteEmailError as ro, PullWebhookEventError as rp, updateSpendPolicy as rr, DeleteWakeScheduleResponses as rs, createFunctionSecret as rt, GetThreadData as ru, UpdateWakeAuthorizationResponses as rv, createConfig as ry, InboxResource as s, UpdateAccountInput as s_, CreateFunctionSecretResponses as sa, FunctionTestRunDeliveryEndpoint as sc, ListFiltersResponse as sd, ListTemplatesResponses as sf, StartCliSignupResponse as sg, SentEmailStatus as sh, CompleteWebhookHttpInput as si, GetMemoryData as sl, ResolveRegistryHandleErrors as sm, listRegistries as sn, DeleteEndpointData as so, PullWebhookInput as sp, verifyAgentSignup as sr, DiscardEmailContentData as ss, createWakeAuthorization as st, GetThreadResponses as su, UpdateWakeScheduleInput as sv, AccountResource as t, UnsetFunctionRouteResponse as t_, CreateFunctionResult as ta, FunctionRouteResult as tc, ListEndpointsResponse as td, ListSentEmailsResponse as tf, StartCliLoginResponse as tg, SendPermissionManagedZone as th, CompleteWebhookEventData as ti, GetFunctionTestRunTraceResponses as tl, ResendCliSignupVerificationErrors as tm, listFilters as tn, DeleteDomainResponses as to, PublishPolicy as tp, updateRegistry as tr, DeleteWakeScheduleErrors as ts, createFilter as tt, GetTemplateResponse as tu, UpdateWakeAuthorizationInput as tv, RequestResult as ty, MemoryDeleteInput as u, UpdateDomainData as u_, CreateOrgSecretErrors as ua, FunctionTestRunReply as uc, ListFunctionLogsError as ud, ListWakeAuthorizationsErrors as uf, SuccessEnvelope as ug, SetFunctionRouteError as uh, CompleteWebhookStdoutInput as ui, GetMemoryResponse as ul, ResourceId as um, listRoutes as un, DeleteEndpointResponse as uo, RegisterPayoutAddressData as up, Account as ur, DiscardEmailContentResponse as us, defineAgent as ut, GetWakeScheduleErrors as uu, VerifiedDomain as uv, PrimitiveClient as v, UpdateEndpointErrors as v_, CreateRegistryResponse as va, GetAccountErrors as vc, ListFunctionSecretsResponses as vd, ListWakeSchedulesData as vf, TemplateRegistryStatus as vg, SetFunctionSecretResponse as vh, CreateAgentAccountResponses as vi, GetOutboundStatusError as vl, RunWakeScheduleData as vm, publishAgent as vn, DeleteFunctionError as vo, RegistryRequest as vp, AgentAccountResult as vr, DomainVerifyResult as vs, deleteOrgSecret as vt, IdempotencyKey as vu, VerifyAgentSignupError as vv, SendAttachmentInput as w, UpdateFilterErrors as w_, CreateRouteResponse as wa, GetAgentResponse as wc, ListOrgSecretsData as wd, MemoryResolvedScope as wf, TemplateVariable as wg, SetMemoryResponse as wh, CreateAgentClaimLinkResponses as wi, GetRegistryErrors as wl, SearchEmailsError as wm, replyToEmail as wn, DeleteFunctionSecretErrors as wo, ReorderRoutesResponses as wp, AgentSignupResendResult as wr, DownloadDomainZoneFileData as ws, downloadAttachments as wt, InboxStatusRecentEmailSummary as wu, VerifyCliSignupError as wv, RequestOptions as x, UpdateEndpointResponses as x_, CreateRouteError as xa, GetAgentData as xc, ListFunctionsErrors as xd, ListWakeSchedulesResponse as xf, TemplateSecretGroup as xg, SetMemoryError as xh, CreateAgentClaimLinkErrors as xi, GetOutboundStatusResponses as xl, RunWakeScheduleResponse as xm, reorderRoutes as xn, DeleteFunctionResponses as xo, ReorderRoutesErrors as xp, AgentClaimResult as xr, DownloadAttachmentsErrors as xs, deleteWakeAuthorization as xt, InboxStatusEndpointSummary as xu, VerifyAgentSignupResponse as xv, PrimitiveClientOptions as y, UpdateEndpointInput as y_, CreateRegistryResponses as ya, GetAccountResponse as yc, ListFunctionsData as yd, ListWakeSchedulesError as yf, TemplateRegistrySummary as yg, SetFunctionSecretResponses as yh, CreateAgentClaimLinkData as yi, GetOutboundStatusErrors as yl, RunWakeScheduleError as ym, pullWebhookEvent as yn, DeleteFunctionErrors as yo, ReorderRoutesData as yp, AgentAccountUpgradeHint as yr, DownloadAttachmentsData as ys, deleteRegistry as yt, InboxStatus as yu, VerifyAgentSignupErrors as yv, PrimitiveApiClientOptions as z, UpdateRegistryResponses as z_, DecideRegistryRequestData as za, GetEmailResponse as zc, ListRegistryAgentsData as zd, PayChallengeResponse as zf, TestFunctionError as zg, StartAgentClaimData as zh, CreateEndpointErrors as zi, GetSpendPolicyErrors as zl, SemanticSearchMeta as zm, setOrgSecret as zn, DeleteRegistryError as zo, ReplyToEmailErrors as zp, CheckDomainDnsError as zr, EmailSearchFacetBucket as zs, getRegistry as zt, ListDeliveriesErrors as zu, X402DeclinedPayment as zv };