@delopay/sdk 0.350.0 → 0.351.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/dist/{chunk-WQVV25OT.js → chunk-MSVWVVF7.js} +46 -1
- package/dist/chunk-MSVWVVF7.js.map +1 -0
- package/dist/{index-GaFcMz0l.d.cts → index-BXXAFEQ0.d.cts} +102 -1
- package/dist/{index-GaFcMz0l.d.ts → index-BXXAFEQ0.d.ts} +102 -1
- package/dist/index.cjs +45 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/internal.cjs +66 -0
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +42 -3
- package/dist/internal.d.ts +42 -3
- package/dist/internal.js +22 -1
- package/dist/internal.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-WQVV25OT.js.map +0 -1
|
@@ -5898,6 +5898,51 @@ var IdentityVerifications = class {
|
|
|
5898
5898
|
options
|
|
5899
5899
|
);
|
|
5900
5900
|
}
|
|
5901
|
+
/**
|
|
5902
|
+
* Whether an account rates the buyer addresses of its shop's payments.
|
|
5903
|
+
* Needs permission to read connectors.
|
|
5904
|
+
*
|
|
5905
|
+
* `GET /identity-verifications/accounts/{merchant_connector_id}/connection-check`
|
|
5906
|
+
*/
|
|
5907
|
+
async connectionCheckSetting(merchantConnectorId, options) {
|
|
5908
|
+
return this.request(
|
|
5909
|
+
"GET",
|
|
5910
|
+
`/identity-verifications/accounts/${encodeURIComponent(merchantConnectorId)}/connection-check`,
|
|
5911
|
+
options
|
|
5912
|
+
);
|
|
5913
|
+
}
|
|
5914
|
+
/**
|
|
5915
|
+
* Switch the connection check of the account's shop. Switched on, the
|
|
5916
|
+
* buyer address of every payment the shop confirms is rated by the
|
|
5917
|
+
* provider, once per payment and address, before authorization. A `high`
|
|
5918
|
+
* or `very_high` rating counts as an anonymising connection (the `proxy`
|
|
5919
|
+
* network class) in the buyer risk score and the buyer blocklist. A check
|
|
5920
|
+
* never holds or refuses a payment by itself. Switching on asks the
|
|
5921
|
+
* provider nothing, since every check is billed. A shop has at most one
|
|
5922
|
+
* connection check account. Needs permission to edit connectors.
|
|
5923
|
+
*
|
|
5924
|
+
* `PUT /identity-verifications/accounts/{merchant_connector_id}/connection-check`
|
|
5925
|
+
*/
|
|
5926
|
+
async updateConnectionCheckSetting(merchantConnectorId, params, options) {
|
|
5927
|
+
return this.request(
|
|
5928
|
+
"PUT",
|
|
5929
|
+
`/identity-verifications/accounts/${encodeURIComponent(merchantConnectorId)}/connection-check`,
|
|
5930
|
+
{ body: params, ...options }
|
|
5931
|
+
);
|
|
5932
|
+
}
|
|
5933
|
+
/**
|
|
5934
|
+
* A payment's connection checks, newest first; empty when none ran. Needs
|
|
5935
|
+
* permission to read payments.
|
|
5936
|
+
*
|
|
5937
|
+
* `GET /identity-verifications/connection-checks/{payment_id}`
|
|
5938
|
+
*/
|
|
5939
|
+
async connectionChecks(paymentId, options) {
|
|
5940
|
+
return this.request(
|
|
5941
|
+
"GET",
|
|
5942
|
+
`/identity-verifications/connection-checks/${encodeURIComponent(paymentId)}`,
|
|
5943
|
+
options
|
|
5944
|
+
);
|
|
5945
|
+
}
|
|
5901
5946
|
};
|
|
5902
5947
|
|
|
5903
5948
|
// src/resources/webhooks.ts
|
|
@@ -16315,4 +16360,4 @@ export {
|
|
|
16315
16360
|
decodeNativePanes,
|
|
16316
16361
|
encodeNativePanes
|
|
16317
16362
|
};
|
|
16318
|
-
//# sourceMappingURL=chunk-
|
|
16363
|
+
//# sourceMappingURL=chunk-MSVWVVF7.js.map
|