@timeback/edubridge 0.1.0 → 0.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.
@@ -3,7 +3,8 @@
3
3
  *
4
4
  * Student activity data and metrics.
5
5
  */
6
- import type { ActivityParams, DailyActivityMap, EdubridgeTransportLike, EnrollmentFacts, EnrollmentFactsParams, HighestGradeMastered, WeeklyFacts, WeeklyFactsParams } from '../types';
6
+ import type { ActivityParams, EnrollmentFactsParams, WeeklyFactsParams } from '@timeback/types/zod';
7
+ import type { DailyActivityMap, EdubridgeTransportLike, EnrollmentFacts, HighestGradeMastered, WeeklyFacts } from '../types';
7
8
  /**
8
9
  * Analytics resource for retrieving student activity data.
9
10
  *
@@ -1 +1 @@
1
- {"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../../src/resources/analytics.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,EACX,cAAc,EAEd,gBAAgB,EAChB,sBAAsB,EACtB,eAAe,EACf,qBAAqB,EAErB,oBAAoB,EACpB,WAAW,EACX,iBAAiB,EAEjB,MAAM,UAAU,CAAA;AAEjB;;;;GAIG;AACH,qBAAa,iBAAiB;IACjB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAAtC,YAA6B,SAAS,EAAE,sBAAsB,EAAI;IAElE;;;;;;;;OAQG;IACG,WAAW,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAcnE;IAED;;;;;;;;OAQG;IACG,cAAc,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,WAAW,CAAC,CAapE;IAED;;;;;;;;OAQG;IACG,kBAAkB,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,eAAe,CAAC,CAYhF;IAED;;;;;;;;OAQG;IACH,uBAAuB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAIzF;CACD"}
1
+ {"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../../src/resources/analytics.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AASH,OAAO,KAAK,EAAE,cAAc,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAGnG,OAAO,KAAK,EAEX,gBAAgB,EAChB,sBAAsB,EACtB,eAAe,EAEf,oBAAoB,EACpB,WAAW,EAEX,MAAM,UAAU,CAAA;AAEjB;;;;GAIG;AACH,qBAAa,iBAAiB;IACjB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAAtC,YAA6B,SAAS,EAAE,sBAAsB,EAAI;IAElE;;;;;;;;OAQG;IACG,WAAW,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAenE;IAED;;;;;;;;OAQG;IACG,cAAc,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,WAAW,CAAC,CAcpE;IAED;;;;;;;;OAQG;IACG,kBAAkB,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,eAAe,CAAC,CAahF;IAED;;;;;;;;OAQG;IACH,uBAAuB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAMzF;CACD"}
@@ -1 +1 @@
1
- {"version":3,"file":"applications.d.ts","sourceRoot":"","sources":["../../src/resources/applications.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAEvF;;;;;GAKG;AACH,qBAAa,oBAAoB;IACpB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAAtC,YAA6B,SAAS,EAAE,sBAAsB,EAAI;IAElE;;;;OAIG;IACG,IAAI,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC,CAKnC;IAED;;;;;OAKG;IACG,UAAU,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAK1E;CACD"}
1
+ {"version":3,"file":"applications.d.ts","sourceRoot":"","sources":["../../src/resources/applications.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAEvF;;;;;GAKG;AACH,qBAAa,oBAAoB;IACpB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAAtC,YAA6B,SAAS,EAAE,sBAAsB,EAAI;IAElE;;;;OAIG;IACG,IAAI,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC,CAKnC;IAED;;;;;OAKG;IACG,UAAU,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAM1E;CACD"}
@@ -3,7 +3,8 @@
3
3
  *
4
4
  * Simplified, course-centric enrollment management.
5
5
  */
6
- import type { DefaultClass, EdubridgeTransportLike, Enrollment, EnrollOptions, ListEnrollmentsParams, ResetGoalsResult } from '../types';
6
+ import type { EnrollOptions, ListEnrollmentsParams } from '@timeback/types/zod';
7
+ import type { DefaultClass, EdubridgeTransportLike, Enrollment, ResetGoalsResult } from '../types';
7
8
  /**
8
9
  * Enrollments resource for course-centric enrollment management.
9
10
  *
@@ -1 +1 @@
1
- {"version":3,"file":"enrollments.d.ts","sourceRoot":"","sources":["../../src/resources/enrollments.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAEX,YAAY,EACZ,sBAAsB,EACtB,UAAU,EACV,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EAChB,MAAM,UAAU,CAAA;AAEjB;;;;;GAKG;AACH,qBAAa,mBAAmB;IACnB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAAtC,YAA6B,SAAS,EAAE,sBAAsB,EAAI;IAElE;;;;;OAKG;IACG,IAAI,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,UAAU,E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ChB,QAAQ,CAAC,EAAE,MAAM,EACjB,OAAO,GAAE,aAAkB,GACzB,OAAO,CAAC,UAAU,CAAC,CAgBrB;IAED;;;;;;;;OAQG;IACG,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAUjF;IAED;;;;;OAKG;IACG,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAO5D;IAED;;;;;;;OAOG;IACG,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAOnE;IAED;;;;;;OAMG;IACG,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAUhF;CACD"}
@@ -1 +1 @@
1
- {"version":3,"file":"learning-reports.d.ts","sourceRoot":"","sources":["../../src/resources/learning-reports.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,sBAAsB,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAE7E;;;;GAIG;AACH,qBAAa,uBAAuB;IACvB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAAtC,YAA6B,SAAS,EAAE,sBAAsB,EAAI;IAElE;;;;;OAKG;IACG,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAKvD;IAED;;;;;OAKG;IACG,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,CAKrD;CACD"}
1
+ {"version":3,"file":"learning-reports.d.ts","sourceRoot":"","sources":["../../src/resources/learning-reports.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,EAAE,sBAAsB,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAE7E;;;;GAIG;AACH,qBAAa,uBAAuB;IACvB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAAtC,YAA6B,SAAS,EAAE,sBAAsB,EAAI;IAElE;;;;;OAKG;IACG,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAMvD;IAED;;;;;OAKG;IACG,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,CAMrD;CACD"}
@@ -3,7 +3,8 @@
3
3
  *
4
4
  * Manage subject track mappings.
5
5
  */
6
- import type { EdubridgeTransportLike, SubjectTrack, SubjectTrackGroup, SubjectTrackInput } from '../types';
6
+ import type { SubjectTrackInput } from '@timeback/types/zod';
7
+ import type { EdubridgeTransportLike, SubjectTrack, SubjectTrackGroup } from '../types';
7
8
  /**
8
9
  * Subject Track resource for managing subject-to-course mappings.
9
10
  *
@@ -1 +1 @@
1
- {"version":3,"file":"subject-track.d.ts","sourceRoot":"","sources":["../../src/resources/subject-track.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EACX,sBAAsB,EACtB,YAAY,EACZ,iBAAiB,EAEjB,iBAAiB,EAGjB,MAAM,UAAU,CAAA;AAEjB;;;;;;GAMG;AACH,qBAAa,oBAAoB;IACpB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAAtC,YAA6B,SAAS,EAAE,sBAAsB,EAAI;IAElE;;;;OAIG;IACG,IAAI,IAAI,OAAO,CAAC,YAAY,EAAE,CAAC,CAKpC;IAED;;;;;;;;OAQG;IACG,MAAM,CAAC,IAAI,EAAE,iBAAiB,GAAG;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,YAAY,CAAC,CAM5E;IAED;;;;OAIG;IACG,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAKtC;IAED;;;;OAIG;IACG,UAAU,IAAI,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAK/C;CACD"}
1
+ {"version":3,"file":"subject-track.d.ts","sourceRoot":"","sources":["../../src/resources/subject-track.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAE5D,OAAO,KAAK,EACX,sBAAsB,EACtB,YAAY,EACZ,iBAAiB,EAIjB,MAAM,UAAU,CAAA;AAEjB;;;;;;GAMG;AACH,qBAAa,oBAAoB;IACpB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAAtC,YAA6B,SAAS,EAAE,sBAAsB,EAAI;IAElE;;;;OAIG;IACG,IAAI,IAAI,OAAO,CAAC,YAAY,EAAE,CAAC,CAKpC;IAED;;;;;;;;OAQG;IACG,MAAM,CAAC,IAAI,EAAE,iBAAiB,GAAG;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,YAAY,CAAC,CAO5E;IAED;;;;OAIG;IACG,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAMtC;IAED;;;;OAIG;IACG,UAAU,IAAI,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAK/C;CACD"}
@@ -3,7 +3,8 @@
3
3
  *
4
4
  * Enhanced user management beyond standard OneRoster.
5
5
  */
6
- import type { EdubridgeTransportLike, ListUsersParams, Role, User } from '../types';
6
+ import type { ListUsersParams } from '@timeback/types/zod';
7
+ import type { EdubridgeTransportLike, Role, User } from '../types';
7
8
  /**
8
9
  * Users resource for querying users with enhanced filtering.
9
10
  *
@@ -1 +1 @@
1
- {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/resources/users.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,EAAE,sBAAsB,EAAE,eAAe,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AAEnF;;;;;GAKG;AACH,qBAAa,aAAa;IACb,OAAO,CAAC,QAAQ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AC,CAEzE;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,SAAM,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC,CAElE;CACD"}
@@ -1,14 +1,4 @@
1
- /**
2
- * Edubridge Types
3
- *
4
- * All entity and domain types for `@timeback/edubridge`.
5
- */
6
- export * from './analytics';
7
- export * from './applications';
8
- export * from './base';
1
+ export * from '@timeback/types/protocols/edubridge';
9
2
  export * from './client';
10
- export * from './enrollments';
11
- export * from './learning-reports';
12
- export * from './subject-track';
13
- export * from './users';
3
+ export type { ActivityParams, EnrollOptions, EnrollmentFactsParams, ListEnrollmentsParams, ListUsersParams, SubjectTrackInput, SubjectTrackUpsertInput, WeeklyFactsParams, } from '@timeback/types/zod';
14
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB,CAAA;AAClC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAA;AACnD,cAAc,UAAU,CAAA;AAExB,YAAY,EACX,cAAc,EACd,aAAa,EACb,qBAAqB,EACrB,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,GACjB,MAAM,qBAAqB,CAAA"}
package/dist/utils.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Internal utilities for the Edubridge client.
5
5
  */
6
- import type { AggregatedMetrics, DailyActivityMap } from './types/analytics';
6
+ import type { AggregatedMetrics, DailyActivityMap } from './types';
7
7
  /**
8
8
  * Scoped logger for the Edubridge client.
9
9
  * Only logs debug/info when DEBUG=1 or DEBUG=true.
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAE5E;;;GAGG;AACH,eAAO,MAAM,GAAG,4CAAkC,CAAA;AAElD;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAGjE;AAED;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS;IAAE,WAAW,EAAE,OAAO,CAAA;CAAE,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC,CAK5E;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CA8BjF;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,gBAAgB,GAAG,iBAAiB,CAoClF"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAElE;;;GAGG;AACH,eAAO,MAAM,GAAG,4CAAkC,CAAA;AAElD;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAGjE;AAED;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS;IAAE,WAAW,EAAE,OAAO,CAAA;CAAE,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC,CAK5E;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CA8BjF;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,gBAAgB,GAAG,iBAAiB,CAoClF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timeback/edubridge",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -25,6 +25,9 @@
25
25
  "build": "bun build.ts",
26
26
  "test": "bun test --no-env-file unit.test.ts"
27
27
  },
28
+ "dependencies": {
29
+ "zod": "^4.2.1"
30
+ },
28
31
  "devDependencies": {
29
32
  "@timeback/internal-client-infra": "0.0.0",
30
33
  "@timeback/internal-constants": "0.0.0",
@@ -1,208 +0,0 @@
1
- /**
2
- * Analytics Types
3
- *
4
- * Types for analytics and reporting endpoints.
5
- */
6
- /**
7
- * Activity metrics from the API.
8
- */
9
- export interface ActivityMetricsData {
10
- xpEarned: number;
11
- totalQuestions: number;
12
- correctQuestions: number;
13
- masteredUnits: number;
14
- }
15
- /**
16
- * Time spent metrics from the API.
17
- */
18
- export interface TimeSpentMetricsData {
19
- activeSeconds: number;
20
- inactiveSeconds: number;
21
- wasteSeconds: number;
22
- }
23
- /**
24
- * Metrics for a specific subject on a given day.
25
- */
26
- export interface SubjectMetrics {
27
- activityMetrics: ActivityMetricsData;
28
- timeSpentMetrics: TimeSpentMetricsData;
29
- apps: string[];
30
- }
31
- /**
32
- * Activity data grouped by date, then by subject.
33
- *
34
- * @example
35
- * ```typescript
36
- * const activity: DailyActivityMap = {
37
- * "2025-12-17": {
38
- * "FastMath": {
39
- * activityMetrics: { xpEarned: 3.4, totalQuestions: 114, ... },
40
- * timeSpentMetrics: { activeSeconds: 0, ... },
41
- * apps: ["Math Raiders"]
42
- * }
43
- * }
44
- * }
45
- * ```
46
- */
47
- export type DailyActivityMap = Record<string, Record<string, SubjectMetrics>>;
48
- /**
49
- * A single fact/event record from the weekly facts endpoint.
50
- */
51
- export interface WeeklyFactRecord {
52
- id: number;
53
- email: string;
54
- date: string;
55
- datetime: string;
56
- username?: string;
57
- userGrade?: string;
58
- userFamilyName?: string;
59
- userGivenName?: string;
60
- userId?: string;
61
- subject?: string;
62
- app?: string;
63
- courseId?: string;
64
- courseName?: string;
65
- campusId?: string;
66
- campusName?: string;
67
- enrollmentId?: string;
68
- activityId?: string;
69
- activityName?: string;
70
- totalQuestions?: number;
71
- correctQuestions?: number;
72
- xpEarned?: number;
73
- masteredUnits?: number;
74
- activeSeconds?: string;
75
- inactiveSeconds?: string;
76
- wasteSeconds?: string;
77
- source: string;
78
- alphaLevel?: string;
79
- generatedAt?: string;
80
- sendTime?: string;
81
- sensor?: string;
82
- eventType?: string;
83
- year: number;
84
- month: number;
85
- day: number;
86
- dayOfWeek: number;
87
- }
88
- /**
89
- * Weekly facts is an array of individual fact records.
90
- */
91
- export type WeeklyFacts = WeeklyFactRecord[];
92
- /**
93
- * Enrollment facts grouped by date, then by subject.
94
- *
95
- * Same structure as DailyActivityMap - the enrollment endpoint returns
96
- * activity data filtered to a specific enrollment.
97
- */
98
- export type EnrollmentFacts = DailyActivityMap;
99
- /**
100
- * Grade mastery data from various sources.
101
- */
102
- export interface GradeMasteryData {
103
- ritGrade: number | null;
104
- edulasticGrade: string | null;
105
- placementGrade: string | null;
106
- testOutGrade: string | null;
107
- highestGradeOverall: string | null;
108
- }
109
- /**
110
- * Highest grade mastered for a subject.
111
- */
112
- export interface HighestGradeMastered {
113
- studentId: string;
114
- subject: string;
115
- grades: GradeMasteryData;
116
- }
117
- /**
118
- * Response from the activity endpoint.
119
- */
120
- export interface ActivityResponse {
121
- message: string;
122
- startDate: string;
123
- endDate: string;
124
- facts: DailyActivityMap;
125
- factsByApp?: Record<string, Record<string, Record<string, SubjectMetrics>>>;
126
- }
127
- /**
128
- * Response from the weekly facts endpoint.
129
- */
130
- export interface WeeklyFactsResponse {
131
- message: string;
132
- startDate: string;
133
- endDate: string;
134
- facts: WeeklyFacts;
135
- }
136
- /**
137
- * Response from the enrollment facts endpoint.
138
- */
139
- export interface EnrollmentFactsResponse {
140
- message: string;
141
- enrollmentId: string;
142
- startDate?: string;
143
- endDate?: string;
144
- facts: EnrollmentFacts;
145
- factsByApp?: Record<string, Record<string, Record<string, SubjectMetrics>>>;
146
- }
147
- /**
148
- * Parameters for activity query.
149
- *
150
- * Must provide either `email` or `studentId` to identify the user.
151
- */
152
- export interface ActivityParams {
153
- /** User email address */
154
- email?: string;
155
- /** Student sourcedId */
156
- studentId?: string;
157
- /** Start date (ISO format: YYYY-MM-DD or YYYY-MM-DDTHH:mm:ssZ) */
158
- startDate: string;
159
- /** End date (ISO format: YYYY-MM-DD or YYYY-MM-DDTHH:mm:ssZ) */
160
- endDate: string;
161
- /** IANA timezone for date calculations (e.g., America/New_York) */
162
- timezone?: string;
163
- }
164
- /**
165
- * Parameters for weekly facts query.
166
- *
167
- * Must provide either `email` or `studentId` to identify the user.
168
- */
169
- export interface WeeklyFactsParams {
170
- /** User email address */
171
- email?: string;
172
- /** Student sourcedId */
173
- studentId?: string;
174
- /** Week date (ISO format) - required, determines which week to query */
175
- weekDate: string;
176
- /** IANA timezone for date calculations (e.g., America/New_York) */
177
- timezone?: string;
178
- }
179
- /**
180
- * Parameters for enrollment facts query.
181
- */
182
- export interface EnrollmentFactsParams {
183
- /** Enrollment ID */
184
- enrollmentId: string;
185
- /** Start date filter (ISO format) */
186
- startDate?: string;
187
- /** End date filter (ISO format) */
188
- endDate?: string;
189
- /** Timezone for date calculations */
190
- timezone?: string;
191
- }
192
- /**
193
- * Aggregated metrics across all dates and subjects.
194
- *
195
- * Use `aggregateActivityMetrics()` to compute this from a DailyActivityMap.
196
- */
197
- export interface AggregatedMetrics {
198
- totalXp: number;
199
- totalQuestions: number;
200
- correctQuestions: number;
201
- masteredUnits: number;
202
- activeSeconds: number;
203
- inactiveSeconds: number;
204
- wasteSeconds: number;
205
- dayCount: number;
206
- subjectCount: number;
207
- }
208
- //# sourceMappingURL=analytics.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../../src/types/analytics.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH;;GAEG;AACH,MAAM,WAAW,mBAAmB;IACnC,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,gBAAgB,EAAE,MAAM,CAAA;IACxB,aAAa,EAAE,MAAM,CAAA;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACpC,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,EAAE,MAAM,CAAA;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC9B,eAAe,EAAE,mBAAmB,CAAA;IACpC,gBAAgB,EAAE,oBAAoB,CAAA;IACtC,IAAI,EAAE,MAAM,EAAE,CAAA;CACd;AAMD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC,CAAA;AAM7E;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,QAAQ,C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jC,yBAAyB;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,wBAAwB;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,wEAAwE;IACxE,QAAQ,EAAE,MAAM,CAAA;IAChB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,MAAM,CAAA;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACrC,oBAAoB;IACpB,YAAY,EAAE,MAAM,CAAA;IACpB,qCAAqC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,mCAAmC;IACnC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAA;CACjB;AAMD;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IACjC,OAAO,EAAE,MAAM,CAAA;IACf,cAAc,EAAE,MAAM,CAAA;IACtB,gBAAgB,EAAE,MAAM,CAAA;IACxB,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,EAAE,MAAM,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,MAAM,CAAA;CACpB"}
@@ -1,27 +0,0 @@
1
- /**
2
- * Application Types
3
- *
4
- * Types for application management.
5
- */
6
- /**
7
- * An application/learning platform.
8
- */
9
- export interface Application {
10
- sourcedId: string;
11
- name: string;
12
- description?: string | null;
13
- domain: string[];
14
- metadata?: Record<string, unknown> | null;
15
- }
16
- /**
17
- * Metrics for an application.
18
- */
19
- export interface ApplicationMetrics {
20
- applicationSourcedId: string;
21
- totalUsers?: number;
22
- activeUsers?: number;
23
- totalSessions?: number;
24
- avgSessionDuration?: number;
25
- metadata?: Record<string, unknown>;
26
- }
27
- //# sourceMappingURL=applications.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"applications.d.ts","sourceRoot":"","sources":["../../src/types/applications.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH;;GAEG;AACH,MAAM,WAAW,WAAW;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CACzC;AAMD;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAClC,oBAAoB,EAAE,MAAM,CAAA;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAClC"}
@@ -1,38 +0,0 @@
1
- /**
2
- * Base Types
3
- *
4
- * Common types shared across Edubridge resources.
5
- */
6
- /**
7
- * Resource status.
8
- */
9
- export type Status = 'active' | 'tobedeleted';
10
- /**
11
- * User roles in the system.
12
- */
13
- export type Role = 'administrator' | 'aide' | 'guardian' | 'parent' | 'proctor' | 'relative' | 'student' | 'teacher';
14
- /**
15
- * Enrollment-specific roles.
16
- */
17
- export type EnrollmentRole = 'administrator' | 'proctor' | 'student' | 'teacher';
18
- /**
19
- * Reference to another entity.
20
- */
21
- export interface GUIDRef {
22
- href: string;
23
- sourcedId: string;
24
- type: string;
25
- }
26
- /**
27
- * Standard Edubridge API response wrapper.
28
- */
29
- export interface DataResponse<T> {
30
- data: T;
31
- }
32
- /**
33
- * Paginated list response with optional metadata.
34
- */
35
- export interface ListResponse<T> {
36
- data: T[];
37
- }
38
- //# sourceMappingURL=base.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/types/base.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,QAAQ,GAAG,aAAa,CAAA;AAE7C;;GAEG;AACH,MAAM,MAAM,IAAI,GACb,eAAe,GACf,MAAM,GACN,UAAU,GACV,QAAQ,GACR,SAAS,GACT,UAAU,GACV,SAAS,GACT,SAAS,CAAA;AAEZ;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAA;AAEhF;;GAEG;AACH,MAAM,WAAW,OAAO;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;CACZ;AAMD;;GAEG;AACH,MAAM,WAAW,YAAY,CAAC,CAAC;IAC9B,IAAI,EAAE,CAAC,CAAA;CACP;AAED;;GAEG;AACH,MAAM,WAAW,YAAY,CAAC,CAAC;IAC9B,IAAI,EAAE,CAAC,EAAE,CAAA;CACT"}
@@ -1,113 +0,0 @@
1
- /**
2
- * Enrollment Types
3
- *
4
- * Types for course-centric enrollment management.
5
- */
6
- import type { EnrollmentRole } from './base';
7
- /**
8
- * Course information within an enrollment.
9
- */
10
- export interface EnrollmentCourse {
11
- id: string;
12
- title: string;
13
- metadata: Record<string, unknown>;
14
- subjects?: string[] | null;
15
- grades?: string[] | null;
16
- primaryApp?: {
17
- id: string;
18
- name: string;
19
- domains: string[];
20
- } | null;
21
- }
22
- /**
23
- * School information within an enrollment.
24
- */
25
- export interface EnrollmentSchool {
26
- id: string;
27
- name: string;
28
- }
29
- /**
30
- * Enrollment goals metadata.
31
- */
32
- export interface EnrollmentGoals {
33
- dailyXp?: number;
34
- dailyLessons?: number;
35
- dailyActiveMinutes?: number;
36
- dailyAccuracy?: number;
37
- dailyMasteredUnits?: number;
38
- }
39
- /**
40
- * Enrollment metrics metadata.
41
- */
42
- export interface EnrollmentMetrics {
43
- totalXp?: number;
44
- totalLessons?: number;
45
- totalGrades?: number;
46
- courseType?: string;
47
- isSupplemental?: boolean;
48
- }
49
- /**
50
- * Enrollment metadata.
51
- */
52
- export interface EnrollmentMetadata {
53
- goals?: EnrollmentGoals;
54
- metrics?: EnrollmentMetrics;
55
- [key: string]: unknown;
56
- }
57
- /**
58
- * Period information for enrollments.
59
- */
60
- export interface EnrollmentPeriod {
61
- id: string;
62
- title: string;
63
- startDate: string | null;
64
- endDate: string | null;
65
- }
66
- /**
67
- * A user's enrollment in a course.
68
- */
69
- export interface Enrollment {
70
- id: string;
71
- role: EnrollmentRole;
72
- beginDate: string | null;
73
- endDate: string | null;
74
- metadata?: EnrollmentMetadata;
75
- course: EnrollmentCourse;
76
- school: EnrollmentSchool;
77
- periods?: EnrollmentPeriod[];
78
- }
79
- /**
80
- * Parameters for listing enrollments.
81
- */
82
- export interface ListEnrollmentsParams {
83
- /** User ID to filter enrollments by */
84
- userId: string;
85
- }
86
- /**
87
- * Options for enrolling a user in a course.
88
- */
89
- export interface EnrollOptions {
90
- /** Optional client-provided ID for the enrollment */
91
- sourcedId?: string;
92
- /** Role for the enrollment (default: 'student') */
93
- role?: EnrollmentRole;
94
- /** Start date for the enrollment */
95
- beginDate?: string;
96
- /** Enrollment metadata including goals and metrics */
97
- metadata?: EnrollmentMetadata;
98
- }
99
- /**
100
- * Response from reset goals operation.
101
- */
102
- export interface ResetGoalsResult {
103
- updated: number;
104
- errors: string[];
105
- }
106
- /**
107
- * Default class information for a course.
108
- */
109
- export interface DefaultClass {
110
- classSourcedId: string;
111
- termSourcedId: string;
112
- }
113
- //# sourceMappingURL=enrollments.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enrollments.d.ts","sourceRoot":"","sources":["../../src/types/enrollments.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AAM5C;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA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;;GAEG;AACH,MAAM,WAAW,UAAU;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,cAAc,CAAA;IACpB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,QAAQ,CAAC,EAAE,kBAAkB,CAAA;IAC7B,MAAM,EAAE,gBAAgB,CAAA;IACxB,MAAM,EAAE,gBAAgB,CAAA;IACxB,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAA;CAC5B;AAMD;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACrC,uCAAuC;IACvC,MAAM,EAAE,MAAM,CAAA;CACd;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC7B,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,mDAAmD;IACnD,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,oCAAoC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,kBAAkB,CAAA;CAC7B;AAMD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAChC,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,EAAE,CAAA;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC5B,cAAc,EAAE,MAAM,CAAA;IACtB,aAAa,EAAE,MAAM,CAAA;CACrB"}
@@ -1,27 +0,0 @@
1
- /**
2
- * Learning Reports Types
3
- *
4
- * Types for learning reports endpoints.
5
- */
6
- /**
7
- * MAP (Measures of Academic Progress) profile data.
8
- */
9
- export interface MapProfile {
10
- userId: string;
11
- ritScore?: number;
12
- percentile?: number;
13
- gradeLevel?: string;
14
- testDate?: string;
15
- subject?: string;
16
- metadata?: Record<string, unknown>;
17
- }
18
- /**
19
- * Time saved metrics for a user.
20
- */
21
- export interface TimeSaved {
22
- userId: string;
23
- totalMinutesSaved?: number;
24
- breakdownBySubject?: Record<string, number>;
25
- metadata?: Record<string, unknown>;
26
- }
27
- //# sourceMappingURL=learning-reports.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"learning-reports.d.ts","sourceRoot":"","sources":["../../src/types/learning-reports.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH;;GAEG;AACH,MAAM,WAAW,UAAU;IAC1B,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAClC;AAMD;;GAEG;AACH,MAAM,WAAW,SAAS;IACzB,MAAM,EAAE,MAAM,CAAA;IACd,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAClC"}
@@ -1,54 +0,0 @@
1
- /**
2
- * Subject Track Types
3
- *
4
- * Types for subject track management.
5
- */
6
- /**
7
- * A subject track mapping subject + grade to a target course.
8
- */
9
- export interface SubjectTrack {
10
- id: string;
11
- subject: string;
12
- gradeLevel: string;
13
- targetCourseId: string;
14
- targetCourseName?: string;
15
- metadata?: Record<string, unknown>;
16
- }
17
- /**
18
- * A group of subject tracks.
19
- */
20
- export interface SubjectTrackGroup {
21
- id: string;
22
- name: string;
23
- description?: string;
24
- tracks: SubjectTrack[];
25
- metadata?: Record<string, unknown>;
26
- }
27
- /**
28
- * Response from the subject tracks list endpoint.
29
- */
30
- export interface SubjectTrackListResponse {
31
- subjectTrack: SubjectTrack[];
32
- }
33
- /**
34
- * Response from the subject track groups endpoint.
35
- */
36
- export interface SubjectTrackGroupsResponse {
37
- groups: SubjectTrackGroup[];
38
- }
39
- /**
40
- * Response from the subject track update (PUT) endpoint.
41
- */
42
- export interface SubjectTrackUpdateResponse {
43
- subjectTrack: SubjectTrack;
44
- }
45
- /**
46
- * Parameters for creating/updating a subject track.
47
- */
48
- export interface SubjectTrackInput {
49
- subject: string;
50
- gradeLevel: string;
51
- targetCourseId: string;
52
- metadata?: Record<string, unknown>;
53
- }
54
- //# sourceMappingURL=subject-track.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"subject-track.d.ts","sourceRoot":"","sources":["../../src/types/subject-track.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH;;GAEG;AACH,MAAM,WAAW,YAAY;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,EAAE,YAAY,EAAE,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAClC;AAMD;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACxC,YAAY,EAAE,YAAY,EAAE,CAAA;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IAC1C,MAAM,EAAE,iBAAiB,EAAE,CAAA;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IAC1C,YAAY,EAAE,YAAY,CAAA;CAC1B;AAMD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IACjC,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAClC"}