@zkp2p/providers 7.0.0 → 7.1.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.
|
@@ -119,10 +119,11 @@
|
|
|
119
119
|
"mercadolibre.com",
|
|
120
120
|
"www.mercadolibre.com"
|
|
121
121
|
],
|
|
122
|
-
"
|
|
123
|
-
|
|
124
|
-
"
|
|
125
|
-
"
|
|
122
|
+
"useExternalAction": true,
|
|
123
|
+
"external": {
|
|
124
|
+
"actionLink": "mercadopago://",
|
|
125
|
+
"appStoreLink": "https://apps.apple.com/us/app/mercado-pago-cuenta-digital/id925436649",
|
|
126
|
+
"playStoreLink": "https://play.google.com/store/apps/details?id=com.mercadopago.wallet"
|
|
126
127
|
}
|
|
127
128
|
}
|
|
128
129
|
}
|
package/package.json
CHANGED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
"body": "",
|
|
8
8
|
"metadata": {
|
|
9
9
|
"platform": "paypal",
|
|
10
|
-
"urlRegex": "https://www.paypal.com/myaccount/activities/filter/\\?q
|
|
10
|
+
"urlRegex": "^https://www.paypal.com/myaccount/activities/filter/\\?q=.*$",
|
|
11
11
|
"method": "GET",
|
|
12
12
|
"fallbackUrlRegex": "",
|
|
13
13
|
"fallbackMethod": "",
|
|
14
|
-
"preprocessRegex": "",
|
|
14
|
+
"preprocessRegex": "<pre[^>]*>([\\s\\S]*?)<\\/pre>",
|
|
15
15
|
"transactionsExtraction": {
|
|
16
16
|
"transactionJsonPathListSelector": "$.data.data.activity.transactions",
|
|
17
17
|
"transactionJsonPathSelectors": {
|
|
@@ -97,5 +97,21 @@
|
|
|
97
97
|
"jsonPath": "$.data.primitiveTimeCreated",
|
|
98
98
|
"xPath": ""
|
|
99
99
|
}
|
|
100
|
-
]
|
|
100
|
+
],
|
|
101
|
+
"mobile": {
|
|
102
|
+
"includeAdditionalCookieDomains": [],
|
|
103
|
+
"additionalClientOptions": {
|
|
104
|
+
"cipherSuites": [
|
|
105
|
+
"TLS_CHACHA20_POLY1305_SHA256",
|
|
106
|
+
"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256",
|
|
107
|
+
"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256"
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
"useExternalAction": true,
|
|
111
|
+
"external": {
|
|
112
|
+
"actionLink": "paypal://",
|
|
113
|
+
"appStoreLink": "https://apps.apple.com/us/app/paypal-pay-send-save/id283646709",
|
|
114
|
+
"playStoreLink": "https://play.google.com/store/apps/details?id=com.paypal.android.p2pmobile&hl=en_US"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
101
117
|
}
|
package/providers.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
{ "id": "mercadopago", "files": ["mercadopago/transfer_mercadopago.json"] },
|
|
10
10
|
{ "id": "monzo", "files": ["monzo/transfer_monzo.json"] },
|
|
11
11
|
{ "id": "paypal", "files": ["paypal/transfer_paypal.json"] },
|
|
12
|
-
{ "id": "revolut", "files": ["revolut/transfer_revolut.json"] },
|
|
12
|
+
{ "id": "revolut", "files": ["revolut/transfer_revolut.json", "revolut/transfer_revolut_crosscurrency.json"] },
|
|
13
13
|
{ "id": "royalbankcanada", "files": ["royalbankcanada/transfer_interac.json"] },
|
|
14
14
|
{ "id": "usbank", "files": ["usbank/transfer_zelle.json"] },
|
|
15
15
|
{ "id": "venmo", "files": ["venmo/transfer_venmo.json"] },
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actionType": "transfer_revolut_crosscurrency",
|
|
3
|
+
"proofEngine": "reclaim",
|
|
4
|
+
"authLink": "https://app.revolut.com/home",
|
|
5
|
+
"url": "https://app.revolut.com/api/retail/user/current/transactions/last?count=20",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"body": "",
|
|
8
|
+
"metadata": {
|
|
9
|
+
"shouldReplayRequestInPage": true,
|
|
10
|
+
"metadataUrl": "https://app.revolut.com/api/retail/user/current/transactions/last?count=20",
|
|
11
|
+
"metadataUrlMethod": "GET",
|
|
12
|
+
"metadataUrlBody": "",
|
|
13
|
+
"platform": "revolut",
|
|
14
|
+
"urlRegex": "https://app.revolut.com/api/retail/user/current/transactions/last\\?count=20$",
|
|
15
|
+
"method": "GET",
|
|
16
|
+
"fallbackUrlRegex": "https://app.revolut.com/api/retail/user/current/transactions/last\\?count=20&\\S+",
|
|
17
|
+
"fallbackMethod": "GET",
|
|
18
|
+
"preprocessRegex": "",
|
|
19
|
+
"transactionsExtraction": {
|
|
20
|
+
"transactionJsonPathListSelector": "$",
|
|
21
|
+
"transactionJsonPathSelectors": {
|
|
22
|
+
"recipient": "$.recipient.username",
|
|
23
|
+
"amount": "$.amount",
|
|
24
|
+
"counterpartAmount": "$.counterpart.amount",
|
|
25
|
+
"date": "$.completedDate",
|
|
26
|
+
"paymentId": "$.id",
|
|
27
|
+
"counterpartCurrency": "$.counterpart.currency"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"proofMetadataSelectors": [
|
|
31
|
+
{
|
|
32
|
+
"type": "jsonPath",
|
|
33
|
+
"value": "$.[{{INDEX}}].counterpart.amount"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"type": "jsonPath",
|
|
37
|
+
"value": "$.[{{INDEX}}].counterpart.currency"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "jsonPath",
|
|
41
|
+
"value": "$.[{{INDEX}}].recipient.username"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "jsonPath",
|
|
45
|
+
"value": "$.[{{INDEX}}].completedDate"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"type": "jsonPath",
|
|
49
|
+
"value": "$.[{{INDEX}}].state"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "jsonPath",
|
|
53
|
+
"value": "$.[{{INDEX}}].id"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"paramNames": [],
|
|
58
|
+
"paramSelectors": [],
|
|
59
|
+
"skipRequestHeaders": [
|
|
60
|
+
"x-device-id",
|
|
61
|
+
"Cookie"
|
|
62
|
+
],
|
|
63
|
+
"secretHeaders": [
|
|
64
|
+
"x-device-id",
|
|
65
|
+
"Cookie"
|
|
66
|
+
],
|
|
67
|
+
"responseMatches": [
|
|
68
|
+
{
|
|
69
|
+
"type": "regex",
|
|
70
|
+
"value": "\"amount\":(?<amount>[0-9\\-]+)"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"type": "regex",
|
|
74
|
+
"value": "\"completedDate\":(?<completedDate>[0-9]+)"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"type": "regex",
|
|
78
|
+
"value": "\"currency\":\"(?<currency>[^\"]+)\""
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"type": "regex",
|
|
82
|
+
"value": "\"id\":\"(?<id>[^\"]+)\""
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"type": "regex",
|
|
86
|
+
"value": "\"state\":\"(?<state>[^\"]+)\""
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"type": "regex",
|
|
90
|
+
"value": "\"username\":\"(?<username>[^\"]+)\""
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"responseRedactions": [
|
|
94
|
+
{
|
|
95
|
+
"jsonPath": "$.[{{INDEX}}].counterpart.amount",
|
|
96
|
+
"xPath": ""
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"jsonPath": "$.[{{INDEX}}].completedDate",
|
|
100
|
+
"xPath": ""
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"jsonPath": "$.[{{INDEX}}].counterpart.currency",
|
|
104
|
+
"xPath": ""
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"jsonPath": "$.[{{INDEX}}].id",
|
|
108
|
+
"xPath": ""
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"jsonPath": "$.[{{INDEX}}].recipient.username",
|
|
112
|
+
"xPath": ""
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"jsonPath": "$.[{{INDEX}}].state",
|
|
116
|
+
"xPath": ""
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
"mobile": {
|
|
120
|
+
"includeAdditionalCookieDomains": [],
|
|
121
|
+
"useExternalAction": true,
|
|
122
|
+
"external": {
|
|
123
|
+
"actionLink": "https://revolut.me/{{RECIPIENT_ID}}",
|
|
124
|
+
"appStoreLink": "https://apps.apple.com/us/app/revolut/id370619147",
|
|
125
|
+
"playStoreLink": "https://play.google.com/store/apps/details?id=com.revolut.revolut"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|