/**
 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
 *
 * Do not edit this file as changes may cause incorrect behavior and will be lost
 * once the code is regenerated.
 *
 * @generated by codegen project: GenerateModuleCpp.js
 */

#include "ToponSpecJSI.h"

namespace facebook::react {

static jsi::Value __hostFunction_NativeToponCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->addListener(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->removeListeners(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asNumber()
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_init(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->init(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
    count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asString(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_getSDKVersionName(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeToponCxxSpecJSI *>(&turboModule)->getSDKVersionName(
    rt
  );
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_isCnSDK(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeToponCxxSpecJSI *>(&turboModule)->isCnSDK(
    rt
  );
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_setExcludeMyOfferPkgList(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->setExcludeMyOfferPkgList(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt).asArray(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_initCustomMap(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->initCustomMap(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_setPlacementCustomMap(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->setPlacementCustomMap(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
    count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asString(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_setGDPRLevel(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->setGDPRLevel(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asNumber()
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_getGDPRLevel(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeToponCxxSpecJSI *>(&turboModule)->getGDPRLevel(
    rt
  );
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_getUserLocation(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeToponCxxSpecJSI *>(&turboModule)->getUserLocation(
    rt
  );
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_showGDPRAuth(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->showGDPRAuth(
    rt
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_setLogDebug(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->setLogDebug(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asBool()
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_deniedUploadDeviceInfo(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->deniedUploadDeviceInfo(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt).asArray(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_rewardedLoadAd(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->rewardedLoadAd(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
    count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asString(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_rewardedShowAd(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->rewardedShowAd(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_rewardedShowAdInScenario(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->rewardedShowAdInScenario(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
    count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asString(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_rewardedHasAdReady(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeToponCxxSpecJSI *>(&turboModule)->rewardedHasAdReady(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
  );
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_rewardedCheckAdStatus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeToponCxxSpecJSI *>(&turboModule)->rewardedCheckAdStatus(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
  );
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_interstitialLoadAd(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->interstitialLoadAd(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
    count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asString(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_interstitialShowAd(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->interstitialShowAd(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_interstitialShowAdInScenario(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->interstitialShowAdInScenario(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
    count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asString(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_interstitialHasAdReady(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeToponCxxSpecJSI *>(&turboModule)->interstitialHasAdReady(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
  );
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_interstitialCheckAdStatus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeToponCxxSpecJSI *>(&turboModule)->interstitialCheckAdStatus(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
  );
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_bannerLoadAd(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->bannerLoadAd(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
    count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asString(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_bannerShowAdInRectangle(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->bannerShowAdInRectangle(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
    count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asString(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_bannerShowAdInPosition(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->bannerShowAdInPosition(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
    count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asString(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_bannerShowAdInRectangleAndScenario(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->bannerShowAdInRectangleAndScenario(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
    count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asString(rt),
    count <= 2 ? throw jsi::JSError(rt, "Expected argument in position 2 to be passed") : args[2].asString(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_bannerShowAdInPositionAndScenario(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->bannerShowAdInPositionAndScenario(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
    count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asString(rt),
    count <= 2 ? throw jsi::JSError(rt, "Expected argument in position 2 to be passed") : args[2].asString(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_bannerHideAd(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->bannerHideAd(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_bannerReShowAd(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->bannerReShowAd(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_bannerRemoveAd(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeToponCxxSpecJSI *>(&turboModule)->bannerRemoveAd(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_bannerHasAdReady(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeToponCxxSpecJSI *>(&turboModule)->bannerHasAdReady(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
  );
}
static jsi::Value __hostFunction_NativeToponCxxSpecJSI_bannerCheckAdStatus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeToponCxxSpecJSI *>(&turboModule)->bannerCheckAdStatus(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
  );
}

NativeToponCxxSpecJSI::NativeToponCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
  : TurboModule("Topon", jsInvoker) {
  methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeToponCxxSpecJSI_addListener};
  methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeToponCxxSpecJSI_removeListeners};
  methodMap_["init"] = MethodMetadata {2, __hostFunction_NativeToponCxxSpecJSI_init};
  methodMap_["getSDKVersionName"] = MethodMetadata {0, __hostFunction_NativeToponCxxSpecJSI_getSDKVersionName};
  methodMap_["isCnSDK"] = MethodMetadata {0, __hostFunction_NativeToponCxxSpecJSI_isCnSDK};
  methodMap_["setExcludeMyOfferPkgList"] = MethodMetadata {1, __hostFunction_NativeToponCxxSpecJSI_setExcludeMyOfferPkgList};
  methodMap_["initCustomMap"] = MethodMetadata {1, __hostFunction_NativeToponCxxSpecJSI_initCustomMap};
  methodMap_["setPlacementCustomMap"] = MethodMetadata {2, __hostFunction_NativeToponCxxSpecJSI_setPlacementCustomMap};
  methodMap_["setGDPRLevel"] = MethodMetadata {1, __hostFunction_NativeToponCxxSpecJSI_setGDPRLevel};
  methodMap_["getGDPRLevel"] = MethodMetadata {0, __hostFunction_NativeToponCxxSpecJSI_getGDPRLevel};
  methodMap_["getUserLocation"] = MethodMetadata {0, __hostFunction_NativeToponCxxSpecJSI_getUserLocation};
  methodMap_["showGDPRAuth"] = MethodMetadata {0, __hostFunction_NativeToponCxxSpecJSI_showGDPRAuth};
  methodMap_["setLogDebug"] = MethodMetadata {1, __hostFunction_NativeToponCxxSpecJSI_setLogDebug};
  methodMap_["deniedUploadDeviceInfo"] = MethodMetadata {1, __hostFunction_NativeToponCxxSpecJSI_deniedUploadDeviceInfo};
  methodMap_["rewardedLoadAd"] = MethodMetadata {2, __hostFunction_NativeToponCxxSpecJSI_rewardedLoadAd};
  methodMap_["rewardedShowAd"] = MethodMetadata {1, __hostFunction_NativeToponCxxSpecJSI_rewardedShowAd};
  methodMap_["rewardedShowAdInScenario"] = MethodMetadata {2, __hostFunction_NativeToponCxxSpecJSI_rewardedShowAdInScenario};
  methodMap_["rewardedHasAdReady"] = MethodMetadata {1, __hostFunction_NativeToponCxxSpecJSI_rewardedHasAdReady};
  methodMap_["rewardedCheckAdStatus"] = MethodMetadata {1, __hostFunction_NativeToponCxxSpecJSI_rewardedCheckAdStatus};
  methodMap_["interstitialLoadAd"] = MethodMetadata {2, __hostFunction_NativeToponCxxSpecJSI_interstitialLoadAd};
  methodMap_["interstitialShowAd"] = MethodMetadata {1, __hostFunction_NativeToponCxxSpecJSI_interstitialShowAd};
  methodMap_["interstitialShowAdInScenario"] = MethodMetadata {2, __hostFunction_NativeToponCxxSpecJSI_interstitialShowAdInScenario};
  methodMap_["interstitialHasAdReady"] = MethodMetadata {1, __hostFunction_NativeToponCxxSpecJSI_interstitialHasAdReady};
  methodMap_["interstitialCheckAdStatus"] = MethodMetadata {1, __hostFunction_NativeToponCxxSpecJSI_interstitialCheckAdStatus};
  methodMap_["bannerLoadAd"] = MethodMetadata {2, __hostFunction_NativeToponCxxSpecJSI_bannerLoadAd};
  methodMap_["bannerShowAdInRectangle"] = MethodMetadata {2, __hostFunction_NativeToponCxxSpecJSI_bannerShowAdInRectangle};
  methodMap_["bannerShowAdInPosition"] = MethodMetadata {2, __hostFunction_NativeToponCxxSpecJSI_bannerShowAdInPosition};
  methodMap_["bannerShowAdInRectangleAndScenario"] = MethodMetadata {3, __hostFunction_NativeToponCxxSpecJSI_bannerShowAdInRectangleAndScenario};
  methodMap_["bannerShowAdInPositionAndScenario"] = MethodMetadata {3, __hostFunction_NativeToponCxxSpecJSI_bannerShowAdInPositionAndScenario};
  methodMap_["bannerHideAd"] = MethodMetadata {1, __hostFunction_NativeToponCxxSpecJSI_bannerHideAd};
  methodMap_["bannerReShowAd"] = MethodMetadata {1, __hostFunction_NativeToponCxxSpecJSI_bannerReShowAd};
  methodMap_["bannerRemoveAd"] = MethodMetadata {1, __hostFunction_NativeToponCxxSpecJSI_bannerRemoveAd};
  methodMap_["bannerHasAdReady"] = MethodMetadata {1, __hostFunction_NativeToponCxxSpecJSI_bannerHasAdReady};
  methodMap_["bannerCheckAdStatus"] = MethodMetadata {1, __hostFunction_NativeToponCxxSpecJSI_bannerCheckAdStatus};
}


} // namespace facebook::react
