agentmail 0.0.17 → 0.0.19
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/api/resources/inboxes/client/Client.js +3 -3
- package/api/resources/messages/client/Client.d.ts +0 -2
- package/api/resources/messages/client/Client.js +5 -7
- package/api/resources/messages/types/ListMessagesResponse.d.ts +6 -2
- package/api/resources/messages/types/Message.d.ts +15 -13
- package/{dist/api/resources/messages/types/MessageThreadId.d.ts → api/resources/messages/types/MessageEventId.d.ts} +2 -2
- package/api/resources/messages/types/MessageInReplyTo.d.ts +7 -0
- package/api/resources/messages/types/MessageItem.d.ts +6 -4
- package/api/resources/messages/types/{MessageThreadId.d.ts → MessageLabels.d.ts} +2 -2
- package/api/resources/messages/types/MessageReferences.d.ts +7 -0
- package/api/resources/messages/types/MessageReplyTo.d.ts +7 -0
- package/api/resources/messages/types/MessageTimestamp.d.ts +7 -0
- package/api/resources/messages/types/index.d.ts +6 -2
- package/api/resources/messages/types/index.js +6 -2
- package/api/resources/threads/client/Client.d.ts +0 -2
- package/api/resources/threads/client/Client.js +2 -4
- package/api/resources/threads/types/ListThreadsResponse.d.ts +8 -4
- package/api/resources/threads/types/Thread.d.ts +22 -15
- package/api/resources/{messages/types/MessageSentAt.d.ts → threads/types/ThreadEventId.d.ts} +2 -2
- package/api/resources/threads/types/ThreadItem.d.ts +5 -3
- package/{dist/api/resources/messages/types/MessageSentAt.d.ts → api/resources/threads/types/ThreadLabels.d.ts} +2 -2
- package/api/resources/threads/types/ThreadSenders.d.ts +7 -0
- package/api/resources/threads/types/ThreadSenders.js +5 -0
- package/api/resources/threads/types/ThreadTimestamp.d.ts +7 -0
- package/api/resources/threads/types/ThreadTimestamp.js +5 -0
- package/api/resources/threads/types/index.d.ts +4 -2
- package/api/resources/threads/types/index.js +4 -2
- package/api/types/OrganizationId.d.ts +7 -0
- package/api/types/OrganizationId.js +5 -0
- package/api/types/Received.d.ts +1 -1
- package/api/types/Sent.d.ts +1 -1
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/api/resources/inboxes/client/Client.js +3 -3
- package/dist/api/resources/messages/client/Client.d.ts +0 -2
- package/dist/api/resources/messages/client/Client.js +5 -7
- package/dist/api/resources/messages/types/ListMessagesResponse.d.ts +6 -2
- package/dist/api/resources/messages/types/Message.d.ts +15 -13
- package/dist/api/resources/messages/types/MessageEventId.d.ts +7 -0
- package/dist/api/resources/messages/types/MessageEventId.js +5 -0
- package/dist/api/resources/messages/types/MessageInReplyTo.d.ts +7 -0
- package/dist/api/resources/messages/types/MessageInReplyTo.js +5 -0
- package/dist/api/resources/messages/types/MessageItem.d.ts +6 -4
- package/dist/api/resources/messages/types/MessageLabels.d.ts +7 -0
- package/dist/api/resources/messages/types/MessageLabels.js +5 -0
- package/dist/api/resources/messages/types/MessageReferences.d.ts +7 -0
- package/dist/api/resources/messages/types/MessageReferences.js +5 -0
- package/dist/api/resources/messages/types/MessageReplyTo.d.ts +7 -0
- package/dist/api/resources/messages/types/MessageReplyTo.js +5 -0
- package/dist/api/resources/messages/types/MessageTimestamp.d.ts +7 -0
- package/dist/api/resources/messages/types/MessageTimestamp.js +5 -0
- package/dist/api/resources/messages/types/index.d.ts +6 -2
- package/dist/api/resources/messages/types/index.js +6 -2
- package/dist/api/resources/threads/client/Client.d.ts +0 -2
- package/dist/api/resources/threads/client/Client.js +2 -4
- package/dist/api/resources/threads/types/ListThreadsResponse.d.ts +8 -4
- package/dist/api/resources/threads/types/Thread.d.ts +22 -15
- package/dist/api/resources/threads/types/ThreadEventId.d.ts +7 -0
- package/dist/api/resources/threads/types/ThreadEventId.js +5 -0
- package/dist/api/resources/threads/types/ThreadItem.d.ts +5 -3
- package/dist/api/resources/threads/types/ThreadLabels.d.ts +7 -0
- package/dist/api/resources/threads/types/ThreadLabels.js +5 -0
- package/dist/api/resources/threads/types/ThreadSenders.d.ts +7 -0
- package/dist/api/resources/threads/types/ThreadSenders.js +5 -0
- package/dist/api/resources/threads/types/ThreadTimestamp.d.ts +7 -0
- package/dist/api/resources/threads/types/ThreadTimestamp.js +5 -0
- package/dist/api/resources/threads/types/index.d.ts +4 -2
- package/dist/api/resources/threads/types/index.js +4 -2
- package/dist/api/types/OrganizationId.d.ts +7 -0
- package/dist/api/types/OrganizationId.js +5 -0
- package/dist/api/types/Received.d.ts +1 -1
- package/dist/api/types/Sent.d.ts +1 -1
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/resources/messages/types/Message.d.ts +18 -8
- package/dist/serialization/resources/messages/types/Message.js +18 -8
- package/dist/serialization/resources/{threads/types/ThreadUpdatedAt.d.ts → messages/types/MessageEventId.d.ts} +2 -2
- package/{serialization/resources/threads/types/ThreadUpdatedAt.js → dist/serialization/resources/messages/types/MessageEventId.js} +2 -2
- package/dist/serialization/resources/messages/types/MessageInReplyTo.d.ts +10 -0
- package/dist/serialization/resources/messages/types/MessageInReplyTo.js +41 -0
- package/dist/serialization/resources/messages/types/MessageItem.d.ts +12 -8
- package/dist/serialization/resources/messages/types/MessageItem.js +12 -8
- package/dist/serialization/resources/{threads/types/ThreadParticipants.d.ts → messages/types/MessageLabels.d.ts} +2 -2
- package/dist/serialization/resources/messages/types/MessageLabels.js +41 -0
- package/dist/serialization/resources/messages/types/MessageReferences.d.ts +10 -0
- package/dist/serialization/resources/{threads/types/ThreadParticipants.js → messages/types/MessageReferences.js} +2 -2
- package/dist/serialization/resources/messages/types/MessageReplyTo.d.ts +10 -0
- package/dist/serialization/resources/messages/types/MessageReplyTo.js +41 -0
- package/dist/serialization/resources/messages/types/MessageTimestamp.d.ts +10 -0
- package/dist/serialization/resources/messages/types/{MessageThreadId.js → MessageTimestamp.js} +2 -2
- package/dist/serialization/resources/messages/types/index.d.ts +6 -2
- package/dist/serialization/resources/messages/types/index.js +6 -2
- package/dist/serialization/resources/threads/types/Thread.d.ts +16 -11
- package/dist/serialization/resources/threads/types/Thread.js +16 -11
- package/{serialization/resources/messages/types/MessageSentAt.d.ts → dist/serialization/resources/threads/types/ThreadEventId.d.ts} +2 -2
- package/dist/serialization/resources/{messages/types/MessageSentAt.js → threads/types/ThreadEventId.js} +2 -2
- package/dist/serialization/resources/threads/types/ThreadItem.d.ts +10 -6
- package/dist/serialization/resources/threads/types/ThreadItem.js +10 -6
- package/{serialization/resources/threads/types/ThreadParticipants.d.ts → dist/serialization/resources/threads/types/ThreadLabels.d.ts} +2 -2
- package/dist/serialization/resources/threads/types/ThreadLabels.js +41 -0
- package/dist/serialization/resources/threads/types/ThreadSenders.d.ts +10 -0
- package/dist/serialization/resources/threads/types/ThreadSenders.js +41 -0
- package/dist/serialization/resources/{messages/types/MessageThreadId.d.ts → threads/types/ThreadTimestamp.d.ts} +2 -2
- package/dist/serialization/resources/threads/types/{ThreadUpdatedAt.js → ThreadTimestamp.js} +2 -2
- package/dist/serialization/resources/threads/types/index.d.ts +4 -2
- package/dist/serialization/resources/threads/types/index.js +4 -2
- package/dist/serialization/types/OrganizationId.d.ts +10 -0
- package/dist/serialization/types/OrganizationId.js +41 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +0 -30
- package/serialization/resources/messages/types/Message.d.ts +18 -8
- package/serialization/resources/messages/types/Message.js +18 -8
- package/serialization/resources/messages/types/MessageEventId.d.ts +10 -0
- package/serialization/resources/messages/types/MessageEventId.js +41 -0
- package/serialization/resources/messages/types/MessageInReplyTo.d.ts +10 -0
- package/serialization/resources/messages/types/MessageInReplyTo.js +41 -0
- package/serialization/resources/messages/types/MessageItem.d.ts +12 -8
- package/serialization/resources/messages/types/MessageItem.js +12 -8
- package/serialization/resources/messages/types/MessageLabels.d.ts +10 -0
- package/serialization/resources/messages/types/MessageLabels.js +41 -0
- package/serialization/resources/messages/types/MessageReferences.d.ts +10 -0
- package/serialization/resources/messages/types/MessageReferences.js +41 -0
- package/serialization/resources/messages/types/MessageReplyTo.d.ts +10 -0
- package/serialization/resources/messages/types/MessageReplyTo.js +41 -0
- package/serialization/resources/messages/types/MessageTimestamp.d.ts +10 -0
- package/serialization/resources/messages/types/MessageTimestamp.js +41 -0
- package/serialization/resources/messages/types/index.d.ts +6 -2
- package/serialization/resources/messages/types/index.js +6 -2
- package/serialization/resources/threads/types/Thread.d.ts +16 -11
- package/serialization/resources/threads/types/Thread.js +16 -11
- package/{dist/serialization/resources/messages/types/MessageSentAt.d.ts → serialization/resources/threads/types/ThreadEventId.d.ts} +2 -2
- package/serialization/resources/{messages/types/MessageSentAt.js → threads/types/ThreadEventId.js} +2 -2
- package/serialization/resources/threads/types/ThreadItem.d.ts +10 -6
- package/serialization/resources/threads/types/ThreadItem.js +10 -6
- package/serialization/resources/threads/types/ThreadLabels.d.ts +10 -0
- package/serialization/resources/threads/types/ThreadLabels.js +41 -0
- package/serialization/resources/threads/types/ThreadSenders.d.ts +10 -0
- package/serialization/resources/threads/types/ThreadSenders.js +41 -0
- package/serialization/resources/threads/types/ThreadTimestamp.d.ts +10 -0
- package/serialization/resources/threads/types/ThreadTimestamp.js +41 -0
- package/serialization/resources/threads/types/index.d.ts +4 -2
- package/serialization/resources/threads/types/index.js +4 -2
- package/serialization/types/OrganizationId.d.ts +10 -0
- package/serialization/types/OrganizationId.js +41 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/threads/types/ThreadParticipants.d.ts +0 -7
- package/api/resources/threads/types/ThreadUpdatedAt.d.ts +0 -7
- package/dist/api/resources/threads/types/ThreadParticipants.d.ts +0 -7
- package/dist/api/resources/threads/types/ThreadUpdatedAt.d.ts +0 -7
- package/serialization/resources/messages/types/MessageThreadId.d.ts +0 -10
- package/serialization/resources/messages/types/MessageThreadId.js +0 -41
- package/serialization/resources/threads/types/ThreadParticipants.js +0 -41
- package/serialization/resources/threads/types/ThreadUpdatedAt.d.ts +0 -10
- /package/api/resources/messages/types/{MessageSentAt.js → MessageEventId.js} +0 -0
- /package/api/resources/messages/types/{MessageThreadId.js → MessageInReplyTo.js} +0 -0
- /package/api/resources/{threads/types/ThreadParticipants.js → messages/types/MessageLabels.js} +0 -0
- /package/api/resources/{threads/types/ThreadUpdatedAt.js → messages/types/MessageReferences.js} +0 -0
- /package/{dist/api/resources/messages/types/MessageSentAt.js → api/resources/messages/types/MessageReplyTo.js} +0 -0
- /package/{dist/api/resources/messages/types/MessageThreadId.js → api/resources/messages/types/MessageTimestamp.js} +0 -0
- /package/{dist/api/resources/threads/types/ThreadParticipants.js → api/resources/threads/types/ThreadEventId.js} +0 -0
- /package/{dist/api/resources/threads/types/ThreadUpdatedAt.js → api/resources/threads/types/ThreadLabels.js} +0 -0
package/version.js
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../index";
|
|
5
|
-
import * as AgentMail from "../../../../api/index";
|
|
6
|
-
import * as core from "../../../../core";
|
|
7
|
-
export declare const MessageThreadId: core.serialization.Schema<serializers.MessageThreadId.Raw, AgentMail.MessageThreadId>;
|
|
8
|
-
export declare namespace MessageThreadId {
|
|
9
|
-
type Raw = string;
|
|
10
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
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.MessageThreadId = void 0;
|
|
40
|
-
const core = __importStar(require("../../../../core"));
|
|
41
|
-
exports.MessageThreadId = core.serialization.string();
|
|
@@ -1,41 +0,0 @@
|
|
|
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.ThreadParticipants = void 0;
|
|
40
|
-
const core = __importStar(require("../../../../core"));
|
|
41
|
-
exports.ThreadParticipants = core.serialization.list(core.serialization.string());
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../index";
|
|
5
|
-
import * as AgentMail from "../../../../api/index";
|
|
6
|
-
import * as core from "../../../../core";
|
|
7
|
-
export declare const ThreadUpdatedAt: core.serialization.Schema<serializers.ThreadUpdatedAt.Raw, AgentMail.ThreadUpdatedAt>;
|
|
8
|
-
export declare namespace ThreadUpdatedAt {
|
|
9
|
-
type Raw = string;
|
|
10
|
-
}
|
|
File without changes
|
|
File without changes
|
/package/api/resources/{threads/types/ThreadParticipants.js → messages/types/MessageLabels.js}
RENAMED
|
File without changes
|
/package/api/resources/{threads/types/ThreadUpdatedAt.js → messages/types/MessageReferences.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|