vesant-sdk 1.7.0-dev.ab7ff29 → 1.7.0-dev.b7f5c17
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/{client-ZNdnpWe7.d.mts → client-B0qhE2kr.d.mts} +1 -1
- package/dist/{client-DoMSYMMR.d.ts → client-DF7hlMEz.d.ts} +13 -0
- package/dist/{client-DMIRx7Tu.d.mts → client-DrjgZoH_.d.mts} +13 -0
- package/dist/{client-C3DCmGe9.d.ts → client-DtH2RLuy.d.ts} +1 -1
- package/dist/compliance/index.d.mts +2 -2
- package/dist/compliance/index.d.ts +2 -2
- package/dist/compliance/index.js +0 -3
- package/dist/compliance/index.js.map +1 -1
- package/dist/compliance/index.mjs +0 -3
- package/dist/compliance/index.mjs.map +1 -1
- package/dist/geolocation/index.d.mts +2 -2
- package/dist/geolocation/index.d.ts +2 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/dist/kyc/core.js.map +1 -1
- package/dist/kyc/core.mjs.map +1 -1
- package/dist/kyc/index.d.mts +29 -0
- package/dist/kyc/index.d.ts +29 -0
- package/dist/kyc/index.js.map +1 -1
- package/dist/kyc/index.mjs.map +1 -1
- package/dist/react.d.mts +4 -2
- package/dist/react.d.ts +4 -2
- package/dist/react.js +112 -73
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +112 -73
- package/dist/react.mjs.map +1 -1
- package/dist/tax/index.d.mts +18 -1
- package/dist/tax/index.d.ts +18 -1
- package/dist/tax/index.js +4 -1
- package/dist/tax/index.js.map +1 -1
- package/dist/tax/index.mjs +4 -1
- package/dist/tax/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1798,9 +1798,6 @@ var ComplianceClient = class {
|
|
|
1798
1798
|
if (cipherTextResult.risk?.is_blocked) {
|
|
1799
1799
|
blockReasons.push(...cipherTextResult.risk.block_reasons_structured ?? []);
|
|
1800
1800
|
}
|
|
1801
|
-
if (cipherTextResult.risk?.location_mismatch) {
|
|
1802
|
-
blockReasons.push(sdkReasons.gpsIPMismatch());
|
|
1803
|
-
}
|
|
1804
1801
|
}
|
|
1805
1802
|
if (geoVerification.gps_required && !cipherTextResult) {
|
|
1806
1803
|
blockReasons.push(sdkReasons.gpsRequired());
|
|
@@ -3355,7 +3352,7 @@ var TaxClient = class extends BaseClient {
|
|
|
3355
3352
|
}
|
|
3356
3353
|
async getCustomerDocuments(customerID) {
|
|
3357
3354
|
return this.request(
|
|
3358
|
-
`/api/v1/
|
|
3355
|
+
`/api/v1/tm/customer-tax-profiles/${customerID}/documents`
|
|
3359
3356
|
);
|
|
3360
3357
|
}
|
|
3361
3358
|
async downloadTaxForm(customerID, requestOptions) {
|
|
@@ -3380,6 +3377,9 @@ var TaxClient = class extends BaseClient {
|
|
|
3380
3377
|
});
|
|
3381
3378
|
return res.version;
|
|
3382
3379
|
}
|
|
3380
|
+
async runReminders() {
|
|
3381
|
+
return this.request("/api/v1/tax/reminders/run", { method: "POST" });
|
|
3382
|
+
}
|
|
3383
3383
|
async getComplianceStats(filters) {
|
|
3384
3384
|
const params = {};
|
|
3385
3385
|
if (filters?.time_range) params.time_range = filters.time_range;
|