@stackone/core 2.5.0 → 2.6.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
@@ -709,9 +709,17 @@ type AdvancedOptions = {
709
709
  //#endregion
710
710
  //#region ../olap/src/types.d.ts
711
711
  interface IOlapClient {
712
- recordAction(actionResult: ActionResult, options?: OlapOptions): void;
713
- recordStep(stepResult: StepResult, options?: OlapOptions): void;
712
+ recordAction(actionInput: ActionInput, actionResult: ActionResult, options?: OlapOptions): void;
713
+ recordStep(stepInput: StepInput, stepResult: StepResult, options?: OlapOptions): void;
714
714
  }
715
+ type ActionInput = {
716
+ actionId?: string;
717
+ url?: string;
718
+ pathParams?: unknown;
719
+ queryParams?: unknown;
720
+ body?: unknown;
721
+ headers?: Record<string, string>;
722
+ };
715
723
  type ActionResult = {
716
724
  actionRunId: string;
717
725
  actionId: string;
@@ -736,13 +744,20 @@ type ActionResult = {
736
744
  childResource?: string;
737
745
  status?: string;
738
746
  message?: string;
739
- outputs?: unknown;
747
+ headers?: Record<string, string>;
748
+ body?: unknown;
740
749
  startTime?: Date;
741
750
  endTime?: Date;
742
751
  };
752
+ type StepInput = {
753
+ inputs?: unknown;
754
+ };
743
755
  type StepResult = {
744
756
  actionRunId: string;
745
757
  stepId: string;
758
+ organizationId: string;
759
+ projectSecureId: string;
760
+ accountSecureId: string;
746
761
  status?: string;
747
762
  message?: string;
748
763
  outputs?: unknown;
package/dist/index.d.mts CHANGED
@@ -709,9 +709,17 @@ type AdvancedOptions = {
709
709
  //#endregion
710
710
  //#region ../olap/src/types.d.ts
711
711
  interface IOlapClient {
712
- recordAction(actionResult: ActionResult, options?: OlapOptions): void;
713
- recordStep(stepResult: StepResult, options?: OlapOptions): void;
712
+ recordAction(actionInput: ActionInput, actionResult: ActionResult, options?: OlapOptions): void;
713
+ recordStep(stepInput: StepInput, stepResult: StepResult, options?: OlapOptions): void;
714
714
  }
715
+ type ActionInput = {
716
+ actionId?: string;
717
+ url?: string;
718
+ pathParams?: unknown;
719
+ queryParams?: unknown;
720
+ body?: unknown;
721
+ headers?: Record<string, string>;
722
+ };
715
723
  type ActionResult = {
716
724
  actionRunId: string;
717
725
  actionId: string;
@@ -736,13 +744,20 @@ type ActionResult = {
736
744
  childResource?: string;
737
745
  status?: string;
738
746
  message?: string;
739
- outputs?: unknown;
747
+ headers?: Record<string, string>;
748
+ body?: unknown;
740
749
  startTime?: Date;
741
750
  endTime?: Date;
742
751
  };
752
+ type StepInput = {
753
+ inputs?: unknown;
754
+ };
743
755
  type StepResult = {
744
756
  actionRunId: string;
745
757
  stepId: string;
758
+ organizationId: string;
759
+ projectSecureId: string;
760
+ accountSecureId: string;
746
761
  status?: string;
747
762
  message?: string;
748
763
  outputs?: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackone/core",
3
- "version": "2.5.0",
3
+ "version": "2.6.0",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",