@omnara/sdk 0.1.24 → 0.1.26
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/browser.d.ts +1 -0
- package/dist/browser.js +5 -4
- package/dist/browser.js.map +1 -1
- package/dist/{chunk-Y2BIF75C.js → chunk-IOMLNLUZ.js} +2 -2
- package/dist/{chunk-PWJRR6EE.js → chunk-MFYTIZB5.js} +338 -47
- package/dist/chunk-MFYTIZB5.js.map +1 -0
- package/dist/{chunk-LEXWVGES.js → chunk-U75SRNGF.js} +859 -373
- package/dist/chunk-U75SRNGF.js.map +1 -0
- package/dist/index.d.ts +49 -4
- package/dist/index.js +79 -3
- package/dist/index.js.map +1 -1
- package/dist/{sdk.gen-Dxv4CHxJ.d.ts → sdk.gen-CgYY8k0E.d.ts} +1830 -357
- package/dist/tanstack.d.ts +379 -75
- package/dist/tanstack.js +376 -64
- package/dist/tanstack.js.map +1 -1
- package/dist/zod.d.ts +1 -1
- package/dist/{zod.gen-B8yDGmd3.d.ts → zod.gen-CGV1WHNJ.d.ts} +6240 -4601
- package/dist/zod.js +203 -43
- package/package.json +1 -1
- package/dist/chunk-LEXWVGES.js.map +0 -1
- package/dist/chunk-PWJRR6EE.js.map +0 -1
- /package/dist/{chunk-Y2BIF75C.js.map → chunk-IOMLNLUZ.js.map} +0 -0
package/dist/tanstack.js
CHANGED
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
cancelAgent,
|
|
6
6
|
cancelQueuedBacklogInput,
|
|
7
7
|
client,
|
|
8
|
+
configureIntegration,
|
|
8
9
|
connectByoMachine,
|
|
9
10
|
createAgent,
|
|
10
11
|
createAgentConfig,
|
|
@@ -13,7 +14,11 @@ import {
|
|
|
13
14
|
createByoMachineDaemonToken,
|
|
14
15
|
createConfiguredModel,
|
|
15
16
|
createCronTrigger,
|
|
17
|
+
createIntegration,
|
|
18
|
+
createIntegrationGitHubSetup,
|
|
16
19
|
createIntegrationOAuthSetup,
|
|
20
|
+
createIntegrationSlackSetup,
|
|
21
|
+
createIntegrationSubscription,
|
|
17
22
|
createMachine,
|
|
18
23
|
createMachinePool,
|
|
19
24
|
createMemoryStore,
|
|
@@ -31,13 +36,13 @@ import {
|
|
|
31
36
|
createSecretVersion,
|
|
32
37
|
createSkill,
|
|
33
38
|
createSkillGrant,
|
|
34
|
-
createSlackSetup,
|
|
35
39
|
declineInvitation,
|
|
36
40
|
deleteAgentProfile,
|
|
37
41
|
deleteConfiguredModel,
|
|
38
42
|
deleteCronTrigger,
|
|
39
43
|
deleteCurrentUser,
|
|
40
|
-
|
|
44
|
+
deleteIntegration,
|
|
45
|
+
deleteIntegrationSubscription,
|
|
41
46
|
deleteMachine,
|
|
42
47
|
deleteMachinePool,
|
|
43
48
|
deleteMemoryFile,
|
|
@@ -54,6 +59,7 @@ import {
|
|
|
54
59
|
deleteSkill,
|
|
55
60
|
deleteSkillGrant,
|
|
56
61
|
demoteSteeringInputToQueued,
|
|
62
|
+
disconnectIntegration,
|
|
57
63
|
downloadDaemonFile,
|
|
58
64
|
downloadMemoryFile,
|
|
59
65
|
endMachineDaemonRuntime,
|
|
@@ -67,7 +73,9 @@ import {
|
|
|
67
73
|
getArtifactContent,
|
|
68
74
|
getCronTrigger,
|
|
69
75
|
getCurrentUser,
|
|
76
|
+
getDaemonGitCredentials,
|
|
70
77
|
getDaemonSkillArchive,
|
|
78
|
+
getIntegration,
|
|
71
79
|
getMachine,
|
|
72
80
|
getMachinePool,
|
|
73
81
|
getMemoryStore,
|
|
@@ -76,12 +84,14 @@ import {
|
|
|
76
84
|
getOrgApiKey,
|
|
77
85
|
getOrgOverview,
|
|
78
86
|
getOrgUsage,
|
|
87
|
+
getOrgUsageTimeseries,
|
|
79
88
|
getProjectAvailableSecret,
|
|
80
89
|
getProjectMachinePoolGrant,
|
|
81
90
|
getProjectUsage,
|
|
82
91
|
getSecret,
|
|
83
92
|
getSkill,
|
|
84
93
|
getToolCatalog,
|
|
94
|
+
inspectIntegrationGitHubInstallations,
|
|
85
95
|
listActors,
|
|
86
96
|
listAgentInteractions,
|
|
87
97
|
listAgentProfiles,
|
|
@@ -90,7 +100,9 @@ import {
|
|
|
90
100
|
listConfiguredModels,
|
|
91
101
|
listCronTriggers,
|
|
92
102
|
listEvents,
|
|
93
|
-
|
|
103
|
+
listIntegrationDefinitions,
|
|
104
|
+
listIntegrationSubscriptions,
|
|
105
|
+
listIntegrations,
|
|
94
106
|
listMachinePools,
|
|
95
107
|
listMcpServerTools,
|
|
96
108
|
listMcpServers,
|
|
@@ -98,6 +110,8 @@ import {
|
|
|
98
110
|
listMemoryFiles,
|
|
99
111
|
listMemoryStores,
|
|
100
112
|
listModelProviderConfigs,
|
|
113
|
+
listOrgAgentProfiles,
|
|
114
|
+
listOrgAgents,
|
|
101
115
|
listOrgApiKeyProjectAccess,
|
|
102
116
|
listOrgApiKeys,
|
|
103
117
|
listOrgInvitations,
|
|
@@ -145,6 +159,7 @@ import {
|
|
|
145
159
|
updateAgentProfile,
|
|
146
160
|
updateConfiguredModel,
|
|
147
161
|
updateCronTrigger,
|
|
162
|
+
updateIntegration,
|
|
148
163
|
updateMachine,
|
|
149
164
|
updateMachinePool,
|
|
150
165
|
updateMemoryStore,
|
|
@@ -157,9 +172,9 @@ import {
|
|
|
157
172
|
updateSkill,
|
|
158
173
|
uploadDaemonFile,
|
|
159
174
|
writeMemoryFile
|
|
160
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-MFYTIZB5.js";
|
|
161
176
|
import "./chunk-NZCMY3BC.js";
|
|
162
|
-
import "./chunk-
|
|
177
|
+
import "./chunk-U75SRNGF.js";
|
|
163
178
|
|
|
164
179
|
// src/generated/@tanstack/react-query.gen.ts
|
|
165
180
|
import { infiniteQueryOptions, queryOptions } from "@tanstack/react-query";
|
|
@@ -458,6 +473,95 @@ var getOrgUsageOptions = (options) => queryOptions({
|
|
|
458
473
|
},
|
|
459
474
|
queryKey: getOrgUsageQueryKey(options)
|
|
460
475
|
});
|
|
476
|
+
var getOrgUsageTimeseriesQueryKey = (options) => createQueryKey("getOrgUsageTimeseries", options);
|
|
477
|
+
var getOrgUsageTimeseriesOptions = (options) => queryOptions({
|
|
478
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
479
|
+
const { data } = await getOrgUsageTimeseries({
|
|
480
|
+
...options,
|
|
481
|
+
...queryKey[0],
|
|
482
|
+
signal,
|
|
483
|
+
throwOnError: true
|
|
484
|
+
});
|
|
485
|
+
return data;
|
|
486
|
+
},
|
|
487
|
+
queryKey: getOrgUsageTimeseriesQueryKey(options)
|
|
488
|
+
});
|
|
489
|
+
var listOrgAgentsQueryKey = (options) => createQueryKey("listOrgAgents", options);
|
|
490
|
+
var listOrgAgentsOptions = (options) => queryOptions({
|
|
491
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
492
|
+
const { data } = await listOrgAgents({
|
|
493
|
+
...options,
|
|
494
|
+
...queryKey[0],
|
|
495
|
+
signal,
|
|
496
|
+
throwOnError: true
|
|
497
|
+
});
|
|
498
|
+
return data;
|
|
499
|
+
},
|
|
500
|
+
queryKey: listOrgAgentsQueryKey(options)
|
|
501
|
+
});
|
|
502
|
+
var listOrgAgentsInfiniteQueryKey = (options) => createQueryKey("listOrgAgents", options, true);
|
|
503
|
+
var listOrgAgentsInfiniteOptions = (options) => {
|
|
504
|
+
const opts = infiniteQueryOptions(
|
|
505
|
+
// @ts-ignore
|
|
506
|
+
{
|
|
507
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
508
|
+
const page = typeof pageParam === "object" ? pageParam : {
|
|
509
|
+
query: {
|
|
510
|
+
cursor: pageParam
|
|
511
|
+
}
|
|
512
|
+
};
|
|
513
|
+
const params = createInfiniteParams(queryKey, page);
|
|
514
|
+
const { data } = await listOrgAgents({
|
|
515
|
+
...options,
|
|
516
|
+
...params,
|
|
517
|
+
signal,
|
|
518
|
+
throwOnError: true
|
|
519
|
+
});
|
|
520
|
+
return data;
|
|
521
|
+
},
|
|
522
|
+
queryKey: listOrgAgentsInfiniteQueryKey(options)
|
|
523
|
+
}
|
|
524
|
+
);
|
|
525
|
+
return opts;
|
|
526
|
+
};
|
|
527
|
+
var listOrgAgentProfilesQueryKey = (options) => createQueryKey("listOrgAgentProfiles", options);
|
|
528
|
+
var listOrgAgentProfilesOptions = (options) => queryOptions({
|
|
529
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
530
|
+
const { data } = await listOrgAgentProfiles({
|
|
531
|
+
...options,
|
|
532
|
+
...queryKey[0],
|
|
533
|
+
signal,
|
|
534
|
+
throwOnError: true
|
|
535
|
+
});
|
|
536
|
+
return data;
|
|
537
|
+
},
|
|
538
|
+
queryKey: listOrgAgentProfilesQueryKey(options)
|
|
539
|
+
});
|
|
540
|
+
var listOrgAgentProfilesInfiniteQueryKey = (options) => createQueryKey("listOrgAgentProfiles", options, true);
|
|
541
|
+
var listOrgAgentProfilesInfiniteOptions = (options) => {
|
|
542
|
+
const opts = infiniteQueryOptions(
|
|
543
|
+
// @ts-ignore
|
|
544
|
+
{
|
|
545
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
546
|
+
const page = typeof pageParam === "object" ? pageParam : {
|
|
547
|
+
query: {
|
|
548
|
+
cursor: pageParam
|
|
549
|
+
}
|
|
550
|
+
};
|
|
551
|
+
const params = createInfiniteParams(queryKey, page);
|
|
552
|
+
const { data } = await listOrgAgentProfiles({
|
|
553
|
+
...options,
|
|
554
|
+
...params,
|
|
555
|
+
signal,
|
|
556
|
+
throwOnError: true
|
|
557
|
+
});
|
|
558
|
+
return data;
|
|
559
|
+
},
|
|
560
|
+
queryKey: listOrgAgentProfilesInfiniteQueryKey(options)
|
|
561
|
+
}
|
|
562
|
+
);
|
|
563
|
+
return opts;
|
|
564
|
+
};
|
|
461
565
|
var listVisibleProjectsQueryKey = (options) => createQueryKey("listVisibleProjects", options);
|
|
462
566
|
var listVisibleProjectsOptions = (options) => queryOptions({
|
|
463
567
|
queryFn: async ({ queryKey, signal }) => {
|
|
@@ -1370,57 +1474,6 @@ var deleteSecretGrantMutation = (options) => {
|
|
|
1370
1474
|
};
|
|
1371
1475
|
return mutationOptions;
|
|
1372
1476
|
};
|
|
1373
|
-
var listIntegrationInstallsQueryKey = (options) => createQueryKey("listIntegrationInstalls", options);
|
|
1374
|
-
var listIntegrationInstallsOptions = (options) => queryOptions({
|
|
1375
|
-
queryFn: async ({ queryKey, signal }) => {
|
|
1376
|
-
const { data } = await listIntegrationInstalls({
|
|
1377
|
-
...options,
|
|
1378
|
-
...queryKey[0],
|
|
1379
|
-
signal,
|
|
1380
|
-
throwOnError: true
|
|
1381
|
-
});
|
|
1382
|
-
return data;
|
|
1383
|
-
},
|
|
1384
|
-
queryKey: listIntegrationInstallsQueryKey(options)
|
|
1385
|
-
});
|
|
1386
|
-
var listIntegrationInstallsInfiniteQueryKey = (options) => createQueryKey("listIntegrationInstalls", options, true);
|
|
1387
|
-
var listIntegrationInstallsInfiniteOptions = (options) => {
|
|
1388
|
-
const opts = infiniteQueryOptions(
|
|
1389
|
-
// @ts-ignore
|
|
1390
|
-
{
|
|
1391
|
-
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
1392
|
-
const page = typeof pageParam === "object" ? pageParam : {
|
|
1393
|
-
query: {
|
|
1394
|
-
cursor: pageParam
|
|
1395
|
-
}
|
|
1396
|
-
};
|
|
1397
|
-
const params = createInfiniteParams(queryKey, page);
|
|
1398
|
-
const { data } = await listIntegrationInstalls({
|
|
1399
|
-
...options,
|
|
1400
|
-
...params,
|
|
1401
|
-
signal,
|
|
1402
|
-
throwOnError: true
|
|
1403
|
-
});
|
|
1404
|
-
return data;
|
|
1405
|
-
},
|
|
1406
|
-
queryKey: listIntegrationInstallsInfiniteQueryKey(options)
|
|
1407
|
-
}
|
|
1408
|
-
);
|
|
1409
|
-
return opts;
|
|
1410
|
-
};
|
|
1411
|
-
var deleteIntegrationInstallMutation = (options) => {
|
|
1412
|
-
const mutationOptions = {
|
|
1413
|
-
mutationFn: async (fnOptions) => {
|
|
1414
|
-
const { data } = await deleteIntegrationInstall({
|
|
1415
|
-
...options,
|
|
1416
|
-
...fnOptions,
|
|
1417
|
-
throwOnError: true
|
|
1418
|
-
});
|
|
1419
|
-
return data;
|
|
1420
|
-
}
|
|
1421
|
-
};
|
|
1422
|
-
return mutationOptions;
|
|
1423
|
-
};
|
|
1424
1477
|
var resolveAgentConfigToolsMutation = (options) => {
|
|
1425
1478
|
const mutationOptions = {
|
|
1426
1479
|
mutationFn: async (fnOptions) => {
|
|
@@ -1653,10 +1706,36 @@ var createIntegrationOAuthSetupMutation = (options) => {
|
|
|
1653
1706
|
};
|
|
1654
1707
|
return mutationOptions;
|
|
1655
1708
|
};
|
|
1656
|
-
var
|
|
1709
|
+
var createIntegrationSlackSetupMutation = (options) => {
|
|
1710
|
+
const mutationOptions = {
|
|
1711
|
+
mutationFn: async (fnOptions) => {
|
|
1712
|
+
const { data } = await createIntegrationSlackSetup({
|
|
1713
|
+
...options,
|
|
1714
|
+
...fnOptions,
|
|
1715
|
+
throwOnError: true
|
|
1716
|
+
});
|
|
1717
|
+
return data;
|
|
1718
|
+
}
|
|
1719
|
+
};
|
|
1720
|
+
return mutationOptions;
|
|
1721
|
+
};
|
|
1722
|
+
var createIntegrationGitHubSetupMutation = (options) => {
|
|
1657
1723
|
const mutationOptions = {
|
|
1658
1724
|
mutationFn: async (fnOptions) => {
|
|
1659
|
-
const { data } = await
|
|
1725
|
+
const { data } = await createIntegrationGitHubSetup({
|
|
1726
|
+
...options,
|
|
1727
|
+
...fnOptions,
|
|
1728
|
+
throwOnError: true
|
|
1729
|
+
});
|
|
1730
|
+
return data;
|
|
1731
|
+
}
|
|
1732
|
+
};
|
|
1733
|
+
return mutationOptions;
|
|
1734
|
+
};
|
|
1735
|
+
var inspectIntegrationGitHubInstallationsMutation = (options) => {
|
|
1736
|
+
const mutationOptions = {
|
|
1737
|
+
mutationFn: async (fnOptions) => {
|
|
1738
|
+
const { data } = await inspectIntegrationGitHubInstallations({
|
|
1660
1739
|
...options,
|
|
1661
1740
|
...fnOptions,
|
|
1662
1741
|
throwOnError: true
|
|
@@ -3015,6 +3094,19 @@ var sleepMachineDaemonRuntimeMutation = (options) => {
|
|
|
3015
3094
|
};
|
|
3016
3095
|
return mutationOptions;
|
|
3017
3096
|
};
|
|
3097
|
+
var getDaemonGitCredentialsMutation = (options) => {
|
|
3098
|
+
const mutationOptions = {
|
|
3099
|
+
mutationFn: async (fnOptions) => {
|
|
3100
|
+
const { data } = await getDaemonGitCredentials({
|
|
3101
|
+
...options,
|
|
3102
|
+
...fnOptions,
|
|
3103
|
+
throwOnError: true
|
|
3104
|
+
});
|
|
3105
|
+
return data;
|
|
3106
|
+
}
|
|
3107
|
+
};
|
|
3108
|
+
return mutationOptions;
|
|
3109
|
+
};
|
|
3018
3110
|
var getDaemonSkillArchiveQueryKey = (options) => createQueryKey("getDaemonSkillArchive", options);
|
|
3019
3111
|
var getDaemonSkillArchiveOptions = (options) => queryOptions({
|
|
3020
3112
|
queryFn: async ({ queryKey, signal }) => {
|
|
@@ -3054,12 +3146,206 @@ var uploadDaemonFileMutation = (options) => {
|
|
|
3054
3146
|
};
|
|
3055
3147
|
return mutationOptions;
|
|
3056
3148
|
};
|
|
3149
|
+
var listIntegrationsQueryKey = (options) => createQueryKey("listIntegrations", options);
|
|
3150
|
+
var listIntegrationsOptions = (options) => queryOptions({
|
|
3151
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3152
|
+
const { data } = await listIntegrations({
|
|
3153
|
+
...options,
|
|
3154
|
+
...queryKey[0],
|
|
3155
|
+
signal,
|
|
3156
|
+
throwOnError: true
|
|
3157
|
+
});
|
|
3158
|
+
return data;
|
|
3159
|
+
},
|
|
3160
|
+
queryKey: listIntegrationsQueryKey(options)
|
|
3161
|
+
});
|
|
3162
|
+
var listIntegrationsInfiniteQueryKey = (options) => createQueryKey("listIntegrations", options, true);
|
|
3163
|
+
var listIntegrationsInfiniteOptions = (options) => {
|
|
3164
|
+
const opts = infiniteQueryOptions(
|
|
3165
|
+
// @ts-ignore
|
|
3166
|
+
{
|
|
3167
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
3168
|
+
const page = typeof pageParam === "object" ? pageParam : {
|
|
3169
|
+
query: {
|
|
3170
|
+
cursor: pageParam
|
|
3171
|
+
}
|
|
3172
|
+
};
|
|
3173
|
+
const params = createInfiniteParams(queryKey, page);
|
|
3174
|
+
const { data } = await listIntegrations({
|
|
3175
|
+
...options,
|
|
3176
|
+
...params,
|
|
3177
|
+
signal,
|
|
3178
|
+
throwOnError: true
|
|
3179
|
+
});
|
|
3180
|
+
return data;
|
|
3181
|
+
},
|
|
3182
|
+
queryKey: listIntegrationsInfiniteQueryKey(options)
|
|
3183
|
+
}
|
|
3184
|
+
);
|
|
3185
|
+
return opts;
|
|
3186
|
+
};
|
|
3187
|
+
var createIntegrationMutation = (options) => {
|
|
3188
|
+
const mutationOptions = {
|
|
3189
|
+
mutationFn: async (fnOptions) => {
|
|
3190
|
+
const { data } = await createIntegration({
|
|
3191
|
+
...options,
|
|
3192
|
+
...fnOptions,
|
|
3193
|
+
throwOnError: true
|
|
3194
|
+
});
|
|
3195
|
+
return data;
|
|
3196
|
+
}
|
|
3197
|
+
};
|
|
3198
|
+
return mutationOptions;
|
|
3199
|
+
};
|
|
3200
|
+
var deleteIntegrationMutation = (options) => {
|
|
3201
|
+
const mutationOptions = {
|
|
3202
|
+
mutationFn: async (fnOptions) => {
|
|
3203
|
+
const { data } = await deleteIntegration({
|
|
3204
|
+
...options,
|
|
3205
|
+
...fnOptions,
|
|
3206
|
+
throwOnError: true
|
|
3207
|
+
});
|
|
3208
|
+
return data;
|
|
3209
|
+
}
|
|
3210
|
+
};
|
|
3211
|
+
return mutationOptions;
|
|
3212
|
+
};
|
|
3213
|
+
var getIntegrationQueryKey = (options) => createQueryKey("getIntegration", options);
|
|
3214
|
+
var getIntegrationOptions = (options) => queryOptions({
|
|
3215
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3216
|
+
const { data } = await getIntegration({
|
|
3217
|
+
...options,
|
|
3218
|
+
...queryKey[0],
|
|
3219
|
+
signal,
|
|
3220
|
+
throwOnError: true
|
|
3221
|
+
});
|
|
3222
|
+
return data;
|
|
3223
|
+
},
|
|
3224
|
+
queryKey: getIntegrationQueryKey(options)
|
|
3225
|
+
});
|
|
3226
|
+
var updateIntegrationMutation = (options) => {
|
|
3227
|
+
const mutationOptions = {
|
|
3228
|
+
mutationFn: async (fnOptions) => {
|
|
3229
|
+
const { data } = await updateIntegration({
|
|
3230
|
+
...options,
|
|
3231
|
+
...fnOptions,
|
|
3232
|
+
throwOnError: true
|
|
3233
|
+
});
|
|
3234
|
+
return data;
|
|
3235
|
+
}
|
|
3236
|
+
};
|
|
3237
|
+
return mutationOptions;
|
|
3238
|
+
};
|
|
3239
|
+
var listIntegrationSubscriptionsQueryKey = (options) => createQueryKey("listIntegrationSubscriptions", options);
|
|
3240
|
+
var listIntegrationSubscriptionsOptions = (options) => queryOptions({
|
|
3241
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3242
|
+
const { data } = await listIntegrationSubscriptions({
|
|
3243
|
+
...options,
|
|
3244
|
+
...queryKey[0],
|
|
3245
|
+
signal,
|
|
3246
|
+
throwOnError: true
|
|
3247
|
+
});
|
|
3248
|
+
return data;
|
|
3249
|
+
},
|
|
3250
|
+
queryKey: listIntegrationSubscriptionsQueryKey(options)
|
|
3251
|
+
});
|
|
3252
|
+
var listIntegrationSubscriptionsInfiniteQueryKey = (options) => createQueryKey("listIntegrationSubscriptions", options, true);
|
|
3253
|
+
var listIntegrationSubscriptionsInfiniteOptions = (options) => {
|
|
3254
|
+
const opts = infiniteQueryOptions(
|
|
3255
|
+
// @ts-ignore
|
|
3256
|
+
{
|
|
3257
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
3258
|
+
const page = typeof pageParam === "object" ? pageParam : {
|
|
3259
|
+
query: {
|
|
3260
|
+
cursor: pageParam
|
|
3261
|
+
}
|
|
3262
|
+
};
|
|
3263
|
+
const params = createInfiniteParams(queryKey, page);
|
|
3264
|
+
const { data } = await listIntegrationSubscriptions({
|
|
3265
|
+
...options,
|
|
3266
|
+
...params,
|
|
3267
|
+
signal,
|
|
3268
|
+
throwOnError: true
|
|
3269
|
+
});
|
|
3270
|
+
return data;
|
|
3271
|
+
},
|
|
3272
|
+
queryKey: listIntegrationSubscriptionsInfiniteQueryKey(options)
|
|
3273
|
+
}
|
|
3274
|
+
);
|
|
3275
|
+
return opts;
|
|
3276
|
+
};
|
|
3277
|
+
var createIntegrationSubscriptionMutation = (options) => {
|
|
3278
|
+
const mutationOptions = {
|
|
3279
|
+
mutationFn: async (fnOptions) => {
|
|
3280
|
+
const { data } = await createIntegrationSubscription({
|
|
3281
|
+
...options,
|
|
3282
|
+
...fnOptions,
|
|
3283
|
+
throwOnError: true
|
|
3284
|
+
});
|
|
3285
|
+
return data;
|
|
3286
|
+
}
|
|
3287
|
+
};
|
|
3288
|
+
return mutationOptions;
|
|
3289
|
+
};
|
|
3290
|
+
var deleteIntegrationSubscriptionMutation = (options) => {
|
|
3291
|
+
const mutationOptions = {
|
|
3292
|
+
mutationFn: async (fnOptions) => {
|
|
3293
|
+
const { data } = await deleteIntegrationSubscription({
|
|
3294
|
+
...options,
|
|
3295
|
+
...fnOptions,
|
|
3296
|
+
throwOnError: true
|
|
3297
|
+
});
|
|
3298
|
+
return data;
|
|
3299
|
+
}
|
|
3300
|
+
};
|
|
3301
|
+
return mutationOptions;
|
|
3302
|
+
};
|
|
3303
|
+
var configureIntegrationMutation = (options) => {
|
|
3304
|
+
const mutationOptions = {
|
|
3305
|
+
mutationFn: async (fnOptions) => {
|
|
3306
|
+
const { data } = await configureIntegration({
|
|
3307
|
+
...options,
|
|
3308
|
+
...fnOptions,
|
|
3309
|
+
throwOnError: true
|
|
3310
|
+
});
|
|
3311
|
+
return data;
|
|
3312
|
+
}
|
|
3313
|
+
};
|
|
3314
|
+
return mutationOptions;
|
|
3315
|
+
};
|
|
3316
|
+
var disconnectIntegrationMutation = (options) => {
|
|
3317
|
+
const mutationOptions = {
|
|
3318
|
+
mutationFn: async (fnOptions) => {
|
|
3319
|
+
const { data } = await disconnectIntegration({
|
|
3320
|
+
...options,
|
|
3321
|
+
...fnOptions,
|
|
3322
|
+
throwOnError: true
|
|
3323
|
+
});
|
|
3324
|
+
return data;
|
|
3325
|
+
}
|
|
3326
|
+
};
|
|
3327
|
+
return mutationOptions;
|
|
3328
|
+
};
|
|
3329
|
+
var listIntegrationDefinitionsQueryKey = (options) => createQueryKey("listIntegrationDefinitions", options);
|
|
3330
|
+
var listIntegrationDefinitionsOptions = (options) => queryOptions({
|
|
3331
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
3332
|
+
const { data } = await listIntegrationDefinitions({
|
|
3333
|
+
...options,
|
|
3334
|
+
...queryKey[0],
|
|
3335
|
+
signal,
|
|
3336
|
+
throwOnError: true
|
|
3337
|
+
});
|
|
3338
|
+
return data;
|
|
3339
|
+
},
|
|
3340
|
+
queryKey: listIntegrationDefinitionsQueryKey(options)
|
|
3341
|
+
});
|
|
3057
3342
|
export {
|
|
3058
3343
|
acceptInvitationMutation,
|
|
3059
3344
|
archiveAgentMutation,
|
|
3060
3345
|
bootstrapDaemonMutation,
|
|
3061
3346
|
cancelAgentMutation,
|
|
3062
3347
|
cancelQueuedBacklogInputMutation,
|
|
3348
|
+
configureIntegrationMutation,
|
|
3063
3349
|
connectByoMachineMutation,
|
|
3064
3350
|
createAgentConfigMutation,
|
|
3065
3351
|
createAgentInputMutation,
|
|
@@ -3068,7 +3354,11 @@ export {
|
|
|
3068
3354
|
createByoMachineDaemonTokenMutation,
|
|
3069
3355
|
createConfiguredModelMutation,
|
|
3070
3356
|
createCronTriggerMutation,
|
|
3357
|
+
createIntegrationGitHubSetupMutation,
|
|
3358
|
+
createIntegrationMutation,
|
|
3071
3359
|
createIntegrationOAuthSetupMutation,
|
|
3360
|
+
createIntegrationSlackSetupMutation,
|
|
3361
|
+
createIntegrationSubscriptionMutation,
|
|
3072
3362
|
createMachineMutation,
|
|
3073
3363
|
createMachinePoolMutation,
|
|
3074
3364
|
createMemoryStoreMutation,
|
|
@@ -3086,13 +3376,13 @@ export {
|
|
|
3086
3376
|
createSecretVersionMutation,
|
|
3087
3377
|
createSkillGrantMutation,
|
|
3088
3378
|
createSkillMutation,
|
|
3089
|
-
createSlackSetupMutation,
|
|
3090
3379
|
declineInvitationMutation,
|
|
3091
3380
|
deleteAgentProfileMutation,
|
|
3092
3381
|
deleteConfiguredModelMutation,
|
|
3093
3382
|
deleteCronTriggerMutation,
|
|
3094
3383
|
deleteCurrentUserMutation,
|
|
3095
|
-
|
|
3384
|
+
deleteIntegrationMutation,
|
|
3385
|
+
deleteIntegrationSubscriptionMutation,
|
|
3096
3386
|
deleteMachineMutation,
|
|
3097
3387
|
deleteMachinePoolMutation,
|
|
3098
3388
|
deleteMemoryFileMutation,
|
|
@@ -3109,6 +3399,7 @@ export {
|
|
|
3109
3399
|
deleteSkillGrantMutation,
|
|
3110
3400
|
deleteSkillMutation,
|
|
3111
3401
|
demoteSteeringInputToQueuedMutation,
|
|
3402
|
+
disconnectIntegrationMutation,
|
|
3112
3403
|
downloadDaemonFileOptions,
|
|
3113
3404
|
downloadDaemonFileQueryKey,
|
|
3114
3405
|
downloadMemoryFileOptions,
|
|
@@ -3134,8 +3425,11 @@ export {
|
|
|
3134
3425
|
getCronTriggerQueryKey,
|
|
3135
3426
|
getCurrentUserOptions,
|
|
3136
3427
|
getCurrentUserQueryKey,
|
|
3428
|
+
getDaemonGitCredentialsMutation,
|
|
3137
3429
|
getDaemonSkillArchiveOptions,
|
|
3138
3430
|
getDaemonSkillArchiveQueryKey,
|
|
3431
|
+
getIntegrationOptions,
|
|
3432
|
+
getIntegrationQueryKey,
|
|
3139
3433
|
getMachineOptions,
|
|
3140
3434
|
getMachinePoolOptions,
|
|
3141
3435
|
getMachinePoolQueryKey,
|
|
@@ -3152,6 +3446,8 @@ export {
|
|
|
3152
3446
|
getOrgOverviewQueryKey,
|
|
3153
3447
|
getOrgUsageOptions,
|
|
3154
3448
|
getOrgUsageQueryKey,
|
|
3449
|
+
getOrgUsageTimeseriesOptions,
|
|
3450
|
+
getOrgUsageTimeseriesQueryKey,
|
|
3155
3451
|
getProjectAvailableSecretOptions,
|
|
3156
3452
|
getProjectAvailableSecretQueryKey,
|
|
3157
3453
|
getProjectMachinePoolGrantOptions,
|
|
@@ -3164,6 +3460,7 @@ export {
|
|
|
3164
3460
|
getSkillQueryKey,
|
|
3165
3461
|
getToolCatalogOptions,
|
|
3166
3462
|
getToolCatalogQueryKey,
|
|
3463
|
+
inspectIntegrationGitHubInstallationsMutation,
|
|
3167
3464
|
listActorsInfiniteOptions,
|
|
3168
3465
|
listActorsInfiniteQueryKey,
|
|
3169
3466
|
listActorsOptions,
|
|
@@ -3194,10 +3491,16 @@ export {
|
|
|
3194
3491
|
listCronTriggersQueryKey,
|
|
3195
3492
|
listEventsOptions,
|
|
3196
3493
|
listEventsQueryKey,
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3494
|
+
listIntegrationDefinitionsOptions,
|
|
3495
|
+
listIntegrationDefinitionsQueryKey,
|
|
3496
|
+
listIntegrationSubscriptionsInfiniteOptions,
|
|
3497
|
+
listIntegrationSubscriptionsInfiniteQueryKey,
|
|
3498
|
+
listIntegrationSubscriptionsOptions,
|
|
3499
|
+
listIntegrationSubscriptionsQueryKey,
|
|
3500
|
+
listIntegrationsInfiniteOptions,
|
|
3501
|
+
listIntegrationsInfiniteQueryKey,
|
|
3502
|
+
listIntegrationsOptions,
|
|
3503
|
+
listIntegrationsQueryKey,
|
|
3201
3504
|
listMachinePoolsInfiniteOptions,
|
|
3202
3505
|
listMachinePoolsInfiniteQueryKey,
|
|
3203
3506
|
listMachinePoolsOptions,
|
|
@@ -3221,6 +3524,14 @@ export {
|
|
|
3221
3524
|
listModelProviderConfigsInfiniteQueryKey,
|
|
3222
3525
|
listModelProviderConfigsOptions,
|
|
3223
3526
|
listModelProviderConfigsQueryKey,
|
|
3527
|
+
listOrgAgentProfilesInfiniteOptions,
|
|
3528
|
+
listOrgAgentProfilesInfiniteQueryKey,
|
|
3529
|
+
listOrgAgentProfilesOptions,
|
|
3530
|
+
listOrgAgentProfilesQueryKey,
|
|
3531
|
+
listOrgAgentsInfiniteOptions,
|
|
3532
|
+
listOrgAgentsInfiniteQueryKey,
|
|
3533
|
+
listOrgAgentsOptions,
|
|
3534
|
+
listOrgAgentsQueryKey,
|
|
3224
3535
|
listOrgApiKeyProjectAccessOptions,
|
|
3225
3536
|
listOrgApiKeyProjectAccessQueryKey,
|
|
3226
3537
|
listOrgApiKeysInfiniteOptions,
|
|
@@ -3330,6 +3641,7 @@ export {
|
|
|
3330
3641
|
updateAgentProfileMutation,
|
|
3331
3642
|
updateConfiguredModelMutation,
|
|
3332
3643
|
updateCronTriggerMutation,
|
|
3644
|
+
updateIntegrationMutation,
|
|
3333
3645
|
updateMachineMutation,
|
|
3334
3646
|
updateMachinePoolMutation,
|
|
3335
3647
|
updateMemoryStoreMutation,
|