@timeback/core 0.2.1-beta.20260314151810 → 0.2.1-beta.20260314155353

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.
@@ -793,7 +793,9 @@ var EduBridgeEnrollment = z7.object({
793
793
  school: z7.object({
794
794
  id: z7.string(),
795
795
  name: z7.string()
796
- })
796
+ }),
797
+ testOutSupported: z7.boolean(),
798
+ testOutEligible: z7.boolean()
797
799
  });
798
800
  var SubjectMetrics = z7.object({
799
801
  activityMetrics: z7.object({
@@ -1591,6 +1593,10 @@ var PowerPathPlacementQueryParams = z10.object({
1591
1593
  student: NonEmptyString,
1592
1594
  subject: TimebackSubject
1593
1595
  });
1596
+ var PowerPathMakeExternalStudentTestOutAssignmentInput = z10.object({
1597
+ oneRosterSourcedId: NonEmptyString,
1598
+ subject: NonEmptyString
1599
+ });
1594
1600
  var PowerPathRenderConfigUpsertInput = z10.object({
1595
1601
  courseIds: z10.array(NonEmptyString).min(1),
1596
1602
  rendererId: NonEmptyString,
@@ -2127,4 +2133,4 @@ function createEdubridgeClient(registry = DEFAULT_PROVIDER_REGISTRY) {
2127
2133
 
2128
2134
  // ../edubridge/src/client.ts
2129
2135
  var EdubridgeClient = createEdubridgeClient();
2130
- export { ActivityCompletedInput, TimeSpentInput, CaliperEnvelopeInput, CaliperSendEventsInput, CaliperListEventsParams, QuestionSeenInput, QuestionAnsweredInput, QuestionGradedInput, WebhookCreateInput, WebhookUpdateInput, WebhookFilterCreateInput, WebhookFilterUpdateInput, CasePackageInput, ClrCredentialInput, OneRosterUserCreateInput, OneRosterCourseCreateInput, OneRosterClassCreateInput, OneRosterEnrollmentCreateInput, OneRosterCategoryCreateInput, OneRosterLineItemCreateInput, OneRosterResultCreateInput, OneRosterScoreScaleCreateInput, OneRosterAssessmentLineItemCreateInput, OneRosterAssessmentResultCreateInput, OneRosterOrgCreateInput, OneRosterSchoolCreateInput, OneRosterAcademicSessionCreateInput, OneRosterComponentResourceCreateInput, OneRosterCourseComponentCreateInput, OneRosterEnrollInput, OneRosterAgentInput, OneRosterCredentialInput, OneRosterDemographicsCreateInput, OneRosterResourceCreateInput, OneRosterCourseStructureInput, OneRosterBulkResultsInput, PowerPathCreateExternalPlacementTestInput, PowerPathCreateExternalTestOutInput, PowerPathCreateInternalTestInput, PowerPathCreateNewAttemptInput, PowerPathFinalStudentAssessmentResponseInput, PowerPathLessonPlansCreateInput, PowerPathLessonPlanOperationsInput, PowerPathLessonPlanUpdateStudentItemResponseInput, PowerPathMakeExternalTestAssignmentInput, PowerPathPlacementResetUserPlacementInput, PowerPathResetAttemptInput, PowerPathScreeningResetSessionInput, PowerPathScreeningAssignTestInput, PowerPathTestAssignmentsCreateInput, PowerPathTestAssignmentsUpdateInput, PowerPathTestAssignmentsBulkInput, PowerPathTestAssignmentsImportInput, PowerPathTestAssignmentsListParams, PowerPathTestAssignmentsAdminParams, PowerPathUpdateStudentQuestionResponseInput, PowerPathGetAssessmentProgressParams, PowerPathGetNextQuestionParams, PowerPathGetAttemptsParams, PowerPathTestOutParams, PowerPathImportExternalTestAssignmentResultsParams, PowerPathPlacementQueryParams, PowerPathRenderConfigUpsertInput, PowerPathSyllabusQueryParams, QtiAssessmentItemXmlCreateInput, QtiAssessmentItemJsonCreateInput, QtiAssessmentItemCreateInput, QtiAssessmentItemUpdateInput, QtiAssessmentItemProcessResponseInput, QtiAssessmentItemRef, QtiAssessmentSection, QtiTestPart, QtiReorderItemsInput, QtiAssessmentTestMetadataUpdateInput, QtiAssessmentTestCreateInput, QtiAssessmentTestUpdateInput, QtiStimulusCreateInput, QtiStimulusUpdateInput, QtiValidateInput, QtiValidateBatchInput, QtiLessonFeedbackInput, aggregateActivityMetrics, EdubridgeClient };
2136
+ export { ActivityCompletedInput, TimeSpentInput, CaliperEnvelopeInput, CaliperSendEventsInput, CaliperListEventsParams, QuestionSeenInput, QuestionAnsweredInput, QuestionGradedInput, WebhookCreateInput, WebhookUpdateInput, WebhookFilterCreateInput, WebhookFilterUpdateInput, CasePackageInput, ClrCredentialInput, OneRosterUserCreateInput, OneRosterCourseCreateInput, OneRosterClassCreateInput, OneRosterEnrollmentCreateInput, OneRosterCategoryCreateInput, OneRosterLineItemCreateInput, OneRosterResultCreateInput, OneRosterScoreScaleCreateInput, OneRosterAssessmentLineItemCreateInput, OneRosterAssessmentResultCreateInput, OneRosterOrgCreateInput, OneRosterSchoolCreateInput, OneRosterAcademicSessionCreateInput, OneRosterComponentResourceCreateInput, OneRosterCourseComponentCreateInput, OneRosterEnrollInput, OneRosterAgentInput, OneRosterCredentialInput, OneRosterDemographicsCreateInput, OneRosterResourceCreateInput, OneRosterCourseStructureInput, OneRosterBulkResultsInput, PowerPathCreateExternalPlacementTestInput, PowerPathCreateExternalTestOutInput, PowerPathCreateInternalTestInput, PowerPathCreateNewAttemptInput, PowerPathFinalStudentAssessmentResponseInput, PowerPathLessonPlansCreateInput, PowerPathLessonPlanOperationsInput, PowerPathLessonPlanUpdateStudentItemResponseInput, PowerPathMakeExternalTestAssignmentInput, PowerPathPlacementResetUserPlacementInput, PowerPathResetAttemptInput, PowerPathScreeningResetSessionInput, PowerPathScreeningAssignTestInput, PowerPathTestAssignmentsCreateInput, PowerPathTestAssignmentsUpdateInput, PowerPathTestAssignmentsBulkInput, PowerPathTestAssignmentsImportInput, PowerPathTestAssignmentsListParams, PowerPathTestAssignmentsAdminParams, PowerPathUpdateStudentQuestionResponseInput, PowerPathGetAssessmentProgressParams, PowerPathGetNextQuestionParams, PowerPathGetAttemptsParams, PowerPathTestOutParams, PowerPathImportExternalTestAssignmentResultsParams, PowerPathPlacementQueryParams, PowerPathMakeExternalStudentTestOutAssignmentInput, PowerPathRenderConfigUpsertInput, PowerPathSyllabusQueryParams, QtiAssessmentItemXmlCreateInput, QtiAssessmentItemJsonCreateInput, QtiAssessmentItemCreateInput, QtiAssessmentItemUpdateInput, QtiAssessmentItemProcessResponseInput, QtiAssessmentItemRef, QtiAssessmentSection, QtiTestPart, QtiReorderItemsInput, QtiAssessmentTestMetadataUpdateInput, QtiAssessmentTestCreateInput, QtiAssessmentTestUpdateInput, QtiStimulusCreateInput, QtiStimulusUpdateInput, QtiValidateInput, QtiValidateBatchInput, QtiLessonFeedbackInput, aggregateActivityMetrics, EdubridgeClient };
package/dist/index.js CHANGED
@@ -40,6 +40,7 @@ import {
40
40
  PowerPathLessonPlanOperationsInput,
41
41
  PowerPathLessonPlanUpdateStudentItemResponseInput,
42
42
  PowerPathLessonPlansCreateInput,
43
+ PowerPathMakeExternalStudentTestOutAssignmentInput,
43
44
  PowerPathMakeExternalTestAssignmentInput,
44
45
  PowerPathPlacementQueryParams,
45
46
  PowerPathPlacementResetUserPlacementInput,
@@ -81,7 +82,7 @@ import {
81
82
  WebhookFilterCreateInput,
82
83
  WebhookFilterUpdateInput,
83
84
  WebhookUpdateInput
84
- } from "./chunk-y0b5t60e.js";
85
+ } from "./chunk-wvs4tg34.js";
85
86
  import {
86
87
  ApiError,
87
88
  BaseTransport,
@@ -3000,6 +3001,22 @@ class TestAssignmentsResource {
3000
3001
  });
3001
3002
  }
3002
3003
  }
3004
+ // ../powerpath/src/resources/test-out.ts
3005
+ class TestOutResource {
3006
+ transport;
3007
+ constructor(transport) {
3008
+ this.transport = transport;
3009
+ }
3010
+ getEligibility(studentId, subject) {
3011
+ validateNonEmptyString(studentId, "studentId");
3012
+ validateNonEmptyString(subject, "subject");
3013
+ return this.transport.request(`${this.transport.paths.base}/test-out/getTestOutEligibility/${encodeURIComponent(studentId)}/${encodeURIComponent(subject)}`);
3014
+ }
3015
+ createAssignment(input) {
3016
+ validateWithSchema(PowerPathMakeExternalStudentTestOutAssignmentInput, input, "make external student test out assignment");
3017
+ return this.transport.request(`${this.transport.paths.base}/test-out/makeExternalStudentTestOutAssignment`, { method: "POST", body: input });
3018
+ }
3019
+ }
3003
3020
  // ../powerpath/src/factory.ts
3004
3021
  function createPowerPathClient(registry = DEFAULT_PROVIDER_REGISTRY) {
3005
3022
  return class PowerPathClient {
@@ -3012,6 +3029,7 @@ function createPowerPathClient(registry = DEFAULT_PROVIDER_REGISTRY) {
3012
3029
  screening;
3013
3030
  syllabus;
3014
3031
  testAssignments;
3032
+ testOut;
3015
3033
  constructor(config = {}) {
3016
3034
  const resolved = resolveToProvider6(config, registry);
3017
3035
  if (resolved.mode === "transport") {
@@ -3044,6 +3062,7 @@ function createPowerPathClient(registry = DEFAULT_PROVIDER_REGISTRY) {
3044
3062
  this.screening = new ScreeningResource(this.transport);
3045
3063
  this.syllabus = new SyllabusResource(this.transport);
3046
3064
  this.testAssignments = new TestAssignmentsResource(this.transport);
3065
+ this.testOut = new TestOutResource(this.transport);
3047
3066
  }
3048
3067
  getTransport() {
3049
3068
  return this.transport;
package/dist/utils.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  aggregateActivityMetrics
3
- } from "./chunk-y0b5t60e.js";
3
+ } from "./chunk-wvs4tg34.js";
4
4
  import"./chunk-k030r9e8.js";
5
5
  import"./chunk-3j7jywnx.js";
6
6
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timeback/core",
3
- "version": "0.2.1-beta.20260314151810",
3
+ "version": "0.2.1-beta.20260314155353",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {