import BaseAPI from "./BaseAPI" ; import Client from "../Client" ; export type GetCaptchaMetadata = { funCaptchaPublicKeys : { type : string ; value : string ; } [ ] ; } ; export type GetLanguageResources = { languageResources : unknown ; } ; export default class CaptchaAPI extends BaseAPI { constructor ( client ) { super ( { client , baseUrl : "https://captcha.roblox.com/" } ) ; } getCaptchaMetaData ( ) { return this . request ( { requiresAuth : false , request : { path : `v1/captcha/metadata` } , json : true } ) . then ( response => response . body ) ; } getLanguageResources ( ) { return this . request ( { requiresAuth : false , request : { path : `v1/language-resources` } , json : true } ) . then ( response => response . body ) ; } }