@spiffcommerce/core 22.7.4 → 22.8.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 +8 -0
- package/dist/index.js +1436 -1349
- package/dist/index.umd.cjs +144 -103
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1157,6 +1157,7 @@ declare class ColorOptionGlobalPropertyHandle extends OptionGlobalPropertyHandle
|
|
|
1157
1157
|
interface GlobalPropertyStateManager {
|
|
1158
1158
|
getInitializationPromise(): Promise<void>;
|
|
1159
1159
|
getGlobalPropertyState(): GlobalPropertyState | undefined;
|
|
1160
|
+
setGlobalPropertyState(state: GlobalPropertyState): Promise<void>;
|
|
1160
1161
|
getAspect(name: string): string | undefined;
|
|
1161
1162
|
getAspectStorage<S extends GlobalPropertyStateAspectStorage>(name: string): S | undefined;
|
|
1162
1163
|
/**
|
|
@@ -1923,6 +1924,13 @@ declare class SpiffCommerceClient {
|
|
|
1923
1924
|
* @deprecated use GetBundleOptions instead. This attribute will be removed in the future.
|
|
1924
1925
|
*/
|
|
1925
1926
|
graphqlOptions?: GetBundleGraphqlOptions, options?: GetBundleOptions): Promise<Bundle$1>;
|
|
1927
|
+
/**
|
|
1928
|
+
* @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.
|
|
1929
|
+
* @param template Optional: Whether to mark the new bundle as a template. Default is false.
|
|
1930
|
+
* @param duplicateTransactions Optional: Whether to also duplicate the original bundle's transactions. Default is true.
|
|
1931
|
+
* @returns A bundle to be used for grouping and operating on large amounts of workflow experiences.
|
|
1932
|
+
*/
|
|
1933
|
+
duplicateBundle(bundleId: string, template?: boolean, duplicateTransactions?: boolean, options?: GetBundleOptions): Promise<Bundle$1>;
|
|
1926
1934
|
/**
|
|
1927
1935
|
* Retrieves all existing bundle stakeholders from the API, for the currently authenticated customer.
|
|
1928
1936
|
* @returns An array of bundle stakeholders.
|