@opengis/pay 1.2.2 → 1.3.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.
- package/config.js +7 -0
- package/module/pay/pt/marketplace-service-payment-client-template.html +7 -20
- package/package.json +15 -31
- package/plugin.js +14 -7
- package/server/plugins/crud/dataDelete.js +82 -0
- package/server/plugins/crud/dataInsert.js +76 -0
- package/server/plugins/crud/dataUpdate.js +112 -0
- package/server/plugins/{cron.js → hook.js} +24 -22
- package/server/plugins/pg/funcs/autoIndex.js +102 -0
- package/server/plugins/pg/funcs/getDBParams.js +15 -0
- package/server/plugins/pg/funcs/getMeta.js +48 -0
- package/server/plugins/pg/funcs/getPG.js +39 -0
- package/server/plugins/pg/funcs/getPGAsync.js +40 -0
- package/server/plugins/pg/funcs/init.js +113 -0
- package/server/plugins/pg/index.js +24 -0
- package/server/plugins/pg/pgClients.js +22 -0
- package/server/plugins/redis/client.js +8 -0
- package/server/plugins/redis/funcs/getRedis.js +24 -0
- package/server/plugins/redis/funcs/redisClients.js +3 -0
- package/server/plugins/redis/index.js +11 -0
- package/server/routes/liqpay/controllers/liqpay.redirect.js +7 -11
- package/server/routes/liqpay/controllers/liqpay.status.js +26 -15
- package/server/routes/liqpay/utils/check.status.js +1 -1
- package/server/routes/monopay/controllers/monopay.redirect.js +141 -0
- package/server/routes/monopay/controllers/monopay.status.js +70 -0
- package/server/routes/monopay/index.mjs +32 -0
- package/server/routes/portmone/controllers/payment.info.js +9 -9
- package/server/routes/portmone/controllers/portmone.redirect.js +23 -17
- package/server/routes/portmone/controllers/portmone.status.js +49 -38
- package/server/routes/portmone/utils/portmone.check.status.js +34 -33
- package/server/utils/cron/addCron.js +48 -0
- package/server/utils/cron/cronList.js +1 -0
- package/server/utils/cron/interval2ms.js +40 -0
- package/server/utils/cron/runCron.js +24 -0
- package/server/utils/cron/verifyUnique.js +23 -0
- package/server/utils/getFolder.js +11 -0
- package/server/utils/getInsertQuery.js +44 -0
- package/server/utils/migration/exec.migrations.js +38 -0
- package/server/utils/migration/exec.sql.js +48 -0
- package/server/utils/sendNotification.js +69 -0
- package/module/pay1/card/billing.accounts.table/general_info.hbs +0 -11
- package/module/pay1/card/billing.accounts.table/index.yml +0 -15
- package/module/pay1/card/billing.accounts.table/users.hbs +0 -12
- package/module/pay1/card/billing.payments.table/general_info.hbs +0 -13
- package/module/pay1/card/billing.payments.table/index.yml +0 -10
- package/module/pay1/card/billing.users.table/general_info.hbs +0 -11
- package/module/pay1/card/billing.users.table/index.yml +0 -10
- package/module/pay1/cls/billing.payment_status.json +0 -22
- package/module/pay1/form/billing.account_user.form.json +0 -15
- package/module/pay1/form/billing.accounts.form.json +0 -31
- package/module/pay1/form/billing.payment.form.json +0 -23
- package/module/pay1/form/billing.users.form.json +0 -39
- package/module/pay1/menu.json +0 -24
- package/module/pay1/pt/marketplace-service-payment-client-template.html +0 -147
- package/module/pay1/select/billing.account_id.sql +0 -1
- package/module/pay1/select/billing.service_id.sql +0 -1
- package/module/pay1/select/billing.subscription_id.sql +0 -1
- package/module/pay1/select/billing.user_id.sql +0 -1
- package/module/pay1/table/billing.accounts.table.json +0 -61
- package/module/pay1/table/billing.payments.table.json +0 -68
- package/module/pay1/table/billing.users.table.json +0 -71
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"key": "payment_id",
|
|
3
|
-
"table": "billing.payments",
|
|
4
|
-
"order": "cdate desc",
|
|
5
|
-
"title_column": "account_id",
|
|
6
|
-
"form": "billing.payment.form",
|
|
7
|
-
"title_full": {
|
|
8
|
-
"ua": "Реєстр платежів"
|
|
9
|
-
},
|
|
10
|
-
"actions": [
|
|
11
|
-
"add",
|
|
12
|
-
"edit",
|
|
13
|
-
"del"
|
|
14
|
-
],
|
|
15
|
-
"columns": [
|
|
16
|
-
{
|
|
17
|
-
"name": "account_id",
|
|
18
|
-
"data": "billing.account_id",
|
|
19
|
-
"format": "select",
|
|
20
|
-
"ua": "Назва організації"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "payment_amount",
|
|
24
|
-
"format": "text",
|
|
25
|
-
"ua": "Сума поповнення рахунку"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "total_balance",
|
|
29
|
-
"format": "text",
|
|
30
|
-
"ua": "Поточний баланс"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"name": "payment_status",
|
|
34
|
-
"data": "billing.payment_status",
|
|
35
|
-
"format": "badge",
|
|
36
|
-
"ua": "Статус транзації"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"name": "success_date",
|
|
40
|
-
"format": "date",
|
|
41
|
-
"ua": "Дата успішного завершення транзакції"
|
|
42
|
-
}
|
|
43
|
-
],
|
|
44
|
-
"filter_list": [
|
|
45
|
-
{
|
|
46
|
-
"name": "account_id",
|
|
47
|
-
"data": "billing.account_id",
|
|
48
|
-
"type": "Text",
|
|
49
|
-
"ua": "Назва організації"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"name": "payment_amount",
|
|
53
|
-
"type": "Range",
|
|
54
|
-
"ua": "Сума поповнення рахунку"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"name": "payment_status",
|
|
58
|
-
"data": "billing.payment_status",
|
|
59
|
-
"type": "Check",
|
|
60
|
-
"ua": "Статус транзації"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"name": "success_date",
|
|
64
|
-
"type": "Date",
|
|
65
|
-
"ua": "Дата успішного завершення транзакції"
|
|
66
|
-
}
|
|
67
|
-
]
|
|
68
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"key": "user_id",
|
|
3
|
-
"table": "billing.users",
|
|
4
|
-
"order": "cdate desc",
|
|
5
|
-
"form": "billing.users.form",
|
|
6
|
-
"title_column": "user_name",
|
|
7
|
-
"title_full": {
|
|
8
|
-
"ua": "Реєстр користувачів"
|
|
9
|
-
},
|
|
10
|
-
"actions": [
|
|
11
|
-
"add",
|
|
12
|
-
"edit",
|
|
13
|
-
"del"
|
|
14
|
-
],
|
|
15
|
-
"columns": [
|
|
16
|
-
{
|
|
17
|
-
"name": "user_name",
|
|
18
|
-
"format": "text",
|
|
19
|
-
"title": "Ім'я"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"name": "sur_name",
|
|
23
|
-
"format": "text",
|
|
24
|
-
"title": "Прізвище"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "father_name",
|
|
28
|
-
"format": "text",
|
|
29
|
-
"title": "По-батькові"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "email",
|
|
33
|
-
"format": "text",
|
|
34
|
-
"title": "Email"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"name": "enabled",
|
|
38
|
-
"hidden": true,
|
|
39
|
-
"format": "yes/no",
|
|
40
|
-
"title": "On / off"
|
|
41
|
-
}
|
|
42
|
-
],
|
|
43
|
-
"filter_list": [
|
|
44
|
-
{
|
|
45
|
-
"name": "user_name",
|
|
46
|
-
"type": "Text",
|
|
47
|
-
"ua": "Ім'я користувача"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"name": "sur_name",
|
|
51
|
-
"type": "Text",
|
|
52
|
-
"ua": "Прізвище користувача"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"name": "father_name",
|
|
56
|
-
"type": "Text",
|
|
57
|
-
"ua": "По-батькові користувача"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"name": "email",
|
|
61
|
-
"type": "Text",
|
|
62
|
-
"ua": "Email"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"name": "enabled",
|
|
66
|
-
"type": "Check",
|
|
67
|
-
"data": "yes_no",
|
|
68
|
-
"ua": "On / off"
|
|
69
|
-
}
|
|
70
|
-
]
|
|
71
|
-
}
|