oro-sdk-apis 1.21.0 → 1.22.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/dist/models/guard.d.ts +1 -1
- package/package.json +1 -1
- package/src/models/guard.ts +8 -1
package/dist/models/guard.d.ts
CHANGED
|
@@ -130,5 +130,5 @@ export interface LegalData {
|
|
|
130
130
|
rpAcceptedAtIP?: string;
|
|
131
131
|
}
|
|
132
132
|
export declare type RoleBasedScopes = AllRoleType;
|
|
133
|
-
export declare type PermissionBasedScopes = 'consult.consults.get' | 'consult.consults.post' | 'practice.assignments.post' | 'practice.configs.get' | 'teller.emails.post';
|
|
133
|
+
export declare type PermissionBasedScopes = 'consult.consults.get' | 'consult.consults.post' | 'practice.assignments.post' | 'practice.configs.get' | 'practice.invoices.get' | 'practice.payments.get' | 'teller.emails.post';
|
|
134
134
|
export declare type AllScopes = RoleBasedScopes | PermissionBasedScopes;
|
package/package.json
CHANGED
package/src/models/guard.ts
CHANGED
|
@@ -148,6 +148,13 @@ export interface LegalData {
|
|
|
148
148
|
|
|
149
149
|
export type RoleBasedScopes = AllRoleType
|
|
150
150
|
|
|
151
|
-
export type PermissionBasedScopes =
|
|
151
|
+
export type PermissionBasedScopes =
|
|
152
|
+
| 'consult.consults.get'
|
|
153
|
+
| 'consult.consults.post'
|
|
154
|
+
| 'practice.assignments.post'
|
|
155
|
+
| 'practice.configs.get'
|
|
156
|
+
| 'practice.invoices.get'
|
|
157
|
+
| 'practice.payments.get'
|
|
158
|
+
| 'teller.emails.post'
|
|
152
159
|
|
|
153
160
|
export type AllScopes = RoleBasedScopes | PermissionBasedScopes
|