@stackone/core 1.73.0 → 1.73.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/index.d.mts CHANGED
@@ -566,10 +566,12 @@ type Block = {
566
566
  successful: boolean;
567
567
  message?: string;
568
568
  };
569
+ statistics?: BlockStatistics;
569
570
  fieldConfigs?: FieldConfig[];
570
571
  result?: BlockIndexedRecord[] | BlockIndexedRecord;
571
572
  };
572
573
  type BlockContext = {
574
+ organizationId?: string;
573
575
  projectSecureId: string;
574
576
  accountSecureId: string;
575
577
  connectorKey: string;
@@ -580,6 +582,11 @@ type BlockContext = {
580
582
  authenticationType: string;
581
583
  environment: string;
582
584
  actionRunId?: string;
585
+ originOwnerId?: string;
586
+ originOwnerName?: string;
587
+ sourceType?: string;
588
+ sourceId?: string;
589
+ sourceValue?: string;
583
590
  service: string;
584
591
  resource: string;
585
592
  subResource?: string;
@@ -615,6 +622,10 @@ type DebugParams = {
615
622
  custom_mappings?: 'disabled' | 'enabled';
616
623
  };
617
624
  type Credentials = Record<string, unknown>;
625
+ type BlockStatistics = {
626
+ startTime?: string;
627
+ endTime?: string;
628
+ };
618
629
  //#endregion
619
630
  //#region src/stepFunctions/types.d.ts
620
631
  type StepFunction = ({
@@ -655,6 +666,7 @@ type StepSnapshot = {
655
666
  skipped?: boolean;
656
667
  message?: string;
657
668
  errors?: StepError[];
669
+ statistics?: StepStatistics;
658
670
  };
659
671
  type StepsSnapshots = {
660
672
  [stepId: string]: StepSnapshot;
@@ -671,6 +683,10 @@ type Step = {
671
683
  successCriteria?: string;
672
684
  condition?: string;
673
685
  };
686
+ type StepStatistics = {
687
+ startTime?: string;
688
+ endTime?: string;
689
+ };
674
690
  //#endregion
675
691
  //#region src/connector/types.d.ts
676
692
  declare const ReleaseStages: readonly ["preview", "beta", "ga", "deprecated"];
@@ -907,7 +923,7 @@ type Account = {
907
923
  providerVersion: string;
908
924
  authConfigKey: string;
909
925
  environment: string;
910
- organizationId: number;
926
+ organizationId: string;
911
927
  secureId: string;
912
928
  credentials?: Record<string, unknown>;
913
929
  projectSecureId: string;
package/dist/index.d.ts CHANGED
@@ -566,10 +566,12 @@ type Block = {
566
566
  successful: boolean;
567
567
  message?: string;
568
568
  };
569
+ statistics?: BlockStatistics;
569
570
  fieldConfigs?: FieldConfig[];
570
571
  result?: BlockIndexedRecord[] | BlockIndexedRecord;
571
572
  };
572
573
  type BlockContext = {
574
+ organizationId?: string;
573
575
  projectSecureId: string;
574
576
  accountSecureId: string;
575
577
  connectorKey: string;
@@ -580,6 +582,11 @@ type BlockContext = {
580
582
  authenticationType: string;
581
583
  environment: string;
582
584
  actionRunId?: string;
585
+ originOwnerId?: string;
586
+ originOwnerName?: string;
587
+ sourceType?: string;
588
+ sourceId?: string;
589
+ sourceValue?: string;
583
590
  service: string;
584
591
  resource: string;
585
592
  subResource?: string;
@@ -615,6 +622,10 @@ type DebugParams = {
615
622
  custom_mappings?: 'disabled' | 'enabled';
616
623
  };
617
624
  type Credentials = Record<string, unknown>;
625
+ type BlockStatistics = {
626
+ startTime?: string;
627
+ endTime?: string;
628
+ };
618
629
  //#endregion
619
630
  //#region src/stepFunctions/types.d.ts
620
631
  type StepFunction = ({
@@ -655,6 +666,7 @@ type StepSnapshot = {
655
666
  skipped?: boolean;
656
667
  message?: string;
657
668
  errors?: StepError[];
669
+ statistics?: StepStatistics;
658
670
  };
659
671
  type StepsSnapshots = {
660
672
  [stepId: string]: StepSnapshot;
@@ -671,6 +683,10 @@ type Step = {
671
683
  successCriteria?: string;
672
684
  condition?: string;
673
685
  };
686
+ type StepStatistics = {
687
+ startTime?: string;
688
+ endTime?: string;
689
+ };
674
690
  //#endregion
675
691
  //#region src/connector/types.d.ts
676
692
  declare const ReleaseStages: readonly ["preview", "beta", "ga", "deprecated"];
@@ -907,7 +923,7 @@ type Account = {
907
923
  providerVersion: string;
908
924
  authConfigKey: string;
909
925
  environment: string;
910
- organizationId: number;
926
+ organizationId: string;
911
927
  secureId: string;
912
928
  credentials?: Record<string, unknown>;
913
929
  projectSecureId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackone/core",
3
- "version": "1.73.0",
3
+ "version": "1.73.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",