@spiffcommerce/core 25.0.9 → 25.1.1
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 +4 -0
- package/dist/index.js +91 -90
- package/dist/index.mjs +1719 -1701
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1501,6 +1501,7 @@ interface BundleOptions {
|
|
|
1501
1501
|
* know the bundle is new and we want to skip the existing state check.
|
|
1502
1502
|
*/
|
|
1503
1503
|
createNewGlobalState?: boolean;
|
|
1504
|
+
bundleOwnerId?: string;
|
|
1504
1505
|
}
|
|
1505
1506
|
|
|
1506
1507
|
/**
|
|
@@ -2102,6 +2103,7 @@ interface GetWorkflowGraphqlAssetsOptions {
|
|
|
2102
2103
|
}
|
|
2103
2104
|
interface GetWorkflowGraphqlOptions {
|
|
2104
2105
|
assets?: GetWorkflowGraphqlAssetsOptions;
|
|
2106
|
+
bundleOwnerId?: string;
|
|
2105
2107
|
}
|
|
2106
2108
|
interface GetWorkflowOptionsBase {
|
|
2107
2109
|
/**
|
|
@@ -2222,6 +2224,7 @@ declare class SpiffCommerceClient {
|
|
|
2222
2224
|
}>;
|
|
2223
2225
|
clearCustomer(): void;
|
|
2224
2226
|
clearCustomerForTransaction(transactionId: string): void;
|
|
2227
|
+
customerHasBundleTemplates(emailAddress: string): Promise<boolean>;
|
|
2225
2228
|
getStakeholderTypeForTransaction(transactionId: string): StakeholderType | undefined;
|
|
2226
2229
|
getOrCreateCustomer(emailAddress: string): Promise<{
|
|
2227
2230
|
customer: Customer;
|
|
@@ -3893,6 +3896,7 @@ interface Customer {
|
|
|
3893
3896
|
partner?: Partner;
|
|
3894
3897
|
stakeholders?: Stakeholder[];
|
|
3895
3898
|
bundleStakeholders?: BundleStakeholder[];
|
|
3899
|
+
hasBundleTemplates?: boolean;
|
|
3896
3900
|
}
|
|
3897
3901
|
interface CustomerDetailsInput {
|
|
3898
3902
|
emailAddress: string;
|