@zkp2p/providers 7.7.0 → 7.8.1

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.
@@ -33,30 +33,30 @@
33
33
  "responseMatches": [
34
34
  {
35
35
  "type": "regex",
36
- "value": "window\\.GLOBAL_NAV_DATA\\s*=\\s*\\{[\\s\\S]*?userName\\s*:\\s*'(?<fullName>[^']+)'"
36
+ "value": "\\buserName\\b\\s*:\\s*[\"'](?<fullName>[^\"']+)[\"']"
37
37
  },
38
38
  {
39
39
  "type": "regex",
40
- "value": "window\\.GLOBAL_NAV_DATA\\s*=\\s*\\{[\\s\\S]*?mobile\\s*:\\s*'(?<mobile>[^']+)'"
40
+ "value": "\\bmobile\\b\\s*:\\s*[\"'](?<mobile>[^\"']+)[\"']"
41
41
  },
42
42
  {
43
43
  "type": "regex",
44
- "value": "window\\.GLOBAL_NAV_DATA\\s*=\\s*\\{[\\s\\S]*?email\\s*:\\s*'(?<email>[^']+)'"
44
+ "value": "\\bemail\\b\\s*:\\s*[\"'](?<email>[^\"']+)[\"']"
45
45
  }
46
46
  ],
47
47
  "responseRedactions": [
48
48
  {
49
- "regex": "window\\.GLOBAL_NAV_DATA\\s*=\\s*\\{[\\s\\S]*?userName\\s*:\\s*'[^']+'",
49
+ "regex": "\\buserName\\b\\s*:\\s*[\"'][^\"']+[\"']",
50
50
  "jsonPath": "",
51
51
  "xPath": ""
52
52
  },
53
53
  {
54
- "regex": "window\\.GLOBAL_NAV_DATA\\s*=\\s*\\{[\\s\\S]*?mobile\\s*:\\s*'[^']+'",
54
+ "regex": "\\bmobile\\b\\s*:\\s*[\"'][^\"']+[\"']",
55
55
  "jsonPath": "",
56
56
  "xPath": ""
57
57
  },
58
58
  {
59
- "regex": "window\\.GLOBAL_NAV_DATA\\s*=\\s*\\{[\\s\\S]*?email\\s*:\\s*'[^']+'",
59
+ "regex": "\\bemail\\b\\s*:\\s*[\"'][^\"']+[\"']",
60
60
  "jsonPath": "",
61
61
  "xPath": ""
62
62
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "actionType": "transfer_zelle",
3
3
  "proofEngine": "reclaim",
4
- "authLink": "https://secure.chase.com/web/auth/dashboard#/dashboard/singleDoor/payments/activity;params=qp,sentactivity",
4
+ "authLink": "https://secure.chase.com/web/auth/dashboard#/dashboard/quickPay/paymentsActivity/index",
5
5
  "url": "https://secure.chase.com/svc/rr/payments/secure/v1/quickpay/payment/activity/list",
6
6
  "method": "POST",
7
7
  "body": "pageId=&sortBy=PROCESS_DATE&orderBy=DESC",
@@ -39,7 +39,11 @@
39
39
  "type": "jsonPath",
40
40
  "value": "$.listItems[{{INDEX}}].date"
41
41
  }
42
- ]
42
+ ],
43
+ "userInput": {
44
+ "promptText": "Click Money Sent to proceed with authentication",
45
+ "transactionXpath": "//a[@id='bottom-quickpay_money_sent_menu_item']"
46
+ }
43
47
  },
44
48
  "paramNames": [],
45
49
  "paramSelectors": [],
@@ -2,42 +2,44 @@
2
2
  "actionType": "transfer_zelle",
3
3
  "proofEngine": "reclaim",
4
4
  "authLink": "https://online.citi.com/US/nga/zelle/transfer",
5
- "url": "https://online.citi.com/gcgapi/prod/public/v1/p2ppayments/pastActivityTransactions?transactionCount=20&pageId=0&tab=All",
6
- "method": "GET",
7
- "body": "",
5
+ "url": "https://online.citi.com/gcgapi/prod/public/v1/p2ppayments/activityTransactionDetails",
6
+ "method": "POST",
7
+ "body": "{\"transactionType\":[\"OUTGOING_PAYMENT\",\"SCHEDULED_PAYMENT\"],\"transactionView\":\"LIST_VIEW\",\"transactionStatus\":[\"ALL\"],\"pageOptions\":{\"pageMode\":\"SLICE\",\"page\":1,\"pageSize\":20},\"fetchBlockInfo\":false}",
8
8
  "metadata": {
9
9
  "platform": "zelle",
10
- "urlRegex": "https://online.citi.com/gcgapi/prod/public/v1/p2ppayments/pastActivityTransactions\\?transactionCount=20&pageId=0&tab=All",
11
- "method": "GET",
10
+ "metadataUrl": "https://online.citi.com/gcgapi/prod/public/v1/p2ppayments/activityTransactionDetails",
11
+ "metadataUrlMethod": "POST",
12
+ "metadataUrlBody": "{\"transactionType\":[\"OUTGOING_PAYMENT\",\"SCHEDULED_PAYMENT\"],\"transactionView\":\"LIST_VIEW\",\"transactionStatus\":[\"ALL\"],\"pageOptions\":{\"pageMode\":\"SLICE\",\"page\":1,\"pageSize\":20},\"fetchBlockInfo\":false}",
13
+ "urlRegex": "https://online.citi.com/gcgapi/prod/public/v1/p2ppayments/activityTransactionDetails",
14
+ "method": "POST",
12
15
  "fallbackUrlRegex": "",
13
16
  "fallbackMethod": "",
14
17
  "preprocessRegex": "",
15
18
  "transactionsExtraction": {
16
- "transactionJsonPathListSelector": "$.content.paymentTransactionsData",
19
+ "transactionJsonPathListSelector": "$.transactionData[0].transactions",
17
20
  "transactionJsonPathSelectors": {
18
21
  "amount": "$.amount",
19
- "paymentId": "$.paymentID",
22
+ "paymentId": "$.transactionId",
20
23
  "recipient": "$.partyToken",
21
- "date": "$.updatedTimeStamp",
22
- "currency": "$.currency"
24
+ "date": "$.initiationDate"
23
25
  }
24
26
  },
25
27
  "proofMetadataSelectors": [
26
28
  {
27
29
  "type": "jsonPath",
28
- "value": "$.content.paymentTransactionsData[{{INDEX}}].amount"
30
+ "value": "$.transactionData[0].transactions[{{INDEX}}].amount"
29
31
  },
30
32
  {
31
33
  "type": "jsonPath",
32
- "value": "$.content.paymentTransactionsData[{{INDEX}}].paymentID"
34
+ "value": "$.transactionData[0].transactions[{{INDEX}}].transactionId"
33
35
  },
34
36
  {
35
37
  "type": "jsonPath",
36
- "value": "$.content.paymentTransactionsData[{{INDEX}}].partyToken"
38
+ "value": "$.transactionData[0].transactions[{{INDEX}}].partyToken"
37
39
  },
38
40
  {
39
41
  "type": "jsonPath",
40
- "value": "$.content.paymentTransactionsData[{{INDEX}}].updatedTimeStamp"
42
+ "value": "$.transactionData[0].transactions[{{INDEX}}].initiationDate"
41
43
  }
42
44
  ]
43
45
  },
@@ -54,19 +56,19 @@
54
56
  "responseMatches": [
55
57
  {
56
58
  "type": "regex",
57
- "value": "\"paymentID\":\"(?<paymentID>[^\"]+)\""
59
+ "value": "\"transactionId\":\"(?<transactionId>[^\"]+)\""
58
60
  },
59
61
  {
60
62
  "type": "regex",
61
- "value": "\"paymentStatus\":\"(?<paymentStatus>[^\"]+)\""
63
+ "value": "\"transactionStatus\":\"(?<transactionStatus>[^\"]+)\""
62
64
  },
63
65
  {
64
66
  "type": "regex",
65
- "value": "\"updatedTimeStamp\":\"(?<updatedTimeStamp>[^\"]+)\""
67
+ "value": "\"initiationDate\":\"(?<initiationDate>[^\"]+)\""
66
68
  },
67
69
  {
68
70
  "type": "regex",
69
- "value": "\"amount\":\"(?<amount>[^\"]+)\""
71
+ "value": "\"amount\":(?<amount>[0-9\\.]+)"
70
72
  },
71
73
  {
72
74
  "type": "regex",
@@ -75,23 +77,23 @@
75
77
  ],
76
78
  "responseRedactions": [
77
79
  {
78
- "jsonPath": "$.content.paymentTransactionsData[{{INDEX}}].paymentID",
80
+ "jsonPath": "$.transactionData[0].transactions[{{INDEX}}].transactionId",
79
81
  "xPath": ""
80
82
  },
81
83
  {
82
- "jsonPath": "$.content.paymentTransactionsData[{{INDEX}}].paymentStatus",
84
+ "jsonPath": "$.transactionData[0].transactions[{{INDEX}}].transactionStatus",
83
85
  "xPath": ""
84
86
  },
85
87
  {
86
- "jsonPath": "$.content.paymentTransactionsData[{{INDEX}}].updatedTimeStamp",
88
+ "jsonPath": "$.transactionData[0].transactions[{{INDEX}}].initiationDate",
87
89
  "xPath": ""
88
90
  },
89
91
  {
90
- "jsonPath": "$.content.paymentTransactionsData[{{INDEX}}].amount",
92
+ "jsonPath": "$.transactionData[0].transactions[{{INDEX}}].amount",
91
93
  "xPath": ""
92
94
  },
93
95
  {
94
- "jsonPath": "$.content.paymentTransactionsData[{{INDEX}}].partyToken",
96
+ "jsonPath": "$.transactionData[0].transactions[{{INDEX}}].partyToken",
95
97
  "xPath": ""
96
98
  }
97
99
  ],
@@ -109,14 +111,14 @@
109
111
  "includeAdditionalCookieDomains": [],
110
112
  "additionalClientOptions": {
111
113
  "cipherSuites": [
112
- "TLS_CHACHA20_POLY1305_SHA256",
113
- "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256",
114
- "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256"
114
+ "TLS_AES_128_GCM_SHA256",
115
+ "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
116
+ "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
115
117
  ]
116
118
  },
117
119
  "useExternalAction": true,
118
120
  "external": {
119
- "actionLink": "citi://",
121
+ "actionLink": "https://www.citi.com/citi-partner/zelle/login",
120
122
  "appStoreLink": "https://apps.apple.com/us/app/citi-mobile/id301724680",
121
123
  "playStoreLink": "https://play.google.com/store/apps/details?id=com.citi.citimobile"
122
124
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zkp2p/providers",
3
- "version": "7.7.0",
3
+ "version": "7.8.1",
4
4
  "description": "Provider JSON templates for ZKP2P",
5
5
  "scripts": {
6
6
  "start": "node index.js"
package/providers.json CHANGED
@@ -17,6 +17,7 @@
17
17
  { "id": "venmo", "files": ["venmo/transfer_venmo.json"] },
18
18
  { "id": "wise", "files": ["wise/transfer_wise.json"] },
19
19
  { "id": "n26", "files": ["n26/transfer_n26.json"] },
20
- { "id": "alipay", "files": ["alipay/transfer_alipay.json", "alipay/register_alipay.json"] }
20
+ { "id": "alipay", "files": ["alipay/transfer_alipay.json", "alipay/register_alipay.json"] },
21
+ { "id": "td_bank", "files": ["td_bank/transfer_zelle.json"] }
21
22
  ]
22
23
  }
@@ -0,0 +1,112 @@
1
+ {
2
+ "actionType": "transfer_zelle",
3
+ "proofEngine": "reclaim",
4
+ "authLink": "https://onlinebanking.tdbank.com/",
5
+ "url": "https://mobilews.cashedge.com/mobilewebservice/v2/activity?returnTotalSplitAmount=true&returnZellePaymentID=true&returnReasonCode=true&returnPayeeTransferFee=true",
6
+ "method": "GET",
7
+ "skipRequestHeaders": [
8
+ "Cookie",
9
+ "Accept-Encoding",
10
+ "FSV-HomeId",
11
+ "CEUserAgent"
12
+ ],
13
+ "body": "",
14
+ "metadata": {
15
+ "platform": "zelle",
16
+ "urlRegex": "https://mobilews\\.cashedge\\.com/mobilewebservice/v2/activity.*",
17
+ "method": "GET",
18
+ "fallbackUrlRegex": "",
19
+ "fallbackMethod": "",
20
+ "shouldReplayRequestInPage": false,
21
+ "shouldSkipCloseTab": false,
22
+ "transactionsExtraction": {
23
+ "transactionJsonPathListSelector": "$.activities",
24
+ "transactionJsonPathSelectors": {
25
+ "recipient": "$.sendEmailTo",
26
+ "amount": "$.transferAmount.value",
27
+ "date": "$.creationDate.value",
28
+ "paymentId": "$.zellePaymentID"
29
+ }
30
+ },
31
+ "proofMetadataSelectors": [
32
+ {
33
+ "type": "jsonPath",
34
+ "value": "$.activities[{{INDEX}}].sendEmailTo"
35
+ },
36
+ {
37
+ "type": "jsonPath",
38
+ "value": "$.activities[{{INDEX}}].transferAmount.value"
39
+ },
40
+ {
41
+ "type": "jsonPath",
42
+ "value": "$.activities[{{INDEX}}].creationDate.value"
43
+ },
44
+ {
45
+ "type": "jsonPath",
46
+ "value": "$.activities[{{INDEX}}].zellePaymentID"
47
+ }
48
+ ]
49
+ },
50
+ "paramNames": [],
51
+ "paramSelectors": [],
52
+ "secretHeaders": [
53
+ "Cookie",
54
+ "sessionID",
55
+ "FSV-HomeId"
56
+ ],
57
+ "responseMatches": [
58
+ {
59
+ "type": "regex",
60
+ "value": "\"sendEmailTo\":\"(?<recipient>[^\"]+)\""
61
+ },
62
+ {
63
+ "type": "regex",
64
+ "value": "\"transferAmount\":\\{\"value\":(?<amount>[\\d.]+)\\}"
65
+ },
66
+ {
67
+ "type": "regex",
68
+ "value": "\"transferStatus\":\"(?<status>[^\"]+)\""
69
+ },
70
+ {
71
+ "type": "regex",
72
+ "value": "\"zellePaymentID\":\"(?<paymentId>[^\"]+)\""
73
+ },
74
+ {
75
+ "type": "regex",
76
+ "value": "\"paymentType\":\"(?<type>[^\"]+)\""
77
+ },
78
+ {
79
+ "type": "regex",
80
+ "value": "\"creationDate\":\\{\"value\":\"(?<date>[^\"]+)\"\\}"
81
+ }
82
+ ],
83
+ "responseRedactions": [
84
+ {
85
+ "jsonPath": "$.activities[{{INDEX}}].sendEmailTo"
86
+ },
87
+ {
88
+ "jsonPath": "$.activities[{{INDEX}}].transferAmount"
89
+ },
90
+ {
91
+ "jsonPath": "$.activities[{{INDEX}}].transferStatus"
92
+ },
93
+ {
94
+ "jsonPath": "$.activities[{{INDEX}}].zellePaymentID"
95
+ },
96
+ {
97
+ "jsonPath": "$.activities[{{INDEX}}].paymentType"
98
+ },
99
+ {
100
+ "jsonPath": "$.activities[{{INDEX}}].creationDate"
101
+ }
102
+ ],
103
+ "mobile": {
104
+ "includeAdditionalCookieDomains": ["cashedge.com"],
105
+ "useExternalAction": true,
106
+ "external": {
107
+ "actionLink": "tdbank://",
108
+ "appStoreLink": "https://apps.apple.com/us/app/td-bank-us/id382107453",
109
+ "playStoreLink": "https://play.google.com/store/apps/details?id=com.tdbank"
110
+ }
111
+ }
112
+ }