@spiffcommerce/core 32.4.0 → 33.0.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/CHANGELOG.md CHANGED
@@ -14,6 +14,19 @@ 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.0.0] - 14-10-2025
18
+
19
+ ## Changed
20
+
21
+ - Updated `WorkflowExperience` to store `transaction`, `product`, `profanityList`, and `workflow` as direct properties, initialized in the constructor for improved encapsulation and performance.
22
+
23
+ ## Added
24
+
25
+ - Added new methods to `WorkflowExperience`: `getProduct()`, `getProfanityList()`, `setProduct(integrationProductId: string)`, `getTransaction()`, `getWorkflow()`, and `setWorkflow(workflow: Workflow)` for easier access and mutation of core experience data.
26
+ - Introduced `getIntegrationProductIds()` and `addIntegrationProductId(id: string)` methods to `Bundle` and `BundleImpl` for tracking associated integration product IDs.
27
+ - Added GraphQL mutation for updating a transaction's integration product, enabling backend synchronization of integration product changes.
28
+ - Added `getState()` method to `BundleStateManager` for easier external access to the current bundle state.
29
+
17
30
  ## [32.4.0] - 16-10-2025
18
31
 
19
32
  ## Added
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { FunctionComponent, ReactNode } from 'preact/compat';
2
2
  import * as _apollo_client_core from '@apollo/client/core';
3
3
  import { OperationVariables, QueryOptions, ApolloQueryResult, DefaultContext, MutationOptions, FetchResult, ApolloClient } from '@apollo/client/core';
4
- import { RenderableContextService, RenderableContext, ThreeDPreviewService, ModelContainer } from '@spiffcommerce/preview';
4
+ import { RenderableContextService, RenderableContext, ModelContainer, ThreeDPreviewService } from '@spiffcommerce/preview';
5
5
  import * as lodash from 'lodash';
6
6
  import { CompleteQuoteMessage, ThemeInstallConfigurationGraphQl, ConversionConfiguration } from '@spiffcommerce/theme-bridge';
7
7
  export { ConversionConfiguration, ConversionData, ConversionDataType, ConversionLocation } from '@spiffcommerce/theme-bridge';
@@ -1049,16 +1049,10 @@ interface Scene {
1049
1049
  * State related to a workflow experience.
1050
1050
  */
1051
1051
  interface ExperienceOptions {
1052
- product: Product;
1053
1052
  transaction: Transaction;
1054
1053
  workflow?: Workflow;
1055
- /**
1056
- * @deprecated favor inject / eject functions.
1057
- */
1058
- previewService?: ThreeDPreviewService;
1059
1054
  modelContainer?: ModelContainer;
1060
1055
  renderableContextService?: LayoutPreviewService;
1061
- layouts: ILayout[];
1062
1056
  reloadedState?: LayoutsState;
1063
1057
  /**
1064
1058
  * When true the experience is intended to be immutable.
@@ -1094,6 +1088,10 @@ interface ExperienceOptions {
1094
1088
  * should get an instance of this class from a Client you have constructed previously.
1095
1089
  */
1096
1090
  interface WorkflowExperience {
1091
+ /**
1092
+ * Get the current transaction for this experience.
1093
+ */
1094
+ getTransaction(): Transaction;
1097
1095
  /**
1098
1096
  * Get the bundle this experience is part of. May be undefined.
1099
1097
  */
@@ -1102,6 +1100,28 @@ interface WorkflowExperience {
1102
1100
  * Set the bundle this experience is part of. Can be cleared using undefined.
1103
1101
  */
1104
1102
  setBundle(bundle: Bundle$1 | undefined): any;
1103
+ /**
1104
+ * Get the current product for this experience. May be undefined.
1105
+ */
1106
+ getProduct(): Product | undefined;
1107
+ /**
1108
+ * Get the current profanity list for this experience. May be empty.
1109
+ */
1110
+ getProfanityList(): string[];
1111
+ /**
1112
+ * Set the current product for this experience.
1113
+ * @param product The new product to set.
1114
+ */
1115
+ setProduct(integrationProductId: string): Promise<void>;
1116
+ /**
1117
+ * Get the current workflow for this experience. May be undefined.
1118
+ */
1119
+ getWorkflow(): Workflow | undefined;
1120
+ /**
1121
+ * Set the current workflow for this experience.
1122
+ * @param workflow The new workflow to set.
1123
+ */
1124
+ setWorkflow(workflow: Workflow): Promise<void>;
1105
1125
  /**
1106
1126
  * Returns the client that was responsible for spawning this experience.
1107
1127
  */
@@ -1290,7 +1310,7 @@ declare enum WorkflowExperienceEventType {
1290
1310
  }
1291
1311
  declare class WorkflowExperienceImpl implements WorkflowExperience {
1292
1312
  readonly client: SpiffCommerceClient;
1293
- readonly commandContext: CommandContext;
1313
+ readonly transaction: Transaction;
1294
1314
  readonly graphQlClient: GraphQlClientFunc;
1295
1315
  readonly workflowManager: WorkflowManager;
1296
1316
  readonly isReadOnly: boolean;
@@ -1299,11 +1319,19 @@ declare class WorkflowExperienceImpl implements WorkflowExperience {
1299
1319
  * Bundle this experience has been added to.
1300
1320
  */
1301
1321
  private bundle?;
1322
+ private profanityList;
1323
+ private workflow?;
1302
1324
  private currentPriceBreak;
1303
1325
  private renderableScenes;
1304
1326
  private renderableSceneCallbacks;
1305
1327
  private eventCallbacks;
1306
1328
  constructor(client: SpiffCommerceClient, experienceOptions: ExperienceOptions);
1329
+ getTransaction(): Transaction;
1330
+ getProduct(): Product | undefined;
1331
+ getProfanityList(): string[];
1332
+ setProduct(integrationProductId: string): Promise<void>;
1333
+ getWorkflow(): Workflow | undefined;
1334
+ setWorkflow(workflow: Workflow): Promise<void>;
1307
1335
  attachAddress(streetAddress?: string, apartment?: string, city?: string, country?: string, state?: string, postCode?: string): Promise<void>;
1308
1336
  attachOrganization(name: string): Promise<void>;
1309
1337
  getBundle(): Bundle$1 | undefined;
@@ -1784,6 +1812,9 @@ declare class Transform {
1784
1812
  }
1785
1813
  declare const getProductCollections: (ids: string[]) => Promise<ProductCollection[] | undefined>;
1786
1814
 
1815
+ interface BundleIntegrationProductsAddedEventData {
1816
+ integrationProductIds: string[];
1817
+ }
1787
1818
  interface ConditionalGlobalPropertiesChangedEventData {
1788
1819
  globalProperties: GlobalPropertyHandle[];
1789
1820
  }
@@ -1801,6 +1832,7 @@ interface WorkflowExperienceAddedEventData {
1801
1832
  interface WorkflowExperienceRemovedEventData extends WorkflowExperienceAddedEventData {
1802
1833
  }
1803
1834
  type BundleEventMap = {
1835
+ "bundle-integration-products-added": BundleIntegrationProductsAddedEventData;
1804
1836
  "conditional-global-properties-changed": ConditionalGlobalPropertiesChangedEventData;
1805
1837
  "global-properties-mandatory-changed": GlobalPropertiesMandatoryChangedEventData;
1806
1838
  "workflow-experience-hover-enter": WorkflowExperienceHoverEventData;
@@ -1809,7 +1841,7 @@ type BundleEventMap = {
1809
1841
  "workflow-experience-removed": WorkflowExperienceRemovedEventData;
1810
1842
  };
1811
1843
  type BundleEventType = keyof BundleEventMap;
1812
- type BundleEventData = WorkflowExperienceHoverEventData | ConditionalGlobalPropertiesChangedEventData | WorkflowExperienceAddedEventData;
1844
+ type BundleEventData = BundleIntegrationProductsAddedEventData | WorkflowExperienceHoverEventData | ConditionalGlobalPropertiesChangedEventData | WorkflowExperienceAddedEventData;
1813
1845
  type BundleEvent<K extends BundleEventType = BundleEventType> = BundleEventMap[K];
1814
1846
 
1815
1847
  /**
@@ -2053,6 +2085,8 @@ interface Bundle$1 {
2053
2085
  generateQuoteId(): Promise<string>;
2054
2086
  getQuoteCompleteMessage(): CompleteQuoteMessage;
2055
2087
  applyGlobalPropertyState(state: GlobalPropertyState): Promise<void>;
2088
+ getIntegrationProductIds(): undefined | string[];
2089
+ addIntegrationProductId(id: string): void;
2056
2090
  }
2057
2091
 
2058
2092
  /**
@@ -2357,29 +2391,32 @@ interface GetWorkflowFromTransactionOptions extends GetWorkflowOptionsBase {
2357
2391
  workflowState?: string;
2358
2392
  type: "transaction";
2359
2393
  }
2360
- interface GetNewWorkflowOptionsBase extends GetWorkflowOptionsBase {
2394
+ interface GetNewWorkflowExperienceOptionsBase extends GetWorkflowOptionsBase {
2361
2395
  /** A name for the new transaction. */
2362
2396
  designName?: string;
2363
2397
  /** The workflow to load. */
2364
- workflowId: string;
2398
+ workflowId?: string;
2365
2399
  /** An existing workflow state, if available. */
2366
2400
  workflowState?: string;
2367
2401
  }
2368
- interface GetWorkflowFromIntegrationProductOptions extends GetNewWorkflowOptionsBase {
2402
+ interface GetWorkflowExperienceFromBlankOptions extends GetNewWorkflowExperienceOptionsBase {
2403
+ type: "blank";
2404
+ }
2405
+ interface GetWorkflowExperienceFromIntegrationProductOptions extends GetNewWorkflowExperienceOptionsBase {
2369
2406
  integrationProductId: string;
2370
2407
  quantity?: number;
2371
2408
  recipient?: any;
2372
2409
  type: "integration";
2373
2410
  }
2374
- interface GetWorkflowFromExternalProductOptions extends GetNewWorkflowOptionsBase {
2411
+ interface GetWorkflowExperienceFromExternalProductOptions extends GetNewWorkflowExperienceOptionsBase {
2375
2412
  /** The external ID associated with an integration. */
2376
2413
  externalIntegrationId: string;
2377
2414
  /** The ID of the product from the external system. */
2378
2415
  externalProductId: string;
2379
2416
  type: "external";
2380
2417
  }
2381
- type GetNewWorkflowOptions = GetWorkflowFromIntegrationProductOptions | GetWorkflowFromExternalProductOptions;
2382
- type GetWorkflowOptions = GetWorkflowFromTransactionOptions | GetNewWorkflowOptions;
2418
+ type GetNewWorkflowExperienceOptions = GetWorkflowExperienceFromBlankOptions | GetWorkflowExperienceFromIntegrationProductOptions | GetWorkflowExperienceFromExternalProductOptions;
2419
+ type GetWorkflowOptions = GetWorkflowFromTransactionOptions | GetNewWorkflowExperienceOptions;
2383
2420
  interface ClientConfiguration {
2384
2421
  hubUrl: string;
2385
2422
  serverUrl: string;
@@ -2659,7 +2696,6 @@ interface WorkflowManager {
2659
2696
  getAllLayoutData: () => LayoutState[];
2660
2697
  getLayoutPreviewService: () => LayoutPreviewService | undefined;
2661
2698
  getPreviewService: () => ThreeDPreviewService | undefined;
2662
- getProfanities: () => string[];
2663
2699
  getRegionElements: (stepName: string) => RegionElement[];
2664
2700
  getSerializedStep: (stepName: string, serializedSteps: SerializableStep[]) => SerializableStep | undefined;
2665
2701
  getStepSpecificServices: (stepName: string) => StepSpecificServices | undefined;
@@ -2667,19 +2703,22 @@ interface WorkflowManager {
2667
2703
  getMetadata: (stepName: string) => StepMetadata | undefined;
2668
2704
  getWorkflowMetadata: () => WorkflowMetadata;
2669
2705
  getInformationResults(): InformationResult[];
2670
- getTransaction: () => Transaction;
2671
2706
  getTransactionCustomer: () => Customer | undefined;
2672
2707
  setTransactionCustomer: (customer: Customer) => void;
2708
+ /**
2709
+ * Sets the current workflow for this experience.
2710
+ * @param workflow The new workflow to set.
2711
+ * @returns A promise that resolves when the workflow has been set.
2712
+ */
2713
+ setWorkflow: (workflow: Workflow) => Promise<void>;
2673
2714
  /**
2674
2715
  * @deprecated Use setTransactionCustomer instead.
2675
2716
  */
2676
2717
  setTransactionCustomerDetails: (details: {
2677
2718
  email: string;
2678
2719
  }) => void;
2679
- getWorkflow: () => Workflow;
2680
2720
  getWorkflowSelections: () => WorkflowSelections;
2681
2721
  getStepSelections: () => StepSelections;
2682
- getProduct: () => Product;
2683
2722
  /**
2684
2723
  * A promise resolving when the initial state of the workflow has completed loading.
2685
2724
  */
@@ -5178,6 +5217,7 @@ declare class MockWorkflowManager implements WorkflowManager {
5178
5217
  getWorkflowExperience(): WorkflowExperience;
5179
5218
  setClient(client: SpiffCommerceClient): void;
5180
5219
  getInitializationPromise(): Promise<void>;
5220
+ setWorkflow: (workflow: Workflow) => Promise<void>;
5181
5221
  getProduct: () => Product;
5182
5222
  isInitialized(): boolean;
5183
5223
  getCommandContext: () => CommandContext;
@@ -5208,7 +5248,6 @@ declare class MockWorkflowManager implements WorkflowManager {
5208
5248
  getPreviewService(): undefined;
5209
5249
  setModelContainer: (container: any) => void;
5210
5250
  getModelContainer(): undefined;
5211
- getProfanities(): never[];
5212
5251
  getRegionElements(_stepName: string): never[];
5213
5252
  getSerializedStep(_stepName: string, _serializedSteps: SerializableStep[]): undefined;
5214
5253
  getStepSpecificServices(_stepName: string): undefined;
@@ -6034,4 +6073,4 @@ declare const overrideWorkflowExperienceRecipientAddress: (workflowExperience: W
6034
6073
  */
6035
6074
  declare const getGlobalPropertyStateForBundle: (bundleId: string) => Promise<GlobalPropertyState | undefined>;
6036
6075
 
6037
- export { AddonHandle, type AddressComponent, type AddressValidationJob, AddressValidationJobStatus, type AddressValidationResult, AddressValidationResultConfirmationLevel, AddressValidationStatus, type Animatable, type AnyStepData, ArrayInput, AspectType, type Asset, type AssetConfiguration, AssetNotFoundError, type AssetObjectVersion, AssetType, BringForwardCommand, BringToBackCommand, BringToFrontCommand, type Bundle$1 as Bundle, BundleDesignCreationCartAddMode, type BundleDesignCreationMessage, type BundleEvent, type BundleEventData, type BundleEventType, type Bundle as BundleRaw, type BundleStakeholder, CanvasCommand, CollectionProduct, type ColorDefinition, type ColorOption, ColorOptionGlobalPropertyHandle, type ColorProfileProps, CommandContext, type CommandState, type Condition, type ConditionalGlobalPropertiesChangedEventData, CreateElementCommand, CreateLayoutCommand, CurrencyContext, CurrencyService, type Customer, type CustomerDetailsInput, DeleteElementCommand, type DesignCreationMessage, type DesignCreationProgressUpdate, type DesignInputStep, type DigitalContentStepData, DigitalContentStepHandle, type EditedSteps, type ExportedStepData, type ExportedStepDataProperty, type ExportedStepDataPropertyType, FileUploadGlobalPropertyHandle, FlowExecutionNodeResult, FlowExecutionResult, FlowService, FontAlignmentCommand, FontColorCommand, FontSizeCommand, FontSourceCommand, type FrameElement, FrameService, FrameStep, type FrameStepData, FrameStepHandle, type FrameThresholdSettings, type GetNewWorkflowOptions, type GetWorkflowOptions, type GlobalPropertiesMandatoryChangedEventData, type GlobalPropertyConfiguration, GlobalPropertyHandle, GroupCommand, type ILayout, type IllustrationElement, type IllustrationStepData, IllustrationStepHandle, type ImageElement, InformationMessageType, type InformationResult, type InformationStepData, InformationStepHandle, type Integration, type IntegrationOptionResource, IntegrationProduct, IntegrationType, type LayoutComponentConfiguration, type LayoutData, type LayoutElement, LayoutElementFactory, LayoutElementType, LayoutNotFoundError, LayoutRenderingPurpose, type LayoutState, type LayoutsState, type MandatorySteps, MaterialEffectMode, type MaterialStepData, MaterialStepHandle, MisconfigurationError, MockWorkflowManager, type ModelStepData, ModelStepHandle, type ModuleStepData, ModuleStepHandle, MoveCommand, NodeType, ObjectInput, ObjectInputType, OptionGlobalPropertyHandle, OptionNotFoundError, type OptionResource, type Order, type OrderItem, type PapyrusComponent, ParseError, type PictureStepData, PictureStepHandle, type Placeable, type PmsSearchResult, type Point, type Product, ProductCameraRig, ProductCollection, ProductCollectionProductSortKey, ProductWorkflow$1 as ProductWorkflow, promiseCache as PromiseCache, PromiseQueue, type QuestionStepData, QuestionStepHandle, QueueablePromise, type Recipient, type Region, type RegionElement, type RenderableScene, ResizeCommand, ResourceNotFoundError, RotateCommand, type SavedDesign, ScaleAxis, type SelectionStorage, SendBackwardsCommand, type ShapeStepData, ShapeStepHandle, type ShareAction, ShareActionType, type SilentIllustrationStepData, SpiffCommerceClient, type Stakeholder, StakeholderType, type StateMutationFunc, type Step, type StepAspect, StepAspectType, type StepElements, type StepGroup, StepHandle, type StepStorage, StepType, TextAlgorithm, TextChangeCommand, type TextChangeResult, TextGlobalPropertyHandle, TextInput, type TextStepData, TextStepHandle, type TextStepStorage, type TextboxElement, type Theme, type ToastCallback, type Transaction, Transform, TransformCollection$1 as TransformCollection, UnhandledBehaviorError, UnitOfMeasurement, UpdateImageSourceCommand, Variant, type VariantResource, type Vector3, type Workflow, type WorkflowExperience, WorkflowExperienceEventType, type WorkflowExperienceHoverEventData, WorkflowExperienceImpl, type WorkflowManager, type WorkflowMetadata, type WorkflowPanel, type WorkflowScene, type WorkflowSelections, type WorkflowStorage, assetService, browserColorToHex, cmPerPixel, createDesign, currentDirection, dataUrlFromExternalUrl, deleteBundle, designService, determineCorrectFontSizeAndLines, digitalContentStepService, domParser, duplicateBundle, duplicateTransaction, fetchAsString, findAngle, findElement, findPmsColors, frameDataCache, frameStepService, generate, generateCommands, generateSVGWithUnknownColors, generateStateFromDesignInputSteps, getAddressValidationJobs, getAttributesFromArrayBuffer, getAxisAlignedBoundingBox, getBoundedOffsets, getBundleThemeConfiguration, getCustomer, getCustomerBundles, getElementVertices, getFrameData, getGlobalPropertyStateForBundle, getIntegration, getNEPoint, getNWPoint, getOrderedTransactions, getOverrideThemeConfiguration, getPointOfRotation, getProductCollections, getSEPoint, getSvgElement, getTemplateBundles, getTemplateTransactions, getTransaction, getTransactionThemeConfiguration, getTransactionsForBundle, getTrueCoordinates, getUnorderedTransactions, getValidationJobsForWorkflowExperiences, getWorkflow, getWorkflows, graphQlManager, illustrationStepService, isCloseToValue, loadFont, matchHexToPms, materialStepService, metafieldManager, mmPerPixel, modelStepService, modifySVGColors, moduleStepService, nameBundle, nameTransaction, optionService, outlineFontsInSvg, overrideWorkflowExperienceRecipientAddress, patternImageDataCache, persistenceService, pictureStepService, pmsToRgb, questionStepService, registerFetchImplementation, registerWindowImplementation, rehydrateSerializedLayout, rgbToPms, rotateAroundPoint, sanitizeSvgTree, setBearerAuthenticationToken, setCanvasModule, shapeStepService, shortenUrl, spiffCoreConfiguration, stepAspectValuesToDesignInputSteps, svgColorValueToDefinition, svgStringDimensions, svgToDataUrl, textStepService, toast, validateWorkflowExperienceRecipient, validateWorkflowExperienceRecipients, xmlSerializer };
6076
+ export { AddonHandle, type AddressComponent, type AddressValidationJob, AddressValidationJobStatus, type AddressValidationResult, AddressValidationResultConfirmationLevel, AddressValidationStatus, type Animatable, type AnyStepData, ArrayInput, AspectType, type Asset, type AssetConfiguration, AssetNotFoundError, type AssetObjectVersion, AssetType, BringForwardCommand, BringToBackCommand, BringToFrontCommand, type Bundle$1 as Bundle, BundleDesignCreationCartAddMode, type BundleDesignCreationMessage, type BundleEvent, type BundleEventData, type BundleEventType, type Bundle as BundleRaw, type BundleStakeholder, CanvasCommand, CollectionProduct, type ColorDefinition, type ColorOption, ColorOptionGlobalPropertyHandle, type ColorProfileProps, CommandContext, type CommandState, type Condition, type ConditionalGlobalPropertiesChangedEventData, CreateElementCommand, CreateLayoutCommand, CurrencyContext, CurrencyService, type Customer, type CustomerDetailsInput, DeleteElementCommand, type DesignCreationMessage, type DesignCreationProgressUpdate, type DesignInputStep, type DigitalContentStepData, DigitalContentStepHandle, type EditedSteps, type ExportedStepData, type ExportedStepDataProperty, type ExportedStepDataPropertyType, FileUploadGlobalPropertyHandle, FlowExecutionNodeResult, FlowExecutionResult, FlowService, FontAlignmentCommand, FontColorCommand, FontSizeCommand, FontSourceCommand, type FrameElement, FrameService, FrameStep, type FrameStepData, FrameStepHandle, type FrameThresholdSettings, type GetNewWorkflowExperienceOptions as GetNewWorkflowOptions, type GetWorkflowOptions, type GlobalPropertiesMandatoryChangedEventData, type GlobalPropertyConfiguration, GlobalPropertyHandle, GroupCommand, type ILayout, type IllustrationElement, type IllustrationStepData, IllustrationStepHandle, type ImageElement, InformationMessageType, type InformationResult, type InformationStepData, InformationStepHandle, type Integration, type IntegrationOptionResource, IntegrationProduct, IntegrationType, type LayoutComponentConfiguration, type LayoutData, type LayoutElement, LayoutElementFactory, LayoutElementType, LayoutNotFoundError, LayoutRenderingPurpose, type LayoutState, type LayoutsState, type MandatorySteps, MaterialEffectMode, type MaterialStepData, MaterialStepHandle, MisconfigurationError, MockWorkflowManager, type ModelStepData, ModelStepHandle, type ModuleStepData, ModuleStepHandle, MoveCommand, NodeType, ObjectInput, ObjectInputType, OptionGlobalPropertyHandle, OptionNotFoundError, type OptionResource, type Order, type OrderItem, type PapyrusComponent, ParseError, type PictureStepData, PictureStepHandle, type Placeable, type PmsSearchResult, type Point, type Product, ProductCameraRig, ProductCollection, ProductCollectionProductSortKey, ProductWorkflow$1 as ProductWorkflow, promiseCache as PromiseCache, PromiseQueue, type QuestionStepData, QuestionStepHandle, QueueablePromise, type Recipient, type Region, type RegionElement, type RenderableScene, ResizeCommand, ResourceNotFoundError, RotateCommand, type SavedDesign, ScaleAxis, type SelectionStorage, SendBackwardsCommand, type ShapeStepData, ShapeStepHandle, type ShareAction, ShareActionType, type SilentIllustrationStepData, SpiffCommerceClient, type Stakeholder, StakeholderType, type StateMutationFunc, type Step, type StepAspect, StepAspectType, type StepElements, type StepGroup, StepHandle, type StepStorage, StepType, TextAlgorithm, TextChangeCommand, type TextChangeResult, TextGlobalPropertyHandle, TextInput, type TextStepData, TextStepHandle, type TextStepStorage, type TextboxElement, type Theme, type ToastCallback, type Transaction, Transform, TransformCollection$1 as TransformCollection, UnhandledBehaviorError, UnitOfMeasurement, UpdateImageSourceCommand, Variant, type VariantResource, type Vector3, type Workflow, type WorkflowExperience, WorkflowExperienceEventType, type WorkflowExperienceHoverEventData, WorkflowExperienceImpl, type WorkflowManager, type WorkflowMetadata, type WorkflowPanel, type WorkflowScene, type WorkflowSelections, type WorkflowStorage, assetService, browserColorToHex, cmPerPixel, createDesign, currentDirection, dataUrlFromExternalUrl, deleteBundle, designService, determineCorrectFontSizeAndLines, digitalContentStepService, domParser, duplicateBundle, duplicateTransaction, fetchAsString, findAngle, findElement, findPmsColors, frameDataCache, frameStepService, generate, generateCommands, generateSVGWithUnknownColors, generateStateFromDesignInputSteps, getAddressValidationJobs, getAttributesFromArrayBuffer, getAxisAlignedBoundingBox, getBoundedOffsets, getBundleThemeConfiguration, getCustomer, getCustomerBundles, getElementVertices, getFrameData, getGlobalPropertyStateForBundle, getIntegration, getNEPoint, getNWPoint, getOrderedTransactions, getOverrideThemeConfiguration, getPointOfRotation, getProductCollections, getSEPoint, getSvgElement, getTemplateBundles, getTemplateTransactions, getTransaction, getTransactionThemeConfiguration, getTransactionsForBundle, getTrueCoordinates, getUnorderedTransactions, getValidationJobsForWorkflowExperiences, getWorkflow, getWorkflows, graphQlManager, illustrationStepService, isCloseToValue, loadFont, matchHexToPms, materialStepService, metafieldManager, mmPerPixel, modelStepService, modifySVGColors, moduleStepService, nameBundle, nameTransaction, optionService, outlineFontsInSvg, overrideWorkflowExperienceRecipientAddress, patternImageDataCache, persistenceService, pictureStepService, pmsToRgb, questionStepService, registerFetchImplementation, registerWindowImplementation, rehydrateSerializedLayout, rgbToPms, rotateAroundPoint, sanitizeSvgTree, setBearerAuthenticationToken, setCanvasModule, shapeStepService, shortenUrl, spiffCoreConfiguration, stepAspectValuesToDesignInputSteps, svgColorValueToDefinition, svgStringDimensions, svgToDataUrl, textStepService, toast, validateWorkflowExperienceRecipient, validateWorkflowExperienceRecipients, xmlSerializer };