@rinse-dental/open-dental 1.0.5 → 1.0.7
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.
|
@@ -9,9 +9,9 @@ export default class FamilyModules {
|
|
|
9
9
|
* Use another API method or a query to get additional details in each table.
|
|
10
10
|
* This area of the Family Module UI also shows discount plans, which are obtained through DiscountPlanSubs GET.
|
|
11
11
|
* @param {number} PatNum - FK to patient.PatNum
|
|
12
|
-
* @returns {Promise<Insurance>} - The appointment object.
|
|
12
|
+
* @returns {Promise<Insurance[]>} - The appointment object.
|
|
13
13
|
* @throws {Error} - If `AptNum` is not provided.
|
|
14
14
|
*/
|
|
15
|
-
getInsurance(PatNum: number): Promise<Insurance>;
|
|
15
|
+
getInsurance(PatNum: number): Promise<Insurance[]>;
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=familyModules.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"familyModules.d.ts","sourceRoot":"","sources":["../../src/api/familyModules.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EACL,SAAS,EACV,MAAM,4BAA4B,CAAC;AAEpC,MAAM,CAAC,OAAO,OAAO,aAAa;IAChC,OAAO,CAAC,UAAU,CAAa;gBAEnB,UAAU,EAAE,UAAU;IAIlC;;;;;;;;OAQG;IACU,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"familyModules.d.ts","sourceRoot":"","sources":["../../src/api/familyModules.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EACL,SAAS,EACV,MAAM,4BAA4B,CAAC;AAEpC,MAAM,CAAC,OAAO,OAAO,aAAa;IAChC,OAAO,CAAC,UAAU,CAAa;gBAEnB,UAAU,EAAE,UAAU;IAIlC;;;;;;;;OAQG;IACU,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;CAOhE"}
|
|
@@ -11,7 +11,7 @@ class FamilyModules {
|
|
|
11
11
|
* Use another API method or a query to get additional details in each table.
|
|
12
12
|
* This area of the Family Module UI also shows discount plans, which are obtained through DiscountPlanSubs GET.
|
|
13
13
|
* @param {number} PatNum - FK to patient.PatNum
|
|
14
|
-
* @returns {Promise<Insurance>} - The appointment object.
|
|
14
|
+
* @returns {Promise<Insurance[]>} - The appointment object.
|
|
15
15
|
* @throws {Error} - If `AptNum` is not provided.
|
|
16
16
|
*/
|
|
17
17
|
async getInsurance(PatNum) {
|
package/package.json
CHANGED
package/release.sh
CHANGED
|
@@ -38,3 +38,8 @@ git push origin "$NEW_TAG"
|
|
|
38
38
|
|
|
39
39
|
# Create a GitHub release (requires gh CLI)
|
|
40
40
|
gh release create "$NEW_TAG" --title "Release $NEW_TAG" --notes "$COMMIT_MSG"
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
#example ./release.sh "Some commit message" patch
|
|
44
|
+
#example ./release.sh "Some commit message" minor
|
|
45
|
+
#example ./release.sh "Some commit message" major
|
package/src/api/familyModules.ts
CHANGED
|
@@ -16,13 +16,14 @@ export default class FamilyModules {
|
|
|
16
16
|
* Use another API method or a query to get additional details in each table.
|
|
17
17
|
* This area of the Family Module UI also shows discount plans, which are obtained through DiscountPlanSubs GET.
|
|
18
18
|
* @param {number} PatNum - FK to patient.PatNum
|
|
19
|
-
* @returns {Promise<Insurance>} - The appointment object.
|
|
19
|
+
* @returns {Promise<Insurance[]>} - The appointment object.
|
|
20
20
|
* @throws {Error} - If `AptNum` is not provided.
|
|
21
21
|
*/
|
|
22
|
-
public async getInsurance(PatNum: number): Promise<Insurance> {
|
|
22
|
+
public async getInsurance(PatNum: number): Promise<Insurance[]> {
|
|
23
23
|
if (!PatNum) {
|
|
24
24
|
throw new Error("PatNum is required.");
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
|
|
27
|
+
return this.httpClient.get<Insurance[]>(`/familymodules/${PatNum}/Insurance`);
|
|
27
28
|
}
|
|
28
29
|
}
|
package/tsconfig.json
CHANGED