@spiffcommerce/core 1.3.2 → 1.4.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/main.js +3 -3
- package/dist/module.js +3 -3
- package/dist/types.d.ts +13 -2
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -1348,16 +1348,22 @@ export abstract class StepHandle<T extends _AnyStepData1> {
|
|
|
1348
1348
|
* that would be triggered will also be executed.
|
|
1349
1349
|
*/
|
|
1350
1350
|
abstract selectVariant(variant: _VariantResource1): Promise<void>;
|
|
1351
|
+
/**
|
|
1352
|
+
* @returns A unique identifier for this step within the workflow.
|
|
1353
|
+
*/
|
|
1354
|
+
getId(): string;
|
|
1351
1355
|
/**
|
|
1352
1356
|
* @returns The name of the step
|
|
1353
1357
|
*/
|
|
1354
1358
|
getName(): string;
|
|
1355
|
-
|
|
1359
|
+
/**
|
|
1360
|
+
* @returns A message that can accompany the step name in UI components. Used to describe the purpose of the step in more detail.
|
|
1361
|
+
*/
|
|
1362
|
+
getHelpText(): string | undefined;
|
|
1356
1363
|
/**
|
|
1357
1364
|
* @returns The type of the step handle.
|
|
1358
1365
|
*/
|
|
1359
1366
|
getType(): _StepType1;
|
|
1360
|
-
getHelpText(): string | undefined;
|
|
1361
1367
|
}
|
|
1362
1368
|
export class BulkStepHandle extends StepHandle<_BulkStepData1> {
|
|
1363
1369
|
constructor(manager: WorkflowManager, step: _Step1<_BulkStepData1>);
|
|
@@ -1716,6 +1722,11 @@ interface ClientOptions {
|
|
|
1716
1722
|
* containing multiple variations of the base design.
|
|
1717
1723
|
*/
|
|
1718
1724
|
bulk?: boolean;
|
|
1725
|
+
/**
|
|
1726
|
+
* When provided, the client will use the provided application key to
|
|
1727
|
+
* authenticate with the SpiffCommerce API.
|
|
1728
|
+
*/
|
|
1729
|
+
applicationKey?: string;
|
|
1719
1730
|
}
|
|
1720
1731
|
/**
|
|
1721
1732
|
* The Spiff Commerce Javascript Client. Required for
|