@visa-check-r/integrations 0.0.126 → 0.0.128

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
@@ -4504,11 +4504,13 @@ var getAdminAnalyticsQuery = `
4504
4504
  query getAdminAnalytics($months: Int) {
4505
4505
  getAdminAnalytics(months: $months) {
4506
4506
  adminAnalytics {
4507
- months { month signups profiles applications approved rejected purchases creditsSold salesValue checksRun }
4507
+ months { month signups profiles applications approved rejected purchases creditsSold salesValue checksRun sopDrafts refusals }
4508
4508
  outcomes { key count }
4509
4509
  funnel { key count }
4510
4510
  readiness { key count }
4511
4511
  averageReadiness
4512
+ totals { creditsSold salesValue readinessChecks sopDrafts refusals }
4513
+ profileStages { total notStarted draft completed ready }
4512
4514
  }
4513
4515
  }
4514
4516
  }
@@ -4594,6 +4596,16 @@ var createPartnerLinkService = (client) => ({
4594
4596
  option
4595
4597
  );
4596
4598
  return (_c = (_b = (_a = res.data) == null ? void 0 : _a.partnerProfileChecks) == null ? void 0 : _b.profileChecks) != null ? _c : [];
4599
+ },
4600
+ /** The signed-in user's own visa profiles counted by check status, and how many are ready to submit. */
4601
+ async myProfileSummary(option) {
4602
+ var _a, _b, _c;
4603
+ const res = await client.request(
4604
+ `query { myProfileSummary { profileSummary { total notStarted draft completed ready } } }`,
4605
+ {},
4606
+ option
4607
+ );
4608
+ return (_c = (_b = (_a = res.data) == null ? void 0 : _a.myProfileSummary) == null ? void 0 : _b.profileSummary) != null ? _c : void 0;
4597
4609
  }
4598
4610
  });
4599
4611