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
|
@@ -59,7 +59,7 @@ class ListsClient {
|
|
|
59
59
|
/**
|
|
60
60
|
* **CLI:**
|
|
61
61
|
* ```bash
|
|
62
|
-
* agentmail pods
|
|
62
|
+
* agentmail pods lists list --pod-id <pod_id> --direction <direction> --type <type>
|
|
63
63
|
* ```
|
|
64
64
|
*
|
|
65
65
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -121,7 +121,7 @@ class ListsClient {
|
|
|
121
121
|
/**
|
|
122
122
|
* **CLI:**
|
|
123
123
|
* ```bash
|
|
124
|
-
* agentmail pods
|
|
124
|
+
* agentmail pods lists get --pod-id <pod_id> --direction <direction> --type <type> --entry <entry>
|
|
125
125
|
* ```
|
|
126
126
|
*
|
|
127
127
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -191,7 +191,7 @@ class ListsClient {
|
|
|
191
191
|
/**
|
|
192
192
|
* **CLI:**
|
|
193
193
|
* ```bash
|
|
194
|
-
* agentmail pods
|
|
194
|
+
* agentmail pods lists create --pod-id <pod_id> --direction <direction> --type <type> --entry user@example.com
|
|
195
195
|
* ```
|
|
196
196
|
*
|
|
197
197
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -269,7 +269,7 @@ class ListsClient {
|
|
|
269
269
|
/**
|
|
270
270
|
* **CLI:**
|
|
271
271
|
* ```bash
|
|
272
|
-
* agentmail pods
|
|
272
|
+
* agentmail pods lists delete --pod-id <pod_id> --direction <direction> --type <type> --entry <entry>
|
|
273
273
|
* ```
|
|
274
274
|
*
|
|
275
275
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -18,7 +18,7 @@ export declare class ThreadsClient {
|
|
|
18
18
|
*
|
|
19
19
|
* **CLI:**
|
|
20
20
|
* ```bash
|
|
21
|
-
* agentmail pods
|
|
21
|
+
* agentmail pods threads list --pod-id <pod_id>
|
|
22
22
|
* ```
|
|
23
23
|
*
|
|
24
24
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -55,7 +55,7 @@ export declare class ThreadsClient {
|
|
|
55
55
|
/**
|
|
56
56
|
* **CLI:**
|
|
57
57
|
* ```bash
|
|
58
|
-
* agentmail pods
|
|
58
|
+
* agentmail pods threads get --pod-id <pod_id> --thread-id <thread_id>
|
|
59
59
|
* ```
|
|
60
60
|
*
|
|
61
61
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -72,7 +72,7 @@ export declare class ThreadsClient {
|
|
|
72
72
|
/**
|
|
73
73
|
* **CLI:**
|
|
74
74
|
* ```bash
|
|
75
|
-
* agentmail pods
|
|
75
|
+
* agentmail pods threads get-attachment --pod-id <pod_id> --thread-id <thread_id> --attachment-id <attachment_id>
|
|
76
76
|
* ```
|
|
77
77
|
*
|
|
78
78
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -109,7 +109,7 @@ export declare class ThreadsClient {
|
|
|
109
109
|
*
|
|
110
110
|
* **CLI:**
|
|
111
111
|
* ```bash
|
|
112
|
-
* agentmail pods
|
|
112
|
+
* agentmail pods threads delete --pod-id <pod_id> --thread-id <thread_id>
|
|
113
113
|
* ```
|
|
114
114
|
*
|
|
115
115
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -65,7 +65,7 @@ class ThreadsClient {
|
|
|
65
65
|
*
|
|
66
66
|
* **CLI:**
|
|
67
67
|
* ```bash
|
|
68
|
-
* agentmail pods
|
|
68
|
+
* agentmail pods threads list --pod-id <pod_id>
|
|
69
69
|
* ```
|
|
70
70
|
*
|
|
71
71
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -249,7 +249,7 @@ class ThreadsClient {
|
|
|
249
249
|
/**
|
|
250
250
|
* **CLI:**
|
|
251
251
|
* ```bash
|
|
252
|
-
* agentmail pods
|
|
252
|
+
* agentmail pods threads get --pod-id <pod_id> --thread-id <thread_id>
|
|
253
253
|
* ```
|
|
254
254
|
*
|
|
255
255
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -317,7 +317,7 @@ class ThreadsClient {
|
|
|
317
317
|
/**
|
|
318
318
|
* **CLI:**
|
|
319
319
|
* ```bash
|
|
320
|
-
* agentmail pods
|
|
320
|
+
* agentmail pods threads get-attachment --pod-id <pod_id> --thread-id <thread_id> --attachment-id <attachment_id>
|
|
321
321
|
* ```
|
|
322
322
|
*
|
|
323
323
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -478,7 +478,7 @@ class ThreadsClient {
|
|
|
478
478
|
*
|
|
479
479
|
* **CLI:**
|
|
480
480
|
* ```bash
|
|
481
|
-
* agentmail pods
|
|
481
|
+
* agentmail pods threads delete --pod-id <pod_id> --thread-id <thread_id>
|
|
482
482
|
* ```
|
|
483
483
|
*
|
|
484
484
|
* @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
|
|
@@ -59,7 +59,7 @@ class WebhooksClient {
|
|
|
59
59
|
/**
|
|
60
60
|
* **CLI:**
|
|
61
61
|
* ```bash
|
|
62
|
-
* agentmail pods
|
|
62
|
+
* agentmail pods webhooks list --pod-id <pod_id>
|
|
63
63
|
* ```
|
|
64
64
|
*
|
|
65
65
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -120,7 +120,7 @@ class WebhooksClient {
|
|
|
120
120
|
/**
|
|
121
121
|
* **CLI:**
|
|
122
122
|
* ```bash
|
|
123
|
-
* agentmail pods
|
|
123
|
+
* agentmail pods webhooks get --pod-id <pod_id> --webhook-id <webhook_id>
|
|
124
124
|
* ```
|
|
125
125
|
*
|
|
126
126
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -256,7 +256,7 @@ class WebhooksClient {
|
|
|
256
256
|
*
|
|
257
257
|
* **CLI:**
|
|
258
258
|
* ```bash
|
|
259
|
-
* agentmail pods
|
|
259
|
+
* agentmail pods webhooks create --pod-id <pod_id> --url https://example.com/webhook --event-types message.received
|
|
260
260
|
* ```
|
|
261
261
|
*
|
|
262
262
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -333,7 +333,7 @@ class WebhooksClient {
|
|
|
333
333
|
/**
|
|
334
334
|
* **CLI:**
|
|
335
335
|
* ```bash
|
|
336
|
-
* agentmail pods
|
|
336
|
+
* agentmail pods webhooks update --pod-id <pod_id> --webhook-id <webhook_id> --add-inbox-ids <inbox_id>
|
|
337
337
|
* ```
|
|
338
338
|
*
|
|
339
339
|
* @param {AgentMail.pods.PodId} pod_id
|
|
@@ -490,7 +490,7 @@ class WebhooksClient {
|
|
|
490
490
|
/**
|
|
491
491
|
* **CLI:**
|
|
492
492
|
* ```bash
|
|
493
|
-
* agentmail pods
|
|
493
|
+
* agentmail pods webhooks delete --pod-id <pod_id> --webhook-id <webhook_id>
|
|
494
494
|
* ```
|
|
495
495
|
*
|
|
496
496
|
* @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
|
|
@@ -251,7 +251,7 @@ class WebhooksClient {
|
|
|
251
251
|
/**
|
|
252
252
|
* **CLI:**
|
|
253
253
|
* ```bash
|
|
254
|
-
* agentmail webhooks create --url https://example.com/webhook --event-
|
|
254
|
+
* agentmail webhooks create --url https://example.com/webhook --event-types message.received
|
|
255
255
|
* ```
|
|
256
256
|
*
|
|
257
257
|
* @param {AgentMail.webhooks.CreateWebhookRequest} request
|
|
@@ -330,7 +330,7 @@ class WebhooksClient {
|
|
|
330
330
|
*
|
|
331
331
|
* **CLI:**
|
|
332
332
|
* ```bash
|
|
333
|
-
* agentmail webhooks update --webhook-id <webhook_id> --add-inbox-
|
|
333
|
+
* agentmail webhooks update --webhook-id <webhook_id> --add-inbox-ids <inbox_id>
|
|
334
334
|
* ```
|
|
335
335
|
*
|
|
336
336
|
* @param {AgentMail.webhooks.WebhookId} webhook_id
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as AgentMail from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
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,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.BrowserAuthorizationListLimit = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.BrowserAuthorizationListLimit = core.serialization.number();
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type * as AgentMail from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
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,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.BrowserConsent = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.BrowserConsent = core.serialization.object({
|
|
40
|
+
consentId: core.serialization.property("consent_id", core.serialization.string()),
|
|
41
|
+
inboxId: core.serialization.property("inbox_id", core.serialization.string()),
|
|
42
|
+
clientType: core.serialization.property("client_type", core.serialization.stringLiteral("closed")),
|
|
43
|
+
clientId: core.serialization.property("client_id", core.serialization.string()),
|
|
44
|
+
clientUrl: core.serialization.property("client_url", core.serialization.string().optional()),
|
|
45
|
+
approvedScopes: core.serialization.property("approved_scopes", core.serialization.list(core.serialization.string())),
|
|
46
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
47
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
|
48
|
+
expiresAt: core.serialization.property("expires_at", core.serialization.date()),
|
|
49
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as AgentMail from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
import { BrowserConsentLifecycleEventType } from "./BrowserConsentLifecycleEventType.js";
|
|
5
|
+
import { BrowserLifecycleActor } from "./BrowserLifecycleActor.js";
|
|
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,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.BrowserConsentLifecycleEvent = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
const BrowserConsentLifecycleEventType_js_1 = require("./BrowserConsentLifecycleEventType.js");
|
|
40
|
+
const BrowserLifecycleActor_js_1 = require("./BrowserLifecycleActor.js");
|
|
41
|
+
exports.BrowserConsentLifecycleEvent = core.serialization.object({
|
|
42
|
+
type: BrowserConsentLifecycleEventType_js_1.BrowserConsentLifecycleEventType,
|
|
43
|
+
traceId: core.serialization.property("trace_id", core.serialization.string()),
|
|
44
|
+
eventId: core.serialization.property("event_id", core.serialization.string()),
|
|
45
|
+
occurredAt: core.serialization.property("occurred_at", core.serialization.date()),
|
|
46
|
+
organizationId: core.serialization.property("organization_id", core.serialization.string()),
|
|
47
|
+
podId: core.serialization.property("pod_id", core.serialization.string()),
|
|
48
|
+
actor: BrowserLifecycleActor_js_1.BrowserLifecycleActor,
|
|
49
|
+
consentId: core.serialization.property("consent_id", core.serialization.string()),
|
|
50
|
+
clientType: core.serialization.property("client_type", core.serialization.stringLiteral("closed")),
|
|
51
|
+
clientId: core.serialization.property("client_id", core.serialization.string()),
|
|
52
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as AgentMail from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
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,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.BrowserConsentLifecycleEventType = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.BrowserConsentLifecycleEventType = core.serialization.enum_([
|
|
40
|
+
"browser_consent_created",
|
|
41
|
+
"browser_consent_updated",
|
|
42
|
+
"browser_consent_reused",
|
|
43
|
+
"browser_consent_revoked",
|
|
44
|
+
]);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type * as AgentMail from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
4
|
+
import { BrowserCredentialCreator } from "./BrowserCredentialCreator.js";
|
|
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,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.BrowserCredential = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
const BrowserCredentialCreator_js_1 = require("./BrowserCredentialCreator.js");
|
|
40
|
+
exports.BrowserCredential = core.serialization.object({
|
|
41
|
+
credentialId: core.serialization.property("credential_id", core.serialization.string()),
|
|
42
|
+
publicKeyFingerprintPrefix: core.serialization.property("public_key_fingerprint_prefix", core.serialization.string()),
|
|
43
|
+
organizationId: core.serialization.property("organization_id", core.serialization.string()),
|
|
44
|
+
podId: core.serialization.property("pod_id", core.serialization.string()),
|
|
45
|
+
inboxId: core.serialization.property("inbox_id", core.serialization.string()),
|
|
46
|
+
createdBy: core.serialization.property("created_by", BrowserCredentialCreator_js_1.BrowserCredentialCreator),
|
|
47
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
48
|
+
expiresAt: core.serialization.property("expires_at", core.serialization.date()),
|
|
49
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as AgentMail from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
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,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.BrowserCredentialCreator = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.BrowserCredentialCreator = core.serialization.object({
|
|
40
|
+
kind: core.serialization.stringLiteral("bearer_api_key"),
|
|
41
|
+
apiKeyId: core.serialization.property("api_key_id", core.serialization.string()),
|
|
42
|
+
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
43
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as AgentMail from "../../../../api/index.js";
|
|
2
|
+
import * as core from "../../../../core/index.js";
|
|
3
|
+
import type * as serializers from "../../../index.js";
|
|
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
|
+
}
|