oro-sdk-apis 1.47.0 → 1.50.0

Sign up to get free protection for your applications and to get access to all the features.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 ORO Health Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -510,6 +510,7 @@ export interface HydratedPracticeConfigs {
510
510
  export interface Practice {
511
511
  uuid: string;
512
512
  name: string;
513
+ shortName: string;
513
514
  countryOperating: string;
514
515
  urlPractice: string;
515
516
  urlLinkedPage?: string;
@@ -533,6 +534,7 @@ export interface Practice {
533
534
  txtRegistrationID?: string;
534
535
  txtLegalInfos?: string;
535
536
  txtDefaultTransmissionDriver?: string;
537
+ txtDefaultTransmissionAddress?: string;
536
538
  accounts?: PracticeAccount[];
537
539
  configs?: HydratedPracticeConfigs;
538
540
  }
@@ -66,9 +66,45 @@ export interface EntryData {
66
66
  summaryHidden?: boolean;
67
67
  className?: string;
68
68
  /**
69
- * This field represents a list of `selectedAnswers` that must be set for this entry to be displayed.
69
+ * This field represents a list of `selectedAnswers` that must be set for this entry to be displayed using the followng logical combination of rules:
70
+ *
71
+ * #### Single string
72
+ *
73
+ * ```
74
+ * // Required: rule1
75
+ * rules: rule1
76
+ * ```
77
+ *
78
+ * #### Array of strings (AND is applied between statements):
79
+ *
80
+ * ```
81
+ * // Required: rule1 AND rule2
82
+ * rules: [ rule1, rule2 ]
83
+ * ```
84
+ *
85
+ * #### Array of arrays of strings (OR is applied between inner arrays. AND is applied between inner arrays statements)
86
+ *
87
+ * ```
88
+ * // Required: rule1 OR rule2
89
+ * rules: [
90
+ * [ rule1 ],
91
+ * [ rule2 ]
92
+ * ]
93
+ *
94
+ * // Required: rule1 OR (rule2 AND rule3)
95
+ * rules: [
96
+ * [ rule1 ],
97
+ * [ rule2, rule3 ]
98
+ * ]
99
+ *
100
+ * // THIS IS FORBIDDEN
101
+ * rules: [
102
+ * rule1, // <-- THIS IS FORBIDDEN. Instead use [ rule1 ]
103
+ * [ rule2, rule3 ]
104
+ * ]
105
+ * ```
70
106
  */
71
- triggers?: string[];
107
+ triggers?: string[][] | string[] | string;
72
108
  /**
73
109
  * This field represents a list of `StateTrigger` that must be fulfilled for this entry to be displayed.
74
110
  */