agentmail 0.3.2 → 0.3.4
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/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +3 -0
- package/dist/cjs/Client.js +17 -12
- package/dist/cjs/api/resources/inboxes/resources/messages/client/Client.js +2 -1
- package/dist/cjs/api/resources/inboxes/resources/messages/client/requests/ListMessagesRequest.d.ts +1 -0
- package/dist/cjs/api/resources/inboxes/resources/threads/client/Client.js +2 -1
- package/dist/cjs/api/resources/inboxes/resources/threads/client/requests/ListThreadsRequest.d.ts +1 -0
- package/dist/cjs/api/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/index.js +4 -1
- package/dist/cjs/api/resources/lists/client/Client.d.ts +65 -0
- package/dist/cjs/api/resources/lists/client/Client.js +307 -0
- package/dist/cjs/api/resources/lists/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/lists/client/index.js +17 -0
- package/dist/cjs/api/resources/lists/client/requests/ListListEntriesRequest.d.ts +9 -0
- package/dist/cjs/api/resources/lists/client/requests/ListListEntriesRequest.js +3 -0
- package/dist/cjs/api/resources/lists/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/lists/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/lists/index.d.ts +2 -0
- package/dist/cjs/api/resources/lists/index.js +18 -0
- package/dist/cjs/api/resources/lists/types/CreateListEntryRequest.d.ts +6 -0
- package/dist/cjs/api/resources/lists/types/CreateListEntryRequest.js +3 -0
- package/dist/cjs/api/resources/lists/types/Direction.d.ts +6 -0
- package/dist/cjs/api/resources/lists/types/Direction.js +9 -0
- package/dist/cjs/api/resources/lists/types/EntryType.d.ts +6 -0
- package/dist/cjs/api/resources/lists/types/EntryType.js +9 -0
- package/dist/cjs/api/resources/lists/types/ListEntry.d.ts +3 -0
- package/dist/cjs/api/resources/lists/types/ListEntry.js +3 -0
- package/dist/cjs/api/resources/lists/types/ListEntryBase.d.ts +13 -0
- package/dist/cjs/api/resources/lists/types/ListEntryBase.js +3 -0
- package/dist/cjs/api/resources/lists/types/ListListEntriesResponse.d.ts +8 -0
- package/dist/cjs/api/resources/lists/types/ListListEntriesResponse.js +3 -0
- package/dist/cjs/api/resources/lists/types/ListType.d.ts +6 -0
- package/dist/cjs/api/resources/lists/types/ListType.js +9 -0
- package/dist/cjs/api/resources/lists/types/PodListEntry.d.ts +7 -0
- package/dist/cjs/api/resources/lists/types/PodListEntry.js +3 -0
- package/dist/cjs/api/resources/lists/types/PodListListEntriesResponse.d.ts +8 -0
- package/dist/cjs/api/resources/lists/types/PodListListEntriesResponse.js +3 -0
- package/dist/cjs/api/resources/lists/types/index.d.ts +9 -0
- package/dist/cjs/api/resources/lists/types/index.js +25 -0
- package/dist/cjs/api/resources/pods/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/pods/client/Client.js +7 -2
- package/dist/cjs/api/resources/pods/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/pods/resources/index.js +3 -1
- package/dist/cjs/api/resources/pods/resources/lists/client/Client.d.ts +69 -0
- package/dist/cjs/api/resources/pods/resources/lists/client/Client.js +311 -0
- package/dist/cjs/api/resources/pods/resources/lists/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/pods/resources/lists/client/index.js +17 -0
- package/dist/cjs/api/resources/pods/resources/lists/client/requests/ListListEntriesRequest.d.ts +9 -0
- package/dist/cjs/api/resources/pods/resources/lists/client/requests/ListListEntriesRequest.js +3 -0
- package/dist/cjs/api/resources/pods/resources/lists/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/pods/resources/lists/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/pods/resources/lists/index.d.ts +1 -0
- package/dist/cjs/api/resources/pods/resources/lists/index.js +17 -0
- package/dist/cjs/api/resources/pods/resources/threads/client/Client.js +2 -1
- package/dist/cjs/api/resources/pods/resources/threads/client/requests/ListThreadsRequest.d.ts +1 -0
- package/dist/cjs/api/resources/threads/client/Client.js +2 -1
- package/dist/cjs/api/resources/threads/client/requests/ListThreadsRequest.d.ts +1 -0
- package/dist/cjs/api/types/IncludeBlocked.d.ts +4 -0
- package/dist/cjs/api/types/IncludeBlocked.js +3 -0
- package/dist/cjs/api/types/index.d.ts +1 -0
- package/dist/cjs/api/types/index.js +1 -0
- package/dist/cjs/serialization/resources/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/index.js +3 -1
- package/dist/cjs/serialization/resources/lists/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/lists/index.js +17 -0
- package/dist/cjs/serialization/resources/lists/types/CreateListEntryRequest.d.ts +10 -0
- package/dist/cjs/serialization/resources/lists/types/CreateListEntryRequest.js +42 -0
- package/dist/cjs/serialization/resources/lists/types/Direction.d.ts +7 -0
- package/dist/cjs/serialization/resources/lists/types/Direction.js +39 -0
- package/dist/cjs/serialization/resources/lists/types/EntryType.d.ts +7 -0
- package/dist/cjs/serialization/resources/lists/types/EntryType.js +39 -0
- package/dist/cjs/serialization/resources/lists/types/ListEntry.d.ts +9 -0
- package/dist/cjs/serialization/resources/lists/types/ListEntry.js +40 -0
- package/dist/cjs/serialization/resources/lists/types/ListEntryBase.d.ts +19 -0
- package/dist/cjs/serialization/resources/lists/types/ListEntryBase.js +51 -0
- package/dist/cjs/serialization/resources/lists/types/ListListEntriesResponse.d.ts +16 -0
- package/dist/cjs/serialization/resources/lists/types/ListListEntriesResponse.js +48 -0
- package/dist/cjs/serialization/resources/lists/types/ListType.d.ts +7 -0
- package/dist/cjs/serialization/resources/lists/types/ListType.js +39 -0
- package/dist/cjs/serialization/resources/lists/types/PodListEntry.d.ts +11 -0
- package/dist/cjs/serialization/resources/lists/types/PodListEntry.js +45 -0
- package/dist/cjs/serialization/resources/lists/types/PodListListEntriesResponse.d.ts +16 -0
- package/dist/cjs/serialization/resources/lists/types/PodListListEntriesResponse.js +48 -0
- package/dist/cjs/serialization/resources/lists/types/index.d.ts +9 -0
- package/dist/cjs/serialization/resources/lists/types/index.js +25 -0
- package/dist/cjs/serialization/types/IncludeBlocked.d.ts +7 -0
- package/dist/cjs/serialization/types/IncludeBlocked.js +39 -0
- package/dist/cjs/serialization/types/index.d.ts +1 -0
- package/dist/cjs/serialization/types/index.js +1 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/wrapper/Client.d.ts +4 -4
- package/dist/cjs/wrapper/Client.js +7 -7
- package/dist/cjs/wrapper/mppx.d.ts +8 -0
- package/dist/cjs/wrapper/{mpp.js → mppx.js} +5 -5
- package/dist/{esm/wrapper/probe402.d.mts → cjs/wrapper/util.d.ts} +1 -0
- package/dist/cjs/wrapper/{probe402.js → util.js} +5 -1
- package/dist/cjs/wrapper/x402.js +2 -2
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +5 -0
- package/dist/esm/api/resources/inboxes/resources/messages/client/Client.mjs +2 -1
- package/dist/esm/api/resources/inboxes/resources/messages/client/requests/ListMessagesRequest.d.mts +1 -0
- package/dist/esm/api/resources/inboxes/resources/threads/client/Client.mjs +2 -1
- package/dist/esm/api/resources/inboxes/resources/threads/client/requests/ListThreadsRequest.d.mts +1 -0
- package/dist/esm/api/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/index.mjs +3 -0
- package/dist/esm/api/resources/lists/client/Client.d.mts +65 -0
- package/dist/esm/api/resources/lists/client/Client.mjs +270 -0
- package/dist/esm/api/resources/lists/client/index.d.mts +1 -0
- package/dist/esm/api/resources/lists/client/index.mjs +1 -0
- package/dist/esm/api/resources/lists/client/requests/ListListEntriesRequest.d.mts +9 -0
- package/dist/esm/api/resources/lists/client/requests/ListListEntriesRequest.mjs +2 -0
- package/dist/esm/api/resources/lists/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/lists/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/lists/index.d.mts +2 -0
- package/dist/esm/api/resources/lists/index.mjs +2 -0
- package/dist/esm/api/resources/lists/types/CreateListEntryRequest.d.mts +6 -0
- package/dist/esm/api/resources/lists/types/CreateListEntryRequest.mjs +2 -0
- package/dist/esm/api/resources/lists/types/Direction.d.mts +6 -0
- package/dist/esm/api/resources/lists/types/Direction.mjs +6 -0
- package/dist/esm/api/resources/lists/types/EntryType.d.mts +6 -0
- package/dist/esm/api/resources/lists/types/EntryType.mjs +6 -0
- package/dist/esm/api/resources/lists/types/ListEntry.d.mts +3 -0
- package/dist/esm/api/resources/lists/types/ListEntry.mjs +2 -0
- package/dist/esm/api/resources/lists/types/ListEntryBase.d.mts +13 -0
- package/dist/esm/api/resources/lists/types/ListEntryBase.mjs +2 -0
- package/dist/esm/api/resources/lists/types/ListListEntriesResponse.d.mts +8 -0
- package/dist/esm/api/resources/lists/types/ListListEntriesResponse.mjs +2 -0
- package/dist/esm/api/resources/lists/types/ListType.d.mts +6 -0
- package/dist/esm/api/resources/lists/types/ListType.mjs +6 -0
- package/dist/esm/api/resources/lists/types/PodListEntry.d.mts +7 -0
- package/dist/esm/api/resources/lists/types/PodListEntry.mjs +2 -0
- package/dist/esm/api/resources/lists/types/PodListListEntriesResponse.d.mts +8 -0
- package/dist/esm/api/resources/lists/types/PodListListEntriesResponse.mjs +2 -0
- package/dist/esm/api/resources/lists/types/index.d.mts +9 -0
- package/dist/esm/api/resources/lists/types/index.mjs +9 -0
- package/dist/esm/api/resources/pods/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/pods/client/Client.mjs +5 -0
- package/dist/esm/api/resources/pods/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/pods/resources/index.mjs +2 -0
- package/dist/esm/api/resources/pods/resources/lists/client/Client.d.mts +69 -0
- package/dist/esm/api/resources/pods/resources/lists/client/Client.mjs +274 -0
- package/dist/esm/api/resources/pods/resources/lists/client/index.d.mts +1 -0
- package/dist/esm/api/resources/pods/resources/lists/client/index.mjs +1 -0
- package/dist/esm/api/resources/pods/resources/lists/client/requests/ListListEntriesRequest.d.mts +9 -0
- package/dist/esm/api/resources/pods/resources/lists/client/requests/ListListEntriesRequest.mjs +2 -0
- package/dist/esm/api/resources/pods/resources/lists/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/pods/resources/lists/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/pods/resources/lists/index.d.mts +1 -0
- package/dist/esm/api/resources/pods/resources/lists/index.mjs +1 -0
- package/dist/esm/api/resources/pods/resources/threads/client/Client.mjs +2 -1
- package/dist/esm/api/resources/pods/resources/threads/client/requests/ListThreadsRequest.d.mts +1 -0
- package/dist/esm/api/resources/threads/client/Client.mjs +2 -1
- package/dist/esm/api/resources/threads/client/requests/ListThreadsRequest.d.mts +1 -0
- package/dist/esm/api/types/IncludeBlocked.d.mts +4 -0
- package/dist/esm/api/types/IncludeBlocked.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +1 -0
- package/dist/esm/api/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/index.d.mts +2 -0
- package/dist/esm/serialization/resources/index.mjs +2 -0
- package/dist/esm/serialization/resources/lists/index.d.mts +1 -0
- package/dist/esm/serialization/resources/lists/index.mjs +1 -0
- package/dist/esm/serialization/resources/lists/types/CreateListEntryRequest.d.mts +10 -0
- package/dist/esm/serialization/resources/lists/types/CreateListEntryRequest.mjs +6 -0
- package/dist/esm/serialization/resources/lists/types/Direction.d.mts +7 -0
- package/dist/esm/serialization/resources/lists/types/Direction.mjs +3 -0
- package/dist/esm/serialization/resources/lists/types/EntryType.d.mts +7 -0
- package/dist/esm/serialization/resources/lists/types/EntryType.mjs +3 -0
- package/dist/esm/serialization/resources/lists/types/ListEntry.d.mts +9 -0
- package/dist/esm/serialization/resources/lists/types/ListEntry.mjs +4 -0
- package/dist/esm/serialization/resources/lists/types/ListEntryBase.d.mts +19 -0
- package/dist/esm/serialization/resources/lists/types/ListEntryBase.mjs +15 -0
- package/dist/esm/serialization/resources/lists/types/ListListEntriesResponse.d.mts +16 -0
- package/dist/esm/serialization/resources/lists/types/ListListEntriesResponse.mjs +12 -0
- package/dist/esm/serialization/resources/lists/types/ListType.d.mts +7 -0
- package/dist/esm/serialization/resources/lists/types/ListType.mjs +3 -0
- package/dist/esm/serialization/resources/lists/types/PodListEntry.d.mts +11 -0
- package/dist/esm/serialization/resources/lists/types/PodListEntry.mjs +9 -0
- package/dist/esm/serialization/resources/lists/types/PodListListEntriesResponse.d.mts +16 -0
- package/dist/esm/serialization/resources/lists/types/PodListListEntriesResponse.mjs +12 -0
- package/dist/esm/serialization/resources/lists/types/index.d.mts +9 -0
- package/dist/esm/serialization/resources/lists/types/index.mjs +9 -0
- package/dist/esm/serialization/types/IncludeBlocked.d.mts +7 -0
- package/dist/esm/serialization/types/IncludeBlocked.mjs +3 -0
- package/dist/esm/serialization/types/index.d.mts +1 -0
- package/dist/esm/serialization/types/index.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/dist/esm/wrapper/Client.d.mts +4 -4
- package/dist/esm/wrapper/Client.mjs +7 -7
- package/dist/esm/wrapper/mppx.d.mts +8 -0
- package/dist/esm/wrapper/{mpp.mjs → mppx.mjs} +4 -4
- package/dist/{cjs/wrapper/probe402.d.ts → esm/wrapper/util.d.mts} +1 -0
- package/dist/esm/wrapper/{probe402.mjs → util.mjs} +4 -1
- package/dist/esm/wrapper/x402.mjs +1 -1
- package/dist/llms-full.txt +5436 -3440
- package/dist/llms.txt +15 -1
- package/package.json +1 -1
- package/reference.md +558 -0
- package/dist/cjs/wrapper/mpp.d.ts +0 -2
- package/dist/esm/wrapper/mpp.d.mts +0 -2
|
@@ -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("./requests/index.js"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { ListListEntriesRequest } from "./ListListEntriesRequest.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/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("./client/index.js"), exports);
|
|
@@ -73,7 +73,7 @@ class ThreadsClient {
|
|
|
73
73
|
__list(pod_id_1) {
|
|
74
74
|
return __awaiter(this, arguments, void 0, function* (pod_id, request = {}, requestOptions) {
|
|
75
75
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
76
|
-
const { limit, pageToken, labels, before, after, ascending, includeSpam } = request;
|
|
76
|
+
const { limit, pageToken, labels, before, after, ascending, includeSpam, includeBlocked } = request;
|
|
77
77
|
const _queryParams = {
|
|
78
78
|
limit,
|
|
79
79
|
page_token: pageToken,
|
|
@@ -91,6 +91,7 @@ class ThreadsClient {
|
|
|
91
91
|
: undefined,
|
|
92
92
|
ascending,
|
|
93
93
|
include_spam: includeSpam,
|
|
94
|
+
include_blocked: includeBlocked,
|
|
94
95
|
};
|
|
95
96
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
96
97
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
@@ -72,7 +72,7 @@ class ThreadsClient {
|
|
|
72
72
|
__list() {
|
|
73
73
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
74
74
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
75
|
-
const { limit, pageToken, labels, before, after, ascending, includeSpam } = request;
|
|
75
|
+
const { limit, pageToken, labels, before, after, ascending, includeSpam, includeBlocked } = request;
|
|
76
76
|
const _queryParams = {
|
|
77
77
|
limit,
|
|
78
78
|
page_token: pageToken,
|
|
@@ -90,6 +90,7 @@ class ThreadsClient {
|
|
|
90
90
|
: undefined,
|
|
91
91
|
ascending,
|
|
92
92
|
include_spam: includeSpam,
|
|
93
|
+
include_blocked: includeBlocked,
|
|
93
94
|
};
|
|
94
95
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
95
96
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
@@ -5,6 +5,7 @@ export * from "./Count.js";
|
|
|
5
5
|
export * from "./ErrorMessage.js";
|
|
6
6
|
export * from "./ErrorName.js";
|
|
7
7
|
export * from "./ErrorResponse.js";
|
|
8
|
+
export * from "./IncludeBlocked.js";
|
|
8
9
|
export * from "./IncludeSpam.js";
|
|
9
10
|
export * from "./Labels.js";
|
|
10
11
|
export * from "./Limit.js";
|
|
@@ -21,6 +21,7 @@ __exportStar(require("./Count.js"), exports);
|
|
|
21
21
|
__exportStar(require("./ErrorMessage.js"), exports);
|
|
22
22
|
__exportStar(require("./ErrorName.js"), exports);
|
|
23
23
|
__exportStar(require("./ErrorResponse.js"), exports);
|
|
24
|
+
__exportStar(require("./IncludeBlocked.js"), exports);
|
|
24
25
|
__exportStar(require("./IncludeSpam.js"), exports);
|
|
25
26
|
__exportStar(require("./Labels.js"), exports);
|
|
26
27
|
__exportStar(require("./Limit.js"), exports);
|
|
@@ -9,6 +9,8 @@ export * from "./drafts/types/index.js";
|
|
|
9
9
|
export * as events from "./events/index.js";
|
|
10
10
|
export * from "./events/types/index.js";
|
|
11
11
|
export * as inboxes from "./inboxes/index.js";
|
|
12
|
+
export * as lists from "./lists/index.js";
|
|
13
|
+
export * from "./lists/types/index.js";
|
|
12
14
|
export * as messages from "./messages/index.js";
|
|
13
15
|
export * from "./messages/types/index.js";
|
|
14
16
|
export * as metrics from "./metrics/index.js";
|
|
@@ -36,7 +36,7 @@ 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.websockets = exports.webhooks = exports.threads = exports.pods = exports.organizations = exports.metrics = exports.messages = exports.inboxes = exports.events = exports.drafts = exports.domains = exports.attachments = exports.apiKeys = void 0;
|
|
39
|
+
exports.websockets = exports.webhooks = exports.threads = exports.pods = exports.organizations = exports.metrics = exports.messages = exports.lists = exports.inboxes = exports.events = exports.drafts = exports.domains = exports.attachments = exports.apiKeys = void 0;
|
|
40
40
|
exports.apiKeys = __importStar(require("./apiKeys/index.js"));
|
|
41
41
|
__exportStar(require("./apiKeys/types/index.js"), exports);
|
|
42
42
|
exports.attachments = __importStar(require("./attachments/index.js"));
|
|
@@ -48,6 +48,8 @@ __exportStar(require("./drafts/types/index.js"), exports);
|
|
|
48
48
|
exports.events = __importStar(require("./events/index.js"));
|
|
49
49
|
__exportStar(require("./events/types/index.js"), exports);
|
|
50
50
|
exports.inboxes = __importStar(require("./inboxes/index.js"));
|
|
51
|
+
exports.lists = __importStar(require("./lists/index.js"));
|
|
52
|
+
__exportStar(require("./lists/types/index.js"), exports);
|
|
51
53
|
exports.messages = __importStar(require("./messages/index.js"));
|
|
52
54
|
__exportStar(require("./messages/types/index.js"), exports);
|
|
53
55
|
exports.metrics = __importStar(require("./metrics/index.js"));
|
|
@@ -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
|
+
import type * as AgentMail from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
export declare const CreateListEntryRequest: core.serialization.ObjectSchema<serializers.CreateListEntryRequest.Raw, AgentMail.CreateListEntryRequest>;
|
|
5
|
+
export declare namespace CreateListEntryRequest {
|
|
6
|
+
interface Raw {
|
|
7
|
+
entry: string;
|
|
8
|
+
reason?: string | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.CreateListEntryRequest = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.CreateListEntryRequest = core.serialization.object({
|
|
40
|
+
entry: core.serialization.string(),
|
|
41
|
+
reason: core.serialization.string().optional(),
|
|
42
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as AgentMail from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
export declare const Direction: core.serialization.Schema<serializers.Direction.Raw, AgentMail.Direction>;
|
|
5
|
+
export declare namespace Direction {
|
|
6
|
+
type Raw = "send" | "receive";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.Direction = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.Direction = core.serialization.enum_(["send", "receive"]);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as AgentMail from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
export declare const EntryType: core.serialization.Schema<serializers.EntryType.Raw, AgentMail.EntryType>;
|
|
5
|
+
export declare namespace EntryType {
|
|
6
|
+
type Raw = "email" | "domain";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.EntryType = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.EntryType = core.serialization.enum_(["email", "domain"]);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as AgentMail from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
import { ListEntryBase } from "./ListEntryBase.js";
|
|
5
|
+
export declare const ListEntry: core.serialization.ObjectSchema<serializers.ListEntry.Raw, AgentMail.ListEntry>;
|
|
6
|
+
export declare namespace ListEntry {
|
|
7
|
+
interface Raw extends ListEntryBase.Raw {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ListEntry = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
const ListEntryBase_js_1 = require("./ListEntryBase.js");
|
|
40
|
+
exports.ListEntry = core.serialization.object({}).extend(ListEntryBase_js_1.ListEntryBase);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type * as AgentMail from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
import { OrganizationId } from "../../../types/OrganizationId.js";
|
|
5
|
+
import { Direction } from "./Direction.js";
|
|
6
|
+
import { EntryType } from "./EntryType.js";
|
|
7
|
+
import { ListType } from "./ListType.js";
|
|
8
|
+
export declare const ListEntryBase: core.serialization.ObjectSchema<serializers.ListEntryBase.Raw, AgentMail.ListEntryBase>;
|
|
9
|
+
export declare namespace ListEntryBase {
|
|
10
|
+
interface Raw {
|
|
11
|
+
entry: string;
|
|
12
|
+
organization_id: OrganizationId.Raw;
|
|
13
|
+
reason?: string | null;
|
|
14
|
+
direction: Direction.Raw;
|
|
15
|
+
list_type: ListType.Raw;
|
|
16
|
+
entry_type: EntryType.Raw;
|
|
17
|
+
created_at: string;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ListEntryBase = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
const OrganizationId_js_1 = require("../../../types/OrganizationId.js");
|
|
40
|
+
const Direction_js_1 = require("./Direction.js");
|
|
41
|
+
const EntryType_js_1 = require("./EntryType.js");
|
|
42
|
+
const ListType_js_1 = require("./ListType.js");
|
|
43
|
+
exports.ListEntryBase = core.serialization.object({
|
|
44
|
+
entry: core.serialization.string(),
|
|
45
|
+
organizationId: core.serialization.property("organization_id", OrganizationId_js_1.OrganizationId),
|
|
46
|
+
reason: core.serialization.string().optional(),
|
|
47
|
+
direction: Direction_js_1.Direction,
|
|
48
|
+
listType: core.serialization.property("list_type", ListType_js_1.ListType),
|
|
49
|
+
entryType: core.serialization.property("entry_type", EntryType_js_1.EntryType),
|
|
50
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
51
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as AgentMail from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
import { Count } from "../../../types/Count.js";
|
|
5
|
+
import { Limit } from "../../../types/Limit.js";
|
|
6
|
+
import { PageToken } from "../../../types/PageToken.js";
|
|
7
|
+
import { ListEntry } from "./ListEntry.js";
|
|
8
|
+
export declare const ListListEntriesResponse: core.serialization.ObjectSchema<serializers.ListListEntriesResponse.Raw, AgentMail.ListListEntriesResponse>;
|
|
9
|
+
export declare namespace ListListEntriesResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
count: Count.Raw;
|
|
12
|
+
limit?: Limit.Raw | null;
|
|
13
|
+
next_page_token?: PageToken.Raw | null;
|
|
14
|
+
entries: ListEntry.Raw[];
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ListListEntriesResponse = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
const Count_js_1 = require("../../../types/Count.js");
|
|
40
|
+
const Limit_js_1 = require("../../../types/Limit.js");
|
|
41
|
+
const PageToken_js_1 = require("../../../types/PageToken.js");
|
|
42
|
+
const ListEntry_js_1 = require("./ListEntry.js");
|
|
43
|
+
exports.ListListEntriesResponse = core.serialization.object({
|
|
44
|
+
count: Count_js_1.Count,
|
|
45
|
+
limit: Limit_js_1.Limit.optional(),
|
|
46
|
+
nextPageToken: core.serialization.property("next_page_token", PageToken_js_1.PageToken.optional()),
|
|
47
|
+
entries: core.serialization.list(ListEntry_js_1.ListEntry),
|
|
48
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as AgentMail from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
export declare const ListType: core.serialization.Schema<serializers.ListType.Raw, AgentMail.ListType>;
|
|
5
|
+
export declare namespace ListType {
|
|
6
|
+
type Raw = "allow" | "block";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ListType = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.ListType = core.serialization.enum_(["allow", "block"]);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as AgentMail from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
import { ListEntryBase } from "./ListEntryBase.js";
|
|
5
|
+
export declare const PodListEntry: core.serialization.ObjectSchema<serializers.PodListEntry.Raw, AgentMail.PodListEntry>;
|
|
6
|
+
export declare namespace PodListEntry {
|
|
7
|
+
interface Raw extends ListEntryBase.Raw {
|
|
8
|
+
pod_id: string;
|
|
9
|
+
inbox_id?: string | null;
|
|
10
|
+
}
|
|
11
|
+
}
|