@sixb/client 0.2.3 → 0.2.5
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/dist/agent-streams.d.ts +1 -1
- package/dist/agent-streams.d.ts.map +1 -1
- package/dist/browser.js +1 -1
- package/dist/{chunk-zerhr00d.js → chunk-60fdvjxa.js} +61 -2
- package/dist/chunk-60fdvjxa.js.map +10 -0
- package/dist/{chunk-seeyb9k9.js → chunk-pn4b10k4.js} +1 -1
- package/dist/{chunk-bgpzb1fn.js → chunk-tm588tr7.js} +1 -1
- package/dist/{chunk-90q7wa43.js → chunk-zta9jf24.js} +1 -1
- package/dist/{chunk-90q7wa43.js.map → chunk-zta9jf24.js.map} +2 -2
- package/dist/connectors/queries.d.ts.map +1 -1
- package/dist/generated/@tanstack/react-query.gen.d.ts +1620 -392
- package/dist/generated/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/sdk.gen.d.ts +32 -4
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/types.gen.d.ts +1589 -220
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/hooks.js +97 -5
- package/dist/hooks.js.map +3 -3
- package/dist/index.js +17 -5
- package/dist/index.js.map +1 -1
- package/dist/logs.js +2 -2
- package/dist/models.js +15 -3
- package/dist/models.js.map +1 -1
- package/dist/query.js +2 -2
- package/dist/users-hooks.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/agent-streams.ts +1 -0
- package/src/generated/@tanstack/react-query.gen.ts +188 -3
- package/src/generated/index.ts +35 -0
- package/src/generated/sdk.gen.ts +142 -3
- package/src/generated/types.gen.ts +2167 -272
- package/dist/chunk-zerhr00d.js.map +0 -10
- /package/dist/{chunk-seeyb9k9.js.map → chunk-pn4b10k4.js.map} +0 -0
- /package/dist/{chunk-bgpzb1fn.js.map → chunk-tm588tr7.js.map} +0 -0
package/dist/hooks.js
CHANGED
|
@@ -32,14 +32,14 @@ import {
|
|
|
32
32
|
ActionRunFailedError2,
|
|
33
33
|
isFailedActionRun,
|
|
34
34
|
uploadFile2
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-zta9jf24.js";
|
|
36
36
|
import {
|
|
37
37
|
isSixbApiError2
|
|
38
38
|
} from "./chunk-br10prhs.js";
|
|
39
39
|
import {
|
|
40
40
|
objectQueryReadsAny,
|
|
41
41
|
createHttpQueryExecutor2
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-tm588tr7.js";
|
|
43
43
|
import"./chunk-ktqfenfd.js";
|
|
44
44
|
import"./chunk-0ka9ykez.js";
|
|
45
45
|
import {
|
|
@@ -172,9 +172,13 @@ import {
|
|
|
172
172
|
removeAgentThreadParticipant2,
|
|
173
173
|
forkAgentThread2,
|
|
174
174
|
recreateAgentThreadSandbox2,
|
|
175
|
+
restoreAgentThreadSandbox2,
|
|
175
176
|
listAgentThreadMessages2,
|
|
176
177
|
postAgentThreadMessage2,
|
|
177
178
|
getAgentMessageFileContent2,
|
|
179
|
+
listAgentThreadInbox2,
|
|
180
|
+
withdrawAgentThreadInboxItem2,
|
|
181
|
+
updateAgentThreadInboxItem2,
|
|
178
182
|
cancelAgentRun2,
|
|
179
183
|
retryAgentRun2,
|
|
180
184
|
getAgentThreadContext2,
|
|
@@ -226,6 +230,8 @@ import {
|
|
|
226
230
|
restoreArtifact2,
|
|
227
231
|
createArtifactFrame2,
|
|
228
232
|
getArtifactVersion2,
|
|
233
|
+
getArtifactPdf2,
|
|
234
|
+
printArtifactPdf2,
|
|
229
235
|
getArtifactBoardPreview2,
|
|
230
236
|
getArtifactQuery2,
|
|
231
237
|
getArtifactFileContent2,
|
|
@@ -251,7 +257,7 @@ import {
|
|
|
251
257
|
listProjectionRuns2,
|
|
252
258
|
getProjectionRun2,
|
|
253
259
|
listWebhookRuns2
|
|
254
|
-
} from "./chunk-
|
|
260
|
+
} from "./chunk-60fdvjxa.js";
|
|
255
261
|
|
|
256
262
|
// src/hooks.ts
|
|
257
263
|
import { infiniteQueryOptions as infiniteQueryOptions3, queryOptions as queryOptions5 } from "@tanstack/react-query";
|
|
@@ -2225,6 +2231,19 @@ var recreateAgentThreadSandboxMutation = (options) => {
|
|
|
2225
2231
|
};
|
|
2226
2232
|
return mutationOptions;
|
|
2227
2233
|
};
|
|
2234
|
+
var restoreAgentThreadSandboxMutation = (options) => {
|
|
2235
|
+
const mutationOptions = {
|
|
2236
|
+
mutationFn: async (fnOptions) => {
|
|
2237
|
+
const { data } = await restoreAgentThreadSandbox2({
|
|
2238
|
+
...options,
|
|
2239
|
+
...fnOptions,
|
|
2240
|
+
throwOnError: true
|
|
2241
|
+
});
|
|
2242
|
+
return data;
|
|
2243
|
+
}
|
|
2244
|
+
};
|
|
2245
|
+
return mutationOptions;
|
|
2246
|
+
};
|
|
2228
2247
|
var listAgentThreadMessagesQueryKey = (options) => createQueryKey("listAgentThreadMessages", options);
|
|
2229
2248
|
var listAgentThreadMessagesOptions = (options) => queryOptions({
|
|
2230
2249
|
queryFn: async ({ queryKey, signal }) => {
|
|
@@ -2283,6 +2302,45 @@ var getAgentMessageFileContentOptions = (options) => queryOptions({
|
|
|
2283
2302
|
},
|
|
2284
2303
|
queryKey: getAgentMessageFileContentQueryKey(options)
|
|
2285
2304
|
});
|
|
2305
|
+
var listAgentThreadInboxQueryKey = (options) => createQueryKey("listAgentThreadInbox", options);
|
|
2306
|
+
var listAgentThreadInboxOptions = (options) => queryOptions({
|
|
2307
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
2308
|
+
const { data } = await listAgentThreadInbox2({
|
|
2309
|
+
...options,
|
|
2310
|
+
...queryKey[0],
|
|
2311
|
+
signal,
|
|
2312
|
+
throwOnError: true
|
|
2313
|
+
});
|
|
2314
|
+
return data;
|
|
2315
|
+
},
|
|
2316
|
+
queryKey: listAgentThreadInboxQueryKey(options)
|
|
2317
|
+
});
|
|
2318
|
+
var withdrawAgentThreadInboxItemMutation = (options) => {
|
|
2319
|
+
const mutationOptions = {
|
|
2320
|
+
mutationFn: async (fnOptions) => {
|
|
2321
|
+
const { data } = await withdrawAgentThreadInboxItem2({
|
|
2322
|
+
...options,
|
|
2323
|
+
...fnOptions,
|
|
2324
|
+
throwOnError: true
|
|
2325
|
+
});
|
|
2326
|
+
return data;
|
|
2327
|
+
}
|
|
2328
|
+
};
|
|
2329
|
+
return mutationOptions;
|
|
2330
|
+
};
|
|
2331
|
+
var updateAgentThreadInboxItemMutation = (options) => {
|
|
2332
|
+
const mutationOptions = {
|
|
2333
|
+
mutationFn: async (fnOptions) => {
|
|
2334
|
+
const { data } = await updateAgentThreadInboxItem2({
|
|
2335
|
+
...options,
|
|
2336
|
+
...fnOptions,
|
|
2337
|
+
throwOnError: true
|
|
2338
|
+
});
|
|
2339
|
+
return data;
|
|
2340
|
+
}
|
|
2341
|
+
};
|
|
2342
|
+
return mutationOptions;
|
|
2343
|
+
};
|
|
2286
2344
|
var cancelAgentRunMutation = (options) => {
|
|
2287
2345
|
const mutationOptions = {
|
|
2288
2346
|
mutationFn: async (fnOptions) => {
|
|
@@ -3079,6 +3137,32 @@ var getArtifactVersionOptions = (options) => queryOptions({
|
|
|
3079
3137
|
},
|
|
3080
3138
|
queryKey: getArtifactVersionQueryKey(options)
|
|
3081
3139
|
});
|
|
3140
|
+
var getArtifactPdfQueryKey = (options) => createQueryKey("getArtifactPdf", options);
|
|
3141
|
+
var getArtifactPdfOptions = (options) => queryOptions({
|
|
3142
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3143
|
+
const { data } = await getArtifactPdf2({
|
|
3144
|
+
...options,
|
|
3145
|
+
...queryKey[0],
|
|
3146
|
+
signal,
|
|
3147
|
+
throwOnError: true
|
|
3148
|
+
});
|
|
3149
|
+
return data;
|
|
3150
|
+
},
|
|
3151
|
+
queryKey: getArtifactPdfQueryKey(options)
|
|
3152
|
+
});
|
|
3153
|
+
var printArtifactPdfMutation = (options) => {
|
|
3154
|
+
const mutationOptions = {
|
|
3155
|
+
mutationFn: async (fnOptions) => {
|
|
3156
|
+
const { data } = await printArtifactPdf2({
|
|
3157
|
+
...options,
|
|
3158
|
+
...fnOptions,
|
|
3159
|
+
throwOnError: true
|
|
3160
|
+
});
|
|
3161
|
+
return data;
|
|
3162
|
+
}
|
|
3163
|
+
};
|
|
3164
|
+
return mutationOptions;
|
|
3165
|
+
};
|
|
3082
3166
|
var getArtifactBoardPreviewQueryKey = (options) => createQueryKey("getArtifactBoardPreview", options);
|
|
3083
3167
|
var getArtifactBoardPreviewOptions = (options) => queryOptions({
|
|
3084
3168
|
queryFn: async ({ queryKey, signal }) => {
|
|
@@ -5599,6 +5683,8 @@ export {
|
|
|
5599
5683
|
getArtifactFileContentOptions,
|
|
5600
5684
|
getArtifactFileContentQueryKey,
|
|
5601
5685
|
getArtifactOptions,
|
|
5686
|
+
getArtifactPdfOptions,
|
|
5687
|
+
getArtifactPdfQueryKey,
|
|
5602
5688
|
getArtifactQueryKey,
|
|
5603
5689
|
getArtifactQueryOptions,
|
|
5604
5690
|
getArtifactQueryQueryKey,
|
|
@@ -5726,6 +5812,8 @@ export {
|
|
|
5726
5812
|
listAgentThreadApprovalsQueryKey,
|
|
5727
5813
|
listAgentThreadChildrenOptions,
|
|
5728
5814
|
listAgentThreadChildrenQueryKey,
|
|
5815
|
+
listAgentThreadInboxOptions,
|
|
5816
|
+
listAgentThreadInboxQueryKey,
|
|
5729
5817
|
listAgentThreadMessagesInfiniteOptions,
|
|
5730
5818
|
listAgentThreadMessagesInfiniteQueryKey,
|
|
5731
5819
|
listAgentThreadMessagesOptions,
|
|
@@ -5875,6 +5963,7 @@ export {
|
|
|
5875
5963
|
parseAgentRunStreamServerMessage2 as parseAgentRunStreamServerMessage,
|
|
5876
5964
|
parseEventStreamMessage2 as parseEventStreamMessage,
|
|
5877
5965
|
postAgentThreadMessageMutation,
|
|
5966
|
+
printArtifactPdfMutation,
|
|
5878
5967
|
queryObjectLinksMutation,
|
|
5879
5968
|
queryObjectsMutation,
|
|
5880
5969
|
reactivateAuthMemberMutation,
|
|
@@ -5889,6 +5978,7 @@ export {
|
|
|
5889
5978
|
requestSyncRunMutation,
|
|
5890
5979
|
requestWorkflowRunMutation,
|
|
5891
5980
|
resolveArtifactCommentMutation,
|
|
5981
|
+
restoreAgentThreadSandboxMutation,
|
|
5892
5982
|
restoreArtifactMutation,
|
|
5893
5983
|
retryAgentRunMutation,
|
|
5894
5984
|
revokeAuthAccessTokenMutation,
|
|
@@ -5920,6 +6010,7 @@ export {
|
|
|
5920
6010
|
telemetryUpdateKey2 as telemetryUpdateKey,
|
|
5921
6011
|
transcribeAudioMutation,
|
|
5922
6012
|
updateAgentPreferencesMutation,
|
|
6013
|
+
updateAgentThreadInboxItemMutation,
|
|
5923
6014
|
updateAiLimitPolicyMutation,
|
|
5924
6015
|
updateArtifactMutation,
|
|
5925
6016
|
updateAuthMemberGroupsMutation,
|
|
@@ -5957,7 +6048,8 @@ export {
|
|
|
5957
6048
|
useUser,
|
|
5958
6049
|
useUsers,
|
|
5959
6050
|
userQueryOptions,
|
|
5960
|
-
usersQueryOptions
|
|
6051
|
+
usersQueryOptions,
|
|
6052
|
+
withdrawAgentThreadInboxItemMutation
|
|
5961
6053
|
};
|
|
5962
6054
|
|
|
5963
|
-
//# debugId=
|
|
6055
|
+
//# debugId=F21A7BE56ACC629C64756E2164756E21
|