agentmail 0.5.24 → 0.5.25
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 +37 -167
- package/dist/cjs/api/resources/apiKeys/client/Client.js +65 -627
- package/dist/cjs/api/resources/apiKeys/client/requests/ListApiKeysRequest.d.ts +2 -0
- package/dist/cjs/api/resources/apiKeys/client/requests/index.d.ts +0 -5
- package/dist/cjs/api/resources/apiKeys/types/AcceptDisclosure.d.ts +6 -0
- package/dist/cjs/api/resources/apiKeys/types/ApiKey.d.ts +6 -13
- package/dist/cjs/api/resources/apiKeys/types/ApiKeyCreator.d.ts +7 -0
- package/dist/cjs/api/resources/apiKeys/types/ApiKeyMutableFields.d.ts +8 -0
- package/dist/cjs/api/resources/apiKeys/types/ApiKeyPermissions.d.ts +10 -0
- package/dist/cjs/api/resources/apiKeys/types/ApiKeyType.d.ts +5 -0
- package/dist/cjs/api/resources/apiKeys/types/ApiKeyType.js +8 -0
- package/dist/cjs/api/resources/apiKeys/types/AuthToken.d.ts +4 -0
- package/dist/cjs/api/resources/apiKeys/types/BearerApiKey.d.ts +17 -0
- package/dist/cjs/api/resources/apiKeys/types/CreateApiKeyRequest.d.ts +5 -4
- package/dist/cjs/api/resources/apiKeys/types/CreateApiKeyResponse.d.ts +2 -4
- package/dist/cjs/api/resources/apiKeys/types/CreateApiKeyResult.d.ts +5 -0
- package/dist/cjs/api/resources/apiKeys/types/CreateBearerApiKeyRequest.d.ts +3 -0
- package/dist/cjs/api/resources/apiKeys/types/CreatePublicKeyRequest.d.ts +10 -15
- package/dist/cjs/api/resources/apiKeys/types/ExpiresAt.d.ts +4 -0
- package/dist/cjs/api/resources/apiKeys/types/InboxScopeId.d.ts +4 -0
- package/dist/cjs/api/resources/apiKeys/types/ListApiKeysResponse.d.ts +4 -1
- package/dist/cjs/api/resources/apiKeys/types/PodScopeId.d.ts +4 -0
- package/dist/cjs/api/resources/apiKeys/types/PublicKeyClientId.d.ts +7 -0
- package/dist/cjs/api/resources/apiKeys/types/PublicKeyCredential.d.ts +18 -15
- package/dist/cjs/api/resources/apiKeys/types/PublicKeyStatus.d.ts +10 -0
- package/dist/cjs/api/resources/apiKeys/types/PublicKeyStatus.js +13 -0
- package/dist/cjs/api/resources/apiKeys/types/UpdateApiKeyRequest.d.ts +7 -0
- package/dist/cjs/api/resources/apiKeys/types/UpdatedAt.d.ts +4 -0
- package/dist/cjs/api/resources/apiKeys/types/UsedAt.d.ts +4 -0
- package/dist/cjs/api/resources/apiKeys/types/index.d.ts +16 -25
- package/dist/cjs/api/resources/apiKeys/types/index.js +16 -25
- package/dist/cjs/api/resources/inboxes/client/Client.d.ts +19 -3
- package/dist/cjs/api/resources/inboxes/client/Client.js +98 -19
- package/dist/cjs/api/resources/inboxes/resources/apiKeys/client/Client.d.ts +20 -1
- package/dist/cjs/api/resources/inboxes/resources/apiKeys/client/Client.js +85 -1
- package/dist/cjs/api/resources/inboxes/resources/index.d.ts +0 -1
- package/dist/cjs/api/resources/inboxes/resources/index.js +1 -2
- package/dist/cjs/api/resources/inboxes/types/AuthorizeInboxRequest.d.ts +10 -0
- package/dist/cjs/api/resources/inboxes/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/inboxes/types/index.js +1 -0
- package/dist/cjs/api/resources/pods/resources/apiKeys/client/Client.d.ts +19 -0
- package/dist/cjs/api/resources/pods/resources/apiKeys/client/Client.js +84 -0
- package/dist/cjs/api/resources/providers/client/Client.d.ts +7 -9
- package/dist/cjs/api/resources/providers/client/Client.js +7 -15
- package/dist/cjs/api/resources/providers/types/ConnectAccepted.d.ts +9 -0
- package/dist/cjs/api/resources/providers/types/ConnectInboxId.d.ts +5 -0
- package/dist/cjs/api/resources/providers/types/ConnectProviderBody.d.ts +2 -4
- package/dist/cjs/api/resources/providers/types/MagicUrl.d.ts +4 -0
- package/dist/cjs/api/resources/providers/types/index.d.ts +3 -1
- package/dist/cjs/api/resources/providers/types/index.js +3 -1
- package/dist/cjs/serialization/resources/apiKeys/types/AcceptDisclosure.d.ts +7 -0
- package/dist/cjs/serialization/resources/apiKeys/types/{OrganizationPublicKeyScope.js → AcceptDisclosure.js} +2 -2
- package/dist/cjs/serialization/resources/apiKeys/types/ApiKey.d.ts +4 -16
- package/dist/cjs/serialization/resources/apiKeys/types/ApiKey.js +3 -15
- package/dist/cjs/serialization/resources/apiKeys/types/ApiKeyCreator.d.ts +10 -0
- package/dist/cjs/serialization/resources/apiKeys/types/{InboxPublicKeyScope.js → ApiKeyCreator.js} +4 -3
- package/dist/cjs/serialization/resources/apiKeys/types/ApiKeyMutableFields.d.ts +12 -0
- package/dist/cjs/serialization/resources/apiKeys/types/ApiKeyMutableFields.js +44 -0
- package/dist/cjs/serialization/resources/apiKeys/types/ApiKeyPermissions.d.ts +2 -0
- package/dist/cjs/serialization/resources/apiKeys/types/ApiKeyPermissions.js +2 -0
- package/dist/cjs/serialization/resources/apiKeys/types/ApiKeyType.d.ts +7 -0
- package/dist/cjs/serialization/resources/apiKeys/types/{BrowserAuthorizationListLimit.js → ApiKeyType.js} +2 -2
- package/dist/cjs/serialization/resources/apiKeys/types/AuthToken.d.ts +7 -0
- package/dist/cjs/serialization/resources/apiKeys/types/{BrowserEnrollmentTransactionJti.js → AuthToken.js} +2 -2
- package/dist/cjs/serialization/resources/apiKeys/types/BearerApiKey.d.ts +29 -0
- package/dist/cjs/serialization/resources/apiKeys/types/{ListBrowserCredentialsResponse.js → BearerApiKey.js} +23 -10
- package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeyRequest.d.ts +4 -7
- package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeyRequest.js +3 -6
- package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeyResponse.d.ts +4 -2
- package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeyResponse.js +4 -2
- package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeyResult.d.ts +9 -0
- package/dist/cjs/serialization/resources/apiKeys/types/{BrowserCredentialCreator.js → CreateApiKeyResult.js} +4 -6
- package/dist/cjs/serialization/resources/apiKeys/types/CreateBearerApiKeyRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/apiKeys/types/CreateBearerApiKeyRequest.js +40 -0
- package/dist/cjs/serialization/resources/apiKeys/types/CreatePublicKeyRequest.d.ts +8 -4
- package/dist/cjs/serialization/resources/apiKeys/types/CreatePublicKeyRequest.js +8 -4
- package/dist/cjs/serialization/resources/apiKeys/types/ExpiresAt.d.ts +7 -0
- package/dist/cjs/serialization/resources/apiKeys/types/{PodPublicKeyScope.js → ExpiresAt.js} +2 -4
- package/dist/cjs/serialization/resources/apiKeys/types/InboxScopeId.d.ts +7 -0
- package/dist/cjs/serialization/resources/apiKeys/types/InboxScopeId.js +39 -0
- package/dist/cjs/serialization/resources/apiKeys/types/PodScopeId.d.ts +7 -0
- package/dist/cjs/serialization/resources/apiKeys/types/PodScopeId.js +39 -0
- package/dist/cjs/serialization/resources/apiKeys/types/PublicKeyClientId.d.ts +7 -0
- package/dist/cjs/serialization/resources/apiKeys/types/PublicKeyClientId.js +39 -0
- package/dist/cjs/serialization/resources/apiKeys/types/PublicKeyCredential.d.ts +23 -8
- package/dist/cjs/serialization/resources/apiKeys/types/PublicKeyCredential.js +23 -8
- package/dist/cjs/serialization/resources/apiKeys/types/PublicKeyStatus.d.ts +7 -0
- package/dist/cjs/serialization/resources/apiKeys/types/PublicKeyStatus.js +39 -0
- package/dist/cjs/serialization/resources/apiKeys/types/UpdateApiKeyRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/apiKeys/types/{BrowserLifecycleApiKeyActor.js → UpdateApiKeyRequest.js} +3 -4
- package/dist/cjs/serialization/resources/apiKeys/types/UpdatedAt.d.ts +7 -0
- package/dist/cjs/serialization/resources/apiKeys/types/UpdatedAt.js +39 -0
- package/dist/cjs/serialization/resources/apiKeys/types/UsedAt.d.ts +7 -0
- package/dist/cjs/serialization/resources/apiKeys/types/UsedAt.js +39 -0
- package/dist/cjs/serialization/resources/apiKeys/types/index.d.ts +16 -25
- package/dist/cjs/serialization/resources/apiKeys/types/index.js +16 -25
- package/dist/cjs/serialization/resources/inboxes/types/AuthorizeInboxRequest.d.ts +12 -0
- package/dist/cjs/serialization/resources/{apiKeys/types/BrowserLifecycleCredentialActor.js → inboxes/types/AuthorizeInboxRequest.js} +6 -4
- package/dist/cjs/serialization/resources/inboxes/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/inboxes/types/index.js +1 -0
- package/dist/cjs/serialization/resources/providers/types/ConnectAccepted.d.ts +14 -0
- package/dist/cjs/serialization/resources/{apiKeys/types/BrowserEnrollmentAccepted.js → providers/types/ConnectAccepted.js} +8 -5
- package/dist/cjs/serialization/resources/providers/types/ConnectInboxId.d.ts +8 -0
- package/dist/cjs/serialization/resources/providers/types/ConnectInboxId.js +6 -0
- package/dist/cjs/serialization/resources/providers/types/ConnectProviderBody.d.ts +4 -3
- package/dist/cjs/serialization/resources/providers/types/ConnectProviderBody.js +4 -3
- package/dist/cjs/serialization/resources/providers/types/MagicUrl.d.ts +7 -0
- package/dist/cjs/serialization/resources/providers/types/MagicUrl.js +39 -0
- package/dist/cjs/serialization/resources/providers/types/index.d.ts +3 -1
- package/dist/cjs/serialization/resources/providers/types/index.js +3 -1
- 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 +37 -167
- package/dist/esm/api/resources/apiKeys/client/Client.mjs +66 -628
- package/dist/esm/api/resources/apiKeys/client/requests/ListApiKeysRequest.d.mts +2 -0
- package/dist/esm/api/resources/apiKeys/client/requests/index.d.mts +0 -5
- package/dist/esm/api/resources/apiKeys/types/AcceptDisclosure.d.mts +6 -0
- package/dist/esm/api/resources/apiKeys/types/ApiKey.d.mts +6 -13
- package/dist/esm/api/resources/apiKeys/types/ApiKeyCreator.d.mts +7 -0
- package/dist/esm/api/resources/apiKeys/types/ApiKeyMutableFields.d.mts +8 -0
- package/dist/esm/api/resources/apiKeys/types/ApiKeyPermissions.d.mts +10 -0
- package/dist/esm/api/resources/apiKeys/types/ApiKeyType.d.mts +5 -0
- package/dist/esm/api/resources/apiKeys/types/ApiKeyType.mjs +5 -0
- package/dist/esm/api/resources/apiKeys/types/AuthToken.d.mts +4 -0
- package/dist/esm/api/resources/apiKeys/types/BearerApiKey.d.mts +17 -0
- package/dist/esm/api/resources/apiKeys/types/CreateApiKeyRequest.d.mts +5 -4
- package/dist/esm/api/resources/apiKeys/types/CreateApiKeyResponse.d.mts +2 -4
- package/dist/esm/api/resources/apiKeys/types/CreateApiKeyResult.d.mts +5 -0
- package/dist/esm/api/resources/apiKeys/types/CreateBearerApiKeyRequest.d.mts +3 -0
- package/dist/esm/api/resources/apiKeys/types/CreatePublicKeyRequest.d.mts +10 -15
- package/dist/esm/api/resources/apiKeys/types/ExpiresAt.d.mts +4 -0
- package/dist/esm/api/resources/apiKeys/types/InboxScopeId.d.mts +4 -0
- package/dist/esm/api/resources/apiKeys/types/ListApiKeysResponse.d.mts +4 -1
- package/dist/esm/api/resources/apiKeys/types/PodScopeId.d.mts +4 -0
- package/dist/esm/api/resources/apiKeys/types/PublicKeyClientId.d.mts +7 -0
- package/dist/esm/api/resources/apiKeys/types/PublicKeyCredential.d.mts +18 -15
- package/dist/esm/api/resources/apiKeys/types/PublicKeyStatus.d.mts +10 -0
- package/dist/esm/api/resources/apiKeys/types/PublicKeyStatus.mjs +10 -0
- package/dist/esm/api/resources/apiKeys/types/UpdateApiKeyRequest.d.mts +7 -0
- package/dist/esm/api/resources/apiKeys/types/UpdatedAt.d.mts +4 -0
- package/dist/esm/api/resources/apiKeys/types/UsedAt.d.mts +4 -0
- package/dist/esm/api/resources/apiKeys/types/index.d.mts +16 -25
- package/dist/esm/api/resources/apiKeys/types/index.mjs +16 -25
- package/dist/esm/api/resources/inboxes/client/Client.d.mts +19 -3
- package/dist/esm/api/resources/inboxes/client/Client.mjs +84 -5
- package/dist/esm/api/resources/inboxes/resources/apiKeys/client/Client.d.mts +20 -1
- package/dist/esm/api/resources/inboxes/resources/apiKeys/client/Client.mjs +85 -1
- package/dist/esm/api/resources/inboxes/resources/index.d.mts +0 -1
- package/dist/esm/api/resources/inboxes/resources/index.mjs +0 -1
- package/dist/esm/api/resources/inboxes/types/AuthorizeInboxRequest.d.mts +10 -0
- package/dist/esm/api/resources/inboxes/types/index.d.mts +1 -0
- package/dist/esm/api/resources/inboxes/types/index.mjs +1 -0
- package/dist/esm/api/resources/pods/resources/apiKeys/client/Client.d.mts +19 -0
- package/dist/esm/api/resources/pods/resources/apiKeys/client/Client.mjs +84 -0
- package/dist/esm/api/resources/providers/client/Client.d.mts +7 -9
- package/dist/esm/api/resources/providers/client/Client.mjs +8 -16
- package/dist/esm/api/resources/providers/types/ConnectAccepted.d.mts +9 -0
- package/dist/esm/api/resources/providers/types/ConnectInboxId.d.mts +5 -0
- package/dist/esm/api/resources/providers/types/ConnectProviderBody.d.mts +2 -4
- package/dist/esm/api/resources/providers/types/MagicUrl.d.mts +4 -0
- package/dist/esm/api/resources/providers/types/index.d.mts +3 -1
- package/dist/esm/api/resources/providers/types/index.mjs +3 -1
- package/dist/esm/serialization/resources/apiKeys/types/AcceptDisclosure.d.mts +7 -0
- package/dist/esm/serialization/resources/apiKeys/types/{OrganizationPublicKeyScope.mjs → AcceptDisclosure.mjs} +1 -1
- package/dist/esm/serialization/resources/apiKeys/types/ApiKey.d.mts +4 -16
- package/dist/esm/serialization/resources/apiKeys/types/ApiKey.mjs +3 -15
- package/dist/esm/serialization/resources/apiKeys/types/ApiKeyCreator.d.mts +10 -0
- package/dist/esm/serialization/resources/apiKeys/types/ApiKeyCreator.mjs +6 -0
- package/dist/esm/serialization/resources/apiKeys/types/ApiKeyMutableFields.d.mts +12 -0
- package/dist/esm/serialization/resources/apiKeys/types/ApiKeyMutableFields.mjs +8 -0
- package/dist/esm/serialization/resources/apiKeys/types/ApiKeyPermissions.d.mts +2 -0
- package/dist/esm/serialization/resources/apiKeys/types/ApiKeyPermissions.mjs +2 -0
- package/dist/esm/serialization/resources/apiKeys/types/ApiKeyType.d.mts +7 -0
- package/dist/esm/serialization/resources/apiKeys/types/{PodPublicKeyScope.mjs → ApiKeyType.mjs} +1 -3
- package/dist/esm/serialization/resources/apiKeys/types/AuthToken.d.mts +7 -0
- package/dist/esm/serialization/resources/apiKeys/types/{BrowserAuthorizationListLimit.mjs → AuthToken.mjs} +1 -1
- package/dist/esm/serialization/resources/apiKeys/types/BearerApiKey.d.mts +29 -0
- package/dist/esm/serialization/resources/apiKeys/types/BearerApiKey.mjs +25 -0
- package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeyRequest.d.mts +4 -7
- package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeyRequest.mjs +3 -6
- package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeyResponse.d.mts +4 -2
- package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeyResponse.mjs +4 -2
- package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeyResult.d.mts +9 -0
- package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeyResult.mjs +5 -0
- package/dist/esm/serialization/resources/apiKeys/types/CreateBearerApiKeyRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/apiKeys/types/CreateBearerApiKeyRequest.mjs +4 -0
- package/dist/esm/serialization/resources/apiKeys/types/CreatePublicKeyRequest.d.mts +8 -4
- package/dist/esm/serialization/resources/apiKeys/types/CreatePublicKeyRequest.mjs +8 -4
- package/dist/esm/serialization/resources/apiKeys/types/ExpiresAt.d.mts +7 -0
- package/dist/esm/serialization/resources/apiKeys/types/{BrowserEnrollmentTransactionJti.mjs → ExpiresAt.mjs} +1 -1
- package/dist/esm/serialization/resources/apiKeys/types/InboxScopeId.d.mts +7 -0
- package/dist/esm/serialization/resources/apiKeys/types/InboxScopeId.mjs +3 -0
- package/dist/esm/serialization/resources/apiKeys/types/PodScopeId.d.mts +7 -0
- package/dist/esm/serialization/resources/apiKeys/types/PodScopeId.mjs +3 -0
- package/dist/esm/serialization/resources/apiKeys/types/PublicKeyClientId.d.mts +7 -0
- package/dist/esm/serialization/resources/apiKeys/types/PublicKeyClientId.mjs +3 -0
- package/dist/esm/serialization/resources/apiKeys/types/PublicKeyCredential.d.mts +23 -8
- package/dist/esm/serialization/resources/apiKeys/types/PublicKeyCredential.mjs +23 -8
- package/dist/esm/serialization/resources/apiKeys/types/PublicKeyStatus.d.mts +7 -0
- package/dist/esm/serialization/resources/apiKeys/types/PublicKeyStatus.mjs +3 -0
- package/dist/esm/serialization/resources/apiKeys/types/UpdateApiKeyRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/apiKeys/types/UpdateApiKeyRequest.mjs +4 -0
- package/dist/esm/serialization/resources/apiKeys/types/UpdatedAt.d.mts +7 -0
- package/dist/esm/serialization/resources/apiKeys/types/UpdatedAt.mjs +3 -0
- package/dist/esm/serialization/resources/apiKeys/types/UsedAt.d.mts +7 -0
- package/dist/esm/serialization/resources/apiKeys/types/UsedAt.mjs +3 -0
- package/dist/esm/serialization/resources/apiKeys/types/index.d.mts +16 -25
- package/dist/esm/serialization/resources/apiKeys/types/index.mjs +16 -25
- package/dist/esm/serialization/resources/inboxes/types/AuthorizeInboxRequest.d.mts +12 -0
- package/dist/esm/serialization/resources/inboxes/types/AuthorizeInboxRequest.mjs +8 -0
- package/dist/esm/serialization/resources/inboxes/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/inboxes/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/providers/types/ConnectAccepted.d.mts +14 -0
- package/dist/esm/serialization/resources/providers/types/ConnectAccepted.mjs +10 -0
- package/dist/esm/serialization/resources/providers/types/ConnectInboxId.d.mts +8 -0
- package/dist/esm/serialization/resources/providers/types/ConnectInboxId.mjs +3 -0
- package/dist/esm/serialization/resources/providers/types/ConnectProviderBody.d.mts +4 -3
- package/dist/esm/serialization/resources/providers/types/ConnectProviderBody.mjs +4 -3
- package/dist/esm/serialization/resources/providers/types/MagicUrl.d.mts +7 -0
- package/dist/esm/serialization/resources/providers/types/MagicUrl.mjs +3 -0
- package/dist/esm/serialization/resources/providers/types/index.d.mts +3 -1
- package/dist/esm/serialization/resources/providers/types/index.mjs +3 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -12
- package/reference.md +288 -729
- package/dist/cjs/api/resources/apiKeys/client/requests/ListBrowserConsentsRequest.d.ts +0 -12
- package/dist/cjs/api/resources/apiKeys/client/requests/ListBrowserCredentialEventsRequest.d.ts +0 -9
- package/dist/cjs/api/resources/apiKeys/client/requests/ListBrowserCredentialsRequest.d.ts +0 -9
- package/dist/cjs/api/resources/apiKeys/client/requests/ListPublicKeysRequest.d.ts +0 -10
- package/dist/cjs/api/resources/apiKeys/client/requests/RevokeAllAgentIdSignInKeysRequest.d.ts +0 -10
- package/dist/cjs/api/resources/apiKeys/types/BrowserAuthorizationListLimit.d.ts +0 -1
- package/dist/cjs/api/resources/apiKeys/types/BrowserConsent.d.ts +0 -16
- package/dist/cjs/api/resources/apiKeys/types/BrowserConsentLifecycleEvent.d.ts +0 -13
- package/dist/cjs/api/resources/apiKeys/types/BrowserConsentLifecycleEventType.d.ts +0 -7
- package/dist/cjs/api/resources/apiKeys/types/BrowserConsentLifecycleEventType.js +0 -10
- package/dist/cjs/api/resources/apiKeys/types/BrowserCredential.d.ts +0 -14
- package/dist/cjs/api/resources/apiKeys/types/BrowserCredentialCreator.d.ts +0 -7
- package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentAccepted.d.ts +0 -11
- package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.d.ts +0 -12
- package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.d.ts +0 -7
- package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.js +0 -10
- package/dist/cjs/api/resources/apiKeys/types/BrowserEnrollmentTransactionJti.d.ts +0 -4
- package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleActor.d.ts +0 -10
- package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleApiKeyActor.d.ts +0 -3
- package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleCredentialActor.d.ts +0 -4
- package/dist/cjs/api/resources/apiKeys/types/BrowserLifecycleEvent.d.ts +0 -2
- package/dist/cjs/api/resources/apiKeys/types/CreateBrowserEnrollmentRequest.d.ts +0 -9
- package/dist/cjs/api/resources/apiKeys/types/InboxPublicKeyScope.d.ts +0 -7
- package/dist/cjs/api/resources/apiKeys/types/InboxPublicKeyScope.js +0 -3
- package/dist/cjs/api/resources/apiKeys/types/ListBrowserConsentsResponse.d.ts +0 -7
- package/dist/cjs/api/resources/apiKeys/types/ListBrowserConsentsResponse.js +0 -3
- package/dist/cjs/api/resources/apiKeys/types/ListBrowserCredentialsResponse.d.ts +0 -7
- package/dist/cjs/api/resources/apiKeys/types/ListBrowserCredentialsResponse.js +0 -3
- package/dist/cjs/api/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.d.ts +0 -7
- package/dist/cjs/api/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.js +0 -3
- package/dist/cjs/api/resources/apiKeys/types/ListPublicKeysResponse.d.ts +0 -7
- package/dist/cjs/api/resources/apiKeys/types/ListPublicKeysResponse.js +0 -3
- package/dist/cjs/api/resources/apiKeys/types/OrganizationPublicKeyScope.d.ts +0 -4
- package/dist/cjs/api/resources/apiKeys/types/OrganizationPublicKeyScope.js +0 -3
- package/dist/cjs/api/resources/apiKeys/types/PodPublicKeyScope.d.ts +0 -7
- package/dist/cjs/api/resources/apiKeys/types/PodPublicKeyScope.js +0 -3
- package/dist/cjs/api/resources/apiKeys/types/PublicKeyScope.d.ts +0 -16
- package/dist/cjs/api/resources/apiKeys/types/PublicKeyScope.js +0 -3
- package/dist/cjs/api/resources/apiKeys/types/RevokeAllAgentIdSignInKeysResponse.d.ts +0 -8
- package/dist/cjs/api/resources/apiKeys/types/RevokeAllAgentIdSignInKeysResponse.js +0 -3
- package/dist/cjs/api/resources/apiKeys/types/UpdatePublicKeyNameRequest.d.ts +0 -7
- package/dist/cjs/api/resources/apiKeys/types/UpdatePublicKeyNameRequest.js +0 -3
- package/dist/cjs/api/resources/inboxes/resources/browserCredentials/client/Client.d.ts +0 -55
- package/dist/cjs/api/resources/inboxes/resources/browserCredentials/client/Client.js +0 -175
- package/dist/cjs/api/resources/inboxes/resources/browserCredentials/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/inboxes/resources/browserCredentials/client/index.js +0 -2
- package/dist/cjs/api/resources/inboxes/resources/browserCredentials/exports.d.ts +0 -2
- package/dist/cjs/api/resources/inboxes/resources/browserCredentials/exports.js +0 -21
- package/dist/cjs/api/resources/inboxes/resources/browserCredentials/index.d.ts +0 -1
- package/dist/cjs/api/resources/inboxes/resources/browserCredentials/index.js +0 -17
- package/dist/cjs/api/resources/providers/types/ConnectProviderAccepted.d.ts +0 -8
- package/dist/cjs/api/resources/providers/types/ConnectProviderAccepted.js +0 -3
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserAuthorizationListLimit.d.ts +0 -7
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsent.d.ts +0 -17
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsent.js +0 -49
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsentLifecycleEvent.d.ts +0 -20
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsentLifecycleEvent.js +0 -52
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsentLifecycleEventType.d.ts +0 -7
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserConsentLifecycleEventType.js +0 -44
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserCredential.d.ts +0 -17
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserCredential.js +0 -49
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserCredentialCreator.d.ts +0 -11
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentAccepted.d.ts +0 -11
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.d.ts +0 -19
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.js +0 -51
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.d.ts +0 -7
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.js +0 -44
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserEnrollmentTransactionJti.d.ts +0 -7
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleActor.d.ts +0 -15
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleActor.js +0 -49
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleApiKeyActor.d.ts +0 -9
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleCredentialActor.d.ts +0 -10
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleEvent.d.ts +0 -9
- package/dist/cjs/serialization/resources/apiKeys/types/BrowserLifecycleEvent.js +0 -41
- package/dist/cjs/serialization/resources/apiKeys/types/CreateBrowserEnrollmentRequest.d.ts +0 -10
- package/dist/cjs/serialization/resources/apiKeys/types/CreateBrowserEnrollmentRequest.js +0 -42
- package/dist/cjs/serialization/resources/apiKeys/types/InboxPublicKeyScope.d.ts +0 -9
- package/dist/cjs/serialization/resources/apiKeys/types/ListBrowserConsentsResponse.d.ts +0 -16
- package/dist/cjs/serialization/resources/apiKeys/types/ListBrowserConsentsResponse.js +0 -48
- package/dist/cjs/serialization/resources/apiKeys/types/ListBrowserCredentialsResponse.d.ts +0 -16
- package/dist/cjs/serialization/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.d.ts +0 -16
- package/dist/cjs/serialization/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.js +0 -48
- package/dist/cjs/serialization/resources/apiKeys/types/ListPublicKeysResponse.d.ts +0 -14
- package/dist/cjs/serialization/resources/apiKeys/types/ListPublicKeysResponse.js +0 -46
- package/dist/cjs/serialization/resources/apiKeys/types/OrganizationPublicKeyScope.d.ts +0 -7
- package/dist/cjs/serialization/resources/apiKeys/types/PodPublicKeyScope.d.ts +0 -9
- package/dist/cjs/serialization/resources/apiKeys/types/PublicKeyScope.d.ts +0 -19
- package/dist/cjs/serialization/resources/apiKeys/types/PublicKeyScope.js +0 -51
- package/dist/cjs/serialization/resources/apiKeys/types/RevokeAllAgentIdSignInKeysResponse.d.ts +0 -11
- package/dist/cjs/serialization/resources/apiKeys/types/RevokeAllAgentIdSignInKeysResponse.js +0 -43
- package/dist/cjs/serialization/resources/apiKeys/types/UpdatePublicKeyNameRequest.d.ts +0 -9
- package/dist/cjs/serialization/resources/apiKeys/types/UpdatePublicKeyNameRequest.js +0 -41
- package/dist/cjs/serialization/resources/providers/types/ConnectProviderAccepted.d.ts +0 -11
- package/dist/cjs/serialization/resources/providers/types/ConnectProviderAccepted.js +0 -43
- package/dist/esm/api/resources/apiKeys/client/requests/ListBrowserConsentsRequest.d.mts +0 -12
- package/dist/esm/api/resources/apiKeys/client/requests/ListBrowserCredentialEventsRequest.d.mts +0 -9
- package/dist/esm/api/resources/apiKeys/client/requests/ListBrowserCredentialsRequest.d.mts +0 -9
- package/dist/esm/api/resources/apiKeys/client/requests/ListPublicKeysRequest.d.mts +0 -10
- package/dist/esm/api/resources/apiKeys/client/requests/RevokeAllAgentIdSignInKeysRequest.d.mts +0 -10
- package/dist/esm/api/resources/apiKeys/types/BrowserAuthorizationListLimit.d.mts +0 -1
- package/dist/esm/api/resources/apiKeys/types/BrowserConsent.d.mts +0 -16
- package/dist/esm/api/resources/apiKeys/types/BrowserConsentLifecycleEvent.d.mts +0 -13
- package/dist/esm/api/resources/apiKeys/types/BrowserConsentLifecycleEventType.d.mts +0 -7
- package/dist/esm/api/resources/apiKeys/types/BrowserConsentLifecycleEventType.mjs +0 -7
- package/dist/esm/api/resources/apiKeys/types/BrowserCredential.d.mts +0 -14
- package/dist/esm/api/resources/apiKeys/types/BrowserCredentialCreator.d.mts +0 -7
- package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentAccepted.d.mts +0 -11
- package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.d.mts +0 -12
- package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.d.mts +0 -7
- package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.mjs +0 -7
- package/dist/esm/api/resources/apiKeys/types/BrowserEnrollmentTransactionJti.d.mts +0 -4
- package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleActor.d.mts +0 -10
- package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleApiKeyActor.d.mts +0 -3
- package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleCredentialActor.d.mts +0 -4
- package/dist/esm/api/resources/apiKeys/types/BrowserLifecycleEvent.d.mts +0 -2
- package/dist/esm/api/resources/apiKeys/types/CreateBrowserEnrollmentRequest.d.mts +0 -9
- package/dist/esm/api/resources/apiKeys/types/InboxPublicKeyScope.d.mts +0 -7
- package/dist/esm/api/resources/apiKeys/types/InboxPublicKeyScope.mjs +0 -2
- package/dist/esm/api/resources/apiKeys/types/ListBrowserConsentsResponse.d.mts +0 -7
- package/dist/esm/api/resources/apiKeys/types/ListBrowserConsentsResponse.mjs +0 -2
- package/dist/esm/api/resources/apiKeys/types/ListBrowserCredentialsResponse.d.mts +0 -7
- package/dist/esm/api/resources/apiKeys/types/ListBrowserCredentialsResponse.mjs +0 -2
- package/dist/esm/api/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.d.mts +0 -7
- package/dist/esm/api/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.mjs +0 -2
- package/dist/esm/api/resources/apiKeys/types/ListPublicKeysResponse.d.mts +0 -7
- package/dist/esm/api/resources/apiKeys/types/ListPublicKeysResponse.mjs +0 -2
- package/dist/esm/api/resources/apiKeys/types/OrganizationPublicKeyScope.d.mts +0 -4
- package/dist/esm/api/resources/apiKeys/types/OrganizationPublicKeyScope.mjs +0 -2
- package/dist/esm/api/resources/apiKeys/types/PodPublicKeyScope.d.mts +0 -7
- package/dist/esm/api/resources/apiKeys/types/PodPublicKeyScope.mjs +0 -2
- package/dist/esm/api/resources/apiKeys/types/PublicKeyScope.d.mts +0 -16
- package/dist/esm/api/resources/apiKeys/types/PublicKeyScope.mjs +0 -2
- package/dist/esm/api/resources/apiKeys/types/RevokeAllAgentIdSignInKeysResponse.d.mts +0 -8
- package/dist/esm/api/resources/apiKeys/types/RevokeAllAgentIdSignInKeysResponse.mjs +0 -2
- package/dist/esm/api/resources/apiKeys/types/UpdatePublicKeyNameRequest.d.mts +0 -7
- package/dist/esm/api/resources/apiKeys/types/UpdatePublicKeyNameRequest.mjs +0 -2
- package/dist/esm/api/resources/inboxes/resources/browserCredentials/client/Client.d.mts +0 -55
- package/dist/esm/api/resources/inboxes/resources/browserCredentials/client/Client.mjs +0 -138
- package/dist/esm/api/resources/inboxes/resources/browserCredentials/client/index.d.mts +0 -1
- package/dist/esm/api/resources/inboxes/resources/browserCredentials/client/index.mjs +0 -1
- package/dist/esm/api/resources/inboxes/resources/browserCredentials/exports.d.mts +0 -2
- package/dist/esm/api/resources/inboxes/resources/browserCredentials/exports.mjs +0 -3
- package/dist/esm/api/resources/inboxes/resources/browserCredentials/index.d.mts +0 -1
- package/dist/esm/api/resources/inboxes/resources/browserCredentials/index.mjs +0 -1
- package/dist/esm/api/resources/providers/types/ConnectProviderAccepted.d.mts +0 -8
- package/dist/esm/api/resources/providers/types/ConnectProviderAccepted.mjs +0 -2
- package/dist/esm/serialization/resources/apiKeys/types/BrowserAuthorizationListLimit.d.mts +0 -7
- package/dist/esm/serialization/resources/apiKeys/types/BrowserConsent.d.mts +0 -17
- package/dist/esm/serialization/resources/apiKeys/types/BrowserConsent.mjs +0 -13
- package/dist/esm/serialization/resources/apiKeys/types/BrowserConsentLifecycleEvent.d.mts +0 -20
- package/dist/esm/serialization/resources/apiKeys/types/BrowserConsentLifecycleEvent.mjs +0 -16
- package/dist/esm/serialization/resources/apiKeys/types/BrowserConsentLifecycleEventType.d.mts +0 -7
- package/dist/esm/serialization/resources/apiKeys/types/BrowserConsentLifecycleEventType.mjs +0 -8
- package/dist/esm/serialization/resources/apiKeys/types/BrowserCredential.d.mts +0 -17
- package/dist/esm/serialization/resources/apiKeys/types/BrowserCredential.mjs +0 -13
- package/dist/esm/serialization/resources/apiKeys/types/BrowserCredentialCreator.d.mts +0 -11
- package/dist/esm/serialization/resources/apiKeys/types/BrowserCredentialCreator.mjs +0 -7
- package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentAccepted.d.mts +0 -11
- package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentAccepted.mjs +0 -7
- package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.d.mts +0 -19
- package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEvent.mjs +0 -15
- package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.d.mts +0 -7
- package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentLifecycleEventType.mjs +0 -8
- package/dist/esm/serialization/resources/apiKeys/types/BrowserEnrollmentTransactionJti.d.mts +0 -7
- package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleActor.d.mts +0 -15
- package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleActor.mjs +0 -13
- package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleApiKeyActor.d.mts +0 -9
- package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleApiKeyActor.mjs +0 -5
- package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleCredentialActor.d.mts +0 -10
- package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleCredentialActor.mjs +0 -6
- package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleEvent.d.mts +0 -9
- package/dist/esm/serialization/resources/apiKeys/types/BrowserLifecycleEvent.mjs +0 -5
- package/dist/esm/serialization/resources/apiKeys/types/CreateBrowserEnrollmentRequest.d.mts +0 -10
- package/dist/esm/serialization/resources/apiKeys/types/CreateBrowserEnrollmentRequest.mjs +0 -6
- package/dist/esm/serialization/resources/apiKeys/types/InboxPublicKeyScope.d.mts +0 -9
- package/dist/esm/serialization/resources/apiKeys/types/InboxPublicKeyScope.mjs +0 -5
- package/dist/esm/serialization/resources/apiKeys/types/ListBrowserConsentsResponse.d.mts +0 -16
- package/dist/esm/serialization/resources/apiKeys/types/ListBrowserConsentsResponse.mjs +0 -12
- package/dist/esm/serialization/resources/apiKeys/types/ListBrowserCredentialsResponse.d.mts +0 -16
- package/dist/esm/serialization/resources/apiKeys/types/ListBrowserCredentialsResponse.mjs +0 -12
- package/dist/esm/serialization/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.d.mts +0 -16
- package/dist/esm/serialization/resources/apiKeys/types/ListBrowserLifecycleEventsResponse.mjs +0 -12
- package/dist/esm/serialization/resources/apiKeys/types/ListPublicKeysResponse.d.mts +0 -14
- package/dist/esm/serialization/resources/apiKeys/types/ListPublicKeysResponse.mjs +0 -10
- package/dist/esm/serialization/resources/apiKeys/types/OrganizationPublicKeyScope.d.mts +0 -7
- package/dist/esm/serialization/resources/apiKeys/types/PodPublicKeyScope.d.mts +0 -9
- package/dist/esm/serialization/resources/apiKeys/types/PublicKeyScope.d.mts +0 -19
- package/dist/esm/serialization/resources/apiKeys/types/PublicKeyScope.mjs +0 -15
- package/dist/esm/serialization/resources/apiKeys/types/RevokeAllAgentIdSignInKeysResponse.d.mts +0 -11
- package/dist/esm/serialization/resources/apiKeys/types/RevokeAllAgentIdSignInKeysResponse.mjs +0 -7
- package/dist/esm/serialization/resources/apiKeys/types/UpdatePublicKeyNameRequest.d.mts +0 -9
- package/dist/esm/serialization/resources/apiKeys/types/UpdatePublicKeyNameRequest.mjs +0 -5
- package/dist/esm/serialization/resources/providers/types/ConnectProviderAccepted.d.mts +0 -11
- package/dist/esm/serialization/resources/providers/types/ConnectProviderAccepted.mjs +0 -7
- /package/dist/cjs/api/resources/apiKeys/{client/requests/ListBrowserConsentsRequest.js → types/AcceptDisclosure.js} +0 -0
- /package/dist/cjs/api/resources/apiKeys/{client/requests/ListBrowserCredentialEventsRequest.js → types/ApiKeyCreator.js} +0 -0
- /package/dist/cjs/api/resources/apiKeys/{client/requests/ListBrowserCredentialsRequest.js → types/ApiKeyMutableFields.js} +0 -0
- /package/dist/cjs/api/resources/apiKeys/{client/requests/ListPublicKeysRequest.js → types/AuthToken.js} +0 -0
- /package/dist/cjs/api/resources/apiKeys/{client/requests/RevokeAllAgentIdSignInKeysRequest.js → types/BearerApiKey.js} +0 -0
- /package/dist/cjs/api/resources/apiKeys/types/{BrowserAuthorizationListLimit.js → CreateApiKeyResult.js} +0 -0
- /package/dist/cjs/api/resources/apiKeys/types/{BrowserConsent.js → CreateBearerApiKeyRequest.js} +0 -0
- /package/dist/cjs/api/resources/apiKeys/types/{BrowserConsentLifecycleEvent.js → ExpiresAt.js} +0 -0
- /package/dist/cjs/api/resources/apiKeys/types/{BrowserCredential.js → InboxScopeId.js} +0 -0
- /package/dist/cjs/api/resources/apiKeys/types/{BrowserCredentialCreator.js → PodScopeId.js} +0 -0
- /package/dist/cjs/api/resources/apiKeys/types/{BrowserEnrollmentAccepted.js → PublicKeyClientId.js} +0 -0
- /package/dist/cjs/api/resources/apiKeys/types/{BrowserEnrollmentLifecycleEvent.js → UpdateApiKeyRequest.js} +0 -0
- /package/dist/cjs/api/resources/apiKeys/types/{BrowserEnrollmentTransactionJti.js → UpdatedAt.js} +0 -0
- /package/dist/cjs/api/resources/apiKeys/types/{BrowserLifecycleActor.js → UsedAt.js} +0 -0
- /package/dist/cjs/api/resources/{apiKeys/types/BrowserLifecycleApiKeyActor.js → inboxes/types/AuthorizeInboxRequest.js} +0 -0
- /package/dist/cjs/api/resources/{apiKeys/types/BrowserLifecycleCredentialActor.js → providers/types/ConnectAccepted.js} +0 -0
- /package/dist/cjs/api/resources/{apiKeys/types/BrowserLifecycleEvent.js → providers/types/ConnectInboxId.js} +0 -0
- /package/dist/cjs/api/resources/{apiKeys/types/CreateBrowserEnrollmentRequest.js → providers/types/MagicUrl.js} +0 -0
- /package/dist/esm/api/resources/apiKeys/{client/requests/ListBrowserConsentsRequest.mjs → types/AcceptDisclosure.mjs} +0 -0
- /package/dist/esm/api/resources/apiKeys/{client/requests/ListBrowserCredentialEventsRequest.mjs → types/ApiKeyCreator.mjs} +0 -0
- /package/dist/esm/api/resources/apiKeys/{client/requests/ListBrowserCredentialsRequest.mjs → types/ApiKeyMutableFields.mjs} +0 -0
- /package/dist/esm/api/resources/apiKeys/{client/requests/ListPublicKeysRequest.mjs → types/AuthToken.mjs} +0 -0
- /package/dist/esm/api/resources/apiKeys/{client/requests/RevokeAllAgentIdSignInKeysRequest.mjs → types/BearerApiKey.mjs} +0 -0
- /package/dist/esm/api/resources/apiKeys/types/{BrowserAuthorizationListLimit.mjs → CreateApiKeyResult.mjs} +0 -0
- /package/dist/esm/api/resources/apiKeys/types/{BrowserConsent.mjs → CreateBearerApiKeyRequest.mjs} +0 -0
- /package/dist/esm/api/resources/apiKeys/types/{BrowserConsentLifecycleEvent.mjs → ExpiresAt.mjs} +0 -0
- /package/dist/esm/api/resources/apiKeys/types/{BrowserCredential.mjs → InboxScopeId.mjs} +0 -0
- /package/dist/esm/api/resources/apiKeys/types/{BrowserCredentialCreator.mjs → PodScopeId.mjs} +0 -0
- /package/dist/esm/api/resources/apiKeys/types/{BrowserEnrollmentAccepted.mjs → PublicKeyClientId.mjs} +0 -0
- /package/dist/esm/api/resources/apiKeys/types/{BrowserEnrollmentLifecycleEvent.mjs → UpdateApiKeyRequest.mjs} +0 -0
- /package/dist/esm/api/resources/apiKeys/types/{BrowserEnrollmentTransactionJti.mjs → UpdatedAt.mjs} +0 -0
- /package/dist/esm/api/resources/apiKeys/types/{BrowserLifecycleActor.mjs → UsedAt.mjs} +0 -0
- /package/dist/esm/api/resources/{apiKeys/types/BrowserLifecycleApiKeyActor.mjs → inboxes/types/AuthorizeInboxRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{apiKeys/types/BrowserLifecycleCredentialActor.mjs → providers/types/ConnectAccepted.mjs} +0 -0
- /package/dist/esm/api/resources/{apiKeys/types/BrowserLifecycleEvent.mjs → providers/types/ConnectInboxId.mjs} +0 -0
- /package/dist/esm/api/resources/{apiKeys/types/CreateBrowserEnrollmentRequest.mjs → providers/types/MagicUrl.mjs} +0 -0
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export const BrowserConsentLifecycleEventType = {
|
|
3
|
-
BrowserConsentCreated: "browser_consent_created",
|
|
4
|
-
BrowserConsentUpdated: "browser_consent_updated",
|
|
5
|
-
BrowserConsentReused: "browser_consent_reused",
|
|
6
|
-
BrowserConsentRevoked: "browser_consent_revoked",
|
|
7
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type * as AgentMail from "../../../index.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* Owner-facing metadata for an active browser credential. Private key material never leaves the browser.
|
|
4
|
-
*/
|
|
5
|
-
export interface BrowserCredential {
|
|
6
|
-
credentialId: string;
|
|
7
|
-
publicKeyFingerprintPrefix: string;
|
|
8
|
-
organizationId: string;
|
|
9
|
-
podId: string;
|
|
10
|
-
inboxId: string;
|
|
11
|
-
createdBy: AgentMail.BrowserCredentialCreator;
|
|
12
|
-
createdAt: Date;
|
|
13
|
-
expiresAt: Date;
|
|
14
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Pending enrollment receipt. The browser completes key creation and proof
|
|
3
|
-
* on the existing AgentID page. This response contains no URL, token, or
|
|
4
|
-
* navigation instruction.
|
|
5
|
-
*/
|
|
6
|
-
export interface BrowserEnrollmentAccepted {
|
|
7
|
-
status: "pending";
|
|
8
|
-
enrollmentId: string;
|
|
9
|
-
/** Unix timestamp after which the pending enrollment cannot be activated. */
|
|
10
|
-
expiresAt: number;
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type * as AgentMail from "../../../index.mjs";
|
|
2
|
-
export interface BrowserEnrollmentLifecycleEvent {
|
|
3
|
-
type: AgentMail.BrowserEnrollmentLifecycleEventType;
|
|
4
|
-
traceId: string;
|
|
5
|
-
eventId: string;
|
|
6
|
-
occurredAt: Date;
|
|
7
|
-
organizationId: string;
|
|
8
|
-
podId: string;
|
|
9
|
-
actor: AgentMail.BrowserLifecycleActor;
|
|
10
|
-
enrollmentId: string;
|
|
11
|
-
credentialId: string;
|
|
12
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const BrowserEnrollmentLifecycleEventType: {
|
|
2
|
-
readonly BrowserEnrollmentIntentCreated: "browser_enrollment_intent_created";
|
|
3
|
-
readonly BrowserCredentialActivated: "browser_credential_activated";
|
|
4
|
-
readonly BrowserEnrollmentCancelled: "browser_enrollment_cancelled";
|
|
5
|
-
readonly BrowserCredentialDeleted: "browser_credential_deleted";
|
|
6
|
-
};
|
|
7
|
-
export type BrowserEnrollmentLifecycleEventType = (typeof BrowserEnrollmentLifecycleEventType)[keyof typeof BrowserEnrollmentLifecycleEventType];
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export const BrowserEnrollmentLifecycleEventType = {
|
|
3
|
-
BrowserEnrollmentIntentCreated: "browser_enrollment_intent_created",
|
|
4
|
-
BrowserCredentialActivated: "browser_credential_activated",
|
|
5
|
-
BrowserEnrollmentCancelled: "browser_enrollment_cancelled",
|
|
6
|
-
BrowserCredentialDeleted: "browser_credential_deleted",
|
|
7
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type * as AgentMail from "../../../index.mjs";
|
|
2
|
-
export type BrowserLifecycleActor = AgentMail.BrowserLifecycleActor.ApiKey | AgentMail.BrowserLifecycleActor.BrowserCredential;
|
|
3
|
-
export declare namespace BrowserLifecycleActor {
|
|
4
|
-
interface ApiKey extends AgentMail.BrowserLifecycleApiKeyActor {
|
|
5
|
-
type: "api_key";
|
|
6
|
-
}
|
|
7
|
-
interface BrowserCredential extends AgentMail.BrowserLifecycleCredentialActor {
|
|
8
|
-
type: "browser_credential";
|
|
9
|
-
}
|
|
10
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type * as AgentMail from "../../../index.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* Attach a browser enrollment intent to one pending AgentID authorization
|
|
4
|
-
* transaction. The inbox is selected by the trusted path parameter, not an
|
|
5
|
-
* AgentID `login_hint`.
|
|
6
|
-
*/
|
|
7
|
-
export interface CreateBrowserEnrollmentRequest {
|
|
8
|
-
transactionJti: AgentMail.BrowserEnrollmentTransactionJti;
|
|
9
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type * as AgentMail from "../../../index.mjs";
|
|
2
|
-
export interface ListBrowserCredentialsResponse {
|
|
3
|
-
count: AgentMail.Count;
|
|
4
|
-
limit: AgentMail.BrowserAuthorizationListLimit;
|
|
5
|
-
nextPageToken?: AgentMail.PageToken;
|
|
6
|
-
credentials: AgentMail.BrowserCredential[];
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type * as AgentMail from "../../../index.mjs";
|
|
2
|
-
export interface ListBrowserLifecycleEventsResponse {
|
|
3
|
-
count: AgentMail.Count;
|
|
4
|
-
limit: AgentMail.BrowserAuthorizationListLimit;
|
|
5
|
-
nextPageToken?: AgentMail.PageToken;
|
|
6
|
-
events: AgentMail.BrowserLifecycleEvent[];
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type * as AgentMail from "../../../index.mjs";
|
|
2
|
-
export interface ListPublicKeysResponse {
|
|
3
|
-
count: AgentMail.Count;
|
|
4
|
-
nextPageToken?: AgentMail.PageToken;
|
|
5
|
-
/** Public-key credentials only, ordered by creation time descending by default. */
|
|
6
|
-
publicKeys: AgentMail.PublicKeyCredential[];
|
|
7
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type * as AgentMail from "../../../index.mjs";
|
|
2
|
-
/**
|
|
3
|
-
* The immutable scope in which a public-key credential can approve AgentID sign-in.
|
|
4
|
-
*/
|
|
5
|
-
export type PublicKeyScope = AgentMail.PublicKeyScope.Organization | AgentMail.PublicKeyScope.Pod | AgentMail.PublicKeyScope.Inbox;
|
|
6
|
-
export declare namespace PublicKeyScope {
|
|
7
|
-
interface Organization extends AgentMail.OrganizationPublicKeyScope {
|
|
8
|
-
type: "organization";
|
|
9
|
-
}
|
|
10
|
-
interface Pod extends AgentMail.PodPublicKeyScope {
|
|
11
|
-
type: "pod";
|
|
12
|
-
}
|
|
13
|
-
interface Inbox extends AgentMail.InboxPublicKeyScope {
|
|
14
|
-
type: "inbox";
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.mjs";
|
|
2
|
-
import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
|
|
3
|
-
import * as core from "../../../../../../core/index.mjs";
|
|
4
|
-
import * as AgentMail from "../../../../../index.mjs";
|
|
5
|
-
export declare namespace BrowserCredentialsClient {
|
|
6
|
-
type Options = BaseClientOptions;
|
|
7
|
-
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
export declare class BrowserCredentialsClient {
|
|
11
|
-
protected readonly _options: NormalizedClientOptionsWithAuth<BrowserCredentialsClient.Options>;
|
|
12
|
-
constructor(options?: BrowserCredentialsClient.Options);
|
|
13
|
-
/**
|
|
14
|
-
* Attach a browser enrollment intent to the inbox. Requires
|
|
15
|
-
* `api_key_create`. Before submitting `transaction_jti`, independently
|
|
16
|
-
* verify that the browser page's final origin is exactly
|
|
17
|
-
* `https://auth.agentid.com`.
|
|
18
|
-
*
|
|
19
|
-
* This endpoint is available to every organization using US production.
|
|
20
|
-
* It is not available in EU production.
|
|
21
|
-
*
|
|
22
|
-
* Select `inbox_id` from trusted AgentMail configuration. An AgentID
|
|
23
|
-
* `login_hint` is not authoritative for selecting the inbox; when the
|
|
24
|
-
* transaction includes one, it must match the path inbox.
|
|
25
|
-
*
|
|
26
|
-
* **AgentMail API keys are sent only to `https://api.agentmail.to`; AgentID never requests them.**
|
|
27
|
-
*
|
|
28
|
-
* A new intent returns `202`; an idempotent retry for the same pending
|
|
29
|
-
* transaction, inbox, and bearer key returns `200` with the same receipt.
|
|
30
|
-
* An intent lasts at most five minutes. An activated credential lasts at
|
|
31
|
-
* most 30 days and cannot outlive its authorizing bearer API key.
|
|
32
|
-
*
|
|
33
|
-
* Creation is limited to 20 intents per bearer API key per hour, 100 per
|
|
34
|
-
* organization per hour, and five live unused intents per bearer API key.
|
|
35
|
-
* Browser activation is separately limited to 20 activations per
|
|
36
|
-
* authorizing bearer API key per UTC day. Either kind of limit can return
|
|
37
|
-
* `429`; honor the `Retry-After` header. Cancelling an enrollment releases
|
|
38
|
-
* its live-intent slot but does not reset the daily activation counter.
|
|
39
|
-
*
|
|
40
|
-
* @param {AgentMail.inboxes.InboxId} inbox_id
|
|
41
|
-
* @param {AgentMail.CreateBrowserEnrollmentRequest} request
|
|
42
|
-
* @param {BrowserCredentialsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
43
|
-
*
|
|
44
|
-
* @throws {@link AgentMail.ValidationError}
|
|
45
|
-
* @throws {@link AgentMail.NotFoundError}
|
|
46
|
-
* @throws {@link AgentMail.ConflictError}
|
|
47
|
-
*
|
|
48
|
-
* @example
|
|
49
|
-
* await client.inboxes.browserCredentials.createEnrollment("inbox_id", {
|
|
50
|
-
* transactionJti: "blackcurrant.........."
|
|
51
|
-
* })
|
|
52
|
-
*/
|
|
53
|
-
createEnrollment(inbox_id: AgentMail.inboxes.InboxId, request: AgentMail.CreateBrowserEnrollmentRequest, requestOptions?: BrowserCredentialsClient.RequestOptions): core.HttpResponsePromise<AgentMail.BrowserEnrollmentAccepted>;
|
|
54
|
-
private __createEnrollment;
|
|
55
|
-
}
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
import { normalizeClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
|
|
12
|
-
import { mergeHeaders } from "../../../../../../core/headers.mjs";
|
|
13
|
-
import * as core from "../../../../../../core/index.mjs";
|
|
14
|
-
import * as environments from "../../../../../../environments.mjs";
|
|
15
|
-
import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError.mjs";
|
|
16
|
-
import * as errors from "../../../../../../errors/index.mjs";
|
|
17
|
-
import * as serializers from "../../../../../../serialization/index.mjs";
|
|
18
|
-
import * as AgentMail from "../../../../../index.mjs";
|
|
19
|
-
export class BrowserCredentialsClient {
|
|
20
|
-
constructor(options = {}) {
|
|
21
|
-
this._options = normalizeClientOptionsWithAuth(options);
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Attach a browser enrollment intent to the inbox. Requires
|
|
25
|
-
* `api_key_create`. Before submitting `transaction_jti`, independently
|
|
26
|
-
* verify that the browser page's final origin is exactly
|
|
27
|
-
* `https://auth.agentid.com`.
|
|
28
|
-
*
|
|
29
|
-
* This endpoint is available to every organization using US production.
|
|
30
|
-
* It is not available in EU production.
|
|
31
|
-
*
|
|
32
|
-
* Select `inbox_id` from trusted AgentMail configuration. An AgentID
|
|
33
|
-
* `login_hint` is not authoritative for selecting the inbox; when the
|
|
34
|
-
* transaction includes one, it must match the path inbox.
|
|
35
|
-
*
|
|
36
|
-
* **AgentMail API keys are sent only to `https://api.agentmail.to`; AgentID never requests them.**
|
|
37
|
-
*
|
|
38
|
-
* A new intent returns `202`; an idempotent retry for the same pending
|
|
39
|
-
* transaction, inbox, and bearer key returns `200` with the same receipt.
|
|
40
|
-
* An intent lasts at most five minutes. An activated credential lasts at
|
|
41
|
-
* most 30 days and cannot outlive its authorizing bearer API key.
|
|
42
|
-
*
|
|
43
|
-
* Creation is limited to 20 intents per bearer API key per hour, 100 per
|
|
44
|
-
* organization per hour, and five live unused intents per bearer API key.
|
|
45
|
-
* Browser activation is separately limited to 20 activations per
|
|
46
|
-
* authorizing bearer API key per UTC day. Either kind of limit can return
|
|
47
|
-
* `429`; honor the `Retry-After` header. Cancelling an enrollment releases
|
|
48
|
-
* its live-intent slot but does not reset the daily activation counter.
|
|
49
|
-
*
|
|
50
|
-
* @param {AgentMail.inboxes.InboxId} inbox_id
|
|
51
|
-
* @param {AgentMail.CreateBrowserEnrollmentRequest} request
|
|
52
|
-
* @param {BrowserCredentialsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
53
|
-
*
|
|
54
|
-
* @throws {@link AgentMail.ValidationError}
|
|
55
|
-
* @throws {@link AgentMail.NotFoundError}
|
|
56
|
-
* @throws {@link AgentMail.ConflictError}
|
|
57
|
-
*
|
|
58
|
-
* @example
|
|
59
|
-
* await client.inboxes.browserCredentials.createEnrollment("inbox_id", {
|
|
60
|
-
* transactionJti: "blackcurrant.........."
|
|
61
|
-
* })
|
|
62
|
-
*/
|
|
63
|
-
createEnrollment(inbox_id, request, requestOptions) {
|
|
64
|
-
return core.HttpResponsePromise.fromPromise(this.__createEnrollment(inbox_id, request, requestOptions));
|
|
65
|
-
}
|
|
66
|
-
__createEnrollment(inbox_id, request, requestOptions) {
|
|
67
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
68
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
69
|
-
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
70
|
-
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
71
|
-
const _response = yield core.fetcher({
|
|
72
|
-
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.AgentMailEnvironment.Prod)
|
|
73
|
-
.http, `/v0/inboxes/${core.url.encodePathParam(serializers.inboxes.InboxId.jsonOrThrow(inbox_id, { omitUndefined: true }))}/browser-credentials/enrollments`),
|
|
74
|
-
method: "POST",
|
|
75
|
-
headers: _headers,
|
|
76
|
-
contentType: "application/json",
|
|
77
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
78
|
-
requestType: "json",
|
|
79
|
-
body: serializers.CreateBrowserEnrollmentRequest.jsonOrThrow(request, {
|
|
80
|
-
unrecognizedObjectKeys: "strip",
|
|
81
|
-
omitUndefined: true,
|
|
82
|
-
}),
|
|
83
|
-
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
84
|
-
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
85
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
86
|
-
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
87
|
-
logging: this._options.logging,
|
|
88
|
-
});
|
|
89
|
-
if (_response.ok) {
|
|
90
|
-
return {
|
|
91
|
-
data: serializers.BrowserEnrollmentAccepted.parseOrThrow(_response.body, {
|
|
92
|
-
unrecognizedObjectKeys: "passthrough",
|
|
93
|
-
allowUnrecognizedUnionMembers: true,
|
|
94
|
-
allowUnrecognizedEnumValues: true,
|
|
95
|
-
skipValidation: true,
|
|
96
|
-
breadcrumbsPrefix: ["response"],
|
|
97
|
-
}),
|
|
98
|
-
rawResponse: _response.rawResponse,
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
if (_response.error.reason === "status-code") {
|
|
102
|
-
switch (_response.error.statusCode) {
|
|
103
|
-
case 400:
|
|
104
|
-
throw new AgentMail.ValidationError(serializers.ValidationErrorResponse.parseOrThrow(_response.error.body, {
|
|
105
|
-
unrecognizedObjectKeys: "passthrough",
|
|
106
|
-
allowUnrecognizedUnionMembers: true,
|
|
107
|
-
allowUnrecognizedEnumValues: true,
|
|
108
|
-
skipValidation: true,
|
|
109
|
-
breadcrumbsPrefix: ["response"],
|
|
110
|
-
}), _response.rawResponse);
|
|
111
|
-
case 404:
|
|
112
|
-
throw new AgentMail.NotFoundError(serializers.ErrorResponse.parseOrThrow(_response.error.body, {
|
|
113
|
-
unrecognizedObjectKeys: "passthrough",
|
|
114
|
-
allowUnrecognizedUnionMembers: true,
|
|
115
|
-
allowUnrecognizedEnumValues: true,
|
|
116
|
-
skipValidation: true,
|
|
117
|
-
breadcrumbsPrefix: ["response"],
|
|
118
|
-
}), _response.rawResponse);
|
|
119
|
-
case 409:
|
|
120
|
-
throw new AgentMail.ConflictError(serializers.ErrorResponse.parseOrThrow(_response.error.body, {
|
|
121
|
-
unrecognizedObjectKeys: "passthrough",
|
|
122
|
-
allowUnrecognizedUnionMembers: true,
|
|
123
|
-
allowUnrecognizedEnumValues: true,
|
|
124
|
-
skipValidation: true,
|
|
125
|
-
breadcrumbsPrefix: ["response"],
|
|
126
|
-
}), _response.rawResponse);
|
|
127
|
-
default:
|
|
128
|
-
throw new errors.AgentMailError({
|
|
129
|
-
statusCode: _response.error.statusCode,
|
|
130
|
-
body: _response.error.body,
|
|
131
|
-
rawResponse: _response.rawResponse,
|
|
132
|
-
});
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/v0/inboxes/{inbox_id}/browser-credentials/enrollments");
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./client/index.mjs";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./client/index.mjs";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type * as AgentMail from "../../../../api/index.mjs";
|
|
2
|
-
import * as core from "../../../../core/index.mjs";
|
|
3
|
-
import type * as serializers from "../../../index.mjs";
|
|
4
|
-
export declare const BrowserAuthorizationListLimit: core.serialization.Schema<serializers.BrowserAuthorizationListLimit.Raw, AgentMail.BrowserAuthorizationListLimit>;
|
|
5
|
-
export declare namespace BrowserAuthorizationListLimit {
|
|
6
|
-
type Raw = number;
|
|
7
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type * as AgentMail from "../../../../api/index.mjs";
|
|
2
|
-
import * as core from "../../../../core/index.mjs";
|
|
3
|
-
import type * as serializers from "../../../index.mjs";
|
|
4
|
-
export declare const BrowserConsent: core.serialization.ObjectSchema<serializers.BrowserConsent.Raw, AgentMail.BrowserConsent>;
|
|
5
|
-
export declare namespace BrowserConsent {
|
|
6
|
-
interface Raw {
|
|
7
|
-
consent_id: string;
|
|
8
|
-
inbox_id: string;
|
|
9
|
-
client_type: "closed";
|
|
10
|
-
client_id: string;
|
|
11
|
-
client_url?: string | null;
|
|
12
|
-
approved_scopes: string[];
|
|
13
|
-
created_at: string;
|
|
14
|
-
updated_at: string;
|
|
15
|
-
expires_at: string;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
});
|
package/dist/esm/serialization/resources/apiKeys/types/BrowserConsentLifecycleEventType.d.mts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
]);
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
}
|