@spiffcommerce/core 33.8.0 → 33.8.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.ts CHANGED
@@ -1295,6 +1295,7 @@ interface WorkflowExperience {
1295
1295
  removeEventListener(type: WorkflowExperienceEventType, callback: (workflowExperience: WorkflowExperience) => void): void;
1296
1296
  attachAddress(streetAddress?: string, apartment?: string, city?: string, country?: string, state?: string, postCode?: string): Promise<void>;
1297
1297
  attachOrganization(name: string): Promise<void>;
1298
+ callEvent(type: WorkflowExperienceEventType): any;
1298
1299
  }
1299
1300
  type ExportedStepDataPropertyType = "selection" | "color" | "image" | "text";
1300
1301
  interface ExportedStepDataProperty {
@@ -1308,8 +1309,10 @@ interface ExportedStepData {
1308
1309
  properties: ExportedStepDataProperty[];
1309
1310
  }
1310
1311
  declare enum WorkflowExperienceEventType {
1311
- QuantityChanged = "QuantityChanged",
1312
1312
  PriceBreakChanged = "PriceBreakChanged",
1313
+ ProductChanged = "ProductChanged",
1314
+ QuantityChanged = "QuantityChanged",
1315
+ RecipientChanged = "RecipientChanged",
1313
1316
  SelectionChanged = "SelectionChanged"
1314
1317
  }
1315
1318
  declare class WorkflowExperienceImpl implements WorkflowExperience {
@@ -1384,7 +1387,7 @@ declare class WorkflowExperienceImpl implements WorkflowExperience {
1384
1387
  setQuantity(quantity: number): Promise<void>;
1385
1388
  addEventListener(type: WorkflowExperienceEventType, callback: (workflowExperience: WorkflowExperience) => void): void;
1386
1389
  removeEventListener(type: WorkflowExperienceEventType, callback: (workflowExperience: WorkflowExperience) => void): void;
1387
- private callEvent;
1390
+ callEvent(type: WorkflowExperienceEventType): void;
1388
1391
  }
1389
1392
 
1390
1393
  /**