@primitivedotdev/sdk 0.31.1 → 0.31.2

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.
@@ -348,7 +348,7 @@ type PaginationMeta = {
348
348
  type ErrorResponse = {
349
349
  success: boolean;
350
350
  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';
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';
352
352
  message: string;
353
353
  /**
354
354
  * Optional structured data that callers can inspect to recover
@@ -474,11 +474,33 @@ type PollCliLoginInput = {
474
474
  };
475
475
  type CliLoginPollResult = {
476
476
  /**
477
- * Newly-created API key for CLI authentication
477
+ * Legacy alias for access_token. New CLI builds should persist access_token and refresh_token.
478
478
  */
479
479
  api_key: string;
480
+ /**
481
+ * Legacy alias for oauth_grant_id
482
+ */
480
483
  key_id: string;
484
+ /**
485
+ * Legacy display prefix derived from access_token
486
+ */
481
487
  key_prefix: string;
488
+ /**
489
+ * OAuth access token for CLI API authentication
490
+ */
491
+ access_token: string;
492
+ /**
493
+ * OAuth refresh token used by the CLI to renew access
494
+ */
495
+ refresh_token: string;
496
+ token_type: 'Bearer';
497
+ /**
498
+ * Seconds until access_token expires
499
+ */
500
+ expires_in: number;
501
+ auth_method: 'oauth';
502
+ oauth_grant_id: string;
503
+ oauth_client_id: string;
482
504
  org_id: string;
483
505
  org_name: string | null;
484
506
  };
@@ -490,7 +512,7 @@ type StartCliSignupInput = {
490
512
  */
491
513
  terms_accepted: boolean;
492
514
  /**
493
- * Human-readable device name used for the created CLI API key
515
+ * Human-readable device name used for the created CLI OAuth grant
494
516
  */
495
517
  device_name?: string;
496
518
  /**
@@ -540,27 +562,162 @@ type CliSignupResendResult = {
540
562
  type VerifyCliSignupInput = {
541
563
  signup_token: string;
542
564
  verification_code: string;
543
- password: string;
565
+ password?: string;
544
566
  };
545
567
  type CliSignupVerifyResult = {
546
568
  /**
547
- * Newly-created API key for CLI authentication
569
+ * Legacy alias for access_token. New CLI builds should persist access_token and refresh_token.
548
570
  */
549
571
  api_key: string;
572
+ /**
573
+ * Legacy alias for oauth_grant_id
574
+ */
550
575
  key_id: string;
576
+ /**
577
+ * Legacy display prefix derived from access_token
578
+ */
551
579
  key_prefix: string;
580
+ /**
581
+ * OAuth access token for CLI API authentication
582
+ */
583
+ access_token: string;
584
+ /**
585
+ * OAuth refresh token used by the CLI to renew access
586
+ */
587
+ refresh_token: string;
588
+ token_type: 'Bearer';
589
+ /**
590
+ * Seconds until access_token expires
591
+ */
592
+ expires_in: number;
593
+ auth_method: 'oauth';
594
+ oauth_grant_id: string;
595
+ oauth_client_id: string;
552
596
  org_id: string;
553
597
  org_name: string | null;
554
598
  };
599
+ type StartAgentSignupInput = {
600
+ email: string;
601
+ signup_code: string;
602
+ /**
603
+ * Must be true to confirm acceptance of Primitive's Terms of Service and Privacy Policy
604
+ */
605
+ terms_accepted: boolean;
606
+ /**
607
+ * Human-readable device name used for the created agent OAuth session
608
+ */
609
+ device_name?: string;
610
+ /**
611
+ * Optional client metadata stored with the signup session; serialized JSON must be 2048 bytes or fewer
612
+ */
613
+ metadata?: {
614
+ [key: string]: unknown;
615
+ };
616
+ };
617
+ type AgentSignupStartResult = {
618
+ /**
619
+ * Opaque token used to verify or resend the pending agent signup
620
+ */
621
+ signup_token: string;
622
+ email: string;
623
+ /**
624
+ * Seconds until the pending signup expires
625
+ */
626
+ expires_in: number;
627
+ /**
628
+ * Minimum seconds before requesting another verification email
629
+ */
630
+ resend_after: number;
631
+ /**
632
+ * Number of digits in the emailed verification code
633
+ */
634
+ verification_code_length: number;
635
+ };
636
+ type ResendAgentSignupVerificationInput = {
637
+ signup_token: string;
638
+ };
639
+ type AgentSignupResendResult = {
640
+ email: string;
641
+ /**
642
+ * Seconds until the pending signup expires
643
+ */
644
+ expires_in: number;
645
+ /**
646
+ * Minimum seconds before requesting another verification email
647
+ */
648
+ resend_after: number;
649
+ /**
650
+ * Number of digits in the emailed verification code
651
+ */
652
+ verification_code_length: number;
653
+ };
654
+ type VerifyAgentSignupInput = {
655
+ signup_token: string;
656
+ verification_code: string;
657
+ /**
658
+ * Optional workspace id to target when the verified email already belongs to multiple workspaces
659
+ */
660
+ org_id?: string;
661
+ };
662
+ type AgentOrgRef = {
663
+ id: string;
664
+ name: string | null;
665
+ };
666
+ type AgentSignupVerifyResult = {
667
+ /**
668
+ * Legacy alias for access_token. New CLI builds should persist access_token and refresh_token.
669
+ */
670
+ api_key: string;
671
+ /**
672
+ * Legacy alias for oauth_grant_id
673
+ */
674
+ key_id: string;
675
+ /**
676
+ * Legacy display prefix derived from access_token
677
+ */
678
+ key_prefix: string;
679
+ /**
680
+ * OAuth access token for CLI API authentication
681
+ */
682
+ access_token: string;
683
+ /**
684
+ * OAuth refresh token used by the CLI to renew access
685
+ */
686
+ refresh_token: string;
687
+ token_type: 'Bearer';
688
+ /**
689
+ * Seconds until access_token expires
690
+ */
691
+ expires_in: number;
692
+ auth_method: 'oauth';
693
+ oauth_grant_id: string;
694
+ oauth_client_id: string;
695
+ org_id: string;
696
+ org_name: string | null;
697
+ /**
698
+ * Workspaces available to the verified email. The minted session targets `org_id`.
699
+ */
700
+ orgs: Array<AgentOrgRef>;
701
+ };
555
702
  type CliLogoutInput = {
556
703
  /**
557
- * Optional key id guard; when provided it must match the authenticated API key
704
+ * Optional id guard; when provided it must match the authenticated OAuth grant id or API key id
558
705
  */
559
706
  key_id?: string;
560
707
  };
561
708
  type CliLogoutResult = {
709
+ /**
710
+ * True when an OAuth grant was revoked. False for API-key-authenticated legacy logout, which only clears local CLI state.
711
+ */
562
712
  revoked: boolean;
563
- key_id: string;
713
+ /**
714
+ * API key id for API-key-authenticated legacy logout
715
+ */
716
+ key_id?: string;
717
+ /**
718
+ * OAuth grant id revoked by OAuth-authenticated logout
719
+ */
720
+ oauth_grant_id?: string;
564
721
  };
565
722
  type Account = {
566
723
  id: string;
@@ -2074,7 +2231,7 @@ type PollCliLoginErrors = {
2074
2231
  type PollCliLoginError = PollCliLoginErrors[keyof PollCliLoginErrors];
2075
2232
  type PollCliLoginResponses = {
2076
2233
  /**
2077
- * CLI login approved and API key created
2234
+ * CLI login approved and OAuth token set created
2078
2235
  */
2079
2236
  200: SuccessEnvelope & {
2080
2237
  data?: CliLoginPollResult;
@@ -2152,13 +2309,99 @@ type VerifyCliSignupErrors = {
2152
2309
  type VerifyCliSignupError = VerifyCliSignupErrors[keyof VerifyCliSignupErrors];
2153
2310
  type VerifyCliSignupResponses = {
2154
2311
  /**
2155
- * CLI signup verified and API key created
2312
+ * CLI signup verified and OAuth token set created
2156
2313
  */
2157
2314
  200: SuccessEnvelope & {
2158
2315
  data?: CliSignupVerifyResult;
2159
2316
  };
2160
2317
  };
2161
2318
  type VerifyCliSignupResponse = VerifyCliSignupResponses[keyof VerifyCliSignupResponses];
2319
+ type StartAgentSignupData = {
2320
+ body: StartAgentSignupInput;
2321
+ path?: never;
2322
+ query?: never;
2323
+ url: '/agent/signup/start';
2324
+ };
2325
+ type StartAgentSignupErrors = {
2326
+ /**
2327
+ * Invalid request parameters
2328
+ */
2329
+ 400: ErrorResponse;
2330
+ /**
2331
+ * Rate limit exceeded
2332
+ */
2333
+ 429: ErrorResponse;
2334
+ };
2335
+ type StartAgentSignupError = StartAgentSignupErrors[keyof StartAgentSignupErrors];
2336
+ type StartAgentSignupResponses = {
2337
+ /**
2338
+ * Agent signup session created and verification email sent
2339
+ */
2340
+ 201: SuccessEnvelope & {
2341
+ data?: AgentSignupStartResult;
2342
+ };
2343
+ };
2344
+ type StartAgentSignupResponse = StartAgentSignupResponses[keyof StartAgentSignupResponses];
2345
+ type ResendAgentSignupVerificationData = {
2346
+ body: ResendAgentSignupVerificationInput;
2347
+ path?: never;
2348
+ query?: never;
2349
+ url: '/agent/signup/resend';
2350
+ };
2351
+ type ResendAgentSignupVerificationErrors = {
2352
+ /**
2353
+ * Invalid token or expired token
2354
+ */
2355
+ 400: ErrorResponse;
2356
+ /**
2357
+ * Global rate limit exceeded or resend requested too quickly
2358
+ */
2359
+ 429: ErrorResponse;
2360
+ };
2361
+ type ResendAgentSignupVerificationError = ResendAgentSignupVerificationErrors[keyof ResendAgentSignupVerificationErrors];
2362
+ type ResendAgentSignupVerificationResponses = {
2363
+ /**
2364
+ * Verification email resent
2365
+ */
2366
+ 200: SuccessEnvelope & {
2367
+ data?: AgentSignupResendResult;
2368
+ };
2369
+ };
2370
+ type ResendAgentSignupVerificationResponse = ResendAgentSignupVerificationResponses[keyof ResendAgentSignupVerificationResponses];
2371
+ type VerifyAgentSignupData = {
2372
+ body: VerifyAgentSignupInput;
2373
+ path?: never;
2374
+ query?: never;
2375
+ url: '/agent/signup/verify';
2376
+ };
2377
+ type VerifyAgentSignupErrors = {
2378
+ /**
2379
+ * Invalid request, invalid verification code, expired token, invalid signup code, or account creation failure
2380
+ */
2381
+ 400: ErrorResponse;
2382
+ /**
2383
+ * Authenticated caller lacks permission for the operation
2384
+ */
2385
+ 403: ErrorResponse;
2386
+ /**
2387
+ * Existing account is not in a usable workspace state
2388
+ */
2389
+ 409: ErrorResponse;
2390
+ /**
2391
+ * Rate limit exceeded
2392
+ */
2393
+ 429: ErrorResponse;
2394
+ };
2395
+ type VerifyAgentSignupError = VerifyAgentSignupErrors[keyof VerifyAgentSignupErrors];
2396
+ type VerifyAgentSignupResponses = {
2397
+ /**
2398
+ * Agent signup verified and OAuth tokens created
2399
+ */
2400
+ 200: SuccessEnvelope & {
2401
+ data?: AgentSignupVerifyResult;
2402
+ };
2403
+ };
2404
+ type VerifyAgentSignupResponse = VerifyAgentSignupResponses[keyof VerifyAgentSignupResponses];
2162
2405
  type CliLogoutData = {
2163
2406
  body?: CliLogoutInput;
2164
2407
  path?: never;
@@ -2186,7 +2429,7 @@ type CliLogoutErrors = {
2186
2429
  type CliLogoutError = CliLogoutErrors[keyof CliLogoutErrors];
2187
2430
  type CliLogoutResponses = {
2188
2431
  /**
2189
- * CLI API key revoked
2432
+ * CLI logout completed
2190
2433
  */
2191
2434
  200: SuccessEnvelope & {
2192
2435
  data?: CliLogoutResult;
@@ -4036,7 +4279,7 @@ type ListFunctionLogsResponses = {
4036
4279
  };
4037
4280
  type ListFunctionLogsResponse = ListFunctionLogsResponses[keyof ListFunctionLogsResponses];
4038
4281
  declare namespace sdk_gen_d_exports {
4039
- export { Options, addDomain, cliLogout, createEndpoint, createFilter, createFunction, createFunctionSecret, deleteDomain, deleteEmail, deleteEndpoint, deleteFilter, deleteFunction, deleteFunctionSecret, discardEmailContent, downloadAttachments, downloadRawEmail, getAccount, getEmail, getFunction, getFunctionTestRunTrace, getSendPermissions, getSentEmail, getStorageStats, getWebhookSecret, listDeliveries, listDomains, listEmails, listEndpoints, listFilters, listFunctionLogs, listFunctionSecrets, listFunctions, listSentEmails, pollCliLogin, replayDelivery, replayEmailWebhooks, replyToEmail, resendCliSignupVerification, rotateWebhookSecret, searchEmails, sendEmail, setFunctionSecret, startCliLogin, startCliSignup, testEndpoint, testFunction, updateAccount, updateDomain, updateEndpoint, updateFilter, updateFunction, verifyCliSignup, verifyDomain };
4282
+ export { Options, addDomain, cliLogout, createEndpoint, createFilter, createFunction, createFunctionSecret, deleteDomain, deleteEmail, deleteEndpoint, deleteFilter, deleteFunction, deleteFunctionSecret, discardEmailContent, downloadAttachments, downloadRawEmail, getAccount, getEmail, getFunction, getFunctionTestRunTrace, getSendPermissions, getSentEmail, getStorageStats, getWebhookSecret, listDeliveries, listDomains, listEmails, listEndpoints, listFilters, listFunctionLogs, listFunctionSecrets, listFunctions, listSentEmails, pollCliLogin, replayDelivery, replayEmailWebhooks, replyToEmail, resendAgentSignupVerification, resendCliSignupVerification, rotateWebhookSecret, searchEmails, sendEmail, setFunctionSecret, startAgentSignup, startCliLogin, startCliSignup, testEndpoint, testFunction, updateAccount, updateDomain, updateEndpoint, updateFilter, updateFunction, verifyAgentSignup, verifyCliSignup, verifyDomain };
4040
4283
  }
4041
4284
  type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options$1<TData, ThrowOnError, TResponse> & {
4042
4285
  /**
@@ -4064,8 +4307,8 @@ declare const startCliLogin: <ThrowOnError extends boolean = false>(options?: Op
4064
4307
  * Poll CLI browser login
4065
4308
  *
4066
4309
  * Polls a CLI login session until the browser approval either succeeds,
4067
- * is denied, expires, or is polled too quickly. The API key is generated
4068
- * only after approval and is returned exactly once.
4310
+ * is denied, expires, or is polled too quickly. The OAuth token set is
4311
+ * created only after approval and is returned exactly once.
4069
4312
  *
4070
4313
  */
4071
4314
  declare const pollCliLogin: <ThrowOnError extends boolean = false>(options: Options<PollCliLoginData, ThrowOnError>) => RequestResult<PollCliLoginResponses, PollCliLoginErrors, ThrowOnError, "fields">;
@@ -4088,19 +4331,50 @@ declare const startCliSignup: <ThrowOnError extends boolean = false>(options: Op
4088
4331
  */
4089
4332
  declare const resendCliSignupVerification: <ThrowOnError extends boolean = false>(options: Options<ResendCliSignupVerificationData, ThrowOnError>) => RequestResult<ResendCliSignupVerificationResponses, ResendCliSignupVerificationErrors, ThrowOnError, "fields">;
4090
4333
  /**
4091
- * Verify CLI signup and create API key
4334
+ * Verify CLI signup and create OAuth session
4092
4335
  *
4093
4336
  * Verifies the email code for a CLI signup session, creates the account,
4094
- * redeems the reserved signup code, mints an org-scoped CLI API key, and
4095
- * returns the raw key exactly once. This endpoint does not require an API key.
4337
+ * redeems the reserved signup code, creates an org-scoped OAuth CLI
4338
+ * session, and returns the token set exactly once. This endpoint does not
4339
+ * require an API key.
4096
4340
  *
4097
4341
  */
4098
4342
  declare const verifyCliSignup: <ThrowOnError extends boolean = false>(options: Options<VerifyCliSignupData, ThrowOnError>) => RequestResult<VerifyCliSignupResponses, VerifyCliSignupErrors, ThrowOnError, "fields">;
4099
4343
  /**
4100
- * Revoke the current CLI API key
4344
+ * Start agent account signup
4345
+ *
4346
+ * Starts an agent-native signup session. The API validates the signup code,
4347
+ * creates a pending signup session, sends an email verification code, and
4348
+ * returns an opaque signup token used by the resend and verify steps. This
4349
+ * endpoint does not require an API key.
4350
+ *
4351
+ */
4352
+ declare const startAgentSignup: <ThrowOnError extends boolean = false>(options: Options<StartAgentSignupData, ThrowOnError>) => RequestResult<StartAgentSignupResponses, StartAgentSignupErrors, ThrowOnError, "fields">;
4353
+ /**
4354
+ * Resend agent signup verification code
4355
+ *
4356
+ * Sends a new email verification code for a pending agent signup session.
4357
+ * This endpoint does not require an API key.
4358
+ *
4359
+ */
4360
+ declare const resendAgentSignupVerification: <ThrowOnError extends boolean = false>(options: Options<ResendAgentSignupVerificationData, ThrowOnError>) => RequestResult<ResendAgentSignupVerificationResponses, ResendAgentSignupVerificationErrors, ThrowOnError, "fields">;
4361
+ /**
4362
+ * Verify agent signup and create OAuth tokens
4363
+ *
4364
+ * Verifies the email code for an agent signup session, creates the account
4365
+ * when needed, redeems the reserved signup code, mints an org-scoped OAuth
4366
+ * session for CLI authentication, and returns the raw tokens exactly once.
4367
+ * For existing users, the optional `org_id` selects which accessible
4368
+ * workspace should receive the new session.
4369
+ *
4370
+ */
4371
+ declare const verifyAgentSignup: <ThrowOnError extends boolean = false>(options: Options<VerifyAgentSignupData, ThrowOnError>) => RequestResult<VerifyAgentSignupResponses, VerifyAgentSignupErrors, ThrowOnError, "fields">;
4372
+ /**
4373
+ * Revoke the current CLI OAuth session
4101
4374
  *
4102
- * Revokes the API key used to authenticate the request. CLI clients use
4103
- * this endpoint during `primitive logout` before removing local credentials.
4375
+ * Revokes the OAuth grant used to authenticate the request. API-key
4376
+ * authenticated legacy logout requests succeed without deleting server API
4377
+ * keys so old local CLI state can be cleared safely.
4104
4378
  *
4105
4379
  */
4106
4380
  declare const cliLogout: <ThrowOnError extends boolean = false>(options?: Options<CliLogoutData, ThrowOnError>) => RequestResult<CliLogoutResponses, CliLogoutErrors, ThrowOnError, "fields">;
@@ -4947,4 +5221,4 @@ declare class PrimitiveClient extends PrimitiveApiClient {
4947
5221
  declare function createPrimitiveClient(options?: PrimitiveClientOptions): PrimitiveClient;
4948
5222
  declare function client(options?: PrimitiveClientOptions): PrimitiveClient;
4949
5223
  //#endregion
4950
- export { listSentEmails as $, SearchEmailsData as $a, ListFunctionLogsError as $i, DownloadAttachmentsData as $n, UpdateAccountData as $o, GetFunctionResponses as $r, CreateFunctionData as $t, deleteEndpoint as A, ReplayEmailWebhooksData as Aa, ListDeliveriesResponses as Ai, DeleteFilterErrors as An, StartCliLoginResponse as Ao, FunctionTestRunDeliveryEndpoint as Ar, VerifyCliSignupData as As, CliLoginStartResult as At, getFunctionTestRunTrace as B, ReplyToEmailResponses as Ba, ListEmailsResponses as Bi, DeleteFunctionSecretErrors as Bn, TestEndpointData as Bo, GetAccountError as Br, VerifyDomainResponses as Bs, CliSignupVerifyResult as Bt, cliLogout as C, PollCliLoginResponse as Ca, GetWebhookSecretResponse as Ci, DeleteEndpointData as Cn, SetFunctionSecretInput as Co, FunctionDetail as Cr, UpdateFunctionData as Cs, AddDomainData as Ct, createFunctionSecret as D, ReplayDeliveryErrors as Da, ListDeliveriesError as Di, DeleteEndpointResponses as Dn, StartCliLoginError as Do, FunctionSecretWriteResult as Dr, UpdateFunctionResponse as Ds, AddDomainResponse as Dt, createFunction as E, ReplayDeliveryError as Ea, ListDeliveriesData as Ei, DeleteEndpointResponse as En, StartCliLoginData as Eo, FunctionSecretListItem as Er, UpdateFunctionInput as Es, AddDomainInput as Et, downloadAttachments as F, ReplayResult as Fa, ListDomainsResponses as Fi, DeleteFunctionErrors as Fn, StartCliSignupInput as Fo, FunctionTestRunState as Fr, VerifyCliSignupResponses as Fs, CliLogoutResponse as Ft, listDeliveries as G, ResendCliSignupVerificationResponse as Ga, ListEndpointsResponses as Gi, DiscardContentResult as Gn, TestFunctionData as Go, GetEmailError as Gr, Config as Gs, CreateEndpointResponse as Gt, getSentEmail as H, ResendCliSignupVerificationError as Ha, ListEndpointsError as Hi, DeleteFunctionSecretResponses as Hn, TestEndpointErrors as Ho, GetAccountResponse as Hr, createClient as Hs, CreateEndpointError as Ht, downloadRawEmail as I, ReplyToEmailData as Ia, ListEmailsData as Ii, DeleteFunctionResponse as In, StartCliSignupResponse as Io, FunctionTestRunTrace as Ir, VerifyDomainData as Is, CliLogoutResponses as It, listEndpoints as J, RotateWebhookSecretData as Ja, ListFiltersError as Ji, DiscardEmailContentErrors as Jn, TestFunctionResponse as Jo, GetEmailResponses as Jr, RequestOptions$2 as Js, CreateFilterError as Jt, listDomains as K, ResendCliSignupVerificationResponses as Ka, ListEnvelope as Ki, DiscardEmailContentData as Kn, TestFunctionError as Ko, GetEmailErrors as Kr, CreateClientConfig as Ks, CreateEndpointResponses as Kt, getAccount as L, ReplyToEmailError as La, ListEmailsError as Li, DeleteFunctionResponses as Ln, StartCliSignupResponses as Lo, GateDenial as Lr, VerifyDomainError as Ls, CliLogoutResult as Lt, deleteFunction as M, ReplayEmailWebhooksErrors as Ma, ListDomainsError as Mi, DeleteFilterResponses as Mn, StartCliSignupData as Mo, FunctionTestRunOutboundRequest as Mr, VerifyCliSignupErrors as Ms, CliLogoutError as Mt, deleteFunctionSecret as N, ReplayEmailWebhooksResponse as Na, ListDomainsErrors as Ni, DeleteFunctionData as Nn, StartCliSignupError as No, FunctionTestRunReply as Nr, VerifyCliSignupInput as Ns, CliLogoutErrors as Nt, deleteDomain as O, ReplayDeliveryResponse as Oa, ListDeliveriesErrors as Oi, DeleteFilterData as On, StartCliLoginErrors as Oo, FunctionTestRun as Or, UpdateFunctionResponses as Os, AddDomainResponses as Ot, discardEmailContent as P, ReplayEmailWebhooksResponses as Pa, ListDomainsResponse as Pi, DeleteFunctionError as Pn, StartCliSignupErrors as Po, FunctionTestRunSend as Pr, VerifyCliSignupResponse as Ps, CliLogoutInput as Pt, listFunctions as Q, RotateWebhookSecretResponses as Qa, ListFunctionLogsData as Qi, DomainVerifyResult as Qn, UnverifiedDomain as Qo, GetFunctionResponse as Qr, Auth as Qs, CreateFilterResponses as Qt, getEmail as R, ReplyToEmailErrors as Ra, ListEmailsErrors as Ri, DeleteFunctionSecretData as Rn, StorageStats as Ro, GateFix as Rr, VerifyDomainErrors as Rs, CliSignupResendResult as Rt, addDomain as S, PollCliLoginInput as Sa, GetWebhookSecretErrors as Si, DeleteEmailResponses as Sn, SetFunctionSecretErrors as So, FunctionDeployStatus as Sr, UpdateFilterResponses as Ss, AccountUpdated as St, createFilter as T, ReplayDeliveryData as Ta, Limit as Ti, DeleteEndpointErrors as Tn, SetFunctionSecretResponses as To, FunctionLogRow as Tr, UpdateFunctionErrors as Ts, AddDomainErrors as Tt, getStorageStats as U, ResendCliSignupVerificationErrors as Ua, ListEndpointsErrors as Ui, DeliveryStatus as Un, TestEndpointResponse as Uo, GetAccountResponses as Ur, Client as Us, CreateEndpointErrors as Ut, getSendPermissions as V, ResendCliSignupVerificationData as Va, ListEndpointsData as Vi, DeleteFunctionSecretResponse as Vn, TestEndpointError as Vo, GetAccountErrors as Vr, WebhookSecret as Vs, CreateEndpointData as Vt, getWebhookSecret as W, ResendCliSignupVerificationInput as Wa, ListEndpointsResponse as Wi, DeliverySummary as Wn, TestEndpointResponses as Wo, GetEmailData as Wr, ClientOptions as Ws, CreateEndpointInput as Wt, listFunctionLogs as X, RotateWebhookSecretErrors as Xa, ListFiltersResponse as Xi, DiscardEmailContentResponses as Xn, TestInvocationResult as Xo, GetFunctionError as Xr, ResponseStyle as Xs, CreateFilterInput as Xt, listFilters as Y, RotateWebhookSecretError as Ya, ListFiltersErrors as Yi, DiscardEmailContentResponse as Yn, TestFunctionResponses as Yo, GetFunctionData as Yr, RequestResult as Ys, CreateFilterErrors as Yt, listFunctionSecrets as Z, RotateWebhookSecretResponse as Za, ListFiltersResponses as Zi, Domain as Zn, TestResult as Zo, GetFunctionErrors as Zr, createConfig as Zs, CreateFilterResponse as Zt, PrimitiveApiClientOptions as _, ListSentEmailsResponses as _a, GetStorageStatsErrors as _i, DeleteDomainResponses as _n, SentEmailDetail as _o, EmailSummary as _r, UpdateFilterData as _s, updateFilter as _t, RequestOptions as a, ListFunctionSecretsErrors as aa, GetSendPermissionsData as ai, CreateFunctionResult as an, SendEmailError as ao, DownloadRawEmailError as ar, UpdateDomainData as as, rotateWebhookSecret as at, RequestOptions$1 as b, PollCliLoginError as ba, GetWebhookSecretData as bi, DeleteEmailErrors as bn, SetFunctionSecretData as bo, ErrorResponse as br, UpdateFilterInput as bs, verifyDomain as bt, SendThreadInput as c, ListFunctionsData as ca, GetSendPermissionsResponse as ci, CreateFunctionSecretErrors as cn, SendEmailResponses as co, DownloadRawEmailResponses as cr, UpdateDomainInput as cs, sendEmail as ct, PRIMITIVE_SIGNATURE_HEADER as d, ListFunctionsResponse as da, GetSentEmailError as di, CreateFunctionSecretResponses as dn, SendPermissionAddress as do, EmailSearchFacetBucket as dr, UpdateEndpointData as ds, startCliSignup as dt, ListFunctionLogsErrors as ea, GetFunctionTestRunTraceData as ei, CreateFunctionError as en, SearchEmailsError as eo, DownloadAttachmentsError as er, UpdateAccountError as es, pollCliLogin as et, VerifyOptions as f, ListFunctionsResponses as fa, GetSentEmailErrors as fi, Cursor as fn, SendPermissionAnyRecipient as fo, EmailSearchFacets as fr, UpdateEndpointError as fs, testEndpoint as ft, PrimitiveApiClient as g, ListSentEmailsResponse as ga, GetStorageStatsError as gi, DeleteDomainResponse as gn, SendPermissionsMeta as go, EmailStatus as gr, UpdateEndpointResponses as gs, updateEndpoint as gt, DEFAULT_API_BASE_URL_2 as h, ListSentEmailsErrors as ha, GetStorageStatsData as hi, DeleteDomainErrors as hn, SendPermissionYourDomain as ho, EmailSearchResult as hr, UpdateEndpointResponse as hs, updateDomain as ht, ReplyInput as i, ListFunctionSecretsError as ia, GetFunctionTestRunTraceResponses as ii, CreateFunctionResponses as in, SendEmailData as io, DownloadRawEmailData as ir, UpdateAccountResponses as is, resendCliSignupVerification as it, deleteFilter as j, ReplayEmailWebhooksError as ja, ListDomainsData as ji, DeleteFilterResponse as jn, StartCliLoginResponses as jo, FunctionTestRunInboundEmail as jr, VerifyCliSignupError as js, CliLogoutData as jt, deleteEmail as k, ReplayDeliveryResponses as ka, ListDeliveriesResponse as ki, DeleteFilterError as kn, StartCliLoginInput as ko, FunctionTestRunDelivery as kr, VerifiedDomain as ks, CliLoginPollResult as kt, client as l, ListFunctionsError as la, GetSendPermissionsResponses as li, CreateFunctionSecretInput as ln, SendMailInput as lo, EmailDetail as lr, UpdateDomainResponse as ls, setFunctionSecret as lt, DEFAULT_API_BASE_URL_1 as m, ListSentEmailsError as ma, GetSentEmailResponses as mi, DeleteDomainError as mn, SendPermissionRule as mo, EmailSearchMeta as mr, UpdateEndpointInput as ms, updateAccount as mt, PrimitiveClient as n, ListFunctionLogsResponses as na, GetFunctionTestRunTraceErrors as ni, CreateFunctionInput as nn, SearchEmailsResponse as no, DownloadAttachmentsResponse as nr, UpdateAccountInput as ns, replayEmailWebhooks as nt, SendInput as o, ListFunctionSecretsResponse as oa, GetSendPermissionsError as oi, CreateFunctionSecretData as on, SendEmailErrors as oo, DownloadRawEmailErrors as or, UpdateDomainError as os, sdk_gen_d_exports as ot, verifyWebhookSignature as p, ListSentEmailsData as pa, GetSentEmailResponse as pi, DeleteDomainData as pn, SendPermissionManagedZone as po, EmailSearchHighlights as pr, UpdateEndpointErrors as ps, testFunction as pt, listEmails as q, ResourceId as qa, ListFiltersData as qi, DiscardEmailContentError as qn, TestFunctionErrors as qo, GetEmailResponse as qr, Options$1 as qs, CreateFilterData as qt, PrimitiveClientOptions as r, ListFunctionSecretsData as ra, GetFunctionTestRunTraceResponse as ri, CreateFunctionResponse as rn, SearchEmailsResponses as ro, DownloadAttachmentsResponses as rr, UpdateAccountResponse as rs, replyToEmail as rt, SendResult as s, ListFunctionSecretsResponses as sa, GetSendPermissionsErrors as si, CreateFunctionSecretError as sn, SendEmailResponse as so, DownloadRawEmailResponse as sr, UpdateDomainErrors as ss, searchEmails as st, ForwardInput as t, ListFunctionLogsResponse as ta, GetFunctionTestRunTraceError as ti, CreateFunctionErrors as tn, SearchEmailsErrors as to, DownloadAttachmentsErrors as tr, UpdateAccountErrors as ts, replayDelivery as tt, createPrimitiveClient as u, ListFunctionsErrors as ua, GetSentEmailData as ui, CreateFunctionSecretResponse as un, SendMailResult as uo, EmailDetailReply as ur, UpdateDomainResponses as us, startCliLogin as ut, PrimitiveApiError as v, PaginationMeta as va, GetStorageStatsResponse as vi, DeleteEmailData as vn, SentEmailStatus as vo, EmailWebhookStatus as vr, UpdateFilterError as vs, updateFunction as vt, createEndpoint as w, PollCliLoginResponses as wa, GetWebhookSecretResponses as wi, DeleteEndpointError as wn, SetFunctionSecretResponse as wo, FunctionListItem as wr, UpdateFunctionError as ws, AddDomainError as wt, createPrimitiveApiClient as x, PollCliLoginErrors as xa, GetWebhookSecretError as xi, DeleteEmailResponse as xn, SetFunctionSecretError as xo, Filter as xr, UpdateFilterResponse as xs, Account as xt, PrimitiveApiErrorDetails as y, PollCliLoginData as ya, GetStorageStatsResponses as yi, DeleteEmailError as yn, SentEmailSummary as yo, Endpoint as yr, UpdateFilterErrors as ys, verifyCliSignup as yt, getFunction as z, ReplyToEmailResponse as za, ListEmailsResponse as zi, DeleteFunctionSecretError as zn, SuccessEnvelope as zo, GetAccountData as zr, VerifyDomainResponse as zs, CliSignupStartResult as zt };
5224
+ export { listSentEmails as $, ResendAgentSignupVerificationResponses as $a, ListEnvelope as $i, DiscardEmailContentData as $n, StartCliSignupErrors as $o, GetEmailErrors as $r, VerifyAgentSignupResponse as $s, CreateEndpointResponses as $t, deleteEndpoint as A, PollCliLoginResponse as Aa, GetWebhookSecretResponse as Ai, DeleteEndpointData as An, SentEmailDetail as Ao, FunctionDetail as Ar, UpdateEndpointData as As, AddDomainResponse as At, getFunctionTestRunTrace as B, ReplayEmailWebhooksResponse as Ba, ListDomainsErrors as Bi, DeleteFunctionData as Bn, StartAgentSignupError as Bo, FunctionTestRunReply as Br, UpdateFilterResponse as Bs, CliLogoutErrors as Bt, cliLogout as C, ListSentEmailsResponse as Ca, Auth as Cc, GetStorageStatsError as Ci, DeleteDomainResponse as Cn, SendMailResult as Co, EmailStatus as Cr, UpdateAccountResponses as Cs, verifyDomain as Ct, createFunctionSecret as D, PollCliLoginError as Da, GetWebhookSecretData as Di, DeleteEmailErrors as Dn, SendPermissionRule as Do, ErrorResponse as Dr, UpdateDomainInput as Ds, AddDomainError as Dt, createFunction as E, PollCliLoginData as Ea, GetStorageStatsResponses as Ei, DeleteEmailError as En, SendPermissionManagedZone as Eo, Endpoint as Er, UpdateDomainErrors as Es, AddDomainData as Et, downloadAttachments as F, ReplayDeliveryResponse as Fa, ListDeliveriesErrors as Fi, DeleteFilterData as Fn, SetFunctionSecretErrors as Fo, FunctionTestRun as Fr, UpdateEndpointResponses as Fs, AgentSignupVerifyResult as Ft, listDeliveries as G, ReplyToEmailErrors as Ga, ListEmailsErrors as Gi, DeleteFunctionSecretData as Gn, StartCliLoginData as Go, GateFix as Gr, UpdateFunctionInput as Gs, CliSignupResendResult as Gt, getSentEmail as H, ReplayResult as Ha, ListDomainsResponses as Hi, DeleteFunctionErrors as Hn, StartAgentSignupInput as Ho, FunctionTestRunState as Hr, UpdateFunctionData as Hs, CliLogoutResponse as Ht, downloadRawEmail as I, ReplayDeliveryResponses as Ia, ListDeliveriesResponse as Ii, DeleteFilterError as In, SetFunctionSecretInput as Io, FunctionTestRunDelivery as Ir, UpdateFilterData as Is, CliLoginPollResult as It, listEndpoints as J, ResendAgentSignupVerificationData as Ja, ListEndpointsData as Ji, DeleteFunctionSecretResponse as Jn, StartCliLoginInput as Jo, GetAccountErrors as Jr, VerifiedDomain as Js, CreateEndpointData as Jt, listDomains as K, ReplyToEmailResponse as Ka, ListEmailsResponse as Ki, DeleteFunctionSecretError as Kn, StartCliLoginError as Ko, GetAccountData as Kr, UpdateFunctionResponse as Ks, CliSignupStartResult as Kt, getAccount as L, ReplayEmailWebhooksData as La, ListDeliveriesResponses as Li, DeleteFilterErrors as Ln, SetFunctionSecretResponse as Lo, FunctionTestRunDeliveryEndpoint as Lr, UpdateFilterError as Ls, CliLoginStartResult as Lt, deleteFunction as M, ReplayDeliveryData as Ma, Limit as Mi, DeleteEndpointErrors as Mn, SentEmailSummary as Mo, FunctionLogRow as Mr, UpdateEndpointErrors as Ms, AgentOrgRef as Mt, deleteFunctionSecret as N, ReplayDeliveryError as Na, ListDeliveriesData as Ni, DeleteEndpointResponse as Nn, SetFunctionSecretData as No, FunctionSecretListItem as Nr, UpdateEndpointInput as Ns, AgentSignupResendResult as Nt, deleteDomain as O, PollCliLoginErrors as Oa, GetWebhookSecretError as Oi, DeleteEmailResponse as On, SendPermissionYourDomain as Oo, Filter as Or, UpdateDomainResponse as Os, AddDomainErrors as Ot, discardEmailContent as P, ReplayDeliveryErrors as Pa, ListDeliveriesError as Pi, DeleteEndpointResponses as Pn, SetFunctionSecretError as Po, FunctionSecretWriteResult as Pr, UpdateEndpointResponse as Ps, AgentSignupStartResult as Pt, listFunctions as Q, ResendAgentSignupVerificationResponse as Qa, ListEndpointsResponses as Qi, DiscardContentResult as Qn, StartCliSignupError as Qo, GetEmailError as Qr, VerifyAgentSignupInput as Qs, CreateEndpointResponse as Qt, getEmail as R, ReplayEmailWebhooksError as Ra, ListDomainsData as Ri, DeleteFilterResponse as Rn, SetFunctionSecretResponses as Ro, FunctionTestRunInboundEmail as Rr, UpdateFilterErrors as Rs, CliLogoutData as Rt, addDomain as S, ListSentEmailsErrors as Sa, createConfig as Sc, GetStorageStatsData as Si, DeleteDomainErrors as Sn, SendMailInput as So, EmailSearchResult as Sr, UpdateAccountResponse as Ss, verifyCliSignup as St, createFilter as T, PaginationMeta as Ta, GetStorageStatsResponse as Ti, DeleteEmailData as Tn, SendPermissionAnyRecipient as To, EmailWebhookStatus as Tr, UpdateDomainError as Ts, AccountUpdated as Tt, getStorageStats as U, ReplyToEmailData as Ua, ListEmailsData as Ui, DeleteFunctionResponse as Un, StartAgentSignupResponse as Uo, FunctionTestRunTrace as Ur, UpdateFunctionError as Us, CliLogoutResponses as Ut, getSendPermissions as V, ReplayEmailWebhooksResponses as Va, ListDomainsResponse as Vi, DeleteFunctionError as Vn, StartAgentSignupErrors as Vo, FunctionTestRunSend as Vr, UpdateFilterResponses as Vs, CliLogoutInput as Vt, getWebhookSecret as W, ReplyToEmailError as Wa, ListEmailsError as Wi, DeleteFunctionResponses as Wn, StartAgentSignupResponses as Wo, GateDenial as Wr, UpdateFunctionErrors as Ws, CliLogoutResult as Wt, listFunctionLogs as X, ResendAgentSignupVerificationErrors as Xa, ListEndpointsErrors as Xi, DeliveryStatus as Xn, StartCliLoginResponses as Xo, GetAccountResponses as Xr, VerifyAgentSignupError as Xs, CreateEndpointErrors as Xt, listFilters as Y, ResendAgentSignupVerificationError as Ya, ListEndpointsError as Yi, DeleteFunctionSecretResponses as Yn, StartCliLoginResponse as Yo, GetAccountResponse as Yr, VerifyAgentSignupData as Ys, CreateEndpointError as Yt, listFunctionSecrets as Z, ResendAgentSignupVerificationInput as Za, ListEndpointsResponse as Zi, DeliverySummary as Zn, StartCliSignupData as Zo, GetEmailData as Zr, VerifyAgentSignupErrors as Zs, CreateEndpointInput as Zt, PrimitiveApiClientOptions as _, ListFunctionsErrors as _a, CreateClientConfig as _c, GetSentEmailData as _i, CreateFunctionSecretResponse as _n, SendEmailData as _o, EmailDetailReply as _r, UnverifiedDomain as _s, updateDomain as _t, RequestOptions as a, ListFunctionLogsData as aa, VerifyCliSignupResponse as ac, GetFunctionResponse as ai, CreateFilterResponses as an, ResendCliSignupVerificationResponses as ao, DomainVerifyResult as ar, TestEndpointData as as, resendCliSignupVerification as at, RequestOptions$1 as b, ListSentEmailsData as ba, RequestResult as bc, GetSentEmailResponse as bi, DeleteDomainData as bn, SendEmailResponse as bo, EmailSearchHighlights as br, UpdateAccountErrors as bs, updateFunction as bt, SendThreadInput as c, ListFunctionLogsResponse as ca, VerifyDomainError as cc, GetFunctionTestRunTraceError as ci, CreateFunctionErrors as cn, RotateWebhookSecretError as co, DownloadAttachmentsErrors as cr, TestEndpointResponse as cs, searchEmails as ct, PRIMITIVE_SIGNATURE_HEADER as d, ListFunctionSecretsError as da, VerifyDomainResponses as dc, GetFunctionTestRunTraceResponses as di, CreateFunctionResponses as dn, RotateWebhookSecretResponses as do, DownloadRawEmailData as dr, TestFunctionError as ds, startAgentSignup as dt, ListFiltersData as ea, VerifyAgentSignupResponses as ec, GetEmailResponse as ei, CreateFilterData as en, ResendCliSignupVerificationData as eo, DiscardEmailContentError as er, StartCliSignupInput as es, pollCliLogin as et, VerifyOptions as f, ListFunctionSecretsErrors as fa, WebhookSecret as fc, GetSendPermissionsData as fi, CreateFunctionResult as fn, SearchEmailsData as fo, DownloadRawEmailError as fr, TestFunctionErrors as fs, startCliLogin as ft, PrimitiveApiClient as g, ListFunctionsError as ga, Config as gc, GetSendPermissionsResponses as gi, CreateFunctionSecretInput as gn, SearchEmailsResponses as go, EmailDetail as gr, TestResult as gs, updateAccount as gt, DEFAULT_API_BASE_URL_2 as h, ListFunctionsData as ha, ClientOptions as hc, GetSendPermissionsResponse as hi, CreateFunctionSecretErrors as hn, SearchEmailsResponse as ho, DownloadRawEmailResponses as hr, TestInvocationResult as hs, testFunction as ht, ReplyInput as i, ListFiltersResponses as ia, VerifyCliSignupInput as ic, GetFunctionErrors as ii, CreateFilterResponse as in, ResendCliSignupVerificationResponse as io, Domain as ir, SuccessEnvelope as is, resendAgentSignupVerification as it, deleteFilter as j, PollCliLoginResponses as ja, GetWebhookSecretResponses as ji, DeleteEndpointError as jn, SentEmailStatus as jo, FunctionListItem as jr, UpdateEndpointError as js, AddDomainResponses as jt, deleteEmail as k, PollCliLoginInput as ka, GetWebhookSecretErrors as ki, DeleteEmailResponses as kn, SendPermissionsMeta as ko, FunctionDeployStatus as kr, UpdateDomainResponses as ks, AddDomainInput as kt, client as l, ListFunctionLogsResponses as la, VerifyDomainErrors as lc, GetFunctionTestRunTraceErrors as li, CreateFunctionInput as ln, RotateWebhookSecretErrors as lo, DownloadAttachmentsResponse as lr, TestEndpointResponses as ls, sendEmail as lt, DEFAULT_API_BASE_URL_1 as m, ListFunctionSecretsResponses as ma, Client as mc, GetSendPermissionsErrors as mi, CreateFunctionSecretError as mn, SearchEmailsErrors as mo, DownloadRawEmailResponse as mr, TestFunctionResponses as ms, testEndpoint as mt, PrimitiveClient as n, ListFiltersErrors as na, VerifyCliSignupError as nc, GetFunctionData as ni, CreateFilterErrors as nn, ResendCliSignupVerificationErrors as no, DiscardEmailContentResponse as nr, StartCliSignupResponses as ns, replayEmailWebhooks as nt, SendInput as o, ListFunctionLogsError as oa, VerifyCliSignupResponses as oc, GetFunctionResponses as oi, CreateFunctionData as on, ResourceId as oo, DownloadAttachmentsData as or, TestEndpointError as os, rotateWebhookSecret as ot, verifyWebhookSignature as p, ListFunctionSecretsResponse as pa, createClient as pc, GetSendPermissionsError as pi, CreateFunctionSecretData as pn, SearchEmailsError as po, DownloadRawEmailErrors as pr, TestFunctionResponse as ps, startCliSignup as pt, listEmails as q, ReplyToEmailResponses as qa, ListEmailsResponses as qi, DeleteFunctionSecretErrors as qn, StartCliLoginErrors as qo, GetAccountError as qr, UpdateFunctionResponses as qs, CliSignupVerifyResult as qt, PrimitiveClientOptions as r, ListFiltersResponse as ra, VerifyCliSignupErrors as rc, GetFunctionError as ri, CreateFilterInput as rn, ResendCliSignupVerificationInput as ro, DiscardEmailContentResponses as rr, StorageStats as rs, replyToEmail as rt, SendResult as s, ListFunctionLogsErrors as sa, VerifyDomainData as sc, GetFunctionTestRunTraceData as si, CreateFunctionError as sn, RotateWebhookSecretData as so, DownloadAttachmentsError as sr, TestEndpointErrors as ss, sdk_gen_d_exports as st, ForwardInput as t, ListFiltersError as ta, VerifyCliSignupData as tc, GetEmailResponses as ti, CreateFilterError as tn, ResendCliSignupVerificationError as to, DiscardEmailContentErrors as tr, StartCliSignupResponse as ts, replayDelivery as tt, createPrimitiveClient as u, ListFunctionSecretsData as ua, VerifyDomainResponse as uc, GetFunctionTestRunTraceResponse as ui, CreateFunctionResponse as un, RotateWebhookSecretResponse as uo, DownloadAttachmentsResponses as ur, TestFunctionData as us, setFunctionSecret as ut, PrimitiveApiError as v, ListFunctionsResponse as va, Options$1 as vc, GetSentEmailError as vi, CreateFunctionSecretResponses as vn, SendEmailError as vo, EmailSearchFacetBucket as vr, UpdateAccountData as vs, updateEndpoint as vt, createEndpoint as w, ListSentEmailsResponses as wa, GetStorageStatsErrors as wi, DeleteDomainResponses as wn, SendPermissionAddress as wo, EmailSummary as wr, UpdateDomainData as ws, Account as wt, createPrimitiveApiClient as x, ListSentEmailsError as xa, ResponseStyle as xc, GetSentEmailResponses as xi, DeleteDomainError as xn, SendEmailResponses as xo, EmailSearchMeta as xr, UpdateAccountInput as xs, verifyAgentSignup as xt, PrimitiveApiErrorDetails as y, ListFunctionsResponses as ya, RequestOptions$2 as yc, GetSentEmailErrors as yi, Cursor as yn, SendEmailErrors as yo, EmailSearchFacets as yr, UpdateAccountError as ys, updateFilter as yt, getFunction as z, ReplayEmailWebhooksErrors as za, ListDomainsError as zi, DeleteFilterResponses as zn, StartAgentSignupData as zo, FunctionTestRunOutboundRequest as zr, UpdateFilterInput as zs, CliLogoutError as zt };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { c as SendThreadInput, i as ReplyInput, l as client, n as PrimitiveClient, o as SendInput, r as PrimitiveClientOptions, s as SendResult, t as ForwardInput, u as createPrimitiveClient, v as PrimitiveApiError } from "./index-BwDgniCA.js";
1
+ import { c as SendThreadInput, i as ReplyInput, l as client, n as PrimitiveClient, o as SendInput, r as PrimitiveClientOptions, s as SendResult, t as ForwardInput, u as createPrimitiveClient, v as PrimitiveApiError } from "./index-C17n15Eq.js";
2
2
  import { A as UnknownEvent, C as ParsedDataFailed, D as RawContentDownloadOnly, E as RawContent, M as WebhookAttachment, N as WebhookEvent, O as RawContentInline, S as ParsedDataComplete, T as ParsedStatus, _ as ForwardResultInline, a as DmarcPolicy, b as KnownWebhookEvent, c as EmailAnalysis, d as EventType, f as ForwardAnalysis, g as ForwardResultAttachmentSkipped, h as ForwardResultAttachmentAnalyzed, i as DkimSignature, j as ValidateEmailAuthResult, k as SpfResult, l as EmailAuth, m as ForwardResult, n as AuthVerdict, o as DmarcResult, p as ForwardOriginalSender, r as DkimResult, s as EmailAddress, t as AuthConfidence, u as EmailReceivedEvent, v as ForwardVerdict, w as ParsedError, x as ParsedData, y as ForwardVerification } from "./types-BRWDMD7H.js";
3
3
  import { _ as buildForwardSubject, a as RawEmailDecodeErrorCode, b as normalizeReceivedEmail, c as WebhookPayloadError, d as WebhookValidationErrorCode, f as WebhookVerificationError, g as ReceivedEmailThread, h as ReceivedEmailAddress, i as RawEmailDecodeError, l as WebhookPayloadErrorCode, m as ReceivedEmail, n as PrimitiveWebhookError, o as VERIFICATION_ERRORS, p as WebhookVerificationErrorCode, r as RAW_EMAIL_ERRORS, s as WebhookErrorCode, t as PAYLOAD_ERRORS, u as WebhookValidationError, v as buildReplySubject, x as parseHeaderAddress, y as formatAddress } from "./errors-CO-rv_nK.js";
4
4
  import { A as VerifyOptions, C as signStandardWebhooksPayload, D as PRIMITIVE_CONFIRMED_HEADER, E as LEGACY_SIGNATURE_HEADER, F as VerifyDownloadTokenResult, I as generateDownloadToken, L as verifyDownloadToken, M as verifyWebhookSignature, N as GenerateDownloadTokenOptions, O as PRIMITIVE_SIGNATURE_HEADER, P as VerifyDownloadTokenOptions, R as safeValidateEmailReceivedEvent, S as StandardWebhooksVerifyOptions, T as LEGACY_CONFIRMED_HEADER, _ as emailReceivedEventJsonSchema, a as confirmedHeaders, b as STANDARD_WEBHOOK_TIMESTAMP_HEADER, c as handleWebhook, d as isRawIncluded, f as parseWebhookEvent, g as validateEmailAuth, h as WEBHOOK_VERSION, i as WebhookHeaders, j as signWebhookPayload, k as SignResult, l as isDownloadExpired, m as verifyRawEmailDownload, n as HandleWebhookOptions, o as decodeRawEmail, p as receive, r as ReceiveRequestOptions, s as getDownloadTimeRemaining, t as DecodeRawEmailOptions, u as isEmailReceivedEvent, v as STANDARD_WEBHOOK_ID_HEADER, w as verifyStandardWebhooksSignature, x as StandardWebhooksSignResult, y as STANDARD_WEBHOOK_SIGNATURE_HEADER, z as validateEmailReceivedEvent } from "./index-D_v8-0zX.js";
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { l as PrimitiveApiError, n as client, r as createPrimitiveClient, t as PrimitiveClient } from "./api-CMzxyIqH.js";
1
+ import { l as PrimitiveApiError, n as client, r as createPrimitiveClient, t as PrimitiveClient } from "./api-C7hBq-Wd.js";
2
2
  import { a as VERIFICATION_ERRORS, c as WebhookVerificationError, d as formatAddress, f as normalizeReceivedEmail, i as RawEmailDecodeError, l as buildForwardSubject, n as PrimitiveWebhookError, o as WebhookPayloadError, p as parseHeaderAddress, r as RAW_EMAIL_ERRORS, s as WebhookValidationError, t as PAYLOAD_ERRORS, u as buildReplySubject } from "./errors-BPJGp9I6.js";
3
3
  import { A as PRIMITIVE_CONFIRMED_HEADER, C as STANDARD_WEBHOOK_ID_HEADER, D as verifyStandardWebhooksSignature, E as signStandardWebhooksPayload, F as verifyDownloadToken, I as safeValidateEmailReceivedEvent, L as validateEmailReceivedEvent, M as signWebhookPayload, N as verifyWebhookSignature, O as LEGACY_CONFIRMED_HEADER, P as generateDownloadToken, S as emailReceivedEventJsonSchema, T as STANDARD_WEBHOOK_TIMESTAMP_HEADER, _ as DmarcResult, a as isDownloadExpired, b as ParsedStatus, c as parseWebhookEvent, d as WEBHOOK_VERSION, f as validateEmailAuth, g as DmarcPolicy, h as DkimResult, i as handleWebhook, j as PRIMITIVE_SIGNATURE_HEADER, k as LEGACY_SIGNATURE_HEADER, l as receive, m as AuthVerdict, n as decodeRawEmail, o as isEmailReceivedEvent, p as AuthConfidence, r as getDownloadTimeRemaining, s as isRawIncluded, t as confirmedHeaders, u as verifyRawEmailDownload, v as EventType, w as STANDARD_WEBHOOK_SIGNATURE_HEADER, x as SpfResult, y as ForwardVerdict } from "./webhook-D4FTpj38.js";
4
4
  //#region src/index.ts
@@ -1,2 +1,2 @@
1
- import { n as openapiDocument, t as operationManifest } from "../operations.generated-BOlpIYkQ.js";
1
+ import { n as openapiDocument, t as operationManifest } from "../operations.generated-CDIos4wH.js";
2
2
  export { openapiDocument, operationManifest };