@timeback/webhooks 0.2.2-beta.20260422071626 → 0.2.2-beta.20260423215532

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.
Files changed (2) hide show
  1. package/dist/index.js +49 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1773,15 +1773,48 @@ var QtiFeedbackInline = z11.object({
1773
1773
  identifier: NonEmptyString,
1774
1774
  showHide: QtiShowHide,
1775
1775
  content: z11.string(),
1776
- class: z11.array(z11.string())
1776
+ class: z11.array(z11.string()).optional()
1777
1777
  }).strict();
1778
1778
  var QtiFeedbackBlock = z11.object({
1779
1779
  outcomeIdentifier: NonEmptyString,
1780
1780
  identifier: NonEmptyString,
1781
1781
  showHide: QtiShowHide,
1782
1782
  content: z11.string(),
1783
- class: z11.array(z11.string())
1783
+ class: z11.array(z11.string()).optional()
1784
1784
  }).strict();
1785
+ var QtiInteractionChoice = z11.object({
1786
+ identifier: NonEmptyString,
1787
+ content: z11.string(),
1788
+ feedbackInline: z11.string().nullable().optional(),
1789
+ feedbackOutcomeIdentifier: NonEmptyString.optional()
1790
+ }).loose();
1791
+ var QtiQuestionStructure = z11.object({
1792
+ prompt: z11.string().optional(),
1793
+ choices: z11.array(QtiInteractionChoice).optional()
1794
+ }).loose();
1795
+ var QtiInteractionAttributes = z11.object({
1796
+ "expected-length": z11.number().int().nonnegative().optional(),
1797
+ "pattern-mask": z11.string().optional(),
1798
+ placeholder: z11.string().optional()
1799
+ }).loose();
1800
+ var QtiAssessmentItemInteraction = z11.object({
1801
+ type: QtiAssessmentItemType,
1802
+ responseIdentifier: NonEmptyString,
1803
+ shuffle: z11.boolean().optional(),
1804
+ maxChoices: z11.number().int().nonnegative().optional(),
1805
+ attributes: QtiInteractionAttributes.optional(),
1806
+ questionStructure: QtiQuestionStructure
1807
+ }).loose();
1808
+ var QtiRubric = z11.object({
1809
+ use: NonEmptyString,
1810
+ view: NonEmptyString,
1811
+ body: z11.string()
1812
+ }).loose();
1813
+ var QtiStimulusReference = z11.object({
1814
+ identifier: NonEmptyString,
1815
+ href: NonEmptyString.optional(),
1816
+ title: z11.string().optional()
1817
+ }).loose();
1785
1818
  var QtiStylesheet = z11.object({
1786
1819
  href: NonEmptyString,
1787
1820
  type: NonEmptyString
@@ -1792,6 +1825,7 @@ var QtiCatalogInfo = z11.object({
1792
1825
  content: z11.string()
1793
1826
  }).strict();
1794
1827
  var QtiPaginationParams = z11.object({
1828
+ query: z11.string().optional(),
1795
1829
  page: z11.number().int().positive().optional(),
1796
1830
  limit: z11.number().int().positive().optional(),
1797
1831
  sort: z11.string().optional(),
@@ -1803,31 +1837,41 @@ var QtiAssessmentItemXmlCreateInput = z11.object({
1803
1837
  metadata: QtiItemMetadata.optional()
1804
1838
  }).strict();
1805
1839
  var QtiAssessmentItemJsonCreateInput = z11.object({
1840
+ format: z11.literal("json").optional(),
1806
1841
  identifier: NonEmptyString,
1807
1842
  title: NonEmptyString,
1808
1843
  type: QtiAssessmentItemType,
1809
1844
  qtiVersion: z11.string().optional(),
1810
1845
  timeDependent: z11.boolean().optional(),
1811
1846
  adaptive: z11.boolean().optional(),
1847
+ preInteraction: z11.string().optional(),
1848
+ interaction: QtiAssessmentItemInteraction.optional(),
1849
+ postInteraction: z11.string().optional(),
1812
1850
  responseDeclarations: z11.array(QtiResponseDeclaration).optional(),
1813
1851
  outcomeDeclarations: z11.array(QtiOutcomeDeclaration).optional(),
1814
1852
  responseProcessing: QtiResponseProcessing.optional(),
1815
1853
  metadata: QtiItemMetadata.optional(),
1816
1854
  modalFeedback: z11.array(QtiModalFeedback).optional(),
1817
1855
  feedbackInline: z11.array(QtiFeedbackInline).optional(),
1818
- feedbackBlock: z11.array(QtiFeedbackBlock).optional()
1856
+ feedbackBlock: z11.array(QtiFeedbackBlock).optional(),
1857
+ rubrics: z11.array(QtiRubric).optional(),
1858
+ stimulus: QtiStimulusReference.optional()
1819
1859
  }).strict();
1820
1860
  var QtiAssessmentItemCreateInput = z11.union([
1821
1861
  QtiAssessmentItemXmlCreateInput,
1822
1862
  QtiAssessmentItemJsonCreateInput
1823
1863
  ]);
1824
1864
  var QtiAssessmentItemUpdateInput = z11.object({
1865
+ format: z11.literal("json").optional(),
1825
1866
  identifier: NonEmptyString.optional(),
1826
1867
  title: NonEmptyString,
1827
1868
  type: QtiAssessmentItemType,
1828
1869
  qtiVersion: z11.string().optional(),
1829
1870
  timeDependent: z11.boolean().optional(),
1830
1871
  adaptive: z11.boolean().optional(),
1872
+ preInteraction: z11.string().optional(),
1873
+ interaction: QtiAssessmentItemInteraction.optional(),
1874
+ postInteraction: z11.string().optional(),
1831
1875
  responseDeclarations: z11.array(QtiResponseDeclaration).optional(),
1832
1876
  outcomeDeclarations: z11.array(QtiOutcomeDeclaration).optional(),
1833
1877
  responseProcessing: QtiResponseProcessing.optional(),
@@ -1835,6 +1879,8 @@ var QtiAssessmentItemUpdateInput = z11.object({
1835
1879
  modalFeedback: z11.array(QtiModalFeedback).optional(),
1836
1880
  feedbackInline: z11.array(QtiFeedbackInline).optional(),
1837
1881
  feedbackBlock: z11.array(QtiFeedbackBlock).optional(),
1882
+ rubrics: z11.array(QtiRubric).optional(),
1883
+ stimulus: QtiStimulusReference.optional(),
1838
1884
  rawXml: z11.string(),
1839
1885
  content: z11.record(z11.string(), z11.unknown())
1840
1886
  }).strict();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timeback/webhooks",
3
- "version": "0.2.2-beta.20260422071626",
3
+ "version": "0.2.2-beta.20260423215532",
4
4
  "description": "Webhook management client SDK for Timeback",
5
5
  "type": "module",
6
6
  "exports": {