@stackone/connect-sdk 2.46.0 → 2.47.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
@@ -429,8 +429,16 @@ type StepLog = {
429
429
  //#endregion
430
430
  //#region ../olap/src/types.d.ts
431
431
  interface IOlapClient {
432
- recordAction(actionInput: ActionInput, actionResult: ActionResult, options?: OlapOptions): void;
433
- recordStep(stepInput: StepInput, stepResult: StepResult, options?: OlapOptions): void;
432
+ recordAction(actionInput: ActionInput, actionResult: ActionResult, options?: OlapOptions): Promise<void>;
433
+ recordActions(actions: Array<{
434
+ input: ActionInput;
435
+ result: ActionResult;
436
+ }>, options?: OlapOptions): Promise<void>;
437
+ recordStep(stepInput: StepInput, stepResult: StepResult, options?: OlapOptions): Promise<void>;
438
+ recordSteps(steps: Array<{
439
+ input: StepInput;
440
+ result: StepResult;
441
+ }>, options?: OlapOptions): Promise<void>;
434
442
  getActionLogs(organizationId: string, projectSecureId: string, query: ActionsQuery): Promise<ActionsQueryResult>;
435
443
  getActionLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<ActionLog | undefined>;
436
444
  getStepLogs(organizationId: string, projectSecureId: string, query: StepsQuery): Promise<StepsQueryResult>;
package/dist/index.d.mts CHANGED
@@ -429,8 +429,16 @@ type StepLog = {
429
429
  //#endregion
430
430
  //#region ../olap/src/types.d.ts
431
431
  interface IOlapClient {
432
- recordAction(actionInput: ActionInput, actionResult: ActionResult, options?: OlapOptions): void;
433
- recordStep(stepInput: StepInput, stepResult: StepResult, options?: OlapOptions): void;
432
+ recordAction(actionInput: ActionInput, actionResult: ActionResult, options?: OlapOptions): Promise<void>;
433
+ recordActions(actions: Array<{
434
+ input: ActionInput;
435
+ result: ActionResult;
436
+ }>, options?: OlapOptions): Promise<void>;
437
+ recordStep(stepInput: StepInput, stepResult: StepResult, options?: OlapOptions): Promise<void>;
438
+ recordSteps(steps: Array<{
439
+ input: StepInput;
440
+ result: StepResult;
441
+ }>, options?: OlapOptions): Promise<void>;
434
442
  getActionLogs(organizationId: string, projectSecureId: string, query: ActionsQuery): Promise<ActionsQueryResult>;
435
443
  getActionLog(organizationId: string, projectSecureId: string, actionRunId: string): Promise<ActionLog | undefined>;
436
444
  getStepLogs(organizationId: string, projectSecureId: string, query: StepsQuery): Promise<StepsQueryResult>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackone/connect-sdk",
3
- "version": "2.46.0",
3
+ "version": "2.47.0",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",