@spiffcommerce/core 16.5.0-rc.0 → 16.5.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.ts CHANGED
@@ -67,7 +67,6 @@ interface WorkflowScene {
67
67
  /**
68
68
  * Steps which don't display to the user.
69
69
  * Their behavior is always silent & executed in the background.
70
- * @deprecated Silent steps are no longer handled seperately from normal steps.
71
70
  */
72
71
  silentSteps: Step<AnyStepData>[];
73
72
  }
@@ -1376,9 +1375,6 @@ interface ExperienceOptions {
1376
1375
  product: Product;
1377
1376
  transaction: Transaction;
1378
1377
  workflow?: Workflow;
1379
- /**
1380
- * @deprecated favor inject / eject functions.
1381
- */
1382
1378
  previewService?: ThreeDPreviewService;
1383
1379
  modelContainer?: ModelContainer;
1384
1380
  renderableContextService?: LayoutPreviewService;
@@ -1394,15 +1390,8 @@ interface ExperienceOptions {
1394
1390
  stateMutationFunc: StateMutationFunc;
1395
1391
  /**
1396
1392
  * Should be set to true when the experience is loaded from an existing transaction.
1397
- * FIXME: Wouldn't we know this from existance of reloadedState
1398
1393
  */
1399
1394
  isReloadedTransaction?: boolean;
1400
- /**
1401
- * When true the system will treat steps with
1402
- * a single variant as renderable. False
1403
- * by default.
1404
- */
1405
- singleVariantsRenderable?: boolean;
1406
1395
  }
1407
1396
  /**
1408
1397
  * A Workflow experience encapsulates the workflow manager and command context. It
@@ -1667,9 +1656,10 @@ declare class CollectionProduct {
1667
1656
  /**
1668
1657
  * A helper function for getting integrations
1669
1658
  * @param type The type of integration you want.
1659
+ * @param externalId An external integration ID to further filter by. Otherwise we return the first encountered.
1670
1660
  * @returns The integration if found. Throws an error if not found as this data is typically a neccesity.
1671
1661
  */
1672
- getIntegrationByType(type: IntegrationType): IntegrationProduct;
1662
+ getIntegrationByType(type: IntegrationType, externalId?: string): IntegrationProduct;
1673
1663
  /**
1674
1664
  * A helper function for pulling the default workflow.
1675
1665
  */
@@ -2129,18 +2119,6 @@ interface GetWorkflowOptionsBase {
2129
2119
  * An existing preview service to use, instead of creating a new one.
2130
2120
  */
2131
2121
  previewService?: ThreeDPreviewService;
2132
- /**
2133
- * Coniguration related to the
2134
- * workflow and how the system interprets it.
2135
- */
2136
- workflowConfiguration?: {
2137
- /**
2138
- * False by default, when true the system will treat
2139
- * steps with a single variant
2140
- * as being renderable.
2141
- */
2142
- singleVariantsRenderable?: boolean;
2143
- };
2144
2122
  /**
2145
2123
  * Configuration for the graphQL request made for workflows. Allows for retrieval
2146
2124
  * of additional data.