@kyciris/core 1.0.0 → 1.1.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.
- package/README.md +1 -1
- package/dist/index.d.mts +75 -1
- package/dist/index.d.ts +75 -1
- package/dist/index.js +19 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +19 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1321,6 +1321,25 @@ var VerificationsResource = class {
|
|
|
1321
1321
|
});
|
|
1322
1322
|
return result.data;
|
|
1323
1323
|
}
|
|
1324
|
+
/**
|
|
1325
|
+
* What the applicant still owes, and the verdict about the person.
|
|
1326
|
+
*
|
|
1327
|
+
* `getStatus` answers for one document. On a level asking for two, its
|
|
1328
|
+
* APPROVED is not the answer an integration wants -- the applicant may still
|
|
1329
|
+
* owe the other. This is the call that says which, through `outstanding`.
|
|
1330
|
+
*
|
|
1331
|
+
* Works with a verification token, which reports that token's own end-user
|
|
1332
|
+
* and ignores `externalId`, so an app needs no API key to drive a multi-
|
|
1333
|
+
* document flow.
|
|
1334
|
+
*/
|
|
1335
|
+
async applicant(params = {}, options = {}) {
|
|
1336
|
+
const result = await this.http.request({
|
|
1337
|
+
path: "/verification/applicant",
|
|
1338
|
+
query: { ...params },
|
|
1339
|
+
signal: options.signal
|
|
1340
|
+
});
|
|
1341
|
+
return result.data;
|
|
1342
|
+
}
|
|
1324
1343
|
/**
|
|
1325
1344
|
* Which files exist for a verification.
|
|
1326
1345
|
*
|