From a5d5dd46cbe5809916885c25ebd630765800caa1 Mon Sep 17 00:00:00 2001 From: Orly Lampert Date: Mon, 15 Apr 2019 11:50:57 +0300 Subject: [PATCH 1/2] new entry source types for KMS GO --- api_v3/web/analyticsSyncServe.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api_v3/web/analyticsSyncServe.php b/api_v3/web/analyticsSyncServe.php index eea3c65da10..205d196b227 100644 --- a/api_v3/web/analyticsSyncServe.php +++ b/api_v3/web/analyticsSyncServe.php @@ -25,6 +25,9 @@ define('SOURCE_WEBEX', -15); define('SOURCE_ZOOM', -16); define('SOURCE_EXPRESS_RECORDER', -17); +define('SOURCE_KMS_NATIVE_ANDROID_APP', -18); +define('SOURCE_KMS_NATIVE_IOS_APP', -19); + define('CREATED_DAY_TS', 'UNIX_TIMESTAMP(DATE(CREATED_AT))'); $sourceFromAdminTag = array( @@ -36,6 +39,8 @@ 'webexentry' => SOURCE_WEBEX, 'zoomentry' => SOURCE_ZOOM, 'expressrecorder' => SOURCE_EXPRESS_RECORDER, + 'source_KMSNativeAndroidApp' => SOURCE_KMS_NATIVE_ANDROID_APP, + 'source_KMSNativeIOSApp' => SOURCE_KMS_NATIVE_IOS_APP, ); function getPartnerVertical($customData) From 599606b3c71a9ede3b7e773ca187a591a5e0b27d Mon Sep 17 00:00:00 2001 From: Orly Lampert Date: Tue, 16 Apr 2019 10:33:26 +0300 Subject: [PATCH 2/2] new entry source types for KMS GO --- api_v3/web/analyticsSyncServe.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api_v3/web/analyticsSyncServe.php b/api_v3/web/analyticsSyncServe.php index 205d196b227..321162a6821 100644 --- a/api_v3/web/analyticsSyncServe.php +++ b/api_v3/web/analyticsSyncServe.php @@ -39,8 +39,8 @@ 'webexentry' => SOURCE_WEBEX, 'zoomentry' => SOURCE_ZOOM, 'expressrecorder' => SOURCE_EXPRESS_RECORDER, - 'source_KMSNativeAndroidApp' => SOURCE_KMS_NATIVE_ANDROID_APP, - 'source_KMSNativeIOSApp' => SOURCE_KMS_NATIVE_IOS_APP, + 'kmsnativeandroid' => SOURCE_KMS_NATIVE_ANDROID_APP, + 'kmsnativeios' => SOURCE_KMS_NATIVE_IOS_APP, ); function getPartnerVertical($customData)