oro-sdk-apis 1.38.2 → 1.39.0
Sign up to get free protection for your applications and to get access to all the features.
- 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/package.json
CHANGED
package/src/models/guard.ts
CHANGED
package/src/models/practice.ts
CHANGED
@@ -616,3 +616,19 @@ export interface PracticeInvoice {
|
|
616
616
|
currency: string
|
617
617
|
discount: number
|
618
618
|
}
|
619
|
+
|
620
|
+
/**
|
621
|
+
* This interface represents a practice secret
|
622
|
+
* It is used to generate a symetric key to encrypt
|
623
|
+
* practice related data
|
624
|
+
*/
|
625
|
+
export interface PracticeSecret {
|
626
|
+
practiceUuid: string
|
627
|
+
/**
|
628
|
+
* The payload is the actual base64 encoded bytes that can
|
629
|
+
* be used as the practice secret. In the db,
|
630
|
+
* this field is base64 encoded nonce+encrypted-payload.
|
631
|
+
* It's decrypted on the fly when returned by the api.
|
632
|
+
*/
|
633
|
+
payload: string
|
634
|
+
}
|