@sixb/client 0.0.1 → 0.1.1

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.js CHANGED
@@ -5,11 +5,11 @@ import {
5
5
  configureSixbClient,
6
6
  isSixbApiError,
7
7
  normalizeSixbApiBaseUrl
8
- } from "./chunk-aw8rcsq3.js";
8
+ } from "./chunk-6w5w9e75.js";
9
9
  import {
10
10
  client,
11
11
  getAuthSession
12
- } from "./chunk-ctsdm59b.js";
12
+ } from "./chunk-h8bd95xf.js";
13
13
  // src/browser.ts
14
14
  var SESSION_ACTIVITY_HEADER_NAME = "x-sixb-session-activity";
15
15
  var SESSION_ACTIVITY_HEADER_VALUE = "1";
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  createReconnectingSocket,
4
4
  createSixbWebSocketUrl
5
- } from "./chunk-3g6ad4jc.js";
5
+ } from "./chunk-2vsyqn32.js";
6
6
  import {
7
7
  listLogs
8
- } from "./chunk-ctsdm59b.js";
8
+ } from "./chunk-h8bd95xf.js";
9
9
 
10
10
  // src/logs.ts
11
11
  import { isStoredLogLine as isStoredLogLine2, isStoredLogLine as isStoredLogLine3 } from "@sixb/core/logging";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  client
4
- } from "./chunk-ctsdm59b.js";
4
+ } from "./chunk-h8bd95xf.js";
5
5
 
6
6
  // src/ws-socket.ts
7
7
  var DEFAULT_SIXB_API_BASE_URL = "http://localhost:3002";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  createClient,
4
4
  createConfig
5
- } from "./chunk-ctsdm59b.js";
5
+ } from "./chunk-h8bd95xf.js";
6
6
 
7
7
  // src/api.ts
8
8
  var SIXB_CSRF_HEADER_NAME = "x-sixb-csrf";
@@ -2,14 +2,14 @@
2
2
  import {
3
3
  createReconnectingSocket,
4
4
  createSixbWebSocketUrl
5
- } from "./chunk-3g6ad4jc.js";
5
+ } from "./chunk-2vsyqn32.js";
6
6
  import {
7
7
  decodeObjectId,
8
8
  encodeObjectId
9
- } from "./chunk-05yz32g0.js";
9
+ } from "./chunk-w527w02k.js";
10
10
  import {
11
11
  isSixbApiError
12
- } from "./chunk-aw8rcsq3.js";
12
+ } from "./chunk-6w5w9e75.js";
13
13
  import {
14
14
  abortFileUpload,
15
15
  completeFileUpload,
@@ -19,7 +19,7 @@ import {
19
19
  signFileUploadPart,
20
20
  uploadFileContent,
21
21
  uploadFileRaw
22
- } from "./chunk-ctsdm59b.js";
22
+ } from "./chunk-h8bd95xf.js";
23
23
 
24
24
  // src/agent-streams.ts
25
25
  import { AGENT_RUN_STREAM_SCHEMA_VERSION } from "@sixb/core/agents/streams";
@@ -1070,10 +1070,12 @@ var cancelWorkflowIntervention = (options) => (options.client ?? client).post({
1070
1070
  }
1071
1071
  });
1072
1072
  var listWorkflowRuns = (options) => (options?.client ?? client).get({
1073
+ security: [{ scheme: "bearer", type: "http" }],
1073
1074
  url: "/api/workflow-runs",
1074
1075
  ...options
1075
1076
  });
1076
1077
  var getWorkflowRun = (options) => (options.client ?? client).get({
1078
+ security: [{ scheme: "bearer", type: "http" }],
1077
1079
  url: "/api/workflow-runs/{runId}",
1078
1080
  ...options
1079
1081
  });
@@ -1257,7 +1259,10 @@ var requestAction = (options) => (options.client ?? client).post({
1257
1259
  });
1258
1260
  var uploadFileRaw = (options) => (options.client ?? client).post({
1259
1261
  ...formDataBodySerializer,
1260
- security: [{ name: "x-sixb-csrf", type: "apiKey" }],
1262
+ security: [
1263
+ { name: "x-sixb-csrf", type: "apiKey" },
1264
+ { scheme: "bearer", type: "http" }
1265
+ ],
1261
1266
  url: "/api/files",
1262
1267
  ...options,
1263
1268
  headers: {
@@ -1304,6 +1309,7 @@ var abortFileUpload = (options) => (options.client ?? client).post({
1304
1309
  ...options
1305
1310
  });
1306
1311
  var listActionRuns = (options) => (options?.client ?? client).get({
1312
+ security: [{ scheme: "bearer", type: "http" }],
1307
1313
  url: "/api/action-runs",
1308
1314
  ...options
1309
1315
  });
@@ -1387,6 +1393,7 @@ var getAgentRun = (options) => (options.client ?? client).get({
1387
1393
  ...options
1388
1394
  });
1389
1395
  var listObjectLinks = (options) => (options.client ?? client).get({
1396
+ security: [{ scheme: "bearer", type: "http" }],
1390
1397
  url: "/api/objects/{objectTypeId}/{objectId}/links",
1391
1398
  ...options
1392
1399
  });
@@ -1474,4 +1481,4 @@ var listWebhookRuns = (options) => (options?.client ?? client).get({
1474
1481
 
1475
1482
  export { createConfig, createClient, client, getAuthSession, signOut, listAuthSessions, revokeAuthSession, signOutAll, getAuthAccessManagementOptions, listAuthAccessTokens, createAuthPersonalAccessToken, revokeAuthAccessToken, listAuthServiceAccounts, createAuthServiceAccount, disableAuthServiceAccount, listAuthServiceAccountAccessTokens, createAuthServiceAccountAccessToken, revokeAuthServiceAccountAccessToken, listAuthInvitations, createAuthInvitation, getAuthInvitationOptions, revokeAuthInvitation, getAuthMembershipOptions, listAuthMembers, updateAuthMemberGroups, suspendAuthMember, reactivateAuthMember, getProjectInfo, getStatus, listConnectors, getConnector, listDatasets, getDataset, listDatasetVersions, getDatasetVersion, listDatasetRows, listSyncs, getSync, listSyncRuns, requestSyncRun, listPipelines, getPipeline, listPipelineRuns, getPipelineRun, requestPipelineRun, listWorkflows, getWorkflow, listWorkflowInterventions, getWorkflowIntervention, submitWorkflowIntervention, cancelWorkflowIntervention, listWorkflowRuns, getWorkflowRun, getWorkflowAgentNodeExecution, cancelWorkflowRun, getWorkflowRunFileContent, headWorkflowRunFileContent, getWorkflowNodeRunFileContent, headWorkflowNodeRunFileContent, requestWorkflowRun, listRules, getRule, listRuleStates, listObjectTypes, getObjectType, searchObjects, listObjects, queryObjects, countObjects, existsObjects, facetObjects, getObjectFileContent, headObjectFileContent, getObject, upsertObject, listActions, getAction, requestAction, uploadFileRaw, createFileUpload, uploadFileContent, signFileUploadPart, completeFileUpload, abortFileUpload, listActionRuns, getActionRun, getActionRunFileContent, headActionRunFileContent, listAgents, getAgent, listAgentThreads, createAgentThread, getAgentThread, listAgentThreadMessages, postAgentThreadMessage, getAgentMessageFileContent, headAgentMessageFileContent, cancelAgentRun, retryAgentRun, listAgentThreadRuns, getAgentRun, listObjectLinks, removeObjectLink, upsertObjectLink, appendTelemetry, getBulkTelemetryHistory, getTelemetryHistory, getLatestTelemetry, listEvents, listLogs, listProjections, getProjection, listProjectionRuns, getProjectionRun, listWebhookRuns };
1476
1483
 
1477
- //# debugId=A1CB9DBD45FF01AD64756E2164756E21
1484
+ //# debugId=238891BA7D578CCE64756E2164756E21