@spiffcommerce/core 33.9.0-beta.09c79ef9-5c43-5036-b18e-8b04f98ca9b9 → 33.9.0-beta.2d52d5b7-ea42-57b9-b9aa-169288c7a778
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 +2 -7
- package/dist/index.js +198 -198
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2117 -2121
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1824,9 +1824,6 @@ declare const getProductCollections: (ids: string[]) => Promise<ProductCollectio
|
|
|
1824
1824
|
interface BundleIntegrationProductsAddedEventData {
|
|
1825
1825
|
integrationProductIds: string[];
|
|
1826
1826
|
}
|
|
1827
|
-
interface BundleIntegrationProductsRemovedEventData {
|
|
1828
|
-
integrationProductIds: string[];
|
|
1829
|
-
}
|
|
1830
1827
|
interface ConditionalGlobalPropertiesChangedEventData {
|
|
1831
1828
|
globalProperties: GlobalPropertyHandle[];
|
|
1832
1829
|
}
|
|
@@ -1845,7 +1842,6 @@ interface WorkflowExperienceRemovedEventData extends WorkflowExperienceAddedEven
|
|
|
1845
1842
|
}
|
|
1846
1843
|
type BundleEventMap = {
|
|
1847
1844
|
"bundle-integration-products-added": BundleIntegrationProductsAddedEventData;
|
|
1848
|
-
"bundle-integration-products-removed": BundleIntegrationProductsRemovedEventData;
|
|
1849
1845
|
"conditional-global-properties-changed": ConditionalGlobalPropertiesChangedEventData;
|
|
1850
1846
|
"global-properties-mandatory-changed": GlobalPropertiesMandatoryChangedEventData;
|
|
1851
1847
|
"workflow-experience-hover-enter": WorkflowExperienceHoverEventData;
|
|
@@ -2100,7 +2096,6 @@ interface Bundle$1 {
|
|
|
2100
2096
|
applyGlobalPropertyState(state: GlobalPropertyState): Promise<void>;
|
|
2101
2097
|
getIntegrationProductIds(): undefined | string[];
|
|
2102
2098
|
addIntegrationProductId(id: string): Promise<void>;
|
|
2103
|
-
clearIntegrationProductIds(): Promise<void>;
|
|
2104
2099
|
}
|
|
2105
2100
|
|
|
2106
2101
|
/**
|
|
@@ -2543,7 +2538,7 @@ declare class SpiffCommerceClient {
|
|
|
2543
2538
|
/**
|
|
2544
2539
|
* @deprecated use GetBundleOptions instead. This attribute will be removed in the future.
|
|
2545
2540
|
*/
|
|
2546
|
-
graphqlOptions?: GetBundleGraphqlOptions, options?: GetBundleOptions): Promise<Bundle$1>;
|
|
2541
|
+
graphqlOptions?: GetBundleGraphqlOptions, options?: GetBundleOptions, transactionLoadProgressCallback?: (loaded: number, total: number) => void): Promise<Bundle$1>;
|
|
2547
2542
|
/**
|
|
2548
2543
|
* @param bundleId The id of the bundle to copy. The current context must have write access to the this bundle in order to duplicate it.
|
|
2549
2544
|
* @param template Optional: Whether to mark the new bundle as a template. Default is false.
|
|
@@ -2593,7 +2588,7 @@ declare class SpiffCommerceClient {
|
|
|
2593
2588
|
* @param graphqlOptions Options to configure loading the workflows.
|
|
2594
2589
|
* @returns An array of workflow experiences configured as requested.
|
|
2595
2590
|
*/
|
|
2596
|
-
getWorkflowExperiences(optionsArray: GetWorkflowOptions[], graphqlOptions?: GetWorkflowGraphqlOptions, transactionInitializedCallback?: () => void): Promise<WorkflowExperience[]>;
|
|
2591
|
+
getWorkflowExperiences(optionsArray: GetWorkflowOptions[], graphqlOptions?: GetWorkflowGraphqlOptions, transactionInitializedCallback?: () => void, transactionLoadProgressCallback?: (loaded: number, total: number) => void): Promise<WorkflowExperience[]>;
|
|
2597
2592
|
/**
|
|
2598
2593
|
* A function used to synchronize transaction state with the server.
|
|
2599
2594
|
* @param options New state details. To be spread into the query.
|