oro-sdk-apis 3.8.0-dev1.0 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.8.0-dev1.0",
2
+ "version": "4.0.0",
3
3
  "main": "dist/index.js",
4
4
  "typings": "dist/index.d.ts",
5
5
  "files": [
@@ -55,4 +55,4 @@
55
55
  "buffer": "^6.0.3",
56
56
  "hash.js": "^1.1.7"
57
57
  }
58
- }
58
+ }
@@ -98,7 +98,7 @@ export enum PlanStatus {
98
98
  Pending = 'Pending',
99
99
  Accepted = 'Accepted',
100
100
  Rejected = 'Rejected',
101
- PreviouslyAccepted = 'PreviouslyAccepted'
101
+ PreviouslyAccepted = 'PreviouslyAccepted',
102
102
  }
103
103
 
104
104
  export interface TreatmentPlan {
@@ -119,6 +119,7 @@ export interface DrugPrescription {
119
119
 
120
120
  export interface TreatmentAndDrugPrescription {
121
121
  treatmentsHistory?: TreatmentHistory[]
122
+ notes?: string
122
123
  status: PlanStatus
123
124
  uuidTreatmentPlan: string
124
125
  /**
@@ -181,4 +182,4 @@ export interface TreatmentPlansResponseEntry {
181
182
  treatmentPlan: TreatmentPlan
182
183
  }
183
184
 
184
- export interface TreatmentPlansResponse extends Array<TreatmentPlansResponseEntry> { }
185
+ export interface TreatmentPlansResponse extends Array<TreatmentPlansResponseEntry> {}
@@ -59,7 +59,7 @@ export interface IdentityCreateRequest {
59
59
  recoveryPassword: Base64String
60
60
  tosAndCpAcceptance: TosAndCpAcceptanceRequest
61
61
  tokenData?: TokenData
62
- subscription?: boolean
62
+ subscriptionAcceptance?: SubscriptionAcceptanceRequest
63
63
  }
64
64
 
65
65
  export interface TosAndCpAcceptanceRequest {
@@ -96,6 +96,7 @@ export interface IdentityUpdateRequest {
96
96
  tokenData?: TokenData
97
97
  epAcceptance?: EpAcceptanceRequest
98
98
  rpAcceptance?: RpAcceptanceRequest
99
+ subscriptionAcceptance?: SubscriptionAcceptanceRequest
99
100
  }
100
101
 
101
102
  export interface EpAcceptanceRequest {
@@ -106,6 +107,10 @@ export interface RpAcceptanceRequest {
106
107
  rpVersion: string
107
108
  }
108
109
 
110
+ export interface SubscriptionAcceptanceRequest {
111
+ email: string
112
+ }
113
+
109
114
  export interface PasswordUpdateRequest {
110
115
  oldPassword?: Base64String
111
116
  newPassword: Base64String
@@ -144,6 +149,10 @@ export interface LegalData {
144
149
  rpAcceptedAtTime?: RFC3339Date
145
150
  rpAcceptedVersion: Url
146
151
  rpAcceptedAtIP?: string
152
+ subscribedAtTime?: RFC3339Date
153
+ subscribedAtIP?: string
154
+ subscribedEmail?: string
155
+ subscribedAudience?: string
147
156
  }
148
157
 
149
158
  export type RoleBasedScopes = AllRoleType
@@ -76,9 +76,11 @@ export interface TileRadioData extends ChoiceInputData {
76
76
  }
77
77
 
78
78
  export enum InputApplyFunctions { //these are generic metadata categories
79
- MakeUpperCase = 'MakeUpperCase',
80
- MakeLowerCase = 'MakeLowerCase',
81
- RemoveAllSpaces = 'RemoveAllSpaces',
79
+ AllUpperCase = 'AllUpperCase',
80
+ AllLowerCase = 'AllLowerCase',
81
+ AllAlphabetical = 'AllAlphabetical',
82
+ AllAlphanumeric = 'AllAlphanumeric',
83
+ NoSpaces = 'NoSpaces',
82
84
  }
83
85
 
84
86
  export interface EntryData {
package/LICENSE DELETED
@@ -1,21 +0,0 @@
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.