Skip to content

Commit 0b9f064

Browse files
committed
segmentation
1 parent 105bec9 commit 0b9f064

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

Countly.d.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,17 @@ declare module "countly-sdk-react-native-bridge" {
6767
import type CountlyConfig from "countly-sdk-react-native-bridge/CountlyConfig";
6868

6969
namespace Countly {
70-
serverUrl: string;
71-
appKey: string;
72-
eventEmitter: any;
73-
CountlyReactNative: any;
74-
_isCrashReportingEnabled: boolean;
75-
_isInitialized: boolean;
76-
_isPushInitialized: boolean;
77-
widgetShownCallbackName: string;
78-
widgetClosedCallbackName: string;
79-
ratingWidgetCallbackName: string;
80-
pushNotificationCallbackName: string;
70+
string;
71+
string;
72+
any;
73+
any;
74+
boolean;
75+
boolean;
76+
boolean;
77+
string;
78+
string;
79+
string;
80+
string;
8181
export const TemporaryDeviceIDString: string;
8282
export interface messagingMode {
8383
DEVELOPMENT: string;
@@ -140,7 +140,7 @@ declare module "countly-sdk-react-native-bridge" {
140140
* @param {number} eventSum - A numerical value that is attached to this event (Will be summed up on the dashboard for all events with the same name)
141141
* @return {void}
142142
*/
143-
export function recordEvent(eventName: string, segments?: Segmentation, eventCount?: number, eventSum?: number): void;
143+
export function recordEvent(eventName: string, segmentation?: Segmentation, eventCount?: number, eventSum?: number): void;
144144

145145
/**
146146
*
@@ -164,7 +164,7 @@ declare module "countly-sdk-react-native-bridge" {
164164
* @param {number} eventSum - A numerical value that is attached to this event (Will be summed up on the dashboard for all events with the same name)
165165
* @return {void} void
166166
*/
167-
export function endEvent(eventName: string, segments?: Segmentation, eventCount?: number, eventSum?: number): void;
167+
export function endEvent(eventName: string, segmentation?: Segmentation, eventCount?: number, eventSum?: number): void;
168168

169169
/**
170170
*
@@ -1086,11 +1086,11 @@ declare module "countly-sdk-react-native-bridge" {
10861086
* @return {string | void} error message or void
10871087
*/
10881088
export function setCustomMetrics(customMetric: CustomMetric): string | void;
1089-
validateUserDataValue: ValidationFunction;
1090-
validateUserDataType: ValidationFunction;
1091-
validateValidUserData: ValidationFunction;
1092-
validateParseInt: ValidationFunction;
1093-
logWarning: (functionName: string, warning: string) => Promise<void>;
1089+
ValidationFunction;
1090+
ValidationFunction;
1091+
ValidationFunction;
1092+
ValidationFunction;
1093+
(functionName: string, warning: string) => Promise<void>;
10941094
}
10951095

10961096
export default Countly;

0 commit comments

Comments
 (0)