oro-sdk-apis 1.3.0 → 1.5.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.
@@ -32,6 +32,7 @@ export interface TreatmentRequest {
32
32
  export interface Treatment extends TreatmentRequest {
33
33
  uuid: string;
34
34
  uuidDiagnosis: string;
35
+ uuidPractitioner?: string;
35
36
  createdAt: string;
36
37
  }
37
38
  export declare enum DrugType {
@@ -78,6 +79,7 @@ export interface TreatmentPlan {
78
79
  uuidConsult: string;
79
80
  uuidDiagnosis: string;
80
81
  uuidTreatment?: string;
82
+ notes?: string;
81
83
  status: PlanStatus;
82
84
  }
83
85
  export interface DrugPrescription {
@@ -103,6 +105,7 @@ export interface TreatmentAndDrugPrescriptionRequest {
103
105
  trackingId: string;
104
106
  treatment: TreatmentRequest;
105
107
  prescriptionsAndDrugs?: DrugPrescriptionRequest[];
108
+ notes?: string;
106
109
  }
107
110
  export interface TreatmentPlansRequest {
108
111
  uuidConsult: string;
@@ -112,6 +115,7 @@ export interface TreatmentPlansRequest {
112
115
  export interface TreatmentAndDrugPrescriptionUpdateRequest {
113
116
  treatment: Treatment;
114
117
  prescriptionsAndDrugs?: DrugPrescriptionRequest[];
118
+ notes?: string;
115
119
  }
116
120
  export interface TreatmentPlanUpdateRequest extends TreatmentPlansRequest {
117
121
  uuidConsult: string;
@@ -20,6 +20,7 @@ export interface AuthRecoverRequest {
20
20
  practiceUuid: string;
21
21
  email: string;
22
22
  }
23
+ export declare type IdentityResendConfirmEmailRequest = AuthRecoverRequest;
23
24
  export interface WhoAmIResponse {
24
25
  aud: string;
25
26
  exp: number;
@@ -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;
@@ -2202,6 +2202,38 @@ var GuardService = /*#__PURE__*/function () {
2202
2202
  }
2203
2203
 
2204
2204
  return identityMFAQRCode;
2205
+ }()
2206
+ /**
2207
+ * Attempt to resend the email confirmation email
2208
+ *
2209
+ * @param req IdentityResendConfirmEmailRequest
2210
+ * @return void
2211
+ */
2212
+ ;
2213
+
2214
+ _proto.identitySendConfirmEmail =
2215
+ /*#__PURE__*/
2216
+ function () {
2217
+ var _identitySendConfirmEmail = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee10(req) {
2218
+ return runtime_1.wrap(function _callee10$(_context10) {
2219
+ while (1) {
2220
+ switch (_context10.prev = _context10.next) {
2221
+ case 0:
2222
+ return _context10.abrupt("return", this.api.post(this.baseURL + "/v1/identity/confirm", req));
2223
+
2224
+ case 1:
2225
+ case "end":
2226
+ return _context10.stop();
2227
+ }
2228
+ }
2229
+ }, _callee10, this);
2230
+ }));
2231
+
2232
+ function identitySendConfirmEmail(_x11) {
2233
+ return _identitySendConfirmEmail.apply(this, arguments);
2234
+ }
2235
+
2236
+ return identitySendConfirmEmail;
2205
2237
  }();
2206
2238
 
2207
2239
  return GuardService;