@spiffcommerce/core 14.13.0 → 14.13.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/main.js +6 -6
- package/dist/module.js +4 -4
- package/dist/types.d.ts +4 -2
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -2442,9 +2442,10 @@ export class SpiffCommerceClient {
|
|
|
2442
2442
|
* Retrieves an existing bundle from the API, by id.
|
|
2443
2443
|
* @param bundleId The id of the bundle to retrieve.
|
|
2444
2444
|
* @param previewService Optional: A reference to an existing preview service to use. This can be assigned manually later.
|
|
2445
|
+
* @param graphqlOptions Optional: Options to configure loading the workflow.
|
|
2445
2446
|
* @returns A bundle to be used for grouping and operating on large amounts of workflow experiences.
|
|
2446
2447
|
*/
|
|
2447
|
-
getExistingBundle(bundleId: string, previewService?: any): Promise<Bundle>;
|
|
2448
|
+
getExistingBundle(bundleId: string, previewService?: any, graphqlOptions?: GetWorkflowGraphqlOptions): Promise<Bundle>;
|
|
2448
2449
|
/**
|
|
2449
2450
|
* Retrieves all existing bundle stakeholders from the API, for the currently authenticated customer.
|
|
2450
2451
|
* @returns An array of bundle stakeholders.
|
|
@@ -2463,9 +2464,10 @@ export class SpiffCommerceClient {
|
|
|
2463
2464
|
* Gets multiple workflow experiences at once.
|
|
2464
2465
|
* @param optionsArray An array of options to configure loading the transactions and workflows.
|
|
2465
2466
|
* NOTE: The `previewService` field on the option is currently unsupported in this function, as loading multiple models at once will likely cause performance issues.
|
|
2467
|
+
* @param graphqlOptions Options to configure loading the workflows.
|
|
2466
2468
|
* @returns An array of workflow experiences configured as requested.
|
|
2467
2469
|
*/
|
|
2468
|
-
getWorkflowExperiences(optionsArray: GetWorkflowOptions[]): Promise<WorkflowExperience[]>;
|
|
2470
|
+
getWorkflowExperiences(optionsArray: GetWorkflowOptions[], graphqlOptions?: GetWorkflowGraphqlOptions): Promise<WorkflowExperience[]>;
|
|
2469
2471
|
/**
|
|
2470
2472
|
* Initialize the client from an integration product.
|
|
2471
2473
|
* @param integrationProductId The integration product to use.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spiffcommerce/core",
|
|
3
|
-
"version": "14.13.
|
|
3
|
+
"version": "14.13.1",
|
|
4
4
|
"description": "Core client API for interacting with the Spiff Commerce backend.",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
},
|
|
90
90
|
"dependencies": {
|
|
91
91
|
"@apollo/client": "^3.7.0",
|
|
92
|
-
"@spiffcommerce/papyrus": "
|
|
92
|
+
"@spiffcommerce/papyrus": "5.0.3",
|
|
93
93
|
"cross-fetch": "^3.1.5",
|
|
94
94
|
"graphql": "^16.6.0",
|
|
95
95
|
"lodash.clonedeep": "^4.5.0",
|