oro-sdk-apis 6.3.0 → 7.0.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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "6.3.0",
2
+ "version": "7.0.0",
3
3
  "main": "dist/index.js",
4
4
  "typings": "dist/index.d.ts",
5
5
  "files": [
@@ -311,10 +311,13 @@ export interface WorkflowData {
311
311
  */
312
312
  serviceDescription?: string
313
313
  /**
314
- * (optional) rules to hide certain payment plans depending on the workflow answers
314
+ * These are the plan uuids that will be defaulted and shown at payment plan selection
315
+ */
316
+ startingPlanIds: number[]
317
+ /**
318
+ * (optional) rules to hide certain payment plans (`startingPlanIds`) depending on the workflow answers
315
319
  */
316
320
  hidePlanRules?: HidePlanRule[]
317
-
318
321
  /**
319
322
  * (optional) extension of another workflow referenced by uuid
320
323
  */
@@ -344,6 +347,10 @@ export interface WorkflowExtendingRules {
344
347
  * Whether the field should be removed altogether in the extended workflow
345
348
  */
346
349
  remove?: boolean,
350
+ /**
351
+ * Overrides the label of the original question
352
+ */
353
+ label?: string
347
354
  }
348
355
 
349
356
  export interface HidePlanRule {