oro-sdk-apis 1.38.2 → 1.39.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/dist/models/practice.d.ts +15 -0
- package/dist/oro-sdk-apis.cjs.development.js.map +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/models/guard.ts +1 -0
- package/src/models/practice.ts +16 -0
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' | 'consult.consults.put' | 'practice.assignments.post' | 'practice.emails.get' | 'practice.configs.get' | 'practice.invoices.get' | 'practice.payments.get' | 'teller.emails.post';
|
133
|
+
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';
|
134
134
|
export declare type AllScopes = RoleBasedScopes | PermissionBasedScopes;
|
@@ -529,3 +529,18 @@ export interface PracticeInvoice {
|
|
529
529
|
currency: string;
|
530
530
|
discount: number;
|
531
531
|
}
|
532
|
+
/**
|
533
|
+
* This interface represents a practice secret
|
534
|
+
* It is used to generate a symetric key to encrypt
|
535
|
+
* practice related data
|
536
|
+
*/
|
537
|
+
export interface PracticeSecret {
|
538
|
+
practiceUuid: string;
|
539
|
+
/**
|
540
|
+
* The payload is the actual base64 encoded bytes that can
|
541
|
+
* be used as the practice secret. In the db,
|
542
|
+
* this field is base64 encoded nonce+encrypted-payload.
|
543
|
+
* It's decrypted on the fly when returned by the api.
|
544
|
+
*/
|
545
|
+
payload: string;
|
546
|
+
}
|