/**
 * 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: GenerateModuleObjCpp
 *
 * We create an umbrella header (and corresponding implementation) here since
 * Cxx compilation in BUCK has a limitation: source-code producing genrule()s
 * must have a single output. More files => more genrule()s => slower builds.
 */

#import "RNFBRemoteConfigTurboModules.h"


@implementation NativeRNFBTurboConfigSpecBase


- (void)setEventEmitterCallback:(EventEmitterCallbackWrapper *)eventEmitterCallbackWrapper
{
  _eventEmitterCallback = std::move(eventEmitterCallbackWrapper->_eventEmitterCallback);
}
@end

@implementation RCTCxxConvert (NativeRNFBTurboConfig_ConfigSettings)
+ (RCTManagedPointer *)JS_NativeRNFBTurboConfig_ConfigSettings:(id)json
{
  return facebook::react::managedPointer<JS::NativeRNFBTurboConfig::ConfigSettings>(json);
}
@end
namespace facebook::react {
  
    static facebook::jsi::Value __hostFunction_NativeRNFBTurboConfigSpecJSI_activate(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "activate", @selector(activate:resolve:reject:), args, count);
    }

    static facebook::jsi::Value __hostFunction_NativeRNFBTurboConfigSpecJSI_setConfigSettings(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "setConfigSettings", @selector(setConfigSettings:settings:resolve:reject:), args, count);
    }

    static facebook::jsi::Value __hostFunction_NativeRNFBTurboConfigSpecJSI_fetch(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "fetch", @selector(fetch:expirationDurationSeconds:resolve:reject:), args, count);
    }

    static facebook::jsi::Value __hostFunction_NativeRNFBTurboConfigSpecJSI_fetchAndActivate(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "fetchAndActivate", @selector(fetchAndActivate:resolve:reject:), args, count);
    }

    static facebook::jsi::Value __hostFunction_NativeRNFBTurboConfigSpecJSI_ensureInitialized(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "ensureInitialized", @selector(ensureInitialized:resolve:reject:), args, count);
    }

    static facebook::jsi::Value __hostFunction_NativeRNFBTurboConfigSpecJSI_setDefaults(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "setDefaults", @selector(setDefaults:defaults:resolve:reject:), args, count);
    }

    static facebook::jsi::Value __hostFunction_NativeRNFBTurboConfigSpecJSI_setDefaultsFromResource(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "setDefaultsFromResource", @selector(setDefaultsFromResource:resourceName:resolve:reject:), args, count);
    }

    static facebook::jsi::Value __hostFunction_NativeRNFBTurboConfigSpecJSI_reset(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "reset", @selector(reset:resolve:reject:), args, count);
    }

    static facebook::jsi::Value __hostFunction_NativeRNFBTurboConfigSpecJSI_onConfigUpdated(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "onConfigUpdated", @selector(onConfigUpdated:), args, count);
    }

    static facebook::jsi::Value __hostFunction_NativeRNFBTurboConfigSpecJSI_removeConfigUpdateRegistration(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "removeConfigUpdateRegistration", @selector(removeConfigUpdateRegistration:), args, count);
    }

    static facebook::jsi::Value __hostFunction_NativeRNFBTurboConfigSpecJSI_setCustomSignals(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "setCustomSignals", @selector(setCustomSignals:customSignals:resolve:reject:), args, count);
    }

    static facebook::jsi::Value __hostFunction_NativeRNFBTurboConfigSpecJSI_getConstants(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
      return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, ObjectKind, "getConstants", @selector(getConstants), args, count);
    }

  NativeRNFBTurboConfigSpecJSI::NativeRNFBTurboConfigSpecJSI(const ObjCTurboModule::InitParams &params)
    : ObjCTurboModule(params) {
      
        methodMap_["activate"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboConfigSpecJSI_activate};
        
        
        methodMap_["setConfigSettings"] = MethodMetadata {2, __hostFunction_NativeRNFBTurboConfigSpecJSI_setConfigSettings};
        setMethodArgConversionSelector(@"setConfigSettings", 1, @"JS_NativeRNFBTurboConfig_ConfigSettings:");
        
        methodMap_["fetch"] = MethodMetadata {2, __hostFunction_NativeRNFBTurboConfigSpecJSI_fetch};
        
        
        methodMap_["fetchAndActivate"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboConfigSpecJSI_fetchAndActivate};
        
        
        methodMap_["ensureInitialized"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboConfigSpecJSI_ensureInitialized};
        
        
        methodMap_["setDefaults"] = MethodMetadata {2, __hostFunction_NativeRNFBTurboConfigSpecJSI_setDefaults};
        
        
        methodMap_["setDefaultsFromResource"] = MethodMetadata {2, __hostFunction_NativeRNFBTurboConfigSpecJSI_setDefaultsFromResource};
        
        
        methodMap_["reset"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboConfigSpecJSI_reset};
        
        
        methodMap_["onConfigUpdated"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboConfigSpecJSI_onConfigUpdated};
        
        
        methodMap_["removeConfigUpdateRegistration"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboConfigSpecJSI_removeConfigUpdateRegistration};
        
        
        methodMap_["setCustomSignals"] = MethodMetadata {2, __hostFunction_NativeRNFBTurboConfigSpecJSI_setCustomSignals};
        
        
        methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeRNFBTurboConfigSpecJSI_getConstants};
        
  }
} // namespace facebook::react
