@studyfetch/sdk 1.32.0 → 1.34.0
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/CHANGELOG.md +82 -0
- package/README.md +1 -1
- package/package.json +4 -5
- package/resources/v1/assignment-grader/assignment-grader.d.mts +313 -0
- package/resources/v1/assignment-grader/assignment-grader.d.mts.map +1 -0
- package/resources/v1/assignment-grader/assignment-grader.d.ts +313 -0
- package/resources/v1/assignment-grader/assignment-grader.d.ts.map +1 -0
- package/resources/v1/assignment-grader/assignment-grader.js +87 -0
- package/resources/v1/assignment-grader/assignment-grader.js.map +1 -0
- package/resources/v1/assignment-grader/assignment-grader.mjs +82 -0
- package/resources/v1/assignment-grader/assignment-grader.mjs.map +1 -0
- package/resources/v1/assignment-grader/index.d.mts +3 -0
- package/resources/v1/assignment-grader/index.d.mts.map +1 -0
- package/resources/v1/assignment-grader/index.d.ts +3 -0
- package/resources/v1/assignment-grader/index.d.ts.map +1 -0
- package/resources/v1/assignment-grader/index.js +9 -0
- package/resources/v1/assignment-grader/index.js.map +1 -0
- package/resources/v1/assignment-grader/index.mjs +4 -0
- package/resources/v1/assignment-grader/index.mjs.map +1 -0
- package/resources/v1/assignment-grader/rubric-templates.d.mts +238 -0
- package/resources/v1/assignment-grader/rubric-templates.d.mts.map +1 -0
- package/resources/v1/assignment-grader/rubric-templates.d.ts +238 -0
- package/resources/v1/assignment-grader/rubric-templates.d.ts.map +1 -0
- package/resources/v1/assignment-grader/rubric-templates.js +68 -0
- package/resources/v1/assignment-grader/rubric-templates.js.map +1 -0
- package/resources/v1/assignment-grader/rubric-templates.mjs +64 -0
- package/resources/v1/assignment-grader/rubric-templates.mjs.map +1 -0
- package/resources/v1/assignment-grader.d.mts +1 -152
- package/resources/v1/assignment-grader.d.mts.map +1 -1
- package/resources/v1/assignment-grader.d.ts +1 -152
- package/resources/v1/assignment-grader.d.ts.map +1 -1
- package/resources/v1/assignment-grader.js +2 -62
- package/resources/v1/assignment-grader.js.map +1 -1
- package/resources/v1/assignment-grader.mjs +1 -60
- package/resources/v1/assignment-grader.mjs.map +1 -1
- package/resources/v1/chat-analytics.d.mts +316 -0
- package/resources/v1/chat-analytics.d.mts.map +1 -0
- package/resources/v1/chat-analytics.d.ts +316 -0
- package/resources/v1/chat-analytics.d.ts.map +1 -0
- package/resources/v1/chat-analytics.js +50 -0
- package/resources/v1/chat-analytics.js.map +1 -0
- package/resources/v1/chat-analytics.mjs +46 -0
- package/resources/v1/chat-analytics.mjs.map +1 -0
- package/resources/v1/components.d.mts +184 -10
- package/resources/v1/components.d.mts.map +1 -1
- package/resources/v1/components.d.ts +184 -10
- package/resources/v1/components.d.ts.map +1 -1
- package/resources/v1/components.js.map +1 -1
- package/resources/v1/components.mjs.map +1 -1
- package/resources/v1/index.d.mts +6 -4
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +6 -4
- package/resources/v1/index.d.ts.map +1 -1
- package/resources/v1/index.js +13 -9
- package/resources/v1/index.js.map +1 -1
- package/resources/v1/index.mjs +4 -2
- package/resources/v1/index.mjs.map +1 -1
- package/resources/v1/materials/index.d.mts +3 -3
- package/resources/v1/materials/index.d.mts.map +1 -1
- package/resources/v1/materials/index.d.ts +3 -3
- package/resources/v1/materials/index.d.ts.map +1 -1
- package/resources/v1/materials/index.js.map +1 -1
- package/resources/v1/materials/index.mjs.map +1 -1
- package/resources/v1/materials/materials.d.mts +548 -92
- package/resources/v1/materials/materials.d.mts.map +1 -1
- package/resources/v1/materials/materials.d.ts +548 -92
- package/resources/v1/materials/materials.d.ts.map +1 -1
- package/resources/v1/materials/materials.js +36 -34
- package/resources/v1/materials/materials.js.map +1 -1
- package/resources/v1/materials/materials.mjs +36 -34
- package/resources/v1/materials/materials.mjs.map +1 -1
- package/resources/v1/materials/test.d.mts +29 -30
- package/resources/v1/materials/test.d.mts.map +1 -1
- package/resources/v1/materials/test.d.ts +29 -30
- package/resources/v1/materials/test.d.ts.map +1 -1
- package/resources/v1/materials/test.js +14 -15
- package/resources/v1/materials/test.js.map +1 -1
- package/resources/v1/materials/test.mjs +14 -15
- package/resources/v1/materials/test.mjs.map +1 -1
- package/resources/v1/materials/upload.d.mts +312 -23
- package/resources/v1/materials/upload.d.mts.map +1 -1
- package/resources/v1/materials/upload.d.ts +312 -23
- package/resources/v1/materials/upload.d.ts.map +1 -1
- package/resources/v1/materials/upload.js +9 -9
- package/resources/v1/materials/upload.js.map +1 -1
- package/resources/v1/materials/upload.mjs +9 -9
- package/resources/v1/materials/upload.mjs.map +1 -1
- package/resources/v1/usage-analyst.d.mts +99 -0
- package/resources/v1/usage-analyst.d.mts.map +1 -0
- package/resources/v1/usage-analyst.d.ts +99 -0
- package/resources/v1/usage-analyst.d.ts.map +1 -0
- package/resources/v1/{usage/analyst.js → usage-analyst.js} +9 -9
- package/resources/v1/usage-analyst.js.map +1 -0
- package/resources/v1/{usage/analyst.mjs → usage-analyst.mjs} +7 -7
- package/resources/v1/usage-analyst.mjs.map +1 -0
- package/resources/v1/usage.d.mts +109 -1
- package/resources/v1/usage.d.mts.map +1 -1
- package/resources/v1/usage.d.ts +109 -1
- package/resources/v1/usage.d.ts.map +1 -1
- package/resources/v1/usage.js +55 -2
- package/resources/v1/usage.js.map +1 -1
- package/resources/v1/usage.mjs +53 -1
- package/resources/v1/usage.mjs.map +1 -1
- package/resources/v1/v1.d.mts +18 -10
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +18 -10
- package/resources/v1/v1.d.ts.map +1 -1
- package/resources/v1/v1.js +14 -6
- package/resources/v1/v1.js.map +1 -1
- package/resources/v1/v1.mjs +14 -6
- package/resources/v1/v1.mjs.map +1 -1
- package/src/resources/v1/assignment-grader/assignment-grader.ts +421 -0
- package/src/resources/v1/assignment-grader/index.ts +16 -0
- package/src/resources/v1/assignment-grader/rubric-templates.ts +305 -0
- package/src/resources/v1/assignment-grader.ts +1 -196
- package/src/resources/v1/chat-analytics.ts +413 -0
- package/src/resources/v1/components.ts +265 -10
- package/src/resources/v1/index.ts +34 -10
- package/src/resources/v1/materials/index.ts +23 -14
- package/src/resources/v1/materials/materials.ts +824 -216
- package/src/resources/v1/materials/test.ts +38 -39
- package/src/resources/v1/materials/upload.ts +411 -30
- package/src/resources/v1/{usage/analyst.ts → usage-analyst.ts} +24 -23
- package/src/resources/v1/usage.ts +179 -1
- package/src/resources/v1/v1.ts +84 -28
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/v1/usage/analyst.d.mts +0 -99
- package/resources/v1/usage/analyst.d.mts.map +0 -1
- package/resources/v1/usage/analyst.d.ts +0 -99
- package/resources/v1/usage/analyst.d.ts.map +0 -1
- package/resources/v1/usage/analyst.js.map +0 -1
- package/resources/v1/usage/analyst.mjs.map +0 -1
- package/resources/v1/usage/index.d.mts +0 -3
- package/resources/v1/usage/index.d.mts.map +0 -1
- package/resources/v1/usage/index.d.ts +0 -3
- package/resources/v1/usage/index.d.ts.map +0 -1
- package/resources/v1/usage/index.js +0 -9
- package/resources/v1/usage/index.js.map +0 -1
- package/resources/v1/usage/index.mjs +0 -4
- package/resources/v1/usage/index.mjs.map +0 -1
- package/resources/v1/usage/usage.d.mts +0 -114
- package/resources/v1/usage/usage.d.mts.map +0 -1
- package/resources/v1/usage/usage.d.ts +0 -114
- package/resources/v1/usage/usage.d.ts.map +0 -1
- package/resources/v1/usage/usage.js +0 -67
- package/resources/v1/usage/usage.js.map +0 -1
- package/resources/v1/usage/usage.mjs +0 -62
- package/resources/v1/usage/usage.mjs.map +0 -1
- package/src/resources/v1/usage/index.ts +0 -15
- package/src/resources/v1/usage/usage.ts +0 -200
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,87 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.34.0 (2025-08-07)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.33.0...v1.34.0](https://github.com/GoStudyFetchGo/studyfetch-sdk/compare/v1.33.0...v1.34.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([6000a0b](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/6000a0bf9f4e21c2c255600a05dd27f67ce0c6ec))
|
|
10
|
+
* **api:** manual updates ([4bdc559](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/4bdc559d7d27674f9f14bd78fac243bc626f9c35))
|
|
11
|
+
* **api:** manual updates ([287093c](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/287093ce92ccde9f4c76a42fef5d22f5ac2eeeca))
|
|
12
|
+
* **api:** manual updates ([f29e131](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/f29e131d976005c46673782fc1fe4a812c06eaf4))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Chores
|
|
16
|
+
|
|
17
|
+
* **internal:** move publish config ([4056808](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/4056808e6406edbacd94b4b0003412c8bf85948a))
|
|
18
|
+
* **internal:** remove redundant imports config ([c2b8dc2](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/c2b8dc2f260d89c4f03397bced8115e5df73bf5a))
|
|
19
|
+
|
|
20
|
+
## 1.33.0 (2025-07-26)
|
|
21
|
+
|
|
22
|
+
Full Changelog: [v1.32.0...v1.33.0](https://github.com/GoStudyFetchGo/studyfetch-sdk/compare/v1.32.0...v1.33.0)
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* **api:** api update ([6f671be](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/6f671bea5c362cb1a62c4d05d6be80b16a4699bf))
|
|
27
|
+
* **api:** api update ([af9fd4d](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/af9fd4dcae5cd78b69bd36bec63ea0ab30f1f786))
|
|
28
|
+
* **api:** api update ([00264c6](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/00264c6f794d3709d943f93e07f0689fbddb1010))
|
|
29
|
+
* **api:** api update ([bb175f1](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/bb175f1f8b03ee11e7e5103cf8072d9c50d2128b))
|
|
30
|
+
* **api:** api update ([ba3fe01](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/ba3fe01c27f165e86a9b6448fa7dc89f22a49630))
|
|
31
|
+
* **api:** api update ([c272400](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/c2724005f04ccd1219c122b5d9327031d4fc066f))
|
|
32
|
+
* **api:** api update ([69ced21](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/69ced21bf1e10da547769e39ed2367c40acedbe0))
|
|
33
|
+
* **api:** api update ([1786561](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/1786561103d52a4049c17643622bdede1c149060))
|
|
34
|
+
* **api:** api update ([9641ff6](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/9641ff6fd4621e4dc71609b72a694de6e1062482))
|
|
35
|
+
* **api:** api update ([9ccd46d](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/9ccd46d5fe28938f00662725b4c99ec76efbfea8))
|
|
36
|
+
* **api:** api update ([101d05e](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/101d05e260c9e95937de3377476ea44b8436837c))
|
|
37
|
+
* **api:** api update ([1efa142](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/1efa1423dbbea0532096bfa77896d85671016e47))
|
|
38
|
+
* **api:** api update ([84fa6b9](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/84fa6b9f665f65a742a45aa5bdf854a29463ef43))
|
|
39
|
+
* **api:** api update ([980a2ab](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/980a2ab1d562abc0e78a244f8a1f96cdfd7ad205))
|
|
40
|
+
* **api:** api update ([9888038](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/9888038a177e6f06d1db5d707e9418851c9f377c))
|
|
41
|
+
* **api:** api update ([7ad2574](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/7ad257440de49325c8df045ecd2213b2c7ba2a39))
|
|
42
|
+
* **api:** api update ([4f4d851](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/4f4d851cac000725d0c4a2751ad5e040b28587fb))
|
|
43
|
+
* **api:** api update ([368e586](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/368e586e083d00654454d88f59289e8e8e3a3acf))
|
|
44
|
+
* **api:** api update ([efbe509](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/efbe50917d2f4c778a6a94fc3e4fdba4bfad30bc))
|
|
45
|
+
* **api:** api update ([4f1164a](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/4f1164a403a90f0a3f2b9396b2c772211562d64d))
|
|
46
|
+
* **api:** api update ([93445a3](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/93445a33871007f9d5715f8d82ecce4199e335eb))
|
|
47
|
+
* **api:** api update ([5ceeb92](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/5ceeb9217a97e94fab0f27a6a4baa0993f90c7df))
|
|
48
|
+
* **api:** api update ([061e2f5](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/061e2f51d05b7f77d9ab4330f5d3baaaf11adaf7))
|
|
49
|
+
* **api:** api update ([617f566](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/617f5661dd337eae208052d6731c1951efd3a355))
|
|
50
|
+
* **api:** api update ([6bcd440](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/6bcd44066e0086dea5f737875600c354b794f0c1))
|
|
51
|
+
* **api:** api update ([033c8c1](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/033c8c1f022aa4c6c61c37944facec70eb3fd91d))
|
|
52
|
+
* **api:** api update ([b256a73](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/b256a73c50fa6bb1064e6a2b76994a0e508f8414))
|
|
53
|
+
* **api:** api update ([37e96f3](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/37e96f3f70fb7e6ab2034e37028b1dd40dfbe120))
|
|
54
|
+
* **api:** api update ([1eb9290](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/1eb929082b3fc7d44344c8f14c3b285498b709de))
|
|
55
|
+
* **api:** api update ([cbe93a7](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/cbe93a7afc7d66f15168f3a5e3c2965d826cf1a9))
|
|
56
|
+
* **api:** manual updates ([7826210](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/7826210a0c8ff3c987c3eca22f99ff94df59661c))
|
|
57
|
+
* **api:** manual updates ([6b22679](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/6b2267949145d190adff4dda2076bd1338dfbb96))
|
|
58
|
+
* **api:** manual updates ([6ab8942](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/6ab89426e90f7edd6db4d73d8febb08e8e6b4c1d))
|
|
59
|
+
* **api:** manual updates ([ded2e33](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/ded2e33f909440b9331a67671fbd6caa883a3205))
|
|
60
|
+
* **api:** manual updates ([f2622db](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/f2622db7ca9abb6e88aecdbea5f13360ac94d602))
|
|
61
|
+
* **api:** manual updates ([3dbafa8](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/3dbafa856b0031ed20bb7d214805dc11b5fc1bab))
|
|
62
|
+
* **api:** manual updates ([0aa64c0](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/0aa64c0f2a1f52a6876a20806cc149d39293bea1))
|
|
63
|
+
* **api:** manual updates ([09b0dfc](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/09b0dfc4d822945ba7b249be4f94a987bbf90c6a))
|
|
64
|
+
* **api:** manual updates ([98bf790](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/98bf7909ef746023dae51170cd7c78c7f7f8d8cf))
|
|
65
|
+
* **api:** manual updates ([de260f7](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/de260f7b7cbab1dcf681ba30029557df2ca18074))
|
|
66
|
+
* **api:** manual updates ([1f8253a](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/1f8253a2320a6cd08a97f0d226c957f25ea18739))
|
|
67
|
+
* **api:** manual updates ([b8d6eec](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/b8d6eeca4ff44588433e494b3bdf8da499d16327))
|
|
68
|
+
* **api:** manual updates ([7e127f5](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/7e127f50fa4975bcfa21e6916fbd63b275d1baf2))
|
|
69
|
+
* **api:** manual updates ([c4bcf71](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/c4bcf719c7a3701ab6d81a6553123d7188fa1779))
|
|
70
|
+
* **api:** manual updates ([ec6a535](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/ec6a535ee695a7559312f22a95b7688a2778f1d8))
|
|
71
|
+
* **api:** manual updates ([23869a0](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/23869a0f07ee86682280610662c3b04bcbe8418b))
|
|
72
|
+
* **api:** manual updates ([a26a064](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/a26a0648a6df372188dd246984222a224a103ade))
|
|
73
|
+
* **api:** manual updates ([50ff997](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/50ff9971504f8f75871278e594dd8bb19c5c4b06))
|
|
74
|
+
* **api:** manual updates ([01ac410](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/01ac4104f801227d43f6e41d53006cff07f269e0))
|
|
75
|
+
* **api:** manual updates ([1ba10ca](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/1ba10caab77f88f8ebb2a05fd92c913a9810c673))
|
|
76
|
+
* **api:** manual updates ([22da129](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/22da129eb680e202013e4324c8219f1b32ab3c68))
|
|
77
|
+
* **api:** update via SDK Studio ([54e9b9f](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/54e9b9f59ea55ea413d3a05390e40fe021e74ece))
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
### Chores
|
|
81
|
+
|
|
82
|
+
* update SDK settings ([03aa19e](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/03aa19e5bdd1524645887779a4536d84a047f0c8))
|
|
83
|
+
* update SDK settings ([e3e85eb](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/e3e85eb48dab4e2608db60cfae377003fc3b3f45))
|
|
84
|
+
|
|
3
85
|
## 1.32.0 (2025-07-26)
|
|
4
86
|
|
|
5
87
|
Full Changelog: [v1.31.0...v1.32.0](https://github.com/GoStudyFetchGo/studyfetch-sdk/compare/v1.31.0...v1.32.0)
|
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ const params: StudyfetchSDK.V1.MaterialCreateParams = {
|
|
|
48
48
|
content: { type: 'text' },
|
|
49
49
|
name: 'Chapter 1 - Introduction',
|
|
50
50
|
};
|
|
51
|
-
const material: StudyfetchSDK.V1.
|
|
51
|
+
const material: StudyfetchSDK.V1.MaterialCreateResponse = await client.v1.materials.create(params);
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
Documentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@studyfetch/sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.34.0",
|
|
4
4
|
"description": "The official TypeScript library for the Studyfetch SDK API",
|
|
5
5
|
"author": "Studyfetch SDK <support@studyfetch.com>",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
"**/*"
|
|
14
14
|
],
|
|
15
15
|
"private": false,
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public"
|
|
18
|
+
},
|
|
16
19
|
"scripts": {
|
|
17
20
|
"test": "./scripts/test",
|
|
18
21
|
"build": "./scripts/build",
|
|
@@ -22,10 +25,6 @@
|
|
|
22
25
|
"fix": "./scripts/format"
|
|
23
26
|
},
|
|
24
27
|
"dependencies": {},
|
|
25
|
-
"imports": {
|
|
26
|
-
"@studyfetch/sdk": ".",
|
|
27
|
-
"@studyfetch/sdk/*": "./src/*"
|
|
28
|
-
},
|
|
29
28
|
"exports": {
|
|
30
29
|
".": {
|
|
31
30
|
"require": {
|
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as RubricTemplatesAPI from "./rubric-templates.mjs";
|
|
3
|
+
import { RubricTemplateCreateParams, RubricTemplateCreateResponse, RubricTemplateGetByIDResponse, RubricTemplateListResponse, RubricTemplates } from "./rubric-templates.mjs";
|
|
4
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
5
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
6
|
+
export declare class AssignmentGrader extends APIResource {
|
|
7
|
+
rubricTemplates: RubricTemplatesAPI.RubricTemplates;
|
|
8
|
+
/**
|
|
9
|
+
* Grade a new assignment
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const assignmentGrader =
|
|
14
|
+
* await client.v1.assignmentGrader.create({
|
|
15
|
+
* title: 'title',
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
create(body: AssignmentGraderCreateParams, options?: RequestOptions): APIPromise<AssignmentGraderCreateResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Delete an assignment grader by ID
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* await client.v1.assignmentGrader.delete('id');
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
delete(id: string, options?: RequestOptions): APIPromise<void>;
|
|
29
|
+
/**
|
|
30
|
+
* Generate educator report for an assignment
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* await client.v1.assignmentGrader.generateReport(
|
|
35
|
+
* 'assignmentId',
|
|
36
|
+
* );
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
generateReport(assignmentID: string, options?: RequestOptions): APIPromise<void>;
|
|
40
|
+
/**
|
|
41
|
+
* Get all assignment graders
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```ts
|
|
45
|
+
* const response = await client.v1.assignmentGrader.getAll();
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
getAll(options?: RequestOptions): APIPromise<AssignmentGraderGetAllResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* Get an assignment grader by ID
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```ts
|
|
54
|
+
* const response = await client.v1.assignmentGrader.getByID(
|
|
55
|
+
* 'id',
|
|
56
|
+
* );
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
getByID(id: string, options?: RequestOptions): APIPromise<AssignmentGraderGetByIDResponse>;
|
|
60
|
+
}
|
|
61
|
+
export interface AssignmentGraderCreateResponse {
|
|
62
|
+
gradedAssignment?: AssignmentGraderCreateResponse.GradedAssignment;
|
|
63
|
+
success?: boolean;
|
|
64
|
+
}
|
|
65
|
+
export declare namespace AssignmentGraderCreateResponse {
|
|
66
|
+
interface GradedAssignment {
|
|
67
|
+
/**
|
|
68
|
+
* Version key
|
|
69
|
+
*/
|
|
70
|
+
__v: number;
|
|
71
|
+
/**
|
|
72
|
+
* Assignment grader ID
|
|
73
|
+
*/
|
|
74
|
+
_id: string;
|
|
75
|
+
/**
|
|
76
|
+
* Creation timestamp
|
|
77
|
+
*/
|
|
78
|
+
createdAt: string;
|
|
79
|
+
/**
|
|
80
|
+
* Overall grade percentage
|
|
81
|
+
*/
|
|
82
|
+
grade: number;
|
|
83
|
+
/**
|
|
84
|
+
* Organization ID
|
|
85
|
+
*/
|
|
86
|
+
organizationId: string;
|
|
87
|
+
/**
|
|
88
|
+
* Grading results
|
|
89
|
+
*/
|
|
90
|
+
rubric: unknown;
|
|
91
|
+
/**
|
|
92
|
+
* Assignment title
|
|
93
|
+
*/
|
|
94
|
+
title: string;
|
|
95
|
+
/**
|
|
96
|
+
* Update timestamp
|
|
97
|
+
*/
|
|
98
|
+
updatedAt: string;
|
|
99
|
+
/**
|
|
100
|
+
* Assignment ID for grouping
|
|
101
|
+
*/
|
|
102
|
+
assignmentId?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Material ID
|
|
105
|
+
*/
|
|
106
|
+
materialId?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Rubric template ID
|
|
109
|
+
*/
|
|
110
|
+
rubricTemplateId?: string;
|
|
111
|
+
/**
|
|
112
|
+
* Student identifier
|
|
113
|
+
*/
|
|
114
|
+
studentIdentifier?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Text that was graded
|
|
117
|
+
*/
|
|
118
|
+
textToGrade?: string;
|
|
119
|
+
/**
|
|
120
|
+
* User ID
|
|
121
|
+
*/
|
|
122
|
+
userId?: string;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
export type AssignmentGraderGetAllResponse = Array<AssignmentGraderGetAllResponse.AssignmentGraderGetAllResponseItem>;
|
|
126
|
+
export declare namespace AssignmentGraderGetAllResponse {
|
|
127
|
+
interface AssignmentGraderGetAllResponseItem {
|
|
128
|
+
/**
|
|
129
|
+
* Version key
|
|
130
|
+
*/
|
|
131
|
+
__v: number;
|
|
132
|
+
/**
|
|
133
|
+
* Assignment grader ID
|
|
134
|
+
*/
|
|
135
|
+
_id: string;
|
|
136
|
+
/**
|
|
137
|
+
* Creation timestamp
|
|
138
|
+
*/
|
|
139
|
+
createdAt: string;
|
|
140
|
+
/**
|
|
141
|
+
* Overall grade percentage
|
|
142
|
+
*/
|
|
143
|
+
grade: number;
|
|
144
|
+
/**
|
|
145
|
+
* Organization ID
|
|
146
|
+
*/
|
|
147
|
+
organizationId: string;
|
|
148
|
+
/**
|
|
149
|
+
* Grading results
|
|
150
|
+
*/
|
|
151
|
+
rubric: unknown;
|
|
152
|
+
/**
|
|
153
|
+
* Assignment title
|
|
154
|
+
*/
|
|
155
|
+
title: string;
|
|
156
|
+
/**
|
|
157
|
+
* Update timestamp
|
|
158
|
+
*/
|
|
159
|
+
updatedAt: string;
|
|
160
|
+
/**
|
|
161
|
+
* Assignment ID for grouping
|
|
162
|
+
*/
|
|
163
|
+
assignmentId?: string;
|
|
164
|
+
/**
|
|
165
|
+
* Material ID
|
|
166
|
+
*/
|
|
167
|
+
materialId?: string;
|
|
168
|
+
/**
|
|
169
|
+
* Rubric template ID
|
|
170
|
+
*/
|
|
171
|
+
rubricTemplateId?: string;
|
|
172
|
+
/**
|
|
173
|
+
* Student identifier
|
|
174
|
+
*/
|
|
175
|
+
studentIdentifier?: string;
|
|
176
|
+
/**
|
|
177
|
+
* Text that was graded
|
|
178
|
+
*/
|
|
179
|
+
textToGrade?: string;
|
|
180
|
+
/**
|
|
181
|
+
* User ID
|
|
182
|
+
*/
|
|
183
|
+
userId?: string;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
export interface AssignmentGraderGetByIDResponse {
|
|
187
|
+
/**
|
|
188
|
+
* Version key
|
|
189
|
+
*/
|
|
190
|
+
__v: number;
|
|
191
|
+
/**
|
|
192
|
+
* Assignment grader ID
|
|
193
|
+
*/
|
|
194
|
+
_id: string;
|
|
195
|
+
/**
|
|
196
|
+
* Creation timestamp
|
|
197
|
+
*/
|
|
198
|
+
createdAt: string;
|
|
199
|
+
/**
|
|
200
|
+
* Overall grade percentage
|
|
201
|
+
*/
|
|
202
|
+
grade: number;
|
|
203
|
+
/**
|
|
204
|
+
* Organization ID
|
|
205
|
+
*/
|
|
206
|
+
organizationId: string;
|
|
207
|
+
/**
|
|
208
|
+
* Grading results
|
|
209
|
+
*/
|
|
210
|
+
rubric: unknown;
|
|
211
|
+
/**
|
|
212
|
+
* Assignment title
|
|
213
|
+
*/
|
|
214
|
+
title: string;
|
|
215
|
+
/**
|
|
216
|
+
* Update timestamp
|
|
217
|
+
*/
|
|
218
|
+
updatedAt: string;
|
|
219
|
+
/**
|
|
220
|
+
* Assignment ID for grouping
|
|
221
|
+
*/
|
|
222
|
+
assignmentId?: string;
|
|
223
|
+
/**
|
|
224
|
+
* Material ID
|
|
225
|
+
*/
|
|
226
|
+
materialId?: string;
|
|
227
|
+
/**
|
|
228
|
+
* Rubric template ID
|
|
229
|
+
*/
|
|
230
|
+
rubricTemplateId?: string;
|
|
231
|
+
/**
|
|
232
|
+
* Student identifier
|
|
233
|
+
*/
|
|
234
|
+
studentIdentifier?: string;
|
|
235
|
+
/**
|
|
236
|
+
* Text that was graded
|
|
237
|
+
*/
|
|
238
|
+
textToGrade?: string;
|
|
239
|
+
/**
|
|
240
|
+
* User ID
|
|
241
|
+
*/
|
|
242
|
+
userId?: string;
|
|
243
|
+
}
|
|
244
|
+
export interface AssignmentGraderCreateParams {
|
|
245
|
+
/**
|
|
246
|
+
* Title of the assignment
|
|
247
|
+
*/
|
|
248
|
+
title: string;
|
|
249
|
+
/**
|
|
250
|
+
* Assignment ID for grouping submissions
|
|
251
|
+
*/
|
|
252
|
+
assignmentId?: string;
|
|
253
|
+
/**
|
|
254
|
+
* Material ID to grade
|
|
255
|
+
*/
|
|
256
|
+
materialId?: string;
|
|
257
|
+
/**
|
|
258
|
+
* AI model to use
|
|
259
|
+
*/
|
|
260
|
+
model?: string;
|
|
261
|
+
/**
|
|
262
|
+
* Grading rubric
|
|
263
|
+
*/
|
|
264
|
+
rubric?: AssignmentGraderCreateParams.Rubric;
|
|
265
|
+
/**
|
|
266
|
+
* Rubric template ID to use
|
|
267
|
+
*/
|
|
268
|
+
rubricTemplateId?: string;
|
|
269
|
+
/**
|
|
270
|
+
* Student identifier (email or ID)
|
|
271
|
+
*/
|
|
272
|
+
studentIdentifier?: string;
|
|
273
|
+
/**
|
|
274
|
+
* Text content to grade
|
|
275
|
+
*/
|
|
276
|
+
textToGrade?: string;
|
|
277
|
+
/**
|
|
278
|
+
* User ID for tracking
|
|
279
|
+
*/
|
|
280
|
+
userId?: string;
|
|
281
|
+
}
|
|
282
|
+
export declare namespace AssignmentGraderCreateParams {
|
|
283
|
+
/**
|
|
284
|
+
* Grading rubric
|
|
285
|
+
*/
|
|
286
|
+
interface Rubric {
|
|
287
|
+
/**
|
|
288
|
+
* Grading criteria
|
|
289
|
+
*/
|
|
290
|
+
criteria: Array<Rubric.Criterion>;
|
|
291
|
+
}
|
|
292
|
+
namespace Rubric {
|
|
293
|
+
interface Criterion {
|
|
294
|
+
/**
|
|
295
|
+
* Points possible for this criterion
|
|
296
|
+
*/
|
|
297
|
+
pointsPossible: number;
|
|
298
|
+
/**
|
|
299
|
+
* Title of the criterion
|
|
300
|
+
*/
|
|
301
|
+
title: string;
|
|
302
|
+
/**
|
|
303
|
+
* Description of the criterion
|
|
304
|
+
*/
|
|
305
|
+
description?: string;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
export declare namespace AssignmentGrader {
|
|
310
|
+
export { type AssignmentGraderCreateResponse as AssignmentGraderCreateResponse, type AssignmentGraderGetAllResponse as AssignmentGraderGetAllResponse, type AssignmentGraderGetByIDResponse as AssignmentGraderGetByIDResponse, type AssignmentGraderCreateParams as AssignmentGraderCreateParams, };
|
|
311
|
+
export { RubricTemplates as RubricTemplates, type RubricTemplateCreateResponse as RubricTemplateCreateResponse, type RubricTemplateListResponse as RubricTemplateListResponse, type RubricTemplateGetByIDResponse as RubricTemplateGetByIDResponse, type RubricTemplateCreateParams as RubricTemplateCreateParams, };
|
|
312
|
+
}
|
|
313
|
+
//# sourceMappingURL=assignment-grader.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assignment-grader.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/assignment-grader/assignment-grader.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,kBAAkB;OACvB,EACL,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