@spiffcommerce/core 33.1.0 → 33.2.1-beta.01146196-c06a-5f3e-8bc9-535ef008ae9f

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/CHANGELOG.md CHANGED
@@ -14,6 +14,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
14
14
  - `Fixed` for any bug fixes.
15
15
  - `Security` in case of vulnerabilities.
16
16
 
17
+ ## [33.2.0] - 20-10-2025
18
+
19
+ ### Changed
20
+
21
+ - Global aspects can now be configured to check their conditions using a logical "AND" or "OR", rather than just "OR".
22
+
17
23
  ## [33.1.0] - 20-10-2025
18
24
 
19
25
  ### Fixed
package/dist/index.d.ts CHANGED
@@ -2401,6 +2401,8 @@ interface GetNewWorkflowExperienceOptionsBase extends GetWorkflowOptionsBase {
2401
2401
  workflowState?: string;
2402
2402
  }
2403
2403
  interface GetWorkflowExperienceFromBlankOptions extends GetNewWorkflowExperienceOptionsBase {
2404
+ quantity?: number;
2405
+ recipient?: any;
2404
2406
  type: "blank";
2405
2407
  }
2406
2408
  interface GetWorkflowExperienceFromIntegrationProductOptions extends GetNewWorkflowExperienceOptionsBase {
@@ -2805,6 +2807,10 @@ interface WorkflowManager {
2805
2807
  [key: string]: any;
2806
2808
  };
2807
2809
  traversableScenes(): Promise<WorkflowScene[]>;
2810
+ /**
2811
+ * Forcibly re-renders all layouts.
2812
+ */
2813
+ renderLayouts(): void;
2808
2814
  }
2809
2815
 
2810
2816
  declare enum AssetType {
@@ -2965,6 +2971,10 @@ interface GlobalPropertyConfiguration {
2965
2971
  id: string;
2966
2972
  aspects: GlobalPropertyConfigurationAspect[];
2967
2973
  }
2974
+ declare enum GlobalPropertyConfigurationConditionMode {
2975
+ AND = "AND",
2976
+ OR = "OR"
2977
+ }
2968
2978
  interface GlobalPropertyConfigurationAspect {
2969
2979
  name: string;
2970
2980
  type: AspectType;
@@ -2972,6 +2982,7 @@ interface GlobalPropertyConfigurationAspect {
2972
2982
  description: string;
2973
2983
  entityId?: string;
2974
2984
  conditions?: GlobalPropertyConfigurationAspectCondition[];
2985
+ conditionMode?: GlobalPropertyConfigurationConditionMode;
2975
2986
  data?: GlobalPropertyConfigurationAspectData;
2976
2987
  mandatory?: boolean;
2977
2988
  }
@@ -5203,6 +5214,7 @@ declare class DigitalContentStepService implements StepService<DigitalContentSte
5203
5214
  declare const digitalContentStepService: DigitalContentStepService;
5204
5215
 
5205
5216
  declare class MockWorkflowManager implements WorkflowManager {
5217
+ renderLayouts(): void;
5206
5218
  traversableScenes(): Promise<WorkflowScene[]>;
5207
5219
  getMandatoryUnfulfilledSteps: () => string[];
5208
5220
  getTemplatingContext: () => Promise<{