oro-sdk-apis 3.8.0 → 4.0.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.
@@ -52,7 +52,7 @@ export interface IdentityCreateRequest {
52
52
  recoveryPassword: Base64String;
53
53
  tosAndCpAcceptance: TosAndCpAcceptanceRequest;
54
54
  tokenData?: TokenData;
55
- subscription?: boolean;
55
+ subscriptionAcceptance?: SubscriptionAcceptanceRequest;
56
56
  }
57
57
  export interface TosAndCpAcceptanceRequest {
58
58
  tosVersion: string;
@@ -86,6 +86,7 @@ export interface IdentityUpdateRequest {
86
86
  tokenData?: TokenData;
87
87
  epAcceptance?: EpAcceptanceRequest;
88
88
  rpAcceptance?: RpAcceptanceRequest;
89
+ subscriptionAcceptance?: SubscriptionAcceptanceRequest;
89
90
  }
90
91
  export interface EpAcceptanceRequest {
91
92
  epVersion: string;
@@ -93,6 +94,9 @@ export interface EpAcceptanceRequest {
93
94
  export interface RpAcceptanceRequest {
94
95
  rpVersion: string;
95
96
  }
97
+ export interface SubscriptionAcceptanceRequest {
98
+ email: string;
99
+ }
96
100
  export interface PasswordUpdateRequest {
97
101
  oldPassword?: Base64String;
98
102
  newPassword: Base64String;
@@ -128,6 +132,10 @@ export interface LegalData {
128
132
  rpAcceptedAtTime?: RFC3339Date;
129
133
  rpAcceptedVersion: Url;
130
134
  rpAcceptedAtIP?: string;
135
+ subscribedAtTime?: RFC3339Date;
136
+ subscribedAtIP?: string;
137
+ subscribedEmail?: string;
138
+ subscribedAudience?: string;
131
139
  }
132
140
  export declare type RoleBasedScopes = AllRoleType;
133
141
  export declare type PermissionBasedScopes = 'consult.consults.get' | 'consult.consults.post' | 'consult.consults.put' | 'practice.assignments.post' | 'practice.emails.get' | 'practice.configs.get' | 'practice.invoices.get' | 'practice.payments.get' | 'practice.secrets.get' | 'teller.emails.post';