@nikcli-ai/sdk 1.326.0 → 1.328.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.
|
@@ -1971,7 +1971,7 @@ export function make(options) {
|
|
|
1971
1971
|
path: `/session/${encodeURIComponent(input.sessionID)}/message/${encodeURIComponent(input.messageID)}/part/${encodeURIComponent(input.partID)}`,
|
|
1972
1972
|
body: input["payload"],
|
|
1973
1973
|
successStatus: 200,
|
|
1974
|
-
declaredStatuses: [404, 409],
|
|
1974
|
+
declaredStatuses: [404, 409, 400],
|
|
1975
1975
|
empty: false,
|
|
1976
1976
|
}, requestOptions),
|
|
1977
1977
|
v2Entries: (input, requestOptions) => request({
|
|
@@ -5581,6 +5581,12 @@ export type SessionBusyErrorBody = {
|
|
|
5581
5581
|
readonly [x: string]: any;
|
|
5582
5582
|
};
|
|
5583
5583
|
};
|
|
5584
|
+
export type SessionPartMismatchError = {
|
|
5585
|
+
readonly name: "PartMismatchError";
|
|
5586
|
+
readonly data: {
|
|
5587
|
+
readonly [x: string]: any;
|
|
5588
|
+
};
|
|
5589
|
+
};
|
|
5584
5590
|
export type SessionBackgroundNotFound = {
|
|
5585
5591
|
readonly error: "Session not found";
|
|
5586
5592
|
};
|