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
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.FeedbackEnabled = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
41
|
+
exports.FeedbackEnabled = core.serialization.boolean();
|
|
@@ -4,8 +4,9 @@ export * from "./RecordType.js";
|
|
|
4
4
|
export * from "./VerificationStatus.js";
|
|
5
5
|
export * from "./RecordStatus.js";
|
|
6
6
|
export * from "./VerificationRecord.js";
|
|
7
|
+
export * from "./FeedbackEnabled.js";
|
|
8
|
+
export * from "./ClientId.js";
|
|
7
9
|
export * from "./Domain.js";
|
|
8
10
|
export * from "./DomainSummary.js";
|
|
9
|
-
export * from "./CreateDomainResponse.js";
|
|
10
11
|
export * from "./ListDomainsResponse.js";
|
|
11
12
|
export * from "./CreateDomainRequest.js";
|
|
@@ -20,8 +20,9 @@ __exportStar(require("./RecordType.js"), exports);
|
|
|
20
20
|
__exportStar(require("./VerificationStatus.js"), exports);
|
|
21
21
|
__exportStar(require("./RecordStatus.js"), exports);
|
|
22
22
|
__exportStar(require("./VerificationRecord.js"), exports);
|
|
23
|
+
__exportStar(require("./FeedbackEnabled.js"), exports);
|
|
24
|
+
__exportStar(require("./ClientId.js"), exports);
|
|
23
25
|
__exportStar(require("./Domain.js"), exports);
|
|
24
26
|
__exportStar(require("./DomainSummary.js"), exports);
|
|
25
|
-
__exportStar(require("./CreateDomainResponse.js"), exports);
|
|
26
27
|
__exportStar(require("./ListDomainsResponse.js"), exports);
|
|
27
28
|
__exportStar(require("./CreateDomainRequest.js"), exports);
|
|
@@ -14,6 +14,7 @@ import { DraftText } from "./DraftText.js";
|
|
|
14
14
|
import { DraftHtml } from "./DraftHtml.js";
|
|
15
15
|
import { DraftInReplyTo } from "./DraftInReplyTo.js";
|
|
16
16
|
import { DraftSendAt } from "./DraftSendAt.js";
|
|
17
|
+
import { DraftClientId } from "./DraftClientId.js";
|
|
17
18
|
export declare const CreateDraftRequest: core.serialization.ObjectSchema<serializers.CreateDraftRequest.Raw, AgentMail.CreateDraftRequest>;
|
|
18
19
|
export declare namespace CreateDraftRequest {
|
|
19
20
|
interface Raw {
|
|
@@ -27,5 +28,6 @@ export declare namespace CreateDraftRequest {
|
|
|
27
28
|
html?: DraftHtml.Raw | null;
|
|
28
29
|
in_reply_to?: DraftInReplyTo.Raw | null;
|
|
29
30
|
send_at?: DraftSendAt.Raw | null;
|
|
31
|
+
client_id?: DraftClientId.Raw | null;
|
|
30
32
|
}
|
|
31
33
|
}
|
|
@@ -48,6 +48,7 @@ const DraftText_js_1 = require("./DraftText.js");
|
|
|
48
48
|
const DraftHtml_js_1 = require("./DraftHtml.js");
|
|
49
49
|
const DraftInReplyTo_js_1 = require("./DraftInReplyTo.js");
|
|
50
50
|
const DraftSendAt_js_1 = require("./DraftSendAt.js");
|
|
51
|
+
const DraftClientId_js_1 = require("./DraftClientId.js");
|
|
51
52
|
exports.CreateDraftRequest = core.serialization.object({
|
|
52
53
|
labels: DraftLabels_js_1.DraftLabels.optional(),
|
|
53
54
|
replyTo: core.serialization.property("reply_to", DraftReplyTo_js_1.DraftReplyTo.optional()),
|
|
@@ -59,4 +60,5 @@ exports.CreateDraftRequest = core.serialization.object({
|
|
|
59
60
|
html: DraftHtml_js_1.DraftHtml.optional(),
|
|
60
61
|
inReplyTo: core.serialization.property("in_reply_to", DraftInReplyTo_js_1.DraftInReplyTo.optional()),
|
|
61
62
|
sendAt: core.serialization.property("send_at", DraftSendAt_js_1.DraftSendAt.optional()),
|
|
63
|
+
clientId: core.serialization.property("client_id", DraftClientId_js_1.DraftClientId.optional()),
|
|
62
64
|
});
|
|
@@ -7,6 +7,7 @@ import * as core from "../../../../core/index.js";
|
|
|
7
7
|
import { InboxId } from "../../inboxes/types/InboxId.js";
|
|
8
8
|
import { ThreadId } from "../../threads/types/ThreadId.js";
|
|
9
9
|
import { DraftId } from "./DraftId.js";
|
|
10
|
+
import { DraftClientId } from "./DraftClientId.js";
|
|
10
11
|
import { DraftLabels } from "./DraftLabels.js";
|
|
11
12
|
import { DraftReplyTo } from "./DraftReplyTo.js";
|
|
12
13
|
import { DraftTo } from "./DraftTo.js";
|
|
@@ -27,6 +28,7 @@ export declare namespace Draft {
|
|
|
27
28
|
inbox_id: InboxId.Raw;
|
|
28
29
|
thread_id: ThreadId.Raw;
|
|
29
30
|
draft_id: DraftId.Raw;
|
|
31
|
+
client_id?: DraftClientId.Raw | null;
|
|
30
32
|
labels: DraftLabels.Raw;
|
|
31
33
|
reply_to?: DraftReplyTo.Raw | null;
|
|
32
34
|
to?: DraftTo.Raw | null;
|
|
@@ -41,6 +41,7 @@ const core = __importStar(require("../../../../core/index.js"));
|
|
|
41
41
|
const InboxId_js_1 = require("../../inboxes/types/InboxId.js");
|
|
42
42
|
const ThreadId_js_1 = require("../../threads/types/ThreadId.js");
|
|
43
43
|
const DraftId_js_1 = require("./DraftId.js");
|
|
44
|
+
const DraftClientId_js_1 = require("./DraftClientId.js");
|
|
44
45
|
const DraftLabels_js_1 = require("./DraftLabels.js");
|
|
45
46
|
const DraftReplyTo_js_1 = require("./DraftReplyTo.js");
|
|
46
47
|
const DraftTo_js_1 = require("./DraftTo.js");
|
|
@@ -59,6 +60,7 @@ exports.Draft = core.serialization.object({
|
|
|
59
60
|
inboxId: core.serialization.property("inbox_id", InboxId_js_1.InboxId),
|
|
60
61
|
threadId: core.serialization.property("thread_id", ThreadId_js_1.ThreadId),
|
|
61
62
|
draftId: core.serialization.property("draft_id", DraftId_js_1.DraftId),
|
|
63
|
+
clientId: core.serialization.property("client_id", DraftClientId_js_1.DraftClientId.optional()),
|
|
62
64
|
labels: DraftLabels_js_1.DraftLabels,
|
|
63
65
|
replyTo: core.serialization.property("reply_to", DraftReplyTo_js_1.DraftReplyTo.optional()),
|
|
64
66
|
to: DraftTo_js_1.DraftTo.optional(),
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index.js";
|
|
5
|
+
import * as AgentMail from "../../../../api/index.js";
|
|
6
|
+
import * as core from "../../../../core/index.js";
|
|
7
|
+
export declare const DraftClientId: core.serialization.Schema<serializers.DraftClientId.Raw, AgentMail.DraftClientId>;
|
|
8
|
+
export declare namespace DraftClientId {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.DraftClientId = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
41
|
+
exports.DraftClientId = core.serialization.string();
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index.js";
|
|
5
|
+
import * as AgentMail from "../../../../api/index.js";
|
|
6
|
+
import * as core from "../../../../core/index.js";
|
|
7
|
+
import { DraftReplyTo } from "./DraftReplyTo.js";
|
|
8
|
+
import { DraftTo } from "./DraftTo.js";
|
|
9
|
+
import { DraftCc } from "./DraftCc.js";
|
|
10
|
+
import { DraftBcc } from "./DraftBcc.js";
|
|
11
|
+
import { DraftSubject } from "./DraftSubject.js";
|
|
12
|
+
import { DraftText } from "./DraftText.js";
|
|
13
|
+
import { DraftHtml } from "./DraftHtml.js";
|
|
14
|
+
import { DraftSendAt } from "./DraftSendAt.js";
|
|
15
|
+
export declare const UpdateDraftRequest: core.serialization.ObjectSchema<serializers.UpdateDraftRequest.Raw, AgentMail.UpdateDraftRequest>;
|
|
16
|
+
export declare namespace UpdateDraftRequest {
|
|
17
|
+
interface Raw {
|
|
18
|
+
reply_to?: DraftReplyTo.Raw | null;
|
|
19
|
+
to?: DraftTo.Raw | null;
|
|
20
|
+
cc?: DraftCc.Raw | null;
|
|
21
|
+
bcc?: DraftBcc.Raw | null;
|
|
22
|
+
subject?: DraftSubject.Raw | null;
|
|
23
|
+
text?: DraftText.Raw | null;
|
|
24
|
+
html?: DraftHtml.Raw | null;
|
|
25
|
+
send_at?: DraftSendAt.Raw | null;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.UpdateDraftRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
41
|
+
const DraftReplyTo_js_1 = require("./DraftReplyTo.js");
|
|
42
|
+
const DraftTo_js_1 = require("./DraftTo.js");
|
|
43
|
+
const DraftCc_js_1 = require("./DraftCc.js");
|
|
44
|
+
const DraftBcc_js_1 = require("./DraftBcc.js");
|
|
45
|
+
const DraftSubject_js_1 = require("./DraftSubject.js");
|
|
46
|
+
const DraftText_js_1 = require("./DraftText.js");
|
|
47
|
+
const DraftHtml_js_1 = require("./DraftHtml.js");
|
|
48
|
+
const DraftSendAt_js_1 = require("./DraftSendAt.js");
|
|
49
|
+
exports.UpdateDraftRequest = core.serialization.object({
|
|
50
|
+
replyTo: core.serialization.property("reply_to", DraftReplyTo_js_1.DraftReplyTo.optional()),
|
|
51
|
+
to: DraftTo_js_1.DraftTo.optional(),
|
|
52
|
+
cc: DraftCc_js_1.DraftCc.optional(),
|
|
53
|
+
bcc: DraftBcc_js_1.DraftBcc.optional(),
|
|
54
|
+
subject: DraftSubject_js_1.DraftSubject.optional(),
|
|
55
|
+
text: DraftText_js_1.DraftText.optional(),
|
|
56
|
+
html: DraftHtml_js_1.DraftHtml.optional(),
|
|
57
|
+
sendAt: core.serialization.property("send_at", DraftSendAt_js_1.DraftSendAt.optional()),
|
|
58
|
+
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./DraftId.js";
|
|
2
|
+
export * from "./DraftClientId.js";
|
|
2
3
|
export * from "./DraftLabels.js";
|
|
3
4
|
export * from "./DraftReplyTo.js";
|
|
4
5
|
export * from "./DraftTo.js";
|
|
@@ -17,3 +18,4 @@ export * from "./DraftItem.js";
|
|
|
17
18
|
export * from "./Draft.js";
|
|
18
19
|
export * from "./ListDraftsResponse.js";
|
|
19
20
|
export * from "./CreateDraftRequest.js";
|
|
21
|
+
export * from "./UpdateDraftRequest.js";
|
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./DraftId.js"), exports);
|
|
18
|
+
__exportStar(require("./DraftClientId.js"), exports);
|
|
18
19
|
__exportStar(require("./DraftLabels.js"), exports);
|
|
19
20
|
__exportStar(require("./DraftReplyTo.js"), exports);
|
|
20
21
|
__exportStar(require("./DraftTo.js"), exports);
|
|
@@ -33,3 +34,4 @@ __exportStar(require("./DraftItem.js"), exports);
|
|
|
33
34
|
__exportStar(require("./Draft.js"), exports);
|
|
34
35
|
__exportStar(require("./ListDraftsResponse.js"), exports);
|
|
35
36
|
__exportStar(require("./CreateDraftRequest.js"), exports);
|
|
37
|
+
__exportStar(require("./UpdateDraftRequest.js"), exports);
|
|
@@ -4,13 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../../../index.js";
|
|
5
5
|
import * as AgentMail from "../../../../api/index.js";
|
|
6
6
|
import * as core from "../../../../core/index.js";
|
|
7
|
+
import { DisplayName } from "./DisplayName.js";
|
|
7
8
|
import { ClientId } from "./ClientId.js";
|
|
8
9
|
export declare const CreateInboxRequest: core.serialization.ObjectSchema<serializers.inboxes.CreateInboxRequest.Raw, AgentMail.inboxes.CreateInboxRequest>;
|
|
9
10
|
export declare namespace CreateInboxRequest {
|
|
10
11
|
interface Raw {
|
|
11
12
|
username?: string | null;
|
|
12
13
|
domain?: string | null;
|
|
13
|
-
display_name?:
|
|
14
|
+
display_name?: DisplayName.Raw | null;
|
|
14
15
|
client_id?: ClientId.Raw | null;
|
|
15
16
|
}
|
|
16
17
|
}
|
|
@@ -38,10 +38,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.CreateInboxRequest = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core/index.js"));
|
|
41
|
+
const DisplayName_js_1 = require("./DisplayName.js");
|
|
41
42
|
const ClientId_js_1 = require("./ClientId.js");
|
|
42
43
|
exports.CreateInboxRequest = core.serialization.object({
|
|
43
44
|
username: core.serialization.string().optional(),
|
|
44
45
|
domain: core.serialization.string().optional(),
|
|
45
|
-
displayName: core.serialization.property("display_name",
|
|
46
|
+
displayName: core.serialization.property("display_name", DisplayName_js_1.DisplayName.optional()),
|
|
46
47
|
clientId: core.serialization.property("client_id", ClientId_js_1.ClientId.optional()),
|
|
47
48
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index.js";
|
|
5
|
+
import * as AgentMail from "../../../../api/index.js";
|
|
6
|
+
import * as core from "../../../../core/index.js";
|
|
7
|
+
export declare const DisplayName: core.serialization.Schema<serializers.inboxes.DisplayName.Raw, AgentMail.inboxes.DisplayName>;
|
|
8
|
+
export declare namespace DisplayName {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.DisplayName = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
41
|
+
exports.DisplayName = core.serialization.string();
|
|
@@ -5,14 +5,15 @@ import * as serializers from "../../../index.js";
|
|
|
5
5
|
import * as AgentMail from "../../../../api/index.js";
|
|
6
6
|
import * as core from "../../../../core/index.js";
|
|
7
7
|
import { InboxId } from "./InboxId.js";
|
|
8
|
+
import { DisplayName } from "./DisplayName.js";
|
|
8
9
|
import { ClientId } from "./ClientId.js";
|
|
9
10
|
export declare const Inbox: core.serialization.ObjectSchema<serializers.inboxes.Inbox.Raw, AgentMail.inboxes.Inbox>;
|
|
10
11
|
export declare namespace Inbox {
|
|
11
12
|
interface Raw {
|
|
12
13
|
inbox_id: InboxId.Raw;
|
|
13
|
-
display_name
|
|
14
|
+
display_name?: DisplayName.Raw | null;
|
|
15
|
+
client_id?: ClientId.Raw | null;
|
|
14
16
|
updated_at: string;
|
|
15
17
|
created_at: string;
|
|
16
|
-
client_id?: ClientId.Raw | null;
|
|
17
18
|
}
|
|
18
19
|
}
|
|
@@ -39,11 +39,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.Inbox = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core/index.js"));
|
|
41
41
|
const InboxId_js_1 = require("./InboxId.js");
|
|
42
|
+
const DisplayName_js_1 = require("./DisplayName.js");
|
|
42
43
|
const ClientId_js_1 = require("./ClientId.js");
|
|
43
44
|
exports.Inbox = core.serialization.object({
|
|
44
45
|
inboxId: core.serialization.property("inbox_id", InboxId_js_1.InboxId),
|
|
45
|
-
displayName: core.serialization.property("display_name",
|
|
46
|
+
displayName: core.serialization.property("display_name", DisplayName_js_1.DisplayName.optional()),
|
|
47
|
+
clientId: core.serialization.property("client_id", ClientId_js_1.ClientId.optional()),
|
|
46
48
|
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
|
47
49
|
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
48
|
-
clientId: core.serialization.property("client_id", ClientId_js_1.ClientId.optional()),
|
|
49
50
|
});
|
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./InboxId.js"), exports);
|
|
18
|
+
__exportStar(require("./DisplayName.js"), exports);
|
|
18
19
|
__exportStar(require("./ClientId.js"), exports);
|
|
19
20
|
__exportStar(require("./Inbox.js"), exports);
|
|
20
21
|
__exportStar(require("./ListInboxesResponse.js"), exports);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * as websockets from "./websockets/index.js";
|
|
2
2
|
export * from "./websockets/client/socket/index.js";
|
|
3
3
|
export * as inboxes from "./inboxes/index.js";
|
|
4
|
+
export * as pods from "./pods/index.js";
|
|
4
5
|
export * as webhooks from "./webhooks/index.js";
|
|
5
6
|
export * as apiKeys from "./apiKeys/index.js";
|
|
6
7
|
export * from "./apiKeys/types/index.js";
|
|
@@ -36,10 +36,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.threads = exports.metrics = exports.messages = exports.events = exports.drafts = exports.domains = exports.attachments = exports.apiKeys = exports.webhooks = exports.inboxes = exports.websockets = void 0;
|
|
39
|
+
exports.threads = exports.metrics = exports.messages = exports.events = exports.drafts = exports.domains = exports.attachments = exports.apiKeys = exports.webhooks = exports.pods = exports.inboxes = exports.websockets = void 0;
|
|
40
40
|
exports.websockets = __importStar(require("./websockets/index.js"));
|
|
41
41
|
__exportStar(require("./websockets/client/socket/index.js"), exports);
|
|
42
42
|
exports.inboxes = __importStar(require("./inboxes/index.js"));
|
|
43
|
+
exports.pods = __importStar(require("./pods/index.js"));
|
|
43
44
|
exports.webhooks = __importStar(require("./webhooks/index.js"));
|
|
44
45
|
exports.apiKeys = __importStar(require("./apiKeys/index.js"));
|
|
45
46
|
__exportStar(require("./apiKeys/types/index.js"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types/index.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types/index.js"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index.js";
|
|
5
|
+
import * as AgentMail from "../../../../api/index.js";
|
|
6
|
+
import * as core from "../../../../core/index.js";
|
|
7
|
+
export declare const ClientId: core.serialization.Schema<serializers.pods.ClientId.Raw, AgentMail.pods.ClientId>;
|
|
8
|
+
export declare namespace ClientId {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ClientId = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
41
|
+
exports.ClientId = core.serialization.string();
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index.js";
|
|
5
|
+
import * as AgentMail from "../../../../api/index.js";
|
|
6
|
+
import * as core from "../../../../core/index.js";
|
|
7
|
+
import { Name } from "./Name.js";
|
|
8
|
+
import { ClientId } from "./ClientId.js";
|
|
9
|
+
export declare const CreatePodRequest: core.serialization.ObjectSchema<serializers.pods.CreatePodRequest.Raw, AgentMail.pods.CreatePodRequest>;
|
|
10
|
+
export declare namespace CreatePodRequest {
|
|
11
|
+
interface Raw {
|
|
12
|
+
name?: Name.Raw | null;
|
|
13
|
+
client_id?: ClientId.Raw | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CreatePodRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
41
|
+
const Name_js_1 = require("./Name.js");
|
|
42
|
+
const ClientId_js_1 = require("./ClientId.js");
|
|
43
|
+
exports.CreatePodRequest = core.serialization.object({
|
|
44
|
+
name: Name_js_1.Name.optional(),
|
|
45
|
+
clientId: core.serialization.property("client_id", ClientId_js_1.ClientId.optional()),
|
|
46
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index.js";
|
|
5
|
+
import * as AgentMail from "../../../../api/index.js";
|
|
6
|
+
import * as core from "../../../../core/index.js";
|
|
7
|
+
import { Count } from "../../../types/Count.js";
|
|
8
|
+
import { Limit } from "../../../types/Limit.js";
|
|
9
|
+
import { PageToken } from "../../../types/PageToken.js";
|
|
10
|
+
import { Pod } from "./Pod.js";
|
|
11
|
+
export declare const ListPodsResponse: core.serialization.ObjectSchema<serializers.pods.ListPodsResponse.Raw, AgentMail.pods.ListPodsResponse>;
|
|
12
|
+
export declare namespace ListPodsResponse {
|
|
13
|
+
interface Raw {
|
|
14
|
+
count: Count.Raw;
|
|
15
|
+
limit?: Limit.Raw | null;
|
|
16
|
+
next_page_token?: PageToken.Raw | null;
|
|
17
|
+
pods: Pod.Raw[];
|
|
18
|
+
}
|
|
19
|
+
}
|