agentmail 0.0.72 → 0.0.74
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/dist/cjs/Client.d.ts +3 -0
- package/dist/cjs/Client.js +21 -16
- package/dist/cjs/api/resources/apiKeys/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/apiKeys/client/Client.js +52 -62
- package/dist/cjs/api/resources/domains/client/Client.d.ts +21 -9
- package/dist/cjs/api/resources/domains/client/Client.js +131 -78
- package/dist/cjs/api/resources/domains/types/ClientId.d.ts +7 -0
- package/dist/cjs/api/resources/domains/types/CreateDomainRequest.d.ts +1 -2
- package/dist/cjs/api/resources/domains/types/Domain.d.ts +2 -3
- package/dist/cjs/api/resources/domains/types/DomainSummary.d.ts +2 -3
- package/dist/cjs/api/resources/domains/types/FeedbackEnabled.d.ts +7 -0
- package/dist/cjs/api/resources/domains/types/FeedbackEnabled.js +5 -0
- package/dist/cjs/api/resources/domains/types/index.d.ts +2 -1
- package/dist/cjs/api/resources/domains/types/index.js +2 -1
- package/dist/cjs/api/resources/drafts/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/drafts/client/Client.js +70 -83
- package/dist/cjs/api/resources/drafts/types/CreateDraftRequest.d.ts +1 -0
- package/dist/cjs/api/resources/drafts/types/Draft.d.ts +1 -0
- package/dist/cjs/api/resources/drafts/types/DraftClientId.d.ts +7 -0
- package/dist/cjs/api/resources/drafts/types/DraftClientId.js +5 -0
- package/dist/cjs/api/resources/drafts/types/UpdateDraftRequest.d.ts +14 -0
- package/dist/cjs/api/resources/drafts/types/UpdateDraftRequest.js +5 -0
- package/dist/cjs/api/resources/drafts/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/drafts/types/index.js +2 -0
- package/dist/cjs/api/resources/inboxes/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/inboxes/client/Client.js +52 -62
- package/dist/cjs/api/resources/inboxes/resources/drafts/client/Client.d.ts +26 -2
- package/dist/cjs/api/resources/inboxes/resources/drafts/client/Client.js +161 -84
- package/dist/cjs/api/resources/inboxes/resources/messages/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/inboxes/resources/messages/client/Client.js +70 -83
- package/dist/cjs/api/resources/inboxes/resources/threads/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/inboxes/resources/threads/client/Client.js +70 -83
- package/dist/cjs/api/resources/inboxes/types/CreateInboxRequest.d.ts +1 -2
- package/dist/cjs/api/resources/inboxes/types/DisplayName.d.ts +7 -0
- package/dist/cjs/api/resources/inboxes/types/DisplayName.js +5 -0
- package/dist/cjs/api/resources/inboxes/types/Inbox.d.ts +2 -3
- package/dist/cjs/api/resources/inboxes/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/inboxes/types/index.js +1 -0
- package/dist/cjs/api/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/index.js +2 -1
- package/dist/cjs/api/resources/pods/client/Client.d.ts +90 -0
- package/dist/cjs/api/resources/pods/client/Client.js +375 -0
- package/dist/cjs/api/resources/pods/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/pods/client/index.js +17 -0
- package/dist/cjs/api/resources/pods/client/requests/ListPodsRequest.d.ts +12 -0
- package/dist/cjs/api/resources/pods/client/requests/ListPodsRequest.js +5 -0
- package/dist/cjs/api/resources/pods/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/pods/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/pods/index.d.ts +3 -0
- package/dist/cjs/api/resources/pods/index.js +19 -0
- package/dist/cjs/api/resources/pods/resources/domains/client/Client.d.ts +72 -0
- package/dist/cjs/api/resources/pods/resources/domains/client/Client.js +312 -0
- package/dist/cjs/api/resources/pods/resources/domains/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/pods/resources/domains/client/index.js +17 -0
- package/dist/cjs/api/resources/pods/resources/domains/client/requests/ListDomainsRequest.d.ts +16 -0
- package/dist/cjs/api/resources/pods/resources/domains/client/requests/ListDomainsRequest.js +5 -0
- package/dist/cjs/api/resources/pods/resources/domains/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/pods/resources/domains/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/pods/resources/domains/index.d.ts +1 -0
- package/dist/cjs/api/resources/pods/resources/domains/index.js +17 -0
- package/dist/cjs/api/resources/pods/resources/drafts/client/Client.d.ts +57 -0
- package/dist/cjs/api/resources/pods/resources/drafts/client/Client.js +239 -0
- package/dist/cjs/api/resources/pods/resources/drafts/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/pods/resources/drafts/client/index.js +17 -0
- package/dist/cjs/api/resources/pods/resources/drafts/client/requests/ListDraftsRequest.d.ts +16 -0
- package/dist/cjs/api/resources/pods/resources/drafts/client/requests/ListDraftsRequest.js +5 -0
- package/dist/cjs/api/resources/pods/resources/drafts/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/pods/resources/drafts/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/pods/resources/drafts/index.d.ts +1 -0
- package/dist/cjs/api/resources/pods/resources/drafts/index.js +17 -0
- package/dist/cjs/api/resources/pods/resources/inboxes/client/Client.d.ts +86 -0
- package/dist/cjs/api/resources/pods/resources/inboxes/client/Client.js +387 -0
- package/dist/cjs/api/resources/pods/resources/inboxes/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/pods/resources/inboxes/client/index.js +17 -0
- package/dist/cjs/api/resources/pods/resources/inboxes/client/requests/ListInboxesRequest.d.ts +16 -0
- package/dist/cjs/api/resources/pods/resources/inboxes/client/requests/ListInboxesRequest.js +5 -0
- package/dist/cjs/api/resources/pods/resources/inboxes/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/pods/resources/inboxes/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/pods/resources/inboxes/index.d.ts +1 -0
- package/dist/cjs/api/resources/pods/resources/inboxes/index.js +17 -0
- package/dist/cjs/api/resources/pods/resources/index.d.ts +8 -0
- package/dist/cjs/api/resources/pods/resources/index.js +47 -0
- package/dist/cjs/api/resources/pods/resources/threads/client/Client.d.ts +62 -0
- package/dist/cjs/api/resources/pods/resources/threads/client/Client.js +297 -0
- package/dist/cjs/api/resources/pods/resources/threads/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/pods/resources/threads/client/index.js +17 -0
- package/dist/cjs/api/resources/pods/resources/threads/client/requests/ListThreadsRequest.d.ts +16 -0
- package/dist/cjs/api/resources/pods/resources/threads/client/requests/ListThreadsRequest.js +5 -0
- package/dist/cjs/api/resources/pods/resources/threads/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/pods/resources/threads/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/pods/resources/threads/index.d.ts +1 -0
- package/dist/cjs/api/resources/pods/resources/threads/index.js +17 -0
- package/dist/cjs/api/resources/pods/types/ClientId.d.ts +7 -0
- package/dist/cjs/api/resources/pods/types/ClientId.js +5 -0
- package/dist/cjs/api/resources/pods/types/CreatePodRequest.d.ts +8 -0
- package/dist/cjs/api/resources/pods/types/CreatePodRequest.js +5 -0
- package/dist/cjs/api/resources/pods/types/ListPodsResponse.d.ts +11 -0
- package/dist/cjs/api/resources/pods/types/ListPodsResponse.js +5 -0
- package/dist/cjs/api/resources/pods/types/Name.d.ts +7 -0
- package/dist/cjs/api/resources/pods/types/Name.js +5 -0
- package/dist/cjs/api/resources/pods/types/Pod.d.ts +13 -0
- package/dist/cjs/api/resources/pods/types/Pod.js +5 -0
- package/dist/cjs/api/resources/pods/types/PodId.d.ts +7 -0
- package/dist/cjs/api/resources/pods/types/PodId.js +5 -0
- package/dist/cjs/api/resources/pods/types/index.d.ts +6 -0
- package/dist/cjs/api/resources/pods/types/index.js +22 -0
- package/dist/cjs/api/resources/threads/client/Client.d.ts +2 -12
- package/dist/cjs/api/resources/threads/client/Client.js +57 -133
- package/dist/cjs/api/resources/webhooks/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/webhooks/client/Client.js +52 -62
- package/dist/cjs/core/index.d.ts +0 -2
- package/dist/cjs/core/index.js +0 -2
- package/dist/cjs/serialization/resources/domains/types/ClientId.d.ts +10 -0
- package/dist/cjs/serialization/resources/domains/types/ClientId.js +41 -0
- package/dist/cjs/serialization/resources/domains/types/CreateDomainRequest.d.ts +2 -1
- package/dist/cjs/serialization/resources/domains/types/CreateDomainRequest.js +2 -1
- package/dist/cjs/serialization/resources/domains/types/Domain.d.ts +4 -3
- package/dist/cjs/serialization/resources/domains/types/Domain.js +4 -3
- package/dist/cjs/serialization/resources/domains/types/DomainSummary.d.ts +4 -3
- package/dist/cjs/serialization/resources/domains/types/DomainSummary.js +4 -3
- package/dist/cjs/serialization/resources/domains/types/FeedbackEnabled.d.ts +10 -0
- package/dist/cjs/serialization/resources/domains/types/FeedbackEnabled.js +41 -0
- package/dist/cjs/serialization/resources/domains/types/index.d.ts +2 -1
- package/dist/cjs/serialization/resources/domains/types/index.js +2 -1
- package/dist/cjs/serialization/resources/drafts/types/CreateDraftRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/drafts/types/CreateDraftRequest.js +2 -0
- package/dist/cjs/serialization/resources/drafts/types/Draft.d.ts +2 -0
- package/dist/cjs/serialization/resources/drafts/types/Draft.js +2 -0
- package/dist/cjs/serialization/resources/drafts/types/DraftClientId.d.ts +10 -0
- package/dist/cjs/serialization/resources/drafts/types/DraftClientId.js +41 -0
- package/dist/cjs/serialization/resources/drafts/types/UpdateDraftRequest.d.ts +27 -0
- package/dist/cjs/serialization/resources/drafts/types/UpdateDraftRequest.js +58 -0
- package/dist/cjs/serialization/resources/drafts/types/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/drafts/types/index.js +2 -0
- package/dist/cjs/serialization/resources/inboxes/types/CreateInboxRequest.d.ts +2 -1
- package/dist/cjs/serialization/resources/inboxes/types/CreateInboxRequest.js +2 -1
- package/dist/cjs/serialization/resources/inboxes/types/DisplayName.d.ts +10 -0
- package/dist/cjs/serialization/resources/inboxes/types/DisplayName.js +41 -0
- package/dist/cjs/serialization/resources/inboxes/types/Inbox.d.ts +3 -2
- package/dist/cjs/serialization/resources/inboxes/types/Inbox.js +3 -2
- package/dist/cjs/serialization/resources/inboxes/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/inboxes/types/index.js +1 -0
- package/dist/cjs/serialization/resources/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/index.js +2 -1
- package/dist/cjs/serialization/resources/pods/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/pods/index.js +17 -0
- package/dist/cjs/serialization/resources/pods/types/ClientId.d.ts +10 -0
- package/dist/cjs/serialization/resources/pods/types/ClientId.js +41 -0
- package/dist/cjs/serialization/resources/pods/types/CreatePodRequest.d.ts +15 -0
- package/dist/cjs/serialization/resources/pods/types/CreatePodRequest.js +46 -0
- package/dist/cjs/serialization/resources/pods/types/ListPodsResponse.d.ts +19 -0
- package/dist/cjs/serialization/resources/pods/types/ListPodsResponse.js +50 -0
- package/dist/cjs/serialization/resources/pods/types/Name.d.ts +10 -0
- package/dist/cjs/serialization/resources/pods/types/Name.js +41 -0
- package/dist/cjs/serialization/resources/pods/types/Pod.d.ts +19 -0
- package/dist/cjs/serialization/resources/{domains/types/CreateDomainResponse.js → pods/types/Pod.js} +8 -11
- package/dist/cjs/serialization/resources/pods/types/PodId.d.ts +10 -0
- package/dist/cjs/serialization/resources/pods/types/PodId.js +41 -0
- package/dist/cjs/serialization/resources/pods/types/index.d.ts +6 -0
- package/dist/cjs/serialization/resources/pods/types/index.js +22 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +7 -2
- package/dist/esm/api/resources/apiKeys/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/apiKeys/client/Client.mjs +52 -62
- package/dist/esm/api/resources/domains/client/Client.d.mts +21 -9
- package/dist/esm/api/resources/domains/client/Client.mjs +131 -78
- package/dist/esm/api/resources/domains/types/ClientId.d.mts +7 -0
- package/dist/esm/api/resources/domains/types/CreateDomainRequest.d.mts +1 -2
- package/dist/esm/api/resources/domains/types/Domain.d.mts +2 -3
- package/dist/esm/api/resources/domains/types/DomainSummary.d.mts +2 -3
- package/dist/esm/api/resources/domains/types/FeedbackEnabled.d.mts +7 -0
- package/dist/esm/api/resources/domains/types/FeedbackEnabled.mjs +4 -0
- package/dist/esm/api/resources/domains/types/index.d.mts +2 -1
- package/dist/esm/api/resources/domains/types/index.mjs +2 -1
- package/dist/esm/api/resources/drafts/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/drafts/client/Client.mjs +70 -83
- package/dist/esm/api/resources/drafts/types/CreateDraftRequest.d.mts +1 -0
- package/dist/esm/api/resources/drafts/types/Draft.d.mts +1 -0
- package/dist/esm/api/resources/drafts/types/DraftClientId.d.mts +7 -0
- package/dist/esm/api/resources/drafts/types/DraftClientId.mjs +4 -0
- package/dist/esm/api/resources/drafts/types/UpdateDraftRequest.d.mts +14 -0
- package/dist/esm/api/resources/drafts/types/UpdateDraftRequest.mjs +4 -0
- package/dist/esm/api/resources/drafts/types/index.d.mts +2 -0
- package/dist/esm/api/resources/drafts/types/index.mjs +2 -0
- package/dist/esm/api/resources/inboxes/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/inboxes/client/Client.mjs +52 -62
- package/dist/esm/api/resources/inboxes/resources/drafts/client/Client.d.mts +26 -2
- package/dist/esm/api/resources/inboxes/resources/drafts/client/Client.mjs +161 -84
- package/dist/esm/api/resources/inboxes/resources/messages/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/inboxes/resources/messages/client/Client.mjs +70 -83
- package/dist/esm/api/resources/inboxes/resources/threads/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/inboxes/resources/threads/client/Client.mjs +70 -83
- package/dist/esm/api/resources/inboxes/types/CreateInboxRequest.d.mts +1 -2
- package/dist/esm/api/resources/inboxes/types/DisplayName.d.mts +7 -0
- package/dist/esm/api/resources/inboxes/types/DisplayName.mjs +4 -0
- package/dist/esm/api/resources/inboxes/types/Inbox.d.mts +2 -3
- package/dist/esm/api/resources/inboxes/types/index.d.mts +1 -0
- package/dist/esm/api/resources/inboxes/types/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/index.mjs +1 -0
- package/dist/esm/api/resources/pods/client/Client.d.mts +90 -0
- package/dist/esm/api/resources/pods/client/Client.mjs +338 -0
- package/dist/esm/api/resources/pods/client/index.d.mts +2 -0
- package/dist/esm/api/resources/pods/client/index.mjs +1 -0
- package/dist/esm/api/resources/pods/client/requests/ListPodsRequest.d.mts +12 -0
- package/dist/esm/api/resources/pods/client/requests/ListPodsRequest.mjs +4 -0
- package/dist/esm/api/resources/pods/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/pods/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/pods/index.d.mts +3 -0
- package/dist/esm/api/resources/pods/index.mjs +3 -0
- package/dist/esm/api/resources/pods/resources/domains/client/Client.d.mts +72 -0
- package/dist/esm/api/resources/pods/resources/domains/client/Client.mjs +275 -0
- package/dist/esm/api/resources/pods/resources/domains/client/index.d.mts +2 -0
- package/dist/esm/api/resources/pods/resources/domains/client/index.mjs +1 -0
- package/dist/esm/api/resources/pods/resources/domains/client/requests/ListDomainsRequest.d.mts +16 -0
- package/dist/esm/api/resources/pods/resources/domains/client/requests/ListDomainsRequest.mjs +4 -0
- package/dist/esm/api/resources/pods/resources/domains/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/pods/resources/domains/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/pods/resources/domains/index.d.mts +1 -0
- package/dist/esm/api/resources/pods/resources/domains/index.mjs +1 -0
- package/dist/esm/api/resources/pods/resources/drafts/client/Client.d.mts +57 -0
- package/dist/esm/api/resources/pods/resources/drafts/client/Client.mjs +202 -0
- package/dist/esm/api/resources/pods/resources/drafts/client/index.d.mts +2 -0
- package/dist/esm/api/resources/pods/resources/drafts/client/index.mjs +1 -0
- package/dist/esm/api/resources/pods/resources/drafts/client/requests/ListDraftsRequest.d.mts +16 -0
- package/dist/esm/api/resources/pods/resources/drafts/client/requests/ListDraftsRequest.mjs +4 -0
- package/dist/esm/api/resources/pods/resources/drafts/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/pods/resources/drafts/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/pods/resources/drafts/index.d.mts +1 -0
- package/dist/esm/api/resources/pods/resources/drafts/index.mjs +1 -0
- package/dist/esm/api/resources/pods/resources/inboxes/client/Client.d.mts +86 -0
- package/dist/esm/api/resources/pods/resources/inboxes/client/Client.mjs +350 -0
- package/dist/esm/api/resources/pods/resources/inboxes/client/index.d.mts +2 -0
- package/dist/esm/api/resources/pods/resources/inboxes/client/index.mjs +1 -0
- package/dist/esm/api/resources/pods/resources/inboxes/client/requests/ListInboxesRequest.d.mts +16 -0
- package/dist/esm/api/resources/pods/resources/inboxes/client/requests/ListInboxesRequest.mjs +4 -0
- package/dist/esm/api/resources/pods/resources/inboxes/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/pods/resources/inboxes/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/pods/resources/inboxes/index.d.mts +1 -0
- package/dist/esm/api/resources/pods/resources/inboxes/index.mjs +1 -0
- package/dist/esm/api/resources/pods/resources/index.d.mts +8 -0
- package/dist/esm/api/resources/pods/resources/index.mjs +8 -0
- package/dist/esm/api/resources/pods/resources/threads/client/Client.d.mts +62 -0
- package/dist/esm/api/resources/pods/resources/threads/client/Client.mjs +260 -0
- package/dist/esm/api/resources/pods/resources/threads/client/index.d.mts +2 -0
- package/dist/esm/api/resources/pods/resources/threads/client/index.mjs +1 -0
- package/dist/esm/api/resources/pods/resources/threads/client/requests/ListThreadsRequest.d.mts +16 -0
- package/dist/esm/api/resources/pods/resources/threads/client/requests/ListThreadsRequest.mjs +4 -0
- package/dist/esm/api/resources/pods/resources/threads/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/pods/resources/threads/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/pods/resources/threads/index.d.mts +1 -0
- package/dist/esm/api/resources/pods/resources/threads/index.mjs +1 -0
- package/dist/esm/api/resources/pods/types/ClientId.d.mts +7 -0
- package/dist/esm/api/resources/pods/types/ClientId.mjs +4 -0
- package/dist/esm/api/resources/pods/types/CreatePodRequest.d.mts +8 -0
- package/dist/esm/api/resources/pods/types/CreatePodRequest.mjs +4 -0
- package/dist/esm/api/resources/pods/types/ListPodsResponse.d.mts +11 -0
- package/dist/esm/api/resources/pods/types/ListPodsResponse.mjs +4 -0
- package/dist/esm/api/resources/pods/types/Name.d.mts +7 -0
- package/dist/esm/api/resources/pods/types/Name.mjs +4 -0
- package/dist/esm/api/resources/pods/types/Pod.d.mts +13 -0
- package/dist/esm/api/resources/pods/types/Pod.mjs +4 -0
- package/dist/esm/api/resources/pods/types/PodId.d.mts +7 -0
- package/dist/esm/api/resources/pods/types/PodId.mjs +4 -0
- package/dist/esm/api/resources/pods/types/index.d.mts +6 -0
- package/dist/esm/api/resources/pods/types/index.mjs +6 -0
- package/dist/esm/api/resources/threads/client/Client.d.mts +2 -12
- package/dist/esm/api/resources/threads/client/Client.mjs +57 -133
- package/dist/esm/api/resources/webhooks/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/webhooks/client/Client.mjs +52 -62
- package/dist/esm/core/index.d.mts +0 -2
- package/dist/esm/core/index.mjs +0 -2
- package/dist/esm/serialization/resources/domains/types/ClientId.d.mts +10 -0
- package/dist/esm/serialization/resources/domains/types/ClientId.mjs +5 -0
- package/dist/esm/serialization/resources/domains/types/CreateDomainRequest.d.mts +2 -1
- package/dist/esm/serialization/resources/domains/types/CreateDomainRequest.mjs +2 -1
- package/dist/esm/serialization/resources/domains/types/Domain.d.mts +4 -3
- package/dist/esm/serialization/resources/domains/types/Domain.mjs +4 -3
- package/dist/esm/serialization/resources/domains/types/DomainSummary.d.mts +4 -3
- package/dist/esm/serialization/resources/domains/types/DomainSummary.mjs +4 -3
- package/dist/esm/serialization/resources/domains/types/FeedbackEnabled.d.mts +10 -0
- package/dist/esm/serialization/resources/domains/types/FeedbackEnabled.mjs +5 -0
- package/dist/esm/serialization/resources/domains/types/index.d.mts +2 -1
- package/dist/esm/serialization/resources/domains/types/index.mjs +2 -1
- package/dist/esm/serialization/resources/drafts/types/CreateDraftRequest.d.mts +2 -0
- package/dist/esm/serialization/resources/drafts/types/CreateDraftRequest.mjs +2 -0
- package/dist/esm/serialization/resources/drafts/types/Draft.d.mts +2 -0
- package/dist/esm/serialization/resources/drafts/types/Draft.mjs +2 -0
- package/dist/esm/serialization/resources/drafts/types/DraftClientId.d.mts +10 -0
- package/dist/esm/serialization/resources/drafts/types/DraftClientId.mjs +5 -0
- package/dist/esm/serialization/resources/drafts/types/UpdateDraftRequest.d.mts +27 -0
- package/dist/esm/serialization/resources/drafts/types/UpdateDraftRequest.mjs +22 -0
- package/dist/esm/serialization/resources/drafts/types/index.d.mts +2 -0
- package/dist/esm/serialization/resources/drafts/types/index.mjs +2 -0
- package/dist/esm/serialization/resources/inboxes/types/CreateInboxRequest.d.mts +2 -1
- package/dist/esm/serialization/resources/inboxes/types/CreateInboxRequest.mjs +2 -1
- package/dist/esm/serialization/resources/inboxes/types/DisplayName.d.mts +10 -0
- package/dist/esm/serialization/resources/inboxes/types/DisplayName.mjs +5 -0
- package/dist/esm/serialization/resources/inboxes/types/Inbox.d.mts +3 -2
- package/dist/esm/serialization/resources/inboxes/types/Inbox.mjs +3 -2
- package/dist/esm/serialization/resources/inboxes/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/inboxes/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/index.d.mts +1 -0
- package/dist/esm/serialization/resources/index.mjs +1 -0
- package/dist/esm/serialization/resources/pods/index.d.mts +1 -0
- package/dist/esm/serialization/resources/pods/index.mjs +1 -0
- package/dist/esm/serialization/resources/pods/types/ClientId.d.mts +10 -0
- package/dist/esm/serialization/resources/pods/types/ClientId.mjs +5 -0
- package/dist/esm/serialization/resources/pods/types/CreatePodRequest.d.mts +15 -0
- package/dist/esm/serialization/resources/pods/types/CreatePodRequest.mjs +10 -0
- package/dist/esm/serialization/resources/pods/types/ListPodsResponse.d.mts +19 -0
- package/dist/esm/serialization/resources/pods/types/ListPodsResponse.mjs +14 -0
- package/dist/esm/serialization/resources/pods/types/Name.d.mts +10 -0
- package/dist/esm/serialization/resources/pods/types/Name.mjs +5 -0
- package/dist/esm/serialization/resources/pods/types/Pod.d.mts +19 -0
- package/dist/esm/serialization/resources/pods/types/Pod.mjs +14 -0
- package/dist/esm/serialization/resources/pods/types/PodId.d.mts +10 -0
- package/dist/esm/serialization/resources/pods/types/PodId.mjs +5 -0
- package/dist/esm/serialization/resources/pods/types/index.d.mts +6 -0
- package/dist/esm/serialization/resources/pods/types/index.mjs +6 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/dist/llms-full.txt +10453 -1871
- package/dist/llms.txt +19 -2
- package/package.json +1 -1
- package/reference.md +1195 -309
- package/dist/cjs/api/resources/domains/types/CreateDomainResponse.d.ts +0 -18
- package/dist/cjs/core/pagination/Page.d.ts +0 -32
- package/dist/cjs/core/pagination/Page.js +0 -100
- package/dist/cjs/core/pagination/Pageable.d.ts +0 -14
- package/dist/cjs/core/pagination/Pageable.js +0 -10
- package/dist/cjs/core/pagination/index.d.ts +0 -2
- package/dist/cjs/core/pagination/index.js +0 -7
- package/dist/cjs/core/utils/index.d.ts +0 -1
- package/dist/cjs/core/utils/index.js +0 -5
- package/dist/cjs/core/utils/setObjectProperty.d.ts +0 -11
- package/dist/cjs/core/utils/setObjectProperty.js +0 -42
- package/dist/cjs/serialization/resources/domains/types/CreateDomainResponse.d.ts +0 -22
- package/dist/esm/api/resources/domains/types/CreateDomainResponse.d.mts +0 -18
- package/dist/esm/core/pagination/Page.d.mts +0 -32
- package/dist/esm/core/pagination/Page.mjs +0 -96
- package/dist/esm/core/pagination/Pageable.d.mts +0 -14
- package/dist/esm/core/pagination/Pageable.mjs +0 -6
- package/dist/esm/core/pagination/index.d.mts +0 -2
- package/dist/esm/core/pagination/index.mjs +0 -2
- package/dist/esm/core/utils/index.d.mts +0 -1
- package/dist/esm/core/utils/index.mjs +0 -1
- package/dist/esm/core/utils/setObjectProperty.d.mts +0 -11
- package/dist/esm/core/utils/setObjectProperty.mjs +0 -39
- package/dist/esm/serialization/resources/domains/types/CreateDomainResponse.d.mts +0 -22
- package/dist/esm/serialization/resources/domains/types/CreateDomainResponse.mjs +0 -17
- /package/dist/cjs/api/resources/domains/types/{CreateDomainResponse.js → ClientId.js} +0 -0
- /package/dist/esm/api/resources/domains/types/{CreateDomainResponse.mjs → ClientId.mjs} +0 -0
package/reference.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Inboxes
|
|
4
4
|
|
|
5
|
-
<details><summary><code>client.inboxes.<a href="/src/api/resources/inboxes/client/Client.ts">list</a>({ ...params }) ->
|
|
5
|
+
<details><summary><code>client.inboxes.<a href="/src/api/resources/inboxes/client/Client.ts">list</a>({ ...params }) -> AgentMail.ListInboxesResponse</code></summary>
|
|
6
6
|
<dl>
|
|
7
7
|
<dd>
|
|
8
8
|
|
|
@@ -15,16 +15,7 @@
|
|
|
15
15
|
<dd>
|
|
16
16
|
|
|
17
17
|
```typescript
|
|
18
|
-
|
|
19
|
-
for await (const item of response) {
|
|
20
|
-
console.log(item);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
// Or you can manually iterate page-by-page
|
|
24
|
-
let page = await client.inboxes.list();
|
|
25
|
-
while (page.hasNextPage()) {
|
|
26
|
-
page = page.getNextPage();
|
|
27
|
-
}
|
|
18
|
+
await client.inboxes.list();
|
|
28
19
|
```
|
|
29
20
|
|
|
30
21
|
</dd>
|
|
@@ -208,9 +199,9 @@ await client.inboxes.delete("inbox_id");
|
|
|
208
199
|
</dl>
|
|
209
200
|
</details>
|
|
210
201
|
|
|
211
|
-
##
|
|
202
|
+
## Pods
|
|
212
203
|
|
|
213
|
-
<details><summary><code>client.
|
|
204
|
+
<details><summary><code>client.pods.<a href="/src/api/resources/pods/client/Client.ts">list</a>({ ...params }) -> AgentMail.ListPodsResponse</code></summary>
|
|
214
205
|
<dl>
|
|
215
206
|
<dd>
|
|
216
207
|
|
|
@@ -223,16 +214,7 @@ await client.inboxes.delete("inbox_id");
|
|
|
223
214
|
<dd>
|
|
224
215
|
|
|
225
216
|
```typescript
|
|
226
|
-
|
|
227
|
-
for await (const item of response) {
|
|
228
|
-
console.log(item);
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
// Or you can manually iterate page-by-page
|
|
232
|
-
let page = await client.webhooks.list();
|
|
233
|
-
while (page.hasNextPage()) {
|
|
234
|
-
page = page.getNextPage();
|
|
235
|
-
}
|
|
217
|
+
await client.pods.list();
|
|
236
218
|
```
|
|
237
219
|
|
|
238
220
|
</dd>
|
|
@@ -248,7 +230,7 @@ while (page.hasNextPage()) {
|
|
|
248
230
|
<dl>
|
|
249
231
|
<dd>
|
|
250
232
|
|
|
251
|
-
**request:** `AgentMail.
|
|
233
|
+
**request:** `AgentMail.pods.ListPodsRequest`
|
|
252
234
|
|
|
253
235
|
</dd>
|
|
254
236
|
</dl>
|
|
@@ -256,7 +238,7 @@ while (page.hasNextPage()) {
|
|
|
256
238
|
<dl>
|
|
257
239
|
<dd>
|
|
258
240
|
|
|
259
|
-
**requestOptions:** `
|
|
241
|
+
**requestOptions:** `Pods.RequestOptions`
|
|
260
242
|
|
|
261
243
|
</dd>
|
|
262
244
|
</dl>
|
|
@@ -267,7 +249,7 @@ while (page.hasNextPage()) {
|
|
|
267
249
|
</dl>
|
|
268
250
|
</details>
|
|
269
251
|
|
|
270
|
-
<details><summary><code>client.
|
|
252
|
+
<details><summary><code>client.pods.<a href="/src/api/resources/pods/client/Client.ts">get</a>(podId) -> AgentMail.Pod</code></summary>
|
|
271
253
|
<dl>
|
|
272
254
|
<dd>
|
|
273
255
|
|
|
@@ -280,7 +262,7 @@ while (page.hasNextPage()) {
|
|
|
280
262
|
<dd>
|
|
281
263
|
|
|
282
264
|
```typescript
|
|
283
|
-
await client.
|
|
265
|
+
await client.pods.get("pod_id");
|
|
284
266
|
```
|
|
285
267
|
|
|
286
268
|
</dd>
|
|
@@ -296,7 +278,7 @@ await client.webhooks.get("webhook_id");
|
|
|
296
278
|
<dl>
|
|
297
279
|
<dd>
|
|
298
280
|
|
|
299
|
-
**
|
|
281
|
+
**podId:** `AgentMail.PodId`
|
|
300
282
|
|
|
301
283
|
</dd>
|
|
302
284
|
</dl>
|
|
@@ -304,7 +286,7 @@ await client.webhooks.get("webhook_id");
|
|
|
304
286
|
<dl>
|
|
305
287
|
<dd>
|
|
306
288
|
|
|
307
|
-
**requestOptions:** `
|
|
289
|
+
**requestOptions:** `Pods.RequestOptions`
|
|
308
290
|
|
|
309
291
|
</dd>
|
|
310
292
|
</dl>
|
|
@@ -315,7 +297,7 @@ await client.webhooks.get("webhook_id");
|
|
|
315
297
|
</dl>
|
|
316
298
|
</details>
|
|
317
299
|
|
|
318
|
-
<details><summary><code>client.
|
|
300
|
+
<details><summary><code>client.pods.<a href="/src/api/resources/pods/client/Client.ts">create</a>({ ...params }) -> AgentMail.Pod</code></summary>
|
|
319
301
|
<dl>
|
|
320
302
|
<dd>
|
|
321
303
|
|
|
@@ -328,10 +310,8 @@ await client.webhooks.get("webhook_id");
|
|
|
328
310
|
<dd>
|
|
329
311
|
|
|
330
312
|
```typescript
|
|
331
|
-
await client.
|
|
332
|
-
|
|
333
|
-
eventTypes: ["message.received", "message.received"],
|
|
334
|
-
inboxIds: undefined,
|
|
313
|
+
await client.pods.create({
|
|
314
|
+
name: undefined,
|
|
335
315
|
clientId: undefined,
|
|
336
316
|
});
|
|
337
317
|
```
|
|
@@ -349,7 +329,7 @@ await client.webhooks.create({
|
|
|
349
329
|
<dl>
|
|
350
330
|
<dd>
|
|
351
331
|
|
|
352
|
-
**request:** `AgentMail.
|
|
332
|
+
**request:** `AgentMail.CreatePodRequest`
|
|
353
333
|
|
|
354
334
|
</dd>
|
|
355
335
|
</dl>
|
|
@@ -357,7 +337,7 @@ await client.webhooks.create({
|
|
|
357
337
|
<dl>
|
|
358
338
|
<dd>
|
|
359
339
|
|
|
360
|
-
**requestOptions:** `
|
|
340
|
+
**requestOptions:** `Pods.RequestOptions`
|
|
361
341
|
|
|
362
342
|
</dd>
|
|
363
343
|
</dl>
|
|
@@ -368,7 +348,7 @@ await client.webhooks.create({
|
|
|
368
348
|
</dl>
|
|
369
349
|
</details>
|
|
370
350
|
|
|
371
|
-
<details><summary><code>client.
|
|
351
|
+
<details><summary><code>client.pods.<a href="/src/api/resources/pods/client/Client.ts">delete</a>(podId) -> void</code></summary>
|
|
372
352
|
<dl>
|
|
373
353
|
<dd>
|
|
374
354
|
|
|
@@ -381,7 +361,7 @@ await client.webhooks.create({
|
|
|
381
361
|
<dd>
|
|
382
362
|
|
|
383
363
|
```typescript
|
|
384
|
-
await client.
|
|
364
|
+
await client.pods.delete("pod_id");
|
|
385
365
|
```
|
|
386
366
|
|
|
387
367
|
</dd>
|
|
@@ -397,7 +377,7 @@ await client.webhooks.delete("webhook_id");
|
|
|
397
377
|
<dl>
|
|
398
378
|
<dd>
|
|
399
379
|
|
|
400
|
-
**
|
|
380
|
+
**podId:** `AgentMail.PodId`
|
|
401
381
|
|
|
402
382
|
</dd>
|
|
403
383
|
</dl>
|
|
@@ -405,7 +385,7 @@ await client.webhooks.delete("webhook_id");
|
|
|
405
385
|
<dl>
|
|
406
386
|
<dd>
|
|
407
387
|
|
|
408
|
-
**requestOptions:** `
|
|
388
|
+
**requestOptions:** `Pods.RequestOptions`
|
|
409
389
|
|
|
410
390
|
</dd>
|
|
411
391
|
</dl>
|
|
@@ -416,9 +396,9 @@ await client.webhooks.delete("webhook_id");
|
|
|
416
396
|
</dl>
|
|
417
397
|
</details>
|
|
418
398
|
|
|
419
|
-
##
|
|
399
|
+
## Webhooks
|
|
420
400
|
|
|
421
|
-
<details><summary><code>client.
|
|
401
|
+
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">list</a>({ ...params }) -> AgentMail.ListWebhooksResponse</code></summary>
|
|
422
402
|
<dl>
|
|
423
403
|
<dd>
|
|
424
404
|
|
|
@@ -431,16 +411,7 @@ await client.webhooks.delete("webhook_id");
|
|
|
431
411
|
<dd>
|
|
432
412
|
|
|
433
413
|
```typescript
|
|
434
|
-
|
|
435
|
-
for await (const item of response) {
|
|
436
|
-
console.log(item);
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
// Or you can manually iterate page-by-page
|
|
440
|
-
let page = await client.apiKeys.list();
|
|
441
|
-
while (page.hasNextPage()) {
|
|
442
|
-
page = page.getNextPage();
|
|
443
|
-
}
|
|
414
|
+
await client.webhooks.list();
|
|
444
415
|
```
|
|
445
416
|
|
|
446
417
|
</dd>
|
|
@@ -456,7 +427,7 @@ while (page.hasNextPage()) {
|
|
|
456
427
|
<dl>
|
|
457
428
|
<dd>
|
|
458
429
|
|
|
459
|
-
**request:** `AgentMail.
|
|
430
|
+
**request:** `AgentMail.webhooks.ListWebhooksRequest`
|
|
460
431
|
|
|
461
432
|
</dd>
|
|
462
433
|
</dl>
|
|
@@ -464,7 +435,7 @@ while (page.hasNextPage()) {
|
|
|
464
435
|
<dl>
|
|
465
436
|
<dd>
|
|
466
437
|
|
|
467
|
-
**requestOptions:** `
|
|
438
|
+
**requestOptions:** `Webhooks.RequestOptions`
|
|
468
439
|
|
|
469
440
|
</dd>
|
|
470
441
|
</dl>
|
|
@@ -475,7 +446,7 @@ while (page.hasNextPage()) {
|
|
|
475
446
|
</dl>
|
|
476
447
|
</details>
|
|
477
448
|
|
|
478
|
-
<details><summary><code>client.
|
|
449
|
+
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">get</a>(webhookId) -> AgentMail.Webhook</code></summary>
|
|
479
450
|
<dl>
|
|
480
451
|
<dd>
|
|
481
452
|
|
|
@@ -488,9 +459,7 @@ while (page.hasNextPage()) {
|
|
|
488
459
|
<dd>
|
|
489
460
|
|
|
490
461
|
```typescript
|
|
491
|
-
await client.
|
|
492
|
-
name: "name",
|
|
493
|
-
});
|
|
462
|
+
await client.webhooks.get("webhook_id");
|
|
494
463
|
```
|
|
495
464
|
|
|
496
465
|
</dd>
|
|
@@ -506,7 +475,7 @@ await client.apiKeys.create({
|
|
|
506
475
|
<dl>
|
|
507
476
|
<dd>
|
|
508
477
|
|
|
509
|
-
**
|
|
478
|
+
**webhookId:** `AgentMail.WebhookId`
|
|
510
479
|
|
|
511
480
|
</dd>
|
|
512
481
|
</dl>
|
|
@@ -514,7 +483,7 @@ await client.apiKeys.create({
|
|
|
514
483
|
<dl>
|
|
515
484
|
<dd>
|
|
516
485
|
|
|
517
|
-
**requestOptions:** `
|
|
486
|
+
**requestOptions:** `Webhooks.RequestOptions`
|
|
518
487
|
|
|
519
488
|
</dd>
|
|
520
489
|
</dl>
|
|
@@ -525,7 +494,7 @@ await client.apiKeys.create({
|
|
|
525
494
|
</dl>
|
|
526
495
|
</details>
|
|
527
496
|
|
|
528
|
-
<details><summary><code>client.
|
|
497
|
+
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">create</a>({ ...params }) -> AgentMail.Webhook</code></summary>
|
|
529
498
|
<dl>
|
|
530
499
|
<dd>
|
|
531
500
|
|
|
@@ -538,7 +507,12 @@ await client.apiKeys.create({
|
|
|
538
507
|
<dd>
|
|
539
508
|
|
|
540
509
|
```typescript
|
|
541
|
-
await client.
|
|
510
|
+
await client.webhooks.create({
|
|
511
|
+
url: "url",
|
|
512
|
+
eventTypes: ["message.received", "message.received"],
|
|
513
|
+
inboxIds: undefined,
|
|
514
|
+
clientId: undefined,
|
|
515
|
+
});
|
|
542
516
|
```
|
|
543
517
|
|
|
544
518
|
</dd>
|
|
@@ -554,7 +528,7 @@ await client.apiKeys.delete("api_key");
|
|
|
554
528
|
<dl>
|
|
555
529
|
<dd>
|
|
556
530
|
|
|
557
|
-
**
|
|
531
|
+
**request:** `AgentMail.CreateWebhookRequest`
|
|
558
532
|
|
|
559
533
|
</dd>
|
|
560
534
|
</dl>
|
|
@@ -562,7 +536,7 @@ await client.apiKeys.delete("api_key");
|
|
|
562
536
|
<dl>
|
|
563
537
|
<dd>
|
|
564
538
|
|
|
565
|
-
**requestOptions:** `
|
|
539
|
+
**requestOptions:** `Webhooks.RequestOptions`
|
|
566
540
|
|
|
567
541
|
</dd>
|
|
568
542
|
</dl>
|
|
@@ -573,9 +547,7 @@ await client.apiKeys.delete("api_key");
|
|
|
573
547
|
</dl>
|
|
574
548
|
</details>
|
|
575
549
|
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
<details><summary><code>client.domains.<a href="/src/api/resources/domains/client/Client.ts">list</a>({ ...params }) -> core.Page<AgentMail.DomainSummary></code></summary>
|
|
550
|
+
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">delete</a>(webhookId) -> void</code></summary>
|
|
579
551
|
<dl>
|
|
580
552
|
<dd>
|
|
581
553
|
|
|
@@ -588,16 +560,7 @@ await client.apiKeys.delete("api_key");
|
|
|
588
560
|
<dd>
|
|
589
561
|
|
|
590
562
|
```typescript
|
|
591
|
-
|
|
592
|
-
for await (const item of response) {
|
|
593
|
-
console.log(item);
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
// Or you can manually iterate page-by-page
|
|
597
|
-
let page = await client.domains.list();
|
|
598
|
-
while (page.hasNextPage()) {
|
|
599
|
-
page = page.getNextPage();
|
|
600
|
-
}
|
|
563
|
+
await client.webhooks.delete("webhook_id");
|
|
601
564
|
```
|
|
602
565
|
|
|
603
566
|
</dd>
|
|
@@ -613,7 +576,7 @@ while (page.hasNextPage()) {
|
|
|
613
576
|
<dl>
|
|
614
577
|
<dd>
|
|
615
578
|
|
|
616
|
-
**
|
|
579
|
+
**webhookId:** `AgentMail.WebhookId`
|
|
617
580
|
|
|
618
581
|
</dd>
|
|
619
582
|
</dl>
|
|
@@ -621,7 +584,7 @@ while (page.hasNextPage()) {
|
|
|
621
584
|
<dl>
|
|
622
585
|
<dd>
|
|
623
586
|
|
|
624
|
-
**requestOptions:** `
|
|
587
|
+
**requestOptions:** `Webhooks.RequestOptions`
|
|
625
588
|
|
|
626
589
|
</dd>
|
|
627
590
|
</dl>
|
|
@@ -632,7 +595,9 @@ while (page.hasNextPage()) {
|
|
|
632
595
|
</dl>
|
|
633
596
|
</details>
|
|
634
597
|
|
|
635
|
-
|
|
598
|
+
## ApiKeys
|
|
599
|
+
|
|
600
|
+
<details><summary><code>client.apiKeys.<a href="/src/api/resources/apiKeys/client/Client.ts">list</a>({ ...params }) -> AgentMail.ListApiKeysResponse</code></summary>
|
|
636
601
|
<dl>
|
|
637
602
|
<dd>
|
|
638
603
|
|
|
@@ -645,7 +610,7 @@ while (page.hasNextPage()) {
|
|
|
645
610
|
<dd>
|
|
646
611
|
|
|
647
612
|
```typescript
|
|
648
|
-
await client.
|
|
613
|
+
await client.apiKeys.list();
|
|
649
614
|
```
|
|
650
615
|
|
|
651
616
|
</dd>
|
|
@@ -661,7 +626,7 @@ await client.domains.get("domain");
|
|
|
661
626
|
<dl>
|
|
662
627
|
<dd>
|
|
663
628
|
|
|
664
|
-
**
|
|
629
|
+
**request:** `AgentMail.ListApiKeysRequest`
|
|
665
630
|
|
|
666
631
|
</dd>
|
|
667
632
|
</dl>
|
|
@@ -669,7 +634,7 @@ await client.domains.get("domain");
|
|
|
669
634
|
<dl>
|
|
670
635
|
<dd>
|
|
671
636
|
|
|
672
|
-
**requestOptions:** `
|
|
637
|
+
**requestOptions:** `ApiKeys.RequestOptions`
|
|
673
638
|
|
|
674
639
|
</dd>
|
|
675
640
|
</dl>
|
|
@@ -680,7 +645,7 @@ await client.domains.get("domain");
|
|
|
680
645
|
</dl>
|
|
681
646
|
</details>
|
|
682
647
|
|
|
683
|
-
<details><summary><code>client.
|
|
648
|
+
<details><summary><code>client.apiKeys.<a href="/src/api/resources/apiKeys/client/Client.ts">create</a>({ ...params }) -> AgentMail.CreateApiKeyResponse</code></summary>
|
|
684
649
|
<dl>
|
|
685
650
|
<dd>
|
|
686
651
|
|
|
@@ -693,9 +658,8 @@ await client.domains.get("domain");
|
|
|
693
658
|
<dd>
|
|
694
659
|
|
|
695
660
|
```typescript
|
|
696
|
-
await client.
|
|
697
|
-
|
|
698
|
-
feedbackEnabled: undefined,
|
|
661
|
+
await client.apiKeys.create({
|
|
662
|
+
name: "name",
|
|
699
663
|
});
|
|
700
664
|
```
|
|
701
665
|
|
|
@@ -712,7 +676,7 @@ await client.domains.create({
|
|
|
712
676
|
<dl>
|
|
713
677
|
<dd>
|
|
714
678
|
|
|
715
|
-
**request:** `AgentMail.
|
|
679
|
+
**request:** `AgentMail.CreateApiKeyRequest`
|
|
716
680
|
|
|
717
681
|
</dd>
|
|
718
682
|
</dl>
|
|
@@ -720,7 +684,7 @@ await client.domains.create({
|
|
|
720
684
|
<dl>
|
|
721
685
|
<dd>
|
|
722
686
|
|
|
723
|
-
**requestOptions:** `
|
|
687
|
+
**requestOptions:** `ApiKeys.RequestOptions`
|
|
724
688
|
|
|
725
689
|
</dd>
|
|
726
690
|
</dl>
|
|
@@ -731,7 +695,7 @@ await client.domains.create({
|
|
|
731
695
|
</dl>
|
|
732
696
|
</details>
|
|
733
697
|
|
|
734
|
-
<details><summary><code>client.
|
|
698
|
+
<details><summary><code>client.apiKeys.<a href="/src/api/resources/apiKeys/client/Client.ts">delete</a>(apiKey) -> void</code></summary>
|
|
735
699
|
<dl>
|
|
736
700
|
<dd>
|
|
737
701
|
|
|
@@ -744,7 +708,7 @@ await client.domains.create({
|
|
|
744
708
|
<dd>
|
|
745
709
|
|
|
746
710
|
```typescript
|
|
747
|
-
await client.
|
|
711
|
+
await client.apiKeys.delete("api_key");
|
|
748
712
|
```
|
|
749
713
|
|
|
750
714
|
</dd>
|
|
@@ -760,7 +724,7 @@ await client.domains.delete("domain");
|
|
|
760
724
|
<dl>
|
|
761
725
|
<dd>
|
|
762
726
|
|
|
763
|
-
**
|
|
727
|
+
**apiKey:** `AgentMail.ApiKeyId`
|
|
764
728
|
|
|
765
729
|
</dd>
|
|
766
730
|
</dl>
|
|
@@ -768,7 +732,7 @@ await client.domains.delete("domain");
|
|
|
768
732
|
<dl>
|
|
769
733
|
<dd>
|
|
770
734
|
|
|
771
|
-
**requestOptions:** `
|
|
735
|
+
**requestOptions:** `ApiKeys.RequestOptions`
|
|
772
736
|
|
|
773
737
|
</dd>
|
|
774
738
|
</dl>
|
|
@@ -779,9 +743,9 @@ await client.domains.delete("domain");
|
|
|
779
743
|
</dl>
|
|
780
744
|
</details>
|
|
781
745
|
|
|
782
|
-
##
|
|
746
|
+
## Domains
|
|
783
747
|
|
|
784
|
-
<details><summary><code>client.
|
|
748
|
+
<details><summary><code>client.domains.<a href="/src/api/resources/domains/client/Client.ts">list</a>({ ...params }) -> AgentMail.ListDomainsResponse</code></summary>
|
|
785
749
|
<dl>
|
|
786
750
|
<dd>
|
|
787
751
|
|
|
@@ -794,16 +758,7 @@ await client.domains.delete("domain");
|
|
|
794
758
|
<dd>
|
|
795
759
|
|
|
796
760
|
```typescript
|
|
797
|
-
|
|
798
|
-
for await (const item of response) {
|
|
799
|
-
console.log(item);
|
|
800
|
-
}
|
|
801
|
-
|
|
802
|
-
// Or you can manually iterate page-by-page
|
|
803
|
-
let page = await client.drafts.list();
|
|
804
|
-
while (page.hasNextPage()) {
|
|
805
|
-
page = page.getNextPage();
|
|
806
|
-
}
|
|
761
|
+
await client.domains.list();
|
|
807
762
|
```
|
|
808
763
|
|
|
809
764
|
</dd>
|
|
@@ -819,7 +774,7 @@ while (page.hasNextPage()) {
|
|
|
819
774
|
<dl>
|
|
820
775
|
<dd>
|
|
821
776
|
|
|
822
|
-
**request:** `AgentMail.
|
|
777
|
+
**request:** `AgentMail.ListDomainsRequest`
|
|
823
778
|
|
|
824
779
|
</dd>
|
|
825
780
|
</dl>
|
|
@@ -827,7 +782,7 @@ while (page.hasNextPage()) {
|
|
|
827
782
|
<dl>
|
|
828
783
|
<dd>
|
|
829
784
|
|
|
830
|
-
**requestOptions:** `
|
|
785
|
+
**requestOptions:** `Domains.RequestOptions`
|
|
831
786
|
|
|
832
787
|
</dd>
|
|
833
788
|
</dl>
|
|
@@ -838,7 +793,7 @@ while (page.hasNextPage()) {
|
|
|
838
793
|
</dl>
|
|
839
794
|
</details>
|
|
840
795
|
|
|
841
|
-
<details><summary><code>client.
|
|
796
|
+
<details><summary><code>client.domains.<a href="/src/api/resources/domains/client/Client.ts">get</a>(domainId) -> AgentMail.Domain</code></summary>
|
|
842
797
|
<dl>
|
|
843
798
|
<dd>
|
|
844
799
|
|
|
@@ -851,7 +806,7 @@ while (page.hasNextPage()) {
|
|
|
851
806
|
<dd>
|
|
852
807
|
|
|
853
808
|
```typescript
|
|
854
|
-
await client.
|
|
809
|
+
await client.domains.get("domain_id");
|
|
855
810
|
```
|
|
856
811
|
|
|
857
812
|
</dd>
|
|
@@ -867,7 +822,7 @@ await client.drafts.get("draft_id");
|
|
|
867
822
|
<dl>
|
|
868
823
|
<dd>
|
|
869
824
|
|
|
870
|
-
**
|
|
825
|
+
**domainId:** `AgentMail.DomainId`
|
|
871
826
|
|
|
872
827
|
</dd>
|
|
873
828
|
</dl>
|
|
@@ -875,7 +830,7 @@ await client.drafts.get("draft_id");
|
|
|
875
830
|
<dl>
|
|
876
831
|
<dd>
|
|
877
832
|
|
|
878
|
-
**requestOptions:** `
|
|
833
|
+
**requestOptions:** `Domains.RequestOptions`
|
|
879
834
|
|
|
880
835
|
</dd>
|
|
881
836
|
</dl>
|
|
@@ -886,9 +841,7 @@ await client.drafts.get("draft_id");
|
|
|
886
841
|
</dl>
|
|
887
842
|
</details>
|
|
888
843
|
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
<details><summary><code>client.inboxes.drafts.<a href="/src/api/resources/inboxes/resources/drafts/client/Client.ts">list</a>(inboxId, { ...params }) -> core.Page<AgentMail.DraftItem></code></summary>
|
|
844
|
+
<details><summary><code>client.domains.<a href="/src/api/resources/domains/client/Client.ts">create</a>({ ...params }) -> AgentMail.Domain</code></summary>
|
|
892
845
|
<dl>
|
|
893
846
|
<dd>
|
|
894
847
|
|
|
@@ -901,16 +854,10 @@ await client.drafts.get("draft_id");
|
|
|
901
854
|
<dd>
|
|
902
855
|
|
|
903
856
|
```typescript
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
// Or you can manually iterate page-by-page
|
|
910
|
-
let page = await client.inboxes.drafts.list("inbox_id");
|
|
911
|
-
while (page.hasNextPage()) {
|
|
912
|
-
page = page.getNextPage();
|
|
913
|
-
}
|
|
857
|
+
await client.domains.create({
|
|
858
|
+
domain: "domain",
|
|
859
|
+
feedbackEnabled: true,
|
|
860
|
+
});
|
|
914
861
|
```
|
|
915
862
|
|
|
916
863
|
</dd>
|
|
@@ -926,15 +873,7 @@ while (page.hasNextPage()) {
|
|
|
926
873
|
<dl>
|
|
927
874
|
<dd>
|
|
928
875
|
|
|
929
|
-
**
|
|
930
|
-
|
|
931
|
-
</dd>
|
|
932
|
-
</dl>
|
|
933
|
-
|
|
934
|
-
<dl>
|
|
935
|
-
<dd>
|
|
936
|
-
|
|
937
|
-
**request:** `AgentMail.inboxes.ListDraftsRequest`
|
|
876
|
+
**request:** `AgentMail.CreateDomainRequest`
|
|
938
877
|
|
|
939
878
|
</dd>
|
|
940
879
|
</dl>
|
|
@@ -942,7 +881,7 @@ while (page.hasNextPage()) {
|
|
|
942
881
|
<dl>
|
|
943
882
|
<dd>
|
|
944
883
|
|
|
945
|
-
**requestOptions:** `
|
|
884
|
+
**requestOptions:** `Domains.RequestOptions`
|
|
946
885
|
|
|
947
886
|
</dd>
|
|
948
887
|
</dl>
|
|
@@ -953,7 +892,7 @@ while (page.hasNextPage()) {
|
|
|
953
892
|
</dl>
|
|
954
893
|
</details>
|
|
955
894
|
|
|
956
|
-
<details><summary><code>client.
|
|
895
|
+
<details><summary><code>client.domains.<a href="/src/api/resources/domains/client/Client.ts">delete</a>(domainId) -> void</code></summary>
|
|
957
896
|
<dl>
|
|
958
897
|
<dd>
|
|
959
898
|
|
|
@@ -966,7 +905,7 @@ while (page.hasNextPage()) {
|
|
|
966
905
|
<dd>
|
|
967
906
|
|
|
968
907
|
```typescript
|
|
969
|
-
await client.
|
|
908
|
+
await client.domains.delete("domain_id");
|
|
970
909
|
```
|
|
971
910
|
|
|
972
911
|
</dd>
|
|
@@ -982,15 +921,7 @@ await client.inboxes.drafts.get("inbox_id", "draft_id");
|
|
|
982
921
|
<dl>
|
|
983
922
|
<dd>
|
|
984
923
|
|
|
985
|
-
**
|
|
986
|
-
|
|
987
|
-
</dd>
|
|
988
|
-
</dl>
|
|
989
|
-
|
|
990
|
-
<dl>
|
|
991
|
-
<dd>
|
|
992
|
-
|
|
993
|
-
**draftId:** `AgentMail.DraftId`
|
|
924
|
+
**domainId:** `AgentMail.DomainId`
|
|
994
925
|
|
|
995
926
|
</dd>
|
|
996
927
|
</dl>
|
|
@@ -998,7 +929,7 @@ await client.inboxes.drafts.get("inbox_id", "draft_id");
|
|
|
998
929
|
<dl>
|
|
999
930
|
<dd>
|
|
1000
931
|
|
|
1001
|
-
**requestOptions:** `
|
|
932
|
+
**requestOptions:** `Domains.RequestOptions`
|
|
1002
933
|
|
|
1003
934
|
</dd>
|
|
1004
935
|
</dl>
|
|
@@ -1009,7 +940,7 @@ await client.inboxes.drafts.get("inbox_id", "draft_id");
|
|
|
1009
940
|
</dl>
|
|
1010
941
|
</details>
|
|
1011
942
|
|
|
1012
|
-
<details><summary><code>client.
|
|
943
|
+
<details><summary><code>client.domains.<a href="/src/api/resources/domains/client/Client.ts">verify</a>(domainId) -> void</code></summary>
|
|
1013
944
|
<dl>
|
|
1014
945
|
<dd>
|
|
1015
946
|
|
|
@@ -1022,18 +953,7 @@ await client.inboxes.drafts.get("inbox_id", "draft_id");
|
|
|
1022
953
|
<dd>
|
|
1023
954
|
|
|
1024
955
|
```typescript
|
|
1025
|
-
await client.
|
|
1026
|
-
labels: undefined,
|
|
1027
|
-
replyTo: undefined,
|
|
1028
|
-
to: undefined,
|
|
1029
|
-
cc: undefined,
|
|
1030
|
-
bcc: undefined,
|
|
1031
|
-
subject: undefined,
|
|
1032
|
-
text: undefined,
|
|
1033
|
-
html: undefined,
|
|
1034
|
-
inReplyTo: undefined,
|
|
1035
|
-
sendAt: undefined,
|
|
1036
|
-
});
|
|
956
|
+
await client.domains.verify("domain_id");
|
|
1037
957
|
```
|
|
1038
958
|
|
|
1039
959
|
</dd>
|
|
@@ -1049,15 +969,7 @@ await client.inboxes.drafts.create("inbox_id", {
|
|
|
1049
969
|
<dl>
|
|
1050
970
|
<dd>
|
|
1051
971
|
|
|
1052
|
-
**
|
|
1053
|
-
|
|
1054
|
-
</dd>
|
|
1055
|
-
</dl>
|
|
1056
|
-
|
|
1057
|
-
<dl>
|
|
1058
|
-
<dd>
|
|
1059
|
-
|
|
1060
|
-
**request:** `AgentMail.CreateDraftRequest`
|
|
972
|
+
**domainId:** `AgentMail.DomainId`
|
|
1061
973
|
|
|
1062
974
|
</dd>
|
|
1063
975
|
</dl>
|
|
@@ -1065,7 +977,7 @@ await client.inboxes.drafts.create("inbox_id", {
|
|
|
1065
977
|
<dl>
|
|
1066
978
|
<dd>
|
|
1067
979
|
|
|
1068
|
-
**requestOptions:** `
|
|
980
|
+
**requestOptions:** `Domains.RequestOptions`
|
|
1069
981
|
|
|
1070
982
|
</dd>
|
|
1071
983
|
</dl>
|
|
@@ -1076,7 +988,9 @@ await client.inboxes.drafts.create("inbox_id", {
|
|
|
1076
988
|
</dl>
|
|
1077
989
|
</details>
|
|
1078
990
|
|
|
1079
|
-
|
|
991
|
+
## Drafts
|
|
992
|
+
|
|
993
|
+
<details><summary><code>client.drafts.<a href="/src/api/resources/drafts/client/Client.ts">list</a>({ ...params }) -> AgentMail.ListDraftsResponse</code></summary>
|
|
1080
994
|
<dl>
|
|
1081
995
|
<dd>
|
|
1082
996
|
|
|
@@ -1089,10 +1003,7 @@ await client.inboxes.drafts.create("inbox_id", {
|
|
|
1089
1003
|
<dd>
|
|
1090
1004
|
|
|
1091
1005
|
```typescript
|
|
1092
|
-
await client.
|
|
1093
|
-
addLabels: undefined,
|
|
1094
|
-
removeLabels: undefined,
|
|
1095
|
-
});
|
|
1006
|
+
await client.drafts.list();
|
|
1096
1007
|
```
|
|
1097
1008
|
|
|
1098
1009
|
</dd>
|
|
@@ -1108,7 +1019,7 @@ await client.inboxes.drafts.send("inbox_id", "draft_id", {
|
|
|
1108
1019
|
<dl>
|
|
1109
1020
|
<dd>
|
|
1110
1021
|
|
|
1111
|
-
**
|
|
1022
|
+
**request:** `AgentMail.ListDraftsRequest`
|
|
1112
1023
|
|
|
1113
1024
|
</dd>
|
|
1114
1025
|
</dl>
|
|
@@ -1116,15 +1027,47 @@ await client.inboxes.drafts.send("inbox_id", "draft_id", {
|
|
|
1116
1027
|
<dl>
|
|
1117
1028
|
<dd>
|
|
1118
1029
|
|
|
1119
|
-
**
|
|
1030
|
+
**requestOptions:** `Drafts.RequestOptions`
|
|
1031
|
+
|
|
1032
|
+
</dd>
|
|
1033
|
+
</dl>
|
|
1034
|
+
</dd>
|
|
1035
|
+
</dl>
|
|
1120
1036
|
|
|
1121
1037
|
</dd>
|
|
1122
1038
|
</dl>
|
|
1039
|
+
</details>
|
|
1123
1040
|
|
|
1041
|
+
<details><summary><code>client.drafts.<a href="/src/api/resources/drafts/client/Client.ts">get</a>(draftId) -> AgentMail.Draft</code></summary>
|
|
1124
1042
|
<dl>
|
|
1125
1043
|
<dd>
|
|
1126
1044
|
|
|
1127
|
-
|
|
1045
|
+
#### 🔌 Usage
|
|
1046
|
+
|
|
1047
|
+
<dl>
|
|
1048
|
+
<dd>
|
|
1049
|
+
|
|
1050
|
+
<dl>
|
|
1051
|
+
<dd>
|
|
1052
|
+
|
|
1053
|
+
```typescript
|
|
1054
|
+
await client.drafts.get("draft_id");
|
|
1055
|
+
```
|
|
1056
|
+
|
|
1057
|
+
</dd>
|
|
1058
|
+
</dl>
|
|
1059
|
+
</dd>
|
|
1060
|
+
</dl>
|
|
1061
|
+
|
|
1062
|
+
#### ⚙️ Parameters
|
|
1063
|
+
|
|
1064
|
+
<dl>
|
|
1065
|
+
<dd>
|
|
1066
|
+
|
|
1067
|
+
<dl>
|
|
1068
|
+
<dd>
|
|
1069
|
+
|
|
1070
|
+
**draftId:** `AgentMail.DraftId`
|
|
1128
1071
|
|
|
1129
1072
|
</dd>
|
|
1130
1073
|
</dl>
|
|
@@ -1143,7 +1086,9 @@ await client.inboxes.drafts.send("inbox_id", "draft_id", {
|
|
|
1143
1086
|
</dl>
|
|
1144
1087
|
</details>
|
|
1145
1088
|
|
|
1146
|
-
|
|
1089
|
+
## Inboxes Drafts
|
|
1090
|
+
|
|
1091
|
+
<details><summary><code>client.inboxes.drafts.<a href="/src/api/resources/inboxes/resources/drafts/client/Client.ts">list</a>(inboxId, { ...params }) -> AgentMail.ListDraftsResponse</code></summary>
|
|
1147
1092
|
<dl>
|
|
1148
1093
|
<dd>
|
|
1149
1094
|
|
|
@@ -1156,7 +1101,7 @@ await client.inboxes.drafts.send("inbox_id", "draft_id", {
|
|
|
1156
1101
|
<dd>
|
|
1157
1102
|
|
|
1158
1103
|
```typescript
|
|
1159
|
-
await client.inboxes.drafts.
|
|
1104
|
+
await client.inboxes.drafts.list("inbox_id");
|
|
1160
1105
|
```
|
|
1161
1106
|
|
|
1162
1107
|
</dd>
|
|
@@ -1180,7 +1125,7 @@ await client.inboxes.drafts.delete("inbox_id", "draft_id");
|
|
|
1180
1125
|
<dl>
|
|
1181
1126
|
<dd>
|
|
1182
1127
|
|
|
1183
|
-
**
|
|
1128
|
+
**request:** `AgentMail.inboxes.ListDraftsRequest`
|
|
1184
1129
|
|
|
1185
1130
|
</dd>
|
|
1186
1131
|
</dl>
|
|
@@ -1199,9 +1144,7 @@ await client.inboxes.drafts.delete("inbox_id", "draft_id");
|
|
|
1199
1144
|
</dl>
|
|
1200
1145
|
</details>
|
|
1201
1146
|
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
<details><summary><code>client.inboxes.messages.<a href="/src/api/resources/inboxes/resources/messages/client/Client.ts">list</a>(inboxId, { ...params }) -> core.Page<AgentMail.MessageItem></code></summary>
|
|
1147
|
+
<details><summary><code>client.inboxes.drafts.<a href="/src/api/resources/inboxes/resources/drafts/client/Client.ts">get</a>(inboxId, draftId) -> AgentMail.Draft</code></summary>
|
|
1205
1148
|
<dl>
|
|
1206
1149
|
<dd>
|
|
1207
1150
|
|
|
@@ -1214,16 +1157,7 @@ await client.inboxes.drafts.delete("inbox_id", "draft_id");
|
|
|
1214
1157
|
<dd>
|
|
1215
1158
|
|
|
1216
1159
|
```typescript
|
|
1217
|
-
|
|
1218
|
-
for await (const item of response) {
|
|
1219
|
-
console.log(item);
|
|
1220
|
-
}
|
|
1221
|
-
|
|
1222
|
-
// Or you can manually iterate page-by-page
|
|
1223
|
-
let page = await client.inboxes.messages.list("inbox_id");
|
|
1224
|
-
while (page.hasNextPage()) {
|
|
1225
|
-
page = page.getNextPage();
|
|
1226
|
-
}
|
|
1160
|
+
await client.inboxes.drafts.get("inbox_id", "draft_id");
|
|
1227
1161
|
```
|
|
1228
1162
|
|
|
1229
1163
|
</dd>
|
|
@@ -1247,7 +1181,7 @@ while (page.hasNextPage()) {
|
|
|
1247
1181
|
<dl>
|
|
1248
1182
|
<dd>
|
|
1249
1183
|
|
|
1250
|
-
**
|
|
1184
|
+
**draftId:** `AgentMail.DraftId`
|
|
1251
1185
|
|
|
1252
1186
|
</dd>
|
|
1253
1187
|
</dl>
|
|
@@ -1255,7 +1189,7 @@ while (page.hasNextPage()) {
|
|
|
1255
1189
|
<dl>
|
|
1256
1190
|
<dd>
|
|
1257
1191
|
|
|
1258
|
-
**requestOptions:** `
|
|
1192
|
+
**requestOptions:** `Drafts.RequestOptions`
|
|
1259
1193
|
|
|
1260
1194
|
</dd>
|
|
1261
1195
|
</dl>
|
|
@@ -1266,7 +1200,7 @@ while (page.hasNextPage()) {
|
|
|
1266
1200
|
</dl>
|
|
1267
1201
|
</details>
|
|
1268
1202
|
|
|
1269
|
-
<details><summary><code>client.inboxes.
|
|
1203
|
+
<details><summary><code>client.inboxes.drafts.<a href="/src/api/resources/inboxes/resources/drafts/client/Client.ts">create</a>(inboxId, { ...params }) -> AgentMail.Draft</code></summary>
|
|
1270
1204
|
<dl>
|
|
1271
1205
|
<dd>
|
|
1272
1206
|
|
|
@@ -1279,7 +1213,19 @@ while (page.hasNextPage()) {
|
|
|
1279
1213
|
<dd>
|
|
1280
1214
|
|
|
1281
1215
|
```typescript
|
|
1282
|
-
await client.inboxes.
|
|
1216
|
+
await client.inboxes.drafts.create("inbox_id", {
|
|
1217
|
+
labels: undefined,
|
|
1218
|
+
replyTo: undefined,
|
|
1219
|
+
to: undefined,
|
|
1220
|
+
cc: undefined,
|
|
1221
|
+
bcc: undefined,
|
|
1222
|
+
subject: undefined,
|
|
1223
|
+
text: undefined,
|
|
1224
|
+
html: undefined,
|
|
1225
|
+
inReplyTo: undefined,
|
|
1226
|
+
sendAt: undefined,
|
|
1227
|
+
clientId: undefined,
|
|
1228
|
+
});
|
|
1283
1229
|
```
|
|
1284
1230
|
|
|
1285
1231
|
</dd>
|
|
@@ -1303,7 +1249,7 @@ await client.inboxes.messages.get("inbox_id", "message_id");
|
|
|
1303
1249
|
<dl>
|
|
1304
1250
|
<dd>
|
|
1305
1251
|
|
|
1306
|
-
**
|
|
1252
|
+
**request:** `AgentMail.CreateDraftRequest`
|
|
1307
1253
|
|
|
1308
1254
|
</dd>
|
|
1309
1255
|
</dl>
|
|
@@ -1311,7 +1257,7 @@ await client.inboxes.messages.get("inbox_id", "message_id");
|
|
|
1311
1257
|
<dl>
|
|
1312
1258
|
<dd>
|
|
1313
1259
|
|
|
1314
|
-
**requestOptions:** `
|
|
1260
|
+
**requestOptions:** `Drafts.RequestOptions`
|
|
1315
1261
|
|
|
1316
1262
|
</dd>
|
|
1317
1263
|
</dl>
|
|
@@ -1322,7 +1268,7 @@ await client.inboxes.messages.get("inbox_id", "message_id");
|
|
|
1322
1268
|
</dl>
|
|
1323
1269
|
</details>
|
|
1324
1270
|
|
|
1325
|
-
<details><summary><code>client.inboxes.
|
|
1271
|
+
<details><summary><code>client.inboxes.drafts.<a href="/src/api/resources/inboxes/resources/drafts/client/Client.ts">update</a>(inboxId, draftId, { ...params }) -> AgentMail.Draft</code></summary>
|
|
1326
1272
|
<dl>
|
|
1327
1273
|
<dd>
|
|
1328
1274
|
|
|
@@ -1335,7 +1281,16 @@ await client.inboxes.messages.get("inbox_id", "message_id");
|
|
|
1335
1281
|
<dd>
|
|
1336
1282
|
|
|
1337
1283
|
```typescript
|
|
1338
|
-
await client.inboxes.
|
|
1284
|
+
await client.inboxes.drafts.update("inbox_id", "draft_id", {
|
|
1285
|
+
replyTo: undefined,
|
|
1286
|
+
to: undefined,
|
|
1287
|
+
cc: undefined,
|
|
1288
|
+
bcc: undefined,
|
|
1289
|
+
subject: undefined,
|
|
1290
|
+
text: undefined,
|
|
1291
|
+
html: undefined,
|
|
1292
|
+
sendAt: undefined,
|
|
1293
|
+
});
|
|
1339
1294
|
```
|
|
1340
1295
|
|
|
1341
1296
|
</dd>
|
|
@@ -1359,7 +1314,7 @@ await client.inboxes.messages.getAttachment("inbox_id", "message_id", "attachmen
|
|
|
1359
1314
|
<dl>
|
|
1360
1315
|
<dd>
|
|
1361
1316
|
|
|
1362
|
-
**
|
|
1317
|
+
**draftId:** `AgentMail.DraftId`
|
|
1363
1318
|
|
|
1364
1319
|
</dd>
|
|
1365
1320
|
</dl>
|
|
@@ -1367,7 +1322,7 @@ await client.inboxes.messages.getAttachment("inbox_id", "message_id", "attachmen
|
|
|
1367
1322
|
<dl>
|
|
1368
1323
|
<dd>
|
|
1369
1324
|
|
|
1370
|
-
**
|
|
1325
|
+
**request:** `AgentMail.UpdateDraftRequest`
|
|
1371
1326
|
|
|
1372
1327
|
</dd>
|
|
1373
1328
|
</dl>
|
|
@@ -1375,7 +1330,7 @@ await client.inboxes.messages.getAttachment("inbox_id", "message_id", "attachmen
|
|
|
1375
1330
|
<dl>
|
|
1376
1331
|
<dd>
|
|
1377
1332
|
|
|
1378
|
-
**requestOptions:** `
|
|
1333
|
+
**requestOptions:** `Drafts.RequestOptions`
|
|
1379
1334
|
|
|
1380
1335
|
</dd>
|
|
1381
1336
|
</dl>
|
|
@@ -1386,7 +1341,7 @@ await client.inboxes.messages.getAttachment("inbox_id", "message_id", "attachmen
|
|
|
1386
1341
|
</dl>
|
|
1387
1342
|
</details>
|
|
1388
1343
|
|
|
1389
|
-
<details><summary><code>client.inboxes.
|
|
1344
|
+
<details><summary><code>client.inboxes.drafts.<a href="/src/api/resources/inboxes/resources/drafts/client/Client.ts">send</a>(inboxId, draftId, { ...params }) -> AgentMail.SendMessageResponse</code></summary>
|
|
1390
1345
|
<dl>
|
|
1391
1346
|
<dd>
|
|
1392
1347
|
|
|
@@ -1399,7 +1354,10 @@ await client.inboxes.messages.getAttachment("inbox_id", "message_id", "attachmen
|
|
|
1399
1354
|
<dd>
|
|
1400
1355
|
|
|
1401
1356
|
```typescript
|
|
1402
|
-
await client.inboxes.
|
|
1357
|
+
await client.inboxes.drafts.send("inbox_id", "draft_id", {
|
|
1358
|
+
addLabels: undefined,
|
|
1359
|
+
removeLabels: undefined,
|
|
1360
|
+
});
|
|
1403
1361
|
```
|
|
1404
1362
|
|
|
1405
1363
|
</dd>
|
|
@@ -1423,7 +1381,7 @@ await client.inboxes.messages.getRaw("inbox_id", "message_id");
|
|
|
1423
1381
|
<dl>
|
|
1424
1382
|
<dd>
|
|
1425
1383
|
|
|
1426
|
-
**
|
|
1384
|
+
**draftId:** `AgentMail.DraftId`
|
|
1427
1385
|
|
|
1428
1386
|
</dd>
|
|
1429
1387
|
</dl>
|
|
@@ -1431,7 +1389,15 @@ await client.inboxes.messages.getRaw("inbox_id", "message_id");
|
|
|
1431
1389
|
<dl>
|
|
1432
1390
|
<dd>
|
|
1433
1391
|
|
|
1434
|
-
**
|
|
1392
|
+
**request:** `AgentMail.UpdateMessageRequest`
|
|
1393
|
+
|
|
1394
|
+
</dd>
|
|
1395
|
+
</dl>
|
|
1396
|
+
|
|
1397
|
+
<dl>
|
|
1398
|
+
<dd>
|
|
1399
|
+
|
|
1400
|
+
**requestOptions:** `Drafts.RequestOptions`
|
|
1435
1401
|
|
|
1436
1402
|
</dd>
|
|
1437
1403
|
</dl>
|
|
@@ -1442,7 +1408,7 @@ await client.inboxes.messages.getRaw("inbox_id", "message_id");
|
|
|
1442
1408
|
</dl>
|
|
1443
1409
|
</details>
|
|
1444
1410
|
|
|
1445
|
-
<details><summary><code>client.inboxes.
|
|
1411
|
+
<details><summary><code>client.inboxes.drafts.<a href="/src/api/resources/inboxes/resources/drafts/client/Client.ts">delete</a>(inboxId, draftId) -> void</code></summary>
|
|
1446
1412
|
<dl>
|
|
1447
1413
|
<dd>
|
|
1448
1414
|
|
|
@@ -1455,17 +1421,7 @@ await client.inboxes.messages.getRaw("inbox_id", "message_id");
|
|
|
1455
1421
|
<dd>
|
|
1456
1422
|
|
|
1457
1423
|
```typescript
|
|
1458
|
-
await client.inboxes.
|
|
1459
|
-
labels: undefined,
|
|
1460
|
-
replyTo: undefined,
|
|
1461
|
-
to: undefined,
|
|
1462
|
-
cc: undefined,
|
|
1463
|
-
bcc: undefined,
|
|
1464
|
-
subject: undefined,
|
|
1465
|
-
text: undefined,
|
|
1466
|
-
html: undefined,
|
|
1467
|
-
attachments: undefined,
|
|
1468
|
-
});
|
|
1424
|
+
await client.inboxes.drafts.delete("inbox_id", "draft_id");
|
|
1469
1425
|
```
|
|
1470
1426
|
|
|
1471
1427
|
</dd>
|
|
@@ -1489,7 +1445,7 @@ await client.inboxes.messages.send("inbox_id", {
|
|
|
1489
1445
|
<dl>
|
|
1490
1446
|
<dd>
|
|
1491
1447
|
|
|
1492
|
-
**
|
|
1448
|
+
**draftId:** `AgentMail.DraftId`
|
|
1493
1449
|
|
|
1494
1450
|
</dd>
|
|
1495
1451
|
</dl>
|
|
@@ -1497,7 +1453,7 @@ await client.inboxes.messages.send("inbox_id", {
|
|
|
1497
1453
|
<dl>
|
|
1498
1454
|
<dd>
|
|
1499
1455
|
|
|
1500
|
-
**requestOptions:** `
|
|
1456
|
+
**requestOptions:** `Drafts.RequestOptions`
|
|
1501
1457
|
|
|
1502
1458
|
</dd>
|
|
1503
1459
|
</dl>
|
|
@@ -1508,7 +1464,9 @@ await client.inboxes.messages.send("inbox_id", {
|
|
|
1508
1464
|
</dl>
|
|
1509
1465
|
</details>
|
|
1510
1466
|
|
|
1511
|
-
|
|
1467
|
+
## Inboxes Messages
|
|
1468
|
+
|
|
1469
|
+
<details><summary><code>client.inboxes.messages.<a href="/src/api/resources/inboxes/resources/messages/client/Client.ts">list</a>(inboxId, { ...params }) -> AgentMail.ListMessagesResponse</code></summary>
|
|
1512
1470
|
<dl>
|
|
1513
1471
|
<dd>
|
|
1514
1472
|
|
|
@@ -1521,16 +1479,7 @@ await client.inboxes.messages.send("inbox_id", {
|
|
|
1521
1479
|
<dd>
|
|
1522
1480
|
|
|
1523
1481
|
```typescript
|
|
1524
|
-
await client.inboxes.messages.
|
|
1525
|
-
labels: undefined,
|
|
1526
|
-
replyTo: undefined,
|
|
1527
|
-
to: undefined,
|
|
1528
|
-
cc: undefined,
|
|
1529
|
-
bcc: undefined,
|
|
1530
|
-
text: undefined,
|
|
1531
|
-
html: undefined,
|
|
1532
|
-
attachments: undefined,
|
|
1533
|
-
});
|
|
1482
|
+
await client.inboxes.messages.list("inbox_id");
|
|
1534
1483
|
```
|
|
1535
1484
|
|
|
1536
1485
|
</dd>
|
|
@@ -1554,7 +1503,7 @@ await client.inboxes.messages.reply("inbox_id", "message_id", {
|
|
|
1554
1503
|
<dl>
|
|
1555
1504
|
<dd>
|
|
1556
1505
|
|
|
1557
|
-
**
|
|
1506
|
+
**request:** `AgentMail.inboxes.ListMessagesRequest`
|
|
1558
1507
|
|
|
1559
1508
|
</dd>
|
|
1560
1509
|
</dl>
|
|
@@ -1562,7 +1511,55 @@ await client.inboxes.messages.reply("inbox_id", "message_id", {
|
|
|
1562
1511
|
<dl>
|
|
1563
1512
|
<dd>
|
|
1564
1513
|
|
|
1565
|
-
**
|
|
1514
|
+
**requestOptions:** `Messages.RequestOptions`
|
|
1515
|
+
|
|
1516
|
+
</dd>
|
|
1517
|
+
</dl>
|
|
1518
|
+
</dd>
|
|
1519
|
+
</dl>
|
|
1520
|
+
|
|
1521
|
+
</dd>
|
|
1522
|
+
</dl>
|
|
1523
|
+
</details>
|
|
1524
|
+
|
|
1525
|
+
<details><summary><code>client.inboxes.messages.<a href="/src/api/resources/inboxes/resources/messages/client/Client.ts">get</a>(inboxId, messageId) -> AgentMail.Message</code></summary>
|
|
1526
|
+
<dl>
|
|
1527
|
+
<dd>
|
|
1528
|
+
|
|
1529
|
+
#### 🔌 Usage
|
|
1530
|
+
|
|
1531
|
+
<dl>
|
|
1532
|
+
<dd>
|
|
1533
|
+
|
|
1534
|
+
<dl>
|
|
1535
|
+
<dd>
|
|
1536
|
+
|
|
1537
|
+
```typescript
|
|
1538
|
+
await client.inboxes.messages.get("inbox_id", "message_id");
|
|
1539
|
+
```
|
|
1540
|
+
|
|
1541
|
+
</dd>
|
|
1542
|
+
</dl>
|
|
1543
|
+
</dd>
|
|
1544
|
+
</dl>
|
|
1545
|
+
|
|
1546
|
+
#### ⚙️ Parameters
|
|
1547
|
+
|
|
1548
|
+
<dl>
|
|
1549
|
+
<dd>
|
|
1550
|
+
|
|
1551
|
+
<dl>
|
|
1552
|
+
<dd>
|
|
1553
|
+
|
|
1554
|
+
**inboxId:** `AgentMail.InboxId`
|
|
1555
|
+
|
|
1556
|
+
</dd>
|
|
1557
|
+
</dl>
|
|
1558
|
+
|
|
1559
|
+
<dl>
|
|
1560
|
+
<dd>
|
|
1561
|
+
|
|
1562
|
+
**messageId:** `AgentMail.MessageId`
|
|
1566
1563
|
|
|
1567
1564
|
</dd>
|
|
1568
1565
|
</dl>
|
|
@@ -1581,7 +1578,7 @@ await client.inboxes.messages.reply("inbox_id", "message_id", {
|
|
|
1581
1578
|
</dl>
|
|
1582
1579
|
</details>
|
|
1583
1580
|
|
|
1584
|
-
<details><summary><code>client.inboxes.messages.<a href="/src/api/resources/inboxes/resources/messages/client/Client.ts">
|
|
1581
|
+
<details><summary><code>client.inboxes.messages.<a href="/src/api/resources/inboxes/resources/messages/client/Client.ts">getAttachment</a>(inboxId, messageId, attachmentId) -> core.BinaryResponse</code></summary>
|
|
1585
1582
|
<dl>
|
|
1586
1583
|
<dd>
|
|
1587
1584
|
|
|
@@ -1594,10 +1591,7 @@ await client.inboxes.messages.reply("inbox_id", "message_id", {
|
|
|
1594
1591
|
<dd>
|
|
1595
1592
|
|
|
1596
1593
|
```typescript
|
|
1597
|
-
await client.inboxes.messages.
|
|
1598
|
-
addLabels: undefined,
|
|
1599
|
-
removeLabels: undefined,
|
|
1600
|
-
});
|
|
1594
|
+
await client.inboxes.messages.getAttachment("inbox_id", "message_id", "attachment_id");
|
|
1601
1595
|
```
|
|
1602
1596
|
|
|
1603
1597
|
</dd>
|
|
@@ -1629,7 +1623,7 @@ await client.inboxes.messages.update("inbox_id", "message_id", {
|
|
|
1629
1623
|
<dl>
|
|
1630
1624
|
<dd>
|
|
1631
1625
|
|
|
1632
|
-
**
|
|
1626
|
+
**attachmentId:** `AgentMail.AttachmentId`
|
|
1633
1627
|
|
|
1634
1628
|
</dd>
|
|
1635
1629
|
</dl>
|
|
@@ -1648,9 +1642,7 @@ await client.inboxes.messages.update("inbox_id", "message_id", {
|
|
|
1648
1642
|
</dl>
|
|
1649
1643
|
</details>
|
|
1650
1644
|
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
<details><summary><code>client.inboxes.metrics.<a href="/src/api/resources/inboxes/resources/metrics/client/Client.ts">get</a>(inboxId, { ...params }) -> AgentMail.ListMetricsResponse</code></summary>
|
|
1645
|
+
<details><summary><code>client.inboxes.messages.<a href="/src/api/resources/inboxes/resources/messages/client/Client.ts">getRaw</a>(inboxId, messageId) -> core.BinaryResponse</code></summary>
|
|
1654
1646
|
<dl>
|
|
1655
1647
|
<dd>
|
|
1656
1648
|
|
|
@@ -1663,10 +1655,7 @@ await client.inboxes.messages.update("inbox_id", "message_id", {
|
|
|
1663
1655
|
<dd>
|
|
1664
1656
|
|
|
1665
1657
|
```typescript
|
|
1666
|
-
await client.inboxes.
|
|
1667
|
-
startTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
1668
|
-
endTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
1669
|
-
});
|
|
1658
|
+
await client.inboxes.messages.getRaw("inbox_id", "message_id");
|
|
1670
1659
|
```
|
|
1671
1660
|
|
|
1672
1661
|
</dd>
|
|
@@ -1690,7 +1679,7 @@ await client.inboxes.metrics.get("inbox_id", {
|
|
|
1690
1679
|
<dl>
|
|
1691
1680
|
<dd>
|
|
1692
1681
|
|
|
1693
|
-
**
|
|
1682
|
+
**messageId:** `AgentMail.MessageId`
|
|
1694
1683
|
|
|
1695
1684
|
</dd>
|
|
1696
1685
|
</dl>
|
|
@@ -1698,7 +1687,7 @@ await client.inboxes.metrics.get("inbox_id", {
|
|
|
1698
1687
|
<dl>
|
|
1699
1688
|
<dd>
|
|
1700
1689
|
|
|
1701
|
-
**requestOptions:** `
|
|
1690
|
+
**requestOptions:** `Messages.RequestOptions`
|
|
1702
1691
|
|
|
1703
1692
|
</dd>
|
|
1704
1693
|
</dl>
|
|
@@ -1709,9 +1698,7 @@ await client.inboxes.metrics.get("inbox_id", {
|
|
|
1709
1698
|
</dl>
|
|
1710
1699
|
</details>
|
|
1711
1700
|
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
<details><summary><code>client.inboxes.threads.<a href="/src/api/resources/inboxes/resources/threads/client/Client.ts">list</a>(inboxId, { ...params }) -> core.Page<AgentMail.ThreadItem></code></summary>
|
|
1701
|
+
<details><summary><code>client.inboxes.messages.<a href="/src/api/resources/inboxes/resources/messages/client/Client.ts">send</a>(inboxId, { ...params }) -> AgentMail.SendMessageResponse</code></summary>
|
|
1715
1702
|
<dl>
|
|
1716
1703
|
<dd>
|
|
1717
1704
|
|
|
@@ -1724,16 +1711,17 @@ await client.inboxes.metrics.get("inbox_id", {
|
|
|
1724
1711
|
<dd>
|
|
1725
1712
|
|
|
1726
1713
|
```typescript
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1714
|
+
await client.inboxes.messages.send("inbox_id", {
|
|
1715
|
+
labels: undefined,
|
|
1716
|
+
replyTo: undefined,
|
|
1717
|
+
to: undefined,
|
|
1718
|
+
cc: undefined,
|
|
1719
|
+
bcc: undefined,
|
|
1720
|
+
subject: undefined,
|
|
1721
|
+
text: undefined,
|
|
1722
|
+
html: undefined,
|
|
1723
|
+
attachments: undefined,
|
|
1724
|
+
});
|
|
1737
1725
|
```
|
|
1738
1726
|
|
|
1739
1727
|
</dd>
|
|
@@ -1757,7 +1745,7 @@ while (page.hasNextPage()) {
|
|
|
1757
1745
|
<dl>
|
|
1758
1746
|
<dd>
|
|
1759
1747
|
|
|
1760
|
-
**request:** `AgentMail.
|
|
1748
|
+
**request:** `AgentMail.SendMessageRequest`
|
|
1761
1749
|
|
|
1762
1750
|
</dd>
|
|
1763
1751
|
</dl>
|
|
@@ -1765,7 +1753,7 @@ while (page.hasNextPage()) {
|
|
|
1765
1753
|
<dl>
|
|
1766
1754
|
<dd>
|
|
1767
1755
|
|
|
1768
|
-
**requestOptions:** `
|
|
1756
|
+
**requestOptions:** `Messages.RequestOptions`
|
|
1769
1757
|
|
|
1770
1758
|
</dd>
|
|
1771
1759
|
</dl>
|
|
@@ -1776,7 +1764,7 @@ while (page.hasNextPage()) {
|
|
|
1776
1764
|
</dl>
|
|
1777
1765
|
</details>
|
|
1778
1766
|
|
|
1779
|
-
<details><summary><code>client.inboxes.
|
|
1767
|
+
<details><summary><code>client.inboxes.messages.<a href="/src/api/resources/inboxes/resources/messages/client/Client.ts">reply</a>(inboxId, messageId, { ...params }) -> AgentMail.SendMessageResponse</code></summary>
|
|
1780
1768
|
<dl>
|
|
1781
1769
|
<dd>
|
|
1782
1770
|
|
|
@@ -1789,7 +1777,16 @@ while (page.hasNextPage()) {
|
|
|
1789
1777
|
<dd>
|
|
1790
1778
|
|
|
1791
1779
|
```typescript
|
|
1792
|
-
await client.inboxes.
|
|
1780
|
+
await client.inboxes.messages.reply("inbox_id", "message_id", {
|
|
1781
|
+
labels: undefined,
|
|
1782
|
+
replyTo: undefined,
|
|
1783
|
+
to: undefined,
|
|
1784
|
+
cc: undefined,
|
|
1785
|
+
bcc: undefined,
|
|
1786
|
+
text: undefined,
|
|
1787
|
+
html: undefined,
|
|
1788
|
+
attachments: undefined,
|
|
1789
|
+
});
|
|
1793
1790
|
```
|
|
1794
1791
|
|
|
1795
1792
|
</dd>
|
|
@@ -1813,7 +1810,7 @@ await client.inboxes.threads.get("inbox_id", "thread_id");
|
|
|
1813
1810
|
<dl>
|
|
1814
1811
|
<dd>
|
|
1815
1812
|
|
|
1816
|
-
**
|
|
1813
|
+
**messageId:** `AgentMail.MessageId`
|
|
1817
1814
|
|
|
1818
1815
|
</dd>
|
|
1819
1816
|
</dl>
|
|
@@ -1821,7 +1818,15 @@ await client.inboxes.threads.get("inbox_id", "thread_id");
|
|
|
1821
1818
|
<dl>
|
|
1822
1819
|
<dd>
|
|
1823
1820
|
|
|
1824
|
-
**
|
|
1821
|
+
**request:** `AgentMail.ReplyToMessageRequest`
|
|
1822
|
+
|
|
1823
|
+
</dd>
|
|
1824
|
+
</dl>
|
|
1825
|
+
|
|
1826
|
+
<dl>
|
|
1827
|
+
<dd>
|
|
1828
|
+
|
|
1829
|
+
**requestOptions:** `Messages.RequestOptions`
|
|
1825
1830
|
|
|
1826
1831
|
</dd>
|
|
1827
1832
|
</dl>
|
|
@@ -1832,7 +1837,7 @@ await client.inboxes.threads.get("inbox_id", "thread_id");
|
|
|
1832
1837
|
</dl>
|
|
1833
1838
|
</details>
|
|
1834
1839
|
|
|
1835
|
-
<details><summary><code>client.inboxes.
|
|
1840
|
+
<details><summary><code>client.inboxes.messages.<a href="/src/api/resources/inboxes/resources/messages/client/Client.ts">update</a>(inboxId, messageId, { ...params }) -> AgentMail.Message</code></summary>
|
|
1836
1841
|
<dl>
|
|
1837
1842
|
<dd>
|
|
1838
1843
|
|
|
@@ -1845,7 +1850,10 @@ await client.inboxes.threads.get("inbox_id", "thread_id");
|
|
|
1845
1850
|
<dd>
|
|
1846
1851
|
|
|
1847
1852
|
```typescript
|
|
1848
|
-
await client.inboxes.
|
|
1853
|
+
await client.inboxes.messages.update("inbox_id", "message_id", {
|
|
1854
|
+
addLabels: undefined,
|
|
1855
|
+
removeLabels: undefined,
|
|
1856
|
+
});
|
|
1849
1857
|
```
|
|
1850
1858
|
|
|
1851
1859
|
</dd>
|
|
@@ -1869,7 +1877,7 @@ await client.inboxes.threads.getAttachment("inbox_id", "thread_id", "attachment_
|
|
|
1869
1877
|
<dl>
|
|
1870
1878
|
<dd>
|
|
1871
1879
|
|
|
1872
|
-
**
|
|
1880
|
+
**messageId:** `AgentMail.MessageId`
|
|
1873
1881
|
|
|
1874
1882
|
</dd>
|
|
1875
1883
|
</dl>
|
|
@@ -1877,7 +1885,7 @@ await client.inboxes.threads.getAttachment("inbox_id", "thread_id", "attachment_
|
|
|
1877
1885
|
<dl>
|
|
1878
1886
|
<dd>
|
|
1879
1887
|
|
|
1880
|
-
**
|
|
1888
|
+
**request:** `AgentMail.UpdateMessageRequest`
|
|
1881
1889
|
|
|
1882
1890
|
</dd>
|
|
1883
1891
|
</dl>
|
|
@@ -1885,7 +1893,7 @@ await client.inboxes.threads.getAttachment("inbox_id", "thread_id", "attachment_
|
|
|
1885
1893
|
<dl>
|
|
1886
1894
|
<dd>
|
|
1887
1895
|
|
|
1888
|
-
**requestOptions:** `
|
|
1896
|
+
**requestOptions:** `Messages.RequestOptions`
|
|
1889
1897
|
|
|
1890
1898
|
</dd>
|
|
1891
1899
|
</dl>
|
|
@@ -1896,7 +1904,9 @@ await client.inboxes.threads.getAttachment("inbox_id", "thread_id", "attachment_
|
|
|
1896
1904
|
</dl>
|
|
1897
1905
|
</details>
|
|
1898
1906
|
|
|
1899
|
-
|
|
1907
|
+
## Inboxes Metrics
|
|
1908
|
+
|
|
1909
|
+
<details><summary><code>client.inboxes.metrics.<a href="/src/api/resources/inboxes/resources/metrics/client/Client.ts">get</a>(inboxId, { ...params }) -> AgentMail.ListMetricsResponse</code></summary>
|
|
1900
1910
|
<dl>
|
|
1901
1911
|
<dd>
|
|
1902
1912
|
|
|
@@ -1909,7 +1919,10 @@ await client.inboxes.threads.getAttachment("inbox_id", "thread_id", "attachment_
|
|
|
1909
1919
|
<dd>
|
|
1910
1920
|
|
|
1911
1921
|
```typescript
|
|
1912
|
-
await client.inboxes.
|
|
1922
|
+
await client.inboxes.metrics.get("inbox_id", {
|
|
1923
|
+
startTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
1924
|
+
endTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
1925
|
+
});
|
|
1913
1926
|
```
|
|
1914
1927
|
|
|
1915
1928
|
</dd>
|
|
@@ -1933,7 +1946,7 @@ await client.inboxes.threads.delete("inbox_id", "thread_id");
|
|
|
1933
1946
|
<dl>
|
|
1934
1947
|
<dd>
|
|
1935
1948
|
|
|
1936
|
-
**
|
|
1949
|
+
**request:** `AgentMail.inboxes.ListInboxMetricsRequest`
|
|
1937
1950
|
|
|
1938
1951
|
</dd>
|
|
1939
1952
|
</dl>
|
|
@@ -1941,7 +1954,7 @@ await client.inboxes.threads.delete("inbox_id", "thread_id");
|
|
|
1941
1954
|
<dl>
|
|
1942
1955
|
<dd>
|
|
1943
1956
|
|
|
1944
|
-
**requestOptions:** `
|
|
1957
|
+
**requestOptions:** `Metrics.RequestOptions`
|
|
1945
1958
|
|
|
1946
1959
|
</dd>
|
|
1947
1960
|
</dl>
|
|
@@ -1952,9 +1965,9 @@ await client.inboxes.threads.delete("inbox_id", "thread_id");
|
|
|
1952
1965
|
</dl>
|
|
1953
1966
|
</details>
|
|
1954
1967
|
|
|
1955
|
-
##
|
|
1968
|
+
## Inboxes Threads
|
|
1956
1969
|
|
|
1957
|
-
<details><summary><code>client.
|
|
1970
|
+
<details><summary><code>client.inboxes.threads.<a href="/src/api/resources/inboxes/resources/threads/client/Client.ts">list</a>(inboxId, { ...params }) -> AgentMail.ListThreadsResponse</code></summary>
|
|
1958
1971
|
<dl>
|
|
1959
1972
|
<dd>
|
|
1960
1973
|
|
|
@@ -1967,10 +1980,7 @@ await client.inboxes.threads.delete("inbox_id", "thread_id");
|
|
|
1967
1980
|
<dd>
|
|
1968
1981
|
|
|
1969
1982
|
```typescript
|
|
1970
|
-
await client.
|
|
1971
|
-
startTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
1972
|
-
endTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
1973
|
-
});
|
|
1983
|
+
await client.inboxes.threads.list("inbox_id");
|
|
1974
1984
|
```
|
|
1975
1985
|
|
|
1976
1986
|
</dd>
|
|
@@ -1986,7 +1996,7 @@ await client.metrics.list({
|
|
|
1986
1996
|
<dl>
|
|
1987
1997
|
<dd>
|
|
1988
1998
|
|
|
1989
|
-
**
|
|
1999
|
+
**inboxId:** `AgentMail.InboxId`
|
|
1990
2000
|
|
|
1991
2001
|
</dd>
|
|
1992
2002
|
</dl>
|
|
@@ -1994,7 +2004,15 @@ await client.metrics.list({
|
|
|
1994
2004
|
<dl>
|
|
1995
2005
|
<dd>
|
|
1996
2006
|
|
|
1997
|
-
**
|
|
2007
|
+
**request:** `AgentMail.inboxes.ListThreadsRequest`
|
|
2008
|
+
|
|
2009
|
+
</dd>
|
|
2010
|
+
</dl>
|
|
2011
|
+
|
|
2012
|
+
<dl>
|
|
2013
|
+
<dd>
|
|
2014
|
+
|
|
2015
|
+
**requestOptions:** `Threads.RequestOptions`
|
|
1998
2016
|
|
|
1999
2017
|
</dd>
|
|
2000
2018
|
</dl>
|
|
@@ -2005,9 +2023,7 @@ await client.metrics.list({
|
|
|
2005
2023
|
</dl>
|
|
2006
2024
|
</details>
|
|
2007
2025
|
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
<details><summary><code>client.threads.<a href="/src/api/resources/threads/client/Client.ts">list</a>({ ...params }) -> core.Page<AgentMail.ThreadItem></code></summary>
|
|
2026
|
+
<details><summary><code>client.inboxes.threads.<a href="/src/api/resources/inboxes/resources/threads/client/Client.ts">get</a>(inboxId, threadId) -> AgentMail.Thread</code></summary>
|
|
2011
2027
|
<dl>
|
|
2012
2028
|
<dd>
|
|
2013
2029
|
|
|
@@ -2020,16 +2036,7 @@ await client.metrics.list({
|
|
|
2020
2036
|
<dd>
|
|
2021
2037
|
|
|
2022
2038
|
```typescript
|
|
2023
|
-
|
|
2024
|
-
for await (const item of response) {
|
|
2025
|
-
console.log(item);
|
|
2026
|
-
}
|
|
2027
|
-
|
|
2028
|
-
// Or you can manually iterate page-by-page
|
|
2029
|
-
let page = await client.threads.list();
|
|
2030
|
-
while (page.hasNextPage()) {
|
|
2031
|
-
page = page.getNextPage();
|
|
2032
|
-
}
|
|
2039
|
+
await client.inboxes.threads.get("inbox_id", "thread_id");
|
|
2033
2040
|
```
|
|
2034
2041
|
|
|
2035
2042
|
</dd>
|
|
@@ -2045,7 +2052,15 @@ while (page.hasNextPage()) {
|
|
|
2045
2052
|
<dl>
|
|
2046
2053
|
<dd>
|
|
2047
2054
|
|
|
2048
|
-
**
|
|
2055
|
+
**inboxId:** `AgentMail.InboxId`
|
|
2056
|
+
|
|
2057
|
+
</dd>
|
|
2058
|
+
</dl>
|
|
2059
|
+
|
|
2060
|
+
<dl>
|
|
2061
|
+
<dd>
|
|
2062
|
+
|
|
2063
|
+
**threadId:** `AgentMail.ThreadId`
|
|
2049
2064
|
|
|
2050
2065
|
</dd>
|
|
2051
2066
|
</dl>
|
|
@@ -2064,7 +2079,7 @@ while (page.hasNextPage()) {
|
|
|
2064
2079
|
</dl>
|
|
2065
2080
|
</details>
|
|
2066
2081
|
|
|
2067
|
-
<details><summary><code>client.threads.<a href="/src/api/resources/threads/client/Client.ts">
|
|
2082
|
+
<details><summary><code>client.inboxes.threads.<a href="/src/api/resources/inboxes/resources/threads/client/Client.ts">getAttachment</a>(inboxId, threadId, attachmentId) -> core.BinaryResponse</code></summary>
|
|
2068
2083
|
<dl>
|
|
2069
2084
|
<dd>
|
|
2070
2085
|
|
|
@@ -2077,7 +2092,7 @@ while (page.hasNextPage()) {
|
|
|
2077
2092
|
<dd>
|
|
2078
2093
|
|
|
2079
2094
|
```typescript
|
|
2080
|
-
await client.threads.
|
|
2095
|
+
await client.inboxes.threads.getAttachment("inbox_id", "thread_id", "attachment_id");
|
|
2081
2096
|
```
|
|
2082
2097
|
|
|
2083
2098
|
</dd>
|
|
@@ -2093,6 +2108,14 @@ await client.threads.get("thread_id");
|
|
|
2093
2108
|
<dl>
|
|
2094
2109
|
<dd>
|
|
2095
2110
|
|
|
2111
|
+
**inboxId:** `AgentMail.InboxId`
|
|
2112
|
+
|
|
2113
|
+
</dd>
|
|
2114
|
+
</dl>
|
|
2115
|
+
|
|
2116
|
+
<dl>
|
|
2117
|
+
<dd>
|
|
2118
|
+
|
|
2096
2119
|
**threadId:** `AgentMail.ThreadId`
|
|
2097
2120
|
|
|
2098
2121
|
</dd>
|
|
@@ -2101,6 +2124,14 @@ await client.threads.get("thread_id");
|
|
|
2101
2124
|
<dl>
|
|
2102
2125
|
<dd>
|
|
2103
2126
|
|
|
2127
|
+
**attachmentId:** `AgentMail.AttachmentId`
|
|
2128
|
+
|
|
2129
|
+
</dd>
|
|
2130
|
+
</dl>
|
|
2131
|
+
|
|
2132
|
+
<dl>
|
|
2133
|
+
<dd>
|
|
2134
|
+
|
|
2104
2135
|
**requestOptions:** `Threads.RequestOptions`
|
|
2105
2136
|
|
|
2106
2137
|
</dd>
|
|
@@ -2112,7 +2143,7 @@ await client.threads.get("thread_id");
|
|
|
2112
2143
|
</dl>
|
|
2113
2144
|
</details>
|
|
2114
2145
|
|
|
2115
|
-
<details><summary><code>client.threads.<a href="/src/api/resources/threads/client/Client.ts">
|
|
2146
|
+
<details><summary><code>client.inboxes.threads.<a href="/src/api/resources/inboxes/resources/threads/client/Client.ts">delete</a>(inboxId, threadId) -> void</code></summary>
|
|
2116
2147
|
<dl>
|
|
2117
2148
|
<dd>
|
|
2118
2149
|
|
|
@@ -2125,7 +2156,7 @@ await client.threads.get("thread_id");
|
|
|
2125
2156
|
<dd>
|
|
2126
2157
|
|
|
2127
2158
|
```typescript
|
|
2128
|
-
await client.threads.
|
|
2159
|
+
await client.inboxes.threads.delete("inbox_id", "thread_id");
|
|
2129
2160
|
```
|
|
2130
2161
|
|
|
2131
2162
|
</dd>
|
|
@@ -2141,7 +2172,7 @@ await client.threads.getAttachment("thread_id", "attachment_id");
|
|
|
2141
2172
|
<dl>
|
|
2142
2173
|
<dd>
|
|
2143
2174
|
|
|
2144
|
-
**
|
|
2175
|
+
**inboxId:** `AgentMail.InboxId`
|
|
2145
2176
|
|
|
2146
2177
|
</dd>
|
|
2147
2178
|
</dl>
|
|
@@ -2149,7 +2180,7 @@ await client.threads.getAttachment("thread_id", "attachment_id");
|
|
|
2149
2180
|
<dl>
|
|
2150
2181
|
<dd>
|
|
2151
2182
|
|
|
2152
|
-
**
|
|
2183
|
+
**threadId:** `AgentMail.ThreadId`
|
|
2153
2184
|
|
|
2154
2185
|
</dd>
|
|
2155
2186
|
</dl>
|
|
@@ -2168,7 +2199,9 @@ await client.threads.getAttachment("thread_id", "attachment_id");
|
|
|
2168
2199
|
</dl>
|
|
2169
2200
|
</details>
|
|
2170
2201
|
|
|
2171
|
-
|
|
2202
|
+
## Metrics
|
|
2203
|
+
|
|
2204
|
+
<details><summary><code>client.metrics.<a href="/src/api/resources/metrics/client/Client.ts">list</a>({ ...params }) -> AgentMail.ListMetricsResponse</code></summary>
|
|
2172
2205
|
<dl>
|
|
2173
2206
|
<dd>
|
|
2174
2207
|
|
|
@@ -2181,7 +2214,10 @@ await client.threads.getAttachment("thread_id", "attachment_id");
|
|
|
2181
2214
|
<dd>
|
|
2182
2215
|
|
|
2183
2216
|
```typescript
|
|
2184
|
-
await client.
|
|
2217
|
+
await client.metrics.list({
|
|
2218
|
+
startTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
2219
|
+
endTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
2220
|
+
});
|
|
2185
2221
|
```
|
|
2186
2222
|
|
|
2187
2223
|
</dd>
|
|
@@ -2197,7 +2233,857 @@ await client.threads.delete("thread_id");
|
|
|
2197
2233
|
<dl>
|
|
2198
2234
|
<dd>
|
|
2199
2235
|
|
|
2200
|
-
**
|
|
2236
|
+
**request:** `AgentMail.ListMetricsRequest`
|
|
2237
|
+
|
|
2238
|
+
</dd>
|
|
2239
|
+
</dl>
|
|
2240
|
+
|
|
2241
|
+
<dl>
|
|
2242
|
+
<dd>
|
|
2243
|
+
|
|
2244
|
+
**requestOptions:** `Metrics.RequestOptions`
|
|
2245
|
+
|
|
2246
|
+
</dd>
|
|
2247
|
+
</dl>
|
|
2248
|
+
</dd>
|
|
2249
|
+
</dl>
|
|
2250
|
+
|
|
2251
|
+
</dd>
|
|
2252
|
+
</dl>
|
|
2253
|
+
</details>
|
|
2254
|
+
|
|
2255
|
+
## Pods Domains
|
|
2256
|
+
|
|
2257
|
+
<details><summary><code>client.pods.domains.<a href="/src/api/resources/pods/resources/domains/client/Client.ts">list</a>(podId, { ...params }) -> AgentMail.ListDomainsResponse</code></summary>
|
|
2258
|
+
<dl>
|
|
2259
|
+
<dd>
|
|
2260
|
+
|
|
2261
|
+
#### 🔌 Usage
|
|
2262
|
+
|
|
2263
|
+
<dl>
|
|
2264
|
+
<dd>
|
|
2265
|
+
|
|
2266
|
+
<dl>
|
|
2267
|
+
<dd>
|
|
2268
|
+
|
|
2269
|
+
```typescript
|
|
2270
|
+
await client.pods.domains.list("pod_id");
|
|
2271
|
+
```
|
|
2272
|
+
|
|
2273
|
+
</dd>
|
|
2274
|
+
</dl>
|
|
2275
|
+
</dd>
|
|
2276
|
+
</dl>
|
|
2277
|
+
|
|
2278
|
+
#### ⚙️ Parameters
|
|
2279
|
+
|
|
2280
|
+
<dl>
|
|
2281
|
+
<dd>
|
|
2282
|
+
|
|
2283
|
+
<dl>
|
|
2284
|
+
<dd>
|
|
2285
|
+
|
|
2286
|
+
**podId:** `AgentMail.PodId`
|
|
2287
|
+
|
|
2288
|
+
</dd>
|
|
2289
|
+
</dl>
|
|
2290
|
+
|
|
2291
|
+
<dl>
|
|
2292
|
+
<dd>
|
|
2293
|
+
|
|
2294
|
+
**request:** `AgentMail.pods.ListDomainsRequest`
|
|
2295
|
+
|
|
2296
|
+
</dd>
|
|
2297
|
+
</dl>
|
|
2298
|
+
|
|
2299
|
+
<dl>
|
|
2300
|
+
<dd>
|
|
2301
|
+
|
|
2302
|
+
**requestOptions:** `Domains.RequestOptions`
|
|
2303
|
+
|
|
2304
|
+
</dd>
|
|
2305
|
+
</dl>
|
|
2306
|
+
</dd>
|
|
2307
|
+
</dl>
|
|
2308
|
+
|
|
2309
|
+
</dd>
|
|
2310
|
+
</dl>
|
|
2311
|
+
</details>
|
|
2312
|
+
|
|
2313
|
+
<details><summary><code>client.pods.domains.<a href="/src/api/resources/pods/resources/domains/client/Client.ts">create</a>(podId, { ...params }) -> AgentMail.Domain</code></summary>
|
|
2314
|
+
<dl>
|
|
2315
|
+
<dd>
|
|
2316
|
+
|
|
2317
|
+
#### 🔌 Usage
|
|
2318
|
+
|
|
2319
|
+
<dl>
|
|
2320
|
+
<dd>
|
|
2321
|
+
|
|
2322
|
+
<dl>
|
|
2323
|
+
<dd>
|
|
2324
|
+
|
|
2325
|
+
```typescript
|
|
2326
|
+
await client.pods.domains.create("pod_id", {
|
|
2327
|
+
domain: "domain",
|
|
2328
|
+
feedbackEnabled: true,
|
|
2329
|
+
});
|
|
2330
|
+
```
|
|
2331
|
+
|
|
2332
|
+
</dd>
|
|
2333
|
+
</dl>
|
|
2334
|
+
</dd>
|
|
2335
|
+
</dl>
|
|
2336
|
+
|
|
2337
|
+
#### ⚙️ Parameters
|
|
2338
|
+
|
|
2339
|
+
<dl>
|
|
2340
|
+
<dd>
|
|
2341
|
+
|
|
2342
|
+
<dl>
|
|
2343
|
+
<dd>
|
|
2344
|
+
|
|
2345
|
+
**podId:** `AgentMail.PodId`
|
|
2346
|
+
|
|
2347
|
+
</dd>
|
|
2348
|
+
</dl>
|
|
2349
|
+
|
|
2350
|
+
<dl>
|
|
2351
|
+
<dd>
|
|
2352
|
+
|
|
2353
|
+
**request:** `AgentMail.CreateDomainRequest`
|
|
2354
|
+
|
|
2355
|
+
</dd>
|
|
2356
|
+
</dl>
|
|
2357
|
+
|
|
2358
|
+
<dl>
|
|
2359
|
+
<dd>
|
|
2360
|
+
|
|
2361
|
+
**requestOptions:** `Domains.RequestOptions`
|
|
2362
|
+
|
|
2363
|
+
</dd>
|
|
2364
|
+
</dl>
|
|
2365
|
+
</dd>
|
|
2366
|
+
</dl>
|
|
2367
|
+
|
|
2368
|
+
</dd>
|
|
2369
|
+
</dl>
|
|
2370
|
+
</details>
|
|
2371
|
+
|
|
2372
|
+
<details><summary><code>client.pods.domains.<a href="/src/api/resources/pods/resources/domains/client/Client.ts">delete</a>(podId, domainId) -> void</code></summary>
|
|
2373
|
+
<dl>
|
|
2374
|
+
<dd>
|
|
2375
|
+
|
|
2376
|
+
#### 🔌 Usage
|
|
2377
|
+
|
|
2378
|
+
<dl>
|
|
2379
|
+
<dd>
|
|
2380
|
+
|
|
2381
|
+
<dl>
|
|
2382
|
+
<dd>
|
|
2383
|
+
|
|
2384
|
+
```typescript
|
|
2385
|
+
await client.pods.domains.delete("pod_id", "domain_id");
|
|
2386
|
+
```
|
|
2387
|
+
|
|
2388
|
+
</dd>
|
|
2389
|
+
</dl>
|
|
2390
|
+
</dd>
|
|
2391
|
+
</dl>
|
|
2392
|
+
|
|
2393
|
+
#### ⚙️ Parameters
|
|
2394
|
+
|
|
2395
|
+
<dl>
|
|
2396
|
+
<dd>
|
|
2397
|
+
|
|
2398
|
+
<dl>
|
|
2399
|
+
<dd>
|
|
2400
|
+
|
|
2401
|
+
**podId:** `AgentMail.PodId`
|
|
2402
|
+
|
|
2403
|
+
</dd>
|
|
2404
|
+
</dl>
|
|
2405
|
+
|
|
2406
|
+
<dl>
|
|
2407
|
+
<dd>
|
|
2408
|
+
|
|
2409
|
+
**domainId:** `AgentMail.DomainId`
|
|
2410
|
+
|
|
2411
|
+
</dd>
|
|
2412
|
+
</dl>
|
|
2413
|
+
|
|
2414
|
+
<dl>
|
|
2415
|
+
<dd>
|
|
2416
|
+
|
|
2417
|
+
**requestOptions:** `Domains.RequestOptions`
|
|
2418
|
+
|
|
2419
|
+
</dd>
|
|
2420
|
+
</dl>
|
|
2421
|
+
</dd>
|
|
2422
|
+
</dl>
|
|
2423
|
+
|
|
2424
|
+
</dd>
|
|
2425
|
+
</dl>
|
|
2426
|
+
</details>
|
|
2427
|
+
|
|
2428
|
+
## Pods Drafts
|
|
2429
|
+
|
|
2430
|
+
<details><summary><code>client.pods.drafts.<a href="/src/api/resources/pods/resources/drafts/client/Client.ts">list</a>(podId, { ...params }) -> AgentMail.ListDraftsResponse</code></summary>
|
|
2431
|
+
<dl>
|
|
2432
|
+
<dd>
|
|
2433
|
+
|
|
2434
|
+
#### 🔌 Usage
|
|
2435
|
+
|
|
2436
|
+
<dl>
|
|
2437
|
+
<dd>
|
|
2438
|
+
|
|
2439
|
+
<dl>
|
|
2440
|
+
<dd>
|
|
2441
|
+
|
|
2442
|
+
```typescript
|
|
2443
|
+
await client.pods.drafts.list("pod_id");
|
|
2444
|
+
```
|
|
2445
|
+
|
|
2446
|
+
</dd>
|
|
2447
|
+
</dl>
|
|
2448
|
+
</dd>
|
|
2449
|
+
</dl>
|
|
2450
|
+
|
|
2451
|
+
#### ⚙️ Parameters
|
|
2452
|
+
|
|
2453
|
+
<dl>
|
|
2454
|
+
<dd>
|
|
2455
|
+
|
|
2456
|
+
<dl>
|
|
2457
|
+
<dd>
|
|
2458
|
+
|
|
2459
|
+
**podId:** `AgentMail.PodId`
|
|
2460
|
+
|
|
2461
|
+
</dd>
|
|
2462
|
+
</dl>
|
|
2463
|
+
|
|
2464
|
+
<dl>
|
|
2465
|
+
<dd>
|
|
2466
|
+
|
|
2467
|
+
**request:** `AgentMail.pods.ListDraftsRequest`
|
|
2468
|
+
|
|
2469
|
+
</dd>
|
|
2470
|
+
</dl>
|
|
2471
|
+
|
|
2472
|
+
<dl>
|
|
2473
|
+
<dd>
|
|
2474
|
+
|
|
2475
|
+
**requestOptions:** `Drafts.RequestOptions`
|
|
2476
|
+
|
|
2477
|
+
</dd>
|
|
2478
|
+
</dl>
|
|
2479
|
+
</dd>
|
|
2480
|
+
</dl>
|
|
2481
|
+
|
|
2482
|
+
</dd>
|
|
2483
|
+
</dl>
|
|
2484
|
+
</details>
|
|
2485
|
+
|
|
2486
|
+
<details><summary><code>client.pods.drafts.<a href="/src/api/resources/pods/resources/drafts/client/Client.ts">get</a>(podId, draftId) -> AgentMail.Draft</code></summary>
|
|
2487
|
+
<dl>
|
|
2488
|
+
<dd>
|
|
2489
|
+
|
|
2490
|
+
#### 🔌 Usage
|
|
2491
|
+
|
|
2492
|
+
<dl>
|
|
2493
|
+
<dd>
|
|
2494
|
+
|
|
2495
|
+
<dl>
|
|
2496
|
+
<dd>
|
|
2497
|
+
|
|
2498
|
+
```typescript
|
|
2499
|
+
await client.pods.drafts.get("pod_id", "draft_id");
|
|
2500
|
+
```
|
|
2501
|
+
|
|
2502
|
+
</dd>
|
|
2503
|
+
</dl>
|
|
2504
|
+
</dd>
|
|
2505
|
+
</dl>
|
|
2506
|
+
|
|
2507
|
+
#### ⚙️ Parameters
|
|
2508
|
+
|
|
2509
|
+
<dl>
|
|
2510
|
+
<dd>
|
|
2511
|
+
|
|
2512
|
+
<dl>
|
|
2513
|
+
<dd>
|
|
2514
|
+
|
|
2515
|
+
**podId:** `AgentMail.PodId`
|
|
2516
|
+
|
|
2517
|
+
</dd>
|
|
2518
|
+
</dl>
|
|
2519
|
+
|
|
2520
|
+
<dl>
|
|
2521
|
+
<dd>
|
|
2522
|
+
|
|
2523
|
+
**draftId:** `AgentMail.DraftId`
|
|
2524
|
+
|
|
2525
|
+
</dd>
|
|
2526
|
+
</dl>
|
|
2527
|
+
|
|
2528
|
+
<dl>
|
|
2529
|
+
<dd>
|
|
2530
|
+
|
|
2531
|
+
**requestOptions:** `Drafts.RequestOptions`
|
|
2532
|
+
|
|
2533
|
+
</dd>
|
|
2534
|
+
</dl>
|
|
2535
|
+
</dd>
|
|
2536
|
+
</dl>
|
|
2537
|
+
|
|
2538
|
+
</dd>
|
|
2539
|
+
</dl>
|
|
2540
|
+
</details>
|
|
2541
|
+
|
|
2542
|
+
## Pods Inboxes
|
|
2543
|
+
|
|
2544
|
+
<details><summary><code>client.pods.inboxes.<a href="/src/api/resources/pods/resources/inboxes/client/Client.ts">list</a>(podId, { ...params }) -> AgentMail.ListInboxesResponse</code></summary>
|
|
2545
|
+
<dl>
|
|
2546
|
+
<dd>
|
|
2547
|
+
|
|
2548
|
+
#### 🔌 Usage
|
|
2549
|
+
|
|
2550
|
+
<dl>
|
|
2551
|
+
<dd>
|
|
2552
|
+
|
|
2553
|
+
<dl>
|
|
2554
|
+
<dd>
|
|
2555
|
+
|
|
2556
|
+
```typescript
|
|
2557
|
+
await client.pods.inboxes.list("pod_id");
|
|
2558
|
+
```
|
|
2559
|
+
|
|
2560
|
+
</dd>
|
|
2561
|
+
</dl>
|
|
2562
|
+
</dd>
|
|
2563
|
+
</dl>
|
|
2564
|
+
|
|
2565
|
+
#### ⚙️ Parameters
|
|
2566
|
+
|
|
2567
|
+
<dl>
|
|
2568
|
+
<dd>
|
|
2569
|
+
|
|
2570
|
+
<dl>
|
|
2571
|
+
<dd>
|
|
2572
|
+
|
|
2573
|
+
**podId:** `AgentMail.PodId`
|
|
2574
|
+
|
|
2575
|
+
</dd>
|
|
2576
|
+
</dl>
|
|
2577
|
+
|
|
2578
|
+
<dl>
|
|
2579
|
+
<dd>
|
|
2580
|
+
|
|
2581
|
+
**request:** `AgentMail.pods.ListInboxesRequest`
|
|
2582
|
+
|
|
2583
|
+
</dd>
|
|
2584
|
+
</dl>
|
|
2585
|
+
|
|
2586
|
+
<dl>
|
|
2587
|
+
<dd>
|
|
2588
|
+
|
|
2589
|
+
**requestOptions:** `Inboxes.RequestOptions`
|
|
2590
|
+
|
|
2591
|
+
</dd>
|
|
2592
|
+
</dl>
|
|
2593
|
+
</dd>
|
|
2594
|
+
</dl>
|
|
2595
|
+
|
|
2596
|
+
</dd>
|
|
2597
|
+
</dl>
|
|
2598
|
+
</details>
|
|
2599
|
+
|
|
2600
|
+
<details><summary><code>client.pods.inboxes.<a href="/src/api/resources/pods/resources/inboxes/client/Client.ts">get</a>(podId, inboxId) -> AgentMail.Inbox</code></summary>
|
|
2601
|
+
<dl>
|
|
2602
|
+
<dd>
|
|
2603
|
+
|
|
2604
|
+
#### 🔌 Usage
|
|
2605
|
+
|
|
2606
|
+
<dl>
|
|
2607
|
+
<dd>
|
|
2608
|
+
|
|
2609
|
+
<dl>
|
|
2610
|
+
<dd>
|
|
2611
|
+
|
|
2612
|
+
```typescript
|
|
2613
|
+
await client.pods.inboxes.get("pod_id", "inbox_id");
|
|
2614
|
+
```
|
|
2615
|
+
|
|
2616
|
+
</dd>
|
|
2617
|
+
</dl>
|
|
2618
|
+
</dd>
|
|
2619
|
+
</dl>
|
|
2620
|
+
|
|
2621
|
+
#### ⚙️ Parameters
|
|
2622
|
+
|
|
2623
|
+
<dl>
|
|
2624
|
+
<dd>
|
|
2625
|
+
|
|
2626
|
+
<dl>
|
|
2627
|
+
<dd>
|
|
2628
|
+
|
|
2629
|
+
**podId:** `AgentMail.PodId`
|
|
2630
|
+
|
|
2631
|
+
</dd>
|
|
2632
|
+
</dl>
|
|
2633
|
+
|
|
2634
|
+
<dl>
|
|
2635
|
+
<dd>
|
|
2636
|
+
|
|
2637
|
+
**inboxId:** `AgentMail.InboxId`
|
|
2638
|
+
|
|
2639
|
+
</dd>
|
|
2640
|
+
</dl>
|
|
2641
|
+
|
|
2642
|
+
<dl>
|
|
2643
|
+
<dd>
|
|
2644
|
+
|
|
2645
|
+
**requestOptions:** `Inboxes.RequestOptions`
|
|
2646
|
+
|
|
2647
|
+
</dd>
|
|
2648
|
+
</dl>
|
|
2649
|
+
</dd>
|
|
2650
|
+
</dl>
|
|
2651
|
+
|
|
2652
|
+
</dd>
|
|
2653
|
+
</dl>
|
|
2654
|
+
</details>
|
|
2655
|
+
|
|
2656
|
+
<details><summary><code>client.pods.inboxes.<a href="/src/api/resources/pods/resources/inboxes/client/Client.ts">create</a>(podId, { ...params }) -> AgentMail.Inbox</code></summary>
|
|
2657
|
+
<dl>
|
|
2658
|
+
<dd>
|
|
2659
|
+
|
|
2660
|
+
#### 🔌 Usage
|
|
2661
|
+
|
|
2662
|
+
<dl>
|
|
2663
|
+
<dd>
|
|
2664
|
+
|
|
2665
|
+
<dl>
|
|
2666
|
+
<dd>
|
|
2667
|
+
|
|
2668
|
+
```typescript
|
|
2669
|
+
await client.pods.inboxes.create("pod_id", {
|
|
2670
|
+
username: undefined,
|
|
2671
|
+
domain: undefined,
|
|
2672
|
+
displayName: undefined,
|
|
2673
|
+
clientId: undefined,
|
|
2674
|
+
});
|
|
2675
|
+
```
|
|
2676
|
+
|
|
2677
|
+
</dd>
|
|
2678
|
+
</dl>
|
|
2679
|
+
</dd>
|
|
2680
|
+
</dl>
|
|
2681
|
+
|
|
2682
|
+
#### ⚙️ Parameters
|
|
2683
|
+
|
|
2684
|
+
<dl>
|
|
2685
|
+
<dd>
|
|
2686
|
+
|
|
2687
|
+
<dl>
|
|
2688
|
+
<dd>
|
|
2689
|
+
|
|
2690
|
+
**podId:** `AgentMail.PodId`
|
|
2691
|
+
|
|
2692
|
+
</dd>
|
|
2693
|
+
</dl>
|
|
2694
|
+
|
|
2695
|
+
<dl>
|
|
2696
|
+
<dd>
|
|
2697
|
+
|
|
2698
|
+
**request:** `AgentMail.CreateInboxRequest`
|
|
2699
|
+
|
|
2700
|
+
</dd>
|
|
2701
|
+
</dl>
|
|
2702
|
+
|
|
2703
|
+
<dl>
|
|
2704
|
+
<dd>
|
|
2705
|
+
|
|
2706
|
+
**requestOptions:** `Inboxes.RequestOptions`
|
|
2707
|
+
|
|
2708
|
+
</dd>
|
|
2709
|
+
</dl>
|
|
2710
|
+
</dd>
|
|
2711
|
+
</dl>
|
|
2712
|
+
|
|
2713
|
+
</dd>
|
|
2714
|
+
</dl>
|
|
2715
|
+
</details>
|
|
2716
|
+
|
|
2717
|
+
<details><summary><code>client.pods.inboxes.<a href="/src/api/resources/pods/resources/inboxes/client/Client.ts">delete</a>(podId, inboxId) -> void</code></summary>
|
|
2718
|
+
<dl>
|
|
2719
|
+
<dd>
|
|
2720
|
+
|
|
2721
|
+
#### 🔌 Usage
|
|
2722
|
+
|
|
2723
|
+
<dl>
|
|
2724
|
+
<dd>
|
|
2725
|
+
|
|
2726
|
+
<dl>
|
|
2727
|
+
<dd>
|
|
2728
|
+
|
|
2729
|
+
```typescript
|
|
2730
|
+
await client.pods.inboxes.delete("pod_id", "inbox_id");
|
|
2731
|
+
```
|
|
2732
|
+
|
|
2733
|
+
</dd>
|
|
2734
|
+
</dl>
|
|
2735
|
+
</dd>
|
|
2736
|
+
</dl>
|
|
2737
|
+
|
|
2738
|
+
#### ⚙️ Parameters
|
|
2739
|
+
|
|
2740
|
+
<dl>
|
|
2741
|
+
<dd>
|
|
2742
|
+
|
|
2743
|
+
<dl>
|
|
2744
|
+
<dd>
|
|
2745
|
+
|
|
2746
|
+
**podId:** `AgentMail.PodId`
|
|
2747
|
+
|
|
2748
|
+
</dd>
|
|
2749
|
+
</dl>
|
|
2750
|
+
|
|
2751
|
+
<dl>
|
|
2752
|
+
<dd>
|
|
2753
|
+
|
|
2754
|
+
**inboxId:** `AgentMail.InboxId`
|
|
2755
|
+
|
|
2756
|
+
</dd>
|
|
2757
|
+
</dl>
|
|
2758
|
+
|
|
2759
|
+
<dl>
|
|
2760
|
+
<dd>
|
|
2761
|
+
|
|
2762
|
+
**requestOptions:** `Inboxes.RequestOptions`
|
|
2763
|
+
|
|
2764
|
+
</dd>
|
|
2765
|
+
</dl>
|
|
2766
|
+
</dd>
|
|
2767
|
+
</dl>
|
|
2768
|
+
|
|
2769
|
+
</dd>
|
|
2770
|
+
</dl>
|
|
2771
|
+
</details>
|
|
2772
|
+
|
|
2773
|
+
## Pods Threads
|
|
2774
|
+
|
|
2775
|
+
<details><summary><code>client.pods.threads.<a href="/src/api/resources/pods/resources/threads/client/Client.ts">list</a>(podId, { ...params }) -> AgentMail.ListThreadsResponse</code></summary>
|
|
2776
|
+
<dl>
|
|
2777
|
+
<dd>
|
|
2778
|
+
|
|
2779
|
+
#### 🔌 Usage
|
|
2780
|
+
|
|
2781
|
+
<dl>
|
|
2782
|
+
<dd>
|
|
2783
|
+
|
|
2784
|
+
<dl>
|
|
2785
|
+
<dd>
|
|
2786
|
+
|
|
2787
|
+
```typescript
|
|
2788
|
+
await client.pods.threads.list("pod_id");
|
|
2789
|
+
```
|
|
2790
|
+
|
|
2791
|
+
</dd>
|
|
2792
|
+
</dl>
|
|
2793
|
+
</dd>
|
|
2794
|
+
</dl>
|
|
2795
|
+
|
|
2796
|
+
#### ⚙️ Parameters
|
|
2797
|
+
|
|
2798
|
+
<dl>
|
|
2799
|
+
<dd>
|
|
2800
|
+
|
|
2801
|
+
<dl>
|
|
2802
|
+
<dd>
|
|
2803
|
+
|
|
2804
|
+
**podId:** `AgentMail.PodId`
|
|
2805
|
+
|
|
2806
|
+
</dd>
|
|
2807
|
+
</dl>
|
|
2808
|
+
|
|
2809
|
+
<dl>
|
|
2810
|
+
<dd>
|
|
2811
|
+
|
|
2812
|
+
**request:** `AgentMail.pods.ListThreadsRequest`
|
|
2813
|
+
|
|
2814
|
+
</dd>
|
|
2815
|
+
</dl>
|
|
2816
|
+
|
|
2817
|
+
<dl>
|
|
2818
|
+
<dd>
|
|
2819
|
+
|
|
2820
|
+
**requestOptions:** `Threads.RequestOptions`
|
|
2821
|
+
|
|
2822
|
+
</dd>
|
|
2823
|
+
</dl>
|
|
2824
|
+
</dd>
|
|
2825
|
+
</dl>
|
|
2826
|
+
|
|
2827
|
+
</dd>
|
|
2828
|
+
</dl>
|
|
2829
|
+
</details>
|
|
2830
|
+
|
|
2831
|
+
<details><summary><code>client.pods.threads.<a href="/src/api/resources/pods/resources/threads/client/Client.ts">get</a>(podId, threadId) -> AgentMail.Thread</code></summary>
|
|
2832
|
+
<dl>
|
|
2833
|
+
<dd>
|
|
2834
|
+
|
|
2835
|
+
#### 🔌 Usage
|
|
2836
|
+
|
|
2837
|
+
<dl>
|
|
2838
|
+
<dd>
|
|
2839
|
+
|
|
2840
|
+
<dl>
|
|
2841
|
+
<dd>
|
|
2842
|
+
|
|
2843
|
+
```typescript
|
|
2844
|
+
await client.pods.threads.get("pod_id", "thread_id");
|
|
2845
|
+
```
|
|
2846
|
+
|
|
2847
|
+
</dd>
|
|
2848
|
+
</dl>
|
|
2849
|
+
</dd>
|
|
2850
|
+
</dl>
|
|
2851
|
+
|
|
2852
|
+
#### ⚙️ Parameters
|
|
2853
|
+
|
|
2854
|
+
<dl>
|
|
2855
|
+
<dd>
|
|
2856
|
+
|
|
2857
|
+
<dl>
|
|
2858
|
+
<dd>
|
|
2859
|
+
|
|
2860
|
+
**podId:** `AgentMail.PodId`
|
|
2861
|
+
|
|
2862
|
+
</dd>
|
|
2863
|
+
</dl>
|
|
2864
|
+
|
|
2865
|
+
<dl>
|
|
2866
|
+
<dd>
|
|
2867
|
+
|
|
2868
|
+
**threadId:** `AgentMail.ThreadId`
|
|
2869
|
+
|
|
2870
|
+
</dd>
|
|
2871
|
+
</dl>
|
|
2872
|
+
|
|
2873
|
+
<dl>
|
|
2874
|
+
<dd>
|
|
2875
|
+
|
|
2876
|
+
**requestOptions:** `Threads.RequestOptions`
|
|
2877
|
+
|
|
2878
|
+
</dd>
|
|
2879
|
+
</dl>
|
|
2880
|
+
</dd>
|
|
2881
|
+
</dl>
|
|
2882
|
+
|
|
2883
|
+
</dd>
|
|
2884
|
+
</dl>
|
|
2885
|
+
</details>
|
|
2886
|
+
|
|
2887
|
+
<details><summary><code>client.pods.threads.<a href="/src/api/resources/pods/resources/threads/client/Client.ts">getAttachment</a>(podId, threadId, attachmentId) -> core.BinaryResponse</code></summary>
|
|
2888
|
+
<dl>
|
|
2889
|
+
<dd>
|
|
2890
|
+
|
|
2891
|
+
#### 🔌 Usage
|
|
2892
|
+
|
|
2893
|
+
<dl>
|
|
2894
|
+
<dd>
|
|
2895
|
+
|
|
2896
|
+
<dl>
|
|
2897
|
+
<dd>
|
|
2898
|
+
|
|
2899
|
+
```typescript
|
|
2900
|
+
await client.pods.threads.getAttachment("pod_id", "thread_id", "attachment_id");
|
|
2901
|
+
```
|
|
2902
|
+
|
|
2903
|
+
</dd>
|
|
2904
|
+
</dl>
|
|
2905
|
+
</dd>
|
|
2906
|
+
</dl>
|
|
2907
|
+
|
|
2908
|
+
#### ⚙️ Parameters
|
|
2909
|
+
|
|
2910
|
+
<dl>
|
|
2911
|
+
<dd>
|
|
2912
|
+
|
|
2913
|
+
<dl>
|
|
2914
|
+
<dd>
|
|
2915
|
+
|
|
2916
|
+
**podId:** `AgentMail.PodId`
|
|
2917
|
+
|
|
2918
|
+
</dd>
|
|
2919
|
+
</dl>
|
|
2920
|
+
|
|
2921
|
+
<dl>
|
|
2922
|
+
<dd>
|
|
2923
|
+
|
|
2924
|
+
**threadId:** `AgentMail.ThreadId`
|
|
2925
|
+
|
|
2926
|
+
</dd>
|
|
2927
|
+
</dl>
|
|
2928
|
+
|
|
2929
|
+
<dl>
|
|
2930
|
+
<dd>
|
|
2931
|
+
|
|
2932
|
+
**attachmentId:** `AgentMail.AttachmentId`
|
|
2933
|
+
|
|
2934
|
+
</dd>
|
|
2935
|
+
</dl>
|
|
2936
|
+
|
|
2937
|
+
<dl>
|
|
2938
|
+
<dd>
|
|
2939
|
+
|
|
2940
|
+
**requestOptions:** `Threads.RequestOptions`
|
|
2941
|
+
|
|
2942
|
+
</dd>
|
|
2943
|
+
</dl>
|
|
2944
|
+
</dd>
|
|
2945
|
+
</dl>
|
|
2946
|
+
|
|
2947
|
+
</dd>
|
|
2948
|
+
</dl>
|
|
2949
|
+
</details>
|
|
2950
|
+
|
|
2951
|
+
## Threads
|
|
2952
|
+
|
|
2953
|
+
<details><summary><code>client.threads.<a href="/src/api/resources/threads/client/Client.ts">list</a>({ ...params }) -> AgentMail.ListThreadsResponse</code></summary>
|
|
2954
|
+
<dl>
|
|
2955
|
+
<dd>
|
|
2956
|
+
|
|
2957
|
+
#### 🔌 Usage
|
|
2958
|
+
|
|
2959
|
+
<dl>
|
|
2960
|
+
<dd>
|
|
2961
|
+
|
|
2962
|
+
<dl>
|
|
2963
|
+
<dd>
|
|
2964
|
+
|
|
2965
|
+
```typescript
|
|
2966
|
+
await client.threads.list();
|
|
2967
|
+
```
|
|
2968
|
+
|
|
2969
|
+
</dd>
|
|
2970
|
+
</dl>
|
|
2971
|
+
</dd>
|
|
2972
|
+
</dl>
|
|
2973
|
+
|
|
2974
|
+
#### ⚙️ Parameters
|
|
2975
|
+
|
|
2976
|
+
<dl>
|
|
2977
|
+
<dd>
|
|
2978
|
+
|
|
2979
|
+
<dl>
|
|
2980
|
+
<dd>
|
|
2981
|
+
|
|
2982
|
+
**request:** `AgentMail.ListThreadsRequest`
|
|
2983
|
+
|
|
2984
|
+
</dd>
|
|
2985
|
+
</dl>
|
|
2986
|
+
|
|
2987
|
+
<dl>
|
|
2988
|
+
<dd>
|
|
2989
|
+
|
|
2990
|
+
**requestOptions:** `Threads.RequestOptions`
|
|
2991
|
+
|
|
2992
|
+
</dd>
|
|
2993
|
+
</dl>
|
|
2994
|
+
</dd>
|
|
2995
|
+
</dl>
|
|
2996
|
+
|
|
2997
|
+
</dd>
|
|
2998
|
+
</dl>
|
|
2999
|
+
</details>
|
|
3000
|
+
|
|
3001
|
+
<details><summary><code>client.threads.<a href="/src/api/resources/threads/client/Client.ts">get</a>(threadId) -> AgentMail.Thread</code></summary>
|
|
3002
|
+
<dl>
|
|
3003
|
+
<dd>
|
|
3004
|
+
|
|
3005
|
+
#### 🔌 Usage
|
|
3006
|
+
|
|
3007
|
+
<dl>
|
|
3008
|
+
<dd>
|
|
3009
|
+
|
|
3010
|
+
<dl>
|
|
3011
|
+
<dd>
|
|
3012
|
+
|
|
3013
|
+
```typescript
|
|
3014
|
+
await client.threads.get("thread_id");
|
|
3015
|
+
```
|
|
3016
|
+
|
|
3017
|
+
</dd>
|
|
3018
|
+
</dl>
|
|
3019
|
+
</dd>
|
|
3020
|
+
</dl>
|
|
3021
|
+
|
|
3022
|
+
#### ⚙️ Parameters
|
|
3023
|
+
|
|
3024
|
+
<dl>
|
|
3025
|
+
<dd>
|
|
3026
|
+
|
|
3027
|
+
<dl>
|
|
3028
|
+
<dd>
|
|
3029
|
+
|
|
3030
|
+
**threadId:** `AgentMail.ThreadId`
|
|
3031
|
+
|
|
3032
|
+
</dd>
|
|
3033
|
+
</dl>
|
|
3034
|
+
|
|
3035
|
+
<dl>
|
|
3036
|
+
<dd>
|
|
3037
|
+
|
|
3038
|
+
**requestOptions:** `Threads.RequestOptions`
|
|
3039
|
+
|
|
3040
|
+
</dd>
|
|
3041
|
+
</dl>
|
|
3042
|
+
</dd>
|
|
3043
|
+
</dl>
|
|
3044
|
+
|
|
3045
|
+
</dd>
|
|
3046
|
+
</dl>
|
|
3047
|
+
</details>
|
|
3048
|
+
|
|
3049
|
+
<details><summary><code>client.threads.<a href="/src/api/resources/threads/client/Client.ts">getAttachment</a>(threadId, attachmentId) -> core.BinaryResponse</code></summary>
|
|
3050
|
+
<dl>
|
|
3051
|
+
<dd>
|
|
3052
|
+
|
|
3053
|
+
#### 🔌 Usage
|
|
3054
|
+
|
|
3055
|
+
<dl>
|
|
3056
|
+
<dd>
|
|
3057
|
+
|
|
3058
|
+
<dl>
|
|
3059
|
+
<dd>
|
|
3060
|
+
|
|
3061
|
+
```typescript
|
|
3062
|
+
await client.threads.getAttachment("thread_id", "attachment_id");
|
|
3063
|
+
```
|
|
3064
|
+
|
|
3065
|
+
</dd>
|
|
3066
|
+
</dl>
|
|
3067
|
+
</dd>
|
|
3068
|
+
</dl>
|
|
3069
|
+
|
|
3070
|
+
#### ⚙️ Parameters
|
|
3071
|
+
|
|
3072
|
+
<dl>
|
|
3073
|
+
<dd>
|
|
3074
|
+
|
|
3075
|
+
<dl>
|
|
3076
|
+
<dd>
|
|
3077
|
+
|
|
3078
|
+
**threadId:** `AgentMail.ThreadId`
|
|
3079
|
+
|
|
3080
|
+
</dd>
|
|
3081
|
+
</dl>
|
|
3082
|
+
|
|
3083
|
+
<dl>
|
|
3084
|
+
<dd>
|
|
3085
|
+
|
|
3086
|
+
**attachmentId:** `AgentMail.AttachmentId`
|
|
2201
3087
|
|
|
2202
3088
|
</dd>
|
|
2203
3089
|
</dl>
|