@airtop/sdk 0.0.7 → 0.0.8
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/Client.d.ts +4 -4
- package/Client.js +5 -0
- package/README.md +6 -6
- package/api/errors/InternalServerError.d.ts +1 -1
- package/api/errors/NotFoundError.d.ts +1 -1
- package/api/errors/UnprocessableEntityError.d.ts +1 -1
- package/api/index.d.ts +1 -1
- package/api/index.js +1 -1
- package/api/resources/index.d.ts +3 -2
- package/api/resources/index.js +4 -3
- package/api/resources/profiles/client/Client.d.ts +7 -27
- package/api/resources/profiles/client/Client.js +26 -125
- package/api/resources/profiles/client/requests/ProfilesDeleteRequest.d.ts +3 -9
- package/api/resources/profiles/client/requests/ProfilesGetRequest.d.ts +3 -9
- package/api/resources/sessions/client/Client.d.ts +10 -67
- package/api/resources/sessions/client/Client.js +33 -441
- package/api/resources/sessions/client/requests/SessionRestInputV1.d.ts +0 -2
- package/api/resources/sessions/client/requests/index.d.ts +0 -2
- package/api/resources/sessions/index.d.ts +0 -1
- package/api/resources/sessions/index.js +0 -1
- package/api/resources/windows/client/Client.d.ts +70 -0
- package/api/resources/windows/client/Client.js +320 -0
- package/api/resources/windows/client/index.d.ts +1 -0
- package/{serialization/resources/sessions/types → api/resources/windows/client}/index.js +1 -3
- package/api/resources/windows/client/requests/GetWindowInfoRequest.d.ts +23 -0
- package/api/resources/{sessions/client/requests/SessionPromptContentRequest.d.ts → windows/client/requests/PromptContentRequest.d.ts} +5 -5
- package/api/resources/windows/client/requests/ScrapeContentRequest.d.ts +12 -0
- package/api/resources/windows/client/requests/SummarizeContentRequest.d.ts +14 -0
- package/api/resources/windows/client/requests/index.d.ts +4 -0
- package/api/resources/windows/client/requests/index.js +2 -0
- package/api/resources/windows/index.d.ts +1 -0
- package/api/resources/{sessions/types → windows}/index.js +1 -3
- package/api/types/AiResponseEnvelope.d.ts +9 -0
- package/api/types/AiResponseEnvelopeExternalSessionAiResponseMetadataWrapper.d.ts +10 -0
- package/api/types/ClientProvidedResponseMetadata.d.ts +1 -1
- package/api/types/DefaultMetaWrapper.d.ts +6 -0
- package/api/types/ErrorEnvelope.d.ts +12 -0
- package/{dist/api/types/ProfileV1.d.ts → api/types/ExternalProfileV1.d.ts} +3 -5
- package/api/types/ExternalSessionAiResponseMetadata.d.ts +10 -0
- package/api/types/ExternalSessionAiResponseMetadataStatus.d.ts +9 -0
- package/api/types/{CleanScrapeResponseDataStatus.js → ExternalSessionAiResponseMetadataStatus.js} +3 -3
- package/api/types/ExternalSessionAiResponseMetadataUsage.d.ts +9 -0
- package/api/types/ExternalSessionConfig.d.ts +11 -0
- package/api/types/ExternalSessionWithConnectionInfo.d.ts +24 -0
- package/api/types/ExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +10 -0
- package/{dist/api/types/SessionAiResponseIssue.d.ts → api/types/Issue.d.ts} +1 -1
- package/api/types/ListExternalProfileV1EnvelopeDefaultMetaWrapper.d.ts +10 -0
- package/api/types/ListExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +10 -0
- package/api/types/ScrapeResponseEnvelope.d.ts +9 -0
- package/api/types/ScrapeResponseEnvelopeExternalSessionAiResponseMetadataWrapper.d.ts +10 -0
- package/{dist/api/types/CleanScrapeResponseOutput.d.ts → api/types/ScrapeResponseOutput.d.ts} +2 -2
- package/api/types/SessionConfigV1.d.ts +1 -5
- package/api/types/Window.d.ts +11 -0
- package/api/types/WindowEnvelopeDefaultMetaWrapper.d.ts +10 -0
- package/api/types/index.d.ts +19 -27
- package/api/types/index.js +19 -27
- package/core/auth/BasicAuth.d.ts +8 -0
- package/core/auth/BasicAuth.js +26 -0
- package/core/auth/BearerToken.d.ts +5 -0
- package/core/auth/BearerToken.js +15 -0
- package/core/auth/index.d.ts +2 -0
- package/core/auth/index.js +7 -0
- package/core/index.d.ts +1 -1
- package/core/index.js +1 -1
- package/dist/Client.d.ts +4 -4
- package/dist/Client.js +5 -0
- package/dist/api/errors/InternalServerError.d.ts +1 -1
- package/dist/api/errors/NotFoundError.d.ts +1 -1
- package/dist/api/errors/UnprocessableEntityError.d.ts +1 -1
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.js +1 -1
- package/dist/api/resources/index.d.ts +3 -2
- package/dist/api/resources/index.js +4 -3
- package/dist/api/resources/profiles/client/Client.d.ts +7 -27
- package/dist/api/resources/profiles/client/Client.js +26 -125
- package/dist/api/resources/profiles/client/requests/ProfilesDeleteRequest.d.ts +3 -9
- package/dist/api/resources/profiles/client/requests/ProfilesGetRequest.d.ts +3 -9
- package/dist/api/resources/sessions/client/Client.d.ts +10 -67
- package/dist/api/resources/sessions/client/Client.js +33 -441
- package/dist/api/resources/sessions/client/requests/SessionRestInputV1.d.ts +0 -2
- package/dist/api/resources/sessions/client/requests/index.d.ts +0 -2
- package/dist/api/resources/sessions/index.d.ts +0 -1
- package/dist/api/resources/sessions/index.js +0 -1
- package/dist/api/resources/windows/client/Client.d.ts +70 -0
- package/dist/api/resources/windows/client/Client.js +320 -0
- package/dist/api/resources/windows/client/index.d.ts +1 -0
- package/dist/{serialization/resources/sessions/types → api/resources/windows/client}/index.js +1 -3
- package/dist/api/resources/windows/client/requests/GetWindowInfoRequest.d.ts +23 -0
- package/dist/api/resources/{sessions/client/requests/SessionPromptContentRequest.d.ts → windows/client/requests/PromptContentRequest.d.ts} +5 -5
- package/dist/api/resources/windows/client/requests/ScrapeContentRequest.d.ts +12 -0
- package/dist/api/resources/windows/client/requests/SummarizeContentRequest.d.ts +14 -0
- package/dist/api/resources/windows/client/requests/index.d.ts +4 -0
- package/dist/api/resources/windows/client/requests/index.js +2 -0
- package/dist/api/resources/windows/index.d.ts +1 -0
- package/dist/api/resources/{sessions/types → windows}/index.js +1 -3
- package/dist/api/types/AiResponseEnvelope.d.ts +9 -0
- package/dist/api/types/AiResponseEnvelopeExternalSessionAiResponseMetadataWrapper.d.ts +10 -0
- package/dist/api/types/ClientProvidedResponseMetadata.d.ts +1 -1
- package/dist/api/types/DefaultMetaWrapper.d.ts +6 -0
- package/dist/api/types/ErrorEnvelope.d.ts +12 -0
- package/{api/types/ProfileV1.d.ts → dist/api/types/ExternalProfileV1.d.ts} +3 -5
- package/dist/api/types/ExternalSessionAiResponseMetadata.d.ts +10 -0
- package/dist/api/types/ExternalSessionAiResponseMetadataStatus.d.ts +9 -0
- package/{api/types/SessionAiResponseDataStatus.js → dist/api/types/ExternalSessionAiResponseMetadataStatus.js} +3 -3
- package/dist/api/types/ExternalSessionAiResponseMetadataUsage.d.ts +9 -0
- package/dist/api/types/ExternalSessionConfig.d.ts +11 -0
- package/dist/api/types/ExternalSessionWithConnectionInfo.d.ts +24 -0
- package/dist/api/types/ExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +10 -0
- package/{api/types/SessionAiResponseIssue.d.ts → dist/api/types/Issue.d.ts} +1 -1
- package/dist/api/types/ListExternalProfileV1EnvelopeDefaultMetaWrapper.d.ts +10 -0
- package/dist/api/types/ListExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +10 -0
- package/dist/api/types/ScrapeResponseEnvelope.d.ts +9 -0
- package/dist/api/types/ScrapeResponseEnvelopeExternalSessionAiResponseMetadataWrapper.d.ts +10 -0
- package/{api/types/CleanScrapeResponseOutput.d.ts → dist/api/types/ScrapeResponseOutput.d.ts} +2 -2
- package/dist/api/types/SessionConfigV1.d.ts +1 -5
- package/dist/api/types/Window.d.ts +11 -0
- package/dist/api/types/WindowEnvelopeDefaultMetaWrapper.d.ts +10 -0
- package/dist/api/types/index.d.ts +19 -27
- package/dist/api/types/index.js +19 -27
- package/dist/core/auth/BasicAuth.d.ts +8 -0
- package/dist/core/auth/BasicAuth.js +26 -0
- package/dist/core/auth/BearerToken.d.ts +5 -0
- package/dist/core/auth/BearerToken.js +15 -0
- package/dist/core/auth/index.d.ts +2 -0
- package/dist/core/auth/index.js +7 -0
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +1 -1
- package/dist/serialization/index.d.ts +1 -1
- package/dist/serialization/index.js +1 -1
- package/dist/serialization/resources/index.d.ts +2 -1
- package/dist/serialization/resources/index.js +3 -2
- package/dist/serialization/resources/sessions/client/requests/SessionRestInputV1.d.ts +0 -1
- package/dist/serialization/resources/sessions/client/requests/SessionRestInputV1.js +0 -1
- package/dist/serialization/resources/sessions/client/requests/index.d.ts +0 -2
- package/dist/serialization/resources/sessions/client/requests/index.js +1 -5
- package/dist/serialization/resources/sessions/index.d.ts +0 -1
- package/dist/serialization/resources/sessions/index.js +0 -1
- package/dist/serialization/resources/windows/client/index.d.ts +1 -0
- package/dist/serialization/resources/windows/client/index.js +17 -0
- package/dist/serialization/resources/windows/client/requests/PromptContentRequest.d.ts +16 -0
- package/{serialization/resources/sessions/client/requests/SessionPromptContentRequest.js → dist/serialization/resources/windows/client/requests/PromptContentRequest.js} +5 -5
- package/dist/serialization/resources/windows/client/requests/ScrapeContentRequest.d.ts +14 -0
- package/dist/serialization/resources/windows/client/requests/ScrapeContentRequest.js +35 -0
- package/dist/serialization/resources/windows/client/requests/SummarizeContentRequest.d.ts +15 -0
- package/dist/serialization/resources/{sessions/client/requests/SessionPromptPaginatedExtractionRequest.js → windows/client/requests/SummarizeContentRequest.js} +5 -6
- package/dist/serialization/resources/windows/client/requests/index.d.ts +3 -0
- package/dist/serialization/resources/windows/client/requests/index.js +9 -0
- package/dist/serialization/resources/windows/index.d.ts +1 -0
- package/dist/serialization/resources/windows/index.js +17 -0
- package/dist/serialization/types/{ErrorMessage.d.ts → AiResponseEnvelope.d.ts} +6 -5
- package/dist/serialization/types/AiResponseEnvelope.js +36 -0
- package/dist/serialization/types/AiResponseEnvelopeExternalSessionAiResponseMetadataWrapper.d.ts +18 -0
- package/dist/serialization/types/AiResponseEnvelopeExternalSessionAiResponseMetadataWrapper.js +39 -0
- package/dist/serialization/types/ClientProvidedResponseMetadata.d.ts +1 -1
- package/dist/serialization/types/ClientProvidedResponseMetadata.js +1 -1
- package/dist/serialization/types/DefaultMetaWrapper.d.ts +12 -0
- package/dist/serialization/types/{StatusMessageStatus.js → DefaultMetaWrapper.js} +4 -2
- package/dist/serialization/types/ErrorEnvelope.d.ts +18 -0
- package/dist/serialization/types/{CleanScrapeResponseData.js → ErrorEnvelope.js} +9 -6
- package/{serialization/types/ProfileV1.d.ts → dist/serialization/types/ExternalProfileV1.d.ts} +4 -5
- package/dist/serialization/types/{ErrorDetail.js → ExternalProfileV1.js} +5 -5
- package/dist/serialization/types/ExternalSessionAiResponseMetadata.d.ts +18 -0
- package/dist/serialization/types/{SessionAiResponseMetadata.js → ExternalSessionAiResponseMetadata.js} +7 -4
- package/dist/serialization/types/ExternalSessionAiResponseMetadataStatus.d.ts +10 -0
- package/dist/serialization/types/{CleanScrapeResponseDataStatus.js → ExternalSessionAiResponseMetadataStatus.js} +2 -2
- package/dist/serialization/types/ExternalSessionAiResponseMetadataUsage.d.ts +13 -0
- package/dist/serialization/types/ExternalSessionAiResponseMetadataUsage.js +34 -0
- package/dist/serialization/types/ExternalSessionConfig.d.ts +14 -0
- package/dist/serialization/types/{LiveViewConnectionInfo.js → ExternalSessionConfig.js} +5 -4
- package/dist/serialization/types/ExternalSessionWithConnectionInfo.d.ts +21 -0
- package/dist/serialization/types/{Session.js → ExternalSessionWithConnectionInfo.js} +10 -8
- package/dist/serialization/types/ExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +18 -0
- package/dist/serialization/types/ExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js +39 -0
- package/{serialization/types/SessionAiResponseIssue.d.ts → dist/serialization/types/Issue.d.ts} +2 -2
- package/dist/serialization/types/{SessionAiResponseIssue.js → Issue.js} +2 -2
- package/dist/serialization/types/ListExternalProfileV1EnvelopeDefaultMetaWrapper.d.ts +18 -0
- package/dist/serialization/types/{ConnectionInfo.js → ListExternalProfileV1EnvelopeDefaultMetaWrapper.js} +9 -7
- package/dist/serialization/types/ListExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +18 -0
- package/dist/serialization/types/ListExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js +39 -0
- package/dist/serialization/types/ScrapeResponseEnvelope.d.ts +16 -0
- package/dist/serialization/types/ScrapeResponseEnvelope.js +37 -0
- package/dist/serialization/types/ScrapeResponseEnvelopeExternalSessionAiResponseMetadataWrapper.d.ts +18 -0
- package/dist/serialization/types/ScrapeResponseEnvelopeExternalSessionAiResponseMetadataWrapper.js +39 -0
- package/{serialization/types/CleanScrapeResponseOutput.d.ts → dist/serialization/types/ScrapeResponseOutput.d.ts} +3 -3
- package/{serialization/types/CleanScrapeResponseOutput.js → dist/serialization/types/ScrapeResponseOutput.js} +3 -3
- package/dist/serialization/types/SessionConfigV1.d.ts +3 -5
- package/dist/serialization/types/SessionConfigV1.js +3 -5
- package/dist/serialization/types/Window.d.ts +14 -0
- package/{serialization/types/ErrorMessage.js → dist/serialization/types/Window.js} +5 -5
- package/dist/serialization/types/WindowEnvelopeDefaultMetaWrapper.d.ts +18 -0
- package/{serialization/types/CleanScrapeResponse.js → dist/serialization/types/WindowEnvelopeDefaultMetaWrapper.js} +9 -7
- package/dist/serialization/types/index.d.ts +19 -27
- package/dist/serialization/types/index.js +19 -27
- package/package.json +20 -3
- package/reference.md +45 -224
- package/serialization/index.d.ts +1 -1
- package/serialization/index.js +1 -1
- package/serialization/resources/index.d.ts +2 -1
- package/serialization/resources/index.js +3 -2
- package/serialization/resources/sessions/client/requests/SessionRestInputV1.d.ts +0 -1
- package/serialization/resources/sessions/client/requests/SessionRestInputV1.js +0 -1
- package/serialization/resources/sessions/client/requests/index.d.ts +0 -2
- package/serialization/resources/sessions/client/requests/index.js +1 -5
- package/serialization/resources/sessions/index.d.ts +0 -1
- package/serialization/resources/sessions/index.js +0 -1
- package/serialization/resources/windows/client/index.d.ts +1 -0
- package/serialization/resources/windows/client/index.js +17 -0
- package/serialization/resources/windows/client/requests/PromptContentRequest.d.ts +16 -0
- package/{dist/serialization/resources/sessions/client/requests/SessionPromptContentRequest.js → serialization/resources/windows/client/requests/PromptContentRequest.js} +5 -5
- package/serialization/resources/windows/client/requests/ScrapeContentRequest.d.ts +14 -0
- package/serialization/resources/windows/client/requests/ScrapeContentRequest.js +35 -0
- package/serialization/resources/windows/client/requests/SummarizeContentRequest.d.ts +15 -0
- package/serialization/resources/{sessions/client/requests/SessionPromptPaginatedExtractionRequest.js → windows/client/requests/SummarizeContentRequest.js} +5 -6
- package/serialization/resources/windows/client/requests/index.d.ts +3 -0
- package/serialization/resources/windows/client/requests/index.js +9 -0
- package/serialization/resources/windows/index.d.ts +1 -0
- package/serialization/resources/windows/index.js +17 -0
- package/serialization/types/{ErrorMessage.d.ts → AiResponseEnvelope.d.ts} +6 -5
- package/serialization/types/AiResponseEnvelope.js +36 -0
- package/serialization/types/AiResponseEnvelopeExternalSessionAiResponseMetadataWrapper.d.ts +18 -0
- package/serialization/types/AiResponseEnvelopeExternalSessionAiResponseMetadataWrapper.js +39 -0
- package/serialization/types/ClientProvidedResponseMetadata.d.ts +1 -1
- package/serialization/types/ClientProvidedResponseMetadata.js +1 -1
- package/serialization/types/DefaultMetaWrapper.d.ts +12 -0
- package/{dist/serialization/types/SessionAiResponseDataStatus.js → serialization/types/DefaultMetaWrapper.js} +4 -2
- package/serialization/types/ErrorEnvelope.d.ts +18 -0
- package/serialization/types/ErrorEnvelope.js +39 -0
- package/{dist/serialization/types/ProfileV1.d.ts → serialization/types/ExternalProfileV1.d.ts} +4 -5
- package/serialization/types/{ErrorDetail.js → ExternalProfileV1.js} +5 -5
- package/serialization/types/ExternalSessionAiResponseMetadata.d.ts +18 -0
- package/serialization/types/{SessionAiResponseMetadata.js → ExternalSessionAiResponseMetadata.js} +7 -4
- package/serialization/types/ExternalSessionAiResponseMetadataStatus.d.ts +10 -0
- package/serialization/types/{CleanScrapeResponseDataStatus.js → ExternalSessionAiResponseMetadataStatus.js} +2 -2
- package/serialization/types/ExternalSessionAiResponseMetadataUsage.d.ts +13 -0
- package/serialization/types/ExternalSessionAiResponseMetadataUsage.js +34 -0
- package/serialization/types/ExternalSessionConfig.d.ts +14 -0
- package/{dist/serialization/types/ProfileOutputV1Body.js → serialization/types/ExternalSessionConfig.js} +5 -5
- package/serialization/types/ExternalSessionWithConnectionInfo.d.ts +21 -0
- package/serialization/types/{Session.js → ExternalSessionWithConnectionInfo.js} +10 -8
- package/serialization/types/ExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +18 -0
- package/serialization/types/ExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js +39 -0
- package/{dist/serialization/types/SessionAiResponseIssue.d.ts → serialization/types/Issue.d.ts} +2 -2
- package/serialization/types/{SessionAiResponseIssue.js → Issue.js} +2 -2
- package/serialization/types/ListExternalProfileV1EnvelopeDefaultMetaWrapper.d.ts +18 -0
- package/serialization/types/ListExternalProfileV1EnvelopeDefaultMetaWrapper.js +39 -0
- package/serialization/types/ListExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +18 -0
- package/serialization/types/ListExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js +39 -0
- package/serialization/types/ScrapeResponseEnvelope.d.ts +16 -0
- package/serialization/types/ScrapeResponseEnvelope.js +37 -0
- package/serialization/types/ScrapeResponseEnvelopeExternalSessionAiResponseMetadataWrapper.d.ts +18 -0
- package/serialization/types/ScrapeResponseEnvelopeExternalSessionAiResponseMetadataWrapper.js +39 -0
- package/{dist/serialization/types/CleanScrapeResponseOutput.d.ts → serialization/types/ScrapeResponseOutput.d.ts} +3 -3
- package/{dist/serialization/types/CleanScrapeResponseOutput.js → serialization/types/ScrapeResponseOutput.js} +3 -3
- package/serialization/types/SessionConfigV1.d.ts +3 -5
- package/serialization/types/SessionConfigV1.js +3 -5
- package/serialization/types/Window.d.ts +14 -0
- package/{dist/serialization/types/ErrorMessage.js → serialization/types/Window.js} +5 -5
- package/serialization/types/WindowEnvelopeDefaultMetaWrapper.d.ts +18 -0
- package/{dist/serialization/types/CleanScrapeResponse.js → serialization/types/WindowEnvelopeDefaultMetaWrapper.js} +9 -7
- package/serialization/types/index.d.ts +19 -27
- package/serialization/types/index.js +19 -27
- package/api/resources/sessions/client/requests/SessionPromptPaginatedExtractionRequest.d.ts +0 -18
- package/api/resources/sessions/types/SessionsEventsResponse.d.ts +0 -16
- package/api/resources/sessions/types/SessionsEventsResponseError.d.ts +0 -11
- package/api/resources/sessions/types/SessionsEventsResponseStatus.d.ts +0 -11
- package/api/resources/sessions/types/index.d.ts +0 -3
- package/api/types/CleanScrapeResponse.d.ts +0 -12
- package/api/types/CleanScrapeResponseData.d.ts +0 -10
- package/api/types/CleanScrapeResponseDataStatus.d.ts +0 -12
- package/api/types/ConnectionInfo.d.ts +0 -14
- package/api/types/ErrorDetail.d.ts +0 -10
- package/api/types/ErrorMessage.d.ts +0 -11
- package/api/types/ErrorModel.d.ts +0 -20
- package/api/types/LiveViewConnectionInfo.d.ts +0 -9
- package/api/types/LiveViewUrlOutputV1Body.d.ts +0 -13
- package/api/types/ProfileOutputV1Body.d.ts +0 -10
- package/api/types/ProfilesOutputV1Body.d.ts +0 -9
- package/api/types/Session.d.ts +0 -20
- package/api/types/SessionAiResponse.d.ts +0 -16
- package/api/types/SessionAiResponseData.d.ts +0 -10
- package/api/types/SessionAiResponseDataStatus.d.ts +0 -12
- package/api/types/SessionAiResponseMetadata.d.ts +0 -10
- package/api/types/SessionAiResponseMetadataUsage.d.ts +0 -14
- package/api/types/SessionAiResponseResponseMetadataModelUsage.d.ts +0 -10
- package/api/types/SessionConfig.d.ts +0 -15
- package/api/types/SessionOutputV1Body.d.ts +0 -12
- package/api/types/SessionWithConnectionInfo.d.ts +0 -10
- package/api/types/SessionsOutputV1Body.d.ts +0 -10
- package/api/types/StatusMessage.d.ts +0 -14
- package/api/types/StatusMessageStatus.d.ts +0 -13
- package/api/types/StatusMessageStatus.js +0 -12
- package/core/streaming-fetcher/Stream.d.ts +0 -48
- package/core/streaming-fetcher/Stream.js +0 -170
- package/core/streaming-fetcher/index.d.ts +0 -1
- package/core/streaming-fetcher/index.js +0 -5
- package/dist/api/resources/sessions/client/requests/SessionPromptPaginatedExtractionRequest.d.ts +0 -18
- package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +0 -16
- package/dist/api/resources/sessions/types/SessionsEventsResponseError.d.ts +0 -11
- package/dist/api/resources/sessions/types/SessionsEventsResponseStatus.d.ts +0 -11
- package/dist/api/resources/sessions/types/index.d.ts +0 -3
- package/dist/api/types/CleanScrapeResponse.d.ts +0 -12
- package/dist/api/types/CleanScrapeResponseData.d.ts +0 -10
- package/dist/api/types/CleanScrapeResponseDataStatus.d.ts +0 -12
- package/dist/api/types/CleanScrapeResponseDataStatus.js +0 -11
- package/dist/api/types/ConnectionInfo.d.ts +0 -14
- package/dist/api/types/ErrorDetail.d.ts +0 -10
- package/dist/api/types/ErrorMessage.d.ts +0 -11
- package/dist/api/types/ErrorModel.d.ts +0 -20
- package/dist/api/types/LiveViewConnectionInfo.d.ts +0 -9
- package/dist/api/types/LiveViewUrlOutputV1Body.d.ts +0 -13
- package/dist/api/types/ProfileOutputV1Body.d.ts +0 -10
- package/dist/api/types/ProfileV1.js +0 -5
- package/dist/api/types/ProfilesOutputV1Body.d.ts +0 -9
- package/dist/api/types/ProfilesOutputV1Body.js +0 -5
- package/dist/api/types/Session.d.ts +0 -20
- package/dist/api/types/Session.js +0 -5
- package/dist/api/types/SessionAiResponse.d.ts +0 -16
- package/dist/api/types/SessionAiResponse.js +0 -5
- package/dist/api/types/SessionAiResponseData.d.ts +0 -10
- package/dist/api/types/SessionAiResponseData.js +0 -5
- package/dist/api/types/SessionAiResponseDataStatus.d.ts +0 -12
- package/dist/api/types/SessionAiResponseDataStatus.js +0 -11
- package/dist/api/types/SessionAiResponseIssue.js +0 -5
- package/dist/api/types/SessionAiResponseMetadata.d.ts +0 -10
- package/dist/api/types/SessionAiResponseMetadata.js +0 -5
- package/dist/api/types/SessionAiResponseMetadataUsage.d.ts +0 -14
- package/dist/api/types/SessionAiResponseMetadataUsage.js +0 -5
- package/dist/api/types/SessionAiResponseResponseMetadataModelUsage.d.ts +0 -10
- package/dist/api/types/SessionAiResponseResponseMetadataModelUsage.js +0 -5
- package/dist/api/types/SessionConfig.d.ts +0 -15
- package/dist/api/types/SessionConfig.js +0 -5
- package/dist/api/types/SessionOutputV1Body.d.ts +0 -12
- package/dist/api/types/SessionOutputV1Body.js +0 -5
- package/dist/api/types/SessionWithConnectionInfo.d.ts +0 -10
- package/dist/api/types/SessionWithConnectionInfo.js +0 -5
- package/dist/api/types/SessionsOutputV1Body.d.ts +0 -10
- package/dist/api/types/SessionsOutputV1Body.js +0 -5
- package/dist/api/types/StatusMessage.d.ts +0 -14
- package/dist/api/types/StatusMessage.js +0 -5
- package/dist/api/types/StatusMessageStatus.d.ts +0 -13
- package/dist/api/types/StatusMessageStatus.js +0 -12
- package/dist/core/streaming-fetcher/Stream.d.ts +0 -48
- package/dist/core/streaming-fetcher/Stream.js +0 -170
- package/dist/core/streaming-fetcher/index.d.ts +0 -1
- package/dist/core/streaming-fetcher/index.js +0 -5
- package/dist/serialization/resources/sessions/client/requests/SessionPromptContentRequest.d.ts +0 -16
- package/dist/serialization/resources/sessions/client/requests/SessionPromptPaginatedExtractionRequest.d.ts +0 -16
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +0 -18
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +0 -41
- package/dist/serialization/resources/sessions/types/SessionsEventsResponseError.d.ts +0 -15
- package/dist/serialization/resources/sessions/types/SessionsEventsResponseError.js +0 -36
- package/dist/serialization/resources/sessions/types/SessionsEventsResponseStatus.d.ts +0 -15
- package/dist/serialization/resources/sessions/types/SessionsEventsResponseStatus.js +0 -36
- package/dist/serialization/resources/sessions/types/index.d.ts +0 -3
- package/dist/serialization/types/CleanScrapeResponse.d.ts +0 -16
- package/dist/serialization/types/CleanScrapeResponseData.d.ts +0 -15
- package/dist/serialization/types/CleanScrapeResponseDataStatus.d.ts +0 -10
- package/dist/serialization/types/ConnectionInfo.d.ts +0 -16
- package/dist/serialization/types/ErrorDetail.d.ts +0 -14
- package/dist/serialization/types/ErrorModel.d.ts +0 -19
- package/dist/serialization/types/ErrorModel.js +0 -40
- package/dist/serialization/types/LiveViewConnectionInfo.d.ts +0 -13
- package/dist/serialization/types/LiveViewUrlOutputV1Body.d.ts +0 -15
- package/dist/serialization/types/LiveViewUrlOutputV1Body.js +0 -36
- package/dist/serialization/types/ProfileOutputV1Body.d.ts +0 -14
- package/dist/serialization/types/ProfileV1.js +0 -36
- package/dist/serialization/types/ProfilesOutputV1Body.d.ts +0 -14
- package/dist/serialization/types/ProfilesOutputV1Body.js +0 -35
- package/dist/serialization/types/Session.d.ts +0 -19
- package/dist/serialization/types/SessionAiResponse.d.ts +0 -19
- package/dist/serialization/types/SessionAiResponse.js +0 -40
- package/dist/serialization/types/SessionAiResponseData.d.ts +0 -14
- package/dist/serialization/types/SessionAiResponseData.js +0 -35
- package/dist/serialization/types/SessionAiResponseDataStatus.d.ts +0 -10
- package/dist/serialization/types/SessionAiResponseMetadata.d.ts +0 -15
- package/dist/serialization/types/SessionAiResponseMetadataUsage.d.ts +0 -16
- package/dist/serialization/types/SessionAiResponseMetadataUsage.js +0 -37
- package/dist/serialization/types/SessionAiResponseResponseMetadataModelUsage.d.ts +0 -16
- package/dist/serialization/types/SessionAiResponseResponseMetadataModelUsage.js +0 -37
- package/dist/serialization/types/SessionConfig.d.ts +0 -16
- package/dist/serialization/types/SessionConfig.js +0 -37
- package/dist/serialization/types/SessionOutputV1Body.d.ts +0 -16
- package/dist/serialization/types/SessionOutputV1Body.js +0 -37
- package/dist/serialization/types/SessionWithConnectionInfo.d.ts +0 -15
- package/dist/serialization/types/SessionWithConnectionInfo.js +0 -36
- package/dist/serialization/types/SessionsOutputV1Body.d.ts +0 -14
- package/dist/serialization/types/SessionsOutputV1Body.js +0 -35
- package/dist/serialization/types/StatusMessage.d.ts +0 -16
- package/dist/serialization/types/StatusMessage.js +0 -37
- package/dist/serialization/types/StatusMessageStatus.d.ts +0 -10
- package/serialization/resources/sessions/client/requests/SessionPromptContentRequest.d.ts +0 -16
- package/serialization/resources/sessions/client/requests/SessionPromptPaginatedExtractionRequest.d.ts +0 -16
- package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +0 -18
- package/serialization/resources/sessions/types/SessionsEventsResponse.js +0 -41
- package/serialization/resources/sessions/types/SessionsEventsResponseError.d.ts +0 -15
- package/serialization/resources/sessions/types/SessionsEventsResponseError.js +0 -36
- package/serialization/resources/sessions/types/SessionsEventsResponseStatus.d.ts +0 -15
- package/serialization/resources/sessions/types/SessionsEventsResponseStatus.js +0 -36
- package/serialization/resources/sessions/types/index.d.ts +0 -3
- package/serialization/types/CleanScrapeResponse.d.ts +0 -16
- package/serialization/types/CleanScrapeResponseData.d.ts +0 -15
- package/serialization/types/CleanScrapeResponseData.js +0 -36
- package/serialization/types/CleanScrapeResponseDataStatus.d.ts +0 -10
- package/serialization/types/ConnectionInfo.d.ts +0 -16
- package/serialization/types/ConnectionInfo.js +0 -37
- package/serialization/types/ErrorDetail.d.ts +0 -14
- package/serialization/types/ErrorModel.d.ts +0 -19
- package/serialization/types/ErrorModel.js +0 -40
- package/serialization/types/LiveViewConnectionInfo.d.ts +0 -13
- package/serialization/types/LiveViewConnectionInfo.js +0 -34
- package/serialization/types/LiveViewUrlOutputV1Body.d.ts +0 -15
- package/serialization/types/LiveViewUrlOutputV1Body.js +0 -36
- package/serialization/types/ProfileOutputV1Body.d.ts +0 -14
- package/serialization/types/ProfileOutputV1Body.js +0 -35
- package/serialization/types/ProfileV1.js +0 -36
- package/serialization/types/ProfilesOutputV1Body.d.ts +0 -14
- package/serialization/types/ProfilesOutputV1Body.js +0 -35
- package/serialization/types/Session.d.ts +0 -19
- package/serialization/types/SessionAiResponse.d.ts +0 -19
- package/serialization/types/SessionAiResponse.js +0 -40
- package/serialization/types/SessionAiResponseData.d.ts +0 -14
- package/serialization/types/SessionAiResponseData.js +0 -35
- package/serialization/types/SessionAiResponseDataStatus.d.ts +0 -10
- package/serialization/types/SessionAiResponseDataStatus.js +0 -31
- package/serialization/types/SessionAiResponseMetadata.d.ts +0 -15
- package/serialization/types/SessionAiResponseMetadataUsage.d.ts +0 -16
- package/serialization/types/SessionAiResponseMetadataUsage.js +0 -37
- package/serialization/types/SessionAiResponseResponseMetadataModelUsage.d.ts +0 -16
- package/serialization/types/SessionAiResponseResponseMetadataModelUsage.js +0 -37
- package/serialization/types/SessionConfig.d.ts +0 -16
- package/serialization/types/SessionConfig.js +0 -37
- package/serialization/types/SessionOutputV1Body.d.ts +0 -16
- package/serialization/types/SessionOutputV1Body.js +0 -37
- package/serialization/types/SessionWithConnectionInfo.d.ts +0 -15
- package/serialization/types/SessionWithConnectionInfo.js +0 -36
- package/serialization/types/SessionsOutputV1Body.d.ts +0 -14
- package/serialization/types/SessionsOutputV1Body.js +0 -35
- package/serialization/types/StatusMessage.d.ts +0 -16
- package/serialization/types/StatusMessage.js +0 -37
- package/serialization/types/StatusMessageStatus.d.ts +0 -10
- package/serialization/types/StatusMessageStatus.js +0 -31
- /package/api/resources/{sessions/client/requests/SessionPromptContentRequest.js → windows/client/requests/GetWindowInfoRequest.js} +0 -0
- /package/api/resources/{sessions/client/requests/SessionPromptPaginatedExtractionRequest.js → windows/client/requests/PromptContentRequest.js} +0 -0
- /package/api/resources/{sessions/types/SessionsEventsResponse.js → windows/client/requests/ScrapeContentRequest.js} +0 -0
- /package/api/resources/{sessions/types/SessionsEventsResponseError.js → windows/client/requests/SummarizeContentRequest.js} +0 -0
- /package/api/{resources/sessions/types/SessionsEventsResponseStatus.js → types/AiResponseEnvelope.js} +0 -0
- /package/api/types/{CleanScrapeResponse.js → AiResponseEnvelopeExternalSessionAiResponseMetadataWrapper.js} +0 -0
- /package/api/types/{CleanScrapeResponseData.js → DefaultMetaWrapper.js} +0 -0
- /package/api/types/{CleanScrapeResponseOutput.js → ErrorEnvelope.js} +0 -0
- /package/api/types/{ConnectionInfo.js → ExternalProfileV1.js} +0 -0
- /package/api/types/{ErrorDetail.js → ExternalSessionAiResponseMetadata.js} +0 -0
- /package/api/types/{ErrorMessage.js → ExternalSessionAiResponseMetadataUsage.js} +0 -0
- /package/api/types/{ErrorModel.js → ExternalSessionConfig.js} +0 -0
- /package/api/types/{LiveViewConnectionInfo.js → ExternalSessionWithConnectionInfo.js} +0 -0
- /package/api/types/{LiveViewUrlOutputV1Body.js → ExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js} +0 -0
- /package/api/types/{ProfileOutputV1Body.js → Issue.js} +0 -0
- /package/api/types/{ProfileV1.js → ListExternalProfileV1EnvelopeDefaultMetaWrapper.js} +0 -0
- /package/api/types/{ProfilesOutputV1Body.js → ListExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js} +0 -0
- /package/api/types/{Session.js → ScrapeResponseEnvelope.js} +0 -0
- /package/api/types/{SessionAiResponse.js → ScrapeResponseEnvelopeExternalSessionAiResponseMetadataWrapper.js} +0 -0
- /package/api/types/{SessionAiResponseData.js → ScrapeResponseOutput.js} +0 -0
- /package/api/types/{SessionAiResponseIssue.js → Window.js} +0 -0
- /package/api/types/{SessionAiResponseMetadata.js → WindowEnvelopeDefaultMetaWrapper.js} +0 -0
- /package/{api/types/SessionAiResponseMetadataUsage.js → dist/api/resources/windows/client/requests/GetWindowInfoRequest.js} +0 -0
- /package/{api/types/SessionAiResponseResponseMetadataModelUsage.js → dist/api/resources/windows/client/requests/PromptContentRequest.js} +0 -0
- /package/{api/types/SessionConfig.js → dist/api/resources/windows/client/requests/ScrapeContentRequest.js} +0 -0
- /package/{api/types/SessionOutputV1Body.js → dist/api/resources/windows/client/requests/SummarizeContentRequest.js} +0 -0
- /package/{api/types/SessionWithConnectionInfo.js → dist/api/types/AiResponseEnvelope.js} +0 -0
- /package/{api/types/SessionsOutputV1Body.js → dist/api/types/AiResponseEnvelopeExternalSessionAiResponseMetadataWrapper.js} +0 -0
- /package/{api/types/StatusMessage.js → dist/api/types/DefaultMetaWrapper.js} +0 -0
- /package/dist/api/{resources/sessions/client/requests/SessionPromptContentRequest.js → types/ErrorEnvelope.js} +0 -0
- /package/dist/api/{resources/sessions/client/requests/SessionPromptPaginatedExtractionRequest.js → types/ExternalProfileV1.js} +0 -0
- /package/dist/api/{resources/sessions/types/SessionsEventsResponse.js → types/ExternalSessionAiResponseMetadata.js} +0 -0
- /package/dist/api/{resources/sessions/types/SessionsEventsResponseError.js → types/ExternalSessionAiResponseMetadataUsage.js} +0 -0
- /package/dist/api/{resources/sessions/types/SessionsEventsResponseStatus.js → types/ExternalSessionConfig.js} +0 -0
- /package/dist/api/types/{CleanScrapeResponse.js → ExternalSessionWithConnectionInfo.js} +0 -0
- /package/dist/api/types/{CleanScrapeResponseData.js → ExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js} +0 -0
- /package/dist/api/types/{CleanScrapeResponseOutput.js → Issue.js} +0 -0
- /package/dist/api/types/{ConnectionInfo.js → ListExternalProfileV1EnvelopeDefaultMetaWrapper.js} +0 -0
- /package/dist/api/types/{ErrorDetail.js → ListExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js} +0 -0
- /package/dist/api/types/{ErrorMessage.js → ScrapeResponseEnvelope.js} +0 -0
- /package/dist/api/types/{ErrorModel.js → ScrapeResponseEnvelopeExternalSessionAiResponseMetadataWrapper.js} +0 -0
- /package/dist/api/types/{LiveViewConnectionInfo.js → ScrapeResponseOutput.js} +0 -0
- /package/dist/api/types/{LiveViewUrlOutputV1Body.js → Window.js} +0 -0
- /package/dist/api/types/{ProfileOutputV1Body.js → WindowEnvelopeDefaultMetaWrapper.js} +0 -0
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface LiveViewUrlOutputV1Body {
|
|
5
|
-
/** A URL to the JSON Schema for this object. */
|
|
6
|
-
schema?: string;
|
|
7
|
-
/** Browser ID for live view session */
|
|
8
|
-
browserId: string;
|
|
9
|
-
/** Token for authenticating to a live view session */
|
|
10
|
-
token: string;
|
|
11
|
-
/** Url for live view session */
|
|
12
|
-
url: string;
|
|
13
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Airtop from "../index";
|
|
5
|
-
export interface ProfileOutputV1Body {
|
|
6
|
-
/** A URL to the JSON Schema for this object. */
|
|
7
|
-
schema?: string;
|
|
8
|
-
/** created Profile */
|
|
9
|
-
profile: Airtop.ProfileV1;
|
|
10
|
-
}
|
package/api/types/Session.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Airtop from "../index";
|
|
5
|
-
export interface Session {
|
|
6
|
-
/** Session configuration */
|
|
7
|
-
configuration: Airtop.SessionConfig;
|
|
8
|
-
/** Current usage in minutes */
|
|
9
|
-
currentUsage?: number;
|
|
10
|
-
/** Date the session was created */
|
|
11
|
-
dateCreated?: Date;
|
|
12
|
-
/** UUID of the session */
|
|
13
|
-
id: string;
|
|
14
|
-
/** Date of the last activity */
|
|
15
|
-
lastActivity?: Date;
|
|
16
|
-
/** Session status */
|
|
17
|
-
status: string;
|
|
18
|
-
/** URL of the session */
|
|
19
|
-
url?: string;
|
|
20
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Airtop from "../index";
|
|
5
|
-
export interface SessionAiResponse {
|
|
6
|
-
/** A URL to the JSON Schema for this object. */
|
|
7
|
-
schema?: string;
|
|
8
|
-
/** The response data from the prompt about the browser window */
|
|
9
|
-
data: Airtop.SessionAiResponseData;
|
|
10
|
-
/** Any errors that occurred while processing the request */
|
|
11
|
-
errors?: Airtop.SessionAiResponseIssue[];
|
|
12
|
-
/** Metadata about the response */
|
|
13
|
-
meta: Airtop.SessionAiResponseMetadata;
|
|
14
|
-
/** Any warnings that occurred while processing the request */
|
|
15
|
-
warnings?: Airtop.SessionAiResponseIssue[];
|
|
16
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Airtop from "../index";
|
|
5
|
-
export interface SessionAiResponseData {
|
|
6
|
-
/** The response to the prompt about this specific browser window */
|
|
7
|
-
output: string;
|
|
8
|
-
/** outcome of the operation */
|
|
9
|
-
status: Airtop.SessionAiResponseDataStatus;
|
|
10
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* outcome of the operation
|
|
6
|
-
*/
|
|
7
|
-
export declare type SessionAiResponseDataStatus = "success" | "partial_success" | "failure";
|
|
8
|
-
export declare const SessionAiResponseDataStatus: {
|
|
9
|
-
readonly Success: "success";
|
|
10
|
-
readonly PartialSuccess: "partial_success";
|
|
11
|
-
readonly Failure: "failure";
|
|
12
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Airtop from "../index";
|
|
5
|
-
export interface SessionAiResponseMetadata {
|
|
6
|
-
/** The customer provided metadata for this request */
|
|
7
|
-
clientProvided?: Airtop.ClientProvidedResponseMetadata;
|
|
8
|
-
/** The usage metadata for this request */
|
|
9
|
-
usage: Airtop.SessionAiResponseMetadataUsage;
|
|
10
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Airtop from "../index";
|
|
5
|
-
export interface SessionAiResponseMetadataUsage {
|
|
6
|
-
/** The credit usage for this request */
|
|
7
|
-
credits: number;
|
|
8
|
-
/** The id of the request */
|
|
9
|
-
id: string;
|
|
10
|
-
/** The private usage data about specific models for this request */
|
|
11
|
-
models?: Airtop.SessionAiResponseResponseMetadataModelUsage[];
|
|
12
|
-
/** The total internal cost of this request */
|
|
13
|
-
totalCost: number;
|
|
14
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface SessionConfig {
|
|
5
|
-
/** Persist the profile */
|
|
6
|
-
persistProfile?: boolean;
|
|
7
|
-
/** Profile name to persist resulting profile (required when persist_profile is true). Must contain A-Za-z0-9 only */
|
|
8
|
-
persistProfileName?: string;
|
|
9
|
-
/** Profile tags */
|
|
10
|
-
persistProfileTags?: string[];
|
|
11
|
-
/** Id of a profile to use with this session */
|
|
12
|
-
profileId?: string;
|
|
13
|
-
/** Max length of session in minutes, after which it will terminate if not already deleted */
|
|
14
|
-
timeout?: number;
|
|
15
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Airtop from "../index";
|
|
5
|
-
export interface SessionOutputV1Body {
|
|
6
|
-
/** A URL to the JSON Schema for this object. */
|
|
7
|
-
schema?: string;
|
|
8
|
-
/** Connection info for the session */
|
|
9
|
-
connectionInfo?: Airtop.ConnectionInfo;
|
|
10
|
-
/** Session */
|
|
11
|
-
session: Airtop.Session;
|
|
12
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Airtop from "../index";
|
|
5
|
-
export interface SessionWithConnectionInfo {
|
|
6
|
-
/** Connection info for the session */
|
|
7
|
-
connectionInfo?: Airtop.ConnectionInfo;
|
|
8
|
-
/** Session */
|
|
9
|
-
session: Airtop.Session;
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Airtop from "../index";
|
|
5
|
-
export interface SessionsOutputV1Body {
|
|
6
|
-
/** A URL to the JSON Schema for this object. */
|
|
7
|
-
schema?: string;
|
|
8
|
-
/** List of sessions */
|
|
9
|
-
sessions?: Airtop.SessionWithConnectionInfo[];
|
|
10
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Airtop from "../index";
|
|
5
|
-
export interface StatusMessage {
|
|
6
|
-
/** Event name */
|
|
7
|
-
event: string;
|
|
8
|
-
/** Time of the event in milliseconds since epoch */
|
|
9
|
-
eventTimeMillis: number;
|
|
10
|
-
/** ID of the session */
|
|
11
|
-
id: string;
|
|
12
|
-
/** Status of the session */
|
|
13
|
-
status: Airtop.StatusMessageStatus;
|
|
14
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Status of the session
|
|
6
|
-
*/
|
|
7
|
-
export declare type StatusMessageStatus = "awaiting_capacity" | "initializing" | "running" | "ended";
|
|
8
|
-
export declare const StatusMessageStatus: {
|
|
9
|
-
readonly AwaitingCapacity: "awaiting_capacity";
|
|
10
|
-
readonly Initializing: "initializing";
|
|
11
|
-
readonly Running: "running";
|
|
12
|
-
readonly Ended: "ended";
|
|
13
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.StatusMessageStatus = void 0;
|
|
7
|
-
exports.StatusMessageStatus = {
|
|
8
|
-
AwaitingCapacity: "awaiting_capacity",
|
|
9
|
-
Initializing: "initializing",
|
|
10
|
-
Running: "running",
|
|
11
|
-
Ended: "ended",
|
|
12
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import { Readable } from "stream";
|
|
3
|
-
export declare namespace Stream {
|
|
4
|
-
interface Args {
|
|
5
|
-
/**
|
|
6
|
-
* The HTTP response stream to read from.
|
|
7
|
-
*/
|
|
8
|
-
stream: Readable | ReadableStream;
|
|
9
|
-
/**
|
|
10
|
-
* The event shape to use for parsing the stream data.
|
|
11
|
-
*/
|
|
12
|
-
eventShape: JsonEvent | SseEvent;
|
|
13
|
-
/**
|
|
14
|
-
* An abort signal to stop the stream.
|
|
15
|
-
*/
|
|
16
|
-
signal?: AbortSignal;
|
|
17
|
-
}
|
|
18
|
-
interface JsonEvent {
|
|
19
|
-
type: "json";
|
|
20
|
-
messageTerminator: string;
|
|
21
|
-
}
|
|
22
|
-
interface SseEvent {
|
|
23
|
-
type: "sse";
|
|
24
|
-
streamTerminator?: string;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
export declare class Stream<T> implements AsyncIterable<T> {
|
|
28
|
-
private stream;
|
|
29
|
-
private parse;
|
|
30
|
-
/**
|
|
31
|
-
* The prefix to use for each message. For example,
|
|
32
|
-
* for SSE, the prefix is "data: ".
|
|
33
|
-
*/
|
|
34
|
-
private prefix;
|
|
35
|
-
private messageTerminator;
|
|
36
|
-
private streamTerminator;
|
|
37
|
-
private controller;
|
|
38
|
-
constructor({ stream, parse, eventShape, signal }: Stream.Args & {
|
|
39
|
-
parse: (val: unknown) => Promise<T>;
|
|
40
|
-
});
|
|
41
|
-
private iterMessages;
|
|
42
|
-
[Symbol.asyncIterator](): AsyncIterator<T, void, unknown>;
|
|
43
|
-
private decodeChunk;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Browser polyfill for ReadableStream
|
|
47
|
-
*/
|
|
48
|
-
export declare function readableStreamAsyncIterable<T>(stream: any): AsyncIterableIterator<T>;
|
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
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
|
-
var __asyncValues = (this && this.__asyncValues) || function (o) {
|
|
12
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
13
|
-
var m = o[Symbol.asyncIterator], i;
|
|
14
|
-
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
15
|
-
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
16
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
|
17
|
-
};
|
|
18
|
-
var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }
|
|
19
|
-
var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
|
|
20
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
21
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
22
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
23
|
-
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
24
|
-
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
|
25
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
26
|
-
function fulfill(value) { resume("next", value); }
|
|
27
|
-
function reject(value) { resume("throw", value); }
|
|
28
|
-
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
|
29
|
-
};
|
|
30
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
|
-
exports.readableStreamAsyncIterable = exports.Stream = void 0;
|
|
32
|
-
const runtime_1 = require("../runtime");
|
|
33
|
-
const DATA_PREFIX = "data:";
|
|
34
|
-
class Stream {
|
|
35
|
-
constructor({ stream, parse, eventShape, signal }) {
|
|
36
|
-
this.controller = new AbortController();
|
|
37
|
-
this.stream = stream;
|
|
38
|
-
this.parse = parse;
|
|
39
|
-
if (eventShape.type === "sse") {
|
|
40
|
-
this.prefix = DATA_PREFIX;
|
|
41
|
-
this.messageTerminator = "\n";
|
|
42
|
-
this.streamTerminator = eventShape.streamTerminator;
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
this.messageTerminator = eventShape.messageTerminator;
|
|
46
|
-
}
|
|
47
|
-
signal === null || signal === void 0 ? void 0 : signal.addEventListener("abort", () => this.controller.abort());
|
|
48
|
-
}
|
|
49
|
-
iterMessages() {
|
|
50
|
-
return __asyncGenerator(this, arguments, function* iterMessages_1() {
|
|
51
|
-
var e_1, _a;
|
|
52
|
-
this.controller.signal;
|
|
53
|
-
const stream = readableStreamAsyncIterable(this.stream);
|
|
54
|
-
let buf = "";
|
|
55
|
-
let prefixSeen = false;
|
|
56
|
-
try {
|
|
57
|
-
for (var stream_1 = __asyncValues(stream), stream_1_1; stream_1_1 = yield __await(stream_1.next()), !stream_1_1.done;) {
|
|
58
|
-
const chunk = stream_1_1.value;
|
|
59
|
-
buf += this.decodeChunk(chunk);
|
|
60
|
-
let terminatorIndex;
|
|
61
|
-
// Parse the chunk into as many messages as possible
|
|
62
|
-
while ((terminatorIndex = buf.indexOf(this.messageTerminator)) >= 0) {
|
|
63
|
-
// Extract the line from the buffer
|
|
64
|
-
let line = buf.slice(0, terminatorIndex + 1);
|
|
65
|
-
buf = buf.slice(terminatorIndex + 1);
|
|
66
|
-
// Skip empty lines
|
|
67
|
-
if (line.length === 0) {
|
|
68
|
-
continue;
|
|
69
|
-
}
|
|
70
|
-
// Skip the chunk until the prefix is found
|
|
71
|
-
if (!prefixSeen && this.prefix != null) {
|
|
72
|
-
const prefixIndex = line.indexOf(this.prefix);
|
|
73
|
-
if (prefixIndex === -1) {
|
|
74
|
-
continue;
|
|
75
|
-
}
|
|
76
|
-
prefixSeen = true;
|
|
77
|
-
line = line.slice(prefixIndex + this.prefix.length);
|
|
78
|
-
}
|
|
79
|
-
// If the stream terminator is present, return
|
|
80
|
-
if (this.streamTerminator != null && line.includes(this.streamTerminator)) {
|
|
81
|
-
return yield __await(void 0);
|
|
82
|
-
}
|
|
83
|
-
// Otherwise, yield message from the prefix to the terminator
|
|
84
|
-
const message = yield __await(this.parse(JSON.parse(line)));
|
|
85
|
-
yield yield __await(message);
|
|
86
|
-
prefixSeen = false;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
91
|
-
finally {
|
|
92
|
-
try {
|
|
93
|
-
if (stream_1_1 && !stream_1_1.done && (_a = stream_1.return)) yield __await(_a.call(stream_1));
|
|
94
|
-
}
|
|
95
|
-
finally { if (e_1) throw e_1.error; }
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
[Symbol.asyncIterator]() {
|
|
100
|
-
return __asyncGenerator(this, arguments, function* _a() {
|
|
101
|
-
var e_2, _b;
|
|
102
|
-
try {
|
|
103
|
-
for (var _c = __asyncValues(this.iterMessages()), _d; _d = yield __await(_c.next()), !_d.done;) {
|
|
104
|
-
const message = _d.value;
|
|
105
|
-
yield yield __await(message);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
109
|
-
finally {
|
|
110
|
-
try {
|
|
111
|
-
if (_d && !_d.done && (_b = _c.return)) yield __await(_b.call(_c));
|
|
112
|
-
}
|
|
113
|
-
finally { if (e_2) throw e_2.error; }
|
|
114
|
-
}
|
|
115
|
-
});
|
|
116
|
-
}
|
|
117
|
-
decodeChunk(chunk) {
|
|
118
|
-
let decoded = "";
|
|
119
|
-
// If TextDecoder is present, use it
|
|
120
|
-
if (typeof TextDecoder !== "undefined") {
|
|
121
|
-
const decoder = new TextDecoder("utf8");
|
|
122
|
-
decoded += decoder.decode(chunk);
|
|
123
|
-
}
|
|
124
|
-
// Buffer is present in Node.js environment
|
|
125
|
-
else if (runtime_1.RUNTIME.type === "node" && typeof chunk != "undefined") {
|
|
126
|
-
decoded += Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk);
|
|
127
|
-
}
|
|
128
|
-
return decoded;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
exports.Stream = Stream;
|
|
132
|
-
/**
|
|
133
|
-
* Browser polyfill for ReadableStream
|
|
134
|
-
*/
|
|
135
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
136
|
-
function readableStreamAsyncIterable(stream) {
|
|
137
|
-
if (stream[Symbol.asyncIterator]) {
|
|
138
|
-
return stream;
|
|
139
|
-
}
|
|
140
|
-
const reader = stream.getReader();
|
|
141
|
-
return {
|
|
142
|
-
next() {
|
|
143
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
144
|
-
try {
|
|
145
|
-
const result = yield reader.read();
|
|
146
|
-
if (result === null || result === void 0 ? void 0 : result.done) {
|
|
147
|
-
reader.releaseLock();
|
|
148
|
-
} // release lock when stream becomes closed
|
|
149
|
-
return result;
|
|
150
|
-
}
|
|
151
|
-
catch (e) {
|
|
152
|
-
reader.releaseLock(); // release lock when stream becomes errored
|
|
153
|
-
throw e;
|
|
154
|
-
}
|
|
155
|
-
});
|
|
156
|
-
},
|
|
157
|
-
return() {
|
|
158
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
159
|
-
const cancelPromise = reader.cancel();
|
|
160
|
-
reader.releaseLock();
|
|
161
|
-
yield cancelPromise;
|
|
162
|
-
return { done: true, value: undefined };
|
|
163
|
-
});
|
|
164
|
-
},
|
|
165
|
-
[Symbol.asyncIterator]() {
|
|
166
|
-
return this;
|
|
167
|
-
},
|
|
168
|
-
};
|
|
169
|
-
}
|
|
170
|
-
exports.readableStreamAsyncIterable = readableStreamAsyncIterable;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Stream } from "./Stream";
|
package/dist/api/resources/sessions/client/requests/SessionPromptPaginatedExtractionRequest.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* prompt: "For each page on return all the items listed including a subfield"
|
|
8
|
-
* }
|
|
9
|
-
*/
|
|
10
|
-
export interface SessionPromptPaginatedExtractionRequest {
|
|
11
|
-
/** A URL to the JSON Schema for this object. */
|
|
12
|
-
schema?: string;
|
|
13
|
-
costThresholdCredits?: number;
|
|
14
|
-
customerRequestId?: string;
|
|
15
|
-
/** The prompt to perform a paginated extraction with */
|
|
16
|
-
prompt: string;
|
|
17
|
-
timeThresholdMs?: number;
|
|
18
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Airtop from "../../../index";
|
|
5
|
-
/**
|
|
6
|
-
* Each oneOf object in the array represents one possible Server Sent Events (SSE) message, serialized as UTF-8 text according to the SSE specification.
|
|
7
|
-
*/
|
|
8
|
-
export declare type SessionsEventsResponse = Airtop.SessionsEventsResponse.Status | Airtop.SessionsEventsResponse.Error_;
|
|
9
|
-
export declare namespace SessionsEventsResponse {
|
|
10
|
-
interface Status extends Airtop.SessionsEventsResponseStatus {
|
|
11
|
-
event: "status";
|
|
12
|
-
}
|
|
13
|
-
interface Error_ extends Airtop.SessionsEventsResponseError {
|
|
14
|
-
event: "error";
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Airtop from "../../../index";
|
|
5
|
-
export interface SessionsEventsResponseError {
|
|
6
|
-
data: Airtop.ErrorMessage;
|
|
7
|
-
/** The event ID. */
|
|
8
|
-
id?: number;
|
|
9
|
-
/** The retry time in milliseconds. */
|
|
10
|
-
retry?: number;
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Airtop from "../../../index";
|
|
5
|
-
export interface SessionsEventsResponseStatus {
|
|
6
|
-
data: Airtop.StatusMessage;
|
|
7
|
-
/** The event ID. */
|
|
8
|
-
id?: number;
|
|
9
|
-
/** The retry time in milliseconds. */
|
|
10
|
-
retry?: number;
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Airtop from "../index";
|
|
5
|
-
export interface CleanScrapeResponse {
|
|
6
|
-
/** A URL to the JSON Schema for this object. */
|
|
7
|
-
schema?: string;
|
|
8
|
-
/** The data about the scraped browser window */
|
|
9
|
-
data: Airtop.CleanScrapeResponseData;
|
|
10
|
-
/** Metadata about the response */
|
|
11
|
-
meta: Airtop.SessionAiResponseMetadata;
|
|
12
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Airtop from "../index";
|
|
5
|
-
export interface CleanScrapeResponseData {
|
|
6
|
-
/** The response to the question about this specific browser window */
|
|
7
|
-
output: Airtop.CleanScrapeResponseOutput;
|
|
8
|
-
/** outcome of the operation */
|
|
9
|
-
status: Airtop.CleanScrapeResponseDataStatus;
|
|
10
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* outcome of the operation
|
|
6
|
-
*/
|
|
7
|
-
export declare type CleanScrapeResponseDataStatus = "success" | "partial_success" | "failure";
|
|
8
|
-
export declare const CleanScrapeResponseDataStatus: {
|
|
9
|
-
readonly Success: "success";
|
|
10
|
-
readonly PartialSuccess: "partial_success";
|
|
11
|
-
readonly Failure: "failure";
|
|
12
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.CleanScrapeResponseDataStatus = void 0;
|
|
7
|
-
exports.CleanScrapeResponseDataStatus = {
|
|
8
|
-
Success: "success",
|
|
9
|
-
PartialSuccess: "partial_success",
|
|
10
|
-
Failure: "failure",
|
|
11
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Airtop from "../index";
|
|
5
|
-
export interface ConnectionInfo {
|
|
6
|
-
/** Url to connect to chrome devtools protocol port on the airtop browser. Include the header 'x-airtop-token: <api-key>.' */
|
|
7
|
-
cdpUrl?: string;
|
|
8
|
-
/** Websocket url to connect to CDP webSocketDebuggerUrl on the airtop browser. Include the header 'x-airtop-token: <api-key>.' */
|
|
9
|
-
cdpWsUrl?: string;
|
|
10
|
-
/** Websocket url to connect to the chromedriver on the airtop browser. Include the header 'x-airtop-token: <api-key>.' */
|
|
11
|
-
chromedriverUrl?: string;
|
|
12
|
-
/** Connection info for the live view */
|
|
13
|
-
liveView?: Airtop.LiveViewConnectionInfo;
|
|
14
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface ErrorDetail {
|
|
5
|
-
/** Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id' */
|
|
6
|
-
location?: string;
|
|
7
|
-
/** Error message text */
|
|
8
|
-
message?: string;
|
|
9
|
-
value?: unknown;
|
|
10
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Airtop from "../index";
|
|
5
|
-
export interface ErrorModel {
|
|
6
|
-
/** A URL to the JSON Schema for this object. */
|
|
7
|
-
schema?: string;
|
|
8
|
-
/** A human-readable explanation specific to this occurrence of the problem. */
|
|
9
|
-
detail?: string;
|
|
10
|
-
/** Optional list of individual error details */
|
|
11
|
-
errors?: Airtop.ErrorDetail[];
|
|
12
|
-
/** A URI reference that identifies the specific occurrence of the problem. */
|
|
13
|
-
instance?: string;
|
|
14
|
-
/** HTTP status code */
|
|
15
|
-
status?: number;
|
|
16
|
-
/** A short, human-readable summary of the problem type. This value should not change between occurrences of the error. */
|
|
17
|
-
title?: string;
|
|
18
|
-
/** A URI reference to human-readable documentation for the error. */
|
|
19
|
-
type?: string;
|
|
20
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface LiveViewConnectionInfo {
|
|
5
|
-
/** Websocket url to connect to the airtop browser */
|
|
6
|
-
airtopBrowserUrl: string;
|
|
7
|
-
/** Token to connect to the airtop browser, use as a header: 'Authorization: Bearer <token>' */
|
|
8
|
-
token?: string;
|
|
9
|
-
}
|