@visa-check-r/integrations 0.0.126 → 0.0.127

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 CHANGED
@@ -4594,6 +4594,16 @@ var createPartnerLinkService = (client) => ({
4594
4594
  option
4595
4595
  );
4596
4596
  return (_c = (_b = (_a = res.data) == null ? void 0 : _a.partnerProfileChecks) == null ? void 0 : _b.profileChecks) != null ? _c : [];
4597
+ },
4598
+ /** The signed-in user's own visa profiles counted by check status, and how many are ready to submit. */
4599
+ async myProfileSummary(option) {
4600
+ var _a, _b, _c;
4601
+ const res = await client.request(
4602
+ `query { myProfileSummary { profileSummary { total notStarted draft completed ready } } }`,
4603
+ {},
4604
+ option
4605
+ );
4606
+ return (_c = (_b = (_a = res.data) == null ? void 0 : _a.myProfileSummary) == null ? void 0 : _b.profileSummary) != null ? _c : void 0;
4597
4607
  }
4598
4608
  });
4599
4609