oro-sdk-apis 1.5.0 → 1.6.0
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/models/diagnosis.d.ts +1 -0
- package/dist/models/practice.d.ts +7 -0
- package/dist/models/workflow.d.ts +5 -1
- package/dist/oro-sdk-apis.cjs.development.js +10 -0
- package/dist/oro-sdk-apis.cjs.development.js.map +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk-apis.esm.js +10 -0
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/dist/services/practice.d.ts +7 -1
- package/package.json +1 -1
- package/src/models/diagnosis.ts +1 -0
- package/src/models/practice.ts +9 -4
- package/src/models/workflow.ts +11 -18
- package/src/services/practice.ts +15 -0
- package/LICENSE +0 -21
|
@@ -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
|
|