@primitivedotdev/sdk 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +56 -19
- package/dist/api/index.d.ts +2 -2
- package/dist/api/index.js +3 -3
- package/dist/{api-DrrmrNDe.js → api-ClLMDF81.js} +168 -1
- package/dist/{index--2RzTxVl.d.ts → index-BnbrY8kp.d.ts} +665 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/openapi/index.js +1 -1
- package/dist/{operations.generated-CA3-eorF.js → operations.generated-DQIrhCT5.js} +1512 -43
- package/dist/x402/index.d.ts +36 -4
- package/dist/x402/index.js +38 -8
- package/package.json +1 -1
|
@@ -324,6 +324,271 @@ type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boole
|
|
|
324
324
|
declare const createClient: (config?: Config) => Client;
|
|
325
325
|
//#endregion
|
|
326
326
|
//#region ../packages/api-core/src/api/types.gen.d.ts
|
|
327
|
+
type RegisterPayoutAddressInput = {
|
|
328
|
+
/**
|
|
329
|
+
* The payout address (your signer's own EVM address), 0x-prefixed.
|
|
330
|
+
*/
|
|
331
|
+
address: string;
|
|
332
|
+
/**
|
|
333
|
+
* The chain the address receives on.
|
|
334
|
+
*/
|
|
335
|
+
network: 'base' | 'base-sepolia';
|
|
336
|
+
/**
|
|
337
|
+
* A `personal_sign` signature over the org-bound message produced by
|
|
338
|
+
* the SDK helper `buildPayoutRegistrationMessage`. Recovered and
|
|
339
|
+
* checked against `address`; the org id is bound into the signed bytes.
|
|
340
|
+
*
|
|
341
|
+
*/
|
|
342
|
+
signature: string;
|
|
343
|
+
/**
|
|
344
|
+
* ISO-8601 timestamp embedded in the signed message. Must be within a
|
|
345
|
+
* short freshness window (about 10 minutes) of server time.
|
|
346
|
+
*
|
|
347
|
+
*/
|
|
348
|
+
issued_at: string;
|
|
349
|
+
/**
|
|
350
|
+
* Optional human-readable label.
|
|
351
|
+
*/
|
|
352
|
+
label?: string;
|
|
353
|
+
};
|
|
354
|
+
type X402PayoutAddress = {
|
|
355
|
+
id: string;
|
|
356
|
+
/**
|
|
357
|
+
* The checksummed payout address.
|
|
358
|
+
*/
|
|
359
|
+
address: string;
|
|
360
|
+
network: 'base' | 'base-sepolia';
|
|
361
|
+
label: string | null;
|
|
362
|
+
/**
|
|
363
|
+
* Exactly one address per (org, network) is the default.
|
|
364
|
+
*/
|
|
365
|
+
is_default: boolean;
|
|
366
|
+
/**
|
|
367
|
+
* When ownership of the address was last proven.
|
|
368
|
+
*/
|
|
369
|
+
verified_at: string;
|
|
370
|
+
created_at?: string;
|
|
371
|
+
};
|
|
372
|
+
type CreateChallengeInput = {
|
|
373
|
+
/**
|
|
374
|
+
* Amount to collect, in token base units. USDC has 6 decimals, so
|
|
375
|
+
* `"10000"` is 0.01 USDC.
|
|
376
|
+
*
|
|
377
|
+
*/
|
|
378
|
+
amount: string;
|
|
379
|
+
network: 'base' | 'base-sepolia';
|
|
380
|
+
/**
|
|
381
|
+
* The org id allowed to pay this challenge (on-net binding). Optional.
|
|
382
|
+
*
|
|
383
|
+
*/
|
|
384
|
+
payer_org?: string;
|
|
385
|
+
/**
|
|
386
|
+
* Seconds until the challenge expires. Defaults to 3600.
|
|
387
|
+
*/
|
|
388
|
+
expires_in?: number;
|
|
389
|
+
/**
|
|
390
|
+
* Optional URL identifying what is being paid for. Defaults to a
|
|
391
|
+
* synthetic `x402:challenge:<id>` identifier.
|
|
392
|
+
*
|
|
393
|
+
*/
|
|
394
|
+
resource?: string;
|
|
395
|
+
/**
|
|
396
|
+
* Optional human-readable description of the payment.
|
|
397
|
+
*/
|
|
398
|
+
description?: string;
|
|
399
|
+
};
|
|
400
|
+
/**
|
|
401
|
+
* The interaction binding the payer hashes into the EIP-3009 nonce
|
|
402
|
+
* (`deriveEip3009Nonce`). Pinning the nonce to this binding is what lets an
|
|
403
|
+
* x402 payment ride asynchronous transports safely: a replayed challenge
|
|
404
|
+
* can't redirect funds and a signed payment can't settle twice.
|
|
405
|
+
*
|
|
406
|
+
*/
|
|
407
|
+
type X402NonceBinding = {
|
|
408
|
+
/**
|
|
409
|
+
* Interaction id, including its `@domain` part.
|
|
410
|
+
*/
|
|
411
|
+
interaction_id: string;
|
|
412
|
+
challenge_step_id: string;
|
|
413
|
+
/**
|
|
414
|
+
* 32 random bytes as 64 lowercase hex chars.
|
|
415
|
+
*/
|
|
416
|
+
challenge_nonce: string;
|
|
417
|
+
};
|
|
418
|
+
/**
|
|
419
|
+
* The x402 `PaymentRequirements` the payer signs over. Field names are
|
|
420
|
+
* x402's native camelCase, preserved byte-for-byte.
|
|
421
|
+
*
|
|
422
|
+
*/
|
|
423
|
+
type X402PaymentRequirements = {
|
|
424
|
+
/**
|
|
425
|
+
* The x402 settlement scheme. Always `exact` for v1.
|
|
426
|
+
*/
|
|
427
|
+
scheme: string;
|
|
428
|
+
network: 'base' | 'base-sepolia';
|
|
429
|
+
/**
|
|
430
|
+
* Amount in token base units.
|
|
431
|
+
*/
|
|
432
|
+
maxAmountRequired: string;
|
|
433
|
+
/**
|
|
434
|
+
* The payee's resolved payout address (checksummed).
|
|
435
|
+
*/
|
|
436
|
+
payTo: string;
|
|
437
|
+
/**
|
|
438
|
+
* The token contract address (checksummed). USDC.
|
|
439
|
+
*/
|
|
440
|
+
asset: string;
|
|
441
|
+
resource?: string;
|
|
442
|
+
description?: string;
|
|
443
|
+
maxTimeoutSeconds?: number;
|
|
444
|
+
/**
|
|
445
|
+
* The token's load-bearing EIP-712 domain params. `name` differs by
|
|
446
|
+
* chain (Base mainnet USDC is `USD Coin`, Base Sepolia is `USDC`); a
|
|
447
|
+
* wrong value produces a signature the verifier rejects.
|
|
448
|
+
*
|
|
449
|
+
*/
|
|
450
|
+
extra: {
|
|
451
|
+
name: string;
|
|
452
|
+
version: string;
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
type X402Challenge = {
|
|
456
|
+
id: string;
|
|
457
|
+
status: 'pending' | 'settling' | 'settled' | 'failed' | 'expired';
|
|
458
|
+
network: 'base' | 'base-sepolia';
|
|
459
|
+
/**
|
|
460
|
+
* Token contract address (checksummed).
|
|
461
|
+
*/
|
|
462
|
+
asset: string;
|
|
463
|
+
/**
|
|
464
|
+
* Amount in token base units.
|
|
465
|
+
*/
|
|
466
|
+
amount: string;
|
|
467
|
+
/**
|
|
468
|
+
* The payee's resolved payout address (checksummed).
|
|
469
|
+
*/
|
|
470
|
+
pay_to: string;
|
|
471
|
+
/**
|
|
472
|
+
* The org id bound as payer, if one was set at creation.
|
|
473
|
+
*/
|
|
474
|
+
payer_org?: string | null;
|
|
475
|
+
resource?: string | null;
|
|
476
|
+
description?: string | null;
|
|
477
|
+
nonce_binding: X402NonceBinding;
|
|
478
|
+
/**
|
|
479
|
+
* On-chain settlement transaction hash once settled.
|
|
480
|
+
*/
|
|
481
|
+
settle_tx?: string | null;
|
|
482
|
+
settled_at?: string | null;
|
|
483
|
+
failure_reason?: string | null;
|
|
484
|
+
expires_at: string;
|
|
485
|
+
created_at?: string;
|
|
486
|
+
/**
|
|
487
|
+
* Present on the create response. Hand the whole challenge (including
|
|
488
|
+
* this) to the payer; `getChallenge` omits it (it is for status polling
|
|
489
|
+
* by the challenger).
|
|
490
|
+
*
|
|
491
|
+
*/
|
|
492
|
+
payment_requirements?: X402PaymentRequirements;
|
|
493
|
+
};
|
|
494
|
+
/**
|
|
495
|
+
* A signed x402 v1 `PaymentPayload`. The SDK `pay()` helper builds this;
|
|
496
|
+
* callers rarely construct it by hand. Field names are x402-native.
|
|
497
|
+
*
|
|
498
|
+
*/
|
|
499
|
+
type X402PaymentPayload = {
|
|
500
|
+
x402Version: number;
|
|
501
|
+
scheme: string;
|
|
502
|
+
network: 'base' | 'base-sepolia';
|
|
503
|
+
payload: {
|
|
504
|
+
/**
|
|
505
|
+
* The EIP-712 signature over the authorization.
|
|
506
|
+
*/
|
|
507
|
+
signature: string;
|
|
508
|
+
/**
|
|
509
|
+
* The EIP-3009 `transferWithAuthorization` fields, as strings.
|
|
510
|
+
*/
|
|
511
|
+
authorization: {
|
|
512
|
+
from: string;
|
|
513
|
+
to: string;
|
|
514
|
+
value: string;
|
|
515
|
+
validAfter: string;
|
|
516
|
+
validBefore: string;
|
|
517
|
+
nonce: string;
|
|
518
|
+
};
|
|
519
|
+
};
|
|
520
|
+
};
|
|
521
|
+
type PayChallengeInput = {
|
|
522
|
+
payment: X402PaymentPayload;
|
|
523
|
+
};
|
|
524
|
+
type X402Receipt = {
|
|
525
|
+
id: string;
|
|
526
|
+
status: 'settled';
|
|
527
|
+
/**
|
|
528
|
+
* On-chain settlement transaction hash.
|
|
529
|
+
*/
|
|
530
|
+
settle_tx: string | null;
|
|
531
|
+
};
|
|
532
|
+
/**
|
|
533
|
+
* The payer's outbound spend policy. Returned with defaults (not paused,
|
|
534
|
+
* no caps, any on-net payee) when none is set.
|
|
535
|
+
*
|
|
536
|
+
*/
|
|
537
|
+
type X402SpendPolicy = {
|
|
538
|
+
/**
|
|
539
|
+
* Kill-switch. When true, all outbound payments are refused.
|
|
540
|
+
*/
|
|
541
|
+
paused: boolean;
|
|
542
|
+
/**
|
|
543
|
+
* Per-payment cap in token base units, or null for no cap.
|
|
544
|
+
*/
|
|
545
|
+
max_per_payment: string | null;
|
|
546
|
+
/**
|
|
547
|
+
* Rolling-day cap in token base units, or null for no cap.
|
|
548
|
+
*/
|
|
549
|
+
max_per_day: string | null;
|
|
550
|
+
/**
|
|
551
|
+
* Allowed payee org ids. `null` allows any on-net payee; `[]` denies
|
|
552
|
+
* all.
|
|
553
|
+
*
|
|
554
|
+
*/
|
|
555
|
+
allowlist: Array<string> | null;
|
|
556
|
+
};
|
|
557
|
+
/**
|
|
558
|
+
* Merge update: only the fields you include change; omit a field to keep
|
|
559
|
+
* its current value; send `null` to clear a cap.
|
|
560
|
+
*
|
|
561
|
+
*/
|
|
562
|
+
type UpdateSpendPolicyInput = {
|
|
563
|
+
paused?: boolean;
|
|
564
|
+
max_per_payment?: string | null;
|
|
565
|
+
max_per_day?: string | null;
|
|
566
|
+
allowlist?: Array<string> | null;
|
|
567
|
+
};
|
|
568
|
+
/**
|
|
569
|
+
* A payment the org's spend policy refused.
|
|
570
|
+
*/
|
|
571
|
+
type X402DeclinedPayment = {
|
|
572
|
+
id: string;
|
|
573
|
+
/**
|
|
574
|
+
* The challenge that was declined, if still present.
|
|
575
|
+
*/
|
|
576
|
+
challenge_id?: string | null;
|
|
577
|
+
/**
|
|
578
|
+
* The payee (challenger) org, when known.
|
|
579
|
+
*/
|
|
580
|
+
counterparty_org?: string | null;
|
|
581
|
+
network: 'base' | 'base-sepolia';
|
|
582
|
+
/**
|
|
583
|
+
* Amount in token base units.
|
|
584
|
+
*/
|
|
585
|
+
amount: string;
|
|
586
|
+
/**
|
|
587
|
+
* Why the payment was declined (cap, allowlist, paused).
|
|
588
|
+
*/
|
|
589
|
+
reason: string;
|
|
590
|
+
declined_at: string;
|
|
591
|
+
};
|
|
327
592
|
type SuccessEnvelope = {
|
|
328
593
|
success: boolean;
|
|
329
594
|
};
|
|
@@ -348,7 +613,7 @@ type PaginationMeta = {
|
|
|
348
613
|
type ErrorResponse = {
|
|
349
614
|
success: boolean;
|
|
350
615
|
error: {
|
|
351
|
-
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';
|
|
616
|
+
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' | 'no_payout_address' | 'ownership_proof_failed' | 'payment_verification_failed' | 'payment_declined' | 'challenge_expired' | 'settlement_failed';
|
|
352
617
|
message: string;
|
|
353
618
|
/**
|
|
354
619
|
* Optional structured data that callers can inspect to recover
|
|
@@ -5770,8 +6035,318 @@ type ListFunctionLogsResponses = {
|
|
|
5770
6035
|
};
|
|
5771
6036
|
};
|
|
5772
6037
|
type ListFunctionLogsResponse = ListFunctionLogsResponses[keyof ListFunctionLogsResponses];
|
|
6038
|
+
type ListPayoutAddressesData = {
|
|
6039
|
+
body?: never;
|
|
6040
|
+
path?: never;
|
|
6041
|
+
query?: never;
|
|
6042
|
+
url: '/x402/payout-addresses';
|
|
6043
|
+
};
|
|
6044
|
+
type ListPayoutAddressesErrors = {
|
|
6045
|
+
/**
|
|
6046
|
+
* Invalid or missing API key
|
|
6047
|
+
*/
|
|
6048
|
+
401: ErrorResponse;
|
|
6049
|
+
/**
|
|
6050
|
+
* Authenticated caller lacks permission for the operation
|
|
6051
|
+
*/
|
|
6052
|
+
403: ErrorResponse;
|
|
6053
|
+
/**
|
|
6054
|
+
* Rate limit exceeded
|
|
6055
|
+
*/
|
|
6056
|
+
429: ErrorResponse;
|
|
6057
|
+
};
|
|
6058
|
+
type ListPayoutAddressesError = ListPayoutAddressesErrors[keyof ListPayoutAddressesErrors];
|
|
6059
|
+
type ListPayoutAddressesResponses = {
|
|
6060
|
+
/**
|
|
6061
|
+
* Your registered payout addresses
|
|
6062
|
+
*/
|
|
6063
|
+
200: SuccessEnvelope & {
|
|
6064
|
+
data?: Array<X402PayoutAddress>;
|
|
6065
|
+
};
|
|
6066
|
+
};
|
|
6067
|
+
type ListPayoutAddressesResponse = ListPayoutAddressesResponses[keyof ListPayoutAddressesResponses];
|
|
6068
|
+
type RegisterPayoutAddressData = {
|
|
6069
|
+
body: RegisterPayoutAddressInput;
|
|
6070
|
+
path?: never;
|
|
6071
|
+
query?: never;
|
|
6072
|
+
url: '/x402/payout-addresses';
|
|
6073
|
+
};
|
|
6074
|
+
type RegisterPayoutAddressErrors = {
|
|
6075
|
+
/**
|
|
6076
|
+
* Invalid request parameters
|
|
6077
|
+
*/
|
|
6078
|
+
400: ErrorResponse;
|
|
6079
|
+
/**
|
|
6080
|
+
* Invalid or missing API key
|
|
6081
|
+
*/
|
|
6082
|
+
401: ErrorResponse;
|
|
6083
|
+
/**
|
|
6084
|
+
* Authenticated caller lacks permission for the operation
|
|
6085
|
+
*/
|
|
6086
|
+
403: ErrorResponse;
|
|
6087
|
+
/**
|
|
6088
|
+
* The request was well-formed but could not be processed. For Payments
|
|
6089
|
+
* this covers a missing payout address, a failed payment verification, a
|
|
6090
|
+
* spend-policy decline, or an expired challenge; `error.code` distinguishes
|
|
6091
|
+
* them.
|
|
6092
|
+
*
|
|
6093
|
+
*/
|
|
6094
|
+
422: ErrorResponse;
|
|
6095
|
+
/**
|
|
6096
|
+
* Rate limit exceeded
|
|
6097
|
+
*/
|
|
6098
|
+
429: ErrorResponse;
|
|
6099
|
+
};
|
|
6100
|
+
type RegisterPayoutAddressError = RegisterPayoutAddressErrors[keyof RegisterPayoutAddressErrors];
|
|
6101
|
+
type RegisterPayoutAddressResponses = {
|
|
6102
|
+
/**
|
|
6103
|
+
* Payout address registered (or updated) and set as default
|
|
6104
|
+
*/
|
|
6105
|
+
201: SuccessEnvelope & {
|
|
6106
|
+
data?: X402PayoutAddress;
|
|
6107
|
+
};
|
|
6108
|
+
};
|
|
6109
|
+
type RegisterPayoutAddressResponse = RegisterPayoutAddressResponses[keyof RegisterPayoutAddressResponses];
|
|
6110
|
+
type CreateChallengeData = {
|
|
6111
|
+
body: CreateChallengeInput;
|
|
6112
|
+
path?: never;
|
|
6113
|
+
query?: never;
|
|
6114
|
+
url: '/x402/challenges';
|
|
6115
|
+
};
|
|
6116
|
+
type CreateChallengeErrors = {
|
|
6117
|
+
/**
|
|
6118
|
+
* Invalid request parameters
|
|
6119
|
+
*/
|
|
6120
|
+
400: ErrorResponse;
|
|
6121
|
+
/**
|
|
6122
|
+
* Invalid or missing API key
|
|
6123
|
+
*/
|
|
6124
|
+
401: ErrorResponse;
|
|
6125
|
+
/**
|
|
6126
|
+
* Authenticated caller lacks permission for the operation
|
|
6127
|
+
*/
|
|
6128
|
+
403: ErrorResponse;
|
|
6129
|
+
/**
|
|
6130
|
+
* The request was well-formed but could not be processed. For Payments
|
|
6131
|
+
* this covers a missing payout address, a failed payment verification, a
|
|
6132
|
+
* spend-policy decline, or an expired challenge; `error.code` distinguishes
|
|
6133
|
+
* them.
|
|
6134
|
+
*
|
|
6135
|
+
*/
|
|
6136
|
+
422: ErrorResponse;
|
|
6137
|
+
/**
|
|
6138
|
+
* Rate limit exceeded
|
|
6139
|
+
*/
|
|
6140
|
+
429: ErrorResponse;
|
|
6141
|
+
};
|
|
6142
|
+
type CreateChallengeError = CreateChallengeErrors[keyof CreateChallengeErrors];
|
|
6143
|
+
type CreateChallengeResponses = {
|
|
6144
|
+
/**
|
|
6145
|
+
* Challenge created
|
|
6146
|
+
*/
|
|
6147
|
+
201: SuccessEnvelope & {
|
|
6148
|
+
data?: X402Challenge;
|
|
6149
|
+
};
|
|
6150
|
+
};
|
|
6151
|
+
type CreateChallengeResponse = CreateChallengeResponses[keyof CreateChallengeResponses];
|
|
6152
|
+
type GetChallengeData = {
|
|
6153
|
+
body?: never;
|
|
6154
|
+
path: {
|
|
6155
|
+
/**
|
|
6156
|
+
* Resource UUID
|
|
6157
|
+
*/
|
|
6158
|
+
id: string;
|
|
6159
|
+
};
|
|
6160
|
+
query?: never;
|
|
6161
|
+
url: '/x402/challenges/{id}';
|
|
6162
|
+
};
|
|
6163
|
+
type GetChallengeErrors = {
|
|
6164
|
+
/**
|
|
6165
|
+
* Invalid request parameters
|
|
6166
|
+
*/
|
|
6167
|
+
400: ErrorResponse;
|
|
6168
|
+
/**
|
|
6169
|
+
* Invalid or missing API key
|
|
6170
|
+
*/
|
|
6171
|
+
401: ErrorResponse;
|
|
6172
|
+
/**
|
|
6173
|
+
* Authenticated caller lacks permission for the operation
|
|
6174
|
+
*/
|
|
6175
|
+
403: ErrorResponse;
|
|
6176
|
+
/**
|
|
6177
|
+
* Resource not found
|
|
6178
|
+
*/
|
|
6179
|
+
404: ErrorResponse;
|
|
6180
|
+
/**
|
|
6181
|
+
* Rate limit exceeded
|
|
6182
|
+
*/
|
|
6183
|
+
429: ErrorResponse;
|
|
6184
|
+
};
|
|
6185
|
+
type GetChallengeError = GetChallengeErrors[keyof GetChallengeErrors];
|
|
6186
|
+
type GetChallengeResponses = {
|
|
6187
|
+
/**
|
|
6188
|
+
* The challenge
|
|
6189
|
+
*/
|
|
6190
|
+
200: SuccessEnvelope & {
|
|
6191
|
+
data?: X402Challenge;
|
|
6192
|
+
};
|
|
6193
|
+
};
|
|
6194
|
+
type GetChallengeResponse = GetChallengeResponses[keyof GetChallengeResponses];
|
|
6195
|
+
type PayChallengeData = {
|
|
6196
|
+
body: PayChallengeInput;
|
|
6197
|
+
path: {
|
|
6198
|
+
/**
|
|
6199
|
+
* Resource UUID
|
|
6200
|
+
*/
|
|
6201
|
+
id: string;
|
|
6202
|
+
};
|
|
6203
|
+
query?: never;
|
|
6204
|
+
url: '/x402/challenges/{id}/pay';
|
|
6205
|
+
};
|
|
6206
|
+
type PayChallengeErrors = {
|
|
6207
|
+
/**
|
|
6208
|
+
* Invalid request parameters
|
|
6209
|
+
*/
|
|
6210
|
+
400: ErrorResponse;
|
|
6211
|
+
/**
|
|
6212
|
+
* Invalid or missing API key
|
|
6213
|
+
*/
|
|
6214
|
+
401: ErrorResponse;
|
|
6215
|
+
/**
|
|
6216
|
+
* Authenticated caller lacks permission for the operation
|
|
6217
|
+
*/
|
|
6218
|
+
403: ErrorResponse;
|
|
6219
|
+
/**
|
|
6220
|
+
* Resource not found
|
|
6221
|
+
*/
|
|
6222
|
+
404: ErrorResponse;
|
|
6223
|
+
/**
|
|
6224
|
+
* The request conflicts with the current state of the resource
|
|
6225
|
+
*/
|
|
6226
|
+
409: ErrorResponse;
|
|
6227
|
+
/**
|
|
6228
|
+
* The request was well-formed but could not be processed. For Payments
|
|
6229
|
+
* this covers a missing payout address, a failed payment verification, a
|
|
6230
|
+
* spend-policy decline, or an expired challenge; `error.code` distinguishes
|
|
6231
|
+
* them.
|
|
6232
|
+
*
|
|
6233
|
+
*/
|
|
6234
|
+
422: ErrorResponse;
|
|
6235
|
+
/**
|
|
6236
|
+
* Rate limit exceeded
|
|
6237
|
+
*/
|
|
6238
|
+
429: ErrorResponse;
|
|
6239
|
+
/**
|
|
6240
|
+
* Primitive could not complete the downstream SMTP request
|
|
6241
|
+
*/
|
|
6242
|
+
502: ErrorResponse;
|
|
6243
|
+
};
|
|
6244
|
+
type PayChallengeError = PayChallengeErrors[keyof PayChallengeErrors];
|
|
6245
|
+
type PayChallengeResponses = {
|
|
6246
|
+
/**
|
|
6247
|
+
* Challenge settled (or already settled)
|
|
6248
|
+
*/
|
|
6249
|
+
200: SuccessEnvelope & {
|
|
6250
|
+
data?: X402Receipt;
|
|
6251
|
+
};
|
|
6252
|
+
};
|
|
6253
|
+
type PayChallengeResponse = PayChallengeResponses[keyof PayChallengeResponses];
|
|
6254
|
+
type GetSpendPolicyData = {
|
|
6255
|
+
body?: never;
|
|
6256
|
+
path?: never;
|
|
6257
|
+
query?: never;
|
|
6258
|
+
url: '/x402/spend-policy';
|
|
6259
|
+
};
|
|
6260
|
+
type GetSpendPolicyErrors = {
|
|
6261
|
+
/**
|
|
6262
|
+
* Invalid or missing API key
|
|
6263
|
+
*/
|
|
6264
|
+
401: ErrorResponse;
|
|
6265
|
+
/**
|
|
6266
|
+
* Authenticated caller lacks permission for the operation
|
|
6267
|
+
*/
|
|
6268
|
+
403: ErrorResponse;
|
|
6269
|
+
/**
|
|
6270
|
+
* Rate limit exceeded
|
|
6271
|
+
*/
|
|
6272
|
+
429: ErrorResponse;
|
|
6273
|
+
};
|
|
6274
|
+
type GetSpendPolicyError = GetSpendPolicyErrors[keyof GetSpendPolicyErrors];
|
|
6275
|
+
type GetSpendPolicyResponses = {
|
|
6276
|
+
/**
|
|
6277
|
+
* The spend policy
|
|
6278
|
+
*/
|
|
6279
|
+
200: SuccessEnvelope & {
|
|
6280
|
+
data?: X402SpendPolicy;
|
|
6281
|
+
};
|
|
6282
|
+
};
|
|
6283
|
+
type GetSpendPolicyResponse = GetSpendPolicyResponses[keyof GetSpendPolicyResponses];
|
|
6284
|
+
type UpdateSpendPolicyData = {
|
|
6285
|
+
body: UpdateSpendPolicyInput;
|
|
6286
|
+
path?: never;
|
|
6287
|
+
query?: never;
|
|
6288
|
+
url: '/x402/spend-policy';
|
|
6289
|
+
};
|
|
6290
|
+
type UpdateSpendPolicyErrors = {
|
|
6291
|
+
/**
|
|
6292
|
+
* Invalid request parameters
|
|
6293
|
+
*/
|
|
6294
|
+
400: ErrorResponse;
|
|
6295
|
+
/**
|
|
6296
|
+
* Invalid or missing API key
|
|
6297
|
+
*/
|
|
6298
|
+
401: ErrorResponse;
|
|
6299
|
+
/**
|
|
6300
|
+
* Authenticated caller lacks permission for the operation
|
|
6301
|
+
*/
|
|
6302
|
+
403: ErrorResponse;
|
|
6303
|
+
/**
|
|
6304
|
+
* Rate limit exceeded
|
|
6305
|
+
*/
|
|
6306
|
+
429: ErrorResponse;
|
|
6307
|
+
};
|
|
6308
|
+
type UpdateSpendPolicyError = UpdateSpendPolicyErrors[keyof UpdateSpendPolicyErrors];
|
|
6309
|
+
type UpdateSpendPolicyResponses = {
|
|
6310
|
+
/**
|
|
6311
|
+
* The updated spend policy
|
|
6312
|
+
*/
|
|
6313
|
+
200: SuccessEnvelope & {
|
|
6314
|
+
data?: X402SpendPolicy;
|
|
6315
|
+
};
|
|
6316
|
+
};
|
|
6317
|
+
type UpdateSpendPolicyResponse = UpdateSpendPolicyResponses[keyof UpdateSpendPolicyResponses];
|
|
6318
|
+
type ListDeclinedPaymentsData = {
|
|
6319
|
+
body?: never;
|
|
6320
|
+
path?: never;
|
|
6321
|
+
query?: never;
|
|
6322
|
+
url: '/x402/declined-payments';
|
|
6323
|
+
};
|
|
6324
|
+
type ListDeclinedPaymentsErrors = {
|
|
6325
|
+
/**
|
|
6326
|
+
* Invalid or missing API key
|
|
6327
|
+
*/
|
|
6328
|
+
401: ErrorResponse;
|
|
6329
|
+
/**
|
|
6330
|
+
* Authenticated caller lacks permission for the operation
|
|
6331
|
+
*/
|
|
6332
|
+
403: ErrorResponse;
|
|
6333
|
+
/**
|
|
6334
|
+
* Rate limit exceeded
|
|
6335
|
+
*/
|
|
6336
|
+
429: ErrorResponse;
|
|
6337
|
+
};
|
|
6338
|
+
type ListDeclinedPaymentsError = ListDeclinedPaymentsErrors[keyof ListDeclinedPaymentsErrors];
|
|
6339
|
+
type ListDeclinedPaymentsResponses = {
|
|
6340
|
+
/**
|
|
6341
|
+
* Recently declined payments
|
|
6342
|
+
*/
|
|
6343
|
+
200: SuccessEnvelope & {
|
|
6344
|
+
data?: Array<X402DeclinedPayment>;
|
|
6345
|
+
};
|
|
6346
|
+
};
|
|
6347
|
+
type ListDeclinedPaymentsResponse = ListDeclinedPaymentsResponses[keyof ListDeclinedPaymentsResponses];
|
|
5773
6348
|
declare namespace sdk_gen_d_exports {
|
|
5774
|
-
export { Options, addDomain, cliLogout, createAgentAccount, createAgentClaimLink, createEndpoint, createFilter, createFunction, createFunctionSecret, createOrgSecret, deleteDomain, deleteEmail, deleteEndpoint, deleteFilter, deleteFunction, deleteFunctionSecret, deleteOrgSecret, discardEmailContent, downloadAttachments, downloadDomainZoneFile, downloadRawEmail, getAccount, getConversation, getEmail, getFunction, getFunctionRouting, getFunctionTestRunTrace, getInboxStatus, getOrgRoutingTopology, getSendPermissions, getSentEmail, getStorageStats, getThread, getWebhookSecret, listDeliveries, listDomains, listEmails, listEndpoints, listFilters, listFunctionLogs, listFunctionSecrets, listFunctions, listOrgSecrets, listSentEmails, pollCliLogin, replayDelivery, replayEmailWebhooks, replyToEmail, resendAgentSignupVerification, resendCliSignupVerification, rotateWebhookSecret, searchEmails, semanticSearch, sendEmail, setFunctionRoute, setFunctionSecret, setOrgSecret, startAgentClaim, startAgentSignup, startCliLogin, startCliSignup, testEndpoint, testFunction, unsetFunctionRoute, updateAccount, updateDomain, updateEndpoint, updateFilter, updateFunction, verifyAgentClaim, verifyAgentSignup, verifyCliSignup, verifyDomain };
|
|
6349
|
+
export { Options, addDomain, cliLogout, createAgentAccount, createAgentClaimLink, createChallenge, createEndpoint, createFilter, createFunction, createFunctionSecret, createOrgSecret, deleteDomain, deleteEmail, deleteEndpoint, deleteFilter, deleteFunction, deleteFunctionSecret, deleteOrgSecret, discardEmailContent, downloadAttachments, downloadDomainZoneFile, downloadRawEmail, getAccount, getChallenge, getConversation, getEmail, getFunction, getFunctionRouting, getFunctionTestRunTrace, getInboxStatus, getOrgRoutingTopology, getSendPermissions, getSentEmail, getSpendPolicy, getStorageStats, getThread, getWebhookSecret, listDeclinedPayments, listDeliveries, listDomains, listEmails, listEndpoints, listFilters, listFunctionLogs, listFunctionSecrets, listFunctions, listOrgSecrets, listPayoutAddresses, listSentEmails, payChallenge, pollCliLogin, registerPayoutAddress, replayDelivery, replayEmailWebhooks, replyToEmail, resendAgentSignupVerification, resendCliSignupVerification, rotateWebhookSecret, searchEmails, semanticSearch, sendEmail, setFunctionRoute, setFunctionSecret, setOrgSecret, startAgentClaim, startAgentSignup, startCliLogin, startCliSignup, testEndpoint, testFunction, unsetFunctionRoute, updateAccount, updateDomain, updateEndpoint, updateFilter, updateFunction, updateSpendPolicy, verifyAgentClaim, verifyAgentSignup, verifyCliSignup, verifyDomain };
|
|
5775
6350
|
}
|
|
5776
6351
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options$1<TData, ThrowOnError, TResponse> & {
|
|
5777
6352
|
/**
|
|
@@ -6710,6 +7285,93 @@ declare const setOrgSecret: <ThrowOnError extends boolean = false>(options: Opti
|
|
|
6710
7285
|
*
|
|
6711
7286
|
*/
|
|
6712
7287
|
declare const listFunctionLogs: <ThrowOnError extends boolean = false>(options: Options<ListFunctionLogsData, ThrowOnError>) => RequestResult<ListFunctionLogsResponses, ListFunctionLogsErrors, ThrowOnError, "fields">;
|
|
7288
|
+
/**
|
|
7289
|
+
* List payout addresses
|
|
7290
|
+
*
|
|
7291
|
+
* List your org's registered payout addresses, newest first.
|
|
7292
|
+
*/
|
|
7293
|
+
declare const listPayoutAddresses: <ThrowOnError extends boolean = false>(options?: Options<ListPayoutAddressesData, ThrowOnError>) => RequestResult<ListPayoutAddressesResponses, ListPayoutAddressesErrors, ThrowOnError, "fields">;
|
|
7294
|
+
/**
|
|
7295
|
+
* Register a payout address
|
|
7296
|
+
*
|
|
7297
|
+
* Register (or update) the default payout address your org receives x402
|
|
7298
|
+
* payments at, for a given network. You prove control of the address with
|
|
7299
|
+
* an org-bound `personal_sign` signature over the message produced by the
|
|
7300
|
+
* SDK helper `buildPayoutRegistrationMessage`. The org id is taken from your
|
|
7301
|
+
* authenticated key, never the body, so a captured signature can't register
|
|
7302
|
+
* an address under another org. Exactly one default address exists per
|
|
7303
|
+
* (org, network); registering again replaces it. A payee MUST register a
|
|
7304
|
+
* payout address before calling `createChallenge`, because the challenge's
|
|
7305
|
+
* `pay_to` is resolved from this directory.
|
|
7306
|
+
*
|
|
7307
|
+
*/
|
|
7308
|
+
declare const registerPayoutAddress: <ThrowOnError extends boolean = false>(options: Options<RegisterPayoutAddressData, ThrowOnError>) => RequestResult<RegisterPayoutAddressResponses, RegisterPayoutAddressErrors, ThrowOnError, "fields">;
|
|
7309
|
+
/**
|
|
7310
|
+
* Create a payment challenge
|
|
7311
|
+
*
|
|
7312
|
+
* Create an x402 payment challenge (the payee side of a payment). The
|
|
7313
|
+
* `pay_to` address is resolved server-side from your registered default
|
|
7314
|
+
* payout address for the network, never from the request. The response
|
|
7315
|
+
* carries the `nonce_binding` and `payment_requirements` the payer needs to
|
|
7316
|
+
* sign; hand the whole challenge object to the payer (for example in an
|
|
7317
|
+
* email reply). Amounts are in token base units (USDC has 6 decimals, so
|
|
7318
|
+
* `"10000"` is 0.01 USDC).
|
|
7319
|
+
*
|
|
7320
|
+
*/
|
|
7321
|
+
declare const createChallenge: <ThrowOnError extends boolean = false>(options: Options<CreateChallengeData, ThrowOnError>) => RequestResult<CreateChallengeResponses, CreateChallengeErrors, ThrowOnError, "fields">;
|
|
7322
|
+
/**
|
|
7323
|
+
* Get a payment challenge
|
|
7324
|
+
*
|
|
7325
|
+
* Fetch a challenge you created, to poll its `status` and settlement
|
|
7326
|
+
* receipt (`settle_tx`). Scoped to the challenger org that created it.
|
|
7327
|
+
*
|
|
7328
|
+
*/
|
|
7329
|
+
declare const getChallenge: <ThrowOnError extends boolean = false>(options: Options<GetChallengeData, ThrowOnError>) => RequestResult<GetChallengeResponses, GetChallengeErrors, ThrowOnError, "fields">;
|
|
7330
|
+
/**
|
|
7331
|
+
* Pay a payment challenge
|
|
7332
|
+
*
|
|
7333
|
+
* Settle a challenge addressed to your org as payer. The request body
|
|
7334
|
+
* carries a signed x402 `PaymentPayload`: an EIP-3009
|
|
7335
|
+
* `transferWithAuthorization` signed locally with your own key, whose nonce
|
|
7336
|
+
* is bound to the challenge via the SDK's `deriveEip3009Nonce`. The platform
|
|
7337
|
+
* verifies every signed field against its own record of the challenge,
|
|
7338
|
+
* applies your spend policy, and settles on-chain through a facilitator.
|
|
7339
|
+
* Settlement is non-custodial; Primitive never holds funds. Idempotent:
|
|
7340
|
+
* paying an already-settled challenge returns the original receipt. Most
|
|
7341
|
+
* callers use the SDK `pay()` helper rather than building the payload by
|
|
7342
|
+
* hand.
|
|
7343
|
+
*
|
|
7344
|
+
*/
|
|
7345
|
+
declare const payChallenge: <ThrowOnError extends boolean = false>(options: Options<PayChallengeData, ThrowOnError>) => RequestResult<PayChallengeResponses, PayChallengeErrors, ThrowOnError, "fields">;
|
|
7346
|
+
/**
|
|
7347
|
+
* Get your spend policy
|
|
7348
|
+
*
|
|
7349
|
+
* Read your org's outbound spend policy: the kill-switch, per-payment and
|
|
7350
|
+
* per-day caps, and the payee allowlist. Returns the defaults (no limits,
|
|
7351
|
+
* not paused) when no policy has been set.
|
|
7352
|
+
*
|
|
7353
|
+
*/
|
|
7354
|
+
declare const getSpendPolicy: <ThrowOnError extends boolean = false>(options?: Options<GetSpendPolicyData, ThrowOnError>) => RequestResult<GetSpendPolicyResponses, GetSpendPolicyErrors, ThrowOnError, "fields">;
|
|
7355
|
+
/**
|
|
7356
|
+
* Update your spend policy
|
|
7357
|
+
*
|
|
7358
|
+
* Update your org's spend policy. Applied as a merge: only the fields you
|
|
7359
|
+
* include change, and omitted fields keep their current value, so a partial
|
|
7360
|
+
* update can't silently reset the kill-switch. Send an explicit `null` to
|
|
7361
|
+
* clear a cap. Caps are in token base units.
|
|
7362
|
+
*
|
|
7363
|
+
*/
|
|
7364
|
+
declare const updateSpendPolicy: <ThrowOnError extends boolean = false>(options: Options<UpdateSpendPolicyData, ThrowOnError>) => RequestResult<UpdateSpendPolicyResponses, UpdateSpendPolicyErrors, ThrowOnError, "fields">;
|
|
7365
|
+
/**
|
|
7366
|
+
* List declined payments
|
|
7367
|
+
*
|
|
7368
|
+
* The 50 most recent payments your org's spend policy declined, newest
|
|
7369
|
+
* first. Use this to see why an outbound payment was refused (a cap, the
|
|
7370
|
+
* payee allowlist, or the kill-switch) instead of only reading the
|
|
7371
|
+
* dashboard.
|
|
7372
|
+
*
|
|
7373
|
+
*/
|
|
7374
|
+
declare const listDeclinedPayments: <ThrowOnError extends boolean = false>(options?: Options<ListDeclinedPaymentsData, ThrowOnError>) => RequestResult<ListDeclinedPaymentsResponses, ListDeclinedPaymentsErrors, ThrowOnError, "fields">;
|
|
6713
7375
|
//#endregion
|
|
6714
7376
|
//#region ../packages/api-core/src/client.d.ts
|
|
6715
7377
|
declare const DEFAULT_API_BASE_URL = "https://api.primitive.dev/v1";
|
|
@@ -7117,4 +7779,4 @@ interface CreatedAgent {
|
|
|
7117
7779
|
*/
|
|
7118
7780
|
declare function createAgent(options: CreateAgentOptions): Promise<CreatedAgent>;
|
|
7119
7781
|
//#endregion
|
|
7120
|
-
export { getConversation as $, GetSentEmailData as $a, SetFunctionSecretData as $c, FunctionTestRunDeliveryEndpoint as $i, UnsetFunctionRouteErrors as $l, CreateFunctionError as $n, ListFunctionLogsError as $o, DeliveryStatus as $r, ResendAgentSignupVerificationInput as $s, AddDomainData as $t, VerifyDomainError as $u, RequestOptions$1 as A, GetFunctionRoutingErrors as Aa, SemanticSearchSnippet as Ac, EmailDetailReply as Ai, StartCliSignupError as Al, CreateAgentAccountErrors as An, ListDeliveriesResponses as Ao, DeleteEndpointErrors as Ar, PollCliLoginErrors as As, semanticSearch as At, UpdateFunctionInput as Au, createOrgSecret as B, GetInboxStatusErrors as Ba, SendPermissionAnyRecipient as Bc, ErrorResponse as Bi, TestEndpointResponse as Bl, CreateEndpointData as Bn, ListEmailsResponses as Bo, DeleteFunctionErrors as Br, ReplayEmailWebhooksError as Bs, testFunction as Bt, VerifyAgentSignupData as Bu, VerifyOptions as C, GetFunctionData as Ca, SemanticSearchErrors as Cc, DownloadRawEmailErrors as Ci, StartCliLoginData as Cl, CliSignupResendResult as Cn, InboxStatusNextAction as Co, DeleteEmailData as Cr, OrgSecretListItem as Cs, replayEmailWebhooks as Ct, UpdateFilterErrors as Cu, PrimitiveApiClientOptions as D, GetFunctionResponses as Da, SemanticSearchResponses as Dc, EmailAttachment as Di, StartCliLoginResponse as Dl, ConversationMessage as Dn, ListDeliveriesError as Do, DeleteEmailResponses as Dr, PlanLimits as Ds, rotateWebhookSecret as Dt, UpdateFunctionData as Du, PrimitiveApiClient as E, GetFunctionResponse as Ea, SemanticSearchMeta as Ec, EmailAddress as Ei, StartCliLoginInput as El, Conversation as En, ListDeliveriesData as Eo, DeleteEmailResponse as Er, ParsedEmailData as Es, resendCliSignupVerification as Et, UpdateFilterResponses as Eu, createAgentClaimLink as F, GetFunctionTestRunTraceErrors as Fa, SendEmailResponses as Fc, EmailSearchResult as Fi, StorageStats as Fl, CreateAgentClaimLinkError as Fn, ListDomainsResponses as Fo, DeleteFilterErrors as Fr, ReplayDeliveryError as Fs, startAgentClaim as Ft, VerifyAgentClaimError as Fu, deleteFunction as G, GetOrgRoutingTopologyErrors as Ga, SentEmailDetail as Gc, FunctionLogRow as Gi, TestFunctionResponse as Gl, CreateEndpointResponses as Gn, ListEndpointsResponses as Go, DeleteFunctionSecretErrors as Gr, ReplyToEmailData as Gs, updateFilter as Gt, VerifyAgentSignupResponses as Gu, deleteEmail as H, GetInboxStatusResponses as Ha, SendPermissionRule as Hc, FunctionDeployStatus as Hi, TestFunctionData as Hl, CreateEndpointErrors as Hn, ListEndpointsError as Ho, DeleteFunctionResponses as Hr, ReplayEmailWebhooksResponse as Hs, updateAccount as Ht, VerifyAgentSignupErrors as Hu, createEndpoint as I, GetFunctionTestRunTraceResponse as Ia, SendMailAttachment as Ic, EmailStatus as Ii, SuccessEnvelope as Il, CreateAgentClaimLinkErrors as In, ListEmailsData as Io, DeleteFilterResponse as Ir, ReplayDeliveryErrors as Is, startAgentSignup as It, VerifyAgentClaimErrors as Iu, discardEmailContent as J, GetSendPermissionsData as Ja, SetFunctionRouteData as Jc, FunctionRouting as Ji, TestResult as Jl, CreateFilterErrors as Jn, ListFiltersError as Jo, DeleteOrgSecretData as Jr, ReplyToEmailResponse as Js, verifyAgentSignup as Jt, VerifyCliSignupErrors as Ju, deleteFunctionSecret as K, GetOrgRoutingTopologyResponse as Ka, SentEmailStatus as Kc, FunctionRouteBody as Ki, TestFunctionResponses as Kl, CreateFilterData as Kn, ListEnvelope as Ko, DeleteFunctionSecretResponse as Kr, ReplyToEmailError as Ks, updateFunction as Kt, VerifyCliSignupData as Ku, createFilter as L, GetFunctionTestRunTraceResponses as La, SendMailInput as Lc, EmailSummary as Li, TestEndpointData as Ll, CreateAgentClaimLinkInput as Ln, ListEmailsError as Lo, DeleteFilterResponses as Lr, ReplayDeliveryResponse as Ls, startCliLogin as Lt, VerifyAgentClaimInput as Lu, addDomain as M, GetFunctionRoutingResponses as Ma, SendEmailError as Mc, EmailSearchFacets as Mi, StartCliSignupInput as Ml, CreateAgentAccountResponse as Mn, ListDomainsError as Mo, DeleteEndpointResponses as Mr, PollCliLoginResponse as Ms, setFunctionRoute as Mt, UpdateFunctionResponses as Mu, cliLogout as N, GetFunctionTestRunTraceData as Na, SendEmailErrors as Nc, EmailSearchHighlights as Ni, StartCliSignupResponse as Nl, CreateAgentAccountResponses as Nn, ListDomainsErrors as No, DeleteFilterData as Nr, PollCliLoginResponses as Ns, setFunctionSecret as Nt, VerifiedDomain as Nu, PrimitiveApiError as O, GetFunctionRoutingData as Oa, SemanticSearchResult as Oc, EmailAuth as Oi, StartCliLoginResponses as Ol, CreateAgentAccountData as On, ListDeliveriesErrors as Oo, DeleteEndpointData as Or, PollCliLoginData as Os, sdk_gen_d_exports as Ot, UpdateFunctionError as Ou, createAgentAccount as P, GetFunctionTestRunTraceError as Pa, SendEmailResponse as Pc, EmailSearchMeta as Pi, StartCliSignupResponses as Pl, CreateAgentClaimLinkData as Pn, ListDomainsResponse as Po, DeleteFilterError as Pr, ReplayDeliveryData as Ps, setOrgSecret as Pt, VerifyAgentClaimData as Pu, getAccount as Q, GetSendPermissionsResponses as Qa, SetFunctionRouteResponses as Qc, FunctionTestRunDelivery as Qi, UnsetFunctionRouteError as Ql, CreateFunctionData as Qn, ListFunctionLogsData as Qo, DeleteOrgSecretResponses as Qr, ResendAgentSignupVerificationErrors as Qs, AccountUpdated as Qt, VerifyDomainData as Qu, createFunction as R, GetInboxStatusData as Ra, SendMailResult as Rc, EmailWebhookStatus as Ri, TestEndpointError as Rl, CreateAgentClaimLinkResponse as Rn, ListEmailsErrors as Ro, DeleteFunctionData as Rr, ReplayDeliveryResponses as Rs, startCliSignup as Rt, VerifyAgentClaimResponse as Ru, PRIMITIVE_SIGNATURE_HEADER as S, GetEmailResponses as Sa, SemanticSearchError as Sc, DownloadRawEmailError as Si, StartAgentSignupResponses as Sl, CliLogoutResult as Sn, InboxStatusFunctionSummary as So, DeleteDomainResponses as Sr, ListSentEmailsResponses as Ss, replayDelivery as St, UpdateFilterError as Su, DEFAULT_API_BASE_URL as T, GetFunctionErrors as Ta, SemanticSearchInput as Tc, DownloadRawEmailResponses as Ti, StartCliLoginErrors as Tl, CliSignupVerifyResult as Tn, Limit as To, DeleteEmailErrors as Tr, PaginationMeta as Ts, resendAgentSignupVerification as Tt, UpdateFilterResponse as Tu, deleteEndpoint as U, GetOrgRoutingTopologyData as Ua, SendPermissionYourDomain as Uc, FunctionDetail as Ui, TestFunctionError as Ul, CreateEndpointInput as Un, ListEndpointsErrors as Uo, DeleteFunctionSecretData as Ur, ReplayEmailWebhooksResponses as Us, updateDomain as Ut, VerifyAgentSignupInput as Uu, deleteDomain as V, GetInboxStatusResponse as Va, SendPermissionManagedZone as Vc, Filter as Vi, TestEndpointResponses as Vl, CreateEndpointError as Vn, ListEndpointsData as Vo, DeleteFunctionResponse as Vr, ReplayEmailWebhooksErrors as Vs, unsetFunctionRoute as Vt, VerifyAgentSignupError as Vu, deleteFilter as W, GetOrgRoutingTopologyError as Wa, SendPermissionsMeta as Wc, FunctionListItem as Wi, TestFunctionErrors as Wl, CreateEndpointResponse as Wn, ListEndpointsResponse as Wo, DeleteFunctionSecretError as Wr, ReplayResult as Ws, updateEndpoint as Wt, VerifyAgentSignupResponse as Wu, downloadDomainZoneFile as X, GetSendPermissionsErrors as Xa, SetFunctionRouteErrors as Xc, FunctionSecretWriteResult as Xi, ThreadMessage as Xl, CreateFilterResponse as Xn, ListFiltersResponse as Xo, DeleteOrgSecretErrors as Xr, ResendAgentSignupVerificationData as Xs, verifyDomain as Xt, VerifyCliSignupResponse as Xu, downloadAttachments as Y, GetSendPermissionsError as Ya, SetFunctionRouteError as Yc, FunctionSecretListItem as Yi, Thread as Yl, CreateFilterInput as Yn, ListFiltersErrors as Yo, DeleteOrgSecretError as Yr, ReplyToEmailResponses as Ys, verifyCliSignup as Yt, VerifyCliSignupInput as Yu, downloadRawEmail as Z, GetSendPermissionsResponse as Za, SetFunctionRouteResponse as Zc, FunctionTestRun as Zi, UnsetFunctionRouteData as Zl, CreateFilterResponses as Zn, ListFiltersResponses as Zo, DeleteOrgSecretResponse as Zr, ResendAgentSignupVerificationError as Zs, Account as Zt, VerifyCliSignupResponses as Zu, SendThreadInput as _, GetConversationResponses as _a, SearchEmailsErrors as _c, DownloadDomainZoneFileError as _i, StartAgentSignupData as _l, CliLogoutError as _n, GetWebhookSecretResponse as _o, Cursor as _r, ListOrgSecretsResponses as _s, listFunctionSecrets as _t, UpdateEndpointErrors as _u, ForwardInput as a, FunctionTestRunTrace as aa, ResendCliSignupVerificationInput as ac, Client as ad, DiscardEmailContentResponse as ai, SetOrgSecretData as al, AgentAccountResult as an, GetStorageStatsError as ao, CreateFunctionSecretData as ar, ListFunctionSecretsErrors as as, getOrgRoutingTopology as at, UpdateAccountErrors as au, createAgent as b, GetEmailErrors as ba, SemanticSearchCoverage as bc, DownloadDomainZoneFileResponses as bi, StartAgentSignupInput as bl, CliLogoutResponse as bn, InboxStatusDomain as bo, DeleteDomainErrors as br, ListSentEmailsErrors as bs, listSentEmails as bt, UpdateEndpointResponses as bu, InboxStreamOptions as c, GetAccountData as ca, ResourceId as cc, CreateClientConfig as cd, Domain as ci, SetOrgSecretInput as cl, AgentClaimResult as cn, GetStorageStatsResponses as co, CreateFunctionSecretInput as cr, ListFunctionsData as cs, getStorageStats as ct, UpdateAccountResponses as cu, ReplyInput as d, GetAccountResponse as da, RotateWebhookSecretErrors as dc, RequestResult as dd, DownloadAttachmentsData as di, StartAgentClaimData as dl, AgentSignupResendResult as dn, GetThreadErrors as do, CreateOrgSecretData as dr, ListFunctionsResponse as ds, listDeliveries as dt, UpdateDomainErrors as du, FunctionTestRunInboundEmail as ea, ResendAgentSignupVerificationResponse as ec, VerifyDomainErrors as ed, DeliverySummary as ei, SetFunctionSecretError as el, AddDomainError as en, GetSentEmailError as eo, CreateFunctionErrors as er, ListFunctionLogsErrors as es, getEmail as et, UnsetFunctionRouteResponse as eu, RequestOptions as f, GetAccountResponses as fa, RotateWebhookSecretResponse as fc, ResponseStyle as fd, DownloadAttachmentsError as fi, StartAgentClaimError as fl, AgentSignupStartResult as fn, GetThreadResponse as fo, CreateOrgSecretError as fr, ListFunctionsResponses as fs, listDomains as ft, UpdateDomainInput as fu, SendResult as g, GetConversationResponse as ga, SearchEmailsError as gc, DownloadDomainZoneFileData as gi, StartAgentClaimResponses as gl, CliLogoutData as gn, GetWebhookSecretErrors as go, CreateOrgSecretResponses as gr, ListOrgSecretsResponse as gs, listFunctionLogs as gt, UpdateEndpointError as gu, SendInput as h, GetConversationErrors as ha, SearchEmailsData as hc, DownloadAttachmentsResponses as hi, StartAgentClaimResponse as hl, CliLoginStartResult as hn, GetWebhookSecretError as ho, CreateOrgSecretResponse as hr, ListOrgSecretsErrors as hs, listFilters as ht, UpdateEndpointData as hu, CreatedAgent as i, FunctionTestRunState as ia, ResendCliSignupVerificationErrors as ic, createClient as id, DiscardEmailContentErrors as ii, SetFunctionSecretResponses as il, AddDomainResponses as in, GetStorageStatsData as io, CreateFunctionResult as ir, ListFunctionSecretsError as is, getInboxStatus as it, UpdateAccountError as iu, createPrimitiveApiClient as j, GetFunctionRoutingResponse as ja, SendEmailData as jc, EmailSearchFacetBucket as ji, StartCliSignupErrors as jl, CreateAgentAccountInput as jn, ListDomainsData as jo, DeleteEndpointResponse as jr, PollCliLoginInput as js, sendEmail as jt, UpdateFunctionResponse as ju, PrimitiveApiErrorDetails as k, GetFunctionRoutingError as ka, SemanticSearchScoreBreakdown as kc, EmailDetail as ki, StartCliSignupData as kl, CreateAgentAccountError as kn, ListDeliveriesResponse as ko, DeleteEndpointError as kr, PollCliLoginError as ks, searchEmails as kt, UpdateFunctionErrors as ku, PrimitiveClient as l, GetAccountError as la, RotateWebhookSecretData as lc, Options$1 as ld, DomainDnsRecord as li, SetOrgSecretResponse as ll, AgentClaimStartResult as ln, GetThreadData as lo, CreateFunctionSecretResponse as lr, ListFunctionsError as ls, getThread as lt, UpdateDomainData as lu, SendAttachment as m, GetConversationError as ma, RoutingTopology as mc, Auth as md, DownloadAttachmentsResponse as mi, StartAgentClaimInput as ml, CliLoginPollResult as mn, GetWebhookSecretData as mo, CreateOrgSecretInput as mr, ListOrgSecretsError as ms, listEndpoints as mt, UpdateDomainResponses as mu, AgentResource as n, FunctionTestRunReply as na, ResendCliSignupVerificationData as nc, VerifyDomainResponses as nd, DiscardEmailContentData as ni, SetFunctionSecretInput as nl, AddDomainInput as nn, GetSentEmailResponse as no, CreateFunctionResponse as nr, ListFunctionLogsResponses as ns, getFunctionRouting as nt, UnverifiedDomain as nu, InboundEmail as o, GateDenial as oa, ResendCliSignupVerificationResponse as oc, ClientOptions as od, DiscardEmailContentResponses as oi, SetOrgSecretError as ol, AgentAccountUpgradeHint as on, GetStorageStatsErrors as oo, CreateFunctionSecretError as or, ListFunctionSecretsResponse as os, getSendPermissions as ot, UpdateAccountInput as ou, SemanticSearchResponse as p, GetConversationData as pa, RotateWebhookSecretResponses as pc, createConfig as pd, DownloadAttachmentsErrors as pi, StartAgentClaimErrors as pl, AgentSignupVerifyResult as pn, GetThreadResponses as po, CreateOrgSecretErrors as pr, ListOrgSecretsData as ps, listEmails as pt, UpdateDomainResponse as pu, deleteOrgSecret as q, GetOrgRoutingTopologyResponses as qa, SentEmailSummary as qc, FunctionRouteResult as qi, TestInvocationResult as ql, CreateFilterError as qn, ListFiltersData as qo, DeleteFunctionSecretResponses as qr, ReplyToEmailErrors as qs, verifyAgentClaim as qt, VerifyCliSignupError as qu, CreateAgentOptions as r, FunctionTestRunSend as ra, ResendCliSignupVerificationError as rc, WebhookSecret as rd, DiscardEmailContentError as ri, SetFunctionSecretResponse as rl, AddDomainResponse as rn, GetSentEmailResponses as ro, CreateFunctionResponses as rr, ListFunctionSecretsData as rs, getFunctionTestRunTrace as rt, UpdateAccountData as ru, InboxResource as s, GateFix as sa, ResendCliSignupVerificationResponses as sc, Config as sd, DkimSignature as si, SetOrgSecretErrors as sl, AgentClaimLinkResult as sn, GetStorageStatsResponse as so, CreateFunctionSecretErrors as sr, ListFunctionSecretsResponses as ss, getSentEmail as st, UpdateAccountResponse as su, AccountResource as t, FunctionTestRunOutboundRequest as ta, ResendAgentSignupVerificationResponses as tc, VerifyDomainResponse as td, DiscardContentResult as ti, SetFunctionSecretErrors as tl, AddDomainErrors as tn, GetSentEmailErrors as to, CreateFunctionInput as tr, ListFunctionLogsResponse as ts, getFunction as tt, UnsetFunctionRouteResponses as tu, PrimitiveClientOptions as u, GetAccountErrors as ua, RotateWebhookSecretError as uc, RequestOptions$2 as ud, DomainVerifyResult as ui, SetOrgSecretResponses as ul, AgentOrgRef as un, GetThreadError as uo, CreateFunctionSecretResponses as ur, ListFunctionsErrors as us, getWebhookSecret as ut, UpdateDomainError as uu, WaitForNextOptions as v, GetEmailData as va, SearchEmailsResponse as vc, DownloadDomainZoneFileErrors as vi, StartAgentSignupError as vl, CliLogoutErrors as vn, GetWebhookSecretResponses as vo, DeleteDomainData as vr, ListSentEmailsData as vs, listFunctions as vt, UpdateEndpointInput as vu, verifyWebhookSignature as w, GetFunctionError as wa, SemanticSearchField as wc, DownloadRawEmailResponse as wi, StartCliLoginError as wl, CliSignupStartResult as wn, InboxStatusRecentEmailSummary as wo, DeleteEmailError as wr, OrgSecretWriteResult as ws, replyToEmail as wt, UpdateFilterInput as wu, createPrimitiveClient as x, GetEmailResponse as xa, SemanticSearchData as xc, DownloadRawEmailData as xi, StartAgentSignupResponse as xl, CliLogoutResponses as xn, InboxStatusEndpointSummary as xo, DeleteDomainResponse as xr, ListSentEmailsResponse as xs, pollCliLogin as xt, UpdateFilterData as xu, client as y, GetEmailError as ya, SearchEmailsResponses as yc, DownloadDomainZoneFileResponse as yi, StartAgentSignupErrors as yl, CliLogoutInput as yn, InboxStatus as yo, DeleteDomainError as yr, ListSentEmailsError as ys, listOrgSecrets as yt, UpdateEndpointResponse as yu, createFunctionSecret as z, GetInboxStatusError as za, SendPermissionAddress as zc, Endpoint as zi, TestEndpointErrors as zl, CreateAgentClaimLinkResponses as zn, ListEmailsResponse as zo, DeleteFunctionError as zr, ReplayEmailWebhooksData as zs, testEndpoint as zt, VerifyAgentClaimResponses as zu };
|
|
7782
|
+
export { getAccount as $, GetFunctionTestRunTraceError as $a, ResendCliSignupVerificationResponses as $c, VerifyDomainResponse as $d, Endpoint as $i, SetOrgSecretErrors as $l, CreateChallengeResponses as $n, ListDeclinedPaymentsResponse as $o, DeleteFunctionError as $r, ListSentEmailsError as $s, updateFunction as $t, UpdateAccountResponse as $u, RequestOptions$1 as A, GetChallengeResponse as Aa, ReplayDeliveryResponses as Ac, UpdateSpendPolicyResponses as Ad, DownloadDomainZoneFileData as Ai, SendMailResult as Al, CliLogoutResult as An, GetStorageStatsErrors as Ao, CreateOrgSecretResponses as Ar, ListFunctionLogsResponse as As, replayEmailWebhooks as At, TestEndpointError as Au, createFunctionSecret as B, GetEmailResponse as Ba, ReplyToEmailResponse as Bc, VerifyAgentSignupErrors as Bd, EmailAddress as Bi, SetFunctionRouteData as Bl, CreateAgentAccountResponse as Bn, GetWebhookSecretErrors as Bo, DeleteEmailResponse as Br, ListFunctionsResponse as Bs, setFunctionSecret as Bt, TestResult as Bu, VerifyOptions as C, GetAccountError as Ca, RegisterPayoutAddressInput as Cc, UpdateFunctionResponse as Cd, DomainDnsRecord as Ci, SendEmailData as Cl, CliLoginStartResult as Cn, GetSpendPolicyData as Co, CreateFunctionSecretResponse as Cr, ListFiltersError as Cs, listOrgSecrets as Ct, StartCliSignupErrors as Cu, PrimitiveApiClientOptions as D, GetChallengeData as Da, ReplayDeliveryError as Dc, UpdateSpendPolicyErrors as Dd, DownloadAttachmentsErrors as Di, SendEmailResponses as Dl, CliLogoutInput as Dn, GetSpendPolicyResponses as Do, CreateOrgSecretErrors as Dr, ListFunctionLogsData as Ds, pollCliLogin as Dt, StorageStats as Du, PrimitiveApiClient as E, GetAccountResponses as Ea, ReplayDeliveryData as Ec, UpdateSpendPolicyError as Ed, DownloadAttachmentsError as Ei, SendEmailResponse as El, CliLogoutErrors as En, GetSpendPolicyResponse as Eo, CreateOrgSecretError as Er, ListFiltersResponses as Es, payChallenge as Et, StartCliSignupResponses as Eu, createAgentClaimLink as F, GetConversationResponse as Fa, ReplayEmailWebhooksResponses as Fc, VerifyAgentClaimInput as Fd, DownloadRawEmailData as Fi, SendPermissionYourDomain as Fl, ConversationMessage as Fn, GetThreadErrors as Fo, DeleteDomainResponse as Fr, ListFunctionSecretsResponse as Fs, sdk_gen_d_exports as Ft, TestFunctionError as Fu, deleteFilter as G, GetFunctionResponse as Ga, ResendAgentSignupVerificationInput as Gc, VerifyCliSignupError as Gd, EmailSearchFacetBucket as Gi, SetFunctionSecretData as Gl, CreateAgentClaimLinkInput as Gn, InboxStatusEndpointSummary as Go, DeleteEndpointResponse as Gr, ListOrgSecretsResponse as Gs, startCliSignup as Gt, UnsetFunctionRouteErrors as Gu, deleteDomain as H, GetFunctionData as Ha, ResendAgentSignupVerificationData as Hc, VerifyAgentSignupResponse as Hd, EmailAuth as Hi, SetFunctionRouteErrors as Hl, CreateAgentClaimLinkData as Hn, GetWebhookSecretResponses as Ho, DeleteEndpointData as Hr, ListOrgSecretsData as Hs, startAgentClaim as Ht, ThreadMessage as Hu, createChallenge as I, GetConversationResponses as Ia, ReplayResult as Ic, VerifyAgentClaimResponse as Id, DownloadRawEmailError as Ii, SendPermissionsMeta as Il, CreateAgentAccountData as In, GetThreadResponse as Io, DeleteDomainResponses as Ir, ListFunctionSecretsResponses as Is, searchEmails as It, TestFunctionErrors as Iu, deleteOrgSecret as J, GetFunctionRoutingError as Ja, ResendCliSignupVerificationData as Jc, VerifyCliSignupResponse as Jd, EmailSearchMeta as Ji, SetFunctionSecretInput as Jl, CreateChallengeData as Jn, InboxStatusRecentEmailSummary as Jo, DeleteFilterError as Jr, ListPayoutAddressesError as Js, unsetFunctionRoute as Jt, UnverifiedDomain as Ju, deleteFunction as K, GetFunctionResponses as Ka, ResendAgentSignupVerificationResponse as Kc, VerifyCliSignupErrors as Kd, EmailSearchFacets as Ki, SetFunctionSecretError as Kl, CreateAgentClaimLinkResponse as Kn, InboxStatusFunctionSummary as Ko, DeleteEndpointResponses as Kr, ListOrgSecretsResponses as Ks, testEndpoint as Kt, UnsetFunctionRouteResponse as Ku, createEndpoint as L, GetEmailData as La, ReplyToEmailData as Lc, VerifyAgentClaimResponses as Ld, DownloadRawEmailErrors as Li, SentEmailDetail as Ll, CreateAgentAccountError as Ln, GetThreadResponses as Lo, DeleteEmailData as Lr, ListFunctionsData as Ls, semanticSearch as Lt, TestFunctionResponse as Lu, addDomain as M, GetConversationData as Ma, ReplayEmailWebhooksError as Mc, VerifyAgentClaimData as Md, DownloadDomainZoneFileErrors as Mi, SendPermissionAnyRecipient as Ml, CliSignupStartResult as Mn, GetStorageStatsResponses as Mo, DeleteDomainData as Mr, ListFunctionSecretsData as Ms, resendAgentSignupVerification as Mt, TestEndpointResponse as Mu, cliLogout as N, GetConversationError as Na, ReplayEmailWebhooksErrors as Nc, VerifyAgentClaimError as Nd, DownloadDomainZoneFileResponse as Ni, SendPermissionManagedZone as Nl, CliSignupVerifyResult as Nn, GetThreadData as No, DeleteDomainError as Nr, ListFunctionSecretsError as Ns, resendCliSignupVerification as Nt, TestEndpointResponses as Nu, PrimitiveApiError as O, GetChallengeError as Oa, ReplayDeliveryErrors as Oc, UpdateSpendPolicyInput as Od, DownloadAttachmentsResponse as Oi, SendMailAttachment as Ol, CliLogoutResponse as On, GetStorageStatsData as Oo, CreateOrgSecretInput as Or, ListFunctionLogsError as Os, registerPayoutAddress as Ot, SuccessEnvelope as Ou, createAgentAccount as P, GetConversationErrors as Pa, ReplayEmailWebhooksResponse as Pc, VerifyAgentClaimErrors as Pd, DownloadDomainZoneFileResponses as Pi, SendPermissionRule as Pl, Conversation as Pn, GetThreadError as Po, DeleteDomainErrors as Pr, ListFunctionSecretsErrors as Ps, rotateWebhookSecret as Pt, TestFunctionData as Pu, downloadRawEmail as Q, GetFunctionTestRunTraceData as Qa, ResendCliSignupVerificationResponse as Qc, VerifyDomainErrors as Qd, EmailWebhookStatus as Qi, SetOrgSecretError as Ql, CreateChallengeResponse as Qn, ListDeclinedPaymentsErrors as Qo, DeleteFunctionData as Qr, ListSentEmailsData as Qs, updateFilter as Qt, UpdateAccountInput as Qu, createFilter as R, GetEmailError as Ra, ReplyToEmailError as Rc, VerifyAgentSignupData as Rd, DownloadRawEmailResponse as Ri, SentEmailStatus as Rl, CreateAgentAccountErrors as Rn, GetWebhookSecretData as Ro, DeleteEmailError as Rr, ListFunctionsError as Rs, sendEmail as Rt, TestFunctionResponses as Ru, PRIMITIVE_SIGNATURE_HEADER as S, GetAccountData as Sa, RegisterPayoutAddressErrors as Sc, UpdateFunctionInput as Sd, Domain as Si, SemanticSearchSnippet as Sl, CliLoginPollResult as Sn, GetSentEmailResponses as So, CreateFunctionSecretInput as Sr, ListFiltersData as Ss, listFunctions as St, StartCliSignupError as Su, DEFAULT_API_BASE_URL as T, GetAccountResponse as Ta, RegisterPayoutAddressResponses as Tc, UpdateSpendPolicyData as Td, DownloadAttachmentsData as Ti, SendEmailErrors as Tl, CliLogoutError as Tn, GetSpendPolicyErrors as To, CreateOrgSecretData as Tr, ListFiltersResponse as Ts, listSentEmails as Tt, StartCliSignupResponse as Tu, deleteEmail as U, GetFunctionError as Ua, ResendAgentSignupVerificationError as Uc, VerifyAgentSignupResponses as Ud, EmailDetail as Ui, SetFunctionRouteResponse as Ul, CreateAgentClaimLinkError as Un, InboxStatus as Uo, DeleteEndpointError as Ur, ListOrgSecretsError as Us, startAgentSignup as Ut, UnsetFunctionRouteData as Uu, createOrgSecret as V, GetEmailResponses as Va, ReplyToEmailResponses as Vc, VerifyAgentSignupInput as Vd, EmailAttachment as Vi, SetFunctionRouteError as Vl, CreateAgentAccountResponses as Vn, GetWebhookSecretResponse as Vo, DeleteEmailResponses as Vr, ListFunctionsResponses as Vs, setOrgSecret as Vt, Thread as Vu, deleteEndpoint as W, GetFunctionErrors as Wa, ResendAgentSignupVerificationErrors as Wc, VerifyCliSignupData as Wd, EmailDetailReply as Wi, SetFunctionRouteResponses as Wl, CreateAgentClaimLinkErrors as Wn, InboxStatusDomain as Wo, DeleteEndpointErrors as Wr, ListOrgSecretsErrors as Ws, startCliLogin as Wt, UnsetFunctionRouteError as Wu, downloadAttachments as X, GetFunctionRoutingResponse as Xa, ResendCliSignupVerificationErrors as Xc, VerifyDomainData as Xd, EmailStatus as Xi, SetFunctionSecretResponses as Xl, CreateChallengeErrors as Xn, ListDeclinedPaymentsData as Xo, DeleteFilterResponse as Xr, ListPayoutAddressesResponse as Xs, updateDomain as Xt, UpdateAccountError as Xu, discardEmailContent as Y, GetFunctionRoutingErrors as Ya, ResendCliSignupVerificationError as Yc, VerifyCliSignupResponses as Yd, EmailSearchResult as Yi, SetFunctionSecretResponse as Yl, CreateChallengeError as Yn, Limit as Yo, DeleteFilterErrors as Yr, ListPayoutAddressesErrors as Ys, updateAccount as Yt, UpdateAccountData as Yu, downloadDomainZoneFile as Z, GetFunctionRoutingResponses as Za, ResendCliSignupVerificationInput as Zc, VerifyDomainError as Zd, EmailSummary as Zi, SetOrgSecretData as Zl, CreateChallengeInput as Zn, ListDeclinedPaymentsError as Zo, DeleteFilterResponses as Zr, ListPayoutAddressesResponses as Zs, updateEndpoint as Zt, UpdateAccountErrors as Zu, SendThreadInput as _, FunctionTestRunSend as _a, PollCliLoginInput as _c, UpdateFilterResponse as _d, RequestResult as _f, DiscardEmailContentError as _i, SemanticSearchInput as _l, AgentClaimStartResult as _n, GetSendPermissionsResponses as _o, CreateFunctionResponses as _r, ListEndpointsError as _s, listEmails as _t, StartCliLoginErrors as _u, ForwardInput as a, FunctionLogRow as aa, PaginationMeta as ac, UpdateDomainResponse as ad, X402PaymentPayload as af, DeleteFunctionSecretErrors as ai, RotateWebhookSecretResponses as al, Account as an, GetInboxStatusErrors as ao, CreateEndpointResponses as ar, ListDeliveriesResponses as as, getFunctionTestRunTrace as at, StartAgentClaimErrors as au, createAgent as b, GateDenial as ba, RegisterPayoutAddressData as bc, UpdateFunctionError as bd, Auth as bf, DiscardEmailContentResponses as bi, SemanticSearchResult as bl, AgentSignupStartResult as bn, GetSentEmailErrors as bo, CreateFunctionSecretError as br, ListEndpointsResponses as bs, listFunctionLogs as bt, StartCliLoginResponses as bu, InboxStreamOptions as c, FunctionRouting as ca, PayChallengeError as cc, UpdateEndpointError as cd, X402Receipt as cf, DeleteOrgSecretData as ci, SearchEmailsError as cl, AddDomainError as cn, GetOrgRoutingTopologyData as co, CreateFilterErrors as cr, ListDomainsErrors as cs, getSendPermissions as ct, StartAgentClaimResponses as cu, ReplyInput as d, FunctionTestRun as da, PayChallengeResponse as dc, UpdateEndpointResponse as dd, Client as df, DeleteOrgSecretResponse as di, SearchEmailsResponses as dl, AddDomainResponse as dn, GetOrgRoutingTopologyResponse as do, CreateFilterResponses as dr, ListEmailsData as ds, getStorageStats as dt, StartAgentSignupErrors as du, ErrorResponse as ea, ListSentEmailsErrors as ec, UpdateAccountResponses as ed, VerifyDomainResponses as ef, DeleteFunctionErrors as ei, ResourceId as el, updateSpendPolicy as en, GetFunctionTestRunTraceErrors as eo, CreateEndpointData as er, ListDeclinedPaymentsResponses as es, getChallenge as et, SetOrgSecretInput as eu, RequestOptions as f, FunctionTestRunDelivery as fa, PayChallengeResponses as fc, UpdateEndpointResponses as fd, ClientOptions as ff, DeleteOrgSecretResponses as fi, SemanticSearchCoverage as fl, AddDomainResponses as fn, GetOrgRoutingTopologyResponses as fo, CreateFunctionData as fr, ListEmailsError as fs, getThread as ft, StartAgentSignupInput as fu, SendResult as g, FunctionTestRunReply as ga, PollCliLoginErrors as gc, UpdateFilterInput as gd, RequestOptions$2 as gf, DiscardEmailContentData as gi, SemanticSearchField as gl, AgentClaimResult as gn, GetSendPermissionsResponse as go, CreateFunctionResponse as gr, ListEndpointsData as gs, listDomains as gt, StartCliLoginError as gu, SendInput as h, FunctionTestRunOutboundRequest as ha, PollCliLoginError as hc, UpdateFilterErrors as hd, Options$1 as hf, DiscardContentResult as hi, SemanticSearchErrors as hl, AgentClaimLinkResult as hn, GetSendPermissionsErrors as ho, CreateFunctionInput as hr, ListEmailsResponses as hs, listDeliveries as ht, StartCliLoginData as hu, CreatedAgent as i, FunctionListItem as ia, OrgSecretWriteResult as ic, UpdateDomainInput as id, X402NonceBinding as if, DeleteFunctionSecretError as ii, RotateWebhookSecretResponse as il, verifyDomain as in, GetInboxStatusError as io, CreateEndpointResponse as ir, ListDeliveriesResponse as is, getFunctionRouting as it, StartAgentClaimError as iu, createPrimitiveApiClient as j, GetChallengeResponses as ja, ReplayEmailWebhooksData as jc, VerifiedDomain as jd, DownloadDomainZoneFileError as ji, SendPermissionAddress as jl, CliSignupResendResult as jn, GetStorageStatsResponse as jo, Cursor as jr, ListFunctionLogsResponses as js, replyToEmail as jt, TestEndpointErrors as ju, PrimitiveApiErrorDetails as k, GetChallengeErrors as ka, ReplayDeliveryResponse as kc, UpdateSpendPolicyResponse as kd, DownloadAttachmentsResponses as ki, SendMailInput as kl, CliLogoutResponses as kn, GetStorageStatsError as ko, CreateOrgSecretResponse as kr, ListFunctionLogsErrors as ks, replayDelivery as kt, TestEndpointData as ku, PrimitiveClient as l, FunctionSecretListItem as la, PayChallengeErrors as lc, UpdateEndpointErrors as ld, X402SpendPolicy as lf, DeleteOrgSecretError as li, SearchEmailsErrors as ll, AddDomainErrors as ln, GetOrgRoutingTopologyError as lo, CreateFilterInput as lr, ListDomainsResponse as ls, getSentEmail as lt, StartAgentSignupData as lu, SendAttachment as m, FunctionTestRunInboundEmail as ma, PollCliLoginData as mc, UpdateFilterError as md, CreateClientConfig as mf, DeliverySummary as mi, SemanticSearchError as ml, AgentAccountUpgradeHint as mn, GetSendPermissionsError as mo, CreateFunctionErrors as mr, ListEmailsResponse as ms, listDeclinedPayments as mt, StartAgentSignupResponses as mu, AgentResource as n, FunctionDeployStatus as na, ListSentEmailsResponses as nc, UpdateDomainError as nd, X402Challenge as nf, DeleteFunctionResponses as ni, RotateWebhookSecretError as nl, verifyAgentSignup as nn, GetFunctionTestRunTraceResponses as no, CreateEndpointErrors as nr, ListDeliveriesError as ns, getEmail as nt, SetOrgSecretResponses as nu, InboundEmail as o, FunctionRouteBody as oa, ParsedEmailData as oc, UpdateDomainResponses as od, X402PaymentRequirements as of, DeleteFunctionSecretResponse as oi, RoutingTopology as ol, AccountUpdated as on, GetInboxStatusResponse as oo, CreateFilterData as or, ListDomainsData as os, getInboxStatus as ot, StartAgentClaimInput as ou, SemanticSearchResponse as p, FunctionTestRunDeliveryEndpoint as pa, PlanLimits as pc, UpdateFilterData as pd, Config as pf, DeliveryStatus as pi, SemanticSearchData as pl, AgentAccountResult as pn, GetSendPermissionsData as po, CreateFunctionError as pr, ListEmailsErrors as ps, getWebhookSecret as pt, StartAgentSignupResponse as pu, deleteFunctionSecret as q, GetFunctionRoutingData as qa, ResendAgentSignupVerificationResponses as qc, VerifyCliSignupInput as qd, EmailSearchHighlights as qi, SetFunctionSecretErrors as ql, CreateAgentClaimLinkResponses as qn, InboxStatusNextAction as qo, DeleteFilterData as qr, ListPayoutAddressesData as qs, testFunction as qt, UnsetFunctionRouteResponses as qu, CreateAgentOptions as r, FunctionDetail as ra, OrgSecretListItem as rc, UpdateDomainErrors as rd, X402DeclinedPayment as rf, DeleteFunctionSecretData as ri, RotateWebhookSecretErrors as rl, verifyCliSignup as rn, GetInboxStatusData as ro, CreateEndpointInput as rr, ListDeliveriesErrors as rs, getFunction as rt, StartAgentClaimData as ru, InboxResource as s, FunctionRouteResult as sa, PayChallengeData as sc, UpdateEndpointData as sd, X402PayoutAddress as sf, DeleteFunctionSecretResponses as si, SearchEmailsData as sl, AddDomainData as sn, GetInboxStatusResponses as so, CreateFilterError as sr, ListDomainsError as ss, getOrgRoutingTopology as st, StartAgentClaimResponse as su, AccountResource as t, Filter as ta, ListSentEmailsResponse as tc, UpdateDomainData as td, WebhookSecret as tf, DeleteFunctionResponse as ti, RotateWebhookSecretData as tl, verifyAgentClaim as tn, GetFunctionTestRunTraceResponse as to, CreateEndpointError as tr, ListDeliveriesData as ts, getConversation as tt, SetOrgSecretResponse as tu, PrimitiveClientOptions as u, FunctionSecretWriteResult as ua, PayChallengeInput as uc, UpdateEndpointInput as ud, createClient as uf, DeleteOrgSecretErrors as ui, SearchEmailsResponse as ul, AddDomainInput as un, GetOrgRoutingTopologyErrors as uo, CreateFilterResponse as ur, ListDomainsResponses as us, getSpendPolicy as ut, StartAgentSignupError as uu, WaitForNextOptions as v, FunctionTestRunState as va, PollCliLoginResponse as vc, UpdateFilterResponses as vd, ResponseStyle as vf, DiscardEmailContentErrors as vi, SemanticSearchMeta as vl, AgentOrgRef as vn, GetSentEmailData as vo, CreateFunctionResult as vr, ListEndpointsErrors as vs, listEndpoints as vt, StartCliLoginInput as vu, verifyWebhookSignature as w, GetAccountErrors as wa, RegisterPayoutAddressResponse as wc, UpdateFunctionResponses as wd, DomainVerifyResult as wi, SendEmailError as wl, CliLogoutData as wn, GetSpendPolicyError as wo, CreateFunctionSecretResponses as wr, ListFiltersErrors as ws, listPayoutAddresses as wt, StartCliSignupInput as wu, createPrimitiveClient as x, GateFix as xa, RegisterPayoutAddressError as xc, UpdateFunctionErrors as xd, DkimSignature as xi, SemanticSearchScoreBreakdown as xl, AgentSignupVerifyResult as xn, GetSentEmailResponse as xo, CreateFunctionSecretErrors as xr, ListEnvelope as xs, listFunctionSecrets as xt, StartCliSignupData as xu, client as y, FunctionTestRunTrace as ya, PollCliLoginResponses as yc, UpdateFunctionData as yd, createConfig as yf, DiscardEmailContentResponse as yi, SemanticSearchResponses as yl, AgentSignupResendResult as yn, GetSentEmailError as yo, CreateFunctionSecretData as yr, ListEndpointsResponse as ys, listFilters as yt, StartCliLoginResponse as yu, createFunction as z, GetEmailErrors as za, ReplyToEmailErrors as zc, VerifyAgentSignupError as zd, DownloadRawEmailResponses as zi, SentEmailSummary as zl, CreateAgentAccountInput as zn, GetWebhookSecretError as zo, DeleteEmailErrors as zr, ListFunctionsErrors as zs, setFunctionRoute as zt, TestInvocationResult as zu };
|