agentmail 0.5.19 → 0.5.21
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/LICENSE +21 -0
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/apiKeys/client/Client.d.ts +78 -0
- package/dist/cjs/api/resources/apiKeys/client/Client.js +362 -0
- package/dist/cjs/api/resources/apiKeys/client/requests/ListBrowserConsentsRequest.d.ts +12 -0
- package/dist/cjs/api/resources/apiKeys/client/requests/ListBrowserConsentsRequest.js +3 -0
- package/dist/cjs/api/resources/apiKeys/client/requests/ListBrowserCredentialEventsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/apiKeys/client/requests/ListBrowserCredentialEventsRequest.js +3 -0
- package/dist/cjs/api/resources/apiKeys/client/requests/ListBrowserCredentialsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/apiKeys/client/requests/ListBrowserCredentialsRequest.js +3 -0
- package/dist/cjs/api/resources/apiKeys/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserAuthorizationListLimit.d.ts +1 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserAuthorizationListLimit.js +3 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserConsent.d.ts +16 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserConsent.js +3 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserConsentLifecycleEvent.d.ts +13 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserConsentLifecycleEvent.js +3 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserConsentLifecycleEventType.d.ts +7 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserConsentLifecycleEventType.js +10 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserCredential.d.ts +14 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserCredential.js +3 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserCredentialCreator.d.ts +7 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserCredentialCreator.js +3 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentAccepted.d.ts +11 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentAccepted.js +3 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.d.ts +12 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.js +3 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.d.ts +7 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.js +10 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentTransactionJti.d.ts +4 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentTransactionJti.js +3 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleActor.d.ts +10 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleActor.js +3 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleApiKeyActor.d.ts +3 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleApiKeyActor.js +3 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleCredentialActor.d.ts +4 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleCredentialActor.js +3 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleEvent.d.ts +2 -0
- package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleEvent.js +3 -0
- package/dist/cjs/api/resources/apiKeys/types/CreateBrowserEnrollmentRequest.d.ts +9 -0
- package/dist/cjs/api/resources/apiKeys/types/CreateBrowserEnrollmentRequest.js +3 -0
- package/dist/cjs/api/resources/apiKeys/types/ListBrowserConsentsResponse.d.ts +7 -0
- package/dist/cjs/api/resources/apiKeys/types/ListBrowserConsentsResponse.js +3 -0
- package/dist/cjs/api/resources/apiKeys/types/ListBrowserCredentialsResponse.d.ts +7 -0
- package/dist/cjs/api/resources/apiKeys/types/ListBrowserCredentialsResponse.js +3 -0
- package/dist/cjs/api/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.d.ts +7 -0
- package/dist/cjs/api/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.js +3 -0
- package/dist/cjs/api/resources/apiKeys/types/index.d.ts +18 -0
- package/dist/cjs/api/resources/apiKeys/types/index.js +18 -0
- package/dist/cjs/api/resources/attachments/types/SendAttachment.d.ts +9 -2
- package/dist/cjs/api/resources/domains/client/Client.d.ts +17 -0
- package/dist/cjs/api/resources/domains/client/Client.js +100 -0
- package/dist/cjs/api/resources/domains/types/CreateDomainRequest.d.ts +1 -0
- package/dist/cjs/api/resources/domains/types/Domain.d.ts +3 -0
- package/dist/cjs/api/resources/domains/types/DomainItem.d.ts +1 -0
- package/dist/cjs/api/resources/domains/types/GetSetupLinkResponse.d.ts +16 -0
- package/dist/cjs/api/resources/domains/types/GetSetupLinkResponse.js +3 -0
- package/dist/cjs/api/resources/domains/types/TrackingEnabled.d.ts +6 -0
- package/dist/cjs/api/resources/domains/types/TrackingEnabled.js +3 -0
- package/dist/cjs/api/resources/domains/types/UpdateDomainRequest.d.ts +3 -1
- package/dist/cjs/api/resources/domains/types/VerificationRecord.d.ts +2 -0
- package/dist/cjs/api/resources/domains/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/domains/types/index.js +2 -0
- package/dist/cjs/api/resources/events/types/EventType.d.ts +1 -0
- package/dist/cjs/api/resources/events/types/EventType.js +1 -0
- package/dist/cjs/api/resources/events/types/MessageOpenedEvent.d.ts +11 -0
- package/dist/cjs/api/resources/events/types/MessageOpenedEvent.js +3 -0
- package/dist/cjs/api/resources/events/types/Open.d.ts +7 -0
- package/dist/cjs/api/resources/events/types/Open.js +3 -0
- package/dist/cjs/api/resources/events/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/events/types/index.js +2 -0
- package/dist/cjs/api/resources/inboxes/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/inboxes/client/Client.js +19 -14
- package/dist/cjs/api/resources/inboxes/resources/apiKeys/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/inboxes/resources/apiKeys/client/Client.js +3 -3
- package/dist/cjs/api/resources/inboxes/resources/browserCredentials/client/Client.d.ts +55 -0
- package/dist/cjs/api/resources/inboxes/resources/browserCredentials/client/Client.js +175 -0
- package/dist/cjs/api/resources/inboxes/resources/browserCredentials/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/inboxes/resources/browserCredentials/client/index.js +2 -0
- package/dist/cjs/api/resources/inboxes/resources/browserCredentials/exports.d.ts +2 -0
- package/dist/cjs/api/resources/inboxes/resources/browserCredentials/exports.js +21 -0
- package/dist/cjs/api/resources/inboxes/resources/browserCredentials/index.d.ts +1 -0
- package/dist/cjs/api/resources/inboxes/resources/browserCredentials/index.js +17 -0
- package/dist/cjs/api/resources/inboxes/resources/drafts/client/Client.d.ts +7 -7
- package/dist/cjs/api/resources/inboxes/resources/drafts/client/Client.js +7 -7
- package/dist/cjs/api/resources/inboxes/resources/events/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/inboxes/resources/events/client/Client.js +1 -1
- package/dist/cjs/api/resources/inboxes/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/inboxes/resources/index.js +2 -1
- package/dist/cjs/api/resources/inboxes/resources/lists/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/inboxes/resources/lists/client/Client.js +4 -4
- package/dist/cjs/api/resources/inboxes/resources/messages/client/Client.d.ts +12 -12
- package/dist/cjs/api/resources/inboxes/resources/messages/client/Client.js +12 -12
- package/dist/cjs/api/resources/inboxes/resources/metrics/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/inboxes/resources/metrics/client/Client.js +1 -1
- package/dist/cjs/api/resources/inboxes/resources/threads/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/inboxes/resources/threads/client/Client.js +4 -4
- package/dist/cjs/api/resources/inboxes/resources/webhooks/client/Client.d.ts +5 -5
- package/dist/cjs/api/resources/inboxes/resources/webhooks/client/Client.js +5 -5
- package/dist/cjs/api/resources/messages/types/ReplyAllMessageRequest.d.ts +1 -0
- package/dist/cjs/api/resources/messages/types/ReplyToMessageRequest.d.ts +1 -0
- package/dist/cjs/api/resources/messages/types/SendMessageRequest.d.ts +1 -0
- package/dist/cjs/api/resources/messages/types/TrackOpens.d.ts +7 -0
- package/dist/cjs/api/resources/messages/types/TrackOpens.js +3 -0
- package/dist/cjs/api/resources/messages/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/messages/types/index.js +1 -0
- package/dist/cjs/api/resources/metrics/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/metrics/client/Client.js +1 -1
- package/dist/cjs/api/resources/pods/resources/apiKeys/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/pods/resources/apiKeys/client/Client.js +3 -3
- package/dist/cjs/api/resources/pods/resources/domains/client/Client.d.ts +7 -7
- package/dist/cjs/api/resources/pods/resources/domains/client/Client.js +7 -7
- package/dist/cjs/api/resources/pods/resources/drafts/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/pods/resources/drafts/client/Client.js +3 -3
- package/dist/cjs/api/resources/pods/resources/inboxes/client/Client.d.ts +5 -5
- package/dist/cjs/api/resources/pods/resources/inboxes/client/Client.js +5 -5
- package/dist/cjs/api/resources/pods/resources/lists/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/pods/resources/lists/client/Client.js +4 -4
- package/dist/cjs/api/resources/pods/resources/metrics/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/pods/resources/metrics/client/Client.js +1 -1
- package/dist/cjs/api/resources/pods/resources/threads/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/pods/resources/threads/client/Client.js +4 -4
- package/dist/cjs/api/resources/pods/resources/webhooks/client/Client.d.ts +5 -5
- package/dist/cjs/api/resources/pods/resources/webhooks/client/Client.js +5 -5
- package/dist/cjs/api/resources/webhooks/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/webhooks/client/Client.js +2 -2
- package/dist/cjs/api/resources/websockets/client/Socket.d.ts +1 -1
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserAuthorizationListLimit.d.ts +7 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserAuthorizationListLimit.js +39 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsent.d.ts +17 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsent.js +49 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsentLifecycleEvent.d.ts +20 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsentLifecycleEvent.js +52 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsentLifecycleEventType.d.ts +7 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsentLifecycleEventType.js +44 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserCredential.d.ts +17 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserCredential.js +49 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserCredentialCreator.d.ts +11 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserCredentialCreator.js +43 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentAccepted.d.ts +11 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentAccepted.js +43 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.d.ts +19 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.js +51 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.d.ts +7 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.js +44 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentTransactionJti.d.ts +7 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentTransactionJti.js +39 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleActor.d.ts +15 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleActor.js +49 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleApiKeyActor.d.ts +9 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleApiKeyActor.js +41 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleCredentialActor.d.ts +10 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleCredentialActor.js +42 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleEvent.d.ts +9 -0
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleEvent.js +41 -0
- package/dist/cjs/serialization/resources/apiKeys/types/CreateBrowserEnrollmentRequest.d.ts +10 -0
- package/dist/cjs/serialization/resources/apiKeys/types/CreateBrowserEnrollmentRequest.js +42 -0
- package/dist/cjs/serialization/resources/apiKeys/types/ListBrowserConsentsResponse.d.ts +16 -0
- package/dist/cjs/serialization/resources/apiKeys/types/ListBrowserConsentsResponse.js +48 -0
- package/dist/cjs/serialization/resources/apiKeys/types/ListBrowserCredentialsResponse.d.ts +16 -0
- package/dist/cjs/serialization/resources/apiKeys/types/ListBrowserCredentialsResponse.js +48 -0
- package/dist/cjs/serialization/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.d.ts +16 -0
- package/dist/cjs/serialization/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.js +48 -0
- package/dist/cjs/serialization/resources/apiKeys/types/index.d.ts +18 -0
- package/dist/cjs/serialization/resources/apiKeys/types/index.js +18 -0
- package/dist/cjs/serialization/resources/domains/types/CreateDomainRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/domains/types/CreateDomainRequest.js +2 -0
- 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/DomainItem.d.ts +2 -0
- package/dist/cjs/serialization/resources/domains/types/DomainItem.js +2 -0
- package/dist/cjs/serialization/resources/domains/types/GetSetupLinkResponse.d.ts +15 -0
- package/dist/cjs/serialization/resources/domains/types/GetSetupLinkResponse.js +47 -0
- package/dist/cjs/serialization/resources/domains/types/TrackingEnabled.d.ts +7 -0
- package/dist/cjs/serialization/resources/domains/types/TrackingEnabled.js +39 -0
- package/dist/cjs/serialization/resources/domains/types/UpdateDomainRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/domains/types/UpdateDomainRequest.js +2 -0
- package/dist/cjs/serialization/resources/domains/types/VerificationRecord.d.ts +1 -0
- package/dist/cjs/serialization/resources/domains/types/VerificationRecord.js +1 -0
- package/dist/cjs/serialization/resources/domains/types/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/domains/types/index.js +2 -0
- package/dist/cjs/serialization/resources/events/types/EventType.d.ts +1 -1
- package/dist/cjs/serialization/resources/events/types/EventType.js +1 -0
- package/dist/cjs/serialization/resources/events/types/MessageOpenedEvent.d.ts +14 -0
- package/dist/cjs/serialization/resources/events/types/MessageOpenedEvent.js +46 -0
- package/dist/cjs/serialization/resources/events/types/Open.d.ts +16 -0
- package/dist/cjs/serialization/resources/events/types/Open.js +48 -0
- package/dist/cjs/serialization/resources/events/types/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/events/types/index.js +2 -0
- package/dist/cjs/serialization/resources/messages/types/ReplyAllMessageRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/messages/types/ReplyAllMessageRequest.js +2 -0
- package/dist/cjs/serialization/resources/messages/types/ReplyToMessageRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/messages/types/ReplyToMessageRequest.js +2 -0
- package/dist/cjs/serialization/resources/messages/types/SendMessageRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/messages/types/SendMessageRequest.js +2 -0
- package/dist/cjs/serialization/resources/messages/types/TrackOpens.d.ts +7 -0
- package/dist/cjs/serialization/resources/messages/types/TrackOpens.js +39 -0
- package/dist/cjs/serialization/resources/messages/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/messages/types/index.js +1 -0
- package/dist/cjs/serialization/resources/websockets/client/socket/WebsocketsSocketResponse.d.ts +3 -2
- package/dist/cjs/serialization/resources/websockets/client/socket/WebsocketsSocketResponse.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/apiKeys/client/Client.d.mts +78 -0
- package/dist/esm/api/resources/apiKeys/client/Client.mjs +362 -0
- package/dist/esm/api/resources/apiKeys/client/requests/ListBrowserConsentsRequest.d.mts +12 -0
- package/dist/esm/api/resources/apiKeys/client/requests/ListBrowserConsentsRequest.mjs +2 -0
- package/dist/esm/api/resources/apiKeys/client/requests/ListBrowserCredentialEventsRequest.d.mts +9 -0
- package/dist/esm/api/resources/apiKeys/client/requests/ListBrowserCredentialEventsRequest.mjs +2 -0
- package/dist/esm/api/resources/apiKeys/client/requests/ListBrowserCredentialsRequest.d.mts +9 -0
- package/dist/esm/api/resources/apiKeys/client/requests/ListBrowserCredentialsRequest.mjs +2 -0
- package/dist/esm/api/resources/apiKeys/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserAuthorizationListLimit.d.mts +1 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserAuthorizationListLimit.mjs +2 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserConsent.d.mts +16 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserConsent.mjs +2 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserConsentLifecycleEvent.d.mts +13 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserConsentLifecycleEvent.mjs +2 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserConsentLifecycleEventType.d.mts +7 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserConsentLifecycleEventType.mjs +7 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserCredential.d.mts +14 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserCredential.mjs +2 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserCredentialCreator.d.mts +7 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserCredentialCreator.mjs +2 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentAccepted.d.mts +11 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentAccepted.mjs +2 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.d.mts +12 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.mjs +2 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.d.mts +7 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.mjs +7 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentTransactionJti.d.mts +4 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentTransactionJti.mjs +2 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleActor.d.mts +10 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleActor.mjs +2 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleApiKeyActor.d.mts +3 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleApiKeyActor.mjs +2 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleCredentialActor.d.mts +4 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleCredentialActor.mjs +2 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleEvent.d.mts +2 -0
- package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleEvent.mjs +2 -0
- package/dist/esm/api/resources/apiKeys/types/CreateBrowserEnrollmentRequest.d.mts +9 -0
- package/dist/esm/api/resources/apiKeys/types/CreateBrowserEnrollmentRequest.mjs +2 -0
- package/dist/esm/api/resources/apiKeys/types/ListBrowserConsentsResponse.d.mts +7 -0
- package/dist/esm/api/resources/apiKeys/types/ListBrowserConsentsResponse.mjs +2 -0
- package/dist/esm/api/resources/apiKeys/types/ListBrowserCredentialsResponse.d.mts +7 -0
- package/dist/esm/api/resources/apiKeys/types/ListBrowserCredentialsResponse.mjs +2 -0
- package/dist/esm/api/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.d.mts +7 -0
- package/dist/esm/api/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.mjs +2 -0
- package/dist/esm/api/resources/apiKeys/types/index.d.mts +18 -0
- package/dist/esm/api/resources/apiKeys/types/index.mjs +18 -0
- package/dist/esm/api/resources/attachments/types/SendAttachment.d.mts +9 -2
- package/dist/esm/api/resources/domains/client/Client.d.mts +17 -0
- package/dist/esm/api/resources/domains/client/Client.mjs +100 -0
- package/dist/esm/api/resources/domains/types/CreateDomainRequest.d.mts +1 -0
- package/dist/esm/api/resources/domains/types/Domain.d.mts +3 -0
- package/dist/esm/api/resources/domains/types/DomainItem.d.mts +1 -0
- package/dist/esm/api/resources/domains/types/GetSetupLinkResponse.d.mts +16 -0
- package/dist/esm/api/resources/domains/types/GetSetupLinkResponse.mjs +2 -0
- package/dist/esm/api/resources/domains/types/TrackingEnabled.d.mts +6 -0
- package/dist/esm/api/resources/domains/types/TrackingEnabled.mjs +2 -0
- package/dist/esm/api/resources/domains/types/UpdateDomainRequest.d.mts +3 -1
- package/dist/esm/api/resources/domains/types/VerificationRecord.d.mts +2 -0
- package/dist/esm/api/resources/domains/types/index.d.mts +2 -0
- package/dist/esm/api/resources/domains/types/index.mjs +2 -0
- package/dist/esm/api/resources/events/types/EventType.d.mts +1 -0
- package/dist/esm/api/resources/events/types/EventType.mjs +1 -0
- package/dist/esm/api/resources/events/types/MessageOpenedEvent.d.mts +11 -0
- package/dist/esm/api/resources/events/types/MessageOpenedEvent.mjs +2 -0
- package/dist/esm/api/resources/events/types/Open.d.mts +7 -0
- package/dist/esm/api/resources/events/types/Open.mjs +2 -0
- package/dist/esm/api/resources/events/types/index.d.mts +2 -0
- package/dist/esm/api/resources/events/types/index.mjs +2 -0
- package/dist/esm/api/resources/inboxes/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/inboxes/client/Client.mjs +5 -0
- package/dist/esm/api/resources/inboxes/resources/apiKeys/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/inboxes/resources/apiKeys/client/Client.mjs +3 -3
- package/dist/esm/api/resources/inboxes/resources/browserCredentials/client/Client.d.mts +55 -0
- package/dist/esm/api/resources/inboxes/resources/browserCredentials/client/Client.mjs +138 -0
- package/dist/esm/api/resources/inboxes/resources/browserCredentials/client/index.d.mts +1 -0
- package/dist/esm/api/resources/inboxes/resources/browserCredentials/client/index.mjs +1 -0
- package/dist/esm/api/resources/inboxes/resources/browserCredentials/exports.d.mts +2 -0
- package/dist/esm/api/resources/inboxes/resources/browserCredentials/exports.mjs +3 -0
- package/dist/esm/api/resources/inboxes/resources/browserCredentials/index.d.mts +1 -0
- package/dist/esm/api/resources/inboxes/resources/browserCredentials/index.mjs +1 -0
- package/dist/esm/api/resources/inboxes/resources/drafts/client/Client.d.mts +7 -7
- package/dist/esm/api/resources/inboxes/resources/drafts/client/Client.mjs +7 -7
- package/dist/esm/api/resources/inboxes/resources/events/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/inboxes/resources/events/client/Client.mjs +1 -1
- package/dist/esm/api/resources/inboxes/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/inboxes/resources/index.mjs +1 -0
- package/dist/esm/api/resources/inboxes/resources/lists/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/inboxes/resources/lists/client/Client.mjs +4 -4
- package/dist/esm/api/resources/inboxes/resources/messages/client/Client.d.mts +12 -12
- package/dist/esm/api/resources/inboxes/resources/messages/client/Client.mjs +12 -12
- package/dist/esm/api/resources/inboxes/resources/metrics/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/inboxes/resources/metrics/client/Client.mjs +1 -1
- package/dist/esm/api/resources/inboxes/resources/threads/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/inboxes/resources/threads/client/Client.mjs +4 -4
- package/dist/esm/api/resources/inboxes/resources/webhooks/client/Client.d.mts +5 -5
- package/dist/esm/api/resources/inboxes/resources/webhooks/client/Client.mjs +5 -5
- package/dist/esm/api/resources/messages/types/ReplyAllMessageRequest.d.mts +1 -0
- package/dist/esm/api/resources/messages/types/ReplyToMessageRequest.d.mts +1 -0
- package/dist/esm/api/resources/messages/types/SendMessageRequest.d.mts +1 -0
- package/dist/esm/api/resources/messages/types/TrackOpens.d.mts +7 -0
- package/dist/esm/api/resources/messages/types/TrackOpens.mjs +2 -0
- package/dist/esm/api/resources/messages/types/index.d.mts +1 -0
- package/dist/esm/api/resources/messages/types/index.mjs +1 -0
- package/dist/esm/api/resources/metrics/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/metrics/client/Client.mjs +1 -1
- package/dist/esm/api/resources/pods/resources/apiKeys/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/pods/resources/apiKeys/client/Client.mjs +3 -3
- package/dist/esm/api/resources/pods/resources/domains/client/Client.d.mts +7 -7
- package/dist/esm/api/resources/pods/resources/domains/client/Client.mjs +7 -7
- package/dist/esm/api/resources/pods/resources/drafts/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/pods/resources/drafts/client/Client.mjs +3 -3
- package/dist/esm/api/resources/pods/resources/inboxes/client/Client.d.mts +5 -5
- package/dist/esm/api/resources/pods/resources/inboxes/client/Client.mjs +5 -5
- package/dist/esm/api/resources/pods/resources/lists/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/pods/resources/lists/client/Client.mjs +4 -4
- package/dist/esm/api/resources/pods/resources/metrics/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/pods/resources/metrics/client/Client.mjs +1 -1
- package/dist/esm/api/resources/pods/resources/threads/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/pods/resources/threads/client/Client.mjs +4 -4
- package/dist/esm/api/resources/pods/resources/webhooks/client/Client.d.mts +5 -5
- package/dist/esm/api/resources/pods/resources/webhooks/client/Client.mjs +5 -5
- package/dist/esm/api/resources/webhooks/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/webhooks/client/Client.mjs +2 -2
- package/dist/esm/api/resources/websockets/client/Socket.d.mts +1 -1
- package/dist/esm/serialization/resources/apiKeys/types/BrowserAuthorizationListLimit.d.mts +7 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserAuthorizationListLimit.mjs +3 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserConsent.d.mts +17 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserConsent.mjs +13 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserConsentLifecycleEvent.d.mts +20 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserConsentLifecycleEvent.mjs +16 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserConsentLifecycleEventType.d.mts +7 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserConsentLifecycleEventType.mjs +8 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserCredential.d.mts +17 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserCredential.mjs +13 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserCredentialCreator.d.mts +11 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserCredentialCreator.mjs +7 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentAccepted.d.mts +11 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentAccepted.mjs +7 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.d.mts +19 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.mjs +15 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.d.mts +7 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.mjs +8 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentTransactionJti.d.mts +7 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentTransactionJti.mjs +3 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleActor.d.mts +15 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleActor.mjs +13 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleApiKeyActor.d.mts +9 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleApiKeyActor.mjs +5 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleCredentialActor.d.mts +10 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleCredentialActor.mjs +6 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleEvent.d.mts +9 -0
- package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleEvent.mjs +5 -0
- package/dist/esm/serialization/resources/apiKeys/types/CreateBrowserEnrollmentRequest.d.mts +10 -0
- package/dist/esm/serialization/resources/apiKeys/types/CreateBrowserEnrollmentRequest.mjs +6 -0
- package/dist/esm/serialization/resources/apiKeys/types/ListBrowserConsentsResponse.d.mts +16 -0
- package/dist/esm/serialization/resources/apiKeys/types/ListBrowserConsentsResponse.mjs +12 -0
- package/dist/esm/serialization/resources/apiKeys/types/ListBrowserCredentialsResponse.d.mts +16 -0
- package/dist/esm/serialization/resources/apiKeys/types/ListBrowserCredentialsResponse.mjs +12 -0
- package/dist/esm/serialization/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.d.mts +16 -0
- package/dist/esm/serialization/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.mjs +12 -0
- package/dist/esm/serialization/resources/apiKeys/types/index.d.mts +18 -0
- package/dist/esm/serialization/resources/apiKeys/types/index.mjs +18 -0
- package/dist/esm/serialization/resources/domains/types/CreateDomainRequest.d.mts +2 -0
- package/dist/esm/serialization/resources/domains/types/CreateDomainRequest.mjs +2 -0
- 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/DomainItem.d.mts +2 -0
- package/dist/esm/serialization/resources/domains/types/DomainItem.mjs +2 -0
- package/dist/esm/serialization/resources/domains/types/GetSetupLinkResponse.d.mts +15 -0
- package/dist/esm/serialization/resources/domains/types/GetSetupLinkResponse.mjs +11 -0
- package/dist/esm/serialization/resources/domains/types/TrackingEnabled.d.mts +7 -0
- package/dist/esm/serialization/resources/domains/types/TrackingEnabled.mjs +3 -0
- package/dist/esm/serialization/resources/domains/types/UpdateDomainRequest.d.mts +2 -0
- package/dist/esm/serialization/resources/domains/types/UpdateDomainRequest.mjs +2 -0
- package/dist/esm/serialization/resources/domains/types/VerificationRecord.d.mts +1 -0
- package/dist/esm/serialization/resources/domains/types/VerificationRecord.mjs +1 -0
- package/dist/esm/serialization/resources/domains/types/index.d.mts +2 -0
- package/dist/esm/serialization/resources/domains/types/index.mjs +2 -0
- package/dist/esm/serialization/resources/events/types/EventType.d.mts +1 -1
- package/dist/esm/serialization/resources/events/types/EventType.mjs +1 -0
- package/dist/esm/serialization/resources/events/types/MessageOpenedEvent.d.mts +14 -0
- package/dist/esm/serialization/resources/events/types/MessageOpenedEvent.mjs +10 -0
- package/dist/esm/serialization/resources/events/types/Open.d.mts +16 -0
- package/dist/esm/serialization/resources/events/types/Open.mjs +12 -0
- package/dist/esm/serialization/resources/events/types/index.d.mts +2 -0
- package/dist/esm/serialization/resources/events/types/index.mjs +2 -0
- package/dist/esm/serialization/resources/messages/types/ReplyAllMessageRequest.d.mts +2 -0
- package/dist/esm/serialization/resources/messages/types/ReplyAllMessageRequest.mjs +2 -0
- package/dist/esm/serialization/resources/messages/types/ReplyToMessageRequest.d.mts +2 -0
- package/dist/esm/serialization/resources/messages/types/ReplyToMessageRequest.mjs +2 -0
- package/dist/esm/serialization/resources/messages/types/SendMessageRequest.d.mts +2 -0
- package/dist/esm/serialization/resources/messages/types/SendMessageRequest.mjs +2 -0
- package/dist/esm/serialization/resources/messages/types/TrackOpens.d.mts +7 -0
- package/dist/esm/serialization/resources/messages/types/TrackOpens.mjs +3 -0
- package/dist/esm/serialization/resources/messages/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/messages/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/websockets/client/socket/WebsocketsSocketResponse.d.mts +3 -2
- package/dist/esm/serialization/resources/websockets/client/socket/WebsocketsSocketResponse.mjs +2 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/dist/llms.txt +24 -1
- package/package.json +29 -3
- package/reference.md +613 -72
|
@@ -29,7 +29,7 @@ export class ThreadsClient {
|
|
|
29
29
|
*
|
|
30
30
|
* **CLI:**
|
|
31
31
|
* ```bash
|
|
32
|
-
* agentmail pods
|
|
32
|
+
* agentmail pods threads list --pod-id <pod_id>
|
|
33
33
|
* ```
|
|
34
34
|
*
|
|
35
35
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -213,7 +213,7 @@ export class ThreadsClient {
|
|
|
213
213
|
/**
|
|
214
214
|
* **CLI:**
|
|
215
215
|
* ```bash
|
|
216
|
-
* agentmail pods
|
|
216
|
+
* agentmail pods threads get --pod-id <pod_id> --thread-id <thread_id>
|
|
217
217
|
* ```
|
|
218
218
|
*
|
|
219
219
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -281,7 +281,7 @@ export class ThreadsClient {
|
|
|
281
281
|
/**
|
|
282
282
|
* **CLI:**
|
|
283
283
|
* ```bash
|
|
284
|
-
* agentmail pods
|
|
284
|
+
* agentmail pods threads get-attachment --pod-id <pod_id> --thread-id <thread_id> --attachment-id <attachment_id>
|
|
285
285
|
* ```
|
|
286
286
|
*
|
|
287
287
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -442,7 +442,7 @@ export class ThreadsClient {
|
|
|
442
442
|
*
|
|
443
443
|
* **CLI:**
|
|
444
444
|
* ```bash
|
|
445
|
-
* agentmail pods
|
|
445
|
+
* agentmail pods threads delete --pod-id <pod_id> --thread-id <thread_id>
|
|
446
446
|
* ```
|
|
447
447
|
*
|
|
448
448
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -13,7 +13,7 @@ export declare class WebhooksClient {
|
|
|
13
13
|
/**
|
|
14
14
|
* **CLI:**
|
|
15
15
|
* ```bash
|
|
16
|
-
* agentmail pods
|
|
16
|
+
* agentmail pods webhooks list --pod-id <pod_id>
|
|
17
17
|
* ```
|
|
18
18
|
*
|
|
19
19
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -28,7 +28,7 @@ export declare class WebhooksClient {
|
|
|
28
28
|
/**
|
|
29
29
|
* **CLI:**
|
|
30
30
|
* ```bash
|
|
31
|
-
* agentmail pods
|
|
31
|
+
* agentmail pods webhooks get --pod-id <pod_id> --webhook-id <webhook_id>
|
|
32
32
|
* ```
|
|
33
33
|
*
|
|
34
34
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -62,7 +62,7 @@ export declare class WebhooksClient {
|
|
|
62
62
|
*
|
|
63
63
|
* **CLI:**
|
|
64
64
|
* ```bash
|
|
65
|
-
* agentmail pods
|
|
65
|
+
* agentmail pods webhooks create --pod-id <pod_id> --url https://example.com/webhook --event-types message.received
|
|
66
66
|
* ```
|
|
67
67
|
*
|
|
68
68
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -82,7 +82,7 @@ export declare class WebhooksClient {
|
|
|
82
82
|
/**
|
|
83
83
|
* **CLI:**
|
|
84
84
|
* ```bash
|
|
85
|
-
* agentmail pods
|
|
85
|
+
* agentmail pods webhooks update --pod-id <pod_id> --webhook-id <webhook_id> --add-inbox-ids <inbox_id>
|
|
86
86
|
* ```
|
|
87
87
|
*
|
|
88
88
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -118,7 +118,7 @@ export declare class WebhooksClient {
|
|
|
118
118
|
/**
|
|
119
119
|
* **CLI:**
|
|
120
120
|
* ```bash
|
|
121
|
-
* agentmail pods
|
|
121
|
+
* agentmail pods webhooks delete --pod-id <pod_id> --webhook-id <webhook_id>
|
|
122
122
|
* ```
|
|
123
123
|
*
|
|
124
124
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -23,7 +23,7 @@ export class WebhooksClient {
|
|
|
23
23
|
/**
|
|
24
24
|
* **CLI:**
|
|
25
25
|
* ```bash
|
|
26
|
-
* agentmail pods
|
|
26
|
+
* agentmail pods webhooks list --pod-id <pod_id>
|
|
27
27
|
* ```
|
|
28
28
|
*
|
|
29
29
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -84,7 +84,7 @@ export class WebhooksClient {
|
|
|
84
84
|
/**
|
|
85
85
|
* **CLI:**
|
|
86
86
|
* ```bash
|
|
87
|
-
* agentmail pods
|
|
87
|
+
* agentmail pods webhooks get --pod-id <pod_id> --webhook-id <webhook_id>
|
|
88
88
|
* ```
|
|
89
89
|
*
|
|
90
90
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -220,7 +220,7 @@ export class WebhooksClient {
|
|
|
220
220
|
*
|
|
221
221
|
* **CLI:**
|
|
222
222
|
* ```bash
|
|
223
|
-
* agentmail pods
|
|
223
|
+
* agentmail pods webhooks create --pod-id <pod_id> --url https://example.com/webhook --event-types message.received
|
|
224
224
|
* ```
|
|
225
225
|
*
|
|
226
226
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -297,7 +297,7 @@ export class WebhooksClient {
|
|
|
297
297
|
/**
|
|
298
298
|
* **CLI:**
|
|
299
299
|
* ```bash
|
|
300
|
-
* agentmail pods
|
|
300
|
+
* agentmail pods webhooks update --pod-id <pod_id> --webhook-id <webhook_id> --add-inbox-ids <inbox_id>
|
|
301
301
|
* ```
|
|
302
302
|
*
|
|
303
303
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -454,7 +454,7 @@ export class WebhooksClient {
|
|
|
454
454
|
/**
|
|
455
455
|
* **CLI:**
|
|
456
456
|
* ```bash
|
|
457
|
-
* agentmail pods
|
|
457
|
+
* agentmail pods webhooks delete --pod-id <pod_id> --webhook-id <webhook_id>
|
|
458
458
|
* ```
|
|
459
459
|
*
|
|
460
460
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -57,7 +57,7 @@ export declare class WebhooksClient {
|
|
|
57
57
|
/**
|
|
58
58
|
* **CLI:**
|
|
59
59
|
* ```bash
|
|
60
|
-
* agentmail webhooks create --url https://example.com/webhook --event-
|
|
60
|
+
* agentmail webhooks create --url https://example.com/webhook --event-types message.received
|
|
61
61
|
* ```
|
|
62
62
|
*
|
|
63
63
|
* @param {AgentMail.webhooks.CreateWebhookRequest} request
|
|
@@ -79,7 +79,7 @@ export declare class WebhooksClient {
|
|
|
79
79
|
*
|
|
80
80
|
* **CLI:**
|
|
81
81
|
* ```bash
|
|
82
|
-
* agentmail webhooks update --webhook-id <webhook_id> --add-inbox-
|
|
82
|
+
* agentmail webhooks update --webhook-id <webhook_id> --add-inbox-ids <inbox_id>
|
|
83
83
|
* ```
|
|
84
84
|
*
|
|
85
85
|
* @param {AgentMail.webhooks.WebhookId} webhook_id
|
|
@@ -215,7 +215,7 @@ export class WebhooksClient {
|
|
|
215
215
|
/**
|
|
216
216
|
* **CLI:**
|
|
217
217
|
* ```bash
|
|
218
|
-
* agentmail webhooks create --url https://example.com/webhook --event-
|
|
218
|
+
* agentmail webhooks create --url https://example.com/webhook --event-types message.received
|
|
219
219
|
* ```
|
|
220
220
|
*
|
|
221
221
|
* @param {AgentMail.webhooks.CreateWebhookRequest} request
|
|
@@ -294,7 +294,7 @@ export class WebhooksClient {
|
|
|
294
294
|
*
|
|
295
295
|
* **CLI:**
|
|
296
296
|
* ```bash
|
|
297
|
-
* agentmail webhooks update --webhook-id <webhook_id> --add-inbox-
|
|
297
|
+
* agentmail webhooks update --webhook-id <webhook_id> --add-inbox-ids <inbox_id>
|
|
298
298
|
* ```
|
|
299
299
|
*
|
|
300
300
|
* @param {AgentMail.webhooks.WebhookId} webhook_id
|
|
@@ -4,7 +4,7 @@ export declare namespace WebsocketsSocket {
|
|
|
4
4
|
interface Args {
|
|
5
5
|
socket: core.ReconnectingWebSocket;
|
|
6
6
|
}
|
|
7
|
-
type Response = AgentMail.Subscribed | AgentMail.MessageReceivedEvent | AgentMail.MessageSentEvent | AgentMail.MessageDeliveredEvent | AgentMail.MessageBouncedEvent | AgentMail.MessageComplainedEvent | AgentMail.MessageRejectedEvent | AgentMail.DomainVerifiedEvent | AgentMail.Error_;
|
|
7
|
+
type Response = AgentMail.Subscribed | AgentMail.MessageReceivedEvent | AgentMail.MessageSentEvent | AgentMail.MessageDeliveredEvent | AgentMail.MessageBouncedEvent | AgentMail.MessageComplainedEvent | AgentMail.MessageRejectedEvent | AgentMail.MessageOpenedEvent | AgentMail.DomainVerifiedEvent | AgentMail.Error_;
|
|
8
8
|
type EventHandlers = {
|
|
9
9
|
open?: () => void;
|
|
10
10
|
message?: (message: Response) => void;
|
|
@@ -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 BrowserAuthorizationListLimit: core.serialization.Schema<serializers.BrowserAuthorizationListLimit.Raw, AgentMail.BrowserAuthorizationListLimit>;
|
|
5
|
+
export declare namespace BrowserAuthorizationListLimit {
|
|
6
|
+
type Raw = number;
|
|
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
|
+
export declare const BrowserConsent: core.serialization.ObjectSchema<serializers.BrowserConsent.Raw, AgentMail.BrowserConsent>;
|
|
5
|
+
export declare namespace BrowserConsent {
|
|
6
|
+
interface Raw {
|
|
7
|
+
consent_id: string;
|
|
8
|
+
inbox_id: string;
|
|
9
|
+
client_type: "closed";
|
|
10
|
+
client_id: string;
|
|
11
|
+
client_url?: string | null;
|
|
12
|
+
approved_scopes: string[];
|
|
13
|
+
created_at: string;
|
|
14
|
+
updated_at: string;
|
|
15
|
+
expires_at: string;
|
|
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
|
+
export const BrowserConsent = core.serialization.object({
|
|
4
|
+
consentId: core.serialization.property("consent_id", core.serialization.string()),
|
|
5
|
+
inboxId: core.serialization.property("inbox_id", core.serialization.string()),
|
|
6
|
+
clientType: core.serialization.property("client_type", core.serialization.stringLiteral("closed")),
|
|
7
|
+
clientId: core.serialization.property("client_id", core.serialization.string()),
|
|
8
|
+
clientUrl: core.serialization.property("client_url", core.serialization.string().optional()),
|
|
9
|
+
approvedScopes: core.serialization.property("approved_scopes", core.serialization.list(core.serialization.string())),
|
|
10
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
11
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
|
12
|
+
expiresAt: core.serialization.property("expires_at", core.serialization.date()),
|
|
13
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
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 { BrowserConsentLifecycleEventType } from "./BrowserConsentLifecycleEventType.mjs";
|
|
5
|
+
import { BrowserLifecycleActor } from "./BrowserLifecycleActor.mjs";
|
|
6
|
+
export declare const BrowserConsentLifecycleEvent: core.serialization.ObjectSchema<serializers.BrowserConsentLifecycleEvent.Raw, AgentMail.BrowserConsentLifecycleEvent>;
|
|
7
|
+
export declare namespace BrowserConsentLifecycleEvent {
|
|
8
|
+
interface Raw {
|
|
9
|
+
type: BrowserConsentLifecycleEventType.Raw;
|
|
10
|
+
trace_id: string;
|
|
11
|
+
event_id: string;
|
|
12
|
+
occurred_at: string;
|
|
13
|
+
organization_id: string;
|
|
14
|
+
pod_id: string;
|
|
15
|
+
actor: BrowserLifecycleActor.Raw;
|
|
16
|
+
consent_id: string;
|
|
17
|
+
client_type: "closed";
|
|
18
|
+
client_id: string;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { BrowserConsentLifecycleEventType } from "./BrowserConsentLifecycleEventType.mjs";
|
|
4
|
+
import { BrowserLifecycleActor } from "./BrowserLifecycleActor.mjs";
|
|
5
|
+
export const BrowserConsentLifecycleEvent = core.serialization.object({
|
|
6
|
+
type: BrowserConsentLifecycleEventType,
|
|
7
|
+
traceId: core.serialization.property("trace_id", core.serialization.string()),
|
|
8
|
+
eventId: core.serialization.property("event_id", core.serialization.string()),
|
|
9
|
+
occurredAt: core.serialization.property("occurred_at", core.serialization.date()),
|
|
10
|
+
organizationId: core.serialization.property("organization_id", core.serialization.string()),
|
|
11
|
+
podId: core.serialization.property("pod_id", core.serialization.string()),
|
|
12
|
+
actor: BrowserLifecycleActor,
|
|
13
|
+
consentId: core.serialization.property("consent_id", core.serialization.string()),
|
|
14
|
+
clientType: core.serialization.property("client_type", core.serialization.stringLiteral("closed")),
|
|
15
|
+
clientId: core.serialization.property("client_id", core.serialization.string()),
|
|
16
|
+
});
|
|
@@ -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 BrowserConsentLifecycleEventType: core.serialization.Schema<serializers.BrowserConsentLifecycleEventType.Raw, AgentMail.BrowserConsentLifecycleEventType>;
|
|
5
|
+
export declare namespace BrowserConsentLifecycleEventType {
|
|
6
|
+
type Raw = "browser_consent_created" | "browser_consent_updated" | "browser_consent_reused" | "browser_consent_revoked";
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
export const BrowserConsentLifecycleEventType = core.serialization.enum_([
|
|
4
|
+
"browser_consent_created",
|
|
5
|
+
"browser_consent_updated",
|
|
6
|
+
"browser_consent_reused",
|
|
7
|
+
"browser_consent_revoked",
|
|
8
|
+
]);
|
|
@@ -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 { BrowserCredentialCreator } from "./BrowserCredentialCreator.mjs";
|
|
5
|
+
export declare const BrowserCredential: core.serialization.ObjectSchema<serializers.BrowserCredential.Raw, AgentMail.BrowserCredential>;
|
|
6
|
+
export declare namespace BrowserCredential {
|
|
7
|
+
interface Raw {
|
|
8
|
+
credential_id: string;
|
|
9
|
+
public_key_fingerprint_prefix: string;
|
|
10
|
+
organization_id: string;
|
|
11
|
+
pod_id: string;
|
|
12
|
+
inbox_id: string;
|
|
13
|
+
created_by: BrowserCredentialCreator.Raw;
|
|
14
|
+
created_at: string;
|
|
15
|
+
expires_at: string;
|
|
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 { BrowserCredentialCreator } from "./BrowserCredentialCreator.mjs";
|
|
4
|
+
export const BrowserCredential = core.serialization.object({
|
|
5
|
+
credentialId: core.serialization.property("credential_id", core.serialization.string()),
|
|
6
|
+
publicKeyFingerprintPrefix: core.serialization.property("public_key_fingerprint_prefix", core.serialization.string()),
|
|
7
|
+
organizationId: core.serialization.property("organization_id", core.serialization.string()),
|
|
8
|
+
podId: core.serialization.property("pod_id", core.serialization.string()),
|
|
9
|
+
inboxId: core.serialization.property("inbox_id", core.serialization.string()),
|
|
10
|
+
createdBy: core.serialization.property("created_by", BrowserCredentialCreator),
|
|
11
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
12
|
+
expiresAt: core.serialization.property("expires_at", core.serialization.date()),
|
|
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
|
+
export declare const BrowserCredentialCreator: core.serialization.ObjectSchema<serializers.BrowserCredentialCreator.Raw, AgentMail.BrowserCredentialCreator>;
|
|
5
|
+
export declare namespace BrowserCredentialCreator {
|
|
6
|
+
interface Raw {
|
|
7
|
+
kind: "bearer_api_key";
|
|
8
|
+
api_key_id: string;
|
|
9
|
+
created_at: string;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
export const BrowserCredentialCreator = core.serialization.object({
|
|
4
|
+
kind: core.serialization.stringLiteral("bearer_api_key"),
|
|
5
|
+
apiKeyId: core.serialization.property("api_key_id", core.serialization.string()),
|
|
6
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
7
|
+
});
|
|
@@ -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
|
+
export declare const BrowserEnrollmentAccepted: core.serialization.ObjectSchema<serializers.BrowserEnrollmentAccepted.Raw, AgentMail.BrowserEnrollmentAccepted>;
|
|
5
|
+
export declare namespace BrowserEnrollmentAccepted {
|
|
6
|
+
interface Raw {
|
|
7
|
+
status: "pending";
|
|
8
|
+
enrollment_id: string;
|
|
9
|
+
expires_at: number;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
export const BrowserEnrollmentAccepted = core.serialization.object({
|
|
4
|
+
status: core.serialization.stringLiteral("pending"),
|
|
5
|
+
enrollmentId: core.serialization.property("enrollment_id", core.serialization.string()),
|
|
6
|
+
expiresAt: core.serialization.property("expires_at", core.serialization.number()),
|
|
7
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
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 { BrowserEnrollmentLifecycleEventType } from "./BrowserEnrollmentLifecycleEventType.mjs";
|
|
5
|
+
import { BrowserLifecycleActor } from "./BrowserLifecycleActor.mjs";
|
|
6
|
+
export declare const BrowserEnrollmentLifecycleEvent: core.serialization.ObjectSchema<serializers.BrowserEnrollmentLifecycleEvent.Raw, AgentMail.BrowserEnrollmentLifecycleEvent>;
|
|
7
|
+
export declare namespace BrowserEnrollmentLifecycleEvent {
|
|
8
|
+
interface Raw {
|
|
9
|
+
type: BrowserEnrollmentLifecycleEventType.Raw;
|
|
10
|
+
trace_id: string;
|
|
11
|
+
event_id: string;
|
|
12
|
+
occurred_at: string;
|
|
13
|
+
organization_id: string;
|
|
14
|
+
pod_id: string;
|
|
15
|
+
actor: BrowserLifecycleActor.Raw;
|
|
16
|
+
enrollment_id: string;
|
|
17
|
+
credential_id: string;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { BrowserEnrollmentLifecycleEventType } from "./BrowserEnrollmentLifecycleEventType.mjs";
|
|
4
|
+
import { BrowserLifecycleActor } from "./BrowserLifecycleActor.mjs";
|
|
5
|
+
export const BrowserEnrollmentLifecycleEvent = core.serialization.object({
|
|
6
|
+
type: BrowserEnrollmentLifecycleEventType,
|
|
7
|
+
traceId: core.serialization.property("trace_id", core.serialization.string()),
|
|
8
|
+
eventId: core.serialization.property("event_id", core.serialization.string()),
|
|
9
|
+
occurredAt: core.serialization.property("occurred_at", core.serialization.date()),
|
|
10
|
+
organizationId: core.serialization.property("organization_id", core.serialization.string()),
|
|
11
|
+
podId: core.serialization.property("pod_id", core.serialization.string()),
|
|
12
|
+
actor: BrowserLifecycleActor,
|
|
13
|
+
enrollmentId: core.serialization.property("enrollment_id", core.serialization.string()),
|
|
14
|
+
credentialId: core.serialization.property("credential_id", core.serialization.string()),
|
|
15
|
+
});
|
package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.d.mts
ADDED
|
@@ -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 BrowserEnrollmentLifecycleEventType: core.serialization.Schema<serializers.BrowserEnrollmentLifecycleEventType.Raw, AgentMail.BrowserEnrollmentLifecycleEventType>;
|
|
5
|
+
export declare namespace BrowserEnrollmentLifecycleEventType {
|
|
6
|
+
type Raw = "browser_enrollment_intent_created" | "browser_credential_activated" | "browser_enrollment_cancelled" | "browser_credential_deleted";
|
|
7
|
+
}
|
package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.mjs
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
export const BrowserEnrollmentLifecycleEventType = core.serialization.enum_([
|
|
4
|
+
"browser_enrollment_intent_created",
|
|
5
|
+
"browser_credential_activated",
|
|
6
|
+
"browser_enrollment_cancelled",
|
|
7
|
+
"browser_credential_deleted",
|
|
8
|
+
]);
|
|
@@ -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 BrowserEnrollmentTransactionJti: core.serialization.Schema<serializers.BrowserEnrollmentTransactionJti.Raw, AgentMail.BrowserEnrollmentTransactionJti>;
|
|
5
|
+
export declare namespace BrowserEnrollmentTransactionJti {
|
|
6
|
+
type Raw = string;
|
|
7
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { BrowserLifecycleApiKeyActor } from "./BrowserLifecycleApiKeyActor.mjs";
|
|
5
|
+
import { BrowserLifecycleCredentialActor } from "./BrowserLifecycleCredentialActor.mjs";
|
|
6
|
+
export declare const BrowserLifecycleActor: core.serialization.Schema<serializers.BrowserLifecycleActor.Raw, AgentMail.BrowserLifecycleActor>;
|
|
7
|
+
export declare namespace BrowserLifecycleActor {
|
|
8
|
+
type Raw = BrowserLifecycleActor.ApiKey | BrowserLifecycleActor.BrowserCredential;
|
|
9
|
+
interface ApiKey extends BrowserLifecycleApiKeyActor.Raw {
|
|
10
|
+
type: "api_key";
|
|
11
|
+
}
|
|
12
|
+
interface BrowserCredential extends BrowserLifecycleCredentialActor.Raw {
|
|
13
|
+
type: "browser_credential";
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -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 { BrowserLifecycleApiKeyActor } from "./BrowserLifecycleApiKeyActor.mjs";
|
|
4
|
+
import { BrowserLifecycleCredentialActor } from "./BrowserLifecycleCredentialActor.mjs";
|
|
5
|
+
export const BrowserLifecycleActor = core.serialization
|
|
6
|
+
.union("type", {
|
|
7
|
+
api_key: BrowserLifecycleApiKeyActor,
|
|
8
|
+
browser_credential: BrowserLifecycleCredentialActor,
|
|
9
|
+
})
|
|
10
|
+
.transform({
|
|
11
|
+
transform: (value) => value,
|
|
12
|
+
untransform: (value) => value,
|
|
13
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
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 BrowserLifecycleApiKeyActor: core.serialization.ObjectSchema<serializers.BrowserLifecycleApiKeyActor.Raw, AgentMail.BrowserLifecycleApiKeyActor>;
|
|
5
|
+
export declare namespace BrowserLifecycleApiKeyActor {
|
|
6
|
+
interface Raw {
|
|
7
|
+
api_key_id: string;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
export const BrowserLifecycleApiKeyActor = core.serialization.object({
|
|
4
|
+
apiKeyId: core.serialization.property("api_key_id", core.serialization.string()),
|
|
5
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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 BrowserLifecycleCredentialActor: core.serialization.ObjectSchema<serializers.BrowserLifecycleCredentialActor.Raw, AgentMail.BrowserLifecycleCredentialActor>;
|
|
5
|
+
export declare namespace BrowserLifecycleCredentialActor {
|
|
6
|
+
interface Raw {
|
|
7
|
+
credential_id: string;
|
|
8
|
+
authorizing_api_key_id: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
export const BrowserLifecycleCredentialActor = core.serialization.object({
|
|
4
|
+
credentialId: core.serialization.property("credential_id", core.serialization.string()),
|
|
5
|
+
authorizingApiKeyId: core.serialization.property("authorizing_api_key_id", core.serialization.string()),
|
|
6
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
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 { BrowserConsentLifecycleEvent } from "./BrowserConsentLifecycleEvent.mjs";
|
|
5
|
+
import { BrowserEnrollmentLifecycleEvent } from "./BrowserEnrollmentLifecycleEvent.mjs";
|
|
6
|
+
export declare const BrowserLifecycleEvent: core.serialization.Schema<serializers.BrowserLifecycleEvent.Raw, AgentMail.BrowserLifecycleEvent>;
|
|
7
|
+
export declare namespace BrowserLifecycleEvent {
|
|
8
|
+
type Raw = BrowserEnrollmentLifecycleEvent.Raw | BrowserConsentLifecycleEvent.Raw;
|
|
9
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { BrowserConsentLifecycleEvent } from "./BrowserConsentLifecycleEvent.mjs";
|
|
4
|
+
import { BrowserEnrollmentLifecycleEvent } from "./BrowserEnrollmentLifecycleEvent.mjs";
|
|
5
|
+
export const BrowserLifecycleEvent = core.serialization.undiscriminatedUnion([BrowserEnrollmentLifecycleEvent, BrowserConsentLifecycleEvent]);
|
|
@@ -0,0 +1,10 @@
|
|
|
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 { BrowserEnrollmentTransactionJti } from "./BrowserEnrollmentTransactionJti.mjs";
|
|
5
|
+
export declare const CreateBrowserEnrollmentRequest: core.serialization.ObjectSchema<serializers.CreateBrowserEnrollmentRequest.Raw, AgentMail.CreateBrowserEnrollmentRequest>;
|
|
6
|
+
export declare namespace CreateBrowserEnrollmentRequest {
|
|
7
|
+
interface Raw {
|
|
8
|
+
transaction_jti: BrowserEnrollmentTransactionJti.Raw;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { BrowserEnrollmentTransactionJti } from "./BrowserEnrollmentTransactionJti.mjs";
|
|
4
|
+
export const CreateBrowserEnrollmentRequest = core.serialization.object({
|
|
5
|
+
transactionJti: core.serialization.property("transaction_jti", BrowserEnrollmentTransactionJti),
|
|
6
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { Count } from "../../../types/Count.mjs";
|
|
5
|
+
import { PageToken } from "../../../types/PageToken.mjs";
|
|
6
|
+
import { BrowserAuthorizationListLimit } from "./BrowserAuthorizationListLimit.mjs";
|
|
7
|
+
import { BrowserConsent } from "./BrowserConsent.mjs";
|
|
8
|
+
export declare const ListBrowserConsentsResponse: core.serialization.ObjectSchema<serializers.ListBrowserConsentsResponse.Raw, AgentMail.ListBrowserConsentsResponse>;
|
|
9
|
+
export declare namespace ListBrowserConsentsResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
count: Count.Raw;
|
|
12
|
+
limit: BrowserAuthorizationListLimit.Raw;
|
|
13
|
+
next_page_token?: PageToken.Raw | null;
|
|
14
|
+
consents: BrowserConsent.Raw[];
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { Count } from "../../../types/Count.mjs";
|
|
4
|
+
import { PageToken } from "../../../types/PageToken.mjs";
|
|
5
|
+
import { BrowserAuthorizationListLimit } from "./BrowserAuthorizationListLimit.mjs";
|
|
6
|
+
import { BrowserConsent } from "./BrowserConsent.mjs";
|
|
7
|
+
export const ListBrowserConsentsResponse = core.serialization.object({
|
|
8
|
+
count: Count,
|
|
9
|
+
limit: BrowserAuthorizationListLimit,
|
|
10
|
+
nextPageToken: core.serialization.property("next_page_token", PageToken.optional()),
|
|
11
|
+
consents: core.serialization.list(BrowserConsent),
|
|
12
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { Count } from "../../../types/Count.mjs";
|
|
5
|
+
import { PageToken } from "../../../types/PageToken.mjs";
|
|
6
|
+
import { BrowserAuthorizationListLimit } from "./BrowserAuthorizationListLimit.mjs";
|
|
7
|
+
import { BrowserCredential } from "./BrowserCredential.mjs";
|
|
8
|
+
export declare const ListBrowserCredentialsResponse: core.serialization.ObjectSchema<serializers.ListBrowserCredentialsResponse.Raw, AgentMail.ListBrowserCredentialsResponse>;
|
|
9
|
+
export declare namespace ListBrowserCredentialsResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
count: Count.Raw;
|
|
12
|
+
limit: BrowserAuthorizationListLimit.Raw;
|
|
13
|
+
next_page_token?: PageToken.Raw | null;
|
|
14
|
+
credentials: BrowserCredential.Raw[];
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { Count } from "../../../types/Count.mjs";
|
|
4
|
+
import { PageToken } from "../../../types/PageToken.mjs";
|
|
5
|
+
import { BrowserAuthorizationListLimit } from "./BrowserAuthorizationListLimit.mjs";
|
|
6
|
+
import { BrowserCredential } from "./BrowserCredential.mjs";
|
|
7
|
+
export const ListBrowserCredentialsResponse = core.serialization.object({
|
|
8
|
+
count: Count,
|
|
9
|
+
limit: BrowserAuthorizationListLimit,
|
|
10
|
+
nextPageToken: core.serialization.property("next_page_token", PageToken.optional()),
|
|
11
|
+
credentials: core.serialization.list(BrowserCredential),
|
|
12
|
+
});
|
package/dist/esm/serialization/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.d.mts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
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 { Count } from "../../../types/Count.mjs";
|
|
5
|
+
import { PageToken } from "../../../types/PageToken.mjs";
|
|
6
|
+
import { BrowserAuthorizationListLimit } from "./BrowserAuthorizationListLimit.mjs";
|
|
7
|
+
import { BrowserLifecycleEvent } from "./BrowserLifecycleEvent.mjs";
|
|
8
|
+
export declare const ListBrowserLifecycleEventsResponse: core.serialization.ObjectSchema<serializers.ListBrowserLifecycleEventsResponse.Raw, AgentMail.ListBrowserLifecycleEventsResponse>;
|
|
9
|
+
export declare namespace ListBrowserLifecycleEventsResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
count: Count.Raw;
|
|
12
|
+
limit: BrowserAuthorizationListLimit.Raw;
|
|
13
|
+
next_page_token?: PageToken.Raw | null;
|
|
14
|
+
events: BrowserLifecycleEvent.Raw[];
|
|
15
|
+
}
|
|
16
|
+
}
|