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

namespace facebook::react {

static jsi::Value __hostFunction_NativeCustomergluPluginCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeCustomergluPluginCxxSpecJSI *>(&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_NativeCustomergluPluginCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeCustomergluPluginCxxSpecJSI *>(&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_NativeCustomergluPluginCxxSpecJSI_registerDevice(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeCustomergluPluginCxxSpecJSI *>(&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_NativeCustomergluPluginCxxSpecJSI_UpdateUserAttributes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeCustomergluPluginCxxSpecJSI *>(&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_NativeCustomergluPluginCxxSpecJSI_dataClear(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeCustomergluPluginCxxSpecJSI *>(&turboModule)->dataClear(
    rt
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeCustomergluPluginCxxSpecJSI_sendData(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeCustomergluPluginCxxSpecJSI *>(&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_NativeCustomergluPluginCxxSpecJSI_openWallet(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeCustomergluPluginCxxSpecJSI *>(&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_NativeCustomergluPluginCxxSpecJSI_initCGSDK(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeCustomergluPluginCxxSpecJSI *>(&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_NativeCustomergluPluginCxxSpecJSI_loadCampaignById(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeCustomergluPluginCxxSpecJSI *>(&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_NativeCustomergluPluginCxxSpecJSI_loadCampaignWithUrl(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeCustomergluPluginCxxSpecJSI *>(&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_NativeCustomergluPluginCxxSpecJSI_enableAnalytic(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeCustomergluPluginCxxSpecJSI *>(&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_NativeCustomergluPluginCxxSpecJSI_allowAnonymousRegistration(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeCustomergluPluginCxxSpecJSI *>(&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_NativeCustomergluPluginCxxSpecJSI_gluSDKDebuggingMode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeCustomergluPluginCxxSpecJSI *>(&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_NativeCustomergluPluginCxxSpecJSI_enableEntryPoints(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeCustomergluPluginCxxSpecJSI *>(&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_NativeCustomergluPluginCxxSpecJSI_isFcmApn(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeCustomergluPluginCxxSpecJSI *>(&turboModule)->isFcmApn(
    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_NativeCustomergluPluginCxxSpecJSI_UpdateProfile(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeCustomergluPluginCxxSpecJSI *>(&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_NativeCustomergluPluginCxxSpecJSI_DisplayCustomerGluNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeCustomergluPluginCxxSpecJSI *>(&turboModule)->DisplayCustomerGluNotification(
    rt
  );
  return jsi::Value::undefined();
}
static jsi::Value __hostFunction_NativeCustomergluPluginCxxSpecJSI_DisplayCGNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeCustomergluPluginCxxSpecJSI *>(&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_NativeCustomergluPluginCxxSpecJSI_DisplayCGBackgroundNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeCustomergluPluginCxxSpecJSI *>(&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_NativeCustomergluPluginCxxSpecJSI_SetCurrentClassName(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeCustomergluPluginCxxSpecJSI *>(&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_NativeCustomergluPluginCxxSpecJSI_setApnFcmToken(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeCustomergluPluginCxxSpecJSI *>(&turboModule)->setApnFcmToken(
    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_NativeCustomergluPluginCxxSpecJSI_getBannerHeight(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeCustomergluPluginCxxSpecJSI *>(&turboModule)->getBannerHeight(
    rt
  );
}
static jsi::Value __hostFunction_NativeCustomergluPluginCxxSpecJSI_addMarginsForPIP(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeCustomergluPluginCxxSpecJSI *>(&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_NativeCustomergluPluginCxxSpecJSI_addDelayForPIP(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeCustomergluPluginCxxSpecJSI *>(&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_NativeCustomergluPluginCxxSpecJSI_setOpenWalletAsFallback(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  static_cast<NativeCustomergluPluginCxxSpecJSI *>(&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_NativeCustomergluPluginCxxSpecJSI_isCampaignValid(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeCustomergluPluginCxxSpecJSI *>(&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_NativeCustomergluPluginCxxSpecJSI_getCampaignStatus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
  return static_cast<NativeCustomergluPluginCxxSpecJSI *>(&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)
  );
}

NativeCustomergluPluginCxxSpecJSI::NativeCustomergluPluginCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
  : TurboModule("Customerglu", jsInvoker) {
  methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeCustomergluPluginCxxSpecJSI_addListener};
  methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeCustomergluPluginCxxSpecJSI_removeListeners};
  methodMap_["registerDevice"] = MethodMetadata {1, __hostFunction_NativeCustomergluPluginCxxSpecJSI_registerDevice};
  methodMap_["UpdateUserAttributes"] = MethodMetadata {1, __hostFunction_NativeCustomergluPluginCxxSpecJSI_UpdateUserAttributes};
  methodMap_["dataClear"] = MethodMetadata {0, __hostFunction_NativeCustomergluPluginCxxSpecJSI_dataClear};
  methodMap_["sendData"] = MethodMetadata {1, __hostFunction_NativeCustomergluPluginCxxSpecJSI_sendData};
  methodMap_["openWallet"] = MethodMetadata {1, __hostFunction_NativeCustomergluPluginCxxSpecJSI_openWallet};
  methodMap_["initCGSDK"] = MethodMetadata {1, __hostFunction_NativeCustomergluPluginCxxSpecJSI_initCGSDK};
  methodMap_["loadCampaignById"] = MethodMetadata {2, __hostFunction_NativeCustomergluPluginCxxSpecJSI_loadCampaignById};
  methodMap_["loadCampaignWithUrl"] = MethodMetadata {2, __hostFunction_NativeCustomergluPluginCxxSpecJSI_loadCampaignWithUrl};
  methodMap_["enableAnalytic"] = MethodMetadata {1, __hostFunction_NativeCustomergluPluginCxxSpecJSI_enableAnalytic};
  methodMap_["allowAnonymousRegistration"] = MethodMetadata {1, __hostFunction_NativeCustomergluPluginCxxSpecJSI_allowAnonymousRegistration};
  methodMap_["gluSDKDebuggingMode"] = MethodMetadata {1, __hostFunction_NativeCustomergluPluginCxxSpecJSI_gluSDKDebuggingMode};
  methodMap_["enableEntryPoints"] = MethodMetadata {1, __hostFunction_NativeCustomergluPluginCxxSpecJSI_enableEntryPoints};
  methodMap_["isFcmApn"] = MethodMetadata {1, __hostFunction_NativeCustomergluPluginCxxSpecJSI_isFcmApn};
  methodMap_["UpdateProfile"] = MethodMetadata {1, __hostFunction_NativeCustomergluPluginCxxSpecJSI_UpdateProfile};
  methodMap_["DisplayCustomerGluNotification"] = MethodMetadata {0, __hostFunction_NativeCustomergluPluginCxxSpecJSI_DisplayCustomerGluNotification};
  methodMap_["DisplayCGNotification"] = MethodMetadata {2, __hostFunction_NativeCustomergluPluginCxxSpecJSI_DisplayCGNotification};
  methodMap_["DisplayCGBackgroundNotification"] = MethodMetadata {2, __hostFunction_NativeCustomergluPluginCxxSpecJSI_DisplayCGBackgroundNotification};
  methodMap_["SetCurrentClassName"] = MethodMetadata {1, __hostFunction_NativeCustomergluPluginCxxSpecJSI_SetCurrentClassName};
  methodMap_["setApnFcmToken"] = MethodMetadata {2, __hostFunction_NativeCustomergluPluginCxxSpecJSI_setApnFcmToken};
  methodMap_["getBannerHeight"] = MethodMetadata {0, __hostFunction_NativeCustomergluPluginCxxSpecJSI_getBannerHeight};
  methodMap_["addMarginsForPIP"] = MethodMetadata {3, __hostFunction_NativeCustomergluPluginCxxSpecJSI_addMarginsForPIP};
  methodMap_["addDelayForPIP"] = MethodMetadata {1, __hostFunction_NativeCustomergluPluginCxxSpecJSI_addDelayForPIP};
  methodMap_["setOpenWalletAsFallback"] = MethodMetadata {1, __hostFunction_NativeCustomergluPluginCxxSpecJSI_setOpenWalletAsFallback};
  methodMap_["isCampaignValid"] = MethodMetadata {2, __hostFunction_NativeCustomergluPluginCxxSpecJSI_isCampaignValid};
  methodMap_["getCampaignStatus"] = MethodMetadata {2, __hostFunction_NativeCustomergluPluginCxxSpecJSI_getCampaignStatus};
}


} // namespace facebook::react
