@rinse-dental/open-dental 0.1.7 → 1.0.1
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/deploy_notes.txt +6 -2
- package/dist/api/definitions.d.ts +16 -0
- package/dist/api/definitions.d.ts.map +1 -0
- package/dist/api/definitions.js +25 -0
- package/dist/api/discountPlanSubs.d.ts +46 -0
- package/dist/api/discountPlanSubs.d.ts.map +1 -0
- package/dist/api/discountPlanSubs.js +69 -0
- package/dist/api/index.d.ts +6 -1
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +12 -2
- package/dist/api/operatories.d.ts +4 -4
- package/dist/api/operatories.js +4 -4
- package/dist/api/patFields.d.ts +3 -3
- package/dist/api/patFields.js +3 -3
- package/dist/api/payments.d.ts +49 -0
- package/dist/api/payments.d.ts.map +1 -0
- package/dist/api/payments.js +69 -0
- package/dist/api/providers.d.ts +38 -38
- package/dist/api/providers.js +38 -38
- package/dist/api/schedules.d.ts +4 -4
- package/dist/api/schedules.js +4 -4
- package/dist/api/treatplans.d.ts +9 -9
- package/dist/api/treatplans.d.ts.map +1 -1
- package/dist/api/treatplans.js +9 -9
- package/dist/openDental.d.ts +17 -2
- package/dist/openDental.d.ts.map +1 -1
- package/dist/openDental.js +32 -2
- package/dist/types/definitionTypes.d.ts +23 -0
- package/dist/types/definitionTypes.d.ts.map +1 -0
- package/dist/types/definitionTypes.js +2 -0
- package/dist/types/discountPlanSubTypes.d.ts +43 -0
- package/dist/types/discountPlanSubTypes.d.ts.map +1 -0
- package/dist/types/discountPlanSubTypes.js +2 -0
- package/dist/types/paymentTypes.d.ts +67 -0
- package/dist/types/paymentTypes.d.ts.map +1 -0
- package/dist/types/paymentTypes.js +2 -0
- package/dist/types/scheduleTypes.d.ts +2 -2
- package/package.json +3 -3
- package/src/api/definitions.ts +35 -0
- package/src/api/discountPlanSubs.ts +86 -0
- package/src/api/index.ts +6 -1
- package/src/api/operatories.ts +4 -4
- package/src/api/patFields.ts +3 -3
- package/src/api/payments.ts +86 -0
- package/src/api/providers.ts +38 -38
- package/src/api/schedules.ts +4 -4
- package/src/api/treatplans.ts +9 -10
- package/src/openDental.ts +34 -2
- package/src/types/definitionTypes.ts +24 -0
- package/src/types/discountPlanSubTypes.ts +46 -0
- package/src/types/paymentTypes.ts +70 -0
- package/src/types/scheduleTypes.ts +10 -10
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
* @see https://www.opendental.com/site/apischedules.html
|
|
4
4
|
*/
|
|
5
5
|
export interface Schedule {
|
|
6
|
-
ScheduleNum?: number; //Unique identifier for
|
|
6
|
+
ScheduleNum?: number; //Unique identifier for schedule row
|
|
7
7
|
SchedDate?: string; //"YYYY-MM-DD"
|
|
8
|
-
StartTime?: string; //"
|
|
9
|
-
StopTime?: string; //"
|
|
8
|
+
StartTime?: string; //"HH:mm:ss"
|
|
9
|
+
StopTime?: string; //"HH:mm:ss"
|
|
10
10
|
SchedType?: "Practice" | "Provider" | "Blockout" | "Employee" | "WebSchedASAP"; //Either "Practice", "Provider", "Blockout", "Employee", or "WebSchedASAP".
|
|
11
|
-
ProvNum?:
|
|
12
|
-
BlockoutType?: string; //
|
|
13
|
-
blockoutType?: string; //
|
|
14
|
-
Note?: string; //
|
|
15
|
-
operatories?: string; //
|
|
16
|
-
EmployeeNum?: string; //
|
|
11
|
+
ProvNum?: string; //FK to provider.ProvNum.
|
|
12
|
+
BlockoutType?: string; //Definition.DefNum where definition.Category=25.
|
|
13
|
+
blockoutType?: string; //Definition.ItemName where Definition.DefNum == BlockoutType
|
|
14
|
+
Note?: string; //
|
|
15
|
+
operatories?: string; //String array of operatory.OperatoryNum
|
|
16
|
+
EmployeeNum?: string; //FK to employee.EmployeeNum.
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* Parameters for fetching
|
|
20
|
+
* Parameters for fetching schedule records;
|
|
21
21
|
* @see https://www.opendental.com/site/apischedules.html
|
|
22
22
|
*/
|
|
23
23
|
export interface GetSchedulesParams {
|