@zkp2p/providers 7.1.0 → 7.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/package.json
CHANGED
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"] },
|
|
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"] },
|
|
@@ -130,5 +130,74 @@
|
|
|
130
130
|
"appStoreLink": "https://apps.apple.com/us/app/revolut/id370619147",
|
|
131
131
|
"playStoreLink": "https://play.google.com/store/apps/details?id=com.revolut.revolut"
|
|
132
132
|
}
|
|
133
|
-
}
|
|
133
|
+
},
|
|
134
|
+
"additionalProofs": [
|
|
135
|
+
{
|
|
136
|
+
"url": "https://app.revolut.com/api/retail/user/current/transactions/last?count=20",
|
|
137
|
+
"method": "GET",
|
|
138
|
+
"body": "",
|
|
139
|
+
"paramNames": [],
|
|
140
|
+
"paramSelectors": [],
|
|
141
|
+
"skipRequestHeaders": [
|
|
142
|
+
"x-device-id",
|
|
143
|
+
"Cookie"
|
|
144
|
+
],
|
|
145
|
+
"secretHeaders": [
|
|
146
|
+
"x-device-id",
|
|
147
|
+
"Cookie"
|
|
148
|
+
],
|
|
149
|
+
"responseMatches": [
|
|
150
|
+
{
|
|
151
|
+
"type": "regex",
|
|
152
|
+
"value": "\"amount\":(?<amount>[0-9\\-]+)"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"type": "regex",
|
|
156
|
+
"value": "\"completedDate\":(?<completedDate>[0-9]+)"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"type": "regex",
|
|
160
|
+
"value": "\"currency\":\"(?<currency>[^\"]+)\""
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"type": "regex",
|
|
164
|
+
"value": "\"id\":\"(?<id>[^\"]+)\""
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"type": "regex",
|
|
168
|
+
"value": "\"state\":\"(?<state>[^\"]+)\""
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"type": "regex",
|
|
172
|
+
"value": "\"username\":\"(?<username>[^\"]+)\""
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"responseRedactions": [
|
|
176
|
+
{
|
|
177
|
+
"jsonPath": "$.[{{INDEX}}].counterpart.amount",
|
|
178
|
+
"xPath": ""
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"jsonPath": "$.[{{INDEX}}].completedDate",
|
|
182
|
+
"xPath": ""
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"jsonPath": "$.[{{INDEX}}].counterpart.currency",
|
|
186
|
+
"xPath": ""
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"jsonPath": "$.[{{INDEX}}].id",
|
|
190
|
+
"xPath": ""
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"jsonPath": "$.[{{INDEX}}].recipient.username",
|
|
194
|
+
"xPath": ""
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"jsonPath": "$.[{{INDEX}}].state",
|
|
198
|
+
"xPath": ""
|
|
199
|
+
}
|
|
200
|
+
]
|
|
201
|
+
}
|
|
202
|
+
]
|
|
134
203
|
}
|
|
@@ -1,128 +0,0 @@
|
|
|
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
|
-
}
|