@studyfetch/sdk 1.30.0 → 1.32.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 +17 -0
- package/package.json +1 -1
- package/resources/v1/chat.d.mts +5 -8
- package/resources/v1/chat.d.mts.map +1 -1
- package/resources/v1/chat.d.ts +5 -8
- package/resources/v1/chat.d.ts.map +1 -1
- package/src/resources/v1/chat.ts +5 -10
- 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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.32.0 (2025-07-26)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.31.0...v1.32.0](https://github.com/GoStudyFetchGo/studyfetch-sdk/compare/v1.31.0...v1.32.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([6f671be](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/6f671bea5c362cb1a62c4d05d6be80b16a4699bf))
|
|
10
|
+
|
|
11
|
+
## 1.31.0 (2025-07-26)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v1.30.0...v1.31.0](https://github.com/GoStudyFetchGo/studyfetch-sdk/compare/v1.30.0...v1.31.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([af9fd4d](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/af9fd4dcae5cd78b69bd36bec63ea0ab30f1f786))
|
|
18
|
+
* **api:** api update ([00264c6](https://github.com/GoStudyFetchGo/studyfetch-sdk/commit/00264c6f794d3709d943f93e07f0689fbddb1010))
|
|
19
|
+
|
|
3
20
|
## 1.30.0 (2025-07-26)
|
|
4
21
|
|
|
5
22
|
Full Changelog: [v1.29.0...v1.30.0](https://github.com/GoStudyFetchGo/studyfetch-sdk/compare/v1.29.0...v1.30.0)
|
package/package.json
CHANGED
package/resources/v1/chat.d.mts
CHANGED
|
@@ -32,13 +32,14 @@ export interface ChatStreamParams {
|
|
|
32
32
|
*/
|
|
33
33
|
groupIds?: Array<string>;
|
|
34
34
|
/**
|
|
35
|
-
* Body param:
|
|
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
|
|
39
|
+
* Body param: Messages array for AI SDK format - list of conversation messages
|
|
40
|
+
* with roles
|
|
40
41
|
*/
|
|
41
|
-
messages?: Array<
|
|
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
|
-
*
|
|
58
|
+
* Single message for custom format - contains text and optional images
|
|
58
59
|
*/
|
|
59
60
|
interface Message {
|
|
60
61
|
/**
|
|
@@ -86,10 +87,6 @@ export declare namespace ChatStreamParams {
|
|
|
86
87
|
url?: string;
|
|
87
88
|
}
|
|
88
89
|
}
|
|
89
|
-
interface Message {
|
|
90
|
-
content?: string;
|
|
91
|
-
role?: string;
|
|
92
|
-
}
|
|
93
90
|
}
|
|
94
91
|
export declare namespace Chat {
|
|
95
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,E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ChC;;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"}
|
package/resources/v1/chat.d.ts
CHANGED
|
@@ -32,13 +32,14 @@ export interface ChatStreamParams {
|
|
|
32
32
|
*/
|
|
33
33
|
groupIds?: Array<string>;
|
|
34
34
|
/**
|
|
35
|
-
* Body param:
|
|
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
|
|
39
|
+
* Body param: Messages array for AI SDK format - list of conversation messages
|
|
40
|
+
* with roles
|
|
40
41
|
*/
|
|
41
|
-
messages?: Array<
|
|
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
|
-
*
|
|
58
|
+
* Single message for custom format - contains text and optional images
|
|
58
59
|
*/
|
|
59
60
|
interface Message {
|
|
60
61
|
/**
|
|
@@ -86,10 +87,6 @@ export declare namespace ChatStreamParams {
|
|
|
86
87
|
url?: string;
|
|
87
88
|
}
|
|
88
89
|
}
|
|
89
|
-
interface Message {
|
|
90
|
-
content?: string;
|
|
91
|
-
role?: string;
|
|
92
|
-
}
|
|
93
90
|
}
|
|
94
91
|
export declare namespace Chat {
|
|
95
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
|
|
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;;;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"}
|
package/src/resources/v1/chat.ts
CHANGED
|
@@ -51,14 +51,15 @@ export interface ChatStreamParams {
|
|
|
51
51
|
groupIds?: Array<string>;
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
|
-
* Body param:
|
|
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
|
|
59
|
+
* Body param: Messages array for AI SDK format - list of conversation messages
|
|
60
|
+
* with roles
|
|
60
61
|
*/
|
|
61
|
-
messages?: Array<
|
|
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
|
-
*
|
|
82
|
+
* Single message for custom format - contains text and optional images
|
|
82
83
|
*/
|
|
83
84
|
export interface Message {
|
|
84
85
|
/**
|
|
@@ -115,12 +116,6 @@ export namespace ChatStreamParams {
|
|
|
115
116
|
url?: string;
|
|
116
117
|
}
|
|
117
118
|
}
|
|
118
|
-
|
|
119
|
-
export interface Message {
|
|
120
|
-
content?: string;
|
|
121
|
-
|
|
122
|
-
role?: string;
|
|
123
|
-
}
|
|
124
119
|
}
|
|
125
120
|
|
|
126
121
|
export declare namespace Chat {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.32.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.32.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.32.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.32.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|