@sixb/client 0.1.11 → 0.1.12

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.
Files changed (38) hide show
  1. package/dist/browser.js +2 -2
  2. package/dist/{chunk-f4qeqxz2.js → chunk-bsy1hg20.js} +1 -1
  3. package/dist/{chunk-7bv57jcq.js → chunk-e8qjsvha.js} +11 -2
  4. package/dist/{chunk-7bv57jcq.js.map → chunk-e8qjsvha.js.map} +3 -3
  5. package/dist/{chunk-65mmaq7r.js → chunk-hx3n4fer.js} +3 -3
  6. package/dist/{chunk-qaacaq2e.js → chunk-kh20z2mt.js} +6 -4
  7. package/dist/chunk-kh20z2mt.js.map +10 -0
  8. package/dist/{chunk-y4g6jrvs.js → chunk-sjb188se.js} +1 -1
  9. package/dist/{chunk-65bdf9vw.js → chunk-t50n91tk.js} +2 -2
  10. package/dist/connectors/queries.d.ts.map +1 -1
  11. package/dist/generated/@tanstack/react-query.gen.d.ts +617 -82
  12. package/dist/generated/@tanstack/react-query.gen.d.ts.map +1 -1
  13. package/dist/generated/index.d.ts +2 -2
  14. package/dist/generated/index.d.ts.map +1 -1
  15. package/dist/generated/sdk.gen.d.ts +5 -1
  16. package/dist/generated/sdk.gen.d.ts.map +1 -1
  17. package/dist/generated/types.gen.d.ts +262 -12
  18. package/dist/generated/types.gen.d.ts.map +1 -1
  19. package/dist/hooks.js +21 -6
  20. package/dist/hooks.js.map +3 -3
  21. package/dist/index.js +8 -6
  22. package/dist/index.js.map +1 -1
  23. package/dist/logs.js +3 -3
  24. package/dist/models.js +4 -2
  25. package/dist/models.js.map +1 -1
  26. package/dist/query.d.ts.map +1 -1
  27. package/dist/query.js +3 -3
  28. package/package.json +2 -2
  29. package/src/generated/@tanstack/react-query.gen.ts +31 -0
  30. package/src/generated/index.ts +7 -0
  31. package/src/generated/sdk.gen.ts +23 -0
  32. package/src/generated/types.gen.ts +306 -12
  33. package/src/query.ts +3 -1
  34. package/dist/chunk-qaacaq2e.js.map +0 -10
  35. /package/dist/{chunk-f4qeqxz2.js.map → chunk-bsy1hg20.js.map} +0 -0
  36. /package/dist/{chunk-65mmaq7r.js.map → chunk-hx3n4fer.js.map} +0 -0
  37. /package/dist/{chunk-y4g6jrvs.js.map → chunk-sjb188se.js.map} +0 -0
  38. /package/dist/{chunk-65bdf9vw.js.map → chunk-t50n91tk.js.map} +0 -0
package/dist/hooks.js CHANGED
@@ -113,6 +113,7 @@ import {
113
113
  listAgentThreads2,
114
114
  createAgentThread2,
115
115
  getAgentThread2,
116
+ recreateAgentThreadSandbox2,
116
117
  listAgentThreadMessages2,
117
118
  postAgentThreadMessage2,
118
119
  getAgentMessageFileContent2,
@@ -134,7 +135,7 @@ import {
134
135
  listProjectionRuns2,
135
136
  getProjectionRun2,
136
137
  listWebhookRuns2
137
- } from "./chunk-7bv57jcq.js";
138
+ } from "./chunk-e8qjsvha.js";
138
139
  import {
139
140
  encodeObjectId2,
140
141
  decodeObjectId2,
@@ -162,14 +163,14 @@ import {
162
163
  ActionRunFailedError2,
163
164
  requestActionAndWait2,
164
165
  uploadFile2
165
- } from "./chunk-65mmaq7r.js";
166
+ } from "./chunk-hx3n4fer.js";
166
167
  import {
167
168
  isSixbApiError2
168
- } from "./chunk-f4qeqxz2.js";
169
+ } from "./chunk-bsy1hg20.js";
169
170
  import {
170
171
  createHttpQueryExecutor2
171
- } from "./chunk-qaacaq2e.js";
172
- import"./chunk-y4g6jrvs.js";
172
+ } from "./chunk-kh20z2mt.js";
173
+ import"./chunk-sjb188se.js";
173
174
  import"./chunk-0ka9ykez.js";
174
175
 
175
176
  // src/hooks.ts
@@ -1923,6 +1924,19 @@ var getAgentThreadOptions = (options) => queryOptions({
1923
1924
  },
1924
1925
  queryKey: getAgentThreadQueryKey(options)
1925
1926
  });
1927
+ var recreateAgentThreadSandboxMutation = (options) => {
1928
+ const mutationOptions = {
1929
+ mutationFn: async (fnOptions) => {
1930
+ const { data } = await recreateAgentThreadSandbox2({
1931
+ ...options,
1932
+ ...fnOptions,
1933
+ throwOnError: true
1934
+ });
1935
+ return data;
1936
+ }
1937
+ };
1938
+ return mutationOptions;
1939
+ };
1926
1940
  var listAgentThreadMessagesQueryKey = (options) => createQueryKey("listAgentThreadMessages", options);
1927
1941
  var listAgentThreadMessagesOptions = (options) => queryOptions({
1928
1942
  queryFn: async ({ queryKey, signal }) => {
@@ -4271,6 +4285,7 @@ export {
4271
4285
  reactivateAuthMemberMutation,
4272
4286
  reauthorizeConnectorConnectionMutation,
4273
4287
  reauthorizeConnectorMutationOptions,
4288
+ recreateAgentThreadSandboxMutation,
4274
4289
  removeObjectLinkMutation,
4275
4290
  requestActionMutation,
4276
4291
  requestPipelineRunMutation,
@@ -4333,4 +4348,4 @@ export {
4333
4348
  useUploadFile
4334
4349
  };
4335
4350
 
4336
- //# debugId=564A0EF1B391298564756E2164756E21
4351
+ //# debugId=D95528493871918564756E2164756E21