@indiciaosint/sdk 1.2.9 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BaseClient.d.ts +55 -0
- package/dist/BaseClient.d.ts.map +1 -0
- package/dist/BaseClient.js +47 -0
- package/dist/BaseClient.js.map +1 -0
- package/dist/Client.d.ts +51 -0
- package/dist/Client.d.ts.map +1 -0
- package/dist/Client.js +76 -0
- package/dist/Client.js.map +1 -0
- package/dist/api/errors/BadRequestError.d.ts +6 -0
- package/dist/api/errors/BadRequestError.d.ts.map +1 -0
- package/dist/api/errors/BadRequestError.js +18 -0
- package/dist/api/errors/BadRequestError.js.map +1 -0
- package/dist/api/errors/ForbiddenError.d.ts +6 -0
- package/dist/api/errors/ForbiddenError.d.ts.map +1 -0
- package/dist/api/errors/ForbiddenError.js +18 -0
- package/dist/api/errors/ForbiddenError.js.map +1 -0
- package/dist/api/errors/InternalServerError.d.ts +8 -0
- package/dist/api/errors/InternalServerError.d.ts.map +1 -0
- package/dist/api/errors/InternalServerError.js +18 -0
- package/dist/api/errors/InternalServerError.js.map +1 -0
- package/dist/api/errors/NotFoundError.d.ts +6 -0
- package/dist/api/errors/NotFoundError.d.ts.map +1 -0
- package/dist/api/errors/NotFoundError.js +18 -0
- package/dist/api/errors/NotFoundError.js.map +1 -0
- package/dist/api/errors/PaymentRequiredError.d.ts +8 -0
- package/dist/api/errors/PaymentRequiredError.d.ts.map +1 -0
- package/dist/api/errors/PaymentRequiredError.js +18 -0
- package/dist/api/errors/PaymentRequiredError.js.map +1 -0
- package/dist/api/errors/index.d.ts +6 -0
- package/dist/api/errors/index.d.ts.map +1 -0
- package/dist/api/errors/index.js +6 -0
- package/dist/api/errors/index.js.map +1 -0
- package/dist/api/index.d.ts +4 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/index.js +4 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/resources/activity/client/Client.d.ts +62 -0
- package/dist/api/resources/activity/client/Client.d.ts.map +1 -0
- package/dist/api/resources/activity/client/Client.js +183 -0
- package/dist/api/resources/activity/client/Client.js.map +1 -0
- package/dist/api/resources/activity/client/index.d.ts +2 -0
- package/dist/api/resources/activity/client/index.d.ts.map +1 -0
- package/dist/api/resources/activity/client/index.js +2 -0
- package/dist/api/resources/activity/client/index.js.map +1 -0
- package/dist/api/resources/activity/client/requests/DeleteActivityRequest.d.ts +12 -0
- package/dist/api/resources/activity/client/requests/DeleteActivityRequest.d.ts.map +1 -0
- package/dist/api/resources/activity/client/requests/DeleteActivityRequest.js +3 -0
- package/dist/api/resources/activity/client/requests/DeleteActivityRequest.js.map +1 -0
- package/dist/api/resources/activity/client/requests/GetActivityRequest.d.ts +12 -0
- package/dist/api/resources/activity/client/requests/GetActivityRequest.d.ts.map +1 -0
- package/dist/api/resources/activity/client/requests/GetActivityRequest.js +3 -0
- package/dist/api/resources/activity/client/requests/GetActivityRequest.js.map +1 -0
- package/dist/api/resources/activity/client/requests/ListActivitiesRequest.d.ts +9 -0
- package/dist/api/resources/activity/client/requests/ListActivitiesRequest.d.ts.map +1 -0
- package/dist/api/resources/activity/client/requests/ListActivitiesRequest.js +3 -0
- package/dist/api/resources/activity/client/requests/ListActivitiesRequest.js.map +1 -0
- package/dist/api/resources/activity/client/requests/index.d.ts +4 -0
- package/dist/api/resources/activity/client/requests/index.d.ts.map +1 -0
- package/dist/api/resources/activity/client/requests/index.js +2 -0
- package/dist/api/resources/activity/client/requests/index.js.map +1 -0
- package/dist/api/resources/activity/exports.d.ts +3 -0
- package/dist/api/resources/activity/exports.d.ts.map +1 -0
- package/dist/api/resources/activity/exports.js +4 -0
- package/dist/api/resources/activity/exports.js.map +1 -0
- package/dist/api/resources/activity/index.d.ts +3 -0
- package/dist/api/resources/activity/index.d.ts.map +1 -0
- package/dist/api/resources/activity/index.js +3 -0
- package/dist/api/resources/activity/index.js.map +1 -0
- package/dist/api/resources/activity/types/DeleteActivityRequestId.d.ts +11 -0
- package/dist/api/resources/activity/types/DeleteActivityRequestId.d.ts.map +1 -0
- package/dist/api/resources/activity/types/DeleteActivityRequestId.js +3 -0
- package/dist/api/resources/activity/types/DeleteActivityRequestId.js.map +1 -0
- package/dist/api/resources/activity/types/GetActivityRequestId.d.ts +11 -0
- package/dist/api/resources/activity/types/GetActivityRequestId.d.ts.map +1 -0
- package/dist/api/resources/activity/types/GetActivityRequestId.js +3 -0
- package/dist/api/resources/activity/types/GetActivityRequestId.js.map +1 -0
- package/dist/api/resources/activity/types/GetActivityResponse.d.ts +89 -0
- package/dist/api/resources/activity/types/GetActivityResponse.d.ts.map +1 -0
- package/dist/api/resources/activity/types/GetActivityResponse.js +70 -0
- package/dist/api/resources/activity/types/GetActivityResponse.js.map +1 -0
- package/dist/api/resources/activity/types/ListActivitiesResponse.d.ts +92 -0
- package/dist/api/resources/activity/types/ListActivitiesResponse.d.ts.map +1 -0
- package/dist/api/resources/activity/types/ListActivitiesResponse.js +73 -0
- package/dist/api/resources/activity/types/ListActivitiesResponse.js.map +1 -0
- package/dist/api/resources/activity/types/index.d.ts +5 -0
- package/dist/api/resources/activity/types/index.d.ts.map +1 -0
- package/dist/api/resources/activity/types/index.js +5 -0
- package/dist/api/resources/activity/types/index.js.map +1 -0
- package/dist/api/resources/index.d.ts +26 -0
- package/dist/api/resources/index.d.ts.map +1 -0
- package/dist/api/resources/index.js +26 -0
- package/dist/api/resources/index.js.map +1 -0
- package/dist/api/resources/infrastructure/client/Client.d.ts +139 -0
- package/dist/api/resources/infrastructure/client/Client.d.ts.map +1 -0
- package/dist/api/resources/infrastructure/client/Client.js +434 -0
- package/dist/api/resources/infrastructure/client/Client.js.map +1 -0
- package/dist/api/resources/infrastructure/client/index.d.ts +2 -0
- package/dist/api/resources/infrastructure/client/index.d.ts.map +1 -0
- package/dist/api/resources/infrastructure/client/index.js +2 -0
- package/dist/api/resources/infrastructure/client/index.js.map +1 -0
- package/dist/api/resources/infrastructure/client/requests/SearchCellTowerRequest.d.ts +17 -0
- package/dist/api/resources/infrastructure/client/requests/SearchCellTowerRequest.d.ts.map +1 -0
- package/dist/api/resources/infrastructure/client/requests/SearchCellTowerRequest.js +3 -0
- package/dist/api/resources/infrastructure/client/requests/SearchCellTowerRequest.js.map +1 -0
- package/dist/api/resources/infrastructure/client/requests/SearchCertificatesRequest.d.ts +10 -0
- package/dist/api/resources/infrastructure/client/requests/SearchCertificatesRequest.d.ts.map +1 -0
- package/dist/api/resources/infrastructure/client/requests/SearchCertificatesRequest.js +3 -0
- package/dist/api/resources/infrastructure/client/requests/SearchCertificatesRequest.js.map +1 -0
- package/dist/api/resources/infrastructure/client/requests/SearchDnsRequest.d.ts +10 -0
- package/dist/api/resources/infrastructure/client/requests/SearchDnsRequest.d.ts.map +1 -0
- package/dist/api/resources/infrastructure/client/requests/SearchDnsRequest.js +3 -0
- package/dist/api/resources/infrastructure/client/requests/SearchDnsRequest.js.map +1 -0
- package/dist/api/resources/infrastructure/client/requests/SearchIpInfoRequest.d.ts +10 -0
- package/dist/api/resources/infrastructure/client/requests/SearchIpInfoRequest.d.ts.map +1 -0
- package/dist/api/resources/infrastructure/client/requests/SearchIpInfoRequest.js +3 -0
- package/dist/api/resources/infrastructure/client/requests/SearchIpInfoRequest.js.map +1 -0
- package/dist/api/resources/infrastructure/client/requests/SearchShodanRequest.d.ts +10 -0
- package/dist/api/resources/infrastructure/client/requests/SearchShodanRequest.d.ts.map +1 -0
- package/dist/api/resources/infrastructure/client/requests/SearchShodanRequest.js +3 -0
- package/dist/api/resources/infrastructure/client/requests/SearchShodanRequest.js.map +1 -0
- package/dist/api/resources/infrastructure/client/requests/SearchWhoisRequest.d.ts +10 -0
- package/dist/api/resources/infrastructure/client/requests/SearchWhoisRequest.d.ts.map +1 -0
- package/dist/api/resources/infrastructure/client/requests/SearchWhoisRequest.js +3 -0
- package/dist/api/resources/infrastructure/client/requests/SearchWhoisRequest.js.map +1 -0
- package/dist/api/resources/infrastructure/client/requests/VirusTotalContentRequest.d.ts +10 -0
- package/dist/api/resources/infrastructure/client/requests/VirusTotalContentRequest.d.ts.map +1 -0
- package/dist/api/resources/infrastructure/client/requests/VirusTotalContentRequest.js +3 -0
- package/dist/api/resources/infrastructure/client/requests/VirusTotalContentRequest.js.map +1 -0
- package/dist/api/resources/infrastructure/client/requests/index.d.ts +8 -0
- package/dist/api/resources/infrastructure/client/requests/index.d.ts.map +1 -0
- package/dist/api/resources/infrastructure/client/requests/index.js +2 -0
- package/dist/api/resources/infrastructure/client/requests/index.js.map +1 -0
- package/dist/api/resources/infrastructure/exports.d.ts +3 -0
- package/dist/api/resources/infrastructure/exports.d.ts.map +1 -0
- package/dist/api/resources/infrastructure/exports.js +4 -0
- package/dist/api/resources/infrastructure/exports.js.map +1 -0
- package/dist/api/resources/infrastructure/index.d.ts +3 -0
- package/dist/api/resources/infrastructure/index.d.ts.map +1 -0
- package/dist/api/resources/infrastructure/index.js +3 -0
- package/dist/api/resources/infrastructure/index.js.map +1 -0
- package/dist/api/resources/infrastructure/types/SearchCellTowerResponse.d.ts +26 -0
- package/dist/api/resources/infrastructure/types/SearchCellTowerResponse.d.ts.map +1 -0
- package/dist/api/resources/infrastructure/types/SearchCellTowerResponse.js +3 -0
- package/dist/api/resources/infrastructure/types/SearchCellTowerResponse.js.map +1 -0
- package/dist/api/resources/infrastructure/types/SearchCertificatesResponse.d.ts +22 -0
- package/dist/api/resources/infrastructure/types/SearchCertificatesResponse.d.ts.map +1 -0
- package/dist/api/resources/infrastructure/types/SearchCertificatesResponse.js +3 -0
- package/dist/api/resources/infrastructure/types/SearchCertificatesResponse.js.map +1 -0
- package/dist/api/resources/infrastructure/types/SearchDnsResponse.d.ts +148 -0
- package/dist/api/resources/infrastructure/types/SearchDnsResponse.d.ts.map +1 -0
- package/dist/api/resources/infrastructure/types/SearchDnsResponse.js +3 -0
- package/dist/api/resources/infrastructure/types/SearchDnsResponse.js.map +1 -0
- package/dist/api/resources/infrastructure/types/SearchIpInfoResponse.d.ts +109 -0
- package/dist/api/resources/infrastructure/types/SearchIpInfoResponse.d.ts.map +1 -0
- package/dist/api/resources/infrastructure/types/SearchIpInfoResponse.js +3 -0
- package/dist/api/resources/infrastructure/types/SearchIpInfoResponse.js.map +1 -0
- package/dist/api/resources/infrastructure/types/SearchShodanResponse.d.ts +167 -0
- package/dist/api/resources/infrastructure/types/SearchShodanResponse.d.ts.map +1 -0
- package/dist/api/resources/infrastructure/types/SearchShodanResponse.js +3 -0
- package/dist/api/resources/infrastructure/types/SearchShodanResponse.js.map +1 -0
- package/dist/api/resources/infrastructure/types/SearchWhoisResponse.d.ts +30 -0
- package/dist/api/resources/infrastructure/types/SearchWhoisResponse.d.ts.map +1 -0
- package/dist/api/resources/infrastructure/types/SearchWhoisResponse.js +3 -0
- package/dist/api/resources/infrastructure/types/SearchWhoisResponse.js.map +1 -0
- package/dist/api/resources/infrastructure/types/VirusTotalContentResponse.d.ts +44 -0
- package/dist/api/resources/infrastructure/types/VirusTotalContentResponse.d.ts.map +1 -0
- package/dist/api/resources/infrastructure/types/VirusTotalContentResponse.js +3 -0
- package/dist/api/resources/infrastructure/types/VirusTotalContentResponse.js.map +1 -0
- package/dist/api/resources/infrastructure/types/index.d.ts +8 -0
- package/dist/api/resources/infrastructure/types/index.d.ts.map +1 -0
- package/dist/api/resources/infrastructure/types/index.js +8 -0
- package/dist/api/resources/infrastructure/types/index.js.map +1 -0
- package/dist/api/resources/intelligence/client/Client.d.ts +241 -0
- package/dist/api/resources/intelligence/client/Client.d.ts.map +1 -0
- package/dist/api/resources/intelligence/client/Client.js +882 -0
- package/dist/api/resources/intelligence/client/Client.js.map +1 -0
- package/dist/api/resources/intelligence/client/index.d.ts +2 -0
- package/dist/api/resources/intelligence/client/index.d.ts.map +1 -0
- package/dist/api/resources/intelligence/client/index.js +2 -0
- package/dist/api/resources/intelligence/client/index.js.map +1 -0
- package/dist/api/resources/intelligence/client/requests/GeolocateMediaRequest.d.ts +28 -0
- package/dist/api/resources/intelligence/client/requests/GeolocateMediaRequest.d.ts.map +1 -0
- package/dist/api/resources/intelligence/client/requests/GeolocateMediaRequest.js +3 -0
- package/dist/api/resources/intelligence/client/requests/GeolocateMediaRequest.js.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchAddressRequest.d.ts +18 -0
- package/dist/api/resources/intelligence/client/requests/SearchAddressRequest.d.ts.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchAddressRequest.js +3 -0
- package/dist/api/resources/intelligence/client/requests/SearchAddressRequest.js.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchEmailRequest.d.ts +11 -0
- package/dist/api/resources/intelligence/client/requests/SearchEmailRequest.d.ts.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchEmailRequest.js +3 -0
- package/dist/api/resources/intelligence/client/requests/SearchEmailRequest.js.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchFaceRequest.d.ts +12 -0
- package/dist/api/resources/intelligence/client/requests/SearchFaceRequest.d.ts.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchFaceRequest.js +3 -0
- package/dist/api/resources/intelligence/client/requests/SearchFaceRequest.js.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchGmailRequest.d.ts +10 -0
- package/dist/api/resources/intelligence/client/requests/SearchGmailRequest.d.ts.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchGmailRequest.js +3 -0
- package/dist/api/resources/intelligence/client/requests/SearchGmailRequest.js.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchHudsonRockRequest.d.ts +22 -0
- package/dist/api/resources/intelligence/client/requests/SearchHudsonRockRequest.d.ts.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchHudsonRockRequest.js +12 -0
- package/dist/api/resources/intelligence/client/requests/SearchHudsonRockRequest.js.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchLocationToBssidRequest.d.ts +10 -0
- package/dist/api/resources/intelligence/client/requests/SearchLocationToBssidRequest.d.ts.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchLocationToBssidRequest.js +3 -0
- package/dist/api/resources/intelligence/client/requests/SearchLocationToBssidRequest.js.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchPersonRequest.d.ts +14 -0
- package/dist/api/resources/intelligence/client/requests/SearchPersonRequest.d.ts.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchPersonRequest.js +3 -0
- package/dist/api/resources/intelligence/client/requests/SearchPersonRequest.js.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchPhoneRequest.d.ts +11 -0
- package/dist/api/resources/intelligence/client/requests/SearchPhoneRequest.d.ts.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchPhoneRequest.js +3 -0
- package/dist/api/resources/intelligence/client/requests/SearchPhoneRequest.js.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchSeonRequest.d.ts +21 -0
- package/dist/api/resources/intelligence/client/requests/SearchSeonRequest.d.ts.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchSeonRequest.js +11 -0
- package/dist/api/resources/intelligence/client/requests/SearchSeonRequest.js.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchWaybackRequest.d.ts +14 -0
- package/dist/api/resources/intelligence/client/requests/SearchWaybackRequest.d.ts.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchWaybackRequest.js +3 -0
- package/dist/api/resources/intelligence/client/requests/SearchWaybackRequest.js.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchWebDatabasesRequest.d.ts +65 -0
- package/dist/api/resources/intelligence/client/requests/SearchWebDatabasesRequest.d.ts.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchWebDatabasesRequest.js +47 -0
- package/dist/api/resources/intelligence/client/requests/SearchWebDatabasesRequest.js.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchWifiNetworkMapRequest.d.ts +10 -0
- package/dist/api/resources/intelligence/client/requests/SearchWifiNetworkMapRequest.d.ts.map +1 -0
- package/dist/api/resources/intelligence/client/requests/SearchWifiNetworkMapRequest.js +3 -0
- package/dist/api/resources/intelligence/client/requests/SearchWifiNetworkMapRequest.js.map +1 -0
- package/dist/api/resources/intelligence/client/requests/VirusTotalIntelligenceRequest.d.ts +21 -0
- package/dist/api/resources/intelligence/client/requests/VirusTotalIntelligenceRequest.d.ts.map +1 -0
- package/dist/api/resources/intelligence/client/requests/VirusTotalIntelligenceRequest.js +11 -0
- package/dist/api/resources/intelligence/client/requests/VirusTotalIntelligenceRequest.js.map +1 -0
- package/dist/api/resources/intelligence/client/requests/index.d.ts +15 -0
- package/dist/api/resources/intelligence/client/requests/index.d.ts.map +1 -0
- package/dist/api/resources/intelligence/client/requests/index.js +5 -0
- package/dist/api/resources/intelligence/client/requests/index.js.map +1 -0
- package/dist/api/resources/intelligence/exports.d.ts +3 -0
- package/dist/api/resources/intelligence/exports.d.ts.map +1 -0
- package/dist/api/resources/intelligence/exports.js +4 -0
- package/dist/api/resources/intelligence/exports.js.map +1 -0
- package/dist/api/resources/intelligence/index.d.ts +3 -0
- package/dist/api/resources/intelligence/index.d.ts.map +1 -0
- package/dist/api/resources/intelligence/index.js +3 -0
- package/dist/api/resources/intelligence/index.js.map +1 -0
- package/dist/api/resources/intelligence/types/GeolocateMediaResponse.d.ts +9 -0
- package/dist/api/resources/intelligence/types/GeolocateMediaResponse.d.ts.map +1 -0
- package/dist/api/resources/intelligence/types/GeolocateMediaResponse.js +3 -0
- package/dist/api/resources/intelligence/types/GeolocateMediaResponse.js.map +1 -0
- package/dist/api/resources/intelligence/types/GeolocateMediaResponseData.d.ts +51 -0
- package/dist/api/resources/intelligence/types/GeolocateMediaResponseData.d.ts.map +1 -0
- package/dist/api/resources/intelligence/types/GeolocateMediaResponseData.js +3 -0
- package/dist/api/resources/intelligence/types/GeolocateMediaResponseData.js.map +1 -0
- package/dist/api/resources/intelligence/types/SearchAddressResponse.d.ts +55 -0
- package/dist/api/resources/intelligence/types/SearchAddressResponse.d.ts.map +1 -0
- package/dist/api/resources/intelligence/types/SearchAddressResponse.js +3 -0
- package/dist/api/resources/intelligence/types/SearchAddressResponse.js.map +1 -0
- package/dist/api/resources/intelligence/types/SearchEmailResponse.d.ts +28 -0
- package/dist/api/resources/intelligence/types/SearchEmailResponse.d.ts.map +1 -0
- package/dist/api/resources/intelligence/types/SearchEmailResponse.js +3 -0
- package/dist/api/resources/intelligence/types/SearchEmailResponse.js.map +1 -0
- package/dist/api/resources/intelligence/types/SearchFaceResponse.d.ts +40 -0
- package/dist/api/resources/intelligence/types/SearchFaceResponse.d.ts.map +1 -0
- package/dist/api/resources/intelligence/types/SearchFaceResponse.js +3 -0
- package/dist/api/resources/intelligence/types/SearchFaceResponse.js.map +1 -0
- package/dist/api/resources/intelligence/types/SearchGmailResponse.d.ts +126 -0
- package/dist/api/resources/intelligence/types/SearchGmailResponse.d.ts.map +1 -0
- package/dist/api/resources/intelligence/types/SearchGmailResponse.js +3 -0
- package/dist/api/resources/intelligence/types/SearchGmailResponse.js.map +1 -0
- package/dist/api/resources/intelligence/types/SearchHudsonRockResponse.d.ts +128 -0
- package/dist/api/resources/intelligence/types/SearchHudsonRockResponse.d.ts.map +1 -0
- package/dist/api/resources/intelligence/types/SearchHudsonRockResponse.js +3 -0
- package/dist/api/resources/intelligence/types/SearchHudsonRockResponse.js.map +1 -0
- package/dist/api/resources/intelligence/types/SearchLocationToBssidResponse.d.ts +29 -0
- package/dist/api/resources/intelligence/types/SearchLocationToBssidResponse.d.ts.map +1 -0
- package/dist/api/resources/intelligence/types/SearchLocationToBssidResponse.js +3 -0
- package/dist/api/resources/intelligence/types/SearchLocationToBssidResponse.js.map +1 -0
- package/dist/api/resources/intelligence/types/SearchPersonResponse.d.ts +56 -0
- package/dist/api/resources/intelligence/types/SearchPersonResponse.d.ts.map +1 -0
- package/dist/api/resources/intelligence/types/SearchPersonResponse.js +3 -0
- package/dist/api/resources/intelligence/types/SearchPersonResponse.js.map +1 -0
- package/dist/api/resources/intelligence/types/SearchPhoneResponse.d.ts +79 -0
- package/dist/api/resources/intelligence/types/SearchPhoneResponse.d.ts.map +1 -0
- package/dist/api/resources/intelligence/types/SearchPhoneResponse.js +3 -0
- package/dist/api/resources/intelligence/types/SearchPhoneResponse.js.map +1 -0
- package/dist/api/resources/intelligence/types/SearchSeonResponse.d.ts +305 -0
- package/dist/api/resources/intelligence/types/SearchSeonResponse.d.ts.map +1 -0
- package/dist/api/resources/intelligence/types/SearchSeonResponse.js +3 -0
- package/dist/api/resources/intelligence/types/SearchSeonResponse.js.map +1 -0
- package/dist/api/resources/intelligence/types/SearchWaybackResponse.d.ts +44 -0
- package/dist/api/resources/intelligence/types/SearchWaybackResponse.d.ts.map +1 -0
- package/dist/api/resources/intelligence/types/SearchWaybackResponse.js +3 -0
- package/dist/api/resources/intelligence/types/SearchWaybackResponse.js.map +1 -0
- package/dist/api/resources/intelligence/types/SearchWebDatabasesResponse.d.ts +285 -0
- package/dist/api/resources/intelligence/types/SearchWebDatabasesResponse.d.ts.map +1 -0
- package/dist/api/resources/intelligence/types/SearchWebDatabasesResponse.js +3 -0
- package/dist/api/resources/intelligence/types/SearchWebDatabasesResponse.js.map +1 -0
- package/dist/api/resources/intelligence/types/SearchWifiNetworkMapResponse.d.ts +26 -0
- package/dist/api/resources/intelligence/types/SearchWifiNetworkMapResponse.d.ts.map +1 -0
- package/dist/api/resources/intelligence/types/SearchWifiNetworkMapResponse.js +3 -0
- package/dist/api/resources/intelligence/types/SearchWifiNetworkMapResponse.js.map +1 -0
- package/dist/api/resources/intelligence/types/VirusTotalIntelligenceResponse.d.ts +42 -0
- package/dist/api/resources/intelligence/types/VirusTotalIntelligenceResponse.d.ts.map +1 -0
- package/dist/api/resources/intelligence/types/VirusTotalIntelligenceResponse.js +3 -0
- package/dist/api/resources/intelligence/types/VirusTotalIntelligenceResponse.js.map +1 -0
- package/dist/api/resources/intelligence/types/index.d.ts +16 -0
- package/dist/api/resources/intelligence/types/index.d.ts.map +1 -0
- package/dist/api/resources/intelligence/types/index.js +16 -0
- package/dist/api/resources/intelligence/types/index.js.map +1 -0
- package/dist/api/resources/organizations/client/Client.d.ts +119 -0
- package/dist/api/resources/organizations/client/Client.d.ts.map +1 -0
- package/dist/api/resources/organizations/client/Client.js +382 -0
- package/dist/api/resources/organizations/client/Client.js.map +1 -0
- package/dist/api/resources/organizations/client/index.d.ts +2 -0
- package/dist/api/resources/organizations/client/index.d.ts.map +1 -0
- package/dist/api/resources/organizations/client/index.js +2 -0
- package/dist/api/resources/organizations/client/index.js.map +1 -0
- package/dist/api/resources/organizations/client/requests/GetOrganizationAuditLogRequest.d.ts +12 -0
- package/dist/api/resources/organizations/client/requests/GetOrganizationAuditLogRequest.d.ts.map +1 -0
- package/dist/api/resources/organizations/client/requests/GetOrganizationAuditLogRequest.js +3 -0
- package/dist/api/resources/organizations/client/requests/GetOrganizationAuditLogRequest.js.map +1 -0
- package/dist/api/resources/organizations/client/requests/GetOrganizationRequest.d.ts +10 -0
- package/dist/api/resources/organizations/client/requests/GetOrganizationRequest.d.ts.map +1 -0
- package/dist/api/resources/organizations/client/requests/GetOrganizationRequest.js +3 -0
- package/dist/api/resources/organizations/client/requests/GetOrganizationRequest.js.map +1 -0
- package/dist/api/resources/organizations/client/requests/ListOrganizationCasesRequest.d.ts +10 -0
- package/dist/api/resources/organizations/client/requests/ListOrganizationCasesRequest.d.ts.map +1 -0
- package/dist/api/resources/organizations/client/requests/ListOrganizationCasesRequest.js +3 -0
- package/dist/api/resources/organizations/client/requests/ListOrganizationCasesRequest.js.map +1 -0
- package/dist/api/resources/organizations/client/requests/ListOrganizationMembersRequest.d.ts +10 -0
- package/dist/api/resources/organizations/client/requests/ListOrganizationMembersRequest.d.ts.map +1 -0
- package/dist/api/resources/organizations/client/requests/ListOrganizationMembersRequest.js +3 -0
- package/dist/api/resources/organizations/client/requests/ListOrganizationMembersRequest.js.map +1 -0
- package/dist/api/resources/organizations/client/requests/SendOrganizationCreditsRequest.d.ts +14 -0
- package/dist/api/resources/organizations/client/requests/SendOrganizationCreditsRequest.d.ts.map +1 -0
- package/dist/api/resources/organizations/client/requests/SendOrganizationCreditsRequest.js +3 -0
- package/dist/api/resources/organizations/client/requests/SendOrganizationCreditsRequest.js.map +1 -0
- package/dist/api/resources/organizations/client/requests/index.d.ts +6 -0
- package/dist/api/resources/organizations/client/requests/index.d.ts.map +1 -0
- package/dist/api/resources/organizations/client/requests/index.js +2 -0
- package/dist/api/resources/organizations/client/requests/index.js.map +1 -0
- package/dist/api/resources/organizations/exports.d.ts +3 -0
- package/dist/api/resources/organizations/exports.d.ts.map +1 -0
- package/dist/api/resources/organizations/exports.js +4 -0
- package/dist/api/resources/organizations/exports.js.map +1 -0
- package/dist/api/resources/organizations/index.d.ts +3 -0
- package/dist/api/resources/organizations/index.d.ts.map +1 -0
- package/dist/api/resources/organizations/index.js +3 -0
- package/dist/api/resources/organizations/index.js.map +1 -0
- package/dist/api/resources/organizations/types/GetOrganizationAuditLogResponse.d.ts +18 -0
- package/dist/api/resources/organizations/types/GetOrganizationAuditLogResponse.d.ts.map +1 -0
- package/dist/api/resources/organizations/types/GetOrganizationAuditLogResponse.js +3 -0
- package/dist/api/resources/organizations/types/GetOrganizationAuditLogResponse.js.map +1 -0
- package/dist/api/resources/organizations/types/GetOrganizationResponse.d.ts +19 -0
- package/dist/api/resources/organizations/types/GetOrganizationResponse.d.ts.map +1 -0
- package/dist/api/resources/organizations/types/GetOrganizationResponse.js +3 -0
- package/dist/api/resources/organizations/types/GetOrganizationResponse.js.map +1 -0
- package/dist/api/resources/organizations/types/ListOrganizationCasesResponse.d.ts +19 -0
- package/dist/api/resources/organizations/types/ListOrganizationCasesResponse.d.ts.map +1 -0
- package/dist/api/resources/organizations/types/ListOrganizationCasesResponse.js +3 -0
- package/dist/api/resources/organizations/types/ListOrganizationCasesResponse.js.map +1 -0
- package/dist/api/resources/organizations/types/ListOrganizationMembersResponse.d.ts +20 -0
- package/dist/api/resources/organizations/types/ListOrganizationMembersResponse.d.ts.map +1 -0
- package/dist/api/resources/organizations/types/ListOrganizationMembersResponse.js +3 -0
- package/dist/api/resources/organizations/types/ListOrganizationMembersResponse.js.map +1 -0
- package/dist/api/resources/organizations/types/ListOrganizationsResponse.d.ts +22 -0
- package/dist/api/resources/organizations/types/ListOrganizationsResponse.d.ts.map +1 -0
- package/dist/api/resources/organizations/types/ListOrganizationsResponse.js +3 -0
- package/dist/api/resources/organizations/types/ListOrganizationsResponse.js.map +1 -0
- package/dist/api/resources/organizations/types/SendOrganizationCreditsResponse.d.ts +6 -0
- package/dist/api/resources/organizations/types/SendOrganizationCreditsResponse.d.ts.map +1 -0
- package/dist/api/resources/organizations/types/SendOrganizationCreditsResponse.js +3 -0
- package/dist/api/resources/organizations/types/SendOrganizationCreditsResponse.js.map +1 -0
- package/dist/api/resources/organizations/types/index.d.ts +7 -0
- package/dist/api/resources/organizations/types/index.d.ts.map +1 -0
- package/dist/api/resources/organizations/types/index.js +7 -0
- package/dist/api/resources/organizations/types/index.js.map +1 -0
- package/dist/api/resources/pricing/client/Client.d.ts +27 -0
- package/dist/api/resources/pricing/client/Client.d.ts.map +1 -0
- package/dist/api/resources/pricing/client/Client.js +60 -0
- package/dist/api/resources/pricing/client/Client.js.map +1 -0
- package/dist/api/resources/pricing/client/index.d.ts +2 -0
- package/dist/api/resources/pricing/client/index.d.ts.map +1 -0
- package/dist/api/resources/pricing/client/index.js +2 -0
- package/dist/api/resources/pricing/client/index.js.map +1 -0
- package/dist/api/resources/pricing/exports.d.ts +3 -0
- package/dist/api/resources/pricing/exports.d.ts.map +1 -0
- package/dist/api/resources/pricing/exports.js +4 -0
- package/dist/api/resources/pricing/exports.js.map +1 -0
- package/dist/api/resources/pricing/index.d.ts +3 -0
- package/dist/api/resources/pricing/index.d.ts.map +1 -0
- package/dist/api/resources/pricing/index.js +3 -0
- package/dist/api/resources/pricing/index.js.map +1 -0
- package/dist/api/resources/pricing/types/GetPricingResponse.d.ts +6 -0
- package/dist/api/resources/pricing/types/GetPricingResponse.d.ts.map +1 -0
- package/dist/api/resources/pricing/types/GetPricingResponse.js +3 -0
- package/dist/api/resources/pricing/types/GetPricingResponse.js.map +1 -0
- package/dist/api/resources/pricing/types/index.d.ts +2 -0
- package/dist/api/resources/pricing/types/index.d.ts.map +1 -0
- package/dist/api/resources/pricing/types/index.js +2 -0
- package/dist/api/resources/pricing/types/index.js.map +1 -0
- package/dist/api/resources/socials/client/Client.d.ts +161 -0
- package/dist/api/resources/socials/client/Client.d.ts.map +1 -0
- package/dist/api/resources/socials/client/Client.js +603 -0
- package/dist/api/resources/socials/client/Client.js.map +1 -0
- package/dist/api/resources/socials/client/index.d.ts +2 -0
- package/dist/api/resources/socials/client/index.d.ts.map +1 -0
- package/dist/api/resources/socials/client/index.js +2 -0
- package/dist/api/resources/socials/client/index.js.map +1 -0
- package/dist/api/resources/socials/client/requests/SearchDiscordRequest.d.ts +36 -0
- package/dist/api/resources/socials/client/requests/SearchDiscordRequest.d.ts.map +1 -0
- package/dist/api/resources/socials/client/requests/SearchDiscordRequest.js +27 -0
- package/dist/api/resources/socials/client/requests/SearchDiscordRequest.js.map +1 -0
- package/dist/api/resources/socials/client/requests/SearchEpicRequest.d.ts +10 -0
- package/dist/api/resources/socials/client/requests/SearchEpicRequest.d.ts.map +1 -0
- package/dist/api/resources/socials/client/requests/SearchEpicRequest.js +3 -0
- package/dist/api/resources/socials/client/requests/SearchEpicRequest.js.map +1 -0
- package/dist/api/resources/socials/client/requests/SearchGithubRequest.d.ts +10 -0
- package/dist/api/resources/socials/client/requests/SearchGithubRequest.d.ts.map +1 -0
- package/dist/api/resources/socials/client/requests/SearchGithubRequest.js +3 -0
- package/dist/api/resources/socials/client/requests/SearchGithubRequest.js.map +1 -0
- package/dist/api/resources/socials/client/requests/SearchPlaystationRequest.d.ts +10 -0
- package/dist/api/resources/socials/client/requests/SearchPlaystationRequest.d.ts.map +1 -0
- package/dist/api/resources/socials/client/requests/SearchPlaystationRequest.js +3 -0
- package/dist/api/resources/socials/client/requests/SearchPlaystationRequest.js.map +1 -0
- package/dist/api/resources/socials/client/requests/SearchRedditRequest.d.ts +22 -0
- package/dist/api/resources/socials/client/requests/SearchRedditRequest.d.ts.map +1 -0
- package/dist/api/resources/socials/client/requests/SearchRedditRequest.js +9 -0
- package/dist/api/resources/socials/client/requests/SearchRedditRequest.js.map +1 -0
- package/dist/api/resources/socials/client/requests/SearchRobloxRequest.d.ts +33 -0
- package/dist/api/resources/socials/client/requests/SearchRobloxRequest.d.ts.map +1 -0
- package/dist/api/resources/socials/client/requests/SearchRobloxRequest.js +22 -0
- package/dist/api/resources/socials/client/requests/SearchRobloxRequest.js.map +1 -0
- package/dist/api/resources/socials/client/requests/SearchSteamRequest.d.ts +10 -0
- package/dist/api/resources/socials/client/requests/SearchSteamRequest.d.ts.map +1 -0
- package/dist/api/resources/socials/client/requests/SearchSteamRequest.js +3 -0
- package/dist/api/resources/socials/client/requests/SearchSteamRequest.js.map +1 -0
- package/dist/api/resources/socials/client/requests/SearchTiktokRequest.d.ts +19 -0
- package/dist/api/resources/socials/client/requests/SearchTiktokRequest.d.ts.map +1 -0
- package/dist/api/resources/socials/client/requests/SearchTiktokRequest.js +10 -0
- package/dist/api/resources/socials/client/requests/SearchTiktokRequest.js.map +1 -0
- package/dist/api/resources/socials/client/requests/SearchUsernameRequest.d.ts +10 -0
- package/dist/api/resources/socials/client/requests/SearchUsernameRequest.d.ts.map +1 -0
- package/dist/api/resources/socials/client/requests/SearchUsernameRequest.js +3 -0
- package/dist/api/resources/socials/client/requests/SearchUsernameRequest.js.map +1 -0
- package/dist/api/resources/socials/client/requests/SearchXboxRequest.d.ts +10 -0
- package/dist/api/resources/socials/client/requests/SearchXboxRequest.d.ts.map +1 -0
- package/dist/api/resources/socials/client/requests/SearchXboxRequest.js +3 -0
- package/dist/api/resources/socials/client/requests/SearchXboxRequest.js.map +1 -0
- package/dist/api/resources/socials/client/requests/index.d.ts +11 -0
- package/dist/api/resources/socials/client/requests/index.d.ts.map +1 -0
- package/dist/api/resources/socials/client/requests/index.js +5 -0
- package/dist/api/resources/socials/client/requests/index.js.map +1 -0
- package/dist/api/resources/socials/exports.d.ts +3 -0
- package/dist/api/resources/socials/exports.d.ts.map +1 -0
- package/dist/api/resources/socials/exports.js +4 -0
- package/dist/api/resources/socials/exports.js.map +1 -0
- package/dist/api/resources/socials/index.d.ts +3 -0
- package/dist/api/resources/socials/index.d.ts.map +1 -0
- package/dist/api/resources/socials/index.js +3 -0
- package/dist/api/resources/socials/index.js.map +1 -0
- package/dist/api/resources/socials/types/SearchDiscordResponse.d.ts +201 -0
- package/dist/api/resources/socials/types/SearchDiscordResponse.d.ts.map +1 -0
- package/dist/api/resources/socials/types/SearchDiscordResponse.js +3 -0
- package/dist/api/resources/socials/types/SearchDiscordResponse.js.map +1 -0
- package/dist/api/resources/socials/types/SearchEpicResponse.d.ts +126 -0
- package/dist/api/resources/socials/types/SearchEpicResponse.d.ts.map +1 -0
- package/dist/api/resources/socials/types/SearchEpicResponse.js +3 -0
- package/dist/api/resources/socials/types/SearchEpicResponse.js.map +1 -0
- package/dist/api/resources/socials/types/SearchGithubResponse.d.ts +50 -0
- package/dist/api/resources/socials/types/SearchGithubResponse.d.ts.map +1 -0
- package/dist/api/resources/socials/types/SearchGithubResponse.js +3 -0
- package/dist/api/resources/socials/types/SearchGithubResponse.js.map +1 -0
- package/dist/api/resources/socials/types/SearchPlaystationResponse.d.ts +86 -0
- package/dist/api/resources/socials/types/SearchPlaystationResponse.d.ts.map +1 -0
- package/dist/api/resources/socials/types/SearchPlaystationResponse.js +3 -0
- package/dist/api/resources/socials/types/SearchPlaystationResponse.js.map +1 -0
- package/dist/api/resources/socials/types/SearchRedditResponse.d.ts +53 -0
- package/dist/api/resources/socials/types/SearchRedditResponse.d.ts.map +1 -0
- package/dist/api/resources/socials/types/SearchRedditResponse.js +22 -0
- package/dist/api/resources/socials/types/SearchRedditResponse.js.map +1 -0
- package/dist/api/resources/socials/types/SearchRobloxResponse.d.ts +79 -0
- package/dist/api/resources/socials/types/SearchRobloxResponse.d.ts.map +1 -0
- package/dist/api/resources/socials/types/SearchRobloxResponse.js +3 -0
- package/dist/api/resources/socials/types/SearchRobloxResponse.js.map +1 -0
- package/dist/api/resources/socials/types/SearchSteamResponse.d.ts +77 -0
- package/dist/api/resources/socials/types/SearchSteamResponse.d.ts.map +1 -0
- package/dist/api/resources/socials/types/SearchSteamResponse.js +3 -0
- package/dist/api/resources/socials/types/SearchSteamResponse.js.map +1 -0
- package/dist/api/resources/socials/types/SearchTiktokResponse.d.ts +32 -0
- package/dist/api/resources/socials/types/SearchTiktokResponse.d.ts.map +1 -0
- package/dist/api/resources/socials/types/SearchTiktokResponse.js +3 -0
- package/dist/api/resources/socials/types/SearchTiktokResponse.js.map +1 -0
- package/dist/api/resources/socials/types/SearchUsernameResponse.d.ts +383 -0
- package/dist/api/resources/socials/types/SearchUsernameResponse.d.ts.map +1 -0
- package/dist/api/resources/socials/types/SearchUsernameResponse.js +3 -0
- package/dist/api/resources/socials/types/SearchUsernameResponse.js.map +1 -0
- package/dist/api/resources/socials/types/SearchXboxResponse.d.ts +83 -0
- package/dist/api/resources/socials/types/SearchXboxResponse.d.ts.map +1 -0
- package/dist/api/resources/socials/types/SearchXboxResponse.js +3 -0
- package/dist/api/resources/socials/types/SearchXboxResponse.js.map +1 -0
- package/dist/api/resources/socials/types/index.d.ts +11 -0
- package/dist/api/resources/socials/types/index.d.ts.map +1 -0
- package/dist/api/resources/socials/types/index.js +11 -0
- package/dist/api/resources/socials/types/index.js.map +1 -0
- package/dist/api/resources/tools/client/Client.d.ts +137 -0
- package/dist/api/resources/tools/client/Client.d.ts.map +1 -0
- package/dist/api/resources/tools/client/Client.js +435 -0
- package/dist/api/resources/tools/client/Client.js.map +1 -0
- package/dist/api/resources/tools/client/index.d.ts +2 -0
- package/dist/api/resources/tools/client/index.d.ts.map +1 -0
- package/dist/api/resources/tools/client/index.js +2 -0
- package/dist/api/resources/tools/client/index.js.map +1 -0
- package/dist/api/resources/tools/client/requests/AnalyzeCryptoAddressRequest.d.ts +11 -0
- package/dist/api/resources/tools/client/requests/AnalyzeCryptoAddressRequest.d.ts.map +1 -0
- package/dist/api/resources/tools/client/requests/AnalyzeCryptoAddressRequest.js +3 -0
- package/dist/api/resources/tools/client/requests/AnalyzeCryptoAddressRequest.js.map +1 -0
- package/dist/api/resources/tools/client/requests/BypassDoubleCounterRequest.d.ts +10 -0
- package/dist/api/resources/tools/client/requests/BypassDoubleCounterRequest.d.ts.map +1 -0
- package/dist/api/resources/tools/client/requests/BypassDoubleCounterRequest.js +3 -0
- package/dist/api/resources/tools/client/requests/BypassDoubleCounterRequest.js.map +1 -0
- package/dist/api/resources/tools/client/requests/DownloadVirusTotalFileRequest.d.ts +10 -0
- package/dist/api/resources/tools/client/requests/DownloadVirusTotalFileRequest.d.ts.map +1 -0
- package/dist/api/resources/tools/client/requests/DownloadVirusTotalFileRequest.js +3 -0
- package/dist/api/resources/tools/client/requests/DownloadVirusTotalFileRequest.js.map +1 -0
- package/dist/api/resources/tools/client/requests/LookupDiscordAltRequest.d.ts +10 -0
- package/dist/api/resources/tools/client/requests/LookupDiscordAltRequest.d.ts.map +1 -0
- package/dist/api/resources/tools/client/requests/LookupDiscordAltRequest.js +3 -0
- package/dist/api/resources/tools/client/requests/LookupDiscordAltRequest.js.map +1 -0
- package/dist/api/resources/tools/client/requests/ResolveLinkRequest.d.ts +10 -0
- package/dist/api/resources/tools/client/requests/ResolveLinkRequest.d.ts.map +1 -0
- package/dist/api/resources/tools/client/requests/ResolveLinkRequest.js +3 -0
- package/dist/api/resources/tools/client/requests/ResolveLinkRequest.js.map +1 -0
- package/dist/api/resources/tools/client/requests/SearchAppStoreRequest.d.ts +18 -0
- package/dist/api/resources/tools/client/requests/SearchAppStoreRequest.d.ts.map +1 -0
- package/dist/api/resources/tools/client/requests/SearchAppStoreRequest.js +9 -0
- package/dist/api/resources/tools/client/requests/SearchAppStoreRequest.js.map +1 -0
- package/dist/api/resources/tools/client/requests/index.d.ts +7 -0
- package/dist/api/resources/tools/client/requests/index.d.ts.map +1 -0
- package/dist/api/resources/tools/client/requests/index.js +2 -0
- package/dist/api/resources/tools/client/requests/index.js.map +1 -0
- package/dist/api/resources/tools/exports.d.ts +3 -0
- package/dist/api/resources/tools/exports.d.ts.map +1 -0
- package/dist/api/resources/tools/exports.js +4 -0
- package/dist/api/resources/tools/exports.js.map +1 -0
- package/dist/api/resources/tools/index.d.ts +3 -0
- package/dist/api/resources/tools/index.d.ts.map +1 -0
- package/dist/api/resources/tools/index.js +3 -0
- package/dist/api/resources/tools/index.js.map +1 -0
- package/dist/api/resources/tools/types/AnalyzeCryptoAddressResponse.d.ts +53 -0
- package/dist/api/resources/tools/types/AnalyzeCryptoAddressResponse.d.ts.map +1 -0
- package/dist/api/resources/tools/types/AnalyzeCryptoAddressResponse.js +3 -0
- package/dist/api/resources/tools/types/AnalyzeCryptoAddressResponse.js.map +1 -0
- package/dist/api/resources/tools/types/BypassDoubleCounterResponse.d.ts +5 -0
- package/dist/api/resources/tools/types/BypassDoubleCounterResponse.d.ts.map +1 -0
- package/dist/api/resources/tools/types/BypassDoubleCounterResponse.js +3 -0
- package/dist/api/resources/tools/types/BypassDoubleCounterResponse.js.map +1 -0
- package/dist/api/resources/tools/types/DownloadIntelxFileRequest.d.ts +8 -0
- package/dist/api/resources/tools/types/DownloadIntelxFileRequest.d.ts.map +1 -0
- package/dist/api/resources/tools/types/DownloadIntelxFileRequest.js +3 -0
- package/dist/api/resources/tools/types/DownloadIntelxFileRequest.js.map +1 -0
- package/dist/api/resources/tools/types/DownloadIntelxFileResponse.d.ts +5 -0
- package/dist/api/resources/tools/types/DownloadIntelxFileResponse.d.ts.map +1 -0
- package/dist/api/resources/tools/types/DownloadIntelxFileResponse.js +3 -0
- package/dist/api/resources/tools/types/DownloadIntelxFileResponse.js.map +1 -0
- package/dist/api/resources/tools/types/DownloadVirusTotalFileResponse.d.ts +14 -0
- package/dist/api/resources/tools/types/DownloadVirusTotalFileResponse.d.ts.map +1 -0
- package/dist/api/resources/tools/types/DownloadVirusTotalFileResponse.js +3 -0
- package/dist/api/resources/tools/types/DownloadVirusTotalFileResponse.js.map +1 -0
- package/dist/api/resources/tools/types/LookupDiscordAltResponse.d.ts +43 -0
- package/dist/api/resources/tools/types/LookupDiscordAltResponse.d.ts.map +1 -0
- package/dist/api/resources/tools/types/LookupDiscordAltResponse.js +3 -0
- package/dist/api/resources/tools/types/LookupDiscordAltResponse.js.map +1 -0
- package/dist/api/resources/tools/types/ResolveLinkResponse.d.ts +37 -0
- package/dist/api/resources/tools/types/ResolveLinkResponse.d.ts.map +1 -0
- package/dist/api/resources/tools/types/ResolveLinkResponse.js +12 -0
- package/dist/api/resources/tools/types/ResolveLinkResponse.js.map +1 -0
- package/dist/api/resources/tools/types/SearchAppStoreResponse.d.ts +60 -0
- package/dist/api/resources/tools/types/SearchAppStoreResponse.d.ts.map +1 -0
- package/dist/api/resources/tools/types/SearchAppStoreResponse.js +22 -0
- package/dist/api/resources/tools/types/SearchAppStoreResponse.js.map +1 -0
- package/dist/api/resources/tools/types/index.d.ts +9 -0
- package/dist/api/resources/tools/types/index.d.ts.map +1 -0
- package/dist/api/resources/tools/types/index.js +9 -0
- package/dist/api/resources/tools/types/index.js.map +1 -0
- package/dist/api/resources/unified/client/Client.d.ts +33 -0
- package/dist/api/resources/unified/client/Client.d.ts.map +1 -0
- package/dist/api/resources/unified/client/Client.js +78 -0
- package/dist/api/resources/unified/client/Client.js.map +1 -0
- package/dist/api/resources/unified/client/index.d.ts +2 -0
- package/dist/api/resources/unified/client/index.d.ts.map +1 -0
- package/dist/api/resources/unified/client/index.js +2 -0
- package/dist/api/resources/unified/client/index.js.map +1 -0
- package/dist/api/resources/unified/client/requests/SearchUnifiedRequest.d.ts +24 -0
- package/dist/api/resources/unified/client/requests/SearchUnifiedRequest.d.ts.map +1 -0
- package/dist/api/resources/unified/client/requests/SearchUnifiedRequest.js +12 -0
- package/dist/api/resources/unified/client/requests/SearchUnifiedRequest.js.map +1 -0
- package/dist/api/resources/unified/client/requests/index.d.ts +2 -0
- package/dist/api/resources/unified/client/requests/index.d.ts.map +1 -0
- package/dist/api/resources/unified/client/requests/index.js +2 -0
- package/dist/api/resources/unified/client/requests/index.js.map +1 -0
- package/dist/api/resources/unified/exports.d.ts +3 -0
- package/dist/api/resources/unified/exports.d.ts.map +1 -0
- package/dist/api/resources/unified/exports.js +4 -0
- package/dist/api/resources/unified/exports.js.map +1 -0
- package/dist/api/resources/unified/index.d.ts +3 -0
- package/dist/api/resources/unified/index.d.ts.map +1 -0
- package/dist/api/resources/unified/index.js +3 -0
- package/dist/api/resources/unified/index.js.map +1 -0
- package/dist/api/resources/unified/types/SearchUnifiedResponse.d.ts +16 -0
- package/dist/api/resources/unified/types/SearchUnifiedResponse.d.ts.map +1 -0
- package/dist/api/resources/unified/types/SearchUnifiedResponse.js +12 -0
- package/dist/api/resources/unified/types/SearchUnifiedResponse.js.map +1 -0
- package/dist/api/resources/unified/types/index.d.ts +2 -0
- package/dist/api/resources/unified/types/index.d.ts.map +1 -0
- package/dist/api/resources/unified/types/index.js +2 -0
- package/dist/api/resources/unified/types/index.js.map +1 -0
- package/dist/api/resources/users/client/Client.d.ts +27 -0
- package/dist/api/resources/users/client/Client.d.ts.map +1 -0
- package/dist/api/resources/users/client/Client.js +60 -0
- package/dist/api/resources/users/client/Client.js.map +1 -0
- package/dist/api/resources/users/client/index.d.ts +2 -0
- package/dist/api/resources/users/client/index.d.ts.map +1 -0
- package/dist/api/resources/users/client/index.js +2 -0
- package/dist/api/resources/users/client/index.js.map +1 -0
- package/dist/api/resources/users/exports.d.ts +3 -0
- package/dist/api/resources/users/exports.d.ts.map +1 -0
- package/dist/api/resources/users/exports.js +4 -0
- package/dist/api/resources/users/exports.js.map +1 -0
- package/dist/api/resources/users/index.d.ts +3 -0
- package/dist/api/resources/users/index.d.ts.map +1 -0
- package/dist/api/resources/users/index.js +3 -0
- package/dist/api/resources/users/index.js.map +1 -0
- package/dist/api/resources/users/types/GetInfoResponse.d.ts +135 -0
- package/dist/api/resources/users/types/GetInfoResponse.d.ts.map +1 -0
- package/dist/api/resources/users/types/GetInfoResponse.js +70 -0
- package/dist/api/resources/users/types/GetInfoResponse.js.map +1 -0
- package/dist/api/resources/users/types/index.d.ts +2 -0
- package/dist/api/resources/users/types/index.d.ts.map +1 -0
- package/dist/api/resources/users/types/index.js +2 -0
- package/dist/api/resources/users/types/index.js.map +1 -0
- package/dist/api/types/FailedResponse.d.ts +10 -0
- package/dist/api/types/FailedResponse.d.ts.map +1 -0
- package/dist/api/types/FailedResponse.js +3 -0
- package/dist/api/types/FailedResponse.js.map +1 -0
- package/dist/api/types/index.d.ts +2 -0
- package/dist/api/types/index.d.ts.map +1 -0
- package/dist/api/types/index.js +2 -0
- package/dist/api/types/index.js.map +1 -0
- package/dist/auth/HeaderAuthProvider.d.ts +21 -0
- package/dist/auth/HeaderAuthProvider.d.ts.map +1 -0
- package/dist/auth/HeaderAuthProvider.js +35 -0
- package/dist/auth/HeaderAuthProvider.js.map +1 -0
- package/dist/auth/index.d.ts +2 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +2 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/core/auth/AuthProvider.d.ts +9 -0
- package/dist/core/auth/AuthProvider.d.ts.map +1 -0
- package/dist/core/auth/AuthProvider.js +7 -0
- package/dist/core/auth/AuthProvider.js.map +1 -0
- package/dist/core/auth/AuthRequest.d.ts +10 -0
- package/dist/core/auth/AuthRequest.d.ts.map +1 -0
- package/dist/core/auth/AuthRequest.js +2 -0
- package/dist/core/auth/AuthRequest.js.map +1 -0
- package/dist/core/auth/BasicAuth.d.ts +9 -0
- package/dist/core/auth/BasicAuth.d.ts.map +1 -0
- package/dist/core/auth/BasicAuth.js +30 -0
- package/dist/core/auth/BasicAuth.js.map +1 -0
- package/dist/core/auth/BearerToken.d.ts +8 -0
- package/dist/core/auth/BearerToken.d.ts.map +1 -0
- package/dist/core/auth/BearerToken.js +14 -0
- package/dist/core/auth/BearerToken.js.map +1 -0
- package/dist/core/auth/NoOpAuthProvider.d.ts +6 -0
- package/dist/core/auth/NoOpAuthProvider.d.ts.map +1 -0
- package/dist/core/auth/NoOpAuthProvider.js +6 -0
- package/dist/core/auth/NoOpAuthProvider.js.map +1 -0
- package/dist/core/auth/index.d.ts +6 -0
- package/dist/core/auth/index.d.ts.map +1 -0
- package/dist/core/auth/index.js +5 -0
- package/dist/core/auth/index.js.map +1 -0
- package/dist/core/base64.d.ts +3 -0
- package/dist/core/base64.d.ts.map +1 -0
- package/dist/core/base64.js +23 -0
- package/dist/core/base64.js.map +1 -0
- package/dist/core/exports.d.ts +3 -0
- package/dist/core/exports.d.ts.map +1 -0
- package/dist/core/exports.js +3 -0
- package/dist/core/exports.js.map +1 -0
- package/dist/core/fetcher/APIResponse.d.ts +21 -0
- package/dist/core/fetcher/APIResponse.d.ts.map +1 -0
- package/dist/core/fetcher/APIResponse.js +2 -0
- package/dist/core/fetcher/APIResponse.js.map +1 -0
- package/dist/core/fetcher/BinaryResponse.d.ts +20 -0
- package/dist/core/fetcher/BinaryResponse.d.ts.map +1 -0
- package/dist/core/fetcher/BinaryResponse.js +15 -0
- package/dist/core/fetcher/BinaryResponse.js.map +1 -0
- package/dist/core/fetcher/EndpointMetadata.d.ts +14 -0
- package/dist/core/fetcher/EndpointMetadata.d.ts.map +1 -0
- package/dist/core/fetcher/EndpointMetadata.js +2 -0
- package/dist/core/fetcher/EndpointMetadata.js.map +1 -0
- package/dist/core/fetcher/EndpointSupplier.d.ts +13 -0
- package/dist/core/fetcher/EndpointSupplier.d.ts.map +1 -0
- package/dist/core/fetcher/EndpointSupplier.js +11 -0
- package/dist/core/fetcher/EndpointSupplier.js.map +1 -0
- package/dist/core/fetcher/Fetcher.d.ts +57 -0
- package/dist/core/fetcher/Fetcher.d.ts.map +1 -0
- package/dist/core/fetcher/Fetcher.js +224 -0
- package/dist/core/fetcher/Fetcher.js.map +1 -0
- package/dist/core/fetcher/Headers.d.ts +5 -0
- package/dist/core/fetcher/Headers.d.ts.map +1 -0
- package/dist/core/fetcher/Headers.js +2 -0
- package/dist/core/fetcher/Headers.js.map +1 -0
- package/dist/core/fetcher/HttpResponsePromise.d.ts +59 -0
- package/dist/core/fetcher/HttpResponsePromise.d.ts.map +1 -0
- package/dist/core/fetcher/HttpResponsePromise.js +91 -0
- package/dist/core/fetcher/HttpResponsePromise.js.map +1 -0
- package/dist/core/fetcher/RawResponse.d.ts +30 -0
- package/dist/core/fetcher/RawResponse.d.ts.map +1 -0
- package/dist/core/fetcher/RawResponse.js +41 -0
- package/dist/core/fetcher/RawResponse.js.map +1 -0
- package/dist/core/fetcher/Supplier.d.ts +5 -0
- package/dist/core/fetcher/Supplier.d.ts.map +1 -0
- package/dist/core/fetcher/Supplier.js +11 -0
- package/dist/core/fetcher/Supplier.js.map +1 -0
- package/dist/core/fetcher/createRequestUrl.d.ts +2 -0
- package/dist/core/fetcher/createRequestUrl.d.ts.map +1 -0
- package/dist/core/fetcher/createRequestUrl.js +6 -0
- package/dist/core/fetcher/createRequestUrl.js.map +1 -0
- package/dist/core/fetcher/getErrorResponseBody.d.ts +2 -0
- package/dist/core/fetcher/getErrorResponseBody.d.ts.map +1 -0
- package/dist/core/fetcher/getErrorResponseBody.js +31 -0
- package/dist/core/fetcher/getErrorResponseBody.js.map +1 -0
- package/dist/core/fetcher/getFetchFn.d.ts +2 -0
- package/dist/core/fetcher/getFetchFn.d.ts.map +1 -0
- package/dist/core/fetcher/getFetchFn.js +4 -0
- package/dist/core/fetcher/getFetchFn.js.map +1 -0
- package/dist/core/fetcher/getHeader.d.ts +2 -0
- package/dist/core/fetcher/getHeader.d.ts.map +1 -0
- package/dist/core/fetcher/getHeader.js +9 -0
- package/dist/core/fetcher/getHeader.js.map +1 -0
- package/dist/core/fetcher/getRequestBody.d.ts +8 -0
- package/dist/core/fetcher/getRequestBody.d.ts.map +1 -0
- package/dist/core/fetcher/getRequestBody.js +14 -0
- package/dist/core/fetcher/getRequestBody.js.map +1 -0
- package/dist/core/fetcher/getResponseBody.d.ts +2 -0
- package/dist/core/fetcher/getResponseBody.d.ts.map +1 -0
- package/dist/core/fetcher/getResponseBody.js +67 -0
- package/dist/core/fetcher/getResponseBody.js.map +1 -0
- package/dist/core/fetcher/index.d.ts +14 -0
- package/dist/core/fetcher/index.d.ts.map +1 -0
- package/dist/core/fetcher/index.js +8 -0
- package/dist/core/fetcher/index.js.map +1 -0
- package/dist/core/fetcher/makePassthroughRequest.d.ts +50 -0
- package/dist/core/fetcher/makePassthroughRequest.d.ts.map +1 -0
- package/dist/core/fetcher/makePassthroughRequest.js +142 -0
- package/dist/core/fetcher/makePassthroughRequest.js.map +1 -0
- package/dist/core/fetcher/makeRequest.d.ts +7 -0
- package/dist/core/fetcher/makeRequest.d.ts.map +1 -0
- package/dist/core/fetcher/makeRequest.js +54 -0
- package/dist/core/fetcher/makeRequest.js.map +1 -0
- package/dist/core/fetcher/redactUrl.d.ts +3 -0
- package/dist/core/fetcher/redactUrl.d.ts.map +1 -0
- package/dist/core/fetcher/redactUrl.js +85 -0
- package/dist/core/fetcher/redactUrl.js.map +1 -0
- package/dist/core/fetcher/requestWithRetries.d.ts +2 -0
- package/dist/core/fetcher/requestWithRetries.d.ts.map +1 -0
- package/dist/core/fetcher/requestWithRetries.js +57 -0
- package/dist/core/fetcher/requestWithRetries.js.map +1 -0
- package/dist/core/fetcher/signals.d.ts +6 -0
- package/dist/core/fetcher/signals.d.ts.map +1 -0
- package/dist/core/fetcher/signals.js +29 -0
- package/dist/core/fetcher/signals.js.map +1 -0
- package/dist/core/file/exports.d.ts +2 -0
- package/dist/core/file/exports.d.ts.map +1 -0
- package/dist/core/file/exports.js +2 -0
- package/dist/core/file/exports.js.map +1 -0
- package/dist/core/file/file.d.ts +11 -0
- package/dist/core/file/file.d.ts.map +1 -0
- package/dist/core/file/file.js +169 -0
- package/dist/core/file/file.js.map +1 -0
- package/dist/core/file/index.d.ts +3 -0
- package/dist/core/file/index.d.ts.map +1 -0
- package/dist/core/file/index.js +3 -0
- package/dist/core/file/index.js.map +1 -0
- package/dist/core/file/types.d.ts +67 -0
- package/dist/core/file/types.d.ts.map +1 -0
- package/dist/core/file/types.js +2 -0
- package/dist/core/file/types.js.map +1 -0
- package/dist/core/form-data-utils/FormDataWrapper.d.ts +16 -0
- package/dist/core/form-data-utils/FormDataWrapper.d.ts.map +1 -0
- package/dist/core/form-data-utils/FormDataWrapper.js +109 -0
- package/dist/core/form-data-utils/FormDataWrapper.js.map +1 -0
- package/dist/core/form-data-utils/encodeAsFormParameter.d.ts +2 -0
- package/dist/core/form-data-utils/encodeAsFormParameter.d.ts.map +1 -0
- package/dist/core/form-data-utils/encodeAsFormParameter.js +10 -0
- package/dist/core/form-data-utils/encodeAsFormParameter.js.map +1 -0
- package/dist/core/form-data-utils/index.d.ts +3 -0
- package/dist/core/form-data-utils/index.d.ts.map +1 -0
- package/dist/core/form-data-utils/index.js +3 -0
- package/dist/core/form-data-utils/index.js.map +1 -0
- package/dist/core/headers.d.ts +3 -0
- package/dist/core/headers.d.ts.map +1 -0
- package/dist/core/headers.js +28 -0
- package/dist/core/headers.js.map +1 -0
- package/dist/core/index.d.ts +10 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +10 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/json.d.ts +16 -0
- package/dist/core/json.d.ts.map +1 -0
- package/dist/core/json.js +20 -0
- package/dist/core/json.js.map +1 -0
- package/dist/core/logging/exports.d.ts +19 -0
- package/dist/core/logging/exports.d.ts.map +1 -0
- package/dist/core/logging/exports.js +10 -0
- package/dist/core/logging/exports.js.map +1 -0
- package/dist/core/logging/index.d.ts +2 -0
- package/dist/core/logging/index.d.ts.map +1 -0
- package/dist/core/logging/index.js +2 -0
- package/dist/core/logging/index.js.map +1 -0
- package/dist/core/logging/logger.d.ts +127 -0
- package/dist/core/logging/logger.d.ts.map +1 -0
- package/dist/core/logging/logger.js +141 -0
- package/dist/core/logging/logger.js.map +1 -0
- package/dist/core/requestBody.d.ts +13 -0
- package/dist/core/requestBody.d.ts.map +1 -0
- package/dist/core/requestBody.js +24 -0
- package/dist/core/requestBody.js.map +1 -0
- package/dist/core/runtime/index.d.ts +2 -0
- package/dist/core/runtime/index.d.ts.map +1 -0
- package/dist/core/runtime/index.js +2 -0
- package/dist/core/runtime/index.js.map +1 -0
- package/dist/core/runtime/runtime.d.ts +29 -0
- package/dist/core/runtime/runtime.d.ts.map +1 -0
- package/dist/core/runtime/runtime.js +172 -0
- package/dist/core/runtime/runtime.js.map +1 -0
- package/dist/core/stream/Stream.d.ts +101 -0
- package/dist/core/stream/Stream.d.ts.map +1 -0
- package/dist/core/stream/Stream.js +427 -0
- package/dist/core/stream/Stream.js.map +1 -0
- package/dist/core/stream/index.d.ts +3 -0
- package/dist/core/stream/index.d.ts.map +1 -0
- package/dist/core/stream/index.js +2 -0
- package/dist/core/stream/index.js.map +1 -0
- package/dist/core/url/QueryStringBuilder.d.ts +48 -0
- package/dist/core/url/QueryStringBuilder.d.ts.map +1 -0
- package/dist/core/url/QueryStringBuilder.js +79 -0
- package/dist/core/url/QueryStringBuilder.js.map +1 -0
- package/dist/core/url/encodePathParam.d.ts +2 -0
- package/dist/core/url/encodePathParam.d.ts.map +1 -0
- package/dist/core/url/encodePathParam.js +19 -0
- package/dist/core/url/encodePathParam.js.map +1 -0
- package/dist/core/url/index.d.ts +5 -0
- package/dist/core/url/index.d.ts.map +1 -0
- package/dist/core/url/index.js +5 -0
- package/dist/core/url/index.js.map +1 -0
- package/dist/core/url/join.d.ts +2 -0
- package/dist/core/url/join.d.ts.map +1 -0
- package/dist/core/url/join.js +66 -0
- package/dist/core/url/join.js.map +1 -0
- package/dist/core/url/qs.d.ts +8 -0
- package/dist/core/url/qs.d.ts.map +1 -0
- package/dist/core/url/qs.js +77 -0
- package/dist/core/url/qs.js.map +1 -0
- package/dist/environments.d.ts +5 -0
- package/dist/environments.d.ts.map +1 -0
- package/dist/environments.js +5 -0
- package/dist/environments.js.map +1 -0
- package/dist/errors/IndiciaError.d.ts +16 -0
- package/dist/errors/IndiciaError.d.ts.map +1 -0
- package/dist/errors/IndiciaError.js +39 -0
- package/dist/errors/IndiciaError.js.map +1 -0
- package/dist/errors/IndiciaTimeoutError.d.ts +7 -0
- package/dist/errors/IndiciaTimeoutError.d.ts.map +1 -0
- package/dist/errors/IndiciaTimeoutError.js +16 -0
- package/dist/errors/IndiciaTimeoutError.js.map +1 -0
- package/dist/errors/handleNonStatusCodeError.d.ts +3 -0
- package/dist/errors/handleNonStatusCodeError.d.ts.map +1 -0
- package/dist/errors/handleNonStatusCodeError.js +33 -0
- package/dist/errors/handleNonStatusCodeError.js.map +1 -0
- package/dist/errors/index.d.ts +3 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/index.js +3 -0
- package/dist/errors/index.js.map +1 -0
- package/dist/exports.d.ts +2 -0
- package/dist/exports.d.ts.map +1 -0
- package/dist/exports.js +2 -0
- package/dist/exports.js.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +2 -0
- package/dist/version.js.map +1 -0
- package/package.json +20 -52
- package/FUNCTIONS.md +0 -87
- package/README.md +0 -595
- package/RUNTIMES.md +0 -48
- package/esm/core.d.ts +0 -10
- package/esm/core.d.ts.map +0 -1
- package/esm/core.js +0 -13
- package/esm/core.js.map +0 -1
- package/esm/funcs/activity-delete-activity.d.ts +0 -14
- package/esm/funcs/activity-delete-activity.d.ts.map +0 -1
- package/esm/funcs/activity-delete-activity.js +0 -82
- package/esm/funcs/activity-delete-activity.js.map +0 -1
- package/esm/funcs/activity-get-activity.d.ts +0 -14
- package/esm/funcs/activity-get-activity.d.ts.map +0 -1
- package/esm/funcs/activity-get-activity.js +0 -82
- package/esm/funcs/activity-get-activity.js.map +0 -1
- package/esm/funcs/activity-list-activities.d.ts +0 -14
- package/esm/funcs/activity-list-activities.d.ts.map +0 -1
- package/esm/funcs/activity-list-activities.js +0 -81
- package/esm/funcs/activity-list-activities.js.map +0 -1
- package/esm/funcs/infrastructure-scan-ports.d.ts +0 -19
- package/esm/funcs/infrastructure-scan-ports.d.ts.map +0 -1
- package/esm/funcs/infrastructure-scan-ports.js +0 -92
- package/esm/funcs/infrastructure-scan-ports.js.map +0 -1
- package/esm/funcs/infrastructure-search-certificates.d.ts +0 -18
- package/esm/funcs/infrastructure-search-certificates.d.ts.map +0 -1
- package/esm/funcs/infrastructure-search-certificates.js +0 -84
- package/esm/funcs/infrastructure-search-certificates.js.map +0 -1
- package/esm/funcs/infrastructure-search-dns.d.ts +0 -18
- package/esm/funcs/infrastructure-search-dns.d.ts.map +0 -1
- package/esm/funcs/infrastructure-search-dns.js +0 -84
- package/esm/funcs/infrastructure-search-dns.js.map +0 -1
- package/esm/funcs/infrastructure-search-ip-info.d.ts +0 -18
- package/esm/funcs/infrastructure-search-ip-info.d.ts.map +0 -1
- package/esm/funcs/infrastructure-search-ip-info.js +0 -84
- package/esm/funcs/infrastructure-search-ip-info.js.map +0 -1
- package/esm/funcs/infrastructure-search-shodan.d.ts +0 -18
- package/esm/funcs/infrastructure-search-shodan.d.ts.map +0 -1
- package/esm/funcs/infrastructure-search-shodan.js +0 -84
- package/esm/funcs/infrastructure-search-shodan.js.map +0 -1
- package/esm/funcs/infrastructure-search-whois.d.ts +0 -18
- package/esm/funcs/infrastructure-search-whois.d.ts.map +0 -1
- package/esm/funcs/infrastructure-search-whois.js +0 -84
- package/esm/funcs/infrastructure-search-whois.js.map +0 -1
- package/esm/funcs/infrastructure-virus-total-content.d.ts +0 -18
- package/esm/funcs/infrastructure-virus-total-content.d.ts.map +0 -1
- package/esm/funcs/infrastructure-virus-total-content.js +0 -84
- package/esm/funcs/infrastructure-virus-total-content.js.map +0 -1
- package/esm/funcs/intelligence-geolocate-media.d.ts +0 -19
- package/esm/funcs/intelligence-geolocate-media.d.ts.map +0 -1
- package/esm/funcs/intelligence-geolocate-media.js +0 -117
- package/esm/funcs/intelligence-geolocate-media.js.map +0 -1
- package/esm/funcs/intelligence-search-address.d.ts +0 -15
- package/esm/funcs/intelligence-search-address.d.ts.map +0 -1
- package/esm/funcs/intelligence-search-address.js +0 -81
- package/esm/funcs/intelligence-search-address.js.map +0 -1
- package/esm/funcs/intelligence-search-email.d.ts +0 -18
- package/esm/funcs/intelligence-search-email.d.ts.map +0 -1
- package/esm/funcs/intelligence-search-email.js +0 -84
- package/esm/funcs/intelligence-search-email.js.map +0 -1
- package/esm/funcs/intelligence-search-face.d.ts +0 -19
- package/esm/funcs/intelligence-search-face.d.ts.map +0 -1
- package/esm/funcs/intelligence-search-face.js +0 -111
- package/esm/funcs/intelligence-search-face.js.map +0 -1
- package/esm/funcs/intelligence-search-gmail.d.ts +0 -18
- package/esm/funcs/intelligence-search-gmail.d.ts.map +0 -1
- package/esm/funcs/intelligence-search-gmail.js +0 -84
- package/esm/funcs/intelligence-search-gmail.js.map +0 -1
- package/esm/funcs/intelligence-search-hudson-rock.d.ts +0 -18
- package/esm/funcs/intelligence-search-hudson-rock.d.ts.map +0 -1
- package/esm/funcs/intelligence-search-hudson-rock.js +0 -84
- package/esm/funcs/intelligence-search-hudson-rock.js.map +0 -1
- package/esm/funcs/intelligence-search-person.d.ts +0 -18
- package/esm/funcs/intelligence-search-person.d.ts.map +0 -1
- package/esm/funcs/intelligence-search-person.js +0 -84
- package/esm/funcs/intelligence-search-person.js.map +0 -1
- package/esm/funcs/intelligence-search-phone.d.ts +0 -18
- package/esm/funcs/intelligence-search-phone.d.ts.map +0 -1
- package/esm/funcs/intelligence-search-phone.js +0 -84
- package/esm/funcs/intelligence-search-phone.js.map +0 -1
- package/esm/funcs/intelligence-search-seon.d.ts +0 -18
- package/esm/funcs/intelligence-search-seon.d.ts.map +0 -1
- package/esm/funcs/intelligence-search-seon.js +0 -84
- package/esm/funcs/intelligence-search-seon.js.map +0 -1
- package/esm/funcs/intelligence-search-web-databases.d.ts +0 -18
- package/esm/funcs/intelligence-search-web-databases.d.ts.map +0 -1
- package/esm/funcs/intelligence-search-web-databases.js +0 -84
- package/esm/funcs/intelligence-search-web-databases.js.map +0 -1
- package/esm/funcs/intelligence-virus-total-intelligence.d.ts +0 -18
- package/esm/funcs/intelligence-virus-total-intelligence.d.ts.map +0 -1
- package/esm/funcs/intelligence-virus-total-intelligence.js +0 -84
- package/esm/funcs/intelligence-virus-total-intelligence.js.map +0 -1
- package/esm/funcs/organizations-get-organization-audit-log.d.ts +0 -14
- package/esm/funcs/organizations-get-organization-audit-log.d.ts.map +0 -1
- package/esm/funcs/organizations-get-organization-audit-log.js +0 -87
- package/esm/funcs/organizations-get-organization-audit-log.js.map +0 -1
- package/esm/funcs/organizations-get-organization.d.ts +0 -14
- package/esm/funcs/organizations-get-organization.d.ts.map +0 -1
- package/esm/funcs/organizations-get-organization.js +0 -82
- package/esm/funcs/organizations-get-organization.js.map +0 -1
- package/esm/funcs/organizations-list-organization-cases.d.ts +0 -14
- package/esm/funcs/organizations-list-organization-cases.d.ts.map +0 -1
- package/esm/funcs/organizations-list-organization-cases.js +0 -82
- package/esm/funcs/organizations-list-organization-cases.js.map +0 -1
- package/esm/funcs/organizations-list-organization-members.d.ts +0 -14
- package/esm/funcs/organizations-list-organization-members.d.ts.map +0 -1
- package/esm/funcs/organizations-list-organization-members.js +0 -82
- package/esm/funcs/organizations-list-organization-members.js.map +0 -1
- package/esm/funcs/organizations-list-organizations.d.ts +0 -14
- package/esm/funcs/organizations-list-organizations.d.ts.map +0 -1
- package/esm/funcs/organizations-list-organizations.js +0 -66
- package/esm/funcs/organizations-list-organizations.js.map +0 -1
- package/esm/funcs/organizations-send-organization-credits.d.ts +0 -14
- package/esm/funcs/organizations-send-organization-credits.d.ts.map +0 -1
- package/esm/funcs/organizations-send-organization-credits.js +0 -83
- package/esm/funcs/organizations-send-organization-credits.js.map +0 -1
- package/esm/funcs/pricing-get-pricing.d.ts +0 -14
- package/esm/funcs/pricing-get-pricing.d.ts.map +0 -1
- package/esm/funcs/pricing-get-pricing.js +0 -66
- package/esm/funcs/pricing-get-pricing.js.map +0 -1
- package/esm/funcs/socials-search-discord.d.ts +0 -18
- package/esm/funcs/socials-search-discord.d.ts.map +0 -1
- package/esm/funcs/socials-search-discord.js +0 -84
- package/esm/funcs/socials-search-discord.js.map +0 -1
- package/esm/funcs/socials-search-github.d.ts +0 -19
- package/esm/funcs/socials-search-github.d.ts.map +0 -1
- package/esm/funcs/socials-search-github.js +0 -92
- package/esm/funcs/socials-search-github.js.map +0 -1
- package/esm/funcs/socials-search-roblox.d.ts +0 -18
- package/esm/funcs/socials-search-roblox.d.ts.map +0 -1
- package/esm/funcs/socials-search-roblox.js +0 -84
- package/esm/funcs/socials-search-roblox.js.map +0 -1
- package/esm/funcs/socials-search-tiktok.d.ts +0 -18
- package/esm/funcs/socials-search-tiktok.d.ts.map +0 -1
- package/esm/funcs/socials-search-tiktok.js +0 -84
- package/esm/funcs/socials-search-tiktok.js.map +0 -1
- package/esm/funcs/socials-search-username.d.ts +0 -19
- package/esm/funcs/socials-search-username.d.ts.map +0 -1
- package/esm/funcs/socials-search-username.js +0 -92
- package/esm/funcs/socials-search-username.js.map +0 -1
- package/esm/funcs/tools-analyze-crypto-address.d.ts +0 -18
- package/esm/funcs/tools-analyze-crypto-address.d.ts.map +0 -1
- package/esm/funcs/tools-analyze-crypto-address.js +0 -84
- package/esm/funcs/tools-analyze-crypto-address.js.map +0 -1
- package/esm/funcs/tools-bypass-double-counter.d.ts +0 -18
- package/esm/funcs/tools-bypass-double-counter.d.ts.map +0 -1
- package/esm/funcs/tools-bypass-double-counter.js +0 -84
- package/esm/funcs/tools-bypass-double-counter.js.map +0 -1
- package/esm/funcs/tools-download-intelx-file.d.ts +0 -18
- package/esm/funcs/tools-download-intelx-file.d.ts.map +0 -1
- package/esm/funcs/tools-download-intelx-file.js +0 -84
- package/esm/funcs/tools-download-intelx-file.js.map +0 -1
- package/esm/funcs/tools-download-virus-total-file.d.ts +0 -18
- package/esm/funcs/tools-download-virus-total-file.d.ts.map +0 -1
- package/esm/funcs/tools-download-virus-total-file.js +0 -84
- package/esm/funcs/tools-download-virus-total-file.js.map +0 -1
- package/esm/funcs/tools-lookup-discord-alt.d.ts +0 -18
- package/esm/funcs/tools-lookup-discord-alt.d.ts.map +0 -1
- package/esm/funcs/tools-lookup-discord-alt.js +0 -84
- package/esm/funcs/tools-lookup-discord-alt.js.map +0 -1
- package/esm/funcs/tools-search-app-store.d.ts +0 -18
- package/esm/funcs/tools-search-app-store.d.ts.map +0 -1
- package/esm/funcs/tools-search-app-store.js +0 -84
- package/esm/funcs/tools-search-app-store.js.map +0 -1
- package/esm/funcs/users-get-info.d.ts +0 -14
- package/esm/funcs/users-get-info.d.ts.map +0 -1
- package/esm/funcs/users-get-info.js +0 -66
- package/esm/funcs/users-get-info.js.map +0 -1
- package/esm/hooks/hooks.d.ts +0 -25
- package/esm/hooks/hooks.d.ts.map +0 -1
- package/esm/hooks/hooks.js +0 -82
- package/esm/hooks/hooks.js.map +0 -1
- package/esm/hooks/index.d.ts +0 -3
- package/esm/hooks/index.d.ts.map +0 -1
- package/esm/hooks/index.js +0 -6
- package/esm/hooks/index.js.map +0 -1
- package/esm/hooks/registration.d.ts +0 -3
- package/esm/hooks/registration.d.ts.map +0 -1
- package/esm/hooks/registration.js +0 -12
- package/esm/hooks/registration.js.map +0 -1
- package/esm/hooks/types.d.ts +0 -77
- package/esm/hooks/types.d.ts.map +0 -1
- package/esm/hooks/types.js +0 -5
- package/esm/hooks/types.js.map +0 -1
- package/esm/index.d.ts +0 -6
- package/esm/index.d.ts.map +0 -1
- package/esm/index.js +0 -8
- package/esm/index.js.map +0 -1
- package/esm/lib/base64.d.ts +0 -10
- package/esm/lib/base64.d.ts.map +0 -1
- package/esm/lib/base64.js +0 -31
- package/esm/lib/base64.js.map +0 -1
- package/esm/lib/config.d.ts +0 -38
- package/esm/lib/config.d.ts.map +0 -1
- package/esm/lib/config.js +0 -31
- package/esm/lib/config.js.map +0 -1
- package/esm/lib/encodings.d.ts +0 -54
- package/esm/lib/encodings.d.ts.map +0 -1
- package/esm/lib/encodings.js +0 -391
- package/esm/lib/encodings.js.map +0 -1
- package/esm/lib/env.d.ts +0 -15
- package/esm/lib/env.d.ts.map +0 -1
- package/esm/lib/env.js +0 -44
- package/esm/lib/env.js.map +0 -1
- package/esm/lib/event-streams.d.ts +0 -23
- package/esm/lib/event-streams.d.ts.map +0 -1
- package/esm/lib/event-streams.js +0 -163
- package/esm/lib/event-streams.js.map +0 -1
- package/esm/lib/files.d.ts +0 -26
- package/esm/lib/files.d.ts.map +0 -1
- package/esm/lib/files.js +0 -91
- package/esm/lib/files.js.map +0 -1
- package/esm/lib/http.d.ts +0 -67
- package/esm/lib/http.d.ts.map +0 -1
- package/esm/lib/http.js +0 -209
- package/esm/lib/http.js.map +0 -1
- package/esm/lib/logger.d.ts +0 -6
- package/esm/lib/logger.d.ts.map +0 -1
- package/esm/lib/logger.js +0 -5
- package/esm/lib/logger.js.map +0 -1
- package/esm/lib/matchers.d.ts +0 -59
- package/esm/lib/matchers.d.ts.map +0 -1
- package/esm/lib/matchers.js +0 -202
- package/esm/lib/matchers.js.map +0 -1
- package/esm/lib/primitives.d.ts +0 -27
- package/esm/lib/primitives.d.ts.map +0 -1
- package/esm/lib/primitives.js +0 -120
- package/esm/lib/primitives.js.map +0 -1
- package/esm/lib/retries.d.ts +0 -38
- package/esm/lib/retries.d.ts.map +0 -1
- package/esm/lib/retries.js +0 -157
- package/esm/lib/retries.js.map +0 -1
- package/esm/lib/schemas.d.ts +0 -21
- package/esm/lib/schemas.d.ts.map +0 -1
- package/esm/lib/schemas.js +0 -57
- package/esm/lib/schemas.js.map +0 -1
- package/esm/lib/sdks.d.ts +0 -63
- package/esm/lib/sdks.d.ts.map +0 -1
- package/esm/lib/sdks.js +0 -294
- package/esm/lib/sdks.js.map +0 -1
- package/esm/lib/security.d.ts +0 -83
- package/esm/lib/security.d.ts.map +0 -1
- package/esm/lib/security.js +0 -149
- package/esm/lib/security.js.map +0 -1
- package/esm/lib/url.d.ts +0 -5
- package/esm/lib/url.d.ts.map +0 -1
- package/esm/lib/url.js +0 -24
- package/esm/lib/url.js.map +0 -1
- package/esm/models/errors/failed-response-error.d.ts +0 -38
- package/esm/models/errors/failed-response-error.d.ts.map +0 -1
- package/esm/models/errors/failed-response-error.js +0 -47
- package/esm/models/errors/failed-response-error.js.map +0 -1
- package/esm/models/errors/http-client-errors.d.ts +0 -44
- package/esm/models/errors/http-client-errors.d.ts.map +0 -1
- package/esm/models/errors/http-client-errors.js +0 -56
- package/esm/models/errors/http-client-errors.js.map +0 -1
- package/esm/models/errors/index.d.ts +0 -7
- package/esm/models/errors/index.d.ts.map +0 -1
- package/esm/models/errors/index.js +0 -10
- package/esm/models/errors/index.js.map +0 -1
- package/esm/models/errors/indicia-default-error.d.ts +0 -10
- package/esm/models/errors/indicia-default-error.d.ts.map +0 -1
- package/esm/models/errors/indicia-default-error.js +0 -30
- package/esm/models/errors/indicia-default-error.js.map +0 -1
- package/esm/models/errors/indicia-error.d.ts +0 -19
- package/esm/models/errors/indicia-error.d.ts.map +0 -1
- package/esm/models/errors/indicia-error.js +0 -26
- package/esm/models/errors/indicia-error.js.map +0 -1
- package/esm/models/errors/response-validation-error.d.ts +0 -26
- package/esm/models/errors/response-validation-error.d.ts.map +0 -1
- package/esm/models/errors/response-validation-error.js +0 -37
- package/esm/models/errors/response-validation-error.js.map +0 -1
- package/esm/models/errors/sdk-validation-error.d.ts +0 -21
- package/esm/models/errors/sdk-validation-error.d.ts.map +0 -1
- package/esm/models/errors/sdk-validation-error.js +0 -52
- package/esm/models/errors/sdk-validation-error.js.map +0 -1
- package/esm/models/index.d.ts +0 -2
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -5
- package/esm/models/index.js.map +0 -1
- package/esm/models/operations/analyze-crypto-address.d.ts +0 -79
- package/esm/models/operations/analyze-crypto-address.d.ts.map +0 -1
- package/esm/models/operations/analyze-crypto-address.js +0 -79
- package/esm/models/operations/analyze-crypto-address.js.map +0 -1
- package/esm/models/operations/bypass-double-counter.d.ts +0 -24
- package/esm/models/operations/bypass-double-counter.d.ts.map +0 -1
- package/esm/models/operations/bypass-double-counter.js +0 -22
- package/esm/models/operations/bypass-double-counter.js.map +0 -1
- package/esm/models/operations/delete-activity.d.ts +0 -15
- package/esm/models/operations/delete-activity.d.ts.map +0 -1
- package/esm/models/operations/delete-activity.js +0 -12
- package/esm/models/operations/delete-activity.js.map +0 -1
- package/esm/models/operations/download-intelx-file.d.ts +0 -88
- package/esm/models/operations/download-intelx-file.d.ts.map +0 -1
- package/esm/models/operations/download-intelx-file.js +0 -82
- package/esm/models/operations/download-intelx-file.js.map +0 -1
- package/esm/models/operations/download-virus-total-file.d.ts +0 -34
- package/esm/models/operations/download-virus-total-file.d.ts.map +0 -1
- package/esm/models/operations/download-virus-total-file.js +0 -33
- package/esm/models/operations/download-virus-total-file.js.map +0 -1
- package/esm/models/operations/geolocate-media.d.ts +0 -142
- package/esm/models/operations/geolocate-media.d.ts.map +0 -1
- package/esm/models/operations/geolocate-media.js +0 -114
- package/esm/models/operations/geolocate-media.js.map +0 -1
- package/esm/models/operations/get-activity.d.ts +0 -111
- package/esm/models/operations/get-activity.d.ts.map +0 -1
- package/esm/models/operations/get-activity.js +0 -113
- package/esm/models/operations/get-activity.js.map +0 -1
- package/esm/models/operations/get-info.d.ts +0 -143
- package/esm/models/operations/get-info.d.ts.map +0 -1
- package/esm/models/operations/get-info.js +0 -126
- package/esm/models/operations/get-info.js.map +0 -1
- package/esm/models/operations/get-organization-audit-log.d.ts +0 -43
- package/esm/models/operations/get-organization-audit-log.d.ts.map +0 -1
- package/esm/models/operations/get-organization-audit-log.js +0 -35
- package/esm/models/operations/get-organization-audit-log.js.map +0 -1
- package/esm/models/operations/get-organization.d.ts +0 -41
- package/esm/models/operations/get-organization.d.ts.map +0 -1
- package/esm/models/operations/get-organization.js +0 -37
- package/esm/models/operations/get-organization.js.map +0 -1
- package/esm/models/operations/get-pricing.d.ts +0 -17
- package/esm/models/operations/get-pricing.d.ts.map +0 -1
- package/esm/models/operations/get-pricing.js +0 -16
- package/esm/models/operations/get-pricing.js.map +0 -1
- package/esm/models/operations/index.d.ts +0 -41
- package/esm/models/operations/index.d.ts.map +0 -1
- package/esm/models/operations/index.js +0 -44
- package/esm/models/operations/index.js.map +0 -1
- package/esm/models/operations/list-activities.d.ts +0 -110
- package/esm/models/operations/list-activities.d.ts.map +0 -1
- package/esm/models/operations/list-activities.js +0 -114
- package/esm/models/operations/list-activities.js.map +0 -1
- package/esm/models/operations/list-organization-cases.d.ts +0 -38
- package/esm/models/operations/list-organization-cases.d.ts.map +0 -1
- package/esm/models/operations/list-organization-cases.js +0 -34
- package/esm/models/operations/list-organization-cases.js.map +0 -1
- package/esm/models/operations/list-organization-members.d.ts +0 -39
- package/esm/models/operations/list-organization-members.d.ts.map +0 -1
- package/esm/models/operations/list-organization-members.js +0 -35
- package/esm/models/operations/list-organization-members.js.map +0 -1
- package/esm/models/operations/list-organizations.d.ts +0 -31
- package/esm/models/operations/list-organizations.d.ts.map +0 -1
- package/esm/models/operations/list-organizations.js +0 -30
- package/esm/models/operations/list-organizations.js.map +0 -1
- package/esm/models/operations/lookup-discord-alt.d.ts +0 -61
- package/esm/models/operations/lookup-discord-alt.d.ts.map +0 -1
- package/esm/models/operations/lookup-discord-alt.js +0 -63
- package/esm/models/operations/lookup-discord-alt.js.map +0 -1
- package/esm/models/operations/scan-ports.d.ts +0 -383
- package/esm/models/operations/scan-ports.d.ts.map +0 -1
- package/esm/models/operations/scan-ports.js +0 -495
- package/esm/models/operations/scan-ports.js.map +0 -1
- package/esm/models/operations/search-address.d.ts +0 -82
- package/esm/models/operations/search-address.d.ts.map +0 -1
- package/esm/models/operations/search-address.js +0 -89
- package/esm/models/operations/search-address.js.map +0 -1
- package/esm/models/operations/search-app-store.d.ts +0 -90
- package/esm/models/operations/search-app-store.d.ts.map +0 -1
- package/esm/models/operations/search-app-store.js +0 -87
- package/esm/models/operations/search-app-store.js.map +0 -1
- package/esm/models/operations/search-certificates.d.ts +0 -39
- package/esm/models/operations/search-certificates.d.ts.map +0 -1
- package/esm/models/operations/search-certificates.js +0 -50
- package/esm/models/operations/search-certificates.js.map +0 -1
- package/esm/models/operations/search-discord.d.ts +0 -267
- package/esm/models/operations/search-discord.d.ts.map +0 -1
- package/esm/models/operations/search-discord.js +0 -286
- package/esm/models/operations/search-discord.js.map +0 -1
- package/esm/models/operations/search-dns.d.ts +0 -226
- package/esm/models/operations/search-dns.d.ts.map +0 -1
- package/esm/models/operations/search-dns.js +0 -320
- package/esm/models/operations/search-dns.js.map +0 -1
- package/esm/models/operations/search-email.d.ts +0 -46
- package/esm/models/operations/search-email.d.ts.map +0 -1
- package/esm/models/operations/search-email.js +0 -46
- package/esm/models/operations/search-email.js.map +0 -1
- package/esm/models/operations/search-face.d.ts +0 -122
- package/esm/models/operations/search-face.d.ts.map +0 -1
- package/esm/models/operations/search-face.js +0 -126
- package/esm/models/operations/search-face.js.map +0 -1
- package/esm/models/operations/search-github.d.ts +0 -110
- package/esm/models/operations/search-github.d.ts.map +0 -1
- package/esm/models/operations/search-github.js +0 -126
- package/esm/models/operations/search-github.js.map +0 -1
- package/esm/models/operations/search-gmail.d.ts +0 -218
- package/esm/models/operations/search-gmail.d.ts.map +0 -1
- package/esm/models/operations/search-gmail.js +0 -239
- package/esm/models/operations/search-gmail.js.map +0 -1
- package/esm/models/operations/search-hudson-rock.d.ts +0 -269
- package/esm/models/operations/search-hudson-rock.d.ts.map +0 -1
- package/esm/models/operations/search-hudson-rock.js +0 -363
- package/esm/models/operations/search-hudson-rock.js.map +0 -1
- package/esm/models/operations/search-ip-info.d.ts +0 -147
- package/esm/models/operations/search-ip-info.d.ts.map +0 -1
- package/esm/models/operations/search-ip-info.js +0 -200
- package/esm/models/operations/search-ip-info.js.map +0 -1
- package/esm/models/operations/search-person.d.ts +0 -79
- package/esm/models/operations/search-person.d.ts.map +0 -1
- package/esm/models/operations/search-person.js +0 -88
- package/esm/models/operations/search-person.js.map +0 -1
- package/esm/models/operations/search-phone.d.ts +0 -105
- package/esm/models/operations/search-phone.d.ts.map +0 -1
- package/esm/models/operations/search-phone.js +0 -140
- package/esm/models/operations/search-phone.js.map +0 -1
- package/esm/models/operations/search-roblox.d.ts +0 -150
- package/esm/models/operations/search-roblox.d.ts.map +0 -1
- package/esm/models/operations/search-roblox.js +0 -172
- package/esm/models/operations/search-roblox.js.map +0 -1
- package/esm/models/operations/search-seon.d.ts +0 -413
- package/esm/models/operations/search-seon.d.ts.map +0 -1
- package/esm/models/operations/search-seon.js +0 -598
- package/esm/models/operations/search-seon.js.map +0 -1
- package/esm/models/operations/search-shodan.d.ts +0 -219
- package/esm/models/operations/search-shodan.d.ts.map +0 -1
- package/esm/models/operations/search-shodan.js +0 -277
- package/esm/models/operations/search-shodan.js.map +0 -1
- package/esm/models/operations/search-tiktok.d.ts +0 -67
- package/esm/models/operations/search-tiktok.d.ts.map +0 -1
- package/esm/models/operations/search-tiktok.js +0 -64
- package/esm/models/operations/search-tiktok.js.map +0 -1
- package/esm/models/operations/search-username.d.ts +0 -794
- package/esm/models/operations/search-username.d.ts.map +0 -1
- package/esm/models/operations/search-username.js +0 -1375
- package/esm/models/operations/search-username.js.map +0 -1
- package/esm/models/operations/search-web-databases.d.ts +0 -433
- package/esm/models/operations/search-web-databases.d.ts.map +0 -1
- package/esm/models/operations/search-web-databases.js +0 -487
- package/esm/models/operations/search-web-databases.js.map +0 -1
- package/esm/models/operations/search-whois.d.ts +0 -62
- package/esm/models/operations/search-whois.d.ts.map +0 -1
- package/esm/models/operations/search-whois.js +0 -61
- package/esm/models/operations/search-whois.js.map +0 -1
- package/esm/models/operations/send-organization-credits.d.ts +0 -39
- package/esm/models/operations/send-organization-credits.d.ts.map +0 -1
- package/esm/models/operations/send-organization-credits.js +0 -32
- package/esm/models/operations/send-organization-credits.js.map +0 -1
- package/esm/models/operations/virus-total-content.d.ts +0 -62
- package/esm/models/operations/virus-total-content.d.ts.map +0 -1
- package/esm/models/operations/virus-total-content.js +0 -89
- package/esm/models/operations/virus-total-content.js.map +0 -1
- package/esm/models/operations/virus-total-intelligence.d.ts +0 -75
- package/esm/models/operations/virus-total-intelligence.d.ts.map +0 -1
- package/esm/models/operations/virus-total-intelligence.js +0 -92
- package/esm/models/operations/virus-total-intelligence.js.map +0 -1
- package/esm/models/security.d.ts +0 -12
- package/esm/models/security.d.ts.map +0 -1
- package/esm/models/security.js +0 -17
- package/esm/models/security.js.map +0 -1
- package/esm/sdk/activity.d.ts +0 -17
- package/esm/sdk/activity.d.ts.map +0 -1
- package/esm/sdk/activity.js +0 -29
- package/esm/sdk/activity.js.map +0 -1
- package/esm/sdk/index.d.ts +0 -2
- package/esm/sdk/index.d.ts.map +0 -1
- package/esm/sdk/index.js +0 -5
- package/esm/sdk/index.js.map +0 -1
- package/esm/sdk/infrastructure.d.ts +0 -55
- package/esm/sdk/infrastructure.d.ts.map +0 -1
- package/esm/sdk/infrastructure.js +0 -78
- package/esm/sdk/infrastructure.js.map +0 -1
- package/esm/sdk/intelligence.d.ts +0 -80
- package/esm/sdk/intelligence.d.ts.map +0 -1
- package/esm/sdk/intelligence.js +0 -115
- package/esm/sdk/intelligence.js.map +0 -1
- package/esm/sdk/organizations.d.ts +0 -29
- package/esm/sdk/organizations.d.ts.map +0 -1
- package/esm/sdk/organizations.js +0 -50
- package/esm/sdk/organizations.js.map +0 -1
- package/esm/sdk/pricing.d.ts +0 -9
- package/esm/sdk/pricing.d.ts.map +0 -1
- package/esm/sdk/pricing.js +0 -15
- package/esm/sdk/pricing.js.map +0 -1
- package/esm/sdk/sdk.d.ts +0 -28
- package/esm/sdk/sdk.d.ts.map +0 -1
- package/esm/sdk/sdk.js +0 -47
- package/esm/sdk/sdk.js.map +0 -1
- package/esm/sdk/socials.d.ts +0 -41
- package/esm/sdk/socials.d.ts.map +0 -1
- package/esm/sdk/socials.js +0 -58
- package/esm/sdk/socials.js.map +0 -1
- package/esm/sdk/tools.d.ts +0 -47
- package/esm/sdk/tools.d.ts.map +0 -1
- package/esm/sdk/tools.js +0 -68
- package/esm/sdk/tools.js.map +0 -1
- package/esm/sdk/users.d.ts +0 -9
- package/esm/sdk/users.d.ts.map +0 -1
- package/esm/sdk/users.js +0 -15
- package/esm/sdk/users.js.map +0 -1
- package/esm/types/async.d.ts +0 -23
- package/esm/types/async.d.ts.map +0 -1
- package/esm/types/async.js +0 -28
- package/esm/types/async.js.map +0 -1
- package/esm/types/blobs.d.ts +0 -4
- package/esm/types/blobs.d.ts.map +0 -1
- package/esm/types/blobs.js +0 -25
- package/esm/types/blobs.js.map +0 -1
- package/esm/types/const-date-time.d.ts +0 -3
- package/esm/types/const-date-time.d.ts.map +0 -1
- package/esm/types/const-date-time.js +0 -10
- package/esm/types/const-date-time.js.map +0 -1
- package/esm/types/default-to-zero-value.d.ts +0 -12
- package/esm/types/default-to-zero-value.d.ts.map +0 -1
- package/esm/types/default-to-zero-value.js +0 -31
- package/esm/types/default-to-zero-value.js.map +0 -1
- package/esm/types/discriminated-union.d.ts +0 -25
- package/esm/types/discriminated-union.d.ts.map +0 -1
- package/esm/types/discriminated-union.js +0 -61
- package/esm/types/discriminated-union.js.map +0 -1
- package/esm/types/enums.d.ts +0 -9
- package/esm/types/enums.d.ts.map +0 -1
- package/esm/types/enums.js +0 -27
- package/esm/types/enums.js.map +0 -1
- package/esm/types/fp.d.ts +0 -31
- package/esm/types/fp.d.ts.map +0 -1
- package/esm/types/fp.js +0 -31
- package/esm/types/fp.js.map +0 -1
- package/esm/types/index.d.ts +0 -10
- package/esm/types/index.d.ts.map +0 -1
- package/esm/types/index.js +0 -10
- package/esm/types/index.js.map +0 -1
- package/esm/types/operations.d.ts +0 -27
- package/esm/types/operations.d.ts.map +0 -1
- package/esm/types/operations.js +0 -77
- package/esm/types/operations.js.map +0 -1
- package/esm/types/primitives.d.ts +0 -9
- package/esm/types/primitives.d.ts.map +0 -1
- package/esm/types/primitives.js +0 -109
- package/esm/types/primitives.js.map +0 -1
- package/esm/types/rfcdate.d.ts +0 -21
- package/esm/types/rfcdate.d.ts.map +0 -1
- package/esm/types/rfcdate.js +0 -43
- package/esm/types/rfcdate.js.map +0 -1
- package/esm/types/smart-union.d.ts +0 -7
- package/esm/types/smart-union.d.ts.map +0 -1
- package/esm/types/smart-union.js +0 -118
- package/esm/types/smart-union.js.map +0 -1
- package/esm/types/streams.d.ts +0 -2
- package/esm/types/streams.d.ts.map +0 -1
- package/esm/types/streams.js +0 -15
- package/esm/types/streams.js.map +0 -1
- package/esm/types/unrecognized.d.ts +0 -16
- package/esm/types/unrecognized.d.ts.map +0 -1
- package/esm/types/unrecognized.js +0 -31
- package/esm/types/unrecognized.js.map +0 -1
- package/examples/usersGetInfo.example.ts +0 -26
- package/jsr.json +0 -28
- package/src/core.ts +0 -13
- package/src/funcs/activity-delete-activity.ts +0 -165
- package/src/funcs/activity-get-activity.ts +0 -165
- package/src/funcs/activity-list-activities.ts +0 -169
- package/src/funcs/infrastructure-scan-ports.ts +0 -187
- package/src/funcs/infrastructure-search-certificates.ts +0 -173
- package/src/funcs/infrastructure-search-dns.ts +0 -172
- package/src/funcs/infrastructure-search-ip-info.ts +0 -172
- package/src/funcs/infrastructure-search-shodan.ts +0 -172
- package/src/funcs/infrastructure-search-whois.ts +0 -172
- package/src/funcs/infrastructure-virus-total-content.ts +0 -174
- package/src/funcs/intelligence-geolocate-media.ts +0 -225
- package/src/funcs/intelligence-search-address.ts +0 -169
- package/src/funcs/intelligence-search-email.ts +0 -172
- package/src/funcs/intelligence-search-face.ts +0 -219
- package/src/funcs/intelligence-search-gmail.ts +0 -172
- package/src/funcs/intelligence-search-hudson-rock.ts +0 -173
- package/src/funcs/intelligence-search-person.ts +0 -172
- package/src/funcs/intelligence-search-phone.ts +0 -172
- package/src/funcs/intelligence-search-seon.ts +0 -172
- package/src/funcs/intelligence-search-web-databases.ts +0 -174
- package/src/funcs/intelligence-virus-total-intelligence.ts +0 -174
- package/src/funcs/organizations-get-organization-audit-log.ts +0 -172
- package/src/funcs/organizations-get-organization.ts +0 -165
- package/src/funcs/organizations-list-organization-cases.ts +0 -166
- package/src/funcs/organizations-list-organization-members.ts +0 -166
- package/src/funcs/organizations-list-organizations.ts +0 -141
- package/src/funcs/organizations-send-organization-credits.ts +0 -167
- package/src/funcs/pricing-get-pricing.ts +0 -141
- package/src/funcs/socials-search-discord.ts +0 -172
- package/src/funcs/socials-search-github.ts +0 -187
- package/src/funcs/socials-search-roblox.ts +0 -172
- package/src/funcs/socials-search-tiktok.ts +0 -172
- package/src/funcs/socials-search-username.ts +0 -189
- package/src/funcs/tools-analyze-crypto-address.ts +0 -173
- package/src/funcs/tools-bypass-double-counter.ts +0 -173
- package/src/funcs/tools-download-intelx-file.ts +0 -174
- package/src/funcs/tools-download-virus-total-file.ts +0 -174
- package/src/funcs/tools-lookup-discord-alt.ts +0 -173
- package/src/funcs/tools-search-app-store.ts +0 -172
- package/src/funcs/users-get-info.ts +0 -141
- package/src/hooks/hooks.ts +0 -132
- package/src/hooks/index.ts +0 -6
- package/src/hooks/registration.ts +0 -14
- package/src/hooks/types.ts +0 -108
- package/src/index.ts +0 -9
- package/src/lib/base64.ts +0 -39
- package/src/lib/config.ts +0 -64
- package/src/lib/encodings.ts +0 -529
- package/src/lib/env.ts +0 -61
- package/src/lib/event-streams.ts +0 -191
- package/src/lib/files.ts +0 -104
- package/src/lib/http.ts +0 -323
- package/src/lib/logger.ts +0 -9
- package/src/lib/matchers.ts +0 -353
- package/src/lib/primitives.ts +0 -166
- package/src/lib/retries.ts +0 -226
- package/src/lib/schemas.ts +0 -94
- package/src/lib/sdks.ts +0 -442
- package/src/lib/security.ts +0 -275
- package/src/lib/url.ts +0 -35
- package/src/models/errors/failed-response-error.ts +0 -74
- package/src/models/errors/http-client-errors.ts +0 -62
- package/src/models/errors/index.ts +0 -10
- package/src/models/errors/indicia-default-error.ts +0 -40
- package/src/models/errors/indicia-error.ts +0 -35
- package/src/models/errors/response-validation-error.ts +0 -50
- package/src/models/errors/sdk-validation-error.ts +0 -54
- package/src/models/index.ts +0 -5
- package/src/models/operations/analyze-crypto-address.ts +0 -192
- package/src/models/operations/bypass-double-counter.ts +0 -61
- package/src/models/operations/delete-activity.ts +0 -33
- package/src/models/operations/download-intelx-file.ts +0 -157
- package/src/models/operations/download-virus-total-file.ts +0 -93
- package/src/models/operations/geolocate-media.ts +0 -329
- package/src/models/operations/get-activity.ts +0 -224
- package/src/models/operations/get-info.ts +0 -238
- package/src/models/operations/get-organization-audit-log.ts +0 -99
- package/src/models/operations/get-organization.ts +0 -102
- package/src/models/operations/get-pricing.ts +0 -38
- package/src/models/operations/index.ts +0 -44
- package/src/models/operations/list-activities.ts +0 -224
- package/src/models/operations/list-organization-cases.ts +0 -95
- package/src/models/operations/list-organization-members.ts +0 -97
- package/src/models/operations/list-organizations.ts +0 -79
- package/src/models/operations/lookup-discord-alt.ts +0 -166
- package/src/models/operations/scan-ports.ts +0 -1281
- package/src/models/operations/search-address.ts +0 -225
- package/src/models/operations/search-app-store.ts +0 -199
- package/src/models/operations/search-certificates.ts +0 -116
- package/src/models/operations/search-discord.ts +0 -706
- package/src/models/operations/search-dns.ts +0 -783
- package/src/models/operations/search-email.ts +0 -125
- package/src/models/operations/search-face.ts +0 -329
- package/src/models/operations/search-github.ts +0 -309
- package/src/models/operations/search-gmail.ts +0 -675
- package/src/models/operations/search-hudson-rock.ts +0 -860
- package/src/models/operations/search-ip-info.ts +0 -444
- package/src/models/operations/search-person.ts +0 -221
- package/src/models/operations/search-phone.ts +0 -339
- package/src/models/operations/search-roblox.ts +0 -429
- package/src/models/operations/search-seon.ts +0 -1378
- package/src/models/operations/search-shodan.ts +0 -653
- package/src/models/operations/search-tiktok.ts +0 -159
- package/src/models/operations/search-username.ts +0 -2995
- package/src/models/operations/search-web-databases.ts +0 -1116
- package/src/models/operations/search-whois.ts +0 -164
- package/src/models/operations/send-organization-credits.ts +0 -98
- package/src/models/operations/virus-total-content.ts +0 -190
- package/src/models/operations/virus-total-intelligence.ts +0 -210
- package/src/models/security.ts +0 -34
- package/src/sdk/activity.ts +0 -54
- package/src/sdk/index.ts +0 -5
- package/src/sdk/infrastructure.ts +0 -136
- package/src/sdk/intelligence.ts +0 -205
- package/src/sdk/organizations.ts +0 -97
- package/src/sdk/pricing.ts +0 -22
- package/src/sdk/sdk.ts +0 -55
- package/src/sdk/socials.ts +0 -100
- package/src/sdk/tools.ts +0 -117
- package/src/sdk/users.ts +0 -22
- package/src/types/async.ts +0 -69
- package/src/types/blobs.ts +0 -33
- package/src/types/const-date-time.ts +0 -15
- package/src/types/default-to-zero-value.ts +0 -33
- package/src/types/discriminated-union.ts +0 -101
- package/src/types/enums.ts +0 -45
- package/src/types/fp.ts +0 -50
- package/src/types/index.ts +0 -13
- package/src/types/operations.ts +0 -105
- package/src/types/primitives.ts +0 -140
- package/src/types/rfcdate.ts +0 -54
- package/src/types/smart-union.ts +0 -154
- package/src/types/streams.ts +0 -21
- package/src/types/unrecognized.ts +0 -35
|
@@ -1,2995 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v4-mini";
|
|
6
|
-
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import * as openEnums from "../../types/enums.js";
|
|
9
|
-
import { OpenEnum } from "../../types/enums.js";
|
|
10
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
11
|
-
import * as types from "../../types/primitives.js";
|
|
12
|
-
import { smartUnion } from "../../types/smart-union.js";
|
|
13
|
-
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
14
|
-
|
|
15
|
-
export type SearchUsernameRequest = {
|
|
16
|
-
query: string;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
export type SearchUsernameDataError = {
|
|
20
|
-
status: "error";
|
|
21
|
-
success: false;
|
|
22
|
-
/**
|
|
23
|
-
* Human-readable error message.
|
|
24
|
-
*/
|
|
25
|
-
error: string;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* A data-only event indicating the search failed.
|
|
30
|
-
*/
|
|
31
|
-
export type SearchUsernameErrorEvent = {
|
|
32
|
-
data: SearchUsernameDataError;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export const ResultType = {
|
|
36
|
-
Email: "email",
|
|
37
|
-
Username: "username",
|
|
38
|
-
} as const;
|
|
39
|
-
export type ResultType = OpenEnum<typeof ResultType>;
|
|
40
|
-
|
|
41
|
-
export type ResultId = number | string;
|
|
42
|
-
|
|
43
|
-
export type ResultAccount = {
|
|
44
|
-
domain?: string | undefined;
|
|
45
|
-
shortname?: string | undefined;
|
|
46
|
-
url?: string | undefined;
|
|
47
|
-
verified?: boolean | undefined;
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
export type AwardResult = {};
|
|
51
|
-
|
|
52
|
-
export type ResultAwardUnion = number | AwardResult | string | boolean;
|
|
53
|
-
|
|
54
|
-
export type BadgeResult = {};
|
|
55
|
-
|
|
56
|
-
export type ResultBadgeUnion = number | BadgeResult | string | boolean;
|
|
57
|
-
|
|
58
|
-
export type ResultBands = number | string;
|
|
59
|
-
|
|
60
|
-
export type BioLinkResult = {};
|
|
61
|
-
|
|
62
|
-
export type ResultBioLinkUnion = number | BioLinkResult | string | boolean;
|
|
63
|
-
|
|
64
|
-
export type ClubResult = {};
|
|
65
|
-
|
|
66
|
-
export type ResultClubUnion = number | ClubResult | string | boolean;
|
|
67
|
-
|
|
68
|
-
export type ResultCollections = number | string;
|
|
69
|
-
|
|
70
|
-
export type ResultConnection = {
|
|
71
|
-
name?: string | undefined;
|
|
72
|
-
provider?: string | undefined;
|
|
73
|
-
};
|
|
74
|
-
|
|
75
|
-
export type ResultCourse = {
|
|
76
|
-
crowns?: number | undefined;
|
|
77
|
-
title?: string | undefined;
|
|
78
|
-
xp?: number | undefined;
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
export type CryptoAddressResult = {};
|
|
82
|
-
|
|
83
|
-
export type ResultCryptoAddressUnion =
|
|
84
|
-
| number
|
|
85
|
-
| CryptoAddressResult
|
|
86
|
-
| string
|
|
87
|
-
| boolean;
|
|
88
|
-
|
|
89
|
-
export type ResultFollowers = number | string;
|
|
90
|
-
|
|
91
|
-
export type ResultFollowing = number | string;
|
|
92
|
-
|
|
93
|
-
export type LatestPasteResult = {};
|
|
94
|
-
|
|
95
|
-
export type ResultLatestPasteUnion =
|
|
96
|
-
| number
|
|
97
|
-
| LatestPasteResult
|
|
98
|
-
| string
|
|
99
|
-
| boolean;
|
|
100
|
-
|
|
101
|
-
export type LinkResult = {};
|
|
102
|
-
|
|
103
|
-
export type ResultLinkUnion = number | LinkResult | string | boolean;
|
|
104
|
-
|
|
105
|
-
export type ResultOrganization = {
|
|
106
|
-
name?: string | undefined;
|
|
107
|
-
url?: string | undefined;
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
export type PlatformResult = {};
|
|
111
|
-
|
|
112
|
-
export type ResultPlatformUnion = number | PlatformResult | string | boolean;
|
|
113
|
-
|
|
114
|
-
export type ResultPlays = number | string;
|
|
115
|
-
|
|
116
|
-
export type ProofResult = {};
|
|
117
|
-
|
|
118
|
-
export type ResultProofUnion = number | ProofResult | string | boolean;
|
|
119
|
-
|
|
120
|
-
export type RoleResult = {};
|
|
121
|
-
|
|
122
|
-
export type ResultRoleUnion = number | RoleResult | string | boolean;
|
|
123
|
-
|
|
124
|
-
export type SocialLinkResult = {};
|
|
125
|
-
|
|
126
|
-
export type ResultSocialLinkUnion =
|
|
127
|
-
| number
|
|
128
|
-
| SocialLinkResult
|
|
129
|
-
| string
|
|
130
|
-
| boolean;
|
|
131
|
-
|
|
132
|
-
export type SocialsResult = {
|
|
133
|
-
facebook?: string | undefined;
|
|
134
|
-
instagram?: string | undefined;
|
|
135
|
-
twitter?: string | undefined;
|
|
136
|
-
website?: string | undefined;
|
|
137
|
-
};
|
|
138
|
-
|
|
139
|
-
export type ResultSocialsUnion = SocialsResult | Array<string>;
|
|
140
|
-
|
|
141
|
-
export type StatusResult = {
|
|
142
|
-
isCoach?: boolean | undefined;
|
|
143
|
-
isModerator?: boolean | undefined;
|
|
144
|
-
isStaff?: boolean | undefined;
|
|
145
|
-
isStreamer?: boolean | undefined;
|
|
146
|
-
isTopBlogger?: boolean | undefined;
|
|
147
|
-
};
|
|
148
|
-
|
|
149
|
-
export type ResultStatusUnion = string | StatusResult;
|
|
150
|
-
|
|
151
|
-
export type UrlEntityResult = {};
|
|
152
|
-
|
|
153
|
-
export type ResultUrlEntityUnion = number | UrlEntityResult | string | boolean;
|
|
154
|
-
|
|
155
|
-
export type ResultUrl = {
|
|
156
|
-
title?: string | undefined;
|
|
157
|
-
value?: string | undefined;
|
|
158
|
-
};
|
|
159
|
-
|
|
160
|
-
export type ResultMetadata = {
|
|
161
|
-
accentColor?: string | undefined;
|
|
162
|
-
accountType?: string | undefined;
|
|
163
|
-
accounts?: Array<ResultAccount> | undefined;
|
|
164
|
-
address?: string | undefined;
|
|
165
|
-
awardeeKarma?: number | undefined;
|
|
166
|
-
awarderKarma?: number | undefined;
|
|
167
|
-
awards?: Array<number | AwardResult | string | boolean | null> | undefined;
|
|
168
|
-
backgroundPicture?: string | undefined;
|
|
169
|
-
badges?: Array<number | BadgeResult | string | boolean | null> | undefined;
|
|
170
|
-
bands?: number | string | undefined;
|
|
171
|
-
bioLinks?:
|
|
172
|
-
| Array<number | BioLinkResult | string | boolean | null>
|
|
173
|
-
| undefined;
|
|
174
|
-
blog?: string | undefined;
|
|
175
|
-
boardCount?: number | undefined;
|
|
176
|
-
broadcasterType?: string | undefined;
|
|
177
|
-
capeUrl?: string | undefined;
|
|
178
|
-
cashtagUrl?: string | undefined;
|
|
179
|
-
channelId?: string | undefined;
|
|
180
|
-
clubs?: Array<number | ClubResult | string | boolean | null> | undefined;
|
|
181
|
-
collections?: number | string | undefined;
|
|
182
|
-
company?: string | undefined;
|
|
183
|
-
connections?: Array<ResultConnection> | undefined;
|
|
184
|
-
courses?: Array<ResultCourse> | undefined;
|
|
185
|
-
coverImage?: string | undefined;
|
|
186
|
-
createdAt?: string | undefined;
|
|
187
|
-
createdDate?: string | undefined;
|
|
188
|
-
createdOn?: string | undefined;
|
|
189
|
-
createdUtc?: number | undefined;
|
|
190
|
-
cryptoAddresses?:
|
|
191
|
-
| Array<number | CryptoAddressResult | string | boolean | null>
|
|
192
|
-
| undefined;
|
|
193
|
-
currency?: string | undefined;
|
|
194
|
-
currentStreak?: number | undefined;
|
|
195
|
-
devices?: Array<string> | undefined;
|
|
196
|
-
emails?: Array<string> | undefined;
|
|
197
|
-
externalUrl?: string | undefined;
|
|
198
|
-
familyName?: string | undefined;
|
|
199
|
-
followers?: number | string | undefined;
|
|
200
|
-
following?: number | string | undefined;
|
|
201
|
-
friendCount?: number | undefined;
|
|
202
|
-
genres?: Array<string> | undefined;
|
|
203
|
-
givenName?: string | undefined;
|
|
204
|
-
hasPlus?: boolean | undefined;
|
|
205
|
-
hasVerifiedEmail?: boolean | undefined;
|
|
206
|
-
inspiredBy?: Array<string> | undefined;
|
|
207
|
-
isAffiliate?: boolean | undefined;
|
|
208
|
-
isBanned?: boolean | undefined;
|
|
209
|
-
isBusiness?: boolean | undefined;
|
|
210
|
-
isChannel?: boolean | undefined;
|
|
211
|
-
isConfirmed?: boolean | undefined;
|
|
212
|
-
isGold?: boolean | undefined;
|
|
213
|
-
isGroup?: boolean | undefined;
|
|
214
|
-
isHacker?: boolean | undefined;
|
|
215
|
-
isJunior?: boolean | undefined;
|
|
216
|
-
isLegacy?: boolean | undefined;
|
|
217
|
-
isMetaBlocked?: boolean | undefined;
|
|
218
|
-
isMod?: boolean | undefined;
|
|
219
|
-
isPartner?: boolean | undefined;
|
|
220
|
-
isPremium?: boolean | undefined;
|
|
221
|
-
isProfessional?: boolean | undefined;
|
|
222
|
-
isSuspended?: boolean | undefined;
|
|
223
|
-
isVerified?: boolean | null | undefined;
|
|
224
|
-
joinedAt?: string | undefined;
|
|
225
|
-
keywords?: Array<string> | undefined;
|
|
226
|
-
lastModified?: string | undefined;
|
|
227
|
-
lastSeen?: string | undefined;
|
|
228
|
-
latestPastes?:
|
|
229
|
-
| Array<number | LatestPasteResult | string | boolean | null>
|
|
230
|
-
| undefined;
|
|
231
|
-
learningLanguage?: string | undefined;
|
|
232
|
-
likes?: number | undefined;
|
|
233
|
-
likesReceived?: number | undefined;
|
|
234
|
-
links?: Array<number | LinkResult | string | boolean | null> | undefined;
|
|
235
|
-
listedCount?: number | undefined;
|
|
236
|
-
mediaCount?: number | undefined;
|
|
237
|
-
memberType?: string | undefined;
|
|
238
|
-
organizations?: Array<ResultOrganization> | undefined;
|
|
239
|
-
pageViews?: number | undefined;
|
|
240
|
-
pastUsernames?: Array<string> | undefined;
|
|
241
|
-
pasteViews?: number | undefined;
|
|
242
|
-
pins?: number | undefined;
|
|
243
|
-
platformId?: string | undefined;
|
|
244
|
-
platforms?:
|
|
245
|
-
| Array<number | PlatformResult | string | boolean | null>
|
|
246
|
-
| undefined;
|
|
247
|
-
playlistCount?: number | undefined;
|
|
248
|
-
plays?: number | string | undefined;
|
|
249
|
-
posts?: number | undefined;
|
|
250
|
-
postsCount?: number | undefined;
|
|
251
|
-
primaryTeam?: string | undefined;
|
|
252
|
-
profileViews?: number | undefined;
|
|
253
|
-
proofs?: Array<number | ProofResult | string | boolean | null> | undefined;
|
|
254
|
-
provider?: string | undefined;
|
|
255
|
-
providerId?: string | undefined;
|
|
256
|
-
publicGists?: number | undefined;
|
|
257
|
-
publicRepos?: number | undefined;
|
|
258
|
-
ratePlan?: string | undefined;
|
|
259
|
-
realName?: string | undefined;
|
|
260
|
-
recentActivity?: any | undefined;
|
|
261
|
-
recoveryEmail?: string | undefined;
|
|
262
|
-
region?: string | undefined;
|
|
263
|
-
registeredSince?: string | undefined;
|
|
264
|
-
reputation?: number | undefined;
|
|
265
|
-
reputationLabel?: string | undefined;
|
|
266
|
-
roles?: Array<number | RoleResult | string | boolean | null> | undefined;
|
|
267
|
-
scratchTeam?: boolean | undefined;
|
|
268
|
-
skills?: Array<string> | undefined;
|
|
269
|
-
skinUrl?: string | undefined;
|
|
270
|
-
socialLinks?:
|
|
271
|
-
| Array<number | SocialLinkResult | string | boolean | null>
|
|
272
|
-
| undefined;
|
|
273
|
-
socials?: SocialsResult | Array<string> | undefined;
|
|
274
|
-
status?: string | StatusResult | undefined;
|
|
275
|
-
steamId64?: string | undefined;
|
|
276
|
-
streak?: number | undefined;
|
|
277
|
-
subscriberCount?: number | undefined;
|
|
278
|
-
subscribers?: number | undefined;
|
|
279
|
-
themeTitle?: string | undefined;
|
|
280
|
-
thumbnail?: string | undefined;
|
|
281
|
-
title?: string | undefined;
|
|
282
|
-
totalKarma?: number | undefined;
|
|
283
|
-
totalScrobbles?: number | undefined;
|
|
284
|
-
totalXp?: number | undefined;
|
|
285
|
-
trackCount?: number | undefined;
|
|
286
|
-
trnRank?: string | undefined;
|
|
287
|
-
trnRating?: string | undefined;
|
|
288
|
-
trophies?: Array<string> | undefined;
|
|
289
|
-
tweets?: number | undefined;
|
|
290
|
-
twitterUsername?: string | undefined;
|
|
291
|
-
updatedAt?: string | undefined;
|
|
292
|
-
upvotes?: number | undefined;
|
|
293
|
-
urlEntities?:
|
|
294
|
-
| Array<number | UrlEntityResult | string | boolean | null>
|
|
295
|
-
| undefined;
|
|
296
|
-
urls?: Array<ResultUrl> | undefined;
|
|
297
|
-
uuid?: string | undefined;
|
|
298
|
-
videoCount?: number | undefined;
|
|
299
|
-
visibleCollectionCount?: number | undefined;
|
|
300
|
-
visibleWishlistCount?: number | undefined;
|
|
301
|
-
website?: string | undefined;
|
|
302
|
-
};
|
|
303
|
-
|
|
304
|
-
export type ResultData = {
|
|
305
|
-
avatar?: string | undefined;
|
|
306
|
-
bio?: string | undefined;
|
|
307
|
-
country?: string | undefined;
|
|
308
|
-
displayName?: string | undefined;
|
|
309
|
-
id?: number | string | undefined;
|
|
310
|
-
isPrivate?: boolean | undefined;
|
|
311
|
-
isVerified?: boolean | undefined;
|
|
312
|
-
metadata?: ResultMetadata | undefined;
|
|
313
|
-
url?: string | undefined;
|
|
314
|
-
username?: string | undefined;
|
|
315
|
-
};
|
|
316
|
-
|
|
317
|
-
/**
|
|
318
|
-
* A single service's username lookup result.
|
|
319
|
-
*/
|
|
320
|
-
export type ResultOsintResult = {
|
|
321
|
-
durationMs: number;
|
|
322
|
-
exists: boolean;
|
|
323
|
-
service: string;
|
|
324
|
-
type: ResultType;
|
|
325
|
-
data?: ResultData | undefined;
|
|
326
|
-
error?: string | undefined;
|
|
327
|
-
};
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* The complete result set, emitted once every service has run.
|
|
331
|
-
*/
|
|
332
|
-
export type UsernameSearchComplete = {
|
|
333
|
-
/**
|
|
334
|
-
* All OSINT results collected across every checked service.
|
|
335
|
-
*/
|
|
336
|
-
results: Array<ResultOsintResult>;
|
|
337
|
-
/**
|
|
338
|
-
* Activity log id for this search, or null.
|
|
339
|
-
*/
|
|
340
|
-
activityId?: string | null | undefined;
|
|
341
|
-
};
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
* Terminal `all` event with the complete result set.
|
|
345
|
-
*/
|
|
346
|
-
export type AllEvent = {
|
|
347
|
-
/**
|
|
348
|
-
* The complete result set, emitted once every service has run.
|
|
349
|
-
*/
|
|
350
|
-
data: UsernameSearchComplete;
|
|
351
|
-
event: "all";
|
|
352
|
-
};
|
|
353
|
-
|
|
354
|
-
export const SearchUsernameType = {
|
|
355
|
-
Email: "email",
|
|
356
|
-
Username: "username",
|
|
357
|
-
} as const;
|
|
358
|
-
export type SearchUsernameType = OpenEnum<typeof SearchUsernameType>;
|
|
359
|
-
|
|
360
|
-
export type Id = number | string;
|
|
361
|
-
|
|
362
|
-
export type Account = {
|
|
363
|
-
domain?: string | undefined;
|
|
364
|
-
shortname?: string | undefined;
|
|
365
|
-
url?: string | undefined;
|
|
366
|
-
verified?: boolean | undefined;
|
|
367
|
-
};
|
|
368
|
-
|
|
369
|
-
export type Award = {};
|
|
370
|
-
|
|
371
|
-
export type AwardUnion = number | Award | string | boolean;
|
|
372
|
-
|
|
373
|
-
export type SearchUsernameBadge = {};
|
|
374
|
-
|
|
375
|
-
export type Badge = number | SearchUsernameBadge | string | boolean;
|
|
376
|
-
|
|
377
|
-
export type Bands = number | string;
|
|
378
|
-
|
|
379
|
-
export type BioLink = {};
|
|
380
|
-
|
|
381
|
-
export type BioLinkUnion = number | BioLink | string | boolean;
|
|
382
|
-
|
|
383
|
-
export type Club = {};
|
|
384
|
-
|
|
385
|
-
export type ClubUnion = number | Club | string | boolean;
|
|
386
|
-
|
|
387
|
-
export type Collections = number | string;
|
|
388
|
-
|
|
389
|
-
export type Connection = {
|
|
390
|
-
name?: string | undefined;
|
|
391
|
-
provider?: string | undefined;
|
|
392
|
-
};
|
|
393
|
-
|
|
394
|
-
export type Course = {
|
|
395
|
-
crowns?: number | undefined;
|
|
396
|
-
title?: string | undefined;
|
|
397
|
-
xp?: number | undefined;
|
|
398
|
-
};
|
|
399
|
-
|
|
400
|
-
export type CryptoAddress = {};
|
|
401
|
-
|
|
402
|
-
export type CryptoAddressUnion = number | CryptoAddress | string | boolean;
|
|
403
|
-
|
|
404
|
-
export type Followers = number | string;
|
|
405
|
-
|
|
406
|
-
export type Following = number | string;
|
|
407
|
-
|
|
408
|
-
export type LatestPaste = {};
|
|
409
|
-
|
|
410
|
-
export type LatestPasteUnion = number | LatestPaste | string | boolean;
|
|
411
|
-
|
|
412
|
-
export type Link = {};
|
|
413
|
-
|
|
414
|
-
export type LinkUnion = number | Link | string | boolean;
|
|
415
|
-
|
|
416
|
-
export type SearchUsernameOrganization = {
|
|
417
|
-
name?: string | undefined;
|
|
418
|
-
url?: string | undefined;
|
|
419
|
-
};
|
|
420
|
-
|
|
421
|
-
export type Platform = {};
|
|
422
|
-
|
|
423
|
-
export type PlatformUnion = number | Platform | string | boolean;
|
|
424
|
-
|
|
425
|
-
export type Plays = number | string;
|
|
426
|
-
|
|
427
|
-
export type Proof = {};
|
|
428
|
-
|
|
429
|
-
export type ProofUnion = number | Proof | string | boolean;
|
|
430
|
-
|
|
431
|
-
export type SearchUsernameRole = {};
|
|
432
|
-
|
|
433
|
-
export type Role = number | SearchUsernameRole | string | boolean;
|
|
434
|
-
|
|
435
|
-
export type SocialLink = {};
|
|
436
|
-
|
|
437
|
-
export type SocialLinkUnion = number | SocialLink | string | boolean;
|
|
438
|
-
|
|
439
|
-
export type Socials = {
|
|
440
|
-
facebook?: string | undefined;
|
|
441
|
-
instagram?: string | undefined;
|
|
442
|
-
twitter?: string | undefined;
|
|
443
|
-
website?: string | undefined;
|
|
444
|
-
};
|
|
445
|
-
|
|
446
|
-
export type SocialsUnion = Socials | Array<string>;
|
|
447
|
-
|
|
448
|
-
export type SearchUsernameStatus = {
|
|
449
|
-
isCoach?: boolean | undefined;
|
|
450
|
-
isModerator?: boolean | undefined;
|
|
451
|
-
isStaff?: boolean | undefined;
|
|
452
|
-
isStreamer?: boolean | undefined;
|
|
453
|
-
isTopBlogger?: boolean | undefined;
|
|
454
|
-
};
|
|
455
|
-
|
|
456
|
-
export type Status = string | SearchUsernameStatus;
|
|
457
|
-
|
|
458
|
-
export type UrlEntity = {};
|
|
459
|
-
|
|
460
|
-
export type UrlEntityUnion = number | UrlEntity | string | boolean;
|
|
461
|
-
|
|
462
|
-
export type Url = {
|
|
463
|
-
title?: string | undefined;
|
|
464
|
-
value?: string | undefined;
|
|
465
|
-
};
|
|
466
|
-
|
|
467
|
-
export type Metadata = {
|
|
468
|
-
accentColor?: string | undefined;
|
|
469
|
-
accountType?: string | undefined;
|
|
470
|
-
accounts?: Array<Account> | undefined;
|
|
471
|
-
address?: string | undefined;
|
|
472
|
-
awardeeKarma?: number | undefined;
|
|
473
|
-
awarderKarma?: number | undefined;
|
|
474
|
-
awards?: Array<number | Award | string | boolean | null> | undefined;
|
|
475
|
-
backgroundPicture?: string | undefined;
|
|
476
|
-
badges?:
|
|
477
|
-
| Array<number | SearchUsernameBadge | string | boolean | null>
|
|
478
|
-
| undefined;
|
|
479
|
-
bands?: number | string | undefined;
|
|
480
|
-
bioLinks?: Array<number | BioLink | string | boolean | null> | undefined;
|
|
481
|
-
blog?: string | undefined;
|
|
482
|
-
boardCount?: number | undefined;
|
|
483
|
-
broadcasterType?: string | undefined;
|
|
484
|
-
capeUrl?: string | undefined;
|
|
485
|
-
cashtagUrl?: string | undefined;
|
|
486
|
-
channelId?: string | undefined;
|
|
487
|
-
clubs?: Array<number | Club | string | boolean | null> | undefined;
|
|
488
|
-
collections?: number | string | undefined;
|
|
489
|
-
company?: string | undefined;
|
|
490
|
-
connections?: Array<Connection> | undefined;
|
|
491
|
-
courses?: Array<Course> | undefined;
|
|
492
|
-
coverImage?: string | undefined;
|
|
493
|
-
createdAt?: string | undefined;
|
|
494
|
-
createdDate?: string | undefined;
|
|
495
|
-
createdOn?: string | undefined;
|
|
496
|
-
createdUtc?: number | undefined;
|
|
497
|
-
cryptoAddresses?:
|
|
498
|
-
| Array<number | CryptoAddress | string | boolean | null>
|
|
499
|
-
| undefined;
|
|
500
|
-
currency?: string | undefined;
|
|
501
|
-
currentStreak?: number | undefined;
|
|
502
|
-
devices?: Array<string> | undefined;
|
|
503
|
-
emails?: Array<string> | undefined;
|
|
504
|
-
externalUrl?: string | undefined;
|
|
505
|
-
familyName?: string | undefined;
|
|
506
|
-
followers?: number | string | undefined;
|
|
507
|
-
following?: number | string | undefined;
|
|
508
|
-
friendCount?: number | undefined;
|
|
509
|
-
genres?: Array<string> | undefined;
|
|
510
|
-
givenName?: string | undefined;
|
|
511
|
-
hasPlus?: boolean | undefined;
|
|
512
|
-
hasVerifiedEmail?: boolean | undefined;
|
|
513
|
-
inspiredBy?: Array<string> | undefined;
|
|
514
|
-
isAffiliate?: boolean | undefined;
|
|
515
|
-
isBanned?: boolean | undefined;
|
|
516
|
-
isBusiness?: boolean | undefined;
|
|
517
|
-
isChannel?: boolean | undefined;
|
|
518
|
-
isConfirmed?: boolean | undefined;
|
|
519
|
-
isGold?: boolean | undefined;
|
|
520
|
-
isGroup?: boolean | undefined;
|
|
521
|
-
isHacker?: boolean | undefined;
|
|
522
|
-
isJunior?: boolean | undefined;
|
|
523
|
-
isLegacy?: boolean | undefined;
|
|
524
|
-
isMetaBlocked?: boolean | undefined;
|
|
525
|
-
isMod?: boolean | undefined;
|
|
526
|
-
isPartner?: boolean | undefined;
|
|
527
|
-
isPremium?: boolean | undefined;
|
|
528
|
-
isProfessional?: boolean | undefined;
|
|
529
|
-
isSuspended?: boolean | undefined;
|
|
530
|
-
isVerified?: boolean | null | undefined;
|
|
531
|
-
joinedAt?: string | undefined;
|
|
532
|
-
keywords?: Array<string> | undefined;
|
|
533
|
-
lastModified?: string | undefined;
|
|
534
|
-
lastSeen?: string | undefined;
|
|
535
|
-
latestPastes?:
|
|
536
|
-
| Array<number | LatestPaste | string | boolean | null>
|
|
537
|
-
| undefined;
|
|
538
|
-
learningLanguage?: string | undefined;
|
|
539
|
-
likes?: number | undefined;
|
|
540
|
-
likesReceived?: number | undefined;
|
|
541
|
-
links?: Array<number | Link | string | boolean | null> | undefined;
|
|
542
|
-
listedCount?: number | undefined;
|
|
543
|
-
mediaCount?: number | undefined;
|
|
544
|
-
memberType?: string | undefined;
|
|
545
|
-
organizations?: Array<SearchUsernameOrganization> | undefined;
|
|
546
|
-
pageViews?: number | undefined;
|
|
547
|
-
pastUsernames?: Array<string> | undefined;
|
|
548
|
-
pasteViews?: number | undefined;
|
|
549
|
-
pins?: number | undefined;
|
|
550
|
-
platformId?: string | undefined;
|
|
551
|
-
platforms?: Array<number | Platform | string | boolean | null> | undefined;
|
|
552
|
-
playlistCount?: number | undefined;
|
|
553
|
-
plays?: number | string | undefined;
|
|
554
|
-
posts?: number | undefined;
|
|
555
|
-
postsCount?: number | undefined;
|
|
556
|
-
primaryTeam?: string | undefined;
|
|
557
|
-
profileViews?: number | undefined;
|
|
558
|
-
proofs?: Array<number | Proof | string | boolean | null> | undefined;
|
|
559
|
-
provider?: string | undefined;
|
|
560
|
-
providerId?: string | undefined;
|
|
561
|
-
publicGists?: number | undefined;
|
|
562
|
-
publicRepos?: number | undefined;
|
|
563
|
-
ratePlan?: string | undefined;
|
|
564
|
-
realName?: string | undefined;
|
|
565
|
-
recentActivity?: any | undefined;
|
|
566
|
-
recoveryEmail?: string | undefined;
|
|
567
|
-
region?: string | undefined;
|
|
568
|
-
registeredSince?: string | undefined;
|
|
569
|
-
reputation?: number | undefined;
|
|
570
|
-
reputationLabel?: string | undefined;
|
|
571
|
-
roles?:
|
|
572
|
-
| Array<number | SearchUsernameRole | string | boolean | null>
|
|
573
|
-
| undefined;
|
|
574
|
-
scratchTeam?: boolean | undefined;
|
|
575
|
-
skills?: Array<string> | undefined;
|
|
576
|
-
skinUrl?: string | undefined;
|
|
577
|
-
socialLinks?:
|
|
578
|
-
| Array<number | SocialLink | string | boolean | null>
|
|
579
|
-
| undefined;
|
|
580
|
-
socials?: Socials | Array<string> | undefined;
|
|
581
|
-
status?: string | SearchUsernameStatus | undefined;
|
|
582
|
-
steamId64?: string | undefined;
|
|
583
|
-
streak?: number | undefined;
|
|
584
|
-
subscriberCount?: number | undefined;
|
|
585
|
-
subscribers?: number | undefined;
|
|
586
|
-
themeTitle?: string | undefined;
|
|
587
|
-
thumbnail?: string | undefined;
|
|
588
|
-
title?: string | undefined;
|
|
589
|
-
totalKarma?: number | undefined;
|
|
590
|
-
totalScrobbles?: number | undefined;
|
|
591
|
-
totalXp?: number | undefined;
|
|
592
|
-
trackCount?: number | undefined;
|
|
593
|
-
trnRank?: string | undefined;
|
|
594
|
-
trnRating?: string | undefined;
|
|
595
|
-
trophies?: Array<string> | undefined;
|
|
596
|
-
tweets?: number | undefined;
|
|
597
|
-
twitterUsername?: string | undefined;
|
|
598
|
-
updatedAt?: string | undefined;
|
|
599
|
-
upvotes?: number | undefined;
|
|
600
|
-
urlEntities?: Array<number | UrlEntity | string | boolean | null> | undefined;
|
|
601
|
-
urls?: Array<Url> | undefined;
|
|
602
|
-
uuid?: string | undefined;
|
|
603
|
-
videoCount?: number | undefined;
|
|
604
|
-
visibleCollectionCount?: number | undefined;
|
|
605
|
-
visibleWishlistCount?: number | undefined;
|
|
606
|
-
website?: string | undefined;
|
|
607
|
-
};
|
|
608
|
-
|
|
609
|
-
export type SearchUsernameData = {
|
|
610
|
-
avatar?: string | undefined;
|
|
611
|
-
bio?: string | undefined;
|
|
612
|
-
country?: string | undefined;
|
|
613
|
-
displayName?: string | undefined;
|
|
614
|
-
id?: number | string | undefined;
|
|
615
|
-
isPrivate?: boolean | undefined;
|
|
616
|
-
isVerified?: boolean | undefined;
|
|
617
|
-
metadata?: Metadata | undefined;
|
|
618
|
-
url?: string | undefined;
|
|
619
|
-
username?: string | undefined;
|
|
620
|
-
};
|
|
621
|
-
|
|
622
|
-
/**
|
|
623
|
-
* A single service's username lookup result.
|
|
624
|
-
*/
|
|
625
|
-
export type OsintResult = {
|
|
626
|
-
durationMs: number;
|
|
627
|
-
exists: boolean;
|
|
628
|
-
service: string;
|
|
629
|
-
type: SearchUsernameType;
|
|
630
|
-
data?: SearchUsernameData | undefined;
|
|
631
|
-
error?: string | undefined;
|
|
632
|
-
};
|
|
633
|
-
|
|
634
|
-
/**
|
|
635
|
-
* Emitted as the `individual` event for each service checked.
|
|
636
|
-
*/
|
|
637
|
-
export type IndividualEvent = {
|
|
638
|
-
/**
|
|
639
|
-
* A single service's username lookup result.
|
|
640
|
-
*/
|
|
641
|
-
data: OsintResult;
|
|
642
|
-
event: "individual";
|
|
643
|
-
};
|
|
644
|
-
|
|
645
|
-
/**
|
|
646
|
-
* A Server-Sent Event. The `event:` field names the type ("individual" or "all"); errors are delivered as a data-only event.
|
|
647
|
-
*/
|
|
648
|
-
export type UsernameSearchEvent =
|
|
649
|
-
| IndividualEvent
|
|
650
|
-
| AllEvent
|
|
651
|
-
| SearchUsernameErrorEvent;
|
|
652
|
-
|
|
653
|
-
/** @internal */
|
|
654
|
-
export type SearchUsernameRequest$Outbound = {
|
|
655
|
-
query: string;
|
|
656
|
-
};
|
|
657
|
-
|
|
658
|
-
/** @internal */
|
|
659
|
-
export const SearchUsernameRequest$outboundSchema: z.ZodMiniType<
|
|
660
|
-
SearchUsernameRequest$Outbound,
|
|
661
|
-
SearchUsernameRequest
|
|
662
|
-
> = z.object({
|
|
663
|
-
query: z.string(),
|
|
664
|
-
});
|
|
665
|
-
|
|
666
|
-
export function searchUsernameRequestToJSON(
|
|
667
|
-
searchUsernameRequest: SearchUsernameRequest,
|
|
668
|
-
): string {
|
|
669
|
-
return JSON.stringify(
|
|
670
|
-
SearchUsernameRequest$outboundSchema.parse(searchUsernameRequest),
|
|
671
|
-
);
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
/** @internal */
|
|
675
|
-
export const SearchUsernameDataError$inboundSchema: z.ZodMiniType<
|
|
676
|
-
SearchUsernameDataError,
|
|
677
|
-
unknown
|
|
678
|
-
> = z.object({
|
|
679
|
-
status: types.literal("error"),
|
|
680
|
-
success: types.literal(false),
|
|
681
|
-
error: types.string(),
|
|
682
|
-
});
|
|
683
|
-
|
|
684
|
-
export function searchUsernameDataErrorFromJSON(
|
|
685
|
-
jsonString: string,
|
|
686
|
-
): SafeParseResult<SearchUsernameDataError, SDKValidationError> {
|
|
687
|
-
return safeParse(
|
|
688
|
-
jsonString,
|
|
689
|
-
(x) => SearchUsernameDataError$inboundSchema.parse(JSON.parse(x)),
|
|
690
|
-
`Failed to parse 'SearchUsernameDataError' from JSON`,
|
|
691
|
-
);
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
/** @internal */
|
|
695
|
-
export const SearchUsernameErrorEvent$inboundSchema: z.ZodMiniType<
|
|
696
|
-
SearchUsernameErrorEvent,
|
|
697
|
-
unknown
|
|
698
|
-
> = z.object({
|
|
699
|
-
data: z.pipe(
|
|
700
|
-
z.pipe(
|
|
701
|
-
z.unknown(),
|
|
702
|
-
z.transform((v, ctx) => {
|
|
703
|
-
if (typeof v !== "string") return v;
|
|
704
|
-
try {
|
|
705
|
-
return JSON.parse(v);
|
|
706
|
-
} catch (err) {
|
|
707
|
-
ctx.issues.push({
|
|
708
|
-
input: v,
|
|
709
|
-
code: "custom",
|
|
710
|
-
message: `malformed json: ${err}`,
|
|
711
|
-
});
|
|
712
|
-
return z.NEVER;
|
|
713
|
-
}
|
|
714
|
-
}),
|
|
715
|
-
),
|
|
716
|
-
z.lazy(() => SearchUsernameDataError$inboundSchema),
|
|
717
|
-
),
|
|
718
|
-
});
|
|
719
|
-
|
|
720
|
-
export function searchUsernameErrorEventFromJSON(
|
|
721
|
-
jsonString: string,
|
|
722
|
-
): SafeParseResult<SearchUsernameErrorEvent, SDKValidationError> {
|
|
723
|
-
return safeParse(
|
|
724
|
-
jsonString,
|
|
725
|
-
(x) => SearchUsernameErrorEvent$inboundSchema.parse(JSON.parse(x)),
|
|
726
|
-
`Failed to parse 'SearchUsernameErrorEvent' from JSON`,
|
|
727
|
-
);
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
/** @internal */
|
|
731
|
-
export const ResultType$inboundSchema: z.ZodMiniType<ResultType, unknown> =
|
|
732
|
-
openEnums.inboundSchema(ResultType);
|
|
733
|
-
|
|
734
|
-
/** @internal */
|
|
735
|
-
export const ResultId$inboundSchema: z.ZodMiniType<ResultId, unknown> =
|
|
736
|
-
smartUnion([types.number(), types.string()]);
|
|
737
|
-
|
|
738
|
-
export function resultIdFromJSON(
|
|
739
|
-
jsonString: string,
|
|
740
|
-
): SafeParseResult<ResultId, SDKValidationError> {
|
|
741
|
-
return safeParse(
|
|
742
|
-
jsonString,
|
|
743
|
-
(x) => ResultId$inboundSchema.parse(JSON.parse(x)),
|
|
744
|
-
`Failed to parse 'ResultId' from JSON`,
|
|
745
|
-
);
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
/** @internal */
|
|
749
|
-
export const ResultAccount$inboundSchema: z.ZodMiniType<
|
|
750
|
-
ResultAccount,
|
|
751
|
-
unknown
|
|
752
|
-
> = z.object({
|
|
753
|
-
domain: types.optional(types.string()),
|
|
754
|
-
shortname: types.optional(types.string()),
|
|
755
|
-
url: types.optional(types.string()),
|
|
756
|
-
verified: types.optional(types.boolean()),
|
|
757
|
-
});
|
|
758
|
-
|
|
759
|
-
export function resultAccountFromJSON(
|
|
760
|
-
jsonString: string,
|
|
761
|
-
): SafeParseResult<ResultAccount, SDKValidationError> {
|
|
762
|
-
return safeParse(
|
|
763
|
-
jsonString,
|
|
764
|
-
(x) => ResultAccount$inboundSchema.parse(JSON.parse(x)),
|
|
765
|
-
`Failed to parse 'ResultAccount' from JSON`,
|
|
766
|
-
);
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
/** @internal */
|
|
770
|
-
export const AwardResult$inboundSchema: z.ZodMiniType<AwardResult, unknown> = z
|
|
771
|
-
.object({});
|
|
772
|
-
|
|
773
|
-
export function awardResultFromJSON(
|
|
774
|
-
jsonString: string,
|
|
775
|
-
): SafeParseResult<AwardResult, SDKValidationError> {
|
|
776
|
-
return safeParse(
|
|
777
|
-
jsonString,
|
|
778
|
-
(x) => AwardResult$inboundSchema.parse(JSON.parse(x)),
|
|
779
|
-
`Failed to parse 'AwardResult' from JSON`,
|
|
780
|
-
);
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
/** @internal */
|
|
784
|
-
export const ResultAwardUnion$inboundSchema: z.ZodMiniType<
|
|
785
|
-
ResultAwardUnion,
|
|
786
|
-
unknown
|
|
787
|
-
> = smartUnion([
|
|
788
|
-
types.number(),
|
|
789
|
-
z.lazy(() => AwardResult$inboundSchema),
|
|
790
|
-
types.string(),
|
|
791
|
-
types.boolean(),
|
|
792
|
-
]);
|
|
793
|
-
|
|
794
|
-
export function resultAwardUnionFromJSON(
|
|
795
|
-
jsonString: string,
|
|
796
|
-
): SafeParseResult<ResultAwardUnion, SDKValidationError> {
|
|
797
|
-
return safeParse(
|
|
798
|
-
jsonString,
|
|
799
|
-
(x) => ResultAwardUnion$inboundSchema.parse(JSON.parse(x)),
|
|
800
|
-
`Failed to parse 'ResultAwardUnion' from JSON`,
|
|
801
|
-
);
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
/** @internal */
|
|
805
|
-
export const BadgeResult$inboundSchema: z.ZodMiniType<BadgeResult, unknown> = z
|
|
806
|
-
.object({});
|
|
807
|
-
|
|
808
|
-
export function badgeResultFromJSON(
|
|
809
|
-
jsonString: string,
|
|
810
|
-
): SafeParseResult<BadgeResult, SDKValidationError> {
|
|
811
|
-
return safeParse(
|
|
812
|
-
jsonString,
|
|
813
|
-
(x) => BadgeResult$inboundSchema.parse(JSON.parse(x)),
|
|
814
|
-
`Failed to parse 'BadgeResult' from JSON`,
|
|
815
|
-
);
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
/** @internal */
|
|
819
|
-
export const ResultBadgeUnion$inboundSchema: z.ZodMiniType<
|
|
820
|
-
ResultBadgeUnion,
|
|
821
|
-
unknown
|
|
822
|
-
> = smartUnion([
|
|
823
|
-
types.number(),
|
|
824
|
-
z.lazy(() => BadgeResult$inboundSchema),
|
|
825
|
-
types.string(),
|
|
826
|
-
types.boolean(),
|
|
827
|
-
]);
|
|
828
|
-
|
|
829
|
-
export function resultBadgeUnionFromJSON(
|
|
830
|
-
jsonString: string,
|
|
831
|
-
): SafeParseResult<ResultBadgeUnion, SDKValidationError> {
|
|
832
|
-
return safeParse(
|
|
833
|
-
jsonString,
|
|
834
|
-
(x) => ResultBadgeUnion$inboundSchema.parse(JSON.parse(x)),
|
|
835
|
-
`Failed to parse 'ResultBadgeUnion' from JSON`,
|
|
836
|
-
);
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
/** @internal */
|
|
840
|
-
export const ResultBands$inboundSchema: z.ZodMiniType<ResultBands, unknown> =
|
|
841
|
-
smartUnion([types.number(), types.string()]);
|
|
842
|
-
|
|
843
|
-
export function resultBandsFromJSON(
|
|
844
|
-
jsonString: string,
|
|
845
|
-
): SafeParseResult<ResultBands, SDKValidationError> {
|
|
846
|
-
return safeParse(
|
|
847
|
-
jsonString,
|
|
848
|
-
(x) => ResultBands$inboundSchema.parse(JSON.parse(x)),
|
|
849
|
-
`Failed to parse 'ResultBands' from JSON`,
|
|
850
|
-
);
|
|
851
|
-
}
|
|
852
|
-
|
|
853
|
-
/** @internal */
|
|
854
|
-
export const BioLinkResult$inboundSchema: z.ZodMiniType<
|
|
855
|
-
BioLinkResult,
|
|
856
|
-
unknown
|
|
857
|
-
> = z.object({});
|
|
858
|
-
|
|
859
|
-
export function bioLinkResultFromJSON(
|
|
860
|
-
jsonString: string,
|
|
861
|
-
): SafeParseResult<BioLinkResult, SDKValidationError> {
|
|
862
|
-
return safeParse(
|
|
863
|
-
jsonString,
|
|
864
|
-
(x) => BioLinkResult$inboundSchema.parse(JSON.parse(x)),
|
|
865
|
-
`Failed to parse 'BioLinkResult' from JSON`,
|
|
866
|
-
);
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
/** @internal */
|
|
870
|
-
export const ResultBioLinkUnion$inboundSchema: z.ZodMiniType<
|
|
871
|
-
ResultBioLinkUnion,
|
|
872
|
-
unknown
|
|
873
|
-
> = smartUnion([
|
|
874
|
-
types.number(),
|
|
875
|
-
z.lazy(() => BioLinkResult$inboundSchema),
|
|
876
|
-
types.string(),
|
|
877
|
-
types.boolean(),
|
|
878
|
-
]);
|
|
879
|
-
|
|
880
|
-
export function resultBioLinkUnionFromJSON(
|
|
881
|
-
jsonString: string,
|
|
882
|
-
): SafeParseResult<ResultBioLinkUnion, SDKValidationError> {
|
|
883
|
-
return safeParse(
|
|
884
|
-
jsonString,
|
|
885
|
-
(x) => ResultBioLinkUnion$inboundSchema.parse(JSON.parse(x)),
|
|
886
|
-
`Failed to parse 'ResultBioLinkUnion' from JSON`,
|
|
887
|
-
);
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
/** @internal */
|
|
891
|
-
export const ClubResult$inboundSchema: z.ZodMiniType<ClubResult, unknown> = z
|
|
892
|
-
.object({});
|
|
893
|
-
|
|
894
|
-
export function clubResultFromJSON(
|
|
895
|
-
jsonString: string,
|
|
896
|
-
): SafeParseResult<ClubResult, SDKValidationError> {
|
|
897
|
-
return safeParse(
|
|
898
|
-
jsonString,
|
|
899
|
-
(x) => ClubResult$inboundSchema.parse(JSON.parse(x)),
|
|
900
|
-
`Failed to parse 'ClubResult' from JSON`,
|
|
901
|
-
);
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
/** @internal */
|
|
905
|
-
export const ResultClubUnion$inboundSchema: z.ZodMiniType<
|
|
906
|
-
ResultClubUnion,
|
|
907
|
-
unknown
|
|
908
|
-
> = smartUnion([
|
|
909
|
-
types.number(),
|
|
910
|
-
z.lazy(() => ClubResult$inboundSchema),
|
|
911
|
-
types.string(),
|
|
912
|
-
types.boolean(),
|
|
913
|
-
]);
|
|
914
|
-
|
|
915
|
-
export function resultClubUnionFromJSON(
|
|
916
|
-
jsonString: string,
|
|
917
|
-
): SafeParseResult<ResultClubUnion, SDKValidationError> {
|
|
918
|
-
return safeParse(
|
|
919
|
-
jsonString,
|
|
920
|
-
(x) => ResultClubUnion$inboundSchema.parse(JSON.parse(x)),
|
|
921
|
-
`Failed to parse 'ResultClubUnion' from JSON`,
|
|
922
|
-
);
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
/** @internal */
|
|
926
|
-
export const ResultCollections$inboundSchema: z.ZodMiniType<
|
|
927
|
-
ResultCollections,
|
|
928
|
-
unknown
|
|
929
|
-
> = smartUnion([types.number(), types.string()]);
|
|
930
|
-
|
|
931
|
-
export function resultCollectionsFromJSON(
|
|
932
|
-
jsonString: string,
|
|
933
|
-
): SafeParseResult<ResultCollections, SDKValidationError> {
|
|
934
|
-
return safeParse(
|
|
935
|
-
jsonString,
|
|
936
|
-
(x) => ResultCollections$inboundSchema.parse(JSON.parse(x)),
|
|
937
|
-
`Failed to parse 'ResultCollections' from JSON`,
|
|
938
|
-
);
|
|
939
|
-
}
|
|
940
|
-
|
|
941
|
-
/** @internal */
|
|
942
|
-
export const ResultConnection$inboundSchema: z.ZodMiniType<
|
|
943
|
-
ResultConnection,
|
|
944
|
-
unknown
|
|
945
|
-
> = z.object({
|
|
946
|
-
name: types.optional(types.string()),
|
|
947
|
-
provider: types.optional(types.string()),
|
|
948
|
-
});
|
|
949
|
-
|
|
950
|
-
export function resultConnectionFromJSON(
|
|
951
|
-
jsonString: string,
|
|
952
|
-
): SafeParseResult<ResultConnection, SDKValidationError> {
|
|
953
|
-
return safeParse(
|
|
954
|
-
jsonString,
|
|
955
|
-
(x) => ResultConnection$inboundSchema.parse(JSON.parse(x)),
|
|
956
|
-
`Failed to parse 'ResultConnection' from JSON`,
|
|
957
|
-
);
|
|
958
|
-
}
|
|
959
|
-
|
|
960
|
-
/** @internal */
|
|
961
|
-
export const ResultCourse$inboundSchema: z.ZodMiniType<ResultCourse, unknown> =
|
|
962
|
-
z.object({
|
|
963
|
-
crowns: types.optional(types.number()),
|
|
964
|
-
title: types.optional(types.string()),
|
|
965
|
-
xp: types.optional(types.number()),
|
|
966
|
-
});
|
|
967
|
-
|
|
968
|
-
export function resultCourseFromJSON(
|
|
969
|
-
jsonString: string,
|
|
970
|
-
): SafeParseResult<ResultCourse, SDKValidationError> {
|
|
971
|
-
return safeParse(
|
|
972
|
-
jsonString,
|
|
973
|
-
(x) => ResultCourse$inboundSchema.parse(JSON.parse(x)),
|
|
974
|
-
`Failed to parse 'ResultCourse' from JSON`,
|
|
975
|
-
);
|
|
976
|
-
}
|
|
977
|
-
|
|
978
|
-
/** @internal */
|
|
979
|
-
export const CryptoAddressResult$inboundSchema: z.ZodMiniType<
|
|
980
|
-
CryptoAddressResult,
|
|
981
|
-
unknown
|
|
982
|
-
> = z.object({});
|
|
983
|
-
|
|
984
|
-
export function cryptoAddressResultFromJSON(
|
|
985
|
-
jsonString: string,
|
|
986
|
-
): SafeParseResult<CryptoAddressResult, SDKValidationError> {
|
|
987
|
-
return safeParse(
|
|
988
|
-
jsonString,
|
|
989
|
-
(x) => CryptoAddressResult$inboundSchema.parse(JSON.parse(x)),
|
|
990
|
-
`Failed to parse 'CryptoAddressResult' from JSON`,
|
|
991
|
-
);
|
|
992
|
-
}
|
|
993
|
-
|
|
994
|
-
/** @internal */
|
|
995
|
-
export const ResultCryptoAddressUnion$inboundSchema: z.ZodMiniType<
|
|
996
|
-
ResultCryptoAddressUnion,
|
|
997
|
-
unknown
|
|
998
|
-
> = smartUnion([
|
|
999
|
-
types.number(),
|
|
1000
|
-
z.lazy(() => CryptoAddressResult$inboundSchema),
|
|
1001
|
-
types.string(),
|
|
1002
|
-
types.boolean(),
|
|
1003
|
-
]);
|
|
1004
|
-
|
|
1005
|
-
export function resultCryptoAddressUnionFromJSON(
|
|
1006
|
-
jsonString: string,
|
|
1007
|
-
): SafeParseResult<ResultCryptoAddressUnion, SDKValidationError> {
|
|
1008
|
-
return safeParse(
|
|
1009
|
-
jsonString,
|
|
1010
|
-
(x) => ResultCryptoAddressUnion$inboundSchema.parse(JSON.parse(x)),
|
|
1011
|
-
`Failed to parse 'ResultCryptoAddressUnion' from JSON`,
|
|
1012
|
-
);
|
|
1013
|
-
}
|
|
1014
|
-
|
|
1015
|
-
/** @internal */
|
|
1016
|
-
export const ResultFollowers$inboundSchema: z.ZodMiniType<
|
|
1017
|
-
ResultFollowers,
|
|
1018
|
-
unknown
|
|
1019
|
-
> = smartUnion([types.number(), types.string()]);
|
|
1020
|
-
|
|
1021
|
-
export function resultFollowersFromJSON(
|
|
1022
|
-
jsonString: string,
|
|
1023
|
-
): SafeParseResult<ResultFollowers, SDKValidationError> {
|
|
1024
|
-
return safeParse(
|
|
1025
|
-
jsonString,
|
|
1026
|
-
(x) => ResultFollowers$inboundSchema.parse(JSON.parse(x)),
|
|
1027
|
-
`Failed to parse 'ResultFollowers' from JSON`,
|
|
1028
|
-
);
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
/** @internal */
|
|
1032
|
-
export const ResultFollowing$inboundSchema: z.ZodMiniType<
|
|
1033
|
-
ResultFollowing,
|
|
1034
|
-
unknown
|
|
1035
|
-
> = smartUnion([types.number(), types.string()]);
|
|
1036
|
-
|
|
1037
|
-
export function resultFollowingFromJSON(
|
|
1038
|
-
jsonString: string,
|
|
1039
|
-
): SafeParseResult<ResultFollowing, SDKValidationError> {
|
|
1040
|
-
return safeParse(
|
|
1041
|
-
jsonString,
|
|
1042
|
-
(x) => ResultFollowing$inboundSchema.parse(JSON.parse(x)),
|
|
1043
|
-
`Failed to parse 'ResultFollowing' from JSON`,
|
|
1044
|
-
);
|
|
1045
|
-
}
|
|
1046
|
-
|
|
1047
|
-
/** @internal */
|
|
1048
|
-
export const LatestPasteResult$inboundSchema: z.ZodMiniType<
|
|
1049
|
-
LatestPasteResult,
|
|
1050
|
-
unknown
|
|
1051
|
-
> = z.object({});
|
|
1052
|
-
|
|
1053
|
-
export function latestPasteResultFromJSON(
|
|
1054
|
-
jsonString: string,
|
|
1055
|
-
): SafeParseResult<LatestPasteResult, SDKValidationError> {
|
|
1056
|
-
return safeParse(
|
|
1057
|
-
jsonString,
|
|
1058
|
-
(x) => LatestPasteResult$inboundSchema.parse(JSON.parse(x)),
|
|
1059
|
-
`Failed to parse 'LatestPasteResult' from JSON`,
|
|
1060
|
-
);
|
|
1061
|
-
}
|
|
1062
|
-
|
|
1063
|
-
/** @internal */
|
|
1064
|
-
export const ResultLatestPasteUnion$inboundSchema: z.ZodMiniType<
|
|
1065
|
-
ResultLatestPasteUnion,
|
|
1066
|
-
unknown
|
|
1067
|
-
> = smartUnion([
|
|
1068
|
-
types.number(),
|
|
1069
|
-
z.lazy(() => LatestPasteResult$inboundSchema),
|
|
1070
|
-
types.string(),
|
|
1071
|
-
types.boolean(),
|
|
1072
|
-
]);
|
|
1073
|
-
|
|
1074
|
-
export function resultLatestPasteUnionFromJSON(
|
|
1075
|
-
jsonString: string,
|
|
1076
|
-
): SafeParseResult<ResultLatestPasteUnion, SDKValidationError> {
|
|
1077
|
-
return safeParse(
|
|
1078
|
-
jsonString,
|
|
1079
|
-
(x) => ResultLatestPasteUnion$inboundSchema.parse(JSON.parse(x)),
|
|
1080
|
-
`Failed to parse 'ResultLatestPasteUnion' from JSON`,
|
|
1081
|
-
);
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
|
-
/** @internal */
|
|
1085
|
-
export const LinkResult$inboundSchema: z.ZodMiniType<LinkResult, unknown> = z
|
|
1086
|
-
.object({});
|
|
1087
|
-
|
|
1088
|
-
export function linkResultFromJSON(
|
|
1089
|
-
jsonString: string,
|
|
1090
|
-
): SafeParseResult<LinkResult, SDKValidationError> {
|
|
1091
|
-
return safeParse(
|
|
1092
|
-
jsonString,
|
|
1093
|
-
(x) => LinkResult$inboundSchema.parse(JSON.parse(x)),
|
|
1094
|
-
`Failed to parse 'LinkResult' from JSON`,
|
|
1095
|
-
);
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
/** @internal */
|
|
1099
|
-
export const ResultLinkUnion$inboundSchema: z.ZodMiniType<
|
|
1100
|
-
ResultLinkUnion,
|
|
1101
|
-
unknown
|
|
1102
|
-
> = smartUnion([
|
|
1103
|
-
types.number(),
|
|
1104
|
-
z.lazy(() => LinkResult$inboundSchema),
|
|
1105
|
-
types.string(),
|
|
1106
|
-
types.boolean(),
|
|
1107
|
-
]);
|
|
1108
|
-
|
|
1109
|
-
export function resultLinkUnionFromJSON(
|
|
1110
|
-
jsonString: string,
|
|
1111
|
-
): SafeParseResult<ResultLinkUnion, SDKValidationError> {
|
|
1112
|
-
return safeParse(
|
|
1113
|
-
jsonString,
|
|
1114
|
-
(x) => ResultLinkUnion$inboundSchema.parse(JSON.parse(x)),
|
|
1115
|
-
`Failed to parse 'ResultLinkUnion' from JSON`,
|
|
1116
|
-
);
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
|
-
/** @internal */
|
|
1120
|
-
export const ResultOrganization$inboundSchema: z.ZodMiniType<
|
|
1121
|
-
ResultOrganization,
|
|
1122
|
-
unknown
|
|
1123
|
-
> = z.object({
|
|
1124
|
-
name: types.optional(types.string()),
|
|
1125
|
-
url: types.optional(types.string()),
|
|
1126
|
-
});
|
|
1127
|
-
|
|
1128
|
-
export function resultOrganizationFromJSON(
|
|
1129
|
-
jsonString: string,
|
|
1130
|
-
): SafeParseResult<ResultOrganization, SDKValidationError> {
|
|
1131
|
-
return safeParse(
|
|
1132
|
-
jsonString,
|
|
1133
|
-
(x) => ResultOrganization$inboundSchema.parse(JSON.parse(x)),
|
|
1134
|
-
`Failed to parse 'ResultOrganization' from JSON`,
|
|
1135
|
-
);
|
|
1136
|
-
}
|
|
1137
|
-
|
|
1138
|
-
/** @internal */
|
|
1139
|
-
export const PlatformResult$inboundSchema: z.ZodMiniType<
|
|
1140
|
-
PlatformResult,
|
|
1141
|
-
unknown
|
|
1142
|
-
> = z.object({});
|
|
1143
|
-
|
|
1144
|
-
export function platformResultFromJSON(
|
|
1145
|
-
jsonString: string,
|
|
1146
|
-
): SafeParseResult<PlatformResult, SDKValidationError> {
|
|
1147
|
-
return safeParse(
|
|
1148
|
-
jsonString,
|
|
1149
|
-
(x) => PlatformResult$inboundSchema.parse(JSON.parse(x)),
|
|
1150
|
-
`Failed to parse 'PlatformResult' from JSON`,
|
|
1151
|
-
);
|
|
1152
|
-
}
|
|
1153
|
-
|
|
1154
|
-
/** @internal */
|
|
1155
|
-
export const ResultPlatformUnion$inboundSchema: z.ZodMiniType<
|
|
1156
|
-
ResultPlatformUnion,
|
|
1157
|
-
unknown
|
|
1158
|
-
> = smartUnion([
|
|
1159
|
-
types.number(),
|
|
1160
|
-
z.lazy(() => PlatformResult$inboundSchema),
|
|
1161
|
-
types.string(),
|
|
1162
|
-
types.boolean(),
|
|
1163
|
-
]);
|
|
1164
|
-
|
|
1165
|
-
export function resultPlatformUnionFromJSON(
|
|
1166
|
-
jsonString: string,
|
|
1167
|
-
): SafeParseResult<ResultPlatformUnion, SDKValidationError> {
|
|
1168
|
-
return safeParse(
|
|
1169
|
-
jsonString,
|
|
1170
|
-
(x) => ResultPlatformUnion$inboundSchema.parse(JSON.parse(x)),
|
|
1171
|
-
`Failed to parse 'ResultPlatformUnion' from JSON`,
|
|
1172
|
-
);
|
|
1173
|
-
}
|
|
1174
|
-
|
|
1175
|
-
/** @internal */
|
|
1176
|
-
export const ResultPlays$inboundSchema: z.ZodMiniType<ResultPlays, unknown> =
|
|
1177
|
-
smartUnion([types.number(), types.string()]);
|
|
1178
|
-
|
|
1179
|
-
export function resultPlaysFromJSON(
|
|
1180
|
-
jsonString: string,
|
|
1181
|
-
): SafeParseResult<ResultPlays, SDKValidationError> {
|
|
1182
|
-
return safeParse(
|
|
1183
|
-
jsonString,
|
|
1184
|
-
(x) => ResultPlays$inboundSchema.parse(JSON.parse(x)),
|
|
1185
|
-
`Failed to parse 'ResultPlays' from JSON`,
|
|
1186
|
-
);
|
|
1187
|
-
}
|
|
1188
|
-
|
|
1189
|
-
/** @internal */
|
|
1190
|
-
export const ProofResult$inboundSchema: z.ZodMiniType<ProofResult, unknown> = z
|
|
1191
|
-
.object({});
|
|
1192
|
-
|
|
1193
|
-
export function proofResultFromJSON(
|
|
1194
|
-
jsonString: string,
|
|
1195
|
-
): SafeParseResult<ProofResult, SDKValidationError> {
|
|
1196
|
-
return safeParse(
|
|
1197
|
-
jsonString,
|
|
1198
|
-
(x) => ProofResult$inboundSchema.parse(JSON.parse(x)),
|
|
1199
|
-
`Failed to parse 'ProofResult' from JSON`,
|
|
1200
|
-
);
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
/** @internal */
|
|
1204
|
-
export const ResultProofUnion$inboundSchema: z.ZodMiniType<
|
|
1205
|
-
ResultProofUnion,
|
|
1206
|
-
unknown
|
|
1207
|
-
> = smartUnion([
|
|
1208
|
-
types.number(),
|
|
1209
|
-
z.lazy(() => ProofResult$inboundSchema),
|
|
1210
|
-
types.string(),
|
|
1211
|
-
types.boolean(),
|
|
1212
|
-
]);
|
|
1213
|
-
|
|
1214
|
-
export function resultProofUnionFromJSON(
|
|
1215
|
-
jsonString: string,
|
|
1216
|
-
): SafeParseResult<ResultProofUnion, SDKValidationError> {
|
|
1217
|
-
return safeParse(
|
|
1218
|
-
jsonString,
|
|
1219
|
-
(x) => ResultProofUnion$inboundSchema.parse(JSON.parse(x)),
|
|
1220
|
-
`Failed to parse 'ResultProofUnion' from JSON`,
|
|
1221
|
-
);
|
|
1222
|
-
}
|
|
1223
|
-
|
|
1224
|
-
/** @internal */
|
|
1225
|
-
export const RoleResult$inboundSchema: z.ZodMiniType<RoleResult, unknown> = z
|
|
1226
|
-
.object({});
|
|
1227
|
-
|
|
1228
|
-
export function roleResultFromJSON(
|
|
1229
|
-
jsonString: string,
|
|
1230
|
-
): SafeParseResult<RoleResult, SDKValidationError> {
|
|
1231
|
-
return safeParse(
|
|
1232
|
-
jsonString,
|
|
1233
|
-
(x) => RoleResult$inboundSchema.parse(JSON.parse(x)),
|
|
1234
|
-
`Failed to parse 'RoleResult' from JSON`,
|
|
1235
|
-
);
|
|
1236
|
-
}
|
|
1237
|
-
|
|
1238
|
-
/** @internal */
|
|
1239
|
-
export const ResultRoleUnion$inboundSchema: z.ZodMiniType<
|
|
1240
|
-
ResultRoleUnion,
|
|
1241
|
-
unknown
|
|
1242
|
-
> = smartUnion([
|
|
1243
|
-
types.number(),
|
|
1244
|
-
z.lazy(() => RoleResult$inboundSchema),
|
|
1245
|
-
types.string(),
|
|
1246
|
-
types.boolean(),
|
|
1247
|
-
]);
|
|
1248
|
-
|
|
1249
|
-
export function resultRoleUnionFromJSON(
|
|
1250
|
-
jsonString: string,
|
|
1251
|
-
): SafeParseResult<ResultRoleUnion, SDKValidationError> {
|
|
1252
|
-
return safeParse(
|
|
1253
|
-
jsonString,
|
|
1254
|
-
(x) => ResultRoleUnion$inboundSchema.parse(JSON.parse(x)),
|
|
1255
|
-
`Failed to parse 'ResultRoleUnion' from JSON`,
|
|
1256
|
-
);
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
|
-
/** @internal */
|
|
1260
|
-
export const SocialLinkResult$inboundSchema: z.ZodMiniType<
|
|
1261
|
-
SocialLinkResult,
|
|
1262
|
-
unknown
|
|
1263
|
-
> = z.object({});
|
|
1264
|
-
|
|
1265
|
-
export function socialLinkResultFromJSON(
|
|
1266
|
-
jsonString: string,
|
|
1267
|
-
): SafeParseResult<SocialLinkResult, SDKValidationError> {
|
|
1268
|
-
return safeParse(
|
|
1269
|
-
jsonString,
|
|
1270
|
-
(x) => SocialLinkResult$inboundSchema.parse(JSON.parse(x)),
|
|
1271
|
-
`Failed to parse 'SocialLinkResult' from JSON`,
|
|
1272
|
-
);
|
|
1273
|
-
}
|
|
1274
|
-
|
|
1275
|
-
/** @internal */
|
|
1276
|
-
export const ResultSocialLinkUnion$inboundSchema: z.ZodMiniType<
|
|
1277
|
-
ResultSocialLinkUnion,
|
|
1278
|
-
unknown
|
|
1279
|
-
> = smartUnion([
|
|
1280
|
-
types.number(),
|
|
1281
|
-
z.lazy(() => SocialLinkResult$inboundSchema),
|
|
1282
|
-
types.string(),
|
|
1283
|
-
types.boolean(),
|
|
1284
|
-
]);
|
|
1285
|
-
|
|
1286
|
-
export function resultSocialLinkUnionFromJSON(
|
|
1287
|
-
jsonString: string,
|
|
1288
|
-
): SafeParseResult<ResultSocialLinkUnion, SDKValidationError> {
|
|
1289
|
-
return safeParse(
|
|
1290
|
-
jsonString,
|
|
1291
|
-
(x) => ResultSocialLinkUnion$inboundSchema.parse(JSON.parse(x)),
|
|
1292
|
-
`Failed to parse 'ResultSocialLinkUnion' from JSON`,
|
|
1293
|
-
);
|
|
1294
|
-
}
|
|
1295
|
-
|
|
1296
|
-
/** @internal */
|
|
1297
|
-
export const SocialsResult$inboundSchema: z.ZodMiniType<
|
|
1298
|
-
SocialsResult,
|
|
1299
|
-
unknown
|
|
1300
|
-
> = z.object({
|
|
1301
|
-
facebook: types.optional(types.string()),
|
|
1302
|
-
instagram: types.optional(types.string()),
|
|
1303
|
-
twitter: types.optional(types.string()),
|
|
1304
|
-
website: types.optional(types.string()),
|
|
1305
|
-
});
|
|
1306
|
-
|
|
1307
|
-
export function socialsResultFromJSON(
|
|
1308
|
-
jsonString: string,
|
|
1309
|
-
): SafeParseResult<SocialsResult, SDKValidationError> {
|
|
1310
|
-
return safeParse(
|
|
1311
|
-
jsonString,
|
|
1312
|
-
(x) => SocialsResult$inboundSchema.parse(JSON.parse(x)),
|
|
1313
|
-
`Failed to parse 'SocialsResult' from JSON`,
|
|
1314
|
-
);
|
|
1315
|
-
}
|
|
1316
|
-
|
|
1317
|
-
/** @internal */
|
|
1318
|
-
export const ResultSocialsUnion$inboundSchema: z.ZodMiniType<
|
|
1319
|
-
ResultSocialsUnion,
|
|
1320
|
-
unknown
|
|
1321
|
-
> = smartUnion([
|
|
1322
|
-
z.lazy(() => SocialsResult$inboundSchema),
|
|
1323
|
-
z.array(types.string()),
|
|
1324
|
-
]);
|
|
1325
|
-
|
|
1326
|
-
export function resultSocialsUnionFromJSON(
|
|
1327
|
-
jsonString: string,
|
|
1328
|
-
): SafeParseResult<ResultSocialsUnion, SDKValidationError> {
|
|
1329
|
-
return safeParse(
|
|
1330
|
-
jsonString,
|
|
1331
|
-
(x) => ResultSocialsUnion$inboundSchema.parse(JSON.parse(x)),
|
|
1332
|
-
`Failed to parse 'ResultSocialsUnion' from JSON`,
|
|
1333
|
-
);
|
|
1334
|
-
}
|
|
1335
|
-
|
|
1336
|
-
/** @internal */
|
|
1337
|
-
export const StatusResult$inboundSchema: z.ZodMiniType<StatusResult, unknown> =
|
|
1338
|
-
z.pipe(
|
|
1339
|
-
z.object({
|
|
1340
|
-
is_coach: types.optional(types.boolean()),
|
|
1341
|
-
is_moderator: types.optional(types.boolean()),
|
|
1342
|
-
is_staff: types.optional(types.boolean()),
|
|
1343
|
-
is_streamer: types.optional(types.boolean()),
|
|
1344
|
-
is_top_blogger: types.optional(types.boolean()),
|
|
1345
|
-
}),
|
|
1346
|
-
z.transform((v) => {
|
|
1347
|
-
return remap$(v, {
|
|
1348
|
-
"is_coach": "isCoach",
|
|
1349
|
-
"is_moderator": "isModerator",
|
|
1350
|
-
"is_staff": "isStaff",
|
|
1351
|
-
"is_streamer": "isStreamer",
|
|
1352
|
-
"is_top_blogger": "isTopBlogger",
|
|
1353
|
-
});
|
|
1354
|
-
}),
|
|
1355
|
-
);
|
|
1356
|
-
|
|
1357
|
-
export function statusResultFromJSON(
|
|
1358
|
-
jsonString: string,
|
|
1359
|
-
): SafeParseResult<StatusResult, SDKValidationError> {
|
|
1360
|
-
return safeParse(
|
|
1361
|
-
jsonString,
|
|
1362
|
-
(x) => StatusResult$inboundSchema.parse(JSON.parse(x)),
|
|
1363
|
-
`Failed to parse 'StatusResult' from JSON`,
|
|
1364
|
-
);
|
|
1365
|
-
}
|
|
1366
|
-
|
|
1367
|
-
/** @internal */
|
|
1368
|
-
export const ResultStatusUnion$inboundSchema: z.ZodMiniType<
|
|
1369
|
-
ResultStatusUnion,
|
|
1370
|
-
unknown
|
|
1371
|
-
> = smartUnion([types.string(), z.lazy(() => StatusResult$inboundSchema)]);
|
|
1372
|
-
|
|
1373
|
-
export function resultStatusUnionFromJSON(
|
|
1374
|
-
jsonString: string,
|
|
1375
|
-
): SafeParseResult<ResultStatusUnion, SDKValidationError> {
|
|
1376
|
-
return safeParse(
|
|
1377
|
-
jsonString,
|
|
1378
|
-
(x) => ResultStatusUnion$inboundSchema.parse(JSON.parse(x)),
|
|
1379
|
-
`Failed to parse 'ResultStatusUnion' from JSON`,
|
|
1380
|
-
);
|
|
1381
|
-
}
|
|
1382
|
-
|
|
1383
|
-
/** @internal */
|
|
1384
|
-
export const UrlEntityResult$inboundSchema: z.ZodMiniType<
|
|
1385
|
-
UrlEntityResult,
|
|
1386
|
-
unknown
|
|
1387
|
-
> = z.object({});
|
|
1388
|
-
|
|
1389
|
-
export function urlEntityResultFromJSON(
|
|
1390
|
-
jsonString: string,
|
|
1391
|
-
): SafeParseResult<UrlEntityResult, SDKValidationError> {
|
|
1392
|
-
return safeParse(
|
|
1393
|
-
jsonString,
|
|
1394
|
-
(x) => UrlEntityResult$inboundSchema.parse(JSON.parse(x)),
|
|
1395
|
-
`Failed to parse 'UrlEntityResult' from JSON`,
|
|
1396
|
-
);
|
|
1397
|
-
}
|
|
1398
|
-
|
|
1399
|
-
/** @internal */
|
|
1400
|
-
export const ResultUrlEntityUnion$inboundSchema: z.ZodMiniType<
|
|
1401
|
-
ResultUrlEntityUnion,
|
|
1402
|
-
unknown
|
|
1403
|
-
> = smartUnion([
|
|
1404
|
-
types.number(),
|
|
1405
|
-
z.lazy(() => UrlEntityResult$inboundSchema),
|
|
1406
|
-
types.string(),
|
|
1407
|
-
types.boolean(),
|
|
1408
|
-
]);
|
|
1409
|
-
|
|
1410
|
-
export function resultUrlEntityUnionFromJSON(
|
|
1411
|
-
jsonString: string,
|
|
1412
|
-
): SafeParseResult<ResultUrlEntityUnion, SDKValidationError> {
|
|
1413
|
-
return safeParse(
|
|
1414
|
-
jsonString,
|
|
1415
|
-
(x) => ResultUrlEntityUnion$inboundSchema.parse(JSON.parse(x)),
|
|
1416
|
-
`Failed to parse 'ResultUrlEntityUnion' from JSON`,
|
|
1417
|
-
);
|
|
1418
|
-
}
|
|
1419
|
-
|
|
1420
|
-
/** @internal */
|
|
1421
|
-
export const ResultUrl$inboundSchema: z.ZodMiniType<ResultUrl, unknown> = z
|
|
1422
|
-
.object({
|
|
1423
|
-
title: types.optional(types.string()),
|
|
1424
|
-
value: types.optional(types.string()),
|
|
1425
|
-
});
|
|
1426
|
-
|
|
1427
|
-
export function resultUrlFromJSON(
|
|
1428
|
-
jsonString: string,
|
|
1429
|
-
): SafeParseResult<ResultUrl, SDKValidationError> {
|
|
1430
|
-
return safeParse(
|
|
1431
|
-
jsonString,
|
|
1432
|
-
(x) => ResultUrl$inboundSchema.parse(JSON.parse(x)),
|
|
1433
|
-
`Failed to parse 'ResultUrl' from JSON`,
|
|
1434
|
-
);
|
|
1435
|
-
}
|
|
1436
|
-
|
|
1437
|
-
/** @internal */
|
|
1438
|
-
export const ResultMetadata$inboundSchema: z.ZodMiniType<
|
|
1439
|
-
ResultMetadata,
|
|
1440
|
-
unknown
|
|
1441
|
-
> = z.pipe(
|
|
1442
|
-
z.object({
|
|
1443
|
-
accent_color: types.optional(types.string()),
|
|
1444
|
-
account_type: types.optional(types.string()),
|
|
1445
|
-
accounts: types.optional(
|
|
1446
|
-
z.array(z.lazy(() => ResultAccount$inboundSchema)),
|
|
1447
|
-
),
|
|
1448
|
-
address: types.optional(types.string()),
|
|
1449
|
-
awardee_karma: types.optional(types.number()),
|
|
1450
|
-
awarder_karma: types.optional(types.number()),
|
|
1451
|
-
awards: types.optional(
|
|
1452
|
-
z.array(types.nullable(smartUnion([
|
|
1453
|
-
types.number(),
|
|
1454
|
-
z.lazy(() => AwardResult$inboundSchema),
|
|
1455
|
-
types.string(),
|
|
1456
|
-
types.boolean(),
|
|
1457
|
-
]))),
|
|
1458
|
-
),
|
|
1459
|
-
background_picture: types.optional(types.string()),
|
|
1460
|
-
badges: types.optional(
|
|
1461
|
-
z.array(types.nullable(smartUnion([
|
|
1462
|
-
types.number(),
|
|
1463
|
-
z.lazy(() => BadgeResult$inboundSchema),
|
|
1464
|
-
types.string(),
|
|
1465
|
-
types.boolean(),
|
|
1466
|
-
]))),
|
|
1467
|
-
),
|
|
1468
|
-
bands: types.optional(smartUnion([types.number(), types.string()])),
|
|
1469
|
-
bio_links: types.optional(
|
|
1470
|
-
z.array(types.nullable(smartUnion([
|
|
1471
|
-
types.number(),
|
|
1472
|
-
z.lazy(() => BioLinkResult$inboundSchema),
|
|
1473
|
-
types.string(),
|
|
1474
|
-
types.boolean(),
|
|
1475
|
-
]))),
|
|
1476
|
-
),
|
|
1477
|
-
blog: types.optional(types.string()),
|
|
1478
|
-
board_count: types.optional(types.number()),
|
|
1479
|
-
broadcaster_type: types.optional(types.string()),
|
|
1480
|
-
cape_url: types.optional(types.string()),
|
|
1481
|
-
cashtag_url: types.optional(types.string()),
|
|
1482
|
-
channel_id: types.optional(types.string()),
|
|
1483
|
-
clubs: types.optional(
|
|
1484
|
-
z.array(types.nullable(smartUnion([
|
|
1485
|
-
types.number(),
|
|
1486
|
-
z.lazy(() => ClubResult$inboundSchema),
|
|
1487
|
-
types.string(),
|
|
1488
|
-
types.boolean(),
|
|
1489
|
-
]))),
|
|
1490
|
-
),
|
|
1491
|
-
collections: types.optional(smartUnion([types.number(), types.string()])),
|
|
1492
|
-
company: types.optional(types.string()),
|
|
1493
|
-
connections: types.optional(
|
|
1494
|
-
z.array(z.lazy(() => ResultConnection$inboundSchema)),
|
|
1495
|
-
),
|
|
1496
|
-
courses: types.optional(z.array(z.lazy(() => ResultCourse$inboundSchema))),
|
|
1497
|
-
cover_image: types.optional(types.string()),
|
|
1498
|
-
created_at: types.optional(types.string()),
|
|
1499
|
-
created_date: types.optional(types.string()),
|
|
1500
|
-
created_on: types.optional(types.string()),
|
|
1501
|
-
created_utc: types.optional(types.number()),
|
|
1502
|
-
crypto_addresses: types.optional(
|
|
1503
|
-
z.array(types.nullable(smartUnion([
|
|
1504
|
-
types.number(),
|
|
1505
|
-
z.lazy(() => CryptoAddressResult$inboundSchema),
|
|
1506
|
-
types.string(),
|
|
1507
|
-
types.boolean(),
|
|
1508
|
-
]))),
|
|
1509
|
-
),
|
|
1510
|
-
currency: types.optional(types.string()),
|
|
1511
|
-
current_streak: types.optional(types.number()),
|
|
1512
|
-
devices: types.optional(z.array(types.string())),
|
|
1513
|
-
emails: types.optional(z.array(types.string())),
|
|
1514
|
-
external_url: types.optional(types.string()),
|
|
1515
|
-
family_name: types.optional(types.string()),
|
|
1516
|
-
followers: types.optional(smartUnion([types.number(), types.string()])),
|
|
1517
|
-
following: types.optional(smartUnion([types.number(), types.string()])),
|
|
1518
|
-
friend_count: types.optional(types.number()),
|
|
1519
|
-
genres: types.optional(z.array(types.string())),
|
|
1520
|
-
given_name: types.optional(types.string()),
|
|
1521
|
-
has_plus: types.optional(types.boolean()),
|
|
1522
|
-
has_verified_email: types.optional(types.boolean()),
|
|
1523
|
-
inspired_by: types.optional(z.array(types.string())),
|
|
1524
|
-
is_affiliate: types.optional(types.boolean()),
|
|
1525
|
-
is_banned: types.optional(types.boolean()),
|
|
1526
|
-
is_business: types.optional(types.boolean()),
|
|
1527
|
-
is_channel: types.optional(types.boolean()),
|
|
1528
|
-
is_confirmed: types.optional(types.boolean()),
|
|
1529
|
-
is_gold: types.optional(types.boolean()),
|
|
1530
|
-
is_group: types.optional(types.boolean()),
|
|
1531
|
-
is_hacker: types.optional(types.boolean()),
|
|
1532
|
-
is_junior: types.optional(types.boolean()),
|
|
1533
|
-
is_legacy: types.optional(types.boolean()),
|
|
1534
|
-
is_meta_blocked: types.optional(types.boolean()),
|
|
1535
|
-
is_mod: types.optional(types.boolean()),
|
|
1536
|
-
is_partner: types.optional(types.boolean()),
|
|
1537
|
-
is_premium: types.optional(types.boolean()),
|
|
1538
|
-
is_professional: types.optional(types.boolean()),
|
|
1539
|
-
is_suspended: types.optional(types.boolean()),
|
|
1540
|
-
is_verified: z.optional(z.nullable(types.boolean())),
|
|
1541
|
-
joined_at: types.optional(types.string()),
|
|
1542
|
-
keywords: types.optional(z.array(types.string())),
|
|
1543
|
-
last_modified: types.optional(types.string()),
|
|
1544
|
-
last_seen: types.optional(types.string()),
|
|
1545
|
-
latest_pastes: types.optional(
|
|
1546
|
-
z.array(types.nullable(smartUnion([
|
|
1547
|
-
types.number(),
|
|
1548
|
-
z.lazy(() => LatestPasteResult$inboundSchema),
|
|
1549
|
-
types.string(),
|
|
1550
|
-
types.boolean(),
|
|
1551
|
-
]))),
|
|
1552
|
-
),
|
|
1553
|
-
learning_language: types.optional(types.string()),
|
|
1554
|
-
likes: types.optional(types.number()),
|
|
1555
|
-
likes_received: types.optional(types.number()),
|
|
1556
|
-
links: types.optional(
|
|
1557
|
-
z.array(types.nullable(smartUnion([
|
|
1558
|
-
types.number(),
|
|
1559
|
-
z.lazy(() => LinkResult$inboundSchema),
|
|
1560
|
-
types.string(),
|
|
1561
|
-
types.boolean(),
|
|
1562
|
-
]))),
|
|
1563
|
-
),
|
|
1564
|
-
listed_count: types.optional(types.number()),
|
|
1565
|
-
media_count: types.optional(types.number()),
|
|
1566
|
-
member_type: types.optional(types.string()),
|
|
1567
|
-
organizations: types.optional(
|
|
1568
|
-
z.array(z.lazy(() => ResultOrganization$inboundSchema)),
|
|
1569
|
-
),
|
|
1570
|
-
page_views: types.optional(types.number()),
|
|
1571
|
-
past_usernames: types.optional(z.array(types.string())),
|
|
1572
|
-
paste_views: types.optional(types.number()),
|
|
1573
|
-
pins: types.optional(types.number()),
|
|
1574
|
-
platform_id: types.optional(types.string()),
|
|
1575
|
-
platforms: types.optional(
|
|
1576
|
-
z.array(types.nullable(smartUnion([
|
|
1577
|
-
types.number(),
|
|
1578
|
-
z.lazy(() => PlatformResult$inboundSchema),
|
|
1579
|
-
types.string(),
|
|
1580
|
-
types.boolean(),
|
|
1581
|
-
]))),
|
|
1582
|
-
),
|
|
1583
|
-
playlist_count: types.optional(types.number()),
|
|
1584
|
-
plays: types.optional(smartUnion([types.number(), types.string()])),
|
|
1585
|
-
posts: types.optional(types.number()),
|
|
1586
|
-
posts_count: types.optional(types.number()),
|
|
1587
|
-
primary_team: types.optional(types.string()),
|
|
1588
|
-
profile_views: types.optional(types.number()),
|
|
1589
|
-
proofs: types.optional(
|
|
1590
|
-
z.array(types.nullable(smartUnion([
|
|
1591
|
-
types.number(),
|
|
1592
|
-
z.lazy(() => ProofResult$inboundSchema),
|
|
1593
|
-
types.string(),
|
|
1594
|
-
types.boolean(),
|
|
1595
|
-
]))),
|
|
1596
|
-
),
|
|
1597
|
-
provider: types.optional(types.string()),
|
|
1598
|
-
provider_id: types.optional(types.string()),
|
|
1599
|
-
public_gists: types.optional(types.number()),
|
|
1600
|
-
public_repos: types.optional(types.number()),
|
|
1601
|
-
rate_plan: types.optional(types.string()),
|
|
1602
|
-
real_name: types.optional(types.string()),
|
|
1603
|
-
recent_activity: types.optional(z.any()),
|
|
1604
|
-
recovery_email: types.optional(types.string()),
|
|
1605
|
-
region: types.optional(types.string()),
|
|
1606
|
-
registered_since: types.optional(types.string()),
|
|
1607
|
-
reputation: types.optional(types.number()),
|
|
1608
|
-
reputation_label: types.optional(types.string()),
|
|
1609
|
-
roles: types.optional(
|
|
1610
|
-
z.array(types.nullable(smartUnion([
|
|
1611
|
-
types.number(),
|
|
1612
|
-
z.lazy(() => RoleResult$inboundSchema),
|
|
1613
|
-
types.string(),
|
|
1614
|
-
types.boolean(),
|
|
1615
|
-
]))),
|
|
1616
|
-
),
|
|
1617
|
-
scratch_team: types.optional(types.boolean()),
|
|
1618
|
-
skills: types.optional(z.array(types.string())),
|
|
1619
|
-
skin_url: types.optional(types.string()),
|
|
1620
|
-
social_links: types.optional(
|
|
1621
|
-
z.array(types.nullable(smartUnion([
|
|
1622
|
-
types.number(),
|
|
1623
|
-
z.lazy(() => SocialLinkResult$inboundSchema),
|
|
1624
|
-
types.string(),
|
|
1625
|
-
types.boolean(),
|
|
1626
|
-
]))),
|
|
1627
|
-
),
|
|
1628
|
-
socials: types.optional(
|
|
1629
|
-
smartUnion([
|
|
1630
|
-
z.lazy(() => SocialsResult$inboundSchema),
|
|
1631
|
-
z.array(types.string()),
|
|
1632
|
-
]),
|
|
1633
|
-
),
|
|
1634
|
-
status: types.optional(
|
|
1635
|
-
smartUnion([types.string(), z.lazy(() => StatusResult$inboundSchema)]),
|
|
1636
|
-
),
|
|
1637
|
-
steam_id_64: types.optional(types.string()),
|
|
1638
|
-
streak: types.optional(types.number()),
|
|
1639
|
-
subscriber_count: types.optional(types.number()),
|
|
1640
|
-
subscribers: types.optional(types.number()),
|
|
1641
|
-
theme_title: types.optional(types.string()),
|
|
1642
|
-
thumbnail: types.optional(types.string()),
|
|
1643
|
-
title: types.optional(types.string()),
|
|
1644
|
-
total_karma: types.optional(types.number()),
|
|
1645
|
-
total_scrobbles: types.optional(types.number()),
|
|
1646
|
-
total_xp: types.optional(types.number()),
|
|
1647
|
-
track_count: types.optional(types.number()),
|
|
1648
|
-
trn_rank: types.optional(types.string()),
|
|
1649
|
-
trn_rating: types.optional(types.string()),
|
|
1650
|
-
trophies: types.optional(z.array(types.string())),
|
|
1651
|
-
tweets: types.optional(types.number()),
|
|
1652
|
-
twitter_username: types.optional(types.string()),
|
|
1653
|
-
updated_at: types.optional(types.string()),
|
|
1654
|
-
upvotes: types.optional(types.number()),
|
|
1655
|
-
url_entities: types.optional(
|
|
1656
|
-
z.array(types.nullable(smartUnion([
|
|
1657
|
-
types.number(),
|
|
1658
|
-
z.lazy(() => UrlEntityResult$inboundSchema),
|
|
1659
|
-
types.string(),
|
|
1660
|
-
types.boolean(),
|
|
1661
|
-
]))),
|
|
1662
|
-
),
|
|
1663
|
-
urls: types.optional(z.array(z.lazy(() => ResultUrl$inboundSchema))),
|
|
1664
|
-
uuid: types.optional(types.string()),
|
|
1665
|
-
video_count: types.optional(types.number()),
|
|
1666
|
-
visible_collection_count: types.optional(types.number()),
|
|
1667
|
-
visible_wishlist_count: types.optional(types.number()),
|
|
1668
|
-
website: types.optional(types.string()),
|
|
1669
|
-
}),
|
|
1670
|
-
z.transform((v) => {
|
|
1671
|
-
return remap$(v, {
|
|
1672
|
-
"accent_color": "accentColor",
|
|
1673
|
-
"account_type": "accountType",
|
|
1674
|
-
"awardee_karma": "awardeeKarma",
|
|
1675
|
-
"awarder_karma": "awarderKarma",
|
|
1676
|
-
"background_picture": "backgroundPicture",
|
|
1677
|
-
"bio_links": "bioLinks",
|
|
1678
|
-
"board_count": "boardCount",
|
|
1679
|
-
"broadcaster_type": "broadcasterType",
|
|
1680
|
-
"cape_url": "capeUrl",
|
|
1681
|
-
"cashtag_url": "cashtagUrl",
|
|
1682
|
-
"channel_id": "channelId",
|
|
1683
|
-
"cover_image": "coverImage",
|
|
1684
|
-
"created_at": "createdAt",
|
|
1685
|
-
"created_date": "createdDate",
|
|
1686
|
-
"created_on": "createdOn",
|
|
1687
|
-
"created_utc": "createdUtc",
|
|
1688
|
-
"crypto_addresses": "cryptoAddresses",
|
|
1689
|
-
"current_streak": "currentStreak",
|
|
1690
|
-
"external_url": "externalUrl",
|
|
1691
|
-
"family_name": "familyName",
|
|
1692
|
-
"friend_count": "friendCount",
|
|
1693
|
-
"given_name": "givenName",
|
|
1694
|
-
"has_plus": "hasPlus",
|
|
1695
|
-
"has_verified_email": "hasVerifiedEmail",
|
|
1696
|
-
"inspired_by": "inspiredBy",
|
|
1697
|
-
"is_affiliate": "isAffiliate",
|
|
1698
|
-
"is_banned": "isBanned",
|
|
1699
|
-
"is_business": "isBusiness",
|
|
1700
|
-
"is_channel": "isChannel",
|
|
1701
|
-
"is_confirmed": "isConfirmed",
|
|
1702
|
-
"is_gold": "isGold",
|
|
1703
|
-
"is_group": "isGroup",
|
|
1704
|
-
"is_hacker": "isHacker",
|
|
1705
|
-
"is_junior": "isJunior",
|
|
1706
|
-
"is_legacy": "isLegacy",
|
|
1707
|
-
"is_meta_blocked": "isMetaBlocked",
|
|
1708
|
-
"is_mod": "isMod",
|
|
1709
|
-
"is_partner": "isPartner",
|
|
1710
|
-
"is_premium": "isPremium",
|
|
1711
|
-
"is_professional": "isProfessional",
|
|
1712
|
-
"is_suspended": "isSuspended",
|
|
1713
|
-
"is_verified": "isVerified",
|
|
1714
|
-
"joined_at": "joinedAt",
|
|
1715
|
-
"last_modified": "lastModified",
|
|
1716
|
-
"last_seen": "lastSeen",
|
|
1717
|
-
"latest_pastes": "latestPastes",
|
|
1718
|
-
"learning_language": "learningLanguage",
|
|
1719
|
-
"likes_received": "likesReceived",
|
|
1720
|
-
"listed_count": "listedCount",
|
|
1721
|
-
"media_count": "mediaCount",
|
|
1722
|
-
"member_type": "memberType",
|
|
1723
|
-
"page_views": "pageViews",
|
|
1724
|
-
"past_usernames": "pastUsernames",
|
|
1725
|
-
"paste_views": "pasteViews",
|
|
1726
|
-
"platform_id": "platformId",
|
|
1727
|
-
"playlist_count": "playlistCount",
|
|
1728
|
-
"posts_count": "postsCount",
|
|
1729
|
-
"primary_team": "primaryTeam",
|
|
1730
|
-
"profile_views": "profileViews",
|
|
1731
|
-
"provider_id": "providerId",
|
|
1732
|
-
"public_gists": "publicGists",
|
|
1733
|
-
"public_repos": "publicRepos",
|
|
1734
|
-
"rate_plan": "ratePlan",
|
|
1735
|
-
"real_name": "realName",
|
|
1736
|
-
"recent_activity": "recentActivity",
|
|
1737
|
-
"recovery_email": "recoveryEmail",
|
|
1738
|
-
"registered_since": "registeredSince",
|
|
1739
|
-
"reputation_label": "reputationLabel",
|
|
1740
|
-
"scratch_team": "scratchTeam",
|
|
1741
|
-
"skin_url": "skinUrl",
|
|
1742
|
-
"social_links": "socialLinks",
|
|
1743
|
-
"steam_id_64": "steamId64",
|
|
1744
|
-
"subscriber_count": "subscriberCount",
|
|
1745
|
-
"theme_title": "themeTitle",
|
|
1746
|
-
"total_karma": "totalKarma",
|
|
1747
|
-
"total_scrobbles": "totalScrobbles",
|
|
1748
|
-
"total_xp": "totalXp",
|
|
1749
|
-
"track_count": "trackCount",
|
|
1750
|
-
"trn_rank": "trnRank",
|
|
1751
|
-
"trn_rating": "trnRating",
|
|
1752
|
-
"twitter_username": "twitterUsername",
|
|
1753
|
-
"updated_at": "updatedAt",
|
|
1754
|
-
"url_entities": "urlEntities",
|
|
1755
|
-
"video_count": "videoCount",
|
|
1756
|
-
"visible_collection_count": "visibleCollectionCount",
|
|
1757
|
-
"visible_wishlist_count": "visibleWishlistCount",
|
|
1758
|
-
});
|
|
1759
|
-
}),
|
|
1760
|
-
);
|
|
1761
|
-
|
|
1762
|
-
export function resultMetadataFromJSON(
|
|
1763
|
-
jsonString: string,
|
|
1764
|
-
): SafeParseResult<ResultMetadata, SDKValidationError> {
|
|
1765
|
-
return safeParse(
|
|
1766
|
-
jsonString,
|
|
1767
|
-
(x) => ResultMetadata$inboundSchema.parse(JSON.parse(x)),
|
|
1768
|
-
`Failed to parse 'ResultMetadata' from JSON`,
|
|
1769
|
-
);
|
|
1770
|
-
}
|
|
1771
|
-
|
|
1772
|
-
/** @internal */
|
|
1773
|
-
export const ResultData$inboundSchema: z.ZodMiniType<ResultData, unknown> = z
|
|
1774
|
-
.object({
|
|
1775
|
-
avatar: types.optional(types.string()),
|
|
1776
|
-
bio: types.optional(types.string()),
|
|
1777
|
-
country: types.optional(types.string()),
|
|
1778
|
-
displayName: types.optional(types.string()),
|
|
1779
|
-
id: types.optional(smartUnion([types.number(), types.string()])),
|
|
1780
|
-
isPrivate: types.optional(types.boolean()),
|
|
1781
|
-
isVerified: types.optional(types.boolean()),
|
|
1782
|
-
metadata: types.optional(z.lazy(() => ResultMetadata$inboundSchema)),
|
|
1783
|
-
url: types.optional(types.string()),
|
|
1784
|
-
username: types.optional(types.string()),
|
|
1785
|
-
});
|
|
1786
|
-
|
|
1787
|
-
export function resultDataFromJSON(
|
|
1788
|
-
jsonString: string,
|
|
1789
|
-
): SafeParseResult<ResultData, SDKValidationError> {
|
|
1790
|
-
return safeParse(
|
|
1791
|
-
jsonString,
|
|
1792
|
-
(x) => ResultData$inboundSchema.parse(JSON.parse(x)),
|
|
1793
|
-
`Failed to parse 'ResultData' from JSON`,
|
|
1794
|
-
);
|
|
1795
|
-
}
|
|
1796
|
-
|
|
1797
|
-
/** @internal */
|
|
1798
|
-
export const ResultOsintResult$inboundSchema: z.ZodMiniType<
|
|
1799
|
-
ResultOsintResult,
|
|
1800
|
-
unknown
|
|
1801
|
-
> = z.pipe(
|
|
1802
|
-
z.object({
|
|
1803
|
-
duration_ms: types.number(),
|
|
1804
|
-
exists: types.boolean(),
|
|
1805
|
-
service: types.string(),
|
|
1806
|
-
type: ResultType$inboundSchema,
|
|
1807
|
-
data: types.optional(z.lazy(() => ResultData$inboundSchema)),
|
|
1808
|
-
error: types.optional(types.string()),
|
|
1809
|
-
}),
|
|
1810
|
-
z.transform((v) => {
|
|
1811
|
-
return remap$(v, {
|
|
1812
|
-
"duration_ms": "durationMs",
|
|
1813
|
-
});
|
|
1814
|
-
}),
|
|
1815
|
-
);
|
|
1816
|
-
|
|
1817
|
-
export function resultOsintResultFromJSON(
|
|
1818
|
-
jsonString: string,
|
|
1819
|
-
): SafeParseResult<ResultOsintResult, SDKValidationError> {
|
|
1820
|
-
return safeParse(
|
|
1821
|
-
jsonString,
|
|
1822
|
-
(x) => ResultOsintResult$inboundSchema.parse(JSON.parse(x)),
|
|
1823
|
-
`Failed to parse 'ResultOsintResult' from JSON`,
|
|
1824
|
-
);
|
|
1825
|
-
}
|
|
1826
|
-
|
|
1827
|
-
/** @internal */
|
|
1828
|
-
export const UsernameSearchComplete$inboundSchema: z.ZodMiniType<
|
|
1829
|
-
UsernameSearchComplete,
|
|
1830
|
-
unknown
|
|
1831
|
-
> = z.object({
|
|
1832
|
-
results: z.array(z.lazy(() => ResultOsintResult$inboundSchema)),
|
|
1833
|
-
activityId: z.optional(z.nullable(types.string())),
|
|
1834
|
-
});
|
|
1835
|
-
|
|
1836
|
-
export function usernameSearchCompleteFromJSON(
|
|
1837
|
-
jsonString: string,
|
|
1838
|
-
): SafeParseResult<UsernameSearchComplete, SDKValidationError> {
|
|
1839
|
-
return safeParse(
|
|
1840
|
-
jsonString,
|
|
1841
|
-
(x) => UsernameSearchComplete$inboundSchema.parse(JSON.parse(x)),
|
|
1842
|
-
`Failed to parse 'UsernameSearchComplete' from JSON`,
|
|
1843
|
-
);
|
|
1844
|
-
}
|
|
1845
|
-
|
|
1846
|
-
/** @internal */
|
|
1847
|
-
export const AllEvent$inboundSchema: z.ZodMiniType<AllEvent, unknown> = z
|
|
1848
|
-
.object({
|
|
1849
|
-
data: z.pipe(
|
|
1850
|
-
z.pipe(
|
|
1851
|
-
z.unknown(),
|
|
1852
|
-
z.transform((v, ctx) => {
|
|
1853
|
-
if (typeof v !== "string") return v;
|
|
1854
|
-
try {
|
|
1855
|
-
return JSON.parse(v);
|
|
1856
|
-
} catch (err) {
|
|
1857
|
-
ctx.issues.push({
|
|
1858
|
-
input: v,
|
|
1859
|
-
code: "custom",
|
|
1860
|
-
message: `malformed json: ${err}`,
|
|
1861
|
-
});
|
|
1862
|
-
return z.NEVER;
|
|
1863
|
-
}
|
|
1864
|
-
}),
|
|
1865
|
-
),
|
|
1866
|
-
z.lazy(() => UsernameSearchComplete$inboundSchema),
|
|
1867
|
-
),
|
|
1868
|
-
event: types.literal("all"),
|
|
1869
|
-
});
|
|
1870
|
-
|
|
1871
|
-
export function allEventFromJSON(
|
|
1872
|
-
jsonString: string,
|
|
1873
|
-
): SafeParseResult<AllEvent, SDKValidationError> {
|
|
1874
|
-
return safeParse(
|
|
1875
|
-
jsonString,
|
|
1876
|
-
(x) => AllEvent$inboundSchema.parse(JSON.parse(x)),
|
|
1877
|
-
`Failed to parse 'AllEvent' from JSON`,
|
|
1878
|
-
);
|
|
1879
|
-
}
|
|
1880
|
-
|
|
1881
|
-
/** @internal */
|
|
1882
|
-
export const SearchUsernameType$inboundSchema: z.ZodMiniType<
|
|
1883
|
-
SearchUsernameType,
|
|
1884
|
-
unknown
|
|
1885
|
-
> = openEnums.inboundSchema(SearchUsernameType);
|
|
1886
|
-
|
|
1887
|
-
/** @internal */
|
|
1888
|
-
export const Id$inboundSchema: z.ZodMiniType<Id, unknown> = smartUnion([
|
|
1889
|
-
types.number(),
|
|
1890
|
-
types.string(),
|
|
1891
|
-
]);
|
|
1892
|
-
|
|
1893
|
-
export function idFromJSON(
|
|
1894
|
-
jsonString: string,
|
|
1895
|
-
): SafeParseResult<Id, SDKValidationError> {
|
|
1896
|
-
return safeParse(
|
|
1897
|
-
jsonString,
|
|
1898
|
-
(x) => Id$inboundSchema.parse(JSON.parse(x)),
|
|
1899
|
-
`Failed to parse 'Id' from JSON`,
|
|
1900
|
-
);
|
|
1901
|
-
}
|
|
1902
|
-
|
|
1903
|
-
/** @internal */
|
|
1904
|
-
export const Account$inboundSchema: z.ZodMiniType<Account, unknown> = z.object({
|
|
1905
|
-
domain: types.optional(types.string()),
|
|
1906
|
-
shortname: types.optional(types.string()),
|
|
1907
|
-
url: types.optional(types.string()),
|
|
1908
|
-
verified: types.optional(types.boolean()),
|
|
1909
|
-
});
|
|
1910
|
-
|
|
1911
|
-
export function accountFromJSON(
|
|
1912
|
-
jsonString: string,
|
|
1913
|
-
): SafeParseResult<Account, SDKValidationError> {
|
|
1914
|
-
return safeParse(
|
|
1915
|
-
jsonString,
|
|
1916
|
-
(x) => Account$inboundSchema.parse(JSON.parse(x)),
|
|
1917
|
-
`Failed to parse 'Account' from JSON`,
|
|
1918
|
-
);
|
|
1919
|
-
}
|
|
1920
|
-
|
|
1921
|
-
/** @internal */
|
|
1922
|
-
export const Award$inboundSchema: z.ZodMiniType<Award, unknown> = z.object({});
|
|
1923
|
-
|
|
1924
|
-
export function awardFromJSON(
|
|
1925
|
-
jsonString: string,
|
|
1926
|
-
): SafeParseResult<Award, SDKValidationError> {
|
|
1927
|
-
return safeParse(
|
|
1928
|
-
jsonString,
|
|
1929
|
-
(x) => Award$inboundSchema.parse(JSON.parse(x)),
|
|
1930
|
-
`Failed to parse 'Award' from JSON`,
|
|
1931
|
-
);
|
|
1932
|
-
}
|
|
1933
|
-
|
|
1934
|
-
/** @internal */
|
|
1935
|
-
export const AwardUnion$inboundSchema: z.ZodMiniType<AwardUnion, unknown> =
|
|
1936
|
-
smartUnion([
|
|
1937
|
-
types.number(),
|
|
1938
|
-
z.lazy(() => Award$inboundSchema),
|
|
1939
|
-
types.string(),
|
|
1940
|
-
types.boolean(),
|
|
1941
|
-
]);
|
|
1942
|
-
|
|
1943
|
-
export function awardUnionFromJSON(
|
|
1944
|
-
jsonString: string,
|
|
1945
|
-
): SafeParseResult<AwardUnion, SDKValidationError> {
|
|
1946
|
-
return safeParse(
|
|
1947
|
-
jsonString,
|
|
1948
|
-
(x) => AwardUnion$inboundSchema.parse(JSON.parse(x)),
|
|
1949
|
-
`Failed to parse 'AwardUnion' from JSON`,
|
|
1950
|
-
);
|
|
1951
|
-
}
|
|
1952
|
-
|
|
1953
|
-
/** @internal */
|
|
1954
|
-
export const SearchUsernameBadge$inboundSchema: z.ZodMiniType<
|
|
1955
|
-
SearchUsernameBadge,
|
|
1956
|
-
unknown
|
|
1957
|
-
> = z.object({});
|
|
1958
|
-
|
|
1959
|
-
export function searchUsernameBadgeFromJSON(
|
|
1960
|
-
jsonString: string,
|
|
1961
|
-
): SafeParseResult<SearchUsernameBadge, SDKValidationError> {
|
|
1962
|
-
return safeParse(
|
|
1963
|
-
jsonString,
|
|
1964
|
-
(x) => SearchUsernameBadge$inboundSchema.parse(JSON.parse(x)),
|
|
1965
|
-
`Failed to parse 'SearchUsernameBadge' from JSON`,
|
|
1966
|
-
);
|
|
1967
|
-
}
|
|
1968
|
-
|
|
1969
|
-
/** @internal */
|
|
1970
|
-
export const Badge$inboundSchema: z.ZodMiniType<Badge, unknown> = smartUnion([
|
|
1971
|
-
types.number(),
|
|
1972
|
-
z.lazy(() => SearchUsernameBadge$inboundSchema),
|
|
1973
|
-
types.string(),
|
|
1974
|
-
types.boolean(),
|
|
1975
|
-
]);
|
|
1976
|
-
|
|
1977
|
-
export function badgeFromJSON(
|
|
1978
|
-
jsonString: string,
|
|
1979
|
-
): SafeParseResult<Badge, SDKValidationError> {
|
|
1980
|
-
return safeParse(
|
|
1981
|
-
jsonString,
|
|
1982
|
-
(x) => Badge$inboundSchema.parse(JSON.parse(x)),
|
|
1983
|
-
`Failed to parse 'Badge' from JSON`,
|
|
1984
|
-
);
|
|
1985
|
-
}
|
|
1986
|
-
|
|
1987
|
-
/** @internal */
|
|
1988
|
-
export const Bands$inboundSchema: z.ZodMiniType<Bands, unknown> = smartUnion([
|
|
1989
|
-
types.number(),
|
|
1990
|
-
types.string(),
|
|
1991
|
-
]);
|
|
1992
|
-
|
|
1993
|
-
export function bandsFromJSON(
|
|
1994
|
-
jsonString: string,
|
|
1995
|
-
): SafeParseResult<Bands, SDKValidationError> {
|
|
1996
|
-
return safeParse(
|
|
1997
|
-
jsonString,
|
|
1998
|
-
(x) => Bands$inboundSchema.parse(JSON.parse(x)),
|
|
1999
|
-
`Failed to parse 'Bands' from JSON`,
|
|
2000
|
-
);
|
|
2001
|
-
}
|
|
2002
|
-
|
|
2003
|
-
/** @internal */
|
|
2004
|
-
export const BioLink$inboundSchema: z.ZodMiniType<BioLink, unknown> = z.object(
|
|
2005
|
-
{},
|
|
2006
|
-
);
|
|
2007
|
-
|
|
2008
|
-
export function bioLinkFromJSON(
|
|
2009
|
-
jsonString: string,
|
|
2010
|
-
): SafeParseResult<BioLink, SDKValidationError> {
|
|
2011
|
-
return safeParse(
|
|
2012
|
-
jsonString,
|
|
2013
|
-
(x) => BioLink$inboundSchema.parse(JSON.parse(x)),
|
|
2014
|
-
`Failed to parse 'BioLink' from JSON`,
|
|
2015
|
-
);
|
|
2016
|
-
}
|
|
2017
|
-
|
|
2018
|
-
/** @internal */
|
|
2019
|
-
export const BioLinkUnion$inboundSchema: z.ZodMiniType<BioLinkUnion, unknown> =
|
|
2020
|
-
smartUnion([
|
|
2021
|
-
types.number(),
|
|
2022
|
-
z.lazy(() => BioLink$inboundSchema),
|
|
2023
|
-
types.string(),
|
|
2024
|
-
types.boolean(),
|
|
2025
|
-
]);
|
|
2026
|
-
|
|
2027
|
-
export function bioLinkUnionFromJSON(
|
|
2028
|
-
jsonString: string,
|
|
2029
|
-
): SafeParseResult<BioLinkUnion, SDKValidationError> {
|
|
2030
|
-
return safeParse(
|
|
2031
|
-
jsonString,
|
|
2032
|
-
(x) => BioLinkUnion$inboundSchema.parse(JSON.parse(x)),
|
|
2033
|
-
`Failed to parse 'BioLinkUnion' from JSON`,
|
|
2034
|
-
);
|
|
2035
|
-
}
|
|
2036
|
-
|
|
2037
|
-
/** @internal */
|
|
2038
|
-
export const Club$inboundSchema: z.ZodMiniType<Club, unknown> = z.object({});
|
|
2039
|
-
|
|
2040
|
-
export function clubFromJSON(
|
|
2041
|
-
jsonString: string,
|
|
2042
|
-
): SafeParseResult<Club, SDKValidationError> {
|
|
2043
|
-
return safeParse(
|
|
2044
|
-
jsonString,
|
|
2045
|
-
(x) => Club$inboundSchema.parse(JSON.parse(x)),
|
|
2046
|
-
`Failed to parse 'Club' from JSON`,
|
|
2047
|
-
);
|
|
2048
|
-
}
|
|
2049
|
-
|
|
2050
|
-
/** @internal */
|
|
2051
|
-
export const ClubUnion$inboundSchema: z.ZodMiniType<ClubUnion, unknown> =
|
|
2052
|
-
smartUnion([
|
|
2053
|
-
types.number(),
|
|
2054
|
-
z.lazy(() => Club$inboundSchema),
|
|
2055
|
-
types.string(),
|
|
2056
|
-
types.boolean(),
|
|
2057
|
-
]);
|
|
2058
|
-
|
|
2059
|
-
export function clubUnionFromJSON(
|
|
2060
|
-
jsonString: string,
|
|
2061
|
-
): SafeParseResult<ClubUnion, SDKValidationError> {
|
|
2062
|
-
return safeParse(
|
|
2063
|
-
jsonString,
|
|
2064
|
-
(x) => ClubUnion$inboundSchema.parse(JSON.parse(x)),
|
|
2065
|
-
`Failed to parse 'ClubUnion' from JSON`,
|
|
2066
|
-
);
|
|
2067
|
-
}
|
|
2068
|
-
|
|
2069
|
-
/** @internal */
|
|
2070
|
-
export const Collections$inboundSchema: z.ZodMiniType<Collections, unknown> =
|
|
2071
|
-
smartUnion([types.number(), types.string()]);
|
|
2072
|
-
|
|
2073
|
-
export function collectionsFromJSON(
|
|
2074
|
-
jsonString: string,
|
|
2075
|
-
): SafeParseResult<Collections, SDKValidationError> {
|
|
2076
|
-
return safeParse(
|
|
2077
|
-
jsonString,
|
|
2078
|
-
(x) => Collections$inboundSchema.parse(JSON.parse(x)),
|
|
2079
|
-
`Failed to parse 'Collections' from JSON`,
|
|
2080
|
-
);
|
|
2081
|
-
}
|
|
2082
|
-
|
|
2083
|
-
/** @internal */
|
|
2084
|
-
export const Connection$inboundSchema: z.ZodMiniType<Connection, unknown> = z
|
|
2085
|
-
.object({
|
|
2086
|
-
name: types.optional(types.string()),
|
|
2087
|
-
provider: types.optional(types.string()),
|
|
2088
|
-
});
|
|
2089
|
-
|
|
2090
|
-
export function connectionFromJSON(
|
|
2091
|
-
jsonString: string,
|
|
2092
|
-
): SafeParseResult<Connection, SDKValidationError> {
|
|
2093
|
-
return safeParse(
|
|
2094
|
-
jsonString,
|
|
2095
|
-
(x) => Connection$inboundSchema.parse(JSON.parse(x)),
|
|
2096
|
-
`Failed to parse 'Connection' from JSON`,
|
|
2097
|
-
);
|
|
2098
|
-
}
|
|
2099
|
-
|
|
2100
|
-
/** @internal */
|
|
2101
|
-
export const Course$inboundSchema: z.ZodMiniType<Course, unknown> = z.object({
|
|
2102
|
-
crowns: types.optional(types.number()),
|
|
2103
|
-
title: types.optional(types.string()),
|
|
2104
|
-
xp: types.optional(types.number()),
|
|
2105
|
-
});
|
|
2106
|
-
|
|
2107
|
-
export function courseFromJSON(
|
|
2108
|
-
jsonString: string,
|
|
2109
|
-
): SafeParseResult<Course, SDKValidationError> {
|
|
2110
|
-
return safeParse(
|
|
2111
|
-
jsonString,
|
|
2112
|
-
(x) => Course$inboundSchema.parse(JSON.parse(x)),
|
|
2113
|
-
`Failed to parse 'Course' from JSON`,
|
|
2114
|
-
);
|
|
2115
|
-
}
|
|
2116
|
-
|
|
2117
|
-
/** @internal */
|
|
2118
|
-
export const CryptoAddress$inboundSchema: z.ZodMiniType<
|
|
2119
|
-
CryptoAddress,
|
|
2120
|
-
unknown
|
|
2121
|
-
> = z.object({});
|
|
2122
|
-
|
|
2123
|
-
export function cryptoAddressFromJSON(
|
|
2124
|
-
jsonString: string,
|
|
2125
|
-
): SafeParseResult<CryptoAddress, SDKValidationError> {
|
|
2126
|
-
return safeParse(
|
|
2127
|
-
jsonString,
|
|
2128
|
-
(x) => CryptoAddress$inboundSchema.parse(JSON.parse(x)),
|
|
2129
|
-
`Failed to parse 'CryptoAddress' from JSON`,
|
|
2130
|
-
);
|
|
2131
|
-
}
|
|
2132
|
-
|
|
2133
|
-
/** @internal */
|
|
2134
|
-
export const CryptoAddressUnion$inboundSchema: z.ZodMiniType<
|
|
2135
|
-
CryptoAddressUnion,
|
|
2136
|
-
unknown
|
|
2137
|
-
> = smartUnion([
|
|
2138
|
-
types.number(),
|
|
2139
|
-
z.lazy(() => CryptoAddress$inboundSchema),
|
|
2140
|
-
types.string(),
|
|
2141
|
-
types.boolean(),
|
|
2142
|
-
]);
|
|
2143
|
-
|
|
2144
|
-
export function cryptoAddressUnionFromJSON(
|
|
2145
|
-
jsonString: string,
|
|
2146
|
-
): SafeParseResult<CryptoAddressUnion, SDKValidationError> {
|
|
2147
|
-
return safeParse(
|
|
2148
|
-
jsonString,
|
|
2149
|
-
(x) => CryptoAddressUnion$inboundSchema.parse(JSON.parse(x)),
|
|
2150
|
-
`Failed to parse 'CryptoAddressUnion' from JSON`,
|
|
2151
|
-
);
|
|
2152
|
-
}
|
|
2153
|
-
|
|
2154
|
-
/** @internal */
|
|
2155
|
-
export const Followers$inboundSchema: z.ZodMiniType<Followers, unknown> =
|
|
2156
|
-
smartUnion([types.number(), types.string()]);
|
|
2157
|
-
|
|
2158
|
-
export function followersFromJSON(
|
|
2159
|
-
jsonString: string,
|
|
2160
|
-
): SafeParseResult<Followers, SDKValidationError> {
|
|
2161
|
-
return safeParse(
|
|
2162
|
-
jsonString,
|
|
2163
|
-
(x) => Followers$inboundSchema.parse(JSON.parse(x)),
|
|
2164
|
-
`Failed to parse 'Followers' from JSON`,
|
|
2165
|
-
);
|
|
2166
|
-
}
|
|
2167
|
-
|
|
2168
|
-
/** @internal */
|
|
2169
|
-
export const Following$inboundSchema: z.ZodMiniType<Following, unknown> =
|
|
2170
|
-
smartUnion([types.number(), types.string()]);
|
|
2171
|
-
|
|
2172
|
-
export function followingFromJSON(
|
|
2173
|
-
jsonString: string,
|
|
2174
|
-
): SafeParseResult<Following, SDKValidationError> {
|
|
2175
|
-
return safeParse(
|
|
2176
|
-
jsonString,
|
|
2177
|
-
(x) => Following$inboundSchema.parse(JSON.parse(x)),
|
|
2178
|
-
`Failed to parse 'Following' from JSON`,
|
|
2179
|
-
);
|
|
2180
|
-
}
|
|
2181
|
-
|
|
2182
|
-
/** @internal */
|
|
2183
|
-
export const LatestPaste$inboundSchema: z.ZodMiniType<LatestPaste, unknown> = z
|
|
2184
|
-
.object({});
|
|
2185
|
-
|
|
2186
|
-
export function latestPasteFromJSON(
|
|
2187
|
-
jsonString: string,
|
|
2188
|
-
): SafeParseResult<LatestPaste, SDKValidationError> {
|
|
2189
|
-
return safeParse(
|
|
2190
|
-
jsonString,
|
|
2191
|
-
(x) => LatestPaste$inboundSchema.parse(JSON.parse(x)),
|
|
2192
|
-
`Failed to parse 'LatestPaste' from JSON`,
|
|
2193
|
-
);
|
|
2194
|
-
}
|
|
2195
|
-
|
|
2196
|
-
/** @internal */
|
|
2197
|
-
export const LatestPasteUnion$inboundSchema: z.ZodMiniType<
|
|
2198
|
-
LatestPasteUnion,
|
|
2199
|
-
unknown
|
|
2200
|
-
> = smartUnion([
|
|
2201
|
-
types.number(),
|
|
2202
|
-
z.lazy(() => LatestPaste$inboundSchema),
|
|
2203
|
-
types.string(),
|
|
2204
|
-
types.boolean(),
|
|
2205
|
-
]);
|
|
2206
|
-
|
|
2207
|
-
export function latestPasteUnionFromJSON(
|
|
2208
|
-
jsonString: string,
|
|
2209
|
-
): SafeParseResult<LatestPasteUnion, SDKValidationError> {
|
|
2210
|
-
return safeParse(
|
|
2211
|
-
jsonString,
|
|
2212
|
-
(x) => LatestPasteUnion$inboundSchema.parse(JSON.parse(x)),
|
|
2213
|
-
`Failed to parse 'LatestPasteUnion' from JSON`,
|
|
2214
|
-
);
|
|
2215
|
-
}
|
|
2216
|
-
|
|
2217
|
-
/** @internal */
|
|
2218
|
-
export const Link$inboundSchema: z.ZodMiniType<Link, unknown> = z.object({});
|
|
2219
|
-
|
|
2220
|
-
export function linkFromJSON(
|
|
2221
|
-
jsonString: string,
|
|
2222
|
-
): SafeParseResult<Link, SDKValidationError> {
|
|
2223
|
-
return safeParse(
|
|
2224
|
-
jsonString,
|
|
2225
|
-
(x) => Link$inboundSchema.parse(JSON.parse(x)),
|
|
2226
|
-
`Failed to parse 'Link' from JSON`,
|
|
2227
|
-
);
|
|
2228
|
-
}
|
|
2229
|
-
|
|
2230
|
-
/** @internal */
|
|
2231
|
-
export const LinkUnion$inboundSchema: z.ZodMiniType<LinkUnion, unknown> =
|
|
2232
|
-
smartUnion([
|
|
2233
|
-
types.number(),
|
|
2234
|
-
z.lazy(() => Link$inboundSchema),
|
|
2235
|
-
types.string(),
|
|
2236
|
-
types.boolean(),
|
|
2237
|
-
]);
|
|
2238
|
-
|
|
2239
|
-
export function linkUnionFromJSON(
|
|
2240
|
-
jsonString: string,
|
|
2241
|
-
): SafeParseResult<LinkUnion, SDKValidationError> {
|
|
2242
|
-
return safeParse(
|
|
2243
|
-
jsonString,
|
|
2244
|
-
(x) => LinkUnion$inboundSchema.parse(JSON.parse(x)),
|
|
2245
|
-
`Failed to parse 'LinkUnion' from JSON`,
|
|
2246
|
-
);
|
|
2247
|
-
}
|
|
2248
|
-
|
|
2249
|
-
/** @internal */
|
|
2250
|
-
export const SearchUsernameOrganization$inboundSchema: z.ZodMiniType<
|
|
2251
|
-
SearchUsernameOrganization,
|
|
2252
|
-
unknown
|
|
2253
|
-
> = z.object({
|
|
2254
|
-
name: types.optional(types.string()),
|
|
2255
|
-
url: types.optional(types.string()),
|
|
2256
|
-
});
|
|
2257
|
-
|
|
2258
|
-
export function searchUsernameOrganizationFromJSON(
|
|
2259
|
-
jsonString: string,
|
|
2260
|
-
): SafeParseResult<SearchUsernameOrganization, SDKValidationError> {
|
|
2261
|
-
return safeParse(
|
|
2262
|
-
jsonString,
|
|
2263
|
-
(x) => SearchUsernameOrganization$inboundSchema.parse(JSON.parse(x)),
|
|
2264
|
-
`Failed to parse 'SearchUsernameOrganization' from JSON`,
|
|
2265
|
-
);
|
|
2266
|
-
}
|
|
2267
|
-
|
|
2268
|
-
/** @internal */
|
|
2269
|
-
export const Platform$inboundSchema: z.ZodMiniType<Platform, unknown> = z
|
|
2270
|
-
.object({});
|
|
2271
|
-
|
|
2272
|
-
export function platformFromJSON(
|
|
2273
|
-
jsonString: string,
|
|
2274
|
-
): SafeParseResult<Platform, SDKValidationError> {
|
|
2275
|
-
return safeParse(
|
|
2276
|
-
jsonString,
|
|
2277
|
-
(x) => Platform$inboundSchema.parse(JSON.parse(x)),
|
|
2278
|
-
`Failed to parse 'Platform' from JSON`,
|
|
2279
|
-
);
|
|
2280
|
-
}
|
|
2281
|
-
|
|
2282
|
-
/** @internal */
|
|
2283
|
-
export const PlatformUnion$inboundSchema: z.ZodMiniType<
|
|
2284
|
-
PlatformUnion,
|
|
2285
|
-
unknown
|
|
2286
|
-
> = smartUnion([
|
|
2287
|
-
types.number(),
|
|
2288
|
-
z.lazy(() => Platform$inboundSchema),
|
|
2289
|
-
types.string(),
|
|
2290
|
-
types.boolean(),
|
|
2291
|
-
]);
|
|
2292
|
-
|
|
2293
|
-
export function platformUnionFromJSON(
|
|
2294
|
-
jsonString: string,
|
|
2295
|
-
): SafeParseResult<PlatformUnion, SDKValidationError> {
|
|
2296
|
-
return safeParse(
|
|
2297
|
-
jsonString,
|
|
2298
|
-
(x) => PlatformUnion$inboundSchema.parse(JSON.parse(x)),
|
|
2299
|
-
`Failed to parse 'PlatformUnion' from JSON`,
|
|
2300
|
-
);
|
|
2301
|
-
}
|
|
2302
|
-
|
|
2303
|
-
/** @internal */
|
|
2304
|
-
export const Plays$inboundSchema: z.ZodMiniType<Plays, unknown> = smartUnion([
|
|
2305
|
-
types.number(),
|
|
2306
|
-
types.string(),
|
|
2307
|
-
]);
|
|
2308
|
-
|
|
2309
|
-
export function playsFromJSON(
|
|
2310
|
-
jsonString: string,
|
|
2311
|
-
): SafeParseResult<Plays, SDKValidationError> {
|
|
2312
|
-
return safeParse(
|
|
2313
|
-
jsonString,
|
|
2314
|
-
(x) => Plays$inboundSchema.parse(JSON.parse(x)),
|
|
2315
|
-
`Failed to parse 'Plays' from JSON`,
|
|
2316
|
-
);
|
|
2317
|
-
}
|
|
2318
|
-
|
|
2319
|
-
/** @internal */
|
|
2320
|
-
export const Proof$inboundSchema: z.ZodMiniType<Proof, unknown> = z.object({});
|
|
2321
|
-
|
|
2322
|
-
export function proofFromJSON(
|
|
2323
|
-
jsonString: string,
|
|
2324
|
-
): SafeParseResult<Proof, SDKValidationError> {
|
|
2325
|
-
return safeParse(
|
|
2326
|
-
jsonString,
|
|
2327
|
-
(x) => Proof$inboundSchema.parse(JSON.parse(x)),
|
|
2328
|
-
`Failed to parse 'Proof' from JSON`,
|
|
2329
|
-
);
|
|
2330
|
-
}
|
|
2331
|
-
|
|
2332
|
-
/** @internal */
|
|
2333
|
-
export const ProofUnion$inboundSchema: z.ZodMiniType<ProofUnion, unknown> =
|
|
2334
|
-
smartUnion([
|
|
2335
|
-
types.number(),
|
|
2336
|
-
z.lazy(() => Proof$inboundSchema),
|
|
2337
|
-
types.string(),
|
|
2338
|
-
types.boolean(),
|
|
2339
|
-
]);
|
|
2340
|
-
|
|
2341
|
-
export function proofUnionFromJSON(
|
|
2342
|
-
jsonString: string,
|
|
2343
|
-
): SafeParseResult<ProofUnion, SDKValidationError> {
|
|
2344
|
-
return safeParse(
|
|
2345
|
-
jsonString,
|
|
2346
|
-
(x) => ProofUnion$inboundSchema.parse(JSON.parse(x)),
|
|
2347
|
-
`Failed to parse 'ProofUnion' from JSON`,
|
|
2348
|
-
);
|
|
2349
|
-
}
|
|
2350
|
-
|
|
2351
|
-
/** @internal */
|
|
2352
|
-
export const SearchUsernameRole$inboundSchema: z.ZodMiniType<
|
|
2353
|
-
SearchUsernameRole,
|
|
2354
|
-
unknown
|
|
2355
|
-
> = z.object({});
|
|
2356
|
-
|
|
2357
|
-
export function searchUsernameRoleFromJSON(
|
|
2358
|
-
jsonString: string,
|
|
2359
|
-
): SafeParseResult<SearchUsernameRole, SDKValidationError> {
|
|
2360
|
-
return safeParse(
|
|
2361
|
-
jsonString,
|
|
2362
|
-
(x) => SearchUsernameRole$inboundSchema.parse(JSON.parse(x)),
|
|
2363
|
-
`Failed to parse 'SearchUsernameRole' from JSON`,
|
|
2364
|
-
);
|
|
2365
|
-
}
|
|
2366
|
-
|
|
2367
|
-
/** @internal */
|
|
2368
|
-
export const Role$inboundSchema: z.ZodMiniType<Role, unknown> = smartUnion([
|
|
2369
|
-
types.number(),
|
|
2370
|
-
z.lazy(() => SearchUsernameRole$inboundSchema),
|
|
2371
|
-
types.string(),
|
|
2372
|
-
types.boolean(),
|
|
2373
|
-
]);
|
|
2374
|
-
|
|
2375
|
-
export function roleFromJSON(
|
|
2376
|
-
jsonString: string,
|
|
2377
|
-
): SafeParseResult<Role, SDKValidationError> {
|
|
2378
|
-
return safeParse(
|
|
2379
|
-
jsonString,
|
|
2380
|
-
(x) => Role$inboundSchema.parse(JSON.parse(x)),
|
|
2381
|
-
`Failed to parse 'Role' from JSON`,
|
|
2382
|
-
);
|
|
2383
|
-
}
|
|
2384
|
-
|
|
2385
|
-
/** @internal */
|
|
2386
|
-
export const SocialLink$inboundSchema: z.ZodMiniType<SocialLink, unknown> = z
|
|
2387
|
-
.object({});
|
|
2388
|
-
|
|
2389
|
-
export function socialLinkFromJSON(
|
|
2390
|
-
jsonString: string,
|
|
2391
|
-
): SafeParseResult<SocialLink, SDKValidationError> {
|
|
2392
|
-
return safeParse(
|
|
2393
|
-
jsonString,
|
|
2394
|
-
(x) => SocialLink$inboundSchema.parse(JSON.parse(x)),
|
|
2395
|
-
`Failed to parse 'SocialLink' from JSON`,
|
|
2396
|
-
);
|
|
2397
|
-
}
|
|
2398
|
-
|
|
2399
|
-
/** @internal */
|
|
2400
|
-
export const SocialLinkUnion$inboundSchema: z.ZodMiniType<
|
|
2401
|
-
SocialLinkUnion,
|
|
2402
|
-
unknown
|
|
2403
|
-
> = smartUnion([
|
|
2404
|
-
types.number(),
|
|
2405
|
-
z.lazy(() => SocialLink$inboundSchema),
|
|
2406
|
-
types.string(),
|
|
2407
|
-
types.boolean(),
|
|
2408
|
-
]);
|
|
2409
|
-
|
|
2410
|
-
export function socialLinkUnionFromJSON(
|
|
2411
|
-
jsonString: string,
|
|
2412
|
-
): SafeParseResult<SocialLinkUnion, SDKValidationError> {
|
|
2413
|
-
return safeParse(
|
|
2414
|
-
jsonString,
|
|
2415
|
-
(x) => SocialLinkUnion$inboundSchema.parse(JSON.parse(x)),
|
|
2416
|
-
`Failed to parse 'SocialLinkUnion' from JSON`,
|
|
2417
|
-
);
|
|
2418
|
-
}
|
|
2419
|
-
|
|
2420
|
-
/** @internal */
|
|
2421
|
-
export const Socials$inboundSchema: z.ZodMiniType<Socials, unknown> = z.object({
|
|
2422
|
-
facebook: types.optional(types.string()),
|
|
2423
|
-
instagram: types.optional(types.string()),
|
|
2424
|
-
twitter: types.optional(types.string()),
|
|
2425
|
-
website: types.optional(types.string()),
|
|
2426
|
-
});
|
|
2427
|
-
|
|
2428
|
-
export function socialsFromJSON(
|
|
2429
|
-
jsonString: string,
|
|
2430
|
-
): SafeParseResult<Socials, SDKValidationError> {
|
|
2431
|
-
return safeParse(
|
|
2432
|
-
jsonString,
|
|
2433
|
-
(x) => Socials$inboundSchema.parse(JSON.parse(x)),
|
|
2434
|
-
`Failed to parse 'Socials' from JSON`,
|
|
2435
|
-
);
|
|
2436
|
-
}
|
|
2437
|
-
|
|
2438
|
-
/** @internal */
|
|
2439
|
-
export const SocialsUnion$inboundSchema: z.ZodMiniType<SocialsUnion, unknown> =
|
|
2440
|
-
smartUnion([z.lazy(() => Socials$inboundSchema), z.array(types.string())]);
|
|
2441
|
-
|
|
2442
|
-
export function socialsUnionFromJSON(
|
|
2443
|
-
jsonString: string,
|
|
2444
|
-
): SafeParseResult<SocialsUnion, SDKValidationError> {
|
|
2445
|
-
return safeParse(
|
|
2446
|
-
jsonString,
|
|
2447
|
-
(x) => SocialsUnion$inboundSchema.parse(JSON.parse(x)),
|
|
2448
|
-
`Failed to parse 'SocialsUnion' from JSON`,
|
|
2449
|
-
);
|
|
2450
|
-
}
|
|
2451
|
-
|
|
2452
|
-
/** @internal */
|
|
2453
|
-
export const SearchUsernameStatus$inboundSchema: z.ZodMiniType<
|
|
2454
|
-
SearchUsernameStatus,
|
|
2455
|
-
unknown
|
|
2456
|
-
> = z.pipe(
|
|
2457
|
-
z.object({
|
|
2458
|
-
is_coach: types.optional(types.boolean()),
|
|
2459
|
-
is_moderator: types.optional(types.boolean()),
|
|
2460
|
-
is_staff: types.optional(types.boolean()),
|
|
2461
|
-
is_streamer: types.optional(types.boolean()),
|
|
2462
|
-
is_top_blogger: types.optional(types.boolean()),
|
|
2463
|
-
}),
|
|
2464
|
-
z.transform((v) => {
|
|
2465
|
-
return remap$(v, {
|
|
2466
|
-
"is_coach": "isCoach",
|
|
2467
|
-
"is_moderator": "isModerator",
|
|
2468
|
-
"is_staff": "isStaff",
|
|
2469
|
-
"is_streamer": "isStreamer",
|
|
2470
|
-
"is_top_blogger": "isTopBlogger",
|
|
2471
|
-
});
|
|
2472
|
-
}),
|
|
2473
|
-
);
|
|
2474
|
-
|
|
2475
|
-
export function searchUsernameStatusFromJSON(
|
|
2476
|
-
jsonString: string,
|
|
2477
|
-
): SafeParseResult<SearchUsernameStatus, SDKValidationError> {
|
|
2478
|
-
return safeParse(
|
|
2479
|
-
jsonString,
|
|
2480
|
-
(x) => SearchUsernameStatus$inboundSchema.parse(JSON.parse(x)),
|
|
2481
|
-
`Failed to parse 'SearchUsernameStatus' from JSON`,
|
|
2482
|
-
);
|
|
2483
|
-
}
|
|
2484
|
-
|
|
2485
|
-
/** @internal */
|
|
2486
|
-
export const Status$inboundSchema: z.ZodMiniType<Status, unknown> = smartUnion([
|
|
2487
|
-
types.string(),
|
|
2488
|
-
z.lazy(() => SearchUsernameStatus$inboundSchema),
|
|
2489
|
-
]);
|
|
2490
|
-
|
|
2491
|
-
export function statusFromJSON(
|
|
2492
|
-
jsonString: string,
|
|
2493
|
-
): SafeParseResult<Status, SDKValidationError> {
|
|
2494
|
-
return safeParse(
|
|
2495
|
-
jsonString,
|
|
2496
|
-
(x) => Status$inboundSchema.parse(JSON.parse(x)),
|
|
2497
|
-
`Failed to parse 'Status' from JSON`,
|
|
2498
|
-
);
|
|
2499
|
-
}
|
|
2500
|
-
|
|
2501
|
-
/** @internal */
|
|
2502
|
-
export const UrlEntity$inboundSchema: z.ZodMiniType<UrlEntity, unknown> = z
|
|
2503
|
-
.object({});
|
|
2504
|
-
|
|
2505
|
-
export function urlEntityFromJSON(
|
|
2506
|
-
jsonString: string,
|
|
2507
|
-
): SafeParseResult<UrlEntity, SDKValidationError> {
|
|
2508
|
-
return safeParse(
|
|
2509
|
-
jsonString,
|
|
2510
|
-
(x) => UrlEntity$inboundSchema.parse(JSON.parse(x)),
|
|
2511
|
-
`Failed to parse 'UrlEntity' from JSON`,
|
|
2512
|
-
);
|
|
2513
|
-
}
|
|
2514
|
-
|
|
2515
|
-
/** @internal */
|
|
2516
|
-
export const UrlEntityUnion$inboundSchema: z.ZodMiniType<
|
|
2517
|
-
UrlEntityUnion,
|
|
2518
|
-
unknown
|
|
2519
|
-
> = smartUnion([
|
|
2520
|
-
types.number(),
|
|
2521
|
-
z.lazy(() => UrlEntity$inboundSchema),
|
|
2522
|
-
types.string(),
|
|
2523
|
-
types.boolean(),
|
|
2524
|
-
]);
|
|
2525
|
-
|
|
2526
|
-
export function urlEntityUnionFromJSON(
|
|
2527
|
-
jsonString: string,
|
|
2528
|
-
): SafeParseResult<UrlEntityUnion, SDKValidationError> {
|
|
2529
|
-
return safeParse(
|
|
2530
|
-
jsonString,
|
|
2531
|
-
(x) => UrlEntityUnion$inboundSchema.parse(JSON.parse(x)),
|
|
2532
|
-
`Failed to parse 'UrlEntityUnion' from JSON`,
|
|
2533
|
-
);
|
|
2534
|
-
}
|
|
2535
|
-
|
|
2536
|
-
/** @internal */
|
|
2537
|
-
export const Url$inboundSchema: z.ZodMiniType<Url, unknown> = z.object({
|
|
2538
|
-
title: types.optional(types.string()),
|
|
2539
|
-
value: types.optional(types.string()),
|
|
2540
|
-
});
|
|
2541
|
-
|
|
2542
|
-
export function urlFromJSON(
|
|
2543
|
-
jsonString: string,
|
|
2544
|
-
): SafeParseResult<Url, SDKValidationError> {
|
|
2545
|
-
return safeParse(
|
|
2546
|
-
jsonString,
|
|
2547
|
-
(x) => Url$inboundSchema.parse(JSON.parse(x)),
|
|
2548
|
-
`Failed to parse 'Url' from JSON`,
|
|
2549
|
-
);
|
|
2550
|
-
}
|
|
2551
|
-
|
|
2552
|
-
/** @internal */
|
|
2553
|
-
export const Metadata$inboundSchema: z.ZodMiniType<Metadata, unknown> = z.pipe(
|
|
2554
|
-
z.object({
|
|
2555
|
-
accent_color: types.optional(types.string()),
|
|
2556
|
-
account_type: types.optional(types.string()),
|
|
2557
|
-
accounts: types.optional(z.array(z.lazy(() => Account$inboundSchema))),
|
|
2558
|
-
address: types.optional(types.string()),
|
|
2559
|
-
awardee_karma: types.optional(types.number()),
|
|
2560
|
-
awarder_karma: types.optional(types.number()),
|
|
2561
|
-
awards: types.optional(
|
|
2562
|
-
z.array(types.nullable(smartUnion([
|
|
2563
|
-
types.number(),
|
|
2564
|
-
z.lazy(() => Award$inboundSchema),
|
|
2565
|
-
types.string(),
|
|
2566
|
-
types.boolean(),
|
|
2567
|
-
]))),
|
|
2568
|
-
),
|
|
2569
|
-
background_picture: types.optional(types.string()),
|
|
2570
|
-
badges: types.optional(
|
|
2571
|
-
z.array(types.nullable(smartUnion([
|
|
2572
|
-
types.number(),
|
|
2573
|
-
z.lazy(() => SearchUsernameBadge$inboundSchema),
|
|
2574
|
-
types.string(),
|
|
2575
|
-
types.boolean(),
|
|
2576
|
-
]))),
|
|
2577
|
-
),
|
|
2578
|
-
bands: types.optional(smartUnion([types.number(), types.string()])),
|
|
2579
|
-
bio_links: types.optional(
|
|
2580
|
-
z.array(types.nullable(smartUnion([
|
|
2581
|
-
types.number(),
|
|
2582
|
-
z.lazy(() => BioLink$inboundSchema),
|
|
2583
|
-
types.string(),
|
|
2584
|
-
types.boolean(),
|
|
2585
|
-
]))),
|
|
2586
|
-
),
|
|
2587
|
-
blog: types.optional(types.string()),
|
|
2588
|
-
board_count: types.optional(types.number()),
|
|
2589
|
-
broadcaster_type: types.optional(types.string()),
|
|
2590
|
-
cape_url: types.optional(types.string()),
|
|
2591
|
-
cashtag_url: types.optional(types.string()),
|
|
2592
|
-
channel_id: types.optional(types.string()),
|
|
2593
|
-
clubs: types.optional(
|
|
2594
|
-
z.array(types.nullable(smartUnion([
|
|
2595
|
-
types.number(),
|
|
2596
|
-
z.lazy(() => Club$inboundSchema),
|
|
2597
|
-
types.string(),
|
|
2598
|
-
types.boolean(),
|
|
2599
|
-
]))),
|
|
2600
|
-
),
|
|
2601
|
-
collections: types.optional(smartUnion([types.number(), types.string()])),
|
|
2602
|
-
company: types.optional(types.string()),
|
|
2603
|
-
connections: types.optional(
|
|
2604
|
-
z.array(z.lazy(() => Connection$inboundSchema)),
|
|
2605
|
-
),
|
|
2606
|
-
courses: types.optional(z.array(z.lazy(() => Course$inboundSchema))),
|
|
2607
|
-
cover_image: types.optional(types.string()),
|
|
2608
|
-
created_at: types.optional(types.string()),
|
|
2609
|
-
created_date: types.optional(types.string()),
|
|
2610
|
-
created_on: types.optional(types.string()),
|
|
2611
|
-
created_utc: types.optional(types.number()),
|
|
2612
|
-
crypto_addresses: types.optional(
|
|
2613
|
-
z.array(types.nullable(smartUnion([
|
|
2614
|
-
types.number(),
|
|
2615
|
-
z.lazy(() => CryptoAddress$inboundSchema),
|
|
2616
|
-
types.string(),
|
|
2617
|
-
types.boolean(),
|
|
2618
|
-
]))),
|
|
2619
|
-
),
|
|
2620
|
-
currency: types.optional(types.string()),
|
|
2621
|
-
current_streak: types.optional(types.number()),
|
|
2622
|
-
devices: types.optional(z.array(types.string())),
|
|
2623
|
-
emails: types.optional(z.array(types.string())),
|
|
2624
|
-
external_url: types.optional(types.string()),
|
|
2625
|
-
family_name: types.optional(types.string()),
|
|
2626
|
-
followers: types.optional(smartUnion([types.number(), types.string()])),
|
|
2627
|
-
following: types.optional(smartUnion([types.number(), types.string()])),
|
|
2628
|
-
friend_count: types.optional(types.number()),
|
|
2629
|
-
genres: types.optional(z.array(types.string())),
|
|
2630
|
-
given_name: types.optional(types.string()),
|
|
2631
|
-
has_plus: types.optional(types.boolean()),
|
|
2632
|
-
has_verified_email: types.optional(types.boolean()),
|
|
2633
|
-
inspired_by: types.optional(z.array(types.string())),
|
|
2634
|
-
is_affiliate: types.optional(types.boolean()),
|
|
2635
|
-
is_banned: types.optional(types.boolean()),
|
|
2636
|
-
is_business: types.optional(types.boolean()),
|
|
2637
|
-
is_channel: types.optional(types.boolean()),
|
|
2638
|
-
is_confirmed: types.optional(types.boolean()),
|
|
2639
|
-
is_gold: types.optional(types.boolean()),
|
|
2640
|
-
is_group: types.optional(types.boolean()),
|
|
2641
|
-
is_hacker: types.optional(types.boolean()),
|
|
2642
|
-
is_junior: types.optional(types.boolean()),
|
|
2643
|
-
is_legacy: types.optional(types.boolean()),
|
|
2644
|
-
is_meta_blocked: types.optional(types.boolean()),
|
|
2645
|
-
is_mod: types.optional(types.boolean()),
|
|
2646
|
-
is_partner: types.optional(types.boolean()),
|
|
2647
|
-
is_premium: types.optional(types.boolean()),
|
|
2648
|
-
is_professional: types.optional(types.boolean()),
|
|
2649
|
-
is_suspended: types.optional(types.boolean()),
|
|
2650
|
-
is_verified: z.optional(z.nullable(types.boolean())),
|
|
2651
|
-
joined_at: types.optional(types.string()),
|
|
2652
|
-
keywords: types.optional(z.array(types.string())),
|
|
2653
|
-
last_modified: types.optional(types.string()),
|
|
2654
|
-
last_seen: types.optional(types.string()),
|
|
2655
|
-
latest_pastes: types.optional(
|
|
2656
|
-
z.array(types.nullable(smartUnion([
|
|
2657
|
-
types.number(),
|
|
2658
|
-
z.lazy(() => LatestPaste$inboundSchema),
|
|
2659
|
-
types.string(),
|
|
2660
|
-
types.boolean(),
|
|
2661
|
-
]))),
|
|
2662
|
-
),
|
|
2663
|
-
learning_language: types.optional(types.string()),
|
|
2664
|
-
likes: types.optional(types.number()),
|
|
2665
|
-
likes_received: types.optional(types.number()),
|
|
2666
|
-
links: types.optional(
|
|
2667
|
-
z.array(types.nullable(smartUnion([
|
|
2668
|
-
types.number(),
|
|
2669
|
-
z.lazy(() => Link$inboundSchema),
|
|
2670
|
-
types.string(),
|
|
2671
|
-
types.boolean(),
|
|
2672
|
-
]))),
|
|
2673
|
-
),
|
|
2674
|
-
listed_count: types.optional(types.number()),
|
|
2675
|
-
media_count: types.optional(types.number()),
|
|
2676
|
-
member_type: types.optional(types.string()),
|
|
2677
|
-
organizations: types.optional(
|
|
2678
|
-
z.array(z.lazy(() => SearchUsernameOrganization$inboundSchema)),
|
|
2679
|
-
),
|
|
2680
|
-
page_views: types.optional(types.number()),
|
|
2681
|
-
past_usernames: types.optional(z.array(types.string())),
|
|
2682
|
-
paste_views: types.optional(types.number()),
|
|
2683
|
-
pins: types.optional(types.number()),
|
|
2684
|
-
platform_id: types.optional(types.string()),
|
|
2685
|
-
platforms: types.optional(
|
|
2686
|
-
z.array(types.nullable(smartUnion([
|
|
2687
|
-
types.number(),
|
|
2688
|
-
z.lazy(() => Platform$inboundSchema),
|
|
2689
|
-
types.string(),
|
|
2690
|
-
types.boolean(),
|
|
2691
|
-
]))),
|
|
2692
|
-
),
|
|
2693
|
-
playlist_count: types.optional(types.number()),
|
|
2694
|
-
plays: types.optional(smartUnion([types.number(), types.string()])),
|
|
2695
|
-
posts: types.optional(types.number()),
|
|
2696
|
-
posts_count: types.optional(types.number()),
|
|
2697
|
-
primary_team: types.optional(types.string()),
|
|
2698
|
-
profile_views: types.optional(types.number()),
|
|
2699
|
-
proofs: types.optional(
|
|
2700
|
-
z.array(types.nullable(smartUnion([
|
|
2701
|
-
types.number(),
|
|
2702
|
-
z.lazy(() => Proof$inboundSchema),
|
|
2703
|
-
types.string(),
|
|
2704
|
-
types.boolean(),
|
|
2705
|
-
]))),
|
|
2706
|
-
),
|
|
2707
|
-
provider: types.optional(types.string()),
|
|
2708
|
-
provider_id: types.optional(types.string()),
|
|
2709
|
-
public_gists: types.optional(types.number()),
|
|
2710
|
-
public_repos: types.optional(types.number()),
|
|
2711
|
-
rate_plan: types.optional(types.string()),
|
|
2712
|
-
real_name: types.optional(types.string()),
|
|
2713
|
-
recent_activity: types.optional(z.any()),
|
|
2714
|
-
recovery_email: types.optional(types.string()),
|
|
2715
|
-
region: types.optional(types.string()),
|
|
2716
|
-
registered_since: types.optional(types.string()),
|
|
2717
|
-
reputation: types.optional(types.number()),
|
|
2718
|
-
reputation_label: types.optional(types.string()),
|
|
2719
|
-
roles: types.optional(
|
|
2720
|
-
z.array(types.nullable(smartUnion([
|
|
2721
|
-
types.number(),
|
|
2722
|
-
z.lazy(() => SearchUsernameRole$inboundSchema),
|
|
2723
|
-
types.string(),
|
|
2724
|
-
types.boolean(),
|
|
2725
|
-
]))),
|
|
2726
|
-
),
|
|
2727
|
-
scratch_team: types.optional(types.boolean()),
|
|
2728
|
-
skills: types.optional(z.array(types.string())),
|
|
2729
|
-
skin_url: types.optional(types.string()),
|
|
2730
|
-
social_links: types.optional(
|
|
2731
|
-
z.array(types.nullable(smartUnion([
|
|
2732
|
-
types.number(),
|
|
2733
|
-
z.lazy(() => SocialLink$inboundSchema),
|
|
2734
|
-
types.string(),
|
|
2735
|
-
types.boolean(),
|
|
2736
|
-
]))),
|
|
2737
|
-
),
|
|
2738
|
-
socials: types.optional(
|
|
2739
|
-
smartUnion([
|
|
2740
|
-
z.lazy(() => Socials$inboundSchema),
|
|
2741
|
-
z.array(types.string()),
|
|
2742
|
-
]),
|
|
2743
|
-
),
|
|
2744
|
-
status: types.optional(
|
|
2745
|
-
smartUnion([
|
|
2746
|
-
types.string(),
|
|
2747
|
-
z.lazy(() => SearchUsernameStatus$inboundSchema),
|
|
2748
|
-
]),
|
|
2749
|
-
),
|
|
2750
|
-
steam_id_64: types.optional(types.string()),
|
|
2751
|
-
streak: types.optional(types.number()),
|
|
2752
|
-
subscriber_count: types.optional(types.number()),
|
|
2753
|
-
subscribers: types.optional(types.number()),
|
|
2754
|
-
theme_title: types.optional(types.string()),
|
|
2755
|
-
thumbnail: types.optional(types.string()),
|
|
2756
|
-
title: types.optional(types.string()),
|
|
2757
|
-
total_karma: types.optional(types.number()),
|
|
2758
|
-
total_scrobbles: types.optional(types.number()),
|
|
2759
|
-
total_xp: types.optional(types.number()),
|
|
2760
|
-
track_count: types.optional(types.number()),
|
|
2761
|
-
trn_rank: types.optional(types.string()),
|
|
2762
|
-
trn_rating: types.optional(types.string()),
|
|
2763
|
-
trophies: types.optional(z.array(types.string())),
|
|
2764
|
-
tweets: types.optional(types.number()),
|
|
2765
|
-
twitter_username: types.optional(types.string()),
|
|
2766
|
-
updated_at: types.optional(types.string()),
|
|
2767
|
-
upvotes: types.optional(types.number()),
|
|
2768
|
-
url_entities: types.optional(
|
|
2769
|
-
z.array(types.nullable(smartUnion([
|
|
2770
|
-
types.number(),
|
|
2771
|
-
z.lazy(() => UrlEntity$inboundSchema),
|
|
2772
|
-
types.string(),
|
|
2773
|
-
types.boolean(),
|
|
2774
|
-
]))),
|
|
2775
|
-
),
|
|
2776
|
-
urls: types.optional(z.array(z.lazy(() => Url$inboundSchema))),
|
|
2777
|
-
uuid: types.optional(types.string()),
|
|
2778
|
-
video_count: types.optional(types.number()),
|
|
2779
|
-
visible_collection_count: types.optional(types.number()),
|
|
2780
|
-
visible_wishlist_count: types.optional(types.number()),
|
|
2781
|
-
website: types.optional(types.string()),
|
|
2782
|
-
}),
|
|
2783
|
-
z.transform((v) => {
|
|
2784
|
-
return remap$(v, {
|
|
2785
|
-
"accent_color": "accentColor",
|
|
2786
|
-
"account_type": "accountType",
|
|
2787
|
-
"awardee_karma": "awardeeKarma",
|
|
2788
|
-
"awarder_karma": "awarderKarma",
|
|
2789
|
-
"background_picture": "backgroundPicture",
|
|
2790
|
-
"bio_links": "bioLinks",
|
|
2791
|
-
"board_count": "boardCount",
|
|
2792
|
-
"broadcaster_type": "broadcasterType",
|
|
2793
|
-
"cape_url": "capeUrl",
|
|
2794
|
-
"cashtag_url": "cashtagUrl",
|
|
2795
|
-
"channel_id": "channelId",
|
|
2796
|
-
"cover_image": "coverImage",
|
|
2797
|
-
"created_at": "createdAt",
|
|
2798
|
-
"created_date": "createdDate",
|
|
2799
|
-
"created_on": "createdOn",
|
|
2800
|
-
"created_utc": "createdUtc",
|
|
2801
|
-
"crypto_addresses": "cryptoAddresses",
|
|
2802
|
-
"current_streak": "currentStreak",
|
|
2803
|
-
"external_url": "externalUrl",
|
|
2804
|
-
"family_name": "familyName",
|
|
2805
|
-
"friend_count": "friendCount",
|
|
2806
|
-
"given_name": "givenName",
|
|
2807
|
-
"has_plus": "hasPlus",
|
|
2808
|
-
"has_verified_email": "hasVerifiedEmail",
|
|
2809
|
-
"inspired_by": "inspiredBy",
|
|
2810
|
-
"is_affiliate": "isAffiliate",
|
|
2811
|
-
"is_banned": "isBanned",
|
|
2812
|
-
"is_business": "isBusiness",
|
|
2813
|
-
"is_channel": "isChannel",
|
|
2814
|
-
"is_confirmed": "isConfirmed",
|
|
2815
|
-
"is_gold": "isGold",
|
|
2816
|
-
"is_group": "isGroup",
|
|
2817
|
-
"is_hacker": "isHacker",
|
|
2818
|
-
"is_junior": "isJunior",
|
|
2819
|
-
"is_legacy": "isLegacy",
|
|
2820
|
-
"is_meta_blocked": "isMetaBlocked",
|
|
2821
|
-
"is_mod": "isMod",
|
|
2822
|
-
"is_partner": "isPartner",
|
|
2823
|
-
"is_premium": "isPremium",
|
|
2824
|
-
"is_professional": "isProfessional",
|
|
2825
|
-
"is_suspended": "isSuspended",
|
|
2826
|
-
"is_verified": "isVerified",
|
|
2827
|
-
"joined_at": "joinedAt",
|
|
2828
|
-
"last_modified": "lastModified",
|
|
2829
|
-
"last_seen": "lastSeen",
|
|
2830
|
-
"latest_pastes": "latestPastes",
|
|
2831
|
-
"learning_language": "learningLanguage",
|
|
2832
|
-
"likes_received": "likesReceived",
|
|
2833
|
-
"listed_count": "listedCount",
|
|
2834
|
-
"media_count": "mediaCount",
|
|
2835
|
-
"member_type": "memberType",
|
|
2836
|
-
"page_views": "pageViews",
|
|
2837
|
-
"past_usernames": "pastUsernames",
|
|
2838
|
-
"paste_views": "pasteViews",
|
|
2839
|
-
"platform_id": "platformId",
|
|
2840
|
-
"playlist_count": "playlistCount",
|
|
2841
|
-
"posts_count": "postsCount",
|
|
2842
|
-
"primary_team": "primaryTeam",
|
|
2843
|
-
"profile_views": "profileViews",
|
|
2844
|
-
"provider_id": "providerId",
|
|
2845
|
-
"public_gists": "publicGists",
|
|
2846
|
-
"public_repos": "publicRepos",
|
|
2847
|
-
"rate_plan": "ratePlan",
|
|
2848
|
-
"real_name": "realName",
|
|
2849
|
-
"recent_activity": "recentActivity",
|
|
2850
|
-
"recovery_email": "recoveryEmail",
|
|
2851
|
-
"registered_since": "registeredSince",
|
|
2852
|
-
"reputation_label": "reputationLabel",
|
|
2853
|
-
"scratch_team": "scratchTeam",
|
|
2854
|
-
"skin_url": "skinUrl",
|
|
2855
|
-
"social_links": "socialLinks",
|
|
2856
|
-
"steam_id_64": "steamId64",
|
|
2857
|
-
"subscriber_count": "subscriberCount",
|
|
2858
|
-
"theme_title": "themeTitle",
|
|
2859
|
-
"total_karma": "totalKarma",
|
|
2860
|
-
"total_scrobbles": "totalScrobbles",
|
|
2861
|
-
"total_xp": "totalXp",
|
|
2862
|
-
"track_count": "trackCount",
|
|
2863
|
-
"trn_rank": "trnRank",
|
|
2864
|
-
"trn_rating": "trnRating",
|
|
2865
|
-
"twitter_username": "twitterUsername",
|
|
2866
|
-
"updated_at": "updatedAt",
|
|
2867
|
-
"url_entities": "urlEntities",
|
|
2868
|
-
"video_count": "videoCount",
|
|
2869
|
-
"visible_collection_count": "visibleCollectionCount",
|
|
2870
|
-
"visible_wishlist_count": "visibleWishlistCount",
|
|
2871
|
-
});
|
|
2872
|
-
}),
|
|
2873
|
-
);
|
|
2874
|
-
|
|
2875
|
-
export function metadataFromJSON(
|
|
2876
|
-
jsonString: string,
|
|
2877
|
-
): SafeParseResult<Metadata, SDKValidationError> {
|
|
2878
|
-
return safeParse(
|
|
2879
|
-
jsonString,
|
|
2880
|
-
(x) => Metadata$inboundSchema.parse(JSON.parse(x)),
|
|
2881
|
-
`Failed to parse 'Metadata' from JSON`,
|
|
2882
|
-
);
|
|
2883
|
-
}
|
|
2884
|
-
|
|
2885
|
-
/** @internal */
|
|
2886
|
-
export const SearchUsernameData$inboundSchema: z.ZodMiniType<
|
|
2887
|
-
SearchUsernameData,
|
|
2888
|
-
unknown
|
|
2889
|
-
> = z.object({
|
|
2890
|
-
avatar: types.optional(types.string()),
|
|
2891
|
-
bio: types.optional(types.string()),
|
|
2892
|
-
country: types.optional(types.string()),
|
|
2893
|
-
displayName: types.optional(types.string()),
|
|
2894
|
-
id: types.optional(smartUnion([types.number(), types.string()])),
|
|
2895
|
-
isPrivate: types.optional(types.boolean()),
|
|
2896
|
-
isVerified: types.optional(types.boolean()),
|
|
2897
|
-
metadata: types.optional(z.lazy(() => Metadata$inboundSchema)),
|
|
2898
|
-
url: types.optional(types.string()),
|
|
2899
|
-
username: types.optional(types.string()),
|
|
2900
|
-
});
|
|
2901
|
-
|
|
2902
|
-
export function searchUsernameDataFromJSON(
|
|
2903
|
-
jsonString: string,
|
|
2904
|
-
): SafeParseResult<SearchUsernameData, SDKValidationError> {
|
|
2905
|
-
return safeParse(
|
|
2906
|
-
jsonString,
|
|
2907
|
-
(x) => SearchUsernameData$inboundSchema.parse(JSON.parse(x)),
|
|
2908
|
-
`Failed to parse 'SearchUsernameData' from JSON`,
|
|
2909
|
-
);
|
|
2910
|
-
}
|
|
2911
|
-
|
|
2912
|
-
/** @internal */
|
|
2913
|
-
export const OsintResult$inboundSchema: z.ZodMiniType<OsintResult, unknown> = z
|
|
2914
|
-
.pipe(
|
|
2915
|
-
z.object({
|
|
2916
|
-
duration_ms: types.number(),
|
|
2917
|
-
exists: types.boolean(),
|
|
2918
|
-
service: types.string(),
|
|
2919
|
-
type: SearchUsernameType$inboundSchema,
|
|
2920
|
-
data: types.optional(z.lazy(() => SearchUsernameData$inboundSchema)),
|
|
2921
|
-
error: types.optional(types.string()),
|
|
2922
|
-
}),
|
|
2923
|
-
z.transform((v) => {
|
|
2924
|
-
return remap$(v, {
|
|
2925
|
-
"duration_ms": "durationMs",
|
|
2926
|
-
});
|
|
2927
|
-
}),
|
|
2928
|
-
);
|
|
2929
|
-
|
|
2930
|
-
export function osintResultFromJSON(
|
|
2931
|
-
jsonString: string,
|
|
2932
|
-
): SafeParseResult<OsintResult, SDKValidationError> {
|
|
2933
|
-
return safeParse(
|
|
2934
|
-
jsonString,
|
|
2935
|
-
(x) => OsintResult$inboundSchema.parse(JSON.parse(x)),
|
|
2936
|
-
`Failed to parse 'OsintResult' from JSON`,
|
|
2937
|
-
);
|
|
2938
|
-
}
|
|
2939
|
-
|
|
2940
|
-
/** @internal */
|
|
2941
|
-
export const IndividualEvent$inboundSchema: z.ZodMiniType<
|
|
2942
|
-
IndividualEvent,
|
|
2943
|
-
unknown
|
|
2944
|
-
> = z.object({
|
|
2945
|
-
data: z.pipe(
|
|
2946
|
-
z.pipe(
|
|
2947
|
-
z.unknown(),
|
|
2948
|
-
z.transform((v, ctx) => {
|
|
2949
|
-
if (typeof v !== "string") return v;
|
|
2950
|
-
try {
|
|
2951
|
-
return JSON.parse(v);
|
|
2952
|
-
} catch (err) {
|
|
2953
|
-
ctx.issues.push({
|
|
2954
|
-
input: v,
|
|
2955
|
-
code: "custom",
|
|
2956
|
-
message: `malformed json: ${err}`,
|
|
2957
|
-
});
|
|
2958
|
-
return z.NEVER;
|
|
2959
|
-
}
|
|
2960
|
-
}),
|
|
2961
|
-
),
|
|
2962
|
-
z.lazy(() => OsintResult$inboundSchema),
|
|
2963
|
-
),
|
|
2964
|
-
event: types.literal("individual"),
|
|
2965
|
-
});
|
|
2966
|
-
|
|
2967
|
-
export function individualEventFromJSON(
|
|
2968
|
-
jsonString: string,
|
|
2969
|
-
): SafeParseResult<IndividualEvent, SDKValidationError> {
|
|
2970
|
-
return safeParse(
|
|
2971
|
-
jsonString,
|
|
2972
|
-
(x) => IndividualEvent$inboundSchema.parse(JSON.parse(x)),
|
|
2973
|
-
`Failed to parse 'IndividualEvent' from JSON`,
|
|
2974
|
-
);
|
|
2975
|
-
}
|
|
2976
|
-
|
|
2977
|
-
/** @internal */
|
|
2978
|
-
export const UsernameSearchEvent$inboundSchema: z.ZodMiniType<
|
|
2979
|
-
UsernameSearchEvent,
|
|
2980
|
-
unknown
|
|
2981
|
-
> = smartUnion([
|
|
2982
|
-
z.lazy(() => IndividualEvent$inboundSchema),
|
|
2983
|
-
z.lazy(() => AllEvent$inboundSchema),
|
|
2984
|
-
z.lazy(() => SearchUsernameErrorEvent$inboundSchema),
|
|
2985
|
-
]);
|
|
2986
|
-
|
|
2987
|
-
export function usernameSearchEventFromJSON(
|
|
2988
|
-
jsonString: string,
|
|
2989
|
-
): SafeParseResult<UsernameSearchEvent, SDKValidationError> {
|
|
2990
|
-
return safeParse(
|
|
2991
|
-
jsonString,
|
|
2992
|
-
(x) => UsernameSearchEvent$inboundSchema.parse(JSON.parse(x)),
|
|
2993
|
-
`Failed to parse 'UsernameSearchEvent' from JSON`,
|
|
2994
|
-
);
|
|
2995
|
-
}
|