oro-sdk-apis 3.2.0 → 3.2.2

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.2.0",
2
+ "version": "3.2.2",
3
3
  "main": "dist/index.js",
4
4
  "typings": "dist/index.d.ts",
5
5
  "files": [
@@ -55,6 +55,11 @@ export interface ConsultTransmission {
55
55
  keyWebhookSecret: string
56
56
  }
57
57
 
58
+ export enum ConsultType {
59
+ Onboard = 'Onboard',
60
+ Refill = 'Refill',
61
+ }
62
+
58
63
  export enum FeeStatus {
59
64
  NoFee = 'NoFee',
60
65
  Pending = 'Pending',
@@ -73,8 +78,6 @@ export enum MedicalStatus {
73
78
  Reopened = 'Reopened',
74
79
  Archived = 'Archived',
75
80
  Failed = 'Failed',
76
- ToRefill = 'ToRefill',
77
- Refilled = 'Refilled'
78
81
  }
79
82
 
80
83
  export enum TaskStatus {
@@ -89,23 +92,23 @@ export enum ClosedReasonType {
89
92
  /**
90
93
  * A completed consultation
91
94
  */
92
- Completed = "Completed",
95
+ Completed = 'Completed',
93
96
  /**
94
97
  * The conclusion was that what the patient submitted was not a disease
95
98
  */
96
- NotADisease = "NotADisease",
99
+ NotADisease = 'NotADisease',
97
100
  /**
98
101
  * The consultation was not appropriate for virtual
99
102
  */
100
- NotAppropriateForVirtual = "NotAppropriateForVirtual",
103
+ NotAppropriateForVirtual = 'NotAppropriateForVirtual',
101
104
  /**
102
105
  * Any other reason why the consultation was closed
103
106
  */
104
- Other = "Other",
107
+ Other = 'Other',
105
108
  /**
106
109
  * A consultation that is required to be done in person
107
110
  */
108
- RequiresInPerson = "RequiresInPerson"
111
+ RequiresInPerson = 'RequiresInPerson',
109
112
  }
110
113
 
111
114
  export interface ClosedConsultReasonInsertFields {
@@ -140,10 +143,12 @@ export interface ConsultClosedReason {
140
143
 
141
144
  export interface ConsultRequest {
142
145
  uuidPractice: string
146
+ consultType?: ConsultType
143
147
  tagSpecialtyRequired: string
144
148
  idStripeInvoiceOrPaymentIntent: string
145
149
  isoLocalityRequired?: string
146
150
  isoLanguageRequired: string
151
+ uuidParent?: string
147
152
  }
148
153
  export interface Consult {
149
154
  uuid: string
@@ -155,6 +160,7 @@ export interface Consult {
155
160
  statusFee?: FeeStatus
156
161
  isoLocalityRequired: string
157
162
  statusMedical?: MedicalStatus
163
+ consultType: ConsultType
158
164
  uuidAssignedDoctor: string
159
165
  uuidCurrentAssigned: string
160
166
  uuidParent?: string