diff --git a/SnapMD.ConnectedCare.Sdk/Models/ConsultationEvents.cs b/SnapMD.ConnectedCare.ApiModels/ConsultationEvents.cs similarity index 95% rename from SnapMD.ConnectedCare.Sdk/Models/ConsultationEvents.cs rename to SnapMD.ConnectedCare.ApiModels/ConsultationEvents.cs index 34fc9ed6..76df1cc8 100644 --- a/SnapMD.ConnectedCare.Sdk/Models/ConsultationEvents.cs +++ b/SnapMD.ConnectedCare.ApiModels/ConsultationEvents.cs @@ -8,7 +8,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -namespace SnapMD.ConnectedCare.Sdk.Models +namespace SnapMD.ConnectedCare.ApiModels { public enum ConsultationEvents { diff --git a/SnapMD.ConnectedCare.ApiModels/Sms/EncounterSms.cs b/SnapMD.ConnectedCare.ApiModels/Sms/EncounterSms.cs new file mode 100644 index 00000000..1dc4a090 --- /dev/null +++ b/SnapMD.ConnectedCare.ApiModels/Sms/EncounterSms.cs @@ -0,0 +1,15 @@ +using System; + +namespace SnapMD.ConnectedCare.ApiModels.Sms +{ + public class EncounterSms + { + public int SmsId { get; set; } + public int ConsultationId { get; set; } + public ConsultationEvents EventId { get; set; } + public string MobilePhone { get; set; } + public DateTimeOffset Created { get; set; } + public DateTimeOffset? Sent { get; set; } + public SmsStatus Status { get; set; } + } +} diff --git a/SnapMD.ConnectedCare.ApiModels/Sms/SMSStatus.cs b/SnapMD.ConnectedCare.ApiModels/Sms/SMSStatus.cs new file mode 100644 index 00000000..e2f12341 --- /dev/null +++ b/SnapMD.ConnectedCare.ApiModels/Sms/SMSStatus.cs @@ -0,0 +1,14 @@ +namespace SnapMD.ConnectedCare.ApiModels.Sms +{ + public enum SmsStatus + { + New = 0, + Pending = 1, + Sent = 2, + Failed = 3, + Invalid = 4, + ConsultationError = 5, + TemplateError = 6, + NoTextAlerts = 7 + } +} diff --git a/SnapMD.ConnectedCare.ApiModels/SnapMD.ConnectedCare.ApiModels.csproj b/SnapMD.ConnectedCare.ApiModels/SnapMD.ConnectedCare.ApiModels.csproj index a5606c05..9c4ba739 100644 --- a/SnapMD.ConnectedCare.ApiModels/SnapMD.ConnectedCare.ApiModels.csproj +++ b/SnapMD.ConnectedCare.ApiModels/SnapMD.ConnectedCare.ApiModels.csproj @@ -64,6 +64,7 @@ + @@ -78,6 +79,7 @@ + @@ -99,6 +101,7 @@ + diff --git a/SnapMD.ConnectedCare.Sdk/SnapMD.ConnectedCare.Sdk.csproj b/SnapMD.ConnectedCare.Sdk/SnapMD.ConnectedCare.Sdk.csproj index 66589d28..f36deab8 100644 --- a/SnapMD.ConnectedCare.Sdk/SnapMD.ConnectedCare.Sdk.csproj +++ b/SnapMD.ConnectedCare.Sdk/SnapMD.ConnectedCare.Sdk.csproj @@ -74,7 +74,6 @@ -