clevertap-react-native 3.9.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (321) hide show
  1. package/.claude/worktrees/ecstatic-goldberg/.claude/settings.local.json +12 -0
  2. package/.claude/worktrees/ecstatic-goldberg/.codebeatignore +1 -0
  3. package/.claude/worktrees/ecstatic-goldberg/.eslintrc.json +34 -0
  4. package/.claude/worktrees/ecstatic-goldberg/.vscode/settings.json +3 -0
  5. package/.claude/worktrees/ecstatic-goldberg/CHANGELOG.md +689 -0
  6. package/.claude/worktrees/ecstatic-goldberg/LICENSE +9 -0
  7. package/.claude/worktrees/ecstatic-goldberg/README.md +52 -0
  8. package/.claude/worktrees/ecstatic-goldberg/android/.gradle/8.5/checksums/checksums.lock +0 -0
  9. package/.claude/worktrees/ecstatic-goldberg/android/.gradle/8.5/dependencies-accessors/dependencies-accessors.lock +0 -0
  10. package/.claude/worktrees/ecstatic-goldberg/android/.gradle/8.5/fileChanges/last-build.bin +0 -0
  11. package/.claude/worktrees/ecstatic-goldberg/android/.gradle/8.5/fileHashes/fileHashes.lock +0 -0
  12. package/.claude/worktrees/ecstatic-goldberg/android/.gradle/8.5/gc.properties +0 -0
  13. package/.claude/worktrees/ecstatic-goldberg/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  14. package/.claude/worktrees/ecstatic-goldberg/android/.gradle/buildOutputCleanup/cache.properties +2 -0
  15. package/.claude/worktrees/ecstatic-goldberg/android/.gradle/vcs-1/gc.properties +0 -0
  16. package/.claude/worktrees/ecstatic-goldberg/android/build.gradle +63 -0
  17. package/.claude/worktrees/ecstatic-goldberg/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  18. package/.claude/worktrees/ecstatic-goldberg/android/gradle/wrapper/gradle-wrapper.properties +6 -0
  19. package/.claude/worktrees/ecstatic-goldberg/android/gradle.properties +2 -0
  20. package/.claude/worktrees/ecstatic-goldberg/android/gradlew +160 -0
  21. package/.claude/worktrees/ecstatic-goldberg/android/gradlew.bat +90 -0
  22. package/{android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt → .claude/worktrees/ecstatic-goldberg/android/src/main}/AndroidManifest.xml +2 -7
  23. package/.claude/worktrees/ecstatic-goldberg/android/src/main/java/com/clevertap/react/CleverTapApplication.kt +12 -0
  24. package/.claude/worktrees/ecstatic-goldberg/android/src/main/java/com/clevertap/react/CleverTapCustomTemplates.kt +66 -0
  25. package/.claude/worktrees/ecstatic-goldberg/android/src/main/java/com/clevertap/react/CleverTapEvent.kt +42 -0
  26. package/.claude/worktrees/ecstatic-goldberg/android/src/main/java/com/clevertap/react/CleverTapEventEmitter.kt +128 -0
  27. package/.claude/worktrees/ecstatic-goldberg/android/src/main/java/com/clevertap/react/CleverTapListenerProxy.kt +225 -0
  28. package/.claude/worktrees/ecstatic-goldberg/android/src/main/java/com/clevertap/react/CleverTapModuleImpl.java +2112 -0
  29. package/.claude/worktrees/ecstatic-goldberg/android/src/main/java/com/clevertap/react/CleverTapPackage.kt +36 -0
  30. package/.claude/worktrees/ecstatic-goldberg/android/src/main/java/com/clevertap/react/CleverTapRnAPI.kt +35 -0
  31. package/.claude/worktrees/ecstatic-goldberg/android/src/main/java/com/clevertap/react/CleverTapUtils.java +333 -0
  32. package/.claude/worktrees/ecstatic-goldberg/android/src/main/java/com/clevertap/react/Constants.kt +13 -0
  33. package/.claude/worktrees/ecstatic-goldberg/android/src/newarch/CleverTapModule.kt +622 -0
  34. package/.claude/worktrees/ecstatic-goldberg/android/src/oldarch/CleverTapModule.kt +716 -0
  35. package/.claude/worktrees/ecstatic-goldberg/clevertap-react-native.podspec +37 -0
  36. package/.claude/worktrees/ecstatic-goldberg/docs/CustomCodeTemplates.md +215 -0
  37. package/.claude/worktrees/ecstatic-goldberg/docs/Variables.md +191 -0
  38. package/.claude/worktrees/ecstatic-goldberg/docs/callbackPayloadFormat.md +26 -0
  39. package/.claude/worktrees/ecstatic-goldberg/docs/install.md +162 -0
  40. package/.claude/worktrees/ecstatic-goldberg/docs/integration.md +122 -0
  41. package/.claude/worktrees/ecstatic-goldberg/docs/iospushtemplates.md +582 -0
  42. package/.claude/worktrees/ecstatic-goldberg/docs/pushprimer.md +99 -0
  43. package/.claude/worktrees/ecstatic-goldberg/docs/usage.md +524 -0
  44. package/.claude/worktrees/ecstatic-goldberg/ios/CleverTapReact/CleverTapReact.h +41 -0
  45. package/.claude/worktrees/ecstatic-goldberg/ios/CleverTapReact/CleverTapReact.mm +1428 -0
  46. package/.claude/worktrees/ecstatic-goldberg/ios/CleverTapReact/CleverTapReactAppFunctionPresenter.h +20 -0
  47. package/.claude/worktrees/ecstatic-goldberg/ios/CleverTapReact/CleverTapReactAppFunctionPresenter.mm +21 -0
  48. package/.claude/worktrees/ecstatic-goldberg/ios/CleverTapReact/CleverTapReactCustomTemplates.h +42 -0
  49. package/.claude/worktrees/ecstatic-goldberg/ios/CleverTapReact/CleverTapReactCustomTemplates.mm +51 -0
  50. package/.claude/worktrees/ecstatic-goldberg/ios/CleverTapReact/CleverTapReactManager.h +14 -0
  51. package/.claude/worktrees/ecstatic-goldberg/ios/CleverTapReact/CleverTapReactManager.mm +168 -0
  52. package/.claude/worktrees/ecstatic-goldberg/ios/CleverTapReact/CleverTapReactPendingEvent.h +14 -0
  53. package/.claude/worktrees/ecstatic-goldberg/ios/CleverTapReact/CleverTapReactPendingEvent.mm +14 -0
  54. package/.claude/worktrees/ecstatic-goldberg/ios/CleverTapReact/CleverTapReactTemplatePresenter.h +22 -0
  55. package/.claude/worktrees/ecstatic-goldberg/ios/CleverTapReact/CleverTapReactTemplatePresenter.mm +21 -0
  56. package/.claude/worktrees/ecstatic-goldberg/ios/CleverTapReact.xcodeproj/project.pbxproj +371 -0
  57. package/.claude/worktrees/ecstatic-goldberg/package-lock.json +9891 -0
  58. package/.claude/worktrees/ecstatic-goldberg/package.json +57 -0
  59. package/.claude/worktrees/ecstatic-goldberg/src/NativeCleverTapModule.ts +252 -0
  60. package/.claude/worktrees/ecstatic-goldberg/src/index.d.ts +1031 -0
  61. package/.claude/worktrees/ecstatic-goldberg/src/index.js +1258 -0
  62. package/.claude/worktrees/ecstatic-goldberg/static/Finder.png +0 -0
  63. package/.claude/worktrees/ecstatic-goldberg/static/GenerateSpecs.png +0 -0
  64. package/.claude/worktrees/ecstatic-goldberg/static/NotificationContent.png +0 -0
  65. package/.claude/worktrees/ecstatic-goldberg/static/NotificationContentStoryboard.png +0 -0
  66. package/.claude/worktrees/ecstatic-goldberg/static/NotificationContentTarget.png +0 -0
  67. package/.claude/worktrees/ecstatic-goldberg/static/NotificationServiceTarget.png +0 -0
  68. package/.claude/worktrees/vigilant-davinci/.claude/settings.local.json +7 -0
  69. package/.claude/worktrees/vigilant-davinci/.codebeatignore +1 -0
  70. package/.claude/worktrees/vigilant-davinci/.eslintrc.json +34 -0
  71. package/.claude/worktrees/vigilant-davinci/.vscode/settings.json +3 -0
  72. package/.claude/worktrees/vigilant-davinci/CHANGELOG.md +702 -0
  73. package/.claude/worktrees/vigilant-davinci/LICENSE +9 -0
  74. package/.claude/worktrees/vigilant-davinci/README.md +52 -0
  75. package/.claude/worktrees/vigilant-davinci/android/.gradle/8.5/checksums/checksums.lock +0 -0
  76. package/.claude/worktrees/vigilant-davinci/android/.gradle/8.5/dependencies-accessors/dependencies-accessors.lock +0 -0
  77. package/.claude/worktrees/vigilant-davinci/android/.gradle/8.5/dependencies-accessors/gc.properties +0 -0
  78. package/.claude/worktrees/vigilant-davinci/android/.gradle/8.5/fileChanges/last-build.bin +0 -0
  79. package/.claude/worktrees/vigilant-davinci/android/.gradle/8.5/fileHashes/fileHashes.lock +0 -0
  80. package/.claude/worktrees/vigilant-davinci/android/.gradle/8.5/gc.properties +0 -0
  81. package/.claude/worktrees/vigilant-davinci/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  82. package/.claude/worktrees/vigilant-davinci/android/.gradle/buildOutputCleanup/cache.properties +2 -0
  83. package/.claude/worktrees/vigilant-davinci/android/.gradle/vcs-1/gc.properties +0 -0
  84. package/.claude/worktrees/vigilant-davinci/android/build.gradle +63 -0
  85. package/.claude/worktrees/vigilant-davinci/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  86. package/.claude/worktrees/vigilant-davinci/android/gradle/wrapper/gradle-wrapper.properties +6 -0
  87. package/.claude/worktrees/vigilant-davinci/android/gradle.properties +2 -0
  88. package/.claude/worktrees/vigilant-davinci/android/gradlew +160 -0
  89. package/.claude/worktrees/vigilant-davinci/android/gradlew.bat +90 -0
  90. package/{android/build/intermediates/merged_manifest/debug → .claude/worktrees/vigilant-davinci/android/src/main}/AndroidManifest.xml +2 -7
  91. package/.claude/worktrees/vigilant-davinci/android/src/main/java/com/clevertap/react/CleverTapApplication.kt +12 -0
  92. package/.claude/worktrees/vigilant-davinci/android/src/main/java/com/clevertap/react/CleverTapCustomTemplates.kt +66 -0
  93. package/.claude/worktrees/vigilant-davinci/android/src/main/java/com/clevertap/react/CleverTapEvent.kt +42 -0
  94. package/.claude/worktrees/vigilant-davinci/android/src/main/java/com/clevertap/react/CleverTapEventEmitter.kt +128 -0
  95. package/.claude/worktrees/vigilant-davinci/android/src/main/java/com/clevertap/react/CleverTapListenerProxy.kt +225 -0
  96. package/.claude/worktrees/vigilant-davinci/android/src/main/java/com/clevertap/react/CleverTapModuleImpl.java +2139 -0
  97. package/.claude/worktrees/vigilant-davinci/android/src/main/java/com/clevertap/react/CleverTapPackage.kt +36 -0
  98. package/.claude/worktrees/vigilant-davinci/android/src/main/java/com/clevertap/react/CleverTapRnAPI.kt +35 -0
  99. package/.claude/worktrees/vigilant-davinci/android/src/main/java/com/clevertap/react/CleverTapUtils.java +333 -0
  100. package/.claude/worktrees/vigilant-davinci/android/src/main/java/com/clevertap/react/Constants.kt +13 -0
  101. package/.claude/worktrees/vigilant-davinci/android/src/newarch/CleverTapModule.kt +622 -0
  102. package/.claude/worktrees/vigilant-davinci/android/src/oldarch/CleverTapModule.kt +716 -0
  103. package/.claude/worktrees/vigilant-davinci/clevertap-react-native.podspec +37 -0
  104. package/.claude/worktrees/vigilant-davinci/docs/CustomCodeTemplates.md +215 -0
  105. package/.claude/worktrees/vigilant-davinci/docs/Variables.md +191 -0
  106. package/.claude/worktrees/vigilant-davinci/docs/callbackPayloadFormat.md +26 -0
  107. package/.claude/worktrees/vigilant-davinci/docs/install.md +162 -0
  108. package/.claude/worktrees/vigilant-davinci/docs/integration.md +122 -0
  109. package/.claude/worktrees/vigilant-davinci/docs/iospushtemplates.md +582 -0
  110. package/.claude/worktrees/vigilant-davinci/docs/pushprimer.md +99 -0
  111. package/.claude/worktrees/vigilant-davinci/docs/usage.md +524 -0
  112. package/.claude/worktrees/vigilant-davinci/ios/CleverTapReact/CleverTapReact.h +41 -0
  113. package/.claude/worktrees/vigilant-davinci/ios/CleverTapReact/CleverTapReact.mm +1428 -0
  114. package/.claude/worktrees/vigilant-davinci/ios/CleverTapReact/CleverTapReactAppFunctionPresenter.h +20 -0
  115. package/.claude/worktrees/vigilant-davinci/ios/CleverTapReact/CleverTapReactAppFunctionPresenter.mm +21 -0
  116. package/.claude/worktrees/vigilant-davinci/ios/CleverTapReact/CleverTapReactCustomTemplates.h +42 -0
  117. package/.claude/worktrees/vigilant-davinci/ios/CleverTapReact/CleverTapReactCustomTemplates.mm +51 -0
  118. package/.claude/worktrees/vigilant-davinci/ios/CleverTapReact/CleverTapReactManager.h +14 -0
  119. package/.claude/worktrees/vigilant-davinci/ios/CleverTapReact/CleverTapReactManager.mm +168 -0
  120. package/.claude/worktrees/vigilant-davinci/ios/CleverTapReact/CleverTapReactPendingEvent.h +14 -0
  121. package/.claude/worktrees/vigilant-davinci/ios/CleverTapReact/CleverTapReactPendingEvent.mm +14 -0
  122. package/.claude/worktrees/vigilant-davinci/ios/CleverTapReact/CleverTapReactTemplatePresenter.h +22 -0
  123. package/.claude/worktrees/vigilant-davinci/ios/CleverTapReact/CleverTapReactTemplatePresenter.mm +21 -0
  124. package/.claude/worktrees/vigilant-davinci/ios/CleverTapReact.xcodeproj/project.pbxproj +371 -0
  125. package/.claude/worktrees/vigilant-davinci/package-lock.json +9891 -0
  126. package/.claude/worktrees/vigilant-davinci/package.json +57 -0
  127. package/.claude/worktrees/vigilant-davinci/src/NativeCleverTapModule.ts +252 -0
  128. package/.claude/worktrees/vigilant-davinci/src/index.d.ts +1031 -0
  129. package/.claude/worktrees/vigilant-davinci/src/index.js +1270 -0
  130. package/.claude/worktrees/vigilant-davinci/static/Finder.png +0 -0
  131. package/.claude/worktrees/vigilant-davinci/static/GenerateSpecs.png +0 -0
  132. package/.claude/worktrees/vigilant-davinci/static/NotificationContent.png +0 -0
  133. package/.claude/worktrees/vigilant-davinci/static/NotificationContentStoryboard.png +0 -0
  134. package/.claude/worktrees/vigilant-davinci/static/NotificationContentTarget.png +0 -0
  135. package/.claude/worktrees/vigilant-davinci/static/NotificationServiceTarget.png +0 -0
  136. package/CHANGELOG.md +13 -0
  137. package/android/.gradle/8.5/checksums/checksums.lock +0 -0
  138. package/android/{build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i → .gradle/8.5/checksums/sha1-checksums.bin} +0 -0
  139. package/android/.gradle/8.5/dependencies-accessors/dependencies-accessors.lock +0 -0
  140. package/android/.gradle/8.5/fileHashes/fileHashes.lock +0 -0
  141. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  142. package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
  143. package/android/build.gradle +3 -3
  144. package/clevertap-react-native.podspec +1 -1
  145. package/docs/install.md +1 -1
  146. package/ios/CleverTapReact/CleverTapReactManager.mm +8 -0
  147. package/package.json +1 -1
  148. package/src/index.js +1 -1
  149. package/android/.settings/org.eclipse.buildship.core.prefs +0 -13
  150. package/android/build/generated/source/buildConfig/debug/com/clevertap/react/BuildConfig.java +0 -12
  151. package/android/build/generated/source/codegen/java/com/clevertap/react/NativeCleverTapModuleSpec.java +0 -582
  152. package/android/build/generated/source/codegen/jni/CMakeLists.txt +0 -49
  153. package/android/build/generated/source/codegen/jni/CTTurboModuleSpec-generated.cpp +0 -764
  154. package/android/build/generated/source/codegen/jni/CTTurboModuleSpec.h +0 -31
  155. package/android/build/generated/source/codegen/jni/react/renderer/components/CTTurboModuleSpec/CTTurboModuleSpecJSI-generated.cpp +0 -1035
  156. package/android/build/generated/source/codegen/jni/react/renderer/components/CTTurboModuleSpec/CTTurboModuleSpecJSI.h +0 -1161
  157. package/android/build/generated/source/codegen/jni/react/renderer/components/CTTurboModuleSpec/ComponentDescriptors.cpp +0 -22
  158. package/android/build/generated/source/codegen/jni/react/renderer/components/CTTurboModuleSpec/ComponentDescriptors.h +0 -24
  159. package/android/build/generated/source/codegen/jni/react/renderer/components/CTTurboModuleSpec/EventEmitters.cpp +0 -16
  160. package/android/build/generated/source/codegen/jni/react/renderer/components/CTTurboModuleSpec/EventEmitters.h +0 -17
  161. package/android/build/generated/source/codegen/jni/react/renderer/components/CTTurboModuleSpec/Props.cpp +0 -19
  162. package/android/build/generated/source/codegen/jni/react/renderer/components/CTTurboModuleSpec/Props.h +0 -18
  163. package/android/build/generated/source/codegen/jni/react/renderer/components/CTTurboModuleSpec/ShadowNodes.cpp +0 -17
  164. package/android/build/generated/source/codegen/jni/react/renderer/components/CTTurboModuleSpec/ShadowNodes.h +0 -23
  165. package/android/build/generated/source/codegen/jni/react/renderer/components/CTTurboModuleSpec/States.cpp +0 -16
  166. package/android/build/generated/source/codegen/jni/react/renderer/components/CTTurboModuleSpec/States.h +0 -21
  167. package/android/build/generated/source/codegen/schema.json +0 -3695
  168. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output-metadata.json +0 -18
  169. package/android/build/intermediates/aar_main_jar/debug/classes.jar +0 -0
  170. package/android/build/intermediates/aar_metadata/debug/aar-metadata.properties +0 -6
  171. package/android/build/intermediates/annotation_processor_list/debug/annotationProcessors.json +0 -1
  172. package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
  173. package/android/build/intermediates/compile_r_class_jar/debug/R.jar +0 -0
  174. package/android/build/intermediates/compile_symbol_list/debug/R.txt +0 -7705
  175. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -1
  176. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
  177. package/android/build/intermediates/incremental/debug-mergeJavaRes/merge-state +0 -0
  178. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  179. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  180. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +0 -2
  181. package/android/build/intermediates/java_res/debug/out/META-INF/clevertap-react-native_debug.kotlin_module +0 -0
  182. package/android/build/intermediates/javac/debug/classes/com/clevertap/react/BuildConfig.class +0 -0
  183. package/android/build/intermediates/javac/debug/classes/com/clevertap/react/CleverTapModuleImpl$1.class +0 -0
  184. package/android/build/intermediates/javac/debug/classes/com/clevertap/react/CleverTapModuleImpl$10.class +0 -0
  185. package/android/build/intermediates/javac/debug/classes/com/clevertap/react/CleverTapModuleImpl$2.class +0 -0
  186. package/android/build/intermediates/javac/debug/classes/com/clevertap/react/CleverTapModuleImpl$3.class +0 -0
  187. package/android/build/intermediates/javac/debug/classes/com/clevertap/react/CleverTapModuleImpl$4.class +0 -0
  188. package/android/build/intermediates/javac/debug/classes/com/clevertap/react/CleverTapModuleImpl$5.class +0 -0
  189. package/android/build/intermediates/javac/debug/classes/com/clevertap/react/CleverTapModuleImpl$6.class +0 -0
  190. package/android/build/intermediates/javac/debug/classes/com/clevertap/react/CleverTapModuleImpl$7.class +0 -0
  191. package/android/build/intermediates/javac/debug/classes/com/clevertap/react/CleverTapModuleImpl$8.class +0 -0
  192. package/android/build/intermediates/javac/debug/classes/com/clevertap/react/CleverTapModuleImpl$9.class +0 -0
  193. package/android/build/intermediates/javac/debug/classes/com/clevertap/react/CleverTapModuleImpl$InBoxMessages.class +0 -0
  194. package/android/build/intermediates/javac/debug/classes/com/clevertap/react/CleverTapModuleImpl$TemplateContextAction.class +0 -0
  195. package/android/build/intermediates/javac/debug/classes/com/clevertap/react/CleverTapModuleImpl.class +0 -0
  196. package/android/build/intermediates/javac/debug/classes/com/clevertap/react/CleverTapUtils$1.class +0 -0
  197. package/android/build/intermediates/javac/debug/classes/com/clevertap/react/CleverTapUtils$MapUtil$ArrayUtil.class +0 -0
  198. package/android/build/intermediates/javac/debug/classes/com/clevertap/react/CleverTapUtils$MapUtil.class +0 -0
  199. package/android/build/intermediates/javac/debug/classes/com/clevertap/react/CleverTapUtils.class +0 -0
  200. package/android/build/intermediates/javac/debug/classes/com/clevertap/react/NativeCleverTapModuleSpec.class +0 -0
  201. package/android/build/intermediates/local_only_symbol_list/debug/R-def.txt +0 -2
  202. package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +0 -14
  203. package/android/build/intermediates/merged_java_res/debug/feature-clevertap-react-native.jar +0 -0
  204. package/android/build/intermediates/navigation_json/debug/navigation.json +0 -1
  205. package/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
  206. package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +0 -5786
  207. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
  208. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  209. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  210. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
  211. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  212. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
  213. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  214. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  215. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  216. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  217. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  218. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  219. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  220. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
  221. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  222. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  223. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  224. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  225. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  226. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  227. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  228. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
  229. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
  230. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
  231. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
  232. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
  233. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
  234. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
  235. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  236. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  237. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  238. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  239. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  240. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  241. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  242. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab +0 -0
  243. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.keystream +0 -0
  244. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.keystream.len +0 -0
  245. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.len +0 -0
  246. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.values.at +0 -0
  247. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab_i +0 -0
  248. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab_i.len +0 -0
  249. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  250. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  251. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  252. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  253. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  254. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  255. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  256. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  257. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  258. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  259. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  260. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  261. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  262. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  263. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  264. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  265. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  266. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  267. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  268. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
  269. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  270. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  271. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  272. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  273. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  274. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  275. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
  276. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +0 -2
  277. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
  278. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  279. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  280. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
  281. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  282. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
  283. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  284. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
  285. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  286. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  287. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
  288. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  289. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
  290. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  291. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
  292. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
  293. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  294. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
  295. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
  296. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
  297. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
  298. package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
  299. package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
  300. package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
  301. package/android/build/outputs/aar/clevertap-react-native-debug.aar +0 -0
  302. package/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -17
  303. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  304. package/android/build/tmp/kotlin-classes/debug/META-INF/clevertap-react-native_debug.kotlin_module +0 -0
  305. package/android/build/tmp/kotlin-classes/debug/com/clevertap/react/CleverTapApplication.class +0 -0
  306. package/android/build/tmp/kotlin-classes/debug/com/clevertap/react/CleverTapCustomTemplates$templatePresenter$1.class +0 -0
  307. package/android/build/tmp/kotlin-classes/debug/com/clevertap/react/CleverTapCustomTemplates.class +0 -0
  308. package/android/build/tmp/kotlin-classes/debug/com/clevertap/react/CleverTapEvent$Companion.class +0 -0
  309. package/android/build/tmp/kotlin-classes/debug/com/clevertap/react/CleverTapEvent.class +0 -0
  310. package/android/build/tmp/kotlin-classes/debug/com/clevertap/react/CleverTapEventEmitter$Buffer$items$2.class +0 -0
  311. package/android/build/tmp/kotlin-classes/debug/com/clevertap/react/CleverTapEventEmitter$Buffer.class +0 -0
  312. package/android/build/tmp/kotlin-classes/debug/com/clevertap/react/CleverTapEventEmitter.class +0 -0
  313. package/android/build/tmp/kotlin-classes/debug/com/clevertap/react/CleverTapListenerProxy.class +0 -0
  314. package/android/build/tmp/kotlin-classes/debug/com/clevertap/react/CleverTapModule$Companion.class +0 -0
  315. package/android/build/tmp/kotlin-classes/debug/com/clevertap/react/CleverTapModule.class +0 -0
  316. package/android/build/tmp/kotlin-classes/debug/com/clevertap/react/CleverTapPackage.class +0 -0
  317. package/android/build/tmp/kotlin-classes/debug/com/clevertap/react/CleverTapRnAPI.class +0 -0
  318. package/android/build/tmp/kotlin-classes/debug/com/clevertap/react/Constants.class +0 -0
  319. package/android/build/tmp/kotlin-classes/debug/com/clevertap/react/ErrorMessages.class +0 -0
  320. package/android/local.properties +0 -8
  321. /package/{android/build/intermediates/annotations_typedef_file/debug/typedefs.txt → .claude/worktrees/ecstatic-goldberg/android/.gradle/8.5/dependencies-accessors/gc.properties} +0 -0
@@ -0,0 +1,1031 @@
1
+ /*******************
2
+ * Listners & Deeplinks
3
+ ******************/
4
+
5
+ /**
6
+ * Add a CleverTap event listener
7
+ * @param {string} eventName - the CleverTap event name
8
+ * @param {function(event)} handler - Event handler
9
+ */
10
+ export function addListener(
11
+ eventName: string,
12
+ handler: Function
13
+ ): void;
14
+
15
+ /**
16
+ * Removes all of the registered listeners for given eventName.
17
+ *
18
+ * @param {string} eventName - name of the event whose registered listeners to remove
19
+ */
20
+ export function removeListener(eventName: string): void;
21
+
22
+ /**
23
+ * @deprecated - Since version 5.0.0. Use removeListener(eventName) instead
24
+ * Remove all event listeners
25
+ */
26
+ export function removeListeners(): void;
27
+
28
+ /**
29
+ * If an application is launched from a push notification click, returns the CleverTap deep link included in the push notification
30
+ * @param {function(err, res)} callback that return the url as string in res or a string error in err
31
+ */
32
+ export function getInitialUrl(callback: Callback): void;
33
+
34
+ /**
35
+ * Call this method to set Locale. If Language is english and country is US the locale format which you can set is en_US
36
+ * @param locale {string}
37
+ */
38
+ export function setLocale(locale: string): void;
39
+
40
+ /*******************
41
+ * Personalization
42
+ ******************/
43
+
44
+ /**
45
+ * Personalization
46
+ * Enables the Personalization API
47
+ */
48
+ export function enablePersonalization(): void;
49
+
50
+ /**
51
+ * Sets the user's consent for event and profile tracking.
52
+ *
53
+ * You must call this method separately for each active user profile,
54
+ * for example, when switching user profiles using `onUserLogin`.
55
+ *
56
+ * Consent Scenarios:
57
+ *
58
+ * 1. **Complete Opt-Out**
59
+ * `userOptOut = true`, `allowSystemEvents = false`
60
+ * → No events (custom or system) are saved locally or remotely. Maximum privacy.
61
+ *
62
+ * 2. **Full Opt-In**
63
+ * `userOptOut = false`, `allowSystemEvents = true`
64
+ * → All events (custom and system) are tracked. Default behavior.
65
+ *
66
+ * 3. **Partial Opt-In**
67
+ * `userOptOut = true`, `allowSystemEvents = true`
68
+ * → Only system events (e.g., app launch, notification viewed) are tracked. Custom events are ignored.
69
+ *
70
+ * ⚠️ The combination `userOptOut = false` and `allowSystemEvents = false` is invalid.
71
+ * In such cases, the SDK defaults to **Full Opt-In**.
72
+ *
73
+ * To re-enable full tracking after opting out, call with:
74
+ * `userOptOut = false`, `allowSystemEvents = true`.
75
+ *
76
+ * @param {boolean} userOptOut - Set to `true` to disable custom event tracking.
77
+ * @param {boolean} allowSystemEvents - Set to `true` to allow system-level event tracking.
78
+ * @returns {void}
79
+ */
80
+ export function setOptOut(userOptOut: boolean, allowSystemEvents?: boolean): void;
81
+
82
+ /**
83
+ * Enables the reporting of device network related information, including IP address. This reporting is disabled by default.
84
+ * @param enable {boolean}
85
+ */
86
+ export function enableDeviceNetworkInfoReporting(enable: boolean): void;
87
+
88
+ /*******************
89
+ * Push
90
+ ******************/
91
+
92
+ /**
93
+ * Registers for push notifications
94
+ */
95
+ export function registerForPush(): void;
96
+
97
+ /**
98
+ * Manually set the FCM push token on the CleverTap user profile
99
+ * @param {string} token - the device token
100
+ */
101
+ export function setFCMPushToken(token: string): void;
102
+
103
+ /**
104
+ * Manually set the push token on the CleverTap user profile for providers other than FCM
105
+ * @param {string} token - the device token
106
+ * @param {any} type - object with the following keys "type", "prefKey", "className", "messagingSDKClassName";
107
+ */
108
+ export function pushRegistrationToken(token: string, pushType: any): void;
109
+
110
+ /**
111
+ * Create Notification Channel for Android O+
112
+ * @param channelID {string}
113
+ * @param channelName {string}
114
+ * @param channelDescription {string}
115
+ * @param importance {number}
116
+ * @param showBadge {boolean}
117
+ */
118
+ export function createNotificationChannel(
119
+ channelID: string,
120
+ channelName: string,
121
+ channelDescription: string,
122
+ importance: number,
123
+ showBadge: boolean
124
+ ): void;
125
+
126
+ /**
127
+ * Create Notification Channel for Android O+
128
+ * @param channelID {string}
129
+ * @param channelName {string}
130
+ * @param channelDescription {string}
131
+ * @param importance {number}
132
+ * @param showBadge {boolean}
133
+ * @param sound {string}
134
+ */
135
+ export function createNotificationChannelWithSound(
136
+ channelID: string,
137
+ channelName: string,
138
+ channelDescription: string,
139
+ importance: number,
140
+ showBadge: boolean,
141
+ sound: string
142
+ ): void;
143
+
144
+ /**
145
+ * Create Notification Channel with Group ID for Android O+
146
+ * @param channelID {string}
147
+ * @param channelName {string}
148
+ * @param channelDescription {string}
149
+ * @param importance {number}
150
+ * @param groupId {string}
151
+ * @param showBadge {boolean}
152
+ * @param sound {string}
153
+ */
154
+ export function createNotificationChannelWithGroupId(
155
+ channelID: string,
156
+ channelName: string,
157
+ channelDescription: string,
158
+ importance: number,
159
+ groupId: string,
160
+ showBadge: boolean
161
+ ): void;
162
+
163
+ /**
164
+ * Create Notification Channel with Group ID for Android O+
165
+ * @param channelID {string}
166
+ * @param channelName {string}
167
+ * @param channelDescription {string}
168
+ * @param importance {number}
169
+ * @param groupId {string}
170
+ * @param showBadge {boolean}
171
+ */
172
+ export function createNotificationChannelWithGroupIdAndSound(
173
+ channelID: string,
174
+ channelName: string,
175
+ channelDescription: string,
176
+ importance: number,
177
+ groupId: string,
178
+ showBadge: boolean,
179
+ sound: string
180
+ ): void;
181
+
182
+ /**
183
+ * Create Notification Channel Group for Android O+
184
+ * @param groupID {string}
185
+ * @param groupName {string}
186
+ */
187
+ export function createNotificationChannelGroup(
188
+ groupID: string,
189
+ groupName: string
190
+ ): void;
191
+
192
+ /**
193
+ * Delete Notification Channel for Android O+
194
+ * @param channelID {string}
195
+ */
196
+ export function deleteNotificationChannel(channelID: string): void;
197
+
198
+ /**
199
+ * Delete Notification Group for Android O+
200
+ * @param groupID {string}
201
+ */
202
+ export function deleteNotificationChannelGroup(groupID: string): void;
203
+
204
+ /**
205
+ * Create Notification for Custom Handling Push Notifications
206
+ * @param extras {any}
207
+ */
208
+ export function createNotification(extras: any): void;
209
+
210
+ /**
211
+ * Call this method to prompt the hard permission dialog directly, if the push primer is not required.
212
+ * @param showFallbackSettings : {boolean} - Pass true to show an alert dialog which routes to app's notification settings page.
213
+ */
214
+ export function promptForPushPermission(showFallbackSettings: boolean): void;
215
+
216
+ /**
217
+ * Call this method to prompt the push primer flow.
218
+ * @param localInAppConfig : {any} object
219
+ */
220
+ export function promptPushPrimer(localInAppConfig: any): void;
221
+
222
+ /**
223
+ * Returns true/false based on whether push permission is granted or denied.
224
+ *
225
+ * @param {function(err, res)} non-null callback to retrieve the result
226
+ */
227
+ export function isPushPermissionGranted(callback: CallbackString): void;
228
+
229
+ /*******************
230
+ * Events
231
+ ******************/
232
+
233
+ /**
234
+ * Record Screen View
235
+ * @param screenName {string}
236
+ */
237
+ export function recordScreenView(screenName: string): void;
238
+ /**
239
+ * Record Event with Name and Event properties
240
+ * @param eventName {string}
241
+ * @param eventProps {any}
242
+ */
243
+ export function recordEvent(
244
+ eventName: string,
245
+ eventProps: any
246
+ ): void;
247
+
248
+ /**
249
+ * Record Charged Event with Details and Items
250
+ * @param details {any} object with transaction details
251
+ * @param items {any} array of items purchased
252
+ */
253
+ export function recordChargedEvent(
254
+ details: any,
255
+ items: any
256
+ ): void;
257
+
258
+ /**
259
+ * @deprecated
260
+ * Since version 3.2.0. Use `getUserEventLog()` instead.
261
+ * Get Event First Time
262
+ * @param eventName {string}
263
+ * callback returns epoch seconds or -1
264
+ */
265
+ export function eventGetFirstTime(eventName: string, callback: Callback): void;
266
+
267
+ /**
268
+ * @deprecated
269
+ * Since version 3.2.0. Use `getUserEventLog()` instead.
270
+ * Get Event Last Time
271
+ * @param eventName {string}
272
+ * callback returns epoch seconds or -1
273
+ */
274
+ export function eventGetLastTime(eventName: string, callback: Callback): void;
275
+
276
+ /**
277
+ * @deprecated
278
+ * Since version 3.2.0. Use `getUserEventLogCount()` instead.
279
+ * Get Event Number of Occurrences
280
+ * @param eventName {string}
281
+ * calls back with int or -1
282
+ */
283
+ export function eventGetOccurrences(eventName: string, callback: Callback): void;
284
+
285
+ /**
286
+ * @deprecated
287
+ * Since version 3.2.0. Use `getUserEventLog()` instead.
288
+ *
289
+ * Get Event Details
290
+ * @param eventName {string}
291
+ * calls back with object {"eventName": <string>, "firstTime":<epoch seconds>, "lastTime": <epoch seconds>, "count": <int>} or empty object
292
+ */
293
+ export function eventGetDetail(eventName: string, callback: Callback): void;
294
+
295
+ /**
296
+ * @deprecated
297
+ * Since version 3.2.0. Use `getUserEventLogHistory()` instead.
298
+ * Get Event History
299
+ * calls back with object {"eventName1":<event1 details object>, "eventName2":<event2 details object>}
300
+ */
301
+ export function getEventHistory(callback: Callback): void;
302
+ /**
303
+ *
304
+ * Get Event Details
305
+ * @param eventName {string}
306
+ * calls back with object {"eventName": <string>, "firstTime":<epoch seconds>, "lastTime": <epoch seconds>, "count": <int>, "deviceID": <string>, "normalizedEventName": <string>} or empty object
307
+ */
308
+ export function getUserEventLog(eventName: string, callback: Callback): void;
309
+
310
+ /**
311
+ * Get count of times an event occured
312
+ * @param eventName {string}
313
+ * calls back with int or -1
314
+ */
315
+ export function getUserEventLogCount(eventName: string, callback: Callback): void;
316
+
317
+ /**
318
+ * Get Event History
319
+ * calls back with object {"eventName1":<event1 details object>, "eventName2":<event2 details object>}
320
+ */
321
+ export function getUserEventLogHistory(callback: Callback): void;
322
+
323
+ /**
324
+ * Set location
325
+ * @param lat {number}
326
+ * @param lon {number}
327
+ */
328
+ export function setLocation(lat: number, lon: number): void;
329
+
330
+ /**
331
+ * Creates a separate and distinct user profile identified by one or more of Identity, Email, FBID or GPID values,
332
+ * and populated with the key-values included in the profile dictionary.
333
+ * If your app is used by multiple users, you can use this method to assign them each a unique profile to track them separately.
334
+ * If instead you wish to assign multiple Identity, Email, FBID and/or GPID values to the same user profile,
335
+ * use profileSet rather than this method.
336
+ * If none of Identity, Email, FBID or GPID is included in the profile dictionary,
337
+ * all properties values will be associated with the current user profile.
338
+ * When initially installed on this device, your app is assigned an "anonymous" profile.
339
+ * The first time you identify a user on this device (whether via onUserLogin or profileSet),
340
+ * the "anonymous" history on the device will be associated with the newly identified user.
341
+ * Then, use this method to switch between subsequent separate identified users.
342
+ * Please note that switching from one identified user to another is a costly operation
343
+ * in that the current session for the previous user is automatically closed
344
+ * and data relating to the old user removed, and a new session is started
345
+ * for the new user and data for that user refreshed via a network call to CleverTap.
346
+ * In addition, any global frequency caps are reset as part of the switch.
347
+ * @param profile {any} object
348
+ */
349
+ export function onUserLogin(profile: any): void;
350
+
351
+ /**
352
+ * Set profile attributes
353
+ * @param profile {any} object
354
+ */
355
+ export function profileSet(profile: any): void;
356
+
357
+ /**
358
+ * Get User Profile Property
359
+ * @param propertyName {string}
360
+ * calls back with value of propertyName or false
361
+ */
362
+ export function profileGetProperty(propertyName: string, callback: Callback): void;
363
+
364
+ /**
365
+ * @deprecated
366
+ * Since version 0.6.0. Use `getCleverTapID(callback)` instead.
367
+ *
368
+ * Get a unique CleverTap identifier suitable for use with install attribution providers.
369
+ * @param {function(err, res)} callback that returns a string res
370
+ */
371
+ export function profileGetCleverTapAttributionIdentifier(callback: CallbackString): void;
372
+
373
+ /**
374
+ * @deprecated
375
+ * Since version 0.6.0. Use `getCleverTapID(callback)` instead.
376
+ *
377
+ * Get User Profile CleverTapID
378
+ * @param {function(err, res)} callback that returns a string res
379
+ */
380
+ export function profileGetCleverTapID(callback: CallbackString): void;
381
+
382
+ /**
383
+ * Returns a unique identifier through callback by which CleverTap identifies this user
384
+ *
385
+ * @param {function(err, res)} non-null callback to retrieve identifier
386
+ */
387
+ export function getCleverTapID(callback: CallbackString): void;
388
+
389
+ /**
390
+ * Remove the property specified by key from the user profile. Alternatively this method
391
+ * can also be used to remove PII data (for eg. Email,Name,Phone), locally from database and shared prefs
392
+ * @param key {string}
393
+ */
394
+ export function profileRemoveValueForKey(key: string): void;
395
+
396
+ /**
397
+ * Method for setting a multi-value user profile property
398
+ * @param key {string}
399
+ * @param values {any} array of strings
400
+ */
401
+ export function profileSetMultiValuesForKey(values: any, key: string): void;
402
+
403
+ /**
404
+ * Method for adding a value to a multi-value user profile property
405
+ * @param key {string}
406
+ * @param value {string}
407
+ */
408
+ export function profileAddMultiValueForKey(value: string, key: string): void;
409
+
410
+ /**
411
+ * Method for adding values to a multi-value user profile property
412
+ * @param key {string}
413
+ * @param values {any} array of strings
414
+ */
415
+ export function profileAddMultiValuesForKey(values: any, key: string): void;
416
+ /**
417
+ * Method for removing a value from a multi-value user profile property
418
+ * @param key {string}
419
+ * @param value {string}
420
+ */
421
+ export function profileRemoveMultiValueForKey(value: string, key: string): void;
422
+
423
+ /**
424
+ * Method for removing a value from a multi-value user profile property
425
+ * @param key {string}
426
+ * @param values {any} array of strings
427
+ */
428
+ export function profileRemoveMultiValuesForKey(values: any, key: string): void;
429
+
430
+ /*******************************
431
+ * Increment/Decrement Operators
432
+ *******************************/
433
+
434
+ /**
435
+ * This method is used to increment the given value
436
+ *
437
+ * @param value {Number} can be int,double or float only (NaN,Infinity etc not supported)
438
+ * @param key {string} profile property
439
+ */
440
+ export function profileIncrementValueForKey(value:number, key:string): void;
441
+
442
+ /**
443
+ * This method is used to decrement the given value
444
+ *
445
+ * @param value {Number} can be int,double or float only (NaN,Infinity etc not supported)
446
+ * @param key {string} profile property
447
+ */
448
+ export function profileDecrementValueForKey(value:number, key:string): void;
449
+
450
+ /*******************
451
+ * Session
452
+ ******************/
453
+
454
+ /**
455
+ * Get Session Elapsed Time
456
+ * calls back with seconds
457
+ */
458
+ export function sessionGetTimeElapsed(callback: Callback): void;
459
+
460
+ /**
461
+ * Get timestamp of user's last app visit
462
+ * calls back with epoch seconds or -1
463
+ */
464
+ export function getUserLastVisitTs(callback: Callback): void;
465
+
466
+ /**
467
+ * Get total number of times user has lanched the app
468
+ * calls back with int or -1
469
+ */
470
+ export function getUserAppLaunchCount(callback: Callback): void;
471
+
472
+ /**
473
+ * @deprecated
474
+ * Since version 3.2.0. Use `getUserAppLaunchCount()` instead.
475
+ * Get Session Total Visits
476
+ * calls back with int or -1
477
+ */
478
+ export function sessionGetTotalVisits(callback: Callback): void;
479
+
480
+ /**
481
+ * Get Session Screen Count
482
+ * calls back with with int
483
+ */
484
+ export function sessionGetScreenCount(callback: Callback): void;
485
+
486
+ /**
487
+ * @deprecated
488
+ * Since version 3.2.0. Use `getUserLastVisits()` instead.
489
+ * Get Session Previous Visit Time
490
+ * calls back with epoch seconds or -1
491
+ */
492
+ export function sessionGetPreviousVisitTime(callback: Callback): void;
493
+
494
+ /**
495
+ * Get Sesssion Referrer UTM details
496
+ * object {"source": <string>, "medium": <string>, "campaign": <string>} or empty object
497
+ */
498
+ export function sessionGetUTMDetails(callback: Callback): void;
499
+
500
+ /**
501
+ * Call this to manually track the utm details for an incoming install referrer
502
+ * @param source {string}
503
+ * @param medium {string}
504
+ * @param campaign {string}
505
+ */
506
+ export function pushInstallReferrer(
507
+ source: string,
508
+ medium: string,
509
+ campaign: string
510
+ ): void;
511
+
512
+ /****************************
513
+ * Notification Inbox methods
514
+ ****************************/
515
+ /**
516
+ * Call this method to initialize the App Inbox
517
+ */
518
+ export function initializeInbox(): void;
519
+
520
+ /**
521
+ * Call this method to get the count of unread Inbox messages
522
+ */
523
+ export function getInboxMessageUnreadCount(callback: Callback): void;
524
+
525
+ /**
526
+ * Call this method to get the count of total Inbox messages
527
+ */
528
+ export function getInboxMessageCount(callback: Callback): void;
529
+
530
+ /**
531
+ * Call this method to open the App Inbox
532
+ * @param styleConfig : any or empty object
533
+ */
534
+ export function showInbox(styleConfig: any): void;
535
+
536
+ /**
537
+ * Call this method to dismiss the App Inbox
538
+ */
539
+ export function dismissInbox(): void;
540
+
541
+ /**
542
+ * Call this method to get all inbox messages
543
+ */
544
+ export function getAllInboxMessages(callback: Callback): void;
545
+
546
+ /**
547
+ * Call this method to get all unread inbox messages
548
+ */
549
+ export function getUnreadInboxMessages(callback: Callback): void;
550
+
551
+ /**
552
+ * Call this method to get inbox message that belongs to the given message id
553
+ */
554
+ export function getInboxMessageForId(messageId: string, callback: Callback): void;
555
+
556
+ /**
557
+ * Call this method to delete inbox message that belongs to the given message id
558
+ */
559
+ export function deleteInboxMessageForId(messageId: string): void;
560
+
561
+ /**
562
+ * Call this method to delete multiple inbox messages that belongs to the given message ids
563
+ */
564
+ export function deleteInboxMessagesForIDs(messageIds: any): void;
565
+
566
+ /**
567
+ * Call this method to mark inbox message as read
568
+ */
569
+ export function markReadInboxMessageForId(messageId: string): void;
570
+
571
+ /**
572
+ * Call this method to mark multiple inbox messages as read
573
+ */
574
+ export function markReadInboxMessagesForIDs(messageIds: any): void;
575
+
576
+ /**
577
+ * Call this method to push the Notification Clicked event for App Inbox to CleverTap
578
+ */
579
+ export function pushInboxNotificationClickedEventForId(messageId: string): void;
580
+
581
+ /**
582
+ * Call this method to push the Notification Viewed event for App Inbox to CleverTap
583
+ */
584
+ export function pushInboxNotificationViewedEventForId(messageId: string): void;
585
+
586
+ /****************************
587
+ * Native Display Methods
588
+ ****************************/
589
+
590
+ /**
591
+ * Call this method to get all display units
592
+ */
593
+ export function getAllDisplayUnits(callback: Callback): void;
594
+
595
+ /**
596
+ * Call this method to get display unit that belongs to the given unit id
597
+ */
598
+ export function getDisplayUnitForId(unitID: string, callback: Callback): void;
599
+
600
+ /**
601
+ * Call this method to raise display unit viewed event
602
+ */
603
+ export function pushDisplayUnitViewedEventForID(unitID: string): void;
604
+
605
+ /**
606
+ * Call this method to raise display unit clicked event
607
+ */
608
+ export function pushDisplayUnitClickedEventForID(unitID: string): void;
609
+
610
+ /*******************
611
+ * Product Configs
612
+ ******************/
613
+ /**
614
+ * @deprecated
615
+ * Since version 1.1.0 and will be removed in the future versions of this SDK.
616
+ *
617
+ * Sets default product config params using the given object.
618
+ * @param productConfigMap {any} key-value product config properties. keys are strings and values can be string, double, integer, boolean or json in string format.
619
+ */
620
+ export function setDefaultsMap(productConfigMap: any): void;
621
+
622
+ /**
623
+ * @deprecated
624
+ * Since version 1.1.0 and will be removed in the future versions of this SDK.
625
+ *
626
+ * Starts fetching product configs, adhering to the default minimum fetch interval.
627
+ */
628
+ export function fetch(): void;
629
+
630
+ /**
631
+ * @deprecated
632
+ * Since version 1.1.0 and will be removed in the future versions of this SDK.
633
+ *
634
+ * Starts fetching product configs, adhering to the default minimum fetch interval.
635
+ * @param intervalInSecs {number} minimum fetch interval in seconds.
636
+ */
637
+ export function fetchWithMinimumIntervalInSeconds(intervalInSecs: number): void;
638
+
639
+ /**
640
+ * @deprecated
641
+ * Since version 1.1.0 and will be removed in the future versions of this SDK.
642
+ *
643
+ * Activates the most recently fetched product configs, so that the fetched key value pairs take effect.
644
+ */
645
+ export function activate(): void;
646
+
647
+ /**
648
+ * @deprecated
649
+ * Since version 1.1.0 and will be removed in the future versions of this SDK.
650
+ *
651
+ * Asynchronously fetches and then activates the fetched product configs.
652
+ */
653
+ export function fetchAndActivate(): void;
654
+
655
+ /**
656
+ * @deprecated
657
+ * Since version 1.1.0 and will be removed in the future versions of this SDK.
658
+ *
659
+ * Sets the minimum interval in seconds between successive fetch calls.
660
+ * @param intervalInSecs {number} interval in seconds between successive fetch calls.
661
+ */
662
+ export function setMinimumFetchIntervalInSeconds(intervalInSecs: number): void;
663
+
664
+ /**
665
+ * @deprecated
666
+ * Since version 1.1.0 and will be removed in the future versions of this SDK.
667
+ *
668
+ * Deletes all activated, fetched and defaults configs as well as all Product Config settings.
669
+ */
670
+ export function resetProductConfig(): void;
671
+
672
+ /**
673
+ * @deprecated
674
+ * Since version 1.1.0 and will be removed in the future versions of this SDK.
675
+ *
676
+ * Returns the product config parameter value for the given key as a String.
677
+ * @param key {string} - the name of the key
678
+ * @param callback {Callback} - callback that returns a value of type string if present else blank
679
+ */
680
+ export function getProductConfigString(
681
+ key: string,
682
+ callback: Callback): void;
683
+
684
+ /**
685
+ * @deprecated
686
+ * Since version 1.1.0 and will be removed in the future versions of this SDK.
687
+ *
688
+ * Returns the product config parameter value for the given key as a boolean.
689
+ * @param key {string} - the name of the key
690
+ * @param callback {Callback} - callback that returns a value of type boolean if present else false
691
+ */
692
+ export function getProductConfigBoolean(
693
+ key: string,
694
+ callback: Callback): void;
695
+
696
+ /**
697
+ * @deprecated
698
+ * Since version 1.1.0 and will be removed in the future versions of this SDK.
699
+ *
700
+ * Returns the product config parameter value for the given key as a number.
701
+ * @param key {string} - the name of the key
702
+ * @param callback {Callback} - callback that returns a value of type number if present else 0
703
+ */
704
+ export function getNumber(
705
+ key: string,
706
+ callback: Callback): void;
707
+
708
+ /**
709
+ * @deprecated
710
+ * Since version 1.1.0 and will be removed in the future versions of this SDK.
711
+ *
712
+ * Returns the last fetched timestamp in millis.
713
+ * @param callback {Callback} - callback that returns value of timestamp in millis as a string.
714
+ */
715
+ export function getLastFetchTimeStampInMillis(callback: Callback): void;
716
+
717
+ /*******************
718
+ * Feature Flags
719
+ ******************/
720
+
721
+ /**
722
+ * @deprecated
723
+ * Since version 1.1.0 and will be removed in the future versions of this SDK.
724
+ *
725
+ * Getter to return the feature flag configured at the dashboard
726
+ * @param key {string} - the name of the key
727
+ * @param defaultValue {boolean} - default value of the key, in case we don't find any feature flag with the key.
728
+ * @param callback {Callback} - callback that returns a feature flag value of type boolean if present else provided default value
729
+ */
730
+ export function getFeatureFlag(
731
+ key: string,
732
+ defaultValue: boolean,
733
+ callback: Callback): void;
734
+
735
+
736
+ /*******************
737
+ * InApp Controls
738
+ ******************/
739
+
740
+ /**
741
+ * Suspends display of InApp Notifications.
742
+ * The InApp Notifications are queued once this method is called
743
+ * and will be displayed once resumeInAppNotifications() is called.
744
+ */
745
+ export function suspendInAppNotifications(): void;
746
+
747
+ /**
748
+ * Suspends the display of InApp Notifications and discards any new InApp Notifications to be shown
749
+ * after this method is called.
750
+ * The InApp Notifications will be displayed only once resumeInAppNotifications() is called.
751
+ * @param {boolean} dismissInAppIfVisible - Optional. If true, dismisses the currently visible InApp notification.
752
+ */
753
+ export function discardInAppNotifications(dismissInAppIfVisible?: boolean): void;
754
+
755
+ /**
756
+ * Resumes display of InApp Notifications.
757
+ *
758
+ * If suspendInAppNotifications() was called previously, calling this method will instantly show
759
+ * all queued InApp Notifications and also resume InApp Notifications on events raised after this
760
+ * method is called.
761
+ *
762
+ * If discardInAppNotifications() was called previously, calling this method will only resume
763
+ * InApp Notifications on events raised after this method is called.
764
+ */
765
+ export function resumeInAppNotifications(): void;
766
+
767
+ /**
768
+ * Fetches In Apps from server.
769
+ *
770
+ * @param {function(err, res)} callback a callback with a boolean flag whether the fetching was successful
771
+ */
772
+ export function fetchInApps(callback: Callback): void;
773
+
774
+ /**
775
+ * Deletes all images and gifs which are preloaded for inapps in cs mode
776
+ *
777
+ * @param {boolean} expiredOnly to clear only assets which will not be needed further for inapps
778
+ */
779
+ export function clearInAppResources(expiredOnly: boolean): void;
780
+
781
+ /*******************
782
+ * Instances
783
+ ******************/
784
+
785
+ /**
786
+ * Change the native instance of CleverTapAPI by using the instance for
787
+ * specific account. Used by Leanplum RN SDK.
788
+ *
789
+ * @param accountId {string} - The ID of the account to use when switching instance.
790
+ */
791
+ export function setInstanceWithAccountId(accountId: string): void;
792
+
793
+ /*******************
794
+ * Product Experiences: Vars
795
+ ******************/
796
+
797
+ /**
798
+ * Uploads variables to the server. Requires Development/Debug build/configuration.
799
+ */
800
+ export function syncVariables(): void;
801
+
802
+ /**
803
+ * Uploads variables to the server.
804
+ *
805
+ * @param isProduction Provide `true` if variables must be sync in Productuon build/configuration.
806
+ */
807
+ export function syncVariablesinProd(isProduction: boolean): void;
808
+
809
+ /**
810
+ * Forces variables to update from the server.
811
+ *
812
+ * @param {function(err, res)} a callback with a boolean flag whether the update was successful.
813
+ */
814
+ export function fetchVariables(callback: Callback): void;
815
+
816
+ /**
817
+ * Create variables.
818
+ *
819
+ * @param {object} variables The JSON Object specifying the varibles to be created.
820
+ */
821
+ export function defineVariables(variables: object): void;
822
+
823
+ /**
824
+ * Create File variables.
825
+ *
826
+ * @param {string} fileVariable - the file variable string.
827
+ */
828
+ export function defineFileVariable(fileVariable: string): void;
829
+
830
+ /**
831
+ * Get all variables via a JSON object.
832
+ *
833
+ */
834
+ export function getVariables(callback: Callback): void;
835
+
836
+ /**
837
+ * Get a variable or a group for the specified name.
838
+ *
839
+ * @param {string} name - name.
840
+ */
841
+ export function getVariable(name: string, callback: Callback): void;
842
+
843
+ /**
844
+ * Adds a callback to be invoked when variables are initialised with server values. Will be called each time new values are fetched.
845
+ *
846
+ * @param {function} handler The callback to add
847
+ */
848
+ export function onVariablesChanged(handler: Function): void;
849
+
850
+ /**
851
+ * Adds a callback to be invoked only once on app start, or when added if server values are already received
852
+ *
853
+ * @param {function} handler The callback to add
854
+ */
855
+ export function onOneTimeVariablesChanged(handler: Function): void;
856
+
857
+ /**
858
+ * Called when the value of the variable changes.
859
+ *
860
+ * @param {name} string the name of the variable
861
+ * @param {function} handler The callback to add
862
+ */
863
+ export function onValueChanged(name: string, handler: Function): void;
864
+
865
+ /**
866
+ * Adds a callback to be invoked when no files need to be downloaded or all downloads have been completed. It is called each time new values are fetched and downloads are completed. *
867
+ *
868
+ * @param {function} handler The callback to add
869
+ */
870
+ export function onVariablesChangedAndNoDownloadsPending(handler: Function): void;
871
+
872
+ /**
873
+ * Adds a callback to be invoked only once for when new values are fetched and downloaded
874
+ *
875
+ * @param {function} handler The callback to add
876
+ */
877
+ export function onceVariablesChangedAndNoDownloadsPending(handler: Function): void;
878
+
879
+ /**
880
+ * Called when the value of the file variable is downloaded and ready. This is only available for File variables.
881
+ *
882
+ * @param {name} string the name of the file variable
883
+ * @param {function} handler The callback to add
884
+ */
885
+ export function onFileValueChanged(name: string, handler: Function): void;
886
+
887
+ /**
888
+ /*******************
889
+ * Custom Templates
890
+ ******************/
891
+
892
+ /**
893
+ * Uploads Custom in-app templates and app functions to the server.
894
+ * Requires Development/Debug build/configuration.
895
+ */
896
+ export function syncCustomTemplates(): void;
897
+
898
+ /**
899
+ * Uploads Custom in-app templates and app functions to the server.
900
+ *
901
+ * @param isProduction Provide `true` if templates must be sync in Productuon build/configuration.
902
+ */
903
+ export function syncCustomTemplatesInProd(isProduction: boolean): void;
904
+
905
+ /**
906
+ * Returns information about the active variants for the current user. Each variant will contain
907
+ * an "id" key mapping to the numeric ID of the variant.
908
+ *
909
+ * @param callback callback that returns a list of variant objects
910
+ */
911
+ export function variants(callback: Callback): void;
912
+
913
+ /**
914
+ * Notify the SDK that an active custom template is dismissed. The active custom template is considered to be
915
+ * visible to the user until this method is called. Since the SDK can show only one InApp message at a time, all
916
+ * other messages will be queued until the current one is dismissed.
917
+ *
918
+ * @param templateName The name of the active template
919
+ */
920
+ export function customTemplateSetDismissed(templateName: string): Promise<void>;
921
+
922
+ /**
923
+ * Notify the SDK that an active custom template is presented to the user
924
+ *
925
+ * @param templateName The name of the active template
926
+ */
927
+ export function customTemplateSetPresented(templateName: string): Promise<void>;
928
+
929
+ /**
930
+ * Trigger a custom template action argument by name.
931
+ *
932
+ * @param templateName The name of an active template for which the action is defined
933
+ * @param argName The action argument name
934
+ */
935
+ export function customTemplateRunAction(templateName: string, argName: string): Promise<void>;
936
+
937
+ /**
938
+ * Retrieve a string argument by name.
939
+ *
940
+ * @param templateName The name of an active template for which the argument is defined
941
+ * @param argName The action argument name
942
+ *
943
+ * @returns The argument value or null if no such argument is defined for the template.
944
+ */
945
+ export function customTemplateGetStringArg(templateName: string, argName: string): Promise<string>;
946
+
947
+ /**
948
+ * Retrieve a number argument by name.
949
+ *
950
+ * @param templateName The name of an active template for which the argument is defined
951
+ * @param argName The action argument name
952
+ *
953
+ * @returns The argument value or null if no such argument is defined for the template.
954
+ */
955
+ export function customTemplateGetNumberArg(templateName: string, argName: string): Promise<number>;
956
+
957
+ /**
958
+ * Retrieve a boolean argument by name.
959
+ *
960
+ * @param templateName The name of an active template for which the argument is defined
961
+ * @param argName The action argument name
962
+ *
963
+ * @returns The argument value or null if no such argument is defined for the template.
964
+ */
965
+ export function customTemplateGetBooleanArg(templateName: string, argName: string): Promise<boolean>;
966
+
967
+ /**
968
+ * Retrieve a file argument by name.
969
+ *
970
+ * @param templateName The name of an active template for which the argument is defined
971
+ * @param argName The action argument name
972
+ *
973
+ * @returns The file path to the file or null if no such argument is defined for the template.
974
+ */
975
+ export function customTemplateGetFileArg(templateName: string, argName: string): Promise<string>;
976
+
977
+ /**
978
+ * Retrieve an object argument by name.
979
+ *
980
+ * @param templateName The name of an active template for which the argument is defined
981
+ * @param argName The action argument name
982
+ *
983
+ * @returns The argument value or null if no such argument is defined for the template.
984
+ */
985
+ export function customTemplateGetObjectArg(templateName: string, argName: string): Promise<any>;
986
+
987
+ /**
988
+ * Get a string representation of an active's template context with information about all arguments.
989
+ *
990
+ * @param templateName The name of an active template
991
+ */
992
+ export function customTemplateContextToString(templateName: string): Promise<string>;
993
+
994
+ /*******************
995
+ * Developer Options
996
+ ******************/
997
+ /**
998
+ * 0 is off, 1 is info, 2 is debug, default is 1
999
+ * @param level {number}
1000
+ */
1001
+ export function setDebugLevel(level: number): void;
1002
+
1003
+ type Callback = (err: object, res: object) => void;
1004
+ type CallbackString = (err: object, res: string) => void;
1005
+
1006
+ export const FCM: string;
1007
+ export const CleverTapProfileDidInitialize: string;
1008
+ export const CleverTapProfileSync: string;
1009
+ export const CleverTapInAppNotificationDismissed: string;
1010
+ export const CleverTapInAppNotificationShowed: string;
1011
+ export const CleverTapInAppNotificationButtonTapped: string;
1012
+ export const CleverTapCustomTemplatePresent: string;
1013
+ export const CleverTapCustomTemplateClose: string;
1014
+ export const CleverTapCustomFunctionPresent: string;
1015
+ export const CleverTapInboxDidInitialize: string;
1016
+ export const CleverTapInboxMessagesDidUpdate: string;
1017
+ export const CleverTapInboxMessageButtonTapped: string;
1018
+ export const CleverTapInboxMessageTapped: string;
1019
+ export const CleverTapDisplayUnitsLoaded: string;
1020
+ export const CleverTapFeatureFlagsDidUpdate: string;
1021
+ export const CleverTapProductConfigDidInitialize: string;
1022
+ export const CleverTapProductConfigDidFetch: string;
1023
+ export const CleverTapProductConfigDidActivate: string;
1024
+ export const CleverTapPushNotificationClicked: string;
1025
+ export const CleverTapPushPermissionResponseReceived: string;
1026
+ export const CleverTapOnVariablesChanged: string;
1027
+ export const CleverTapOnOneTimeVariablesChanged: string;
1028
+ export const CleverTapOnValueChanged: string;
1029
+ export const CleverTapOnVariablesChangedAndNoDownloadsPending: string;
1030
+ export const CleverTapOnceVariablesChangedAndNoDownloadsPending: string;
1031
+ export const CleverTapOnFileValueChanged: string;