@airtop/sdk 0.0.7-c → 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.
Files changed (265) hide show
  1. package/README.md +5 -5
  2. package/api/index.d.ts +1 -1
  3. package/api/index.js +1 -1
  4. package/api/resources/index.d.ts +1 -2
  5. package/api/resources/index.js +2 -3
  6. package/api/resources/profiles/client/Client.d.ts +5 -23
  7. package/api/resources/profiles/client/Client.js +19 -121
  8. package/api/resources/profiles/client/requests/ProfilesDeleteRequest.d.ts +3 -9
  9. package/api/resources/profiles/client/requests/ProfilesGetRequest.d.ts +3 -9
  10. package/api/resources/sessions/client/Client.d.ts +4 -8
  11. package/api/resources/sessions/client/Client.js +13 -105
  12. package/api/resources/sessions/index.d.ts +0 -1
  13. package/api/resources/sessions/index.js +0 -1
  14. package/api/resources/windows/client/Client.d.ts +4 -3
  15. package/api/resources/windows/client/Client.js +15 -13
  16. package/api/resources/windows/client/requests/ScrapeContentRequest.d.ts +12 -0
  17. package/api/resources/windows/client/requests/index.d.ts +1 -0
  18. package/api/types/AiResponseEnvelope.d.ts +9 -0
  19. package/{dist/api/types/ModelResponseExternalSessionAiResponseMetadataWrapper.d.ts → api/types/AiResponseEnvelopeExternalSessionAiResponseMetadataWrapper.d.ts} +2 -2
  20. package/api/types/ClientProvidedResponseMetadata.d.ts +0 -1
  21. package/api/types/{ProfileV1.d.ts → ExternalProfileV1.d.ts} +3 -5
  22. package/api/types/ExternalSessionAiResponseMetadata.d.ts +1 -0
  23. package/api/types/ExternalSessionAiResponseMetadataStatus.d.ts +2 -2
  24. package/api/types/ExternalSessionAiResponseMetadataStatus.js +1 -1
  25. package/api/types/{SessionConfig.d.ts → ExternalSessionConfig.d.ts} +3 -7
  26. package/{dist/api/types/SessionWithConnectionInfo.d.ts → api/types/ExternalSessionWithConnectionInfo.d.ts} +2 -6
  27. package/api/types/{ListProfileV1EnvelopeDefaultMetaWrapper.d.ts → ExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts} +2 -2
  28. package/{dist/api/types/ListProfileV1EnvelopeDefaultMetaWrapper.d.ts → api/types/ListExternalProfileV1EnvelopeDefaultMetaWrapper.d.ts} +2 -2
  29. package/api/types/{SessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts → ListExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts} +2 -2
  30. package/api/types/{ScrapeModelResponse.d.ts → ScrapeResponseEnvelope.d.ts} +3 -1
  31. package/api/types/{ScrapeModelResponseExternalSessionAiResponseMetadataWrapper.d.ts → ScrapeResponseEnvelopeExternalSessionAiResponseMetadataWrapper.d.ts} +2 -2
  32. package/api/types/SessionConfigV1.d.ts +0 -4
  33. package/api/types/index.d.ts +10 -15
  34. package/api/types/index.js +10 -15
  35. package/core/index.d.ts +0 -1
  36. package/core/index.js +0 -1
  37. package/dist/api/index.d.ts +1 -1
  38. package/dist/api/index.js +1 -1
  39. package/dist/api/resources/index.d.ts +1 -2
  40. package/dist/api/resources/index.js +2 -3
  41. package/dist/api/resources/profiles/client/Client.d.ts +5 -23
  42. package/dist/api/resources/profiles/client/Client.js +19 -121
  43. package/dist/api/resources/profiles/client/requests/ProfilesDeleteRequest.d.ts +3 -9
  44. package/dist/api/resources/profiles/client/requests/ProfilesGetRequest.d.ts +3 -9
  45. package/dist/api/resources/sessions/client/Client.d.ts +4 -8
  46. package/dist/api/resources/sessions/client/Client.js +13 -105
  47. package/dist/api/resources/sessions/index.d.ts +0 -1
  48. package/dist/api/resources/sessions/index.js +0 -1
  49. package/dist/api/resources/windows/client/Client.d.ts +4 -3
  50. package/dist/api/resources/windows/client/Client.js +15 -13
  51. package/dist/api/resources/windows/client/requests/ScrapeContentRequest.d.ts +12 -0
  52. package/dist/api/resources/windows/client/requests/index.d.ts +1 -0
  53. package/dist/api/types/AiResponseEnvelope.d.ts +9 -0
  54. package/{api/types/ModelResponseExternalSessionAiResponseMetadataWrapper.d.ts → dist/api/types/AiResponseEnvelopeExternalSessionAiResponseMetadataWrapper.d.ts} +2 -2
  55. package/dist/api/types/ClientProvidedResponseMetadata.d.ts +0 -1
  56. package/dist/api/types/{ProfileV1.d.ts → ExternalProfileV1.d.ts} +3 -5
  57. package/dist/api/types/ExternalSessionAiResponseMetadata.d.ts +1 -0
  58. package/dist/api/types/ExternalSessionAiResponseMetadataStatus.d.ts +2 -2
  59. package/dist/api/types/ExternalSessionAiResponseMetadataStatus.js +1 -1
  60. package/dist/api/types/{SessionConfig.d.ts → ExternalSessionConfig.d.ts} +3 -7
  61. package/{api/types/SessionWithConnectionInfo.d.ts → dist/api/types/ExternalSessionWithConnectionInfo.d.ts} +2 -6
  62. package/{api/types/ListSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts → dist/api/types/ExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts} +2 -2
  63. package/dist/api/types/{ProfileV1EnvelopeDefaultMetaWrapper.d.ts → ListExternalProfileV1EnvelopeDefaultMetaWrapper.d.ts} +2 -2
  64. package/{api/types/ProfileV1EnvelopeDefaultMetaWrapper.d.ts → dist/api/types/ListExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts} +2 -2
  65. package/dist/api/types/{ScrapeModelResponse.d.ts → ScrapeResponseEnvelope.d.ts} +3 -1
  66. package/dist/api/types/{ScrapeModelResponseExternalSessionAiResponseMetadataWrapper.d.ts → ScrapeResponseEnvelopeExternalSessionAiResponseMetadataWrapper.d.ts} +2 -2
  67. package/dist/api/types/SessionConfigV1.d.ts +0 -4
  68. package/dist/api/types/index.d.ts +10 -15
  69. package/dist/api/types/index.js +10 -15
  70. package/dist/core/index.d.ts +0 -1
  71. package/dist/core/index.js +0 -1
  72. package/dist/serialization/index.d.ts +1 -1
  73. package/dist/serialization/index.js +1 -1
  74. package/dist/serialization/resources/index.d.ts +0 -1
  75. package/dist/serialization/resources/index.js +0 -1
  76. package/dist/serialization/resources/sessions/index.d.ts +0 -1
  77. package/dist/serialization/resources/sessions/index.js +0 -1
  78. package/dist/serialization/resources/windows/client/requests/ScrapeContentRequest.d.ts +14 -0
  79. package/dist/serialization/resources/windows/client/requests/ScrapeContentRequest.js +35 -0
  80. package/dist/serialization/resources/windows/client/requests/index.d.ts +1 -0
  81. package/dist/serialization/resources/windows/client/requests/index.js +3 -1
  82. package/dist/serialization/types/{ErrorMessage.d.ts → AiResponseEnvelope.d.ts} +6 -5
  83. package/{serialization/types/ModelResponse.js → dist/serialization/types/AiResponseEnvelope.js} +5 -2
  84. package/{serialization/types/ModelResponseExternalSessionAiResponseMetadataWrapper.d.ts → dist/serialization/types/AiResponseEnvelopeExternalSessionAiResponseMetadataWrapper.d.ts} +4 -4
  85. package/dist/serialization/types/{ModelResponseExternalSessionAiResponseMetadataWrapper.js → AiResponseEnvelopeExternalSessionAiResponseMetadataWrapper.js} +4 -4
  86. package/dist/serialization/types/ClientProvidedResponseMetadata.d.ts +0 -1
  87. package/dist/serialization/types/ClientProvidedResponseMetadata.js +0 -1
  88. package/{serialization/types/ProfileV1.d.ts → dist/serialization/types/ExternalProfileV1.d.ts} +4 -5
  89. package/dist/serialization/types/{ModelResponse.js → ExternalProfileV1.js} +5 -3
  90. package/dist/serialization/types/ExternalSessionAiResponseMetadata.d.ts +1 -0
  91. package/dist/serialization/types/ExternalSessionAiResponseMetadata.js +1 -0
  92. package/dist/serialization/types/ExternalSessionAiResponseMetadataStatus.d.ts +1 -1
  93. package/dist/serialization/types/ExternalSessionAiResponseMetadataStatus.js +1 -1
  94. package/dist/serialization/types/ExternalSessionConfig.d.ts +14 -0
  95. package/dist/serialization/types/{LiveViewConnectionInfo.js → ExternalSessionConfig.js} +5 -4
  96. package/dist/serialization/types/ExternalSessionWithConnectionInfo.d.ts +21 -0
  97. package/dist/serialization/types/{StatusMessage.js → ExternalSessionWithConnectionInfo.js} +11 -6
  98. package/dist/serialization/types/ExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +18 -0
  99. package/dist/serialization/types/{SessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js → ExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js} +4 -4
  100. package/{serialization/types/ListProfileV1EnvelopeDefaultMetaWrapper.d.ts → dist/serialization/types/ListExternalProfileV1EnvelopeDefaultMetaWrapper.d.ts} +4 -4
  101. package/{serialization/types/ProfileV1EnvelopeDefaultMetaWrapper.js → dist/serialization/types/ListExternalProfileV1EnvelopeDefaultMetaWrapper.js} +4 -4
  102. package/dist/serialization/types/ListExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +18 -0
  103. package/dist/serialization/types/ListExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js +39 -0
  104. package/{serialization/types/ScrapeModelResponse.d.ts → dist/serialization/types/ScrapeResponseEnvelope.d.ts} +5 -2
  105. package/{serialization/types/ScrapeModelResponse.js → dist/serialization/types/ScrapeResponseEnvelope.js} +5 -2
  106. package/dist/serialization/types/{ScrapeModelResponseExternalSessionAiResponseMetadataWrapper.d.ts → ScrapeResponseEnvelopeExternalSessionAiResponseMetadataWrapper.d.ts} +4 -4
  107. package/dist/serialization/types/{ScrapeModelResponseExternalSessionAiResponseMetadataWrapper.js → ScrapeResponseEnvelopeExternalSessionAiResponseMetadataWrapper.js} +4 -4
  108. package/dist/serialization/types/SessionConfigV1.d.ts +2 -4
  109. package/dist/serialization/types/SessionConfigV1.js +2 -4
  110. package/dist/serialization/types/index.d.ts +10 -15
  111. package/dist/serialization/types/index.js +10 -15
  112. package/package.json +1 -1
  113. package/reference.md +20 -142
  114. package/serialization/index.d.ts +1 -1
  115. package/serialization/index.js +1 -1
  116. package/serialization/resources/index.d.ts +0 -1
  117. package/serialization/resources/index.js +0 -1
  118. package/serialization/resources/sessions/index.d.ts +0 -1
  119. package/serialization/resources/sessions/index.js +0 -1
  120. package/serialization/resources/windows/client/requests/ScrapeContentRequest.d.ts +14 -0
  121. package/serialization/resources/windows/client/requests/ScrapeContentRequest.js +35 -0
  122. package/serialization/resources/windows/client/requests/index.d.ts +1 -0
  123. package/serialization/resources/windows/client/requests/index.js +3 -1
  124. package/serialization/types/{ErrorMessage.d.ts → AiResponseEnvelope.d.ts} +6 -5
  125. package/{dist/serialization/types/ProfileV1EnvelopeDefaultMetaWrapper.js → serialization/types/AiResponseEnvelope.js} +3 -6
  126. package/{dist/serialization/types/ModelResponseExternalSessionAiResponseMetadataWrapper.d.ts → serialization/types/AiResponseEnvelopeExternalSessionAiResponseMetadataWrapper.d.ts} +4 -4
  127. package/serialization/types/{ModelResponseExternalSessionAiResponseMetadataWrapper.js → AiResponseEnvelopeExternalSessionAiResponseMetadataWrapper.js} +4 -4
  128. package/serialization/types/ClientProvidedResponseMetadata.d.ts +0 -1
  129. package/serialization/types/ClientProvidedResponseMetadata.js +0 -1
  130. package/{dist/serialization/types/ProfileV1.d.ts → serialization/types/ExternalProfileV1.d.ts} +4 -5
  131. package/serialization/types/{ErrorMessage.js → ExternalProfileV1.js} +5 -5
  132. package/serialization/types/ExternalSessionAiResponseMetadata.d.ts +1 -0
  133. package/serialization/types/ExternalSessionAiResponseMetadata.js +1 -0
  134. package/serialization/types/ExternalSessionAiResponseMetadataStatus.d.ts +1 -1
  135. package/serialization/types/ExternalSessionAiResponseMetadataStatus.js +1 -1
  136. package/serialization/types/ExternalSessionConfig.d.ts +14 -0
  137. package/{dist/serialization/types/ErrorMessage.js → serialization/types/ExternalSessionConfig.js} +5 -5
  138. package/serialization/types/ExternalSessionWithConnectionInfo.d.ts +21 -0
  139. package/serialization/types/{StatusMessage.js → ExternalSessionWithConnectionInfo.js} +11 -6
  140. package/serialization/types/ExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +18 -0
  141. package/{dist/serialization/types/ListSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js → serialization/types/ExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js} +4 -4
  142. package/serialization/types/{ProfileV1EnvelopeDefaultMetaWrapper.d.ts → ListExternalProfileV1EnvelopeDefaultMetaWrapper.d.ts} +4 -4
  143. package/{dist/serialization/types/ListProfileV1EnvelopeDefaultMetaWrapper.js → serialization/types/ListExternalProfileV1EnvelopeDefaultMetaWrapper.js} +4 -4
  144. package/serialization/types/ListExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +18 -0
  145. package/serialization/types/ListExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js +39 -0
  146. package/{dist/serialization/types/ScrapeModelResponse.d.ts → serialization/types/ScrapeResponseEnvelope.d.ts} +5 -2
  147. package/{dist/serialization/types/ScrapeModelResponse.js → serialization/types/ScrapeResponseEnvelope.js} +5 -2
  148. package/serialization/types/{ScrapeModelResponseExternalSessionAiResponseMetadataWrapper.d.ts → ScrapeResponseEnvelopeExternalSessionAiResponseMetadataWrapper.d.ts} +4 -4
  149. package/serialization/types/{ScrapeModelResponseExternalSessionAiResponseMetadataWrapper.js → ScrapeResponseEnvelopeExternalSessionAiResponseMetadataWrapper.js} +4 -4
  150. package/serialization/types/SessionConfigV1.d.ts +2 -4
  151. package/serialization/types/SessionConfigV1.js +2 -4
  152. package/serialization/types/index.d.ts +10 -15
  153. package/serialization/types/index.js +10 -15
  154. package/api/resources/sessions/types/SessionsEventsResponse.d.ts +0 -16
  155. package/api/resources/sessions/types/SessionsEventsResponseError.d.ts +0 -11
  156. package/api/resources/sessions/types/SessionsEventsResponseStatus.d.ts +0 -11
  157. package/api/resources/sessions/types/index.d.ts +0 -3
  158. package/api/resources/sessions/types/index.js +0 -19
  159. package/api/types/ErrorMessage.d.ts +0 -11
  160. package/api/types/LiveViewConnectionInfo.d.ts +0 -9
  161. package/api/types/ModelResponse.d.ts +0 -6
  162. package/api/types/StatusMessage.d.ts +0 -14
  163. package/api/types/StatusMessageStatus.d.ts +0 -13
  164. package/api/types/StatusMessageStatus.js +0 -12
  165. package/core/streaming-fetcher/Stream.d.ts +0 -48
  166. package/core/streaming-fetcher/Stream.js +0 -170
  167. package/core/streaming-fetcher/index.d.ts +0 -1
  168. package/core/streaming-fetcher/index.js +0 -5
  169. package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +0 -16
  170. package/dist/api/resources/sessions/types/SessionsEventsResponseError.d.ts +0 -11
  171. package/dist/api/resources/sessions/types/SessionsEventsResponseStatus.d.ts +0 -11
  172. package/dist/api/resources/sessions/types/index.d.ts +0 -3
  173. package/dist/api/resources/sessions/types/index.js +0 -19
  174. package/dist/api/types/ErrorMessage.d.ts +0 -11
  175. package/dist/api/types/ListSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +0 -10
  176. package/dist/api/types/ListSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js +0 -5
  177. package/dist/api/types/LiveViewConnectionInfo.d.ts +0 -9
  178. package/dist/api/types/LiveViewConnectionInfo.js +0 -5
  179. package/dist/api/types/ModelResponse.d.ts +0 -6
  180. package/dist/api/types/ModelResponse.js +0 -5
  181. package/dist/api/types/ModelResponseExternalSessionAiResponseMetadataWrapper.js +0 -5
  182. package/dist/api/types/ProfileV1.js +0 -5
  183. package/dist/api/types/ProfileV1EnvelopeDefaultMetaWrapper.js +0 -5
  184. package/dist/api/types/ScrapeModelResponse.js +0 -5
  185. package/dist/api/types/ScrapeModelResponseExternalSessionAiResponseMetadataWrapper.js +0 -5
  186. package/dist/api/types/SessionConfig.js +0 -5
  187. package/dist/api/types/SessionWithConnectionInfo.js +0 -5
  188. package/dist/api/types/SessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +0 -10
  189. package/dist/api/types/SessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js +0 -5
  190. package/dist/api/types/StatusMessage.d.ts +0 -14
  191. package/dist/api/types/StatusMessage.js +0 -5
  192. package/dist/api/types/StatusMessageStatus.d.ts +0 -13
  193. package/dist/api/types/StatusMessageStatus.js +0 -12
  194. package/dist/core/streaming-fetcher/Stream.d.ts +0 -48
  195. package/dist/core/streaming-fetcher/Stream.js +0 -170
  196. package/dist/core/streaming-fetcher/index.d.ts +0 -1
  197. package/dist/core/streaming-fetcher/index.js +0 -5
  198. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +0 -18
  199. package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +0 -41
  200. package/dist/serialization/resources/sessions/types/SessionsEventsResponseError.d.ts +0 -15
  201. package/dist/serialization/resources/sessions/types/SessionsEventsResponseError.js +0 -36
  202. package/dist/serialization/resources/sessions/types/SessionsEventsResponseStatus.d.ts +0 -15
  203. package/dist/serialization/resources/sessions/types/SessionsEventsResponseStatus.js +0 -36
  204. package/dist/serialization/resources/sessions/types/index.d.ts +0 -3
  205. package/dist/serialization/resources/sessions/types/index.js +0 -19
  206. package/dist/serialization/types/ListProfileV1EnvelopeDefaultMetaWrapper.d.ts +0 -18
  207. package/dist/serialization/types/ListSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +0 -18
  208. package/dist/serialization/types/LiveViewConnectionInfo.d.ts +0 -13
  209. package/dist/serialization/types/ModelResponse.d.ts +0 -12
  210. package/dist/serialization/types/ProfileV1.js +0 -36
  211. package/dist/serialization/types/ProfileV1EnvelopeDefaultMetaWrapper.d.ts +0 -18
  212. package/dist/serialization/types/SessionConfig.d.ts +0 -16
  213. package/dist/serialization/types/SessionConfig.js +0 -37
  214. package/dist/serialization/types/SessionWithConnectionInfo.d.ts +0 -24
  215. package/dist/serialization/types/SessionWithConnectionInfo.js +0 -45
  216. package/dist/serialization/types/SessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +0 -18
  217. package/dist/serialization/types/StatusMessage.d.ts +0 -16
  218. package/dist/serialization/types/StatusMessageStatus.d.ts +0 -10
  219. package/dist/serialization/types/StatusMessageStatus.js +0 -31
  220. package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +0 -18
  221. package/serialization/resources/sessions/types/SessionsEventsResponse.js +0 -41
  222. package/serialization/resources/sessions/types/SessionsEventsResponseError.d.ts +0 -15
  223. package/serialization/resources/sessions/types/SessionsEventsResponseError.js +0 -36
  224. package/serialization/resources/sessions/types/SessionsEventsResponseStatus.d.ts +0 -15
  225. package/serialization/resources/sessions/types/SessionsEventsResponseStatus.js +0 -36
  226. package/serialization/resources/sessions/types/index.d.ts +0 -3
  227. package/serialization/resources/sessions/types/index.js +0 -19
  228. package/serialization/types/ListProfileV1EnvelopeDefaultMetaWrapper.js +0 -39
  229. package/serialization/types/ListSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +0 -18
  230. package/serialization/types/ListSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js +0 -39
  231. package/serialization/types/LiveViewConnectionInfo.d.ts +0 -13
  232. package/serialization/types/LiveViewConnectionInfo.js +0 -34
  233. package/serialization/types/ModelResponse.d.ts +0 -12
  234. package/serialization/types/ProfileV1.js +0 -36
  235. package/serialization/types/SessionConfig.d.ts +0 -16
  236. package/serialization/types/SessionConfig.js +0 -37
  237. package/serialization/types/SessionWithConnectionInfo.d.ts +0 -24
  238. package/serialization/types/SessionWithConnectionInfo.js +0 -45
  239. package/serialization/types/SessionWithConnectionInfoEnvelopeDefaultMetaWrapper.d.ts +0 -18
  240. package/serialization/types/SessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js +0 -39
  241. package/serialization/types/StatusMessage.d.ts +0 -16
  242. package/serialization/types/StatusMessageStatus.d.ts +0 -10
  243. package/serialization/types/StatusMessageStatus.js +0 -31
  244. /package/api/resources/{sessions/types/SessionsEventsResponse.js → windows/client/requests/ScrapeContentRequest.js} +0 -0
  245. /package/api/{resources/sessions/types/SessionsEventsResponseError.js → types/AiResponseEnvelope.js} +0 -0
  246. /package/api/{resources/sessions/types/SessionsEventsResponseStatus.js → types/AiResponseEnvelopeExternalSessionAiResponseMetadataWrapper.js} +0 -0
  247. /package/api/types/{ErrorMessage.js → ExternalProfileV1.js} +0 -0
  248. /package/api/types/{ListProfileV1EnvelopeDefaultMetaWrapper.js → ExternalSessionConfig.js} +0 -0
  249. /package/api/types/{ListSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js → ExternalSessionWithConnectionInfo.js} +0 -0
  250. /package/api/types/{LiveViewConnectionInfo.js → ExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js} +0 -0
  251. /package/api/types/{ModelResponse.js → ListExternalProfileV1EnvelopeDefaultMetaWrapper.js} +0 -0
  252. /package/api/types/{ModelResponseExternalSessionAiResponseMetadataWrapper.js → ListExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js} +0 -0
  253. /package/api/types/{ProfileV1.js → ScrapeResponseEnvelope.js} +0 -0
  254. /package/api/types/{ProfileV1EnvelopeDefaultMetaWrapper.js → ScrapeResponseEnvelopeExternalSessionAiResponseMetadataWrapper.js} +0 -0
  255. /package/{api/types/ScrapeModelResponse.js → dist/api/resources/windows/client/requests/ScrapeContentRequest.js} +0 -0
  256. /package/{api/types/ScrapeModelResponseExternalSessionAiResponseMetadataWrapper.js → dist/api/types/AiResponseEnvelope.js} +0 -0
  257. /package/{api/types/SessionConfig.js → dist/api/types/AiResponseEnvelopeExternalSessionAiResponseMetadataWrapper.js} +0 -0
  258. /package/{api/types/SessionWithConnectionInfo.js → dist/api/types/ExternalProfileV1.js} +0 -0
  259. /package/{api/types/SessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js → dist/api/types/ExternalSessionConfig.js} +0 -0
  260. /package/{api/types/StatusMessage.js → dist/api/types/ExternalSessionWithConnectionInfo.js} +0 -0
  261. /package/dist/api/{resources/sessions/types/SessionsEventsResponse.js → types/ExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js} +0 -0
  262. /package/dist/api/{resources/sessions/types/SessionsEventsResponseError.js → types/ListExternalProfileV1EnvelopeDefaultMetaWrapper.js} +0 -0
  263. /package/dist/api/{resources/sessions/types/SessionsEventsResponseStatus.js → types/ListExternalSessionWithConnectionInfoEnvelopeDefaultMetaWrapper.js} +0 -0
  264. /package/dist/api/types/{ErrorMessage.js → ScrapeResponseEnvelope.js} +0 -0
  265. /package/dist/api/types/{ListProfileV1EnvelopeDefaultMetaWrapper.js → ScrapeResponseEnvelopeExternalSessionAiResponseMetadataWrapper.js} +0 -0
@@ -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,3 +0,0 @@
1
- export * from "./SessionsEventsResponseStatus";
2
- export * from "./SessionsEventsResponseError";
3
- export * from "./SessionsEventsResponse";
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./SessionsEventsResponseStatus"), exports);
18
- __exportStar(require("./SessionsEventsResponseError"), exports);
19
- __exportStar(require("./SessionsEventsResponse"), exports);
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface ErrorMessage {
5
- /** Error code */
6
- code: string;
7
- /** Event name */
8
- event: string;
9
- /** Error message */
10
- message: string;
11
- }
@@ -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
- }
@@ -1,6 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface ModelResponse {
5
- modelResponse: string;
6
- }
@@ -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";
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Stream = void 0;
4
- var Stream_1 = require("./Stream");
5
- Object.defineProperty(exports, "Stream", { enumerable: true, get: function () { return Stream_1.Stream; } });
@@ -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,3 +0,0 @@
1
- export * from "./SessionsEventsResponseStatus";
2
- export * from "./SessionsEventsResponseError";
3
- export * from "./SessionsEventsResponse";
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./SessionsEventsResponseStatus"), exports);
18
- __exportStar(require("./SessionsEventsResponseError"), exports);
19
- __exportStar(require("./SessionsEventsResponse"), exports);
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface ErrorMessage {
5
- /** Error code */
6
- code: string;
7
- /** Event name */
8
- event: string;
9
- /** Error message */
10
- message: string;
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 ListSessionWithConnectionInfoEnvelopeDefaultMetaWrapper {
6
- data?: Airtop.SessionWithConnectionInfo[];
7
- errors?: Airtop.Issue[];
8
- meta: Airtop.DefaultMetaWrapper;
9
- warnings?: Airtop.Issue[];
10
- }
@@ -1,5 +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 });
@@ -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
- }
@@ -1,5 +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 });
@@ -1,6 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface ModelResponse {
5
- modelResponse: string;
6
- }
@@ -1,5 +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 });
@@ -1,5 +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 });
@@ -1,5 +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 });
@@ -1,5 +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 });
@@ -1,5 +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 });
@@ -1,5 +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 });
@@ -1,5 +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 });
@@ -1,5 +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 });
@@ -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 SessionWithConnectionInfoEnvelopeDefaultMetaWrapper {
6
- data: Airtop.SessionWithConnectionInfo;
7
- errors?: Airtop.Issue[];
8
- meta: Airtop.DefaultMetaWrapper;
9
- warnings?: Airtop.Issue[];
10
- }
@@ -1,5 +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 });
@@ -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,5 +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 });
@@ -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
- };