oro-sdk-apis 1.38.0 → 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/index.d.ts +1 -0
- package/dist/models/practice.d.ts +15 -0
- package/dist/models/search.d.ts +1 -1
- package/dist/oro-sdk-apis.cjs.development.js +9 -0
- package/dist/oro-sdk-apis.cjs.development.js.map +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk-apis.esm.js +12 -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/index.ts +1 -0
- package/src/models/practice.ts +16 -0
- package/src/models/search.ts +1 -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' | '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;
|
package/dist/models/index.d.ts
CHANGED
@@ -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
|
+
}
|
package/dist/models/search.d.ts
CHANGED
@@ -1195,6 +1195,15 @@ var IdentityCreationConflict = /*#__PURE__*/function (_Error7) {
|
|
1195
1195
|
MetadataCategory["Raw"] = "Raw";
|
1196
1196
|
})(exports.MetadataCategory || (exports.MetadataCategory = {}));
|
1197
1197
|
|
1198
|
+
(function (IndexKind) {
|
1199
|
+
IndexKind[IndexKind["consultUuid"] = 0] = "consultUuid";
|
1200
|
+
IndexKind[IndexKind["consultShortid"] = 1] = "consultShortid";
|
1201
|
+
IndexKind[IndexKind["firstName"] = 2] = "firstName";
|
1202
|
+
IndexKind[IndexKind["lastName"] = 3] = "lastName";
|
1203
|
+
IndexKind[IndexKind["healthId"] = 4] = "healthId";
|
1204
|
+
IndexKind[IndexKind["dob"] = 5] = "dob";
|
1205
|
+
})(exports.IndexKind || (exports.IndexKind = {}));
|
1206
|
+
|
1198
1207
|
var ConsultService = /*#__PURE__*/function () {
|
1199
1208
|
function ConsultService(api, baseURL) {
|
1200
1209
|
this.api = api;
|