@stackone/core 2.35.1 → 2.37.0

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/index.d.cts CHANGED
@@ -1194,8 +1194,16 @@ type StepLog = {
1194
1194
  //#endregion
1195
1195
  //#region ../olap/src/types.d.ts
1196
1196
  interface IOlapClient {
1197
- recordAction(actionInput: ActionInput, actionResult: ActionResult, options?: OlapOptions): void;
1198
- recordStep(stepInput: StepInput, stepResult: StepResult, options?: OlapOptions): void;
1197
+ recordAction(actionInput: ActionInput, actionResult: ActionResult, options?: OlapOptions): Promise<void>;
1198
+ recordActions(actions: Array<{
1199
+ input: ActionInput;
1200
+ result: ActionResult;
1201
+ }>, options?: OlapOptions): Promise<void>;
1202
+ recordStep(stepInput: StepInput, stepResult: StepResult, options?: OlapOptions): Promise<void>;
1203
+ recordSteps(steps: Array<{
1204
+ input: StepInput;
1205
+ result: StepResult;
1206
+ }>, options?: OlapOptions): Promise<void>;
1199
1207
  getActionLogs(organizationId: string, projectSecureId: string, query: ActionsQuery): Promise<ActionsQueryResult>;
1200
1208
  getActionLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<ActionLog | undefined>;
1201
1209
  getStepLogs(organizationId: string, projectSecureId: string, query: StepsQuery): Promise<StepsQueryResult>;
@@ -1326,7 +1334,6 @@ type DefenderSettings = {
1326
1334
  largeResponseBehavior?: 'skip' | 'block' | 'scan_anyway';
1327
1335
  maxResponseSize?: number;
1328
1336
  maxResponseWords?: number;
1329
- useDefaultToolRules?: boolean;
1330
1337
  tier2Fields?: string[];
1331
1338
  };
1332
1339
  //#endregion
@@ -1713,6 +1720,8 @@ type AuthenticationField = {
1713
1720
  description?: string;
1714
1721
  tooltip?: string;
1715
1722
  externalSystemAccountIdentifier?: boolean;
1723
+ value?: string;
1724
+ computed?: boolean;
1716
1725
  };
1717
1726
  type SupportConfig = {
1718
1727
  link?: string;
package/dist/index.d.mts CHANGED
@@ -1193,8 +1193,16 @@ type StepLog = {
1193
1193
  //#endregion
1194
1194
  //#region ../olap/src/types.d.ts
1195
1195
  interface IOlapClient {
1196
- recordAction(actionInput: ActionInput, actionResult: ActionResult, options?: OlapOptions): void;
1197
- recordStep(stepInput: StepInput, stepResult: StepResult, options?: OlapOptions): void;
1196
+ recordAction(actionInput: ActionInput, actionResult: ActionResult, options?: OlapOptions): Promise<void>;
1197
+ recordActions(actions: Array<{
1198
+ input: ActionInput;
1199
+ result: ActionResult;
1200
+ }>, options?: OlapOptions): Promise<void>;
1201
+ recordStep(stepInput: StepInput, stepResult: StepResult, options?: OlapOptions): Promise<void>;
1202
+ recordSteps(steps: Array<{
1203
+ input: StepInput;
1204
+ result: StepResult;
1205
+ }>, options?: OlapOptions): Promise<void>;
1198
1206
  getActionLogs(organizationId: string, projectSecureId: string, query: ActionsQuery): Promise<ActionsQueryResult>;
1199
1207
  getActionLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<ActionLog | undefined>;
1200
1208
  getStepLogs(organizationId: string, projectSecureId: string, query: StepsQuery): Promise<StepsQueryResult>;
@@ -1325,7 +1333,6 @@ type DefenderSettings = {
1325
1333
  largeResponseBehavior?: 'skip' | 'block' | 'scan_anyway';
1326
1334
  maxResponseSize?: number;
1327
1335
  maxResponseWords?: number;
1328
- useDefaultToolRules?: boolean;
1329
1336
  tier2Fields?: string[];
1330
1337
  };
1331
1338
  //#endregion
@@ -1712,6 +1719,8 @@ type AuthenticationField = {
1712
1719
  description?: string;
1713
1720
  tooltip?: string;
1714
1721
  externalSystemAccountIdentifier?: boolean;
1722
+ value?: string;
1723
+ computed?: boolean;
1715
1724
  };
1716
1725
  type SupportConfig = {
1717
1726
  link?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackone/core",
3
- "version": "2.35.1",
3
+ "version": "2.37.0",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",