agentmail 0.5.46 → 0.5.48
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/api/resources/agent/client/Client.d.ts +3 -1
- package/dist/cjs/api/resources/agent/client/Client.js +3 -1
- package/dist/cjs/api/resources/apiKeys/types/ApiKeyPermissions.d.ts +4 -4
- package/dist/cjs/api/resources/calendar/types/IanaTimezone.d.ts +5 -3
- package/dist/cjs/api/resources/domains/types/Domain.d.ts +11 -4
- package/dist/cjs/api/resources/domains/types/RecordType.d.ts +1 -0
- package/dist/cjs/api/resources/domains/types/RecordType.js +1 -0
- package/dist/cjs/api/resources/domains/types/TrackingEnabled.d.ts +4 -3
- package/dist/cjs/api/resources/domains/types/TrackingStatus.d.ts +10 -0
- package/dist/cjs/api/resources/domains/types/TrackingStatus.js +3 -0
- package/dist/cjs/api/resources/domains/types/UpdateDomainRequest.d.ts +2 -1
- package/dist/cjs/api/resources/domains/types/VerificationRecord.d.ts +1 -1
- package/dist/cjs/api/resources/domains/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/domains/types/index.js +1 -0
- package/dist/cjs/api/resources/events/types/EventId.d.ts +3 -1
- package/dist/cjs/api/resources/events/types/InboxIds.d.ts +1 -1
- package/dist/cjs/api/resources/events/types/MessageReceivedEvent.d.ts +1 -1
- package/dist/cjs/api/resources/events/types/PodIds.d.ts +1 -1
- package/dist/cjs/api/resources/events/types/ReceivedMessage.d.ts +18 -0
- package/dist/cjs/api/resources/events/types/ReceivedMessage.js +3 -0
- package/dist/cjs/api/resources/events/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/events/types/index.js +1 -0
- package/dist/cjs/api/resources/inboxes/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/inboxes/client/Client.js +2 -1
- package/dist/cjs/api/resources/inboxes/resources/calendar/client/Client.d.ts +20 -21
- package/dist/cjs/api/resources/inboxes/resources/calendar/client/Client.js +20 -21
- package/dist/cjs/api/resources/inboxes/types/CreateInboxRequest.d.ts +2 -0
- package/dist/cjs/api/resources/inboxes/types/Inbox.d.ts +5 -0
- package/dist/cjs/api/resources/inboxes/types/PauseAt.d.ts +7 -0
- package/dist/cjs/api/resources/inboxes/types/PauseAt.js +3 -0
- package/dist/cjs/api/resources/inboxes/types/UpdateInboxRequest.d.ts +7 -1
- 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/messages/types/Message.d.ts +1 -0
- package/dist/cjs/api/resources/messages/types/MessageAuthenticationDomain.d.ts +5 -0
- package/dist/cjs/api/resources/messages/types/MessageAuthenticationDomain.js +3 -0
- package/dist/cjs/api/resources/messages/types/MessageAuthenticationResults.d.ts +56 -0
- package/dist/cjs/api/resources/messages/types/MessageAuthenticationResults.js +3 -0
- package/dist/cjs/api/resources/messages/types/MessageAuthenticationVerdict.d.ts +16 -0
- package/dist/cjs/api/resources/messages/types/MessageAuthenticationVerdict.js +19 -0
- package/dist/cjs/api/resources/messages/types/MessageCalendarEventId.d.ts +3 -2
- package/dist/cjs/api/resources/messages/types/MessageHeaders.d.ts +4 -1
- package/dist/cjs/api/resources/messages/types/MessageItem.d.ts +1 -0
- package/dist/cjs/api/resources/messages/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/messages/types/index.js +3 -0
- package/dist/cjs/api/resources/metrics/client/Client.d.ts +3 -4
- package/dist/cjs/api/resources/metrics/client/Client.js +3 -4
- package/dist/cjs/api/resources/organizations/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/organizations/client/Client.js +1 -1
- package/dist/cjs/api/resources/organizations/types/Organization.d.ts +12 -0
- package/dist/cjs/api/resources/webhooks/types/CreatePodWebhookRequest.d.ts +4 -0
- package/dist/cjs/api/resources/webhooks/types/CreateWebhookEventTypes.d.ts +3 -2
- package/dist/cjs/api/resources/webhooks/types/CreateWebhookRequest.d.ts +3 -2
- package/dist/cjs/api/resources/webhooks/types/UpdateInboxWebhookRequest.d.ts +6 -4
- package/dist/cjs/api/resources/webhooks/types/UpdatePodWebhookRequest.d.ts +2 -1
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhookEventTypes.d.ts +2 -2
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhookRequest.d.ts +4 -1
- package/dist/cjs/api/resources/webhooks/types/Webhook.d.ts +5 -1
- package/dist/cjs/serialization/resources/domains/types/Domain.d.ts +3 -0
- package/dist/cjs/serialization/resources/domains/types/Domain.js +3 -0
- package/dist/cjs/serialization/resources/domains/types/RecordType.d.ts +1 -1
- package/dist/cjs/serialization/resources/domains/types/RecordType.js +1 -1
- package/dist/cjs/serialization/resources/domains/types/TrackingStatus.d.ts +8 -0
- package/dist/cjs/serialization/resources/domains/types/TrackingStatus.js +6 -0
- package/dist/cjs/serialization/resources/domains/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/domains/types/index.js +1 -0
- package/dist/cjs/serialization/resources/events/types/MessageReceivedEvent.d.ts +2 -2
- package/dist/cjs/serialization/resources/events/types/MessageReceivedEvent.js +2 -2
- package/dist/cjs/serialization/resources/events/types/ReceivedMessage.d.ts +11 -0
- package/dist/cjs/serialization/resources/events/types/ReceivedMessage.js +45 -0
- package/dist/cjs/serialization/resources/events/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/events/types/index.js +1 -0
- package/dist/cjs/serialization/resources/inboxes/types/CreateInboxRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/inboxes/types/CreateInboxRequest.js +2 -0
- package/dist/cjs/serialization/resources/inboxes/types/Inbox.d.ts +2 -0
- package/dist/cjs/serialization/resources/inboxes/types/Inbox.js +2 -0
- package/dist/cjs/serialization/resources/inboxes/types/PauseAt.d.ts +7 -0
- package/dist/cjs/serialization/resources/inboxes/types/PauseAt.js +39 -0
- package/dist/cjs/serialization/resources/inboxes/types/UpdateInboxRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/inboxes/types/UpdateInboxRequest.js +2 -0
- 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/messages/types/Message.d.ts +2 -0
- package/dist/cjs/serialization/resources/messages/types/Message.js +2 -0
- package/dist/cjs/serialization/resources/messages/types/MessageAuthenticationDomain.d.ts +7 -0
- package/dist/cjs/serialization/resources/messages/types/MessageAuthenticationDomain.js +39 -0
- package/dist/cjs/serialization/resources/messages/types/MessageAuthenticationResults.d.ts +17 -0
- package/dist/cjs/serialization/resources/messages/types/MessageAuthenticationResults.js +49 -0
- package/dist/cjs/serialization/resources/messages/types/MessageAuthenticationVerdict.d.ts +7 -0
- package/dist/cjs/serialization/resources/messages/types/MessageAuthenticationVerdict.js +39 -0
- package/dist/cjs/serialization/resources/messages/types/MessageItem.d.ts +2 -0
- package/dist/cjs/serialization/resources/messages/types/MessageItem.js +2 -0
- package/dist/cjs/serialization/resources/messages/types/index.d.ts +3 -0
- package/dist/cjs/serialization/resources/messages/types/index.js +3 -0
- package/dist/cjs/serialization/resources/organizations/types/Organization.d.ts +2 -0
- package/dist/cjs/serialization/resources/organizations/types/Organization.js +2 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/agent/client/Client.d.mts +3 -1
- package/dist/esm/api/resources/agent/client/Client.mjs +3 -1
- package/dist/esm/api/resources/apiKeys/types/ApiKeyPermissions.d.mts +4 -4
- package/dist/esm/api/resources/calendar/types/IanaTimezone.d.mts +5 -3
- package/dist/esm/api/resources/domains/types/Domain.d.mts +11 -4
- package/dist/esm/api/resources/domains/types/RecordType.d.mts +1 -0
- package/dist/esm/api/resources/domains/types/RecordType.mjs +1 -0
- package/dist/esm/api/resources/domains/types/TrackingEnabled.d.mts +4 -3
- package/dist/esm/api/resources/domains/types/TrackingStatus.d.mts +10 -0
- package/dist/esm/api/resources/domains/types/TrackingStatus.mjs +2 -0
- package/dist/esm/api/resources/domains/types/UpdateDomainRequest.d.mts +2 -1
- package/dist/esm/api/resources/domains/types/VerificationRecord.d.mts +1 -1
- package/dist/esm/api/resources/domains/types/index.d.mts +1 -0
- package/dist/esm/api/resources/domains/types/index.mjs +1 -0
- package/dist/esm/api/resources/events/types/EventId.d.mts +3 -1
- package/dist/esm/api/resources/events/types/InboxIds.d.mts +1 -1
- package/dist/esm/api/resources/events/types/MessageReceivedEvent.d.mts +1 -1
- package/dist/esm/api/resources/events/types/PodIds.d.mts +1 -1
- package/dist/esm/api/resources/events/types/ReceivedMessage.d.mts +18 -0
- package/dist/esm/api/resources/events/types/ReceivedMessage.mjs +2 -0
- package/dist/esm/api/resources/events/types/index.d.mts +1 -0
- package/dist/esm/api/resources/events/types/index.mjs +1 -0
- package/dist/esm/api/resources/inboxes/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/inboxes/client/Client.mjs +2 -1
- package/dist/esm/api/resources/inboxes/resources/calendar/client/Client.d.mts +20 -21
- package/dist/esm/api/resources/inboxes/resources/calendar/client/Client.mjs +20 -21
- package/dist/esm/api/resources/inboxes/types/CreateInboxRequest.d.mts +2 -0
- package/dist/esm/api/resources/inboxes/types/Inbox.d.mts +5 -0
- package/dist/esm/api/resources/inboxes/types/PauseAt.d.mts +7 -0
- package/dist/esm/api/resources/inboxes/types/PauseAt.mjs +2 -0
- package/dist/esm/api/resources/inboxes/types/UpdateInboxRequest.d.mts +7 -1
- 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/messages/types/Message.d.mts +1 -0
- package/dist/esm/api/resources/messages/types/MessageAuthenticationDomain.d.mts +5 -0
- package/dist/esm/api/resources/messages/types/MessageAuthenticationDomain.mjs +2 -0
- package/dist/esm/api/resources/messages/types/MessageAuthenticationResults.d.mts +56 -0
- package/dist/esm/api/resources/messages/types/MessageAuthenticationResults.mjs +2 -0
- package/dist/esm/api/resources/messages/types/MessageAuthenticationVerdict.d.mts +16 -0
- package/dist/esm/api/resources/messages/types/MessageAuthenticationVerdict.mjs +16 -0
- package/dist/esm/api/resources/messages/types/MessageCalendarEventId.d.mts +3 -2
- package/dist/esm/api/resources/messages/types/MessageHeaders.d.mts +4 -1
- package/dist/esm/api/resources/messages/types/MessageItem.d.mts +1 -0
- package/dist/esm/api/resources/messages/types/index.d.mts +3 -0
- package/dist/esm/api/resources/messages/types/index.mjs +3 -0
- package/dist/esm/api/resources/metrics/client/Client.d.mts +3 -4
- package/dist/esm/api/resources/metrics/client/Client.mjs +3 -4
- package/dist/esm/api/resources/organizations/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/organizations/client/Client.mjs +1 -1
- package/dist/esm/api/resources/organizations/types/Organization.d.mts +12 -0
- package/dist/esm/api/resources/webhooks/types/CreatePodWebhookRequest.d.mts +4 -0
- package/dist/esm/api/resources/webhooks/types/CreateWebhookEventTypes.d.mts +3 -2
- package/dist/esm/api/resources/webhooks/types/CreateWebhookRequest.d.mts +3 -2
- package/dist/esm/api/resources/webhooks/types/UpdateInboxWebhookRequest.d.mts +6 -4
- package/dist/esm/api/resources/webhooks/types/UpdatePodWebhookRequest.d.mts +2 -1
- package/dist/esm/api/resources/webhooks/types/UpdateWebhookEventTypes.d.mts +2 -2
- package/dist/esm/api/resources/webhooks/types/UpdateWebhookRequest.d.mts +4 -1
- package/dist/esm/api/resources/webhooks/types/Webhook.d.mts +5 -1
- package/dist/esm/serialization/resources/domains/types/Domain.d.mts +3 -0
- package/dist/esm/serialization/resources/domains/types/Domain.mjs +3 -0
- package/dist/esm/serialization/resources/domains/types/RecordType.d.mts +1 -1
- package/dist/esm/serialization/resources/domains/types/RecordType.mjs +1 -1
- package/dist/esm/serialization/resources/domains/types/TrackingStatus.d.mts +8 -0
- package/dist/esm/serialization/resources/domains/types/TrackingStatus.mjs +3 -0
- package/dist/esm/serialization/resources/domains/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/domains/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/events/types/MessageReceivedEvent.d.mts +2 -2
- package/dist/esm/serialization/resources/events/types/MessageReceivedEvent.mjs +2 -2
- package/dist/esm/serialization/resources/events/types/ReceivedMessage.d.mts +11 -0
- package/dist/esm/serialization/resources/events/types/ReceivedMessage.mjs +9 -0
- package/dist/esm/serialization/resources/events/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/events/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/inboxes/types/CreateInboxRequest.d.mts +2 -0
- package/dist/esm/serialization/resources/inboxes/types/CreateInboxRequest.mjs +2 -0
- package/dist/esm/serialization/resources/inboxes/types/Inbox.d.mts +2 -0
- package/dist/esm/serialization/resources/inboxes/types/Inbox.mjs +2 -0
- package/dist/esm/serialization/resources/inboxes/types/PauseAt.d.mts +7 -0
- package/dist/esm/serialization/resources/inboxes/types/PauseAt.mjs +3 -0
- package/dist/esm/serialization/resources/inboxes/types/UpdateInboxRequest.d.mts +2 -0
- package/dist/esm/serialization/resources/inboxes/types/UpdateInboxRequest.mjs +2 -0
- 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/messages/types/Message.d.mts +2 -0
- package/dist/esm/serialization/resources/messages/types/Message.mjs +2 -0
- package/dist/esm/serialization/resources/messages/types/MessageAuthenticationDomain.d.mts +7 -0
- package/dist/esm/serialization/resources/messages/types/MessageAuthenticationDomain.mjs +3 -0
- package/dist/esm/serialization/resources/messages/types/MessageAuthenticationResults.d.mts +17 -0
- package/dist/esm/serialization/resources/messages/types/MessageAuthenticationResults.mjs +13 -0
- package/dist/esm/serialization/resources/messages/types/MessageAuthenticationVerdict.d.mts +7 -0
- package/dist/esm/serialization/resources/messages/types/MessageAuthenticationVerdict.mjs +3 -0
- package/dist/esm/serialization/resources/messages/types/MessageItem.d.mts +2 -0
- package/dist/esm/serialization/resources/messages/types/MessageItem.mjs +2 -0
- package/dist/esm/serialization/resources/messages/types/index.d.mts +3 -0
- package/dist/esm/serialization/resources/messages/types/index.mjs +3 -0
- package/dist/esm/serialization/resources/organizations/types/Organization.d.mts +2 -0
- package/dist/esm/serialization/resources/organizations/types/Organization.mjs +2 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/dist/llms.txt +20 -2
- package/package.json +3 -2
- package/reference.md +29 -28
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type * as AgentMail from "../../../index.mjs";
|
|
2
2
|
/**
|
|
3
|
-
* Full list of event types this webhook should receive.
|
|
4
|
-
* want in this array (not
|
|
3
|
+
* Full list of event types this webhook should receive. Required: omitting it or sending an empty array
|
|
4
|
+
* returns a `400`, and there is no "all events" default. Send every type you want in this array (not
|
|
5
|
+
* incremental). See [Webhooks overview](https://docs.agentmail.to/webhooks-overview)
|
|
5
6
|
* for spam, blocked, and unauthenticated events and required permissions.
|
|
6
7
|
*/
|
|
7
8
|
export type CreateWebhookEventTypes = AgentMail.EventTypes;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type * as AgentMail from "../../../index.mjs";
|
|
2
2
|
export interface CreateWebhookRequest extends AgentMail.webhooks.CreatePodWebhookRequest {
|
|
3
3
|
/**
|
|
4
|
-
* Pods for which to send events.
|
|
5
|
-
*
|
|
4
|
+
* Pods for which to send events. A webhook can list at most 10 pods and inboxes combined; more returns
|
|
5
|
+
* `403` with `limit_exceeded`. The webhook receives an event that matches any listed pod or inbox, so a
|
|
6
|
+
* listed pod already covers every inbox in it.
|
|
6
7
|
*/
|
|
7
8
|
podIds?: AgentMail.PodIds;
|
|
8
9
|
}
|
|
@@ -7,10 +7,12 @@ export interface UpdateInboxWebhookRequest {
|
|
|
7
7
|
eventTypes?: AgentMail.webhooks.UpdateWebhookEventTypes;
|
|
8
8
|
/**
|
|
9
9
|
* Set to true to re-enable a webhook that was disabled after repeated failed deliveries, or false
|
|
10
|
-
* to disable it.
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
10
|
+
* to disable it. AgentMail does not notify you when a webhook is disabled automatically; check this
|
|
11
|
+
* field when you get or list webhooks. Events that occurred while the webhook was disabled are not
|
|
12
|
+
* redelivered. Re-enabling requires the read permission for every restricted event type the webhook
|
|
13
|
+
* subscribes to: `label_spam_read`, `label_blocked_read`, or `label_unauthenticated_read` for the
|
|
14
|
+
* received variants, `message_read` for `message.security.*`, and `calendar_event_read` for
|
|
15
|
+
* `calendar.event.*`. A webhook with no event type filter is checked against all of them.
|
|
14
16
|
*/
|
|
15
17
|
enabled?: boolean;
|
|
16
18
|
}
|
|
@@ -7,7 +7,8 @@ export interface UpdatePodWebhookRequest extends AgentMail.webhooks.UpdateInboxW
|
|
|
7
7
|
/**
|
|
8
8
|
* Inbox IDs to subscribe to the webhook. This only adds to what the webhook receives: on a webhook
|
|
9
9
|
* that covers its whole pod, it changes nothing. To receive only specific inboxes, create a webhook
|
|
10
|
-
* with `inbox_ids` instead.
|
|
10
|
+
* with `inbox_ids` instead. The webhook can list at most 10 inboxes and pods combined after the
|
|
11
|
+
* update.
|
|
11
12
|
*/
|
|
12
13
|
addInboxIds?: AgentMail.InboxIds;
|
|
13
14
|
/** Inbox IDs to unsubscribe from the webhook. */
|
|
@@ -3,8 +3,8 @@ import type * as AgentMail from "../../../index.mjs";
|
|
|
3
3
|
* When you send a non-empty list, it replaces the webhook's subscribed event types in full (the same
|
|
4
4
|
* "set the list" behavior as create). It is not a merge or diff: include every event type you want after
|
|
5
5
|
* the update. Sending a one-element array means the webhook will only receive that one type afterward.
|
|
6
|
-
* Omit this field
|
|
7
|
-
*
|
|
6
|
+
* Omit this field to leave event types unchanged. An empty array is rejected with a `400`: a webhook
|
|
7
|
+
* always has at least one event type. Subscribing to `message.received.spam`, `message.received.blocked`, or
|
|
8
8
|
* `message.received.unauthenticated` requires the matching label permission on the API key.
|
|
9
9
|
*/
|
|
10
10
|
export type UpdateWebhookEventTypes = AgentMail.EventTypes;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type * as AgentMail from "../../../index.mjs";
|
|
2
2
|
export interface UpdateWebhookRequest extends AgentMail.webhooks.UpdatePodWebhookRequest {
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Pod IDs to subscribe to the webhook. The webhook can list at most 10 pods and inboxes combined
|
|
5
|
+
* after the update.
|
|
6
|
+
*/
|
|
4
7
|
addPodIds?: AgentMail.PodIds;
|
|
5
8
|
/** Pod IDs to unsubscribe from the webhook. */
|
|
6
9
|
removePodIds?: AgentMail.PodIds;
|
|
@@ -18,7 +18,11 @@ export interface Webhook {
|
|
|
18
18
|
inboxId?: string;
|
|
19
19
|
/** Secret for webhook signature verification. */
|
|
20
20
|
secret: string;
|
|
21
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* Whether the webhook is enabled. It becomes false when you disable it, and also when deliveries to
|
|
23
|
+
* the URL have failed for 5 days, in which case AgentMail sends no notification. Re-enable it with
|
|
24
|
+
* update and `enabled` set to true.
|
|
25
|
+
*/
|
|
22
26
|
enabled: boolean;
|
|
23
27
|
/** Time at which webhook was last updated. */
|
|
24
28
|
updatedAt: Date;
|
|
@@ -10,6 +10,7 @@ import { InboundEnabled } from "./InboundEnabled.mjs";
|
|
|
10
10
|
import { Status } from "./Status.mjs";
|
|
11
11
|
import { SubdomainsEnabled } from "./SubdomainsEnabled.mjs";
|
|
12
12
|
import { TrackingEnabled } from "./TrackingEnabled.mjs";
|
|
13
|
+
import { TrackingStatus } from "./TrackingStatus.mjs";
|
|
13
14
|
import { VerificationRecord } from "./VerificationRecord.mjs";
|
|
14
15
|
export declare const Domain: core.serialization.ObjectSchema<serializers.Domain.Raw, AgentMail.Domain>;
|
|
15
16
|
export declare namespace Domain {
|
|
@@ -23,6 +24,8 @@ export declare namespace Domain {
|
|
|
23
24
|
inbound_enabled?: InboundEnabled.Raw | null;
|
|
24
25
|
subdomains_enabled: SubdomainsEnabled.Raw;
|
|
25
26
|
tracking_enabled: TrackingEnabled.Raw;
|
|
27
|
+
tracking_status?: TrackingStatus.Raw | null;
|
|
28
|
+
tracking_reason?: string | null;
|
|
26
29
|
records: VerificationRecord.Raw[];
|
|
27
30
|
client_id?: ClientId.Raw | null;
|
|
28
31
|
updated_at: string;
|
|
@@ -9,6 +9,7 @@ import { InboundEnabled } from "./InboundEnabled.mjs";
|
|
|
9
9
|
import { Status } from "./Status.mjs";
|
|
10
10
|
import { SubdomainsEnabled } from "./SubdomainsEnabled.mjs";
|
|
11
11
|
import { TrackingEnabled } from "./TrackingEnabled.mjs";
|
|
12
|
+
import { TrackingStatus } from "./TrackingStatus.mjs";
|
|
12
13
|
import { VerificationRecord } from "./VerificationRecord.mjs";
|
|
13
14
|
export const Domain = core.serialization.object({
|
|
14
15
|
podId: core.serialization.property("pod_id", PodId.optional()),
|
|
@@ -20,6 +21,8 @@ export const Domain = core.serialization.object({
|
|
|
20
21
|
inboundEnabled: core.serialization.property("inbound_enabled", InboundEnabled.optional()),
|
|
21
22
|
subdomainsEnabled: core.serialization.property("subdomains_enabled", SubdomainsEnabled),
|
|
22
23
|
trackingEnabled: core.serialization.property("tracking_enabled", TrackingEnabled),
|
|
24
|
+
trackingStatus: core.serialization.property("tracking_status", TrackingStatus.optional()),
|
|
25
|
+
trackingReason: core.serialization.property("tracking_reason", core.serialization.string().optional()),
|
|
23
26
|
records: core.serialization.list(VerificationRecord),
|
|
24
27
|
clientId: core.serialization.property("client_id", ClientId.optional()),
|
|
25
28
|
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
export declare const RecordType: core.serialization.Schema<serializers.RecordType.Raw, AgentMail.RecordType>;
|
|
5
5
|
export declare namespace RecordType {
|
|
6
|
-
type Raw = "TXT" | "CNAME" | "MX";
|
|
6
|
+
type Raw = "TXT" | "CNAME" | "MX" | "CAA";
|
|
7
7
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
|
-
export const RecordType = core.serialization.enum_(["TXT", "CNAME", "MX"]);
|
|
3
|
+
export const RecordType = core.serialization.enum_(["TXT", "CNAME", "MX", "CAA"]);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as AgentMail from "../../../../api/index.mjs";
|
|
2
|
+
import type * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
import { VerificationStatus } from "./VerificationStatus.mjs";
|
|
5
|
+
export declare const TrackingStatus: core.serialization.Schema<serializers.TrackingStatus.Raw, AgentMail.TrackingStatus>;
|
|
6
|
+
export declare namespace TrackingStatus {
|
|
7
|
+
type Raw = VerificationStatus.Raw;
|
|
8
|
+
}
|
|
@@ -13,6 +13,7 @@ export * from "./RecordType.mjs";
|
|
|
13
13
|
export * from "./Status.mjs";
|
|
14
14
|
export * from "./SubdomainsEnabled.mjs";
|
|
15
15
|
export * from "./TrackingEnabled.mjs";
|
|
16
|
+
export * from "./TrackingStatus.mjs";
|
|
16
17
|
export * from "./UpdateDomainRequest.mjs";
|
|
17
18
|
export * from "./VerificationRecord.mjs";
|
|
18
19
|
export * from "./VerificationStatus.mjs";
|
|
@@ -13,6 +13,7 @@ export * from "./RecordType.mjs";
|
|
|
13
13
|
export * from "./Status.mjs";
|
|
14
14
|
export * from "./SubdomainsEnabled.mjs";
|
|
15
15
|
export * from "./TrackingEnabled.mjs";
|
|
16
|
+
export * from "./TrackingStatus.mjs";
|
|
16
17
|
export * from "./UpdateDomainRequest.mjs";
|
|
17
18
|
export * from "./VerificationRecord.mjs";
|
|
18
19
|
export * from "./VerificationStatus.mjs";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import type * as AgentMail from "../../../../api/index.mjs";
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
|
-
import { Message } from "../../messages/types/Message.mjs";
|
|
5
4
|
import { ThreadItem } from "../../threads/types/ThreadItem.mjs";
|
|
6
5
|
import { EventId } from "./EventId.mjs";
|
|
7
6
|
import { MessageReceivedEventType } from "./MessageReceivedEventType.mjs";
|
|
7
|
+
import { ReceivedMessage } from "./ReceivedMessage.mjs";
|
|
8
8
|
export declare const MessageReceivedEvent: core.serialization.ObjectSchema<serializers.MessageReceivedEvent.Raw, AgentMail.MessageReceivedEvent>;
|
|
9
9
|
export declare namespace MessageReceivedEvent {
|
|
10
10
|
interface Raw {
|
|
11
11
|
type: "event";
|
|
12
12
|
event_type: MessageReceivedEventType.Raw;
|
|
13
13
|
event_id: EventId.Raw;
|
|
14
|
-
message:
|
|
14
|
+
message: ReceivedMessage.Raw;
|
|
15
15
|
thread: ThreadItem.Raw;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
|
-
import { Message } from "../../messages/types/Message.mjs";
|
|
4
3
|
import { ThreadItem } from "../../threads/types/ThreadItem.mjs";
|
|
5
4
|
import { EventId } from "./EventId.mjs";
|
|
6
5
|
import { MessageReceivedEventType } from "./MessageReceivedEventType.mjs";
|
|
6
|
+
import { ReceivedMessage } from "./ReceivedMessage.mjs";
|
|
7
7
|
export const MessageReceivedEvent = core.serialization.object({
|
|
8
8
|
type: core.serialization.stringLiteral("event"),
|
|
9
9
|
eventType: core.serialization.property("event_type", MessageReceivedEventType),
|
|
10
10
|
eventId: core.serialization.property("event_id", EventId),
|
|
11
|
-
message:
|
|
11
|
+
message: ReceivedMessage,
|
|
12
12
|
thread: ThreadItem,
|
|
13
13
|
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as AgentMail from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
import { Message } from "../../messages/types/Message.mjs";
|
|
5
|
+
export declare const ReceivedMessage: core.serialization.ObjectSchema<serializers.ReceivedMessage.Raw, AgentMail.ReceivedMessage>;
|
|
6
|
+
export declare namespace ReceivedMessage {
|
|
7
|
+
interface Raw extends Message.Raw {
|
|
8
|
+
body_url?: string | null;
|
|
9
|
+
body_expires_at?: string | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { Message } from "../../messages/types/Message.mjs";
|
|
4
|
+
export const ReceivedMessage = core.serialization
|
|
5
|
+
.object({
|
|
6
|
+
bodyUrl: core.serialization.property("body_url", core.serialization.string().optional()),
|
|
7
|
+
bodyExpiresAt: core.serialization.property("body_expires_at", core.serialization.date().optional()),
|
|
8
|
+
})
|
|
9
|
+
.extend(Message);
|
|
@@ -28,6 +28,7 @@ export * from "./MessageSecurityReviewEvent.mjs";
|
|
|
28
28
|
export * from "./MessageSentEvent.mjs";
|
|
29
29
|
export * from "./Open.mjs";
|
|
30
30
|
export * from "./PodIds.mjs";
|
|
31
|
+
export * from "./ReceivedMessage.mjs";
|
|
31
32
|
export * from "./Recipient.mjs";
|
|
32
33
|
export * from "./Reject.mjs";
|
|
33
34
|
export * from "./Send.mjs";
|
|
@@ -28,6 +28,7 @@ export * from "./MessageSecurityReviewEvent.mjs";
|
|
|
28
28
|
export * from "./MessageSentEvent.mjs";
|
|
29
29
|
export * from "./Open.mjs";
|
|
30
30
|
export * from "./PodIds.mjs";
|
|
31
|
+
export * from "./ReceivedMessage.mjs";
|
|
31
32
|
export * from "./Recipient.mjs";
|
|
32
33
|
export * from "./Reject.mjs";
|
|
33
34
|
export * from "./Send.mjs";
|
|
@@ -5,6 +5,7 @@ import { ClientId } from "./ClientId.mjs";
|
|
|
5
5
|
import { DisplayName } from "./DisplayName.mjs";
|
|
6
6
|
import { InboxStatus } from "./InboxStatus.mjs";
|
|
7
7
|
import { Metadata } from "./Metadata.mjs";
|
|
8
|
+
import { PauseAt } from "./PauseAt.mjs";
|
|
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 {
|
|
@@ -13,6 +14,7 @@ export declare namespace CreateInboxRequest {
|
|
|
13
14
|
display_name?: DisplayName.Raw | null;
|
|
14
15
|
client_id?: ClientId.Raw | null;
|
|
15
16
|
status?: InboxStatus.Raw | null;
|
|
17
|
+
pause_at?: PauseAt.Raw | null;
|
|
16
18
|
metadata?: Metadata.Raw | null;
|
|
17
19
|
}
|
|
18
20
|
}
|
|
@@ -4,11 +4,13 @@ import { ClientId } from "./ClientId.mjs";
|
|
|
4
4
|
import { DisplayName } from "./DisplayName.mjs";
|
|
5
5
|
import { InboxStatus } from "./InboxStatus.mjs";
|
|
6
6
|
import { Metadata } from "./Metadata.mjs";
|
|
7
|
+
import { PauseAt } from "./PauseAt.mjs";
|
|
7
8
|
export const CreateInboxRequest = core.serialization.object({
|
|
8
9
|
username: core.serialization.string().optional(),
|
|
9
10
|
domain: core.serialization.string().optional(),
|
|
10
11
|
displayName: core.serialization.property("display_name", DisplayName.optional()),
|
|
11
12
|
clientId: core.serialization.property("client_id", ClientId.optional()),
|
|
12
13
|
status: InboxStatus.optional(),
|
|
14
|
+
pauseAt: core.serialization.property("pause_at", PauseAt.optional()),
|
|
13
15
|
metadata: Metadata.optional(),
|
|
14
16
|
});
|
|
@@ -8,6 +8,7 @@ import { Email } from "./Email.mjs";
|
|
|
8
8
|
import { InboxId } from "./InboxId.mjs";
|
|
9
9
|
import { InboxStatus } from "./InboxStatus.mjs";
|
|
10
10
|
import { Metadata } from "./Metadata.mjs";
|
|
11
|
+
import { PauseAt } from "./PauseAt.mjs";
|
|
11
12
|
export declare const Inbox: core.serialization.ObjectSchema<serializers.inboxes.Inbox.Raw, AgentMail.inboxes.Inbox>;
|
|
12
13
|
export declare namespace Inbox {
|
|
13
14
|
interface Raw {
|
|
@@ -17,6 +18,7 @@ export declare namespace Inbox {
|
|
|
17
18
|
display_name?: DisplayName.Raw | null;
|
|
18
19
|
client_id?: ClientId.Raw | null;
|
|
19
20
|
status?: InboxStatus.Raw | null;
|
|
21
|
+
pause_at?: PauseAt.Raw | null;
|
|
20
22
|
metadata?: Metadata.Raw | null;
|
|
21
23
|
updated_at: string;
|
|
22
24
|
created_at: string;
|
|
@@ -7,6 +7,7 @@ import { Email } from "./Email.mjs";
|
|
|
7
7
|
import { InboxId } from "./InboxId.mjs";
|
|
8
8
|
import { InboxStatus } from "./InboxStatus.mjs";
|
|
9
9
|
import { Metadata } from "./Metadata.mjs";
|
|
10
|
+
import { PauseAt } from "./PauseAt.mjs";
|
|
10
11
|
export const Inbox = core.serialization.object({
|
|
11
12
|
podId: core.serialization.property("pod_id", PodId),
|
|
12
13
|
inboxId: core.serialization.property("inbox_id", InboxId),
|
|
@@ -14,6 +15,7 @@ export const Inbox = core.serialization.object({
|
|
|
14
15
|
displayName: core.serialization.property("display_name", DisplayName.optional()),
|
|
15
16
|
clientId: core.serialization.property("client_id", ClientId.optional()),
|
|
16
17
|
status: InboxStatus.optional(),
|
|
18
|
+
pauseAt: core.serialization.property("pause_at", PauseAt.optional()),
|
|
17
19
|
metadata: Metadata.optional(),
|
|
18
20
|
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
|
19
21
|
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as AgentMail from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
export declare const PauseAt: core.serialization.Schema<serializers.inboxes.PauseAt.Raw, AgentMail.inboxes.PauseAt>;
|
|
5
|
+
export declare namespace PauseAt {
|
|
6
|
+
type Raw = string;
|
|
7
|
+
}
|
|
@@ -3,12 +3,14 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
import { DisplayName } from "./DisplayName.mjs";
|
|
5
5
|
import { InboxStatus } from "./InboxStatus.mjs";
|
|
6
|
+
import { PauseAt } from "./PauseAt.mjs";
|
|
6
7
|
import { UpdateMetadata } from "./UpdateMetadata.mjs";
|
|
7
8
|
export declare const UpdateInboxRequest: core.serialization.ObjectSchema<serializers.inboxes.UpdateInboxRequest.Raw, AgentMail.inboxes.UpdateInboxRequest>;
|
|
8
9
|
export declare namespace UpdateInboxRequest {
|
|
9
10
|
interface Raw {
|
|
10
11
|
display_name?: DisplayName.Raw | null;
|
|
11
12
|
status?: InboxStatus.Raw | null;
|
|
13
|
+
pause_at?: (PauseAt.Raw | null | undefined) | null;
|
|
12
14
|
metadata?: (UpdateMetadata.Raw | null | undefined) | null;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import { DisplayName } from "./DisplayName.mjs";
|
|
4
4
|
import { InboxStatus } from "./InboxStatus.mjs";
|
|
5
|
+
import { PauseAt } from "./PauseAt.mjs";
|
|
5
6
|
import { UpdateMetadata } from "./UpdateMetadata.mjs";
|
|
6
7
|
export const UpdateInboxRequest = core.serialization.object({
|
|
7
8
|
displayName: core.serialization.property("display_name", DisplayName.optional()),
|
|
8
9
|
status: InboxStatus.optional(),
|
|
10
|
+
pauseAt: core.serialization.property("pause_at", PauseAt.optionalNullable()),
|
|
9
11
|
metadata: UpdateMetadata.optionalNullable(),
|
|
10
12
|
});
|
|
@@ -10,6 +10,7 @@ export * from "./InboxStatus.mjs";
|
|
|
10
10
|
export * from "./ListInboxesResponse.mjs";
|
|
11
11
|
export * from "./Metadata.mjs";
|
|
12
12
|
export * from "./MetadataValue.mjs";
|
|
13
|
+
export * from "./PauseAt.mjs";
|
|
13
14
|
export * from "./SearchInboxesResponse.mjs";
|
|
14
15
|
export * from "./UpdateInboxRequest.mjs";
|
|
15
16
|
export * from "./UpdateMetadata.mjs";
|
|
@@ -10,6 +10,7 @@ export * from "./InboxStatus.mjs";
|
|
|
10
10
|
export * from "./ListInboxesResponse.mjs";
|
|
11
11
|
export * from "./Metadata.mjs";
|
|
12
12
|
export * from "./MetadataValue.mjs";
|
|
13
|
+
export * from "./PauseAt.mjs";
|
|
13
14
|
export * from "./SearchInboxesResponse.mjs";
|
|
14
15
|
export * from "./UpdateInboxRequest.mjs";
|
|
15
16
|
export * from "./UpdateMetadata.mjs";
|
|
@@ -5,6 +5,7 @@ import { AgentArmorResult } from "../../agentArmor/types/AgentArmorResult.mjs";
|
|
|
5
5
|
import { InboxId } from "../../inboxes/types/InboxId.mjs";
|
|
6
6
|
import { ThreadId } from "../../threads/types/ThreadId.mjs";
|
|
7
7
|
import { MessageAttachments } from "./MessageAttachments.mjs";
|
|
8
|
+
import { MessageAuthenticationResults } from "./MessageAuthenticationResults.mjs";
|
|
8
9
|
import { MessageBcc } from "./MessageBcc.mjs";
|
|
9
10
|
import { MessageCalendarEventId } from "./MessageCalendarEventId.mjs";
|
|
10
11
|
import { MessageCc } from "./MessageCc.mjs";
|
|
@@ -47,6 +48,7 @@ export declare namespace Message {
|
|
|
47
48
|
calendar_event_id?: MessageCalendarEventId.Raw | null;
|
|
48
49
|
references?: MessageReferences.Raw | null;
|
|
49
50
|
headers?: MessageHeaders.Raw | null;
|
|
51
|
+
authentication_results?: MessageAuthenticationResults.Raw | null;
|
|
50
52
|
agent_armor?: AgentArmorResult.Raw | null;
|
|
51
53
|
size: MessageSize.Raw;
|
|
52
54
|
updated_at: MessageUpdatedAt.Raw;
|
|
@@ -4,6 +4,7 @@ import { AgentArmorResult } from "../../agentArmor/types/AgentArmorResult.mjs";
|
|
|
4
4
|
import { InboxId } from "../../inboxes/types/InboxId.mjs";
|
|
5
5
|
import { ThreadId } from "../../threads/types/ThreadId.mjs";
|
|
6
6
|
import { MessageAttachments } from "./MessageAttachments.mjs";
|
|
7
|
+
import { MessageAuthenticationResults } from "./MessageAuthenticationResults.mjs";
|
|
7
8
|
import { MessageBcc } from "./MessageBcc.mjs";
|
|
8
9
|
import { MessageCalendarEventId } from "./MessageCalendarEventId.mjs";
|
|
9
10
|
import { MessageCc } from "./MessageCc.mjs";
|
|
@@ -44,6 +45,7 @@ export const Message = core.serialization.object({
|
|
|
44
45
|
calendarEventId: core.serialization.property("calendar_event_id", MessageCalendarEventId.optional()),
|
|
45
46
|
references: MessageReferences.optional(),
|
|
46
47
|
headers: MessageHeaders.optional(),
|
|
48
|
+
authenticationResults: core.serialization.property("authentication_results", MessageAuthenticationResults.optional()),
|
|
47
49
|
agentArmor: core.serialization.property("agent_armor", AgentArmorResult.optional()),
|
|
48
50
|
size: MessageSize,
|
|
49
51
|
updatedAt: core.serialization.property("updated_at", MessageUpdatedAt),
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as AgentMail from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
export declare const MessageAuthenticationDomain: core.serialization.Schema<serializers.MessageAuthenticationDomain.Raw, AgentMail.MessageAuthenticationDomain>;
|
|
5
|
+
export declare namespace MessageAuthenticationDomain {
|
|
6
|
+
type Raw = string;
|
|
7
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type * as AgentMail from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
import { MessageAuthenticationDomain } from "./MessageAuthenticationDomain.mjs";
|
|
5
|
+
import { MessageAuthenticationVerdict } from "./MessageAuthenticationVerdict.mjs";
|
|
6
|
+
export declare const MessageAuthenticationResults: core.serialization.ObjectSchema<serializers.MessageAuthenticationResults.Raw, AgentMail.MessageAuthenticationResults>;
|
|
7
|
+
export declare namespace MessageAuthenticationResults {
|
|
8
|
+
interface Raw {
|
|
9
|
+
spf?: MessageAuthenticationVerdict.Raw | null;
|
|
10
|
+
dkim?: MessageAuthenticationVerdict.Raw | null;
|
|
11
|
+
dmarc?: MessageAuthenticationVerdict.Raw | null;
|
|
12
|
+
spf_domain?: MessageAuthenticationDomain.Raw | null;
|
|
13
|
+
dkim_domain?: MessageAuthenticationDomain.Raw | null;
|
|
14
|
+
dmarc_domain?: MessageAuthenticationDomain.Raw | null;
|
|
15
|
+
arc_sealer?: MessageAuthenticationDomain.Raw | null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { MessageAuthenticationDomain } from "./MessageAuthenticationDomain.mjs";
|
|
4
|
+
import { MessageAuthenticationVerdict } from "./MessageAuthenticationVerdict.mjs";
|
|
5
|
+
export const MessageAuthenticationResults = core.serialization.object({
|
|
6
|
+
spf: MessageAuthenticationVerdict.optional(),
|
|
7
|
+
dkim: MessageAuthenticationVerdict.optional(),
|
|
8
|
+
dmarc: MessageAuthenticationVerdict.optional(),
|
|
9
|
+
spfDomain: core.serialization.property("spf_domain", MessageAuthenticationDomain.optional()),
|
|
10
|
+
dkimDomain: core.serialization.property("dkim_domain", MessageAuthenticationDomain.optional()),
|
|
11
|
+
dmarcDomain: core.serialization.property("dmarc_domain", MessageAuthenticationDomain.optional()),
|
|
12
|
+
arcSealer: core.serialization.property("arc_sealer", MessageAuthenticationDomain.optional()),
|
|
13
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as AgentMail from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
export declare const MessageAuthenticationVerdict: core.serialization.Schema<serializers.MessageAuthenticationVerdict.Raw, AgentMail.MessageAuthenticationVerdict>;
|
|
5
|
+
export declare namespace MessageAuthenticationVerdict {
|
|
6
|
+
type Raw = "pass" | "fail" | "none" | "neutral" | "softfail" | "temperror" | "permerror";
|
|
7
|
+
}
|
|
@@ -5,6 +5,7 @@ import { AgentArmorResult } from "../../agentArmor/types/AgentArmorResult.mjs";
|
|
|
5
5
|
import { InboxId } from "../../inboxes/types/InboxId.mjs";
|
|
6
6
|
import { ThreadId } from "../../threads/types/ThreadId.mjs";
|
|
7
7
|
import { MessageAttachments } from "./MessageAttachments.mjs";
|
|
8
|
+
import { MessageAuthenticationResults } from "./MessageAuthenticationResults.mjs";
|
|
8
9
|
import { MessageBcc } from "./MessageBcc.mjs";
|
|
9
10
|
import { MessageCalendarEventId } from "./MessageCalendarEventId.mjs";
|
|
10
11
|
import { MessageCc } from "./MessageCc.mjs";
|
|
@@ -40,6 +41,7 @@ export declare namespace MessageItem {
|
|
|
40
41
|
calendar_event_id?: MessageCalendarEventId.Raw | null;
|
|
41
42
|
references?: MessageReferences.Raw | null;
|
|
42
43
|
headers?: MessageHeaders.Raw | null;
|
|
44
|
+
authentication_results?: MessageAuthenticationResults.Raw | null;
|
|
43
45
|
agent_armor?: AgentArmorResult.Raw | null;
|
|
44
46
|
size: MessageSize.Raw;
|
|
45
47
|
updated_at: MessageUpdatedAt.Raw;
|
|
@@ -4,6 +4,7 @@ import { AgentArmorResult } from "../../agentArmor/types/AgentArmorResult.mjs";
|
|
|
4
4
|
import { InboxId } from "../../inboxes/types/InboxId.mjs";
|
|
5
5
|
import { ThreadId } from "../../threads/types/ThreadId.mjs";
|
|
6
6
|
import { MessageAttachments } from "./MessageAttachments.mjs";
|
|
7
|
+
import { MessageAuthenticationResults } from "./MessageAuthenticationResults.mjs";
|
|
7
8
|
import { MessageBcc } from "./MessageBcc.mjs";
|
|
8
9
|
import { MessageCalendarEventId } from "./MessageCalendarEventId.mjs";
|
|
9
10
|
import { MessageCc } from "./MessageCc.mjs";
|
|
@@ -37,6 +38,7 @@ export const MessageItem = core.serialization.object({
|
|
|
37
38
|
calendarEventId: core.serialization.property("calendar_event_id", MessageCalendarEventId.optional()),
|
|
38
39
|
references: MessageReferences.optional(),
|
|
39
40
|
headers: MessageHeaders.optional(),
|
|
41
|
+
authenticationResults: core.serialization.property("authentication_results", MessageAuthenticationResults.optional()),
|
|
40
42
|
agentArmor: core.serialization.property("agent_armor", AgentArmorResult.optional()),
|
|
41
43
|
size: MessageSize,
|
|
42
44
|
updatedAt: core.serialization.property("updated_at", MessageUpdatedAt),
|
|
@@ -8,6 +8,9 @@ export * from "./BatchUpdateMessagesResponse.mjs";
|
|
|
8
8
|
export * from "./ListMessagesResponse.mjs";
|
|
9
9
|
export * from "./Message.mjs";
|
|
10
10
|
export * from "./MessageAttachments.mjs";
|
|
11
|
+
export * from "./MessageAuthenticationDomain.mjs";
|
|
12
|
+
export * from "./MessageAuthenticationResults.mjs";
|
|
13
|
+
export * from "./MessageAuthenticationVerdict.mjs";
|
|
11
14
|
export * from "./MessageBcc.mjs";
|
|
12
15
|
export * from "./MessageCalendarEventId.mjs";
|
|
13
16
|
export * from "./MessageCc.mjs";
|
|
@@ -8,6 +8,9 @@ export * from "./BatchUpdateMessagesResponse.mjs";
|
|
|
8
8
|
export * from "./ListMessagesResponse.mjs";
|
|
9
9
|
export * from "./Message.mjs";
|
|
10
10
|
export * from "./MessageAttachments.mjs";
|
|
11
|
+
export * from "./MessageAuthenticationDomain.mjs";
|
|
12
|
+
export * from "./MessageAuthenticationResults.mjs";
|
|
13
|
+
export * from "./MessageAuthenticationVerdict.mjs";
|
|
11
14
|
export * from "./MessageBcc.mjs";
|
|
12
15
|
export * from "./MessageCalendarEventId.mjs";
|
|
13
16
|
export * from "./MessageCc.mjs";
|
|
@@ -15,6 +15,8 @@ export declare namespace Organization {
|
|
|
15
15
|
billing_subscription_id?: string | null;
|
|
16
16
|
authentication_id?: string | null;
|
|
17
17
|
authentication_type?: string | null;
|
|
18
|
+
suspended_at?: string | null;
|
|
19
|
+
suspended_reason?: string | null;
|
|
18
20
|
updated_at: string;
|
|
19
21
|
created_at: string;
|
|
20
22
|
}
|
|
@@ -12,6 +12,8 @@ export const Organization = core.serialization.object({
|
|
|
12
12
|
billingSubscriptionId: core.serialization.property("billing_subscription_id", core.serialization.string().optional()),
|
|
13
13
|
authenticationId: core.serialization.property("authentication_id", core.serialization.string().optional()),
|
|
14
14
|
authenticationType: core.serialization.property("authentication_type", core.serialization.string().optional()),
|
|
15
|
+
suspendedAt: core.serialization.property("suspended_at", core.serialization.date().optional()),
|
|
16
|
+
suspendedReason: core.serialization.property("suspended_reason", core.serialization.string().optional()),
|
|
15
17
|
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
|
16
18
|
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
17
19
|
});
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.5.
|
|
1
|
+
export declare const SDK_VERSION = "0.5.48";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.5.
|
|
1
|
+
export const SDK_VERSION = "0.5.48";
|