/**
 * 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 "RNCustomergluSpecJSI.h"

namespace facebook::react {

static jsi::Value __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&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_NativeReactNativeCustomergluCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&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_NativeReactNativeCustomergluCxxSpecJSI_registerDevice(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->registerDevice(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt)
  );
}
static jsi::Value __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_UpdateUserAttributes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->UpdateUserAttributes(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_dataClear(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->dataClear(
    rt
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_sendData(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->sendData(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_openWallet(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->openWallet(
    rt,
    count <= 0 || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asObject(rt))
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_initCGSDK(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->initCGSDK(
    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_NativeReactNativeCustomergluCxxSpecJSI_loadCampaignById(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->loadCampaignById(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
    count <= 1 || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asObject(rt))
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_loadCampaignWithUrl(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->loadCampaignWithUrl(
    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].asObject(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_enableAnalytic(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->enableAnalytic(
    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_NativeReactNativeCustomergluCxxSpecJSI_allowAnonymousRegistration(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->allowAnonymousRegistration(
    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_NativeReactNativeCustomergluCxxSpecJSI_gluSDKDebuggingMode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->gluSDKDebuggingMode(
    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_NativeReactNativeCustomergluCxxSpecJSI_enableEntryPoints(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->enableEntryPoints(
    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_NativeReactNativeCustomergluCxxSpecJSI_setAdPopupFont(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->setAdPopupFont(
    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_NativeReactNativeCustomergluCxxSpecJSI_UpdateProfile(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->UpdateProfile(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt)
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_startSSEOnForeground(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->startSSEOnForeground(
    rt
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_disconnectSSEOnBackground(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->disconnectSSEOnBackground(
    rt
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_setSSETimeout(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->setSSETimeout(
    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_NativeReactNativeCustomergluCxxSpecJSI_DisplayCustomerGluNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->DisplayCustomerGluNotification(
    rt
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_DisplayCGNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->DisplayCGNotification(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt),
    count <= 1 || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asBool())
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_DisplayCGBackgroundNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->DisplayCGBackgroundNotification(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt),
    count <= 1 || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asBool())
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_SetCurrentClassName(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->SetCurrentClassName(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
  );
}
static jsi::Value __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_getBannerHeight(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->getBannerHeight(
    rt
  );
}
static jsi::Value __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_addMarginsForPIP(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->addMarginsForPIP(
    rt,
    count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asNumber(),
    count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asNumber(),
    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_NativeReactNativeCustomergluCxxSpecJSI_addDelayForPIP(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->addDelayForPIP(
    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_NativeReactNativeCustomergluCxxSpecJSI_setOpenWalletAsFallback(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->setOpenWalletAsFallback(
    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_NativeReactNativeCustomergluCxxSpecJSI_isCampaignValid(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->isCampaignValid(
    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)
  );
}
static jsi::Value __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_getCampaignStatus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeReactNativeCustomergluCxxSpecJSI *>(&turboModule)->getCampaignStatus(
    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)
  );
}

NativeReactNativeCustomergluCxxSpecJSI::NativeReactNativeCustomergluCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
  : TurboModule("Rncustomerglu", jsInvoker) {
  methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_addListener};
  methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_removeListeners};
  methodMap_["registerDevice"] = MethodMetadata {1, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_registerDevice};
  methodMap_["UpdateUserAttributes"] = MethodMetadata {1, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_UpdateUserAttributes};
  methodMap_["dataClear"] = MethodMetadata {0, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_dataClear};
  methodMap_["sendData"] = MethodMetadata {1, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_sendData};
  methodMap_["openWallet"] = MethodMetadata {1, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_openWallet};
  methodMap_["initCGSDK"] = MethodMetadata {1, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_initCGSDK};
  methodMap_["loadCampaignById"] = MethodMetadata {2, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_loadCampaignById};
  methodMap_["loadCampaignWithUrl"] = MethodMetadata {2, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_loadCampaignWithUrl};
  methodMap_["enableAnalytic"] = MethodMetadata {1, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_enableAnalytic};
  methodMap_["allowAnonymousRegistration"] = MethodMetadata {1, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_allowAnonymousRegistration};
  methodMap_["gluSDKDebuggingMode"] = MethodMetadata {1, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_gluSDKDebuggingMode};
  methodMap_["enableEntryPoints"] = MethodMetadata {1, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_enableEntryPoints};
  methodMap_["setAdPopupFont"] = MethodMetadata {1, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_setAdPopupFont};
  methodMap_["UpdateProfile"] = MethodMetadata {1, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_UpdateProfile};
  methodMap_["startSSEOnForeground"] = MethodMetadata {0, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_startSSEOnForeground};
  methodMap_["disconnectSSEOnBackground"] = MethodMetadata {0, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_disconnectSSEOnBackground};
  methodMap_["setSSETimeout"] = MethodMetadata {1, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_setSSETimeout};
  methodMap_["DisplayCustomerGluNotification"] = MethodMetadata {0, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_DisplayCustomerGluNotification};
  methodMap_["DisplayCGNotification"] = MethodMetadata {2, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_DisplayCGNotification};
  methodMap_["DisplayCGBackgroundNotification"] = MethodMetadata {2, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_DisplayCGBackgroundNotification};
  methodMap_["SetCurrentClassName"] = MethodMetadata {1, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_SetCurrentClassName};
  methodMap_["getBannerHeight"] = MethodMetadata {0, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_getBannerHeight};
  methodMap_["addMarginsForPIP"] = MethodMetadata {3, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_addMarginsForPIP};
  methodMap_["addDelayForPIP"] = MethodMetadata {1, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_addDelayForPIP};
  methodMap_["setOpenWalletAsFallback"] = MethodMetadata {1, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_setOpenWalletAsFallback};
  methodMap_["isCampaignValid"] = MethodMetadata {2, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_isCampaignValid};
  methodMap_["getCampaignStatus"] = MethodMetadata {2, __hostFunction_NativeReactNativeCustomergluCxxSpecJSI_getCampaignStatus};
}


} // namespace facebook::react
