@spiffcommerce/core 34.0.3 → 34.1.0-beta.7a56a636-d7cf-54ee-8dfc-5407b655bd46
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 +10 -0
- package/dist/index.js +106 -104
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +67 -51
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1095,6 +1095,10 @@ interface WorkflowExperience {
|
|
|
1095
1095
|
* Get the bundle this experience is part of. May be undefined.
|
|
1096
1096
|
*/
|
|
1097
1097
|
getBundle(): Bundle$1 | undefined;
|
|
1098
|
+
/**
|
|
1099
|
+
* The index of this transaction against its bundle, if part of one.
|
|
1100
|
+
*/
|
|
1101
|
+
getBundleIndex(): number | undefined;
|
|
1098
1102
|
/**
|
|
1099
1103
|
* Set the bundle this experience is part of. Can be cleared using undefined.
|
|
1100
1104
|
*/
|
|
@@ -1342,6 +1346,7 @@ declare class WorkflowExperienceImpl implements WorkflowExperience {
|
|
|
1342
1346
|
attachAddress(streetAddress?: string, apartment?: string, city?: string, country?: string, state?: string, postCode?: string): Promise<void>;
|
|
1343
1347
|
attachOrganization(name: string): Promise<void>;
|
|
1344
1348
|
getBundle(): Bundle$1 | undefined;
|
|
1349
|
+
getBundleIndex(): number | undefined;
|
|
1345
1350
|
setBundle(bundle: Bundle$1): void;
|
|
1346
1351
|
getClient(): SpiffCommerceClient;
|
|
1347
1352
|
getIsReadOnly(): boolean;
|
|
@@ -3769,6 +3774,10 @@ interface Transaction {
|
|
|
3769
3774
|
* modifying state of the transaction.
|
|
3770
3775
|
*/
|
|
3771
3776
|
id: string;
|
|
3777
|
+
/**
|
|
3778
|
+
* The index of this transaction against its bundle, if part of one.
|
|
3779
|
+
*/
|
|
3780
|
+
bundleIndex?: number;
|
|
3772
3781
|
/**
|
|
3773
3782
|
* User-supplied name for the associated design.
|
|
3774
3783
|
*/
|
|
@@ -4046,6 +4055,7 @@ interface Partner {
|
|
|
4046
4055
|
currencyCode?: string;
|
|
4047
4056
|
customerDetailsPromptMarkdown?: string;
|
|
4048
4057
|
activeAddons?: AddonHandle[];
|
|
4058
|
+
beta?: boolean;
|
|
4049
4059
|
}
|
|
4050
4060
|
declare enum AddonHandle {
|
|
4051
4061
|
BackgroundRemover = "BackgroundRemover",
|