@primitivedotdev/sdk 0.34.0 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/api/index.d.ts +2 -2
- package/dist/api/index.js +3 -3
- package/dist/{api-Ox103I5d.js → api-2gC06vxj.js} +95 -13
- package/dist/{index-Bl9EHMFR.d.ts → index-CBt3RDtQ.d.ts} +266 -13
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/openapi/index.js +1 -1
- package/dist/{operations.generated-Cz2SoaH4.js → operations.generated-CZx0VGSj.js} +527 -2
- package/package.json +1 -1
|
@@ -1858,6 +1858,161 @@ type SentEmailSummary = {
|
|
|
1858
1858
|
*/
|
|
1859
1859
|
request_id?: string | null;
|
|
1860
1860
|
};
|
|
1861
|
+
/**
|
|
1862
|
+
* A searchable email field.
|
|
1863
|
+
*/
|
|
1864
|
+
type SemanticSearchField = 'subject' | 'headers' | 'addresses' | 'body';
|
|
1865
|
+
type SemanticSearchInput = {
|
|
1866
|
+
/**
|
|
1867
|
+
* Free-text query. Required for `semantic` and `hybrid` modes;
|
|
1868
|
+
* optional for `keyword` mode.
|
|
1869
|
+
*
|
|
1870
|
+
*/
|
|
1871
|
+
query?: string;
|
|
1872
|
+
/**
|
|
1873
|
+
* Ranking strategy. `keyword` is lexical only, `semantic` is
|
|
1874
|
+
* embedding-based, `hybrid` blends both.
|
|
1875
|
+
*
|
|
1876
|
+
*/
|
|
1877
|
+
mode?: 'hybrid' | 'semantic' | 'keyword';
|
|
1878
|
+
/**
|
|
1879
|
+
* Which mail to search. Defaults to both received (`inbound`)
|
|
1880
|
+
* and sent (`outbound`).
|
|
1881
|
+
*
|
|
1882
|
+
*/
|
|
1883
|
+
corpus?: Array<'inbound' | 'outbound'>;
|
|
1884
|
+
/**
|
|
1885
|
+
* Restrict matching to these fields. Defaults to all.
|
|
1886
|
+
*/
|
|
1887
|
+
search_in?: Array<SemanticSearchField>;
|
|
1888
|
+
/**
|
|
1889
|
+
* Exclude these fields from matching.
|
|
1890
|
+
*/
|
|
1891
|
+
exclude?: Array<SemanticSearchField>;
|
|
1892
|
+
/**
|
|
1893
|
+
* Only include mail at or after this timestamp.
|
|
1894
|
+
*/
|
|
1895
|
+
date_from?: string;
|
|
1896
|
+
/**
|
|
1897
|
+
* Only include mail at or before this timestamp.
|
|
1898
|
+
*/
|
|
1899
|
+
date_to?: string;
|
|
1900
|
+
/**
|
|
1901
|
+
* Opt-in extras. `coverage` adds an index-coverage snapshot to
|
|
1902
|
+
* `meta`. Matched fields, snippets, and the score breakdown are
|
|
1903
|
+
* always returned regardless of this field.
|
|
1904
|
+
*
|
|
1905
|
+
*/
|
|
1906
|
+
include?: Array<'coverage'>;
|
|
1907
|
+
/**
|
|
1908
|
+
* Maximum number of results to return.
|
|
1909
|
+
*/
|
|
1910
|
+
limit?: number;
|
|
1911
|
+
/**
|
|
1912
|
+
* Opaque pagination cursor from a prior response's `meta.cursor`.
|
|
1913
|
+
*/
|
|
1914
|
+
cursor?: string;
|
|
1915
|
+
};
|
|
1916
|
+
type SemanticSearchSnippet = {
|
|
1917
|
+
/**
|
|
1918
|
+
* The field this excerpt came from.
|
|
1919
|
+
*/
|
|
1920
|
+
field: string;
|
|
1921
|
+
/**
|
|
1922
|
+
* Plain-text excerpt centered on the match (no markup).
|
|
1923
|
+
*/
|
|
1924
|
+
text: string;
|
|
1925
|
+
};
|
|
1926
|
+
/**
|
|
1927
|
+
* Additive contributions to `score`. `semantic` and `keyword` are the
|
|
1928
|
+
* raw signals times the mode's weight (null when not applicable);
|
|
1929
|
+
* these plus `field_boost` and `recency` sum to `score` before each
|
|
1930
|
+
* value is independently rounded to 5 decimal places.
|
|
1931
|
+
*
|
|
1932
|
+
*/
|
|
1933
|
+
type SemanticSearchScoreBreakdown = {
|
|
1934
|
+
semantic: number | null;
|
|
1935
|
+
keyword: number | null;
|
|
1936
|
+
field_boost: number;
|
|
1937
|
+
recency: number;
|
|
1938
|
+
};
|
|
1939
|
+
type SemanticSearchResult = {
|
|
1940
|
+
/**
|
|
1941
|
+
* Whether this row is a received or sent message.
|
|
1942
|
+
*/
|
|
1943
|
+
source_type: 'inbound_email' | 'sent_email';
|
|
1944
|
+
/**
|
|
1945
|
+
* Message id. Combine with `api_url` to fetch the full record.
|
|
1946
|
+
*/
|
|
1947
|
+
id: string;
|
|
1948
|
+
subject: string | null;
|
|
1949
|
+
from: string | null;
|
|
1950
|
+
to: string | null;
|
|
1951
|
+
/**
|
|
1952
|
+
* Message timestamp (received_at for inbound, created_at for sent).
|
|
1953
|
+
*/
|
|
1954
|
+
timestamp: string;
|
|
1955
|
+
/**
|
|
1956
|
+
* Lifecycle status of the message.
|
|
1957
|
+
*/
|
|
1958
|
+
status: string;
|
|
1959
|
+
/**
|
|
1960
|
+
* Overall relevance score; the `score_breakdown` components account for it.
|
|
1961
|
+
*/
|
|
1962
|
+
score: number;
|
|
1963
|
+
/**
|
|
1964
|
+
* Raw semantic similarity signal, or null when not applicable.
|
|
1965
|
+
*/
|
|
1966
|
+
semantic_score: number | null;
|
|
1967
|
+
/**
|
|
1968
|
+
* Raw keyword (lexical) signal, or null when not applicable.
|
|
1969
|
+
*/
|
|
1970
|
+
keyword_score: number | null;
|
|
1971
|
+
/**
|
|
1972
|
+
* Fields where the query matched.
|
|
1973
|
+
*/
|
|
1974
|
+
matched_fields: Array<SemanticSearchField>;
|
|
1975
|
+
/**
|
|
1976
|
+
* Match-centered excerpts, one per matched field.
|
|
1977
|
+
*/
|
|
1978
|
+
snippets: Array<SemanticSearchSnippet>;
|
|
1979
|
+
score_breakdown: SemanticSearchScoreBreakdown;
|
|
1980
|
+
/**
|
|
1981
|
+
* Relative API path to fetch the full message.
|
|
1982
|
+
*/
|
|
1983
|
+
api_url: string | null;
|
|
1984
|
+
};
|
|
1985
|
+
/**
|
|
1986
|
+
* Index-coverage snapshot for the org, returned only when the `coverage` include option is requested.
|
|
1987
|
+
*/
|
|
1988
|
+
type SemanticSearchCoverage = {
|
|
1989
|
+
embedded_chunks: number;
|
|
1990
|
+
pending_chunks: number;
|
|
1991
|
+
skipped_plan_chunks: number;
|
|
1992
|
+
skipped_quota_chunks: number;
|
|
1993
|
+
unsupported_attachment_chunks: number;
|
|
1994
|
+
failed_chunks: number;
|
|
1995
|
+
};
|
|
1996
|
+
type SemanticSearchMeta = {
|
|
1997
|
+
/**
|
|
1998
|
+
* Page size used for this request.
|
|
1999
|
+
*/
|
|
2000
|
+
limit: number;
|
|
2001
|
+
/**
|
|
2002
|
+
* Cursor for the next page, or null if there are no more results.
|
|
2003
|
+
*/
|
|
2004
|
+
cursor: string | null;
|
|
2005
|
+
/**
|
|
2006
|
+
* Ranking mode used for this response.
|
|
2007
|
+
*/
|
|
2008
|
+
mode: 'hybrid' | 'semantic' | 'keyword';
|
|
2009
|
+
/**
|
|
2010
|
+
* Index-coverage snapshot, present only when requested via
|
|
2011
|
+
* `include: [coverage]`; otherwise null.
|
|
2012
|
+
*
|
|
2013
|
+
*/
|
|
2014
|
+
coverage: SemanticSearchCoverage | unknown;
|
|
2015
|
+
};
|
|
1861
2016
|
/**
|
|
1862
2017
|
* Full sent-email record, including `body_text` and
|
|
1863
2018
|
* `body_html`. Returned by /sent-emails/{id}.
|
|
@@ -1917,6 +2072,10 @@ type ReplyInput$1 = {
|
|
|
1917
2072
|
* When true, wait for the first downstream SMTP delivery outcome before returning, mirroring the send-mail `wait` semantics.
|
|
1918
2073
|
*/
|
|
1919
2074
|
wait?: boolean;
|
|
2075
|
+
/**
|
|
2076
|
+
* Inline attachments for this reply. Use https://api.primitive.dev/v1 for replies with attachments. Combined raw decoded attachment bytes must be at most 31457280.
|
|
2077
|
+
*/
|
|
2078
|
+
attachments?: Array<SendMailAttachment>;
|
|
1920
2079
|
};
|
|
1921
2080
|
type SendMailResult = {
|
|
1922
2081
|
/**
|
|
@@ -4285,6 +4444,48 @@ type SendEmailResponses = {
|
|
|
4285
4444
|
};
|
|
4286
4445
|
};
|
|
4287
4446
|
type SendEmailResponse = SendEmailResponses[keyof SendEmailResponses];
|
|
4447
|
+
type SemanticSearchData = {
|
|
4448
|
+
body: SemanticSearchInput;
|
|
4449
|
+
path?: never;
|
|
4450
|
+
query?: never;
|
|
4451
|
+
url: '/semantic-search';
|
|
4452
|
+
};
|
|
4453
|
+
type SemanticSearchErrors = {
|
|
4454
|
+
/**
|
|
4455
|
+
* Invalid request parameters
|
|
4456
|
+
*/
|
|
4457
|
+
400: ErrorResponse;
|
|
4458
|
+
/**
|
|
4459
|
+
* Invalid or missing API key
|
|
4460
|
+
*/
|
|
4461
|
+
401: ErrorResponse;
|
|
4462
|
+
/**
|
|
4463
|
+
* Authenticated caller lacks permission for the operation
|
|
4464
|
+
*/
|
|
4465
|
+
403: ErrorResponse;
|
|
4466
|
+
/**
|
|
4467
|
+
* Rate limit exceeded
|
|
4468
|
+
*/
|
|
4469
|
+
429: ErrorResponse;
|
|
4470
|
+
/**
|
|
4471
|
+
* Primitive encountered an internal error
|
|
4472
|
+
*/
|
|
4473
|
+
500: ErrorResponse;
|
|
4474
|
+
/**
|
|
4475
|
+
* Primitive is temporarily unable to process the request
|
|
4476
|
+
*/
|
|
4477
|
+
503: ErrorResponse;
|
|
4478
|
+
};
|
|
4479
|
+
type SemanticSearchError = SemanticSearchErrors[keyof SemanticSearchErrors];
|
|
4480
|
+
type SemanticSearchResponses = {
|
|
4481
|
+
/**
|
|
4482
|
+
* Ranked search results
|
|
4483
|
+
*/
|
|
4484
|
+
200: SuccessEnvelope & {
|
|
4485
|
+
data: Array<SemanticSearchResult>;
|
|
4486
|
+
meta: SemanticSearchMeta;
|
|
4487
|
+
};
|
|
4488
|
+
};
|
|
4288
4489
|
type ListSentEmailsData = {
|
|
4289
4490
|
body?: never;
|
|
4290
4491
|
path?: never;
|
|
@@ -4925,7 +5126,7 @@ type ListFunctionLogsResponses = {
|
|
|
4925
5126
|
};
|
|
4926
5127
|
type ListFunctionLogsResponse = ListFunctionLogsResponses[keyof ListFunctionLogsResponses];
|
|
4927
5128
|
declare namespace sdk_gen_d_exports {
|
|
4928
|
-
export { Options, addDomain, cliLogout, createEndpoint, createFilter, createFunction, createFunctionSecret, deleteDomain, deleteEmail, deleteEndpoint, deleteFilter, deleteFunction, deleteFunctionSecret, discardEmailContent, downloadAttachments, downloadDomainZoneFile, downloadRawEmail, getAccount, getConversation, getEmail, getFunction, getFunctionTestRunTrace, getInboxStatus, getSendPermissions, getSentEmail, getStorageStats, getThread, 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 };
|
|
5129
|
+
export { Options, addDomain, cliLogout, createEndpoint, createFilter, createFunction, createFunctionSecret, deleteDomain, deleteEmail, deleteEndpoint, deleteFilter, deleteFunction, deleteFunctionSecret, discardEmailContent, downloadAttachments, downloadDomainZoneFile, downloadRawEmail, getAccount, getConversation, getEmail, getFunction, getFunctionTestRunTrace, getInboxStatus, getSendPermissions, getSentEmail, getStorageStats, getThread, getWebhookSecret, listDeliveries, listDomains, listEmails, listEndpoints, listFilters, listFunctionLogs, listFunctionSecrets, listFunctions, listSentEmails, pollCliLogin, replayDelivery, replayEmailWebhooks, replyToEmail, resendAgentSignupVerification, resendCliSignupVerification, rotateWebhookSecret, searchEmails, semanticSearch, sendEmail, setFunctionSecret, startAgentSignup, startCliLogin, startCliSignup, testEndpoint, testFunction, updateAccount, updateDomain, updateEndpoint, updateFilter, updateFunction, verifyAgentSignup, verifyCliSignup, verifyDomain };
|
|
4929
5130
|
}
|
|
4930
5131
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options$1<TData, ThrowOnError, TResponse> & {
|
|
4931
5132
|
/**
|
|
@@ -5238,9 +5439,9 @@ declare const downloadAttachments: <ThrowOnError extends boolean = false>(option
|
|
|
5238
5439
|
* derivation (Reply-To, then From, then bare sender), and the
|
|
5239
5440
|
* `Re:` subject prefix are all derived server-side from the
|
|
5240
5441
|
* stored inbound row. The request body carries only the message
|
|
5241
|
-
* body
|
|
5242
|
-
*
|
|
5243
|
-
* false`).
|
|
5442
|
+
* body, optional From override, optional attachments, and optional
|
|
5443
|
+
* `wait` flag; passing any header or recipient override is
|
|
5444
|
+
* rejected by the schema (`additionalProperties: false`).
|
|
5244
5445
|
*
|
|
5245
5446
|
* Forwards through the same gates as `/send-mail`: the response
|
|
5246
5447
|
* status, error envelope, and `idempotent_replay` flag mirror
|
|
@@ -5455,6 +5656,31 @@ declare const getSendPermissions: <ThrowOnError extends boolean = false>(options
|
|
|
5455
5656
|
*
|
|
5456
5657
|
*/
|
|
5457
5658
|
declare const sendEmail: <ThrowOnError extends boolean = false>(options: Options<SendEmailData, ThrowOnError>) => RequestResult<SendEmailResponses, SendEmailErrors, ThrowOnError, "fields">;
|
|
5659
|
+
/**
|
|
5660
|
+
* Semantic search across received and sent mail
|
|
5661
|
+
*
|
|
5662
|
+
* Ranked search across both received and sent mail. The `mode`
|
|
5663
|
+
* field selects the ranking strategy:
|
|
5664
|
+
*
|
|
5665
|
+
* - `keyword`: lexical full-text matching only (no embeddings).
|
|
5666
|
+
* - `semantic`: meaning-based matching using vector embeddings.
|
|
5667
|
+
* - `hybrid` (default): blends the semantic and keyword signals.
|
|
5668
|
+
*
|
|
5669
|
+
* Results are ordered by a relevance `score`. Every row reports the
|
|
5670
|
+
* fields it matched (`matched_fields`), a match-centered excerpt per
|
|
5671
|
+
* field (`snippets`), and a `score_breakdown` whose components account
|
|
5672
|
+
* for the `score`. Page through results by passing the prior
|
|
5673
|
+
* response's `meta.cursor` back as `cursor`.
|
|
5674
|
+
*
|
|
5675
|
+
* Requires the Pro plan and the `semantic_search_enabled`
|
|
5676
|
+
* entitlement; callers without them receive `403`.
|
|
5677
|
+
*
|
|
5678
|
+
* Host routing: this operation is served only by the search host
|
|
5679
|
+
* (`https://api.primitive.dev/v1`). The typed SDKs route it there
|
|
5680
|
+
* automatically.
|
|
5681
|
+
*
|
|
5682
|
+
*/
|
|
5683
|
+
declare const semanticSearch: <ThrowOnError extends boolean = false>(options: Options<SemanticSearchData, ThrowOnError>) => RequestResult<SemanticSearchResponses, SemanticSearchErrors, ThrowOnError, "fields">;
|
|
5458
5684
|
/**
|
|
5459
5685
|
* List outbound sent emails
|
|
5460
5686
|
*
|
|
@@ -5742,18 +5968,19 @@ declare class PrimitiveApiClient {
|
|
|
5742
5968
|
/**
|
|
5743
5969
|
* Generated client targeting the primary API host (apiBaseUrl1). Use
|
|
5744
5970
|
* this when passing `client: ...` to a generated operation function
|
|
5745
|
-
* for every endpoint EXCEPT
|
|
5746
|
-
* PrimitiveClient.send / .reply / .forward methods on
|
|
5747
|
-
* route
|
|
5971
|
+
* for every endpoint EXCEPT attachment-capable message sends. The
|
|
5972
|
+
* hand-written PrimitiveClient.send / .reply / .forward methods on
|
|
5973
|
+
* the subclass route those sends to the host-2 client internally.
|
|
5748
5974
|
*/
|
|
5749
5975
|
readonly client: Client;
|
|
5750
5976
|
/**
|
|
5751
5977
|
* @internal Generated client targeting the attachments-supporting
|
|
5752
|
-
* send host (apiBaseUrl2). Used by PrimitiveClient.send()
|
|
5753
|
-
* hood. Exposed for the CLI's
|
|
5754
|
-
*
|
|
5755
|
-
*
|
|
5756
|
-
*
|
|
5978
|
+
* send host (apiBaseUrl2). Used by PrimitiveClient.send() and
|
|
5979
|
+
* PrimitiveClient.reply() under the hood. Exposed for the CLI's
|
|
5980
|
+
* hand-rolled send/reply commands, which call generated operations
|
|
5981
|
+
* directly; not part of the publicly-documented SDK surface.
|
|
5982
|
+
* Customer code should call .send() / .reply() on the subclass
|
|
5983
|
+
* instead.
|
|
5757
5984
|
*/
|
|
5758
5985
|
readonly _sendClient: Client;
|
|
5759
5986
|
constructor(options?: PrimitiveApiClientOptions);
|
|
@@ -5847,6 +6074,7 @@ interface SendThreadInput {
|
|
|
5847
6074
|
inReplyTo?: string;
|
|
5848
6075
|
references?: string[];
|
|
5849
6076
|
}
|
|
6077
|
+
type SendAttachment = SendMailAttachment;
|
|
5850
6078
|
interface SendInput {
|
|
5851
6079
|
from: string;
|
|
5852
6080
|
to: string;
|
|
@@ -5882,6 +6110,8 @@ interface RequestOptions {
|
|
|
5882
6110
|
* display name (`"Acme Support" <agent@company.com>`) or to reply
|
|
5883
6111
|
* from a different verified outbound address. The from-domain must
|
|
5884
6112
|
* be a verified outbound domain for your org.
|
|
6113
|
+
* - `attachments`: optional inline MIME attachments, using base64
|
|
6114
|
+
* content. The SDK routes replies to the attachment-capable host.
|
|
5885
6115
|
* - `wait`: when true, wait for the first downstream SMTP delivery
|
|
5886
6116
|
* outcome before resolving. Mirrors send-mail's `wait` semantics.
|
|
5887
6117
|
*
|
|
@@ -5894,6 +6124,7 @@ type ReplyInput = string | {
|
|
|
5894
6124
|
text?: string;
|
|
5895
6125
|
html?: string;
|
|
5896
6126
|
from?: string;
|
|
6127
|
+
attachments?: SendAttachment[];
|
|
5897
6128
|
wait?: boolean;
|
|
5898
6129
|
};
|
|
5899
6130
|
interface ForwardInput {
|
|
@@ -5921,9 +6152,31 @@ interface SendResult {
|
|
|
5921
6152
|
smtpResponseCode?: number | null;
|
|
5922
6153
|
smtpResponseText?: string;
|
|
5923
6154
|
}
|
|
6155
|
+
/**
|
|
6156
|
+
* Page of semantic-search results plus pagination meta. Returned by
|
|
6157
|
+
* `PrimitiveClient.semanticSearch`. `data` is the ranked rows (newest
|
|
6158
|
+
* tiebreak first within equal scores); `meta.cursor` is non-null when
|
|
6159
|
+
* there's another page.
|
|
6160
|
+
*/
|
|
6161
|
+
interface SemanticSearchResponse {
|
|
6162
|
+
data: SemanticSearchResult[];
|
|
6163
|
+
meta: SemanticSearchMeta;
|
|
6164
|
+
}
|
|
5924
6165
|
type PrimitiveClientOptions = PrimitiveApiClientOptions;
|
|
5925
6166
|
declare class PrimitiveClient extends PrimitiveApiClient {
|
|
5926
6167
|
send(input: SendInput, options?: RequestOptions): Promise<SendResult>;
|
|
6168
|
+
/**
|
|
6169
|
+
* Semantic / hybrid / keyword search across received and sent mail.
|
|
6170
|
+
*
|
|
6171
|
+
* `POST /v1/semantic-search` on the search host. Returns ranked rows
|
|
6172
|
+
* with matched fields, match-centered excerpts, and an additive
|
|
6173
|
+
* `score_breakdown`. See `SemanticSearchInput` for request fields and
|
|
6174
|
+
* `SemanticSearchResult` for the row shape.
|
|
6175
|
+
*
|
|
6176
|
+
* Requires the Pro plan and the `semantic_search_enabled` entitlement;
|
|
6177
|
+
* otherwise the call throws `PrimitiveApiError` with `status: 403`.
|
|
6178
|
+
*/
|
|
6179
|
+
semanticSearch(input: SemanticSearchInput, options?: RequestOptions): Promise<SemanticSearchResponse>;
|
|
5927
6180
|
/**
|
|
5928
6181
|
* Reply to an inbound email.
|
|
5929
6182
|
*
|
|
@@ -5944,4 +6197,4 @@ declare class PrimitiveClient extends PrimitiveApiClient {
|
|
|
5944
6197
|
declare function createPrimitiveClient(options?: PrimitiveClientOptions): PrimitiveClient;
|
|
5945
6198
|
declare function client(options?: PrimitiveClientOptions): PrimitiveClient;
|
|
5946
6199
|
//#endregion
|
|
5947
|
-
export { listFilters as $, ListFunctionsError as $a, WebhookSecret as $c, GetThreadData as $i, DeleteFunctionSecretErrors as $n, SearchEmailsResponse as $o, FunctionTestRunDeliveryEndpoint as $r, TestFunctionResponses as $s, ConversationMessage as $t, deleteEndpoint as A, ListEmailsResponses as Aa, UpdateFunctionError as Ac, GetFunctionTestRunTraceErrors as Ai, DeleteDomainResponses as An, ReplyToEmailResponse as Ao, EmailAttachment as Ar, StartCliLoginData as As, AddDomainData as At, getEmail as B, ListFiltersResponse as Ba, VerifyAgentSignupResponse as Bc, GetSendPermissionsErrors as Bi, DeleteEndpointResponses as Bn, ResendCliSignupVerificationErrors as Bo, EmailSummary as Br, StartCliSignupResponse as Bs, CliLoginPollResult as Bt, cliLogout as C, ListDomainsErrors as Ca, UpdateFilterData as Cc, GetFunctionData as Ci, CreateFunctionSecretResponse as Cn, ReplayEmailWebhooksErrors as Co, DownloadDomainZoneFileResponses as Cr, SetFunctionSecretResponses as Cs, updateFilter as Ct, createFunctionSecret as D, ListEmailsError as Da, UpdateFilterResponse as Dc, GetFunctionResponses as Di, DeleteDomainError as Dn, ReplyToEmailData as Do, DownloadRawEmailResponse as Dr, StartAgentSignupInput as Ds, verifyDomain as Dt, createFunction as E, ListEmailsData as Ea, UpdateFilterInput as Ec, GetFunctionResponse as Ei, DeleteDomainData as En, ReplayResult as Eo, DownloadRawEmailErrors as Er, StartAgentSignupErrors as Es, verifyCliSignup as Et, downloadAttachments as F, ListEndpointsResponses as Fa, VerifiedDomain as Fc, GetInboxStatusErrors as Fi, DeleteEmailResponses as Fn, ResendAgentSignupVerificationInput as Fo, EmailSearchFacets as Fr, StartCliLoginResponses as Fs, AddDomainResponses as Ft, getSentEmail as G, ListFunctionLogsResponse as Ga, VerifyCliSignupInput as Gc, GetSentEmailErrors as Gi, DeleteFilterResponses as Gn, RotateWebhookSecretData as Go, FunctionDeployStatus as Gr, TestEndpointError as Gs, CliLogoutInput as Gt, getFunctionTestRunTrace as H, ListFunctionLogsData as Ha, VerifyCliSignupData as Hc, GetSendPermissionsResponses as Hi, DeleteFilterError as Hn, ResendCliSignupVerificationResponse as Ho, Endpoint as Hr, StorageStats as Hs, CliLogoutData as Ht, downloadDomainZoneFile as I, ListEnvelope as Ia, VerifyAgentSignupData as Ic, GetInboxStatusResponse as Ii, DeleteEndpointData as In, ResendAgentSignupVerificationResponse as Io, EmailSearchHighlights as Ir, StartCliSignupData as Is, AgentOrgRef as It, getWebhookSecret as J, ListFunctionSecretsError as Ja, VerifyDomainData as Jc, GetStorageStatsData as Ji, DeleteFunctionErrors as Jn, RotateWebhookSecretResponse as Jo, FunctionLogRow as Jr, TestEndpointResponses as Js, CliLogoutResult as Jt, getStorageStats as K, ListFunctionLogsResponses as Ka, VerifyCliSignupResponse as Kc, GetSentEmailResponse as Ki, DeleteFunctionData as Kn, RotateWebhookSecretError as Ko, FunctionDetail as Kr, TestEndpointErrors as Ks, CliLogoutResponse as Kt, downloadRawEmail as L, ListFiltersData as La, VerifyAgentSignupError as Lc, GetInboxStatusResponses as Li, DeleteEndpointError as Ln, ResendAgentSignupVerificationResponses as Lo, EmailSearchMeta as Lr, StartCliSignupError as Ls, AgentSignupResendResult as Lt, deleteFunction as M, ListEndpointsError as Ma, UpdateFunctionInput as Mc, GetFunctionTestRunTraceResponses as Mi, DeleteEmailError as Mn, ResendAgentSignupVerificationData as Mo, EmailDetail as Mr, StartCliLoginErrors as Ms, AddDomainErrors as Mt, deleteFunctionSecret as N, ListEndpointsErrors as Na, UpdateFunctionResponse as Nc, GetInboxStatusData as Ni, DeleteEmailErrors as Nn, ResendAgentSignupVerificationError as No, EmailDetailReply as Nr, StartCliLoginInput as Ns, AddDomainInput as Nt, deleteDomain as O, ListEmailsErrors as Oa, UpdateFilterResponses as Oc, GetFunctionTestRunTraceData as Oi, DeleteDomainErrors as On, ReplyToEmailError as Oo, DownloadRawEmailResponses as Or, StartAgentSignupResponse as Os, Account as Ot, discardEmailContent as P, ListEndpointsResponse as Pa, UpdateFunctionResponses as Pc, GetInboxStatusError as Pi, DeleteEmailResponse as Pn, ResendAgentSignupVerificationErrors as Po, EmailSearchFacetBucket as Pr, StartCliLoginResponse as Ps, AddDomainResponse as Pt, listEndpoints as Q, ListFunctionsData as Qa, VerifyDomainResponses as Qc, GetStorageStatsResponses as Qi, DeleteFunctionSecretError as Qn, SearchEmailsErrors as Qo, FunctionTestRunDelivery as Qr, TestFunctionResponse as Qs, Conversation as Qt, getAccount as R, ListFiltersError as Ra, VerifyAgentSignupErrors as Rc, GetSendPermissionsData as Ri, DeleteEndpointErrors as Rn, ResendCliSignupVerificationData as Ro, EmailSearchResult as Rr, StartCliSignupErrors as Rs, AgentSignupStartResult as Rt, addDomain as S, ListDomainsError as Sa, UpdateEndpointResponses as Sc, GetEmailResponses as Si, CreateFunctionSecretInput as Sn, ReplayEmailWebhooksError as So, DownloadDomainZoneFileResponse as Sr, SetFunctionSecretResponse as Ss, updateEndpoint as St, createFilter as T, ListDomainsResponses as Ta, UpdateFilterErrors as Tc, GetFunctionErrors as Ti, Cursor as Tn, ReplayEmailWebhooksResponses as To, DownloadRawEmailError as Tr, StartAgentSignupError as Ts, verifyAgentSignup as Tt, getInboxStatus as U, ListFunctionLogsError as Ua, VerifyCliSignupError as Uc, GetSentEmailData as Ui, DeleteFilterErrors as Un, ResendCliSignupVerificationResponses as Uo, ErrorResponse as Ur, SuccessEnvelope as Us, CliLogoutError as Ut, getFunction as V, ListFiltersResponses as Va, VerifyAgentSignupResponses as Vc, GetSendPermissionsResponse as Vi, DeleteFilterData as Vn, ResendCliSignupVerificationInput as Vo, EmailWebhookStatus as Vr, StartCliSignupResponses as Vs, CliLoginStartResult as Vt, getSendPermissions as W, ListFunctionLogsErrors as Wa, VerifyCliSignupErrors as Wc, GetSentEmailError as Wi, DeleteFilterResponse as Wn, ResourceId as Wo, Filter as Wr, TestEndpointData as Ws, CliLogoutErrors as Wt, listDomains as X, ListFunctionSecretsResponse as Xa, VerifyDomainErrors as Xc, GetStorageStatsErrors as Xi, DeleteFunctionResponses as Xn, SearchEmailsData as Xo, FunctionSecretWriteResult as Xr, TestFunctionError as Xs, CliSignupStartResult as Xt, listDeliveries as Y, ListFunctionSecretsErrors as Ya, VerifyDomainError as Yc, GetStorageStatsError as Yi, DeleteFunctionResponse as Yn, RotateWebhookSecretResponses as Yo, FunctionSecretListItem as Yr, TestFunctionData as Ys, CliSignupResendResult as Yt, listEmails as Z, ListFunctionSecretsResponses as Za, VerifyDomainResponse as Zc, GetStorageStatsResponse as Zi, DeleteFunctionSecretData as Zn, SearchEmailsError as Zo, FunctionTestRun as Zr, TestFunctionErrors as Zs, CliSignupVerifyResult as Zt, PrimitiveApiClientOptions as _, ListDeliveriesError as _a, UpdateEndpointData as _c, GetConversationResponses as _i, CreateFunctionResponses as _n, ReplayDeliveryError as _o, DownloadAttachmentsResponse as _r, SentEmailSummary as _s, startCliSignup as _t, RequestOptions as a, GetWebhookSecretError as aa, UpdateAccountData as ac, FunctionTestRunTrace as ai, Options$1 as al, CreateEndpointResponses as an, ListSentEmailsErrors as ao, DiscardEmailContentData as ar, SendEmailResponses as as, replayDelivery as at, RequestOptions$1 as b, ListDeliveriesResponses as ba, UpdateEndpointInput as bc, GetEmailErrors as bi, CreateFunctionSecretError as bn, ReplayDeliveryResponses as bo, DownloadDomainZoneFileError as br, SetFunctionSecretErrors as bs, updateAccount as bt, SendThreadInput as c, GetWebhookSecretResponses as ca, UpdateAccountInput as cc, GetAccountData as ci, ResponseStyle as cl, CreateFilterErrors as cn, PaginationMeta as co, DiscardEmailContentResponse as cr, SendMailResult as cs, resendAgentSignupVerification as ct, PRIMITIVE_SIGNATURE_HEADER as d, InboxStatusEndpointSummary as da, UpdateDomainData as dc, GetAccountResponse as di, CreateFilterResponses as dn, PollCliLoginError as do, Domain as dr, SendPermissionManagedZone as ds, sdk_gen_d_exports as dt, GetThreadError as ea, TestInvocationResult as ec, FunctionTestRunInboundEmail as ei, createClient as el, CreateEndpointData as en, ListFunctionsErrors as eo, DeleteFunctionSecretResponse as er, SearchEmailsResponses as es, listFunctionLogs as et, VerifyOptions as f, InboxStatusFunctionSummary as fa, UpdateDomainError as fc, GetAccountResponses as fi, CreateFunctionData as fn, PollCliLoginErrors as fo, DomainDnsRecord as fr, SendPermissionRule as fs, searchEmails as ft, PrimitiveApiClient as g, ListDeliveriesData as ga, UpdateDomainResponses as gc, GetConversationResponse as gi, CreateFunctionResponse as gn, ReplayDeliveryData as go, DownloadAttachmentsErrors as gr, SentEmailStatus as gs, startCliLogin as gt, DEFAULT_API_BASE_URL_2 as h, Limit as ha, UpdateDomainResponse as hc, GetConversationErrors as hi, CreateFunctionInput as hn, PollCliLoginResponses as ho, DownloadAttachmentsError as hr, SentEmailDetail as hs, startAgentSignup as ht, ReplyInput as i, GetWebhookSecretData as ia, UnverifiedDomain as ic, FunctionTestRunState as ii, CreateClientConfig as il, CreateEndpointResponse as in, ListSentEmailsError as io, DiscardContentResult as ir, SendEmailResponse as is, pollCliLogin as it, deleteFilter as j, ListEndpointsData as ja, UpdateFunctionErrors as jc, GetFunctionTestRunTraceResponse as ji, DeleteEmailData as jn, ReplyToEmailResponses as jo, EmailAuth as jr, StartCliLoginError as js, AddDomainError as jt, deleteEmail as k, ListEmailsResponse as ka, UpdateFunctionData as kc, GetFunctionTestRunTraceError as ki, DeleteDomainResponse as kn, ReplyToEmailErrors as ko, EmailAddress as kr, StartAgentSignupResponses as ks, AccountUpdated as kt, client as l, InboxStatus as la, UpdateAccountResponse as lc, GetAccountError as li, createConfig as ll, CreateFilterInput as ln, ParsedEmailData as lo, DiscardEmailContentResponses as lr, SendPermissionAddress as ls, resendCliSignupVerification as lt, DEFAULT_API_BASE_URL_1 as m, InboxStatusRecentEmailSummary as ma, UpdateDomainInput as mc, GetConversationError as mi, CreateFunctionErrors as mn, PollCliLoginResponse as mo, DownloadAttachmentsData as mr, SendPermissionsMeta as ms, setFunctionSecret as mt, PrimitiveClient as n, GetThreadResponse as na, Thread as nc, FunctionTestRunReply as ni, ClientOptions as nl, CreateEndpointErrors as nn, ListFunctionsResponses as no, DeliveryStatus as nr, SendEmailError as ns, listFunctions as nt, SendInput as o, GetWebhookSecretErrors as oa, UpdateAccountError as oc, GateDenial as oi, RequestOptions$2 as ol, CreateFilterData as on, ListSentEmailsResponse as oo, DiscardEmailContentError as or, SendMailAttachment as os, replayEmailWebhooks as ot, verifyWebhookSignature as p, InboxStatusNextAction as pa, UpdateDomainErrors as pc, GetConversationData as pi, CreateFunctionError as pn, PollCliLoginInput as po, DomainVerifyResult as pr, SendPermissionYourDomain as ps, sendEmail as pt, getThread as q, ListFunctionSecretsData as qa, VerifyCliSignupResponses as qc, GetSentEmailResponses as qi, DeleteFunctionError as qn, RotateWebhookSecretErrors as qo, FunctionListItem as qr, TestEndpointResponse as qs, CliLogoutResponses as qt, PrimitiveClientOptions as r, GetThreadResponses as ra, ThreadMessage as rc, FunctionTestRunSend as ri, Config as rl, CreateEndpointInput as rn, ListSentEmailsData as ro, DeliverySummary as rr, SendEmailErrors as rs, listSentEmails as rt, SendResult as s, GetWebhookSecretResponse as sa, UpdateAccountErrors as sc, GateFix as si, RequestResult as sl, CreateFilterError as sn, ListSentEmailsResponses as so, DiscardEmailContentErrors as sr, SendMailInput as ss, replyToEmail as st, ForwardInput as t, GetThreadErrors as ta, TestResult as tc, FunctionTestRunOutboundRequest as ti, Client as tl, CreateEndpointError as tn, ListFunctionsResponse as to, DeleteFunctionSecretResponses as tr, SendEmailData as ts, listFunctionSecrets as tt, createPrimitiveClient as u, InboxStatusDomain as ua, UpdateAccountResponses as uc, GetAccountErrors as ui, Auth as ul, CreateFilterResponse as un, PollCliLoginData as uo, DkimSignature as ur, SendPermissionAnyRecipient as us, rotateWebhookSecret as ut, PrimitiveApiError as v, ListDeliveriesErrors as va, UpdateEndpointError as vc, GetEmailData as vi, CreateFunctionResult as vn, ReplayDeliveryErrors as vo, DownloadAttachmentsResponses as vr, SetFunctionSecretData as vs, testEndpoint as vt, createEndpoint as w, ListDomainsResponse as wa, UpdateFilterError as wc, GetFunctionError as wi, CreateFunctionSecretResponses as wn, ReplayEmailWebhooksResponse as wo, DownloadRawEmailData as wr, StartAgentSignupData as ws, updateFunction as wt, createPrimitiveApiClient as x, ListDomainsData as xa, UpdateEndpointResponse as xc, GetEmailResponse as xi, CreateFunctionSecretErrors as xn, ReplayEmailWebhooksData as xo, DownloadDomainZoneFileErrors as xr, SetFunctionSecretInput as xs, updateDomain as xt, PrimitiveApiErrorDetails as y, ListDeliveriesResponse as ya, UpdateEndpointErrors as yc, GetEmailError as yi, CreateFunctionSecretData as yn, ReplayDeliveryResponse as yo, DownloadDomainZoneFileData as yr, SetFunctionSecretError as ys, testFunction as yt, getConversation as z, ListFiltersErrors as za, VerifyAgentSignupInput as zc, GetSendPermissionsError as zi, DeleteEndpointResponse as zn, ResendCliSignupVerificationError as zo, EmailStatus as zr, StartCliSignupInput as zs, AgentSignupVerifyResult as zt };
|
|
6200
|
+
export { listEmails as $, ListFunctionSecretsResponse as $a, VerifyAgentSignupInput as $c, GetStorageStatsErrors as $i, DeleteFunctionResponses as $n, SearchEmailsData as $o, FunctionSecretWriteResult as $r, StartCliSignupInput as $s, CliSignupStartResult as $t, deleteDomain as A, ListEmailsError as Aa, UpdateDomainResponses as Ac, GetFunctionResponses as Ai, DeleteDomainError as An, ReplyToEmailData as Ao, DownloadRawEmailResponse as Ar, SentEmailStatus as As, verifyDomain as At, getAccount as B, ListFiltersData as Ba, UpdateFilterInput as Bc, GetInboxStatusResponses as Bi, DeleteEndpointError as Bn, ResendAgentSignupVerificationResponses as Bo, EmailSearchMeta as Br, StartAgentSignupErrors as Bs, AgentSignupResendResult as Bt, createPrimitiveApiClient as C, ListDeliveriesResponses as Ca, UpdateAccountResponse as Cc, GetEmailErrors as Ci, createConfig as Cl, CreateFunctionSecretError as Cn, ReplayDeliveryResponses as Co, DownloadDomainZoneFileError as Cr, SendPermissionAddress as Cs, updateAccount as Ct, createFilter as D, ListDomainsResponse as Da, UpdateDomainErrors as Dc, GetFunctionError as Di, CreateFunctionSecretResponses as Dn, ReplayEmailWebhooksResponse as Do, DownloadRawEmailData as Dr, SendPermissionYourDomain as Ds, updateFunction as Dt, createEndpoint as E, ListDomainsErrors as Ea, UpdateDomainError as Ec, GetFunctionData as Ei, CreateFunctionSecretResponse as En, ReplayEmailWebhooksErrors as Eo, DownloadDomainZoneFileResponses as Er, SendPermissionRule as Es, updateFilter as Et, deleteFunctionSecret as F, ListEndpointsError as Fa, UpdateEndpointResponse as Fc, GetFunctionTestRunTraceResponses as Fi, DeleteEmailError as Fn, ResendAgentSignupVerificationData as Fo, EmailDetail as Fr, SetFunctionSecretInput as Fs, AddDomainErrors as Ft, getInboxStatus as G, ListFunctionLogsData as Ga, UpdateFunctionErrors as Gc, GetSendPermissionsResponses as Gi, DeleteFilterError as Gn, ResendCliSignupVerificationResponse as Go, Endpoint as Gr, StartCliLoginError as Gs, CliLogoutData as Gt, getEmail as H, ListFiltersErrors as Ha, UpdateFilterResponses as Hc, GetSendPermissionsError as Hi, DeleteEndpointResponse as Hn, ResendCliSignupVerificationError as Ho, EmailStatus as Hr, StartAgentSignupResponse as Hs, AgentSignupVerifyResult as Ht, discardEmailContent as I, ListEndpointsErrors as Ia, UpdateEndpointResponses as Ic, GetInboxStatusData as Ii, DeleteEmailErrors as In, ResendAgentSignupVerificationError as Io, EmailDetailReply as Ir, SetFunctionSecretResponse as Is, AddDomainInput as It, getStorageStats as J, ListFunctionLogsResponse as Ja, UpdateFunctionResponses as Jc, GetSentEmailErrors as Ji, DeleteFilterResponses as Jn, RotateWebhookSecretData as Jo, FunctionDeployStatus as Jr, StartCliLoginResponse as Js, CliLogoutInput as Jt, getSendPermissions as K, ListFunctionLogsError as Ka, UpdateFunctionInput as Kc, GetSentEmailData as Ki, DeleteFilterErrors as Kn, ResendCliSignupVerificationResponses as Ko, ErrorResponse as Kr, StartCliLoginErrors as Ks, CliLogoutError as Kt, downloadAttachments as L, ListEndpointsResponse as La, UpdateFilterData as Lc, GetInboxStatusError as Li, DeleteEmailResponse as Ln, ResendAgentSignupVerificationErrors as Lo, EmailSearchFacetBucket as Lr, SetFunctionSecretResponses as Ls, AddDomainResponse as Lt, deleteEndpoint as M, ListEmailsResponse as Ma, UpdateEndpointError as Mc, GetFunctionTestRunTraceError as Mi, DeleteDomainResponse as Mn, ReplyToEmailErrors as Mo, EmailAddress as Mr, SetFunctionSecretData as Ms, AccountUpdated as Mt, deleteFilter as N, ListEmailsResponses as Na, UpdateEndpointErrors as Nc, GetFunctionTestRunTraceErrors as Ni, DeleteDomainResponses as Nn, ReplyToEmailResponse as No, EmailAttachment as Nr, SetFunctionSecretError as Ns, AddDomainData as Nt, createFunction as O, ListDomainsResponses as Oa, UpdateDomainInput as Oc, GetFunctionErrors as Oi, Cursor as On, ReplayEmailWebhooksResponses as Oo, DownloadRawEmailError as Or, SendPermissionsMeta as Os, verifyAgentSignup as Ot, deleteFunction as P, ListEndpointsData as Pa, UpdateEndpointInput as Pc, GetFunctionTestRunTraceResponse as Pi, DeleteEmailData as Pn, ReplyToEmailResponses as Po, EmailAuth as Pr, SetFunctionSecretErrors as Ps, AddDomainError as Pt, listDomains as Q, ListFunctionSecretsErrors as Qa, VerifyAgentSignupErrors as Qc, GetStorageStatsError as Qi, DeleteFunctionResponse as Qn, RotateWebhookSecretResponses as Qo, FunctionSecretListItem as Qr, StartCliSignupErrors as Qs, CliSignupResendResult as Qt, downloadDomainZoneFile as R, ListEndpointsResponses as Ra, UpdateFilterError as Rc, GetInboxStatusErrors as Ri, DeleteEmailResponses as Rn, ResendAgentSignupVerificationInput as Ro, EmailSearchFacets as Rr, StartAgentSignupData as Rs, AddDomainResponses as Rt, RequestOptions$1 as S, ListDeliveriesResponse as Sa, UpdateAccountInput as Sc, GetEmailError as Si, ResponseStyle as Sl, CreateFunctionSecretData as Sn, ReplayDeliveryResponse as So, DownloadDomainZoneFileData as Sr, SendMailResult as Ss, testFunction as St, cliLogout as T, ListDomainsError as Ta, UpdateDomainData as Tc, GetEmailResponses as Ti, CreateFunctionSecretInput as Tn, ReplayEmailWebhooksError as To, DownloadDomainZoneFileResponse as Tr, SendPermissionManagedZone as Ts, updateEndpoint as Tt, getFunction as U, ListFiltersResponse as Ua, UpdateFunctionData as Uc, GetSendPermissionsErrors as Ui, DeleteEndpointResponses as Un, ResendCliSignupVerificationErrors as Uo, EmailSummary as Ur, StartAgentSignupResponses as Us, CliLoginPollResult as Ut, getConversation as V, ListFiltersError as Va, UpdateFilterResponse as Vc, GetSendPermissionsData as Vi, DeleteEndpointErrors as Vn, ResendCliSignupVerificationData as Vo, EmailSearchResult as Vr, StartAgentSignupInput as Vs, AgentSignupStartResult as Vt, getFunctionTestRunTrace as W, ListFiltersResponses as Wa, UpdateFunctionError as Wc, GetSendPermissionsResponse as Wi, DeleteFilterData as Wn, ResendCliSignupVerificationInput as Wo, EmailWebhookStatus as Wr, StartCliLoginData as Ws, CliLoginStartResult as Wt, getWebhookSecret as X, ListFunctionSecretsData as Xa, VerifyAgentSignupData as Xc, GetSentEmailResponses as Xi, DeleteFunctionError as Xn, RotateWebhookSecretErrors as Xo, FunctionListItem as Xr, StartCliSignupData as Xs, CliLogoutResponses as Xt, getThread as Y, ListFunctionLogsResponses as Ya, VerifiedDomain as Yc, GetSentEmailResponse as Yi, DeleteFunctionData as Yn, RotateWebhookSecretError as Yo, FunctionDetail as Yr, StartCliLoginResponses as Ys, CliLogoutResponse as Yt, listDeliveries as Z, ListFunctionSecretsError as Za, VerifyAgentSignupError as Zc, GetStorageStatsData as Zi, DeleteFunctionErrors as Zn, RotateWebhookSecretResponse as Zo, FunctionLogRow as Zr, StartCliSignupError as Zs, CliLogoutResult as Zt, DEFAULT_API_BASE_URL_2 as _, InboxStatusRecentEmailSummary as _a, ThreadMessage as _c, GetConversationError as _i, Config as _l, CreateFunctionErrors as _n, PollCliLoginResponse as _o, DownloadAttachmentsData as _r, SendEmailErrors as _s, setFunctionSecret as _t, RequestOptions as a, GetThreadResponse as aa, TestEndpointError as ac, FunctionTestRunReply as ai, VerifyCliSignupInput as al, CreateEndpointErrors as an, ListFunctionsResponses as ao, DeliveryStatus as ar, SemanticSearchData as as, listSentEmails as at, PrimitiveApiError as b, ListDeliveriesError as ba, UpdateAccountError as bc, GetConversationResponses as bi, RequestOptions$2 as bl, CreateFunctionResponses as bn, ReplayDeliveryError as bo, DownloadAttachmentsResponse as br, SendMailAttachment as bs, startCliSignup as bt, SendInput as c, GetWebhookSecretError as ca, TestEndpointResponses as cc, FunctionTestRunTrace as ci, VerifyDomainData as cl, CreateEndpointResponses as cn, ListSentEmailsErrors as co, DiscardEmailContentData as cr, SemanticSearchField as cs, replayEmailWebhooks as ct, client as d, GetWebhookSecretResponses as da, TestFunctionErrors as dc, GetAccountData as di, VerifyDomainResponse as dl, CreateFilterErrors as dn, PaginationMeta as do, DiscardEmailContentResponse as dr, SemanticSearchResponses as ds, resendCliSignupVerification as dt, GetStorageStatsResponse as ea, StartCliSignupResponse as ec, FunctionTestRun as ei, VerifyAgentSignupResponse as el, CliSignupVerifyResult as en, ListFunctionSecretsResponses as eo, DeleteFunctionSecretData as er, SearchEmailsError as es, listEndpoints as et, createPrimitiveClient as f, InboxStatus as fa, TestFunctionResponse as fc, GetAccountError as fi, VerifyDomainResponses as fl, CreateFilterInput as fn, ParsedEmailData as fo, DiscardEmailContentResponses as fr, SemanticSearchResult as fs, rotateWebhookSecret as ft, DEFAULT_API_BASE_URL_1 as g, InboxStatusNextAction as ga, Thread as gc, GetConversationData as gi, ClientOptions as gl, CreateFunctionError as gn, PollCliLoginInput as go, DomainVerifyResult as gr, SendEmailError as gs, sendEmail as gt, verifyWebhookSignature as h, InboxStatusFunctionSummary as ha, TestResult as hc, GetAccountResponses as hi, Client as hl, CreateFunctionData as hn, PollCliLoginErrors as ho, DomainDnsRecord as hr, SendEmailData as hs, semanticSearch as ht, ReplyInput as i, GetThreadErrors as ia, TestEndpointData as ic, FunctionTestRunOutboundRequest as ii, VerifyCliSignupErrors as il, CreateEndpointError as in, ListFunctionsResponse as io, DeleteFunctionSecretResponses as ir, SemanticSearchCoverage as is, listFunctions as it, deleteEmail as j, ListEmailsErrors as ja, UpdateEndpointData as jc, GetFunctionTestRunTraceData as ji, DeleteDomainErrors as jn, ReplyToEmailError as jo, DownloadRawEmailResponses as jr, SentEmailSummary as js, Account as jt, createFunctionSecret as k, ListEmailsData as ka, UpdateDomainResponse as kc, GetFunctionResponse as ki, DeleteDomainData as kn, ReplayResult as ko, DownloadRawEmailErrors as kr, SentEmailDetail as ks, verifyCliSignup as kt, SendResult as l, GetWebhookSecretErrors as la, TestFunctionData as lc, GateDenial as li, VerifyDomainError as ll, CreateFilterData as ln, ListSentEmailsResponse as lo, DiscardEmailContentError as lr, SemanticSearchInput as ls, replyToEmail as lt, VerifyOptions as m, InboxStatusEndpointSummary as ma, TestInvocationResult as mc, GetAccountResponse as mi, createClient as ml, CreateFilterResponses as mn, PollCliLoginError as mo, Domain as mr, SemanticSearchSnippet as ms, searchEmails as mt, PrimitiveClient as n, GetThreadData as na, StorageStats as nc, FunctionTestRunDeliveryEndpoint as ni, VerifyCliSignupData as nl, ConversationMessage as nn, ListFunctionsError as no, DeleteFunctionSecretErrors as nr, SearchEmailsResponse as ns, listFunctionLogs as nt, SemanticSearchResponse as o, GetThreadResponses as oa, TestEndpointErrors as oc, FunctionTestRunSend as oi, VerifyCliSignupResponse as ol, CreateEndpointInput as on, ListSentEmailsData as oo, DeliverySummary as or, SemanticSearchError as os, pollCliLogin as ot, PRIMITIVE_SIGNATURE_HEADER as p, InboxStatusDomain as pa, TestFunctionResponses as pc, GetAccountErrors as pi, WebhookSecret as pl, CreateFilterResponse as pn, PollCliLoginData as po, DkimSignature as pr, SemanticSearchScoreBreakdown as ps, sdk_gen_d_exports as pt, getSentEmail as q, ListFunctionLogsErrors as qa, UpdateFunctionResponse as qc, GetSentEmailError as qi, DeleteFilterResponse as qn, ResourceId as qo, Filter as qr, StartCliLoginInput as qs, CliLogoutErrors as qt, PrimitiveClientOptions as r, GetThreadError as ra, SuccessEnvelope as rc, FunctionTestRunInboundEmail as ri, VerifyCliSignupError as rl, CreateEndpointData as rn, ListFunctionsErrors as ro, DeleteFunctionSecretResponse as rr, SearchEmailsResponses as rs, listFunctionSecrets as rt, SendAttachment as s, GetWebhookSecretData as sa, TestEndpointResponse as sc, FunctionTestRunState as si, VerifyCliSignupResponses as sl, CreateEndpointResponse as sn, ListSentEmailsError as so, DiscardContentResult as sr, SemanticSearchErrors as ss, replayDelivery as st, ForwardInput as t, GetStorageStatsResponses as ta, StartCliSignupResponses as tc, FunctionTestRunDelivery as ti, VerifyAgentSignupResponses as tl, Conversation as tn, ListFunctionsData as to, DeleteFunctionSecretError as tr, SearchEmailsErrors as ts, listFilters as tt, SendThreadInput as u, GetWebhookSecretResponse as ua, TestFunctionError as uc, GateFix as ui, VerifyDomainErrors as ul, CreateFilterError as un, ListSentEmailsResponses as uo, DiscardEmailContentErrors as ur, SemanticSearchMeta as us, resendAgentSignupVerification as ut, PrimitiveApiClient as v, Limit as va, UnverifiedDomain as vc, GetConversationErrors as vi, CreateClientConfig as vl, CreateFunctionInput as vn, PollCliLoginResponses as vo, DownloadAttachmentsError as vr, SendEmailResponse as vs, startAgentSignup as vt, addDomain as w, ListDomainsData as wa, UpdateAccountResponses as wc, GetEmailResponse as wi, Auth as wl, CreateFunctionSecretErrors as wn, ReplayEmailWebhooksData as wo, DownloadDomainZoneFileErrors as wr, SendPermissionAnyRecipient as ws, updateDomain as wt, PrimitiveApiErrorDetails as x, ListDeliveriesErrors as xa, UpdateAccountErrors as xc, GetEmailData as xi, RequestResult as xl, CreateFunctionResult as xn, ReplayDeliveryErrors as xo, DownloadAttachmentsResponses as xr, SendMailInput as xs, testEndpoint as xt, PrimitiveApiClientOptions as y, ListDeliveriesData as ya, UpdateAccountData as yc, GetConversationResponse as yi, Options$1 as yl, CreateFunctionResponse as yn, ReplayDeliveryData as yo, DownloadAttachmentsErrors as yr, SendEmailResponses as ys, startCliLogin as yt, downloadRawEmail as z, ListEnvelope as za, UpdateFilterErrors as zc, GetInboxStatusResponse as zi, DeleteEndpointData as zn, ResendAgentSignupVerificationResponse as zo, EmailSearchHighlights as zr, StartAgentSignupError as zs, AgentOrgRef as zt };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { b as PrimitiveApiError, c as SendInput, d as client, f as createPrimitiveClient, i as ReplyInput, l as SendResult, n as PrimitiveClient, r as PrimitiveClientOptions, s as SendAttachment, t as ForwardInput, u as SendThreadInput } from "./index-CBt3RDtQ.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-yNU-Oiea.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-7E9sW9eX.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-DR978rq5.js";
|
|
@@ -9,4 +9,4 @@ declare const primitive: {
|
|
|
9
9
|
receive: typeof receive;
|
|
10
10
|
};
|
|
11
11
|
//#endregion
|
|
12
|
-
export { AuthConfidence, AuthVerdict, DecodeRawEmailOptions, DkimResult, DkimSignature, DmarcPolicy, DmarcResult, EmailAddress, EmailAnalysis, EmailAuth, EmailReceivedEvent, EventType, ForwardAnalysis, type ForwardInput, ForwardOriginalSender, ForwardResult, ForwardResultAttachmentAnalyzed, ForwardResultAttachmentSkipped, ForwardResultInline, ForwardVerdict, ForwardVerification, GenerateDownloadTokenOptions, HandleWebhookOptions, KnownWebhookEvent, LEGACY_CONFIRMED_HEADER, LEGACY_SIGNATURE_HEADER, PAYLOAD_ERRORS, PRIMITIVE_CONFIRMED_HEADER, PRIMITIVE_SIGNATURE_HEADER, ParsedData, ParsedDataComplete, ParsedDataFailed, ParsedError, ParsedStatus, PrimitiveApiError, PrimitiveClient, type PrimitiveClientOptions, PrimitiveWebhookError, RAW_EMAIL_ERRORS, RawContent, RawContentDownloadOnly, RawContentInline, RawEmailDecodeError, RawEmailDecodeErrorCode, ReceiveRequestOptions, ReceivedEmail, ReceivedEmailAddress, ReceivedEmailThread, type ReplyInput, STANDARD_WEBHOOK_ID_HEADER, STANDARD_WEBHOOK_SIGNATURE_HEADER, STANDARD_WEBHOOK_TIMESTAMP_HEADER, type SendInput, type SendResult, type SendThreadInput, SignResult, SpfResult, StandardWebhooksSignResult, StandardWebhooksVerifyOptions, UnknownEvent, VERIFICATION_ERRORS, ValidateEmailAuthResult, VerifyDownloadTokenOptions, VerifyDownloadTokenResult, VerifyOptions, WEBHOOK_VERSION, WebhookAttachment, WebhookErrorCode, WebhookEvent, WebhookHeaders, WebhookPayloadError, WebhookPayloadErrorCode, WebhookValidationError, WebhookValidationErrorCode, WebhookVerificationError, WebhookVerificationErrorCode, buildForwardSubject, buildReplySubject, client, confirmedHeaders, createPrimitiveClient, decodeRawEmail, primitive as default, emailReceivedEventJsonSchema, formatAddress, generateDownloadToken, getDownloadTimeRemaining, handleWebhook, isDownloadExpired, isEmailReceivedEvent, isRawIncluded, normalizeReceivedEmail, parseHeaderAddress, parseWebhookEvent, receive, safeValidateEmailReceivedEvent, signStandardWebhooksPayload, signWebhookPayload, validateEmailAuth, validateEmailReceivedEvent, verifyDownloadToken, verifyRawEmailDownload, verifyStandardWebhooksSignature, verifyWebhookSignature };
|
|
12
|
+
export { AuthConfidence, AuthVerdict, DecodeRawEmailOptions, DkimResult, DkimSignature, DmarcPolicy, DmarcResult, EmailAddress, EmailAnalysis, EmailAuth, EmailReceivedEvent, EventType, ForwardAnalysis, type ForwardInput, ForwardOriginalSender, ForwardResult, ForwardResultAttachmentAnalyzed, ForwardResultAttachmentSkipped, ForwardResultInline, ForwardVerdict, ForwardVerification, GenerateDownloadTokenOptions, HandleWebhookOptions, KnownWebhookEvent, LEGACY_CONFIRMED_HEADER, LEGACY_SIGNATURE_HEADER, PAYLOAD_ERRORS, PRIMITIVE_CONFIRMED_HEADER, PRIMITIVE_SIGNATURE_HEADER, ParsedData, ParsedDataComplete, ParsedDataFailed, ParsedError, ParsedStatus, PrimitiveApiError, PrimitiveClient, type PrimitiveClientOptions, PrimitiveWebhookError, RAW_EMAIL_ERRORS, RawContent, RawContentDownloadOnly, RawContentInline, RawEmailDecodeError, RawEmailDecodeErrorCode, ReceiveRequestOptions, ReceivedEmail, ReceivedEmailAddress, ReceivedEmailThread, type ReplyInput, STANDARD_WEBHOOK_ID_HEADER, STANDARD_WEBHOOK_SIGNATURE_HEADER, STANDARD_WEBHOOK_TIMESTAMP_HEADER, type SendAttachment, type SendInput, type SendResult, type SendThreadInput, SignResult, SpfResult, StandardWebhooksSignResult, StandardWebhooksVerifyOptions, UnknownEvent, VERIFICATION_ERRORS, ValidateEmailAuthResult, VerifyDownloadTokenOptions, VerifyDownloadTokenResult, VerifyOptions, WEBHOOK_VERSION, WebhookAttachment, WebhookErrorCode, WebhookEvent, WebhookHeaders, WebhookPayloadError, WebhookPayloadErrorCode, WebhookValidationError, WebhookValidationErrorCode, WebhookVerificationError, WebhookVerificationErrorCode, buildForwardSubject, buildReplySubject, client, confirmedHeaders, createPrimitiveClient, decodeRawEmail, primitive as default, emailReceivedEventJsonSchema, formatAddress, generateDownloadToken, getDownloadTimeRemaining, handleWebhook, isDownloadExpired, isEmailReceivedEvent, isRawIncluded, normalizeReceivedEmail, parseHeaderAddress, parseWebhookEvent, receive, safeValidateEmailReceivedEvent, signStandardWebhooksPayload, signWebhookPayload, validateEmailAuth, validateEmailReceivedEvent, verifyDownloadToken, verifyRawEmailDownload, verifyStandardWebhooksSignature, verifyWebhookSignature };
|
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-
|
|
1
|
+
import { l as PrimitiveApiError, n as client, r as createPrimitiveClient, t as PrimitiveClient } from "./api-2gC06vxj.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-BAwK8EOG.js";
|
|
4
4
|
//#region src/index.ts
|
package/dist/openapi/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as openapiDocument, t as operationManifest } from "../operations.generated-
|
|
1
|
+
import { n as openapiDocument, t as operationManifest } from "../operations.generated-CZx0VGSj.js";
|
|
2
2
|
export { openapiDocument, operationManifest };
|