agentmail 0.5.20 → 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/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/Domain.d.ts +2 -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/VerificationRecord.d.ts +2 -0
- package/dist/cjs/api/resources/domains/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/domains/types/index.js +1 -0
- package/dist/cjs/api/resources/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/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/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/Domain.d.ts +1 -0
- package/dist/cjs/serialization/resources/domains/types/Domain.js +1 -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/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 +1 -0
- package/dist/cjs/serialization/resources/domains/types/index.js +1 -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/Domain.d.mts +2 -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/VerificationRecord.d.mts +2 -0
- package/dist/esm/api/resources/domains/types/index.d.mts +1 -0
- package/dist/esm/api/resources/domains/types/index.mjs +1 -0
- package/dist/esm/api/resources/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/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/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/Domain.d.mts +1 -0
- package/dist/esm/serialization/resources/domains/types/Domain.mjs +1 -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/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 +1 -0
- package/dist/esm/serialization/resources/domains/types/index.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/dist/llms.txt +11 -1
- package/package.json +20 -2
- package/reference.md +613 -72
|
@@ -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
|
+
}
|
|
@@ -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 { BrowserLifecycleEvent } from "./BrowserLifecycleEvent.mjs";
|
|
7
|
+
export const ListBrowserLifecycleEventsResponse = core.serialization.object({
|
|
8
|
+
count: Count,
|
|
9
|
+
limit: BrowserAuthorizationListLimit,
|
|
10
|
+
nextPageToken: core.serialization.property("next_page_token", PageToken.optional()),
|
|
11
|
+
events: core.serialization.list(BrowserLifecycleEvent),
|
|
12
|
+
});
|
|
@@ -1,12 +1,30 @@
|
|
|
1
1
|
export * from "./ApiKey.mjs";
|
|
2
2
|
export * from "./ApiKeyId.mjs";
|
|
3
3
|
export * from "./ApiKeyPermissions.mjs";
|
|
4
|
+
export * from "./BrowserAuthorizationListLimit.mjs";
|
|
5
|
+
export * from "./BrowserConsent.mjs";
|
|
6
|
+
export * from "./BrowserConsentLifecycleEvent.mjs";
|
|
7
|
+
export * from "./BrowserConsentLifecycleEventType.mjs";
|
|
8
|
+
export * from "./BrowserCredential.mjs";
|
|
9
|
+
export * from "./BrowserCredentialCreator.mjs";
|
|
10
|
+
export * from "./BrowserEnrollmentAccepted.mjs";
|
|
11
|
+
export * from "./BrowserEnrollmentLifecycleEvent.mjs";
|
|
12
|
+
export * from "./BrowserEnrollmentLifecycleEventType.mjs";
|
|
13
|
+
export * from "./BrowserEnrollmentTransactionJti.mjs";
|
|
14
|
+
export * from "./BrowserLifecycleActor.mjs";
|
|
15
|
+
export * from "./BrowserLifecycleApiKeyActor.mjs";
|
|
16
|
+
export * from "./BrowserLifecycleCredentialActor.mjs";
|
|
17
|
+
export * from "./BrowserLifecycleEvent.mjs";
|
|
4
18
|
export * from "./CreateApiKeyRequest.mjs";
|
|
5
19
|
export * from "./CreateApiKeyResponse.mjs";
|
|
20
|
+
export * from "./CreateBrowserEnrollmentRequest.mjs";
|
|
6
21
|
export * from "./CreatedAt.mjs";
|
|
7
22
|
export * from "./CreatePublicKeyRequest.mjs";
|
|
8
23
|
export * from "./InboxPublicKeyScope.mjs";
|
|
9
24
|
export * from "./ListApiKeysResponse.mjs";
|
|
25
|
+
export * from "./ListBrowserConsentsResponse.mjs";
|
|
26
|
+
export * from "./ListBrowserCredentialsResponse.mjs";
|
|
27
|
+
export * from "./ListBrowserLifecycleEventsResponse.mjs";
|
|
10
28
|
export * from "./ListPublicKeysResponse.mjs";
|
|
11
29
|
export * from "./Name.mjs";
|
|
12
30
|
export * from "./OrganizationPublicKeyScope.mjs";
|
|
@@ -1,12 +1,30 @@
|
|
|
1
1
|
export * from "./ApiKey.mjs";
|
|
2
2
|
export * from "./ApiKeyId.mjs";
|
|
3
3
|
export * from "./ApiKeyPermissions.mjs";
|
|
4
|
+
export * from "./BrowserAuthorizationListLimit.mjs";
|
|
5
|
+
export * from "./BrowserConsent.mjs";
|
|
6
|
+
export * from "./BrowserConsentLifecycleEvent.mjs";
|
|
7
|
+
export * from "./BrowserConsentLifecycleEventType.mjs";
|
|
8
|
+
export * from "./BrowserCredential.mjs";
|
|
9
|
+
export * from "./BrowserCredentialCreator.mjs";
|
|
10
|
+
export * from "./BrowserEnrollmentAccepted.mjs";
|
|
11
|
+
export * from "./BrowserEnrollmentLifecycleEvent.mjs";
|
|
12
|
+
export * from "./BrowserEnrollmentLifecycleEventType.mjs";
|
|
13
|
+
export * from "./BrowserEnrollmentTransactionJti.mjs";
|
|
14
|
+
export * from "./BrowserLifecycleActor.mjs";
|
|
15
|
+
export * from "./BrowserLifecycleApiKeyActor.mjs";
|
|
16
|
+
export * from "./BrowserLifecycleCredentialActor.mjs";
|
|
17
|
+
export * from "./BrowserLifecycleEvent.mjs";
|
|
4
18
|
export * from "./CreateApiKeyRequest.mjs";
|
|
5
19
|
export * from "./CreateApiKeyResponse.mjs";
|
|
20
|
+
export * from "./CreateBrowserEnrollmentRequest.mjs";
|
|
6
21
|
export * from "./CreatedAt.mjs";
|
|
7
22
|
export * from "./CreatePublicKeyRequest.mjs";
|
|
8
23
|
export * from "./InboxPublicKeyScope.mjs";
|
|
9
24
|
export * from "./ListApiKeysResponse.mjs";
|
|
25
|
+
export * from "./ListBrowserConsentsResponse.mjs";
|
|
26
|
+
export * from "./ListBrowserCredentialsResponse.mjs";
|
|
27
|
+
export * from "./ListBrowserLifecycleEventsResponse.mjs";
|
|
10
28
|
export * from "./ListPublicKeysResponse.mjs";
|
|
11
29
|
export * from "./Name.mjs";
|
|
12
30
|
export * from "./OrganizationPublicKeyScope.mjs";
|
|
@@ -17,6 +17,7 @@ export declare namespace Domain {
|
|
|
17
17
|
domain_id: DomainId.Raw;
|
|
18
18
|
domain: DomainName.Raw;
|
|
19
19
|
status: Status.Raw;
|
|
20
|
+
reason?: string | null;
|
|
20
21
|
feedback_enabled: FeedbackEnabled.Raw;
|
|
21
22
|
subdomains_enabled: SubdomainsEnabled.Raw;
|
|
22
23
|
tracking_enabled: TrackingEnabled.Raw;
|
|
@@ -14,6 +14,7 @@ export const Domain = core.serialization.object({
|
|
|
14
14
|
domainId: core.serialization.property("domain_id", DomainId),
|
|
15
15
|
domain: DomainName,
|
|
16
16
|
status: Status,
|
|
17
|
+
reason: core.serialization.string().optional(),
|
|
17
18
|
feedbackEnabled: core.serialization.property("feedback_enabled", FeedbackEnabled),
|
|
18
19
|
subdomainsEnabled: core.serialization.property("subdomains_enabled", SubdomainsEnabled),
|
|
19
20
|
trackingEnabled: core.serialization.property("tracking_enabled", TrackingEnabled),
|
|
@@ -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
|
+
export declare const GetSetupLinkResponse: core.serialization.ObjectSchema<serializers.GetSetupLinkResponse.Raw, AgentMail.GetSetupLinkResponse>;
|
|
5
|
+
export declare namespace GetSetupLinkResponse {
|
|
6
|
+
interface Raw {
|
|
7
|
+
supported: boolean;
|
|
8
|
+
provider_name?: string | null;
|
|
9
|
+
url?: string | null;
|
|
10
|
+
width?: number | null;
|
|
11
|
+
height?: number | null;
|
|
12
|
+
state?: string | null;
|
|
13
|
+
conflicting_provider?: string | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
export const GetSetupLinkResponse = core.serialization.object({
|
|
4
|
+
supported: core.serialization.boolean(),
|
|
5
|
+
providerName: core.serialization.property("provider_name", core.serialization.string().optional()),
|
|
6
|
+
url: core.serialization.string().optional(),
|
|
7
|
+
width: core.serialization.number().optional(),
|
|
8
|
+
height: core.serialization.number().optional(),
|
|
9
|
+
state: core.serialization.string().optional(),
|
|
10
|
+
conflictingProvider: core.serialization.property("conflicting_provider", core.serialization.string().optional()),
|
|
11
|
+
});
|
|
@@ -5,6 +5,7 @@ export * from "./DomainId.mjs";
|
|
|
5
5
|
export * from "./DomainItem.mjs";
|
|
6
6
|
export * from "./DomainName.mjs";
|
|
7
7
|
export * from "./FeedbackEnabled.mjs";
|
|
8
|
+
export * from "./GetSetupLinkResponse.mjs";
|
|
8
9
|
export * from "./ListDomainsResponse.mjs";
|
|
9
10
|
export * from "./RecordStatus.mjs";
|
|
10
11
|
export * from "./RecordType.mjs";
|
|
@@ -5,6 +5,7 @@ export * from "./DomainId.mjs";
|
|
|
5
5
|
export * from "./DomainItem.mjs";
|
|
6
6
|
export * from "./DomainName.mjs";
|
|
7
7
|
export * from "./FeedbackEnabled.mjs";
|
|
8
|
+
export * from "./GetSetupLinkResponse.mjs";
|
|
8
9
|
export * from "./ListDomainsResponse.mjs";
|
|
9
10
|
export * from "./RecordStatus.mjs";
|
|
10
11
|
export * from "./RecordType.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.5.
|
|
1
|
+
export declare const SDK_VERSION = "0.5.21";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.5.
|
|
1
|
+
export const SDK_VERSION = "0.5.21";
|