@localsecurity/local-security-graphql
Version:
GraphlQL statements
1,674 lines (1,673 loc) • 398 kB
JavaScript
"use strict";
/* tslint:disable */
/* eslint-disable */
// this is an auto generated file. This will be overwritten
Object.defineProperty(exports, "__esModule", { value: true });
exports.onUpdateSupvisdEventRule = exports.onCreateSupvisdEventRule = exports.onDeleteSiteSupvisdSetting = exports.onUpdateSiteSupvisdSetting = exports.onCreateSiteSupvisdSetting = exports.onDeleteSite = exports.onUpdateSite = exports.onCreateSite = exports.onDeleteContact = exports.onUpdateContact = exports.onCreateContact = exports.onDeleteAddress = exports.onUpdateAddress = exports.onCreateAddress = exports.onDeleteRapidSOSDetails = exports.onUpdateRapidSOSDetails = exports.onCreateRapidSOSDetails = exports.onDeleteBoldBIDetails = exports.onUpdateBoldBIDetails = exports.onCreateBoldBIDetails = exports.onDeleteDashboardDetail = exports.onUpdateDashboardDetail = exports.onCreateDashboardDetail = exports.onDeleteVMSDetails = exports.onUpdateVMSDetails = exports.onCreateVMSDetails = exports.onDeleteCustomer = exports.onUpdateCustomer = exports.onCreateCustomer = exports.onDeleteSecondaryCameraEvent = exports.onUpdateSecondaryCameraEvent = exports.onCreateSecondaryCameraEvent = exports.onDeleteCameraEvent = exports.onUpdateCameraEvent = exports.onCreateCameraEvent = exports.onDeleteIncidentBundleTime = exports.onUpdateIncidentBundleTime = exports.onCreateIncidentBundleTime = exports.onDeleteProcedureTask = exports.onUpdateProcedureTask = exports.onCreateProcedureTask = exports.onDeleteIncidentActionList = exports.onUpdateIncidentActionList = exports.onCreateIncidentActionList = exports.onDeleteIncidentNote = exports.onUpdateIncidentNote = exports.onCreateIncidentNote = exports.onDeleteIncident = exports.onUpdateIncident = exports.onCreateIncident = void 0;
exports.onCreateCameraCredentials = exports.onDeleteCameraSceneDetectionResultItem = exports.onUpdateCameraSceneDetectionResultItem = exports.onCreateCameraSceneDetectionResultItem = exports.onDeleteCameraSceneDetectionResult = exports.onUpdateCameraSceneDetectionResult = exports.onCreateCameraSceneDetectionResult = exports.onDeleteCameraSceneDetectionThreshold = exports.onUpdateCameraSceneDetectionThreshold = exports.onCreateCameraSceneDetectionThreshold = exports.onDeleteCameraSceneDetectionSettings = exports.onUpdateCameraSceneDetectionSettings = exports.onCreateCameraSceneDetectionSettings = exports.onDeleteCameraQualitySettings = exports.onUpdateCameraQualitySettings = exports.onCreateCameraQualitySettings = exports.onDeleteAudioCustomMessageType = exports.onUpdateAudioCustomMessageType = exports.onCreateAudioCustomMessageType = exports.onDeleteObjectGroup = exports.onUpdateObjectGroup = exports.onCreateObjectGroup = exports.onDeleteCamera = exports.onUpdateCamera = exports.onCreateCamera = exports.onDeletePhone = exports.onUpdatePhone = exports.onCreatePhone = exports.onDeleteSiteEmergencyContact = exports.onUpdateSiteEmergencyContact = exports.onCreateSiteEmergencyContact = exports.onDeleteTrackTikTask = exports.onUpdateTrackTikTask = exports.onCreateTrackTikTask = exports.onDeleteTrackTikDetails = exports.onUpdateTrackTikDetails = exports.onCreateTrackTikDetails = exports.onDeleteSiteVMSDetails = exports.onUpdateSiteVMSDetails = exports.onCreateSiteVMSDetails = exports.onDeleteSiteIntegration = exports.onUpdateSiteIntegration = exports.onCreateSiteIntegration = exports.onDeleteTrigger = exports.onUpdateTrigger = exports.onCreateTrigger = exports.onDeleteSiteDeviceStatusConfig = exports.onUpdateSiteDeviceStatusConfig = exports.onCreateSiteDeviceStatusConfig = exports.onDeleteSupvisdEventRule = void 0;
exports.onDeleteRapidSOSEventDetails = exports.onUpdateRapidSOSEventDetails = exports.onCreateRapidSOSEventDetails = exports.onDeleteRapidSOSIncident = exports.onUpdateRapidSOSIncident = exports.onCreateRapidSOSIncident = exports.onDeleteTrackTikActivity = exports.onUpdateTrackTikActivity = exports.onCreateTrackTikActivity = exports.onDeleteTrackTikIncident = exports.onUpdateTrackTikIncident = exports.onCreateTrackTikIncident = exports.onDeleteRspndrActivity = exports.onUpdateRspndrActivity = exports.onCreateRspndrActivity = exports.onDeleteRspndrIncidentGroundingRule = exports.onUpdateRspndrIncidentGroundingRule = exports.onCreateRspndrIncidentGroundingRule = exports.onDeleteRspndrIncidentCheckItem = exports.onUpdateRspndrIncidentCheckItem = exports.onCreateRspndrIncidentCheckItem = exports.onDeleteRspndrIncident = exports.onUpdateRspndrIncident = exports.onCreateRspndrIncident = exports.onDeleteRspndrEvents = exports.onUpdateRspndrEvents = exports.onCreateRspndrEvents = exports.onDeleteSOP = exports.onUpdateSOP = exports.onCreateSOP = exports.onDeleteIncidentActionDetail = exports.onUpdateIncidentActionDetail = exports.onCreateIncidentActionDetail = exports.onDeleteAuditLog = exports.onUpdateAuditLog = exports.onCreateAuditLog = exports.onDeleteSignalTestLog = exports.onUpdateSignalTestLog = exports.onCreateSignalTestLog = exports.onDeleteActivityLog = exports.onUpdateActivityLog = exports.onCreateActivityLog = exports.onDeleteCameraImmixConfig = exports.onUpdateCameraImmixConfig = exports.onCreateCameraImmixConfig = exports.onDeleteCameraAccessUrls = exports.onUpdateCameraAccessUrls = exports.onCreateCameraAccessUrls = exports.onDeleteCameraCredentials = exports.onUpdateCameraCredentials = void 0;
exports.onUpdateIncidentShareContactInformation = exports.onCreateIncidentShareContactInformation = exports.onDeleteIncidentShareActionItems = exports.onUpdateIncidentShareActionItems = exports.onCreateIncidentShareActionItems = exports.onDeleteIncidentShareEvent = exports.onUpdateIncidentShareEvent = exports.onCreateIncidentShareEvent = exports.onDeleteIncidentShareEntyNote = exports.onUpdateIncidentShareEntyNote = exports.onCreateIncidentShareEntyNote = exports.onDeleteIncidentShareEntryAccess = exports.onUpdateIncidentShareEntryAccess = exports.onCreateIncidentShareEntryAccess = exports.onDeleteIncidentShareIntegrator = exports.onUpdateIncidentShareIntegrator = exports.onCreateIncidentShareIntegrator = exports.onDeleteIncidentShareSite = exports.onUpdateIncidentShareSite = exports.onCreateIncidentShareSite = exports.onDeleteIncidentShareEntry = exports.onUpdateIncidentShareEntry = exports.onCreateIncidentShareEntry = exports.onDeleteIncidentDataToShare = exports.onUpdateIncidentDataToShare = exports.onCreateIncidentDataToShare = exports.onDeleteIncidentShareSettings = exports.onUpdateIncidentShareSettings = exports.onCreateIncidentShareSettings = exports.onDeleteIncidentCodeDetail = exports.onUpdateIncidentCodeDetail = exports.onCreateIncidentCodeDetail = exports.onDeleteRapidSOSAttachment = exports.onUpdateRapidSOSAttachment = exports.onCreateRapidSOSAttachment = exports.onDeleteRapidSOSLogMessage = exports.onUpdateRapidSOSLogMessage = exports.onCreateRapidSOSLogMessage = exports.onDeleteRapidSOSActivity = exports.onUpdateRapidSOSActivity = exports.onCreateRapidSOSActivity = exports.onDeleteRapidSOSEmergencyContact = exports.onUpdateRapidSOSEmergencyContact = exports.onCreateRapidSOSEmergencyContact = exports.onDeleteRapidSOSCivicAddress = exports.onUpdateRapidSOSCivicAddress = exports.onCreateRapidSOSCivicAddress = exports.onDeleteRapidSOSLocation = exports.onUpdateRapidSOSLocation = exports.onCreateRapidSOSLocation = void 0;
exports.onCreateLivePatrol = exports.onDeleteCameraPlan = exports.onUpdateCameraPlan = exports.onCreateCameraPlan = exports.onDeleteProduct = exports.onUpdateProduct = exports.onCreateProduct = exports.onDeleteSetupFee = exports.onUpdateSetupFee = exports.onCreateSetupFee = exports.onDeleteTaxType = exports.onUpdateTaxType = exports.onCreateTaxType = exports.onDeleteTaxesTaxType = exports.onUpdateTaxesTaxType = exports.onCreateTaxesTaxType = exports.onDeleteTax = exports.onUpdateTax = exports.onCreateTax = exports.onDeleteCustomerUserPermission = exports.onUpdateCustomerUserPermission = exports.onCreateCustomerUserPermission = exports.onDeleteCustomerUserPermissionSet = exports.onUpdateCustomerUserPermissionSet = exports.onCreateCustomerUserPermissionSet = exports.onDeleteUserVMSDetails = exports.onUpdateUserVMSDetails = exports.onCreateUserVMSDetails = exports.onDeleteUser = exports.onUpdateUser = exports.onCreateUser = exports.onDeleteNotification = exports.onUpdateNotification = exports.onCreateNotification = exports.onDeleteNotificationSetting = exports.onUpdateNotificationSetting = exports.onCreateNotificationSetting = exports.onDeleteEmailLog = exports.onUpdateEmailLog = exports.onCreateEmailLog = exports.onDeleteSMSLog = exports.onUpdateSMSLog = exports.onCreateSMSLog = exports.onDeleteCallLog = exports.onUpdateCallLog = exports.onCreateCallLog = exports.onDeleteCallNotice = exports.onUpdateCallNotice = exports.onCreateCallNotice = exports.onDeleteIncidentShareContactInformation = void 0;
exports.onDeleteStripePayoutDetails = exports.onUpdateStripePayoutDetails = exports.onCreateStripePayoutDetails = exports.onDeleteWalletTransfer = exports.onUpdateWalletTransfer = exports.onCreateWalletTransfer = exports.onDeleteInvoiceTransferPayment = exports.onUpdateInvoiceTransferPayment = exports.onCreateInvoiceTransferPayment = exports.onDeleteInvoicePayment = exports.onUpdateInvoicePayment = exports.onCreateInvoicePayment = exports.onDeleteInvoice = exports.onUpdateInvoice = exports.onCreateInvoice = exports.onDeleteTransactionLineItemTax = exports.onUpdateTransactionLineItemTax = exports.onCreateTransactionLineItemTax = exports.onDeleteTransactionLineItem = exports.onUpdateTransactionLineItem = exports.onCreateTransactionLineItem = exports.onDeleteAppliedSetupFee = exports.onUpdateAppliedSetupFee = exports.onCreateAppliedSetupFee = exports.onDeleteAppliedOperatorMinutes = exports.onUpdateAppliedOperatorMinutes = exports.onCreateAppliedOperatorMinutes = exports.onDeleteAppliedLivePatrol = exports.onUpdateAppliedLivePatrol = exports.onCreateAppliedLivePatrol = exports.onDeleteAppliedCameraPlan = exports.onUpdateAppliedCameraPlan = exports.onCreateAppliedCameraPlan = exports.onDeleteAppliedProduct = exports.onUpdateAppliedProduct = exports.onCreateAppliedProduct = exports.onDeleteStripePaymentMethod = exports.onUpdateStripePaymentMethod = exports.onCreateStripePaymentMethod = exports.onDeleteSubscriptionStripeDetail = exports.onUpdateSubscriptionStripeDetail = exports.onCreateSubscriptionStripeDetail = exports.onDeleteSiteSubscription = exports.onUpdateSiteSubscription = exports.onCreateSiteSubscription = exports.onDeleteOperatorMinutes = exports.onUpdateOperatorMinutes = exports.onCreateOperatorMinutes = exports.onDeleteLivePatrol = exports.onUpdateLivePatrol = void 0;
exports.onDeleteMaster = exports.onUpdateMaster = exports.onCreateMaster = exports.onDeleteWebhookHealth = exports.onUpdateWebhookHealth = exports.onCreateWebhookHealth = exports.onDeletePaymentTransferSettings = exports.onUpdatePaymentTransferSettings = exports.onCreatePaymentTransferSettings = exports.onDeleteExchangeRateSetting = exports.onUpdateExchangeRateSetting = exports.onCreateExchangeRateSetting = void 0;
exports.onCreateIncident = `
subscription OnCreateIncident($monitoringCenterId: String) {
onCreateIncident(monitoringCenterId: $monitoringCenterId) {
id
integratorId
monitoringCenterId
status
incidentSiteId
incidentCustomerId
dispositionLevel
primaryDisposition
dispositionList
closedTime
resolvedTime
expectedResolvedTime
billableTime
assignedUsername
assignmentHistory {
username
assignedAt
}
modifiedBy
createdAt
hasShareExternal
resolution
resolutionTranslated
resolutionSanitized
externalPartyResponse {
police
fire
ambulance
bylaw
security
outreach
siteContact
agenciesArrived
notArrivedReason
notArrivedReasonTranslated
notArrivedReasonSanitized
}
invoiceId
updatedAt
events {
items {
id
vmsEventId
vmsNotes
vmsNotesTranslated
vmsNotesSanitized
disposition
eventType
thumbnailFilename
triggerType
objectsFound
integratorId
monitoringCenterId
incidentId
incidentPriority
cameraEventCameraId
siteId
customerId
startTime
endTime
resolvedTime
instantaneous
cameraEventUrl
cameraEventUrlPublic
modifiedBy
vmsUserId
ackTimestamp
createdAt
vmsSourceType
updatedAt
secondaryEvents {
items {
id
cameraEventId
vmsNotes
vmsNotesTranslated
vmsNotesSanitized
disposition
eventType
vmsSourceType
ackTimestamp
modifiedBy
vmsUserId
monitoringCenterId
createdAt
updatedAt
}
nextToken
}
camera {
id
name
deviceType
status
vmsCameraName
description
descriptionTranslated
descriptionSanitized
vmsDescription
siteId
integratorId
monitoringCenterId
customerId
criticalNotes
criticalNotesTranslated
criticalNotesSanitized
talkdownInstructions {
talkdownType
note
noteTranslated
noteSanitized
phone
url
messageDetails {
messageType
messageTypeId
urlSuffix
}
hostConfiguration {
baseUrl
username
password
method
}
}
latitude
longitude
vmsCameraId
vmsCustomerId
testingExpiry
armedState
snoozeReason
snoozeReasonTranslated
snoozeReasonSanitized
snoozeExpiry
archived
zoneNumber
zoneDescription
zoneDescriptionTranslated
zoneDescriptionSanitized
modifiedBy
isOnvif
videoStreamState
deviceUrlOnline
vmsConnect
isP2P
isAnalyticsEnabled
isMotionEnabled
testEventReceived
healthCheckEnabled
healthCheckSLA
healthCheckStatus
ignoreStatusChecks
statusChecksProperties
statusLastVerified
archiveDurationHours
accessUrlsId
credentialsId
deviceBrand
deviceModel
vmsPlanId
phpRegistrationCode
serialNumber
p2pState
lastPowerCycle
baselineThumbnailFilename
currentThumbnailFilename
sceneChangeDetectionEnabled
passingSceneDetection
hubspotId
immixMonitoring
hasMic
hasSpeaker
audioGroups
createdAt
updatedAt
qualitySettings {
id
width
height
videoBitRate
frameRate
monitoringCenterId
cameraId
modifiedBy
createdAt
updatedAt
}
}
}
nextToken
}
site {
id
name
status
customerId
integratorId
criticalNotes
criticalNotesTranslated
criticalNotesSanitized
externalCriticalNotes
externalCriticalNotesTranslated
externalCriticalNotesSanitized
monitoringCenterId
archived
modifiedBy
timezone
vmsSharedMonitoringRoleId
monitoringStatus
maintainCamerasOnMonitoringRole
armingRulesConfig
monitoringState
armedState
alarmState
supervisionEnabled
triggersEnabled
muteAfterInteractionCount
type
alarmsCentralStation
alarmsCentralStationPhone
alarmsCentralStationPhoneExt
alarmsVerbalPasscode
alarmsCSID
alarmsAR
alarmsNotes
alarmsNotesTranslated
alarmsNotesSanitized
alarmsPermitNum
alarmsPermitExpires
autoSendToTrackTik
hasSiteMap
condensedAddress
createdAt
updatedAt
address {
id
lineOne
lineTwo
city
state
zipCode
country
integratorId
monitoringCenterId
modifiedBy
createdAt
updatedAt
}
integrations {
items {
id
siteId
integratorId
monitoringCenterId
type
subType
subTypeList
agency
phone
phoneExt
email
notes
notesTranslated
notesSanitized
modifiedBy
archived
createdAt
updatedAt
trackTickDetails {
id
siteIntegrationId
siteId
monitoringCenterId
apiUrl
apiUsername
apiPassword
accountId
token
refreshToken
tokenExpiry
refreshTokenExpiry
autoSend
autoSendErrorEmail
configured
archived
modifiedBy
createdAt
updatedAt
taskList {
items {
id
trackTikDetailsId
siteId
monitoringCenterId
eventType
trackTikName
trackTikId
trackTikReportTemplateId
archived
modifedBy
createdAt
updatedAt
}
nextToken
}
}
}
nextToken
}
contacts {
items {
id
siteId
name
type
verbalPasscode
email
priority
monitoringCenterId
integratorId
archived
notes
notesTranslated
notesSanitized
modifiedBy
createdAt
updatedAt
phones {
items {
id
contactId
type
number
ext
monitoringCenterId
integratorId
modifiedBy
archived
createdAt
updatedAt
}
nextToken
}
}
nextToken
}
cameras {
items {
id
name
deviceType
status
vmsCameraName
description
descriptionTranslated
descriptionSanitized
vmsDescription
siteId
integratorId
monitoringCenterId
customerId
criticalNotes
criticalNotesTranslated
criticalNotesSanitized
talkdownInstructions {
talkdownType
note
noteTranslated
noteSanitized
phone
url
messageDetails {
messageType
messageTypeId
urlSuffix
}
hostConfiguration {
baseUrl
username
password
method
}
}
latitude
longitude
vmsCameraId
vmsCustomerId
testingExpiry
armedState
snoozeReason
snoozeReasonTranslated
snoozeReasonSanitized
snoozeExpiry
archived
zoneNumber
zoneDescription
zoneDescriptionTranslated
zoneDescriptionSanitized
modifiedBy
isOnvif
videoStreamState
deviceUrlOnline
vmsConnect
isP2P
isAnalyticsEnabled
isMotionEnabled
testEventReceived
healthCheckEnabled
healthCheckSLA
healthCheckStatus
ignoreStatusChecks
statusChecksProperties
statusLastVerified
archiveDurationHours
accessUrlsId
credentialsId
deviceBrand
deviceModel
vmsPlanId
phpRegistrationCode
serialNumber
p2pState
lastPowerCycle
baselineThumbnailFilename
currentThumbnailFilename
sceneChangeDetectionEnabled
passingSceneDetection
hubspotId
immixMonitoring
hasMic
hasSpeaker
audioGroups
createdAt
updatedAt
qualitySettings {
id
width
height
videoBitRate
frameRate
monitoringCenterId
cameraId
modifiedBy
createdAt
updatedAt
}
}
nextToken
}
sops {
items {
id
siteId
eventType
eventSOPs
monitoringCenterId
modifiedBy
archived
createdAt
updatedAt
}
nextToken
}
}
}
}
`;
exports.onUpdateIncident = `
subscription OnUpdateIncident($monitoringCenterId: String) {
onUpdateIncident(monitoringCenterId: $monitoringCenterId) {
id
integratorId
monitoringCenterId
status
incidentSiteId
incidentCustomerId
dispositionLevel
primaryDisposition
dispositionList
closedTime
resolvedTime
expectedResolvedTime
billableTime
assignedUsername
assignmentHistory {
username
assignedAt
}
modifiedBy
createdAt
hasShareExternal
resolution
resolutionTranslated
resolutionSanitized
externalPartyResponse {
police
fire
ambulance
bylaw
security
outreach
siteContact
agenciesArrived
notArrivedReason
notArrivedReasonTranslated
notArrivedReasonSanitized
}
invoiceId
updatedAt
events {
items {
id
vmsEventId
vmsNotes
vmsNotesTranslated
vmsNotesSanitized
disposition
eventType
thumbnailFilename
triggerType
objectsFound
integratorId
monitoringCenterId
incidentId
incidentPriority
cameraEventCameraId
siteId
customerId
startTime
endTime
resolvedTime
instantaneous
cameraEventUrl
cameraEventUrlPublic
modifiedBy
vmsUserId
ackTimestamp
createdAt
vmsSourceType
updatedAt
secondaryEvents {
items {
id
cameraEventId
vmsNotes
vmsNotesTranslated
vmsNotesSanitized
disposition
eventType
vmsSourceType
ackTimestamp
modifiedBy
vmsUserId
monitoringCenterId
createdAt
updatedAt
}
nextToken
}
camera {
id
name
deviceType
status
vmsCameraName
description
descriptionTranslated
descriptionSanitized
vmsDescription
siteId
integratorId
monitoringCenterId
customerId
criticalNotes
criticalNotesTranslated
criticalNotesSanitized
talkdownInstructions {
talkdownType
note
noteTranslated
noteSanitized
phone
url
messageDetails {
messageType
messageTypeId
urlSuffix
}
hostConfiguration {
baseUrl
username
password
method
}
}
latitude
longitude
vmsCameraId
vmsCustomerId
testingExpiry
armedState
snoozeReason
snoozeReasonTranslated
snoozeReasonSanitized
snoozeExpiry
archived
zoneNumber
zoneDescription
zoneDescriptionTranslated
zoneDescriptionSanitized
modifiedBy
isOnvif
videoStreamState
deviceUrlOnline
vmsConnect
isP2P
isAnalyticsEnabled
isMotionEnabled
testEventReceived
healthCheckEnabled
healthCheckSLA
healthCheckStatus
ignoreStatusChecks
statusChecksProperties
statusLastVerified
archiveDurationHours
accessUrlsId
credentialsId
deviceBrand
deviceModel
vmsPlanId
phpRegistrationCode
serialNumber
p2pState
lastPowerCycle
baselineThumbnailFilename
currentThumbnailFilename
sceneChangeDetectionEnabled
passingSceneDetection
hubspotId
immixMonitoring
hasMic
hasSpeaker
audioGroups
createdAt
updatedAt
qualitySettings {
id
width
height
videoBitRate
frameRate
monitoringCenterId
cameraId
modifiedBy
createdAt
updatedAt
}
}
}
nextToken
}
site {
id
name
status
customerId
integratorId
criticalNotes
criticalNotesTranslated
criticalNotesSanitized
externalCriticalNotes
externalCriticalNotesTranslated
externalCriticalNotesSanitized
monitoringCenterId
archived
modifiedBy
timezone
vmsSharedMonitoringRoleId
monitoringStatus
maintainCamerasOnMonitoringRole
armingRulesConfig
monitoringState
armedState
alarmState
supervisionEnabled
triggersEnabled
muteAfterInteractionCount
type
alarmsCentralStation
alarmsCentralStationPhone
alarmsCentralStationPhoneExt
alarmsVerbalPasscode
alarmsCSID
alarmsAR
alarmsNotes
alarmsNotesTranslated
alarmsNotesSanitized
alarmsPermitNum
alarmsPermitExpires
autoSendToTrackTik
hasSiteMap
condensedAddress
createdAt
updatedAt
address {
id
lineOne
lineTwo
city
state
zipCode
country
integratorId
monitoringCenterId
modifiedBy
createdAt
updatedAt
}
integrations {
items {
id
siteId
integratorId
monitoringCenterId
type
subType
subTypeList
agency
phone
phoneExt
email
notes
notesTranslated
notesSanitized
modifiedBy
archived
createdAt
updatedAt
trackTickDetails {
id
siteIntegrationId
siteId
monitoringCenterId
apiUrl
apiUsername
apiPassword
accountId
token
refreshToken
tokenExpiry
refreshTokenExpiry
autoSend
autoSendErrorEmail
configured
archived
modifiedBy
createdAt
updatedAt
taskList {
items {
id
trackTikDetailsId
siteId
monitoringCenterId
eventType
trackTikName
trackTikId
trackTikReportTemplateId
archived
modifedBy
createdAt
updatedAt
}
nextToken
}
}
}
nextToken
}
contacts {
items {
id
siteId
name
type
verbalPasscode
email
priority
monitoringCenterId
integratorId
archived
notes
notesTranslated
notesSanitized
modifiedBy
createdAt
updatedAt
phones {
items {
id
contactId
type
number
ext
monitoringCenterId
integratorId
modifiedBy
archived
createdAt
updatedAt
}
nextToken
}
}
nextToken
}
cameras {
items {
id
name
deviceType
status
vmsCameraName
description
descriptionTranslated
descriptionSanitized
vmsDescription
siteId
integratorId
monitoringCenterId
customerId
criticalNotes
criticalNotesTranslated
criticalNotesSanitized
talkdownInstructions {
talkdownType
note
noteTranslated
noteSanitized
phone
url
messageDetails {
messageType
messageTypeId
urlSuffix
}
hostConfiguration {
baseUrl
username
password
method
}
}
latitude
longitude
vmsCameraId
vmsCustomerId
testingExpiry
armedState
snoozeReason
snoozeReasonTranslated
snoozeReasonSanitized
snoozeExpiry
archived
zoneNumber
zoneDescription
zoneDescriptionTranslated
zoneDescriptionSanitized
modifiedBy
isOnvif
videoStreamState
deviceUrlOnline
vmsConnect
isP2P
isAnalyticsEnabled
isMotionEnabled
testEventReceived
healthCheckEnabled
healthCheckSLA
healthCheckStatus
ignoreStatusChecks
statusChecksProperties
statusLastVerified
archiveDurationHours
accessUrlsId
credentialsId
deviceBrand
deviceModel
vmsPlanId
phpRegistrationCode
serialNumber
p2pState
lastPowerCycle
baselineThumbnailFilename
currentThumbnailFilename
sceneChangeDetectionEnabled
passingSceneDetection
hubspotId
immixMonitoring
hasMic
hasSpeaker
audioGroups
createdAt
updatedAt
qualitySettings {
id
width
height
videoBitRate
frameRate
monitoringCenterId
cameraId
modifiedBy
createdAt
updatedAt
}
}
nextToken
}
sops {
items {
id
siteId
eventType
eventSOPs
monitoringCenterId
modifiedBy
archived
createdAt
updatedAt
}
nextToken
}
}
}
}
`;
exports.onDeleteIncident = `
subscription OnDeleteIncident($monitoringCenterId: String) {
onDeleteIncident(monitoringCenterId: $monitoringCenterId) {
id
integratorId
monitoringCenterId
status
incidentSiteId
incidentCustomerId
dispositionLevel
primaryDisposition
dispositionList
closedTime
resolvedTime
expectedResolvedTime
billableTime
assignedUsername
assignmentHistory {
username
assignedAt
}
modifiedBy
createdAt
hasShareExternal
resolution
resolutionTranslated
resolutionSanitized
externalPartyResponse {
police
fire
ambulance
bylaw
security
outreach
siteContact
agenciesArrived
notArrivedReason
notArrivedReasonTranslated
notArrivedReasonSanitized
}
invoiceId
updatedAt
events {
items {
id
vmsEventId
vmsNotes
vmsNotesTranslated
vmsNotesSanitized
disposition
eventType
thumbnailFilename
triggerType
objectsFound
integratorId
monitoringCenterId
incidentId
incidentPriority
cameraEventCameraId
siteId
customerId
startTime
endTime
resolvedTime
instantaneous
cameraEventUrl
cameraEventUrlPublic
modifiedBy
vmsUserId
ackTimestamp
createdAt
vmsSourceType
updatedAt
secondaryEvents {
items {
id
cameraEventId
vmsNotes
vmsNotesTranslated
vmsNotesSanitized
disposition
eventType
vmsSourceType
ackTimestamp
modifiedBy
vmsUserId
monitoringCenterId
createdAt
updatedAt
}
nextToken
}
camera {
id
name
deviceType
status
vmsCameraName
description
descriptionTranslated
descriptionSanitized
vmsDescription
siteId
integratorId
monitoringCenterId
customerId
criticalNotes
criticalNotesTranslated
criticalNotesSanitized
talkdownInstructions {
talkdownType
note
noteTranslated
noteSanitized
phone
url
messageDetails {
messageType
messageTypeId
urlSuffix
}
hostConfiguration {
baseUrl
username
password
method
}
}
latitude
longitude
vmsCameraId
vmsCustomerId
testingExpiry
armedState
snoozeReason
snoozeReasonTranslated
snoozeReasonSanitized
snoozeExpiry
archived
zoneNumber
zoneDescription
zoneDescriptionTranslated
zoneDescriptionSanitized
modifiedBy
isOnvif
videoStreamState
deviceUrlOnline
vmsConnect
isP2P
isAnalyticsEnabled
isMotionEnabled
testEventReceived
healthCheckEnabled
healthCheckSLA
healthCheckStatus
ignoreStatusChecks
statusChecksProperties
statusLastVerified
archiveDurationHours
accessUrlsId
credentialsId
deviceBrand
deviceModel
vmsPlanId
phpRegistrationCode
serialNumber
p2pState
lastPowerCycle
baselineThumbnailFilename
currentThumbnailFilename
sceneChangeDetectionEnabled
passingSceneDetection
hubspotId
immixMonitoring
hasMic
hasSpeaker
audioGroups
createdAt
updatedAt
qualitySettings {
id
width
height
videoBitRate
frameRate
monitoringCenterId
cameraId
modifiedBy
createdAt
updatedAt
}
}
}
nextToken
}
site {
id
name
status
customerId
integratorId
criticalNotes
criticalNotesTranslated
criticalNotesSanitized
externalCriticalNotes
externalCriticalNotesTranslated
externalCriticalNotesSanitized
monitoringCenterId
archived
modifiedBy
timezone
vmsSharedMonitoringRoleId
monitoringStatus
maintainCamerasOnMonitoringRole
armingRulesConfig
monitoringState
armedState
alarmState
supervisionEnabled
triggersEnabled
muteAfterInteractionCount
type
alarmsCentralStation
alarmsCentralStationPhone
alarmsCentralStationPhoneExt
alarmsVerbalPasscode
alarmsCSID
alarmsAR
alarmsNotes
alarmsNotesTranslated
alarmsNotesSanitized
alarmsPermitNum
alarmsPermitExpires
autoSendToTrackTik
hasSiteMap
condensedAddress
createdAt
updatedAt
address {
id
lineOne
lineTwo
city
state
zipCode
country
integratorId
monitoringCenterId
modifiedBy
createdAt
updatedAt
}
integrations {
items {
id
siteId
integratorId
monitoringCenterId
type
subType
subTypeList
agency
phone
phoneExt
email
notes
notesTranslated
notesSanitized
modifiedBy
archived
createdAt
updatedAt
trackTickDetails {
id
siteIntegrationId
siteId
monitoringCenterId
apiUrl
apiUsername
apiPassword
accountId
token
refreshToken
tokenExpiry
refreshTokenExpiry
autoSend
autoSendErrorEmail
configured
archived
modifiedBy
createdAt
updatedAt
taskList {
items {
id
trackTikDetailsId
siteId
monitoringCenterId
eventType
trackTikName
trackTikId
trackTikReportTemplateId
archived
modifedBy
createdAt
updatedAt
}
nextToken
}
}
}
nextToken
}
contacts {
items {
id
siteId
name
type
verbalPasscode
email
priority
monitoringCenterId
integratorId
archived
notes
notesTranslated
notesSanitized
modifiedBy
createdAt
updatedAt
phones {
items {
id
contactId
type
number
ext
monitoringCenterId
integratorId
modifiedBy
archived
createdAt
updatedAt
}
nextToken
}
}
nextToken
}
cameras {
items {
id
name
deviceType
status
vmsCameraName
description
descriptionTranslated
descriptionSanitized
vmsDescription
siteId
integratorId
monitoringCenterId
customerId
criticalNotes
criticalNotesTranslated
criticalNotesSanitized
talkdownInstructions {
talkdownType
note
noteTranslated
noteSanitized
phone
url
messageDetails {
messageType
messageTypeId
urlSuffix
}
hostConfiguration {
baseUrl
username
password
method
}
}
latitude
longitude
vmsCameraId
vmsCustomerId
testingExpiry
armedState
snoozeReason
snoozeReasonTranslated
snoozeReasonSanitized
snoozeExpiry
archived
zoneNumber
zoneDescription
zoneDescriptionTranslated
zoneDescriptionSanitized
modifiedBy
isOnvif
videoStreamState
deviceUrlOnline
vmsConnect
isP2P
isAnalyticsEnabled
isMotionEnabled
testEventReceived
healthCheckEnabled
healthCheckSLA
healthCheckStatus
ignoreStatusChecks
statusChecksProperties
statusLastVerified
archiveDurationHours
accessUrlsId
credentialsId
deviceBrand
deviceModel
vmsPlanId
phpRegistrationCode
serialNumber
p2pState
lastPowerCycle
baselineThumbnailFilename
currentThumbnailFilename
sceneChangeDetectionEnabled
passingSceneDetection
hubspotId
immixMonitoring
hasMic
hasSpeaker
audioGroups
createdAt
updatedAt
qualitySettings {
id
width
height
videoBitRate
frameRate
monitoringCenterId
cameraId
modifiedBy
createdAt
updatedAt
}
}
nextToken
}
sops {
items {
id
siteId
eventType
eventSOPs
monitoringCenterId
modifiedBy
archived
createdAt
updatedAt
}
nextToken
}
}
}
}
`;
exports.onCreateIncidentNote = `
subscription OnCreateIncidentNote($monitoringCenterId: String) {
onCreateIncidentNote(monitoringCenterId: $monitoringCenterId) {
id
incidentId
note
noteTranslated
noteSanitized
monitoringCenterId
modifiedBy
writtenBy
createdAt
shareExternal
updatedAt
}
}
`;
exports.onUpdateIncidentNote = `
subscription OnUpdateIncidentNote($monitoringCenterId: String) {
onUpdateIncidentNote(monitoringCenterId: $monitoringCenterId) {
id
incidentId
note
noteTranslated
noteSanitized
monitoringCenterId
modifiedBy
writtenBy
createdAt
shareExternal
updatedAt
}
}
`;
exports.onDeleteIncidentNote = `
subscription OnDeleteIncidentNote($monitoringCenterId: String) {
onDeleteIncidentNote(monitoringCenterId: $monitoringCenterId) {
id
incidentId
note
noteTranslated
noteSanitized
monitoringCenterId
modifiedBy
writtenBy
createdAt
shareExternal
updatedAt
}
}
`;
exports.onCreateIncidentActionList = `
subscription OnCreateIncidentActionList($monitoringCenterId: String) {
onCreateIncidentActionList(monitoringCenterId: $monitoringCenterId) {
id
incidentId
priority
eventType
disposition
monitoringCenterId
modifiedBy
archived
createdAt
updatedAt
tasks {
items {
id
incidentId
incidentActionItemId
order
completed
description
modifiedBy
monitoringCenterId
archived
createdAt
updatedAt
}
nextToken
}
}
}
`;
exports.onUpdateIncidentActionList = `
subscription OnUpdateIncidentActionList($monitoringCenterId: String) {
onUpdateIncidentActionList(monitoringCenterId: $monitoringCenterId) {
id
incidentId
priority
eventType
disposition
monitoringCenterId
modifiedBy
archived
createdAt
updatedAt
tasks {
items {
id
incidentId
incidentActionItemId
order
completed
description
modifiedBy
monitoringCenterId
archived
createdAt
updatedAt
}
nextToken
}
}
}
`;
exports.onDeleteIncidentActionList = `
subscription OnDeleteIncidentActionList($monitoringCenterId: String) {
onDeleteIncidentActionList(monitoringCenterId: $monitoringCenterId) {
id
incidentId
priority
eventType
disposition
monitoringCenterId
modifiedBy
archived
createdAt
updatedAt
tasks {
items {
id
incidentId
incidentActionItemId
order
completed
description
modifiedBy
monitoringCenterId
archived
createdAt
updatedAt
}
nextToken
}
}
}
`;
exports.onCreateProcedureTask = `
subscription OnCreateProcedureTask($monitoringCenterId: String) {
onCreateProcedureTask(monitoringCenterId: $monitoringCenterId) {
id
incidentId
incidentActionItemId
order
completed
description
modifiedBy
monitoringCenterId
archived
createdAt
updatedAt
}
}
`;
exports.onUpdateProcedureTask = `
subscription OnUpdateProcedureTask($monitoringCenterId: String) {
onUpdateProcedureTask(monitoringCenterId: $monitoringCenterId) {
id
incidentId
incidentActionItemId
order
completed
description
modifiedBy
monitoringCenterId
archived
createdAt
updatedAt
}
}
`;
exports.onDeleteProcedureTask = `
subscription OnDeleteProcedureTask($monitoringCenterId: String) {
onDeleteProcedureTask(monitoringCenterId: $monitoringCenterId) {
id
incidentId
incidentActionItemId
order
completed
description
modifiedBy
monitoringCenterId
archived
createdAt
updatedAt
}
}
`;
exports.onCreateIncidentBundleTime = `
subscription OnCreateIncidentBundleTime {
onCreateIncidentBundleTime {
id
monitoringCenterId
applyToAssigned
bundleTime
modifiedBy
createdAt
updatedAt
}
}
`;
exports.onUpdateIncidentBundleTime = `
subscription OnUpdateIncidentBundleTime {
onUpdateIncidentBundleTime {
id
monitoringCenterId
applyToAssigned
bundleTime
modifiedBy
createdAt
updatedAt
}
}
`;
exports.onDeleteIncidentBundleTime = `
subscription OnDeleteIncidentBundleTime {
onDeleteIncidentBundleTime {
id
monitoringCenterId
applyToAssigned
bundleTime
modifiedBy
createdAt
updatedAt
}
}
`;
exports.onCreateCameraEvent = `
subscription OnCreateCameraEvent($monitoringCenterId: String) {
onCreateCameraEvent(monitoringCenterId: $monitoringCenterId) {
id
vmsEventId
vmsNotes
vmsNotesTranslated
vmsNotesSanitized
disposition
eventType
thumbnailFilename