@airtop/sdk 0.0.7-b → 0.0.7-c
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 +1 -1
- 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/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/profiles/client/Client.d.ts +4 -6
- package/api/resources/profiles/client/Client.js +23 -20
- package/api/resources/sessions/client/Client.d.ts +9 -62
- package/api/resources/sessions/client/Client.js +37 -353
- 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/types/SessionsEventsResponse.d.ts +4 -4
- package/api/resources/sessions/types/index.d.ts +1 -1
- package/api/resources/sessions/types/index.js +1 -1
- package/api/resources/windows/client/Client.d.ts +69 -0
- package/api/resources/windows/client/Client.js +318 -0
- package/api/resources/windows/client/index.d.ts +1 -0
- package/api/resources/windows/client/index.js +17 -0
- 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/SummarizeContentRequest.d.ts +14 -0
- package/api/resources/windows/client/requests/index.d.ts +3 -0
- package/api/resources/windows/client/requests/index.js +2 -0
- package/api/resources/windows/index.d.ts +1 -0
- package/api/resources/windows/index.js +17 -0
- package/api/types/ClientProvidedResponseMetadata.d.ts +2 -1
- package/api/types/DefaultMetaWrapper.d.ts +6 -0
- package/api/types/ErrorEnvelope.d.ts +12 -0
- package/api/types/ExternalSessionAiResponseMetadata.d.ts +9 -0
- package/api/types/{SessionAiResponseDataStatus.d.ts → ExternalSessionAiResponseMetadataStatus.d.ts} +2 -5
- package/api/types/{CleanScrapeResponseDataStatus.js → ExternalSessionAiResponseMetadataStatus.js} +2 -2
- package/api/types/ExternalSessionAiResponseMetadataUsage.d.ts +9 -0
- package/{dist/api/types/SessionAiResponseIssue.d.ts → api/types/Issue.d.ts} +1 -1
- package/api/types/ListProfileV1EnvelopeDefaultMetaWrapper.d.ts +10 -0
- package/api/types/ListSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +10 -0
- package/api/types/ModelResponse.d.ts +6 -0
- package/api/types/ModelResponseExternalSessionAiResponseMetadataWrapper.d.ts +10 -0
- package/api/types/ProfileV1EnvelopeDefaultMetaWrapper.d.ts +10 -0
- package/api/types/ScrapeModelResponse.d.ts +7 -0
- package/api/types/ScrapeModelResponseExternalSessionAiResponseMetadataWrapper.d.ts +10 -0
- package/api/types/{CleanScrapeResponseOutput.d.ts → ScrapeResponseOutput.d.ts} +2 -2
- package/api/types/SessionConfig.d.ts +1 -1
- package/api/types/SessionConfigV1.d.ts +1 -1
- package/api/types/SessionWithConnectionInfo.d.ts +22 -4
- package/api/types/SessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +10 -0
- package/api/types/Window.d.ts +11 -0
- package/api/types/WindowEnvelopeDefaultMetaWrapper.d.ts +10 -0
- package/api/types/index.d.ts +17 -20
- package/api/types/index.js +17 -20
- 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 -0
- package/core/index.js +1 -0
- 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/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/profiles/client/Client.d.ts +4 -6
- package/dist/api/resources/profiles/client/Client.js +23 -20
- package/dist/api/resources/sessions/client/Client.d.ts +9 -62
- package/dist/api/resources/sessions/client/Client.js +37 -353
- 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/types/SessionsEventsResponse.d.ts +4 -4
- package/dist/api/resources/sessions/types/index.d.ts +1 -1
- package/dist/api/resources/sessions/types/index.js +1 -1
- package/dist/api/resources/windows/client/Client.d.ts +69 -0
- package/dist/api/resources/windows/client/Client.js +318 -0
- package/dist/api/resources/windows/client/index.d.ts +1 -0
- package/dist/api/resources/windows/client/index.js +17 -0
- 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/SummarizeContentRequest.d.ts +14 -0
- package/dist/api/resources/windows/client/requests/index.d.ts +3 -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/windows/index.js +17 -0
- package/dist/api/types/ClientProvidedResponseMetadata.d.ts +2 -1
- package/dist/api/types/DefaultMetaWrapper.d.ts +6 -0
- package/dist/api/types/ErrorEnvelope.d.ts +12 -0
- package/dist/api/types/ExternalSessionAiResponseMetadata.d.ts +9 -0
- package/dist/api/types/{SessionAiResponseDataStatus.d.ts → ExternalSessionAiResponseMetadataStatus.d.ts} +2 -5
- package/{api/types/SessionAiResponseDataStatus.js → dist/api/types/ExternalSessionAiResponseMetadataStatus.js} +2 -2
- package/dist/api/types/ExternalSessionAiResponseMetadataUsage.d.ts +9 -0
- package/{api/types/SessionAiResponseIssue.d.ts → dist/api/types/Issue.d.ts} +1 -1
- package/dist/api/types/ListProfileV1EnvelopeDefaultMetaWrapper.d.ts +10 -0
- package/dist/api/types/ListSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +10 -0
- package/dist/api/types/ModelResponse.d.ts +6 -0
- package/dist/api/types/ModelResponseExternalSessionAiResponseMetadataWrapper.d.ts +10 -0
- package/dist/api/types/ProfileV1EnvelopeDefaultMetaWrapper.d.ts +10 -0
- package/dist/api/types/ScrapeModelResponse.d.ts +7 -0
- package/dist/api/types/ScrapeModelResponseExternalSessionAiResponseMetadataWrapper.d.ts +10 -0
- package/dist/api/types/{CleanScrapeResponseOutput.d.ts → ScrapeResponseOutput.d.ts} +2 -2
- package/dist/api/types/SessionConfig.d.ts +1 -1
- package/dist/api/types/SessionConfigV1.d.ts +1 -1
- package/dist/api/types/SessionWithConnectionInfo.d.ts +22 -4
- package/dist/api/types/SessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +10 -0
- 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 +17 -20
- package/dist/api/types/index.js +17 -20
- 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 -0
- package/dist/core/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- 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/types/SessionsEventsResponse.d.ts +5 -5
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +2 -2
- package/dist/serialization/resources/sessions/types/index.d.ts +1 -1
- package/dist/serialization/resources/sessions/types/index.js +1 -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/dist/serialization/resources/{sessions/client/requests/SessionPromptContentRequest.js → windows/client/requests/PromptContentRequest.js} +5 -5
- package/dist/serialization/resources/windows/client/requests/SummarizeContentRequest.d.ts +15 -0
- package/{serialization/resources/sessions/client/requests/SessionPromptPaginatedExtractionRequest.js → dist/serialization/resources/windows/client/requests/SummarizeContentRequest.js} +5 -6
- package/dist/serialization/resources/windows/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/windows/client/requests/index.js +7 -0
- package/dist/serialization/resources/windows/index.d.ts +1 -0
- package/dist/serialization/resources/windows/index.js +17 -0
- package/dist/serialization/types/ClientProvidedResponseMetadata.d.ts +2 -1
- package/dist/serialization/types/ClientProvidedResponseMetadata.js +2 -1
- package/dist/serialization/types/DefaultMetaWrapper.d.ts +12 -0
- package/dist/serialization/types/{SessionAiResponseDataStatus.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/dist/serialization/types/ExternalSessionAiResponseMetadata.d.ts +17 -0
- package/dist/serialization/types/{SessionAiResponseMetadata.js → ExternalSessionAiResponseMetadata.js} +6 -4
- package/dist/serialization/types/ExternalSessionAiResponseMetadataStatus.d.ts +10 -0
- package/dist/serialization/types/ExternalSessionAiResponseMetadataStatus.js +31 -0
- package/dist/serialization/types/ExternalSessionAiResponseMetadataUsage.d.ts +13 -0
- package/dist/serialization/types/ExternalSessionAiResponseMetadataUsage.js +34 -0
- package/dist/serialization/types/{SessionAiResponseIssue.d.ts → Issue.d.ts} +2 -2
- package/{serialization/types/SessionAiResponseIssue.js → dist/serialization/types/Issue.js} +2 -2
- package/dist/serialization/types/ListProfileV1EnvelopeDefaultMetaWrapper.d.ts +18 -0
- package/{serialization/types/ProfileOutputV1Body.js → dist/serialization/types/ListProfileV1EnvelopeDefaultMetaWrapper.js} +8 -4
- package/dist/serialization/types/ListSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +18 -0
- package/dist/serialization/types/ListSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js +39 -0
- package/dist/serialization/types/ModelResponse.d.ts +12 -0
- package/{serialization/types/SessionAiResponseDataStatus.js → dist/serialization/types/ModelResponse.js} +4 -2
- package/dist/serialization/types/ModelResponseExternalSessionAiResponseMetadataWrapper.d.ts +18 -0
- package/dist/serialization/types/ModelResponseExternalSessionAiResponseMetadataWrapper.js +39 -0
- package/dist/serialization/types/ProfileV1EnvelopeDefaultMetaWrapper.d.ts +18 -0
- package/dist/serialization/types/{ProfileOutputV1Body.js → ProfileV1EnvelopeDefaultMetaWrapper.js} +8 -4
- package/dist/serialization/types/ScrapeModelResponse.d.ts +13 -0
- package/dist/serialization/types/ScrapeModelResponse.js +34 -0
- package/dist/serialization/types/ScrapeModelResponseExternalSessionAiResponseMetadataWrapper.d.ts +18 -0
- package/dist/serialization/types/ScrapeModelResponseExternalSessionAiResponseMetadataWrapper.js +39 -0
- package/dist/serialization/types/{CleanScrapeResponseOutput.d.ts → ScrapeResponseOutput.d.ts} +3 -3
- package/{serialization/types/CleanScrapeResponseOutput.js → dist/serialization/types/ScrapeResponseOutput.js} +3 -3
- package/dist/serialization/types/SessionConfig.d.ts +1 -1
- package/dist/serialization/types/SessionConfig.js +1 -1
- package/dist/serialization/types/SessionConfigV1.d.ts +1 -1
- package/dist/serialization/types/SessionConfigV1.js +1 -1
- package/dist/serialization/types/SessionWithConnectionInfo.d.ts +13 -4
- package/dist/serialization/types/SessionWithConnectionInfo.js +13 -4
- package/dist/serialization/types/SessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +18 -0
- package/dist/serialization/types/{SessionsOutputV1Body.js → SessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js} +8 -4
- package/dist/serialization/types/Window.d.ts +14 -0
- package/dist/serialization/types/Window.js +35 -0
- 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 +17 -20
- package/dist/serialization/types/index.js +17 -20
- package/package.json +20 -3
- package/reference.md +41 -98
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- 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/types/SessionsEventsResponse.d.ts +5 -5
- package/serialization/resources/sessions/types/SessionsEventsResponse.js +2 -2
- package/serialization/resources/sessions/types/index.d.ts +1 -1
- package/serialization/resources/sessions/types/index.js +1 -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/serialization/resources/{sessions/client/requests/SessionPromptContentRequest.js → windows/client/requests/PromptContentRequest.js} +5 -5
- package/serialization/resources/windows/client/requests/SummarizeContentRequest.d.ts +15 -0
- package/{dist/serialization/resources/sessions/client/requests/SessionPromptPaginatedExtractionRequest.js → serialization/resources/windows/client/requests/SummarizeContentRequest.js} +5 -6
- package/serialization/resources/windows/client/requests/index.d.ts +2 -0
- package/serialization/resources/windows/client/requests/index.js +7 -0
- package/serialization/resources/windows/index.d.ts +1 -0
- package/serialization/resources/windows/index.js +17 -0
- package/serialization/types/ClientProvidedResponseMetadata.d.ts +2 -1
- package/serialization/types/ClientProvidedResponseMetadata.js +2 -1
- package/serialization/types/DefaultMetaWrapper.d.ts +12 -0
- package/serialization/types/{CleanScrapeResponseDataStatus.js → DefaultMetaWrapper.js} +4 -2
- package/serialization/types/ErrorEnvelope.d.ts +18 -0
- package/serialization/types/ErrorEnvelope.js +39 -0
- package/serialization/types/ExternalSessionAiResponseMetadata.d.ts +17 -0
- package/serialization/types/{SessionAiResponseMetadata.js → ExternalSessionAiResponseMetadata.js} +6 -4
- package/serialization/types/ExternalSessionAiResponseMetadataStatus.d.ts +10 -0
- package/serialization/types/ExternalSessionAiResponseMetadataStatus.js +31 -0
- package/serialization/types/ExternalSessionAiResponseMetadataUsage.d.ts +13 -0
- package/serialization/types/ExternalSessionAiResponseMetadataUsage.js +34 -0
- package/serialization/types/{SessionAiResponseIssue.d.ts → Issue.d.ts} +2 -2
- package/{dist/serialization/types/SessionAiResponseIssue.js → serialization/types/Issue.js} +2 -2
- package/serialization/types/ListProfileV1EnvelopeDefaultMetaWrapper.d.ts +18 -0
- package/serialization/types/{ProfilesOutputV1Body.js → ListProfileV1EnvelopeDefaultMetaWrapper.js} +8 -4
- package/serialization/types/ListSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +18 -0
- package/serialization/types/ListSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js +39 -0
- package/serialization/types/ModelResponse.d.ts +12 -0
- package/{dist/serialization/types/CleanScrapeResponseDataStatus.js → serialization/types/ModelResponse.js} +4 -2
- package/serialization/types/ModelResponseExternalSessionAiResponseMetadataWrapper.d.ts +18 -0
- package/serialization/types/ModelResponseExternalSessionAiResponseMetadataWrapper.js +39 -0
- package/serialization/types/ProfileV1EnvelopeDefaultMetaWrapper.d.ts +18 -0
- package/{dist/serialization/types/ProfilesOutputV1Body.js → serialization/types/ProfileV1EnvelopeDefaultMetaWrapper.js} +8 -4
- package/serialization/types/ScrapeModelResponse.d.ts +13 -0
- package/serialization/types/ScrapeModelResponse.js +34 -0
- package/serialization/types/ScrapeModelResponseExternalSessionAiResponseMetadataWrapper.d.ts +18 -0
- package/serialization/types/ScrapeModelResponseExternalSessionAiResponseMetadataWrapper.js +39 -0
- package/serialization/types/{CleanScrapeResponseOutput.d.ts → ScrapeResponseOutput.d.ts} +3 -3
- package/{dist/serialization/types/CleanScrapeResponseOutput.js → serialization/types/ScrapeResponseOutput.js} +3 -3
- package/serialization/types/SessionConfig.d.ts +1 -1
- package/serialization/types/SessionConfig.js +1 -1
- package/serialization/types/SessionConfigV1.d.ts +1 -1
- package/serialization/types/SessionConfigV1.js +1 -1
- package/serialization/types/SessionWithConnectionInfo.d.ts +13 -4
- package/serialization/types/SessionWithConnectionInfo.js +13 -4
- package/serialization/types/SessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +18 -0
- package/serialization/types/{SessionsOutputV1Body.js → SessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js} +8 -4
- package/serialization/types/Window.d.ts +14 -0
- package/serialization/types/Window.js +35 -0
- 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 +17 -20
- package/serialization/types/index.js +17 -20
- package/api/resources/sessions/client/requests/SessionPromptPaginatedExtractionRequest.d.ts +0 -18
- 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/ErrorModel.d.ts +0 -20
- 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/SessionAiResponseMetadata.d.ts +0 -10
- package/api/types/SessionAiResponseMetadataUsage.d.ts +0 -14
- package/api/types/SessionAiResponseResponseMetadataModelUsage.d.ts +0 -10
- package/api/types/SessionOutputV1Body.d.ts +0 -12
- package/api/types/SessionsOutputV1Body.d.ts +0 -10
- package/dist/api/resources/sessions/client/requests/SessionPromptPaginatedExtractionRequest.d.ts +0 -18
- 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/ErrorModel.d.ts +0 -20
- package/dist/api/types/LiveViewUrlOutputV1Body.d.ts +0 -13
- package/dist/api/types/ProfileOutputV1Body.d.ts +0 -10
- package/dist/api/types/ProfilesOutputV1Body.d.ts +0 -9
- package/dist/api/types/Session.d.ts +0 -20
- package/dist/api/types/SessionAiResponse.d.ts +0 -16
- package/dist/api/types/SessionAiResponseData.d.ts +0 -10
- package/dist/api/types/SessionAiResponseDataStatus.js +0 -11
- package/dist/api/types/SessionAiResponseMetadata.d.ts +0 -10
- package/dist/api/types/SessionAiResponseMetadataUsage.d.ts +0 -14
- package/dist/api/types/SessionAiResponseResponseMetadataModelUsage.d.ts +0 -10
- package/dist/api/types/SessionOutputV1Body.d.ts +0 -12
- package/dist/api/types/SessionOutputV1Body.js +0 -5
- package/dist/api/types/SessionsOutputV1Body.d.ts +0 -10
- package/dist/api/types/SessionsOutputV1Body.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/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/ConnectionInfo.js +0 -37
- package/dist/serialization/types/ErrorDetail.d.ts +0 -14
- package/dist/serialization/types/ErrorDetail.js +0 -35
- package/dist/serialization/types/ErrorModel.d.ts +0 -19
- package/dist/serialization/types/ErrorModel.js +0 -40
- 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/ProfilesOutputV1Body.d.ts +0 -14
- package/dist/serialization/types/Session.d.ts +0 -19
- package/dist/serialization/types/Session.js +0 -40
- 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/SessionOutputV1Body.d.ts +0 -16
- package/dist/serialization/types/SessionOutputV1Body.js +0 -37
- package/dist/serialization/types/SessionsOutputV1Body.d.ts +0 -14
- package/serialization/resources/sessions/client/requests/SessionPromptContentRequest.d.ts +0 -16
- package/serialization/resources/sessions/client/requests/SessionPromptPaginatedExtractionRequest.d.ts +0 -16
- 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/ErrorDetail.js +0 -35
- package/serialization/types/ErrorModel.d.ts +0 -19
- package/serialization/types/ErrorModel.js +0 -40
- 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/ProfilesOutputV1Body.d.ts +0 -14
- package/serialization/types/Session.d.ts +0 -19
- package/serialization/types/Session.js +0 -40
- 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/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/SessionOutputV1Body.d.ts +0 -16
- package/serialization/types/SessionOutputV1Body.js +0 -37
- package/serialization/types/SessionsOutputV1Body.d.ts +0 -14
- /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/{types/CleanScrapeResponse.js → resources/windows/client/requests/SummarizeContentRequest.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 → ExternalSessionAiResponseMetadata.js} +0 -0
- /package/api/types/{ErrorDetail.js → ExternalSessionAiResponseMetadataUsage.js} +0 -0
- /package/api/types/{ErrorModel.js → Issue.js} +0 -0
- /package/api/types/{LiveViewUrlOutputV1Body.js → ListProfileV1EnvelopeDefaultMetaWrapper.js} +0 -0
- /package/api/types/{ProfileOutputV1Body.js → ListSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js} +0 -0
- /package/api/types/{ProfilesOutputV1Body.js → ModelResponse.js} +0 -0
- /package/api/types/{Session.js → ModelResponseExternalSessionAiResponseMetadataWrapper.js} +0 -0
- /package/api/types/{SessionAiResponse.js → ProfileV1EnvelopeDefaultMetaWrapper.js} +0 -0
- /package/api/types/{SessionAiResponseData.js → ScrapeModelResponse.js} +0 -0
- /package/api/types/{SessionAiResponseIssue.js → ScrapeModelResponseExternalSessionAiResponseMetadataWrapper.js} +0 -0
- /package/api/types/{SessionAiResponseMetadata.js → ScrapeResponseOutput.js} +0 -0
- /package/api/types/{SessionAiResponseMetadataUsage.js → SessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js} +0 -0
- /package/api/types/{SessionAiResponseResponseMetadataModelUsage.js → Window.js} +0 -0
- /package/api/types/{SessionOutputV1Body.js → WindowEnvelopeDefaultMetaWrapper.js} +0 -0
- /package/{api/types/SessionsOutputV1Body.js → dist/api/resources/windows/client/requests/GetWindowInfoRequest.js} +0 -0
- /package/dist/api/resources/{sessions/client/requests/SessionPromptContentRequest.js → windows/client/requests/PromptContentRequest.js} +0 -0
- /package/dist/api/resources/{sessions/client/requests/SessionPromptPaginatedExtractionRequest.js → windows/client/requests/SummarizeContentRequest.js} +0 -0
- /package/dist/api/types/{CleanScrapeResponse.js → DefaultMetaWrapper.js} +0 -0
- /package/dist/api/types/{CleanScrapeResponseData.js → ErrorEnvelope.js} +0 -0
- /package/dist/api/types/{CleanScrapeResponseOutput.js → ExternalSessionAiResponseMetadata.js} +0 -0
- /package/dist/api/types/{ConnectionInfo.js → ExternalSessionAiResponseMetadataUsage.js} +0 -0
- /package/dist/api/types/{ErrorDetail.js → Issue.js} +0 -0
- /package/dist/api/types/{ErrorModel.js → ListProfileV1EnvelopeDefaultMetaWrapper.js} +0 -0
- /package/dist/api/types/{LiveViewUrlOutputV1Body.js → ListSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js} +0 -0
- /package/dist/api/types/{ProfileOutputV1Body.js → ModelResponse.js} +0 -0
- /package/dist/api/types/{ProfilesOutputV1Body.js → ModelResponseExternalSessionAiResponseMetadataWrapper.js} +0 -0
- /package/dist/api/types/{Session.js → ProfileV1EnvelopeDefaultMetaWrapper.js} +0 -0
- /package/dist/api/types/{SessionAiResponse.js → ScrapeModelResponse.js} +0 -0
- /package/dist/api/types/{SessionAiResponseData.js → ScrapeModelResponseExternalSessionAiResponseMetadataWrapper.js} +0 -0
- /package/dist/api/types/{SessionAiResponseIssue.js → ScrapeResponseOutput.js} +0 -0
- /package/dist/api/types/{SessionAiResponseMetadata.js → SessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js} +0 -0
- /package/dist/api/types/{SessionAiResponseMetadataUsage.js → Window.js} +0 -0
- /package/dist/api/types/{SessionAiResponseResponseMetadataModelUsage.js → WindowEnvelopeDefaultMetaWrapper.js} +0 -0
@@ -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,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,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,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 SessionsOutputV1Body {
|
6
|
-
/** A URL to the JSON Schema for this object. */
|
7
|
-
schema?: string;
|
8
|
-
/** List of sessions */
|
9
|
-
sessions?: Airtop.SessionWithConnectionInfo[];
|
10
|
-
}
|
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,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,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
|
-
}
|
@@ -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,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.SessionAiResponseDataStatus = void 0;
|
7
|
-
exports.SessionAiResponseDataStatus = {
|
8
|
-
Success: "success",
|
9
|
-
PartialSuccess: "partial_success",
|
10
|
-
Failure: "failure",
|
11
|
-
};
|
@@ -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,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 SessionsOutputV1Body {
|
6
|
-
/** A URL to the JSON Schema for this object. */
|
7
|
-
schema?: string;
|
8
|
-
/** List of sessions */
|
9
|
-
sessions?: Airtop.SessionWithConnectionInfo[];
|
10
|
-
}
|
package/dist/serialization/resources/sessions/client/requests/SessionPromptContentRequest.d.ts
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../../../../index";
|
5
|
-
import * as Airtop from "../../../../../api/index";
|
6
|
-
import * as core from "../../../../../core";
|
7
|
-
export declare const SessionPromptContentRequest: core.serialization.Schema<serializers.SessionPromptContentRequest.Raw, Airtop.SessionPromptContentRequest>;
|
8
|
-
export declare namespace SessionPromptContentRequest {
|
9
|
-
interface Raw {
|
10
|
-
$schema?: string | null;
|
11
|
-
costThresholdCredits?: number | null;
|
12
|
-
customerRequestId?: string | null;
|
13
|
-
prompt: string;
|
14
|
-
timeThresholdMs?: number | null;
|
15
|
-
}
|
16
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../../../../index";
|
5
|
-
import * as Airtop from "../../../../../api/index";
|
6
|
-
import * as core from "../../../../../core";
|
7
|
-
export declare const SessionPromptPaginatedExtractionRequest: core.serialization.Schema<serializers.SessionPromptPaginatedExtractionRequest.Raw, Airtop.SessionPromptPaginatedExtractionRequest>;
|
8
|
-
export declare namespace SessionPromptPaginatedExtractionRequest {
|
9
|
-
interface Raw {
|
10
|
-
$schema?: string | null;
|
11
|
-
costThresholdCredits?: number | null;
|
12
|
-
customerRequestId?: string | null;
|
13
|
-
prompt: string;
|
14
|
-
timeThresholdMs?: number | null;
|
15
|
-
}
|
16
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../index";
|
5
|
-
import * as Airtop from "../../api/index";
|
6
|
-
import * as core from "../../core";
|
7
|
-
import { CleanScrapeResponseData } from "./CleanScrapeResponseData";
|
8
|
-
import { SessionAiResponseMetadata } from "./SessionAiResponseMetadata";
|
9
|
-
export declare const CleanScrapeResponse: core.serialization.ObjectSchema<serializers.CleanScrapeResponse.Raw, Airtop.CleanScrapeResponse>;
|
10
|
-
export declare namespace CleanScrapeResponse {
|
11
|
-
interface Raw {
|
12
|
-
$schema?: string | null;
|
13
|
-
data: CleanScrapeResponseData.Raw;
|
14
|
-
meta: SessionAiResponseMetadata.Raw;
|
15
|
-
}
|
16
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../index";
|
5
|
-
import * as Airtop from "../../api/index";
|
6
|
-
import * as core from "../../core";
|
7
|
-
import { CleanScrapeResponseOutput } from "./CleanScrapeResponseOutput";
|
8
|
-
import { CleanScrapeResponseDataStatus } from "./CleanScrapeResponseDataStatus";
|
9
|
-
export declare const CleanScrapeResponseData: core.serialization.ObjectSchema<serializers.CleanScrapeResponseData.Raw, Airtop.CleanScrapeResponseData>;
|
10
|
-
export declare namespace CleanScrapeResponseData {
|
11
|
-
interface Raw {
|
12
|
-
output: CleanScrapeResponseOutput.Raw;
|
13
|
-
status: CleanScrapeResponseDataStatus.Raw;
|
14
|
-
}
|
15
|
-
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../index";
|
5
|
-
import * as Airtop from "../../api/index";
|
6
|
-
import * as core from "../../core";
|
7
|
-
export declare const CleanScrapeResponseDataStatus: core.serialization.Schema<serializers.CleanScrapeResponseDataStatus.Raw, Airtop.CleanScrapeResponseDataStatus>;
|
8
|
-
export declare namespace CleanScrapeResponseDataStatus {
|
9
|
-
type Raw = "success" | "partial_success" | "failure";
|
10
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../index";
|
5
|
-
import * as Airtop from "../../api/index";
|
6
|
-
import * as core from "../../core";
|
7
|
-
import { LiveViewConnectionInfo } from "./LiveViewConnectionInfo";
|
8
|
-
export declare const ConnectionInfo: core.serialization.ObjectSchema<serializers.ConnectionInfo.Raw, Airtop.ConnectionInfo>;
|
9
|
-
export declare namespace ConnectionInfo {
|
10
|
-
interface Raw {
|
11
|
-
cdp_url?: string | null;
|
12
|
-
cdp_ws_url?: string | null;
|
13
|
-
chromedriver_url?: string | null;
|
14
|
-
live_view?: LiveViewConnectionInfo.Raw | null;
|
15
|
-
}
|
16
|
-
}
|
@@ -1,37 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
4
|
-
*/
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
-
if (k2 === undefined) k2 = k;
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
-
}
|
11
|
-
Object.defineProperty(o, k2, desc);
|
12
|
-
}) : (function(o, m, k, k2) {
|
13
|
-
if (k2 === undefined) k2 = k;
|
14
|
-
o[k2] = m[k];
|
15
|
-
}));
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
-
}) : function(o, v) {
|
19
|
-
o["default"] = v;
|
20
|
-
});
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
-
if (mod && mod.__esModule) return mod;
|
23
|
-
var result = {};
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
-
__setModuleDefault(result, mod);
|
26
|
-
return result;
|
27
|
-
};
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.ConnectionInfo = void 0;
|
30
|
-
const core = __importStar(require("../../core"));
|
31
|
-
const LiveViewConnectionInfo_1 = require("./LiveViewConnectionInfo");
|
32
|
-
exports.ConnectionInfo = core.serialization.object({
|
33
|
-
cdpUrl: core.serialization.property("cdp_url", core.serialization.string().optional()),
|
34
|
-
cdpWsUrl: core.serialization.property("cdp_ws_url", core.serialization.string().optional()),
|
35
|
-
chromedriverUrl: core.serialization.property("chromedriver_url", core.serialization.string().optional()),
|
36
|
-
liveView: core.serialization.property("live_view", LiveViewConnectionInfo_1.LiveViewConnectionInfo.optional()),
|
37
|
-
});
|
@@ -1,14 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../index";
|
5
|
-
import * as Airtop from "../../api/index";
|
6
|
-
import * as core from "../../core";
|
7
|
-
export declare const ErrorDetail: core.serialization.ObjectSchema<serializers.ErrorDetail.Raw, Airtop.ErrorDetail>;
|
8
|
-
export declare namespace ErrorDetail {
|
9
|
-
interface Raw {
|
10
|
-
location?: string | null;
|
11
|
-
message?: string | null;
|
12
|
-
value?: unknown | null;
|
13
|
-
}
|
14
|
-
}
|