@omnara/sdk 0.1.28 → 0.1.29

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/tanstack.js CHANGED
@@ -114,6 +114,7 @@ import {
114
114
  listOrgAgents,
115
115
  listOrgApiKeyProjectAccess,
116
116
  listOrgApiKeys,
117
+ listOrgIntegrations,
117
118
  listOrgInvitations,
118
119
  listOrgMembers,
119
120
  listOrgMemoryStores,
@@ -173,9 +174,9 @@ import {
173
174
  updateSkill,
174
175
  uploadDaemonFile,
175
176
  writeMemoryFile
176
- } from "./chunk-M4ZH2TZ7.js";
177
+ } from "./chunk-57NESCR2.js";
177
178
  import "./chunk-NZCMY3BC.js";
178
- import "./chunk-3TXQXV3F.js";
179
+ import "./chunk-XL7EYMHM.js";
179
180
 
180
181
  // src/generated/@tanstack/react-query.gen.ts
181
182
  import { infiniteQueryOptions, queryOptions } from "@tanstack/react-query";
@@ -3185,6 +3186,44 @@ var uploadDaemonFileMutation = (options) => {
3185
3186
  };
3186
3187
  return mutationOptions;
3187
3188
  };
3189
+ var listOrgIntegrationsQueryKey = (options) => createQueryKey("listOrgIntegrations", options);
3190
+ var listOrgIntegrationsOptions = (options) => queryOptions({
3191
+ queryFn: async ({ queryKey, signal }) => {
3192
+ const { data } = await listOrgIntegrations({
3193
+ ...options,
3194
+ ...queryKey[0],
3195
+ signal,
3196
+ throwOnError: true
3197
+ });
3198
+ return data;
3199
+ },
3200
+ queryKey: listOrgIntegrationsQueryKey(options)
3201
+ });
3202
+ var listOrgIntegrationsInfiniteQueryKey = (options) => createQueryKey("listOrgIntegrations", options, true);
3203
+ var listOrgIntegrationsInfiniteOptions = (options) => {
3204
+ const opts = infiniteQueryOptions(
3205
+ // @ts-ignore
3206
+ {
3207
+ queryFn: async ({ pageParam, queryKey, signal }) => {
3208
+ const page = typeof pageParam === "object" ? pageParam : {
3209
+ query: {
3210
+ cursor: pageParam
3211
+ }
3212
+ };
3213
+ const params = createInfiniteParams(queryKey, page);
3214
+ const { data } = await listOrgIntegrations({
3215
+ ...options,
3216
+ ...params,
3217
+ signal,
3218
+ throwOnError: true
3219
+ });
3220
+ return data;
3221
+ },
3222
+ queryKey: listOrgIntegrationsInfiniteQueryKey(options)
3223
+ }
3224
+ );
3225
+ return opts;
3226
+ };
3188
3227
  var listIntegrationsQueryKey = (options) => createQueryKey("listIntegrations", options);
3189
3228
  var listIntegrationsOptions = (options) => queryOptions({
3190
3229
  queryFn: async ({ queryKey, signal }) => {
@@ -3577,6 +3616,10 @@ export {
3577
3616
  listOrgApiKeysInfiniteQueryKey,
3578
3617
  listOrgApiKeysOptions,
3579
3618
  listOrgApiKeysQueryKey,
3619
+ listOrgIntegrationsInfiniteOptions,
3620
+ listOrgIntegrationsInfiniteQueryKey,
3621
+ listOrgIntegrationsOptions,
3622
+ listOrgIntegrationsQueryKey,
3580
3623
  listOrgInvitationsInfiniteOptions,
3581
3624
  listOrgInvitationsInfiniteQueryKey,
3582
3625
  listOrgInvitationsOptions,