@studyfetch/sdk 1.31.0 → 1.33.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 CHANGED
@@ -1,5 +1,78 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.33.0 (2025-07-26)
4
+
5
+ Full Changelog: [v1.32.0...v1.33.0](https://github.com/GoStudyFetchGo/studyfetch-sdk/compare/v1.32.0...v1.33.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([6f671be](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/6f671bea5c362cb1a62c4d05d6be80b16a4699bf))
10
+ * **api:** api update ([af9fd4d](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/af9fd4dcae5cd78b69bd36bec63ea0ab30f1f786))
11
+ * **api:** api update ([00264c6](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/00264c6f794d3709d943f93e07f0689fbddb1010))
12
+ * **api:** api update ([bb175f1](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/bb175f1f8b03ee11e7e5103cf8072d9c50d2128b))
13
+ * **api:** api update ([ba3fe01](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/ba3fe01c27f165e86a9b6448fa7dc89f22a49630))
14
+ * **api:** api update ([c272400](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/c2724005f04ccd1219c122b5d9327031d4fc066f))
15
+ * **api:** api update ([69ced21](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/69ced21bf1e10da547769e39ed2367c40acedbe0))
16
+ * **api:** api update ([1786561](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/1786561103d52a4049c17643622bdede1c149060))
17
+ * **api:** api update ([9641ff6](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/9641ff6fd4621e4dc71609b72a694de6e1062482))
18
+ * **api:** api update ([9ccd46d](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/9ccd46d5fe28938f00662725b4c99ec76efbfea8))
19
+ * **api:** api update ([101d05e](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/101d05e260c9e95937de3377476ea44b8436837c))
20
+ * **api:** api update ([1efa142](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/1efa1423dbbea0532096bfa77896d85671016e47))
21
+ * **api:** api update ([84fa6b9](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/84fa6b9f665f65a742a45aa5bdf854a29463ef43))
22
+ * **api:** api update ([980a2ab](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/980a2ab1d562abc0e78a244f8a1f96cdfd7ad205))
23
+ * **api:** api update ([9888038](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/9888038a177e6f06d1db5d707e9418851c9f377c))
24
+ * **api:** api update ([7ad2574](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/7ad257440de49325c8df045ecd2213b2c7ba2a39))
25
+ * **api:** api update ([4f4d851](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/4f4d851cac000725d0c4a2751ad5e040b28587fb))
26
+ * **api:** api update ([368e586](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/368e586e083d00654454d88f59289e8e8e3a3acf))
27
+ * **api:** api update ([efbe509](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/efbe50917d2f4c778a6a94fc3e4fdba4bfad30bc))
28
+ * **api:** api update ([4f1164a](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/4f1164a403a90f0a3f2b9396b2c772211562d64d))
29
+ * **api:** api update ([93445a3](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/93445a33871007f9d5715f8d82ecce4199e335eb))
30
+ * **api:** api update ([5ceeb92](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/5ceeb9217a97e94fab0f27a6a4baa0993f90c7df))
31
+ * **api:** api update ([061e2f5](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/061e2f51d05b7f77d9ab4330f5d3baaaf11adaf7))
32
+ * **api:** api update ([617f566](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/617f5661dd337eae208052d6731c1951efd3a355))
33
+ * **api:** api update ([6bcd440](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/6bcd44066e0086dea5f737875600c354b794f0c1))
34
+ * **api:** api update ([033c8c1](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/033c8c1f022aa4c6c61c37944facec70eb3fd91d))
35
+ * **api:** api update ([b256a73](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/b256a73c50fa6bb1064e6a2b76994a0e508f8414))
36
+ * **api:** api update ([37e96f3](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/37e96f3f70fb7e6ab2034e37028b1dd40dfbe120))
37
+ * **api:** api update ([1eb9290](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/1eb929082b3fc7d44344c8f14c3b285498b709de))
38
+ * **api:** api update ([cbe93a7](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/cbe93a7afc7d66f15168f3a5e3c2965d826cf1a9))
39
+ * **api:** manual updates ([7826210](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/7826210a0c8ff3c987c3eca22f99ff94df59661c))
40
+ * **api:** manual updates ([6b22679](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/6b2267949145d190adff4dda2076bd1338dfbb96))
41
+ * **api:** manual updates ([6ab8942](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/6ab89426e90f7edd6db4d73d8febb08e8e6b4c1d))
42
+ * **api:** manual updates ([ded2e33](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/ded2e33f909440b9331a67671fbd6caa883a3205))
43
+ * **api:** manual updates ([f2622db](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/f2622db7ca9abb6e88aecdbea5f13360ac94d602))
44
+ * **api:** manual updates ([3dbafa8](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/3dbafa856b0031ed20bb7d214805dc11b5fc1bab))
45
+ * **api:** manual updates ([0aa64c0](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/0aa64c0f2a1f52a6876a20806cc149d39293bea1))
46
+ * **api:** manual updates ([09b0dfc](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/09b0dfc4d822945ba7b249be4f94a987bbf90c6a))
47
+ * **api:** manual updates ([98bf790](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/98bf7909ef746023dae51170cd7c78c7f7f8d8cf))
48
+ * **api:** manual updates ([de260f7](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/de260f7b7cbab1dcf681ba30029557df2ca18074))
49
+ * **api:** manual updates ([1f8253a](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/1f8253a2320a6cd08a97f0d226c957f25ea18739))
50
+ * **api:** manual updates ([b8d6eec](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/b8d6eeca4ff44588433e494b3bdf8da499d16327))
51
+ * **api:** manual updates ([7e127f5](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/7e127f50fa4975bcfa21e6916fbd63b275d1baf2))
52
+ * **api:** manual updates ([c4bcf71](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/c4bcf719c7a3701ab6d81a6553123d7188fa1779))
53
+ * **api:** manual updates ([ec6a535](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/ec6a535ee695a7559312f22a95b7688a2778f1d8))
54
+ * **api:** manual updates ([23869a0](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/23869a0f07ee86682280610662c3b04bcbe8418b))
55
+ * **api:** manual updates ([a26a064](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/a26a0648a6df372188dd246984222a224a103ade))
56
+ * **api:** manual updates ([50ff997](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/50ff9971504f8f75871278e594dd8bb19c5c4b06))
57
+ * **api:** manual updates ([01ac410](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/01ac4104f801227d43f6e41d53006cff07f269e0))
58
+ * **api:** manual updates ([1ba10ca](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/1ba10caab77f88f8ebb2a05fd92c913a9810c673))
59
+ * **api:** manual updates ([22da129](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/22da129eb680e202013e4324c8219f1b32ab3c68))
60
+ * **api:** update via SDK Studio ([54e9b9f](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/54e9b9f59ea55ea413d3a05390e40fe021e74ece))
61
+
62
+
63
+ ### Chores
64
+
65
+ * update SDK settings ([03aa19e](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/03aa19e5bdd1524645887779a4536d84a047f0c8))
66
+ * update SDK settings ([e3e85eb](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/e3e85eb48dab4e2608db60cfae377003fc3b3f45))
67
+
68
+ ## 1.32.0 (2025-07-26)
69
+
70
+ Full Changelog: [v1.31.0...v1.32.0](https://github.com/GoStudyFetchGo/studyfetch-sdk/compare/v1.31.0...v1.32.0)
71
+
72
+ ### Features
73
+
74
+ * **api:** api update ([6f671be](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/6f671bea5c362cb1a62c4d05d6be80b16a4699bf))
75
+
3
76
  ## 1.31.0 (2025-07-26)
4
77
 
5
78
  Full Changelog: [v1.30.0...v1.31.0](https://github.com/GoStudyFetchGo/studyfetch-sdk/compare/v1.30.0...v1.31.0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studyfetch/sdk",
3
- "version": "1.31.0",
3
+ "version": "1.33.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",
@@ -32,13 +32,14 @@ export interface ChatStreamParams {
32
32
  */
33
33
  groupIds?: Array<string>;
34
34
  /**
35
- * Body param: Chat message (for custom format)
35
+ * Body param: Single message for custom format - contains text and optional images
36
36
  */
37
37
  message?: ChatStreamParams.Message;
38
38
  /**
39
- * Body param: Messages array (for AI SDK format)
39
+ * Body param: Messages array for AI SDK format - list of conversation messages
40
+ * with roles
40
41
  */
41
- messages?: Array<ChatStreamParams.Message>;
42
+ messages?: Array<string>;
42
43
  /**
43
44
  * Body param: Session ID
44
45
  */
@@ -54,7 +55,7 @@ export interface ChatStreamParams {
54
55
  }
55
56
  export declare namespace ChatStreamParams {
56
57
  /**
57
- * Chat message (for custom format)
58
+ * Single message for custom format - contains text and optional images
58
59
  */
59
60
  interface Message {
60
61
  /**
@@ -86,16 +87,6 @@ export declare namespace ChatStreamParams {
86
87
  url?: string;
87
88
  }
88
89
  }
89
- interface Message {
90
- /**
91
- * Content of the message - can be string or array of content parts
92
- */
93
- content: unknown;
94
- /**
95
- * Role of the message sender
96
- */
97
- role: 'user' | 'assistant' | 'system';
98
- }
99
90
  }
100
91
  export declare namespace Chat {
101
92
  export { type ChatStreamParams as ChatStreamParams };
@@ -1 +1 @@
1
- {"version":3,"file":"chat.d.mts","sourceRoot":"","sources":["../../src/resources/v1/chat.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;OASG;IACH,MAAM,CAAC,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAW7E;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEzB;;OAEG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC;IAEnC;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAE3C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EG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEzB;;OAEG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC;IAEnC;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,yBAAiB,gBAAgB,CAAC;IAChC;;OAEG;IACH,UAAiB,OAAO;QACtB;;WAEG;QACH,MAAM,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAE9B;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;KACf;IAED,UAAiB,OAAO,CAAC;QACvB,UAAiB,KAAK;YACpB;;eAEG;YACH,MAAM,CAAC,EAAE,MAAM,CAAC;YAEhB;;eAEG;YACH,OAAO,CAAC,EAAE,MAAM,CAAC;YAEjB;;eAEG;YACH,QAAQ,CAAC,EAAE,MAAM,CAAC;YAElB;;eAEG;YACH,GAAG,CAAC,EAAE,MAAM,CAAC;SACd;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACtD"}
@@ -32,13 +32,14 @@ export interface ChatStreamParams {
32
32
  */
33
33
  groupIds?: Array<string>;
34
34
  /**
35
- * Body param: Chat message (for custom format)
35
+ * Body param: Single message for custom format - contains text and optional images
36
36
  */
37
37
  message?: ChatStreamParams.Message;
38
38
  /**
39
- * Body param: Messages array (for AI SDK format)
39
+ * Body param: Messages array for AI SDK format - list of conversation messages
40
+ * with roles
40
41
  */
41
- messages?: Array<ChatStreamParams.Message>;
42
+ messages?: Array<string>;
42
43
  /**
43
44
  * Body param: Session ID
44
45
  */
@@ -54,7 +55,7 @@ export interface ChatStreamParams {
54
55
  }
55
56
  export declare namespace ChatStreamParams {
56
57
  /**
57
- * Chat message (for custom format)
58
+ * Single message for custom format - contains text and optional images
58
59
  */
59
60
  interface Message {
60
61
  /**
@@ -86,16 +87,6 @@ export declare namespace ChatStreamParams {
86
87
  url?: string;
87
88
  }
88
89
  }
89
- interface Message {
90
- /**
91
- * Content of the message - can be string or array of content parts
92
- */
93
- content: unknown;
94
- /**
95
- * Role of the message sender
96
- */
97
- role: 'user' | 'assistant' | 'system';
98
- }
99
90
  }
100
91
  export declare namespace Chat {
101
92
  export { type ChatStreamParams as ChatStreamParams };
@@ -1 +1 @@
1
- {"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../src/resources/v1/chat.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;OASG;IACH,MAAM,CAAC,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAW7E;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEzB;;OAEG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC;IAEnC;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAE3C;;OAEG;IACH,SAA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AC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEzB;;OAEG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC;IAEnC;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,yBAAiB,gBAAgB,CAAC;IAChC;;OAEG;IACH,UAAiB,OAAO;QACtB;;WAEG;QACH,MAAM,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAE9B;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;KACf;IAED,UAAiB,OAAO,CAAC;QACvB,UAAiB,KAAK;YACpB;;eAEG;YACH,MAAM,CAAC,EAAE,MAAM,CAAC;YAEhB;;eAEG;YACH,OAAO,CAAC,EAAE,MAAM,CAAC;YAEjB;;eAEG;YACH,QAAQ,CAAC,EAAE,MAAM,CAAC;YAElB;;eAEG;YACH,GAAG,CAAC,EAAE,MAAM,CAAC;SACd;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACtD"}
@@ -51,14 +51,15 @@ export interface ChatStreamParams {
51
51
  groupIds?: Array<string>;
52
52
 
53
53
  /**
54
- * Body param: Chat message (for custom format)
54
+ * Body param: Single message for custom format - contains text and optional images
55
55
  */
56
56
  message?: ChatStreamParams.Message;
57
57
 
58
58
  /**
59
- * Body param: Messages array (for AI SDK format)
59
+ * Body param: Messages array for AI SDK format - list of conversation messages
60
+ * with roles
60
61
  */
61
- messages?: Array<ChatStreamParams.Message>;
62
+ messages?: Array<string>;
62
63
 
63
64
  /**
64
65
  * Body param: Session ID
@@ -78,7 +79,7 @@ export interface ChatStreamParams {
78
79
 
79
80
  export namespace ChatStreamParams {
80
81
  /**
81
- * Chat message (for custom format)
82
+ * Single message for custom format - contains text and optional images
82
83
  */
83
84
  export interface Message {
84
85
  /**
@@ -115,18 +116,6 @@ export namespace ChatStreamParams {
115
116
  url?: string;
116
117
  }
117
118
  }
118
-
119
- export interface Message {
120
- /**
121
- * Content of the message - can be string or array of content parts
122
- */
123
- content: unknown;
124
-
125
- /**
126
- * Role of the message sender
127
- */
128
- role: 'user' | 'assistant' | 'system';
129
- }
130
119
  }
131
120
 
132
121
  export declare namespace Chat {
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.31.0'; // x-release-please-version
1
+ export const VERSION = '1.33.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.31.0";
1
+ export declare const VERSION = "1.33.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.31.0";
1
+ export declare const VERSION = "1.33.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '1.31.0'; // x-release-please-version
4
+ exports.VERSION = '1.33.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '1.31.0'; // x-release-please-version
1
+ export const VERSION = '1.33.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map