oro-sdk-apis 3.8.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",
2
+ "version": "4.0.0",
3
3
  "main": "dist/index.js",
4
4
  "typings": "dist/index.d.ts",
5
5
  "files": [
@@ -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
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.