oro-sdk-apis 1.11.1-dev1 → 1.14.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": "1.11.1-dev1",
2
+ "version": "1.14.0",
3
3
  "main": "dist/index.js",
4
4
  "typings": "dist/index.d.ts",
5
5
  "files": [
@@ -6,4 +6,5 @@ export * from './practice'
6
6
  export * from './shared'
7
7
  export * from './vault'
8
8
  export * from './workflow'
9
- export * from './external'
9
+ export * from './external'
10
+ export * from './user'
@@ -0,0 +1,13 @@
1
+ export interface User {
2
+ aud: string
3
+ exp: number
4
+ jti: string
5
+ iat: number
6
+ iss: string
7
+ nbf?: number
8
+ sub: string
9
+ email: string
10
+ practice: string
11
+ scope: string
12
+ data?: { [val: string]: any }
13
+ }
@@ -80,15 +80,8 @@ export interface GroupedGenericQuestionData<T, A = IndexedData<ChoiceInputData>>
80
80
  order?: number
81
81
  }
82
82
 
83
- export type QuestionData =
84
- | GenericQuestionData<'title' | 'paragraph' | 'checkbox', void>
85
- | GenericQuestionData<
86
- 'text' | 'textArea' | 'hybrid' | 'date' | 'number' | 'images' | 'images-alias' | 'body-parts' | 'pharmacy-picker' | 'place-address'
87
- >
88
- | GenericQuestionData<'checkbox-group' | 'select' | 'multiple', IndexedData<ChoiceInputData>>
89
- | GroupedGenericQuestionData<'radio', IndexedData<RadioInputData>>
90
- | GroupedGenericQuestionData<'radio-card', IndexedData<RadioCardInputData>>
91
- | GroupedGenericQuestionData<'language-picker', IndexedData<LanguagePickerData>>
83
+ export declare type QuestionData = GenericQuestionData<'title' | 'paragraph' | 'checkbox', void> | GenericQuestionData<'text' | 'text-area' | 'date' | 'number' | 'images' | 'images-alias' | 'body-parts' | 'pharmacy-picker' | 'place-address'> | GenericQuestionData<'checkbox-group' | 'select' | 'multiple' | 'text-select-group', IndexedData<ChoiceInputData>> | GroupedGenericQuestionData<'radio', IndexedData<RadioInputData>> | GroupedGenericQuestionData<'radio-card', IndexedData<RadioCardInputData>> | GroupedGenericQuestionData<'language-picker', IndexedData<LanguagePickerData>>;
84
+
92
85
 
93
86
  export interface FieldData {
94
87
  type: 'field'