@rinse-dental/open-dental 2.4.15 → 2.4.17
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/api/feeScheds.d.ts +16 -0
- package/dist/api/feeScheds.d.ts.map +1 -0
- package/dist/api/feeScheds.js +22 -0
- package/dist/openDental.d.ts +5 -0
- package/dist/openDental.d.ts.map +1 -1
- package/dist/openDental.js +10 -0
- package/dist/types/feeSchedsTypes.d.ts +36 -0
- package/dist/types/feeSchedsTypes.d.ts.map +1 -0
- package/dist/types/feeSchedsTypes.js +2 -0
- package/package.json +1 -1
- package/src/api/feeScheds.ts +30 -0
- package/src/openDental.ts +11 -0
- package/src/types/feeSchedsTypes.ts +38 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import HttpClient from "../utils/httpClient";
|
|
2
|
+
import { FeeSched } from "../types/feeSchedsTypes";
|
|
3
|
+
export default class FeeScheds {
|
|
4
|
+
private httpClient;
|
|
5
|
+
constructor(httpClient: HttpClient);
|
|
6
|
+
/**
|
|
7
|
+
* Fetch fee schedules with optional filtering and pagination.
|
|
8
|
+
* @param {Object} params - The parameters for filtering and pagination.
|
|
9
|
+
* @param {number} [params.Offset] - Optional. Pagination offset for results.
|
|
10
|
+
* @returns {Promise<FeeSched[]>} - A list of fees.
|
|
11
|
+
*/
|
|
12
|
+
getFeeScheds({ Offset }: {
|
|
13
|
+
Offset?: number;
|
|
14
|
+
}): Promise<FeeSched[]>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=feeScheds.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feeScheds.d.ts","sourceRoot":"","sources":["../../src/api/feeScheds.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EACL,QAAQ,EAGT,MAAM,yBAAyB,CAAC;AAEjC,MAAM,CAAC,OAAO,OAAO,SAAS;IAC5B,OAAO,CAAC,UAAU,CAAa;gBAEnB,UAAU,EAAE,UAAU;IAIlC;;;;;OAKG;IACU,YAAY,CAAC,EAAE,MAAM,EAAE,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;CAShF"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class FeeScheds {
|
|
4
|
+
httpClient;
|
|
5
|
+
constructor(httpClient) {
|
|
6
|
+
this.httpClient = httpClient;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Fetch fee schedules with optional filtering and pagination.
|
|
10
|
+
* @param {Object} params - The parameters for filtering and pagination.
|
|
11
|
+
* @param {number} [params.Offset] - Optional. Pagination offset for results.
|
|
12
|
+
* @returns {Promise<FeeSched[]>} - A list of fees.
|
|
13
|
+
*/
|
|
14
|
+
async getFeeScheds({ Offset }) {
|
|
15
|
+
const params = {};
|
|
16
|
+
if (Offset !== undefined) {
|
|
17
|
+
params.Offset = Offset;
|
|
18
|
+
}
|
|
19
|
+
return this.httpClient.get("/feescheds", params);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.default = FeeScheds;
|
package/dist/openDental.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ import ClaimProcs from "./api/claimProcs";
|
|
|
27
27
|
import Adjustments from "./api/adjustments";
|
|
28
28
|
import ProcedureCodes from "./api/procedureCodes";
|
|
29
29
|
import Fees from "./api/fees";
|
|
30
|
+
import FeeScheds from "./api/feeScheds";
|
|
30
31
|
import Diseases from "./api/diseases";
|
|
31
32
|
import Allergies from "./api/allergies";
|
|
32
33
|
import MedicationPats from "./api/medicationPats";
|
|
@@ -157,6 +158,10 @@ declare class OpenDental {
|
|
|
157
158
|
* Create a new instance of the Fees API.
|
|
158
159
|
*/
|
|
159
160
|
static Fees(): Fees;
|
|
161
|
+
/**
|
|
162
|
+
* Create a new instance of the FeeScheds API.
|
|
163
|
+
*/
|
|
164
|
+
static FeeScheds(): FeeScheds;
|
|
160
165
|
/**
|
|
161
166
|
* Create a new instance of the Diseases API.
|
|
162
167
|
*/
|
package/dist/openDental.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openDental.d.ts","sourceRoot":"","sources":["../src/openDental.ts"],"names":[],"mappings":"AACA,OAAO,YAAY,MAAM,oBAAoB,CAAC;AAC9C,OAAO,YAAY,MAAM,oBAAoB,CAAC;AAC9C,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AACtC,OAAO,SAAS,MAAM,iBAAiB,CAAC;AACxC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AACtC,OAAO,aAAa,MAAM,oBAAoB,CAAC;AAC/C,OAAO,OAAO,MAAM,eAAe,CAAC;AACpC,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,qBAAqB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,SAAS,MAAM,iBAAiB,CAAC;AACxC,OAAO,SAAS,MAAM,iBAAiB,CAAC;AACxC,OAAO,WAAW,MAAM,mBAAmB,CAAC;AAC5C,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AACtC,OAAO,SAAS,MAAM,iBAAiB,CAAC;AACxC,OAAO,WAAW,MAAM,mBAAmB,CAAC;AAC5C,OAAO,aAAa,MAAM,qBAAqB,CAAC;AAChD,OAAO,gBAAgB,MAAM,wBAAwB,CAAC;AACtD,OAAO,aAAa,MAAM,qBAAqB,CAAC;AAChD,OAAO,OAAO,MAAM,eAAe,CAAC;AACpC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AACtC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AACtC,OAAO,SAAS,MAAM,iBAAiB,CAAC;AACxC,OAAO,WAAW,MAAM,mBAAmB,CAAC;AAC5C,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AACtC,OAAO,QAAQ,MAAM,gBAAgB,CA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W,aAAa;IAO3B;;OAEG;WACW,gBAAgB;IAO9B;;OAEG;WACW,aAAa;IAO3B;;OAEG;WACW,OAAO;IAOrB;;OAEG;WACW,QAAQ;IAOtB;;OAEG;WACW,QAAQ;IAOtB;;OAEG;WACW,SAAS;IAOvB;;OAEG;WACW,WAAW;IAOzB;;OAEG;WACW,QAAQ;IAOtB;;OAEG;WACW,QAAQ;IAOtB;;OAEG;WACW,UAAU;IAOxB;;OAEG;WACW,WAAW;IAOzB;;OAEG;WACW,cAAc;IAO5B;;OAEG;WACW,SAAS;IAOvB;;OAEG;WACW,IAAI;IAOlB;;KAEC;WACa,SAAS;IAOvB;;OAEG;WACW,QAAQ;IAOtB;;OAEG;WACW,SAAS;IAOvB;;OAEG;WACW,cAAc;IAO5B;;OAEG;WACW,OAAO;IAOrB;;OAEG;WACW,SAAS;IAOvB;;OAEG;WACW,OAAO;IAOrB;;OAEG;WACW,YAAY;IAO1B;;OAEG;WACW,YAAY;CAI3B;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
package/dist/openDental.js
CHANGED
|
@@ -67,6 +67,7 @@ const claimProcs_1 = __importDefault(require("./api/claimProcs"));
|
|
|
67
67
|
const adjustments_1 = __importDefault(require("./api/adjustments"));
|
|
68
68
|
const procedureCodes_1 = __importDefault(require("./api/procedureCodes"));
|
|
69
69
|
const fees_1 = __importDefault(require("./api/fees"));
|
|
70
|
+
const feeScheds_1 = __importDefault(require("./api/feeScheds"));
|
|
70
71
|
const diseases_1 = __importDefault(require("./api/diseases"));
|
|
71
72
|
const allergies_1 = __importDefault(require("./api/allergies"));
|
|
72
73
|
const medicationPats_1 = __importDefault(require("./api/medicationPats"));
|
|
@@ -349,6 +350,15 @@ class OpenDental {
|
|
|
349
350
|
}
|
|
350
351
|
return new fees_1.default(this.httpClient);
|
|
351
352
|
}
|
|
353
|
+
/**
|
|
354
|
+
* Create a new instance of the FeeScheds API.
|
|
355
|
+
*/
|
|
356
|
+
static FeeScheds() {
|
|
357
|
+
if (!this.httpClient) {
|
|
358
|
+
throw new Error("OpenDental not initialized. Call OpenDental.initialize() first.");
|
|
359
|
+
}
|
|
360
|
+
return new feeScheds_1.default(this.httpClient);
|
|
361
|
+
}
|
|
352
362
|
/**
|
|
353
363
|
* Create a new instance of the Diseases API.
|
|
354
364
|
*/
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a fee schedules in Open Dental
|
|
3
|
+
* @see https://www.opendental.com/site/apifeescheds.html
|
|
4
|
+
*/
|
|
5
|
+
export interface FeeSched {
|
|
6
|
+
FeeSchedNum?: number;
|
|
7
|
+
Description?: string;
|
|
8
|
+
FeeSchedType?: "Normal" | "CoPay" | "OutNetwork" | "FixedBenefit" | "ManualBlueBook";
|
|
9
|
+
ItemOrder?: number;
|
|
10
|
+
IsHidden?: "true" | "false";
|
|
11
|
+
IsGlobal?: "true" | "false";
|
|
12
|
+
SecUserNumEntry?: number;
|
|
13
|
+
SecDateEntry?: string;
|
|
14
|
+
SecDateTEdit?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Parameters for Create Fee Schedule.
|
|
18
|
+
* @see https://www.opendental.com/site/apifeescheds.html
|
|
19
|
+
*/
|
|
20
|
+
export interface CreateFeeSchedParams {
|
|
21
|
+
Description: string;
|
|
22
|
+
FeeSchedType: "Normal" | "CoPay" | "OutNetwork" | "FixedBenefit" | "ManualBlueBook";
|
|
23
|
+
IsHidden?: "true" | "false";
|
|
24
|
+
IsGlobal?: "true" | "false";
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Parameters for Update Fee Schedule.
|
|
28
|
+
* @see https://www.opendental.com/site/apifeescheds.html
|
|
29
|
+
*/
|
|
30
|
+
export interface UpdateFeeSchedParams {
|
|
31
|
+
FeeSchedNum: number;
|
|
32
|
+
Description: string;
|
|
33
|
+
IsHidden?: "true" | "false";
|
|
34
|
+
IsGlobal?: "true" | "false";
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=feeSchedsTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feeSchedsTypes.d.ts","sourceRoot":"","sources":["../../src/types/feeSchedsTypes.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,QAAQ;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,YAAY,GAAG,cAAc,GAAG,gBAAgB,CAAC;IACrF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,QAAQ,GAAG,OAAO,GAAG,YAAY,GAAG,cAAc,GAAG,gBAAgB,CAAC;IACpF,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC7B;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC7B"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import HttpClient from "../utils/httpClient";
|
|
2
|
+
import {
|
|
3
|
+
FeeSched,
|
|
4
|
+
CreateFeeSchedParams,
|
|
5
|
+
UpdateFeeSchedParams,
|
|
6
|
+
} from "../types/feeSchedsTypes";
|
|
7
|
+
|
|
8
|
+
export default class FeeScheds {
|
|
9
|
+
private httpClient: HttpClient;
|
|
10
|
+
|
|
11
|
+
constructor(httpClient: HttpClient) {
|
|
12
|
+
this.httpClient = httpClient;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Fetch fee schedules with optional filtering and pagination.
|
|
17
|
+
* @param {Object} params - The parameters for filtering and pagination.
|
|
18
|
+
* @param {number} [params.Offset] - Optional. Pagination offset for results.
|
|
19
|
+
* @returns {Promise<FeeSched[]>} - A list of fees.
|
|
20
|
+
*/
|
|
21
|
+
public async getFeeScheds({ Offset }: { Offset?: number }): Promise<FeeSched[]> {
|
|
22
|
+
const params: Record<string, unknown> = {};
|
|
23
|
+
|
|
24
|
+
if (Offset !== undefined) {
|
|
25
|
+
params.Offset = Offset;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
return this.httpClient.get<FeeSched[]>("/feescheds", params);
|
|
29
|
+
}
|
|
30
|
+
}
|
package/src/openDental.ts
CHANGED
|
@@ -28,6 +28,7 @@ import ClaimProcs from "./api/claimProcs";
|
|
|
28
28
|
import Adjustments from "./api/adjustments";
|
|
29
29
|
import ProcedureCodes from "./api/procedureCodes";
|
|
30
30
|
import Fees from "./api/fees";
|
|
31
|
+
import FeeScheds from "./api/feeScheds";
|
|
31
32
|
import Diseases from "./api/diseases";
|
|
32
33
|
import Allergies from "./api/allergies";
|
|
33
34
|
import MedicationPats from "./api/medicationPats";
|
|
@@ -347,6 +348,16 @@ class OpenDental {
|
|
|
347
348
|
return new Fees(this.httpClient);
|
|
348
349
|
}
|
|
349
350
|
|
|
351
|
+
/**
|
|
352
|
+
* Create a new instance of the FeeScheds API.
|
|
353
|
+
*/
|
|
354
|
+
public static FeeScheds() {
|
|
355
|
+
if (!this.httpClient) {
|
|
356
|
+
throw new Error("OpenDental not initialized. Call OpenDental.initialize() first.");
|
|
357
|
+
}
|
|
358
|
+
return new FeeScheds(this.httpClient);
|
|
359
|
+
}
|
|
360
|
+
|
|
350
361
|
/**
|
|
351
362
|
* Create a new instance of the Diseases API.
|
|
352
363
|
*/
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a fee schedules in Open Dental
|
|
3
|
+
* @see https://www.opendental.com/site/apifeescheds.html
|
|
4
|
+
*/
|
|
5
|
+
export interface FeeSched {
|
|
6
|
+
FeeSchedNum?: number; //
|
|
7
|
+
Description?: string; //
|
|
8
|
+
FeeSchedType?: "Normal" | "CoPay" | "OutNetwork" | "FixedBenefit" | "ManualBlueBook"; //
|
|
9
|
+
ItemOrder?: number; //
|
|
10
|
+
IsHidden?: "true" | "false"; //
|
|
11
|
+
IsGlobal?: "true" | "false"; //
|
|
12
|
+
SecUserNumEntry?: number; //
|
|
13
|
+
SecDateEntry?: string; // String in "yyyy-MM-dd" format.
|
|
14
|
+
SecDateTEdit?: string; // String in "yyyy-MM-dd" format.
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Parameters for Create Fee Schedule.
|
|
19
|
+
* @see https://www.opendental.com/site/apifeescheds.html
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateFeeSchedParams {
|
|
22
|
+
Description: string; // Required. The name of the fee schedule.
|
|
23
|
+
FeeSchedType: "Normal" | "CoPay" | "OutNetwork" | "FixedBenefit" | "ManualBlueBook"; // Required. Either "Normal", "CoPay", "OutNetwork", "FixedBenefit", or "ManualBlueBook". FeeSchedType cannot be changed
|
|
24
|
+
IsHidden?: "true" | "false"; // Optional. Either "true" or "false". Default false.
|
|
25
|
+
IsGlobal?: "true" | "false"; // Optional. Either "true" or "false". Default false.
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Parameters for Update Fee Schedule.
|
|
30
|
+
* @see https://www.opendental.com/site/apifeescheds.html
|
|
31
|
+
*/
|
|
32
|
+
export interface UpdateFeeSchedParams {
|
|
33
|
+
FeeSchedNum: number; // Required in the URL.
|
|
34
|
+
Description: string; // The name of the fee schedule.
|
|
35
|
+
IsHidden?: "true" | "false"; // Either "true" or "false".
|
|
36
|
+
IsGlobal?: "true" | "false"; // Either "true" or "false".
|
|
37
|
+
}
|
|
38
|
+
|