File size: 2,910 Bytes
89a1081
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?php

return [
    
    "routes" => [
		
        "gateway_user.gateway.sms"                  => "Oops! Your current Plan doesn't allow you to add SMS Gateways.",
        "campaign_user.communication.sms.campaign"  => "Oops! Your current Plan doesn't allow you to maintain SMS Campaign.",
        "message_user.communication.sms"            => "Oops! Your current Plan doesn't allow you to use SMS Message.",

        "gateway_user.gateway.whatsapp"             => "Oops! Your current Plan doesn't allow you to add Whatsapp Accounts.",
        "gateway_user.gateway.whatsapp.device"                => "Oops! Your current Plan doesn't allow you to add Whatsapp Devices.",
        "gateway_user.gateway.whatsapp.device.server.qrcode"  => "Oops! Your current Plan doesn't allow you to add Whatsapp Devices.",
        "gateway_user.gateway.whatsapp.device.server.status"  => "Oops! Your current Plan doesn't allow you to add Whatsapp Devices.",
        "campaign_user.communication.whatsapp.campaign"       => "Oops! Your current Plan doesn't allow you to maintain Whatsapp Campaign.",
        "message_user.communication.whatsapp"                 => "Oops! Your current Plan doesn't allow you to use Whatsapp message.",
        
        
        "gateway_user.gateway.email"                 => "Oops! Your current Plan doesn't allow you to add Email Gateways.",
        "campaign_user.communication.email.campaign" => "Oops! Your current Plan doesn't allow you to maintain Email Campaign.",
        "message_user.communication.email"           => "Oops! Your current Plan doesn't allow you to use Email Message.",

        "gateway_sendmethod.android"              => "Oops! Your current Plan doesn't allow you to add Android Gateway.",
        "settings_user.gateway.sms.android"       => "Oops! Your current Plan doesn't allow you to send messages with an Android gateway.",

    ],

    "types" => [
        "whatsapp",
        "sms",
        "email",
        "android"
    ],

    "gateway_access" => [
        'user_create',
        'admin_access'
    ],

    "pricing_plan" => [

        "sms" => [
            "is_allowed" => true,
            "gateway_limit" => 0,
            "allowed_gateways" => [

            ],
            "credits" => "sms_credit",
            "credits_per_day" => "sms_credit_per_day",
            "android" => [
                "is_allowed"    => true,
                "gateway_limit" => 0
            ]
        ],
        "email" => [
            "is_allowed" => true,
            "gateway_limit" => 0,
            "allowed_gateways" => [

            ],
            "credits" => "email_credit",
            "credits_per_day" => "email_credit_per_day"
        ],
        "whatsapp" => [
            "is_allowed" => true,
            "gateway_limit" => 0,
            "credits" => "whatsapp_credit",
            "credits_per_day" => "whatsapp_credit_per_day"
        ],
    ]
];