oro-sdk-apis 3.6.0 → 3.7.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/oro-sdk-apis.cjs.development.js +10 -2
- 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 +10 -2
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/dist/services/practice.d.ts +6 -0
- package/package.json +1 -1
- package/src/services/practice.ts +13 -4
package/dist/oro-sdk-apis.esm.js
CHANGED
@@ -1973,6 +1973,15 @@ var PracticeService = /*#__PURE__*/function () {
|
|
1973
1973
|
this.api = api;
|
1974
1974
|
this.baseURL = baseURL;
|
1975
1975
|
}
|
1976
|
+
/**
|
1977
|
+
* This function will only work if the service is initialized with
|
1978
|
+
* an M2M with the scope `practice.practices.get`
|
1979
|
+
* @returns an array of practices
|
1980
|
+
*/
|
1981
|
+
var _proto = PracticeService.prototype;
|
1982
|
+
_proto.practiceGetAll = function practiceGetAll() {
|
1983
|
+
return this.api.get(this.baseURL + "/v1/practices");
|
1984
|
+
}
|
1976
1985
|
/**
|
1977
1986
|
* This function get the practice from the URL of a practice
|
1978
1987
|
* It is the entry point of our web apps
|
@@ -1980,8 +1989,7 @@ var PracticeService = /*#__PURE__*/function () {
|
|
1980
1989
|
* @param hydratePracticeConfigs (optional) if set true it the Practice field configs will be set
|
1981
1990
|
* @param accounts (optional) if set true it the Practice field accounts will be set
|
1982
1991
|
* @returns the found practice or undefined
|
1983
|
-
|
1984
|
-
var _proto = PracticeService.prototype;
|
1992
|
+
*/;
|
1985
1993
|
_proto.practiceGetFromURL = function practiceGetFromURL(practiceURL, params) {
|
1986
1994
|
return this.api.get(this.baseURL + "/v1/practices", {
|
1987
1995
|
params: _extends({
|