Showing
2 changed files
with
568 additions
and
555 deletions
... | @@ -2,7 +2,7 @@ apply plugin: 'com.android.library' | ... | @@ -2,7 +2,7 @@ apply plugin: 'com.android.library' |
2 | 2 | ||
3 | ext { | 3 | ext { |
4 | PUBLISH_GROUP_ID = 'ly.warp' | 4 | PUBLISH_GROUP_ID = 'ly.warp' |
5 | - PUBLISH_VERSION = '4.5.4-cosbeta89' | 5 | + PUBLISH_VERSION = '4.5.4-cosbeta90' |
6 | PUBLISH_ARTIFACT_ID = 'warply-android-sdk' | 6 | PUBLISH_ARTIFACT_ID = 'warply-android-sdk' |
7 | } | 7 | } |
8 | 8 | ||
... | @@ -76,9 +76,9 @@ dependencies { | ... | @@ -76,9 +76,9 @@ dependencies { |
76 | 76 | ||
77 | //------------------------------ Huawei -----------------------------// | 77 | //------------------------------ Huawei -----------------------------// |
78 | implementation 'com.huawei.agconnect:agconnect-core:1.6.5.300' | 78 | implementation 'com.huawei.agconnect:agconnect-core:1.6.5.300' |
79 | - implementation 'com.huawei.hms:base:6.4.0.302' | 79 | + implementation 'com.huawei.hms:base:6.6.0.300' |
80 | - implementation 'com.huawei.hms:push:6.3.0.304' | 80 | + implementation 'com.huawei.hms:push:6.7.0.300' |
81 | - implementation 'com.huawei.hms:ads-identifier:3.4.39.302' | 81 | + implementation 'com.huawei.hms:ads-identifier:3.4.56.300' |
82 | 82 | ||
83 | //------------------------------ SQLCipher -----------------------------// | 83 | //------------------------------ SQLCipher -----------------------------// |
84 | api "net.zetetic:android-database-sqlcipher:4.5.0" | 84 | api "net.zetetic:android-database-sqlcipher:4.5.0" | ... | ... |
... | @@ -26,14 +26,18 @@ | ... | @@ -26,14 +26,18 @@ |
26 | package ly.warp.sdk.utils.managers; | 26 | package ly.warp.sdk.utils.managers; |
27 | 27 | ||
28 | import android.app.ActivityManager; | 28 | import android.app.ActivityManager; |
29 | +import android.app.AlarmManager; | ||
30 | +import android.app.PendingIntent; | ||
29 | import android.content.Context; | 31 | import android.content.Context; |
30 | import android.content.Intent; | 32 | import android.content.Intent; |
31 | import android.os.Build; | 33 | import android.os.Build; |
34 | +import android.os.SystemClock; | ||
32 | 35 | ||
33 | import androidx.work.OneTimeWorkRequest; | 36 | import androidx.work.OneTimeWorkRequest; |
34 | import androidx.work.WorkManager; | 37 | import androidx.work.WorkManager; |
35 | 38 | ||
36 | import org.greenrobot.eventbus.EventBus; | 39 | import org.greenrobot.eventbus.EventBus; |
40 | +import org.json.JSONArray; | ||
37 | import org.json.JSONException; | 41 | import org.json.JSONException; |
38 | import org.json.JSONObject; | 42 | import org.json.JSONObject; |
39 | 43 | ||
... | @@ -74,6 +78,7 @@ import ly.warp.sdk.io.models.Coupon; | ... | @@ -74,6 +78,7 @@ import ly.warp.sdk.io.models.Coupon; |
74 | import ly.warp.sdk.io.models.CouponList; | 78 | import ly.warp.sdk.io.models.CouponList; |
75 | import ly.warp.sdk.io.models.Couponset; | 79 | import ly.warp.sdk.io.models.Couponset; |
76 | import ly.warp.sdk.io.models.CouponsetsList; | 80 | import ly.warp.sdk.io.models.CouponsetsList; |
81 | +import ly.warp.sdk.io.models.LoyaltyContextualOfferModel; | ||
77 | import ly.warp.sdk.io.models.MerchantCategoriesList; | 82 | import ly.warp.sdk.io.models.MerchantCategoriesList; |
78 | import ly.warp.sdk.io.models.MerchantList; | 83 | import ly.warp.sdk.io.models.MerchantList; |
79 | import ly.warp.sdk.io.models.PacingDetails; | 84 | import ly.warp.sdk.io.models.PacingDetails; |
... | @@ -832,7 +837,11 @@ public class WarplyManager { | ... | @@ -832,7 +837,11 @@ public class WarplyManager { |
832 | if (profMetadata.has("steps_enabled") && profMetadata.optBoolean("steps_enabled")) { | 837 | if (profMetadata.has("steps_enabled") && profMetadata.optBoolean("steps_enabled")) { |
833 | if (!isMyServiceRunning(WarplyHealthService.class)) { | 838 | if (!isMyServiceRunning(WarplyHealthService.class)) { |
834 | Intent stepsServiceIntent = new Intent(Warply.getWarplyContext(), WarplyHealthService.class); | 839 | Intent stepsServiceIntent = new Intent(Warply.getWarplyContext(), WarplyHealthService.class); |
835 | - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { | 840 | + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { |
841 | + AlarmManager mgr = (AlarmManager) Warply.getWarplyContext().getSystemService(Context.ALARM_SERVICE); | ||
842 | + PendingIntent pi = PendingIntent.getService(Warply.getWarplyContext(), 2002, stepsServiceIntent, PendingIntent.FLAG_ONE_SHOT); | ||
843 | + mgr.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, SystemClock.elapsedRealtime() + 1000, pi); | ||
844 | + } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { | ||
836 | Warply.getWarplyContext().startForegroundService(stepsServiceIntent); | 845 | Warply.getWarplyContext().startForegroundService(stepsServiceIntent); |
837 | } else { | 846 | } else { |
838 | Warply.getWarplyContext().startService(stepsServiceIntent); | 847 | Warply.getWarplyContext().startService(stepsServiceIntent); |
... | @@ -1455,556 +1464,556 @@ public class WarplyManager { | ... | @@ -1455,556 +1464,556 @@ public class WarplyManager { |
1455 | } | 1464 | } |
1456 | WarplyManagerHelper.setCarouselList(campaignCarouselList); | 1465 | WarplyManagerHelper.setCarouselList(campaignCarouselList); |
1457 | 1466 | ||
1458 | - // ArrayList<LoyaltyContextualOfferModel> list = new ArrayList<>(); | 1467 | +// ArrayList<LoyaltyContextualOfferModel> list = new ArrayList<>(); |
1459 | -// JSONArray jArray = null; | 1468 | +// JSONArray jArray = null; |
1460 | -// try { | 1469 | +// try { |
1461 | -// jArray = new JSONArray("[\n" + | 1470 | +// jArray = new JSONArray("[\n" + |
1462 | -// " {\n" + | 1471 | +// " {\n" + |
1463 | -// " \"UACIOfferTrackingCode\": \"5166.e07.fffffffffa10663a.ffffffffda30c76a\",\n" + | 1472 | +// " \"UACIOfferTrackingCode\": \"5166.e07.fffffffffa10663a.ffffffffda30c76a\",\n" + |
1464 | -// " \"businessAdditionalId\": \"\",\n" + | 1473 | +// " \"businessAdditionalId\": \"\",\n" + |
1465 | -// " \"dataCategory\": \"Data\",\n" + | 1474 | +// " \"dataCategory\": \"Data\",\n" + |
1466 | -// " \"dataValue\": \"None\",\n" + | 1475 | +// " \"dataValue\": \"None\",\n" + |
1467 | -// " \"discount\": \"None\",\n" + | 1476 | +// " \"discount\": \"None\",\n" + |
1468 | -// " \"eligibleAssets\": [\n" + | 1477 | +// " \"eligibleAssets\": [\n" + |
1469 | -// " \"306945218770\",\n" + | 1478 | +// " \"306945218770\",\n" + |
1470 | -// " \"306944333488\",\n" + | 1479 | +// " \"306944333488\",\n" + |
1471 | -// " \"306932222490\",\n" + | 1480 | +// " \"306932222490\",\n" + |
1472 | -// " \"306996824010\",\n" + | 1481 | +// " \"306996824010\",\n" + |
1473 | -// " \"306972713201\",\n" + | 1482 | +// " \"306972713201\",\n" + |
1474 | -// " \"306942496252\",\n" + | 1483 | +// " \"306942496252\",\n" + |
1475 | -// " \"306977316716\",\n" + | 1484 | +// " \"306977316716\",\n" + |
1476 | -// " \"306945433100\",\n" + | 1485 | +// " \"306945433100\",\n" + |
1477 | -// " \"306977403986\",\n" + | 1486 | +// " \"306977403986\",\n" + |
1478 | -// " \"306936581495\",\n" + | 1487 | +// " \"306936581495\",\n" + |
1479 | -// " \"306980689662\",\n" + | 1488 | +// " \"306980689662\",\n" + |
1480 | -// " \"306970101490\",\n" + | 1489 | +// " \"306970101490\",\n" + |
1481 | -// " \"306973396329\",\n" + | 1490 | +// " \"306973396329\",\n" + |
1482 | -// " \"306972577064\",\n" + | 1491 | +// " \"306972577064\",\n" + |
1483 | -// " \"306974923219\",\n" + | 1492 | +// " \"306974923219\",\n" + |
1484 | -// " \"306977513761\",\n" + | 1493 | +// " \"306977513761\",\n" + |
1485 | -// " \"306984220987\",\n" + | 1494 | +// " \"306984220987\",\n" + |
1486 | -// " \"306979949205\",\n" + | 1495 | +// " \"306979949205\",\n" + |
1487 | -// " \"306943134127\",\n" + | 1496 | +// " \"306943134127\",\n" + |
1488 | -// " \"306970437794\",\n" + | 1497 | +// " \"306970437794\",\n" + |
1489 | -// " \"306932535319\",\n" + | 1498 | +// " \"306932535319\",\n" + |
1490 | -// " \"306974063133\",\n" + | 1499 | +// " \"306974063133\",\n" + |
1491 | -// " \"306932520323\",\n" + | 1500 | +// " \"306932520323\",\n" + |
1492 | -// " \"306978733823\",\n" + | 1501 | +// " \"306978733823\",\n" + |
1493 | -// " \"306985995420\",\n" + | 1502 | +// " \"306985995420\",\n" + |
1494 | -// " \"306983879555\",\n" + | 1503 | +// " \"306983879555\",\n" + |
1495 | -// " ],\n" + | 1504 | +// " ],\n" + |
1496 | -// " \"id\": \"000003590\",\n" + | 1505 | +// " \"id\": \"000003590\",\n" + |
1497 | -// " \"loyaltyCampaignId\": \"NA\",\n" + | 1506 | +// " \"loyaltyCampaignId\": \"NA\",\n" + |
1498 | -// " \"minsValue\": \"None\",\n" + | 1507 | +// " \"minsValue\": \"None\",\n" + |
1499 | -// " \"noOfRecurrance\": \"None\",\n" + | 1508 | +// " \"noOfRecurrance\": \"None\",\n" + |
1500 | -// " \"notificationMessage\": \"None\",\n" + | 1509 | +// " \"notificationMessage\": \"None\",\n" + |
1501 | -// " \"offerAudienceLevel\": \"msisdn\",\n" + | 1510 | +// " \"offerAudienceLevel\": \"msisdn\",\n" + |
1502 | -// " \"offerCode1\": \"000003590\",\n" + | 1511 | +// " \"offerCode1\": \"000003590\",\n" + |
1503 | -// " \"offerName\": \"CCMS loyalty white label\",\n" + | 1512 | +// " \"offerName\": \"CCMS loyalty white label\",\n" + |
1504 | -// " \"price\": \"None\",\n" + | 1513 | +// " \"price\": \"None\",\n" + |
1505 | -// " \"productType\": \"White Label\",\n" + | 1514 | +// " \"productType\": \"White Label\",\n" + |
1506 | -// " \"provDuration\": \"0.0\",\n" + | 1515 | +// " \"provDuration\": \"0.0\",\n" + |
1507 | -// " \"provStepValueMins\": \"None\",\n" + | 1516 | +// " \"provStepValueMins\": \"None\",\n" + |
1508 | -// " \"score\": \"50\",\n" + | 1517 | +// " \"score\": \"50\",\n" + |
1509 | -// " \"treatmentCode\": \"5166.e07.fffffffffa10663a.ffffffffda30c76a\",\n" + | 1518 | +// " \"treatmentCode\": \"5166.e07.fffffffffa10663a.ffffffffda30c76a\",\n" + |
1510 | -// " \"validity\": \"0\",\n" + | 1519 | +// " \"validity\": \"0\",\n" + |
1511 | -// " \"voiceCategory\": \"None\",\n" + | 1520 | +// " \"voiceCategory\": \"None\",\n" + |
1512 | -// " \"wave\": \"1\",\n" + | 1521 | +// " \"wave\": \"1\",\n" + |
1513 | -// " \"zone\": \"COSMOTE_APP_LOYALTY_PROMO\"\n" + | 1522 | +// " \"zone\": \"COSMOTE_APP_LOYALTY_PROMO\"\n" + |
1514 | -// " },\n" + | 1523 | +// " },\n" + |
1515 | -// " {\n" + | 1524 | +// " {\n" + |
1516 | -// " \"UACIOfferTrackingCode\": \"546d.ea1.ffffffffcc4c34b3.c64ed53\",\n" + | 1525 | +// " \"UACIOfferTrackingCode\": \"546d.ea1.ffffffffcc4c34b3.c64ed53\",\n" + |
1517 | -// " \"businessAdditionalId\": \"\",\n" + | 1526 | +// " \"businessAdditionalId\": \"\",\n" + |
1518 | -// " \"dataCategory\": \"Data\",\n" + | 1527 | +// " \"dataCategory\": \"Data\",\n" + |
1519 | -// " \"dataValue\": \"1\",\n" + | 1528 | +// " \"dataValue\": \"1\",\n" + |
1520 | -// " \"description\": \"5days1000 3744\",\n" + | 1529 | +// " \"description\": \"5days1000 3744\",\n" + |
1521 | -// " \"discount\": \"None\",\n" + | 1530 | +// " \"discount\": \"None\",\n" + |
1522 | -// " \"duration\": \"5\",\n" + | 1531 | +// " \"duration\": \"5\",\n" + |
1523 | -// " \"eligibleAssets\": [],\n" + | 1532 | +// " \"eligibleAssets\": [],\n" + |
1524 | -// " \"giftType\": \"GB\",\n" + | 1533 | +// " \"giftType\": \"GB\",\n" + |
1525 | -// " \"giftValue\": \"1\",\n" + | 1534 | +// " \"giftValue\": \"1\",\n" + |
1526 | -// " \"id\": \"000003744\",\n" + | 1535 | +// " \"id\": \"000003744\",\n" + |
1527 | -// " \"imageOfferUrl\": \"https://uatatg.cosmote.gr/images/ContexualOffers//testOffer/x3_detailed_default.png\",\n" + | 1536 | +// " \"imageOfferUrl\": \"https://uatatg.cosmote.gr/images/ContexualOffers//testOffer/x3_detailed_default.png\",\n" + |
1528 | -// " \"imageUrl\": \"https://uatatg.cosmote.gr/images/ContexualOffers//testOffer/x3_store_default.png\",\n" + | 1537 | +// " \"imageUrl\": \"https://uatatg.cosmote.gr/images/ContexualOffers//testOffer/x3_store_default.png\",\n" + |
1529 | -// " \"loyaltyCampaignId\": \"NA\",\n" + | 1538 | +// " \"loyaltyCampaignId\": \"NA\",\n" + |
1530 | -// " \"minsValue\": \"None\",\n" + | 1539 | +// " \"minsValue\": \"None\",\n" + |
1531 | -// " \"noOfRecurrance\": \"5\",\n" + | 1540 | +// " \"noOfRecurrance\": \"5\",\n" + |
1532 | -// " \"notificationMessage\": \"5days1000 3744\",\n" + | 1541 | +// " \"notificationMessage\": \"5days1000 3744\",\n" + |
1533 | -// " \"offerAudienceLevel\": \"guid\",\n" + | 1542 | +// " \"offerAudienceLevel\": \"guid\",\n" + |
1534 | -// " \"offerCode1\": \"000003744\",\n" + | 1543 | +// " \"offerCode1\": \"000003744\",\n" + |
1535 | -// " \"offerName\": \"White_Label_5days1000 3744\",\n" + | 1544 | +// " \"offerName\": \"White_Label_5days1000 3744\",\n" + |
1536 | -// " \"price\": \"0\",\n" + | 1545 | +// " \"price\": \"0\",\n" + |
1537 | -// " \"productType\": \"White Label\",\n" + | 1546 | +// " \"productType\": \"White Label\",\n" + |
1538 | -// " \"provDuration\": \"1.0\",\n" + | 1547 | +// " \"provDuration\": \"1.0\",\n" + |
1539 | -// " \"score\": \"50\",\n" + | 1548 | +// " \"score\": \"50\",\n" + |
1540 | -// " \"sessionId\": \"COSMOTE_APP_BALANCES.6945251078.20220908115231\",\n" + | 1549 | +// " \"sessionId\": \"COSMOTE_APP_BALANCES.6945251078.20220908115231\",\n" + |
1541 | -// " \"treatmentCode\": \"546d.ea1.ffffffffcc4c34b3.c64ed53\",\n" + | 1550 | +// " \"treatmentCode\": \"546d.ea1.ffffffffcc4c34b3.c64ed53\",\n" + |
1542 | -// " \"validity\": \"0\",\n" + | 1551 | +// " \"validity\": \"0\",\n" + |
1543 | -// " \"wave\": \"1\",\n" + | 1552 | +// " \"wave\": \"1\",\n" + |
1544 | -// " \"voiceCategory\": \"None\",\n" + | 1553 | +// " \"voiceCategory\": \"None\",\n" + |
1545 | -// " \"validity\": \"5\",\n" + | 1554 | +// " \"validity\": \"5\",\n" + |
1546 | -// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + | 1555 | +// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + |
1547 | -// " \"title\": \"White_Label_5days1000 3744\",\n" + | 1556 | +// " \"title\": \"White_Label_5days1000 3744\",\n" + |
1548 | -// " \"titleOffer\": \"5days1000 3744\",\n" + | 1557 | +// " \"titleOffer\": \"5days1000 3744\",\n" + |
1549 | -// " \"termsAndConditions\": \"5days1000 3744\",\n" + | 1558 | +// " \"termsAndConditions\": \"5days1000 3744\",\n" + |
1550 | -// " \"subtitle\": \"5days1000 3744\",\n" + | 1559 | +// " \"subtitle\": \"5days1000 3744\",\n" + |
1551 | -// " \"description\": \"Test6\",\n" + | 1560 | +// " \"description\": \"Test6\",\n" + |
1552 | -// " \"zone\": \"COSMOTE_APP_GIFTS4U\"\n" + | 1561 | +// " \"zone\": \"COSMOTE_APP_GIFTS4U\"\n" + |
1553 | -// " },\n" + | 1562 | +// " },\n" + |
1554 | -// " {\n" + | 1563 | +// " {\n" + |
1555 | -// " \"UACIOfferTrackingCode\": \"51ed.e10.2c006f18.71e96d08\",\n" + | 1564 | +// " \"UACIOfferTrackingCode\": \"51ed.e10.2c006f18.71e96d08\",\n" + |
1556 | -// " \"businessAdditionalId\": \"\",\n" + | 1565 | +// " \"businessAdditionalId\": \"\",\n" + |
1557 | -// " \"dataCategory\": \"Data\",\n" + | 1566 | +// " \"dataCategory\": \"Data\",\n" + |
1558 | -// " \"dataValue\": \"233\",\n" + | 1567 | +// " \"dataValue\": \"233\",\n" + |
1559 | -// " \"discount\": \"None\",\n" + | 1568 | +// " \"discount\": \"None\",\n" + |
1560 | -// " \"eligibleAssets\": [\n" + | 1569 | +// " \"eligibleAssets\": [\n" + |
1561 | -// " \"306945218770\",\n" + | 1570 | +// " \"306945218770\",\n" + |
1562 | -// " \"306944333488\",\n" + | 1571 | +// " \"306944333488\",\n" + |
1563 | -// " \"306932222490\",\n" + | 1572 | +// " \"306932222490\",\n" + |
1564 | -// " \"306996824010\",\n" + | 1573 | +// " \"306996824010\",\n" + |
1565 | -// " \"306972713201\",\n" + | 1574 | +// " \"306972713201\",\n" + |
1566 | -// " \"306942496252\",\n" + | 1575 | +// " \"306942496252\",\n" + |
1567 | -// " \"306977316716\",\n" + | 1576 | +// " \"306977316716\",\n" + |
1568 | -// " \"306945433100\",\n" + | 1577 | +// " \"306945433100\",\n" + |
1569 | -// " \"306977403986\",\n" + | 1578 | +// " \"306977403986\",\n" + |
1570 | -// " \"306936581495\",\n" + | 1579 | +// " \"306936581495\",\n" + |
1571 | -// " \"306980689662\",\n" + | 1580 | +// " \"306980689662\",\n" + |
1572 | -// " \"306970101490\",\n" + | 1581 | +// " \"306970101490\",\n" + |
1573 | -// " \"306973396329\",\n" + | 1582 | +// " \"306973396329\",\n" + |
1574 | -// " \"306972577064\",\n" + | 1583 | +// " \"306972577064\",\n" + |
1575 | -// " \"306974923219\",\n" + | 1584 | +// " \"306974923219\",\n" + |
1576 | -// " \"306977513761\",\n" + | 1585 | +// " \"306977513761\",\n" + |
1577 | -// " \"306984220987\",\n" + | 1586 | +// " \"306984220987\",\n" + |
1578 | -// " \"306979949205\",\n" + | 1587 | +// " \"306979949205\",\n" + |
1579 | -// " \"306943134127\",\n" + | 1588 | +// " \"306943134127\",\n" + |
1580 | -// " \"306970437794\",\n" + | 1589 | +// " \"306970437794\",\n" + |
1581 | -// " \"306932535319\",\n" + | 1590 | +// " \"306932535319\",\n" + |
1582 | -// " \"306974063133\",\n" + | 1591 | +// " \"306974063133\",\n" + |
1583 | -// " \"306932520323\",\n" + | 1592 | +// " \"306932520323\",\n" + |
1584 | -// " \"306978733823\",\n" + | 1593 | +// " \"306978733823\",\n" + |
1585 | -// " \"306985995420\",\n" + | 1594 | +// " \"306985995420\",\n" + |
1586 | -// " \"306983879555\",\n" + | 1595 | +// " \"306983879555\",\n" + |
1587 | -// " ],\n" + | 1596 | +// " ],\n" + |
1588 | -// " \"id\": \"000003599\",\n" + | 1597 | +// " \"id\": \"000003599\",\n" + |
1589 | -// " \"loyaltyCampaignId\": \"9a92d445956145f6bbc5cd20cef543b9\",\n" + //c5cc5f4f65624f47a580b720233fa60d | 1598 | +// " \"loyaltyCampaignId\": \"9a92d445956145f6bbc5cd20cef543b9\",\n" + //c5cc5f4f65624f47a580b720233fa60d |
1590 | -// " \"minsValue\": \"None\",\n" + | 1599 | +// " \"minsValue\": \"None\",\n" + |
1591 | -// " \"noOfRecurrance\": \"None\",\n" + | 1600 | +// " \"noOfRecurrance\": \"None\",\n" + |
1592 | -// " \"notificationMessage\": \"None\",\n" + | 1601 | +// " \"notificationMessage\": \"None\",\n" + |
1593 | -// " \"offerAudienceLevel\": \"msisdn\",\n" + | 1602 | +// " \"offerAudienceLevel\": \"msisdn\",\n" + |
1594 | -// " \"offerCode1\": \"000003599\",\n" + | 1603 | +// " \"offerCode1\": \"000003599\",\n" + |
1595 | -// " \"offerName\": \"CCMS loyalty white label with campaignId\",\n" + | 1604 | +// " \"offerName\": \"CCMS loyalty white label with campaignId\",\n" + |
1596 | -// " \"price\": \"None\",\n" + | 1605 | +// " \"price\": \"None\",\n" + |
1597 | -// " \"productType\": \"White Label\",\n" + | 1606 | +// " \"productType\": \"White Label\",\n" + |
1598 | -// " \"provDuration\": \"0.0\",\n" + | 1607 | +// " \"provDuration\": \"0.0\",\n" + |
1599 | -// " \"provStepValueMins\": \"None\",\n" + | 1608 | +// " \"provStepValueMins\": \"None\",\n" + |
1600 | -// " \"score\": \"50\",\n" + | 1609 | +// " \"score\": \"50\",\n" + |
1601 | -// " \"treatmentCode\": \"51ed.e10.2c006f18.71e96d08\",\n" + | 1610 | +// " \"treatmentCode\": \"51ed.e10.2c006f18.71e96d08\",\n" + |
1602 | -// " \"validity\": \"0\",\n" + | 1611 | +// " \"validity\": \"0\",\n" + |
1603 | -// " \"voiceCategory\": \"None\",\n" + | 1612 | +// " \"voiceCategory\": \"None\",\n" + |
1604 | -// " \"wave\": \"1\",\n" + | 1613 | +// " \"wave\": \"1\",\n" + |
1605 | -// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + | 1614 | +// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + |
1606 | -// " \"title\": \"Title External\",\n" + | 1615 | +// " \"title\": \"Title External\",\n" + |
1607 | -// " \"subtitle\": \"Subtitle MFY second\",\n" + | 1616 | +// " \"subtitle\": \"Subtitle MFY second\",\n" + |
1608 | -// " \"description\": \"Description Internal\",\n" + | 1617 | +// " \"description\": \"Description Internal\",\n" + |
1609 | -// " \"message\": \"Message MFY third\",\n" + | 1618 | +// " \"message\": \"Message MFY third\",\n" + |
1610 | -// " \"titleOffer\": \"Title Internal\",\n" + | 1619 | +// " \"titleOffer\": \"Title Internal\",\n" + |
1611 | -// " \"imageOfferUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + | 1620 | +// " \"imageOfferUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + |
1612 | -// " \"duration\": \"gia 7 imeres\",\n" + | 1621 | +// " \"duration\": \"gia 7 imeres\",\n" + |
1613 | -// " \"giftType\": \"Internet\",\n" + | 1622 | +// " \"giftType\": \"Internet\",\n" + |
1614 | -// " \"giftValue\": \"1 GB\",\n" + | 1623 | +// " \"giftValue\": \"1 GB\",\n" + |
1615 | -// " \"termsAndConditions\": \"Terms and Conditions Lorem Ipsum Dolores sit amen\",\n" + | 1624 | +// " \"termsAndConditions\": \"Terms and Conditions Lorem Ipsum Dolores sit amen\",\n" + |
1616 | -// " \"zone\": \"COSMOTE_APP_LOYALTY_PROMO\"\n" + | 1625 | +// " \"zone\": \"COSMOTE_APP_LOYALTY_PROMO\"\n" + |
1617 | -// " },\n" + | 1626 | +// " },\n" + |
1618 | -// " {\n" + | 1627 | +// " {\n" + |
1619 | -// " \"UACIOfferTrackingCode\": \"516c.e05.ffffffffa943695b.79ff470b\",\n" + | 1628 | +// " \"UACIOfferTrackingCode\": \"516c.e05.ffffffffa943695b.79ff470b\",\n" + |
1620 | -// " \"businessAdditionalId\": \"\",\n" + | 1629 | +// " \"businessAdditionalId\": \"\",\n" + |
1621 | -// " \"businessService\": \"0.0\",\n" + | 1630 | +// " \"businessService\": \"0.0\",\n" + |
1622 | -// " \"eligibleAssets\": [\n" + | 1631 | +// " \"eligibleAssets\": [\n" + |
1623 | -// " \"306945218770\",\n" + | 1632 | +// " \"306945218770\",\n" + |
1624 | -// " \"306944333488\",\n" + | 1633 | +// " \"306944333488\",\n" + |
1625 | -// " \"306932222490\",\n" + | 1634 | +// " \"306932222490\",\n" + |
1626 | -// " \"306996824010\",\n" + | 1635 | +// " \"306996824010\",\n" + |
1627 | -// " \"306972713201\",\n" + | 1636 | +// " \"306972713201\",\n" + |
1628 | -// " \"306942496252\",\n" + | 1637 | +// " \"306942496252\",\n" + |
1629 | -// " \"306977316716\",\n" + | 1638 | +// " \"306977316716\",\n" + |
1630 | -// " \"306945433100\",\n" + | 1639 | +// " \"306945433100\",\n" + |
1631 | -// " \"306977403986\",\n" + | 1640 | +// " \"306977403986\",\n" + |
1632 | -// " \"306936581495\",\n" + | 1641 | +// " \"306936581495\",\n" + |
1633 | -// " \"306980689662\",\n" + | 1642 | +// " \"306980689662\",\n" + |
1634 | -// " \"306970101490\",\n" + | 1643 | +// " \"306970101490\",\n" + |
1635 | -// " \"306973396329\",\n" + | 1644 | +// " \"306973396329\",\n" + |
1636 | -// " \"306972577064\",\n" + | 1645 | +// " \"306972577064\",\n" + |
1637 | -// " \"306974923219\",\n" + | 1646 | +// " \"306974923219\",\n" + |
1638 | -// " \"306977513761\",\n" + | 1647 | +// " \"306977513761\",\n" + |
1639 | -// " \"306984220987\",\n" + | 1648 | +// " \"306984220987\",\n" + |
1640 | -// " \"306979949205\",\n" + | 1649 | +// " \"306979949205\",\n" + |
1641 | -// " \"306943134127\",\n" + | 1650 | +// " \"306943134127\",\n" + |
1642 | -// " \"306970437794\",\n" + | 1651 | +// " \"306970437794\",\n" + |
1643 | -// " \"306932535319\",\n" + | 1652 | +// " \"306932535319\",\n" + |
1644 | -// " \"306974063133\",\n" + | 1653 | +// " \"306974063133\",\n" + |
1645 | -// " \"306932520323\",\n" + | 1654 | +// " \"306932520323\",\n" + |
1646 | -// " \"306978733823\",\n" + | 1655 | +// " \"306978733823\",\n" + |
1647 | -// " \"306985995420\",\n" + | 1656 | +// " \"306985995420\",\n" + |
1648 | -// " \"306983879555\",\n" + | 1657 | +// " \"306983879555\",\n" + |
1649 | -// " ],\n" + | 1658 | +// " ],\n" + |
1650 | -// " \"id\": \"000003588\",\n" + | 1659 | +// " \"id\": \"000003588\",\n" + |
1651 | -// " \"loyaltyCampaignId\": \"NA\",\n" + | 1660 | +// " \"loyaltyCampaignId\": \"NA\",\n" + |
1652 | -// " \"noOfRecurrance\": \"0\",\n" + | 1661 | +// " \"noOfRecurrance\": \"0\",\n" + |
1653 | -// " \"notificationMessage\": \"None\",\n" + | 1662 | +// " \"notificationMessage\": \"None\",\n" + |
1654 | -// " \"offerAudienceLevel\": \"msisdn\",\n" + | 1663 | +// " \"offerAudienceLevel\": \"msisdn\",\n" + |
1655 | -// " \"offerCode1\": \"000003588\",\n" + | 1664 | +// " \"offerCode1\": \"000003588\",\n" + |
1656 | -// " \"offerName\": \"CCMS loyalty postpay addon\",\n" + | 1665 | +// " \"offerName\": \"CCMS loyalty postpay addon\",\n" + |
1657 | -// " \"postpayProduct\": \"0.0\",\n" + | 1666 | +// " \"postpayProduct\": \"0.0\",\n" + |
1658 | -// " \"price\": \"None\",\n" + | 1667 | +// " \"price\": \"None\",\n" + |
1659 | -// " \"productType\": \"MOBILE ADDON\",\n" + | 1668 | +// " \"productType\": \"MOBILE ADDON\",\n" + |
1660 | -// " \"provDuration\": \"0.0\",\n" + | 1669 | +// " \"provDuration\": \"0.0\",\n" + |
1661 | -// " \"score\": \"50\",\n" + | 1670 | +// " \"score\": \"50\",\n" + |
1662 | -// " \"treatmentCode\": \"516c.e05.ffffffffa943695b.79ff470b\",\n" + | 1671 | +// " \"treatmentCode\": \"516c.e05.ffffffffa943695b.79ff470b\",\n" + |
1663 | -// " \"validity\": \"0\",\n" + | 1672 | +// " \"validity\": \"0\",\n" + |
1664 | -// " \"wave\": \"1\",\n" + | 1673 | +// " \"wave\": \"1\",\n" + |
1665 | -// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + | 1674 | +// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + |
1666 | -// " \"title\": \"Test2\",\n" + | 1675 | +// " \"title\": \"Test2\",\n" + |
1667 | -// " \"subtitle\": \"Test2\",\n" + | 1676 | +// " \"subtitle\": \"Test2\",\n" + |
1668 | -// " \"description\": \"Test2\",\n" + | 1677 | +// " \"description\": \"Test2\",\n" + |
1669 | -// " \"zone\": \"COSMOTE_APP_LOYALTY_PROMO\"\n" + | 1678 | +// " \"zone\": \"COSMOTE_APP_LOYALTY_PROMO\"\n" + |
1670 | -// " },\n" + | 1679 | +// " },\n" + |
1671 | -// " {\n" + | 1680 | +// " {\n" + |
1672 | -// " \"UACIOfferTrackingCode\": \"5224.e19.30e2f27b.ffffffffeb22b0db\",\n" + | 1681 | +// " \"UACIOfferTrackingCode\": \"5224.e19.30e2f27b.ffffffffeb22b0db\",\n" + |
1673 | -// " \"businessAdditionalId\": \"\",\n" + | 1682 | +// " \"businessAdditionalId\": \"\",\n" + |
1674 | -// " \"dataCategory\": \"Data\",\n" + | 1683 | +// " \"dataCategory\": \"Data\",\n" + |
1675 | -// " \"dataValue\": \"None\",\n" + | 1684 | +// " \"dataValue\": \"None\",\n" + |
1676 | -// " \"discount\": \"None\",\n" + | 1685 | +// " \"discount\": \"None\",\n" + |
1677 | -// " \"eligibleAssets\": [\n" + | 1686 | +// " \"eligibleAssets\": [\n" + |
1678 | -// " \"306945218770\",\n" + | 1687 | +// " \"306945218770\",\n" + |
1679 | -// " \"306944333488\",\n" + | 1688 | +// " \"306944333488\",\n" + |
1680 | -// " \"306932222490\",\n" + | 1689 | +// " \"306932222490\",\n" + |
1681 | -// " \"306996824010\",\n" + | 1690 | +// " \"306996824010\",\n" + |
1682 | -// " \"306972713201\",\n" + | 1691 | +// " \"306972713201\",\n" + |
1683 | -// " \"306942496252\",\n" + | 1692 | +// " \"306942496252\",\n" + |
1684 | -// " \"306977316716\",\n" + | 1693 | +// " \"306977316716\",\n" + |
1685 | -// " \"306945433100\",\n" + | 1694 | +// " \"306945433100\",\n" + |
1686 | -// " \"306977403986\",\n" + | 1695 | +// " \"306977403986\",\n" + |
1687 | -// " \"306936581495\",\n" + | 1696 | +// " \"306936581495\",\n" + |
1688 | -// " \"306980689662\",\n" + | 1697 | +// " \"306980689662\",\n" + |
1689 | -// " \"306970101490\",\n" + | 1698 | +// " \"306970101490\",\n" + |
1690 | -// " \"306973396329\",\n" + | 1699 | +// " \"306973396329\",\n" + |
1691 | -// " \"306972577064\",\n" + | 1700 | +// " \"306972577064\",\n" + |
1692 | -// " \"306974923219\",\n" + | 1701 | +// " \"306974923219\",\n" + |
1693 | -// " \"306977513761\",\n" + | 1702 | +// " \"306977513761\",\n" + |
1694 | -// " \"306984220987\",\n" + | 1703 | +// " \"306984220987\",\n" + |
1695 | -// " \"306979949205\",\n" + | 1704 | +// " \"306979949205\",\n" + |
1696 | -// " \"306943134127\",\n" + | 1705 | +// " \"306943134127\",\n" + |
1697 | -// " \"306970437794\",\n" + | 1706 | +// " \"306970437794\",\n" + |
1698 | -// " \"306932535319\",\n" + | 1707 | +// " \"306932535319\",\n" + |
1699 | -// " \"306974063133\",\n" + | 1708 | +// " \"306974063133\",\n" + |
1700 | -// " \"306932520323\",\n" + | 1709 | +// " \"306932520323\",\n" + |
1701 | -// " \"306978733823\",\n" + | 1710 | +// " \"306978733823\",\n" + |
1702 | -// " \"306985995420\",\n" + | 1711 | +// " \"306985995420\",\n" + |
1703 | -// " \"306983879555\",\n" + | 1712 | +// " \"306983879555\",\n" + |
1704 | -// " ],\n" + | 1713 | +// " ],\n" + |
1705 | -// " \"id\": \"000003608\",\n" + | 1714 | +// " \"id\": \"000003608\",\n" + |
1706 | -// " \"loyaltyCampaignId\": \"c134cdeb8a924f8eac38e261acb9caf5\",\n" + | 1715 | +// " \"loyaltyCampaignId\": \"c134cdeb8a924f8eac38e261acb9caf5\",\n" + |
1707 | -// " \"minsValue\": \"None\",\n" + | 1716 | +// " \"minsValue\": \"None\",\n" + |
1708 | -// " \"noOfRecurrance\": \"None\",\n" + | 1717 | +// " \"noOfRecurrance\": \"None\",\n" + |
1709 | -// " \"notificationMessage\": \"None\",\n" + | 1718 | +// " \"notificationMessage\": \"None\",\n" + |
1710 | -// " \"offerAudienceLevel\": \"msisdn\",\n" + | 1719 | +// " \"offerAudienceLevel\": \"msisdn\",\n" + |
1711 | -// " \"offerCode1\": \"000003608\",\n" + | 1720 | +// " \"offerCode1\": \"000003608\",\n" + |
1712 | -// " \"offerName\": \"CCMS loyalty gifts4u v1\",\n" + | 1721 | +// " \"offerName\": \"CCMS loyalty gifts4u v1\",\n" + |
1713 | -// " \"price\": \"None\",\n" + | 1722 | +// " \"price\": \"None\",\n" + |
1714 | -// " \"productType\": \"White Label\",\n" + | 1723 | +// " \"productType\": \"White Label\",\n" + |
1715 | -// " \"provDuration\": \"0.0\",\n" + | 1724 | +// " \"provDuration\": \"0.0\",\n" + |
1716 | -// " \"provStepValueMins\": \"None\",\n" + | 1725 | +// " \"provStepValueMins\": \"None\",\n" + |
1717 | -// " \"score\": \"50\",\n" + | 1726 | +// " \"score\": \"50\",\n" + |
1718 | -// " \"treatmentCode\": \"5224.e19.30e2f27b.ffffffffeb22b0db\",\n" + | 1727 | +// " \"treatmentCode\": \"5224.e19.30e2f27b.ffffffffeb22b0db\",\n" + |
1719 | -// " \"validity\": \"0\",\n" + | 1728 | +// " \"validity\": \"0\",\n" + |
1720 | -// " \"voiceCategory\": \"None\",\n" + | 1729 | +// " \"voiceCategory\": \"None\",\n" + |
1721 | -// " \"wave\": \"1\",\n" + | 1730 | +// " \"wave\": \"1\",\n" + |
1722 | -// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + | 1731 | +// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + |
1723 | -// " \"title\": \"Test3\",\n" + | 1732 | +// " \"title\": \"Test3\",\n" + |
1724 | -// " \"subtitle\": \"Test3\",\n" + | 1733 | +// " \"subtitle\": \"Test3\",\n" + |
1725 | -// " \"description\": \"Test3\",\n" + | 1734 | +// " \"description\": \"Test3\",\n" + |
1726 | -// " \"zone\": \"COSMOTE_APP_GIFTS4U\"\n" + | 1735 | +// " \"zone\": \"COSMOTE_APP_GIFTS4U\"\n" + |
1727 | -// " },\n" + | 1736 | +// " },\n" + |
1728 | -// " {\n" + | 1737 | +// " {\n" + |
1729 | -// " \"UACIOfferTrackingCode\": \"5228.e1d.38378e61.750186c1\",\n" + | 1738 | +// " \"UACIOfferTrackingCode\": \"5228.e1d.38378e61.750186c1\",\n" + |
1730 | -// " \"businessAdditionalId\": \"\",\n" + | 1739 | +// " \"businessAdditionalId\": \"\",\n" + |
1731 | -// " \"businessService\": \"0.0\",\n" + | 1740 | +// " \"businessService\": \"0.0\",\n" + |
1732 | -// " \"eligibleAssets\": [\n" + | 1741 | +// " \"eligibleAssets\": [\n" + |
1733 | -// " \"306945218770\",\n" + | 1742 | +// " \"306945218770\",\n" + |
1734 | -// " \"306944333488\",\n" + | 1743 | +// " \"306944333488\",\n" + |
1735 | -// " \"306932222490\",\n" + | 1744 | +// " \"306932222490\",\n" + |
1736 | -// " \"306996824010\",\n" + | 1745 | +// " \"306996824010\",\n" + |
1737 | -// " \"306972713201\",\n" + | 1746 | +// " \"306972713201\",\n" + |
1738 | -// " \"306942496252\",\n" + | 1747 | +// " \"306942496252\",\n" + |
1739 | -// " \"306977316716\",\n" + | 1748 | +// " \"306977316716\",\n" + |
1740 | -// " \"306945433100\",\n" + | 1749 | +// " \"306945433100\",\n" + |
1741 | -// " \"306977403986\",\n" + | 1750 | +// " \"306977403986\",\n" + |
1742 | -// " \"306936581495\",\n" + | 1751 | +// " \"306936581495\",\n" + |
1743 | -// " \"306980689662\",\n" + | 1752 | +// " \"306980689662\",\n" + |
1744 | -// " \"306970101490\",\n" + | 1753 | +// " \"306970101490\",\n" + |
1745 | -// " \"306973396329\",\n" + | 1754 | +// " \"306973396329\",\n" + |
1746 | -// " \"306972577064\",\n" + | 1755 | +// " \"306972577064\",\n" + |
1747 | -// " \"306974923219\",\n" + | 1756 | +// " \"306974923219\",\n" + |
1748 | -// " \"306977513761\",\n" + | 1757 | +// " \"306977513761\",\n" + |
1749 | -// " \"306984220987\",\n" + | 1758 | +// " \"306984220987\",\n" + |
1750 | -// " \"306979949205\",\n" + | 1759 | +// " \"306979949205\",\n" + |
1751 | -// " \"306943134127\",\n" + | 1760 | +// " \"306943134127\",\n" + |
1752 | -// " \"306970437794\",\n" + | 1761 | +// " \"306970437794\",\n" + |
1753 | -// " \"306932535319\",\n" + | 1762 | +// " \"306932535319\",\n" + |
1754 | -// " \"306974063133\",\n" + | 1763 | +// " \"306974063133\",\n" + |
1755 | -// " \"306932520323\",\n" + | 1764 | +// " \"306932520323\",\n" + |
1756 | -// " \"306978733823\",\n" + | 1765 | +// " \"306978733823\",\n" + |
1757 | -// " \"306985995420\",\n" + | 1766 | +// " \"306985995420\",\n" + |
1758 | -// " \"306983879555\",\n" + | 1767 | +// " \"306983879555\",\n" + |
1759 | -// " ],\n" + | 1768 | +// " ],\n" + |
1760 | -// " \"id\": \"000003612\",\n" + | 1769 | +// " \"id\": \"000003612\",\n" + |
1761 | -// " \"loyaltyCampaignId\": \"8eb71c4ceaff409c896e2d1f6f1c20f3\",\n" + | 1770 | +// " \"loyaltyCampaignId\": \"8eb71c4ceaff409c896e2d1f6f1c20f3\",\n" + |
1762 | -// " \"noOfRecurrance\": \"0\",\n" + | 1771 | +// " \"noOfRecurrance\": \"0\",\n" + |
1763 | -// " \"notificationMessage\": \"None\",\n" + | 1772 | +// " \"notificationMessage\": \"None\",\n" + |
1764 | -// " \"offerAudienceLevel\": \"msisdn\",\n" + | 1773 | +// " \"offerAudienceLevel\": \"msisdn\",\n" + |
1765 | -// " \"offerCode1\": \"000003612\",\n" + | 1774 | +// " \"offerCode1\": \"000003612\",\n" + |
1766 | -// " \"offerName\": \"CCMS loyalty - postpay addon gifts4u\",\n" + | 1775 | +// " \"offerName\": \"CCMS loyalty - postpay addon gifts4u\",\n" + |
1767 | -// " \"postpayProduct\": \"0.0\",\n" + | 1776 | +// " \"postpayProduct\": \"0.0\",\n" + |
1768 | -// " \"price\": \"None\",\n" + | 1777 | +// " \"price\": \"None\",\n" + |
1769 | -// " \"productType\": \"MOBILE ADDON\",\n" + | 1778 | +// " \"productType\": \"MOBILE ADDON\",\n" + |
1770 | -// " \"provDuration\": \"0.0\",\n" + | 1779 | +// " \"provDuration\": \"0.0\",\n" + |
1771 | -// " \"score\": \"50\",\n" + | 1780 | +// " \"score\": \"50\",\n" + |
1772 | -// " \"treatmentCode\": \"5228.e1d.38378e61.750186c1\",\n" + | 1781 | +// " \"treatmentCode\": \"5228.e1d.38378e61.750186c1\",\n" + |
1773 | -// " \"validity\": \"0\",\n" + | 1782 | +// " \"validity\": \"0\",\n" + |
1774 | -// " \"wave\": \"1\",\n" + | 1783 | +// " \"wave\": \"1\",\n" + |
1775 | -// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + | 1784 | +// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + |
1776 | -// " \"title\": \"Test4\",\n" + | 1785 | +// " \"title\": \"Test4\",\n" + |
1777 | -// " \"subtitle\": \"Test4\",\n" + | 1786 | +// " \"subtitle\": \"Test4\",\n" + |
1778 | -// " \"description\": \"Test4\",\n" + | 1787 | +// " \"description\": \"Test4\",\n" + |
1779 | -// " \"zone\": \"COSMOTE_APP_GIFTS4U\"\n" + | 1788 | +// " \"zone\": \"COSMOTE_APP_GIFTS4U\"\n" + |
1780 | -// " },\n" + | 1789 | +// " },\n" + |
1781 | -// " {\n" + | 1790 | +// " {\n" + |
1782 | -// " \"UACIOfferTrackingCode\": \"5222.e1b.ffffffffe725d1b3.ffffffffed6d8723\",\n" + | 1791 | +// " \"UACIOfferTrackingCode\": \"5222.e1b.ffffffffe725d1b3.ffffffffed6d8723\",\n" + |
1783 | -// " \"businessAdditionalId\": \"\",\n" + | 1792 | +// " \"businessAdditionalId\": \"\",\n" + |
1784 | -// " \"dataCategory\": \"Data\",\n" + | 1793 | +// " \"dataCategory\": \"Data\",\n" + |
1785 | -// " \"dataValue\": \"None\",\n" + | 1794 | +// " \"dataValue\": \"None\",\n" + |
1786 | -// " \"discount\": \"None\",\n" + | 1795 | +// " \"discount\": \"None\",\n" + |
1787 | -// " \"eligibleAssets\": [\n" + | 1796 | +// " \"eligibleAssets\": [\n" + |
1788 | -// " \"306945218770\",\n" + | 1797 | +// " \"306945218770\",\n" + |
1789 | -// " \"306944333488\",\n" + | 1798 | +// " \"306944333488\",\n" + |
1790 | -// " \"306932222490\",\n" + | 1799 | +// " \"306932222490\",\n" + |
1791 | -// " \"306996824010\",\n" + | 1800 | +// " \"306996824010\",\n" + |
1792 | -// " \"306972713201\",\n" + | 1801 | +// " \"306972713201\",\n" + |
1793 | -// " \"306942496252\",\n" + | 1802 | +// " \"306942496252\",\n" + |
1794 | -// " \"306977316716\",\n" + | 1803 | +// " \"306977316716\",\n" + |
1795 | -// " \"306945433100\",\n" + | 1804 | +// " \"306945433100\",\n" + |
1796 | -// " \"306977403986\",\n" + | 1805 | +// " \"306977403986\",\n" + |
1797 | -// " \"306936581495\",\n" + | 1806 | +// " \"306936581495\",\n" + |
1798 | -// " \"306980689662\",\n" + | 1807 | +// " \"306980689662\",\n" + |
1799 | -// " \"306970101490\",\n" + | 1808 | +// " \"306970101490\",\n" + |
1800 | -// " \"306973396329\",\n" + | 1809 | +// " \"306973396329\",\n" + |
1801 | -// " \"306972577064\",\n" + | 1810 | +// " \"306972577064\",\n" + |
1802 | -// " \"306974923219\",\n" + | 1811 | +// " \"306974923219\",\n" + |
1803 | -// " \"306977513761\",\n" + | 1812 | +// " \"306977513761\",\n" + |
1804 | -// " \"306984220987\",\n" + | 1813 | +// " \"306984220987\",\n" + |
1805 | -// " \"306979949205\",\n" + | 1814 | +// " \"306979949205\",\n" + |
1806 | -// " \"306943134127\",\n" + | 1815 | +// " \"306943134127\",\n" + |
1807 | -// " \"306970437794\",\n" + | 1816 | +// " \"306970437794\",\n" + |
1808 | -// " \"306932535319\",\n" + | 1817 | +// " \"306932535319\",\n" + |
1809 | -// " \"306974063133\",\n" + | 1818 | +// " \"306974063133\",\n" + |
1810 | -// " \"306932520323\",\n" + | 1819 | +// " \"306932520323\",\n" + |
1811 | -// " \"306978733823\",\n" + | 1820 | +// " \"306978733823\",\n" + |
1812 | -// " \"306985995420\",\n" + | 1821 | +// " \"306985995420\",\n" + |
1813 | -// " \"306983879555\",\n" + | 1822 | +// " \"306983879555\",\n" + |
1814 | -// " ],\n" + | 1823 | +// " ],\n" + |
1815 | -// " \"id\": \"000003610\",\n" + | 1824 | +// " \"id\": \"000003610\",\n" + |
1816 | -// " \"loyaltyCampaignId\": \"8e2c88ec94c948d8b51577324ed9a4d5\",\n" + | 1825 | +// " \"loyaltyCampaignId\": \"8e2c88ec94c948d8b51577324ed9a4d5\",\n" + |
1817 | -// " \"minsValue\": \"None\",\n" + | 1826 | +// " \"minsValue\": \"None\",\n" + |
1818 | -// " \"noOfRecurrance\": \"None\",\n" + | 1827 | +// " \"noOfRecurrance\": \"None\",\n" + |
1819 | -// " \"notificationMessage\": \"None\",\n" + | 1828 | +// " \"notificationMessage\": \"None\",\n" + |
1820 | -// " \"offerAudienceLevel\": \"msisdn\",\n" + | 1829 | +// " \"offerAudienceLevel\": \"msisdn\",\n" + |
1821 | -// " \"offerCode1\": \"000003610\",\n" + | 1830 | +// " \"offerCode1\": \"000003610\",\n" + |
1822 | -// " \"offerName\": \"CCMS loyalty more4u v1\",\n" + | 1831 | +// " \"offerName\": \"CCMS loyalty more4u v1\",\n" + |
1823 | -// " \"price\": \"20\",\n" + | 1832 | +// " \"price\": \"20\",\n" + |
1824 | -// " \"productType\": \"White Label\",\n" + | 1833 | +// " \"productType\": \"White Label\",\n" + |
1825 | -// " \"provDuration\": \"7.0\",\n" + | 1834 | +// " \"provDuration\": \"7.0\",\n" + |
1826 | -// " \"provStepValueMins\": \"None\",\n" + | 1835 | +// " \"provStepValueMins\": \"None\",\n" + |
1827 | -// " \"score\": \"60\",\n" + | 1836 | +// " \"score\": \"60\",\n" + |
1828 | -// " \"treatmentCode\": \"5222.e1b.ffffffffe725d1b3.ffffffffed6d8723\",\n" + | 1837 | +// " \"treatmentCode\": \"5222.e1b.ffffffffe725d1b3.ffffffffed6d8723\",\n" + |
1829 | -// " \"validity\": \"0\",\n" + | 1838 | +// " \"validity\": \"0\",\n" + |
1830 | -// " \"voiceCategory\": \"None\",\n" + | 1839 | +// " \"voiceCategory\": \"None\",\n" + |
1831 | -// " \"wave\": \"1\",\n" + | 1840 | +// " \"wave\": \"1\",\n" + |
1832 | -// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + | 1841 | +// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + |
1833 | -// " \"title\": \"Test5\",\n" + | 1842 | +// " \"title\": \"Test5\",\n" + |
1834 | -// " \"subtitle\": \"Test5\",\n" + | 1843 | +// " \"subtitle\": \"Test5\",\n" + |
1835 | -// " \"description\": \"Test5\",\n" + | 1844 | +// " \"description\": \"Test5\",\n" + |
1836 | -// " \"zone\": \"COSMOTE_APP_MORE4U\"\n" + | 1845 | +// " \"zone\": \"COSMOTE_APP_MORE4U\"\n" + |
1837 | -// " },\n" + | 1846 | +// " },\n" + |
1838 | -// " {\n" + | 1847 | +// " {\n" + |
1839 | -// " \"UACIOfferTrackingCode\": \"5226.e1f.728b68c6.ffffffffa6c7b10e\",\n" + | 1848 | +// " \"UACIOfferTrackingCode\": \"5226.e1f.728b68c6.ffffffffa6c7b10e\",\n" + |
1840 | -// " \"businessAdditionalId\": \"\",\n" + | 1849 | +// " \"businessAdditionalId\": \"\",\n" + |
1841 | -// " \"businessService\": \"0.0\",\n" + | 1850 | +// " \"businessService\": \"0.0\",\n" + |
1842 | -// " \"eligibleAssets\": [\n" + | 1851 | +// " \"eligibleAssets\": [\n" + |
1843 | -// " \"306945218770\",\n" + | 1852 | +// " \"306945218770\",\n" + |
1844 | -// " \"306944333488\",\n" + | 1853 | +// " \"306944333488\",\n" + |
1845 | -// " \"306932222490\",\n" + | 1854 | +// " \"306932222490\",\n" + |
1846 | -// " \"306996824010\",\n" + | 1855 | +// " \"306996824010\",\n" + |
1847 | -// " \"306972713201\",\n" + | 1856 | +// " \"306972713201\",\n" + |
1848 | -// " \"306942496252\",\n" + | 1857 | +// " \"306942496252\",\n" + |
1849 | -// " \"306977316716\",\n" + | 1858 | +// " \"306977316716\",\n" + |
1850 | -// " \"306945433100\",\n" + | 1859 | +// " \"306945433100\",\n" + |
1851 | -// " \"306977403986\",\n" + | 1860 | +// " \"306977403986\",\n" + |
1852 | -// " \"306936581495\",\n" + | 1861 | +// " \"306936581495\",\n" + |
1853 | -// " \"306980689662\",\n" + | 1862 | +// " \"306980689662\",\n" + |
1854 | -// " \"306970101490\",\n" + | 1863 | +// " \"306970101490\",\n" + |
1855 | -// " \"306973396329\",\n" + | 1864 | +// " \"306973396329\",\n" + |
1856 | -// " \"306972577064\",\n" + | 1865 | +// " \"306972577064\",\n" + |
1857 | -// " \"306974923219\",\n" + | 1866 | +// " \"306974923219\",\n" + |
1858 | -// " \"306977513761\",\n" + | 1867 | +// " \"306977513761\",\n" + |
1859 | -// " \"306984220987\",\n" + | 1868 | +// " \"306984220987\",\n" + |
1860 | -// " \"306979949205\",\n" + | 1869 | +// " \"306979949205\",\n" + |
1861 | -// " \"306943134127\",\n" + | 1870 | +// " \"306943134127\",\n" + |
1862 | -// " \"306970437794\",\n" + | 1871 | +// " \"306970437794\",\n" + |
1863 | -// " \"306932535319\",\n" + | 1872 | +// " \"306932535319\",\n" + |
1864 | -// " \"306974063133\",\n" + | 1873 | +// " \"306974063133\",\n" + |
1865 | -// " \"306932520323\",\n" + | 1874 | +// " \"306932520323\",\n" + |
1866 | -// " \"306978733823\",\n" + | 1875 | +// " \"306978733823\",\n" + |
1867 | -// " \"306985995420\",\n" + | 1876 | +// " \"306985995420\",\n" + |
1868 | -// " \"306983879555\",\n" + | 1877 | +// " \"306983879555\",\n" + |
1869 | -// " ],\n" + | 1878 | +// " ],\n" + |
1870 | -// " \"id\": \"000003614\",\n" + | 1879 | +// " \"id\": \"000003614\",\n" + |
1871 | -// " \"loyaltyCampaignId\": \"aaf4022194584f02bb84c7b283c7c51e\",\n" + | 1880 | +// " \"loyaltyCampaignId\": \"aaf4022194584f02bb84c7b283c7c51e\",\n" + |
1872 | -// " \"noOfRecurrance\": \"0\",\n" + | 1881 | +// " \"noOfRecurrance\": \"0\",\n" + |
1873 | -// " \"notificationMessage\": \"None\",\n" + | 1882 | +// " \"notificationMessage\": \"None\",\n" + |
1874 | -// " \"offerAudienceLevel\": \"msisdn\",\n" + | 1883 | +// " \"offerAudienceLevel\": \"msisdn\",\n" + |
1875 | -// " \"offerCode1\": \"000003614\",\n" + | 1884 | +// " \"offerCode1\": \"000003614\",\n" + |
1876 | -// " \"offerName\": \"CCMS loyalty - postpay addon more4u\",\n" + | 1885 | +// " \"offerName\": \"CCMS loyalty - postpay addon more4u\",\n" + |
1877 | -// " \"postpayProduct\": \"0.0\",\n" + | 1886 | +// " \"postpayProduct\": \"0.0\",\n" + |
1878 | -// " \"price\": \"None\",\n" + | 1887 | +// " \"price\": \"None\",\n" + |
1879 | -// " \"productType\": \"MOBILE ADDON\",\n" + | 1888 | +// " \"productType\": \"MOBILE ADDON\",\n" + |
1880 | -// " \"provDuration\": \"0.0\",\n" + | 1889 | +// " \"provDuration\": \"0.0\",\n" + |
1881 | -// " \"score\": \"50\",\n" + | 1890 | +// " \"score\": \"50\",\n" + |
1882 | -// " \"treatmentCode\": \"5226.e1f.728b68c6.ffffffffa6c7b10e\",\n" + | 1891 | +// " \"treatmentCode\": \"5226.e1f.728b68c6.ffffffffa6c7b10e\",\n" + |
1883 | -// " \"validity\": \"0\",\n" + | 1892 | +// " \"validity\": \"0\",\n" + |
1884 | -// " \"wave\": \"1\",\n" + | 1893 | +// " \"wave\": \"1\",\n" + |
1885 | -// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + | 1894 | +// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + |
1886 | -// " \"title\": \"Test6\",\n" + | 1895 | +// " \"title\": \"Test6\",\n" + |
1887 | -// " \"subtitle\": \"Test6\",\n" + | 1896 | +// " \"subtitle\": \"Test6\",\n" + |
1888 | -// " \"description\": \"Test6\",\n" + | 1897 | +// " \"description\": \"Test6\",\n" + |
1889 | -// " \"zone\": \"COSMOTE_APP_MORE4U\"\n" + | 1898 | +// " \"zone\": \"COSMOTE_APP_MORE4U\"\n" + |
1890 | -// " },\n" + | 1899 | +// " },\n" + |
1891 | -// " {\n" + | 1900 | +// " {\n" + |
1892 | -// " \"UACIOfferTrackingCode\": \"5154.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + | 1901 | +// " \"UACIOfferTrackingCode\": \"5154.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + |
1893 | -// " \"businessAdditionalId\": \"\",\n" + | 1902 | +// " \"businessAdditionalId\": \"\",\n" + |
1894 | -// " \"eligibleAssets\": [],\n" + | 1903 | +// " \"eligibleAssets\": [],\n" + |
1895 | -// " \"id\": \"000003586\",\n" + | 1904 | +// " \"id\": \"000003586\",\n" + |
1896 | -// " \"loyaltyCampaignId\": \"NA\",\n" + | 1905 | +// " \"loyaltyCampaignId\": \"NA\",\n" + |
1897 | -// " \"offerAudienceLevel\": \"guid\",\n" + | 1906 | +// " \"offerAudienceLevel\": \"guid\",\n" + |
1898 | -// " \"offerCode1\": \"000003586\",\n" + | 1907 | +// " \"offerCode1\": \"000003586\",\n" + |
1899 | -// " \"offerName\": \"CCMS loyalty offer 6\",\n" + | 1908 | +// " \"offerName\": \"CCMS loyalty offer 6\",\n" + |
1900 | -// " \"productType\": \"GENERIC\",\n" + | 1909 | +// " \"productType\": \"GENERIC\",\n" + |
1901 | -// " \"score\": \"50\",\n" + | 1910 | +// " \"score\": \"50\",\n" + |
1902 | -// " \"treatmentCode\": \"5154.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + | 1911 | +// " \"treatmentCode\": \"5154.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + |
1903 | -// " \"validity\": \"0\",\n" + | 1912 | +// " \"validity\": \"0\",\n" + |
1904 | -// " \"zone\": \"COSMOTE_APP_LOYALTY_PROMO\"\n" + | 1913 | +// " \"zone\": \"COSMOTE_APP_LOYALTY_PROMO\"\n" + |
1905 | -// " },\n" + | 1914 | +// " },\n" + |
1906 | -// " {\n" + | 1915 | +// " {\n" + |
1907 | -// " \"UACIOfferTrackingCode\": \"51d2.e0c.291f49d9.40d5a689\",\n" + | 1916 | +// " \"UACIOfferTrackingCode\": \"51d2.e0c.291f49d9.40d5a689\",\n" + |
1908 | -// " \"businessAdditionalId\": \"\",\n" + | 1917 | +// " \"businessAdditionalId\": \"\",\n" + |
1909 | -// " \"eligibleAssets\": [],\n" + | 1918 | +// " \"eligibleAssets\": [],\n" + |
1910 | -// " \"id\": \"000003595\",\n" + | 1919 | +// " \"id\": \"000003595\",\n" + |
1911 | -// " \"loyaltyCampaignId\": \"c5cc5f4f65624f47a580b720233fa60d\",\n" + | 1920 | +// " \"loyaltyCampaignId\": \"c5cc5f4f65624f47a580b720233fa60d\",\n" + |
1912 | -// " \"offerAudienceLevel\": \"guid\",\n" + | 1921 | +// " \"offerAudienceLevel\": \"guid\",\n" + |
1913 | -// " \"offerCode1\": \"000003595\",\n" + | 1922 | +// " \"offerCode1\": \"000003595\",\n" + |
1914 | -// " \"offerName\": \"CCMS Loyal offer campaignId\",\n" + | 1923 | +// " \"offerName\": \"CCMS Loyal offer campaignId\",\n" + |
1915 | -// " \"productType\": \"GENERIC\",\n" + | 1924 | +// " \"productType\": \"GENERIC\",\n" + |
1916 | -// " \"score\": \"50\",\n" + | 1925 | +// " \"score\": \"50\",\n" + |
1917 | -// " \"treatmentCode\": \"51d2.e0c.291f49d9.40d5a689\",\n" + | 1926 | +// " \"treatmentCode\": \"51d2.e0c.291f49d9.40d5a689\",\n" + |
1918 | -// " \"validity\": \"0\",\n" + | 1927 | +// " \"validity\": \"0\",\n" + |
1919 | -// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + | 1928 | +// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + |
1920 | -// " \"title\": \"Test7\",\n" + | 1929 | +// " \"title\": \"Test7\",\n" + |
1921 | -// " \"subtitle\": \"Test7\",\n" + | 1930 | +// " \"subtitle\": \"Test7\",\n" + |
1922 | -// " \"description\": \"Test7\",\n" + | 1931 | +// " \"description\": \"Test7\",\n" + |
1923 | -// " \"zone\": \"COSMOTE_APP_LOYALTY_PROMO\"\n" + | 1932 | +// " \"zone\": \"COSMOTE_APP_LOYALTY_PROMO\"\n" + |
1924 | -// " },\n" + | 1933 | +// " },\n" + |
1925 | -// " {\n" + | 1934 | +// " {\n" + |
1926 | -// " \"UACIOfferTrackingCode\": \"51d6.e0c.291f49d9.40d5a689\",\n" + | 1935 | +// " \"UACIOfferTrackingCode\": \"51d6.e0c.291f49d9.40d5a689\",\n" + |
1927 | -// " \"businessAdditionalId\": \"\",\n" + | 1936 | +// " \"businessAdditionalId\": \"\",\n" + |
1928 | -// " \"eligibleAssets\": [],\n" + | 1937 | +// " \"eligibleAssets\": [],\n" + |
1929 | -// " \"id\": \"000003595\",\n" + | 1938 | +// " \"id\": \"000003595\",\n" + |
1930 | -// " \"loyaltyCampaignId\": \"c5cc5f4f65624f47a580b720233fa60d\",\n" + | 1939 | +// " \"loyaltyCampaignId\": \"c5cc5f4f65624f47a580b720233fa60d\",\n" + |
1931 | -// " \"offerAudienceLevel\": \"guid\",\n" + | 1940 | +// " \"offerAudienceLevel\": \"guid\",\n" + |
1932 | -// " \"offerCode1\": \"000003595\",\n" + | 1941 | +// " \"offerCode1\": \"000003595\",\n" + |
1933 | -// " \"offerName\": \"CCMS Loyal offer campaignId\",\n" + | 1942 | +// " \"offerName\": \"CCMS Loyal offer campaignId\",\n" + |
1934 | -// " \"productType\": \"GENERIC\",\n" + | 1943 | +// " \"productType\": \"GENERIC\",\n" + |
1935 | -// " \"score\": \"50\",\n" + | 1944 | +// " \"score\": \"50\",\n" + |
1936 | -// " \"treatmentCode\": \"51d6.e0c.291f49d9.40d5a689\",\n" + | 1945 | +// " \"treatmentCode\": \"51d6.e0c.291f49d9.40d5a689\",\n" + |
1937 | -// " \"validity\": \"0\",\n" + | 1946 | +// " \"validity\": \"0\",\n" + |
1938 | -// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + | 1947 | +// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + |
1939 | -// " \"title\": \"Test8\",\n" + | 1948 | +// " \"title\": \"Test8\",\n" + |
1940 | -// " \"subtitle\": \"Test8\",\n" + | 1949 | +// " \"subtitle\": \"Test8\",\n" + |
1941 | -// " \"description\": \"Test8\",\n" + | 1950 | +// " \"description\": \"Test8\",\n" + |
1942 | -// " \"zone\": \"COSMOTE_APP_GIFTS4U\"\n" + | 1951 | +// " \"zone\": \"COSMOTE_APP_GIFTS4U\"\n" + |
1943 | -// " },\n" + | 1952 | +// " },\n" + |
1944 | -// " {\n" + | 1953 | +// " {\n" + |
1945 | -// " \"UACIOfferTrackingCode\": \"5150.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + | 1954 | +// " \"UACIOfferTrackingCode\": \"5150.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + |
1946 | -// " \"businessAdditionalId\": \"\",\n" + | 1955 | +// " \"businessAdditionalId\": \"\",\n" + |
1947 | -// " \"eligibleAssets\": [],\n" + | 1956 | +// " \"eligibleAssets\": [],\n" + |
1948 | -// " \"id\": \"000003586\",\n" + | 1957 | +// " \"id\": \"000003586\",\n" + |
1949 | -// " \"loyaltyCampaignId\": \"NA\",\n" + | 1958 | +// " \"loyaltyCampaignId\": \"NA\",\n" + |
1950 | -// " \"offerAudienceLevel\": \"guid\",\n" + | 1959 | +// " \"offerAudienceLevel\": \"guid\",\n" + |
1951 | -// " \"offerCode1\": \"000003586\",\n" + | 1960 | +// " \"offerCode1\": \"000003586\",\n" + |
1952 | -// " \"offerName\": \"CCMS loyalty offer 6\",\n" + | 1961 | +// " \"offerName\": \"CCMS loyalty offer 6\",\n" + |
1953 | -// " \"productType\": \"GENERIC\",\n" + | 1962 | +// " \"productType\": \"GENERIC\",\n" + |
1954 | -// " \"score\": \"50\",\n" + | 1963 | +// " \"score\": \"50\",\n" + |
1955 | -// " \"treatmentCode\": \"5150.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + | 1964 | +// " \"treatmentCode\": \"5150.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + |
1956 | -// " \"validity\": \"0\",\n" + | 1965 | +// " \"validity\": \"0\",\n" + |
1957 | -// " \"zone\": \"COSMOTE_APP_GIFTS4U\"\n" + | 1966 | +// " \"zone\": \"COSMOTE_APP_GIFTS4U\"\n" + |
1958 | -// " },\n" + | 1967 | +// " },\n" + |
1959 | -// " {\n" + | 1968 | +// " {\n" + |
1960 | -// " \"UACIOfferTrackingCode\": \"5152.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + | 1969 | +// " \"UACIOfferTrackingCode\": \"5152.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + |
1961 | -// " \"businessAdditionalId\": \"\",\n" + | 1970 | +// " \"businessAdditionalId\": \"\",\n" + |
1962 | -// " \"eligibleAssets\": [],\n" + | 1971 | +// " \"eligibleAssets\": [],\n" + |
1963 | -// " \"id\": \"000003586\",\n" + | 1972 | +// " \"id\": \"000003586\",\n" + |
1964 | -// " \"loyaltyCampaignId\": \"NA\",\n" + | 1973 | +// " \"loyaltyCampaignId\": \"NA\",\n" + |
1965 | -// " \"offerAudienceLevel\": \"guid\",\n" + | 1974 | +// " \"offerAudienceLevel\": \"guid\",\n" + |
1966 | -// " \"offerCode1\": \"000003586\",\n" + | 1975 | +// " \"offerCode1\": \"000003586\",\n" + |
1967 | -// " \"offerName\": \"CCMS loyalty offer 6\",\n" + | 1976 | +// " \"offerName\": \"CCMS loyalty offer 6\",\n" + |
1968 | -// " \"productType\": \"GENERIC\",\n" + | 1977 | +// " \"productType\": \"GENERIC\",\n" + |
1969 | -// " \"score\": \"50\",\n" + | 1978 | +// " \"score\": \"50\",\n" + |
1970 | -// " \"treatmentCode\": \"5152.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + | 1979 | +// " \"treatmentCode\": \"5152.e03.ffffffffeebc476a.ffffffffc5b96f6a\",\n" + |
1971 | -// " \"validity\": \"0\",\n" + | 1980 | +// " \"validity\": \"0\",\n" + |
1972 | -// " \"zone\": \"COSMOTE_APP_MORE4U\"\n" + | 1981 | +// " \"zone\": \"COSMOTE_APP_MORE4U\"\n" + |
1973 | -// " },\n" + | 1982 | +// " },\n" + |
1974 | -// " {\n" + | 1983 | +// " {\n" + |
1975 | -// " \"UACIOfferTrackingCode\": \"51d4.e0c.291f49d9.40d5a689\",\n" + | 1984 | +// " \"UACIOfferTrackingCode\": \"51d4.e0c.291f49d9.40d5a689\",\n" + |
1976 | -// " \"businessAdditionalId\": \"\",\n" + | 1985 | +// " \"businessAdditionalId\": \"\",\n" + |
1977 | -// " \"eligibleAssets\": [],\n" + | 1986 | +// " \"eligibleAssets\": [],\n" + |
1978 | -// " \"id\": \"000003595\",\n" + | 1987 | +// " \"id\": \"000003595\",\n" + |
1979 | -// " \"loyaltyCampaignId\": \"c5cc5f4f65624f47a580b720233fa60d\",\n" + | 1988 | +// " \"loyaltyCampaignId\": \"c5cc5f4f65624f47a580b720233fa60d\",\n" + |
1980 | -// " \"offerAudienceLevel\": \"guid\",\n" + | 1989 | +// " \"offerAudienceLevel\": \"guid\",\n" + |
1981 | -// " \"offerCode1\": \"000003595\",\n" + | 1990 | +// " \"offerCode1\": \"000003595\",\n" + |
1982 | -// " \"offerName\": \"CCMS Loyal offer campaignId\",\n" + | 1991 | +// " \"offerName\": \"CCMS Loyal offer campaignId\",\n" + |
1983 | -// " \"productType\": \"GENERIC\",\n" + | 1992 | +// " \"productType\": \"GENERIC\",\n" + |
1984 | -// " \"score\": \"50\",\n" + | 1993 | +// " \"score\": \"50\",\n" + |
1985 | -// " \"treatmentCode\": \"51d4.e0c.291f49d9.40d5a689\",\n" + | 1994 | +// " \"treatmentCode\": \"51d4.e0c.291f49d9.40d5a689\",\n" + |
1986 | -// " \"validity\": \"0\",\n" + | 1995 | +// " \"validity\": \"0\",\n" + |
1987 | -// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + | 1996 | +// " \"imageUrl\": \"https://www.cosmotetvott.gr/assets/images/ogImage.jpg\",\n" + |
1988 | -// " \"title\": \"Test9\",\n" + | 1997 | +// " \"title\": \"Test9\",\n" + |
1989 | -// " \"subtitle\": \"Test9\",\n" + | 1998 | +// " \"subtitle\": \"Test9\",\n" + |
1990 | -// " \"description\": \"Test9\",\n" + | 1999 | +// " \"description\": \"Test9\",\n" + |
1991 | -// " \"zone\": \"COSMOTE_APP_MORE4U\"\n" + | 2000 | +// " \"zone\": \"COSMOTE_APP_MORE4U\"\n" + |
1992 | -// " }\n" + | 2001 | +// " }\n" + |
1993 | -// " ]"); | 2002 | +// " ]"); |
1994 | -// } catch (JSONException e) { | 2003 | +// } catch (JSONException e) { |
1995 | -// e.printStackTrace(); | 2004 | +// e.printStackTrace(); |
1996 | -// } | ||
1997 | -// if (jArray != null && jArray.length() > 0) { | ||
1998 | -// for (int i = 0; i < jArray.length(); i++) { | ||
1999 | -// JSONObject jobj = new JSONObject(); | ||
2000 | -// jobj = jArray.optJSONObject(i); | ||
2001 | -// if (jobj != null) { | ||
2002 | -// LoyaltyContextualOfferModel model = new LoyaltyContextualOfferModel(jobj); | ||
2003 | -// list.add(model); | ||
2004 | // } | 2005 | // } |
2005 | -// } | 2006 | +// if (jArray != null && jArray.length() > 0) { |
2006 | -// } | 2007 | +// for (int i = 0; i < jArray.length(); i++) { |
2007 | -// WarplyManagerHelper.setCCMSLoyaltyCampaigns(list); | 2008 | +// JSONObject jobj = new JSONObject(); |
2009 | +// jobj = jArray.optJSONObject(i); | ||
2010 | +// if (jobj != null) { | ||
2011 | +// LoyaltyContextualOfferModel model = new LoyaltyContextualOfferModel(jobj); | ||
2012 | +// list.add(model); | ||
2013 | +// } | ||
2014 | +// } | ||
2015 | +// } | ||
2016 | +// WarplyManagerHelper.setCCMSLoyaltyCampaigns(list); | ||
2008 | 2017 | ||
2009 | Set<Campaign> set = new LinkedHashSet<>(campaignLoyaltyList); | 2018 | Set<Campaign> set = new LinkedHashSet<>(campaignLoyaltyList); |
2010 | campaignLoyaltyList.clear(); | 2019 | campaignLoyaltyList.clear(); |
... | @@ -2418,7 +2427,11 @@ public class WarplyManager { | ... | @@ -2418,7 +2427,11 @@ public class WarplyManager { |
2418 | if (profMetadata.has("steps_enabled") && profMetadata.optBoolean("steps_enabled")) { | 2427 | if (profMetadata.has("steps_enabled") && profMetadata.optBoolean("steps_enabled")) { |
2419 | if (!isMyServiceRunning(WarplyHealthService.class)) { | 2428 | if (!isMyServiceRunning(WarplyHealthService.class)) { |
2420 | Intent stepsServiceIntent = new Intent(Warply.getWarplyContext(), WarplyHealthService.class); | 2429 | Intent stepsServiceIntent = new Intent(Warply.getWarplyContext(), WarplyHealthService.class); |
2421 | - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { | 2430 | + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { |
2431 | + AlarmManager mgr = (AlarmManager) Warply.getWarplyContext().getSystemService(Context.ALARM_SERVICE); | ||
2432 | + PendingIntent pi = PendingIntent.getService(Warply.getWarplyContext(), 2002, stepsServiceIntent, PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_MUTABLE); | ||
2433 | + mgr.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, SystemClock.elapsedRealtime() + 1000, pi); | ||
2434 | + } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { | ||
2422 | Warply.getWarplyContext().startForegroundService(stepsServiceIntent); | 2435 | Warply.getWarplyContext().startForegroundService(stepsServiceIntent); |
2423 | } else { | 2436 | } else { |
2424 | Warply.getWarplyContext().startService(stepsServiceIntent); | 2437 | Warply.getWarplyContext().startService(stepsServiceIntent); | ... | ... |
-
Please register or login to post a comment