oro-sdk-apis 5.15.2 → 5.15.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/models/consult.d.ts +1 -0
- package/dist/models/workflow.d.ts +32 -0
- package/dist/oro-sdk-apis.cjs.development.js +1 -0
- package/dist/oro-sdk-apis.cjs.development.js.map +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk-apis.esm.js +1 -0
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/models/consult.ts +1 -0
- package/src/models/workflow.ts +51 -16
package/dist/models/consult.d.ts
CHANGED
@@ -179,6 +179,16 @@ export interface GenericQuestionData<T, A = IndexedData<ChoiceInputData>, O = un
|
|
179
179
|
*/
|
180
180
|
options?: O;
|
181
181
|
messages?: string;
|
182
|
+
/**
|
183
|
+
* Overrides the read only ability of the question's answer
|
184
|
+
* populated by extended workflow feature
|
185
|
+
*/
|
186
|
+
readOnly?: boolean;
|
187
|
+
/**
|
188
|
+
* Overrides the fillable default of the question's answer
|
189
|
+
* populated by extended workflow feature
|
190
|
+
*/
|
191
|
+
defaultEmpty?: boolean;
|
182
192
|
}
|
183
193
|
export interface GroupedGenericQuestionData<T, A = IndexedData<ChoiceInputData>> extends GenericQuestionData<T, A> {
|
184
194
|
inline?: boolean;
|
@@ -234,6 +244,28 @@ export interface WorkflowData {
|
|
234
244
|
* (optional) rules to hide certain payment plans depending on the workflow answers
|
235
245
|
*/
|
236
246
|
hidePlanRules?: HidePlanRule[];
|
247
|
+
/**
|
248
|
+
* (optional) extension of another workflow referenced by uuid
|
249
|
+
*/
|
250
|
+
extendingWorkflow?: string;
|
251
|
+
/**
|
252
|
+
* (optional) rules for the extension of another workflow
|
253
|
+
*/
|
254
|
+
extendingRules?: IndexedData<WorkflowExtendingRules>;
|
255
|
+
}
|
256
|
+
export interface WorkflowExtendingRules {
|
257
|
+
/**
|
258
|
+
* Whether the field becomes read only in the extended workflow
|
259
|
+
*/
|
260
|
+
readOnly?: boolean;
|
261
|
+
/**
|
262
|
+
* Whether the field becomes deselected/empty by default in the extended workflow
|
263
|
+
*/
|
264
|
+
defaultEmpty?: boolean;
|
265
|
+
/**
|
266
|
+
* Whether the field should be removed altogether in the extended workflow
|
267
|
+
*/
|
268
|
+
remove?: boolean;
|
237
269
|
}
|
238
270
|
export interface HidePlanRule {
|
239
271
|
/**
|
@@ -765,6 +765,7 @@ var ApisPracticeManager = /*#__PURE__*/function () {
|
|
765
765
|
MedicalStatus["New"] = "New";
|
766
766
|
MedicalStatus["ToAnswer"] = "ToAnswer";
|
767
767
|
MedicalStatus["Answered"] = "Answered";
|
768
|
+
MedicalStatus["Closing"] = "Closing";
|
768
769
|
MedicalStatus["Closed"] = "Closed";
|
769
770
|
MedicalStatus["Reopened"] = "Reopened";
|
770
771
|
MedicalStatus["Archived"] = "Archived";
|