@primitivedotdev/sdk 1.15.0 → 1.17.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.
@@ -352,6 +352,10 @@ type RegistryAgent = {
352
352
  * The registry-scoped name. Null on the global by-address read.
353
353
  */
354
354
  handle: string | null;
355
+ /**
356
+ * When the agent's address was last confirmed to still route to its endpoint. A freshness signal for ranking listings; null until the first check.
357
+ */
358
+ last_reachable_at: string | null;
355
359
  };
356
360
  /**
357
361
  * A pending publication request, as the registry owner sees it.
@@ -381,21 +385,38 @@ type UpdateRegistryInput = {
381
385
  };
382
386
  type DefineAgentInput = {
383
387
  /**
384
- * The agent's globally unique email address; must route to the endpoint.
388
+ * The agent's globally unique email address; mail to it must route to an endpoint the account controls.
385
389
  */
386
390
  address: string;
387
- endpoint_id: string;
391
+ /**
392
+ * Optional. The endpoint the agent runs on. Omit it to resolve the endpoint from the address's routing automatically; supply it to pin a specific endpoint, which is then validated against the address's route.
393
+ */
394
+ endpoint_id?: string;
388
395
  display_name: string;
389
396
  title?: string | null;
390
397
  description?: string | null;
391
398
  tags?: Array<string>;
392
399
  };
400
+ /**
401
+ * Publish an agent into a registry. When display_name is present the agent identity is defined (create-or-get by address) in the same call before publishing; omit the define fields to publish an already-defined agent.
402
+ */
393
403
  type PublishAgentInput = {
394
404
  address: string;
395
405
  /**
396
406
  * The registry-scoped name to list the agent under.
397
407
  */
398
408
  handle: string;
409
+ /**
410
+ * Present to define the agent identity before publishing (define + publish in one call).
411
+ */
412
+ display_name?: string;
413
+ /**
414
+ * Optional, only used when defining. Omit to resolve the endpoint from the address's routing.
415
+ */
416
+ endpoint_id?: string;
417
+ title?: string | null;
418
+ description?: string | null;
419
+ tags?: Array<string>;
399
420
  };
400
421
  type PublishAgentResult = {
401
422
  /**
@@ -773,7 +794,7 @@ type PaginationMeta = {
773
794
  type ErrorResponse = {
774
795
  success: boolean;
775
796
  error: {
776
- 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';
797
+ 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' | 'developer_usage_credit_exhausted' | 'no_payout_address' | 'ownership_proof_failed' | 'payment_verification_failed' | 'payment_declined' | 'challenge_expired' | 'settlement_failed';
777
798
  message: string;
778
799
  /**
779
800
  * Optional structured data that callers can inspect to recover
@@ -3737,6 +3758,150 @@ type OrgSecretWriteResult = {
3737
3758
  */
3738
3759
  created: boolean;
3739
3760
  };
3761
+ /**
3762
+ * Bigint counter serialized as a base-10 string.
3763
+ */
3764
+ type NumericString = string;
3765
+ /**
3766
+ * JSON value accepted by Primitive Memories. The server accepts strings,
3767
+ * numbers, booleans, null, arrays, and objects, validates nested values,
3768
+ * and rejects values that do not serialize as JSON.
3769
+ *
3770
+ */
3771
+ type MemoryJsonValue = unknown | string | number | boolean | Array<unknown> | {
3772
+ [key: string]: unknown;
3773
+ };
3774
+ /**
3775
+ * Memory scope. `org` resolves to the authenticated organization.
3776
+ * `function` requires the function id UUID in `id`; function names are
3777
+ * not valid scope identifiers.
3778
+ *
3779
+ */
3780
+ type MemoryScope = {
3781
+ type: 'org';
3782
+ } | {
3783
+ type: 'function';
3784
+ /**
3785
+ * Function id UUID.
3786
+ */
3787
+ id: string;
3788
+ };
3789
+ /**
3790
+ * Resolved memory scope returned by the API.
3791
+ */
3792
+ type MemoryResolvedScope = {
3793
+ type: 'org' | 'function';
3794
+ /**
3795
+ * Org id for org scope, function id for function scope.
3796
+ */
3797
+ id: string;
3798
+ };
3799
+ /**
3800
+ * Metadata for a Primitive memory. Search responses omit `value` when
3801
+ * `include_value=false`.
3802
+ *
3803
+ */
3804
+ type MemoryRecord$1 = {
3805
+ id: string;
3806
+ /**
3807
+ * Caller-defined key, at most 512 UTF-8 bytes.
3808
+ */
3809
+ key: string;
3810
+ scope: MemoryResolvedScope;
3811
+ value?: MemoryJsonValue;
3812
+ version: NumericString;
3813
+ created_at: string;
3814
+ updated_at: string;
3815
+ /**
3816
+ * Last successful get timestamp, or null before any get.
3817
+ */
3818
+ last_read_at: string | null;
3819
+ read_count: NumericString;
3820
+ write_count: NumericString;
3821
+ /**
3822
+ * Expiration timestamp, or null for no TTL.
3823
+ */
3824
+ expires_at: string | null;
3825
+ /**
3826
+ * Actor that created the memory, when available.
3827
+ */
3828
+ created_by: string | null;
3829
+ /**
3830
+ * Actor that last updated the memory, when available.
3831
+ */
3832
+ updated_by: string | null;
3833
+ };
3834
+ /**
3835
+ * Memory record returned by get and set operations.
3836
+ */
3837
+ type MemoryRecordWithValue$1 = {
3838
+ id: string;
3839
+ /**
3840
+ * Caller-defined key, at most 512 UTF-8 bytes.
3841
+ */
3842
+ key: string;
3843
+ scope: MemoryResolvedScope;
3844
+ value: MemoryJsonValue;
3845
+ version: NumericString;
3846
+ created_at: string;
3847
+ updated_at: string;
3848
+ /**
3849
+ * Last successful get timestamp, or null before any get.
3850
+ */
3851
+ last_read_at: string | null;
3852
+ read_count: NumericString;
3853
+ write_count: NumericString;
3854
+ /**
3855
+ * Expiration timestamp, or null for no TTL.
3856
+ */
3857
+ expires_at: string | null;
3858
+ /**
3859
+ * Actor that created the memory, when available.
3860
+ */
3861
+ created_by: string | null;
3862
+ /**
3863
+ * Actor that last updated the memory, when available.
3864
+ */
3865
+ updated_by: string | null;
3866
+ };
3867
+ type SetMemoryInput = {
3868
+ /**
3869
+ * Caller-defined key, at most 512 UTF-8 bytes.
3870
+ */
3871
+ key: string;
3872
+ value: MemoryJsonValue;
3873
+ scope?: MemoryScope;
3874
+ /**
3875
+ * Set or replace the TTL in seconds. Mutually exclusive with
3876
+ * `expires_at` and `clear_ttl`.
3877
+ *
3878
+ */
3879
+ ttl_seconds?: number;
3880
+ /**
3881
+ * Set or replace the absolute expiration timestamp. Mutually
3882
+ * exclusive with `ttl_seconds` and `clear_ttl`.
3883
+ *
3884
+ */
3885
+ expires_at?: string;
3886
+ /**
3887
+ * Clear any existing TTL. Mutually exclusive with `ttl_seconds` and
3888
+ * `expires_at`.
3889
+ *
3890
+ */
3891
+ clear_ttl?: boolean;
3892
+ /**
3893
+ * Create only when the key is absent. Mutually exclusive with
3894
+ * `if_version`.
3895
+ *
3896
+ */
3897
+ if_absent?: boolean;
3898
+ if_version?: NumericString;
3899
+ };
3900
+ type DeleteMemoryResult = {
3901
+ deleted: boolean;
3902
+ key: string;
3903
+ scope: MemoryResolvedScope;
3904
+ };
3740
3905
  /**
3741
3906
  * Resource UUID
3742
3907
  */
@@ -3758,6 +3923,22 @@ type Cursor = string;
3758
3923
  * Number of results per page
3759
3924
  */
3760
3925
  type Limit = number;
3926
+ /**
3927
+ * Memory key. Must be at most 512 UTF-8 bytes.
3928
+ */
3929
+ type MemoryKeyQuery = string;
3930
+ /**
3931
+ * Explicit scope type. Omit to use automatic scope resolution. Pass
3932
+ * `function` with `scope_id=<function-id>`, or `org` with no `scope_id`.
3933
+ *
3934
+ */
3935
+ type MemoryScopeQueryType = 'org' | 'function';
3936
+ /**
3937
+ * Function id UUID when `scope_type=function`. Not valid with
3938
+ * `scope_type=org`.
3939
+ *
3940
+ */
3941
+ type MemoryScopeId = string;
3761
3942
  type StartCliLoginData = {
3762
3943
  body?: StartCliLoginInput;
3763
3944
  path?: never;
@@ -6973,6 +7154,286 @@ type ListFunctionLogsResponses = {
6973
7154
  };
6974
7155
  };
6975
7156
  type ListFunctionLogsResponse = ListFunctionLogsResponses[keyof ListFunctionLogsResponses];
7157
+ type DeleteMemoryData = {
7158
+ body?: never;
7159
+ headers?: {
7160
+ /**
7161
+ * Optional function id UUID used as the default scope when query
7162
+ * scope parameters are omitted.
7163
+ *
7164
+ */
7165
+ 'x-primitive-function-id'?: string;
7166
+ };
7167
+ path?: never;
7168
+ query: {
7169
+ /**
7170
+ * Memory key. Must be at most 512 UTF-8 bytes.
7171
+ */
7172
+ key: string;
7173
+ /**
7174
+ * Explicit scope type. Omit to use automatic scope resolution. Pass
7175
+ * `function` with `scope_id=<function-id>`, or `org` with no `scope_id`.
7176
+ *
7177
+ */
7178
+ scope_type?: 'org' | 'function';
7179
+ /**
7180
+ * Function id UUID when `scope_type=function`. Not valid with
7181
+ * `scope_type=org`.
7182
+ *
7183
+ */
7184
+ scope_id?: string;
7185
+ /**
7186
+ * Optional compare-and-delete version. If the active memory exists
7187
+ * at a different version, the API returns `memory_conflict`.
7188
+ *
7189
+ */
7190
+ if_version?: NumericString;
7191
+ };
7192
+ url: '/memories';
7193
+ };
7194
+ type DeleteMemoryErrors = {
7195
+ /**
7196
+ * Invalid request parameters
7197
+ */
7198
+ 400: ErrorResponse;
7199
+ /**
7200
+ * Invalid or missing API key
7201
+ */
7202
+ 401: ErrorResponse;
7203
+ /**
7204
+ * Usage credits are exhausted or payment is required
7205
+ */
7206
+ 402: ErrorResponse;
7207
+ /**
7208
+ * Resource not found
7209
+ */
7210
+ 404: ErrorResponse;
7211
+ /**
7212
+ * The request conflicts with the current state of the resource
7213
+ */
7214
+ 409: ErrorResponse;
7215
+ /**
7216
+ * Rate limit exceeded
7217
+ */
7218
+ 429: ErrorResponse;
7219
+ };
7220
+ type DeleteMemoryError = DeleteMemoryErrors[keyof DeleteMemoryErrors];
7221
+ type DeleteMemoryResponses = {
7222
+ /**
7223
+ * Delete result
7224
+ */
7225
+ 200: SuccessEnvelope & {
7226
+ data?: DeleteMemoryResult;
7227
+ };
7228
+ };
7229
+ type DeleteMemoryResponse = DeleteMemoryResponses[keyof DeleteMemoryResponses];
7230
+ type GetMemoryData = {
7231
+ body?: never;
7232
+ headers?: {
7233
+ /**
7234
+ * Optional function id UUID used as the default scope when query
7235
+ * scope parameters are omitted.
7236
+ *
7237
+ */
7238
+ 'x-primitive-function-id'?: string;
7239
+ };
7240
+ path?: never;
7241
+ query: {
7242
+ /**
7243
+ * Memory key. Must be at most 512 UTF-8 bytes.
7244
+ */
7245
+ key: string;
7246
+ /**
7247
+ * Explicit scope type. Omit to use automatic scope resolution. Pass
7248
+ * `function` with `scope_id=<function-id>`, or `org` with no `scope_id`.
7249
+ *
7250
+ */
7251
+ scope_type?: 'org' | 'function';
7252
+ /**
7253
+ * Function id UUID when `scope_type=function`. Not valid with
7254
+ * `scope_type=org`.
7255
+ *
7256
+ */
7257
+ scope_id?: string;
7258
+ };
7259
+ url: '/memories';
7260
+ };
7261
+ type GetMemoryErrors = {
7262
+ /**
7263
+ * Invalid request parameters
7264
+ */
7265
+ 400: ErrorResponse;
7266
+ /**
7267
+ * Invalid or missing API key
7268
+ */
7269
+ 401: ErrorResponse;
7270
+ /**
7271
+ * Usage credits are exhausted or payment is required
7272
+ */
7273
+ 402: ErrorResponse;
7274
+ /**
7275
+ * Resource not found
7276
+ */
7277
+ 404: ErrorResponse;
7278
+ /**
7279
+ * Rate limit exceeded
7280
+ */
7281
+ 429: ErrorResponse;
7282
+ };
7283
+ type GetMemoryError = GetMemoryErrors[keyof GetMemoryErrors];
7284
+ type GetMemoryResponses = {
7285
+ /**
7286
+ * Memory record with value
7287
+ */
7288
+ 200: SuccessEnvelope & {
7289
+ data?: MemoryRecordWithValue$1;
7290
+ };
7291
+ };
7292
+ type GetMemoryResponse = GetMemoryResponses[keyof GetMemoryResponses];
7293
+ type SetMemoryData = {
7294
+ body: SetMemoryInput;
7295
+ headers?: {
7296
+ /**
7297
+ * Optional function id UUID used as the default scope when the body
7298
+ * does not include `scope`. Ignored when `scope` is provided.
7299
+ *
7300
+ */
7301
+ 'x-primitive-function-id'?: string;
7302
+ };
7303
+ path?: never;
7304
+ query?: never;
7305
+ url: '/memories';
7306
+ };
7307
+ type SetMemoryErrors = {
7308
+ /**
7309
+ * Invalid request parameters
7310
+ */
7311
+ 400: ErrorResponse;
7312
+ /**
7313
+ * Invalid or missing API key
7314
+ */
7315
+ 401: ErrorResponse;
7316
+ /**
7317
+ * Usage credits are exhausted or payment is required
7318
+ */
7319
+ 402: ErrorResponse;
7320
+ /**
7321
+ * Resource not found
7322
+ */
7323
+ 404: ErrorResponse;
7324
+ /**
7325
+ * The request conflicts with the current state of the resource
7326
+ */
7327
+ 409: ErrorResponse;
7328
+ /**
7329
+ * Rate limit exceeded
7330
+ */
7331
+ 429: ErrorResponse;
7332
+ };
7333
+ type SetMemoryError = SetMemoryErrors[keyof SetMemoryErrors];
7334
+ type SetMemoryResponses = {
7335
+ /**
7336
+ * Existing memory updated
7337
+ */
7338
+ 200: SuccessEnvelope & {
7339
+ data?: MemoryRecordWithValue$1;
7340
+ };
7341
+ /**
7342
+ * Memory created
7343
+ */
7344
+ 201: SuccessEnvelope & {
7345
+ data?: MemoryRecordWithValue$1;
7346
+ };
7347
+ };
7348
+ type SetMemoryResponse = SetMemoryResponses[keyof SetMemoryResponses];
7349
+ type SearchMemoriesData = {
7350
+ body?: never;
7351
+ headers?: {
7352
+ /**
7353
+ * Optional function id UUID used as the default scope when query
7354
+ * scope parameters are omitted.
7355
+ *
7356
+ */
7357
+ 'x-primitive-function-id'?: string;
7358
+ };
7359
+ path?: never;
7360
+ query?: {
7361
+ /**
7362
+ * Key prefix to match. Empty string lists all active memories in the
7363
+ * selected scope. Must be at most 512 UTF-8 bytes.
7364
+ *
7365
+ */
7366
+ prefix?: string;
7367
+ /**
7368
+ * Key cursor from a previous response's `meta.cursor`. The next page
7369
+ * starts after this key.
7370
+ *
7371
+ */
7372
+ cursor?: string;
7373
+ /**
7374
+ * Number of results per page
7375
+ */
7376
+ limit?: number;
7377
+ /**
7378
+ * Pass `false` to omit the `value` field and return metadata only.
7379
+ *
7380
+ */
7381
+ include_value?: 'true' | 'false';
7382
+ /**
7383
+ * Only include memories updated at or after this timestamp.
7384
+ */
7385
+ updated_after?: string;
7386
+ /**
7387
+ * Only include memories updated at or before this timestamp.
7388
+ */
7389
+ updated_before?: string;
7390
+ /**
7391
+ * Explicit scope type. Omit to use automatic scope resolution. Pass
7392
+ * `function` with `scope_id=<function-id>`, or `org` with no `scope_id`.
7393
+ *
7394
+ */
7395
+ scope_type?: 'org' | 'function';
7396
+ /**
7397
+ * Function id UUID when `scope_type=function`. Not valid with
7398
+ * `scope_type=org`.
7399
+ *
7400
+ */
7401
+ scope_id?: string;
7402
+ };
7403
+ url: '/memories/search';
7404
+ };
7405
+ type SearchMemoriesErrors = {
7406
+ /**
7407
+ * Invalid request parameters
7408
+ */
7409
+ 400: ErrorResponse;
7410
+ /**
7411
+ * Invalid or missing API key
7412
+ */
7413
+ 401: ErrorResponse;
7414
+ /**
7415
+ * Usage credits are exhausted or payment is required
7416
+ */
7417
+ 402: ErrorResponse;
7418
+ /**
7419
+ * Resource not found
7420
+ */
7421
+ 404: ErrorResponse;
7422
+ /**
7423
+ * Rate limit exceeded
7424
+ */
7425
+ 429: ErrorResponse;
7426
+ };
7427
+ type SearchMemoriesError = SearchMemoriesErrors[keyof SearchMemoriesErrors];
7428
+ type SearchMemoriesResponses = {
7429
+ /**
7430
+ * Paginated memory records
7431
+ */
7432
+ 200: ListEnvelope & {
7433
+ data?: Array<MemoryRecord$1>;
7434
+ };
7435
+ };
7436
+ type SearchMemoriesResponse = SearchMemoriesResponses[keyof SearchMemoriesResponses];
6976
7437
  type ListPayoutAddressesData = {
6977
7438
  body?: never;
6978
7439
  path?: never;
@@ -7405,6 +7866,39 @@ type CreateRegistryResponses = {
7405
7866
  };
7406
7867
  };
7407
7868
  type CreateRegistryResponse = CreateRegistryResponses[keyof CreateRegistryResponses];
7869
+ type DeleteRegistryData = {
7870
+ body?: never;
7871
+ path: {
7872
+ /**
7873
+ * The registry slug
7874
+ */
7875
+ slug: string;
7876
+ };
7877
+ query?: never;
7878
+ url: '/registries/{slug}';
7879
+ };
7880
+ type DeleteRegistryErrors = {
7881
+ /**
7882
+ * Invalid or missing API key
7883
+ */
7884
+ 401: ErrorResponse;
7885
+ /**
7886
+ * Resource not found
7887
+ */
7888
+ 404: ErrorResponse;
7889
+ };
7890
+ type DeleteRegistryError = DeleteRegistryErrors[keyof DeleteRegistryErrors];
7891
+ type DeleteRegistryResponses = {
7892
+ /**
7893
+ * Resource deleted
7894
+ */
7895
+ 200: SuccessEnvelope & {
7896
+ data?: {
7897
+ deleted: boolean;
7898
+ };
7899
+ };
7900
+ };
7901
+ type DeleteRegistryResponse = DeleteRegistryResponses[keyof DeleteRegistryResponses];
7408
7902
  type GetRegistryData = {
7409
7903
  body?: never;
7410
7904
  path: {
@@ -7761,7 +8255,7 @@ type GetAgentResponses = {
7761
8255
  };
7762
8256
  type GetAgentResponse = GetAgentResponses[keyof GetAgentResponses];
7763
8257
  declare namespace sdk_gen_d_exports {
7764
- 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, deleteOrgSecret, deleteRoute, deleteWakeAuthorization, deleteWakeSchedule, discardEmailContent, downloadAttachments, downloadDomainZoneFile, downloadRawEmail, getAccount, getAgent, getChallenge, getConversation, getEmail, getFunction, getFunctionRouting, getFunctionTestRunTrace, getInboxStatus, getOrgRoutingTopology, getRegistry, getSendPermissions, getSentEmail, getSpendPolicy, getStorageStats, getThread, getWakeSchedule, getWebhookSecret, listDeclinedPayments, listDeliveries, listDomains, listEmails, listEndpoints, listFilters, listFunctionLogs, listFunctionSecrets, listFunctions, listOrgSecrets, listPayoutAddresses, listRegistries, listRegistryAgents, listRegistryRequests, listRoutes, listSentEmails, listWakeAuthorizations, listWakeDispatches, listWakeSchedules, payChallenge, pollCliLogin, publishAgent, registerPayoutAddress, reorderRoutes, replayDelivery, replayEmailWebhooks, replyToEmail, resendAgentSignupVerification, resendCliSignupVerification, resolveRegistryHandle, rotateWebhookSecret, runWakeSchedule, searchEmails, semanticSearch, sendEmail, setFunctionRoute, setFunctionSecret, setOrgSecret, simulateRoute, startAgentClaim, startAgentSignup, startCliLogin, startCliSignup, testEndpoint, testFunction, unpublishAgent, unsetFunctionRoute, updateAccount, updateDomain, updateEndpoint, updateFilter, updateFunction, updateRegistry, updateRoute, updateSpendPolicy, updateWakeAuthorization, updateWakeSchedule, verifyAgentClaim, verifyAgentSignup, verifyCliSignup, verifyDomain };
8258
+ 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, getThread, getWakeSchedule, getWebhookSecret, listDeclinedPayments, listDeliveries, listDomains, listEmails, listEndpoints, listFilters, listFunctionLogs, listFunctionSecrets, listFunctions, listOrgSecrets, listPayoutAddresses, listRegistries, listRegistryAgents, listRegistryRequests, listRoutes, listSentEmails, 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 };
7765
8259
  }
7766
8260
  type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options$1<TData, ThrowOnError, TResponse> & {
7767
8261
  /**
@@ -8815,6 +9309,65 @@ declare const setOrgSecret: <ThrowOnError extends boolean = false>(options: Opti
8815
9309
  *
8816
9310
  */
8817
9311
  declare const listFunctionLogs: <ThrowOnError extends boolean = false>(options: Options<ListFunctionLogsData, ThrowOnError>) => RequestResult<ListFunctionLogsResponses, ListFunctionLogsErrors, ThrowOnError, "fields">;
9312
+ /**
9313
+ * Delete a memory
9314
+ *
9315
+ * Delete one active memory by key and scope. Deletes are idempotent when
9316
+ * `if_version` is omitted: deleting a missing key returns `deleted:
9317
+ * false`. With `if_version`, a missing key still returns `deleted: false`,
9318
+ * but a stale version returns `memory_conflict`.
9319
+ *
9320
+ * A successful delete records memory write usage.
9321
+ *
9322
+ */
9323
+ declare const deleteMemory: <ThrowOnError extends boolean = false>(options: Options<DeleteMemoryData, ThrowOnError>) => RequestResult<DeleteMemoryResponses, DeleteMemoryErrors, ThrowOnError, "fields">;
9324
+ /**
9325
+ * Get a memory
9326
+ *
9327
+ * Fetch one active memory by key and scope. Omit scope parameters to use
9328
+ * the automatic default: function-authenticated context, then the
9329
+ * `x-primitive-function-id` header, then org scope. Function scope uses a
9330
+ * function id UUID in `scope_id`.
9331
+ *
9332
+ * A successful read records memory read usage and updates the memory's
9333
+ * read stats asynchronously.
9334
+ *
9335
+ */
9336
+ declare const getMemory: <ThrowOnError extends boolean = false>(options: Options<GetMemoryData, ThrowOnError>) => RequestResult<GetMemoryResponses, GetMemoryErrors, ThrowOnError, "fields">;
9337
+ /**
9338
+ * Set a memory
9339
+ *
9340
+ * Create or update a durable JSON memory under an org or function scope.
9341
+ * When no explicit scope is provided, function-authenticated requests
9342
+ * use that function's id automatically; requests with
9343
+ * `x-primitive-function-id` use that function id; all other requests
9344
+ * default to org scope.
9345
+ *
9346
+ * `scope.type = function` requires the function id UUID in `scope.id`.
9347
+ * Function names are not accepted as scope identifiers. Values must be
9348
+ * valid JSON and serialize to at most 65536 UTF-8 bytes. Keys must be at
9349
+ * most 512 UTF-8 bytes. `version`, `read_count`, and `write_count` are
9350
+ * bigint counters serialized as strings.
9351
+ *
9352
+ * Passing `if_absent` turns the write into create-only. Passing
9353
+ * `if_version` turns the write into compare-and-set. These options are
9354
+ * mutually exclusive and return `memory_conflict` on a stale version or
9355
+ * existing key.
9356
+ *
9357
+ */
9358
+ declare const setMemory: <ThrowOnError extends boolean = false>(options: Options<SetMemoryData, ThrowOnError>) => RequestResult<SetMemoryResponses, SetMemoryErrors, ThrowOnError, "fields">;
9359
+ /**
9360
+ * Search memories
9361
+ *
9362
+ * List active memories in a scope by lexicographic key prefix. Results
9363
+ * are ordered by key ascending. The `meta.cursor` value is the next key
9364
+ * cursor; pass it back as `cursor` to continue after that key.
9365
+ *
9366
+ * Search records one memory read usage event for the operation. Pass
9367
+ * `include_value=false` to return metadata only.
9368
+ *
9369
+ */
9370
+ declare const searchMemories: <ThrowOnError extends boolean = false>(options?: Options<SearchMemoriesData, ThrowOnError>) => RequestResult<SearchMemoriesResponses, SearchMemoriesErrors, ThrowOnError, "fields">;
8818
9371
  /**
8819
9372
  * List payout addresses
8820
9373
  *
@@ -8927,6 +9480,12 @@ declare const listRegistries: <ThrowOnError extends boolean = false>(options?: O
8927
9480
  * Create a registry
8928
9481
  */
8929
9482
  declare const createRegistry: <ThrowOnError extends boolean = false>(options: Options<CreateRegistryData, ThrowOnError>) => RequestResult<CreateRegistryResponses, CreateRegistryErrors, ThrowOnError, "fields">;
9483
+ /**
9484
+ * Delete a registry you own
9485
+ *
9486
+ * Removes the registry from discovery and frees its slug for re-creation.
9487
+ */
9488
+ declare const deleteRegistry: <ThrowOnError extends boolean = false>(options: Options<DeleteRegistryData, ThrowOnError>) => RequestResult<DeleteRegistryResponses, DeleteRegistryErrors, ThrowOnError, "fields">;
8930
9489
  /**
8931
9490
  * Get a public registry's metadata
8932
9491
  */
@@ -9200,6 +9759,28 @@ interface SemanticSearchResponse {
9200
9759
  data: SemanticSearchResult[];
9201
9760
  meta: SemanticSearchMeta;
9202
9761
  }
9762
+ type MemorySetInput = SetMemoryInput;
9763
+ type MemoryGetInput = GetMemoryData["query"];
9764
+ type MemoryDeleteInput = DeleteMemoryData["query"];
9765
+ type MemoryRecord = MemoryRecord$1;
9766
+ type MemoryRecordWithValue = MemoryRecordWithValue$1;
9767
+ type MemorySearchInput = Omit<NonNullable<SearchMemoriesData["query"]>, "include_value"> & {
9768
+ /**
9769
+ * Return memory values with each record. Defaults to true. Use false for
9770
+ * metadata-only key scans.
9771
+ */
9772
+ includeValue?: boolean;
9773
+ /**
9774
+ * Wire-compatible spelling for callers that already use generated query
9775
+ * field names. Boolean values are accepted for convenience and normalized
9776
+ * to the API's `"true"` / `"false"` strings.
9777
+ */
9778
+ include_value?: "true" | "false" | boolean;
9779
+ };
9780
+ interface MemorySearchResponse {
9781
+ data: Array<MemoryRecord$1 | MemoryRecordWithValue$1>;
9782
+ meta: PaginationMeta;
9783
+ }
9203
9784
  type PrimitiveClientOptions = PrimitiveApiClientOptions;
9204
9785
  /**
9205
9786
  * Agent-account operations, grouped under `client.agent`.
@@ -9313,6 +9894,23 @@ declare class AccountResource {
9313
9894
  */
9314
9895
  get(options?: RequestOptions): Promise<Account>;
9315
9896
  }
9897
+ /**
9898
+ * Durable JSON key-value state, grouped under `client.memories`.
9899
+ *
9900
+ * This wraps the generated `setMemory`, `getMemory`, `deleteMemory`, and
9901
+ * `searchMemories` operations with the shape most Function authors expect:
9902
+ * pass the memory fields directly instead of the generated `{ client, body }`
9903
+ * or `{ client, query }` operation wrapper. Search is key-prefix search, not
9904
+ * free-text retrieval; use `client.semanticSearch` for mail search.
9905
+ */
9906
+ declare class MemoriesResource {
9907
+ private readonly client;
9908
+ constructor(client: PrimitiveApiClient["client"]);
9909
+ set(input: MemorySetInput, options?: RequestOptions): Promise<MemoryRecordWithValue$1>;
9910
+ get(input: string | MemoryGetInput, options?: RequestOptions): Promise<MemoryRecordWithValue$1>;
9911
+ delete(input: string | MemoryDeleteInput, options?: RequestOptions): Promise<DeleteMemoryResult>;
9912
+ search(input?: MemorySearchInput, options?: RequestOptions): Promise<MemorySearchResponse>;
9913
+ }
9316
9914
  declare class PrimitiveClient extends PrimitiveApiClient {
9317
9915
  /** Agent-account lifecycle operations (create, claim/upgrade). */
9318
9916
  readonly agent: AgentResource;
@@ -9320,6 +9918,8 @@ declare class PrimitiveClient extends PrimitiveApiClient {
9320
9918
  readonly inbox: InboxResource;
9321
9919
  /** Account introspection (plan, limits, entitlements, managed inbox). */
9322
9920
  readonly account: AccountResource;
9921
+ /** Durable JSON key-value state for agents and Functions. */
9922
+ readonly memories: MemoriesResource;
9323
9923
  send(input: SendInput, options?: RequestOptions): Promise<SendResult>;
9324
9924
  /**
9325
9925
  * Semantic / hybrid / keyword search across received and sent mail.
@@ -9374,4 +9974,4 @@ interface CreatedAgent {
9374
9974
  */
9375
9975
  declare function createAgent(options: CreateAgentOptions): Promise<CreatedAgent>;
9376
9976
  //#endregion
9377
- export { deleteFunction as $, DiscardEmailContentResponses as $a, ListDeliveriesResponse as $c, RotateWebhookSecretError as $d, SetFunctionSecretResponses as $f, X402SpendPolicy as $h, DeleteDomainResponse as $i, ListRegistryAgentsResponse as $l, UpdateSpendPolicyError as $m, CliLoginStartResult as $n, GateDenial as $o, UnpublishAgentData as $p, CreateFunctionResponses as $r, GetRegistryErrors as $s, replyToEmail as $t, PublishAgentResponses as $u, RequestOptions$1 as A, DeleteOrgSecretResponses as Aa, GetWakeScheduleResponse as Ac, ReplyToEmailError as Ad, SendEmailResponses as Af, VerifyCliSignupError as Ah, CreateWakeAuthorizationResponses as Ai, ListFunctionSecretsResponse as Al, UpdateFilterErrors as Am, updateWakeSchedule as An, EmailSummary as Ao, StartCliLoginResponses as Ap, CreateEmailChallengeData as Ar, GetFunctionResponses as As, listEmails as At, ListWakeSchedulesResponses as Au, createFunction as B, DeleteWakeAuthorizationResponses as Ba, InboxStatusEndpointSummary as Bc, ResendCliSignupVerificationData as Bd, SentEmailDetail as Bf, WakeAuthorization as Bh, DecideRegistryRequestErrors as Bi, ListOrgSecretsResponse as Bl, UpdateRegistryData as Bm, AddDomainInput as Bn, FunctionRouteResult as Bo, TestEndpointError as Bp, CreateEndpointResponse as Br, GetFunctionTestRunTraceResponses as Bs, listRegistryRequests as Bt, PayChallengeResponses as Bu, VerifyOptions as C, DeleteFunctionSecretErrors as Ca, GetThreadError as Cc, ReplayEmailWebhooksData as Cd, SemanticSearchResult as Cf, VerifyAgentSignupData as Ch, CreateRouteResponse as Ci, ListFunctionLogsError as Cl, UpdateEndpointError as Cm, updateEndpoint as Cn, EmailDetailReply as Co, StartAgentSignupResponse as Cp, CreateAgentClaimLinkResponses as Cr, GetEmailErrors as Cs, getStorageStats as Ct, ListWakeDispatchesErrors as Cu, PrimitiveApiClientOptions as D, DeleteOrgSecretError as Da, GetWakeScheduleData as Dc, ReplayEmailWebhooksResponses as Dd, SendEmailError as Df, VerifyAgentSignupResponse as Dh, CreateWakeAuthorizationErrors as Di, ListFunctionSecretsData as Dl, UpdateEndpointResponses as Dm, updateRoute as Dn, EmailSearchMeta as Do, StartCliLoginErrors as Dp, CreateChallengeInput as Dr, GetFunctionError as Ds, listDeclinedPayments as Dt, ListWakeSchedulesError as Du, PrimitiveApiClient as E, DeleteOrgSecretData as Ea, GetThreadResponses as Ec, ReplayEmailWebhooksResponse as Ed, SendEmailData as Ef, VerifyAgentSignupInput as Eh, CreateWakeAuthorizationError as Ei, ListFunctionLogsResponses as El, UpdateEndpointResponse as Em, updateRegistry as En, EmailSearchHighlights as Eo, StartCliLoginError as Ep, CreateChallengeErrors as Er, GetFunctionData as Es, getWebhookSecret as Et, ListWakeSchedulesData as Eu, createAgentClaimLink as F, DeleteRouteResponses as Fa, GetWebhookSecretResponse as Fc, ResendAgentSignupVerificationError as Fd, SendPermissionAnyRecipient as Ff, VerifyDomainData as Fh, CreateWakeScheduleResponse as Fi, ListFunctionsResponse as Fl, UpdateFunctionError as Fm, Account as Fn, FunctionDeployStatus as Fo, StartCliSignupResponse as Fp, CreateEmailChallengeResponses as Fr, GetFunctionRoutingResponses as Fs, listFunctions as Ft, PayChallengeData as Fu, createWakeAuthorization as G, DeleteWakeScheduleResponses as Ga, ListDeclinedPaymentsData as Gc, ResendCliSignupVerificationResponses as Gd, SetFunctionRouteErrors as Gf, X402DeclinedPayment as Gh, DefineAgentError as Gi, ListPayoutAddressesResponse as Gl, UpdateRegistryResponses as Gm, AgentClaimLinkResult as Gn, FunctionTestRunDelivery as Go, TestFunctionError as Gp, CreateFilterInput as Gr, GetInboxStatusResponses as Gs, listWakeSchedules as Gt, PollCliLoginInput as Gu, createOrgSecret as H, DeleteWakeScheduleError as Ha, InboxStatusNextAction as Hc, ResendCliSignupVerificationErrors as Hd, SentEmailSummary as Hf, WakeSchedule as Hh, DecideRegistryRequestResponse as Hi, ListPayoutAddressesData as Hl, UpdateRegistryErrors as Hm, AddDomainResponses as Hn, FunctionSecretListItem as Ho, TestEndpointResponse as Hp, CreateFilterData as Hr, GetInboxStatusError as Hs, listSentEmails as Ht, PollCliLoginData as Hu, createChallenge as I, DeleteWakeAuthorizationData as Ia, GetWebhookSecretResponses as Ic, ResendAgentSignupVerificationErrors as Id, SendPermissionManagedZone as If, VerifyDomainError as Ih, CreateWakeScheduleResponses as Ii, ListFunctionsResponses as Il, UpdateFunctionErrors as Im, AccountUpdated as In, FunctionDetail as Io, StartCliSignupResponses as Ip, CreateEndpointData as Ir, GetFunctionTestRunTraceData as Is, listOrgSecrets as It, PayChallengeError as Iu, defineAgent as J, DiscardContentResult as Ja, ListDeclinedPaymentsResponse as Jc, ResolveRegistryHandleErrors as Jd, SetFunctionSecretData as Jf, X402NonceBinding as Jh, DefineAgentResponse as Ji, ListRegistriesError as Jl, UpdateRouteErrors as Jm, AgentOrgRef as Jn, FunctionTestRunOutboundRequest as Jo, TestFunctionResponses as Jp, CreateFunctionData as Jr, GetOrgRoutingTopologyErrors as Js, publishAgent as Jt, PublishAgentData as Ju, createWakeSchedule as K, DeliveryStatus as Ka, ListDeclinedPaymentsError as Kc, ResolveRegistryHandleData as Kd, SetFunctionRouteResponse as Kf, X402EmailChallenge as Kh, DefineAgentErrors as Ki, ListPayoutAddressesResponses as Kl, UpdateRouteData as Km, AgentClaimResult as Kn, FunctionTestRunDeliveryEndpoint as Ko, TestFunctionErrors as Kp, CreateFilterResponse as Kr, GetOrgRoutingTopologyData as Ks, payChallenge as Kt, PollCliLoginResponse as Ku, createEmailChallenge as L, DeleteWakeAuthorizationError as La, IdempotencyKey as Lc, ResendAgentSignupVerificationInput as Ld, SendPermissionRule as Lf, VerifyDomainErrors as Lh, Cursor as Li, ListOrgSecretsData as Ll, UpdateFunctionInput as Lm, AddDomainData as Ln, FunctionListItem as Lo, StorageStats as Lp, CreateEndpointError as Lr, GetFunctionTestRunTraceError as Ls, listPayoutAddresses as Lt, PayChallengeErrors as Lu, addDomain as M, DeleteRouteError as Ma, GetWebhookSecretData as Mc, ReplyToEmailResponse as Md, SendMailInput as Mf, VerifyCliSignupInput as Mh, CreateWakeScheduleError as Mi, ListFunctionsData as Ml, UpdateFilterResponse as Mm, verifyAgentSignup as Mn, Endpoint as Mo, StartCliSignupError as Mp, CreateEmailChallengeErrors as Mr, GetFunctionRoutingError as Ms, listFilters as Mt, OrgSecretWriteResult as Mu, cliLogout as N, DeleteRouteErrors as Na, GetWebhookSecretError as Nc, ReplyToEmailResponses as Nd, SendMailResult as Nf, VerifyCliSignupResponse as Nh, CreateWakeScheduleErrors as Ni, ListFunctionsError as Nl, UpdateFilterResponses as Nm, verifyCliSignup as Nn, ErrorResponse as No, StartCliSignupErrors as Np, CreateEmailChallengeInput as Nr, GetFunctionRoutingErrors as Ns, listFunctionLogs as Nt, PaginationMeta as Nu, PrimitiveApiError as O, DeleteOrgSecretErrors as Oa, GetWakeScheduleError as Oc, ReplayResult as Od, SendEmailErrors as Of, VerifyAgentSignupResponses as Oh, CreateWakeAuthorizationInput as Oi, ListFunctionSecretsError as Ol, UpdateFilterData as Om, updateSpendPolicy as On, EmailSearchResult as Oo, StartCliLoginInput as Op, CreateChallengeResponse as Or, GetFunctionErrors as Os, listDeliveries as Ot, ListWakeSchedulesErrors as Ou, createAgentAccount as P, DeleteRouteResponse as Pa, GetWebhookSecretErrors as Pc, ResendAgentSignupVerificationData as Pd, SendPermissionAddress as Pf, VerifyCliSignupResponses as Ph, CreateWakeScheduleInput as Pi, ListFunctionsErrors as Pl, UpdateFunctionData as Pm, verifyDomain as Pn, Filter as Po, StartCliSignupInput as Pp, CreateEmailChallengeResponse as Pr, GetFunctionRoutingResponse as Ps, listFunctionSecrets as Pt, ParsedEmailData as Pu, deleteFilter as Q, DiscardEmailContentResponse as Qa, ListDeliveriesErrors as Qc, RotateWebhookSecretData as Qd, SetFunctionSecretResponse as Qf, X402Receipt as Qh, DeleteDomainErrors as Qi, ListRegistryAgentsData as Ql, UpdateSpendPolicyData as Qm, CliLoginPollResult as Qn, FunctionTestRunTrace as Qo, ThreadMessage as Qp, CreateFunctionResponse as Qr, GetRegistryError as Qs, replayEmailWebhooks as Qt, PublishAgentResponse as Qu, createEndpoint as R, DeleteWakeAuthorizationErrors as Ra, InboxStatus as Rc, ResendAgentSignupVerificationResponse as Rd, SendPermissionYourDomain as Rf, VerifyDomainResponse as Rh, DecideRegistryRequestData as Ri, ListOrgSecretsError as Rl, UpdateFunctionResponse as Rm, AddDomainError as Rn, FunctionLogRow as Ro, SuccessEnvelope as Rp, CreateEndpointErrors as Rr, GetFunctionTestRunTraceErrors as Rs, listRegistries as Rt, PayChallengeInput as Ru, PRIMITIVE_SIGNATURE_HEADER as S, DeleteFunctionSecretError as Sa, GetThreadData as Sc, ReplayDeliveryResponses as Sd, SemanticSearchResponses as Sf, VerifyAgentClaimResponses as Sh, CreateRouteInput as Si, ListFunctionLogsData as Sl, UpdateEndpointData as Sm, updateDomain as Sn, EmailDetail as So, StartAgentSignupInput as Sp, CreateAgentClaimLinkResponse as Sr, GetEmailError as Ss, getSpendPolicy as St, ListWakeDispatchesError as Su, DEFAULT_API_BASE_URL as T, DeleteFunctionSecretResponses as Ta, GetThreadResponse as Tc, ReplayEmailWebhooksErrors as Td, SemanticSearchSnippet as Tf, VerifyAgentSignupErrors as Th, CreateWakeAuthorizationData as Ti, ListFunctionLogsResponse as Tl, UpdateEndpointInput as Tm, updateFunction as Tn, EmailSearchFacets as To, StartCliLoginData as Tp, CreateChallengeError as Tr, GetEmailResponses as Ts, getWakeSchedule as Tt, ListWakeDispatchesResponses as Tu, createRegistry as U, DeleteWakeScheduleErrors as Ua, InboxStatusRecentEmailSummary as Uc, ResendCliSignupVerificationInput as Ud, SetFunctionRouteData as Uf, WebhookSecret as Uh, DecideRegistryRequestResponses as Ui, ListPayoutAddressesError as Ul, UpdateRegistryInput as Um, AgentAccountResult as Un, FunctionSecretWriteResult as Uo, TestEndpointResponses as Up, CreateFilterError as Ur, GetInboxStatusErrors as Us, listWakeAuthorizations as Ut, PollCliLoginError as Uu, createFunctionSecret as V, DeleteWakeScheduleData as Va, InboxStatusFunctionSummary as Vc, ResendCliSignupVerificationError as Vd, SentEmailStatus as Vf, WakeDispatch as Vh, DecideRegistryRequestInput as Vi, ListOrgSecretsResponses as Vl, UpdateRegistryError as Vm, AddDomainResponse as Vn, FunctionRouting as Vo, TestEndpointErrors as Vp, CreateEndpointResponses as Vr, GetInboxStatusData as Vs, listRoutes as Vt, PlanLimits as Vu, createRoute as W, DeleteWakeScheduleResponse as Wa, Limit as Wc, ResendCliSignupVerificationResponse as Wd, SetFunctionRouteError as Wf, X402Challenge as Wh, DefineAgentData as Wi, ListPayoutAddressesErrors as Wl, UpdateRegistryResponse as Wm, AgentAccountUpgradeHint as Wn, FunctionTestRun as Wo, TestFunctionData as Wp, CreateFilterErrors as Wr, GetInboxStatusResponse as Ws, listWakeDispatches as Wt, PollCliLoginErrors as Wu, deleteEmail as X, DiscardEmailContentError as Xa, ListDeliveriesData as Xc, ResolveRegistryHandleResponses as Xd, SetFunctionSecretErrors as Xf, X402PaymentRequirements as Xh, DeleteDomainData as Xi, ListRegistriesResponse as Xl, UpdateRouteResponse as Xm, AgentSignupStartResult as Xn, FunctionTestRunSend as Xo, TestResult as Xp, CreateFunctionErrors as Xr, GetOrgRoutingTopologyResponses as Xs, reorderRoutes as Xt, PublishAgentErrors as Xu, deleteDomain as Y, DiscardEmailContentData as Ya, ListDeclinedPaymentsResponses as Yc, ResolveRegistryHandleResponse as Yd, SetFunctionSecretError as Yf, X402PaymentPayload as Yh, DefineAgentResponses as Yi, ListRegistriesErrors as Yl, UpdateRouteInput as Ym, AgentSignupResendResult as Yn, FunctionTestRunReply as Yo, TestInvocationResult as Yp, CreateFunctionError as Yr, GetOrgRoutingTopologyResponse as Ys, registerPayoutAddress as Yt, PublishAgentError as Yu, deleteEndpoint as Z, DiscardEmailContentErrors as Za, ListDeliveriesError as Zc, ResourceId as Zd, SetFunctionSecretInput as Zf, X402PayoutAddress as Zh, DeleteDomainError as Zi, ListRegistriesResponses as Zl, UpdateRouteResponses as Zm, AgentSignupVerifyResult as Zn, FunctionTestRunState as Zo, Thread as Zp, CreateFunctionInput as Zr, GetRegistryData as Zs, replayDelivery as Zt, PublishAgentInput as Zu, SendThreadInput as _, DeleteFunctionError as _a, GetStorageStatsData as _c, ReorderRoutesResponses as _d, SemanticSearchError as _f, VerifyAgentClaimData as _h, CreateRegistryResponse as _i, ListFiltersData as _l, UpdateDomainError as _m, testEndpoint as _n, DownloadRawEmailResponse as _o, StartAgentClaimResponse as _p, CreateAgentAccountResponses as _r, GetConversationError as _s, getInboxStatus as _t, ListWakeAuthorizationsError as _u, ForwardInput as a, DeleteEmailResponses as aa, GetSendPermissionsResponse as ac, RegisterPayoutAddressErrors as ad, RunWakeScheduleData as af, Options$1 as ag, UpdateWakeAuthorizationError as ah, CreateFunctionSecretResponse as ai, ListDomainsResponses as al, UnsetFunctionRouteError as am, sdk_gen_d_exports as an, DownloadAttachmentsError as ao, SetOrgSecretResponses as ap, CliLogoutResponses as ar, GetAccountResponses as as, discardEmailContent as at, ListRegistryRequestsResponses as au, createAgent as b, DeleteFunctionResponses as ba, GetStorageStatsResponse as bc, ReplayDeliveryErrors as bd, SemanticSearchInput as bf, VerifyAgentClaimInput as bh, CreateRouteError as bi, ListFiltersResponse as bl, UpdateDomainResponse as bm, unsetFunctionRoute as bn, EmailAttachment as bo, StartAgentSignupError as bp, CreateAgentClaimLinkErrors as br, GetConversationResponses as bs, getSendPermissions as bt, ListWakeAuthorizationsResponses as bu, InboxStreamOptions as c, DeleteEndpointErrors as ca, GetSentEmailError as cc, RegisterPayoutAddressResponses as cd, RunWakeScheduleResponse as cf, ResponseStyle as cg, UpdateWakeAuthorizationResponse as ch, CreateOrgSecretError as ci, ListEmailsErrors as cl, UnsetFunctionRouteResponses as cm, sendEmail as cn, DownloadAttachmentsResponses as co, SimulateRouteErrors as cp, CliSignupStartResult as cr, GetAgentErrors as cs, downloadRawEmail as ct, ListRoutesErrors as cu, ReplyInput as d, DeleteFilterData as da, GetSentEmailResponses as dc, RegistryRequest as dd, SearchEmailsError as df, UpdateWakeScheduleError as dh, CreateOrgSecretResponse as di, ListEndpointsData as dl, UpdateAccountError as dm, setOrgSecret as dn, DownloadDomainZoneFileErrors as do, SimulateRouteResponses as dp, ConversationMessage as dr, GetChallengeData as ds, getChallenge as dt, ListSentEmailsData as du, DeleteDomainResponses as ea, GetRegistryResponse as ec, PublishAgentResult as ed, RotateWebhookSecretErrors as ef, createClient as eg, UpdateSpendPolicyErrors as eh, CreateFunctionResult as ei, ListDeliveriesResponses as el, UnpublishAgentError as em, resendAgentSignupVerification as en, DkimSignature as eo, SetOrgSecretData as ep, CliLogoutData as er, GateFix as es, deleteFunctionSecret as et, ListRegistryAgentsResponses as eu, RequestOptions as f, DeleteFilterError as fa, GetSpendPolicyData as fc, ReorderRoutesData as fd, SearchEmailsErrors as ff, UpdateWakeScheduleErrors as fh, CreateOrgSecretResponses as fi, ListEndpointsError as fl, UpdateAccountErrors as fm, simulateRoute as fn, DownloadDomainZoneFileResponse as fo, SimulateRouteResult as fp, CreateAgentAccountData as fr, GetChallengeError as fs, getConversation as ft, ListSentEmailsError as fu, SendResult as g, DeleteFunctionData as ga, GetSpendPolicyResponses as gc, ReorderRoutesResponse as gd, SemanticSearchData as gf, VerifiedDomain as gh, CreateRegistryInput as gi, ListEnvelope as gl, UpdateDomainData as gm, startCliSignup as gn, DownloadRawEmailErrors as go, StartAgentClaimInput as gp, CreateAgentAccountResponse as gr, GetConversationData as gs, getFunctionTestRunTrace as gt, ListWakeAuthorizationsData as gu, SendInput as h, DeleteFilterResponses as ha, GetSpendPolicyResponse as hc, ReorderRoutesInput as hd, SemanticSearchCoverage as hf, UpdateWakeScheduleResponses as hh, CreateRegistryErrors as hi, ListEndpointsResponses as hl, UpdateAccountResponses as hm, startCliLogin as hn, DownloadRawEmailError as ho, StartAgentClaimErrors as hp, CreateAgentAccountInput as hr, GetChallengeResponses as hs, getFunctionRouting as ht, ListSentEmailsResponses as hu, CreatedAgent as i, DeleteEmailResponse as ia, GetSendPermissionsErrors as ic, RegisterPayoutAddressError as id, RoutingTopology as if, CreateClientConfig as ig, UpdateWakeAuthorizationData as ih, CreateFunctionSecretInput as ii, ListDomainsResponse as il, UnsetFunctionRouteData as im, runWakeSchedule as in, DownloadAttachmentsData as io, SetOrgSecretResponse as ip, CliLogoutResponse as ir, GetAccountResponse as is, deleteWakeSchedule as it, ListRegistryRequestsResponse as iu, createPrimitiveApiClient as j, DeleteRouteData as ja, GetWakeScheduleResponses as jc, ReplyToEmailErrors as jd, SendMailAttachment as jf, VerifyCliSignupErrors as jh, CreateWakeScheduleData as ji, ListFunctionSecretsResponses as jl, UpdateFilterInput as jm, verifyAgentClaim as jn, EmailWebhookStatus as jo, StartCliSignupData as jp, CreateEmailChallengeError as jr, GetFunctionRoutingData as js, listEndpoints as jt, OrgSecretListItem as ju, PrimitiveApiErrorDetails as k, DeleteOrgSecretResponse as ka, GetWakeScheduleErrors as kc, ReplyToEmailData as kd, SendEmailResponse as kf, VerifyCliSignupData as kh, CreateWakeAuthorizationResponse as ki, ListFunctionSecretsErrors as kl, UpdateFilterError as km, updateWakeAuthorization as kn, EmailStatus as ko, StartCliLoginResponse as kp, CreateChallengeResponses as kr, GetFunctionResponse as ks, listDomains as kt, ListWakeSchedulesResponse as ku, PrimitiveClient as l, DeleteEndpointResponse as la, GetSentEmailErrors as lc, Registry as ld, RunWakeScheduleResponses as lf, createConfig as lg, UpdateWakeAuthorizationResponses as lh, CreateOrgSecretErrors as li, ListEmailsResponse as ll, UnverifiedDomain as lm, setFunctionRoute as ln, DownloadDomainZoneFileData as lo, SimulateRouteInput as lp, CliSignupVerifyResult as lr, GetAgentResponse as ls, getAccount as lt, ListRoutesResponse as lu, SendAttachment as m, DeleteFilterResponse as ma, GetSpendPolicyErrors as mc, ReorderRoutesErrors as md, SearchEmailsResponses as mf, UpdateWakeScheduleResponse as mh, CreateRegistryError as mi, ListEndpointsResponse as ml, UpdateAccountResponse as mm, startAgentSignup as mn, DownloadRawEmailData as mo, StartAgentClaimError as mp, CreateAgentAccountErrors as mr, GetChallengeResponse as ms, getFunction as mt, ListSentEmailsResponse as mu, AgentResource as n, DeleteEmailError as na, GetSendPermissionsData as nc, RecipientRoute as nd, RotateWebhookSecretResponses as nf, ClientOptions as ng, UpdateSpendPolicyResponse as nh, CreateFunctionSecretError as ni, ListDomainsError as nl, UnpublishAgentResponse as nm, resolveRegistryHandle as nn, DomainDnsRecord as no, SetOrgSecretErrors as np, CliLogoutErrors as nr, GetAccountError as ns, deleteRoute as nt, ListRegistryRequestsError as nu, InboundEmail as o, DeleteEndpointData as oa, GetSendPermissionsResponses as oc, RegisterPayoutAddressInput as od, RunWakeScheduleError as of, RequestOptions$2 as og, UpdateWakeAuthorizationErrors as oh, CreateFunctionSecretResponses as oi, ListEmailsData as ol, UnsetFunctionRouteErrors as om, searchEmails as on, DownloadAttachmentsErrors as oo, SimulateRouteData as op, CliLogoutResult as or, GetAgentData as os, downloadAttachments as ot, ListRoutesData as ou, SemanticSearchResponse as p, DeleteFilterErrors as pa, GetSpendPolicyError as pc, ReorderRoutesError as pd, SearchEmailsResponse as pf, UpdateWakeScheduleInput as ph, CreateRegistryData as pi, ListEndpointsErrors as pl, UpdateAccountInput as pm, startAgentClaim as pn, DownloadDomainZoneFileResponses as po, StartAgentClaimData as pp, CreateAgentAccountError as pr, GetChallengeErrors as ps, getEmail as pt, ListSentEmailsErrors as pu, decideRegistryRequest as q, DeliverySummary as qa, ListDeclinedPaymentsErrors as qc, ResolveRegistryHandleError as qd, SetFunctionRouteResponses as qf, X402EmailChallengeDetails as qh, DefineAgentInput as qi, ListRegistriesData as ql, UpdateRouteError as qm, AgentClaimStartResult as qn, FunctionTestRunInboundEmail as qo, TestFunctionResponse as qp, CreateFilterResponses as qr, GetOrgRoutingTopologyError as qs, pollCliLogin as qt, PollCliLoginResponses as qu, CreateAgentOptions as r, DeleteEmailErrors as ra, GetSendPermissionsError as rc, RegisterPayoutAddressData as rd, RouteEvaluatedEntry as rf, Config as rg, UpdateSpendPolicyResponses as rh, CreateFunctionSecretErrors as ri, ListDomainsErrors as rl, UnpublishAgentResponses as rm, rotateWebhookSecret as rn, DomainVerifyResult as ro, SetOrgSecretInput as rp, CliLogoutInput as rr, GetAccountErrors as rs, deleteWakeAuthorization as rt, ListRegistryRequestsErrors as ru, InboxResource as s, DeleteEndpointError as sa, GetSentEmailData as sc, RegisterPayoutAddressResponse as sd, RunWakeScheduleErrors as sf, RequestResult as sg, UpdateWakeAuthorizationInput as sh, CreateOrgSecretData as si, ListEmailsError as sl, UnsetFunctionRouteResponse as sm, semanticSearch as sn, DownloadAttachmentsResponse as so, SimulateRouteError as sp, CliSignupResendResult as sr, GetAgentError as ss, downloadDomainZoneFile as st, ListRoutesError as su, AccountResource as t, DeleteEmailData as ta, GetRegistryResponses as tc, PublishPolicy as td, RotateWebhookSecretResponse as tf, Client as tg, UpdateSpendPolicyInput as th, CreateFunctionSecretData as ti, ListDomainsData as tl, UnpublishAgentErrors as tm, resendCliSignupVerification as tn, Domain as to, SetOrgSecretError as tp, CliLogoutError as tr, GetAccountData as ts, deleteOrgSecret as tt, ListRegistryRequestsData as tu, PrimitiveClientOptions as u, DeleteEndpointResponses as ua, GetSentEmailResponse as uc, RegistryAgent as ud, SearchEmailsData as uf, Auth as ug, UpdateWakeScheduleData as uh, CreateOrgSecretInput as ui, ListEmailsResponses as ul, UpdateAccountData as um, setFunctionSecret as un, DownloadDomainZoneFileError as uo, SimulateRouteResponse as up, Conversation as ur, GetAgentResponses as us, getAgent as ut, ListRoutesResponses as uu, WaitForNextOptions as v, DeleteFunctionErrors as va, GetStorageStatsError as vc, ReplayDeliveryData as vd, SemanticSearchErrors as vf, VerifyAgentClaimError as vh, CreateRegistryResponses as vi, ListFiltersError as vl, UpdateDomainErrors as vm, testFunction as vn, DownloadRawEmailResponses as vo, StartAgentClaimResponses as vp, CreateAgentClaimLinkData as vr, GetConversationErrors as vs, getOrgRoutingTopology as vt, ListWakeAuthorizationsErrors as vu, verifyWebhookSignature as w, DeleteFunctionSecretResponse as wa, GetThreadErrors as wc, ReplayEmailWebhooksError as wd, SemanticSearchScoreBreakdown as wf, VerifyAgentSignupError as wh, CreateRouteResponses as wi, ListFunctionLogsErrors as wl, UpdateEndpointErrors as wm, updateFilter as wn, EmailSearchFacetBucket as wo, StartAgentSignupResponses as wp, CreateChallengeData as wr, GetEmailResponse as ws, getThread as wt, ListWakeDispatchesResponse as wu, createPrimitiveClient as x, DeleteFunctionSecretData as xa, GetStorageStatsResponses as xc, ReplayDeliveryResponse as xd, SemanticSearchMeta as xf, VerifyAgentClaimResponse as xh, CreateRouteErrors as xi, ListFiltersResponses as xl, UpdateDomainResponses as xm, updateAccount as xn, EmailAuth as xo, StartAgentSignupErrors as xp, CreateAgentClaimLinkInput as xr, GetEmailData as xs, getSentEmail as xt, ListWakeDispatchesData as xu, client as y, DeleteFunctionResponse as ya, GetStorageStatsErrors as yc, ReplayDeliveryError as yd, SemanticSearchField as yf, VerifyAgentClaimErrors as yh, CreateRouteData as yi, ListFiltersErrors as yl, UpdateDomainInput as ym, unpublishAgent as yn, EmailAddress as yo, StartAgentSignupData as yp, CreateAgentClaimLinkError as yr, GetConversationResponse as ys, getRegistry as yt, ListWakeAuthorizationsResponse as yu, createFilter as z, DeleteWakeAuthorizationResponse as za, InboxStatusDomain as zc, ResendAgentSignupVerificationResponses as zd, SendPermissionsMeta as zf, VerifyDomainResponses as zh, DecideRegistryRequestError as zi, ListOrgSecretsErrors as zl, UpdateFunctionResponses as zm, AddDomainErrors as zn, FunctionRouteBody as zo, TestEndpointData as zp, CreateEndpointInput as zr, GetFunctionTestRunTraceResponse as zs, listRegistryAgents as zt, PayChallengeResponse as zu };
9977
+ export { createWakeAuthorization as $, DeleteRegistryResponse as $a, GetThreadErrors as $c, ReorderRoutesResponses as $d, SearchMemoriesErrors as $f, RequestOptions$2 as $g, UpdateWakeAuthorizationErrors as $h, DecideRegistryRequestErrors as $i, ListFunctionLogsErrors as $l, UnsetFunctionRouteErrors as $m, AddDomainInput as $n, EmailStatus as $o, SimulateRouteData as $p, CreateEndpointResponse as $r, GetFunctionResponse as $s, listSentEmails as $t, ListWakeDispatchesResponse as $u, PRIMITIVE_SIGNATURE_HEADER as A, DeleteFunctionError as Aa, GetRegistryResponses as Ac, PublishAgentData as Ad, ResolveRegistryHandleErrors as Af, VerifyDomainErrors as Ag, UpdateFunctionInput as Ah, CreateRegistryResponse as Ai, ListDomainsData as Al, StorageStats as Am, testEndpoint as An, DownloadAttachmentsErrors as Ao, SetFunctionRouteData as Ap, CreateAgentAccountResponses as Ar, GetAgentData as As, getRegistry as At, ListRegistryRequestsData as Au, addDomain as B, DeleteMemoryError as Ba, GetSentEmailResponses as Bc, RegisterPayoutAddressError as Bd, RoutingTopology as Bf, X402EmailChallengeDetails as Bg, UpdateRouteError as Bh, CreateWakeAuthorizationErrors as Bi, ListEndpointsData as Bl, TestFunctionResponse as Bm, updateRoute as Bn, DownloadRawEmailErrors as Bo, SetFunctionSecretResponses as Bp, CreateChallengeInput as Br, GetConversationData as Bs, listDomains as Bt, ListSentEmailsData as Bu, SendInput as C, DeleteEndpointResponses as Ca, GetOrgRoutingTopologyErrors as Cc, PlanLimits as Cd, ResendCliSignupVerificationError as Cf, VerifyCliSignupError as Cg, UpdateFilterErrors as Ch, CreateOrgSecretInput as Ci, ListDeclinedPaymentsResponse as Cl, StartCliLoginResponses as Cm, setMemory as Cn, DiscardEmailContentResponses as Co, SendPermissionManagedZone as Cp, Conversation as Cr, GateDenial as Cs, getEmail as Ct, ListRegistriesError as Cu, client as D, DeleteFilterResponse as Da, GetRegistryError as Dc, PollCliLoginInput as Dd, ResendCliSignupVerificationResponses as Df, VerifyCliSignupResponses as Dg, UpdateFunctionData as Dh, CreateRegistryError as Di, ListDeliveriesErrors as Dl, StartCliSignupInput as Dm, startAgentSignup as Dn, DomainVerifyResult as Do, SentEmailDetail as Dp, CreateAgentAccountErrors as Dr, GetAccountErrors as Ds, getInboxStatus as Dt, ListRegistryAgentsData as Du, WaitForNextOptions as E, DeleteFilterErrors as Ea, GetRegistryData as Ec, PollCliLoginErrors as Ed, ResendCliSignupVerificationResponse as Ef, VerifyCliSignupResponse as Eg, UpdateFilterResponses as Eh, CreateRegistryData as Ei, ListDeliveriesError as El, StartCliSignupErrors as Em, startAgentClaim as En, DomainDnsRecord as Eo, SendPermissionsMeta as Ep, CreateAgentAccountError as Er, GetAccountError as Es, getFunctionTestRunTrace as Et, ListRegistriesResponses as Eu, PrimitiveApiClientOptions as F, DeleteFunctionSecretError as Fa, GetSendPermissionsResponses as Fc, PublishAgentResponses as Fd, RotateWebhookSecretError as Ff, WakeSchedule as Fg, UpdateRegistryErrors as Fh, CreateRouteInput as Fi, ListEmailsData as Fl, TestEndpointResponse as Fm, updateDomain as Fn, DownloadDomainZoneFileErrors as Fo, SetFunctionSecretData as Fp, CreateAgentClaimLinkResponse as Fr, GetChallengeData as Fs, getThread as Ft, ListRoutesData as Fu, createEmailChallenge as G, DeleteOrgSecretData as Ga, GetSpendPolicyResponses as Gc, Registry as Gd, RunWakeScheduleResponses as Gf, X402Receipt as Gg, UpdateSpendPolicyData as Gh, CreateWakeScheduleError as Gi, ListEnvelope as Gl, ThreadMessage as Gm, verifyAgentSignup as Gn, EmailAuth as Go, SetMemoryResponse as Gp, CreateEmailChallengeErrors as Gr, GetEmailData as Gs, listFunctionSecrets as Gt, ListWakeAuthorizationsData as Gu, createAgentAccount as H, DeleteMemoryResponse as Ha, GetSpendPolicyError as Hc, RegisterPayoutAddressInput as Hd, RunWakeScheduleError as Hf, X402PaymentPayload as Hg, UpdateRouteInput as Hh, CreateWakeAuthorizationResponse as Hi, ListEndpointsErrors as Hl, TestInvocationResult as Hm, updateWakeAuthorization as Hn, DownloadRawEmailResponses as Ho, SetMemoryError as Hp, CreateChallengeResponses as Hr, GetConversationErrors as Hs, listEndpoints as Ht, ListSentEmailsErrors as Hu, PrimitiveApiError as I, DeleteFunctionSecretErrors as Ia, GetSentEmailData as Ic, PublishAgentResult as Id, RotateWebhookSecretErrors as If, WebhookSecret as Ig, UpdateRegistryInput as Ih, CreateRouteResponse as Ii, ListEmailsError as Il, TestEndpointResponses as Im, updateEndpoint as In, DownloadDomainZoneFileResponse as Io, SetFunctionSecretError as Ip, CreateAgentClaimLinkResponses as Ir, GetChallengeError as Is, getWakeSchedule as It, ListRoutesError as Iu, createFunction as J, DeleteOrgSecretResponse as Ja, GetStorageStatsErrors as Jc, ReorderRoutesData as Jd, SearchEmailsErrors as Jf, Client as Jg, UpdateSpendPolicyInput as Jh, CreateWakeScheduleResponse as Ji, ListFiltersErrors as Jl, UnpublishAgentErrors as Jm, Account as Jn, EmailSearchFacetBucket as Jo, SetOrgSecretError as Jp, CreateEmailChallengeResponses as Jr, GetEmailResponse as Js, listPayoutAddresses as Jt, ListWakeAuthorizationsResponse as Ju, createEndpoint as K, DeleteOrgSecretError as Ka, GetStorageStatsData as Kc, RegistryAgent as Kd, SearchEmailsData as Kf, X402SpendPolicy as Kg, UpdateSpendPolicyError as Kh, CreateWakeScheduleErrors as Ki, ListFiltersData as Kl, UnpublishAgentData as Km, verifyCliSignup as Kn, EmailDetail as Ko, SetMemoryResponses as Kp, CreateEmailChallengeInput as Kr, GetEmailError as Ks, listFunctions as Kt, ListWakeAuthorizationsError as Ku, PrimitiveApiErrorDetails as L, DeleteFunctionSecretResponse as La, GetSentEmailError as Lc, PublishPolicy as Ld, RotateWebhookSecretResponse as Lf, X402Challenge as Lg, UpdateRegistryResponse as Lh, CreateRouteResponses as Li, ListEmailsErrors as Ll, TestFunctionData as Lm, updateFilter as Ln, DownloadDomainZoneFileResponses as Lo, SetFunctionSecretErrors as Lp, CreateChallengeData as Lr, GetChallengeErrors as Ls, getWebhookSecret as Lt, ListRoutesErrors as Lu, verifyWebhookSignature as M, DeleteFunctionResponse as Ma, GetSendPermissionsError as Mc, PublishAgentErrors as Md, ResolveRegistryHandleResponses as Mf, VerifyDomainResponses as Mg, UpdateFunctionResponses as Mh, CreateRouteData as Mi, ListDomainsErrors as Ml, TestEndpointData as Mm, unpublishAgent as Mn, DownloadAttachmentsResponses as Mo, SetFunctionRouteErrors as Mp, CreateAgentClaimLinkError as Mr, GetAgentErrors as Ms, getSentEmail as Mt, ListRegistryRequestsErrors as Mu, DEFAULT_API_BASE_URL as N, DeleteFunctionResponses as Na, GetSendPermissionsErrors as Nc, PublishAgentInput as Nd, ResourceId as Nf, WakeAuthorization as Ng, UpdateRegistryData as Nh, CreateRouteError as Ni, ListDomainsResponse as Nl, TestEndpointError as Nm, unsetFunctionRoute as Nn, DownloadDomainZoneFileData as No, SetFunctionRouteResponse as Np, CreateAgentClaimLinkErrors as Nr, GetAgentResponse as Ns, getSpendPolicy as Nt, ListRegistryRequestsResponse as Nu, createAgent as O, DeleteFilterResponses as Oa, GetRegistryErrors as Oc, PollCliLoginResponse as Od, ResolveRegistryHandleData as Of, VerifyDomainData as Og, UpdateFunctionError as Oh, CreateRegistryErrors as Oi, ListDeliveriesResponse as Ol, StartCliSignupResponse as Om, startCliLogin as On, DownloadAttachmentsData as Oo, SentEmailStatus as Op, CreateAgentAccountInput as Or, GetAccountResponse as Os, getMemory as Ot, ListRegistryAgentsResponse as Ou, PrimitiveApiClient as P, DeleteFunctionSecretData as Pa, GetSendPermissionsResponse as Pc, PublishAgentResponse as Pd, RotateWebhookSecretData as Pf, WakeDispatch as Pg, UpdateRegistryError as Ph, CreateRouteErrors as Pi, ListDomainsResponses as Pl, TestEndpointErrors as Pm, updateAccount as Pn, DownloadDomainZoneFileError as Po, SetFunctionRouteResponses as Pp, CreateAgentClaimLinkInput as Pr, GetAgentResponses as Ps, getStorageStats as Pt, ListRegistryRequestsResponses as Pu, createRoute as Q, DeleteRegistryErrors as Qa, GetThreadError as Qc, ReorderRoutesResponse as Qd, SearchMemoriesError as Qf, Options$1 as Qg, UpdateWakeAuthorizationError as Qh, DecideRegistryRequestError as Qi, ListFunctionLogsError as Ql, UnsetFunctionRouteError as Qm, AddDomainErrors as Qn, EmailSearchResult as Qo, SetOrgSecretResponses as Qp, CreateEndpointInput as Qr, GetFunctionErrors as Qs, listRoutes as Qt, ListWakeDispatchesErrors as Qu, RequestOptions$1 as R, DeleteFunctionSecretResponses as Ra, GetSentEmailErrors as Rc, RecipientRoute as Rd, RotateWebhookSecretResponses as Rf, X402DeclinedPayment as Rg, UpdateRegistryResponses as Rh, CreateWakeAuthorizationData as Ri, ListEmailsResponse as Rl, TestFunctionError as Rm, updateFunction as Rn, DownloadRawEmailData as Ro, SetFunctionSecretInput as Rp, CreateChallengeError as Rr, GetChallengeResponse as Rs, listDeclinedPayments as Rt, ListRoutesResponse as Ru, SendAttachment as S, DeleteEndpointResponse as Sa, GetOrgRoutingTopologyError as Sc, PayChallengeResponses as Sd, ResendCliSignupVerificationData as Sf, VerifyCliSignupData as Sg, UpdateFilterError as Sh, CreateOrgSecretErrors as Si, ListDeclinedPaymentsErrors as Sl, StartCliLoginResponse as Sm, setFunctionSecret as Sn, DiscardEmailContentResponse as So, SendPermissionAnyRecipient as Sp, CliSignupVerifyResult as Sr, FunctionTestRunTrace as Ss, getConversation as St, ListRegistriesData as Su, SendThreadInput as T, DeleteFilterError as Ta, GetOrgRoutingTopologyResponses as Tc, PollCliLoginError as Td, ResendCliSignupVerificationInput as Tf, VerifyCliSignupInput as Tg, UpdateFilterResponse as Th, CreateOrgSecretResponses as Ti, ListDeliveriesData as Tl, StartCliSignupError as Tm, simulateRoute as Tn, Domain as To, SendPermissionYourDomain as Tp, CreateAgentAccountData as Tr, GetAccountData as Ts, getFunctionRouting as Tt, ListRegistriesResponse as Tu, createAgentClaimLink as U, DeleteMemoryResponses as Ua, GetSpendPolicyErrors as Uc, RegisterPayoutAddressResponse as Ud, RunWakeScheduleErrors as Uf, X402PaymentRequirements as Ug, UpdateRouteResponse as Uh, CreateWakeAuthorizationResponses as Ui, ListEndpointsResponse as Ul, TestResult as Um, updateWakeSchedule as Un, EmailAddress as Uo, SetMemoryErrors as Up, CreateEmailChallengeData as Ur, GetConversationResponse as Us, listFilters as Ut, ListSentEmailsResponse as Uu, cliLogout as V, DeleteMemoryErrors as Va, GetSpendPolicyData as Vc, RegisterPayoutAddressErrors as Vd, RunWakeScheduleData as Vf, X402NonceBinding as Vg, UpdateRouteErrors as Vh, CreateWakeAuthorizationInput as Vi, ListEndpointsError as Vl, TestFunctionResponses as Vm, updateSpendPolicy as Vn, DownloadRawEmailResponse as Vo, SetMemoryData as Vp, CreateChallengeResponse as Vr, GetConversationError as Vs, listEmails as Vt, ListSentEmailsError as Vu, createChallenge as W, DeleteMemoryResult as Wa, GetSpendPolicyResponse as Wc, RegisterPayoutAddressResponses as Wd, RunWakeScheduleResponse as Wf, X402PayoutAddress as Wg, UpdateRouteResponses as Wh, CreateWakeScheduleData as Wi, ListEndpointsResponses as Wl, Thread as Wm, verifyAgentClaim as Wn, EmailAttachment as Wo, SetMemoryInput as Wp, CreateEmailChallengeError as Wr, GetConversationResponses as Ws, listFunctionLogs as Wt, ListSentEmailsResponses as Wu, createOrgSecret as X, DeleteRegistryData as Xa, GetStorageStatsResponses as Xc, ReorderRoutesErrors as Xd, SearchEmailsResponses as Xf, Config as Xg, UpdateSpendPolicyResponses as Xh, Cursor as Xi, ListFiltersResponses as Xl, UnpublishAgentResponses as Xm, AddDomainData as Xn, EmailSearchHighlights as Xo, SetOrgSecretInput as Xp, CreateEndpointError as Xr, GetFunctionData as Xs, listRegistryAgents as Xt, ListWakeDispatchesData as Xu, createFunctionSecret as Y, DeleteOrgSecretResponses as Ya, GetStorageStatsResponse as Yc, ReorderRoutesError as Yd, SearchEmailsResponse as Yf, ClientOptions as Yg, UpdateSpendPolicyResponse as Yh, CreateWakeScheduleResponses as Yi, ListFiltersResponse as Yl, UnpublishAgentResponse as Ym, AccountUpdated as Yn, EmailSearchFacets as Yo, SetOrgSecretErrors as Yp, CreateEndpointData as Yr, GetEmailResponses as Ys, listRegistries as Yt, ListWakeAuthorizationsResponses as Yu, createRegistry as Z, DeleteRegistryError as Za, GetThreadData as Zc, ReorderRoutesInput as Zd, SearchMemoriesData as Zf, CreateClientConfig as Zg, UpdateWakeAuthorizationData as Zh, DecideRegistryRequestData as Zi, ListFunctionLogsData as Zl, UnsetFunctionRouteData as Zm, AddDomainError as Zn, EmailSearchMeta as Zo, SetOrgSecretResponse as Zp, CreateEndpointErrors as Zr, GetFunctionError as Zs, listRegistryRequests as Zt, ListWakeDispatchesError as Zu, PrimitiveClient as _, DeleteEmailResponse as _a, GetMemoryError as _c, PayChallengeData as _d, ResendAgentSignupVerificationError as _f, VerifyAgentSignupError as _g, UpdateEndpointErrors as _h, CreateFunctionSecretInput as _i, InboxStatusNextAction as _l, StartAgentSignupResponses as _m, searchEmails as _n, DeliverySummary as _o, SendEmailResponses as _p, CliLogoutResponse as _r, FunctionTestRunInboundEmail as _s, downloadDomainZoneFile as _t, ListPayoutAddressesData as _u, ForwardInput as a, DefineAgentErrors as aa, GetFunctionRoutingResponses as ac, ListWakeSchedulesResponses as ad, ReplayEmailWebhooksData as af, UpdateWakeScheduleErrors as ag, UpdateAccountErrors as ah, CreateFilterResponse as ai, GetWakeScheduleResponse as al, SimulateRouteResult as am, publishAgent as an, DeleteRouteResponses as ao, SemanticSearchErrors as ap, AgentClaimResult as ar, FunctionDeployStatus as as, deleteEndpoint as at, ListFunctionSecretsResponse as au, RequestOptions as b, DeleteEndpointError as ba, GetMemoryResponses as bc, PayChallengeInput as bd, ResendAgentSignupVerificationResponse as bf, VerifyAgentSignupResponse as bg, UpdateEndpointResponses as bh, CreateOrgSecretData as bi, ListDeclinedPaymentsData as bl, StartCliLoginErrors as bm, sendEmail as bn, DiscardEmailContentError as bo, SendMailResult as bp, CliSignupResendResult as br, FunctionTestRunSend as bs, getAgent as bt, ListPayoutAddressesResponse as bu, InboxStreamOptions as c, DefineAgentResponses as ca, GetFunctionTestRunTraceErrors as cc, MemoryResolvedScope as cd, ReplayEmailWebhooksResponse as cf, UpdateWakeScheduleResponses as cg, UpdateAccountResponses as ch, CreateFunctionError as ci, GetWebhookSecretError as cl, StartAgentClaimErrors as cm, replayDelivery as cn, DeleteWakeAuthorizationErrors as co, SemanticSearchMeta as cp, AgentSignupResendResult as cr, FunctionLogRow as cs, deleteFunctionSecret as ct, ListFunctionsError as cu, MemoryGetInput as d, DeleteDomainErrors as da, GetInboxStatusData as dc, MemoryScopeQueryType as dd, ReplyToEmailData as df, VerifyAgentClaimError as dg, UpdateDomainErrors as dh, CreateFunctionResponse as di, GetWebhookSecretResponses as dl, StartAgentClaimResponses as dm, resendAgentSignupVerification as dn, DeleteWakeScheduleData as do, SemanticSearchScoreBreakdown as dp, CliLoginPollResult as dr, FunctionRouting as ds, deleteRegistry as dt, ListFunctionsResponses as du, RequestResult as e_, DecideRegistryRequestInput as ea, GetFunctionResponses as ec, ListWakeDispatchesResponses as ed, ReplayDeliveryData as ef, UpdateWakeAuthorizationInput as eg, UnsetFunctionRouteResponse as eh, CreateEndpointResponses as ei, GetThreadResponse as el, SimulateRouteError as em, listWakeAuthorizations as en, DeleteRegistryResponses as eo, SearchMemoriesResponse as ep, AddDomainResponse as er, EmailSummary as es, createWakeSchedule as et, ListFunctionLogsResponse as eu, MemoryRecord as f, DeleteDomainResponse as fa, GetInboxStatusError as fc, NumericString as fd, ReplyToEmailError as ff, VerifyAgentClaimErrors as fg, UpdateDomainInput as fh, CreateFunctionResponses as fi, IdempotencyKey as fl, StartAgentSignupData as fm, resendCliSignupVerification as fn, DeleteWakeScheduleError as fo, SemanticSearchSnippet as fp, CliLoginStartResult as fr, FunctionSecretListItem as fs, deleteRoute as ft, ListOrgSecretsData as fu, MemorySetInput as g, DeleteEmailErrors as ga, GetMemoryData as gc, ParsedEmailData as gd, ResendAgentSignupVerificationData as gf, VerifyAgentSignupData as gg, UpdateEndpointError as gh, CreateFunctionSecretErrors as gi, InboxStatusFunctionSummary as gl, StartAgentSignupResponse as gm, sdk_gen_d_exports as gn, DeliveryStatus as go, SendEmailResponse as gp, CliLogoutInput as gr, FunctionTestRunDeliveryEndpoint as gs, downloadAttachments as gt, ListOrgSecretsResponses as gu, MemorySearchResponse as h, DeleteEmailError as ha, GetInboxStatusResponses as hc, PaginationMeta as hd, ReplyToEmailResponses as hf, VerifyAgentClaimResponses as hg, UpdateEndpointData as hh, CreateFunctionSecretError as hi, InboxStatusEndpointSummary as hl, StartAgentSignupInput as hm, runWakeSchedule as hn, DeleteWakeScheduleResponses as ho, SendEmailErrors as hp, CliLogoutErrors as hr, FunctionTestRunDelivery as hs, discardEmailContent as ht, ListOrgSecretsResponse as hu, CreatedAgent as i, DefineAgentError as ia, GetFunctionRoutingResponse as ic, ListWakeSchedulesResponse as id, ReplayDeliveryResponses as if, UpdateWakeScheduleError as ig, UpdateAccountError as ih, CreateFilterInput as ii, GetWakeScheduleErrors as il, SimulateRouteResponses as im, pollCliLogin as in, DeleteRouteResponse as io, SemanticSearchError as ip, AgentClaimLinkResult as ir, Filter as is, deleteEmail as it, ListFunctionSecretsErrors as iu, VerifyOptions as j, DeleteFunctionErrors as ja, GetSendPermissionsData as jc, PublishAgentError as jd, ResolveRegistryHandleResponse as jf, VerifyDomainResponse as jg, UpdateFunctionResponse as jh, CreateRegistryResponses as ji, ListDomainsError as jl, SuccessEnvelope as jm, testFunction as jn, DownloadAttachmentsResponse as jo, SetFunctionRouteError as jp, CreateAgentClaimLinkData as jr, GetAgentError as js, getSendPermissions as jt, ListRegistryRequestsError as ju, createPrimitiveClient as k, DeleteFunctionData as ka, GetRegistryResponse as kc, PollCliLoginResponses as kd, ResolveRegistryHandleError as kf, VerifyDomainError as kg, UpdateFunctionErrors as kh, CreateRegistryInput as ki, ListDeliveriesResponses as kl, StartCliSignupResponses as km, startCliSignup as kn, DownloadAttachmentsError as ko, SentEmailSummary as kp, CreateAgentAccountResponse as kr, GetAccountResponses as ks, getOrgRoutingTopology as kt, ListRegistryAgentsResponses as ku, MemoriesResource as l, DeleteDomainData as la, GetFunctionTestRunTraceResponse as lc, MemoryScope as ld, ReplayEmailWebhooksResponses as lf, VerifiedDomain as lg, UpdateDomainData as lh, CreateFunctionErrors as li, GetWebhookSecretErrors as ll, StartAgentClaimInput as lm, replayEmailWebhooks as ln, DeleteWakeAuthorizationResponse as lo, SemanticSearchResponses as lp, AgentSignupStartResult as lr, FunctionRouteBody as ls, deleteMemory as lt, ListFunctionsErrors as lu, MemorySearchInput as m, DeleteEmailData as ma, GetInboxStatusResponse as mc, OrgSecretWriteResult as md, ReplyToEmailResponse as mf, VerifyAgentClaimResponse as mg, UpdateDomainResponses as mh, CreateFunctionSecretData as mi, InboxStatusDomain as ml, StartAgentSignupErrors as mm, rotateWebhookSecret as mn, DeleteWakeScheduleResponse as mo, SendEmailError as mp, CliLogoutError as mr, FunctionTestRun as ms, deleteWakeSchedule as mt, ListOrgSecretsErrors as mu, AgentResource as n, createConfig as n_, DecideRegistryRequestResponses as na, GetFunctionRoutingError as nc, ListWakeSchedulesError as nd, ReplayDeliveryErrors as nf, UpdateWakeAuthorizationResponses as ng, UnverifiedDomain as nh, CreateFilterError as ni, GetWakeScheduleData as nl, SimulateRouteInput as nm, listWakeSchedules as nn, DeleteRouteError as no, SemanticSearchCoverage as np, AgentAccountResult as nr, Endpoint as ns, defineAgent as nt, ListFunctionSecretsData as nu, InboundEmail as o, DefineAgentInput as oa, GetFunctionTestRunTraceData as oc, MemoryJsonValue as od, ReplayEmailWebhooksError as of, UpdateWakeScheduleInput as og, UpdateAccountInput as oh, CreateFilterResponses as oi, GetWakeScheduleResponses as ol, StartAgentClaimData as om, registerPayoutAddress as on, DeleteWakeAuthorizationData as oo, SemanticSearchField as op, AgentClaimStartResult as or, FunctionDetail as os, deleteFilter as ot, ListFunctionSecretsResponses as ou, MemoryRecordWithValue as p, DeleteDomainResponses as pa, GetInboxStatusErrors as pc, OrgSecretListItem as pd, ReplyToEmailErrors as pf, VerifyAgentClaimInput as pg, UpdateDomainResponse as ph, CreateFunctionResult as pi, InboxStatus as pl, StartAgentSignupError as pm, resolveRegistryHandle as pn, DeleteWakeScheduleErrors as po, SendEmailData as pp, CliLogoutData as pr, FunctionSecretWriteResult as ps, deleteWakeAuthorization as pt, ListOrgSecretsError as pu, createFilter as q, DeleteOrgSecretErrors as qa, GetStorageStatsError as qc, RegistryRequest as qd, SearchEmailsError as qf, createClient as qg, UpdateSpendPolicyErrors as qh, CreateWakeScheduleInput as qi, ListFiltersError as ql, UnpublishAgentError as qm, verifyDomain as qn, EmailDetailReply as qo, SetOrgSecretData as qp, CreateEmailChallengeResponse as qr, GetEmailErrors as qs, listOrgSecrets as qt, ListWakeAuthorizationsErrors as qu, CreateAgentOptions as r, Auth as r_, DefineAgentData as ra, GetFunctionRoutingErrors as rc, ListWakeSchedulesErrors as rd, ReplayDeliveryResponse as rf, UpdateWakeScheduleData as rg, UpdateAccountData as rh, CreateFilterErrors as ri, GetWakeScheduleError as rl, SimulateRouteResponse as rm, payChallenge as rn, DeleteRouteErrors as ro, SemanticSearchData as rp, AgentAccountUpgradeHint as rr, ErrorResponse as rs, deleteDomain as rt, ListFunctionSecretsError as ru, InboxResource as s, DefineAgentResponse as sa, GetFunctionTestRunTraceError as sc, MemoryKeyQuery as sd, ReplayEmailWebhooksErrors as sf, UpdateWakeScheduleResponse as sg, UpdateAccountResponse as sh, CreateFunctionData as si, GetWebhookSecretData as sl, StartAgentClaimError as sm, reorderRoutes as sn, DeleteWakeAuthorizationError as so, SemanticSearchInput as sp, AgentOrgRef as sr, FunctionListItem as ss, deleteFunction as st, ListFunctionsData as su, AccountResource as t, ResponseStyle as t_, DecideRegistryRequestResponse as ta, GetFunctionRoutingData as tc, ListWakeSchedulesData as td, ReplayDeliveryError as tf, UpdateWakeAuthorizationResponse as tg, UnsetFunctionRouteResponses as th, CreateFilterData as ti, GetThreadResponses as tl, SimulateRouteErrors as tm, listWakeDispatches as tn, DeleteRouteData as to, SearchMemoriesResponses as tp, AddDomainResponses as tr, EmailWebhookStatus as ts, decideRegistryRequest as tt, ListFunctionLogsResponses as tu, MemoryDeleteInput as u, DeleteDomainError as ua, GetFunctionTestRunTraceResponses as uc, MemoryScopeId as ud, ReplayResult as uf, VerifyAgentClaimData as ug, UpdateDomainError as uh, CreateFunctionInput as ui, GetWebhookSecretResponse as ul, StartAgentClaimResponse as um, replyToEmail as un, DeleteWakeAuthorizationResponses as uo, SemanticSearchResult as up, AgentSignupVerifyResult as ur, FunctionRouteResult as us, deleteOrgSecret as ut, ListFunctionsResponse as uu, PrimitiveClientOptions as v, DeleteEmailResponses as va, GetMemoryErrors as vc, PayChallengeError as vd, ResendAgentSignupVerificationErrors as vf, VerifyAgentSignupErrors as vg, UpdateEndpointInput as vh, CreateFunctionSecretResponse as vi, InboxStatusRecentEmailSummary as vl, StartCliLoginData as vm, searchMemories as vn, DiscardContentResult as vo, SendMailAttachment as vp, CliLogoutResponses as vr, FunctionTestRunOutboundRequest as vs, downloadRawEmail as vt, ListPayoutAddressesError as vu, SendResult as w, DeleteFilterData as wa, GetOrgRoutingTopologyResponse as wc, PollCliLoginData as wd, ResendCliSignupVerificationErrors as wf, VerifyCliSignupErrors as wg, UpdateFilterInput as wh, CreateOrgSecretResponse as wi, ListDeclinedPaymentsResponses as wl, StartCliSignupData as wm, setOrgSecret as wn, DkimSignature as wo, SendPermissionRule as wp, ConversationMessage as wr, GateFix as ws, getFunction as wt, ListRegistriesErrors as wu, SemanticSearchResponse as x, DeleteEndpointErrors as xa, GetOrgRoutingTopologyData as xc, PayChallengeResponse as xd, ResendAgentSignupVerificationResponses as xf, VerifyAgentSignupResponses as xg, UpdateFilterData as xh, CreateOrgSecretError as xi, ListDeclinedPaymentsError as xl, StartCliLoginInput as xm, setFunctionRoute as xn, DiscardEmailContentErrors as xo, SendPermissionAddress as xp, CliSignupStartResult as xr, FunctionTestRunState as xs, getChallenge as xt, ListPayoutAddressesResponses as xu, ReplyInput as y, DeleteEndpointData as ya, GetMemoryResponse as yc, PayChallengeErrors as yd, ResendAgentSignupVerificationInput as yf, VerifyAgentSignupInput as yg, UpdateEndpointResponse as yh, CreateFunctionSecretResponses as yi, Limit as yl, StartCliLoginError as ym, semanticSearch as yn, DiscardEmailContentData as yo, SendMailInput as yp, CliLogoutResult as yr, FunctionTestRunReply as ys, getAccount as yt, ListPayoutAddressesErrors as yu, createPrimitiveApiClient as z, DeleteMemoryData as za, GetSentEmailResponse as zc, RegisterPayoutAddressData as zd, RouteEvaluatedEntry as zf, X402EmailChallenge as zg, UpdateRouteData as zh, CreateWakeAuthorizationError as zi, ListEmailsResponses as zl, TestFunctionErrors as zm, updateRegistry as zn, DownloadRawEmailError as zo, SetFunctionSecretResponse as zp, CreateChallengeErrors as zr, GetChallengeResponses as zs, listDeliveries as zt, ListRoutesResponses as zu };