@sixb/client 0.1.10 → 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 (48) hide show
  1. package/README.md +26 -0
  2. package/dist/browser.js +2 -2
  3. package/dist/{chunk-rvaq39w5.js → chunk-bsy1hg20.js} +1 -1
  4. package/dist/{chunk-62nthgkf.js → chunk-e8qjsvha.js} +12 -2
  5. package/dist/chunk-e8qjsvha.js.map +19 -0
  6. package/dist/{chunk-6pmyt76w.js → chunk-hx3n4fer.js} +8 -6
  7. package/dist/{chunk-6pmyt76w.js.map → chunk-hx3n4fer.js.map} +3 -3
  8. package/dist/{chunk-cs98dfbc.js → chunk-kh20z2mt.js} +6 -4
  9. package/dist/chunk-kh20z2mt.js.map +10 -0
  10. package/dist/{chunk-d0m9gz29.js → chunk-sjb188se.js} +1 -1
  11. package/dist/{chunk-dp68jpeq.js → chunk-t50n91tk.js} +2 -2
  12. package/dist/connectors/connection.d.ts.map +1 -1
  13. package/dist/connectors/mutations.d.ts.map +1 -1
  14. package/dist/connectors/queries.d.ts +0 -4
  15. package/dist/connectors/queries.d.ts.map +1 -1
  16. package/dist/file.d.ts +3 -1
  17. package/dist/file.d.ts.map +1 -1
  18. package/dist/generated/@tanstack/react-query.gen.d.ts +1087 -120
  19. package/dist/generated/@tanstack/react-query.gen.d.ts.map +1 -1
  20. package/dist/generated/index.d.ts +2 -2
  21. package/dist/generated/index.d.ts.map +1 -1
  22. package/dist/generated/sdk.gen.d.ts +9 -1
  23. package/dist/generated/sdk.gen.d.ts.map +1 -1
  24. package/dist/generated/types.gen.d.ts +466 -16
  25. package/dist/generated/types.gen.d.ts.map +1 -1
  26. package/dist/hooks.js +92 -32
  27. package/dist/hooks.js.map +6 -6
  28. package/dist/index.js +10 -6
  29. package/dist/index.js.map +1 -1
  30. package/dist/logs.js +3 -3
  31. package/dist/models.js +6 -2
  32. package/dist/models.js.map +1 -1
  33. package/dist/query.d.ts.map +1 -1
  34. package/dist/query.js +3 -3
  35. package/package.json +2 -2
  36. package/src/connectors/connection.ts +45 -7
  37. package/src/connectors/mutations.ts +9 -4
  38. package/src/file.ts +11 -6
  39. package/src/generated/@tanstack/react-query.gen.ts +63 -0
  40. package/src/generated/index.ts +13 -0
  41. package/src/generated/sdk.gen.ts +38 -0
  42. package/src/generated/types.gen.ts +540 -16
  43. package/src/query.ts +3 -1
  44. package/dist/chunk-62nthgkf.js.map +0 -19
  45. package/dist/chunk-cs98dfbc.js.map +0 -10
  46. /package/dist/{chunk-rvaq39w5.js.map → chunk-bsy1hg20.js.map} +0 -0
  47. /package/dist/{chunk-d0m9gz29.js.map → chunk-sjb188se.js.map} +0 -0
  48. /package/dist/{chunk-dp68jpeq.js.map → chunk-t50n91tk.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { type DefaultError, type InfiniteData, type UseMutationOptions } from "@tanstack/react-query";
2
2
  import { type Options } from "../sdk.gen";
3
- import type { AbortFileUploadData, AbortFileUploadError, AbortFileUploadResponse, AddConnectorConnectionData, AddConnectorConnectionError, AddConnectorConnectionResponse, AppendTelemetryData, AppendTelemetryError, AppendTelemetryResponse, CancelAgentRunData, CancelAgentRunError, CancelAgentRunResponse, CancelWorkflowInterventionData, CancelWorkflowInterventionError, CancelWorkflowInterventionResponse, CancelWorkflowRunData, CancelWorkflowRunError, CancelWorkflowRunResponse, CompleteFileUploadData, CompleteFileUploadError, CompleteFileUploadResponse, CountObjectsData, CountObjectsError, CountObjectsResponse, CreateAgentThreadData, CreateAgentThreadError, CreateAgentThreadResponse, CreateAiLimitPolicyData, CreateAiLimitPolicyError, CreateAiLimitPolicyResponse, CreateAuthInvitationData, CreateAuthInvitationError, CreateAuthInvitationResponse, CreateAuthPersonalAccessTokenData, CreateAuthPersonalAccessTokenError, CreateAuthPersonalAccessTokenResponse, CreateAuthServiceAccountAccessTokenData, CreateAuthServiceAccountAccessTokenError, CreateAuthServiceAccountAccessTokenResponse, CreateAuthServiceAccountData, CreateAuthServiceAccountError, CreateAuthServiceAccountResponse, CreateDeviceAuthorizationData, CreateDeviceAuthorizationError, CreateDeviceAuthorizationResponse, CreateFileUploadData, CreateFileUploadError, CreateFileUploadResponse, DeleteAiLimitPolicyData, DeleteAiLimitPolicyError, DeleteAiLimitPolicyResponse, DisableAuthServiceAccountData, DisableAuthServiceAccountError, DisableAuthServiceAccountResponse, DisconnectConnectorConnectionData, DisconnectConnectorConnectionError, DisconnectConnectorConnectionResponse, ExchangeDeviceAuthorizationData, ExchangeDeviceAuthorizationResponse, ExchangeSharedAccessData, ExchangeSharedAccessError, ExchangeSharedAccessResponse, ExistsObjectsData, ExistsObjectsError, ExistsObjectsResponse, FacetObjectsData, FacetObjectsError, FacetObjectsResponse, GetActionData, GetActionRunData, GetActionRunError, GetActionRunFileContentData, GetActionRunFileContentResponse, GetAgentData, GetAgentMessageFileContentData, GetAgentMessageFileContentResponse, GetAgentRunData, GetAgentRunError, GetAgentThreadData, GetAgentThreadError, GetAiAccountingOverviewData, GetAiAccountingOverviewError, GetAiLimitStatusData, GetAiLimitStatusError, GetAiLimitSubjectOptionsData, GetAiLimitSubjectOptionsError, GetAuthAccessManagementOptionsData, GetAuthAccessManagementOptionsError, GetAuthInvitationOptionsData, GetAuthInvitationOptionsError, GetAuthMembershipOptionsData, GetAuthMembershipOptionsError, GetAuthSessionData, GetBulkTelemetryHistoryData, GetBulkTelemetryHistoryError, GetBulkTelemetryHistoryResponse, GetConnectorConnectionRunData, GetConnectorConnectionRunError, GetConnectorData, GetDatasetData, GetDatasetError, GetDatasetVersionData, GetDatasetVersionError, GetLatestTelemetryData, GetLatestTelemetryError, GetObjectData, GetObjectFileContentData, GetObjectFileContentResponse, GetObjectTypeData, GetPipelineData, GetPipelineRunData, GetPipelineRunError, GetProjectInfoData, GetProjectionData, GetProjectionRunData, GetProjectionRunError, GetRuleData, GetSharedAccessSessionData, GetSharedAccessSessionError, GetStatusData, GetSyncData, GetTelemetryHistoryData, GetTelemetryHistoryError, GetWorkflowAgentNodeExecutionData, GetWorkflowAgentNodeExecutionError, GetWorkflowData, GetWorkflowInterventionData, GetWorkflowInterventionError, GetWorkflowNodeRunFileContentData, GetWorkflowNodeRunFileContentResponse, GetWorkflowRunData, GetWorkflowRunError, GetWorkflowRunFileContentData, GetWorkflowRunFileContentResponse, IssueSharedAccessGrantData, IssueSharedAccessGrantError, IssueSharedAccessGrantResponse, ListActionRunsData, ListActionRunsError, ListActionsData, ListAgentThreadMessagesData, ListAgentThreadMessagesError, ListAgentThreadRunsData, ListAgentThreadRunsError, ListAgentThreadsData, ListAgentThreadsError, ListAiLimitPoliciesData, ListAiLimitPoliciesError, ListAiModelCallGroupsData, ListAiModelCallGroupsError, ListAiModelCallsData, ListAiModelCallsError, ListAuthAccessTokensData, ListAuthAccessTokensError, ListAuthInvitationsData, ListAuthInvitationsError, ListAuthMembersData, ListAuthMembersError, ListAuthServiceAccountAccessTokensData, ListAuthServiceAccountAccessTokensError, ListAuthServiceAccountsData, ListAuthServiceAccountsError, ListAuthSessionsData, ListConnectorConnectionsData, ListConnectorConnectionsError, ListConnectorsData, ListDatasetRowsData, ListDatasetRowsError, ListDatasetsData, ListDatasetVersionsData, ListDatasetVersionsError, ListEventsData, ListEventsError, ListLogsData, ListLogsError, ListModelsData, ListObjectsData, ListObjectsError, ListObjectTypesData, ListPipelineRunsData, ListPipelineRunsError, ListPipelinesData, ListProjectionRunsData, ListProjectionRunsError, ListProjectionsData, ListRuleStatesData, ListRuleStatesError, ListRulesData, ListSharedAccessGrantsData, ListSharedAccessGrantsError, ListSyncRunsData, ListSyncRunsError, ListSyncsData, ListWebhookRunsData, ListWebhookRunsError, ListWorkflowInterventionsData, ListWorkflowInterventionsError, ListWorkflowRunsData, ListWorkflowRunsError, ListWorkflowsData, PostAgentThreadMessageData, PostAgentThreadMessageError, PostAgentThreadMessageResponse, QueryObjectLinksData, QueryObjectLinksError, QueryObjectLinksResponse, QueryObjectsData, QueryObjectsError, QueryObjectsResponse, ReactivateAuthMemberData, ReactivateAuthMemberError, ReactivateAuthMemberResponse, ReauthorizeConnectorConnectionData, ReauthorizeConnectorConnectionError, ReauthorizeConnectorConnectionResponse, RemoveObjectLinkData, RemoveObjectLinkError, RemoveObjectLinkResponse, RequestActionData, RequestActionError, RequestActionResponse, RequestPipelineRunData, RequestPipelineRunError, RequestPipelineRunResponse, RequestSyncRunData, RequestSyncRunError, RequestSyncRunResponse, RequestWorkflowRunData, RequestWorkflowRunError, RequestWorkflowRunResponse, RetryAgentRunData, RetryAgentRunError, RetryAgentRunResponse, RevokeAuthAccessTokenData, RevokeAuthAccessTokenError, RevokeAuthAccessTokenResponse, RevokeAuthInvitationData, RevokeAuthInvitationError, RevokeAuthInvitationResponse, RevokeAuthServiceAccountAccessTokenData, RevokeAuthServiceAccountAccessTokenError, RevokeAuthServiceAccountAccessTokenResponse, RevokeAuthSessionData, RevokeAuthSessionError, RevokeAuthSessionResponse, RevokeConnectorConnectionData, RevokeConnectorConnectionError, RevokeConnectorConnectionResponse, RevokeSharedAccessGrantData, RevokeSharedAccessGrantError, RevokeSharedAccessGrantResponse, SearchObjectsData, SearchObjectsError, SelectConnectorConnectionRunAccountData, SelectConnectorConnectionRunAccountError, SelectConnectorConnectionRunAccountResponse, SignFileUploadPartData, SignFileUploadPartError, SignFileUploadPartResponse, SignOutAllData, SignOutAllError, SignOutAllResponse, SignOutData, SignOutError, SignOutResponse, SignOutSharedAccessData, SignOutSharedAccessError, SignOutSharedAccessResponse, StartConnectorConnectionRunData, StartConnectorConnectionRunError, StartConnectorConnectionRunResponse, SubmitWorkflowInterventionData, SubmitWorkflowInterventionError, SubmitWorkflowInterventionResponse, SuspendAuthMemberData, SuspendAuthMemberError, SuspendAuthMemberResponse, UpdateAiLimitPolicyData, UpdateAiLimitPolicyError, UpdateAiLimitPolicyResponse, UpdateAuthMemberGroupsData, UpdateAuthMemberGroupsError, UpdateAuthMemberGroupsResponse, UploadFileContentData, UploadFileContentError, UploadFileContentResponse, UploadFileRawData, UploadFileRawError, UploadFileRawResponse, UpsertObjectData, UpsertObjectError, UpsertObjectLinkData, UpsertObjectLinkError, UpsertObjectLinkResponse, UpsertObjectResponse } from "../types.gen";
3
+ import type { AbortFileUploadData, AbortFileUploadError, AbortFileUploadResponse, AddConnectorConnectionData, AddConnectorConnectionError, AddConnectorConnectionResponse, AppendTelemetryData, AppendTelemetryError, AppendTelemetryResponse, CancelAgentRunData, CancelAgentRunError, CancelAgentRunResponse, CancelWorkflowInterventionData, CancelWorkflowInterventionError, CancelWorkflowInterventionResponse, CancelWorkflowRunData, CancelWorkflowRunError, CancelWorkflowRunResponse, CompleteFileUploadData, CompleteFileUploadError, CompleteFileUploadResponse, CountObjectsData, CountObjectsError, CountObjectsResponse, CreateAgentThreadData, CreateAgentThreadError, CreateAgentThreadResponse, CreateAiLimitPolicyData, CreateAiLimitPolicyError, CreateAiLimitPolicyResponse, CreateAuthInvitationData, CreateAuthInvitationError, CreateAuthInvitationResponse, CreateAuthPersonalAccessTokenData, CreateAuthPersonalAccessTokenError, CreateAuthPersonalAccessTokenResponse, CreateAuthServiceAccountAccessTokenData, CreateAuthServiceAccountAccessTokenError, CreateAuthServiceAccountAccessTokenResponse, CreateAuthServiceAccountData, CreateAuthServiceAccountError, CreateAuthServiceAccountResponse, CreateDeviceAuthorizationData, CreateDeviceAuthorizationError, CreateDeviceAuthorizationResponse, CreateFileUploadData, CreateFileUploadError, CreateFileUploadResponse, DeleteAiLimitPolicyData, DeleteAiLimitPolicyError, DeleteAiLimitPolicyResponse, DisableAuthServiceAccountData, DisableAuthServiceAccountError, DisableAuthServiceAccountResponse, DisconnectConnectorConnectionData, DisconnectConnectorConnectionError, DisconnectConnectorConnectionResponse, ExchangeDeviceAuthorizationData, ExchangeDeviceAuthorizationResponse, ExchangeSharedAccessData, ExchangeSharedAccessError, ExchangeSharedAccessResponse, ExistsObjectsData, ExistsObjectsError, ExistsObjectsResponse, FacetObjectsData, FacetObjectsError, FacetObjectsResponse, GetActionData, GetActionRunData, GetActionRunError, GetActionRunFileContentData, GetActionRunFileContentResponse, GetAgentData, GetAgentMessageFileContentData, GetAgentMessageFileContentResponse, GetAgentRunData, GetAgentRunError, GetAgentThreadData, GetAgentThreadError, GetAiAccountingOverviewData, GetAiAccountingOverviewError, GetAiLimitStatusData, GetAiLimitStatusError, GetAiLimitSubjectOptionsData, GetAiLimitSubjectOptionsError, GetAuthAccessManagementOptionsData, GetAuthAccessManagementOptionsError, GetAuthInvitationOptionsData, GetAuthInvitationOptionsError, GetAuthMembershipOptionsData, GetAuthMembershipOptionsError, GetAuthSessionData, GetBulkTelemetryHistoryData, GetBulkTelemetryHistoryError, GetBulkTelemetryHistoryResponse, GetConnectorConnectionRunData, GetConnectorConnectionRunError, GetConnectorData, GetDatasetData, GetDatasetError, GetDatasetVersionData, GetDatasetVersionError, GetLatestTelemetryData, GetLatestTelemetryError, GetObjectData, GetObjectFileContentData, GetObjectFileContentResponse, GetObjectTypeData, GetPipelineData, GetPipelineRunData, GetPipelineRunError, GetProjectInfoData, GetProjectionData, GetProjectionRunData, GetProjectionRunError, GetRuleData, GetSharedAccessSessionData, GetSharedAccessSessionError, GetStatusData, GetSyncData, GetTelemetryHistoryData, GetTelemetryHistoryError, GetWorkflowAgentNodeExecutionData, GetWorkflowAgentNodeExecutionError, GetWorkflowData, GetWorkflowInterventionData, GetWorkflowInterventionError, GetWorkflowNodeRunFileContentData, GetWorkflowNodeRunFileContentResponse, GetWorkflowRunData, GetWorkflowRunError, GetWorkflowRunFileContentData, GetWorkflowRunFileContentResponse, IssueSharedAccessGrantData, IssueSharedAccessGrantError, IssueSharedAccessGrantResponse, ListActionRunsData, ListActionRunsError, ListActionsData, ListAgentThreadMessagesData, ListAgentThreadMessagesError, ListAgentThreadRunsData, ListAgentThreadRunsError, ListAgentThreadsData, ListAgentThreadsError, ListAiLimitPoliciesData, ListAiLimitPoliciesError, ListAiModelCallGroupsData, ListAiModelCallGroupsError, ListAiModelCallsData, ListAiModelCallsError, ListAuthAccessTokensData, ListAuthAccessTokensError, ListAuthInvitationsData, ListAuthInvitationsError, ListAuthMembersData, ListAuthMembersError, ListAuthServiceAccountAccessTokensData, ListAuthServiceAccountAccessTokensError, ListAuthServiceAccountsData, ListAuthServiceAccountsError, ListAuthSessionsData, ListConnectorConnectionsData, ListConnectorConnectionsError, ListConnectorsData, ListDatasetRowsData, ListDatasetRowsError, ListDatasetsData, ListDatasetVersionsData, ListDatasetVersionsError, ListEventsData, ListEventsError, ListLogsData, ListLogsError, ListModelsData, ListObjectsData, ListObjectsError, ListObjectTypesData, ListPendingConnectorConnectionRunsData, ListPendingConnectorConnectionRunsError, ListPipelineRunsData, ListPipelineRunsError, ListPipelinesData, ListProjectionRunsData, ListProjectionRunsError, ListProjectionsData, ListRuleStatesData, ListRuleStatesError, ListRulesData, ListSharedAccessGrantsData, ListSharedAccessGrantsError, ListSyncRunsData, ListSyncRunsError, ListSyncsData, ListWebhookRunsData, ListWebhookRunsError, ListWorkflowInterventionsData, ListWorkflowInterventionsError, ListWorkflowRunsData, ListWorkflowRunsError, ListWorkflowsData, PostAgentThreadMessageData, PostAgentThreadMessageError, PostAgentThreadMessageResponse, QueryObjectLinksData, QueryObjectLinksError, QueryObjectLinksResponse, QueryObjectsData, QueryObjectsError, QueryObjectsResponse, ReactivateAuthMemberData, ReactivateAuthMemberError, ReactivateAuthMemberResponse, ReauthorizeConnectorConnectionData, ReauthorizeConnectorConnectionError, ReauthorizeConnectorConnectionResponse, RecreateAgentThreadSandboxData, RecreateAgentThreadSandboxError, RecreateAgentThreadSandboxResponse, RemoveObjectLinkData, RemoveObjectLinkError, RemoveObjectLinkResponse, RequestActionData, RequestActionError, RequestActionResponse, RequestPipelineRunData, RequestPipelineRunError, RequestPipelineRunResponse, RequestSyncRunData, RequestSyncRunError, RequestSyncRunResponse, RequestWorkflowRunData, RequestWorkflowRunError, RequestWorkflowRunResponse, RetryAgentRunData, RetryAgentRunError, RetryAgentRunResponse, RevokeAuthAccessTokenData, RevokeAuthAccessTokenError, RevokeAuthAccessTokenResponse, RevokeAuthInvitationData, RevokeAuthInvitationError, RevokeAuthInvitationResponse, RevokeAuthServiceAccountAccessTokenData, RevokeAuthServiceAccountAccessTokenError, RevokeAuthServiceAccountAccessTokenResponse, RevokeAuthSessionData, RevokeAuthSessionError, RevokeAuthSessionResponse, RevokeConnectorConnectionData, RevokeConnectorConnectionError, RevokeConnectorConnectionResponse, RevokeSharedAccessGrantData, RevokeSharedAccessGrantError, RevokeSharedAccessGrantResponse, SearchObjectsData, SearchObjectsError, SelectConnectorConnectionRunAccountData, SelectConnectorConnectionRunAccountError, SelectConnectorConnectionRunAccountResponse, SignFileUploadPartData, SignFileUploadPartError, SignFileUploadPartResponse, SignOutAllData, SignOutAllError, SignOutAllResponse, SignOutData, SignOutError, SignOutResponse, SignOutSharedAccessData, SignOutSharedAccessError, SignOutSharedAccessResponse, StartConnectorConnectionRunData, StartConnectorConnectionRunError, StartConnectorConnectionRunResponse, SubmitWorkflowInterventionData, SubmitWorkflowInterventionError, SubmitWorkflowInterventionResponse, SuspendAuthMemberData, SuspendAuthMemberError, SuspendAuthMemberResponse, UpdateAiLimitPolicyData, UpdateAiLimitPolicyError, UpdateAiLimitPolicyResponse, UpdateAuthMemberGroupsData, UpdateAuthMemberGroupsError, UpdateAuthMemberGroupsResponse, UploadFileContentData, UploadFileContentError, UploadFileContentResponse, UploadFileRawData, UploadFileRawError, UploadFileRawResponse, UpsertObjectData, UpsertObjectError, UpsertObjectLinkData, UpsertObjectLinkError, UpsertObjectLinkResponse, UpsertObjectResponse } from "../types.gen";
4
4
  /**
5
5
  * Start device authorization
6
6
  */
@@ -1185,6 +1185,18 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1185
1185
  reasoningOutputTokens?: number;
1186
1186
  reportingStatus: "complete" | "partial" | "unavailable";
1187
1187
  };
1188
+ usageCoverage: {
1189
+ completeCallCount: number;
1190
+ fieldCallCounts: {
1191
+ inputTokens: number;
1192
+ outputTokens: number;
1193
+ uncachedInputTokens: number;
1194
+ cacheReadInputTokens: number;
1195
+ cacheWriteInputTokens: number;
1196
+ textOutputTokens: number;
1197
+ reasoningOutputTokens: number;
1198
+ };
1199
+ };
1188
1200
  costs: {
1189
1201
  amounts: Array<{
1190
1202
  currency: string;
@@ -1202,12 +1214,30 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1202
1214
  outputTokens?: number;
1203
1215
  totalTokens?: number;
1204
1216
  uncachedInputTokens?: number;
1205
- cacheReadInputTokens?: number;
1217
+ cacheReadInputTokens
1218
+ /**
1219
+ * Suspend an auth member
1220
+ */
1221
+ ? /**
1222
+ * Suspend an auth member
1223
+ */: number;
1206
1224
  cacheWriteInputTokens?: number;
1207
1225
  textOutputTokens?: number;
1208
1226
  reasoningOutputTokens?: number;
1209
1227
  reportingStatus: "complete" | "partial" | "unavailable";
1210
1228
  };
1229
+ usageCoverage: {
1230
+ completeCallCount: number;
1231
+ fieldCallCounts: {
1232
+ inputTokens: number;
1233
+ outputTokens: number;
1234
+ uncachedInputTokens: number;
1235
+ cacheReadInputTokens: number;
1236
+ cacheWriteInputTokens: number;
1237
+ textOutputTokens: number;
1238
+ reasoningOutputTokens: number;
1239
+ };
1240
+ };
1211
1241
  costs: {
1212
1242
  amounts: Array<{
1213
1243
  currency: string;
@@ -1233,6 +1263,18 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1233
1263
  reasoningOutputTokens?: number;
1234
1264
  reportingStatus: "complete" | "partial" | "unavailable";
1235
1265
  };
1266
+ usageCoverage: {
1267
+ completeCallCount: number;
1268
+ fieldCallCounts: {
1269
+ inputTokens: number;
1270
+ outputTokens: number;
1271
+ uncachedInputTokens: number;
1272
+ cacheReadInputTokens: number;
1273
+ cacheWriteInputTokens: number;
1274
+ textOutputTokens: number;
1275
+ reasoningOutputTokens: number;
1276
+ };
1277
+ };
1236
1278
  costs: {
1237
1279
  amounts: Array<{
1238
1280
  currency: string;
@@ -1258,6 +1300,18 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1258
1300
  reasoningOutputTokens?: number;
1259
1301
  reportingStatus: "complete" | "partial" | "unavailable";
1260
1302
  };
1303
+ usageCoverage: {
1304
+ completeCallCount: number;
1305
+ fieldCallCounts: {
1306
+ inputTokens: number;
1307
+ outputTokens: number;
1308
+ uncachedInputTokens: number;
1309
+ cacheReadInputTokens: number;
1310
+ cacheWriteInputTokens: number;
1311
+ textOutputTokens: number;
1312
+ reasoningOutputTokens: number;
1313
+ };
1314
+ };
1261
1315
  costs: {
1262
1316
  amounts: Array<{
1263
1317
  currency: string;
@@ -1281,6 +1335,18 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1281
1335
  reasoningOutputTokens?: number;
1282
1336
  reportingStatus: "complete" | "partial" | "unavailable";
1283
1337
  };
1338
+ usageCoverage: {
1339
+ completeCallCount: number;
1340
+ fieldCallCounts: {
1341
+ inputTokens: number;
1342
+ outputTokens: number;
1343
+ uncachedInputTokens: number;
1344
+ cacheReadInputTokens: number;
1345
+ cacheWriteInputTokens: number;
1346
+ textOutputTokens: number;
1347
+ reasoningOutputTokens: number;
1348
+ };
1349
+ };
1284
1350
  costs: {
1285
1351
  amounts: Array<{
1286
1352
  currency: string;
@@ -1307,6 +1373,18 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1307
1373
  reasoningOutputTokens?: number;
1308
1374
  reportingStatus: "complete" | "partial" | "unavailable";
1309
1375
  };
1376
+ usageCoverage: {
1377
+ completeCallCount: number;
1378
+ fieldCallCounts: {
1379
+ inputTokens: number;
1380
+ outputTokens: number;
1381
+ uncachedInputTokens: number;
1382
+ cacheReadInputTokens: number;
1383
+ cacheWriteInputTokens: number;
1384
+ textOutputTokens: number;
1385
+ reasoningOutputTokens: number;
1386
+ };
1387
+ };
1310
1388
  costs: {
1311
1389
  amounts: Array<{
1312
1390
  currency: string;
@@ -1337,6 +1415,18 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1337
1415
  reasoningOutputTokens?: number;
1338
1416
  reportingStatus: "complete" | "partial" | "unavailable";
1339
1417
  };
1418
+ usageCoverage: {
1419
+ completeCallCount: number;
1420
+ fieldCallCounts: {
1421
+ inputTokens: number;
1422
+ outputTokens: number;
1423
+ uncachedInputTokens: number;
1424
+ cacheReadInputTokens: number;
1425
+ cacheWriteInputTokens: number;
1426
+ textOutputTokens: number;
1427
+ reasoningOutputTokens: number;
1428
+ };
1429
+ };
1340
1430
  costs: {
1341
1431
  amounts: Array<{
1342
1432
  currency: string;
@@ -1354,12 +1444,30 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1354
1444
  outputTokens?: number;
1355
1445
  totalTokens?: number;
1356
1446
  uncachedInputTokens?: number;
1357
- cacheReadInputTokens?: number;
1447
+ cacheReadInputTokens
1448
+ /**
1449
+ * Suspend an auth member
1450
+ */
1451
+ ? /**
1452
+ * Suspend an auth member
1453
+ */: number;
1358
1454
  cacheWriteInputTokens?: number;
1359
1455
  textOutputTokens?: number;
1360
1456
  reasoningOutputTokens?: number;
1361
1457
  reportingStatus: "complete" | "partial" | "unavailable";
1362
1458
  };
1459
+ usageCoverage: {
1460
+ completeCallCount: number;
1461
+ fieldCallCounts: {
1462
+ inputTokens: number;
1463
+ outputTokens: number;
1464
+ uncachedInputTokens: number;
1465
+ cacheReadInputTokens: number;
1466
+ cacheWriteInputTokens: number;
1467
+ textOutputTokens: number;
1468
+ reasoningOutputTokens: number;
1469
+ };
1470
+ };
1363
1471
  costs: {
1364
1472
  amounts: Array<{
1365
1473
  currency: string;
@@ -1385,6 +1493,18 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1385
1493
  reasoningOutputTokens?: number;
1386
1494
  reportingStatus: "complete" | "partial" | "unavailable";
1387
1495
  };
1496
+ usageCoverage: {
1497
+ completeCallCount: number;
1498
+ fieldCallCounts: {
1499
+ inputTokens: number;
1500
+ outputTokens: number;
1501
+ uncachedInputTokens: number;
1502
+ cacheReadInputTokens: number;
1503
+ cacheWriteInputTokens: number;
1504
+ textOutputTokens: number;
1505
+ reasoningOutputTokens: number;
1506
+ };
1507
+ };
1388
1508
  costs: {
1389
1509
  amounts: Array<{
1390
1510
  currency: string;
@@ -1410,6 +1530,18 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1410
1530
  reasoningOutputTokens?: number;
1411
1531
  reportingStatus: "complete" | "partial" | "unavailable";
1412
1532
  };
1533
+ usageCoverage: {
1534
+ completeCallCount: number;
1535
+ fieldCallCounts: {
1536
+ inputTokens: number;
1537
+ outputTokens: number;
1538
+ uncachedInputTokens: number;
1539
+ cacheReadInputTokens: number;
1540
+ cacheWriteInputTokens: number;
1541
+ textOutputTokens: number;
1542
+ reasoningOutputTokens: number;
1543
+ };
1544
+ };
1413
1545
  costs: {
1414
1546
  amounts: Array<{
1415
1547
  currency: string;
@@ -1433,6 +1565,18 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1433
1565
  reasoningOutputTokens?: number;
1434
1566
  reportingStatus: "complete" | "partial" | "unavailable";
1435
1567
  };
1568
+ usageCoverage: {
1569
+ completeCallCount: number;
1570
+ fieldCallCounts: {
1571
+ inputTokens: number;
1572
+ outputTokens: number;
1573
+ uncachedInputTokens: number;
1574
+ cacheReadInputTokens: number;
1575
+ cacheWriteInputTokens: number;
1576
+ textOutputTokens: number;
1577
+ reasoningOutputTokens: number;
1578
+ };
1579
+ };
1436
1580
  costs: {
1437
1581
  amounts: Array<{
1438
1582
  currency: string;
@@ -1459,6 +1603,18 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1459
1603
  reasoningOutputTokens?: number;
1460
1604
  reportingStatus: "complete" | "partial" | "unavailable";
1461
1605
  };
1606
+ usageCoverage: {
1607
+ completeCallCount: number;
1608
+ fieldCallCounts: {
1609
+ inputTokens: number;
1610
+ outputTokens: number;
1611
+ uncachedInputTokens: number;
1612
+ cacheReadInputTokens: number;
1613
+ cacheWriteInputTokens: number;
1614
+ textOutputTokens: number;
1615
+ reasoningOutputTokens: number;
1616
+ };
1617
+ };
1462
1618
  costs: {
1463
1619
  amounts: Array<{
1464
1620
  currency: string;
@@ -1494,6 +1650,18 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1494
1650
  reasoningOutputTokens?: number;
1495
1651
  reportingStatus: "complete" | "partial" | "unavailable";
1496
1652
  };
1653
+ usageCoverage: {
1654
+ completeCallCount: number;
1655
+ fieldCallCounts: {
1656
+ inputTokens: number;
1657
+ outputTokens: number;
1658
+ uncachedInputTokens: number;
1659
+ cacheReadInputTokens: number;
1660
+ cacheWriteInputTokens: number;
1661
+ textOutputTokens: number;
1662
+ reasoningOutputTokens: number;
1663
+ };
1664
+ };
1497
1665
  costs: {
1498
1666
  amounts: Array<{
1499
1667
  currency: string;
@@ -1511,12 +1679,30 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1511
1679
  outputTokens?: number;
1512
1680
  totalTokens?: number;
1513
1681
  uncachedInputTokens?: number;
1514
- cacheReadInputTokens?: number;
1682
+ cacheReadInputTokens
1683
+ /**
1684
+ * Suspend an auth member
1685
+ */
1686
+ ? /**
1687
+ * Suspend an auth member
1688
+ */: number;
1515
1689
  cacheWriteInputTokens?: number;
1516
1690
  textOutputTokens?: number;
1517
1691
  reasoningOutputTokens?: number;
1518
1692
  reportingStatus: "complete" | "partial" | "unavailable";
1519
1693
  };
1694
+ usageCoverage: {
1695
+ completeCallCount: number;
1696
+ fieldCallCounts: {
1697
+ inputTokens: number;
1698
+ outputTokens: number;
1699
+ uncachedInputTokens: number;
1700
+ cacheReadInputTokens: number;
1701
+ cacheWriteInputTokens: number;
1702
+ textOutputTokens: number;
1703
+ reasoningOutputTokens: number;
1704
+ };
1705
+ };
1520
1706
  costs: {
1521
1707
  amounts: Array<{
1522
1708
  currency: string;
@@ -1542,6 +1728,18 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1542
1728
  reasoningOutputTokens?: number;
1543
1729
  reportingStatus: "complete" | "partial" | "unavailable";
1544
1730
  };
1731
+ usageCoverage: {
1732
+ completeCallCount: number;
1733
+ fieldCallCounts: {
1734
+ inputTokens: number;
1735
+ outputTokens: number;
1736
+ uncachedInputTokens: number;
1737
+ cacheReadInputTokens: number;
1738
+ cacheWriteInputTokens: number;
1739
+ textOutputTokens: number;
1740
+ reasoningOutputTokens: number;
1741
+ };
1742
+ };
1545
1743
  costs: {
1546
1744
  amounts: Array<{
1547
1745
  currency: string;
@@ -1567,6 +1765,18 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1567
1765
  reasoningOutputTokens?: number;
1568
1766
  reportingStatus: "complete" | "partial" | "unavailable";
1569
1767
  };
1768
+ usageCoverage: {
1769
+ completeCallCount: number;
1770
+ fieldCallCounts: {
1771
+ inputTokens: number;
1772
+ outputTokens: number;
1773
+ uncachedInputTokens: number;
1774
+ cacheReadInputTokens: number;
1775
+ cacheWriteInputTokens: number;
1776
+ textOutputTokens: number;
1777
+ reasoningOutputTokens: number;
1778
+ };
1779
+ };
1570
1780
  costs: {
1571
1781
  amounts: Array<{
1572
1782
  currency: string;
@@ -1590,6 +1800,18 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1590
1800
  reasoningOutputTokens?: number;
1591
1801
  reportingStatus: "complete" | "partial" | "unavailable";
1592
1802
  };
1803
+ usageCoverage: {
1804
+ completeCallCount: number;
1805
+ fieldCallCounts: {
1806
+ inputTokens: number;
1807
+ outputTokens: number;
1808
+ uncachedInputTokens: number;
1809
+ cacheReadInputTokens: number;
1810
+ cacheWriteInputTokens: number;
1811
+ textOutputTokens: number;
1812
+ reasoningOutputTokens: number;
1813
+ };
1814
+ };
1593
1815
  costs: {
1594
1816
  amounts: Array<{
1595
1817
  currency: string;
@@ -1616,6 +1838,18 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1616
1838
  reasoningOutputTokens?: number;
1617
1839
  reportingStatus: "complete" | "partial" | "unavailable";
1618
1840
  };
1841
+ usageCoverage: {
1842
+ completeCallCount: number;
1843
+ fieldCallCounts: {
1844
+ inputTokens: number;
1845
+ outputTokens: number;
1846
+ uncachedInputTokens: number;
1847
+ cacheReadInputTokens: number;
1848
+ cacheWriteInputTokens: number;
1849
+ textOutputTokens: number;
1850
+ reasoningOutputTokens: number;
1851
+ };
1852
+ };
1619
1853
  costs: {
1620
1854
  amounts: Array<{
1621
1855
  currency: string;
@@ -1657,6 +1891,18 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1657
1891
  reasoningOutputTokens?: number;
1658
1892
  reportingStatus: "complete" | "partial" | "unavailable";
1659
1893
  };
1894
+ usageCoverage: {
1895
+ completeCallCount: number;
1896
+ fieldCallCounts: {
1897
+ inputTokens: number;
1898
+ outputTokens: number;
1899
+ uncachedInputTokens: number;
1900
+ cacheReadInputTokens: number;
1901
+ cacheWriteInputTokens: number;
1902
+ textOutputTokens: number;
1903
+ reasoningOutputTokens: number;
1904
+ };
1905
+ };
1660
1906
  costs: {
1661
1907
  amounts: Array<{
1662
1908
  currency: string;
@@ -1674,12 +1920,30 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1674
1920
  outputTokens?: number;
1675
1921
  totalTokens?: number;
1676
1922
  uncachedInputTokens?: number;
1677
- cacheReadInputTokens?: number;
1923
+ cacheReadInputTokens
1924
+ /**
1925
+ * Suspend an auth member
1926
+ */
1927
+ ? /**
1928
+ * Suspend an auth member
1929
+ */: number;
1678
1930
  cacheWriteInputTokens?: number;
1679
1931
  textOutputTokens?: number;
1680
1932
  reasoningOutputTokens?: number;
1681
1933
  reportingStatus: "complete" | "partial" | "unavailable";
1682
1934
  };
1935
+ usageCoverage: {
1936
+ completeCallCount: number;
1937
+ fieldCallCounts: {
1938
+ inputTokens: number;
1939
+ outputTokens: number;
1940
+ uncachedInputTokens: number;
1941
+ cacheReadInputTokens: number;
1942
+ cacheWriteInputTokens: number;
1943
+ textOutputTokens: number;
1944
+ reasoningOutputTokens: number;
1945
+ };
1946
+ };
1683
1947
  costs: {
1684
1948
  amounts: Array<{
1685
1949
  currency: string;
@@ -1705,6 +1969,18 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1705
1969
  reasoningOutputTokens?: number;
1706
1970
  reportingStatus: "complete" | "partial" | "unavailable";
1707
1971
  };
1972
+ usageCoverage: {
1973
+ completeCallCount: number;
1974
+ fieldCallCounts: {
1975
+ inputTokens: number;
1976
+ outputTokens: number;
1977
+ uncachedInputTokens: number;
1978
+ cacheReadInputTokens: number;
1979
+ cacheWriteInputTokens: number;
1980
+ textOutputTokens: number;
1981
+ reasoningOutputTokens: number;
1982
+ };
1983
+ };
1708
1984
  costs: {
1709
1985
  amounts: Array<{
1710
1986
  currency: string;
@@ -1730,6 +2006,18 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1730
2006
  reasoningOutputTokens?: number;
1731
2007
  reportingStatus: "complete" | "partial" | "unavailable";
1732
2008
  };
2009
+ usageCoverage: {
2010
+ completeCallCount: number;
2011
+ fieldCallCounts: {
2012
+ inputTokens: number;
2013
+ outputTokens: number;
2014
+ uncachedInputTokens: number;
2015
+ cacheReadInputTokens: number;
2016
+ cacheWriteInputTokens: number;
2017
+ textOutputTokens: number;
2018
+ reasoningOutputTokens: number;
2019
+ };
2020
+ };
1733
2021
  costs: {
1734
2022
  amounts: Array<{
1735
2023
  currency: string;
@@ -1753,6 +2041,18 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1753
2041
  reasoningOutputTokens?: number;
1754
2042
  reportingStatus: "complete" | "partial" | "unavailable";
1755
2043
  };
2044
+ usageCoverage: {
2045
+ completeCallCount: number;
2046
+ fieldCallCounts: {
2047
+ inputTokens: number;
2048
+ outputTokens: number;
2049
+ uncachedInputTokens: number;
2050
+ cacheReadInputTokens: number;
2051
+ cacheWriteInputTokens: number;
2052
+ textOutputTokens: number;
2053
+ reasoningOutputTokens: number;
2054
+ };
2055
+ };
1756
2056
  costs: {
1757
2057
  amounts: Array<{
1758
2058
  currency: string;
@@ -1779,6 +2079,18 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1779
2079
  reasoningOutputTokens?: number;
1780
2080
  reportingStatus: "complete" | "partial" | "unavailable";
1781
2081
  };
2082
+ usageCoverage: {
2083
+ completeCallCount: number;
2084
+ fieldCallCounts: {
2085
+ inputTokens: number;
2086
+ outputTokens: number;
2087
+ uncachedInputTokens: number;
2088
+ cacheReadInputTokens: number;
2089
+ cacheWriteInputTokens: number;
2090
+ textOutputTokens: number;
2091
+ reasoningOutputTokens: number;
2092
+ };
2093
+ };
1782
2094
  costs: {
1783
2095
  amounts: Array<{
1784
2096
  currency: string;
@@ -5291,25 +5603,473 @@ export declare const listConnectorConnectionsOptions: (options: Options<ListConn
5291
5603
  type: "project";
5292
5604
  };
5293
5605
  slot: string;
5294
- account: {
5295
- id: string;
5296
- label: string;
5297
- description?: string;
5298
- avatarUrl?: string;
5299
- };
5300
- status: "connected" | "needs_reauthorization" | "disconnected";
5301
- }[];
5302
- [dataTagErrorSymbol]: ListConnectorConnectionsError;
5606
+ account: {
5607
+ id: string;
5608
+ label: string;
5609
+ description?: string;
5610
+ avatarUrl?: string;
5611
+ };
5612
+ status: "connected" | "needs_reauthorization" | "disconnected";
5613
+ }[];
5614
+ [dataTagErrorSymbol]: ListConnectorConnectionsError;
5615
+ };
5616
+ };
5617
+ /**
5618
+ * Disconnect a connector account
5619
+ */
5620
+ export declare const disconnectConnectorConnectionMutation: (options?: Partial<Options<DisconnectConnectorConnectionData>>) => UseMutationOptions<DisconnectConnectorConnectionResponse, DisconnectConnectorConnectionError, Options<DisconnectConnectorConnectionData>>;
5621
+ /**
5622
+ * Revoke a connector authorization
5623
+ */
5624
+ export declare const revokeConnectorConnectionMutation: (options?: Partial<Options<RevokeConnectorConnectionData>>) => UseMutationOptions<RevokeConnectorConnectionResponse, RevokeConnectorConnectionError, Options<RevokeConnectorConnectionData>>;
5625
+ export declare const listPendingConnectorConnectionRunsQueryKey: (options: Options<ListPendingConnectorConnectionRunsData>) => [Pick<Options<ListPendingConnectorConnectionRunsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
5626
+ _id: string;
5627
+ _infinite?: boolean;
5628
+ tags?: ReadonlyArray<string>;
5629
+ }];
5630
+ /**
5631
+ * List the initiating user's pending connector connection runs
5632
+ */
5633
+ export declare const listPendingConnectorConnectionRunsOptions: (options: Options<ListPendingConnectorConnectionRunsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<({
5634
+ id: string;
5635
+ connectorId: string;
5636
+ kind: "connect" | "reauthorize";
5637
+ owner: {
5638
+ type: "project";
5639
+ };
5640
+ slot: string;
5641
+ createdAt: string;
5642
+ updatedAt: string;
5643
+ status: "waiting";
5644
+ waitingFor: "provider_authorization";
5645
+ expiresAt: string;
5646
+ } | {
5647
+ id: string;
5648
+ connectorId: string;
5649
+ kind: "connect" | "reauthorize";
5650
+ owner: {
5651
+ type: "project";
5652
+ };
5653
+ slot: string;
5654
+ createdAt: string;
5655
+ updatedAt: string;
5656
+ status: "running";
5657
+ } | {
5658
+ id: string;
5659
+ connectorId: string;
5660
+ kind: "connect" | "reauthorize";
5661
+ owner: {
5662
+ type: "project";
5663
+ };
5664
+ slot: string;
5665
+ createdAt: string;
5666
+ updatedAt: string;
5667
+ status: "waiting";
5668
+ waitingFor: "account_selection";
5669
+ accounts: Array<{
5670
+ id: string;
5671
+ label: string;
5672
+ description?: string;
5673
+ avatarUrl?: string;
5674
+ }>;
5675
+ } | {
5676
+ id: string;
5677
+ connectorId: string;
5678
+ kind: "connect" | "reauthorize";
5679
+ owner: {
5680
+ type: "project";
5681
+ };
5682
+ slot: string;
5683
+ createdAt: string;
5684
+ updatedAt: string;
5685
+ status: "succeeded";
5686
+ connections: Array<{
5687
+ id: string;
5688
+ connectorId: string;
5689
+ owner: {
5690
+ type: "project";
5691
+ };
5692
+ slot: string;
5693
+ account: {
5694
+ id: string;
5695
+ label: string;
5696
+ description?: string;
5697
+ avatarUrl?: string;
5698
+ };
5699
+ status: "connected" | "needs_reauthorization" | "disconnected";
5700
+ }>;
5701
+ finishedAt: string;
5702
+ } | {
5703
+ id: string;
5704
+ connectorId: string;
5705
+ kind: "connect" | "reauthorize";
5706
+ owner: {
5707
+ type: "project";
5708
+ };
5709
+ slot: string;
5710
+ createdAt: string;
5711
+ updatedAt: string;
5712
+ status: "failed";
5713
+ error: {
5714
+ code: "internal.unexpected" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable";
5715
+ message: string;
5716
+ retryable: boolean;
5717
+ at: string;
5718
+ details?: string | number | boolean | Array<unknown> | {
5719
+ [key: string]: unknown;
5720
+ } | null;
5721
+ httpStatus?: number;
5722
+ redacted?: true;
5723
+ truncated?: true;
5724
+ };
5725
+ finishedAt: string;
5726
+ } | {
5727
+ id: string;
5728
+ connectorId: string;
5729
+ kind: "connect" | "reauthorize";
5730
+ owner: {
5731
+ type: "project";
5732
+ };
5733
+ slot: string;
5734
+ createdAt: string;
5735
+ updatedAt: string;
5736
+ status: "cancelled" | "expired";
5737
+ finishedAt: string;
5738
+ })[], ListPendingConnectorConnectionRunsError, ({
5739
+ id: string;
5740
+ connectorId: string;
5741
+ kind: "connect" | "reauthorize";
5742
+ owner: {
5743
+ type: "project";
5744
+ };
5745
+ slot: string;
5746
+ createdAt: string;
5747
+ updatedAt: string;
5748
+ status: "waiting";
5749
+ waitingFor: "provider_authorization";
5750
+ expiresAt: string;
5751
+ } | {
5752
+ id: string;
5753
+ connectorId: string;
5754
+ kind: "connect" | "reauthorize";
5755
+ owner: {
5756
+ type: "project";
5757
+ };
5758
+ slot: string;
5759
+ createdAt: string;
5760
+ updatedAt: string;
5761
+ status: "running";
5762
+ } | {
5763
+ id: string;
5764
+ connectorId: string;
5765
+ kind: "connect" | "reauthorize";
5766
+ owner: {
5767
+ type: "project";
5768
+ };
5769
+ slot: string;
5770
+ createdAt: string;
5771
+ updatedAt: string;
5772
+ status: "waiting";
5773
+ waitingFor: "account_selection";
5774
+ accounts: Array<{
5775
+ id: string;
5776
+ label: string;
5777
+ description?: string;
5778
+ avatarUrl?: string;
5779
+ }>;
5780
+ } | {
5781
+ id: string;
5782
+ connectorId: string;
5783
+ kind: "connect" | "reauthorize";
5784
+ owner: {
5785
+ type: "project";
5786
+ };
5787
+ slot: string;
5788
+ createdAt: string;
5789
+ updatedAt: string;
5790
+ status: "succeeded";
5791
+ connections: Array<{
5792
+ id: string;
5793
+ connectorId: string;
5794
+ owner: {
5795
+ type: "project";
5796
+ };
5797
+ slot: string;
5798
+ account: {
5799
+ id: string;
5800
+ label: string;
5801
+ description?: string;
5802
+ avatarUrl?: string;
5803
+ };
5804
+ status: "connected" | "needs_reauthorization" | "disconnected";
5805
+ }>;
5806
+ finishedAt: string;
5807
+ } | {
5808
+ id: string;
5809
+ connectorId: string;
5810
+ kind: "connect" | "reauthorize";
5811
+ owner: {
5812
+ type: "project";
5813
+ };
5814
+ slot: string;
5815
+ createdAt: string;
5816
+ updatedAt: string;
5817
+ status: "failed";
5818
+ error: {
5819
+ code: "internal.unexpected" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable";
5820
+ message: string;
5821
+ retryable: boolean;
5822
+ at: string;
5823
+ details?: string | number | boolean | Array<unknown> | {
5824
+ [key: string]: unknown;
5825
+ } | null;
5826
+ httpStatus?: number;
5827
+ redacted?: true;
5828
+ truncated?: true;
5829
+ };
5830
+ finishedAt: string;
5831
+ } | {
5832
+ id: string;
5833
+ connectorId: string;
5834
+ kind: "connect" | "reauthorize";
5835
+ owner: {
5836
+ type: "project";
5837
+ };
5838
+ slot: string;
5839
+ createdAt: string;
5840
+ updatedAt: string;
5841
+ status: "cancelled" | "expired";
5842
+ finishedAt: string;
5843
+ })[], [Pick<Options<ListPendingConnectorConnectionRunsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
5844
+ _id: string;
5845
+ _infinite?: boolean;
5846
+ tags?: ReadonlyArray<string>;
5847
+ }]>, "queryFn"> & {
5848
+ queryFn?: import("@tanstack/react-query").QueryFunction<({
5849
+ id: string;
5850
+ connectorId: string;
5851
+ kind: "connect" | "reauthorize";
5852
+ owner: {
5853
+ type: "project";
5854
+ };
5855
+ slot: string;
5856
+ createdAt: string;
5857
+ updatedAt: string;
5858
+ status: "waiting";
5859
+ waitingFor: "provider_authorization";
5860
+ expiresAt: string;
5861
+ } | {
5862
+ id: string;
5863
+ connectorId: string;
5864
+ kind: "connect" | "reauthorize";
5865
+ owner: {
5866
+ type: "project";
5867
+ };
5868
+ slot: string;
5869
+ createdAt: string;
5870
+ updatedAt: string;
5871
+ status: "running";
5872
+ } | {
5873
+ id: string;
5874
+ connectorId: string;
5875
+ kind: "connect" | "reauthorize";
5876
+ owner: {
5877
+ type: "project";
5878
+ };
5879
+ slot: string;
5880
+ createdAt: string;
5881
+ updatedAt: string;
5882
+ status: "waiting";
5883
+ waitingFor: "account_selection";
5884
+ accounts: Array<{
5885
+ id: string;
5886
+ label: string;
5887
+ description?: string;
5888
+ avatarUrl?: string;
5889
+ }>;
5890
+ } | {
5891
+ id: string;
5892
+ connectorId: string;
5893
+ kind: "connect" | "reauthorize";
5894
+ owner: {
5895
+ type: "project";
5896
+ };
5897
+ slot: string;
5898
+ createdAt: string;
5899
+ updatedAt: string;
5900
+ status: "succeeded";
5901
+ connections: Array<{
5902
+ id: string;
5903
+ connectorId: string;
5904
+ owner: {
5905
+ type: "project";
5906
+ };
5907
+ slot: string;
5908
+ account: {
5909
+ id: string;
5910
+ label: string;
5911
+ description?: string;
5912
+ avatarUrl?: string;
5913
+ };
5914
+ status: "connected" | "needs_reauthorization" | "disconnected";
5915
+ }>;
5916
+ finishedAt: string;
5917
+ } | {
5918
+ id: string;
5919
+ connectorId: string;
5920
+ kind: "connect" | "reauthorize";
5921
+ owner: {
5922
+ type: "project";
5923
+ };
5924
+ slot: string;
5925
+ createdAt: string;
5926
+ updatedAt: string;
5927
+ status: "failed";
5928
+ error: {
5929
+ code: "internal.unexpected" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable";
5930
+ message: string;
5931
+ retryable: boolean;
5932
+ at: string;
5933
+ details?: string | number | boolean | Array<unknown> | {
5934
+ [key: string]: unknown;
5935
+ } | null;
5936
+ httpStatus?: number;
5937
+ redacted?: true;
5938
+ truncated?: true;
5939
+ };
5940
+ finishedAt: string;
5941
+ } | {
5942
+ id: string;
5943
+ connectorId: string;
5944
+ kind: "connect" | "reauthorize";
5945
+ owner: {
5946
+ type: "project";
5947
+ };
5948
+ slot: string;
5949
+ createdAt: string;
5950
+ updatedAt: string;
5951
+ status: "cancelled" | "expired";
5952
+ finishedAt: string;
5953
+ })[], [Pick<Options<ListPendingConnectorConnectionRunsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
5954
+ _id: string;
5955
+ _infinite?: boolean;
5956
+ tags?: ReadonlyArray<string>;
5957
+ }], never> | undefined;
5958
+ } & {
5959
+ queryKey: [Pick<Options<ListPendingConnectorConnectionRunsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
5960
+ _id: string;
5961
+ _infinite?: boolean;
5962
+ tags?: ReadonlyArray<string>;
5963
+ }] & {
5964
+ [dataTagSymbol]: ({
5965
+ id: string;
5966
+ connectorId: string;
5967
+ kind: "connect" | "reauthorize";
5968
+ owner: {
5969
+ type: "project";
5970
+ };
5971
+ slot: string;
5972
+ createdAt: string;
5973
+ updatedAt: string;
5974
+ status: "waiting";
5975
+ waitingFor: "provider_authorization";
5976
+ expiresAt: string;
5977
+ } | {
5978
+ id: string;
5979
+ connectorId: string;
5980
+ kind: "connect" | "reauthorize";
5981
+ owner: {
5982
+ type: "project";
5983
+ };
5984
+ slot: string;
5985
+ createdAt: string;
5986
+ updatedAt: string;
5987
+ status: "running";
5988
+ } | {
5989
+ id: string;
5990
+ connectorId: string;
5991
+ kind: "connect" | "reauthorize";
5992
+ owner: {
5993
+ type: "project";
5994
+ };
5995
+ slot: string;
5996
+ createdAt: string;
5997
+ updatedAt: string;
5998
+ status: "waiting";
5999
+ waitingFor: "account_selection";
6000
+ accounts: Array<{
6001
+ id: string;
6002
+ label: string;
6003
+ description?: string;
6004
+ avatarUrl?: string;
6005
+ }>;
6006
+ } | {
6007
+ id: string;
6008
+ connectorId: string;
6009
+ kind: "connect" | "reauthorize";
6010
+ owner: {
6011
+ type: "project";
6012
+ };
6013
+ slot: string;
6014
+ createdAt: string;
6015
+ updatedAt: string;
6016
+ status: "succeeded";
6017
+ connections: Array<{
6018
+ id: string;
6019
+ connectorId: string;
6020
+ owner: {
6021
+ type: "project";
6022
+ };
6023
+ slot: string;
6024
+ account: {
6025
+ id: string;
6026
+ label: string;
6027
+ description?: string;
6028
+ avatarUrl?: string;
6029
+ };
6030
+ status: "connected" | "needs_reauthorization" | "disconnected";
6031
+ }>;
6032
+ finishedAt: string;
6033
+ } | {
6034
+ id: string;
6035
+ connectorId: string;
6036
+ kind: "connect" | "reauthorize";
6037
+ owner: {
6038
+ type: "project";
6039
+ };
6040
+ slot: string;
6041
+ createdAt: string;
6042
+ updatedAt: string;
6043
+ status: "failed";
6044
+ error: {
6045
+ code: "internal.unexpected" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable";
6046
+ message: string;
6047
+ retryable: boolean;
6048
+ at: string;
6049
+ details?: string | number | boolean | Array<unknown> | {
6050
+ [key: string]: unknown;
6051
+ } | null;
6052
+ httpStatus?: number;
6053
+ redacted?: true;
6054
+ truncated?: true;
6055
+ };
6056
+ finishedAt: string;
6057
+ } | {
6058
+ id: string;
6059
+ connectorId: string;
6060
+ kind: "connect" | "reauthorize";
6061
+ owner: {
6062
+ type: "project";
6063
+ };
6064
+ slot: string;
6065
+ createdAt: string;
6066
+ updatedAt: string;
6067
+ status: "cancelled" | "expired";
6068
+ finishedAt: string;
6069
+ })[];
6070
+ [dataTagErrorSymbol]: ListPendingConnectorConnectionRunsError;
5303
6071
  };
5304
6072
  };
5305
- /**
5306
- * Disconnect a connector account
5307
- */
5308
- export declare const disconnectConnectorConnectionMutation: (options?: Partial<Options<DisconnectConnectorConnectionData>>) => UseMutationOptions<DisconnectConnectorConnectionResponse, DisconnectConnectorConnectionError, Options<DisconnectConnectorConnectionData>>;
5309
- /**
5310
- * Revoke a connector authorization
5311
- */
5312
- export declare const revokeConnectorConnectionMutation: (options?: Partial<Options<RevokeConnectorConnectionData>>) => UseMutationOptions<RevokeConnectorConnectionResponse, RevokeConnectorConnectionError, Options<RevokeConnectorConnectionData>>;
5313
6073
  /**
5314
6074
  * Start a connector connection run
5315
6075
  */
@@ -5364,7 +6124,6 @@ export declare const getConnectorConnectionRunOptions: (options: Options<GetConn
5364
6124
  description?: string;
5365
6125
  avatarUrl?: string;
5366
6126
  }>;
5367
- expiresAt: string;
5368
6127
  } | {
5369
6128
  id: string;
5370
6129
  connectorId: string;
@@ -5470,7 +6229,6 @@ export declare const getConnectorConnectionRunOptions: (options: Options<GetConn
5470
6229
  description?: string;
5471
6230
  avatarUrl?: string;
5472
6231
  }>;
5473
- expiresAt: string;
5474
6232
  } | {
5475
6233
  id: string;
5476
6234
  connectorId: string;
@@ -5581,7 +6339,6 @@ export declare const getConnectorConnectionRunOptions: (options: Options<GetConn
5581
6339
  description?: string;
5582
6340
  avatarUrl?: string;
5583
6341
  }>;
5584
- expiresAt: string;
5585
6342
  } | {
5586
6343
  id: string;
5587
6344
  connectorId: string;
@@ -5698,7 +6455,6 @@ export declare const getConnectorConnectionRunOptions: (options: Options<GetConn
5698
6455
  description?: string;
5699
6456
  avatarUrl?: string;
5700
6457
  }>;
5701
- expiresAt: string;
5702
6458
  } | {
5703
6459
  id: string;
5704
6460
  connectorId: string;
@@ -6339,11 +7095,7 @@ export declare const listDatasetRowsOptions: (options: Options<ListDatasetRowsDa
6339
7095
  datasetId: string;
6340
7096
  versionId: string;
6341
7097
  }>;
6342
- rowCount
6343
- /**
6344
- * Create or update object
6345
- */
6346
- ?: number;
7098
+ rowCount?: number;
6347
7099
  sizeBytes?: number;
6348
7100
  };
6349
7101
  columns: Array<string>;
@@ -6380,11 +7132,7 @@ export declare const listDatasetRowsOptions: (options: Options<ListDatasetRowsDa
6380
7132
  datasetId: string;
6381
7133
  versionId: string;
6382
7134
  }>;
6383
- rowCount
6384
- /**
6385
- * Create or update object
6386
- */
6387
- ?: number;
7135
+ rowCount?: number;
6388
7136
  sizeBytes?: number;
6389
7137
  };
6390
7138
  columns: Array<string>;
@@ -6426,11 +7174,7 @@ export declare const listDatasetRowsOptions: (options: Options<ListDatasetRowsDa
6426
7174
  datasetId: string;
6427
7175
  versionId: string;
6428
7176
  }>;
6429
- rowCount
6430
- /**
6431
- * Create or update object
6432
- */
6433
- ?: number;
7177
+ rowCount?: number;
6434
7178
  sizeBytes?: number;
6435
7179
  };
6436
7180
  columns: Array<string>;
@@ -6478,11 +7222,7 @@ export declare const listDatasetRowsOptions: (options: Options<ListDatasetRowsDa
6478
7222
  datasetId: string;
6479
7223
  versionId: string;
6480
7224
  }>;
6481
- rowCount
6482
- /**
6483
- * Create or update object
6484
- */
6485
- ?: number;
7225
+ rowCount?: number;
6486
7226
  sizeBytes?: number;
6487
7227
  };
6488
7228
  columns: Array<string>;
@@ -6527,11 +7267,7 @@ export declare const listDatasetRowsInfiniteOptions: (options: Options<ListDatas
6527
7267
  datasetId: string;
6528
7268
  versionId: string;
6529
7269
  }>;
6530
- rowCount
6531
- /**
6532
- * Create or update object
6533
- */
6534
- ?: number;
7270
+ rowCount?: number;
6535
7271
  sizeBytes?: number;
6536
7272
  };
6537
7273
  columns: Array<string>;
@@ -6568,11 +7304,7 @@ export declare const listDatasetRowsInfiniteOptions: (options: Options<ListDatas
6568
7304
  datasetId: string;
6569
7305
  versionId: string;
6570
7306
  }>;
6571
- rowCount
6572
- /**
6573
- * Create or update object
6574
- */
6575
- ?: number;
7307
+ rowCount?: number;
6576
7308
  sizeBytes?: number;
6577
7309
  };
6578
7310
  columns: Array<string>;
@@ -6614,11 +7346,7 @@ export declare const listDatasetRowsInfiniteOptions: (options: Options<ListDatas
6614
7346
  datasetId: string;
6615
7347
  versionId: string;
6616
7348
  }>;
6617
- rowCount
6618
- /**
6619
- * Create or update object
6620
- */
6621
- ?: number;
7349
+ rowCount?: number;
6622
7350
  sizeBytes?: number;
6623
7351
  };
6624
7352
  columns: Array<string>;
@@ -6659,11 +7387,7 @@ export declare const listDatasetRowsInfiniteOptions: (options: Options<ListDatas
6659
7387
  datasetId: string;
6660
7388
  versionId: string;
6661
7389
  }>;
6662
- rowCount
6663
- /**
6664
- * Create or update object
6665
- */
6666
- ?: number;
7390
+ rowCount?: number;
6667
7391
  sizeBytes?: number;
6668
7392
  };
6669
7393
  columns: Array<string>;
@@ -6707,11 +7431,7 @@ export declare const listDatasetRowsInfiniteOptions: (options: Options<ListDatas
6707
7431
  datasetId: string;
6708
7432
  versionId: string;
6709
7433
  }>;
6710
- rowCount
6711
- /**
6712
- * Create or update object
6713
- */
6714
- ?: number;
7434
+ rowCount?: number;
6715
7435
  sizeBytes?: number;
6716
7436
  };
6717
7437
  columns: Array<string>;
@@ -7270,7 +7990,11 @@ export declare const listSyncRunsOptions: (options?: Options<ListSyncRunsData>)
7270
7990
  queuedAt: string;
7271
7991
  startedAt?: string;
7272
7992
  finishedAt?: string;
7273
- rowsRead?: number;
7993
+ rowsRead
7994
+ /**
7995
+ * Explicitly recreate an unavailable or uncertain workspace without deleting its previous state
7996
+ */
7997
+ ?: number;
7274
7998
  output?: {
7275
7999
  datasetId: string;
7276
8000
  versionId: string;
@@ -7303,7 +8027,11 @@ export declare const listSyncRunsOptions: (options?: Options<ListSyncRunsData>)
7303
8027
  queuedAt: string;
7304
8028
  startedAt?: string;
7305
8029
  finishedAt?: string;
7306
- rowsRead?: number;
8030
+ rowsRead
8031
+ /**
8032
+ * Explicitly recreate an unavailable or uncertain workspace without deleting its previous state
8033
+ */
8034
+ ?: number;
7307
8035
  output?: {
7308
8036
  datasetId: string;
7309
8037
  versionId: string;
@@ -7341,7 +8069,11 @@ export declare const listSyncRunsOptions: (options?: Options<ListSyncRunsData>)
7341
8069
  queuedAt: string;
7342
8070
  startedAt?: string;
7343
8071
  finishedAt?: string;
7344
- rowsRead?: number;
8072
+ rowsRead
8073
+ /**
8074
+ * Explicitly recreate an unavailable or uncertain workspace without deleting its previous state
8075
+ */
8076
+ ?: number;
7345
8077
  output?: {
7346
8078
  datasetId: string;
7347
8079
  versionId: string;
@@ -7385,7 +8117,11 @@ export declare const listSyncRunsOptions: (options?: Options<ListSyncRunsData>)
7385
8117
  queuedAt: string;
7386
8118
  startedAt?: string;
7387
8119
  finishedAt?: string;
7388
- rowsRead?: number;
8120
+ rowsRead
8121
+ /**
8122
+ * Explicitly recreate an unavailable or uncertain workspace without deleting its previous state
8123
+ */
8124
+ ?: number;
7389
8125
  output?: {
7390
8126
  datasetId: string;
7391
8127
  versionId: string;
@@ -7426,7 +8162,11 @@ export declare const listSyncRunsInfiniteOptions: (options?: Options<ListSyncRun
7426
8162
  queuedAt: string;
7427
8163
  startedAt?: string;
7428
8164
  finishedAt?: string;
7429
- rowsRead?: number;
8165
+ rowsRead
8166
+ /**
8167
+ * Explicitly recreate an unavailable or uncertain workspace without deleting its previous state
8168
+ */
8169
+ ?: number;
7430
8170
  output?: {
7431
8171
  datasetId: string;
7432
8172
  versionId: string;
@@ -7459,7 +8199,11 @@ export declare const listSyncRunsInfiniteOptions: (options?: Options<ListSyncRun
7459
8199
  queuedAt: string;
7460
8200
  startedAt?: string;
7461
8201
  finishedAt?: string;
7462
- rowsRead?: number;
8202
+ rowsRead
8203
+ /**
8204
+ * Explicitly recreate an unavailable or uncertain workspace without deleting its previous state
8205
+ */
8206
+ ?: number;
7463
8207
  output?: {
7464
8208
  datasetId: string;
7465
8209
  versionId: string;
@@ -7497,7 +8241,11 @@ export declare const listSyncRunsInfiniteOptions: (options?: Options<ListSyncRun
7497
8241
  queuedAt: string;
7498
8242
  startedAt?: string;
7499
8243
  finishedAt?: string;
7500
- rowsRead?: number;
8244
+ rowsRead
8245
+ /**
8246
+ * Explicitly recreate an unavailable or uncertain workspace without deleting its previous state
8247
+ */
8248
+ ?: number;
7501
8249
  output?: {
7502
8250
  datasetId: string;
7503
8251
  versionId: string;
@@ -7534,7 +8282,11 @@ export declare const listSyncRunsInfiniteOptions: (options?: Options<ListSyncRun
7534
8282
  queuedAt: string;
7535
8283
  startedAt?: string;
7536
8284
  finishedAt?: string;
7537
- rowsRead?: number;
8285
+ rowsRead
8286
+ /**
8287
+ * Explicitly recreate an unavailable or uncertain workspace without deleting its previous state
8288
+ */
8289
+ ?: number;
7538
8290
  output?: {
7539
8291
  datasetId: string;
7540
8292
  versionId: string;
@@ -7574,7 +8326,11 @@ export declare const listSyncRunsInfiniteOptions: (options?: Options<ListSyncRun
7574
8326
  queuedAt: string;
7575
8327
  startedAt?: string;
7576
8328
  finishedAt?: string;
7577
- rowsRead?: number;
8329
+ rowsRead
8330
+ /**
8331
+ * Explicitly recreate an unavailable or uncertain workspace without deleting its previous state
8332
+ */
8333
+ ?: number;
7578
8334
  output?: {
7579
8335
  datasetId: string;
7580
8336
  versionId: string;
@@ -12894,7 +13650,6 @@ export declare const listObjectTypesOptions: (options?: Options<ListObjectTypesD
12894
13650
  text?: boolean;
12895
13651
  exact?: boolean;
12896
13652
  facet?: boolean;
12897
- vector?: boolean;
12898
13653
  weight?: number;
12899
13654
  };
12900
13655
  }>;
@@ -12902,9 +13657,19 @@ export declare const listObjectTypesOptions: (options?: Options<ListObjectTypesD
12902
13657
  title?: string;
12903
13658
  defaultText?: Array<string>;
12904
13659
  exact?: Array<string>;
12905
- vector?: {
12906
- property: string;
12907
- source: Array<string>;
13660
+ vectors?: {
13661
+ [key: string]: {
13662
+ source: Array<string>;
13663
+ model: {
13664
+ providerId: string;
13665
+ modelId: string;
13666
+ dimensions: number;
13667
+ representation?: {
13668
+ name: string;
13669
+ version?: string;
13670
+ };
13671
+ };
13672
+ };
12908
13673
  };
12909
13674
  };
12910
13675
  links: Array<{
@@ -12930,7 +13695,6 @@ export declare const listObjectTypesOptions: (options?: Options<ListObjectTypesD
12930
13695
  text?: boolean;
12931
13696
  exact?: boolean;
12932
13697
  facet?: boolean;
12933
- vector?: boolean;
12934
13698
  weight?: number;
12935
13699
  };
12936
13700
  }>;
@@ -12972,7 +13736,6 @@ export declare const listObjectTypesOptions: (options?: Options<ListObjectTypesD
12972
13736
  text?: boolean;
12973
13737
  exact?: boolean;
12974
13738
  facet?: boolean;
12975
- vector?: boolean;
12976
13739
  weight?: number;
12977
13740
  };
12978
13741
  }>;
@@ -12980,9 +13743,19 @@ export declare const listObjectTypesOptions: (options?: Options<ListObjectTypesD
12980
13743
  title?: string;
12981
13744
  defaultText?: Array<string>;
12982
13745
  exact?: Array<string>;
12983
- vector?: {
12984
- property: string;
12985
- source: Array<string>;
13746
+ vectors?: {
13747
+ [key: string]: {
13748
+ source: Array<string>;
13749
+ model: {
13750
+ providerId: string;
13751
+ modelId: string;
13752
+ dimensions: number;
13753
+ representation?: {
13754
+ name: string;
13755
+ version?: string;
13756
+ };
13757
+ };
13758
+ };
12986
13759
  };
12987
13760
  };
12988
13761
  links: Array<{
@@ -13008,7 +13781,6 @@ export declare const listObjectTypesOptions: (options?: Options<ListObjectTypesD
13008
13781
  text?: boolean;
13009
13782
  exact?: boolean;
13010
13783
  facet?: boolean;
13011
- vector?: boolean;
13012
13784
  weight?: number;
13013
13785
  };
13014
13786
  }>;
@@ -13055,7 +13827,6 @@ export declare const listObjectTypesOptions: (options?: Options<ListObjectTypesD
13055
13827
  text?: boolean;
13056
13828
  exact?: boolean;
13057
13829
  facet?: boolean;
13058
- vector?: boolean;
13059
13830
  weight?: number;
13060
13831
  };
13061
13832
  }>;
@@ -13063,9 +13834,19 @@ export declare const listObjectTypesOptions: (options?: Options<ListObjectTypesD
13063
13834
  title?: string;
13064
13835
  defaultText?: Array<string>;
13065
13836
  exact?: Array<string>;
13066
- vector?: {
13067
- property: string;
13068
- source: Array<string>;
13837
+ vectors?: {
13838
+ [key: string]: {
13839
+ source: Array<string>;
13840
+ model: {
13841
+ providerId: string;
13842
+ modelId: string;
13843
+ dimensions: number;
13844
+ representation?: {
13845
+ name: string;
13846
+ version?: string;
13847
+ };
13848
+ };
13849
+ };
13069
13850
  };
13070
13851
  };
13071
13852
  links: Array<{
@@ -13091,7 +13872,6 @@ export declare const listObjectTypesOptions: (options?: Options<ListObjectTypesD
13091
13872
  text?: boolean;
13092
13873
  exact?: boolean;
13093
13874
  facet?: boolean;
13094
- vector?: boolean;
13095
13875
  weight?: number;
13096
13876
  };
13097
13877
  }>;
@@ -13144,7 +13924,6 @@ export declare const listObjectTypesOptions: (options?: Options<ListObjectTypesD
13144
13924
  text?: boolean;
13145
13925
  exact?: boolean;
13146
13926
  facet?: boolean;
13147
- vector?: boolean;
13148
13927
  weight?: number;
13149
13928
  };
13150
13929
  }>;
@@ -13152,9 +13931,19 @@ export declare const listObjectTypesOptions: (options?: Options<ListObjectTypesD
13152
13931
  title?: string;
13153
13932
  defaultText?: Array<string>;
13154
13933
  exact?: Array<string>;
13155
- vector?: {
13156
- property: string;
13157
- source: Array<string>;
13934
+ vectors?: {
13935
+ [key: string]: {
13936
+ source: Array<string>;
13937
+ model: {
13938
+ providerId: string;
13939
+ modelId: string;
13940
+ dimensions: number;
13941
+ representation?: {
13942
+ name: string;
13943
+ version?: string;
13944
+ };
13945
+ };
13946
+ };
13158
13947
  };
13159
13948
  };
13160
13949
  links: Array<{
@@ -13180,7 +13969,6 @@ export declare const listObjectTypesOptions: (options?: Options<ListObjectTypesD
13180
13969
  text?: boolean;
13181
13970
  exact?: boolean;
13182
13971
  facet?: boolean;
13183
- vector?: boolean;
13184
13972
  weight?: number;
13185
13973
  };
13186
13974
  }>;
@@ -13234,7 +14022,6 @@ export declare const getObjectTypeOptions: (options: Options<GetObjectTypeData>)
13234
14022
  text?: boolean;
13235
14023
  exact?: boolean;
13236
14024
  facet?: boolean;
13237
- vector?: boolean;
13238
14025
  weight?: number;
13239
14026
  };
13240
14027
  }>;
@@ -13242,9 +14029,19 @@ export declare const getObjectTypeOptions: (options: Options<GetObjectTypeData>)
13242
14029
  title?: string;
13243
14030
  defaultText?: Array<string>;
13244
14031
  exact?: Array<string>;
13245
- vector?: {
13246
- property: string;
13247
- source: Array<string>;
14032
+ vectors?: {
14033
+ [key: string]: {
14034
+ source: Array<string>;
14035
+ model: {
14036
+ providerId: string;
14037
+ modelId: string;
14038
+ dimensions: number;
14039
+ representation?: {
14040
+ name: string;
14041
+ version?: string;
14042
+ };
14043
+ };
14044
+ };
13248
14045
  };
13249
14046
  };
13250
14047
  links: Array<{
@@ -13270,7 +14067,6 @@ export declare const getObjectTypeOptions: (options: Options<GetObjectTypeData>)
13270
14067
  text?: boolean;
13271
14068
  exact?: boolean;
13272
14069
  facet?: boolean;
13273
- vector?: boolean;
13274
14070
  weight?: number;
13275
14071
  };
13276
14072
  }>;
@@ -13314,7 +14110,6 @@ export declare const getObjectTypeOptions: (options: Options<GetObjectTypeData>)
13314
14110
  text?: boolean;
13315
14111
  exact?: boolean;
13316
14112
  facet?: boolean;
13317
- vector?: boolean;
13318
14113
  weight?: number;
13319
14114
  };
13320
14115
  }>;
@@ -13322,9 +14117,19 @@ export declare const getObjectTypeOptions: (options: Options<GetObjectTypeData>)
13322
14117
  title?: string;
13323
14118
  defaultText?: Array<string>;
13324
14119
  exact?: Array<string>;
13325
- vector?: {
13326
- property: string;
13327
- source: Array<string>;
14120
+ vectors?: {
14121
+ [key: string]: {
14122
+ source: Array<string>;
14123
+ model: {
14124
+ providerId: string;
14125
+ modelId: string;
14126
+ dimensions: number;
14127
+ representation?: {
14128
+ name: string;
14129
+ version?: string;
14130
+ };
14131
+ };
14132
+ };
13328
14133
  };
13329
14134
  };
13330
14135
  links: Array<{
@@ -13350,7 +14155,6 @@ export declare const getObjectTypeOptions: (options: Options<GetObjectTypeData>)
13350
14155
  text?: boolean;
13351
14156
  exact?: boolean;
13352
14157
  facet?: boolean;
13353
- vector?: boolean;
13354
14158
  weight?: number;
13355
14159
  };
13356
14160
  }>;
@@ -13397,7 +14201,6 @@ export declare const getObjectTypeOptions: (options: Options<GetObjectTypeData>)
13397
14201
  text?: boolean;
13398
14202
  exact?: boolean;
13399
14203
  facet?: boolean;
13400
- vector?: boolean;
13401
14204
  weight?: number;
13402
14205
  };
13403
14206
  }>;
@@ -13405,9 +14208,19 @@ export declare const getObjectTypeOptions: (options: Options<GetObjectTypeData>)
13405
14208
  title?: string;
13406
14209
  defaultText?: Array<string>;
13407
14210
  exact?: Array<string>;
13408
- vector?: {
13409
- property: string;
13410
- source: Array<string>;
14211
+ vectors?: {
14212
+ [key: string]: {
14213
+ source: Array<string>;
14214
+ model: {
14215
+ providerId: string;
14216
+ modelId: string;
14217
+ dimensions: number;
14218
+ representation?: {
14219
+ name: string;
14220
+ version?: string;
14221
+ };
14222
+ };
14223
+ };
13411
14224
  };
13412
14225
  };
13413
14226
  links: Array<{
@@ -13433,7 +14246,6 @@ export declare const getObjectTypeOptions: (options: Options<GetObjectTypeData>)
13433
14246
  text?: boolean;
13434
14247
  exact?: boolean;
13435
14248
  facet?: boolean;
13436
- vector?: boolean;
13437
14249
  weight?: number;
13438
14250
  };
13439
14251
  }>;
@@ -13486,7 +14298,6 @@ export declare const getObjectTypeOptions: (options: Options<GetObjectTypeData>)
13486
14298
  text?: boolean;
13487
14299
  exact?: boolean;
13488
14300
  facet?: boolean;
13489
- vector?: boolean;
13490
14301
  weight?: number;
13491
14302
  };
13492
14303
  }>;
@@ -13494,9 +14305,19 @@ export declare const getObjectTypeOptions: (options: Options<GetObjectTypeData>)
13494
14305
  title?: string;
13495
14306
  defaultText?: Array<string>;
13496
14307
  exact?: Array<string>;
13497
- vector?: {
13498
- property: string;
13499
- source: Array<string>;
14308
+ vectors?: {
14309
+ [key: string]: {
14310
+ source: Array<string>;
14311
+ model: {
14312
+ providerId: string;
14313
+ modelId: string;
14314
+ dimensions: number;
14315
+ representation?: {
14316
+ name: string;
14317
+ version?: string;
14318
+ };
14319
+ };
14320
+ };
13500
14321
  };
13501
14322
  };
13502
14323
  links: Array<{
@@ -13522,7 +14343,6 @@ export declare const getObjectTypeOptions: (options: Options<GetObjectTypeData>)
13522
14343
  text?: boolean;
13523
14344
  exact?: boolean;
13524
14345
  facet?: boolean;
13525
- vector?: boolean;
13526
14346
  weight?: number;
13527
14347
  };
13528
14348
  }>;
@@ -13617,6 +14437,7 @@ export declare const listObjectsQueryKey: (options?: Options<ListObjectsData>) =
13617
14437
  */
13618
14438
  export declare const listObjectsOptions: (options?: Options<ListObjectsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
13619
14439
  objects: Array<{
14440
+ score?: number;
13620
14441
  primaryId: string;
13621
14442
  objectTypeId: string;
13622
14443
  properties: {
@@ -13629,6 +14450,7 @@ export declare const listObjectsOptions: (options?: Options<ListObjectsData>) =>
13629
14450
  total: number;
13630
14451
  }, ListObjectsError, {
13631
14452
  objects: Array<{
14453
+ score?: number;
13632
14454
  primaryId: string;
13633
14455
  objectTypeId: string;
13634
14456
  properties: {
@@ -13646,6 +14468,7 @@ export declare const listObjectsOptions: (options?: Options<ListObjectsData>) =>
13646
14468
  }]>, "queryFn"> & {
13647
14469
  queryFn?: import("@tanstack/react-query").QueryFunction<{
13648
14470
  objects: Array<{
14471
+ score?: number;
13649
14472
  primaryId: string;
13650
14473
  objectTypeId: string;
13651
14474
  properties: {
@@ -13669,6 +14492,7 @@ export declare const listObjectsOptions: (options?: Options<ListObjectsData>) =>
13669
14492
  }] & {
13670
14493
  [dataTagSymbol]: {
13671
14494
  objects: Array<{
14495
+ score?: number;
13672
14496
  primaryId: string;
13673
14497
  objectTypeId: string;
13674
14498
  properties: {
@@ -13689,6 +14513,7 @@ export declare const listObjectsInfiniteQueryKey: (options?: Options<ListObjects
13689
14513
  */
13690
14514
  export declare const listObjectsInfiniteOptions: (options?: Options<ListObjectsData>) => import("@tanstack/react-query").UseInfiniteQueryOptions<{
13691
14515
  objects: Array<{
14516
+ score?: number;
13692
14517
  primaryId: string;
13693
14518
  objectTypeId: string;
13694
14519
  properties: {
@@ -13701,6 +14526,7 @@ export declare const listObjectsInfiniteOptions: (options?: Options<ListObjectsD
13701
14526
  total: number;
13702
14527
  }, ListObjectsError, InfiniteData<{
13703
14528
  objects: Array<{
14529
+ score?: number;
13704
14530
  primaryId: string;
13705
14531
  objectTypeId: string;
13706
14532
  properties: {
@@ -13718,6 +14544,7 @@ export declare const listObjectsInfiniteOptions: (options?: Options<ListObjectsD
13718
14544
  }, "query" | "body" | "headers" | "path">> & {
13719
14545
  initialData: InfiniteData<{
13720
14546
  objects: Array<{
14547
+ score?: number;
13721
14548
  primaryId: string;
13722
14549
  objectTypeId: string;
13723
14550
  properties: {
@@ -13734,6 +14561,7 @@ export declare const listObjectsInfiniteOptions: (options?: Options<ListObjectsD
13734
14561
  tags?: ReadonlyArray<string>;
13735
14562
  }, "query" | "body" | "headers" | "path">> | (() => InfiniteData<{
13736
14563
  objects: Array<{
14564
+ score?: number;
13737
14565
  primaryId: string;
13738
14566
  objectTypeId: string;
13739
14567
  properties: {
@@ -13753,6 +14581,7 @@ export declare const listObjectsInfiniteOptions: (options?: Options<ListObjectsD
13753
14581
  queryKey: QueryKey<Options<ListObjectsData>> & {
13754
14582
  [dataTagSymbol]: InfiniteData<{
13755
14583
  objects: Array<{
14584
+ score?: number;
13756
14585
  primaryId: string;
13757
14586
  objectTypeId: string;
13758
14587
  properties: {
@@ -13824,6 +14653,7 @@ export declare const getObjectQueryKey: (options: Options<GetObjectData>) => [Pi
13824
14653
  * Get object by id
13825
14654
  */
13826
14655
  export declare const getObjectOptions: (options: Options<GetObjectData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
14656
+ score?: number;
13827
14657
  primaryId: string;
13828
14658
  objectTypeId: string;
13829
14659
  properties: {
@@ -13834,6 +14664,7 @@ export declare const getObjectOptions: (options: Options<GetObjectData>) => impo
13834
14664
  }, {
13835
14665
  error: string;
13836
14666
  }, {
14667
+ score?: number;
13837
14668
  primaryId: string;
13838
14669
  objectTypeId: string;
13839
14670
  properties: {
@@ -13847,6 +14678,7 @@ export declare const getObjectOptions: (options: Options<GetObjectData>) => impo
13847
14678
  tags?: ReadonlyArray<string>;
13848
14679
  }]>, "queryFn"> & {
13849
14680
  queryFn?: import("@tanstack/react-query").QueryFunction<{
14681
+ score?: number;
13850
14682
  primaryId: string;
13851
14683
  objectTypeId: string;
13852
14684
  properties: {
@@ -13866,6 +14698,7 @@ export declare const getObjectOptions: (options: Options<GetObjectData>) => impo
13866
14698
  tags?: ReadonlyArray<string>;
13867
14699
  }] & {
13868
14700
  [dataTagSymbol]: {
14701
+ score?: number;
13869
14702
  primaryId: string;
13870
14703
  objectTypeId: string;
13871
14704
  properties: {
@@ -14935,6 +15768,11 @@ export declare const listAgentThreadsQueryKey: (options?: Options<ListAgentThrea
14935
15768
  */
14936
15769
  export declare const listAgentThreadsOptions: (options?: Options<ListAgentThreadsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
14937
15770
  threads: Array<{
15771
+ sandboxState?: {
15772
+ name: string;
15773
+ status: "new" | "busy" | "ready" | "blocked" | "unavailable";
15774
+ initialized: boolean;
15775
+ };
14938
15776
  id: string;
14939
15777
  projectId: string;
14940
15778
  ownerPrincipal: {
@@ -14942,6 +15780,11 @@ export declare const listAgentThreadsOptions: (options?: Options<ListAgentThread
14942
15780
  id: string;
14943
15781
  };
14944
15782
  title?: string;
15783
+ sandboxParams?: {
15784
+ [key: string]: string | number | boolean | Array<unknown> | {
15785
+ [key: string]: unknown;
15786
+ } | null;
15787
+ };
14945
15788
  status: "active" | "archived";
14946
15789
  activeRunId: string | null;
14947
15790
  lastMessageAt?: string;
@@ -14953,6 +15796,11 @@ export declare const listAgentThreadsOptions: (options?: Options<ListAgentThread
14953
15796
  total: number;
14954
15797
  }, ListAgentThreadsError, {
14955
15798
  threads: Array<{
15799
+ sandboxState?: {
15800
+ name: string;
15801
+ status: "new" | "busy" | "ready" | "blocked" | "unavailable";
15802
+ initialized: boolean;
15803
+ };
14956
15804
  id: string;
14957
15805
  projectId: string;
14958
15806
  ownerPrincipal: {
@@ -14960,6 +15808,11 @@ export declare const listAgentThreadsOptions: (options?: Options<ListAgentThread
14960
15808
  id: string;
14961
15809
  };
14962
15810
  title?: string;
15811
+ sandboxParams?: {
15812
+ [key: string]: string | number | boolean | Array<unknown> | {
15813
+ [key: string]: unknown;
15814
+ } | null;
15815
+ };
14963
15816
  status: "active" | "archived";
14964
15817
  activeRunId: string | null;
14965
15818
  lastMessageAt?: string;
@@ -14976,6 +15829,11 @@ export declare const listAgentThreadsOptions: (options?: Options<ListAgentThread
14976
15829
  }]>, "queryFn"> & {
14977
15830
  queryFn?: import("@tanstack/react-query").QueryFunction<{
14978
15831
  threads: Array<{
15832
+ sandboxState?: {
15833
+ name: string;
15834
+ status: "new" | "busy" | "ready" | "blocked" | "unavailable";
15835
+ initialized: boolean;
15836
+ };
14979
15837
  id: string;
14980
15838
  projectId: string;
14981
15839
  ownerPrincipal: {
@@ -14983,6 +15841,11 @@ export declare const listAgentThreadsOptions: (options?: Options<ListAgentThread
14983
15841
  id: string;
14984
15842
  };
14985
15843
  title?: string;
15844
+ sandboxParams?: {
15845
+ [key: string]: string | number | boolean | Array<unknown> | {
15846
+ [key: string]: unknown;
15847
+ } | null;
15848
+ };
14986
15849
  status: "active" | "archived";
14987
15850
  activeRunId: string | null;
14988
15851
  lastMessageAt?: string;
@@ -15005,6 +15868,11 @@ export declare const listAgentThreadsOptions: (options?: Options<ListAgentThread
15005
15868
  }] & {
15006
15869
  [dataTagSymbol]: {
15007
15870
  threads: Array<{
15871
+ sandboxState?: {
15872
+ name: string;
15873
+ status: "new" | "busy" | "ready" | "blocked" | "unavailable";
15874
+ initialized: boolean;
15875
+ };
15008
15876
  id: string;
15009
15877
  projectId: string;
15010
15878
  ownerPrincipal: {
@@ -15012,6 +15880,11 @@ export declare const listAgentThreadsOptions: (options?: Options<ListAgentThread
15012
15880
  id: string;
15013
15881
  };
15014
15882
  title?: string;
15883
+ sandboxParams?: {
15884
+ [key: string]: string | number | boolean | Array<unknown> | {
15885
+ [key: string]: unknown;
15886
+ } | null;
15887
+ };
15015
15888
  status: "active" | "archived";
15016
15889
  activeRunId: string | null;
15017
15890
  lastMessageAt?: string;
@@ -15031,6 +15904,11 @@ export declare const listAgentThreadsInfiniteQueryKey: (options?: Options<ListAg
15031
15904
  */
15032
15905
  export declare const listAgentThreadsInfiniteOptions: (options?: Options<ListAgentThreadsData>) => import("@tanstack/react-query").UseInfiniteQueryOptions<{
15033
15906
  threads: Array<{
15907
+ sandboxState?: {
15908
+ name: string;
15909
+ status: "new" | "busy" | "ready" | "blocked" | "unavailable";
15910
+ initialized: boolean;
15911
+ };
15034
15912
  id: string;
15035
15913
  projectId: string;
15036
15914
  ownerPrincipal: {
@@ -15038,6 +15916,11 @@ export declare const listAgentThreadsInfiniteOptions: (options?: Options<ListAge
15038
15916
  id: string;
15039
15917
  };
15040
15918
  title?: string;
15919
+ sandboxParams?: {
15920
+ [key: string]: string | number | boolean | Array<unknown> | {
15921
+ [key: string]: unknown;
15922
+ } | null;
15923
+ };
15041
15924
  status: "active" | "archived";
15042
15925
  activeRunId: string | null;
15043
15926
  lastMessageAt?: string;
@@ -15049,6 +15932,11 @@ export declare const listAgentThreadsInfiniteOptions: (options?: Options<ListAge
15049
15932
  total: number;
15050
15933
  }, ListAgentThreadsError, InfiniteData<{
15051
15934
  threads: Array<{
15935
+ sandboxState?: {
15936
+ name: string;
15937
+ status: "new" | "busy" | "ready" | "blocked" | "unavailable";
15938
+ initialized: boolean;
15939
+ };
15052
15940
  id: string;
15053
15941
  projectId: string;
15054
15942
  ownerPrincipal: {
@@ -15056,6 +15944,11 @@ export declare const listAgentThreadsInfiniteOptions: (options?: Options<ListAge
15056
15944
  id: string;
15057
15945
  };
15058
15946
  title?: string;
15947
+ sandboxParams?: {
15948
+ [key: string]: string | number | boolean | Array<unknown> | {
15949
+ [key: string]: unknown;
15950
+ } | null;
15951
+ };
15059
15952
  status: "active" | "archived";
15060
15953
  activeRunId: string | null;
15061
15954
  lastMessageAt?: string;
@@ -15072,6 +15965,11 @@ export declare const listAgentThreadsInfiniteOptions: (options?: Options<ListAge
15072
15965
  }, "query" | "body" | "headers" | "path">> & {
15073
15966
  initialData: InfiniteData<{
15074
15967
  threads: Array<{
15968
+ sandboxState?: {
15969
+ name: string;
15970
+ status: "new" | "busy" | "ready" | "blocked" | "unavailable";
15971
+ initialized: boolean;
15972
+ };
15075
15973
  id: string;
15076
15974
  projectId: string;
15077
15975
  ownerPrincipal: {
@@ -15079,6 +15977,11 @@ export declare const listAgentThreadsInfiniteOptions: (options?: Options<ListAge
15079
15977
  id: string;
15080
15978
  };
15081
15979
  title?: string;
15980
+ sandboxParams?: {
15981
+ [key: string]: string | number | boolean | Array<unknown> | {
15982
+ [key: string]: unknown;
15983
+ } | null;
15984
+ };
15082
15985
  status: "active" | "archived";
15083
15986
  activeRunId: string | null;
15084
15987
  lastMessageAt?: string;
@@ -15094,6 +15997,11 @@ export declare const listAgentThreadsInfiniteOptions: (options?: Options<ListAge
15094
15997
  tags?: ReadonlyArray<string>;
15095
15998
  }, "query" | "body" | "headers" | "path">> | (() => InfiniteData<{
15096
15999
  threads: Array<{
16000
+ sandboxState?: {
16001
+ name: string;
16002
+ status: "new" | "busy" | "ready" | "blocked" | "unavailable";
16003
+ initialized: boolean;
16004
+ };
15097
16005
  id: string;
15098
16006
  projectId: string;
15099
16007
  ownerPrincipal: {
@@ -15101,6 +16009,11 @@ export declare const listAgentThreadsInfiniteOptions: (options?: Options<ListAge
15101
16009
  id: string;
15102
16010
  };
15103
16011
  title?: string;
16012
+ sandboxParams?: {
16013
+ [key: string]: string | number | boolean | Array<unknown> | {
16014
+ [key: string]: unknown;
16015
+ } | null;
16016
+ };
15104
16017
  status: "active" | "archived";
15105
16018
  activeRunId: string | null;
15106
16019
  lastMessageAt?: string;
@@ -15119,6 +16032,11 @@ export declare const listAgentThreadsInfiniteOptions: (options?: Options<ListAge
15119
16032
  queryKey: QueryKey<Options<ListAgentThreadsData>> & {
15120
16033
  [dataTagSymbol]: InfiniteData<{
15121
16034
  threads: Array<{
16035
+ sandboxState?: {
16036
+ name: string;
16037
+ status: "new" | "busy" | "ready" | "blocked" | "unavailable";
16038
+ initialized: boolean;
16039
+ };
15122
16040
  id: string;
15123
16041
  projectId: string;
15124
16042
  ownerPrincipal: {
@@ -15126,6 +16044,11 @@ export declare const listAgentThreadsInfiniteOptions: (options?: Options<ListAge
15126
16044
  id: string;
15127
16045
  };
15128
16046
  title?: string;
16047
+ sandboxParams?: {
16048
+ [key: string]: string | number | boolean | Array<unknown> | {
16049
+ [key: string]: unknown;
16050
+ } | null;
16051
+ };
15129
16052
  status: "active" | "archived";
15130
16053
  activeRunId: string | null;
15131
16054
  lastMessageAt?: string;
@@ -15152,6 +16075,11 @@ export declare const getAgentThreadQueryKey: (options: Options<GetAgentThreadDat
15152
16075
  * Get agent thread
15153
16076
  */
15154
16077
  export declare const getAgentThreadOptions: (options: Options<GetAgentThreadData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
16078
+ sandboxState?: {
16079
+ name: string;
16080
+ status: "new" | "busy" | "ready" | "blocked" | "unavailable";
16081
+ initialized: boolean;
16082
+ };
15155
16083
  id: string;
15156
16084
  projectId: string;
15157
16085
  ownerPrincipal: {
@@ -15159,6 +16087,11 @@ export declare const getAgentThreadOptions: (options: Options<GetAgentThreadData
15159
16087
  id: string;
15160
16088
  };
15161
16089
  title?: string;
16090
+ sandboxParams?: {
16091
+ [key: string]: string | number | boolean | Array<unknown> | {
16092
+ [key: string]: unknown;
16093
+ } | null;
16094
+ };
15162
16095
  status: "active" | "archived";
15163
16096
  activeRunId: string | null;
15164
16097
  lastMessageAt?: string;
@@ -15166,6 +16099,11 @@ export declare const getAgentThreadOptions: (options: Options<GetAgentThreadData
15166
16099
  createdAt: string;
15167
16100
  updatedAt: string;
15168
16101
  }, GetAgentThreadError, {
16102
+ sandboxState?: {
16103
+ name: string;
16104
+ status: "new" | "busy" | "ready" | "blocked" | "unavailable";
16105
+ initialized: boolean;
16106
+ };
15169
16107
  id: string;
15170
16108
  projectId: string;
15171
16109
  ownerPrincipal: {
@@ -15173,6 +16111,11 @@ export declare const getAgentThreadOptions: (options: Options<GetAgentThreadData
15173
16111
  id: string;
15174
16112
  };
15175
16113
  title?: string;
16114
+ sandboxParams?: {
16115
+ [key: string]: string | number | boolean | Array<unknown> | {
16116
+ [key: string]: unknown;
16117
+ } | null;
16118
+ };
15176
16119
  status: "active" | "archived";
15177
16120
  activeRunId: string | null;
15178
16121
  lastMessageAt?: string;
@@ -15185,6 +16128,11 @@ export declare const getAgentThreadOptions: (options: Options<GetAgentThreadData
15185
16128
  tags?: ReadonlyArray<string>;
15186
16129
  }]>, "queryFn"> & {
15187
16130
  queryFn?: import("@tanstack/react-query").QueryFunction<{
16131
+ sandboxState?: {
16132
+ name: string;
16133
+ status: "new" | "busy" | "ready" | "blocked" | "unavailable";
16134
+ initialized: boolean;
16135
+ };
15188
16136
  id: string;
15189
16137
  projectId: string;
15190
16138
  ownerPrincipal: {
@@ -15192,6 +16140,11 @@ export declare const getAgentThreadOptions: (options: Options<GetAgentThreadData
15192
16140
  id: string;
15193
16141
  };
15194
16142
  title?: string;
16143
+ sandboxParams?: {
16144
+ [key: string]: string | number | boolean | Array<unknown> | {
16145
+ [key: string]: unknown;
16146
+ } | null;
16147
+ };
15195
16148
  status: "active" | "archived";
15196
16149
  activeRunId: string | null;
15197
16150
  lastMessageAt?: string;
@@ -15210,6 +16163,11 @@ export declare const getAgentThreadOptions: (options: Options<GetAgentThreadData
15210
16163
  tags?: ReadonlyArray<string>;
15211
16164
  }] & {
15212
16165
  [dataTagSymbol]: {
16166
+ sandboxState?: {
16167
+ name: string;
16168
+ status: "new" | "busy" | "ready" | "blocked" | "unavailable";
16169
+ initialized: boolean;
16170
+ };
15213
16171
  id: string;
15214
16172
  projectId: string;
15215
16173
  ownerPrincipal: {
@@ -15217,6 +16175,11 @@ export declare const getAgentThreadOptions: (options: Options<GetAgentThreadData
15217
16175
  id: string;
15218
16176
  };
15219
16177
  title?: string;
16178
+ sandboxParams?: {
16179
+ [key: string]: string | number | boolean | Array<unknown> | {
16180
+ [key: string]: unknown;
16181
+ } | null;
16182
+ };
15220
16183
  status: "active" | "archived";
15221
16184
  activeRunId: string | null;
15222
16185
  lastMessageAt?: string;
@@ -15227,6 +16190,10 @@ export declare const getAgentThreadOptions: (options: Options<GetAgentThreadData
15227
16190
  [dataTagErrorSymbol]: GetAgentThreadError;
15228
16191
  };
15229
16192
  };
16193
+ /**
16194
+ * Explicitly recreate an unavailable or uncertain workspace without deleting its previous state
16195
+ */
16196
+ export declare const recreateAgentThreadSandboxMutation: (options?: Partial<Options<RecreateAgentThreadSandboxData>>) => UseMutationOptions<RecreateAgentThreadSandboxResponse, RecreateAgentThreadSandboxError, Options<RecreateAgentThreadSandboxData>>;
15230
16197
  export declare const listAgentThreadMessagesQueryKey: (options: Options<ListAgentThreadMessagesData>) => [Pick<Options<ListAgentThreadMessagesData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
15231
16198
  _id: string;
15232
16199
  _infinite?: boolean;