oro-sdk-apis 1.5.0 → 1.6.0-dev1

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.
@@ -81,6 +81,8 @@ export interface TreatmentPlan {
81
81
  uuidTreatment?: string;
82
82
  notes?: string;
83
83
  status: PlanStatus;
84
+ decidedAt: string;
85
+ createdAt: string;
84
86
  }
85
87
  export interface DrugPrescription {
86
88
  prescription: Prescription;
@@ -89,8 +91,11 @@ export interface DrugPrescription {
89
91
  export interface TreatmentAndDrugPrescription {
90
92
  treatment?: Treatment;
91
93
  prescriptionsAndDrugs?: DrugPrescription[];
94
+ notes?: string;
92
95
  status: PlanStatus;
93
96
  uuidTreatmentPlan: string;
97
+ decidedAt: string;
98
+ createdAt: string;
94
99
  }
95
100
  export interface TreatmentPlans {
96
101
  uuidConsult: string;
@@ -351,3 +351,10 @@ export interface PracticeSubscription {
351
351
  idMailChimpAudience: string;
352
352
  isoLanguage: string;
353
353
  }
354
+ export interface PracticeInvoice {
355
+ id: string;
356
+ total: number;
357
+ subtotal: number;
358
+ currency: string;
359
+ discount: number;
360
+ }
@@ -18,6 +18,10 @@ export interface RadioInputData extends ChoiceInputData {
18
18
  export interface RadioCardInputData extends RadioInputData {
19
19
  bodyText: string;
20
20
  }
21
+ export interface LanguagePickerData extends ChoiceInputData {
22
+ flag: string;
23
+ locale: string;
24
+ }
21
25
  export interface EntryData {
22
26
  id?: number;
23
27
  label?: string;
@@ -53,7 +57,7 @@ export interface GroupedGenericQuestionData<T, A = IndexedData<ChoiceInputData>>
53
57
  inlineLabel?: boolean;
54
58
  order?: number;
55
59
  }
56
- export declare type QuestionData = GenericQuestionData<'title' | 'paragraph' | 'checkbox', void> | GenericQuestionData<'text' | 'date' | 'number' | 'images' | 'images-alias' | 'body-parts' | 'pharmacy-picker' | 'place-address'> | GenericQuestionData<'checkbox-group' | 'select' | 'multiple', IndexedData<ChoiceInputData>> | GroupedGenericQuestionData<'radio', IndexedData<RadioInputData>> | GroupedGenericQuestionData<'radio-card', IndexedData<RadioCardInputData>>;
60
+ export declare type QuestionData = GenericQuestionData<'title' | 'paragraph' | 'checkbox', void> | GenericQuestionData<'text' | 'date' | 'number' | 'images' | 'images-alias' | 'body-parts' | 'pharmacy-picker' | 'place-address'> | GenericQuestionData<'checkbox-group' | 'select' | 'multiple', IndexedData<ChoiceInputData>> | GroupedGenericQuestionData<'radio', IndexedData<RadioInputData>> | GroupedGenericQuestionData<'radio-card', IndexedData<RadioCardInputData>> | GroupedGenericQuestionData<'language-picker', IndexedData<LanguagePickerData>>;
57
61
  export interface FieldData {
58
62
  type: 'field';
59
63
  className?: string;
@@ -2413,6 +2413,16 @@ var PracticeService = /*#__PURE__*/function () {
2413
2413
  promotionCode: promotionCode
2414
2414
  }
2415
2415
  });
2416
+ }
2417
+ /**
2418
+ * Invoice
2419
+ * @param practiceUuid UUID of the practice to get the invoice from
2420
+ * @param invoiceId ID of the invoice in stripe
2421
+ */
2422
+ ;
2423
+
2424
+ _proto.getInvoice = function getInvoice(practiceUuid, invoiceId) {
2425
+ return this.api.get(this.baseURL + "/v1/practices/" + practiceUuid + "/payments/invoices/" + invoiceId);
2416
2426
  } // Practitioner
2417
2427
  ;
2418
2428