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