@timeback/powerpath 0.2.1-beta.20260314155353 → 0.2.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.
@@ -571,6 +571,13 @@ var BEYONDAI_PATHS = {
571
571
  webhookFilterUpdate: "/webhook-filters/{id}",
572
572
  webhookFilterDelete: "/webhook-filters/{id}",
573
573
  webhookFiltersByWebhook: "/webhook-filters/webhook/{webhookId}"
574
+ },
575
+ reporting: {
576
+ mcp: "/mcp/reporting",
577
+ savedQueryExecute: "/reporting/saved-queries/{id}",
578
+ adminGroupCheck: "/mcp/admin/users/{email}/group",
579
+ adminGroupAdd: "/mcp/admin/users/{email}/group",
580
+ adminGroupRemove: "/mcp/admin/users/{email}/group"
574
581
  }
575
582
  };
576
583
  var LEARNWITHAI_PATHS = {
@@ -587,6 +594,7 @@ var LEARNWITHAI_PATHS = {
587
594
  resources: "/resources/1.0"
588
595
  },
589
596
  webhooks: null,
597
+ reporting: null,
590
598
  edubridge: null,
591
599
  powerpath: null,
592
600
  clr: null,
@@ -615,6 +623,7 @@ function resolvePathProfiles(pathProfile, customPaths) {
615
623
  caliper: customPaths?.caliper ?? basePaths.caliper,
616
624
  oneroster: customPaths?.oneroster ?? basePaths.oneroster,
617
625
  webhooks: customPaths?.webhooks ?? basePaths.webhooks,
626
+ reporting: customPaths?.reporting ?? basePaths.reporting,
618
627
  edubridge: customPaths?.edubridge ?? basePaths.edubridge,
619
628
  powerpath: customPaths?.powerpath ?? basePaths.powerpath,
620
629
  clr: customPaths?.clr ?? basePaths.clr,
@@ -676,6 +685,10 @@ class TimebackProvider {
676
685
  baseUrl: platformEndpoints.caliper[env],
677
686
  authUrl: this.authUrl
678
687
  },
688
+ reporting: {
689
+ baseUrl: platformEndpoints.api[env],
690
+ authUrl: this.authUrl
691
+ },
679
692
  qti: {
680
693
  baseUrl: platformEndpoints.qti[env],
681
694
  authUrl: this.authUrl
@@ -693,6 +706,7 @@ class TimebackProvider {
693
706
  case: { baseUrl: config.baseUrl, authUrl: this.authUrl },
694
707
  caliper: { baseUrl: config.baseUrl, authUrl: this.authUrl },
695
708
  webhooks: { baseUrl: config.baseUrl, authUrl: this.authUrl },
709
+ reporting: { baseUrl: config.baseUrl, authUrl: this.authUrl },
696
710
  qti: { baseUrl: config.baseUrl, authUrl: this.authUrl }
697
711
  };
698
712
  } else if (isServicesConfig(config)) {
package/dist/errors.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  NotFoundError,
6
6
  UnauthorizedError,
7
7
  ValidationError
8
- } from "./chunk-22wv0xvg.js";
8
+ } from "./chunk-5a9p0re1.js";
9
9
  import"./chunk-6jf1natv.js";
10
10
  export {
11
11
  ValidationError,
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  resolveToProvider,
9
9
  validateNonEmptyString,
10
10
  validateWithSchema
11
- } from "./chunk-22wv0xvg.js";
11
+ } from "./chunk-5a9p0re1.js";
12
12
  import"./chunk-6jf1natv.js";
13
13
 
14
14
  // src/constants.ts
@@ -1797,6 +1797,23 @@ var QtiLessonFeedbackInput = z11.object({
1797
1797
  lessonId: NonEmptyString,
1798
1798
  humanApproved: z11.boolean().optional()
1799
1799
  }).strict();
1800
+ // ../../types/src/zod/reporting.ts
1801
+ import { z as z12 } from "zod/v4";
1802
+ var ReportingAuthMode = z12.enum(["creator_only", "same_org", "all_orgs"]);
1803
+ var ReportingSavedQueryId = z12.string().uuid();
1804
+ var ReportingUserEmail = z12.email();
1805
+ var ReportingQueryInput = z12.object({
1806
+ sql: NonEmptyString
1807
+ });
1808
+ var PersistReportingQueryInput = z12.object({
1809
+ endpointName: NonEmptyString,
1810
+ sql: NonEmptyString,
1811
+ authMode: ReportingAuthMode,
1812
+ description: NonEmptyString.optional()
1813
+ });
1814
+ var RemoveReportingQueryInput = z12.object({
1815
+ endpointId: ReportingSavedQueryId
1816
+ });
1800
1817
  // src/resources/assessment.ts
1801
1818
  class AssessmentResource {
1802
1819
  transport;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timeback/powerpath",
3
- "version": "0.2.1-beta.20260314155353",
3
+ "version": "0.2.1",
4
4
  "description": "PowerPath client SDK for Timeback",
5
5
  "type": "module",
6
6
  "exports": {