@spiffcommerce/core 30.0.1-beta.d314ee57-14a8-5953-959b-ce73186a03eb → 30.0.1-beta.f642ccf0-8088-52e4-bb5a-fc3bebd5c30d
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 +1 -1
- package/dist/index.d.ts +11 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { FunctionComponent, ReactNode } from 'preact/compat';
|
2
2
|
import * as _apollo_client_core from '@apollo/client/core';
|
3
|
-
import { OperationVariables, QueryOptions, ApolloQueryResult, DefaultContext, MutationOptions, FetchResult } from '@apollo/client/core';
|
3
|
+
import { OperationVariables, QueryOptions, ApolloQueryResult, DefaultContext, MutationOptions, FetchResult, ApolloClient } from '@apollo/client/core';
|
4
4
|
import { RenderableContextService, RenderableContext, ThreeDPreviewService, ModelContainer } from '@spiffcommerce/preview';
|
5
5
|
import * as lodash from 'lodash';
|
6
6
|
import { CompleteQuoteMessage, ThemeInstallConfigurationGraphQl, ConversionConfiguration } from '@spiffcommerce/theme-bridge';
|
@@ -4812,6 +4812,15 @@ declare class OptionService {
|
|
4812
4812
|
declare const optionService: OptionService;
|
4813
4813
|
|
4814
4814
|
declare const setBearerAuthenticationToken: (token: string) => void;
|
4815
|
+
declare class GraphQlManager {
|
4816
|
+
private shadowGraphqlClient;
|
4817
|
+
private spiffClient?;
|
4818
|
+
constructor();
|
4819
|
+
setSpiffCommerceClient(client: SpiffCommerceClient): void;
|
4820
|
+
getShadowGraphqlClient(): ApolloClient<any>;
|
4821
|
+
private constructShadowGraphqlClient;
|
4822
|
+
}
|
4823
|
+
declare const graphQlManager: GraphQlManager;
|
4815
4824
|
|
4816
4825
|
interface StorageService {
|
4817
4826
|
/**
|
@@ -5955,4 +5964,4 @@ declare const validateWorkflowExperienceRecipients: (workflowExperiences: Workfl
|
|
5955
5964
|
*/
|
5956
5965
|
declare const getGlobalPropertyStateForBundle: (bundleId: string) => Promise<GlobalPropertyState | undefined>;
|
5957
5966
|
|
5958
|
-
export { AddonHandle, type AddressComponent, type AddressValidationJob, AddressValidationJobStatus, type AddressValidationResult, AddressValidationResultConfirmationLevel, 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, 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, illustrationStepService, isCloseToValue, loadFont, matchHexToPms, materialStepService, metafieldManager, mmPerPixel, modelStepService, modifySVGColors, moduleStepService, nameBundle, nameTransaction, optionService, outlineFontsInSvg, 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 };
|
5967
|
+
export { AddonHandle, type AddressComponent, type AddressValidationJob, AddressValidationJobStatus, type AddressValidationResult, AddressValidationResultConfirmationLevel, 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, 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, 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 };
|
package/dist/index.js
CHANGED
@@ -2697,5 +2697,5 @@
|
|
2697
2697
|
...AddressValidationJobFields
|
2698
2698
|
}
|
2699
2699
|
}
|
2700
|
-
`;var Xr=(r=>(r.Confirmed="Confirmed",r.Plausible="Plausible",r.Unlikely="Unlikely",r))(Xr||{}),Zr=(r=>(r.Created="Created",r.Processing="Processing",r.Completed="Completed",r.Failed="Failed",r.Cancelled="Cancelled",r))(Zr||{});const ed=async r=>{const t=r.map(a=>a.getWorkflowManager().getTransaction().recipient?.id).filter(a=>!!a),e=await y.getShadowGraphqlClient().query({query:Xc,errorPolicy:"all",fetchPolicy:"network-only",variables:{ids:t}});return r.map(a=>{const n=a.getWorkflowManager().getTransaction().recipient?.id;if(n)return e.data?.recipients?.find(i=>i.id===n)?.addressValidationJob})},ad=async r=>(await y.getShadowGraphqlClient().query({query:_c,errorPolicy:"all",fetchPolicy:"network-only",variables:{ids:r}})).data?.addressValidationJobs,nd=async r=>r.getWorkflowManager().getTransaction().recipient?.id?(await y.getShadowGraphqlClient().mutate({mutation:Zc,errorPolicy:"all",fetchPolicy:"network-only",variables:{id:r.getWorkflowManager().getTransaction().recipient.id}})).data?.recipientValidate:void 0,rd=async r=>{const t=r.map(a=>a.getWorkflowManager().getTransaction().recipient?.id).filter(a=>!!a),e=await y.getShadowGraphqlClient().mutate({mutation:td,errorPolicy:"all",fetchPolicy:"network-only",variables:{ids:t}});return r.map(a=>{const n=a.getWorkflowManager().getTransaction().recipient?.id;if(n)return e.data?.recipientValidateBatch?.find(i=>i.entityId===n)})};exports.AddonHandle=Me;exports.AddressValidationJobStatus=Zr;exports.AddressValidationResultConfirmationLevel=Xr;exports.ArrayInput=hc;exports.AspectType=U;exports.AssetNotFoundError=pt;exports.AssetType=Xt;exports.BringForwardCommand=Ss;exports.BringToBackCommand=ys;exports.BringToFrontCommand=ws;exports.BundleDesignCreationCartAddMode=In;exports.CanvasCommand=N;exports.CollectionProduct=jt;exports.ColorOptionGlobalPropertyHandle=fa;exports.CommandContext=nr;exports.ConversionDataType=Ha;exports.ConversionLocation=Jr;exports.CreateElementCommand=z;exports.CreateLayoutCommand=Ta;exports.CurrencyContext=qr;exports.CurrencyService=zr;exports.DeleteElementCommand=wt;exports.DigitalContentStepHandle=Er;exports.FileUploadGlobalPropertyHandle=Mr;exports.FlowExecutionNodeResult=Ht;exports.FlowExecutionResult=Lr;exports.FlowService=Ur;exports.FontAlignmentCommand=cr;exports.FontColorCommand=sr;exports.FontSizeCommand=lr;exports.FontSourceCommand=ma;exports.FrameService=jr;exports.FrameStep=Hr;exports.FrameStepHandle=Yr;exports.GlobalPropertyHandle=qe;exports.GroupCommand=Q;exports.IllustrationStepHandle=mr;exports.InformationMessageType=me;exports.InformationStepHandle=vr;exports.IntegrationProduct=Ca;exports.IntegrationType=xn;exports.LayoutElementFactory=As;exports.LayoutElementType=F;exports.LayoutNotFoundError=j;exports.LayoutRenderingPurpose=Tt;exports.MaterialStepHandle=pr;exports.MisconfigurationError=ee;exports.MockWorkflowManager=Dc;exports.ModelStepHandle=fr;exports.ModuleStepHandle=br;exports.MoveCommand=us;exports.ObjectInput=Ga;exports.ObjectInputType=Vr;exports.OptionGlobalPropertyHandle=Va;exports.OptionNotFoundError=te;exports.ParseError=vt;exports.PictureStepHandle=Cr;exports.ProductCameraRig=Dn;exports.ProductCollection=za;exports.ProductCollectionProductSortKey=Rr;exports.ProductWorkflow=Mt;exports.PromiseCache=Ot;exports.PromiseQueue=Pa;exports.QuestionStepHandle=wr;exports.QueueablePromise=Ia;exports.ResizeCommand=gs;exports.ResourceNotFoundError=Nt;exports.RotateCommand=hs;exports.ScaleAxis=G;exports.SendBackwardsCommand=vs;exports.ShapeStepHandle=yr;exports.ShareActionType=Pn;exports.SpiffCommerceClient=bc;exports.StakeholderType=Zt;exports.StepAspectType=Bn;exports.StepHandle=X;exports.StepType=S;exports.TextAlgorithm=It;exports.TextChangeCommand=dr;exports.TextGlobalPropertyHandle=Tr;exports.TextInput=uc;exports.TextStepHandle=Sr;exports.Transform=$r;exports.TransformCollection=Or;exports.UnhandledBehaviorError=L;exports.UnitOfMeasurement=Fn;exports.UpdateImageSourceCommand=fs;exports.Variant=nt;exports.WorkflowExperienceEventType=Dr;exports.WorkflowExperienceImpl=Fr;exports.assetService=R;exports.browserColorToHex=Ln;exports.cmPerPixel=Yo;exports.createDesign=xr;exports.currentDirection=Wo;exports.dataUrlFromExternalUrl=Si;exports.designService=be;exports.determineCorrectFontSizeAndLines=Jt;exports.digitalContentStepService=Na;exports.domParser=lt;exports.duplicateBundle=Lc;exports.duplicateTransaction=Vc;exports.fetchAsString=tt;exports.findAngle=$o;exports.findElement=$;exports.findPmsColors=Li;exports.frameDataCache=Ft;exports.frameStepService=ht;exports.generate=M;exports.generateCommands=kr;exports.generateSVGWithUnknownColors=it;exports.generateStateFromDesignInputSteps=_l;exports.getAddressValidationJobs=ad;exports.getAttributesFromArrayBuffer=le;exports.getAxisAlignedBoundingBox=Oo;exports.getBoundedOffsets=Wr;exports.getBundleThemeConfiguration=Pc;exports.getCustomer=zc;exports.getCustomerBundles=qc;exports.getElementVertices=jo;exports.getFrameData=ue;exports.getGlobalPropertyStateForBundle=js;exports.getIntegration=Gr;exports.getNEPoint=qo;exports.getNWPoint=zo;exports.getOrderedTransactions=jc;exports.getOverrideThemeConfiguration=Ic;exports.getPointOfRotation=Vo;exports.getProductCollections=oc;exports.getSEPoint=Go;exports.getSvgElement=ze;exports.getTemplateBundles=Yc;exports.getTemplateTransactions=Hc;exports.getTransaction=Bc;exports.getTransactionThemeConfiguration=xc;exports.getTransactionsForBundle=Gc;exports.getTrueCoordinates=Lo;exports.getUnorderedTransactions=Wc;exports.getValidationJobsForWorkflowExperiences=ed;exports.getWorkflow=Sc;exports.getWorkflows=Wa;exports.illustrationStepService=Yt;exports.isCloseToValue=Uo;exports.loadFont=Pt;exports.matchHexToPms=Oi;exports.materialStepService=Qa;exports.metafieldManager=Qr;exports.mmPerPixel=Ho;exports.modelStepService=Ra;exports.modifySVGColors=Ue;exports.moduleStepService=Oa;exports.nameBundle=$c;exports.nameTransaction=Uc;exports.optionService=W;exports.outlineFontsInSvg=Zo;exports.patternImageDataCache=dt;exports.persistenceService=k;exports.pictureStepService=$a;exports.pmsToRgb=Ri;exports.questionStepService=Ua;exports.registerFetchImplementation=pi;exports.registerWindowImplementation=mi;exports.rehydrateSerializedLayout=ga;exports.rgbToPms=Un;exports.rotateAroundPoint=Wt;exports.sanitizeSvgTree=$e;exports.setBearerAuthenticationToken=On;exports.setCanvasModule=va;exports.shapeStepService=kt;exports.shortenUrl=Ar;exports.spiffCoreConfiguration=At;exports.stepAspectValuesToDesignInputSteps=Kl;exports.svgColorValueToDefinition=da;exports.svgStringDimensions=Ma;exports.svgToDataUrl=Oe;exports.textStepService=q;exports.toast=hr;exports.validateWorkflowExperienceRecipient=nd;exports.validateWorkflowExperienceRecipients=rd;exports.xmlSerializer=yt;
|
2700
|
+
`;var Xr=(r=>(r.Confirmed="Confirmed",r.Plausible="Plausible",r.Unlikely="Unlikely",r))(Xr||{}),Zr=(r=>(r.Created="Created",r.Processing="Processing",r.Completed="Completed",r.Failed="Failed",r.Cancelled="Cancelled",r))(Zr||{});const ed=async r=>{const t=r.map(a=>a.getWorkflowManager().getTransaction().recipient?.id).filter(a=>!!a),e=await y.getShadowGraphqlClient().query({query:Xc,errorPolicy:"all",fetchPolicy:"network-only",variables:{ids:t}});return r.map(a=>{const n=a.getWorkflowManager().getTransaction().recipient?.id;if(n)return e.data?.recipients?.find(i=>i.id===n)?.addressValidationJob})},ad=async r=>(await y.getShadowGraphqlClient().query({query:_c,errorPolicy:"all",fetchPolicy:"network-only",variables:{ids:r}})).data?.addressValidationJobs,nd=async r=>r.getWorkflowManager().getTransaction().recipient?.id?(await y.getShadowGraphqlClient().mutate({mutation:Zc,errorPolicy:"all",fetchPolicy:"network-only",variables:{id:r.getWorkflowManager().getTransaction().recipient.id}})).data?.recipientValidate:void 0,rd=async r=>{const t=r.map(a=>a.getWorkflowManager().getTransaction().recipient?.id).filter(a=>!!a),e=await y.getShadowGraphqlClient().mutate({mutation:td,errorPolicy:"all",fetchPolicy:"network-only",variables:{ids:t}});return r.map(a=>{const n=a.getWorkflowManager().getTransaction().recipient?.id;if(n)return e.data?.recipientValidateBatch?.find(i=>i.entityId===n)})};exports.AddonHandle=Me;exports.AddressValidationJobStatus=Zr;exports.AddressValidationResultConfirmationLevel=Xr;exports.ArrayInput=hc;exports.AspectType=U;exports.AssetNotFoundError=pt;exports.AssetType=Xt;exports.BringForwardCommand=Ss;exports.BringToBackCommand=ys;exports.BringToFrontCommand=ws;exports.BundleDesignCreationCartAddMode=In;exports.CanvasCommand=N;exports.CollectionProduct=jt;exports.ColorOptionGlobalPropertyHandle=fa;exports.CommandContext=nr;exports.ConversionDataType=Ha;exports.ConversionLocation=Jr;exports.CreateElementCommand=z;exports.CreateLayoutCommand=Ta;exports.CurrencyContext=qr;exports.CurrencyService=zr;exports.DeleteElementCommand=wt;exports.DigitalContentStepHandle=Er;exports.FileUploadGlobalPropertyHandle=Mr;exports.FlowExecutionNodeResult=Ht;exports.FlowExecutionResult=Lr;exports.FlowService=Ur;exports.FontAlignmentCommand=cr;exports.FontColorCommand=sr;exports.FontSizeCommand=lr;exports.FontSourceCommand=ma;exports.FrameService=jr;exports.FrameStep=Hr;exports.FrameStepHandle=Yr;exports.GlobalPropertyHandle=qe;exports.GroupCommand=Q;exports.IllustrationStepHandle=mr;exports.InformationMessageType=me;exports.InformationStepHandle=vr;exports.IntegrationProduct=Ca;exports.IntegrationType=xn;exports.LayoutElementFactory=As;exports.LayoutElementType=F;exports.LayoutNotFoundError=j;exports.LayoutRenderingPurpose=Tt;exports.MaterialStepHandle=pr;exports.MisconfigurationError=ee;exports.MockWorkflowManager=Dc;exports.ModelStepHandle=fr;exports.ModuleStepHandle=br;exports.MoveCommand=us;exports.ObjectInput=Ga;exports.ObjectInputType=Vr;exports.OptionGlobalPropertyHandle=Va;exports.OptionNotFoundError=te;exports.ParseError=vt;exports.PictureStepHandle=Cr;exports.ProductCameraRig=Dn;exports.ProductCollection=za;exports.ProductCollectionProductSortKey=Rr;exports.ProductWorkflow=Mt;exports.PromiseCache=Ot;exports.PromiseQueue=Pa;exports.QuestionStepHandle=wr;exports.QueueablePromise=Ia;exports.ResizeCommand=gs;exports.ResourceNotFoundError=Nt;exports.RotateCommand=hs;exports.ScaleAxis=G;exports.SendBackwardsCommand=vs;exports.ShapeStepHandle=yr;exports.ShareActionType=Pn;exports.SpiffCommerceClient=bc;exports.StakeholderType=Zt;exports.StepAspectType=Bn;exports.StepHandle=X;exports.StepType=S;exports.TextAlgorithm=It;exports.TextChangeCommand=dr;exports.TextGlobalPropertyHandle=Tr;exports.TextInput=uc;exports.TextStepHandle=Sr;exports.Transform=$r;exports.TransformCollection=Or;exports.UnhandledBehaviorError=L;exports.UnitOfMeasurement=Fn;exports.UpdateImageSourceCommand=fs;exports.Variant=nt;exports.WorkflowExperienceEventType=Dr;exports.WorkflowExperienceImpl=Fr;exports.assetService=R;exports.browserColorToHex=Ln;exports.cmPerPixel=Yo;exports.createDesign=xr;exports.currentDirection=Wo;exports.dataUrlFromExternalUrl=Si;exports.designService=be;exports.determineCorrectFontSizeAndLines=Jt;exports.digitalContentStepService=Na;exports.domParser=lt;exports.duplicateBundle=Lc;exports.duplicateTransaction=Vc;exports.fetchAsString=tt;exports.findAngle=$o;exports.findElement=$;exports.findPmsColors=Li;exports.frameDataCache=Ft;exports.frameStepService=ht;exports.generate=M;exports.generateCommands=kr;exports.generateSVGWithUnknownColors=it;exports.generateStateFromDesignInputSteps=_l;exports.getAddressValidationJobs=ad;exports.getAttributesFromArrayBuffer=le;exports.getAxisAlignedBoundingBox=Oo;exports.getBoundedOffsets=Wr;exports.getBundleThemeConfiguration=Pc;exports.getCustomer=zc;exports.getCustomerBundles=qc;exports.getElementVertices=jo;exports.getFrameData=ue;exports.getGlobalPropertyStateForBundle=js;exports.getIntegration=Gr;exports.getNEPoint=qo;exports.getNWPoint=zo;exports.getOrderedTransactions=jc;exports.getOverrideThemeConfiguration=Ic;exports.getPointOfRotation=Vo;exports.getProductCollections=oc;exports.getSEPoint=Go;exports.getSvgElement=ze;exports.getTemplateBundles=Yc;exports.getTemplateTransactions=Hc;exports.getTransaction=Bc;exports.getTransactionThemeConfiguration=xc;exports.getTransactionsForBundle=Gc;exports.getTrueCoordinates=Lo;exports.getUnorderedTransactions=Wc;exports.getValidationJobsForWorkflowExperiences=ed;exports.getWorkflow=Sc;exports.getWorkflows=Wa;exports.graphQlManager=y;exports.illustrationStepService=Yt;exports.isCloseToValue=Uo;exports.loadFont=Pt;exports.matchHexToPms=Oi;exports.materialStepService=Qa;exports.metafieldManager=Qr;exports.mmPerPixel=Ho;exports.modelStepService=Ra;exports.modifySVGColors=Ue;exports.moduleStepService=Oa;exports.nameBundle=$c;exports.nameTransaction=Uc;exports.optionService=W;exports.outlineFontsInSvg=Zo;exports.patternImageDataCache=dt;exports.persistenceService=k;exports.pictureStepService=$a;exports.pmsToRgb=Ri;exports.questionStepService=Ua;exports.registerFetchImplementation=pi;exports.registerWindowImplementation=mi;exports.rehydrateSerializedLayout=ga;exports.rgbToPms=Un;exports.rotateAroundPoint=Wt;exports.sanitizeSvgTree=$e;exports.setBearerAuthenticationToken=On;exports.setCanvasModule=va;exports.shapeStepService=kt;exports.shortenUrl=Ar;exports.spiffCoreConfiguration=At;exports.stepAspectValuesToDesignInputSteps=Kl;exports.svgColorValueToDefinition=da;exports.svgStringDimensions=Ma;exports.svgToDataUrl=Oe;exports.textStepService=q;exports.toast=hr;exports.validateWorkflowExperienceRecipient=nd;exports.validateWorkflowExperienceRecipients=rd;exports.xmlSerializer=yt;
|
2701
2701
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
@@ -17727,6 +17727,7 @@ export {
|
|
17727
17727
|
kd as getValidationJobsForWorkflowExperiences,
|
17728
17728
|
hd as getWorkflow,
|
17729
17729
|
nr as getWorkflows,
|
17730
|
+
y as graphQlManager,
|
17730
17731
|
pe as illustrationStepService,
|
17731
17732
|
Vc as isCloseToValue,
|
17732
17733
|
Tt as loadFont,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@spiffcommerce/core",
|
3
|
-
"version": "30.0.1-beta.
|
3
|
+
"version": "30.0.1-beta.f642ccf0-8088-52e4-bb5a-fc3bebd5c30d",
|
4
4
|
"description": "Core client API for interacting with the Spiff Commerce backend.",
|
5
5
|
"source": "src/index.ts",
|
6
6
|
"main": "./dist/index.js",
|