'use strict'; const registerReportMin = { _type: 'oadrRegisterReport', requestId: '31c5ce71a68a73ece370', reports: [], }; const registerReportMax = { _type: 'oadrRegisterReport', requestId: '31c5ce71a68a73ece370', venId: 'D8:1D:4B:20:5A:65:4C:50:32:FA', reports: [ { reportRequestId: '31c5ce71a68a73ece370', reportSpecifierId: 'TELEMETRY_STATUS', createdDateTime: '2020-05-07T10:05:41.421-06:00', duration: 'PT1H', reportName: 'METADATA_TELEMETRY_STATUS', descriptions: [ { reportId: 'TelemetryStatusReport', reportType: 'x-resourceStatus', readingType: 'x-notApplicable', samplingRate: { minPeriod: 'PT1M', maxPeriod: 'PT1H', onChange: false, }, }, ], }, { reportRequestId: '3d92d98e0b65d94e60a7', reportSpecifierId: 'TELEMETRY_USAGE', createdDateTime: '2020-05-07T10:05:41.421-06:00', duration: 'PT1H', reportName: 'METADATA_TELEMETRY_USAGE', descriptions: [ { reportId: 'rep1', reportType: 'usage', readingType: 'Direct Read', samplingRate: { minPeriod: 'PT1M', maxPeriod: 'PT1H', onChange: false, }, }, { reportId: 'rep2', reportType: 'usage', readingType: 'Direct Read', samplingRate: { minPeriod: 'PT1M', maxPeriod: 'PT1H', onChange: false, }, }, ], }, ], }; const registerReportCa = { _type: 'oadrRegisterReport', requestId: '1087c', reports: [ { reportRequestId: '1087c', reportSpecifierId: 'TELEMETRY_STATUS', createdDateTime: '2020-05-11T19:32:33.632-06:00', reportName: 'METADATA_TELEMETRY_STATUS', descriptions: [ { reportId: 'TelemetryStatusReport', reportType: 'x-resourceStatus', readingType: 'x-notApplicable', samplingRate: { minPeriod: 'PT1M', maxPeriod: 'PT1H', onChange: false, }, }, ], duration: 'PT1H', }, { reportRequestId: '1087c', reportSpecifierId: 'TELEMETRY_USAGE', createdDateTime: '2020-05-11T19:32:33.632-06:00', reportName: 'METADATA_TELEMETRY_USAGE', descriptions: [ { reportId: 'rep1', reportType: 'usage', readingType: 'Direct Read', samplingRate: { minPeriod: 'PT1M', maxPeriod: 'PT1H', onChange: false, }, }, { reportId: 'rep2', reportType: 'usage', readingType: 'Direct Read', samplingRate: { minPeriod: 'PT1M', maxPeriod: 'PT1H', onChange: false, }, }, ], duration: 'PT1H', }, ], venId: 'D8:1D:4B:20:5A:65:4C:50:32:FA', }; const createdReportMin = { _type: 'oadrCreatedReport', responseCode: '200', responseRequestId: 'c6e8147ead4eb3ad3dff', venId: 'D8:1D:4B:20:5A:65:4C:50:32:FA', pendingReports: [ { reportRequestId: 'eec71ed4dfe1e52d65a5', }, ], }; const createdReportMax = { _type: 'oadrCreatedReport', responseCode: '200', responseDescription: 'OK', responseRequestId: 'c6e8147ead4eb3ad3dff', venId: 'D8:1D:4B:20:5A:65:4C:50:32:FA', pendingReports: [ { reportRequestId: 'eec71ed4dfe1e52d65a5', }, ], }; const createdReportGenerated1 = { _type: 'oadrCreatedReport', responseCode: '200', responseDescription: 'OK', responseRequestId: 'c6e8147ead4eb3ad3dff', venId: 'D8:1D:4B:20:5A:65:4C:50:32:FA', pendingReports: [ { reportRequestId: 'uuid0', }, { reportRequestId: 'uuid1', }, ], }; const updateReportMin = { _type: 'oadrUpdateReport', reports: [], requestId: '87bbc1d44d903f317758', }; const updateReportTelemetryStatus = { _type: 'oadrUpdateReport', reports: [ { createdDateTime: '2020-05-13T10:56:11.058-06:00', duration: 'PT1M', intervals: [ { duration: 'PT1M', reportPayloads: [ { dataQuality: 'Quality Good - Non Specific', payloadStatus: { online: true, manualOverride: false, loadControlState: { oadrLevelOffset: { oadrNormal: 40, oadrCurrent: 50, }, }, }, reportId: 'TelemetryStatusReport', }, ], startDate: '2020-05-13T10:56:11.058-06:00', }, ], reportName: 'TELEMETRY_STATUS', reportRequestId: 'uuid0', reportSpecifierId: 'TELEMETRY_STATUS', startDate: '2020-05-13T10:56:11.058-06:00', }, ], requestId: 'uuid0', }; const updateReportMax = { _type: 'oadrUpdateReport', reports: [ { createdDateTime: '2020-05-08T21:27:49.591-06:00', duration: 'PT1M', intervals: [ { duration: 'PT30S', reportPayloads: [ { dataQuality: 'Quality Good - Non Specific', payloadFloat: 161.97970171999845, reportId: 'rep1', }, ], startDate: '2020-05-08T21:26:49.562-06:00', }, { duration: 'PT30S', reportPayloads: [ { dataQuality: 'Quality Good - Non Specific', payloadFloat: 165.46849970752885, reportId: 'rep1', }, ], startDate: '2020-05-08T21:27:19.594-06:00', }, { duration: 'PT30S', reportPayloads: [ { dataQuality: 'Quality Good - Non Specific', payloadFloat: 162.30118577122087, reportId: 'rep1', }, ], startDate: '2020-05-08T21:27:49.591-06:00', }, ], reportName: 'TELEMETRY_USAGE', reportRequestId: '87bbc1d44d903f317758', reportSpecifierId: 'TELEMETRY_USAGE', startDate: '2020-05-08T21:26:49.562-06:00', }, ], requestId: '87bbc1d44d903f317758', }; module.exports = { createdReportMin, createdReportMax, createdReportGenerated1, registerReportMin, registerReportMax, registerReportCa, updateReportMin, updateReportMax, updateReportTelemetryStatus, };