@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.
Files changed (52) hide show
  1. package/deploy_notes.txt +6 -2
  2. package/dist/api/definitions.d.ts +16 -0
  3. package/dist/api/definitions.d.ts.map +1 -0
  4. package/dist/api/definitions.js +25 -0
  5. package/dist/api/discountPlanSubs.d.ts +46 -0
  6. package/dist/api/discountPlanSubs.d.ts.map +1 -0
  7. package/dist/api/discountPlanSubs.js +69 -0
  8. package/dist/api/index.d.ts +6 -1
  9. package/dist/api/index.d.ts.map +1 -1
  10. package/dist/api/index.js +12 -2
  11. package/dist/api/operatories.d.ts +4 -4
  12. package/dist/api/operatories.js +4 -4
  13. package/dist/api/patFields.d.ts +3 -3
  14. package/dist/api/patFields.js +3 -3
  15. package/dist/api/payments.d.ts +49 -0
  16. package/dist/api/payments.d.ts.map +1 -0
  17. package/dist/api/payments.js +69 -0
  18. package/dist/api/providers.d.ts +38 -38
  19. package/dist/api/providers.js +38 -38
  20. package/dist/api/schedules.d.ts +4 -4
  21. package/dist/api/schedules.js +4 -4
  22. package/dist/api/treatplans.d.ts +9 -9
  23. package/dist/api/treatplans.d.ts.map +1 -1
  24. package/dist/api/treatplans.js +9 -9
  25. package/dist/openDental.d.ts +17 -2
  26. package/dist/openDental.d.ts.map +1 -1
  27. package/dist/openDental.js +32 -2
  28. package/dist/types/definitionTypes.d.ts +23 -0
  29. package/dist/types/definitionTypes.d.ts.map +1 -0
  30. package/dist/types/definitionTypes.js +2 -0
  31. package/dist/types/discountPlanSubTypes.d.ts +43 -0
  32. package/dist/types/discountPlanSubTypes.d.ts.map +1 -0
  33. package/dist/types/discountPlanSubTypes.js +2 -0
  34. package/dist/types/paymentTypes.d.ts +67 -0
  35. package/dist/types/paymentTypes.d.ts.map +1 -0
  36. package/dist/types/paymentTypes.js +2 -0
  37. package/dist/types/scheduleTypes.d.ts +2 -2
  38. package/package.json +3 -3
  39. package/src/api/definitions.ts +35 -0
  40. package/src/api/discountPlanSubs.ts +86 -0
  41. package/src/api/index.ts +6 -1
  42. package/src/api/operatories.ts +4 -4
  43. package/src/api/patFields.ts +3 -3
  44. package/src/api/payments.ts +86 -0
  45. package/src/api/providers.ts +38 -38
  46. package/src/api/schedules.ts +4 -4
  47. package/src/api/treatplans.ts +9 -10
  48. package/src/openDental.ts +34 -2
  49. package/src/types/definitionTypes.ts +24 -0
  50. package/src/types/discountPlanSubTypes.ts +46 -0
  51. package/src/types/paymentTypes.ts +70 -0
  52. 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 patfield
6
+ ScheduleNum?: number; //Unique identifier for schedule row
7
7
  SchedDate?: string; //"YYYY-MM-DD"
8
- StartTime?: string; //"12:00:00"
9
- StopTime?: string; //"12:00:00"
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?: number; //FK to provider.ProvNum.
12
- BlockoutType?: string; //"YYYY-MM-DD"
13
- blockoutType?: string; //"YYYY-MM-DD"
14
- Note?: string; //"YYYY-MM-DD"
15
- operatories?: string; //"YYYY-MM-DD"
16
- EmployeeNum?: string; //"YYYY-MM-DD"
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 multiple patients.
20
+ * Parameters for fetching schedule records;
21
21
  * @see https://www.opendental.com/site/apischedules.html
22
22
  */
23
23
  export interface GetSchedulesParams {