@spytecgps/nova-orm 1.4.8 → 1.4.10
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/README.md +1 -1
- package/dist/entities/acumaticaAmazonProduct.d.ts +8 -8
- package/dist/entities/acumaticaImeiIccidData.d.ts +17 -17
- package/dist/entities/acumaticaOrderShipmentDetails.d.ts +11 -11
- package/dist/entities/acumaticaShipment.d.ts +5 -5
- package/dist/entities/acumaticaShipmentAmazon.d.ts +4 -4
- package/dist/entities/aempToken.d.ts +10 -10
- package/dist/entities/airflow/airflowAcumaticaExportImeiIccidData.d.ts +15 -15
- package/dist/entities/airflow/airflowAcumaticaExportOrderShipmentDetails.d.ts +28 -28
- package/dist/entities/airflow/airflowAcumaticaShipmentsAmazon.d.ts +7 -7
- package/dist/entities/alert.d.ts +29 -29
- package/dist/entities/alertType.d.ts +14 -14
- package/dist/entities/appFeatureType.d.ts +6 -6
- package/dist/entities/asinPromotion.d.ts +7 -7
- package/dist/entities/assetCategory.d.ts +5 -5
- package/dist/entities/assetProfile.d.ts +24 -24
- package/dist/entities/assetProfileCategory.d.ts +7 -7
- package/dist/entities/assetProfileCustomField.d.ts +11 -11
- package/dist/entities/assetProfileMedia.d.ts +12 -12
- package/dist/entities/assetProfileNote.d.ts +12 -12
- package/dist/entities/assetProfileType.d.ts +9 -9
- package/dist/entities/avalaraExemptCert.d.ts +7 -7
- package/dist/entities/avalaraQueue.d.ts +10 -10
- package/dist/entities/beaconBleMesh.d.ts +11 -11
- package/dist/entities/billing.d.ts +20 -20
- package/dist/entities/billingCustomerAmazon.d.ts +13 -13
- package/dist/entities/billingCustomerBraintree.d.ts +11 -11
- package/dist/entities/billingDeviceHistory.d.ts +11 -11
- package/dist/entities/billingDeviceTypePlan.d.ts +12 -12
- package/dist/entities/billingHubspotPaymentLog.d.ts +50 -50
- package/dist/entities/billingKlarnaCustomer.d.ts +14 -14
- package/dist/entities/billingKlarnaOrder.d.ts +18 -18
- package/dist/entities/billingPlanFeatures.d.ts +6 -6
- package/dist/entities/billingPlans.d.ts +22 -22
- package/dist/entities/billingStatusHistoryBraintree.d.ts +10 -10
- package/dist/entities/billingSubscriptionAmazon.d.ts +21 -21
- package/dist/entities/billingSubscriptionBraintree.d.ts +34 -34
- package/dist/entities/blacklist.d.ts +9 -9
- package/dist/entities/blacklistType.d.ts +5 -5
- package/dist/entities/bleMesh.d.ts +15 -15
- package/dist/entities/bleMeshConfiguration.d.ts +9 -9
- package/dist/entities/boundary.d.ts +23 -23
- package/dist/entities/boundaryEvent.d.ts +21 -21
- package/dist/entities/cellTower.d.ts +12 -12
- package/dist/entities/client.d.ts +34 -34
- package/dist/entities/clientAlertConfiguration.d.ts +20 -20
- package/dist/entities/clientAlertRecipient.d.ts +16 -16
- package/dist/entities/clientAppFeature.d.ts +9 -9
- package/dist/entities/clientConfiguration.d.ts +10 -10
- package/dist/entities/clientDeviceIcon.d.ts +9 -9
- package/dist/entities/clientDeviceSetting.d.ts +15 -15
- package/dist/entities/clientIngestorConfiguration.d.ts +11 -11
- package/dist/entities/clientType.d.ts +6 -6
- package/dist/entities/country.d.ts +16 -16
- package/dist/entities/customerAttribute.d.ts +15 -15
- package/dist/entities/dataExport.d.ts +17 -17
- package/dist/entities/dataSourceType.d.ts +5 -5
- package/dist/entities/deactivation.d.ts +14 -14
- package/dist/entities/deactivationReason.d.ts +6 -6
- package/dist/entities/device.d.ts +43 -43
- package/dist/entities/deviceBehavior.d.ts +26 -26
- package/dist/entities/deviceBleMesh.d.ts +14 -14
- package/dist/entities/deviceBleMeshUpdateTask.d.ts +18 -18
- package/dist/entities/deviceCameraMedia.d.ts +30 -30
- package/dist/entities/deviceCameraMediaEventType.d.ts +6 -6
- package/dist/entities/deviceCameraMediaStreamingData.d.ts +17 -17
- package/dist/entities/deviceCameraMediaSyncStatus.d.ts +14 -14
- package/dist/entities/deviceCameraRequestedPictureData.d.ts +14 -14
- package/dist/entities/deviceCameraRequestedVideoData.d.ts +19 -19
- package/dist/entities/deviceChangesHistory.d.ts +8 -8
- package/dist/entities/deviceCustomConfiguration.d.ts +13 -13
- package/dist/entities/deviceEventsTriggerConfiguration.d.ts +11 -11
- package/dist/entities/deviceHistory.d.ts +8 -8
- package/dist/entities/deviceModelListener.d.ts +8 -8
- package/dist/entities/devicePairing.d.ts +14 -14
- package/dist/entities/devicePromotion.d.ts +7 -7
- package/dist/entities/deviceReplacement.d.ts +12 -12
- package/dist/entities/deviceStatus.d.ts +13 -13
- package/dist/entities/deviceTask.d.ts +8 -8
- package/dist/entities/deviceType.d.ts +27 -27
- package/dist/entities/deviceTypeFeature.d.ts +5 -5
- package/dist/entities/deviceTypeFirmware.d.ts +28 -28
- package/dist/entities/deviceTypePromotion.d.ts +7 -7
- package/dist/entities/emailDomain.d.ts +5 -5
- package/dist/entities/entityTag.d.ts +19 -19
- package/dist/entities/entityType.d.ts +5 -5
- package/dist/entities/feature.d.ts +6 -6
- package/dist/entities/firmwareAutoUpgradeBlacklist.d.ts +6 -6
- package/dist/entities/firmwareUpgradeTask.d.ts +23 -23
- package/dist/entities/historicalBillingPlan.d.ts +22 -22
- package/dist/entities/iccidStatus.d.ts +7 -7
- package/dist/entities/imeiIccidCarrier.d.ts +23 -23
- package/dist/entities/imeiIccidHistory.d.ts +7 -7
- package/dist/entities/imeiIccidImport.d.ts +5 -5
- package/dist/entities/index.d.ts +148 -145
- package/dist/entities/industry.d.ts +8 -8
- package/dist/entities/latestPosition.d.ts +22 -22
- package/dist/entities/latestUserAppInfo.d.ts +9 -9
- package/dist/entities/liveLink.d.ts +23 -23
- package/dist/entities/liveLinkMedia.d.ts +11 -11
- package/dist/entities/m2Sync.d.ts +16 -16
- package/dist/entities/magento2Gps.d.ts +51 -51
- package/dist/entities/magento2Plan.d.ts +6 -6
- package/dist/entities/marketplacePromotion.d.ts +7 -7
- package/dist/entities/mobileNetwork.d.ts +9 -9
- package/dist/entities/notificationRecipient.d.ts +23 -23
- package/dist/entities/orderShipmentInternational.d.ts +12 -12
- package/dist/entities/organization.d.ts +10 -10
- package/dist/entities/plan.d.ts +16 -16
- package/dist/entities/position.d.ts +23 -23
- package/dist/entities/promotion.d.ts +24 -24
- package/dist/entities/promotionHistory.d.ts +12 -12
- package/dist/entities/region.d.ts +10 -10
- package/dist/entities/reportScheduleConfiguration.d.ts +17 -17
- package/dist/entities/securityRole.d.ts +10 -10
- package/dist/entities/serviceProvider.d.ts +7 -7
- package/dist/entities/serviceProviderProduct.d.ts +9 -9
- package/dist/entities/serviceProviderProductNetwork.d.ts +5 -5
- package/dist/entities/serviceProviderProductType.d.ts +5 -5
- package/dist/entities/sim.d.ts +16 -16
- package/dist/entities/tag.d.ts +13 -13
- package/dist/entities/task.d.ts +36 -36
- package/dist/entities/taskSchedule.d.ts +29 -29
- package/dist/entities/trip.d.ts +30 -30
- package/dist/entities/tripCompletionStatus.d.ts +6 -6
- package/dist/entities/tripPosition.d.ts +4 -4
- package/dist/entities/tripStatus.d.ts +6 -6
- package/dist/entities/user.d.ts +48 -48
- package/dist/entities/userActivation.d.ts +10 -10
- package/dist/entities/userActivationDevice.d.ts +28 -28
- package/dist/entities/userActivationEvent.d.ts +13 -13
- package/dist/entities/userActivationMetric.d.ts +39 -39
- package/dist/entities/userAlertComplain.d.ts +18 -18
- package/dist/entities/userAlertConfiguration.d.ts +25 -25
- package/dist/entities/userAlertNotificationsConfig.d.ts +14 -14
- package/dist/entities/userAppFeedback.d.ts +11 -11
- package/dist/entities/userAppIncident.d.ts +30 -30
- package/dist/entities/userAuthorizedBoundary.d.ts +8 -8
- package/dist/entities/userAuthorizedBoundarySecurityView.d.ts +5 -5
- package/dist/entities/userAuthorizedDevice.d.ts +8 -8
- package/dist/entities/userAuthorizedDeviceSecurityView.d.ts +5 -5
- package/dist/entities/userCancellationDueDevice.d.ts +8 -0
- package/dist/entities/userCarrierDeactivateDevice.d.ts +12 -0
- package/dist/entities/userCarrierReactivateDevice.d.ts +12 -0
- package/dist/entities/userConfiguration.d.ts +21 -21
- package/dist/entities/userDataDeletionRequest.d.ts +12 -12
- package/dist/entities/userDeviceBehaviorTask.d.ts +16 -16
- package/dist/entities/userInvitation.d.ts +21 -21
- package/dist/entities/userRatingRequest.d.ts +14 -14
- package/dist/entities/userRegistrationAttempt.d.ts +36 -36
- package/dist/entities/userSecurityRole.d.ts +22 -22
- package/dist/entities/websocketConnection.d.ts +7 -7
- package/dist/index.d.ts +27 -27
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/migration/1684483704434-addLowerCaseIndex.d.ts +5 -5
- package/dist/migration/1684483704434-addLowerCaseIndex.js +21 -21
- package/dist/novaDataSource.d.ts +94 -94
- package/dist/repositories/acumatica/getAcumaticaImeiIccidData.d.ts +5 -5
- package/dist/repositories/acumatica/getAcumaticaShipmentAmazon.d.ts +5 -5
- package/dist/repositories/acumatica/getAcumaticaShipmentDetails.d.ts +4 -4
- package/dist/repositories/acumatica/getLastAcumaticaShipmentDetails.d.ts +4 -4
- package/dist/repositories/acumatica/getOrderShipmentInternational.d.ts +5 -5
- package/dist/repositories/acumatica/index.d.ts +47 -47
- package/dist/repositories/aempToken/createAempToken.d.ts +5 -5
- package/dist/repositories/aempToken/deleteAempTokens.d.ts +4 -4
- package/dist/repositories/aempToken/getAempTokens.d.ts +5 -5
- package/dist/repositories/aempToken/index.d.ts +33 -33
- package/dist/repositories/appFeatures/createAppFeatureType.d.ts +5 -5
- package/dist/repositories/appFeatures/createClientAppFeature.d.ts +5 -5
- package/dist/repositories/appFeatures/getClientAppFeatures.d.ts +5 -5
- package/dist/repositories/appFeatures/index.d.ts +37 -37
- package/dist/repositories/baseRepository.d.ts +21 -21
- package/dist/repositories/billing/createBilling.d.ts +5 -5
- package/dist/repositories/billing/createBillingDeviceHistory.d.ts +5 -5
- package/dist/repositories/billing/createBillingHubspotPaymentLog.d.ts +5 -5
- package/dist/repositories/billing/createBillingStatusHistoryBraintree.d.ts +5 -5
- package/dist/repositories/billing/getBillingCustomerBraintreeById.d.ts +5 -5
- package/dist/repositories/billing/getBillingDeviceTypePlans.d.ts +5 -5
- package/dist/repositories/billing/getBillingPlans.d.ts +4 -4
- package/dist/repositories/billing/getBillingSubscriptionsBraintree.d.ts +5 -5
- package/dist/repositories/billing/getBillings.d.ts +5 -5
- package/dist/repositories/billing/getBraintreePastDueSubscriptions.d.ts +4 -4
- package/dist/repositories/billing/getCanceledImeis.d.ts +4 -4
- package/dist/repositories/billing/getCanceledImeisMatchingMagentoData.d.ts +4 -4
- package/dist/repositories/billing/getChurnStatusByClientId.d.ts +4 -4
- package/dist/repositories/billing/getClientIdFromBraintreeCustomer.d.ts +4 -4
- package/dist/repositories/billing/getMagentoPlan.d.ts +5 -5
- package/dist/repositories/billing/getUserByBraintreeCustomerId.d.ts +5 -5
- package/dist/repositories/billing/index.d.ts +217 -217
- package/dist/repositories/billing/updateBilling.d.ts +4 -4
- package/dist/repositories/billing/updateBillingCustomerBraintree.d.ts +4 -4
- package/dist/repositories/billing/upsertBillingCustomerBraintree.d.ts +5 -5
- package/dist/repositories/billing/upsertBillingDeviceTypePlan.d.ts +5 -5
- package/dist/repositories/billing/upsertBillingPlans.d.ts +5 -5
- package/dist/repositories/billing/upsertBillingSubscriptionBraintree.d.ts +4 -4
- package/dist/repositories/blacklist/deleteBlackList.d.ts +4 -4
- package/dist/repositories/blacklist/getBlacklists.d.ts +5 -5
- package/dist/repositories/blacklist/index.d.ts +43 -43
- package/dist/repositories/blacklist/updateBlackList.d.ts +4 -4
- package/dist/repositories/blacklist/upsertBlackList.d.ts +5 -5
- package/dist/repositories/boundaries/createBoundary.d.ts +5 -5
- package/dist/repositories/boundaries/deleteBoundary.d.ts +4 -4
- package/dist/repositories/boundaries/getBoundariesByClientId.d.ts +5 -5
- package/dist/repositories/boundaries/getBoundariesIdsByClientId.d.ts +4 -4
- package/dist/repositories/boundaries/getBoundariesReport.d.ts +4 -4
- package/dist/repositories/boundaries/getBoundaryById.d.ts +5 -5
- package/dist/repositories/boundaries/index.d.ts +106 -106
- package/dist/repositories/boundaries/processBoundaryEvent.d.ts +4 -4
- package/dist/repositories/boundaries/updateBoundary.d.ts +4 -4
- package/dist/repositories/boundaries/upsertBoundaryEvent.d.ts +4 -4
- package/dist/repositories/clientAlertConfiguration/createClientAlertConfiguration.d.ts +5 -5
- package/dist/repositories/clientAlertConfiguration/deleteClientAlertConfiguration.d.ts +4 -4
- package/dist/repositories/clientAlertConfiguration/getClientAlertConfigurations.d.ts +5 -5
- package/dist/repositories/clientAlertConfiguration/getClientAlertRecipients.d.ts +4 -4
- package/dist/repositories/clientAlertConfiguration/getUsersDataForClientAlertConfig.d.ts +4 -4
- package/dist/repositories/clientAlertConfiguration/index.d.ts +13 -13
- package/dist/repositories/clientAlertConfiguration/isUserAllowedForAlertConfig.d.ts +4 -4
- package/dist/repositories/clientAlertConfiguration/setClientAlertRecipients.d.ts +4 -4
- package/dist/repositories/clientAlertConfiguration/updateClientAlertConfiguration.d.ts +4 -4
- package/dist/repositories/clients/createClient.d.ts +5 -5
- package/dist/repositories/clients/createClientConfiguration.d.ts +5 -5
- package/dist/repositories/clients/createClientIngestorConfiguration.d.ts +5 -5
- package/dist/repositories/clients/createCustomerAttribute.d.ts +5 -5
- package/dist/repositories/clients/deleteClientAndConfiguration.d.ts +4 -4
- package/dist/repositories/clients/getClient.d.ts +5 -5
- package/dist/repositories/clients/getClientConfiguration.d.ts +5 -5
- package/dist/repositories/clients/getClientIngestorConfigurations.d.ts +4 -4
- package/dist/repositories/clients/getClients.d.ts +5 -5
- package/dist/repositories/clients/getCustomerAttribute.d.ts +5 -5
- package/dist/repositories/clients/index.d.ts +138 -138
- package/dist/repositories/clients/updateClient.d.ts +4 -4
- package/dist/repositories/clients/updateClientConfiguration.d.ts +4 -4
- package/dist/repositories/clients/updateCustomerAttribute.d.ts +4 -4
- package/dist/repositories/countries/getCountries.d.ts +4 -4
- package/dist/repositories/countries/getCountry.d.ts +5 -5
- package/dist/repositories/countries/index.d.ts +20 -20
- package/dist/repositories/deactivations/createDeactivation.d.ts +5 -5
- package/dist/repositories/deactivations/getDeactivationReasons.d.ts +5 -5
- package/dist/repositories/deactivations/getLatestDeactivationByImei.d.ts +5 -5
- package/dist/repositories/deactivations/index.d.ts +38 -38
- package/dist/repositories/deviceBehaviors/createDeviceBehaviorTask.d.ts +5 -5
- package/dist/repositories/deviceBehaviors/getDeviceBehaviorTasks.d.ts +5 -5
- package/dist/repositories/deviceBehaviors/getDeviceBehaviors.d.ts +5 -5
- package/dist/repositories/deviceBehaviors/getDeviceBehaviorsByIds.d.ts +5 -5
- package/dist/repositories/deviceBehaviors/index.d.ts +70 -70
- package/dist/repositories/deviceBehaviors/updateDeviceBehaviorTask.d.ts +4 -4
- package/dist/repositories/deviceBehaviors/upsertDeviceBehavior.d.ts +5 -5
- package/dist/repositories/devicePairings/createDevicePairing.d.ts +5 -5
- package/dist/repositories/devicePairings/deleteDevicePairing.d.ts +4 -4
- package/dist/repositories/devicePairings/getDevicePairings.d.ts +5 -5
- package/dist/repositories/devicePairings/getDevicePairingsByClientId.d.ts +5 -5
- package/dist/repositories/devicePairings/getDevicePairingsByImei.d.ts +5 -5
- package/dist/repositories/devicePairings/index.d.ts +65 -65
- package/dist/repositories/devicePairings/updateDevicePairing.d.ts +4 -4
- package/dist/repositories/deviceStatus/extendedDeviceStatus.d.ts +12 -12
- package/dist/repositories/deviceStatus/getDeviceStatuses.d.ts +4 -4
- package/dist/repositories/deviceStatus/getDeviceStatusesCount.d.ts +4 -4
- package/dist/repositories/deviceStatus/index.d.ts +35 -35
- package/dist/repositories/deviceStatus/upsertDeviceStatuses.d.ts +4 -4
- package/dist/repositories/deviceTypeFeature/bulkCreateDeviceTypeFeature.d.ts +5 -5
- package/dist/repositories/deviceTypeFeature/deleteDeviceTypeFeature.d.ts +4 -4
- package/dist/repositories/deviceTypeFeature/getDeviceTypeFeatures.d.ts +4 -4
- package/dist/repositories/deviceTypeFeature/index.d.ts +27 -27
- package/dist/repositories/devices/addDeviceChangesHistory.d.ts +5 -5
- package/dist/repositories/devices/allImeisAreActiveForClient.d.ts +4 -4
- package/dist/repositories/devices/createClientDeviceSetting.d.ts +5 -5
- package/dist/repositories/devices/createDevice.d.ts +5 -5
- package/dist/repositories/devices/createDeviceReplacement.d.ts +5 -5
- package/dist/repositories/devices/createDeviceType.d.ts +5 -5
- package/dist/repositories/devices/createImeiIccidCarrier.d.ts +5 -5
- package/dist/repositories/devices/deleteDevice.d.ts +4 -4
- package/dist/repositories/devices/generateDeviceIdentifierKey.d.ts +4 -4
- package/dist/repositories/devices/getCanceledDevicesWithActiveSimCards.d.ts +4 -4
- package/dist/repositories/devices/getCarrierStatusUpdatedBefore.d.ts +4 -4
- package/dist/repositories/devices/getClientDeviceSetting.d.ts +5 -5
- package/dist/repositories/devices/getClientDeviceSettings.d.ts +5 -5
- package/dist/repositories/devices/getDevice.d.ts +5 -5
- package/dist/repositories/devices/getDeviceChangesHistory.d.ts +5 -5
- package/dist/repositories/devices/getDeviceChangesHistoryAssignedToValuesByClient.d.ts +4 -4
- package/dist/repositories/devices/getDeviceCustomConfig.d.ts +5 -5
- package/dist/repositories/devices/getDeviceTypeByImei.d.ts +5 -5
- package/dist/repositories/devices/getDeviceTypes.d.ts +4 -4
- package/dist/repositories/devices/getDeviceTypesModelsOrderedByDeviceCount.d.ts +3 -3
- package/dist/repositories/devices/getDeviceWithUsersInfo.d.ts +4 -4
- package/dist/repositories/devices/getDevices.d.ts +5 -5
- package/dist/repositories/devices/getDevicesCountByStatus.d.ts +4 -4
- package/dist/repositories/devices/getFilteredImeisWithStatus.d.ts +4 -4
- package/dist/repositories/devices/getIccidStatus.d.ts +5 -5
- package/dist/repositories/devices/getImeiIccidCarrier.d.ts +5 -5
- package/dist/repositories/devices/getImeiIccidCarriers.d.ts +5 -5
- package/dist/repositories/devices/getServiceProviderProduct.d.ts +5 -5
- package/dist/repositories/devices/index.d.ts +331 -331
- package/dist/repositories/devices/updateClientDeviceSetting.d.ts +4 -4
- package/dist/repositories/devices/updateDevice.d.ts +4 -4
- package/dist/repositories/devices/updateDeviceType.d.ts +4 -4
- package/dist/repositories/devices/updateIccidStatus.d.ts +4 -4
- package/dist/repositories/devices/updateImeiIccidCarrier.d.ts +4 -4
- package/dist/repositories/devices/upsertDeviceCustomConfig.d.ts +4 -4
- package/dist/repositories/devices/upsertIccidStatus.d.ts +4 -4
- package/dist/repositories/entityTags/bulkCreateEntityTag.d.ts +5 -5
- package/dist/repositories/entityTags/bulkDeleteEntityTag.d.ts +4 -4
- package/dist/repositories/entityTags/createEntityTag.d.ts +5 -5
- package/dist/repositories/entityTags/deleteEntityTag.d.ts +4 -4
- package/dist/repositories/entityTags/deleteEntityTagById.d.ts +3 -3
- package/dist/repositories/entityTags/enforceEntityTagsByEntity.d.ts +4 -4
- package/dist/repositories/entityTags/getEntityTagById.d.ts +5 -5
- package/dist/repositories/entityTags/index.d.ts +48 -48
- package/dist/repositories/entityTags/searchEntityTags.d.ts +4 -4
- package/dist/repositories/features/createFeature.d.ts +5 -5
- package/dist/repositories/features/deleteFeature.d.ts +4 -4
- package/dist/repositories/features/getFeatures.d.ts +4 -4
- package/dist/repositories/features/index.d.ts +33 -33
- package/dist/repositories/features/upsertFeature.d.ts +4 -4
- package/dist/repositories/firmwares/createDeviceFirmware.d.ts +5 -5
- package/dist/repositories/firmwares/createFirmwareAutoUpgradeBlacklist.d.ts +5 -5
- package/dist/repositories/firmwares/createFirmwareUpgradeTask.d.ts +5 -5
- package/dist/repositories/firmwares/getDeviceFirmwares.d.ts +4 -4
- package/dist/repositories/firmwares/getFirmwareAutoUpgradeBlacklist.d.ts +5 -5
- package/dist/repositories/firmwares/getFirmwareUpgradeTasks.d.ts +5 -5
- package/dist/repositories/firmwares/getFirmwareUpgradeTasksCount.d.ts +4 -4
- package/dist/repositories/firmwares/index.d.ts +132 -132
- package/dist/repositories/firmwares/updateDeviceFirmware.d.ts +4 -4
- package/dist/repositories/firmwares/updateFirmwareUpgradeTasks.d.ts +4 -4
- package/dist/repositories/index.d.ts +34 -34
- package/dist/repositories/notificationRecipients/createNotificationRecipient.d.ts +5 -5
- package/dist/repositories/notificationRecipients/deleteNotificationRecipients.d.ts +4 -4
- package/dist/repositories/notificationRecipients/deleteNotificationRecipientsByEmailOrPhone.d.ts +4 -4
- package/dist/repositories/notificationRecipients/getNotificationRecipients.d.ts +5 -5
- package/dist/repositories/notificationRecipients/index.d.ts +83 -83
- package/dist/repositories/notificationRecipients/updateNotificationRecipient.d.ts +4 -4
- package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsubscribedInfoStatus.d.ts +4 -4
- package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsuscribedStatus.d.ts +4 -4
- package/dist/repositories/positions/createPosition.d.ts +6 -6
- package/dist/repositories/positions/getBatteryReportForDevice.d.ts +4 -4
- package/dist/repositories/positions/getLatestPositionByImei.d.ts +5 -5
- package/dist/repositories/positions/getPositionsByImei.d.ts +5 -5
- package/dist/repositories/positions/getPositionsReportByClient.d.ts +4 -4
- package/dist/repositories/positions/index.d.ts +69 -69
- package/dist/repositories/positions/mapping/mapToPositionReport.d.ts +5 -5
- package/dist/repositories/positions/upsertLatestPosition.d.ts +4 -4
- package/dist/repositories/promotions/bulkInsertDeviceTypePromotion.d.ts +5 -5
- package/dist/repositories/promotions/bulkInsertMarketplacePromotion.d.ts +5 -5
- package/dist/repositories/promotions/createPromotion.d.ts +5 -5
- package/dist/repositories/promotions/createPromotionHistory.d.ts +5 -5
- package/dist/repositories/promotions/deleteDeviceTypePromotion.d.ts +4 -4
- package/dist/repositories/promotions/deleteMarketplacePromotion.d.ts +4 -4
- package/dist/repositories/promotions/getDeviceTypePromotion.d.ts +5 -5
- package/dist/repositories/promotions/getMarketplacePromotion.d.ts +5 -5
- package/dist/repositories/promotions/getPromotions.d.ts +5 -5
- package/dist/repositories/promotions/index.d.ts +72 -72
- package/dist/repositories/promotions/promotionValidator.d.ts +3 -3
- package/dist/repositories/promotions/updatePromotion.d.ts +4 -4
- package/dist/repositories/security/bulkCreateUserAuthorizedBoundaries.d.ts +4 -4
- package/dist/repositories/security/bulkCreateUserAuthorizedDevices.d.ts +4 -4
- package/dist/repositories/security/bulkRemoveUserAuthorizedBoundaries.d.ts +4 -4
- package/dist/repositories/security/bulkRemoveUserAuthorizedDevices.d.ts +4 -4
- package/dist/repositories/security/createUserRole.d.ts +5 -5
- package/dist/repositories/security/getAllRoles.d.ts +3 -3
- package/dist/repositories/security/getAuthorizedBoundariesByUserId.d.ts +5 -5
- package/dist/repositories/security/getAuthorizedDevicesByUserId.d.ts +5 -5
- package/dist/repositories/security/getUserIdsByClientIdAndAuthorizedBoundaries.d.ts +4 -4
- package/dist/repositories/security/getUserIdsByClientIdAndAuthorizedDevices.d.ts +4 -4
- package/dist/repositories/security/getUserRoles.d.ts +5 -5
- package/dist/repositories/security/getUserRolesByClientId.d.ts +5 -5
- package/dist/repositories/security/index.d.ts +66 -66
- package/dist/repositories/security/removeUserRoles.d.ts +4 -4
- package/dist/repositories/security/updateUserRole.d.ts +4 -4
- package/dist/repositories/security/userIsAdminOrOwner.d.ts +4 -4
- package/dist/repositories/security/userIsInRole.d.ts +4 -4
- package/dist/repositories/tags/bulkCreateTags.d.ts +5 -5
- package/dist/repositories/tags/createTag.d.ts +5 -5
- package/dist/repositories/tags/deleteTag.d.ts +4 -4
- package/dist/repositories/tags/index.d.ts +41 -41
- package/dist/repositories/tags/searchTags.d.ts +4 -4
- package/dist/repositories/tags/searchTagsByUser.d.ts +4 -4
- package/dist/repositories/tags/updateTag.d.ts +4 -4
- package/dist/repositories/tasks/addTaskScheduleDevices.d.ts +4 -4
- package/dist/repositories/tasks/completeTask.d.ts +4 -4
- package/dist/repositories/tasks/createTask.d.ts +5 -5
- package/dist/repositories/tasks/createTaskSchedule.d.ts +5 -5
- package/dist/repositories/tasks/deleteTask.d.ts +4 -4
- package/dist/repositories/tasks/deleteTaskSchedule.d.ts +4 -4
- package/dist/repositories/tasks/deleteTaskScheduleDevices.d.ts +4 -4
- package/dist/repositories/tasks/getDeviceTasks.d.ts +5 -5
- package/dist/repositories/tasks/getTaskSchedule.d.ts +5 -5
- package/dist/repositories/tasks/getTaskSchedules.d.ts +5 -5
- package/dist/repositories/tasks/getTaskSchedulesCount.d.ts +4 -4
- package/dist/repositories/tasks/getTasks.d.ts +5 -5
- package/dist/repositories/tasks/getTasksCount.d.ts +4 -4
- package/dist/repositories/tasks/index.d.ts +325 -325
- package/dist/repositories/tasks/setTaskAsPastDue.d.ts +4 -4
- package/dist/repositories/tasks/setTaskScheduleDevices.d.ts +4 -4
- package/dist/repositories/tasks/updateTask.d.ts +4 -4
- package/dist/repositories/tasks/updateTaskSchedule.d.ts +4 -4
- package/dist/repositories/userActivations/createUserActivation.d.ts +5 -5
- package/dist/repositories/userActivations/createUserActivationDevice.d.ts +5 -5
- package/dist/repositories/userActivations/createUserActivationEvent.d.ts +5 -5
- package/dist/repositories/userActivations/createUserActivationMetric.d.ts +5 -5
- package/dist/repositories/userActivations/deleteUserActivation.d.ts +4 -4
- package/dist/repositories/userActivations/getLastActivationDevice.d.ts +5 -5
- package/dist/repositories/userActivations/getUserActivationById.d.ts +5 -5
- package/dist/repositories/userActivations/getUserActivationDevices.d.ts +5 -5
- package/dist/repositories/userActivations/getUserActivationDevicesByClientId.d.ts +5 -5
- package/dist/repositories/userActivations/getUserActivationMetrics.d.ts +5 -5
- package/dist/repositories/userActivations/getUserActivations.d.ts +5 -5
- package/dist/repositories/userActivations/index.d.ts +147 -147
- package/dist/repositories/userActivations/updateUserActivationDevice.d.ts +4 -4
- package/dist/repositories/userActivations/updateUserActivationMetrics.d.ts +4 -4
- package/dist/repositories/userAppFeedback/createUserAppFeedback.d.ts +5 -5
- package/dist/repositories/userAppFeedback/index.d.ts +17 -17
- package/dist/repositories/userAppIncidents/getUserAppIncidents.d.ts +5 -5
- package/dist/repositories/userAppIncidents/index.d.ts +50 -50
- package/dist/repositories/userAppIncidents/upsertUserAppIncident.d.ts +4 -4
- package/dist/repositories/userConfigurations/bulkCreateUserAlertConfigurations.d.ts +5 -5
- package/dist/repositories/userConfigurations/createUserAlertConfiguration.d.ts +5 -5
- package/dist/repositories/userConfigurations/createUserConfiguration.d.ts +5 -5
- package/dist/repositories/userConfigurations/deleteUserAlertConfigurations.d.ts +4 -4
- package/dist/repositories/userConfigurations/deleteUserAlertNotificationsConfig.d.ts +4 -4
- package/dist/repositories/userConfigurations/deleteUserConfiguration.d.ts +4 -4
- package/dist/repositories/userConfigurations/getUserAlertConfigurations.d.ts +5 -5
- package/dist/repositories/userConfigurations/getUserAlertNotificationsConfig.d.ts +5 -5
- package/dist/repositories/userConfigurations/getUserConfigurations.d.ts +5 -5
- package/dist/repositories/userConfigurations/index.d.ts +170 -170
- package/dist/repositories/userConfigurations/updateUserAlertConfigurations.d.ts +4 -4
- package/dist/repositories/userConfigurations/updateUserAlertConfigurationsByIds.d.ts +4 -4
- package/dist/repositories/userConfigurations/updateUserConfiguration.d.ts +4 -4
- package/dist/repositories/userConfigurations/upsertUserAlertNotificationsConfig.d.ts +4 -4
- package/dist/repositories/userDataDeletionRequests/createUserDataDeletionRequest.d.ts +5 -5
- package/dist/repositories/userDataDeletionRequests/getUserDataDeletionRequest.d.ts +5 -5
- package/dist/repositories/userDataDeletionRequests/index.d.ts +39 -39
- package/dist/repositories/userDataDeletionRequests/removeUserDataDeletionRequest.d.ts +4 -4
- package/dist/repositories/userDataDeletionRequests/updateUserDataDeletionRequest.d.ts +4 -4
- package/dist/repositories/userInvitations/createUserInvitation.d.ts +5 -5
- package/dist/repositories/userInvitations/getUserInvitationById.d.ts +5 -5
- package/dist/repositories/userInvitations/getUserInvitations.d.ts +5 -5
- package/dist/repositories/userInvitations/index.d.ts +58 -58
- package/dist/repositories/userInvitations/updateUserInvitation.d.ts +4 -4
- package/dist/repositories/userRatingRequests/createUserRatingRequest.d.ts +5 -5
- package/dist/repositories/userRatingRequests/getUserRatingRequests.d.ts +5 -5
- package/dist/repositories/userRatingRequests/index.d.ts +28 -28
- package/dist/repositories/userRegistrationAttempts/createUserRegistrationAttempt.d.ts +5 -5
- package/dist/repositories/userRegistrationAttempts/getUserRegistrationAttempts.d.ts +5 -5
- package/dist/repositories/userRegistrationAttempts/index.d.ts +50 -50
- package/dist/repositories/userRegistrationAttempts/updateUserRegistrationAttempt.d.ts +4 -4
- package/dist/repositories/users/createUser.d.ts +5 -5
- package/dist/repositories/users/deleteAccount.d.ts +4 -4
- package/dist/repositories/users/deleteUser.d.ts +4 -4
- package/dist/repositories/users/deleteUserData.d.ts +4 -4
- package/dist/repositories/users/getUserById.d.ts +5 -5
- package/dist/repositories/users/getUserClientRelatedEntitiesCount.d.ts +4 -4
- package/dist/repositories/users/getUserData.d.ts +4 -4
- package/dist/repositories/users/getUserInfoWithAmazonDevicesInfo.d.ts +4 -4
- package/dist/repositories/users/getUsers.d.ts +5 -5
- package/dist/repositories/users/getUsersConfigurationByImei.d.ts +5 -5
- package/dist/repositories/users/getUsersIdByPhoneAndCountryCode.d.ts +4 -4
- package/dist/repositories/users/getUsersInfoWithDevicesInfo.d.ts +4 -4
- package/dist/repositories/users/getUsersWithRoles.d.ts +4 -4
- package/dist/repositories/users/index.d.ts +154 -154
- package/dist/repositories/users/updateUser.d.ts +4 -4
- package/dist/subscribers/allEntitiesSubscriber.d.ts +13 -13
- package/dist/subscribers/index.d.ts +2 -2
- package/dist/types/acumatica.d.ts +42 -42
- package/dist/types/aempToken.d.ts +20 -20
- package/dist/types/alert.d.ts +87 -87
- package/dist/types/alertTypes.d.ts +6 -6
- package/dist/types/appFeatures.d.ts +24 -24
- package/dist/types/billing.d.ts +308 -308
- package/dist/types/blacklist.d.ts +32 -32
- package/dist/types/bleMesh.d.ts +157 -157
- package/dist/types/bleMeshConfiguration.d.ts +30 -30
- package/dist/types/boundaries.d.ts +125 -125
- package/dist/types/clientAlertConfiguration.d.ts +103 -103
- package/dist/types/clients.d.ts +140 -140
- package/dist/types/common.d.ts +23 -23
- package/dist/types/countries.d.ts +12 -12
- package/dist/types/dataExports.d.ts +43 -43
- package/dist/types/deactivations.d.ts +25 -25
- package/dist/types/deviceBehaviors.d.ts +97 -97
- package/dist/types/devicePairings.d.ts +56 -56
- package/dist/types/deviceStatus.d.ts +86 -86
- package/dist/types/deviceTypeFeature.d.ts +23 -23
- package/dist/types/devices.d.ts +419 -419
- package/dist/types/entitiesTags.d.ts +67 -67
- package/dist/types/enums.d.ts +244 -224
- package/dist/types/feature.d.ts +20 -20
- package/dist/types/firmwares.d.ts +132 -132
- package/dist/types/index.d.ts +39 -39
- package/dist/types/latestUserAppInfo.d.ts +12 -12
- package/dist/types/liveLinks.d.ts +92 -92
- package/dist/types/logger.d.ts +68 -68
- package/dist/types/notificationRecipients.d.ts +72 -72
- package/dist/types/position.d.ts +72 -72
- package/dist/types/promotion.d.ts +121 -121
- package/dist/types/security.d.ts +100 -100
- package/dist/types/tag.d.ts +65 -65
- package/dist/types/tasks.d.ts +228 -228
- package/dist/types/trip.d.ts +98 -98
- package/dist/types/user.d.ts +256 -256
- package/dist/types/userActivations.d.ts +143 -143
- package/dist/types/userAppFeedback.d.ts +8 -8
- package/dist/types/userAppIncidents.d.ts +35 -35
- package/dist/types/userConfigurations.d.ts +127 -127
- package/dist/types/userDataDeletionRequests.d.ts +29 -29
- package/dist/types/userInvitations.d.ts +48 -48
- package/dist/types/userRatingRequests.d.ts +18 -18
- package/dist/types/userRegistrationAttempts.d.ts +36 -36
- package/dist/utils/anyAttributeHasValue.d.ts +1 -1
- package/dist/utils/billingPlansHelper.d.ts +3 -3
- package/dist/utils/boolToNumberTransformer.d.ts +5 -5
- package/dist/utils/commaSeparatedTransformer.d.ts +9 -9
- package/dist/utils/consoleLogger.d.ts +10 -10
- package/dist/utils/createBatchesWithMapping.d.ts +1 -1
- package/dist/utils/dateTool.d.ts +2 -2
- package/dist/utils/dayjs/utc.d.ts +2 -2
- package/dist/utils/filterTools.d.ts +12 -12
- package/dist/utils/mapRawEntityToEntity.d.ts +1 -1
- package/dist/utils/paramsValidators.d.ts +3 -3
- package/dist/utils/parsingTools.d.ts +3 -3
- package/dist/utils/queryLogger.d.ts +15 -15
- package/dist/utils/randomizer.d.ts +5 -5
- package/dist/utils/stringToDateTransformer.d.ts +5 -5
- package/dist/utils/uuidHelpers.d.ts +4 -4
- package/dist/utils/uuidTransformer.d.ts +5 -5
- package/package.json +1 -1
|
@@ -1,132 +1,132 @@
|
|
|
1
|
-
import { DeviceTypeFirmware, FirmwareAutoUpgradeBlacklist, FirmwareUpgradeTask } from '../../entities';
|
|
2
|
-
import { CreateDeviceFirmwareParams, CreateFirmwareAutoUpgradeBlacklistParams, CreateFirmwareUpgradeTaskParams, GetDeviceFirmwaresParams, GetFirmwareAutoUpgradeBlacklistParams, GetFirmwareUpgradeTasksCountParams, GetFirmwareUpgradeTasksParams, UpdateDeviceFirmwareParams, UpdateFirmwareUpgradeTaskParams } from '../../types/firmwares';
|
|
3
|
-
import { BaseRepository } from '../baseRepository';
|
|
4
|
-
export declare class FirmwaresRepository extends BaseRepository {
|
|
5
|
-
/**
|
|
6
|
-
* Get all devices firmwares.
|
|
7
|
-
* @param {GetDeviceFirmwaresParams} params containing information to get a device with filters.
|
|
8
|
-
* If no params or filter is specified, all devices firmwares will be returned.
|
|
9
|
-
* - filters.deviceTypeId: The device type id of the device
|
|
10
|
-
* - projectionOptions.withDeviceType: Whether to get the device type object
|
|
11
|
-
* @returns A list of devices firmwares.
|
|
12
|
-
*/
|
|
13
|
-
getDeviceFirmwares(params?: GetDeviceFirmwaresParams): Promise<DeviceTypeFirmware[]>;
|
|
14
|
-
/**
|
|
15
|
-
* Create a new device firmware.
|
|
16
|
-
* @param {CreateDeviceFirmwareParams} params containing information to create a devicetype firmware.
|
|
17
|
-
* - deviceTypeId: The device type id
|
|
18
|
-
* - description: The description of the firmware version
|
|
19
|
-
* - enabled: Whether the firmware version is enabled or not
|
|
20
|
-
* - firmwareCode: The firmware version code
|
|
21
|
-
* - firmwareVersion: The firmware version after the firmware version is upgraded
|
|
22
|
-
* - firmwareUrl: The url to download the firmware
|
|
23
|
-
* - releaseDate: The date when the firmware version is released
|
|
24
|
-
* - sourceFirmwareVersion: The source firmware version that needs to match to apply this new firmware version. It can be null, if not precise version is needed.
|
|
25
|
-
* - upgradeType: The upgrade type depending on the module type
|
|
26
|
-
* - 0: BB
|
|
27
|
-
* - 1: MCU
|
|
28
|
-
* - 2: BLE
|
|
29
|
-
* - 7: MODEM
|
|
30
|
-
* @returns The newly created entity.
|
|
31
|
-
*/
|
|
32
|
-
createDeviceFirmware(params: CreateDeviceFirmwareParams): Promise<DeviceTypeFirmware>;
|
|
33
|
-
/**
|
|
34
|
-
* Create a new firmware upgrade task.
|
|
35
|
-
* @param {CreateFirmwareUpgradeTaskParams} params containing information to create a firmware upgrade task.
|
|
36
|
-
* - id: The firmware upgrade task id
|
|
37
|
-
* - deviceTypeFirmwareId: The device type firmware id
|
|
38
|
-
* - clientId: The client id
|
|
39
|
-
* - deviceId: The device id. If deviceId is provided imei is not needed.
|
|
40
|
-
* - imei: The imei of the device. If imei is provided deviceId is not needed.
|
|
41
|
-
* - status: The status of the firmware upgrade task
|
|
42
|
-
* - behaviorName: The behavior name
|
|
43
|
-
* - behaviorParams: The behavior params
|
|
44
|
-
* - createdAt: The date when the firmware upgrade task is created
|
|
45
|
-
* - modifiedAt: The date when the firmware upgrade task is modified
|
|
46
|
-
* - preConfig: The pre config of the device before sending the upgrade command
|
|
47
|
-
* - postConfig: The post config of the device after sending the upgrade command
|
|
48
|
-
* @returns The newly created entity.
|
|
49
|
-
*/
|
|
50
|
-
createFirmwareUpgradeTask(params: CreateFirmwareUpgradeTaskParams): Promise<FirmwareUpgradeTask>;
|
|
51
|
-
/**
|
|
52
|
-
* Get firmware upgrade tasks based on the filters.
|
|
53
|
-
* @param {GetFirmwareUpgradeTasksParams} params containing information to get a firmware upgrade task with filters.
|
|
54
|
-
* At least one filter must be specified.
|
|
55
|
-
* - filters.deviceId: The device id
|
|
56
|
-
* - filters.firmwareId: The firmware id
|
|
57
|
-
* - filters.taskId: The task id
|
|
58
|
-
* - filters.statuses: The list of statuses to filter
|
|
59
|
-
* - filters.imeis: The list of imeis to filter
|
|
60
|
-
* - filters.startDate: The start date to filter tasks based on modifiedAt column
|
|
61
|
-
* - filters.endDate: The end date to filter tasks based on modifiedAt column
|
|
62
|
-
* - projectionOptions.withDeviceFirmware: Whether to get the device firmware object
|
|
63
|
-
* - projectionOptions.withDevice: Whether to get the device object
|
|
64
|
-
* - projectionOptions.deviceWithDeviceType: Whether to get the device type object of the device. projectionOptions.withDevice should be true to use this option.
|
|
65
|
-
* - pagingOptions.offset: The offset of the number of firmware upgrade tasks to get. By default 0.
|
|
66
|
-
* - pagingOptions.limit: The limit of the number of firmware upgrade tasks to get. By default 100.
|
|
67
|
-
* @returns {FirmwareUpgradeTask[]} A list of firmware upgrade tasks.
|
|
68
|
-
*/
|
|
69
|
-
getFirmwareUpgradeTasks(params: GetFirmwareUpgradeTasksParams): Promise<FirmwareUpgradeTask[]>;
|
|
70
|
-
/**
|
|
71
|
-
* Get firmware upgrade tasks count based on the filters.
|
|
72
|
-
* @param {GetFirmwareUpgradeTasksCountParams} params containing information to get the firmware upgrade task count with filters.
|
|
73
|
-
* At least one filter must be specified.
|
|
74
|
-
* - filters.deviceId: The device id
|
|
75
|
-
* - filters.firmwareId: The firmware id
|
|
76
|
-
* - filters.taskId: The task id
|
|
77
|
-
* - filters.statuses: The list of statuses to filter
|
|
78
|
-
* - filters.imeis: The list of imeis to filter
|
|
79
|
-
* @returns {number} The count of firmware upgrade tasks.
|
|
80
|
-
*/
|
|
81
|
-
getFirmwareUpgradeTasksCount(params: GetFirmwareUpgradeTasksCountParams): Promise<number>;
|
|
82
|
-
/**
|
|
83
|
-
* Partially update firmware upgrade tasks based.
|
|
84
|
-
* @param {UpdateFirmwareUpgradeTaskParams} params containing information to update a firmware upgrade task.
|
|
85
|
-
* - id: The firmware upgrade task id
|
|
86
|
-
* - behaviorName: The behavior name
|
|
87
|
-
* - behaviorParams: The behavior params
|
|
88
|
-
* - status: The status of the firmware upgrade task
|
|
89
|
-
* - preConfig: The pre config of the device before sending the upgrade command
|
|
90
|
-
* - postConfig: The post config of the device after sending the upgrade command
|
|
91
|
-
* - postUpgradeCompleted: Whether the post upgrade completed or not
|
|
92
|
-
* @returns {boolea} Whether the firmware upgrade task is updated or not.
|
|
93
|
-
*/
|
|
94
|
-
updateFirmwareUpgradeTasks(params: UpdateFirmwareUpgradeTaskParams): Promise<boolean>;
|
|
95
|
-
/**
|
|
96
|
-
* Update a device firmware.
|
|
97
|
-
* @param {UpdateDeviceFirmwareParams} params containing information to update a devicetype firmware.
|
|
98
|
-
* - id: The device type firmware id
|
|
99
|
-
- deviceTypeId: The device type id
|
|
100
|
-
* - description: The description of the firmware version
|
|
101
|
-
* - enabled: Whether the firmware version is enabled or not
|
|
102
|
-
* - firmwareCode: The firmware version code
|
|
103
|
-
* - firmwareVersion: The firmware version after the firmware version is upgraded
|
|
104
|
-
* - firmwareUrl: The url to download the firmware
|
|
105
|
-
* - releaseDate: The date when the firmware version is released
|
|
106
|
-
* - sourceFirmwareVersion: The source firmware version that needs to match to apply this new firmware version. It can be null, if not precise version is needed.
|
|
107
|
-
* - upgradeType: The upgrade type depending on the module type
|
|
108
|
-
* - 0: BB
|
|
109
|
-
* - 1: MCU
|
|
110
|
-
* - 2: BLE
|
|
111
|
-
* - 7: MODEM
|
|
112
|
-
* @returns {boolean} Whether the device firmware is updated or not.
|
|
113
|
-
*/
|
|
114
|
-
updateDeviceFirmware(params: UpdateDeviceFirmwareParams): Promise<boolean>;
|
|
115
|
-
/**
|
|
116
|
-
* Create a new firmware auto upgrade blacklist.
|
|
117
|
-
* @param params containing information to create a firmware auto upgrade blacklist.
|
|
118
|
-
* - clientId: The client id
|
|
119
|
-
* - deviceTypeId: The device type id
|
|
120
|
-
* @returns The newly created entity.
|
|
121
|
-
*/
|
|
122
|
-
createFirmwareAutoUpgradeBlacklist(params: CreateFirmwareAutoUpgradeBlacklistParams): Promise<FirmwareAutoUpgradeBlacklist>;
|
|
123
|
-
/**
|
|
124
|
-
* Get firmware auto upgrade blacklist based on the filters.
|
|
125
|
-
* @param params containing information to get a firmware auto upgrade blacklist with filters.
|
|
126
|
-
* - filters.clientId: The client id. It's required
|
|
127
|
-
* - pagingOptions.limit: The limit of the number of firmware auto upgrade blacklist to get. By default 100.
|
|
128
|
-
* - pagingOptions.offset: The offset of the number of firmware auto upgrade blacklist to get. By default 0.
|
|
129
|
-
* @returns A list of firmware auto upgrade blacklist.
|
|
130
|
-
*/
|
|
131
|
-
getFirmwareAutoUpgradeBlacklist(params: GetFirmwareAutoUpgradeBlacklistParams): Promise<FirmwareAutoUpgradeBlacklist[]>;
|
|
132
|
-
}
|
|
1
|
+
import { DeviceTypeFirmware, FirmwareAutoUpgradeBlacklist, FirmwareUpgradeTask } from '../../entities';
|
|
2
|
+
import { CreateDeviceFirmwareParams, CreateFirmwareAutoUpgradeBlacklistParams, CreateFirmwareUpgradeTaskParams, GetDeviceFirmwaresParams, GetFirmwareAutoUpgradeBlacklistParams, GetFirmwareUpgradeTasksCountParams, GetFirmwareUpgradeTasksParams, UpdateDeviceFirmwareParams, UpdateFirmwareUpgradeTaskParams } from '../../types/firmwares';
|
|
3
|
+
import { BaseRepository } from '../baseRepository';
|
|
4
|
+
export declare class FirmwaresRepository extends BaseRepository {
|
|
5
|
+
/**
|
|
6
|
+
* Get all devices firmwares.
|
|
7
|
+
* @param {GetDeviceFirmwaresParams} params containing information to get a device with filters.
|
|
8
|
+
* If no params or filter is specified, all devices firmwares will be returned.
|
|
9
|
+
* - filters.deviceTypeId: The device type id of the device
|
|
10
|
+
* - projectionOptions.withDeviceType: Whether to get the device type object
|
|
11
|
+
* @returns A list of devices firmwares.
|
|
12
|
+
*/
|
|
13
|
+
getDeviceFirmwares(params?: GetDeviceFirmwaresParams): Promise<DeviceTypeFirmware[]>;
|
|
14
|
+
/**
|
|
15
|
+
* Create a new device firmware.
|
|
16
|
+
* @param {CreateDeviceFirmwareParams} params containing information to create a devicetype firmware.
|
|
17
|
+
* - deviceTypeId: The device type id
|
|
18
|
+
* - description: The description of the firmware version
|
|
19
|
+
* - enabled: Whether the firmware version is enabled or not
|
|
20
|
+
* - firmwareCode: The firmware version code
|
|
21
|
+
* - firmwareVersion: The firmware version after the firmware version is upgraded
|
|
22
|
+
* - firmwareUrl: The url to download the firmware
|
|
23
|
+
* - releaseDate: The date when the firmware version is released
|
|
24
|
+
* - sourceFirmwareVersion: The source firmware version that needs to match to apply this new firmware version. It can be null, if not precise version is needed.
|
|
25
|
+
* - upgradeType: The upgrade type depending on the module type
|
|
26
|
+
* - 0: BB
|
|
27
|
+
* - 1: MCU
|
|
28
|
+
* - 2: BLE
|
|
29
|
+
* - 7: MODEM
|
|
30
|
+
* @returns The newly created entity.
|
|
31
|
+
*/
|
|
32
|
+
createDeviceFirmware(params: CreateDeviceFirmwareParams): Promise<DeviceTypeFirmware>;
|
|
33
|
+
/**
|
|
34
|
+
* Create a new firmware upgrade task.
|
|
35
|
+
* @param {CreateFirmwareUpgradeTaskParams} params containing information to create a firmware upgrade task.
|
|
36
|
+
* - id: The firmware upgrade task id
|
|
37
|
+
* - deviceTypeFirmwareId: The device type firmware id
|
|
38
|
+
* - clientId: The client id
|
|
39
|
+
* - deviceId: The device id. If deviceId is provided imei is not needed.
|
|
40
|
+
* - imei: The imei of the device. If imei is provided deviceId is not needed.
|
|
41
|
+
* - status: The status of the firmware upgrade task
|
|
42
|
+
* - behaviorName: The behavior name
|
|
43
|
+
* - behaviorParams: The behavior params
|
|
44
|
+
* - createdAt: The date when the firmware upgrade task is created
|
|
45
|
+
* - modifiedAt: The date when the firmware upgrade task is modified
|
|
46
|
+
* - preConfig: The pre config of the device before sending the upgrade command
|
|
47
|
+
* - postConfig: The post config of the device after sending the upgrade command
|
|
48
|
+
* @returns The newly created entity.
|
|
49
|
+
*/
|
|
50
|
+
createFirmwareUpgradeTask(params: CreateFirmwareUpgradeTaskParams): Promise<FirmwareUpgradeTask>;
|
|
51
|
+
/**
|
|
52
|
+
* Get firmware upgrade tasks based on the filters.
|
|
53
|
+
* @param {GetFirmwareUpgradeTasksParams} params containing information to get a firmware upgrade task with filters.
|
|
54
|
+
* At least one filter must be specified.
|
|
55
|
+
* - filters.deviceId: The device id
|
|
56
|
+
* - filters.firmwareId: The firmware id
|
|
57
|
+
* - filters.taskId: The task id
|
|
58
|
+
* - filters.statuses: The list of statuses to filter
|
|
59
|
+
* - filters.imeis: The list of imeis to filter
|
|
60
|
+
* - filters.startDate: The start date to filter tasks based on modifiedAt column
|
|
61
|
+
* - filters.endDate: The end date to filter tasks based on modifiedAt column
|
|
62
|
+
* - projectionOptions.withDeviceFirmware: Whether to get the device firmware object
|
|
63
|
+
* - projectionOptions.withDevice: Whether to get the device object
|
|
64
|
+
* - projectionOptions.deviceWithDeviceType: Whether to get the device type object of the device. projectionOptions.withDevice should be true to use this option.
|
|
65
|
+
* - pagingOptions.offset: The offset of the number of firmware upgrade tasks to get. By default 0.
|
|
66
|
+
* - pagingOptions.limit: The limit of the number of firmware upgrade tasks to get. By default 100.
|
|
67
|
+
* @returns {FirmwareUpgradeTask[]} A list of firmware upgrade tasks.
|
|
68
|
+
*/
|
|
69
|
+
getFirmwareUpgradeTasks(params: GetFirmwareUpgradeTasksParams): Promise<FirmwareUpgradeTask[]>;
|
|
70
|
+
/**
|
|
71
|
+
* Get firmware upgrade tasks count based on the filters.
|
|
72
|
+
* @param {GetFirmwareUpgradeTasksCountParams} params containing information to get the firmware upgrade task count with filters.
|
|
73
|
+
* At least one filter must be specified.
|
|
74
|
+
* - filters.deviceId: The device id
|
|
75
|
+
* - filters.firmwareId: The firmware id
|
|
76
|
+
* - filters.taskId: The task id
|
|
77
|
+
* - filters.statuses: The list of statuses to filter
|
|
78
|
+
* - filters.imeis: The list of imeis to filter
|
|
79
|
+
* @returns {number} The count of firmware upgrade tasks.
|
|
80
|
+
*/
|
|
81
|
+
getFirmwareUpgradeTasksCount(params: GetFirmwareUpgradeTasksCountParams): Promise<number>;
|
|
82
|
+
/**
|
|
83
|
+
* Partially update firmware upgrade tasks based.
|
|
84
|
+
* @param {UpdateFirmwareUpgradeTaskParams} params containing information to update a firmware upgrade task.
|
|
85
|
+
* - id: The firmware upgrade task id
|
|
86
|
+
* - behaviorName: The behavior name
|
|
87
|
+
* - behaviorParams: The behavior params
|
|
88
|
+
* - status: The status of the firmware upgrade task
|
|
89
|
+
* - preConfig: The pre config of the device before sending the upgrade command
|
|
90
|
+
* - postConfig: The post config of the device after sending the upgrade command
|
|
91
|
+
* - postUpgradeCompleted: Whether the post upgrade completed or not
|
|
92
|
+
* @returns {boolea} Whether the firmware upgrade task is updated or not.
|
|
93
|
+
*/
|
|
94
|
+
updateFirmwareUpgradeTasks(params: UpdateFirmwareUpgradeTaskParams): Promise<boolean>;
|
|
95
|
+
/**
|
|
96
|
+
* Update a device firmware.
|
|
97
|
+
* @param {UpdateDeviceFirmwareParams} params containing information to update a devicetype firmware.
|
|
98
|
+
* - id: The device type firmware id
|
|
99
|
+
- deviceTypeId: The device type id
|
|
100
|
+
* - description: The description of the firmware version
|
|
101
|
+
* - enabled: Whether the firmware version is enabled or not
|
|
102
|
+
* - firmwareCode: The firmware version code
|
|
103
|
+
* - firmwareVersion: The firmware version after the firmware version is upgraded
|
|
104
|
+
* - firmwareUrl: The url to download the firmware
|
|
105
|
+
* - releaseDate: The date when the firmware version is released
|
|
106
|
+
* - sourceFirmwareVersion: The source firmware version that needs to match to apply this new firmware version. It can be null, if not precise version is needed.
|
|
107
|
+
* - upgradeType: The upgrade type depending on the module type
|
|
108
|
+
* - 0: BB
|
|
109
|
+
* - 1: MCU
|
|
110
|
+
* - 2: BLE
|
|
111
|
+
* - 7: MODEM
|
|
112
|
+
* @returns {boolean} Whether the device firmware is updated or not.
|
|
113
|
+
*/
|
|
114
|
+
updateDeviceFirmware(params: UpdateDeviceFirmwareParams): Promise<boolean>;
|
|
115
|
+
/**
|
|
116
|
+
* Create a new firmware auto upgrade blacklist.
|
|
117
|
+
* @param params containing information to create a firmware auto upgrade blacklist.
|
|
118
|
+
* - clientId: The client id
|
|
119
|
+
* - deviceTypeId: The device type id
|
|
120
|
+
* @returns The newly created entity.
|
|
121
|
+
*/
|
|
122
|
+
createFirmwareAutoUpgradeBlacklist(params: CreateFirmwareAutoUpgradeBlacklistParams): Promise<FirmwareAutoUpgradeBlacklist>;
|
|
123
|
+
/**
|
|
124
|
+
* Get firmware auto upgrade blacklist based on the filters.
|
|
125
|
+
* @param params containing information to get a firmware auto upgrade blacklist with filters.
|
|
126
|
+
* - filters.clientId: The client id. It's required
|
|
127
|
+
* - pagingOptions.limit: The limit of the number of firmware auto upgrade blacklist to get. By default 100.
|
|
128
|
+
* - pagingOptions.offset: The offset of the number of firmware auto upgrade blacklist to get. By default 0.
|
|
129
|
+
* @returns A list of firmware auto upgrade blacklist.
|
|
130
|
+
*/
|
|
131
|
+
getFirmwareAutoUpgradeBlacklist(params: GetFirmwareAutoUpgradeBlacklistParams): Promise<FirmwareAutoUpgradeBlacklist[]>;
|
|
132
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { UpdateDeviceFirmwareParams } from '../../types/firmwares';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const updateDeviceFirmware: (novaDataSource: NovaDataSource, params: UpdateDeviceFirmwareParams, logger: Logger) => Promise<boolean>;
|
|
1
|
+
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
+
import { UpdateDeviceFirmwareParams } from '../../types/firmwares';
|
|
3
|
+
import { Logger } from '../../types/logger';
|
|
4
|
+
export declare const updateDeviceFirmware: (novaDataSource: NovaDataSource, params: UpdateDeviceFirmwareParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { UpdateFirmwareUpgradeTaskParams } from '../../types/firmwares';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const updateFirmwareUpgradeTasks: (novaDataSource: NovaDataSource, params: UpdateFirmwareUpgradeTaskParams, logger: Logger) => Promise<boolean>;
|
|
1
|
+
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
+
import { UpdateFirmwareUpgradeTaskParams } from '../../types/firmwares';
|
|
3
|
+
import { Logger } from '../../types/logger';
|
|
4
|
+
export declare const updateFirmwareUpgradeTasks: (novaDataSource: NovaDataSource, params: UpdateFirmwareUpgradeTaskParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { AcumaticaRepository } from './acumatica';
|
|
2
|
-
import { AempTokenRepository } from './aempToken';
|
|
3
|
-
import { AppFeaturesRepository } from './appFeatures';
|
|
4
|
-
import { BillingRepository } from './billing';
|
|
5
|
-
import { BlacklistRepository } from './blacklist';
|
|
6
|
-
import { BoundariesRepository } from './boundaries';
|
|
7
|
-
import { ClientAlertConfigurationRepository } from './clientAlertConfiguration';
|
|
8
|
-
import { ClientsRepository } from './clients';
|
|
9
|
-
import { CountriesRepository } from './countries';
|
|
10
|
-
import { DeactivationsRepository } from './deactivations';
|
|
11
|
-
import { DeviceBehaviorsRepository } from './deviceBehaviors';
|
|
12
|
-
import { DevicePairingsRepository } from './devicePairings';
|
|
13
|
-
import { DevicesRepository } from './devices';
|
|
14
|
-
import { DeviceStatusRepository } from './deviceStatus';
|
|
15
|
-
import { DeviceTypeFeatureRepository } from './deviceTypeFeature';
|
|
16
|
-
import { EntityTagsRepository } from './entityTags';
|
|
17
|
-
import { FeatureRepository } from './features';
|
|
18
|
-
import { FirmwaresRepository } from './firmwares';
|
|
19
|
-
import { NotificationRecipientsRepository } from './notificationRecipients';
|
|
20
|
-
import { PositionRepository } from './positions';
|
|
21
|
-
import { PromotionRepository } from './promotions';
|
|
22
|
-
import { SecurityRepository } from './security';
|
|
23
|
-
import { TagsRepository } from './tags';
|
|
24
|
-
import { TasksRepository } from './tasks';
|
|
25
|
-
import { UserActivationsRepository } from './userActivations';
|
|
26
|
-
import { UserAppFeedbackRepository } from './userAppFeedback';
|
|
27
|
-
import { UserAppIncidentsRepository } from './userAppIncidents';
|
|
28
|
-
import { UserConfigurationsRepository } from './userConfigurations';
|
|
29
|
-
import { UserDataDeletionRequestsRepository } from './userDataDeletionRequests';
|
|
30
|
-
import { UserInvitationsRepository } from './userInvitations';
|
|
31
|
-
import { UserRatingRequestsRepository } from './userRatingRequests';
|
|
32
|
-
import { UserRegistrationAttemptsRepository } from './userRegistrationAttempts';
|
|
33
|
-
import { UsersRepository } from './users';
|
|
34
|
-
export { AcumaticaRepository, AempTokenRepository, AppFeaturesRepository, BillingRepository, BlacklistRepository, BoundariesRepository, ClientAlertConfigurationRepository, ClientsRepository, CountriesRepository, DeactivationsRepository, DeviceBehaviorsRepository, DevicePairingsRepository, DevicesRepository, DeviceStatusRepository, DeviceTypeFeatureRepository, EntityTagsRepository, FeatureRepository, FirmwaresRepository, NotificationRecipientsRepository, PositionRepository, PromotionRepository, SecurityRepository, TagsRepository, TasksRepository, UserActivationsRepository, UserAppFeedbackRepository, UserAppIncidentsRepository, UserConfigurationsRepository, UserDataDeletionRequestsRepository, UserInvitationsRepository, UserRatingRequestsRepository, UserRegistrationAttemptsRepository, UsersRepository, };
|
|
1
|
+
import { AcumaticaRepository } from './acumatica';
|
|
2
|
+
import { AempTokenRepository } from './aempToken';
|
|
3
|
+
import { AppFeaturesRepository } from './appFeatures';
|
|
4
|
+
import { BillingRepository } from './billing';
|
|
5
|
+
import { BlacklistRepository } from './blacklist';
|
|
6
|
+
import { BoundariesRepository } from './boundaries';
|
|
7
|
+
import { ClientAlertConfigurationRepository } from './clientAlertConfiguration';
|
|
8
|
+
import { ClientsRepository } from './clients';
|
|
9
|
+
import { CountriesRepository } from './countries';
|
|
10
|
+
import { DeactivationsRepository } from './deactivations';
|
|
11
|
+
import { DeviceBehaviorsRepository } from './deviceBehaviors';
|
|
12
|
+
import { DevicePairingsRepository } from './devicePairings';
|
|
13
|
+
import { DevicesRepository } from './devices';
|
|
14
|
+
import { DeviceStatusRepository } from './deviceStatus';
|
|
15
|
+
import { DeviceTypeFeatureRepository } from './deviceTypeFeature';
|
|
16
|
+
import { EntityTagsRepository } from './entityTags';
|
|
17
|
+
import { FeatureRepository } from './features';
|
|
18
|
+
import { FirmwaresRepository } from './firmwares';
|
|
19
|
+
import { NotificationRecipientsRepository } from './notificationRecipients';
|
|
20
|
+
import { PositionRepository } from './positions';
|
|
21
|
+
import { PromotionRepository } from './promotions';
|
|
22
|
+
import { SecurityRepository } from './security';
|
|
23
|
+
import { TagsRepository } from './tags';
|
|
24
|
+
import { TasksRepository } from './tasks';
|
|
25
|
+
import { UserActivationsRepository } from './userActivations';
|
|
26
|
+
import { UserAppFeedbackRepository } from './userAppFeedback';
|
|
27
|
+
import { UserAppIncidentsRepository } from './userAppIncidents';
|
|
28
|
+
import { UserConfigurationsRepository } from './userConfigurations';
|
|
29
|
+
import { UserDataDeletionRequestsRepository } from './userDataDeletionRequests';
|
|
30
|
+
import { UserInvitationsRepository } from './userInvitations';
|
|
31
|
+
import { UserRatingRequestsRepository } from './userRatingRequests';
|
|
32
|
+
import { UserRegistrationAttemptsRepository } from './userRegistrationAttempts';
|
|
33
|
+
import { UsersRepository } from './users';
|
|
34
|
+
export { AcumaticaRepository, AempTokenRepository, AppFeaturesRepository, BillingRepository, BlacklistRepository, BoundariesRepository, ClientAlertConfigurationRepository, ClientsRepository, CountriesRepository, DeactivationsRepository, DeviceBehaviorsRepository, DevicePairingsRepository, DevicesRepository, DeviceStatusRepository, DeviceTypeFeatureRepository, EntityTagsRepository, FeatureRepository, FirmwaresRepository, NotificationRecipientsRepository, PositionRepository, PromotionRepository, SecurityRepository, TagsRepository, TasksRepository, UserActivationsRepository, UserAppFeedbackRepository, UserAppIncidentsRepository, UserConfigurationsRepository, UserDataDeletionRequestsRepository, UserInvitationsRepository, UserRatingRequestsRepository, UserRegistrationAttemptsRepository, UsersRepository, };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NotificationRecipient } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
import { CreateNotificationRecipientParams } from '../../types/notificationRecipients';
|
|
5
|
-
export declare const createNotificationRecipient: (novaDataSource: NovaDataSource, params: CreateNotificationRecipientParams, logger: Logger) => Promise<NotificationRecipient>;
|
|
1
|
+
import { NotificationRecipient } from '../../entities';
|
|
2
|
+
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
+
import { Logger } from '../../types/logger';
|
|
4
|
+
import { CreateNotificationRecipientParams } from '../../types/notificationRecipients';
|
|
5
|
+
export declare const createNotificationRecipient: (novaDataSource: NovaDataSource, params: CreateNotificationRecipientParams, logger: Logger) => Promise<NotificationRecipient>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { Logger } from '../../types/logger';
|
|
3
|
-
import { DeleteNotificationRecipientsParams } from '../../types/notificationRecipients';
|
|
4
|
-
export declare const deleteNotificationRecipients: (novaDataSource: NovaDataSource, params: DeleteNotificationRecipientsParams, logger: Logger) => Promise<boolean>;
|
|
1
|
+
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
+
import { Logger } from '../../types/logger';
|
|
3
|
+
import { DeleteNotificationRecipientsParams } from '../../types/notificationRecipients';
|
|
4
|
+
export declare const deleteNotificationRecipients: (novaDataSource: NovaDataSource, params: DeleteNotificationRecipientsParams, logger: Logger) => Promise<boolean>;
|
package/dist/repositories/notificationRecipients/deleteNotificationRecipientsByEmailOrPhone.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { Logger } from '../../types/logger';
|
|
3
|
-
import { DeleteNotificationRecipientsByEmailOrPhoneParams } from '../../types/notificationRecipients';
|
|
4
|
-
export declare const deleteNotificationRecipientsByEmailOrPhone: (novaDataSource: NovaDataSource, params: DeleteNotificationRecipientsByEmailOrPhoneParams, logger: Logger) => Promise<boolean>;
|
|
1
|
+
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
+
import { Logger } from '../../types/logger';
|
|
3
|
+
import { DeleteNotificationRecipientsByEmailOrPhoneParams } from '../../types/notificationRecipients';
|
|
4
|
+
export declare const deleteNotificationRecipientsByEmailOrPhone: (novaDataSource: NovaDataSource, params: DeleteNotificationRecipientsByEmailOrPhoneParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NotificationRecipient } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
import { GetNotificationRecipientsParams } from '../../types/notificationRecipients';
|
|
5
|
-
export declare const getNotificationRecipients: (novaDataSource: NovaDataSource, params: GetNotificationRecipientsParams, logger: Logger) => Promise<NotificationRecipient[]>;
|
|
1
|
+
import { NotificationRecipient } from '../../entities';
|
|
2
|
+
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
+
import { Logger } from '../../types/logger';
|
|
4
|
+
import { GetNotificationRecipientsParams } from '../../types/notificationRecipients';
|
|
5
|
+
export declare const getNotificationRecipients: (novaDataSource: NovaDataSource, params: GetNotificationRecipientsParams, logger: Logger) => Promise<NotificationRecipient[]>;
|
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
import { NotificationRecipient } from '../../entities';
|
|
2
|
-
import { CreateNotificationRecipientParams, DeleteNotificationRecipientsByEmailOrPhoneParams, DeleteNotificationRecipientsParams, GetNotificationRecipientsParams, UpdateNotificationRecipientParams, UpdateUsersNotificationsUnsubscribedInfoStatusParams, UpdateUsersNotificationsUnsuscribedStatusParams } from '../../types/notificationRecipients';
|
|
3
|
-
import { BaseRepository } from '../baseRepository';
|
|
4
|
-
export declare class NotificationRecipientsRepository extends BaseRepository {
|
|
5
|
-
/**
|
|
6
|
-
* Create notification recipient
|
|
7
|
-
* @param {CreateNotificationRecipientParams} params containing information to create a notification recipient
|
|
8
|
-
* - params.id: The notification recipient id, optional. If not provided, a new id will be generated
|
|
9
|
-
* - params.clientId: The client id
|
|
10
|
-
* - params.userId: The user id
|
|
11
|
-
* - params.notificationType: The notification type
|
|
12
|
-
* - params.recipient: The recipient
|
|
13
|
-
* - params.isEnabled: The is enabled flag
|
|
14
|
-
* - params.isUserProfile: The is user profile flag
|
|
15
|
-
* - params.unsubscribed: The unsubscribed flag
|
|
16
|
-
* - params.dataSourceTypeId: The data source type id, optional
|
|
17
|
-
* @returns The notification recipient information
|
|
18
|
-
*/
|
|
19
|
-
createNotificationRecipient(params: CreateNotificationRecipientParams): Promise<NotificationRecipient>;
|
|
20
|
-
/**
|
|
21
|
-
* Get notification recipients with filters
|
|
22
|
-
* @param {GetNotificationRecipientsParams} params containing information to get notification recipients with filters
|
|
23
|
-
* - filters.clientId: The client id to obtain all notification recipients from that client
|
|
24
|
-
* @returns The notification recipients information
|
|
25
|
-
*/
|
|
26
|
-
getNotificationRecipients(params: GetNotificationRecipientsParams): Promise<NotificationRecipient[]>;
|
|
27
|
-
/**
|
|
28
|
-
* Update notification recipient
|
|
29
|
-
* @param {UpdateNotificationRecipientParams} params containing information to update a notification recipient
|
|
30
|
-
* - params.filters.id: The notification recipient id
|
|
31
|
-
* At least one of the following fields is required:
|
|
32
|
-
* - params.values.notificationType: The notification type, optional
|
|
33
|
-
* - params.values.recipient: The recipient, optional
|
|
34
|
-
* - params.values.isEnabled: The is enabled flag, optional
|
|
35
|
-
* - params.values.isUserProfile: The is user profile flag, optional
|
|
36
|
-
* - params.values.unsubscribed: The unsubscribed flag, optional
|
|
37
|
-
* @returns Whether the notification recipient was updated or not
|
|
38
|
-
*/
|
|
39
|
-
updateNotificationRecipient(params: UpdateNotificationRecipientParams): Promise<boolean>;
|
|
40
|
-
/**
|
|
41
|
-
* @deprecated The method should not be used, use 'updateUsersNotificationsUnsubscribedInfoStatus'
|
|
42
|
-
* Update users notifications unsubscribed status
|
|
43
|
-
* @param {UpdateUsersNotificationsUnsuscribedStatusParams} params containing information to update users notifications unsubscribed status
|
|
44
|
-
* - params.filters: Using these filters, the query will update the users notifications unsubscribed
|
|
45
|
-
* status for all users with the corresponding phone number.
|
|
46
|
-
* The user country code will be used to remove the country code from the phone number before comparing it with the user phone number.
|
|
47
|
-
* - params.filters.userPhone: The user phone
|
|
48
|
-
* - params.filters.userCountryCode: The user country code
|
|
49
|
-
* - params.values.unsubscribed: The unsubscribed flag, optional
|
|
50
|
-
* @returns Whether the users notifications unsubscribed status was updated or not
|
|
51
|
-
*/
|
|
52
|
-
updateUsersNotificationsUnsuscribedStatus(params: UpdateUsersNotificationsUnsuscribedStatusParams): Promise<boolean>;
|
|
53
|
-
/**
|
|
54
|
-
* Update users notifications unsubscribed status
|
|
55
|
-
* @param {UpdateUsersNotificationsUnsuscribedInfoParams} params containing information to update users notifications unsubscribed status
|
|
56
|
-
* - params.filters: Using these filters, the query will update the users notifications unsubscribed
|
|
57
|
-
* status for all users with the corresponding phone number.
|
|
58
|
-
* The user country code will be used to remove the country code from the phone number before comparing it with the user phone number.
|
|
59
|
-
* - params.filters.userPhone: The user phone
|
|
60
|
-
* - params.filters.userCountryCode: The user country code
|
|
61
|
-
* - params.values.unsubscribed: The unsubscribed flag, optional
|
|
62
|
-
* @returns array with userId of notification recipients that where updated, if no notificationRecipients where updated returns null
|
|
63
|
-
*/
|
|
64
|
-
updateUsersNotificationsUnsubscribedInfoStatus(params: UpdateUsersNotificationsUnsubscribedInfoStatusParams): Promise<string[] | null>;
|
|
65
|
-
/**
|
|
66
|
-
* Delete notification recipients
|
|
67
|
-
* @param {DeleteNotificationRecipientsParams} params containing information to delete notification recipients
|
|
68
|
-
* At least one of the following fields is required:
|
|
69
|
-
* - params.filters.id: The notification recipient id, optional
|
|
70
|
-
* - params.filters.userId: The user id, optional
|
|
71
|
-
* @returns Whether the notification recipients were deleted or not
|
|
72
|
-
*/
|
|
73
|
-
deleteNotificationRecipients(params: DeleteNotificationRecipientsParams): Promise<boolean>;
|
|
74
|
-
/**
|
|
75
|
-
* Delete notification recipients by email or phone
|
|
76
|
-
* @param {DeleteNotificationRecipientsByEmailOrPhoneParams} params containing information to delete notification recipients by email or phone
|
|
77
|
-
* - params.filters.clientId: The client id
|
|
78
|
-
* - params.filters.notificationType: The notification type
|
|
79
|
-
* - params.filters.recipient: The recipient
|
|
80
|
-
* @returns Whether the notification recipients were deleted or not
|
|
81
|
-
*/
|
|
82
|
-
deleteNotificationRecipientsByEmailOrPhone(params: DeleteNotificationRecipientsByEmailOrPhoneParams): Promise<boolean>;
|
|
83
|
-
}
|
|
1
|
+
import { NotificationRecipient } from '../../entities';
|
|
2
|
+
import { CreateNotificationRecipientParams, DeleteNotificationRecipientsByEmailOrPhoneParams, DeleteNotificationRecipientsParams, GetNotificationRecipientsParams, UpdateNotificationRecipientParams, UpdateUsersNotificationsUnsubscribedInfoStatusParams, UpdateUsersNotificationsUnsuscribedStatusParams } from '../../types/notificationRecipients';
|
|
3
|
+
import { BaseRepository } from '../baseRepository';
|
|
4
|
+
export declare class NotificationRecipientsRepository extends BaseRepository {
|
|
5
|
+
/**
|
|
6
|
+
* Create notification recipient
|
|
7
|
+
* @param {CreateNotificationRecipientParams} params containing information to create a notification recipient
|
|
8
|
+
* - params.id: The notification recipient id, optional. If not provided, a new id will be generated
|
|
9
|
+
* - params.clientId: The client id
|
|
10
|
+
* - params.userId: The user id
|
|
11
|
+
* - params.notificationType: The notification type
|
|
12
|
+
* - params.recipient: The recipient
|
|
13
|
+
* - params.isEnabled: The is enabled flag
|
|
14
|
+
* - params.isUserProfile: The is user profile flag
|
|
15
|
+
* - params.unsubscribed: The unsubscribed flag
|
|
16
|
+
* - params.dataSourceTypeId: The data source type id, optional
|
|
17
|
+
* @returns The notification recipient information
|
|
18
|
+
*/
|
|
19
|
+
createNotificationRecipient(params: CreateNotificationRecipientParams): Promise<NotificationRecipient>;
|
|
20
|
+
/**
|
|
21
|
+
* Get notification recipients with filters
|
|
22
|
+
* @param {GetNotificationRecipientsParams} params containing information to get notification recipients with filters
|
|
23
|
+
* - filters.clientId: The client id to obtain all notification recipients from that client
|
|
24
|
+
* @returns The notification recipients information
|
|
25
|
+
*/
|
|
26
|
+
getNotificationRecipients(params: GetNotificationRecipientsParams): Promise<NotificationRecipient[]>;
|
|
27
|
+
/**
|
|
28
|
+
* Update notification recipient
|
|
29
|
+
* @param {UpdateNotificationRecipientParams} params containing information to update a notification recipient
|
|
30
|
+
* - params.filters.id: The notification recipient id
|
|
31
|
+
* At least one of the following fields is required:
|
|
32
|
+
* - params.values.notificationType: The notification type, optional
|
|
33
|
+
* - params.values.recipient: The recipient, optional
|
|
34
|
+
* - params.values.isEnabled: The is enabled flag, optional
|
|
35
|
+
* - params.values.isUserProfile: The is user profile flag, optional
|
|
36
|
+
* - params.values.unsubscribed: The unsubscribed flag, optional
|
|
37
|
+
* @returns Whether the notification recipient was updated or not
|
|
38
|
+
*/
|
|
39
|
+
updateNotificationRecipient(params: UpdateNotificationRecipientParams): Promise<boolean>;
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated The method should not be used, use 'updateUsersNotificationsUnsubscribedInfoStatus'
|
|
42
|
+
* Update users notifications unsubscribed status
|
|
43
|
+
* @param {UpdateUsersNotificationsUnsuscribedStatusParams} params containing information to update users notifications unsubscribed status
|
|
44
|
+
* - params.filters: Using these filters, the query will update the users notifications unsubscribed
|
|
45
|
+
* status for all users with the corresponding phone number.
|
|
46
|
+
* The user country code will be used to remove the country code from the phone number before comparing it with the user phone number.
|
|
47
|
+
* - params.filters.userPhone: The user phone
|
|
48
|
+
* - params.filters.userCountryCode: The user country code
|
|
49
|
+
* - params.values.unsubscribed: The unsubscribed flag, optional
|
|
50
|
+
* @returns Whether the users notifications unsubscribed status was updated or not
|
|
51
|
+
*/
|
|
52
|
+
updateUsersNotificationsUnsuscribedStatus(params: UpdateUsersNotificationsUnsuscribedStatusParams): Promise<boolean>;
|
|
53
|
+
/**
|
|
54
|
+
* Update users notifications unsubscribed status
|
|
55
|
+
* @param {UpdateUsersNotificationsUnsuscribedInfoParams} params containing information to update users notifications unsubscribed status
|
|
56
|
+
* - params.filters: Using these filters, the query will update the users notifications unsubscribed
|
|
57
|
+
* status for all users with the corresponding phone number.
|
|
58
|
+
* The user country code will be used to remove the country code from the phone number before comparing it with the user phone number.
|
|
59
|
+
* - params.filters.userPhone: The user phone
|
|
60
|
+
* - params.filters.userCountryCode: The user country code
|
|
61
|
+
* - params.values.unsubscribed: The unsubscribed flag, optional
|
|
62
|
+
* @returns array with userId of notification recipients that where updated, if no notificationRecipients where updated returns null
|
|
63
|
+
*/
|
|
64
|
+
updateUsersNotificationsUnsubscribedInfoStatus(params: UpdateUsersNotificationsUnsubscribedInfoStatusParams): Promise<string[] | null>;
|
|
65
|
+
/**
|
|
66
|
+
* Delete notification recipients
|
|
67
|
+
* @param {DeleteNotificationRecipientsParams} params containing information to delete notification recipients
|
|
68
|
+
* At least one of the following fields is required:
|
|
69
|
+
* - params.filters.id: The notification recipient id, optional
|
|
70
|
+
* - params.filters.userId: The user id, optional
|
|
71
|
+
* @returns Whether the notification recipients were deleted or not
|
|
72
|
+
*/
|
|
73
|
+
deleteNotificationRecipients(params: DeleteNotificationRecipientsParams): Promise<boolean>;
|
|
74
|
+
/**
|
|
75
|
+
* Delete notification recipients by email or phone
|
|
76
|
+
* @param {DeleteNotificationRecipientsByEmailOrPhoneParams} params containing information to delete notification recipients by email or phone
|
|
77
|
+
* - params.filters.clientId: The client id
|
|
78
|
+
* - params.filters.notificationType: The notification type
|
|
79
|
+
* - params.filters.recipient: The recipient
|
|
80
|
+
* @returns Whether the notification recipients were deleted or not
|
|
81
|
+
*/
|
|
82
|
+
deleteNotificationRecipientsByEmailOrPhone(params: DeleteNotificationRecipientsByEmailOrPhoneParams): Promise<boolean>;
|
|
83
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { Logger } from '../../types/logger';
|
|
3
|
-
import { UpdateNotificationRecipientParams } from '../../types/notificationRecipients';
|
|
4
|
-
export declare const updateNotificationRecipient: (novaDataSource: NovaDataSource, params: UpdateNotificationRecipientParams, logger: Logger) => Promise<boolean>;
|
|
1
|
+
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
+
import { Logger } from '../../types/logger';
|
|
3
|
+
import { UpdateNotificationRecipientParams } from '../../types/notificationRecipients';
|
|
4
|
+
export declare const updateNotificationRecipient: (novaDataSource: NovaDataSource, params: UpdateNotificationRecipientParams, logger: Logger) => Promise<boolean>;
|
package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsubscribedInfoStatus.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { Logger } from '../../types/logger';
|
|
3
|
-
import { UpdateUsersNotificationsUnsubscribedInfoStatusParams } from '../../types/notificationRecipients';
|
|
4
|
-
export declare const updateUsersNotificationsUnsubscribedInfoStatus: (novaDataSource: NovaDataSource, params: UpdateUsersNotificationsUnsubscribedInfoStatusParams, logger: Logger) => Promise<string[]>;
|
|
1
|
+
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
+
import { Logger } from '../../types/logger';
|
|
3
|
+
import { UpdateUsersNotificationsUnsubscribedInfoStatusParams } from '../../types/notificationRecipients';
|
|
4
|
+
export declare const updateUsersNotificationsUnsubscribedInfoStatus: (novaDataSource: NovaDataSource, params: UpdateUsersNotificationsUnsubscribedInfoStatusParams, logger: Logger) => Promise<string[]>;
|
package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsuscribedStatus.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { Logger } from '../../types/logger';
|
|
3
|
-
import { UpdateUsersNotificationsUnsuscribedStatusParams } from '../../types/notificationRecipients';
|
|
4
|
-
export declare const updateUsersNotificationsUnsuscribedStatus: (novaDataSource: NovaDataSource, params: UpdateUsersNotificationsUnsuscribedStatusParams, logger: Logger) => Promise<boolean>;
|
|
1
|
+
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
+
import { Logger } from '../../types/logger';
|
|
3
|
+
import { UpdateUsersNotificationsUnsuscribedStatusParams } from '../../types/notificationRecipients';
|
|
4
|
+
export declare const updateUsersNotificationsUnsuscribedStatus: (novaDataSource: NovaDataSource, params: UpdateUsersNotificationsUnsuscribedStatusParams, logger: Logger) => Promise<boolean>;
|