@primitivedotdev/sdk 0.31.2 → 0.31.5

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.
@@ -782,10 +782,94 @@ type WebhookSecret = {
782
782
  */
783
783
  secret: string;
784
784
  };
785
+ type InboxStatus = {
786
+ /**
787
+ * True when at least one active inbound domain has an enabled processing route.
788
+ */
789
+ ready: boolean;
790
+ /**
791
+ * True when at least one active verified or managed domain can receive mail.
792
+ */
793
+ receiving_ready: boolean;
794
+ /**
795
+ * True when at least one receiving-ready domain has an enabled webhook or function route.
796
+ */
797
+ processing_ready: boolean;
798
+ /**
799
+ * Short human-readable status summary.
800
+ */
801
+ summary: string;
802
+ next_actions: Array<InboxStatusNextAction>;
803
+ domains: Array<InboxStatusDomain>;
804
+ endpoints: InboxStatusEndpointSummary;
805
+ functions: InboxStatusFunctionSummary;
806
+ recent_emails: InboxStatusRecentEmailSummary;
807
+ };
808
+ type InboxStatusNextAction = {
809
+ kind: 'add_domain' | 'verify_domain' | 'configure_processing' | 'send_test_email' | 'fix_failed_functions';
810
+ /**
811
+ * Human-readable next step.
812
+ */
813
+ message: string;
814
+ /**
815
+ * Suggested Primitive CLI command when there is an obvious next step.
816
+ */
817
+ command?: string;
818
+ };
819
+ type InboxStatusDomain = {
820
+ id: string;
821
+ domain: string;
822
+ verified: boolean;
823
+ active: boolean;
824
+ managed: boolean;
825
+ receiving_ready: boolean;
826
+ processing_ready: boolean;
827
+ processing_route_count: number;
828
+ endpoint_count: number;
829
+ enabled_endpoint_count: number;
830
+ function_endpoint_count: number;
831
+ /**
832
+ * Number of inbound emails received for this domain in the last 30 days.
833
+ */
834
+ email_count: number;
835
+ /**
836
+ * Most recent inbound email received for this domain in the last 30 days.
837
+ */
838
+ latest_email_received_at: string | null;
839
+ status: 'ready' | 'stored_only' | 'pending_dns' | 'inactive';
840
+ };
841
+ type InboxStatusEndpointSummary = {
842
+ total: number;
843
+ enabled: number;
844
+ disabled: number;
845
+ fallback_enabled: number;
846
+ domain_scoped_enabled: number;
847
+ http_enabled: number;
848
+ function_enabled: number;
849
+ };
850
+ type InboxStatusFunctionSummary = {
851
+ total: number;
852
+ deployed: number;
853
+ pending: number;
854
+ failed: number;
855
+ };
856
+ /**
857
+ * Inbound email activity from the last 30 days.
858
+ */
859
+ type InboxStatusRecentEmailSummary = {
860
+ /**
861
+ * Number of inbound emails received in the last 30 days.
862
+ */
863
+ total: number;
864
+ /**
865
+ * Most recent inbound email received in the last 30 days.
866
+ */
867
+ latest_received_at: string | null;
868
+ };
785
869
  /**
786
870
  * A domain can be either verified or unverified. Verified domains have
787
871
  * `is_active` and `spam_threshold` fields. Unverified domains have a
788
- * `verification_token` for DNS verification.
872
+ * `verification_token` and `dns_records` for DNS setup.
789
873
  *
790
874
  */
791
875
  type Domain = VerifiedDomain | UnverifiedDomain;
@@ -799,6 +883,39 @@ type VerifiedDomain = {
799
883
  verification_token?: string | null;
800
884
  created_at: string;
801
885
  };
886
+ type DomainDnsRecord = {
887
+ /**
888
+ * DNS record type.
889
+ */
890
+ type: 'MX' | 'TXT';
891
+ /**
892
+ * DNS-provider host/name value relative to the managed root zone.
893
+ */
894
+ name: string;
895
+ /**
896
+ * Fully-qualified DNS record name.
897
+ */
898
+ fqdn: string;
899
+ /**
900
+ * Exact value to publish.
901
+ */
902
+ value: string;
903
+ /**
904
+ * MX priority. Present only for MX records.
905
+ */
906
+ priority?: number;
907
+ /**
908
+ * Suggested TTL in seconds when the API can provide one.
909
+ */
910
+ ttl?: number;
911
+ required: boolean;
912
+ purpose: 'inbound_mx' | 'ownership_verification' | 'spf' | 'dkim' | 'dmarc' | 'tls_reporting';
913
+ status: 'pending' | 'found' | 'missing' | 'incorrect';
914
+ /**
915
+ * Short explanation of why this record is needed.
916
+ */
917
+ message?: string;
918
+ };
802
919
  type UnverifiedDomain = {
803
920
  id: string;
804
921
  org_id: string;
@@ -808,6 +925,10 @@ type UnverifiedDomain = {
808
925
  * Add this value as a TXT record to verify ownership
809
926
  */
810
927
  verification_token: string;
928
+ /**
929
+ * Exact DNS records to publish for this pending domain claim.
930
+ */
931
+ dns_records?: Array<DomainDnsRecord>;
811
932
  created_at: string;
812
933
  };
813
934
  type AddDomainInput = {
@@ -815,6 +936,16 @@ type AddDomainInput = {
815
936
  * The domain name to claim (e.g. "example.com")
816
937
  */
817
938
  domain: string;
939
+ /**
940
+ * Set to true to confirm replacing an existing mailbox provider after an mx_conflict response.
941
+ */
942
+ confirmed?: boolean;
943
+ /**
944
+ * Deprecated and ignored. Outbound DNS is provisioned for every new domain claim.
945
+ *
946
+ * @deprecated
947
+ */
948
+ outbound?: boolean;
818
949
  };
819
950
  type UpdateDomainInput = {
820
951
  /**
@@ -828,6 +959,10 @@ type UpdateDomainInput = {
828
959
  };
829
960
  type DomainVerifyResult = {
830
961
  verified: boolean;
962
+ /**
963
+ * Exact DNS records checked for this verification attempt.
964
+ */
965
+ dns_records?: Array<DomainDnsRecord>;
831
966
  } | {
832
967
  verified: boolean;
833
968
  /**
@@ -838,6 +973,26 @@ type DomainVerifyResult = {
838
973
  * Whether the TXT verification record was found
839
974
  */
840
975
  txtFound: boolean;
976
+ /**
977
+ * Whether the SPF record includes Primitive.
978
+ */
979
+ spfFound?: boolean;
980
+ /**
981
+ * Whether the DKIM public key record was found.
982
+ */
983
+ dkimFound?: boolean;
984
+ /**
985
+ * Whether the DMARC record was found.
986
+ */
987
+ dmarcFound?: boolean;
988
+ /**
989
+ * Whether the TLS-RPT record was found.
990
+ */
991
+ tlsRptFound?: boolean;
992
+ /**
993
+ * Exact DNS records checked for this verification attempt.
994
+ */
995
+ dns_records?: Array<DomainDnsRecord>;
841
996
  /**
842
997
  * Human-readable verification failure reason
843
998
  */
@@ -1070,6 +1225,20 @@ type EmailDetailReply = {
1070
1225
  */
1071
1226
  queue_id?: string | null;
1072
1227
  };
1228
+ type SendMailAttachment = {
1229
+ /**
1230
+ * Attachment filename. Control characters are rejected.
1231
+ */
1232
+ filename: string;
1233
+ /**
1234
+ * Optional MIME content type. Control characters are rejected.
1235
+ */
1236
+ content_type?: string;
1237
+ /**
1238
+ * Base64-encoded attachment bytes.
1239
+ */
1240
+ content_base64: string;
1241
+ };
1073
1242
  type SendMailInput = {
1074
1243
  /**
1075
1244
  * RFC 5322 From header. The sender domain must be a verified outbound domain for your organization.
@@ -1099,6 +1268,10 @@ type SendMailInput = {
1099
1268
  * Full ordered message-id chain for the thread.
1100
1269
  */
1101
1270
  references?: Array<string>;
1271
+ /**
1272
+ * Inline attachments. Send requests with attachments to https://api.primitive.dev/v1/send-mail. Combined raw decoded attachment bytes must be at most 31457280.
1273
+ */
1274
+ attachments?: Array<SendMailAttachment>;
1102
1275
  /**
1103
1276
  * When true, wait for the first downstream SMTP delivery outcome before returning.
1104
1277
  */
@@ -2745,6 +2918,77 @@ type VerifyDomainResponses = {
2745
2918
  };
2746
2919
  };
2747
2920
  type VerifyDomainResponse = VerifyDomainResponses[keyof VerifyDomainResponses];
2921
+ type DownloadDomainZoneFileData = {
2922
+ body?: never;
2923
+ path: {
2924
+ /**
2925
+ * Resource UUID
2926
+ */
2927
+ id: string;
2928
+ };
2929
+ query?: {
2930
+ /**
2931
+ * When true, include only outbound DNS records. Verified domains
2932
+ * default to outbound-only; pending claims default to all required
2933
+ * records.
2934
+ *
2935
+ */
2936
+ outbound_only?: boolean;
2937
+ };
2938
+ url: '/domains/{id}/zone-file';
2939
+ };
2940
+ type DownloadDomainZoneFileErrors = {
2941
+ /**
2942
+ * Invalid request parameters
2943
+ */
2944
+ 400: ErrorResponse;
2945
+ /**
2946
+ * Invalid or missing API key
2947
+ */
2948
+ 401: ErrorResponse;
2949
+ /**
2950
+ * Resource not found
2951
+ */
2952
+ 404: ErrorResponse;
2953
+ /**
2954
+ * Rate limit exceeded
2955
+ */
2956
+ 429: ErrorResponse;
2957
+ };
2958
+ type DownloadDomainZoneFileError = DownloadDomainZoneFileErrors[keyof DownloadDomainZoneFileErrors];
2959
+ type DownloadDomainZoneFileResponses = {
2960
+ /**
2961
+ * BIND-format zone file
2962
+ */
2963
+ 200: Blob | File;
2964
+ };
2965
+ type DownloadDomainZoneFileResponse = DownloadDomainZoneFileResponses[keyof DownloadDomainZoneFileResponses];
2966
+ type GetInboxStatusData = {
2967
+ body?: never;
2968
+ path?: never;
2969
+ query?: never;
2970
+ url: '/inbox/status';
2971
+ };
2972
+ type GetInboxStatusErrors = {
2973
+ /**
2974
+ * Invalid or missing API key
2975
+ */
2976
+ 401: ErrorResponse;
2977
+ /**
2978
+ * Rate limit exceeded
2979
+ */
2980
+ 429: ErrorResponse;
2981
+ };
2982
+ type GetInboxStatusError = GetInboxStatusErrors[keyof GetInboxStatusErrors];
2983
+ type GetInboxStatusResponses = {
2984
+ /**
2985
+ * Consolidated inbox readiness status
2986
+ */
2987
+ 200: SuccessEnvelope & {
2988
+ data?: InboxStatus;
2989
+ };
2990
+ };
2991
+ type GetInboxStatusResponse = GetInboxStatusResponses[keyof GetInboxStatusResponses];
2748
2992
  type ListEmailsData = {
2749
2993
  body?: never;
2750
2994
  path?: never;
@@ -4279,7 +4523,7 @@ type ListFunctionLogsResponses = {
4279
4523
  };
4280
4524
  type ListFunctionLogsResponse = ListFunctionLogsResponses[keyof ListFunctionLogsResponses];
4281
4525
  declare namespace sdk_gen_d_exports {
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 };
4526
+ export { Options, addDomain, cliLogout, createEndpoint, createFilter, createFunction, createFunctionSecret, deleteDomain, deleteEmail, deleteEndpoint, deleteFilter, deleteFunction, deleteFunctionSecret, discardEmailContent, downloadAttachments, downloadDomainZoneFile, downloadRawEmail, getAccount, getEmail, getFunction, getFunctionTestRunTrace, getInboxStatus, 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 };
4283
4527
  }
4284
4528
  type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options$1<TData, ThrowOnError, TResponse> & {
4285
4529
  /**
@@ -4435,9 +4679,11 @@ declare const listDomains: <ThrowOnError extends boolean = false>(options?: Opti
4435
4679
  /**
4436
4680
  * Claim a new domain
4437
4681
  *
4438
- * Creates an unverified domain claim. You will receive a
4439
- * `verification_token` to add as a DNS TXT record before
4440
- * calling the verify endpoint.
4682
+ * Creates an unverified domain claim and returns the exact
4683
+ * DNS records to publish in `dns_records`. Publish those
4684
+ * records before calling the verify endpoint. To give users
4685
+ * an importable DNS file, call `downloadDomainZoneFile` or run
4686
+ * `primitive domains zone-file --id <domain-id>`.
4441
4687
  *
4442
4688
  */
4443
4689
  declare const addDomain: <ThrowOnError extends boolean = false>(options: Options<AddDomainData, ThrowOnError>) => RequestResult<AddDomainResponses, AddDomainErrors, ThrowOnError, "fields">;
@@ -4458,12 +4704,43 @@ declare const updateDomain: <ThrowOnError extends boolean = false>(options: Opti
4458
4704
  /**
4459
4705
  * Verify domain ownership
4460
4706
  *
4461
- * Checks DNS records (MX and TXT) to verify domain ownership.
4707
+ * Checks DNS records required for inbound routing, ownership,
4708
+ * and outbound authentication: MX, ownership TXT, SPF, DKIM,
4709
+ * DMARC, and TLS-RPT.
4462
4710
  * On success, the domain is promoted from unverified to verified.
4463
- * On failure, returns which checks passed and which failed.
4711
+ * On failure, returns which checks passed and which failed,
4712
+ * plus the exact DNS records still expected. To give users
4713
+ * an importable DNS file for missing records, call
4714
+ * `downloadDomainZoneFile` or run
4715
+ * `primitive domains zone-file --id <domain-id>`.
4464
4716
  *
4465
4717
  */
4466
4718
  declare const verifyDomain: <ThrowOnError extends boolean = false>(options: Options<VerifyDomainData, ThrowOnError>) => RequestResult<VerifyDomainResponses, VerifyDomainErrors, ThrowOnError, "fields">;
4719
+ /**
4720
+ * Download domain DNS zone file
4721
+ *
4722
+ * Downloads a BIND-format DNS zone file containing the DNS records
4723
+ * required for a domain claim. Agents should offer this after
4724
+ * `addDomain` when users want to import DNS records instead of
4725
+ * copying each record manually.
4726
+ *
4727
+ */
4728
+ declare const downloadDomainZoneFile: <ThrowOnError extends boolean = false>(options: Options<DownloadDomainZoneFileData, ThrowOnError>) => RequestResult<DownloadDomainZoneFileResponses, DownloadDomainZoneFileErrors, ThrowOnError, "fields">;
4729
+ /**
4730
+ * Get inbound inbox readiness
4731
+ *
4732
+ * Returns one consolidated view of inbound domain readiness,
4733
+ * webhook/function processing routes, deployed Functions, and
4734
+ * recent inbound email activity.
4735
+ *
4736
+ * Agents should call this before guiding a user through inbound
4737
+ * setup. It answers the practical questions "can I receive mail",
4738
+ * "will anything process that mail", and "what should I do next"
4739
+ * without forcing clients to stitch together domains, endpoints,
4740
+ * functions, and emails manually.
4741
+ *
4742
+ */
4743
+ declare const getInboxStatus: <ThrowOnError extends boolean = false>(options?: Options<GetInboxStatusData, ThrowOnError>) => RequestResult<GetInboxStatusResponses, GetInboxStatusErrors, ThrowOnError, "fields">;
4467
4744
  /**
4468
4745
  * List inbound emails
4469
4746
  *
@@ -5221,4 +5498,4 @@ declare class PrimitiveClient extends PrimitiveApiClient {
5221
5498
  declare function createPrimitiveClient(options?: PrimitiveClientOptions): PrimitiveClient;
5222
5499
  declare function client(options?: PrimitiveClientOptions): PrimitiveClient;
5223
5500
  //#endregion
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 };
5501
+ export { listFunctionSecrets as $, ReplayDeliveryErrors as $a, ListDeliveriesError as $i, DeliverySummary as $n, SetFunctionSecretData as $o, GateFix as $r, UpdateEndpointInput as $s, CreateEndpointInput as $t, deleteEndpoint as A, ListFunctionSecretsError as Aa, VerifyDomainResponse as Ac, GetSentEmailData as Ai, DeleteEmailResponse as An, RotateWebhookSecretResponses as Ao, EmailSearchResult as Ar, TestFunctionData as As, AddDomainErrors as At, getFunction as B, ListSentEmailsError as Ba, RequestResult as Bc, GetWebhookSecretData as Bi, DeleteFilterResponse as Bn, SendEmailResponses as Bo, FunctionLogRow as Br, UpdateAccountErrors as Bs, CliLogoutData as Bt, cliLogout as C, ListFiltersResponses as Ca, VerifyCliSignupErrors as Cc, GetInboxStatusResponse as Ci, DeleteDomainError as Cn, ResendCliSignupVerificationResponse as Co, DownloadRawEmailResponses as Cr, StorageStats as Cs, verifyAgentSignup as Ct, createFunctionSecret as D, ListFunctionLogsResponse as Da, VerifyDomainData as Dc, GetSendPermissionsErrors as Di, DeleteEmailData as Dn, RotateWebhookSecretError as Do, EmailSearchFacets as Dr, TestEndpointErrors as Ds, AccountUpdated as Dt, createFunction as E, ListFunctionLogsErrors as Ea, VerifyCliSignupResponses as Ec, GetSendPermissionsError as Ei, DeleteDomainResponses as En, RotateWebhookSecretData as Eo, EmailSearchFacetBucket as Er, TestEndpointError as Es, Account as Et, downloadAttachments as F, ListFunctionsError as Fa, ClientOptions as Fc, GetStorageStatsData as Fi, DeleteEndpointResponse as Fn, SearchEmailsResponses as Fo, ErrorResponse as Fr, TestInvocationResult as Fs, AgentSignupResendResult as Ft, getStorageStats as G, PollCliLoginData as Ga, InboxStatus as Gi, DeleteFunctionResponse as Gn, SendPermissionAnyRecipient as Go, FunctionTestRunDeliveryEndpoint as Gr, UpdateDomainError as Gs, CliLogoutResponses as Gt, getInboxStatus as H, ListSentEmailsResponse as Ha, createConfig as Hc, GetWebhookSecretErrors as Hi, DeleteFunctionData as Hn, SendMailInput as Ho, FunctionSecretWriteResult as Hr, UpdateAccountResponse as Hs, CliLogoutErrors as Ht, downloadDomainZoneFile as I, ListFunctionsErrors as Ia, Config as Ic, GetStorageStatsError as Ii, DeleteEndpointResponses as In, SendEmailData as Io, Filter as Ir, TestResult as Is, AgentSignupStartResult as It, listDomains as J, PollCliLoginInput as Ja, InboxStatusFunctionSummary as Ji, DeleteFunctionSecretError as Jn, SendPermissionYourDomain as Jo, FunctionTestRunReply as Jr, UpdateDomainResponse as Js, CliSignupStartResult as Jt, getWebhookSecret as K, PollCliLoginError as Ka, InboxStatusDomain as Ki, DeleteFunctionResponses as Kn, SendPermissionManagedZone as Ko, FunctionTestRunInboundEmail as Kr, UpdateDomainErrors as Ks, CliLogoutResult as Kt, downloadRawEmail as L, ListFunctionsResponse as La, CreateClientConfig as Lc, GetStorageStatsErrors as Li, DeleteFilterData as Ln, SendEmailError as Lo, FunctionDeployStatus as Lr, UnverifiedDomain as Ls, AgentSignupVerifyResult as Lt, deleteFunction as M, ListFunctionSecretsResponse as Ma, WebhookSecret as Mc, GetSentEmailErrors as Mi, DeleteEndpointData as Mn, SearchEmailsError as Mo, EmailSummary as Mr, TestFunctionErrors as Ms, AddDomainResponse as Mt, deleteFunctionSecret as N, ListFunctionSecretsResponses as Na, createClient as Nc, GetSentEmailResponse as Ni, DeleteEndpointError as Nn, SearchEmailsErrors as No, EmailWebhookStatus as Nr, TestFunctionResponse as Ns, AddDomainResponses as Nt, deleteDomain as O, ListFunctionLogsResponses as Oa, VerifyDomainError as Oc, GetSendPermissionsResponse as Oi, DeleteEmailError as On, RotateWebhookSecretErrors as Oo, EmailSearchHighlights as Or, TestEndpointResponse as Os, AddDomainData as Ot, discardEmailContent as P, ListFunctionsData as Pa, Client as Pc, GetSentEmailResponses as Pi, DeleteEndpointErrors as Pn, SearchEmailsResponse as Po, Endpoint as Pr, TestFunctionResponses as Ps, AgentOrgRef as Pt, listFunctionLogs as Q, ReplayDeliveryError as Qa, ListDeliveriesData as Qi, DeliveryStatus as Qn, SentEmailSummary as Qo, GateDenial as Qr, UpdateEndpointErrors as Qs, CreateEndpointErrors as Qt, getAccount as R, ListFunctionsResponses as Ra, Options$1 as Rc, GetStorageStatsResponse as Ri, DeleteFilterError as Rn, SendEmailErrors as Ro, FunctionDetail as Rr, UpdateAccountData as Rs, CliLoginPollResult as Rt, addDomain as S, ListFiltersResponse as Sa, VerifyCliSignupError as Sc, GetInboxStatusErrors as Si, DeleteDomainData as Sn, ResendCliSignupVerificationInput as So, DownloadRawEmailResponse as Sr, StartCliSignupResponses as Ss, updateFunction as St, createFilter as T, ListFunctionLogsError as Ta, VerifyCliSignupResponse as Tc, GetSendPermissionsData as Ti, DeleteDomainResponse as Tn, ResourceId as To, EmailDetailReply as Tr, TestEndpointData as Ts, verifyDomain as Tt, getSendPermissions as U, ListSentEmailsResponses as Ua, Auth as Uc, GetWebhookSecretResponse as Ui, DeleteFunctionError as Un, SendMailResult as Uo, FunctionTestRun as Ur, UpdateAccountResponses as Us, CliLogoutInput as Ut, getFunctionTestRunTrace as V, ListSentEmailsErrors as Va, ResponseStyle as Vc, GetWebhookSecretError as Vi, DeleteFilterResponses as Vn, SendMailAttachment as Vo, FunctionSecretListItem as Vr, UpdateAccountInput as Vs, CliLogoutError as Vt, getSentEmail as W, PaginationMeta as Wa, GetWebhookSecretResponses as Wi, DeleteFunctionErrors as Wn, SendPermissionAddress as Wo, FunctionTestRunDelivery as Wr, UpdateDomainData as Ws, CliLogoutResponse as Wt, listEndpoints as X, PollCliLoginResponses as Xa, InboxStatusRecentEmailSummary as Xi, DeleteFunctionSecretResponse as Xn, SentEmailDetail as Xo, FunctionTestRunState as Xr, UpdateEndpointData as Xs, CreateEndpointData as Xt, listEmails as Y, PollCliLoginResponse as Ya, InboxStatusNextAction as Yi, DeleteFunctionSecretErrors as Yn, SendPermissionsMeta as Yo, FunctionTestRunSend as Yr, UpdateDomainResponses as Ys, CliSignupVerifyResult as Yt, listFilters as Z, ReplayDeliveryData as Za, Limit as Zi, DeleteFunctionSecretResponses as Zn, SentEmailStatus as Zo, FunctionTestRunTrace as Zr, UpdateEndpointError as Zs, CreateEndpointError as Zt, PrimitiveApiClientOptions as _, ListEndpointsResponses as _a, VerifyAgentSignupErrors as _c, GetFunctionTestRunTraceErrors as _i, CreateFunctionSecretErrors as _n, ResendAgentSignupVerificationResponse as _o, DownloadDomainZoneFileResponse as _r, StartCliSignupData as _s, testFunction as _t, RequestOptions as a, ListDomainsErrors as aa, UpdateFilterInput as ac, GetEmailData as ai, CreateFilterInput as an, ReplayEmailWebhooksResponse as ao, DiscardEmailContentResponses as ar, StartAgentSignupData as as, replyToEmail as at, RequestOptions$1 as b, ListFiltersError as ba, VerifyAgentSignupResponses as bc, GetInboxStatusData as bi, CreateFunctionSecretResponses as bn, ResendCliSignupVerificationError as bo, DownloadRawEmailError as br, StartCliSignupInput as bs, updateEndpoint as bt, SendThreadInput as c, ListEmailsData as ca, UpdateFunctionData as cc, GetEmailResponse as ci, CreateFunctionData as cn, ReplyToEmailData as co, DomainVerifyResult as cr, StartAgentSignupInput as cs, rotateWebhookSecret as ct, PRIMITIVE_SIGNATURE_HEADER as d, ListEmailsResponse as da, UpdateFunctionInput as dc, GetFunctionError as di, CreateFunctionInput as dn, ReplyToEmailResponse as do, DownloadAttachmentsErrors as dr, StartCliLoginData as ds, sendEmail as dt, ListDeliveriesErrors as ea, UpdateEndpointResponse as ec, GetAccountData as ei, CreateEndpointResponse as en, ReplayDeliveryResponse as eo, DiscardContentResult as er, SetFunctionSecretError as es, listFunctions as et, VerifyOptions as f, ListEmailsResponses as fa, UpdateFunctionResponse as fc, GetFunctionErrors as fi, CreateFunctionResponse as fn, ReplyToEmailResponses as fo, DownloadAttachmentsResponse as fr, StartCliLoginError as fs, setFunctionSecret as ft, PrimitiveApiClient as g, ListEndpointsResponse as ga, VerifyAgentSignupError as gc, GetFunctionTestRunTraceError as gi, CreateFunctionSecretError as gn, ResendAgentSignupVerificationInput as go, DownloadDomainZoneFileErrors as gr, StartCliLoginResponses as gs, testEndpoint as gt, DEFAULT_API_BASE_URL_2 as h, ListEndpointsErrors as ha, VerifyAgentSignupData as hc, GetFunctionTestRunTraceData as hi, CreateFunctionSecretData as hn, ResendAgentSignupVerificationErrors as ho, DownloadDomainZoneFileError as hr, StartCliLoginResponse as hs, startCliSignup as ht, ReplyInput as i, ListDomainsError as ia, UpdateFilterErrors as ic, GetAccountResponses as ii, CreateFilterErrors as in, ReplayEmailWebhooksErrors as io, DiscardEmailContentResponse as ir, SetFunctionSecretResponses as is, replayEmailWebhooks as it, deleteFilter as j, ListFunctionSecretsErrors as ja, VerifyDomainResponses as jc, GetSentEmailError as ji, DeleteEmailResponses as jn, SearchEmailsData as jo, EmailStatus as jr, TestFunctionError as js, AddDomainInput as jt, deleteEmail as k, ListFunctionSecretsData as ka, VerifyDomainErrors as kc, GetSendPermissionsResponses as ki, DeleteEmailErrors as kn, RotateWebhookSecretResponse as ko, EmailSearchMeta as kr, TestEndpointResponses as ks, AddDomainError as kt, client as l, ListEmailsError as la, UpdateFunctionError as lc, GetEmailResponses as li, CreateFunctionError as ln, ReplyToEmailError as lo, DownloadAttachmentsData as lr, StartAgentSignupResponse as ls, sdk_gen_d_exports as lt, DEFAULT_API_BASE_URL_1 as m, ListEndpointsError as ma, VerifiedDomain as mc, GetFunctionResponses as mi, CreateFunctionResult as mn, ResendAgentSignupVerificationError as mo, DownloadDomainZoneFileData as mr, StartCliLoginInput as ms, startCliLogin as mt, PrimitiveClient as n, ListDeliveriesResponses as na, UpdateFilterData as nc, GetAccountErrors as ni, CreateFilterData as nn, ReplayEmailWebhooksData as no, DiscardEmailContentError as nr, SetFunctionSecretInput as ns, pollCliLogin as nt, SendInput as o, ListDomainsResponse as oa, UpdateFilterResponse as oc, GetEmailError as oi, CreateFilterResponse as on, ReplayEmailWebhooksResponses as oo, Domain as or, StartAgentSignupError as os, resendAgentSignupVerification as ot, verifyWebhookSignature as p, ListEndpointsData as pa, UpdateFunctionResponses as pc, GetFunctionResponse as pi, CreateFunctionResponses as pn, ResendAgentSignupVerificationData as po, DownloadAttachmentsResponses as pr, StartCliLoginErrors as ps, startAgentSignup as pt, listDeliveries as q, PollCliLoginErrors as qa, InboxStatusEndpointSummary as qi, DeleteFunctionSecretData as qn, SendPermissionRule as qo, FunctionTestRunOutboundRequest as qr, UpdateDomainInput as qs, CliSignupResendResult as qt, PrimitiveClientOptions as r, ListDomainsData as ra, UpdateFilterError as rc, GetAccountResponse as ri, CreateFilterError as rn, ReplayEmailWebhooksError as ro, DiscardEmailContentErrors as rr, SetFunctionSecretResponse as rs, replayDelivery as rt, SendResult as s, ListDomainsResponses as sa, UpdateFilterResponses as sc, GetEmailErrors as si, CreateFilterResponses as sn, ReplayResult as so, DomainDnsRecord as sr, StartAgentSignupErrors as ss, resendCliSignupVerification as st, ForwardInput as t, ListDeliveriesResponse as ta, UpdateEndpointResponses as tc, GetAccountError as ti, CreateEndpointResponses as tn, ReplayDeliveryResponses as to, DiscardEmailContentData as tr, SetFunctionSecretErrors as ts, listSentEmails as tt, createPrimitiveClient as u, ListEmailsErrors as ua, UpdateFunctionErrors as uc, GetFunctionData as ui, CreateFunctionErrors as un, ReplyToEmailErrors as uo, DownloadAttachmentsError as ur, StartAgentSignupResponses as us, searchEmails as ut, PrimitiveApiError as v, ListEnvelope as va, VerifyAgentSignupInput as vc, GetFunctionTestRunTraceResponse as vi, CreateFunctionSecretInput as vn, ResendAgentSignupVerificationResponses as vo, DownloadDomainZoneFileResponses as vr, StartCliSignupError as vs, updateAccount as vt, createEndpoint as w, ListFunctionLogsData as wa, VerifyCliSignupInput as wc, GetInboxStatusResponses as wi, DeleteDomainErrors as wn, ResendCliSignupVerificationResponses as wo, EmailDetail as wr, SuccessEnvelope as ws, verifyCliSignup as wt, createPrimitiveApiClient as x, ListFiltersErrors as xa, VerifyCliSignupData as xc, GetInboxStatusError as xi, Cursor as xn, ResendCliSignupVerificationErrors as xo, DownloadRawEmailErrors as xr, StartCliSignupResponse as xs, updateFilter as xt, PrimitiveApiErrorDetails as y, ListFiltersData as ya, VerifyAgentSignupResponse as yc, GetFunctionTestRunTraceResponses as yi, CreateFunctionSecretResponse as yn, ResendCliSignupVerificationData as yo, DownloadRawEmailData as yr, StartCliSignupErrors as ys, updateDomain as yt, getEmail as z, ListSentEmailsData as za, RequestOptions$2 as zc, GetStorageStatsResponses as zi, DeleteFilterErrors as zn, SendEmailResponse as zo, FunctionListItem as zr, UpdateAccountError as zs, CliLoginStartResult 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-C17n15Eq.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-D26g6K5Y.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-C7hBq-Wd.js";
1
+ import { l as PrimitiveApiError, n as client, r as createPrimitiveClient, t as PrimitiveClient } from "./api-DWgGnwKH.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-CDIos4wH.js";
1
+ import { n as openapiDocument, t as operationManifest } from "../operations.generated-DEtYrCU_.js";
2
2
  export { openapiDocument, operationManifest };