samva 0.43.0 → 0.43.2
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/README.md +38 -9
- package/dist/client/sdk.gen.d.ts +4 -4
- package/dist/client/sdk.gen.js +4 -4
- package/dist/client/types.gen.d.ts +23 -4
- package/dist/effect/generated/campaigns.js +1 -1
- package/dist/effect/generated/mailboxes.d.ts +279 -148
- package/dist/effect/generated/mailboxes.js +15 -2
- package/dist/effect/generated/messages.js +1 -1
- package/dist/effect/generated/scheduled-messages.js +1 -1
- package/dist/effect/generated/shared.d.ts +10 -10
- package/dist/effect/generated/shared.js +2 -0
- package/dist/effect/mailboxes.d.ts +40 -16
- package/dist/mailbox/types.d.ts +1 -1
- package/dist/package.js +1 -1
- package/dist/promises/errors.gen.js +4 -0
- package/dist/promises/types.gen.d.ts +1 -1
- package/package.json +2 -2
|
@@ -43,6 +43,14 @@ const MailboxActionResolution = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
43
43
|
description: "How the action's approval ended.",
|
|
44
44
|
identifier: "MailboxActionResolution"
|
|
45
45
|
}))();
|
|
46
|
+
const MailboxAlwaysAllow = /* @__PURE__ */ (() => Schema.Struct({
|
|
47
|
+
by: Schema.Union([
|
|
48
|
+
Schema.Literal("owner"),
|
|
49
|
+
Schema.Literal("admin"),
|
|
50
|
+
Schema.Literal("approver")
|
|
51
|
+
]).annotate({ description: "Who may approve with Always allow. `owner`: only the organization owner, because it lets an integration tool run without approval for every agent. `admin`: an organization owner or admin, because it adds a rule for one hosted agent or API key. `approver`: anyone who may approve the action." }),
|
|
52
|
+
allowed: Schema.Boolean.annotate({ description: "Whether the caller is someone `by` names." })
|
|
53
|
+
}).annotate({ identifier: "MailboxAlwaysAllow" }))();
|
|
46
54
|
const TemplateChannelVariantId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^tvar_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
47
55
|
expected: "a string matching the RegExp ^tvar_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
48
56
|
identifier: "TemplateChannelVariantId"
|
|
@@ -755,6 +763,7 @@ const PolicyDecision = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
755
763
|
scopes: Schema.Array(Schema.Struct({
|
|
756
764
|
kind: Schema.Union([
|
|
757
765
|
Schema.Literal("organization"),
|
|
766
|
+
Schema.Literal("integration"),
|
|
758
767
|
Schema.Literal("mailbox"),
|
|
759
768
|
Schema.Literal("agent"),
|
|
760
769
|
Schema.Literal("apiKey")
|
|
@@ -765,6 +774,7 @@ const PolicyDecision = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
765
774
|
scope: Schema.Struct({
|
|
766
775
|
kind: Schema.Union([
|
|
767
776
|
Schema.Literal("organization"),
|
|
777
|
+
Schema.Literal("integration"),
|
|
768
778
|
Schema.Literal("mailbox"),
|
|
769
779
|
Schema.Literal("agent"),
|
|
770
780
|
Schema.Literal("apiKey")
|
|
@@ -847,6 +857,7 @@ const MailboxNonSendAction = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
847
857
|
draftId: Schema.Union([MailboxDraftId, Schema.Null]),
|
|
848
858
|
decision: Schema.Union([MailboxActionDecision, Schema.Null]),
|
|
849
859
|
resolution: Schema.Union([MailboxActionResolution, Schema.Null]).annotate({ description: "How a held action's approval ended: who approved, denied, or cancelled it, when, and the denial reason. Null while it waits for approval and for an action that never needed one." }),
|
|
860
|
+
alwaysAllow: Schema.Union([MailboxAlwaysAllow, Schema.Null]).annotate({ description: "Who may approve this held action with Always allow, and whether the caller may. Null for an action that is not held, a hand-off, and a reply held for integration data." }),
|
|
850
861
|
createdAt: Schema.String,
|
|
851
862
|
updatedAt: Schema.String,
|
|
852
863
|
type: Schema.Union([
|
|
@@ -1011,6 +1022,7 @@ const MailboxSendAction = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1011
1022
|
draftId: Schema.Union([MailboxDraftId, Schema.Null]),
|
|
1012
1023
|
decision: Schema.Union([MailboxActionDecision, Schema.Null]),
|
|
1013
1024
|
resolution: Schema.Union([MailboxActionResolution, Schema.Null]).annotate({ description: "How a held action's approval ended: who approved, denied, or cancelled it, when, and the denial reason. Null while it waits for approval and for an action that never needed one." }),
|
|
1025
|
+
alwaysAllow: Schema.Union([MailboxAlwaysAllow, Schema.Null]).annotate({ description: "Who may approve this held action with Always allow, and whether the caller may. Null for an action that is not held, a hand-off, and a reply held for integration data." }),
|
|
1014
1026
|
createdAt: Schema.String,
|
|
1015
1027
|
updatedAt: Schema.String,
|
|
1016
1028
|
type: Schema.Union([Schema.Literal("sendMessage"), Schema.Literal("reply")]),
|
|
@@ -1067,6 +1079,7 @@ const MailboxNeedsYouItem = /* @__PURE__ */ (() => Schema.Union([Schema.Struct({
|
|
|
1067
1079
|
Schema.Literal("samvaManagedAgent"),
|
|
1068
1080
|
Schema.Literal("system")
|
|
1069
1081
|
]),
|
|
1082
|
+
alwaysAllow: Schema.Union([MailboxAlwaysAllow, Schema.Null]),
|
|
1070
1083
|
createdAt: Schema.String
|
|
1071
1084
|
}), Schema.Struct({
|
|
1072
1085
|
type: Schema.Literal("quarantinedMessage"),
|
|
@@ -2147,7 +2160,7 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2147
2160
|
MailboxesApproveAction503.pipe(HttpApiSchema.status(503)),
|
|
2148
2161
|
MailboxesApproveAction504.pipe(HttpApiSchema.status(504))
|
|
2149
2162
|
]
|
|
2150
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.approveAction").annotate(OpenApi.Summary, "Approve a mailbox action").annotate(OpenApi.Description, "Records approval of a send and returns 202 while it is pending. A send is queued for automatic retry within 15 minutes of approval; repeating approval does not extend this deadline. Accepted, completed, and notSent replays return 200. No expiry applies before approval. Only a person signed in or through OAuth may approve, and never the proposer. Non-send approvals execute synchronously and return 200 with their own execution states. Set `always: true` to add an actor-specific rule allowing matching future actions, subject to policy floors and guards. Remembering an allowance for a hosted agent or API key requires an organization owner or admin. A hand-off cannot be always allowed. The action's `resolution` names the approver; approving a held send publishes one `mailbox.action.resolved` event."), HttpApiEndpoint.post("mailboxesCancelAction", "/v1/mailboxes/:id/actions/:actionId/cancel", {
|
|
2163
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.approveAction").annotate(OpenApi.Summary, "Approve a mailbox action").annotate(OpenApi.Description, "Records approval of a send and returns 202 while it is pending. A send is queued for automatic retry within 15 minutes of approval; repeating approval does not extend this deadline. Accepted, completed, and notSent replays return 200. No expiry applies before approval. Only a person signed in or through OAuth may approve, and never the proposer. Non-send approvals execute synchronously and return 200 with their own execution states. Set `always: true` to add an actor-specific rule allowing matching future actions, subject to policy floors and guards. Remembering an allowance for a hosted agent or API key requires an organization owner or admin; for a hosted agent's integration tool call it lets that tool run without approval for every agent, which only the organization owner may do. A held action's `alwaysAllow` says who may and whether the caller can. A hand-off cannot be always allowed. The action's `resolution` names the approver; approving a held send publishes one `mailbox.action.resolved` event."), HttpApiEndpoint.post("mailboxesCancelAction", "/v1/mailboxes/:id/actions/:actionId/cancel", {
|
|
2151
2164
|
params: MailboxesCancelActionPathParams,
|
|
2152
2165
|
success: [MailboxesCancelAction200, MailboxesCancelAction202.pipe(HttpApiSchema.status(202))],
|
|
2153
2166
|
error: [
|
|
@@ -2825,6 +2838,6 @@ var MailboxesGroup = class extends HttpApiGroup.make("Mailboxes").add(HttpApiEnd
|
|
|
2825
2838
|
MailboxesListOrganizationThreads504.pipe(HttpApiSchema.status(504))
|
|
2826
2839
|
]
|
|
2827
2840
|
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "mailboxes.listOrganizationThreads").annotate(OpenApi.Summary, "List threads across your mailboxes").annotate(OpenApi.Description, "Lists only threads in mailboxes the caller can read. With `q`, semantic and keyword search returns the best-matching threads in relevance order, capped across cursor pages. Without `q`, threads use newest activity first. Repeat mailboxId to narrow the scope; kind selects personal or shared mailboxes. conversation selects the threads of one conversation (the conversationId a thread reports), one per readable mailbox it reached. state=active excludes the caller's Done and shared closed threads; state=done selects the caller's Done plus closed shared threads, without duplicates. Other filters and cursor pagination match the per-mailbox list.")).annotate(OpenApi.Description, "Mailboxes: endpoints, threads, messages, drafts, and governed sends") {};
|
|
2828
|
-
export { Mailbox, MailboxAction, MailboxActionPage, MailboxActionResolution, MailboxAgentActivity, MailboxChatDraft, MailboxChatMedia, MailboxChatMessage, MailboxChatMessageTemplate, MailboxChatSendIntent, MailboxChatTemplate, MailboxCopiedAttachment, MailboxDownloadUrl, MailboxDraft, MailboxDraftPage, MailboxDraftState, MailboxDraftSummary, MailboxEmailDraft, MailboxEmailEndpoint, MailboxEmailMessage, MailboxEmailSendSnapshot, MailboxEndpoint, MailboxEvent, MailboxEventId, MailboxEventPage, MailboxFolderCount, MailboxFolderCountList, MailboxGrant, MailboxGrantId, MailboxGrantPage, MailboxHandoff, MailboxKind, MailboxLabel, MailboxLabelList, MailboxMessage, MailboxMessageAuthentication, MailboxMessagePage, MailboxMessageRecipient, MailboxMessageSender, MailboxMessageSummary, MailboxNeedsYou, MailboxNeedsYouItem, MailboxNonSendAction, MailboxNote, MailboxNoteId, MailboxNotePage, MailboxPage, MailboxPendingAction, MailboxPendingSendReceipt, MailboxQuarantinePage, MailboxQuarantinedMessage, MailboxSendAction, MailboxSendSnapshot, MailboxSmsEndpoint, MailboxSmsEndpointBinding, MailboxStatus, MailboxSummary, MailboxThread, MailboxThreadContentPage, MailboxThreadMailbox, MailboxThreadPage, MailboxThreadParticipant, MailboxThreadSender, MailboxThreadState, MailboxThreadSummary, MailboxToolCall, MailboxWhatsAppEndpoint, MailboxWhatsAppEndpointBinding, MailboxWhatsAppServiceWindow, MailboxesAddThreadLabels200, MailboxesAddThreadLabels400, MailboxesAddThreadLabels401, MailboxesAddThreadLabels403, MailboxesAddThreadLabels404, MailboxesAddThreadLabels422, MailboxesAddThreadLabels500, MailboxesAddThreadLabels504, MailboxesAddThreadLabelsPathParams, MailboxesAddThreadLabelsRequestJson, MailboxesApproveAction200, MailboxesApproveAction202, MailboxesApproveAction400, MailboxesApproveAction401, MailboxesApproveAction402, MailboxesApproveAction403, MailboxesApproveAction404, MailboxesApproveAction409, MailboxesApproveAction422, MailboxesApproveAction429, MailboxesApproveAction500, MailboxesApproveAction502, MailboxesApproveAction503, MailboxesApproveAction504, MailboxesApproveActionPathParams, MailboxesApproveActionRequestJson, MailboxesCancelAction200, MailboxesCancelAction202, MailboxesCancelAction400, MailboxesCancelAction401, MailboxesCancelAction402, MailboxesCancelAction403, MailboxesCancelAction404, MailboxesCancelAction409, MailboxesCancelAction422, MailboxesCancelAction429, MailboxesCancelAction500, MailboxesCancelAction502, MailboxesCancelAction503, MailboxesCancelAction504, MailboxesCancelActionPathParams, MailboxesCopyMessageAttachment201, MailboxesCopyMessageAttachment400, MailboxesCopyMessageAttachment401, MailboxesCopyMessageAttachment403, MailboxesCopyMessageAttachment404, MailboxesCopyMessageAttachment409, MailboxesCopyMessageAttachment422, MailboxesCopyMessageAttachment500, MailboxesCopyMessageAttachment504, MailboxesCopyMessageAttachmentPathParams, MailboxesCreate201, MailboxesCreate400, MailboxesCreate401, MailboxesCreate402, MailboxesCreate403, MailboxesCreate404, MailboxesCreate409, MailboxesCreate422, MailboxesCreate500, MailboxesCreate502, MailboxesCreate504, MailboxesCreateDraft201, MailboxesCreateDraft400, MailboxesCreateDraft401, MailboxesCreateDraft403, MailboxesCreateDraft404, MailboxesCreateDraft422, MailboxesCreateDraft500, MailboxesCreateDraft504, MailboxesCreateDraftPathParams, MailboxesCreateDraftRequestJson, MailboxesCreateEndpoint201, MailboxesCreateEndpoint400, MailboxesCreateEndpoint401, MailboxesCreateEndpoint403, MailboxesCreateEndpoint404, MailboxesCreateEndpoint409, MailboxesCreateEndpoint422, MailboxesCreateEndpoint500, MailboxesCreateEndpoint504, MailboxesCreateEndpointPathParams, MailboxesCreateEndpointRequestJson, MailboxesCreateGrant201, MailboxesCreateGrant400, MailboxesCreateGrant401, MailboxesCreateGrant403, MailboxesCreateGrant404, MailboxesCreateGrant409, MailboxesCreateGrant422, MailboxesCreateGrant500, MailboxesCreateGrant504, MailboxesCreateGrantPathParams, MailboxesCreateGrantRequestJson, MailboxesCreateHeaders, MailboxesCreateLabel201, MailboxesCreateLabel400, MailboxesCreateLabel401, MailboxesCreateLabel403, MailboxesCreateLabel404, MailboxesCreateLabel409, MailboxesCreateLabel422, MailboxesCreateLabel500, MailboxesCreateLabel504, MailboxesCreateLabelPathParams, MailboxesCreateLabelRequestJson, MailboxesCreateNote201, MailboxesCreateNote400, MailboxesCreateNote401, MailboxesCreateNote403, MailboxesCreateNote404, MailboxesCreateNote422, MailboxesCreateNote500, MailboxesCreateNote504, MailboxesCreateNotePathParams, MailboxesCreateNoteRequestJson, MailboxesCreateRequestJson, MailboxesDeleteDraft200, MailboxesDeleteDraft400, MailboxesDeleteDraft401, MailboxesDeleteDraft403, MailboxesDeleteDraft404, MailboxesDeleteDraft422, MailboxesDeleteDraft500, MailboxesDeleteDraft504, MailboxesDeleteDraftPathParams, MailboxesDeleteLabel200, MailboxesDeleteLabel400, MailboxesDeleteLabel401, MailboxesDeleteLabel403, MailboxesDeleteLabel404, MailboxesDeleteLabel422, MailboxesDeleteLabel500, MailboxesDeleteLabel504, MailboxesDeleteLabelPathParams, MailboxesDeleteNote200, MailboxesDeleteNote400, MailboxesDeleteNote401, MailboxesDeleteNote403, MailboxesDeleteNote404, MailboxesDeleteNote422, MailboxesDeleteNote500, MailboxesDeleteNote504, MailboxesDeleteNotePathParams, MailboxesDenyAction200, MailboxesDenyAction400, MailboxesDenyAction401, MailboxesDenyAction403, MailboxesDenyAction404, MailboxesDenyAction409, MailboxesDenyAction422, MailboxesDenyAction500, MailboxesDenyAction504, MailboxesDenyActionPathParams, MailboxesDenyActionRequestJson, MailboxesDiscardMessage200, MailboxesDiscardMessage400, MailboxesDiscardMessage401, MailboxesDiscardMessage403, MailboxesDiscardMessage404, MailboxesDiscardMessage409, MailboxesDiscardMessage422, MailboxesDiscardMessage500, MailboxesDiscardMessage502, MailboxesDiscardMessage504, MailboxesDiscardMessagePathParams, MailboxesForward200, MailboxesForward202, MailboxesForward400, MailboxesForward401, MailboxesForward402, MailboxesForward403, MailboxesForward404, MailboxesForward409, MailboxesForward422, MailboxesForward429, MailboxesForward500, MailboxesForward502, MailboxesForward503, MailboxesForward504, MailboxesForwardHeaders, MailboxesForwardPathParams, MailboxesForwardRequestJson, MailboxesGet200, MailboxesGet400, MailboxesGet401, MailboxesGet403, MailboxesGet404, MailboxesGet422, MailboxesGet500, MailboxesGet504, MailboxesGetAction200, MailboxesGetAction400, MailboxesGetAction401, MailboxesGetAction403, MailboxesGetAction404, MailboxesGetAction422, MailboxesGetAction500, MailboxesGetAction504, MailboxesGetActionPathParams, MailboxesGetAgentActivity200, MailboxesGetAgentActivity400, MailboxesGetAgentActivity401, MailboxesGetAgentActivity403, MailboxesGetAgentActivity404, MailboxesGetAgentActivity422, MailboxesGetAgentActivity500, MailboxesGetAgentActivity504, MailboxesGetAgentActivityPathParams, MailboxesGetAgentActivityQuery, MailboxesGetDraft200, MailboxesGetDraft400, MailboxesGetDraft401, MailboxesGetDraft403, MailboxesGetDraft404, MailboxesGetDraft422, MailboxesGetDraft500, MailboxesGetDraft504, MailboxesGetDraftPathParams, MailboxesGetMessage200, MailboxesGetMessage400, MailboxesGetMessage401, MailboxesGetMessage403, MailboxesGetMessage404, MailboxesGetMessage422, MailboxesGetMessage500, MailboxesGetMessage504, MailboxesGetMessageAttachment200, MailboxesGetMessageAttachment400, MailboxesGetMessageAttachment401, MailboxesGetMessageAttachment403, MailboxesGetMessageAttachment404, MailboxesGetMessageAttachment422, MailboxesGetMessageAttachment500, MailboxesGetMessageAttachment504, MailboxesGetMessageAttachmentPathParams, MailboxesGetMessagePathParams, MailboxesGetMessageRaw200, MailboxesGetMessageRaw400, MailboxesGetMessageRaw401, MailboxesGetMessageRaw403, MailboxesGetMessageRaw404, MailboxesGetMessageRaw422, MailboxesGetMessageRaw500, MailboxesGetMessageRaw504, MailboxesGetMessageRawPathParams, MailboxesGetNeedsYou200, MailboxesGetNeedsYou400, MailboxesGetNeedsYou401, MailboxesGetNeedsYou403, MailboxesGetNeedsYou422, MailboxesGetNeedsYou500, MailboxesGetNeedsYou504, MailboxesGetNeedsYouQuery, MailboxesGetPathParams, MailboxesGetThread200, MailboxesGetThread400, MailboxesGetThread401, MailboxesGetThread403, MailboxesGetThread404, MailboxesGetThread422, MailboxesGetThread500, MailboxesGetThread504, MailboxesGetThreadContent200, MailboxesGetThreadContent400, MailboxesGetThreadContent401, MailboxesGetThreadContent403, MailboxesGetThreadContent404, MailboxesGetThreadContent422, MailboxesGetThreadContent500, MailboxesGetThreadContent504, MailboxesGetThreadContentPathParams, MailboxesGetThreadContentQuery, MailboxesGetThreadPathParams, MailboxesGroup, MailboxesList200, MailboxesList400, MailboxesList401, MailboxesList403, MailboxesList422, MailboxesList500, MailboxesList504, MailboxesListActions200, MailboxesListActions400, MailboxesListActions401, MailboxesListActions403, MailboxesListActions404, MailboxesListActions422, MailboxesListActions500, MailboxesListActions504, MailboxesListActionsPathParams, MailboxesListActionsQuery, MailboxesListDrafts200, MailboxesListDrafts400, MailboxesListDrafts401, MailboxesListDrafts403, MailboxesListDrafts404, MailboxesListDrafts422, MailboxesListDrafts500, MailboxesListDrafts504, MailboxesListDraftsPathParams, MailboxesListDraftsQuery, MailboxesListEvents200, MailboxesListEvents400, MailboxesListEvents401, MailboxesListEvents403, MailboxesListEvents404, MailboxesListEvents422, MailboxesListEvents500, MailboxesListEvents504, MailboxesListEventsPathParams, MailboxesListEventsQuery, MailboxesListFolders200, MailboxesListFolders400, MailboxesListFolders401, MailboxesListFolders403, MailboxesListFolders404, MailboxesListFolders422, MailboxesListFolders500, MailboxesListFolders504, MailboxesListFoldersPathParams, MailboxesListGrants200, MailboxesListGrants400, MailboxesListGrants401, MailboxesListGrants403, MailboxesListGrants404, MailboxesListGrants422, MailboxesListGrants500, MailboxesListGrants504, MailboxesListGrantsPathParams, MailboxesListGrantsQuery, MailboxesListLabels200, MailboxesListLabels400, MailboxesListLabels401, MailboxesListLabels403, MailboxesListLabels404, MailboxesListLabels422, MailboxesListLabels500, MailboxesListLabels504, MailboxesListLabelsPathParams, MailboxesListOrganizationDrafts200, MailboxesListOrganizationDrafts400, MailboxesListOrganizationDrafts401, MailboxesListOrganizationDrafts403, MailboxesListOrganizationDrafts404, MailboxesListOrganizationDrafts422, MailboxesListOrganizationDrafts500, MailboxesListOrganizationDrafts504, MailboxesListOrganizationDraftsQuery, MailboxesListOrganizationThreads200, MailboxesListOrganizationThreads400, MailboxesListOrganizationThreads401, MailboxesListOrganizationThreads403, MailboxesListOrganizationThreads404, MailboxesListOrganizationThreads422, MailboxesListOrganizationThreads500, MailboxesListOrganizationThreads504, MailboxesListOrganizationThreadsQuery, MailboxesListQuarantine200, MailboxesListQuarantine400, MailboxesListQuarantine401, MailboxesListQuarantine403, MailboxesListQuarantine404, MailboxesListQuarantine422, MailboxesListQuarantine500, MailboxesListQuarantine504, MailboxesListQuarantinePathParams, MailboxesListQuarantineQuery, MailboxesListQuery, MailboxesListThreadMessages200, MailboxesListThreadMessages400, MailboxesListThreadMessages401, MailboxesListThreadMessages403, MailboxesListThreadMessages404, MailboxesListThreadMessages422, MailboxesListThreadMessages500, MailboxesListThreadMessages504, MailboxesListThreadMessagesPathParams, MailboxesListThreadMessagesQuery, MailboxesListThreadNotes200, MailboxesListThreadNotes400, MailboxesListThreadNotes401, MailboxesListThreadNotes403, MailboxesListThreadNotes404, MailboxesListThreadNotes422, MailboxesListThreadNotes500, MailboxesListThreadNotes504, MailboxesListThreadNotesPathParams, MailboxesListThreadNotesQuery, MailboxesListThreads200, MailboxesListThreads400, MailboxesListThreads401, MailboxesListThreads403, MailboxesListThreads404, MailboxesListThreads422, MailboxesListThreads500, MailboxesListThreads504, MailboxesListThreadsPathParams, MailboxesListThreadsQuery, MailboxesPause200, MailboxesPause400, MailboxesPause401, MailboxesPause403, MailboxesPause404, MailboxesPause422, MailboxesPause500, MailboxesPause504, MailboxesPausePathParams, MailboxesReleaseMessage200, MailboxesReleaseMessage400, MailboxesReleaseMessage401, MailboxesReleaseMessage403, MailboxesReleaseMessage404, MailboxesReleaseMessage409, MailboxesReleaseMessage422, MailboxesReleaseMessage500, MailboxesReleaseMessage504, MailboxesReleaseMessagePathParams, MailboxesRemove200, MailboxesRemove400, MailboxesRemove401, MailboxesRemove403, MailboxesRemove404, MailboxesRemove422, MailboxesRemove500, MailboxesRemove502, MailboxesRemove504, MailboxesRemoveEndpoint200, MailboxesRemoveEndpoint400, MailboxesRemoveEndpoint401, MailboxesRemoveEndpoint403, MailboxesRemoveEndpoint404, MailboxesRemoveEndpoint422, MailboxesRemoveEndpoint500, MailboxesRemoveEndpoint504, MailboxesRemoveEndpointPathParams, MailboxesRemovePathParams, MailboxesRemoveThreadLabels200, MailboxesRemoveThreadLabels400, MailboxesRemoveThreadLabels401, MailboxesRemoveThreadLabels403, MailboxesRemoveThreadLabels404, MailboxesRemoveThreadLabels422, MailboxesRemoveThreadLabels500, MailboxesRemoveThreadLabels504, MailboxesRemoveThreadLabelsPathParams, MailboxesRemoveThreadLabelsRequestJson, MailboxesReply200, MailboxesReply202, MailboxesReply400, MailboxesReply401, MailboxesReply402, MailboxesReply403, MailboxesReply404, MailboxesReply409, MailboxesReply422, MailboxesReply429, MailboxesReply500, MailboxesReply502, MailboxesReply503, MailboxesReply504, MailboxesReplyAll200, MailboxesReplyAll202, MailboxesReplyAll400, MailboxesReplyAll401, MailboxesReplyAll402, MailboxesReplyAll403, MailboxesReplyAll404, MailboxesReplyAll409, MailboxesReplyAll422, MailboxesReplyAll429, MailboxesReplyAll500, MailboxesReplyAll502, MailboxesReplyAll503, MailboxesReplyAll504, MailboxesReplyAllHeaders, MailboxesReplyAllPathParams, MailboxesReplyAllRequestJson, MailboxesReplyHeaders, MailboxesReplyPathParams, MailboxesReplyRequestJson, MailboxesResume200, MailboxesResume400, MailboxesResume401, MailboxesResume403, MailboxesResume404, MailboxesResume422, MailboxesResume500, MailboxesResume504, MailboxesResumePathParams, MailboxesRetryAction200, MailboxesRetryAction202, MailboxesRetryAction400, MailboxesRetryAction401, MailboxesRetryAction402, MailboxesRetryAction403, MailboxesRetryAction404, MailboxesRetryAction409, MailboxesRetryAction422, MailboxesRetryAction429, MailboxesRetryAction500, MailboxesRetryAction502, MailboxesRetryAction503, MailboxesRetryAction504, MailboxesRetryActionPathParams, MailboxesRevokeGrant200, MailboxesRevokeGrant400, MailboxesRevokeGrant401, MailboxesRevokeGrant403, MailboxesRevokeGrant404, MailboxesRevokeGrant409, MailboxesRevokeGrant422, MailboxesRevokeGrant500, MailboxesRevokeGrant504, MailboxesRevokeGrantPathParams, MailboxesSendDraft200, MailboxesSendDraft202, MailboxesSendDraft400, MailboxesSendDraft401, MailboxesSendDraft402, MailboxesSendDraft403, MailboxesSendDraft404, MailboxesSendDraft409, MailboxesSendDraft422, MailboxesSendDraft429, MailboxesSendDraft500, MailboxesSendDraft502, MailboxesSendDraft503, MailboxesSendDraft504, MailboxesSendDraftHeaders, MailboxesSendDraftPathParams, MailboxesSendMessage200, MailboxesSendMessage202, MailboxesSendMessage400, MailboxesSendMessage401, MailboxesSendMessage402, MailboxesSendMessage403, MailboxesSendMessage404, MailboxesSendMessage409, MailboxesSendMessage422, MailboxesSendMessage429, MailboxesSendMessage500, MailboxesSendMessage502, MailboxesSendMessage503, MailboxesSendMessage504, MailboxesSendMessageHeaders, MailboxesSendMessagePathParams, MailboxesSendMessageRequestJson, MailboxesUpdate200, MailboxesUpdate400, MailboxesUpdate401, MailboxesUpdate403, MailboxesUpdate404, MailboxesUpdate422, MailboxesUpdate500, MailboxesUpdate504, MailboxesUpdateDraft200, MailboxesUpdateDraft400, MailboxesUpdateDraft401, MailboxesUpdateDraft403, MailboxesUpdateDraft404, MailboxesUpdateDraft409, MailboxesUpdateDraft422, MailboxesUpdateDraft500, MailboxesUpdateDraft504, MailboxesUpdateDraftPathParams, MailboxesUpdateDraftRequestJson, MailboxesUpdateEndpoint200, MailboxesUpdateEndpoint400, MailboxesUpdateEndpoint401, MailboxesUpdateEndpoint403, MailboxesUpdateEndpoint404, MailboxesUpdateEndpoint422, MailboxesUpdateEndpoint500, MailboxesUpdateEndpoint504, MailboxesUpdateEndpointPathParams, MailboxesUpdateEndpointRequestJson, MailboxesUpdateGrant200, MailboxesUpdateGrant400, MailboxesUpdateGrant401, MailboxesUpdateGrant403, MailboxesUpdateGrant404, MailboxesUpdateGrant409, MailboxesUpdateGrant422, MailboxesUpdateGrant500, MailboxesUpdateGrant504, MailboxesUpdateGrantPathParams, MailboxesUpdateGrantRequestJson, MailboxesUpdateLabel200, MailboxesUpdateLabel400, MailboxesUpdateLabel401, MailboxesUpdateLabel403, MailboxesUpdateLabel404, MailboxesUpdateLabel422, MailboxesUpdateLabel500, MailboxesUpdateLabel504, MailboxesUpdateLabelPathParams, MailboxesUpdateLabelRequestJson, MailboxesUpdateNote200, MailboxesUpdateNote400, MailboxesUpdateNote401, MailboxesUpdateNote403, MailboxesUpdateNote404, MailboxesUpdateNote422, MailboxesUpdateNote500, MailboxesUpdateNote504, MailboxesUpdateNotePathParams, MailboxesUpdateNoteRequestJson, MailboxesUpdatePathParams, MailboxesUpdateRequestJson, MailboxesUpdateThread200, MailboxesUpdateThread400, MailboxesUpdateThread401, MailboxesUpdateThread403, MailboxesUpdateThread404, MailboxesUpdateThread422, MailboxesUpdateThread500, MailboxesUpdateThread504, MailboxesUpdateThreadPathParams, MailboxesUpdateThreadRequestJson, OrganizationMailboxDraftPage, OrganizationMailboxDraftSummary, OrganizationMailboxThreadPage, OrganizationMailboxThreadSummary, PolicyAction, PolicyDecision, SmsPhoneNumberId, TemplateChannelVariantId };
|
|
2841
|
+
export { Mailbox, MailboxAction, MailboxActionPage, MailboxActionResolution, MailboxAgentActivity, MailboxAlwaysAllow, MailboxChatDraft, MailboxChatMedia, MailboxChatMessage, MailboxChatMessageTemplate, MailboxChatSendIntent, MailboxChatTemplate, MailboxCopiedAttachment, MailboxDownloadUrl, MailboxDraft, MailboxDraftPage, MailboxDraftState, MailboxDraftSummary, MailboxEmailDraft, MailboxEmailEndpoint, MailboxEmailMessage, MailboxEmailSendSnapshot, MailboxEndpoint, MailboxEvent, MailboxEventId, MailboxEventPage, MailboxFolderCount, MailboxFolderCountList, MailboxGrant, MailboxGrantId, MailboxGrantPage, MailboxHandoff, MailboxKind, MailboxLabel, MailboxLabelList, MailboxMessage, MailboxMessageAuthentication, MailboxMessagePage, MailboxMessageRecipient, MailboxMessageSender, MailboxMessageSummary, MailboxNeedsYou, MailboxNeedsYouItem, MailboxNonSendAction, MailboxNote, MailboxNoteId, MailboxNotePage, MailboxPage, MailboxPendingAction, MailboxPendingSendReceipt, MailboxQuarantinePage, MailboxQuarantinedMessage, MailboxSendAction, MailboxSendSnapshot, MailboxSmsEndpoint, MailboxSmsEndpointBinding, MailboxStatus, MailboxSummary, MailboxThread, MailboxThreadContentPage, MailboxThreadMailbox, MailboxThreadPage, MailboxThreadParticipant, MailboxThreadSender, MailboxThreadState, MailboxThreadSummary, MailboxToolCall, MailboxWhatsAppEndpoint, MailboxWhatsAppEndpointBinding, MailboxWhatsAppServiceWindow, MailboxesAddThreadLabels200, MailboxesAddThreadLabels400, MailboxesAddThreadLabels401, MailboxesAddThreadLabels403, MailboxesAddThreadLabels404, MailboxesAddThreadLabels422, MailboxesAddThreadLabels500, MailboxesAddThreadLabels504, MailboxesAddThreadLabelsPathParams, MailboxesAddThreadLabelsRequestJson, MailboxesApproveAction200, MailboxesApproveAction202, MailboxesApproveAction400, MailboxesApproveAction401, MailboxesApproveAction402, MailboxesApproveAction403, MailboxesApproveAction404, MailboxesApproveAction409, MailboxesApproveAction422, MailboxesApproveAction429, MailboxesApproveAction500, MailboxesApproveAction502, MailboxesApproveAction503, MailboxesApproveAction504, MailboxesApproveActionPathParams, MailboxesApproveActionRequestJson, MailboxesCancelAction200, MailboxesCancelAction202, MailboxesCancelAction400, MailboxesCancelAction401, MailboxesCancelAction402, MailboxesCancelAction403, MailboxesCancelAction404, MailboxesCancelAction409, MailboxesCancelAction422, MailboxesCancelAction429, MailboxesCancelAction500, MailboxesCancelAction502, MailboxesCancelAction503, MailboxesCancelAction504, MailboxesCancelActionPathParams, MailboxesCopyMessageAttachment201, MailboxesCopyMessageAttachment400, MailboxesCopyMessageAttachment401, MailboxesCopyMessageAttachment403, MailboxesCopyMessageAttachment404, MailboxesCopyMessageAttachment409, MailboxesCopyMessageAttachment422, MailboxesCopyMessageAttachment500, MailboxesCopyMessageAttachment504, MailboxesCopyMessageAttachmentPathParams, MailboxesCreate201, MailboxesCreate400, MailboxesCreate401, MailboxesCreate402, MailboxesCreate403, MailboxesCreate404, MailboxesCreate409, MailboxesCreate422, MailboxesCreate500, MailboxesCreate502, MailboxesCreate504, MailboxesCreateDraft201, MailboxesCreateDraft400, MailboxesCreateDraft401, MailboxesCreateDraft403, MailboxesCreateDraft404, MailboxesCreateDraft422, MailboxesCreateDraft500, MailboxesCreateDraft504, MailboxesCreateDraftPathParams, MailboxesCreateDraftRequestJson, MailboxesCreateEndpoint201, MailboxesCreateEndpoint400, MailboxesCreateEndpoint401, MailboxesCreateEndpoint403, MailboxesCreateEndpoint404, MailboxesCreateEndpoint409, MailboxesCreateEndpoint422, MailboxesCreateEndpoint500, MailboxesCreateEndpoint504, MailboxesCreateEndpointPathParams, MailboxesCreateEndpointRequestJson, MailboxesCreateGrant201, MailboxesCreateGrant400, MailboxesCreateGrant401, MailboxesCreateGrant403, MailboxesCreateGrant404, MailboxesCreateGrant409, MailboxesCreateGrant422, MailboxesCreateGrant500, MailboxesCreateGrant504, MailboxesCreateGrantPathParams, MailboxesCreateGrantRequestJson, MailboxesCreateHeaders, MailboxesCreateLabel201, MailboxesCreateLabel400, MailboxesCreateLabel401, MailboxesCreateLabel403, MailboxesCreateLabel404, MailboxesCreateLabel409, MailboxesCreateLabel422, MailboxesCreateLabel500, MailboxesCreateLabel504, MailboxesCreateLabelPathParams, MailboxesCreateLabelRequestJson, MailboxesCreateNote201, MailboxesCreateNote400, MailboxesCreateNote401, MailboxesCreateNote403, MailboxesCreateNote404, MailboxesCreateNote422, MailboxesCreateNote500, MailboxesCreateNote504, MailboxesCreateNotePathParams, MailboxesCreateNoteRequestJson, MailboxesCreateRequestJson, MailboxesDeleteDraft200, MailboxesDeleteDraft400, MailboxesDeleteDraft401, MailboxesDeleteDraft403, MailboxesDeleteDraft404, MailboxesDeleteDraft422, MailboxesDeleteDraft500, MailboxesDeleteDraft504, MailboxesDeleteDraftPathParams, MailboxesDeleteLabel200, MailboxesDeleteLabel400, MailboxesDeleteLabel401, MailboxesDeleteLabel403, MailboxesDeleteLabel404, MailboxesDeleteLabel422, MailboxesDeleteLabel500, MailboxesDeleteLabel504, MailboxesDeleteLabelPathParams, MailboxesDeleteNote200, MailboxesDeleteNote400, MailboxesDeleteNote401, MailboxesDeleteNote403, MailboxesDeleteNote404, MailboxesDeleteNote422, MailboxesDeleteNote500, MailboxesDeleteNote504, MailboxesDeleteNotePathParams, MailboxesDenyAction200, MailboxesDenyAction400, MailboxesDenyAction401, MailboxesDenyAction403, MailboxesDenyAction404, MailboxesDenyAction409, MailboxesDenyAction422, MailboxesDenyAction500, MailboxesDenyAction504, MailboxesDenyActionPathParams, MailboxesDenyActionRequestJson, MailboxesDiscardMessage200, MailboxesDiscardMessage400, MailboxesDiscardMessage401, MailboxesDiscardMessage403, MailboxesDiscardMessage404, MailboxesDiscardMessage409, MailboxesDiscardMessage422, MailboxesDiscardMessage500, MailboxesDiscardMessage502, MailboxesDiscardMessage504, MailboxesDiscardMessagePathParams, MailboxesForward200, MailboxesForward202, MailboxesForward400, MailboxesForward401, MailboxesForward402, MailboxesForward403, MailboxesForward404, MailboxesForward409, MailboxesForward422, MailboxesForward429, MailboxesForward500, MailboxesForward502, MailboxesForward503, MailboxesForward504, MailboxesForwardHeaders, MailboxesForwardPathParams, MailboxesForwardRequestJson, MailboxesGet200, MailboxesGet400, MailboxesGet401, MailboxesGet403, MailboxesGet404, MailboxesGet422, MailboxesGet500, MailboxesGet504, MailboxesGetAction200, MailboxesGetAction400, MailboxesGetAction401, MailboxesGetAction403, MailboxesGetAction404, MailboxesGetAction422, MailboxesGetAction500, MailboxesGetAction504, MailboxesGetActionPathParams, MailboxesGetAgentActivity200, MailboxesGetAgentActivity400, MailboxesGetAgentActivity401, MailboxesGetAgentActivity403, MailboxesGetAgentActivity404, MailboxesGetAgentActivity422, MailboxesGetAgentActivity500, MailboxesGetAgentActivity504, MailboxesGetAgentActivityPathParams, MailboxesGetAgentActivityQuery, MailboxesGetDraft200, MailboxesGetDraft400, MailboxesGetDraft401, MailboxesGetDraft403, MailboxesGetDraft404, MailboxesGetDraft422, MailboxesGetDraft500, MailboxesGetDraft504, MailboxesGetDraftPathParams, MailboxesGetMessage200, MailboxesGetMessage400, MailboxesGetMessage401, MailboxesGetMessage403, MailboxesGetMessage404, MailboxesGetMessage422, MailboxesGetMessage500, MailboxesGetMessage504, MailboxesGetMessageAttachment200, MailboxesGetMessageAttachment400, MailboxesGetMessageAttachment401, MailboxesGetMessageAttachment403, MailboxesGetMessageAttachment404, MailboxesGetMessageAttachment422, MailboxesGetMessageAttachment500, MailboxesGetMessageAttachment504, MailboxesGetMessageAttachmentPathParams, MailboxesGetMessagePathParams, MailboxesGetMessageRaw200, MailboxesGetMessageRaw400, MailboxesGetMessageRaw401, MailboxesGetMessageRaw403, MailboxesGetMessageRaw404, MailboxesGetMessageRaw422, MailboxesGetMessageRaw500, MailboxesGetMessageRaw504, MailboxesGetMessageRawPathParams, MailboxesGetNeedsYou200, MailboxesGetNeedsYou400, MailboxesGetNeedsYou401, MailboxesGetNeedsYou403, MailboxesGetNeedsYou422, MailboxesGetNeedsYou500, MailboxesGetNeedsYou504, MailboxesGetNeedsYouQuery, MailboxesGetPathParams, MailboxesGetThread200, MailboxesGetThread400, MailboxesGetThread401, MailboxesGetThread403, MailboxesGetThread404, MailboxesGetThread422, MailboxesGetThread500, MailboxesGetThread504, MailboxesGetThreadContent200, MailboxesGetThreadContent400, MailboxesGetThreadContent401, MailboxesGetThreadContent403, MailboxesGetThreadContent404, MailboxesGetThreadContent422, MailboxesGetThreadContent500, MailboxesGetThreadContent504, MailboxesGetThreadContentPathParams, MailboxesGetThreadContentQuery, MailboxesGetThreadPathParams, MailboxesGroup, MailboxesList200, MailboxesList400, MailboxesList401, MailboxesList403, MailboxesList422, MailboxesList500, MailboxesList504, MailboxesListActions200, MailboxesListActions400, MailboxesListActions401, MailboxesListActions403, MailboxesListActions404, MailboxesListActions422, MailboxesListActions500, MailboxesListActions504, MailboxesListActionsPathParams, MailboxesListActionsQuery, MailboxesListDrafts200, MailboxesListDrafts400, MailboxesListDrafts401, MailboxesListDrafts403, MailboxesListDrafts404, MailboxesListDrafts422, MailboxesListDrafts500, MailboxesListDrafts504, MailboxesListDraftsPathParams, MailboxesListDraftsQuery, MailboxesListEvents200, MailboxesListEvents400, MailboxesListEvents401, MailboxesListEvents403, MailboxesListEvents404, MailboxesListEvents422, MailboxesListEvents500, MailboxesListEvents504, MailboxesListEventsPathParams, MailboxesListEventsQuery, MailboxesListFolders200, MailboxesListFolders400, MailboxesListFolders401, MailboxesListFolders403, MailboxesListFolders404, MailboxesListFolders422, MailboxesListFolders500, MailboxesListFolders504, MailboxesListFoldersPathParams, MailboxesListGrants200, MailboxesListGrants400, MailboxesListGrants401, MailboxesListGrants403, MailboxesListGrants404, MailboxesListGrants422, MailboxesListGrants500, MailboxesListGrants504, MailboxesListGrantsPathParams, MailboxesListGrantsQuery, MailboxesListLabels200, MailboxesListLabels400, MailboxesListLabels401, MailboxesListLabels403, MailboxesListLabels404, MailboxesListLabels422, MailboxesListLabels500, MailboxesListLabels504, MailboxesListLabelsPathParams, MailboxesListOrganizationDrafts200, MailboxesListOrganizationDrafts400, MailboxesListOrganizationDrafts401, MailboxesListOrganizationDrafts403, MailboxesListOrganizationDrafts404, MailboxesListOrganizationDrafts422, MailboxesListOrganizationDrafts500, MailboxesListOrganizationDrafts504, MailboxesListOrganizationDraftsQuery, MailboxesListOrganizationThreads200, MailboxesListOrganizationThreads400, MailboxesListOrganizationThreads401, MailboxesListOrganizationThreads403, MailboxesListOrganizationThreads404, MailboxesListOrganizationThreads422, MailboxesListOrganizationThreads500, MailboxesListOrganizationThreads504, MailboxesListOrganizationThreadsQuery, MailboxesListQuarantine200, MailboxesListQuarantine400, MailboxesListQuarantine401, MailboxesListQuarantine403, MailboxesListQuarantine404, MailboxesListQuarantine422, MailboxesListQuarantine500, MailboxesListQuarantine504, MailboxesListQuarantinePathParams, MailboxesListQuarantineQuery, MailboxesListQuery, MailboxesListThreadMessages200, MailboxesListThreadMessages400, MailboxesListThreadMessages401, MailboxesListThreadMessages403, MailboxesListThreadMessages404, MailboxesListThreadMessages422, MailboxesListThreadMessages500, MailboxesListThreadMessages504, MailboxesListThreadMessagesPathParams, MailboxesListThreadMessagesQuery, MailboxesListThreadNotes200, MailboxesListThreadNotes400, MailboxesListThreadNotes401, MailboxesListThreadNotes403, MailboxesListThreadNotes404, MailboxesListThreadNotes422, MailboxesListThreadNotes500, MailboxesListThreadNotes504, MailboxesListThreadNotesPathParams, MailboxesListThreadNotesQuery, MailboxesListThreads200, MailboxesListThreads400, MailboxesListThreads401, MailboxesListThreads403, MailboxesListThreads404, MailboxesListThreads422, MailboxesListThreads500, MailboxesListThreads504, MailboxesListThreadsPathParams, MailboxesListThreadsQuery, MailboxesPause200, MailboxesPause400, MailboxesPause401, MailboxesPause403, MailboxesPause404, MailboxesPause422, MailboxesPause500, MailboxesPause504, MailboxesPausePathParams, MailboxesReleaseMessage200, MailboxesReleaseMessage400, MailboxesReleaseMessage401, MailboxesReleaseMessage403, MailboxesReleaseMessage404, MailboxesReleaseMessage409, MailboxesReleaseMessage422, MailboxesReleaseMessage500, MailboxesReleaseMessage504, MailboxesReleaseMessagePathParams, MailboxesRemove200, MailboxesRemove400, MailboxesRemove401, MailboxesRemove403, MailboxesRemove404, MailboxesRemove422, MailboxesRemove500, MailboxesRemove502, MailboxesRemove504, MailboxesRemoveEndpoint200, MailboxesRemoveEndpoint400, MailboxesRemoveEndpoint401, MailboxesRemoveEndpoint403, MailboxesRemoveEndpoint404, MailboxesRemoveEndpoint422, MailboxesRemoveEndpoint500, MailboxesRemoveEndpoint504, MailboxesRemoveEndpointPathParams, MailboxesRemovePathParams, MailboxesRemoveThreadLabels200, MailboxesRemoveThreadLabels400, MailboxesRemoveThreadLabels401, MailboxesRemoveThreadLabels403, MailboxesRemoveThreadLabels404, MailboxesRemoveThreadLabels422, MailboxesRemoveThreadLabels500, MailboxesRemoveThreadLabels504, MailboxesRemoveThreadLabelsPathParams, MailboxesRemoveThreadLabelsRequestJson, MailboxesReply200, MailboxesReply202, MailboxesReply400, MailboxesReply401, MailboxesReply402, MailboxesReply403, MailboxesReply404, MailboxesReply409, MailboxesReply422, MailboxesReply429, MailboxesReply500, MailboxesReply502, MailboxesReply503, MailboxesReply504, MailboxesReplyAll200, MailboxesReplyAll202, MailboxesReplyAll400, MailboxesReplyAll401, MailboxesReplyAll402, MailboxesReplyAll403, MailboxesReplyAll404, MailboxesReplyAll409, MailboxesReplyAll422, MailboxesReplyAll429, MailboxesReplyAll500, MailboxesReplyAll502, MailboxesReplyAll503, MailboxesReplyAll504, MailboxesReplyAllHeaders, MailboxesReplyAllPathParams, MailboxesReplyAllRequestJson, MailboxesReplyHeaders, MailboxesReplyPathParams, MailboxesReplyRequestJson, MailboxesResume200, MailboxesResume400, MailboxesResume401, MailboxesResume403, MailboxesResume404, MailboxesResume422, MailboxesResume500, MailboxesResume504, MailboxesResumePathParams, MailboxesRetryAction200, MailboxesRetryAction202, MailboxesRetryAction400, MailboxesRetryAction401, MailboxesRetryAction402, MailboxesRetryAction403, MailboxesRetryAction404, MailboxesRetryAction409, MailboxesRetryAction422, MailboxesRetryAction429, MailboxesRetryAction500, MailboxesRetryAction502, MailboxesRetryAction503, MailboxesRetryAction504, MailboxesRetryActionPathParams, MailboxesRevokeGrant200, MailboxesRevokeGrant400, MailboxesRevokeGrant401, MailboxesRevokeGrant403, MailboxesRevokeGrant404, MailboxesRevokeGrant409, MailboxesRevokeGrant422, MailboxesRevokeGrant500, MailboxesRevokeGrant504, MailboxesRevokeGrantPathParams, MailboxesSendDraft200, MailboxesSendDraft202, MailboxesSendDraft400, MailboxesSendDraft401, MailboxesSendDraft402, MailboxesSendDraft403, MailboxesSendDraft404, MailboxesSendDraft409, MailboxesSendDraft422, MailboxesSendDraft429, MailboxesSendDraft500, MailboxesSendDraft502, MailboxesSendDraft503, MailboxesSendDraft504, MailboxesSendDraftHeaders, MailboxesSendDraftPathParams, MailboxesSendMessage200, MailboxesSendMessage202, MailboxesSendMessage400, MailboxesSendMessage401, MailboxesSendMessage402, MailboxesSendMessage403, MailboxesSendMessage404, MailboxesSendMessage409, MailboxesSendMessage422, MailboxesSendMessage429, MailboxesSendMessage500, MailboxesSendMessage502, MailboxesSendMessage503, MailboxesSendMessage504, MailboxesSendMessageHeaders, MailboxesSendMessagePathParams, MailboxesSendMessageRequestJson, MailboxesUpdate200, MailboxesUpdate400, MailboxesUpdate401, MailboxesUpdate403, MailboxesUpdate404, MailboxesUpdate422, MailboxesUpdate500, MailboxesUpdate504, MailboxesUpdateDraft200, MailboxesUpdateDraft400, MailboxesUpdateDraft401, MailboxesUpdateDraft403, MailboxesUpdateDraft404, MailboxesUpdateDraft409, MailboxesUpdateDraft422, MailboxesUpdateDraft500, MailboxesUpdateDraft504, MailboxesUpdateDraftPathParams, MailboxesUpdateDraftRequestJson, MailboxesUpdateEndpoint200, MailboxesUpdateEndpoint400, MailboxesUpdateEndpoint401, MailboxesUpdateEndpoint403, MailboxesUpdateEndpoint404, MailboxesUpdateEndpoint422, MailboxesUpdateEndpoint500, MailboxesUpdateEndpoint504, MailboxesUpdateEndpointPathParams, MailboxesUpdateEndpointRequestJson, MailboxesUpdateGrant200, MailboxesUpdateGrant400, MailboxesUpdateGrant401, MailboxesUpdateGrant403, MailboxesUpdateGrant404, MailboxesUpdateGrant409, MailboxesUpdateGrant422, MailboxesUpdateGrant500, MailboxesUpdateGrant504, MailboxesUpdateGrantPathParams, MailboxesUpdateGrantRequestJson, MailboxesUpdateLabel200, MailboxesUpdateLabel400, MailboxesUpdateLabel401, MailboxesUpdateLabel403, MailboxesUpdateLabel404, MailboxesUpdateLabel422, MailboxesUpdateLabel500, MailboxesUpdateLabel504, MailboxesUpdateLabelPathParams, MailboxesUpdateLabelRequestJson, MailboxesUpdateNote200, MailboxesUpdateNote400, MailboxesUpdateNote401, MailboxesUpdateNote403, MailboxesUpdateNote404, MailboxesUpdateNote422, MailboxesUpdateNote500, MailboxesUpdateNote504, MailboxesUpdateNotePathParams, MailboxesUpdateNoteRequestJson, MailboxesUpdatePathParams, MailboxesUpdateRequestJson, MailboxesUpdateThread200, MailboxesUpdateThread400, MailboxesUpdateThread401, MailboxesUpdateThread403, MailboxesUpdateThread404, MailboxesUpdateThread422, MailboxesUpdateThread500, MailboxesUpdateThread504, MailboxesUpdateThreadPathParams, MailboxesUpdateThreadRequestJson, OrganizationMailboxDraftPage, OrganizationMailboxDraftSummary, OrganizationMailboxThreadPage, OrganizationMailboxThreadSummary, PolicyAction, PolicyDecision, SmsPhoneNumberId, TemplateChannelVariantId };
|
|
2829
2842
|
|
|
2830
2843
|
//# sourceMappingURL=mailboxes.js.map
|
|
@@ -808,7 +808,7 @@ var MessagesGroup = class extends HttpApiGroup.make("Messages").add(HttpApiEndpo
|
|
|
808
808
|
MessagesSend503.pipe(HttpApiSchema.status(503)),
|
|
809
809
|
MessagesSend504.pipe(HttpApiSchema.status(504))
|
|
810
810
|
]
|
|
811
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "messages.send").annotate(OpenApi.Summary, "Send a message").annotate(OpenApi.Description, "Sends a message on the requested channel and returns its receipt (id, status, and why it waits when it does) with a 201 Created status. Requires `messages:create` or the send permission of the channel it sends on, such as `email:send`. `channel` selects the payload variant. Email and WhatsApp sends are available. Repeating an identical request with the same optional `Idempotency-Key` header returns the original receipt; reusing the key for different content returns a conflict."), HttpApiEndpoint.get("messagesGet", "/v1/messages/:id", {
|
|
811
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "messages.send").annotate(OpenApi.Summary, "Send a message").annotate(OpenApi.Description, "An email send whose namespace has no sending setup returns ValidationError: share the sender domain with namespaces, or use a sender owned by that namespace. Sending setup that has stopped after failure returns ValidationError; restart or reconcile the domain's sending setup. Setup still in progress returns ConflictError. Sends a message on the requested channel and returns its receipt (id, status, and why it waits when it does) with a 201 Created status. Requires `messages:create` or the send permission of the channel it sends on, such as `email:send`. `channel` selects the payload variant. Email and WhatsApp sends are available. Repeating an identical request with the same optional `Idempotency-Key` header returns the original receipt; reusing the key for different content returns a conflict."), HttpApiEndpoint.get("messagesGet", "/v1/messages/:id", {
|
|
812
812
|
params: MessagesGetPathParams,
|
|
813
813
|
success: MessagesGet200,
|
|
814
814
|
error: [
|
|
@@ -253,7 +253,7 @@ var ScheduledMessagesGroup = class extends HttpApiGroup.make("Scheduled Messages
|
|
|
253
253
|
ScheduledMessagesCreate502.pipe(HttpApiSchema.status(502)),
|
|
254
254
|
ScheduledMessagesCreate504.pipe(HttpApiSchema.status(504))
|
|
255
255
|
]
|
|
256
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "scheduledMessages.create").annotate(OpenApi.Summary, "Schedule a message").annotate(OpenApi.Description, "Schedules a message for dispatch at the absolute ISO-8601 timestamp supplied in scheduledFor. Requires `messages:create` or the send permission of the channel it sends on, such as `email:send`. The send payload is the same channel union the immediate send accepts, with each channel's content checked at schedule time so a send that could never render fails now rather than hours later: email and WhatsApp schedules are available. Optional timezone is validated IANA display metadata only and never changes the execution instant."), HttpApiEndpoint.get("scheduledMessagesGet", "/v1/messages/scheduled/:id", {
|
|
256
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "scheduledMessages.create").annotate(OpenApi.Summary, "Schedule a message").annotate(OpenApi.Description, "Schedules a message for dispatch at the absolute ISO-8601 timestamp supplied in scheduledFor. Requires `messages:create` or the send permission of the channel it sends on, such as `email:send`. The send payload is the same channel union the immediate send accepts, with each channel's content checked at schedule time so a send that could never render fails now rather than hours later: email and WhatsApp schedules are available. Email schedules placed explicitly in a namespace require its sending setup to be ready: ValidationError means share the sender domain with namespaces or use a sender owned by that namespace. Setup that has stopped after failure also returns ValidationError and requires restarting or reconciling the domain's sending setup. ConflictError means setup is still in progress. Optional timezone is validated IANA display metadata only and never changes the execution instant."), HttpApiEndpoint.get("scheduledMessagesGet", "/v1/messages/scheduled/:id", {
|
|
257
257
|
params: ScheduledMessagesGetPathParams,
|
|
258
258
|
success: ScheduledMessagesGet200,
|
|
259
259
|
error: [
|
|
@@ -1960,12 +1960,12 @@ export type MailboxActionDecision = {
|
|
|
1960
1960
|
readonly outcome: "allow" | "hold" | "refuse";
|
|
1961
1961
|
readonly reason: string;
|
|
1962
1962
|
readonly scopes: ReadonlyArray<{
|
|
1963
|
-
readonly kind: "organization" | "mailbox" | "agent" | "apiKey";
|
|
1963
|
+
readonly kind: "organization" | "integration" | "mailbox" | "agent" | "apiKey";
|
|
1964
1964
|
readonly id: string;
|
|
1965
1965
|
}>;
|
|
1966
1966
|
readonly rule?: {
|
|
1967
1967
|
readonly scope: {
|
|
1968
|
-
readonly kind: "organization" | "mailbox" | "agent" | "apiKey";
|
|
1968
|
+
readonly kind: "organization" | "integration" | "mailbox" | "agent" | "apiKey";
|
|
1969
1969
|
readonly id: string;
|
|
1970
1970
|
};
|
|
1971
1971
|
readonly index: number;
|
|
@@ -1996,12 +1996,12 @@ export declare const MailboxActionDecision: Schema.Struct<{
|
|
|
1996
1996
|
readonly outcome: Schema.Union<readonly [Schema.Literal<"allow">, Schema.Literal<"hold">, Schema.Literal<"refuse">]>;
|
|
1997
1997
|
readonly reason: Schema.String;
|
|
1998
1998
|
readonly scopes: Schema.$Array<Schema.Struct<{
|
|
1999
|
-
readonly kind: Schema.Union<readonly [Schema.Literal<"organization">, Schema.Literal<"mailbox">, Schema.Literal<"agent">, Schema.Literal<"apiKey">]>;
|
|
1999
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"organization">, Schema.Literal<"integration">, Schema.Literal<"mailbox">, Schema.Literal<"agent">, Schema.Literal<"apiKey">]>;
|
|
2000
2000
|
readonly id: Schema.String;
|
|
2001
2001
|
}>>;
|
|
2002
2002
|
readonly rule: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2003
2003
|
readonly scope: Schema.Struct<{
|
|
2004
|
-
readonly kind: Schema.Union<readonly [Schema.Literal<"organization">, Schema.Literal<"mailbox">, Schema.Literal<"agent">, Schema.Literal<"apiKey">]>;
|
|
2004
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"organization">, Schema.Literal<"integration">, Schema.Literal<"mailbox">, Schema.Literal<"agent">, Schema.Literal<"apiKey">]>;
|
|
2005
2005
|
readonly id: Schema.String;
|
|
2006
2006
|
}>;
|
|
2007
2007
|
readonly index: Schema.Finite;
|
|
@@ -3073,12 +3073,12 @@ export declare const MailboxSendReceipt: Schema.Struct<{
|
|
|
3073
3073
|
readonly outcome: Schema.Union<readonly [Schema.Literal<"allow">, Schema.Literal<"hold">, Schema.Literal<"refuse">]>;
|
|
3074
3074
|
readonly reason: Schema.String;
|
|
3075
3075
|
readonly scopes: Schema.$Array<Schema.Struct<{
|
|
3076
|
-
readonly kind: Schema.Union<readonly [Schema.Literal<"organization">, Schema.Literal<"mailbox">, Schema.Literal<"agent">, Schema.Literal<"apiKey">]>;
|
|
3076
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"organization">, Schema.Literal<"integration">, Schema.Literal<"mailbox">, Schema.Literal<"agent">, Schema.Literal<"apiKey">]>;
|
|
3077
3077
|
readonly id: Schema.String;
|
|
3078
3078
|
}>>;
|
|
3079
3079
|
readonly rule: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3080
3080
|
readonly scope: Schema.Struct<{
|
|
3081
|
-
readonly kind: Schema.Union<readonly [Schema.Literal<"organization">, Schema.Literal<"mailbox">, Schema.Literal<"agent">, Schema.Literal<"apiKey">]>;
|
|
3081
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"organization">, Schema.Literal<"integration">, Schema.Literal<"mailbox">, Schema.Literal<"agent">, Schema.Literal<"apiKey">]>;
|
|
3082
3082
|
readonly id: Schema.String;
|
|
3083
3083
|
}>;
|
|
3084
3084
|
readonly index: Schema.Finite;
|
|
@@ -3725,12 +3725,12 @@ declare const MailboxSendRefusedError_base: Schema.Class<MailboxSendRefusedError
|
|
|
3725
3725
|
readonly outcome: Schema.Union<readonly [Schema.Literal<"allow">, Schema.Literal<"hold">, Schema.Literal<"refuse">]>;
|
|
3726
3726
|
readonly reason: Schema.String;
|
|
3727
3727
|
readonly scopes: Schema.$Array<Schema.Struct<{
|
|
3728
|
-
readonly kind: Schema.Union<readonly [Schema.Literal<"organization">, Schema.Literal<"mailbox">, Schema.Literal<"agent">, Schema.Literal<"apiKey">]>;
|
|
3728
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"organization">, Schema.Literal<"integration">, Schema.Literal<"mailbox">, Schema.Literal<"agent">, Schema.Literal<"apiKey">]>;
|
|
3729
3729
|
readonly id: Schema.String;
|
|
3730
3730
|
}>>;
|
|
3731
3731
|
readonly rule: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3732
3732
|
readonly scope: Schema.Struct<{
|
|
3733
|
-
readonly kind: Schema.Union<readonly [Schema.Literal<"organization">, Schema.Literal<"mailbox">, Schema.Literal<"agent">, Schema.Literal<"apiKey">]>;
|
|
3733
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"organization">, Schema.Literal<"integration">, Schema.Literal<"mailbox">, Schema.Literal<"agent">, Schema.Literal<"apiKey">]>;
|
|
3734
3734
|
readonly id: Schema.String;
|
|
3735
3735
|
}>;
|
|
3736
3736
|
readonly index: Schema.Finite;
|
|
@@ -3822,12 +3822,12 @@ declare const MailboxSendConflictError_base: Schema.Class<MailboxSendConflictErr
|
|
|
3822
3822
|
readonly outcome: Schema.Union<readonly [Schema.Literal<"allow">, Schema.Literal<"hold">, Schema.Literal<"refuse">]>;
|
|
3823
3823
|
readonly reason: Schema.String;
|
|
3824
3824
|
readonly scopes: Schema.$Array<Schema.Struct<{
|
|
3825
|
-
readonly kind: Schema.Union<readonly [Schema.Literal<"organization">, Schema.Literal<"mailbox">, Schema.Literal<"agent">, Schema.Literal<"apiKey">]>;
|
|
3825
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"organization">, Schema.Literal<"integration">, Schema.Literal<"mailbox">, Schema.Literal<"agent">, Schema.Literal<"apiKey">]>;
|
|
3826
3826
|
readonly id: Schema.String;
|
|
3827
3827
|
}>>;
|
|
3828
3828
|
readonly rule: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3829
3829
|
readonly scope: Schema.Struct<{
|
|
3830
|
-
readonly kind: Schema.Union<readonly [Schema.Literal<"organization">, Schema.Literal<"mailbox">, Schema.Literal<"agent">, Schema.Literal<"apiKey">]>;
|
|
3830
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"organization">, Schema.Literal<"integration">, Schema.Literal<"mailbox">, Schema.Literal<"agent">, Schema.Literal<"apiKey">]>;
|
|
3831
3831
|
readonly id: Schema.String;
|
|
3832
3832
|
}>;
|
|
3833
3833
|
readonly index: Schema.Finite;
|
|
@@ -1217,6 +1217,7 @@ const MailboxActionDecision = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1217
1217
|
scopes: Schema.Array(Schema.Struct({
|
|
1218
1218
|
kind: Schema.Union([
|
|
1219
1219
|
Schema.Literal("organization"),
|
|
1220
|
+
Schema.Literal("integration"),
|
|
1220
1221
|
Schema.Literal("mailbox"),
|
|
1221
1222
|
Schema.Literal("agent"),
|
|
1222
1223
|
Schema.Literal("apiKey")
|
|
@@ -1227,6 +1228,7 @@ const MailboxActionDecision = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
1227
1228
|
scope: Schema.Struct({
|
|
1228
1229
|
kind: Schema.Union([
|
|
1229
1230
|
Schema.Literal("organization"),
|
|
1231
|
+
Schema.Literal("integration"),
|
|
1230
1232
|
Schema.Literal("mailbox"),
|
|
1231
1233
|
Schema.Literal("agent"),
|
|
1232
1234
|
Schema.Literal("apiKey")
|
|
@@ -406,12 +406,12 @@ export declare const getNeedsYou: ((input?: {
|
|
|
406
406
|
readonly outcome: "allow" | "hold" | "refuse";
|
|
407
407
|
readonly reason: string;
|
|
408
408
|
readonly scopes: readonly {
|
|
409
|
-
readonly kind: "agent" | "apiKey" | "mailbox" | "organization";
|
|
409
|
+
readonly kind: "agent" | "apiKey" | "integration" | "mailbox" | "organization";
|
|
410
410
|
readonly id: string;
|
|
411
411
|
}[];
|
|
412
412
|
readonly rule?: {
|
|
413
413
|
readonly scope: {
|
|
414
|
-
readonly kind: "agent" | "apiKey" | "mailbox" | "organization";
|
|
414
|
+
readonly kind: "agent" | "apiKey" | "integration" | "mailbox" | "organization";
|
|
415
415
|
readonly id: string;
|
|
416
416
|
};
|
|
417
417
|
readonly index: number;
|
|
@@ -558,6 +558,10 @@ export declare const getNeedsYou: ((input?: {
|
|
|
558
558
|
readonly displayName?: string | null;
|
|
559
559
|
};
|
|
560
560
|
readonly source: "aiSdkTool" | "extension" | "externalAgent" | "externalApi" | "humanUi" | "samvaManagedAgent" | "system";
|
|
561
|
+
readonly alwaysAllow: {
|
|
562
|
+
readonly by: "admin" | "approver" | "owner";
|
|
563
|
+
readonly allowed: boolean;
|
|
564
|
+
} | null;
|
|
561
565
|
readonly createdAt: string;
|
|
562
566
|
} | {
|
|
563
567
|
readonly type: "quarantinedMessage";
|
|
@@ -590,12 +594,12 @@ export declare const getNeedsYou: ((input?: {
|
|
|
590
594
|
readonly outcome: "allow" | "hold" | "refuse";
|
|
591
595
|
readonly reason: string;
|
|
592
596
|
readonly scopes: readonly {
|
|
593
|
-
readonly kind: "agent" | "apiKey" | "mailbox" | "organization";
|
|
597
|
+
readonly kind: "agent" | "apiKey" | "integration" | "mailbox" | "organization";
|
|
594
598
|
readonly id: string;
|
|
595
599
|
}[];
|
|
596
600
|
readonly rule?: {
|
|
597
601
|
readonly scope: {
|
|
598
|
-
readonly kind: "agent" | "apiKey" | "mailbox" | "organization";
|
|
602
|
+
readonly kind: "agent" | "apiKey" | "integration" | "mailbox" | "organization";
|
|
599
603
|
readonly id: string;
|
|
600
604
|
};
|
|
601
605
|
readonly index: number;
|
|
@@ -742,6 +746,10 @@ export declare const getNeedsYou: ((input?: {
|
|
|
742
746
|
readonly displayName?: string | null;
|
|
743
747
|
};
|
|
744
748
|
readonly source: "aiSdkTool" | "extension" | "externalAgent" | "externalApi" | "humanUi" | "samvaManagedAgent" | "system";
|
|
749
|
+
readonly alwaysAllow: {
|
|
750
|
+
readonly by: "admin" | "approver" | "owner";
|
|
751
|
+
readonly allowed: boolean;
|
|
752
|
+
} | null;
|
|
745
753
|
readonly createdAt: string;
|
|
746
754
|
} | {
|
|
747
755
|
readonly type: "quarantinedMessage";
|
|
@@ -1566,12 +1574,12 @@ export declare const listActions: ((input: {
|
|
|
1566
1574
|
readonly outcome: "allow" | "hold" | "refuse";
|
|
1567
1575
|
readonly reason: string;
|
|
1568
1576
|
readonly scopes: readonly {
|
|
1569
|
-
readonly kind: "agent" | "apiKey" | "mailbox" | "organization";
|
|
1577
|
+
readonly kind: "agent" | "apiKey" | "integration" | "mailbox" | "organization";
|
|
1570
1578
|
readonly id: string;
|
|
1571
1579
|
}[];
|
|
1572
1580
|
readonly rule?: {
|
|
1573
1581
|
readonly scope: {
|
|
1574
|
-
readonly kind: "agent" | "apiKey" | "mailbox" | "organization";
|
|
1582
|
+
readonly kind: "agent" | "apiKey" | "integration" | "mailbox" | "organization";
|
|
1575
1583
|
readonly id: string;
|
|
1576
1584
|
};
|
|
1577
1585
|
readonly index: number;
|
|
@@ -1605,6 +1613,10 @@ export declare const listActions: ((input: {
|
|
|
1605
1613
|
readonly resolvedAt: string;
|
|
1606
1614
|
readonly reason: string | null;
|
|
1607
1615
|
} | null;
|
|
1616
|
+
readonly alwaysAllow: {
|
|
1617
|
+
readonly by: "admin" | "approver" | "owner";
|
|
1618
|
+
readonly allowed: boolean;
|
|
1619
|
+
} | null;
|
|
1608
1620
|
readonly createdAt: string;
|
|
1609
1621
|
readonly updatedAt: string;
|
|
1610
1622
|
readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "handoff" | "toolCall" | "updateDraft";
|
|
@@ -1637,12 +1649,12 @@ export declare const listActions: ((input: {
|
|
|
1637
1649
|
readonly outcome: "allow" | "hold" | "refuse";
|
|
1638
1650
|
readonly reason: string;
|
|
1639
1651
|
readonly scopes: readonly {
|
|
1640
|
-
readonly kind: "agent" | "apiKey" | "mailbox" | "organization";
|
|
1652
|
+
readonly kind: "agent" | "apiKey" | "integration" | "mailbox" | "organization";
|
|
1641
1653
|
readonly id: string;
|
|
1642
1654
|
}[];
|
|
1643
1655
|
readonly rule?: {
|
|
1644
1656
|
readonly scope: {
|
|
1645
|
-
readonly kind: "agent" | "apiKey" | "mailbox" | "organization";
|
|
1657
|
+
readonly kind: "agent" | "apiKey" | "integration" | "mailbox" | "organization";
|
|
1646
1658
|
readonly id: string;
|
|
1647
1659
|
};
|
|
1648
1660
|
readonly index: number;
|
|
@@ -1676,6 +1688,10 @@ export declare const listActions: ((input: {
|
|
|
1676
1688
|
readonly resolvedAt: string;
|
|
1677
1689
|
readonly reason: string | null;
|
|
1678
1690
|
} | null;
|
|
1691
|
+
readonly alwaysAllow: {
|
|
1692
|
+
readonly by: "admin" | "approver" | "owner";
|
|
1693
|
+
readonly allowed: boolean;
|
|
1694
|
+
} | null;
|
|
1679
1695
|
readonly createdAt: string;
|
|
1680
1696
|
readonly updatedAt: string;
|
|
1681
1697
|
readonly type: "reply" | "sendMessage";
|
|
@@ -1747,12 +1763,12 @@ export declare const listActions: ((input: {
|
|
|
1747
1763
|
readonly outcome: "allow" | "hold" | "refuse";
|
|
1748
1764
|
readonly reason: string;
|
|
1749
1765
|
readonly scopes: readonly {
|
|
1750
|
-
readonly kind: "agent" | "apiKey" | "mailbox" | "organization";
|
|
1766
|
+
readonly kind: "agent" | "apiKey" | "integration" | "mailbox" | "organization";
|
|
1751
1767
|
readonly id: string;
|
|
1752
1768
|
}[];
|
|
1753
1769
|
readonly rule?: {
|
|
1754
1770
|
readonly scope: {
|
|
1755
|
-
readonly kind: "agent" | "apiKey" | "mailbox" | "organization";
|
|
1771
|
+
readonly kind: "agent" | "apiKey" | "integration" | "mailbox" | "organization";
|
|
1756
1772
|
readonly id: string;
|
|
1757
1773
|
};
|
|
1758
1774
|
readonly index: number;
|
|
@@ -1854,12 +1870,12 @@ export declare const listActions: ((input: {
|
|
|
1854
1870
|
readonly outcome: "allow" | "hold" | "refuse";
|
|
1855
1871
|
readonly reason: string;
|
|
1856
1872
|
readonly scopes: readonly {
|
|
1857
|
-
readonly kind: "agent" | "apiKey" | "mailbox" | "organization";
|
|
1873
|
+
readonly kind: "agent" | "apiKey" | "integration" | "mailbox" | "organization";
|
|
1858
1874
|
readonly id: string;
|
|
1859
1875
|
}[];
|
|
1860
1876
|
readonly rule?: {
|
|
1861
1877
|
readonly scope: {
|
|
1862
|
-
readonly kind: "agent" | "apiKey" | "mailbox" | "organization";
|
|
1878
|
+
readonly kind: "agent" | "apiKey" | "integration" | "mailbox" | "organization";
|
|
1863
1879
|
readonly id: string;
|
|
1864
1880
|
};
|
|
1865
1881
|
readonly index: number;
|
|
@@ -1893,6 +1909,10 @@ export declare const listActions: ((input: {
|
|
|
1893
1909
|
readonly resolvedAt: string;
|
|
1894
1910
|
readonly reason: string | null;
|
|
1895
1911
|
} | null;
|
|
1912
|
+
readonly alwaysAllow: {
|
|
1913
|
+
readonly by: "admin" | "approver" | "owner";
|
|
1914
|
+
readonly allowed: boolean;
|
|
1915
|
+
} | null;
|
|
1896
1916
|
readonly createdAt: string;
|
|
1897
1917
|
readonly updatedAt: string;
|
|
1898
1918
|
readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "handoff" | "toolCall" | "updateDraft";
|
|
@@ -1925,12 +1945,12 @@ export declare const listActions: ((input: {
|
|
|
1925
1945
|
readonly outcome: "allow" | "hold" | "refuse";
|
|
1926
1946
|
readonly reason: string;
|
|
1927
1947
|
readonly scopes: readonly {
|
|
1928
|
-
readonly kind: "agent" | "apiKey" | "mailbox" | "organization";
|
|
1948
|
+
readonly kind: "agent" | "apiKey" | "integration" | "mailbox" | "organization";
|
|
1929
1949
|
readonly id: string;
|
|
1930
1950
|
}[];
|
|
1931
1951
|
readonly rule?: {
|
|
1932
1952
|
readonly scope: {
|
|
1933
|
-
readonly kind: "agent" | "apiKey" | "mailbox" | "organization";
|
|
1953
|
+
readonly kind: "agent" | "apiKey" | "integration" | "mailbox" | "organization";
|
|
1934
1954
|
readonly id: string;
|
|
1935
1955
|
};
|
|
1936
1956
|
readonly index: number;
|
|
@@ -1964,6 +1984,10 @@ export declare const listActions: ((input: {
|
|
|
1964
1984
|
readonly resolvedAt: string;
|
|
1965
1985
|
readonly reason: string | null;
|
|
1966
1986
|
} | null;
|
|
1987
|
+
readonly alwaysAllow: {
|
|
1988
|
+
readonly by: "admin" | "approver" | "owner";
|
|
1989
|
+
readonly allowed: boolean;
|
|
1990
|
+
} | null;
|
|
1967
1991
|
readonly createdAt: string;
|
|
1968
1992
|
readonly updatedAt: string;
|
|
1969
1993
|
readonly type: "reply" | "sendMessage";
|
|
@@ -2035,12 +2059,12 @@ export declare const listActions: ((input: {
|
|
|
2035
2059
|
readonly outcome: "allow" | "hold" | "refuse";
|
|
2036
2060
|
readonly reason: string;
|
|
2037
2061
|
readonly scopes: readonly {
|
|
2038
|
-
readonly kind: "agent" | "apiKey" | "mailbox" | "organization";
|
|
2062
|
+
readonly kind: "agent" | "apiKey" | "integration" | "mailbox" | "organization";
|
|
2039
2063
|
readonly id: string;
|
|
2040
2064
|
}[];
|
|
2041
2065
|
readonly rule?: {
|
|
2042
2066
|
readonly scope: {
|
|
2043
|
-
readonly kind: "agent" | "apiKey" | "mailbox" | "organization";
|
|
2067
|
+
readonly kind: "agent" | "apiKey" | "integration" | "mailbox" | "organization";
|
|
2044
2068
|
readonly id: string;
|
|
2045
2069
|
};
|
|
2046
2070
|
readonly index: number;
|
package/dist/mailbox/types.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ export type ActionDecision = {
|
|
|
66
66
|
} | undefined;
|
|
67
67
|
};
|
|
68
68
|
type PolicyScope = {
|
|
69
|
-
readonly kind: "organization" | "mailbox" | "agent" | "apiKey";
|
|
69
|
+
readonly kind: "organization" | "integration" | "mailbox" | "agent" | "apiKey";
|
|
70
70
|
readonly id: string;
|
|
71
71
|
};
|
|
72
72
|
export type CampaignAttribution = {
|
package/dist/package.js
CHANGED
|
@@ -797,6 +797,7 @@ const payloadSchemas = {
|
|
|
797
797
|
type: "string",
|
|
798
798
|
enum: [
|
|
799
799
|
"organization",
|
|
800
|
+
"integration",
|
|
800
801
|
"mailbox",
|
|
801
802
|
"agent",
|
|
802
803
|
"apiKey"
|
|
@@ -821,6 +822,7 @@ const payloadSchemas = {
|
|
|
821
822
|
type: "string",
|
|
822
823
|
enum: [
|
|
823
824
|
"organization",
|
|
825
|
+
"integration",
|
|
824
826
|
"mailbox",
|
|
825
827
|
"agent",
|
|
826
828
|
"apiKey"
|
|
@@ -1264,6 +1266,7 @@ const payloadSchemas = {
|
|
|
1264
1266
|
type: "string",
|
|
1265
1267
|
enum: [
|
|
1266
1268
|
"organization",
|
|
1269
|
+
"integration",
|
|
1267
1270
|
"mailbox",
|
|
1268
1271
|
"agent",
|
|
1269
1272
|
"apiKey"
|
|
@@ -1288,6 +1291,7 @@ const payloadSchemas = {
|
|
|
1288
1291
|
type: "string",
|
|
1289
1292
|
enum: [
|
|
1290
1293
|
"organization",
|
|
1294
|
+
"integration",
|
|
1291
1295
|
"mailbox",
|
|
1292
1296
|
"agent",
|
|
1293
1297
|
"apiKey"
|