@visa-check-r/integrations 0.0.124 → 0.0.125
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/index.cjs.js +11 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.esm.js +11 -0
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -4552,6 +4552,17 @@ var createPartnerLinkService = (client) => ({
|
|
|
4552
4552
|
option
|
|
4553
4553
|
);
|
|
4554
4554
|
return (_a = res.data) == null ? void 0 : _a.partnerDashboard;
|
|
4555
|
+
},
|
|
4556
|
+
/** The check status of each of the partner's client profiles asked for (at most 100); others are left out. */
|
|
4557
|
+
async partnerProfileChecks(visaProfileIds, option) {
|
|
4558
|
+
var _a, _b, _c;
|
|
4559
|
+
if (!visaProfileIds.length) return [];
|
|
4560
|
+
const res = await client.request(
|
|
4561
|
+
`query partnerProfileChecks($visaProfileIds: [String]!) { partnerProfileChecks(visaProfileIds: $visaProfileIds) { profileChecks { visaProfileId status } } }`,
|
|
4562
|
+
{ visaProfileIds },
|
|
4563
|
+
option
|
|
4564
|
+
);
|
|
4565
|
+
return (_c = (_b = (_a = res.data) == null ? void 0 : _a.partnerProfileChecks) == null ? void 0 : _b.profileChecks) != null ? _c : [];
|
|
4555
4566
|
}
|
|
4556
4567
|
});
|
|
4557
4568
|
|