agentmail 0.0.72 → 0.0.73
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/domains/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/domains/client/Client.js +2 -2
- 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 +3 -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/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 +89 -0
- package/dist/cjs/api/resources/pods/client/Client.js +385 -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 +71 -0
- package/dist/cjs/api/resources/pods/resources/domains/client/Client.js +325 -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 +56 -0
- package/dist/cjs/api/resources/pods/resources/drafts/client/Client.js +252 -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 +85 -0
- package/dist/cjs/api/resources/pods/resources/inboxes/client/Client.js +400 -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 +61 -0
- package/dist/cjs/api/resources/pods/resources/threads/client/Client.js +310 -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 +0 -11
- package/dist/cjs/api/resources/threads/client/Client.js +0 -63
- 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 +6 -3
- package/dist/cjs/serialization/resources/domains/types/Domain.js +6 -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/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/domains/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/domains/client/Client.mjs +2 -2
- 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 +3 -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/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 +89 -0
- package/dist/esm/api/resources/pods/client/Client.mjs +348 -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 +71 -0
- package/dist/esm/api/resources/pods/resources/domains/client/Client.mjs +288 -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 +56 -0
- package/dist/esm/api/resources/pods/resources/drafts/client/Client.mjs +215 -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 +85 -0
- package/dist/esm/api/resources/pods/resources/inboxes/client/Client.mjs +363 -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 +61 -0
- package/dist/esm/api/resources/pods/resources/threads/client/Client.mjs +273 -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 +0 -11
- package/dist/esm/api/resources/threads/client/Client.mjs +0 -63
- 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 +6 -3
- package/dist/esm/serialization/resources/domains/types/Domain.mjs +6 -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/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 +4305 -207
- package/package.json +1 -1
- package/reference.md +910 -20
- package/dist/cjs/api/resources/domains/types/CreateDomainResponse.d.ts +0 -18
- 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/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.ClientId = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
41
|
+
exports.ClientId = core.serialization.string();
|
|
@@ -5,10 +5,11 @@ 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 { DomainName } from "./DomainName.js";
|
|
8
|
+
import { FeedbackEnabled } from "./FeedbackEnabled.js";
|
|
8
9
|
export declare const CreateDomainRequest: core.serialization.ObjectSchema<serializers.CreateDomainRequest.Raw, AgentMail.CreateDomainRequest>;
|
|
9
10
|
export declare namespace CreateDomainRequest {
|
|
10
11
|
interface Raw {
|
|
11
12
|
domain: DomainName.Raw;
|
|
12
|
-
feedback_enabled
|
|
13
|
+
feedback_enabled: FeedbackEnabled.Raw;
|
|
13
14
|
}
|
|
14
15
|
}
|
|
@@ -39,7 +39,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.CreateDomainRequest = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core/index.js"));
|
|
41
41
|
const DomainName_js_1 = require("./DomainName.js");
|
|
42
|
+
const FeedbackEnabled_js_1 = require("./FeedbackEnabled.js");
|
|
42
43
|
exports.CreateDomainRequest = core.serialization.object({
|
|
43
44
|
domain: DomainName_js_1.DomainName,
|
|
44
|
-
feedbackEnabled: core.serialization.property("feedback_enabled",
|
|
45
|
+
feedbackEnabled: core.serialization.property("feedback_enabled", FeedbackEnabled_js_1.FeedbackEnabled),
|
|
45
46
|
});
|
|
@@ -5,17 +5,20 @@ 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 { DomainId } from "./DomainId.js";
|
|
8
|
-
import {
|
|
8
|
+
import { DomainName } from "./DomainName.js";
|
|
9
9
|
import { VerificationStatus } from "./VerificationStatus.js";
|
|
10
|
+
import { FeedbackEnabled } from "./FeedbackEnabled.js";
|
|
10
11
|
import { VerificationRecord } from "./VerificationRecord.js";
|
|
12
|
+
import { ClientId } from "./ClientId.js";
|
|
11
13
|
export declare const Domain: core.serialization.ObjectSchema<serializers.Domain.Raw, AgentMail.Domain>;
|
|
12
14
|
export declare namespace Domain {
|
|
13
15
|
interface Raw {
|
|
14
16
|
domain_id: DomainId.Raw;
|
|
15
|
-
|
|
17
|
+
domain: DomainName.Raw;
|
|
16
18
|
status: VerificationStatus.Raw;
|
|
17
|
-
feedback_enabled
|
|
19
|
+
feedback_enabled: FeedbackEnabled.Raw;
|
|
18
20
|
records: VerificationRecord.Raw[];
|
|
21
|
+
client_id?: ClientId.Raw | null;
|
|
19
22
|
updated_at: string;
|
|
20
23
|
created_at: string;
|
|
21
24
|
}
|
|
@@ -39,15 +39,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.Domain = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core/index.js"));
|
|
41
41
|
const DomainId_js_1 = require("./DomainId.js");
|
|
42
|
-
const
|
|
42
|
+
const DomainName_js_1 = require("./DomainName.js");
|
|
43
43
|
const VerificationStatus_js_1 = require("./VerificationStatus.js");
|
|
44
|
+
const FeedbackEnabled_js_1 = require("./FeedbackEnabled.js");
|
|
44
45
|
const VerificationRecord_js_1 = require("./VerificationRecord.js");
|
|
46
|
+
const ClientId_js_1 = require("./ClientId.js");
|
|
45
47
|
exports.Domain = core.serialization.object({
|
|
46
48
|
domainId: core.serialization.property("domain_id", DomainId_js_1.DomainId),
|
|
47
|
-
|
|
49
|
+
domain: DomainName_js_1.DomainName,
|
|
48
50
|
status: VerificationStatus_js_1.VerificationStatus,
|
|
49
|
-
feedbackEnabled: core.serialization.property("feedback_enabled",
|
|
51
|
+
feedbackEnabled: core.serialization.property("feedback_enabled", FeedbackEnabled_js_1.FeedbackEnabled),
|
|
50
52
|
records: core.serialization.list(VerificationRecord_js_1.VerificationRecord),
|
|
53
|
+
clientId: core.serialization.property("client_id", ClientId_js_1.ClientId.optional()),
|
|
51
54
|
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
|
52
55
|
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
53
56
|
});
|
|
@@ -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 { DomainId } from "./DomainId.js";
|
|
8
|
-
import {
|
|
8
|
+
import { FeedbackEnabled } from "./FeedbackEnabled.js";
|
|
9
|
+
import { ClientId } from "./ClientId.js";
|
|
9
10
|
export declare const DomainSummary: core.serialization.ObjectSchema<serializers.DomainSummary.Raw, AgentMail.DomainSummary>;
|
|
10
11
|
export declare namespace DomainSummary {
|
|
11
12
|
interface Raw {
|
|
12
13
|
domain_id: DomainId.Raw;
|
|
13
|
-
|
|
14
|
+
feedback_enabled: FeedbackEnabled.Raw;
|
|
15
|
+
client_id?: ClientId.Raw | null;
|
|
14
16
|
updated_at: string;
|
|
15
17
|
created_at: string;
|
|
16
|
-
feedback_enabled?: boolean | null;
|
|
17
18
|
}
|
|
18
19
|
}
|
|
@@ -39,11 +39,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.DomainSummary = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core/index.js"));
|
|
41
41
|
const DomainId_js_1 = require("./DomainId.js");
|
|
42
|
-
const
|
|
42
|
+
const FeedbackEnabled_js_1 = require("./FeedbackEnabled.js");
|
|
43
|
+
const ClientId_js_1 = require("./ClientId.js");
|
|
43
44
|
exports.DomainSummary = core.serialization.object({
|
|
44
45
|
domainId: core.serialization.property("domain_id", DomainId_js_1.DomainId),
|
|
45
|
-
|
|
46
|
+
feedbackEnabled: core.serialization.property("feedback_enabled", FeedbackEnabled_js_1.FeedbackEnabled),
|
|
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
|
-
feedbackEnabled: core.serialization.property("feedback_enabled", core.serialization.boolean().optional()),
|
|
49
50
|
});
|
|
@@ -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 FeedbackEnabled: core.serialization.Schema<serializers.FeedbackEnabled.Raw, AgentMail.FeedbackEnabled>;
|
|
8
|
+
export declare namespace FeedbackEnabled {
|
|
9
|
+
type Raw = boolean;
|
|
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.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);
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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.ListPodsResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
41
|
+
const Count_js_1 = require("../../../types/Count.js");
|
|
42
|
+
const Limit_js_1 = require("../../../types/Limit.js");
|
|
43
|
+
const PageToken_js_1 = require("../../../types/PageToken.js");
|
|
44
|
+
const Pod_js_1 = require("./Pod.js");
|
|
45
|
+
exports.ListPodsResponse = core.serialization.object({
|
|
46
|
+
count: Count_js_1.Count,
|
|
47
|
+
limit: Limit_js_1.Limit.optional(),
|
|
48
|
+
nextPageToken: core.serialization.property("next_page_token", PageToken_js_1.PageToken.optional()),
|
|
49
|
+
pods: core.serialization.list(Pod_js_1.Pod),
|
|
50
|
+
});
|
|
@@ -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 Name: core.serialization.Schema<serializers.pods.Name.Raw, AgentMail.pods.Name>;
|
|
8
|
+
export declare namespace Name {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|