From ad24002a6accf3f88e096c96b9c72c2e1ba3c886 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Thu, 20 Jul 2023 10:55:55 +0100 Subject: [PATCH] Add wrapper type for VstpMsg --- pkg/upstreamApi/vstp.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/upstreamApi/vstp.go b/pkg/upstreamApi/vstp.go index c43c6e4..4d502bc 100644 --- a/pkg/upstreamApi/vstp.go +++ b/pkg/upstreamApi/vstp.go @@ -1,5 +1,9 @@ package upstreamApi +type VstpMsg struct { + CIFMsg Schedule `json:"VSTPCIFMsgV1"` +} + type Schedule struct { ScheduleID string `json:"schedule_id"` TransactionType string `json:"transaction_type"`