@spytecgps/nova-orm 1.2.45 → 1.3.0
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/dist/core.d.ts +25 -0
- 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 +28 -28
- 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/beaconBleMesh.d.ts +11 -11
- package/dist/entities/billing.d.ts +20 -20
- package/dist/entities/billingCustomerAmazon.d.ts +14 -14
- 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 +17 -17
- 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 +22 -22
- 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 +20 -20
- 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 +9 -9
- package/dist/entities/clientDeviceSetting.d.ts +14 -14
- package/dist/entities/clientIngestorConfiguration.d.ts +8 -8
- 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 +38 -38
- package/dist/entities/deviceBehavior.d.ts +25 -25
- package/dist/entities/deviceBleMesh.d.ts +14 -14
- package/dist/entities/deviceBleMeshUpdateTask.d.ts +18 -18
- package/dist/entities/deviceChangesHistory.d.ts +8 -8
- package/dist/entities/deviceCustomConfiguration.d.ts +13 -13
- 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 +21 -21
- package/dist/entities/deviceTypePromotion.d.ts +7 -7
- package/dist/entities/emailDomain.d.ts +5 -5
- package/dist/entities/entityTag.d.ts +12 -12
- package/dist/entities/entityType.d.ts +5 -5
- package/dist/entities/feature.d.ts +6 -6
- package/dist/entities/firmwareAutoUpgradeBlacklist.d.ts +5 -5
- package/dist/entities/firmwareUpgradeTask.d.ts +23 -23
- package/dist/entities/historicalBillingPlan.d.ts +21 -21
- 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 +121 -121
- package/dist/entities/industry.d.ts +8 -8
- package/dist/entities/latestPosition.d.ts +21 -21
- package/dist/entities/latestUserAppInfo.d.ts +9 -9
- package/dist/entities/liveLink.d.ts +17 -17
- package/dist/entities/magento2Gps.d.ts +50 -50
- 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 +21 -21
- 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/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 +12 -12
- package/dist/entities/task.d.ts +36 -36
- package/dist/entities/taskSchedule.d.ts +29 -29
- package/dist/entities/trip.d.ts +27 -27
- package/dist/entities/tripCompletionStatus.d.ts +6 -6
- package/dist/entities/tripPosition.d.ts +4 -4
- 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 +9 -8
- package/dist/entities/userAuthorizedDevice.d.ts +9 -8
- 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 +12 -12
- package/dist/index.d.ts +26 -24
- package/dist/index.js +27075 -2
- package/dist/migration/1684483704434-addLowerCaseIndex.d.ts +5 -5
- package/dist/novaDataSource.d.ts +88 -88
- 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/alertTypes/getAlertTypes.d.ts +4 -4
- package/dist/repositories/alertTypes/index.d.ts +6 -6
- package/dist/repositories/alerts/createAlert.d.ts +6 -6
- package/dist/repositories/alerts/createUserAlertComplain.d.ts +4 -4
- package/dist/repositories/alerts/getAlertsReportByClient.d.ts +7 -7
- package/dist/repositories/alerts/getAlertsReportByUser.d.ts +4 -4
- package/dist/repositories/alerts/index.d.ts +78 -78
- 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/assetCategories/getAssetCategories.d.ts +3 -3
- package/dist/repositories/assetCategories/index.d.ts +9 -9
- 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/getBillingKlarnaOrderByImei.d.ts +5 -5
- package/dist/repositories/billing/getBillingPlans.d.ts +4 -4
- package/dist/repositories/billing/getBillingSubscriptionBraintreeByImei.d.ts +5 -5
- 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 +243 -243
- 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/upsertBillingKlarnaCustomer.d.ts +5 -5
- package/dist/repositories/billing/upsertBillingKlarnaOrder.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/bleMesh/addBeaconBLEMesh.d.ts +5 -5
- package/dist/repositories/bleMesh/addDevicesToBLEMesh.d.ts +5 -5
- package/dist/repositories/bleMesh/createBLEMesh.d.ts +5 -5
- package/dist/repositories/bleMesh/createDeviceBLEMeshUpdateTask.d.ts +5 -5
- package/dist/repositories/bleMesh/getBLEMeshes.d.ts +4 -4
- package/dist/repositories/bleMesh/getBeaconBLEMeshes.d.ts +4 -4
- package/dist/repositories/bleMesh/getDeviceBLEMeshUpdateTasks.d.ts +4 -4
- package/dist/repositories/bleMesh/getDeviceBLEMeshes.d.ts +4 -4
- package/dist/repositories/bleMesh/index.d.ts +157 -157
- package/dist/repositories/bleMesh/removeBLEMesh.d.ts +4 -4
- package/dist/repositories/bleMesh/removeBeaconBLEMeshes.d.ts +4 -4
- package/dist/repositories/bleMesh/removeBeaconsFromBLEMesh.d.ts +4 -4
- package/dist/repositories/bleMesh/removeDevicesFromBLEMesh.d.ts +4 -4
- package/dist/repositories/bleMesh/updateBLEMesh.d.ts +4 -4
- package/dist/repositories/bleMesh/updateBeaconBLEMesh.d.ts +4 -4
- package/dist/repositories/bleMesh/updateDevicesBLEMesh.d.ts +4 -4
- package/dist/repositories/bleMesh/updateDevicesBLEMeshUpdateTask.d.ts +4 -4
- package/dist/repositories/bleMeshConfiguration/createBLEMeshConfigurationParams.d.ts +5 -5
- package/dist/repositories/bleMeshConfiguration/deleteBLEMeshConfiguration.d.ts +4 -4
- package/dist/repositories/bleMeshConfiguration/getBLEMeshConfiguration.d.ts +5 -5
- package/dist/repositories/bleMeshConfiguration/index.d.ts +46 -46
- package/dist/repositories/bleMeshConfiguration/updateBLEMeshConfiguration.d.ts +4 -4
- 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/dataExports/createDataExports.d.ts +5 -5
- package/dist/repositories/dataExports/getDataExports.d.ts +4 -4
- package/dist/repositories/dataExports/index.d.ts +38 -38
- package/dist/repositories/dataExports/updateDataExports.d.ts +4 -4
- 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 +42 -42
- package/dist/repositories/latestUserAppInfo/getLatestUserAppInfo.d.ts +5 -5
- package/dist/repositories/latestUserAppInfo/index.d.ts +23 -23
- package/dist/repositories/latestUserAppInfo/upsertLatestUserAppInfo.d.ts +4 -4
- 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 +5 -5
- package/dist/repositories/security/bulkCreateUserAuthorizedDevices.d.ts +5 -5
- 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 -0
- package/dist/repositories/security/getUserIdsByClientIdAndAuthorizedDevices.d.ts +4 -0
- 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 -64
- 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/trips/createTrip.d.ts +5 -5
- package/dist/repositories/trips/getDeviceTripConfiguration.d.ts +4 -4
- package/dist/repositories/trips/getTripById.d.ts +4 -4
- package/dist/repositories/trips/getTrips.d.ts +4 -4
- package/dist/repositories/trips/index.d.ts +36 -36
- package/dist/repositories/trips/updateTripEndValues.d.ts +4 -4
- package/dist/repositories/trips/upsertTrip.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/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/getUsersInfoWithActivationInfo.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 +342 -342
- 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 +102 -102
- package/dist/types/clients.d.ts +137 -137
- package/dist/types/common.d.ts +17 -17
- 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 +84 -84
- package/dist/types/deviceTypeFeature.d.ts +23 -23
- package/dist/types/devices.d.ts +410 -410
- package/dist/types/entitiesTags.d.ts +63 -63
- package/dist/types/enums.d.ts +90 -90
- package/dist/types/feature.d.ts +20 -20
- package/dist/types/firmwares.d.ts +129 -129
- package/dist/types/index.d.ts +38 -38
- 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 +71 -71
- package/dist/types/promotion.d.ts +121 -121
- package/dist/types/security.d.ts +85 -70
- package/dist/types/tag.d.ts +65 -65
- package/dist/types/tasks.d.ts +228 -228
- package/dist/types/trip.d.ts +92 -92
- package/dist/types/user.d.ts +255 -255
- 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/dateTool.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 +13 -13
- package/dist/utils/randomizer.d.ts +5 -5
- package/dist/utils/stringToDateTransformer.d.ts +5 -5
- package/dist/utils/uuidHelpers.d.ts +4 -2
- package/dist/utils/uuidTransformer.d.ts +5 -5
- package/package.json +10 -4
- package/dist/entities/acumaticaAmazonProduct.js +0 -47
- package/dist/entities/acumaticaAmazonProduct.js.map +0 -1
- package/dist/entities/acumaticaImeiIccidData.js +0 -93
- package/dist/entities/acumaticaImeiIccidData.js.map +0 -1
- package/dist/entities/acumaticaOrderShipmentDetails.js +0 -63
- package/dist/entities/acumaticaOrderShipmentDetails.js.map +0 -1
- package/dist/entities/acumaticaShipment.js +0 -32
- package/dist/entities/acumaticaShipment.js.map +0 -1
- package/dist/entities/acumaticaShipmentAmazon.js +0 -27
- package/dist/entities/acumaticaShipmentAmazon.js.map +0 -1
- package/dist/entities/aempToken.js +0 -48
- package/dist/entities/aempToken.js.map +0 -1
- package/dist/entities/airflow/airflowAcumaticaExportImeiIccidData.js +0 -82
- package/dist/entities/airflow/airflowAcumaticaExportImeiIccidData.js.map +0 -1
- package/dist/entities/airflow/airflowAcumaticaExportOrderShipmentDetails.js +0 -147
- package/dist/entities/airflow/airflowAcumaticaExportOrderShipmentDetails.js.map +0 -1
- package/dist/entities/airflow/airflowAcumaticaShipmentsAmazon.js +0 -42
- package/dist/entities/airflow/airflowAcumaticaShipmentsAmazon.js.map +0 -1
- package/dist/entities/alert.js +0 -137
- package/dist/entities/alert.js.map +0 -1
- package/dist/entities/alertType.js +0 -84
- package/dist/entities/alertType.js.map +0 -1
- package/dist/entities/appFeatureType.js +0 -37
- package/dist/entities/appFeatureType.js.map +0 -1
- package/dist/entities/asinPromotion.js +0 -37
- package/dist/entities/asinPromotion.js.map +0 -1
- package/dist/entities/assetCategory.js +0 -33
- package/dist/entities/assetCategory.js.map +0 -1
- package/dist/entities/beaconBleMesh.js +0 -63
- package/dist/entities/beaconBleMesh.js.map +0 -1
- package/dist/entities/billing.js +0 -110
- package/dist/entities/billing.js.map +0 -1
- package/dist/entities/billingCustomerAmazon.js +0 -82
- package/dist/entities/billingCustomerAmazon.js.map +0 -1
- package/dist/entities/billingCustomerBraintree.js +0 -63
- package/dist/entities/billingCustomerBraintree.js.map +0 -1
- package/dist/entities/billingDeviceHistory.js +0 -62
- package/dist/entities/billingDeviceHistory.js.map +0 -1
- package/dist/entities/billingDeviceTypePlan.js +0 -64
- package/dist/entities/billingDeviceTypePlan.js.map +0 -1
- package/dist/entities/billingHubspotPaymentLog.js +0 -257
- package/dist/entities/billingHubspotPaymentLog.js.map +0 -1
- package/dist/entities/billingKlarnaCustomer.js +0 -78
- package/dist/entities/billingKlarnaCustomer.js.map +0 -1
- package/dist/entities/billingKlarnaOrder.js +0 -116
- package/dist/entities/billingKlarnaOrder.js.map +0 -1
- package/dist/entities/billingPlanFeatures.js +0 -37
- package/dist/entities/billingPlanFeatures.js.map +0 -1
- package/dist/entities/billingPlans.js +0 -127
- package/dist/entities/billingPlans.js.map +0 -1
- package/dist/entities/billingStatusHistoryBraintree.js +0 -64
- package/dist/entities/billingStatusHistoryBraintree.js.map +0 -1
- package/dist/entities/billingSubscriptionAmazon.js +0 -156
- package/dist/entities/billingSubscriptionAmazon.js.map +0 -1
- package/dist/entities/billingSubscriptionBraintree.js +0 -231
- package/dist/entities/billingSubscriptionBraintree.js.map +0 -1
- package/dist/entities/blacklist.js +0 -52
- package/dist/entities/blacklist.js.map +0 -1
- package/dist/entities/blacklistType.js +0 -32
- package/dist/entities/blacklistType.js.map +0 -1
- package/dist/entities/bleMesh.js +0 -74
- package/dist/entities/bleMesh.js.map +0 -1
- package/dist/entities/bleMeshConfiguration.js +0 -57
- package/dist/entities/bleMeshConfiguration.js.map +0 -1
- package/dist/entities/boundary.js +0 -121
- package/dist/entities/boundary.js.map +0 -1
- package/dist/entities/boundaryEvent.js +0 -106
- package/dist/entities/boundaryEvent.js.map +0 -1
- package/dist/entities/cellTower.js +0 -67
- package/dist/entities/cellTower.js.map +0 -1
- package/dist/entities/client.js +0 -148
- package/dist/entities/client.js.map +0 -1
- package/dist/entities/clientAlertConfiguration.js +0 -112
- package/dist/entities/clientAlertConfiguration.js.map +0 -1
- package/dist/entities/clientAlertRecipient.js +0 -98
- package/dist/entities/clientAlertRecipient.js.map +0 -1
- package/dist/entities/clientAppFeature.js +0 -48
- package/dist/entities/clientAppFeature.js.map +0 -1
- package/dist/entities/clientConfiguration.js +0 -59
- package/dist/entities/clientConfiguration.js.map +0 -1
- package/dist/entities/clientDeviceSetting.js +0 -96
- package/dist/entities/clientDeviceSetting.js.map +0 -1
- package/dist/entities/clientIngestorConfiguration.js +0 -48
- package/dist/entities/clientIngestorConfiguration.js.map +0 -1
- package/dist/entities/clientType.js +0 -38
- package/dist/entities/clientType.js.map +0 -1
- package/dist/entities/country.js +0 -93
- package/dist/entities/country.js.map +0 -1
- package/dist/entities/customerAttribute.js +0 -81
- package/dist/entities/customerAttribute.js.map +0 -1
- package/dist/entities/dataExport.js +0 -74
- package/dist/entities/dataExport.js.map +0 -1
- package/dist/entities/dataSourceType.js +0 -32
- package/dist/entities/dataSourceType.js.map +0 -1
- package/dist/entities/deactivation.js +0 -84
- package/dist/entities/deactivation.js.map +0 -1
- package/dist/entities/deactivationReason.js +0 -41
- package/dist/entities/deactivationReason.js.map +0 -1
- package/dist/entities/device.js +0 -175
- package/dist/entities/device.js.map +0 -1
- package/dist/entities/deviceBehavior.js +0 -148
- package/dist/entities/deviceBehavior.js.map +0 -1
- package/dist/entities/deviceBleMesh.js +0 -78
- package/dist/entities/deviceBleMesh.js.map +0 -1
- package/dist/entities/deviceBleMeshUpdateTask.js +0 -83
- package/dist/entities/deviceBleMeshUpdateTask.js.map +0 -1
- package/dist/entities/deviceChangesHistory.js +0 -48
- package/dist/entities/deviceChangesHistory.js.map +0 -1
- package/dist/entities/deviceCustomConfiguration.js +0 -77
- package/dist/entities/deviceCustomConfiguration.js.map +0 -1
- package/dist/entities/deviceHistory.js +0 -47
- package/dist/entities/deviceHistory.js.map +0 -1
- package/dist/entities/deviceModelListener.js +0 -47
- package/dist/entities/deviceModelListener.js.map +0 -1
- package/dist/entities/devicePairing.js +0 -83
- package/dist/entities/devicePairing.js.map +0 -1
- package/dist/entities/devicePromotion.js +0 -37
- package/dist/entities/devicePromotion.js.map +0 -1
- package/dist/entities/deviceReplacement.js +0 -59
- package/dist/entities/deviceReplacement.js.map +0 -1
- package/dist/entities/deviceStatus.js +0 -61
- package/dist/entities/deviceStatus.js.map +0 -1
- package/dist/entities/deviceTask.js +0 -45
- package/dist/entities/deviceTask.js.map +0 -1
- package/dist/entities/deviceType.js +0 -154
- package/dist/entities/deviceType.js.map +0 -1
- package/dist/entities/deviceTypeFeature.js +0 -33
- package/dist/entities/deviceTypeFeature.js.map +0 -1
- package/dist/entities/deviceTypeFirmware.js +0 -118
- package/dist/entities/deviceTypeFirmware.js.map +0 -1
- package/dist/entities/deviceTypePromotion.js +0 -37
- package/dist/entities/deviceTypePromotion.js.map +0 -1
- package/dist/entities/emailDomain.js +0 -39
- package/dist/entities/emailDomain.js.map +0 -1
- package/dist/entities/entityTag.js +0 -72
- package/dist/entities/entityTag.js.map +0 -1
- package/dist/entities/entityType.js +0 -32
- package/dist/entities/entityType.js.map +0 -1
- package/dist/entities/feature.js +0 -37
- package/dist/entities/feature.js.map +0 -1
- package/dist/entities/firmwareAutoUpgradeBlacklist.js +0 -36
- package/dist/entities/firmwareAutoUpgradeBlacklist.js.map +0 -1
- package/dist/entities/firmwareUpgradeTask.js +0 -108
- package/dist/entities/firmwareUpgradeTask.js.map +0 -1
- package/dist/entities/historicalBillingPlan.js +0 -163
- package/dist/entities/historicalBillingPlan.js.map +0 -1
- package/dist/entities/iccidStatus.js +0 -50
- package/dist/entities/iccidStatus.js.map +0 -1
- package/dist/entities/imeiIccidCarrier.js +0 -127
- package/dist/entities/imeiIccidCarrier.js.map +0 -1
- package/dist/entities/imeiIccidHistory.js +0 -44
- package/dist/entities/imeiIccidHistory.js.map +0 -1
- package/dist/entities/imeiIccidImport.js +0 -32
- package/dist/entities/imeiIccidImport.js.map +0 -1
- package/dist/entities/index.js +0 -122
- package/dist/entities/index.js.map +0 -1
- package/dist/entities/industry.js +0 -47
- package/dist/entities/industry.js.map +0 -1
- package/dist/entities/latestPosition.js +0 -106
- package/dist/entities/latestPosition.js.map +0 -1
- package/dist/entities/latestUserAppInfo.js +0 -43
- package/dist/entities/latestUserAppInfo.js.map +0 -1
- package/dist/entities/liveLink.js +0 -126
- package/dist/entities/liveLink.js.map +0 -1
- package/dist/entities/magento2Gps.js +0 -259
- package/dist/entities/magento2Gps.js.map +0 -1
- package/dist/entities/magento2Plan.js +0 -44
- package/dist/entities/magento2Plan.js.map +0 -1
- package/dist/entities/marketplacePromotion.js +0 -37
- package/dist/entities/marketplacePromotion.js.map +0 -1
- package/dist/entities/mobileNetwork.js +0 -52
- package/dist/entities/mobileNetwork.js.map +0 -1
- package/dist/entities/notificationRecipient.js +0 -128
- package/dist/entities/notificationRecipient.js.map +0 -1
- package/dist/entities/orderShipmentInternational.js +0 -67
- package/dist/entities/orderShipmentInternational.js.map +0 -1
- package/dist/entities/organization.js +0 -47
- package/dist/entities/organization.js.map +0 -1
- package/dist/entities/plan.js +0 -87
- package/dist/entities/plan.js.map +0 -1
- package/dist/entities/position.js +0 -106
- package/dist/entities/position.js.map +0 -1
- package/dist/entities/promotion.js +0 -136
- package/dist/entities/promotion.js.map +0 -1
- package/dist/entities/promotionHistory.js +0 -90
- package/dist/entities/promotionHistory.js.map +0 -1
- package/dist/entities/region.js +0 -70
- package/dist/entities/region.js.map +0 -1
- package/dist/entities/securityRole.js +0 -48
- package/dist/entities/securityRole.js.map +0 -1
- package/dist/entities/serviceProvider.js +0 -42
- package/dist/entities/serviceProvider.js.map +0 -1
- package/dist/entities/serviceProviderProduct.js +0 -62
- package/dist/entities/serviceProviderProduct.js.map +0 -1
- package/dist/entities/serviceProviderProductNetwork.js +0 -32
- package/dist/entities/serviceProviderProductNetwork.js.map +0 -1
- package/dist/entities/serviceProviderProductType.js +0 -32
- package/dist/entities/serviceProviderProductType.js.map +0 -1
- package/dist/entities/sim.js +0 -93
- package/dist/entities/sim.js.map +0 -1
- package/dist/entities/tag.js +0 -68
- package/dist/entities/tag.js.map +0 -1
- package/dist/entities/task.js +0 -185
- package/dist/entities/task.js.map +0 -1
- package/dist/entities/taskSchedule.js +0 -147
- package/dist/entities/taskSchedule.js.map +0 -1
- package/dist/entities/trip.js +0 -139
- package/dist/entities/trip.js.map +0 -1
- package/dist/entities/tripCompletionStatus.js +0 -37
- package/dist/entities/tripCompletionStatus.js.map +0 -1
- package/dist/entities/tripPosition.js +0 -27
- package/dist/entities/tripPosition.js.map +0 -1
- package/dist/entities/user.js +0 -221
- package/dist/entities/user.js.map +0 -1
- package/dist/entities/userActivation.js +0 -53
- package/dist/entities/userActivation.js.map +0 -1
- package/dist/entities/userActivationDevice.js +0 -166
- package/dist/entities/userActivationDevice.js.map +0 -1
- package/dist/entities/userActivationEvent.js +0 -62
- package/dist/entities/userActivationEvent.js.map +0 -1
- package/dist/entities/userActivationMetric.js +0 -209
- package/dist/entities/userActivationMetric.js.map +0 -1
- package/dist/entities/userAlertComplain.js +0 -79
- package/dist/entities/userAlertComplain.js.map +0 -1
- package/dist/entities/userAlertConfiguration.js +0 -143
- package/dist/entities/userAlertConfiguration.js.map +0 -1
- package/dist/entities/userAlertNotificationsConfig.js +0 -91
- package/dist/entities/userAlertNotificationsConfig.js.map +0 -1
- package/dist/entities/userAppFeedback.js +0 -53
- package/dist/entities/userAppFeedback.js.map +0 -1
- package/dist/entities/userAppIncident.js +0 -177
- package/dist/entities/userAppIncident.js.map +0 -1
- package/dist/entities/userAuthorizedBoundary.js +0 -43
- package/dist/entities/userAuthorizedBoundary.js.map +0 -1
- package/dist/entities/userAuthorizedDevice.js +0 -43
- package/dist/entities/userAuthorizedDevice.js.map +0 -1
- package/dist/entities/userConfiguration.js +0 -110
- package/dist/entities/userConfiguration.js.map +0 -1
- package/dist/entities/userDataDeletionRequest.js +0 -58
- package/dist/entities/userDataDeletionRequest.js.map +0 -1
- package/dist/entities/userDeviceBehaviorTask.js +0 -81
- package/dist/entities/userDeviceBehaviorTask.js.map +0 -1
- package/dist/entities/userInvitation.js +0 -167
- package/dist/entities/userInvitation.js.map +0 -1
- package/dist/entities/userRatingRequest.js +0 -76
- package/dist/entities/userRatingRequest.js.map +0 -1
- package/dist/entities/userRegistrationAttempt.js +0 -178
- package/dist/entities/userRegistrationAttempt.js.map +0 -1
- package/dist/entities/userSecurityRole.js +0 -47
- package/dist/entities/userSecurityRole.js.map +0 -1
- package/dist/index.js.LICENSE.txt +0 -39
- package/dist/index.js.map +0 -1
- package/dist/migration/1684483704434-addLowerCaseIndex.js +0 -17
- package/dist/migration/1684483704434-addLowerCaseIndex.js.map +0 -1
- package/dist/novaDataSource.js +0 -193
- package/dist/novaDataSource.js.map +0 -1
- package/dist/repositories/acumatica/getAcumaticaImeiIccidData.js +0 -47
- package/dist/repositories/acumatica/getAcumaticaImeiIccidData.js.map +0 -1
- package/dist/repositories/acumatica/getAcumaticaShipmentAmazon.js +0 -23
- package/dist/repositories/acumatica/getAcumaticaShipmentAmazon.js.map +0 -1
- package/dist/repositories/acumatica/getAcumaticaShipmentDetails.js +0 -56
- package/dist/repositories/acumatica/getAcumaticaShipmentDetails.js.map +0 -1
- package/dist/repositories/acumatica/getLastAcumaticaShipmentDetails.js +0 -33
- package/dist/repositories/acumatica/getLastAcumaticaShipmentDetails.js.map +0 -1
- package/dist/repositories/acumatica/getOrderShipmentInternational.js +0 -23
- package/dist/repositories/acumatica/getOrderShipmentInternational.js.map +0 -1
- package/dist/repositories/acumatica/index.js +0 -81
- package/dist/repositories/acumatica/index.js.map +0 -1
- package/dist/repositories/aempToken/createAempToken.js +0 -27
- package/dist/repositories/aempToken/createAempToken.js.map +0 -1
- package/dist/repositories/aempToken/deleteAempTokens.js +0 -31
- package/dist/repositories/aempToken/deleteAempTokens.js.map +0 -1
- package/dist/repositories/aempToken/getAempTokens.js +0 -35
- package/dist/repositories/aempToken/getAempTokens.js.map +0 -1
- package/dist/repositories/aempToken/index.js +0 -54
- package/dist/repositories/aempToken/index.js.map +0 -1
- package/dist/repositories/alertTypes/getAlertTypes.js +0 -19
- package/dist/repositories/alertTypes/getAlertTypes.js.map +0 -1
- package/dist/repositories/alertTypes/index.js +0 -19
- package/dist/repositories/alertTypes/index.js.map +0 -1
- package/dist/repositories/alerts/createAlert.js +0 -99
- package/dist/repositories/alerts/createAlert.js.map +0 -1
- package/dist/repositories/alerts/createUserAlertComplain.js +0 -27
- package/dist/repositories/alerts/createUserAlertComplain.js.map +0 -1
- package/dist/repositories/alerts/getAlertsReportByClient.js +0 -70
- package/dist/repositories/alerts/getAlertsReportByClient.js.map +0 -1
- package/dist/repositories/alerts/getAlertsReportByUser.js +0 -132
- package/dist/repositories/alerts/getAlertsReportByUser.js.map +0 -1
- package/dist/repositories/alerts/index.js +0 -105
- package/dist/repositories/alerts/index.js.map +0 -1
- package/dist/repositories/appFeatures/createAppFeatureType.js +0 -16
- package/dist/repositories/appFeatures/createAppFeatureType.js.map +0 -1
- package/dist/repositories/appFeatures/createClientAppFeature.js +0 -16
- package/dist/repositories/appFeatures/createClientAppFeature.js.map +0 -1
- package/dist/repositories/appFeatures/getClientAppFeatures.js +0 -45
- package/dist/repositories/appFeatures/getClientAppFeatures.js.map +0 -1
- package/dist/repositories/appFeatures/index.js +0 -58
- package/dist/repositories/appFeatures/index.js.map +0 -1
- package/dist/repositories/assetCategories/getAssetCategories.js +0 -19
- package/dist/repositories/assetCategories/getAssetCategories.js.map +0 -1
- package/dist/repositories/assetCategories/index.js +0 -17
- package/dist/repositories/assetCategories/index.js.map +0 -1
- package/dist/repositories/baseRepository.js +0 -24
- package/dist/repositories/baseRepository.js.map +0 -1
- package/dist/repositories/billing/createBilling.js +0 -38
- package/dist/repositories/billing/createBilling.js.map +0 -1
- package/dist/repositories/billing/createBillingDeviceHistory.js +0 -31
- package/dist/repositories/billing/createBillingDeviceHistory.js.map +0 -1
- package/dist/repositories/billing/createBillingHubspotPaymentLog.js +0 -62
- package/dist/repositories/billing/createBillingHubspotPaymentLog.js.map +0 -1
- package/dist/repositories/billing/createBillingStatusHistoryBraintree.js +0 -33
- package/dist/repositories/billing/createBillingStatusHistoryBraintree.js.map +0 -1
- package/dist/repositories/billing/getBillingCustomerBraintreeById.js +0 -24
- package/dist/repositories/billing/getBillingCustomerBraintreeById.js.map +0 -1
- package/dist/repositories/billing/getBillingDeviceTypePlans.js +0 -22
- package/dist/repositories/billing/getBillingDeviceTypePlans.js.map +0 -1
- package/dist/repositories/billing/getBillingKlarnaOrderByImei.js +0 -24
- package/dist/repositories/billing/getBillingKlarnaOrderByImei.js.map +0 -1
- package/dist/repositories/billing/getBillingPlans.js +0 -68
- package/dist/repositories/billing/getBillingPlans.js.map +0 -1
- package/dist/repositories/billing/getBillingSubscriptionBraintreeByImei.js +0 -24
- package/dist/repositories/billing/getBillingSubscriptionBraintreeByImei.js.map +0 -1
- package/dist/repositories/billing/getBillingSubscriptionsBraintree.js +0 -31
- package/dist/repositories/billing/getBillingSubscriptionsBraintree.js.map +0 -1
- package/dist/repositories/billing/getBillings.js +0 -48
- package/dist/repositories/billing/getBillings.js.map +0 -1
- package/dist/repositories/billing/getBraintreePastDueSubscriptions.js +0 -49
- package/dist/repositories/billing/getBraintreePastDueSubscriptions.js.map +0 -1
- package/dist/repositories/billing/getCanceledImeis.js +0 -96
- package/dist/repositories/billing/getCanceledImeis.js.map +0 -1
- package/dist/repositories/billing/getCanceledImeisMatchingMagentoData.js +0 -120
- package/dist/repositories/billing/getCanceledImeisMatchingMagentoData.js.map +0 -1
- package/dist/repositories/billing/getChurnStatusByClientId.js +0 -37
- package/dist/repositories/billing/getChurnStatusByClientId.js.map +0 -1
- package/dist/repositories/billing/getClientIdFromBraintreeCustomer.js +0 -26
- package/dist/repositories/billing/getClientIdFromBraintreeCustomer.js.map +0 -1
- package/dist/repositories/billing/getMagentoPlan.js +0 -27
- package/dist/repositories/billing/getMagentoPlan.js.map +0 -1
- package/dist/repositories/billing/getUserByBraintreeCustomerId.js +0 -28
- package/dist/repositories/billing/getUserByBraintreeCustomerId.js.map +0 -1
- package/dist/repositories/billing/index.js +0 -425
- package/dist/repositories/billing/index.js.map +0 -1
- package/dist/repositories/billing/updateBilling.js +0 -44
- package/dist/repositories/billing/updateBilling.js.map +0 -1
- package/dist/repositories/billing/updateBillingCustomerBraintree.js +0 -38
- package/dist/repositories/billing/updateBillingCustomerBraintree.js.map +0 -1
- package/dist/repositories/billing/upsertBillingCustomerBraintree.js +0 -49
- package/dist/repositories/billing/upsertBillingCustomerBraintree.js.map +0 -1
- package/dist/repositories/billing/upsertBillingDeviceTypePlan.js +0 -67
- package/dist/repositories/billing/upsertBillingDeviceTypePlan.js.map +0 -1
- package/dist/repositories/billing/upsertBillingKlarnaCustomer.js +0 -53
- package/dist/repositories/billing/upsertBillingKlarnaCustomer.js.map +0 -1
- package/dist/repositories/billing/upsertBillingKlarnaOrder.js +0 -59
- package/dist/repositories/billing/upsertBillingKlarnaOrder.js.map +0 -1
- package/dist/repositories/billing/upsertBillingPlans.js +0 -54
- package/dist/repositories/billing/upsertBillingPlans.js.map +0 -1
- package/dist/repositories/billing/upsertBillingSubscriptionBraintree.js +0 -21
- package/dist/repositories/billing/upsertBillingSubscriptionBraintree.js.map +0 -1
- package/dist/repositories/blacklist/deleteBlackList.js +0 -20
- package/dist/repositories/blacklist/deleteBlackList.js.map +0 -1
- package/dist/repositories/blacklist/getBlacklists.js +0 -25
- package/dist/repositories/blacklist/getBlacklists.js.map +0 -1
- package/dist/repositories/blacklist/index.js +0 -71
- package/dist/repositories/blacklist/index.js.map +0 -1
- package/dist/repositories/blacklist/updateBlackList.js +0 -31
- package/dist/repositories/blacklist/updateBlackList.js.map +0 -1
- package/dist/repositories/blacklist/upsertBlackList.js +0 -41
- package/dist/repositories/blacklist/upsertBlackList.js.map +0 -1
- package/dist/repositories/bleMesh/addBeaconBLEMesh.js +0 -29
- package/dist/repositories/bleMesh/addBeaconBLEMesh.js.map +0 -1
- package/dist/repositories/bleMesh/addDevicesToBLEMesh.js +0 -38
- package/dist/repositories/bleMesh/addDevicesToBLEMesh.js.map +0 -1
- package/dist/repositories/bleMesh/createBLEMesh.js +0 -19
- package/dist/repositories/bleMesh/createBLEMesh.js.map +0 -1
- package/dist/repositories/bleMesh/createDeviceBLEMeshUpdateTask.js +0 -47
- package/dist/repositories/bleMesh/createDeviceBLEMeshUpdateTask.js.map +0 -1
- package/dist/repositories/bleMesh/getBLEMeshes.js +0 -46
- package/dist/repositories/bleMesh/getBLEMeshes.js.map +0 -1
- package/dist/repositories/bleMesh/getBeaconBLEMeshes.js +0 -44
- package/dist/repositories/bleMesh/getBeaconBLEMeshes.js.map +0 -1
- package/dist/repositories/bleMesh/getDeviceBLEMeshUpdateTasks.js +0 -56
- package/dist/repositories/bleMesh/getDeviceBLEMeshUpdateTasks.js.map +0 -1
- package/dist/repositories/bleMesh/getDeviceBLEMeshes.js +0 -50
- package/dist/repositories/bleMesh/getDeviceBLEMeshes.js.map +0 -1
- package/dist/repositories/bleMesh/index.js +0 -269
- package/dist/repositories/bleMesh/index.js.map +0 -1
- package/dist/repositories/bleMesh/removeBLEMesh.js +0 -22
- package/dist/repositories/bleMesh/removeBLEMesh.js.map +0 -1
- package/dist/repositories/bleMesh/removeBeaconBLEMeshes.js +0 -21
- package/dist/repositories/bleMesh/removeBeaconBLEMeshes.js.map +0 -1
- package/dist/repositories/bleMesh/removeBeaconsFromBLEMesh.js +0 -28
- package/dist/repositories/bleMesh/removeBeaconsFromBLEMesh.js.map +0 -1
- package/dist/repositories/bleMesh/removeDevicesFromBLEMesh.js +0 -25
- package/dist/repositories/bleMesh/removeDevicesFromBLEMesh.js.map +0 -1
- package/dist/repositories/bleMesh/updateBLEMesh.js +0 -32
- package/dist/repositories/bleMesh/updateBLEMesh.js.map +0 -1
- package/dist/repositories/bleMesh/updateBeaconBLEMesh.js +0 -27
- package/dist/repositories/bleMesh/updateBeaconBLEMesh.js.map +0 -1
- package/dist/repositories/bleMesh/updateDevicesBLEMesh.js +0 -30
- package/dist/repositories/bleMesh/updateDevicesBLEMesh.js.map +0 -1
- package/dist/repositories/bleMesh/updateDevicesBLEMeshUpdateTask.js +0 -27
- package/dist/repositories/bleMesh/updateDevicesBLEMeshUpdateTask.js.map +0 -1
- package/dist/repositories/bleMeshConfiguration/createBLEMeshConfigurationParams.js +0 -19
- package/dist/repositories/bleMeshConfiguration/createBLEMeshConfigurationParams.js.map +0 -1
- package/dist/repositories/bleMeshConfiguration/deleteBLEMeshConfiguration.js +0 -17
- package/dist/repositories/bleMeshConfiguration/deleteBLEMeshConfiguration.js.map +0 -1
- package/dist/repositories/bleMeshConfiguration/getBLEMeshConfiguration.js +0 -29
- package/dist/repositories/bleMeshConfiguration/getBLEMeshConfiguration.js.map +0 -1
- package/dist/repositories/bleMeshConfiguration/index.js +0 -74
- package/dist/repositories/bleMeshConfiguration/index.js.map +0 -1
- package/dist/repositories/bleMeshConfiguration/updateBLEMeshConfiguration.js +0 -31
- package/dist/repositories/bleMeshConfiguration/updateBLEMeshConfiguration.js.map +0 -1
- package/dist/repositories/boundaries/createBoundary.js +0 -53
- package/dist/repositories/boundaries/createBoundary.js.map +0 -1
- package/dist/repositories/boundaries/deleteBoundary.js +0 -24
- package/dist/repositories/boundaries/deleteBoundary.js.map +0 -1
- package/dist/repositories/boundaries/getBoundariesByClientId.js +0 -54
- package/dist/repositories/boundaries/getBoundariesByClientId.js.map +0 -1
- package/dist/repositories/boundaries/getBoundariesIdsByClientId.js +0 -24
- package/dist/repositories/boundaries/getBoundariesIdsByClientId.js.map +0 -1
- package/dist/repositories/boundaries/getBoundariesReport.js +0 -147
- package/dist/repositories/boundaries/getBoundariesReport.js.map +0 -1
- package/dist/repositories/boundaries/getBoundaryById.js +0 -23
- package/dist/repositories/boundaries/getBoundaryById.js.map +0 -1
- package/dist/repositories/boundaries/index.js +0 -179
- package/dist/repositories/boundaries/index.js.map +0 -1
- package/dist/repositories/boundaries/processBoundaryEvent.js +0 -212
- package/dist/repositories/boundaries/processBoundaryEvent.js.map +0 -1
- package/dist/repositories/boundaries/updateBoundary.js +0 -54
- package/dist/repositories/boundaries/updateBoundary.js.map +0 -1
- package/dist/repositories/boundaries/upsertBoundaryEvent.js +0 -24
- package/dist/repositories/boundaries/upsertBoundaryEvent.js.map +0 -1
- package/dist/repositories/clientAlertConfiguration/createClientAlertConfiguration.js +0 -27
- package/dist/repositories/clientAlertConfiguration/createClientAlertConfiguration.js.map +0 -1
- package/dist/repositories/clientAlertConfiguration/deleteClientAlertConfiguration.js +0 -25
- package/dist/repositories/clientAlertConfiguration/deleteClientAlertConfiguration.js.map +0 -1
- package/dist/repositories/clientAlertConfiguration/getClientAlertConfigurations.js +0 -44
- package/dist/repositories/clientAlertConfiguration/getClientAlertConfigurations.js.map +0 -1
- package/dist/repositories/clientAlertConfiguration/getClientAlertRecipients.js +0 -40
- package/dist/repositories/clientAlertConfiguration/getClientAlertRecipients.js.map +0 -1
- package/dist/repositories/clientAlertConfiguration/getUsersDataForClientAlertConfig.js +0 -73
- package/dist/repositories/clientAlertConfiguration/getUsersDataForClientAlertConfig.js.map +0 -1
- package/dist/repositories/clientAlertConfiguration/index.js +0 -139
- package/dist/repositories/clientAlertConfiguration/index.js.map +0 -1
- package/dist/repositories/clientAlertConfiguration/isUserAllowedForAlertConfig.js +0 -51
- package/dist/repositories/clientAlertConfiguration/isUserAllowedForAlertConfig.js.map +0 -1
- package/dist/repositories/clientAlertConfiguration/setClientAlertRecipients.js +0 -175
- package/dist/repositories/clientAlertConfiguration/setClientAlertRecipients.js.map +0 -1
- package/dist/repositories/clientAlertConfiguration/updateClientAlertConfiguration.js +0 -44
- package/dist/repositories/clientAlertConfiguration/updateClientAlertConfiguration.js.map +0 -1
- package/dist/repositories/clients/createClient.js +0 -36
- package/dist/repositories/clients/createClient.js.map +0 -1
- package/dist/repositories/clients/createClientConfiguration.js +0 -21
- package/dist/repositories/clients/createClientConfiguration.js.map +0 -1
- package/dist/repositories/clients/createClientIngestorConfiguration.js +0 -21
- package/dist/repositories/clients/createClientIngestorConfiguration.js.map +0 -1
- package/dist/repositories/clients/createCustomerAttribute.js +0 -22
- package/dist/repositories/clients/createCustomerAttribute.js.map +0 -1
- package/dist/repositories/clients/deleteClientAndConfiguration.js +0 -26
- package/dist/repositories/clients/deleteClientAndConfiguration.js.map +0 -1
- package/dist/repositories/clients/getClient.js +0 -38
- package/dist/repositories/clients/getClient.js.map +0 -1
- package/dist/repositories/clients/getClientConfiguration.js +0 -31
- package/dist/repositories/clients/getClientConfiguration.js.map +0 -1
- package/dist/repositories/clients/getClientIngestorConfigurations.js +0 -25
- package/dist/repositories/clients/getClientIngestorConfigurations.js.map +0 -1
- package/dist/repositories/clients/getClients.js +0 -32
- package/dist/repositories/clients/getClients.js.map +0 -1
- package/dist/repositories/clients/getCustomerAttribute.js +0 -23
- package/dist/repositories/clients/getCustomerAttribute.js.map +0 -1
- package/dist/repositories/clients/index.js +0 -228
- package/dist/repositories/clients/index.js.map +0 -1
- package/dist/repositories/clients/updateClient.js +0 -53
- package/dist/repositories/clients/updateClient.js.map +0 -1
- package/dist/repositories/clients/updateClientConfiguration.js +0 -29
- package/dist/repositories/clients/updateClientConfiguration.js.map +0 -1
- package/dist/repositories/clients/updateCustomerAttribute.js +0 -27
- package/dist/repositories/clients/updateCustomerAttribute.js.map +0 -1
- package/dist/repositories/countries/getCountries.js +0 -20
- package/dist/repositories/countries/getCountries.js.map +0 -1
- package/dist/repositories/countries/getCountry.js +0 -29
- package/dist/repositories/countries/getCountry.js.map +0 -1
- package/dist/repositories/countries/index.js +0 -34
- package/dist/repositories/countries/index.js.map +0 -1
- package/dist/repositories/dataExports/createDataExports.js +0 -32
- package/dist/repositories/dataExports/createDataExports.js.map +0 -1
- package/dist/repositories/dataExports/getDataExports.js +0 -47
- package/dist/repositories/dataExports/getDataExports.js.map +0 -1
- package/dist/repositories/dataExports/index.js +0 -59
- package/dist/repositories/dataExports/index.js.map +0 -1
- package/dist/repositories/dataExports/updateDataExports.js +0 -26
- package/dist/repositories/dataExports/updateDataExports.js.map +0 -1
- package/dist/repositories/deactivations/createDeactivation.js +0 -17
- package/dist/repositories/deactivations/createDeactivation.js.map +0 -1
- package/dist/repositories/deactivations/getDeactivationReasons.js +0 -30
- package/dist/repositories/deactivations/getDeactivationReasons.js.map +0 -1
- package/dist/repositories/deactivations/getLatestDeactivationByImei.js +0 -25
- package/dist/repositories/deactivations/getLatestDeactivationByImei.js.map +0 -1
- package/dist/repositories/deactivations/index.js +0 -59
- package/dist/repositories/deactivations/index.js.map +0 -1
- package/dist/repositories/deviceBehaviors/createDeviceBehaviorTask.js +0 -49
- package/dist/repositories/deviceBehaviors/createDeviceBehaviorTask.js.map +0 -1
- package/dist/repositories/deviceBehaviors/getDeviceBehaviorTasks.js +0 -46
- package/dist/repositories/deviceBehaviors/getDeviceBehaviorTasks.js.map +0 -1
- package/dist/repositories/deviceBehaviors/getDeviceBehaviors.js +0 -47
- package/dist/repositories/deviceBehaviors/getDeviceBehaviors.js.map +0 -1
- package/dist/repositories/deviceBehaviors/getDeviceBehaviorsByIds.js +0 -22
- package/dist/repositories/deviceBehaviors/getDeviceBehaviorsByIds.js.map +0 -1
- package/dist/repositories/deviceBehaviors/index.js +0 -112
- package/dist/repositories/deviceBehaviors/index.js.map +0 -1
- package/dist/repositories/deviceBehaviors/updateDeviceBehaviorTask.js +0 -28
- package/dist/repositories/deviceBehaviors/updateDeviceBehaviorTask.js.map +0 -1
- package/dist/repositories/deviceBehaviors/upsertDeviceBehavior.js +0 -21
- package/dist/repositories/deviceBehaviors/upsertDeviceBehavior.js.map +0 -1
- package/dist/repositories/devicePairings/createDevicePairing.js +0 -22
- package/dist/repositories/devicePairings/createDevicePairing.js.map +0 -1
- package/dist/repositories/devicePairings/deleteDevicePairing.js +0 -17
- package/dist/repositories/devicePairings/deleteDevicePairing.js.map +0 -1
- package/dist/repositories/devicePairings/getDevicePairings.js +0 -42
- package/dist/repositories/devicePairings/getDevicePairings.js.map +0 -1
- package/dist/repositories/devicePairings/getDevicePairingsByClientId.js +0 -28
- package/dist/repositories/devicePairings/getDevicePairingsByClientId.js.map +0 -1
- package/dist/repositories/devicePairings/getDevicePairingsByImei.js +0 -26
- package/dist/repositories/devicePairings/getDevicePairingsByImei.js.map +0 -1
- package/dist/repositories/devicePairings/index.js +0 -107
- package/dist/repositories/devicePairings/index.js.map +0 -1
- package/dist/repositories/devicePairings/updateDevicePairing.js +0 -36
- package/dist/repositories/devicePairings/updateDevicePairing.js.map +0 -1
- package/dist/repositories/deviceStatus/extendedDeviceStatus.js +0 -207
- package/dist/repositories/deviceStatus/extendedDeviceStatus.js.map +0 -1
- package/dist/repositories/deviceStatus/getDeviceStatuses.js +0 -88
- package/dist/repositories/deviceStatus/getDeviceStatuses.js.map +0 -1
- package/dist/repositories/deviceStatus/getDeviceStatusesCount.js +0 -42
- package/dist/repositories/deviceStatus/getDeviceStatusesCount.js.map +0 -1
- package/dist/repositories/deviceStatus/index.js +0 -63
- package/dist/repositories/deviceStatus/index.js.map +0 -1
- package/dist/repositories/deviceStatus/upsertDeviceStatuses.js +0 -47
- package/dist/repositories/deviceStatus/upsertDeviceStatuses.js.map +0 -1
- package/dist/repositories/deviceTypeFeature/bulkCreateDeviceTypeFeature.js +0 -20
- package/dist/repositories/deviceTypeFeature/bulkCreateDeviceTypeFeature.js.map +0 -1
- package/dist/repositories/deviceTypeFeature/deleteDeviceTypeFeature.js +0 -22
- package/dist/repositories/deviceTypeFeature/deleteDeviceTypeFeature.js.map +0 -1
- package/dist/repositories/deviceTypeFeature/getDeviceTypeFeatures.js +0 -25
- package/dist/repositories/deviceTypeFeature/getDeviceTypeFeatures.js.map +0 -1
- package/dist/repositories/deviceTypeFeature/index.js +0 -48
- package/dist/repositories/deviceTypeFeature/index.js.map +0 -1
- package/dist/repositories/devices/addDeviceChangesHistory.js +0 -35
- package/dist/repositories/devices/addDeviceChangesHistory.js.map +0 -1
- package/dist/repositories/devices/allImeisAreActiveForClient.js +0 -30
- package/dist/repositories/devices/allImeisAreActiveForClient.js.map +0 -1
- package/dist/repositories/devices/createClientDeviceSetting.js +0 -27
- package/dist/repositories/devices/createClientDeviceSetting.js.map +0 -1
- package/dist/repositories/devices/createDevice.js +0 -31
- package/dist/repositories/devices/createDevice.js.map +0 -1
- package/dist/repositories/devices/createDeviceReplacement.js +0 -35
- package/dist/repositories/devices/createDeviceReplacement.js.map +0 -1
- package/dist/repositories/devices/createDeviceType.js +0 -16
- package/dist/repositories/devices/createDeviceType.js.map +0 -1
- package/dist/repositories/devices/createImeiIccidCarrier.js +0 -19
- package/dist/repositories/devices/createImeiIccidCarrier.js.map +0 -1
- package/dist/repositories/devices/deleteDevice.js +0 -17
- package/dist/repositories/devices/deleteDevice.js.map +0 -1
- package/dist/repositories/devices/generateDeviceIdentifierKey.js +0 -19
- package/dist/repositories/devices/generateDeviceIdentifierKey.js.map +0 -1
- package/dist/repositories/devices/getCanceledDevicesWithActiveSimCards.js +0 -50
- package/dist/repositories/devices/getCanceledDevicesWithActiveSimCards.js.map +0 -1
- package/dist/repositories/devices/getCarrierStatusUpdatedBefore.js +0 -46
- package/dist/repositories/devices/getCarrierStatusUpdatedBefore.js.map +0 -1
- package/dist/repositories/devices/getClientDeviceSetting.js +0 -26
- package/dist/repositories/devices/getClientDeviceSetting.js.map +0 -1
- package/dist/repositories/devices/getClientDeviceSettings.js +0 -23
- package/dist/repositories/devices/getClientDeviceSettings.js.map +0 -1
- package/dist/repositories/devices/getDevice.js +0 -39
- package/dist/repositories/devices/getDevice.js.map +0 -1
- package/dist/repositories/devices/getDeviceChangesHistory.js +0 -28
- package/dist/repositories/devices/getDeviceChangesHistory.js.map +0 -1
- package/dist/repositories/devices/getDeviceChangesHistoryAssignedToValuesByClient.js +0 -24
- package/dist/repositories/devices/getDeviceChangesHistoryAssignedToValuesByClient.js.map +0 -1
- package/dist/repositories/devices/getDeviceCustomConfig.js +0 -43
- package/dist/repositories/devices/getDeviceCustomConfig.js.map +0 -1
- package/dist/repositories/devices/getDeviceTypeByImei.js +0 -24
- package/dist/repositories/devices/getDeviceTypeByImei.js.map +0 -1
- package/dist/repositories/devices/getDeviceTypes.js +0 -53
- package/dist/repositories/devices/getDeviceTypes.js.map +0 -1
- package/dist/repositories/devices/getDeviceTypesModelsOrderedByDeviceCount.js +0 -33
- package/dist/repositories/devices/getDeviceTypesModelsOrderedByDeviceCount.js.map +0 -1
- package/dist/repositories/devices/getDeviceWithUsersInfo.js +0 -57
- package/dist/repositories/devices/getDeviceWithUsersInfo.js.map +0 -1
- package/dist/repositories/devices/getDevices.js +0 -95
- package/dist/repositories/devices/getDevices.js.map +0 -1
- package/dist/repositories/devices/getDevicesCountByStatus.js +0 -34
- package/dist/repositories/devices/getDevicesCountByStatus.js.map +0 -1
- package/dist/repositories/devices/getFilteredImeisWithStatus.js +0 -26
- package/dist/repositories/devices/getFilteredImeisWithStatus.js.map +0 -1
- package/dist/repositories/devices/getIccidStatus.js +0 -23
- package/dist/repositories/devices/getIccidStatus.js.map +0 -1
- package/dist/repositories/devices/getImeiIccidCarrier.js +0 -32
- package/dist/repositories/devices/getImeiIccidCarrier.js.map +0 -1
- package/dist/repositories/devices/getImeiIccidCarriers.js +0 -26
- package/dist/repositories/devices/getImeiIccidCarriers.js.map +0 -1
- package/dist/repositories/devices/getServiceProviderProduct.js +0 -23
- package/dist/repositories/devices/getServiceProviderProduct.js.map +0 -1
- package/dist/repositories/devices/index.js +0 -563
- package/dist/repositories/devices/index.js.map +0 -1
- package/dist/repositories/devices/updateClientDeviceSetting.js +0 -41
- package/dist/repositories/devices/updateClientDeviceSetting.js.map +0 -1
- package/dist/repositories/devices/updateDevice.js +0 -47
- package/dist/repositories/devices/updateDevice.js.map +0 -1
- package/dist/repositories/devices/updateDeviceType.js +0 -44
- package/dist/repositories/devices/updateDeviceType.js.map +0 -1
- package/dist/repositories/devices/updateIccidStatus.js +0 -29
- package/dist/repositories/devices/updateIccidStatus.js.map +0 -1
- package/dist/repositories/devices/updateImeiIccidCarrier.js +0 -44
- package/dist/repositories/devices/updateImeiIccidCarrier.js.map +0 -1
- package/dist/repositories/devices/upsertDeviceCustomConfig.js +0 -15
- package/dist/repositories/devices/upsertDeviceCustomConfig.js.map +0 -1
- package/dist/repositories/devices/upsertIccidStatus.js +0 -37
- package/dist/repositories/devices/upsertIccidStatus.js.map +0 -1
- package/dist/repositories/entityTags/bulkCreateEntityTag.js +0 -21
- package/dist/repositories/entityTags/bulkCreateEntityTag.js.map +0 -1
- package/dist/repositories/entityTags/bulkDeleteEntityTag.js +0 -28
- package/dist/repositories/entityTags/bulkDeleteEntityTag.js.map +0 -1
- package/dist/repositories/entityTags/createEntityTag.js +0 -20
- package/dist/repositories/entityTags/createEntityTag.js.map +0 -1
- package/dist/repositories/entityTags/deleteEntityTag.js +0 -22
- package/dist/repositories/entityTags/deleteEntityTag.js.map +0 -1
- package/dist/repositories/entityTags/deleteEntityTagById.js +0 -13
- package/dist/repositories/entityTags/deleteEntityTagById.js.map +0 -1
- package/dist/repositories/entityTags/enforceEntityTagsByEntity.js +0 -38
- package/dist/repositories/entityTags/enforceEntityTagsByEntity.js.map +0 -1
- package/dist/repositories/entityTags/getEntityTagById.js +0 -23
- package/dist/repositories/entityTags/getEntityTagById.js.map +0 -1
- package/dist/repositories/entityTags/index.js +0 -104
- package/dist/repositories/entityTags/index.js.map +0 -1
- package/dist/repositories/entityTags/searchEntityTags.js +0 -46
- package/dist/repositories/entityTags/searchEntityTags.js.map +0 -1
- package/dist/repositories/features/createFeature.js +0 -21
- package/dist/repositories/features/createFeature.js.map +0 -1
- package/dist/repositories/features/deleteFeature.js +0 -17
- package/dist/repositories/features/deleteFeature.js.map +0 -1
- package/dist/repositories/features/getFeatures.js +0 -25
- package/dist/repositories/features/getFeatures.js.map +0 -1
- package/dist/repositories/features/index.js +0 -61
- package/dist/repositories/features/index.js.map +0 -1
- package/dist/repositories/features/upsertFeature.js +0 -23
- package/dist/repositories/features/upsertFeature.js.map +0 -1
- package/dist/repositories/firmwares/createDeviceFirmware.js +0 -38
- package/dist/repositories/firmwares/createDeviceFirmware.js.map +0 -1
- package/dist/repositories/firmwares/createFirmwareAutoUpgradeBlacklist.js +0 -17
- package/dist/repositories/firmwares/createFirmwareAutoUpgradeBlacklist.js.map +0 -1
- package/dist/repositories/firmwares/createFirmwareUpgradeTask.js +0 -37
- package/dist/repositories/firmwares/createFirmwareUpgradeTask.js.map +0 -1
- package/dist/repositories/firmwares/getDeviceFirmwares.js +0 -29
- package/dist/repositories/firmwares/getDeviceFirmwares.js.map +0 -1
- package/dist/repositories/firmwares/getFirmwareAutoUpgradeBlacklist.js +0 -29
- package/dist/repositories/firmwares/getFirmwareAutoUpgradeBlacklist.js.map +0 -1
- package/dist/repositories/firmwares/getFirmwareUpgradeTasks.js +0 -111
- package/dist/repositories/firmwares/getFirmwareUpgradeTasks.js.map +0 -1
- package/dist/repositories/firmwares/getFirmwareUpgradeTasksCount.js +0 -62
- package/dist/repositories/firmwares/getFirmwareUpgradeTasksCount.js.map +0 -1
- package/dist/repositories/firmwares/index.js +0 -195
- package/dist/repositories/firmwares/index.js.map +0 -1
- package/dist/repositories/firmwares/updateDeviceFirmware.js +0 -42
- package/dist/repositories/firmwares/updateDeviceFirmware.js.map +0 -1
- package/dist/repositories/firmwares/updateFirmwareUpgradeTasks.js +0 -38
- package/dist/repositories/firmwares/updateFirmwareUpgradeTasks.js.map +0 -1
- package/dist/repositories/index.js +0 -43
- package/dist/repositories/index.js.map +0 -1
- package/dist/repositories/latestUserAppInfo/getLatestUserAppInfo.js +0 -27
- package/dist/repositories/latestUserAppInfo/getLatestUserAppInfo.js.map +0 -1
- package/dist/repositories/latestUserAppInfo/index.js +0 -37
- package/dist/repositories/latestUserAppInfo/index.js.map +0 -1
- package/dist/repositories/latestUserAppInfo/upsertLatestUserAppInfo.js +0 -29
- package/dist/repositories/latestUserAppInfo/upsertLatestUserAppInfo.js.map +0 -1
- package/dist/repositories/notificationRecipients/createNotificationRecipient.js +0 -39
- package/dist/repositories/notificationRecipients/createNotificationRecipient.js.map +0 -1
- package/dist/repositories/notificationRecipients/deleteNotificationRecipients.js +0 -32
- package/dist/repositories/notificationRecipients/deleteNotificationRecipients.js.map +0 -1
- package/dist/repositories/notificationRecipients/deleteNotificationRecipientsByEmailOrPhone.js +0 -29
- package/dist/repositories/notificationRecipients/deleteNotificationRecipientsByEmailOrPhone.js.map +0 -1
- package/dist/repositories/notificationRecipients/getNotificationRecipients.js +0 -36
- package/dist/repositories/notificationRecipients/getNotificationRecipients.js.map +0 -1
- package/dist/repositories/notificationRecipients/index.js +0 -132
- package/dist/repositories/notificationRecipients/index.js.map +0 -1
- package/dist/repositories/notificationRecipients/updateNotificationRecipient.js +0 -38
- package/dist/repositories/notificationRecipients/updateNotificationRecipient.js.map +0 -1
- package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsubscribedInfoStatus.js +0 -99
- package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsubscribedInfoStatus.js.map +0 -1
- package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsuscribedStatus.js +0 -36
- package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsuscribedStatus.js.map +0 -1
- package/dist/repositories/positions/createPosition.js +0 -103
- package/dist/repositories/positions/createPosition.js.map +0 -1
- package/dist/repositories/positions/getBatteryReportForDevice.js +0 -47
- package/dist/repositories/positions/getBatteryReportForDevice.js.map +0 -1
- package/dist/repositories/positions/getLatestPositionByImei.js +0 -33
- package/dist/repositories/positions/getLatestPositionByImei.js.map +0 -1
- package/dist/repositories/positions/getPositionsByImei.js +0 -30
- package/dist/repositories/positions/getPositionsByImei.js.map +0 -1
- package/dist/repositories/positions/getPositionsReportByClient.js +0 -96
- package/dist/repositories/positions/getPositionsReportByClient.js.map +0 -1
- package/dist/repositories/positions/index.js +0 -110
- package/dist/repositories/positions/index.js.map +0 -1
- package/dist/repositories/positions/mapping/mapToPositionReport.js +0 -21
- package/dist/repositories/positions/mapping/mapToPositionReport.js.map +0 -1
- package/dist/repositories/positions/upsertLatestPosition.js +0 -42
- package/dist/repositories/positions/upsertLatestPosition.js.map +0 -1
- package/dist/repositories/promotions/bulkInsertDeviceTypePromotion.js +0 -15
- package/dist/repositories/promotions/bulkInsertDeviceTypePromotion.js.map +0 -1
- package/dist/repositories/promotions/bulkInsertMarketplacePromotion.js +0 -15
- package/dist/repositories/promotions/bulkInsertMarketplacePromotion.js.map +0 -1
- package/dist/repositories/promotions/createPromotion.js +0 -30
- package/dist/repositories/promotions/createPromotion.js.map +0 -1
- package/dist/repositories/promotions/createPromotionHistory.js +0 -18
- package/dist/repositories/promotions/createPromotionHistory.js.map +0 -1
- package/dist/repositories/promotions/deleteDeviceTypePromotion.js +0 -22
- package/dist/repositories/promotions/deleteDeviceTypePromotion.js.map +0 -1
- package/dist/repositories/promotions/deleteMarketplacePromotion.js +0 -24
- package/dist/repositories/promotions/deleteMarketplacePromotion.js.map +0 -1
- package/dist/repositories/promotions/getDeviceTypePromotion.js +0 -28
- package/dist/repositories/promotions/getDeviceTypePromotion.js.map +0 -1
- package/dist/repositories/promotions/getMarketplacePromotion.js +0 -28
- package/dist/repositories/promotions/getMarketplacePromotion.js.map +0 -1
- package/dist/repositories/promotions/getPromotions.js +0 -64
- package/dist/repositories/promotions/getPromotions.js.map +0 -1
- package/dist/repositories/promotions/index.js +0 -140
- package/dist/repositories/promotions/index.js.map +0 -1
- package/dist/repositories/promotions/promotionValidator.js +0 -17
- package/dist/repositories/promotions/promotionValidator.js.map +0 -1
- package/dist/repositories/promotions/updatePromotion.js +0 -36
- package/dist/repositories/promotions/updatePromotion.js.map +0 -1
- package/dist/repositories/security/bulkCreateUserAuthorizedBoundaries.js +0 -19
- package/dist/repositories/security/bulkCreateUserAuthorizedBoundaries.js.map +0 -1
- package/dist/repositories/security/bulkCreateUserAuthorizedDevices.js +0 -19
- package/dist/repositories/security/bulkCreateUserAuthorizedDevices.js.map +0 -1
- package/dist/repositories/security/bulkRemoveUserAuthorizedBoundaries.js +0 -22
- package/dist/repositories/security/bulkRemoveUserAuthorizedBoundaries.js.map +0 -1
- package/dist/repositories/security/bulkRemoveUserAuthorizedDevices.js +0 -22
- package/dist/repositories/security/bulkRemoveUserAuthorizedDevices.js.map +0 -1
- package/dist/repositories/security/createUserRole.js +0 -31
- package/dist/repositories/security/createUserRole.js.map +0 -1
- package/dist/repositories/security/getAllRoles.js +0 -19
- package/dist/repositories/security/getAllRoles.js.map +0 -1
- package/dist/repositories/security/getAuthorizedBoundariesByUserId.js +0 -23
- package/dist/repositories/security/getAuthorizedBoundariesByUserId.js.map +0 -1
- package/dist/repositories/security/getAuthorizedDevicesByUserId.js +0 -26
- package/dist/repositories/security/getAuthorizedDevicesByUserId.js.map +0 -1
- package/dist/repositories/security/getUserRoles.js +0 -24
- package/dist/repositories/security/getUserRoles.js.map +0 -1
- package/dist/repositories/security/getUserRolesByClientId.js +0 -26
- package/dist/repositories/security/getUserRolesByClientId.js.map +0 -1
- package/dist/repositories/security/index.js +0 -160
- package/dist/repositories/security/index.js.map +0 -1
- package/dist/repositories/security/removeUserRoles.js +0 -22
- package/dist/repositories/security/removeUserRoles.js.map +0 -1
- package/dist/repositories/security/updateUserRole.js +0 -28
- package/dist/repositories/security/updateUserRole.js.map +0 -1
- package/dist/repositories/security/userIsAdminOrOwner.js +0 -26
- package/dist/repositories/security/userIsAdminOrOwner.js.map +0 -1
- package/dist/repositories/security/userIsInRole.js +0 -23
- package/dist/repositories/security/userIsInRole.js.map +0 -1
- package/dist/repositories/tags/bulkCreateTags.js +0 -25
- package/dist/repositories/tags/bulkCreateTags.js.map +0 -1
- package/dist/repositories/tags/createTag.js +0 -21
- package/dist/repositories/tags/createTag.js.map +0 -1
- package/dist/repositories/tags/deleteTag.js +0 -20
- package/dist/repositories/tags/deleteTag.js.map +0 -1
- package/dist/repositories/tags/index.js +0 -83
- package/dist/repositories/tags/index.js.map +0 -1
- package/dist/repositories/tags/searchTags.js +0 -44
- package/dist/repositories/tags/searchTags.js.map +0 -1
- package/dist/repositories/tags/searchTagsByUser.js +0 -46
- package/dist/repositories/tags/searchTagsByUser.js.map +0 -1
- package/dist/repositories/tags/updateTag.js +0 -32
- package/dist/repositories/tags/updateTag.js.map +0 -1
- package/dist/repositories/tasks/addTaskScheduleDevices.js +0 -38
- package/dist/repositories/tasks/addTaskScheduleDevices.js.map +0 -1
- package/dist/repositories/tasks/completeTask.js +0 -35
- package/dist/repositories/tasks/completeTask.js.map +0 -1
- package/dist/repositories/tasks/createTask.js +0 -23
- package/dist/repositories/tasks/createTask.js.map +0 -1
- package/dist/repositories/tasks/createTaskSchedule.js +0 -34
- package/dist/repositories/tasks/createTaskSchedule.js.map +0 -1
- package/dist/repositories/tasks/deleteTask.js +0 -23
- package/dist/repositories/tasks/deleteTask.js.map +0 -1
- package/dist/repositories/tasks/deleteTaskSchedule.js +0 -23
- package/dist/repositories/tasks/deleteTaskSchedule.js.map +0 -1
- package/dist/repositories/tasks/deleteTaskScheduleDevices.js +0 -18
- package/dist/repositories/tasks/deleteTaskScheduleDevices.js.map +0 -1
- package/dist/repositories/tasks/getDeviceTasks.js +0 -34
- package/dist/repositories/tasks/getDeviceTasks.js.map +0 -1
- package/dist/repositories/tasks/getTaskSchedule.js +0 -43
- package/dist/repositories/tasks/getTaskSchedule.js.map +0 -1
- package/dist/repositories/tasks/getTaskSchedules.js +0 -105
- package/dist/repositories/tasks/getTaskSchedules.js.map +0 -1
- package/dist/repositories/tasks/getTaskSchedulesCount.js +0 -42
- package/dist/repositories/tasks/getTaskSchedulesCount.js.map +0 -1
- package/dist/repositories/tasks/getTasks.js +0 -94
- package/dist/repositories/tasks/getTasks.js.map +0 -1
- package/dist/repositories/tasks/getTasksCount.js +0 -36
- package/dist/repositories/tasks/getTasksCount.js.map +0 -1
- package/dist/repositories/tasks/index.js +0 -444
- package/dist/repositories/tasks/index.js.map +0 -1
- package/dist/repositories/tasks/setTaskAsPastDue.js +0 -24
- package/dist/repositories/tasks/setTaskAsPastDue.js.map +0 -1
- package/dist/repositories/tasks/setTaskScheduleDevices.js +0 -44
- package/dist/repositories/tasks/setTaskScheduleDevices.js.map +0 -1
- package/dist/repositories/tasks/updateTask.js +0 -22
- package/dist/repositories/tasks/updateTask.js.map +0 -1
- package/dist/repositories/tasks/updateTaskSchedule.js +0 -36
- package/dist/repositories/tasks/updateTaskSchedule.js.map +0 -1
- package/dist/repositories/trips/createTrip.js +0 -30
- package/dist/repositories/trips/createTrip.js.map +0 -1
- package/dist/repositories/trips/getDeviceTripConfiguration.js +0 -52
- package/dist/repositories/trips/getDeviceTripConfiguration.js.map +0 -1
- package/dist/repositories/trips/getTripById.js +0 -22
- package/dist/repositories/trips/getTripById.js.map +0 -1
- package/dist/repositories/trips/getTrips.js +0 -125
- package/dist/repositories/trips/getTrips.js.map +0 -1
- package/dist/repositories/trips/index.js +0 -78
- package/dist/repositories/trips/index.js.map +0 -1
- package/dist/repositories/trips/updateTripEndValues.js +0 -37
- package/dist/repositories/trips/updateTripEndValues.js.map +0 -1
- package/dist/repositories/trips/upsertTrip.js +0 -32
- package/dist/repositories/trips/upsertTrip.js.map +0 -1
- package/dist/repositories/userActivations/createUserActivation.js +0 -27
- package/dist/repositories/userActivations/createUserActivation.js.map +0 -1
- package/dist/repositories/userActivations/createUserActivationDevice.js +0 -36
- package/dist/repositories/userActivations/createUserActivationDevice.js.map +0 -1
- package/dist/repositories/userActivations/createUserActivationEvent.js +0 -35
- package/dist/repositories/userActivations/createUserActivationEvent.js.map +0 -1
- package/dist/repositories/userActivations/createUserActivationMetric.js +0 -29
- package/dist/repositories/userActivations/createUserActivationMetric.js.map +0 -1
- package/dist/repositories/userActivations/deleteUserActivation.js +0 -23
- package/dist/repositories/userActivations/deleteUserActivation.js.map +0 -1
- package/dist/repositories/userActivations/getLastActivationDevice.js +0 -32
- package/dist/repositories/userActivations/getLastActivationDevice.js.map +0 -1
- package/dist/repositories/userActivations/getUserActivationById.js +0 -22
- package/dist/repositories/userActivations/getUserActivationById.js.map +0 -1
- package/dist/repositories/userActivations/getUserActivationDevices.js +0 -30
- package/dist/repositories/userActivations/getUserActivationDevices.js.map +0 -1
- package/dist/repositories/userActivations/getUserActivationDevicesByClientId.js +0 -31
- package/dist/repositories/userActivations/getUserActivationDevicesByClientId.js.map +0 -1
- package/dist/repositories/userActivations/getUserActivationMetrics.js +0 -30
- package/dist/repositories/userActivations/getUserActivationMetrics.js.map +0 -1
- package/dist/repositories/userActivations/getUserActivations.js +0 -35
- package/dist/repositories/userActivations/getUserActivations.js.map +0 -1
- package/dist/repositories/userActivations/index.js +0 -238
- package/dist/repositories/userActivations/index.js.map +0 -1
- package/dist/repositories/userActivations/updateUserActivationDevice.js +0 -40
- package/dist/repositories/userActivations/updateUserActivationDevice.js.map +0 -1
- package/dist/repositories/userActivations/updateUserActivationMetrics.js +0 -62
- package/dist/repositories/userActivations/updateUserActivationMetrics.js.map +0 -1
- package/dist/repositories/userAppFeedback/createUserAppFeedback.js +0 -27
- package/dist/repositories/userAppFeedback/createUserAppFeedback.js.map +0 -1
- package/dist/repositories/userAppFeedback/index.js +0 -24
- package/dist/repositories/userAppFeedback/index.js.map +0 -1
- package/dist/repositories/userAppIncidents/getUserAppIncidents.js +0 -34
- package/dist/repositories/userAppIncidents/getUserAppIncidents.js.map +0 -1
- package/dist/repositories/userAppIncidents/index.js +0 -64
- package/dist/repositories/userAppIncidents/index.js.map +0 -1
- package/dist/repositories/userAppIncidents/upsertUserAppIncident.js +0 -54
- package/dist/repositories/userAppIncidents/upsertUserAppIncident.js.map +0 -1
- package/dist/repositories/userConfigurations/bulkCreateUserAlertConfigurations.js +0 -46
- package/dist/repositories/userConfigurations/bulkCreateUserAlertConfigurations.js.map +0 -1
- package/dist/repositories/userConfigurations/createUserAlertConfiguration.js +0 -34
- package/dist/repositories/userConfigurations/createUserAlertConfiguration.js.map +0 -1
- package/dist/repositories/userConfigurations/createUserConfiguration.js +0 -35
- package/dist/repositories/userConfigurations/createUserConfiguration.js.map +0 -1
- package/dist/repositories/userConfigurations/deleteUserAlertConfigurations.js +0 -30
- package/dist/repositories/userConfigurations/deleteUserAlertConfigurations.js.map +0 -1
- package/dist/repositories/userConfigurations/deleteUserAlertNotificationsConfig.js +0 -30
- package/dist/repositories/userConfigurations/deleteUserAlertNotificationsConfig.js.map +0 -1
- package/dist/repositories/userConfigurations/deleteUserConfiguration.js +0 -24
- package/dist/repositories/userConfigurations/deleteUserConfiguration.js.map +0 -1
- package/dist/repositories/userConfigurations/getUserAlertConfigurations.js +0 -34
- package/dist/repositories/userConfigurations/getUserAlertConfigurations.js.map +0 -1
- package/dist/repositories/userConfigurations/getUserAlertNotificationsConfig.js +0 -149
- package/dist/repositories/userConfigurations/getUserAlertNotificationsConfig.js.map +0 -1
- package/dist/repositories/userConfigurations/getUserConfigurations.js +0 -37
- package/dist/repositories/userConfigurations/getUserConfigurations.js.map +0 -1
- package/dist/repositories/userConfigurations/index.js +0 -261
- package/dist/repositories/userConfigurations/index.js.map +0 -1
- package/dist/repositories/userConfigurations/updateUserAlertConfigurations.js +0 -47
- package/dist/repositories/userConfigurations/updateUserAlertConfigurations.js.map +0 -1
- package/dist/repositories/userConfigurations/updateUserAlertConfigurationsByIds.js +0 -53
- package/dist/repositories/userConfigurations/updateUserAlertConfigurationsByIds.js.map +0 -1
- package/dist/repositories/userConfigurations/updateUserConfiguration.js +0 -50
- package/dist/repositories/userConfigurations/updateUserConfiguration.js.map +0 -1
- package/dist/repositories/userConfigurations/upsertUserAlertNotificationsConfig.js +0 -30
- package/dist/repositories/userConfigurations/upsertUserAlertNotificationsConfig.js.map +0 -1
- package/dist/repositories/userDataDeletionRequests/createUserDataDeletionRequest.js +0 -29
- package/dist/repositories/userDataDeletionRequests/createUserDataDeletionRequest.js.map +0 -1
- package/dist/repositories/userDataDeletionRequests/getUserDataDeletionRequest.js +0 -35
- package/dist/repositories/userDataDeletionRequests/getUserDataDeletionRequest.js.map +0 -1
- package/dist/repositories/userDataDeletionRequests/index.js +0 -67
- package/dist/repositories/userDataDeletionRequests/index.js.map +0 -1
- package/dist/repositories/userDataDeletionRequests/removeUserDataDeletionRequest.js +0 -18
- package/dist/repositories/userDataDeletionRequests/removeUserDataDeletionRequest.js.map +0 -1
- package/dist/repositories/userDataDeletionRequests/updateUserDataDeletionRequest.js +0 -39
- package/dist/repositories/userDataDeletionRequests/updateUserDataDeletionRequest.js.map +0 -1
- package/dist/repositories/userInvitations/createUserInvitation.js +0 -25
- package/dist/repositories/userInvitations/createUserInvitation.js.map +0 -1
- package/dist/repositories/userInvitations/getUserInvitationById.js +0 -28
- package/dist/repositories/userInvitations/getUserInvitationById.js.map +0 -1
- package/dist/repositories/userInvitations/getUserInvitations.js +0 -56
- package/dist/repositories/userInvitations/getUserInvitations.js.map +0 -1
- package/dist/repositories/userInvitations/index.js +0 -86
- package/dist/repositories/userInvitations/index.js.map +0 -1
- package/dist/repositories/userInvitations/updateUserInvitation.js +0 -51
- package/dist/repositories/userInvitations/updateUserInvitation.js.map +0 -1
- package/dist/repositories/userRatingRequests/createUserRatingRequest.js +0 -35
- package/dist/repositories/userRatingRequests/createUserRatingRequest.js.map +0 -1
- package/dist/repositories/userRatingRequests/getUserRatingRequests.js +0 -29
- package/dist/repositories/userRatingRequests/getUserRatingRequests.js.map +0 -1
- package/dist/repositories/userRatingRequests/index.js +0 -42
- package/dist/repositories/userRatingRequests/index.js.map +0 -1
- package/dist/repositories/userRegistrationAttempts/createUserRegistrationAttempt.js +0 -41
- package/dist/repositories/userRegistrationAttempts/createUserRegistrationAttempt.js.map +0 -1
- package/dist/repositories/userRegistrationAttempts/getUserRegistrationAttempts.js +0 -35
- package/dist/repositories/userRegistrationAttempts/getUserRegistrationAttempts.js.map +0 -1
- package/dist/repositories/userRegistrationAttempts/index.js +0 -71
- package/dist/repositories/userRegistrationAttempts/index.js.map +0 -1
- package/dist/repositories/userRegistrationAttempts/updateUserRegistrationAttempt.js +0 -41
- package/dist/repositories/userRegistrationAttempts/updateUserRegistrationAttempt.js.map +0 -1
- package/dist/repositories/users/createUser.js +0 -48
- package/dist/repositories/users/createUser.js.map +0 -1
- package/dist/repositories/users/deleteAccount.js +0 -99
- package/dist/repositories/users/deleteAccount.js.map +0 -1
- package/dist/repositories/users/deleteUser.js +0 -23
- package/dist/repositories/users/deleteUser.js.map +0 -1
- package/dist/repositories/users/getUserById.js +0 -42
- package/dist/repositories/users/getUserById.js.map +0 -1
- package/dist/repositories/users/getUserClientRelatedEntitiesCount.js +0 -64
- package/dist/repositories/users/getUserClientRelatedEntitiesCount.js.map +0 -1
- package/dist/repositories/users/getUserData.js +0 -70
- package/dist/repositories/users/getUserData.js.map +0 -1
- package/dist/repositories/users/getUserInfoWithAmazonDevicesInfo.js +0 -88
- package/dist/repositories/users/getUserInfoWithAmazonDevicesInfo.js.map +0 -1
- package/dist/repositories/users/getUsers.js +0 -102
- package/dist/repositories/users/getUsers.js.map +0 -1
- package/dist/repositories/users/getUsersConfigurationByImei.js +0 -31
- package/dist/repositories/users/getUsersConfigurationByImei.js.map +0 -1
- package/dist/repositories/users/getUsersIdByPhoneAndCountryCode.js +0 -27
- package/dist/repositories/users/getUsersIdByPhoneAndCountryCode.js.map +0 -1
- package/dist/repositories/users/getUsersInfoWithActivationInfo.js +0 -101
- package/dist/repositories/users/getUsersInfoWithActivationInfo.js.map +0 -1
- package/dist/repositories/users/getUsersInfoWithDevicesInfo.js +0 -59
- package/dist/repositories/users/getUsersInfoWithDevicesInfo.js.map +0 -1
- package/dist/repositories/users/getUsersWithRoles.js +0 -40
- package/dist/repositories/users/getUsersWithRoles.js.map +0 -1
- package/dist/repositories/users/index.js +0 -252
- package/dist/repositories/users/index.js.map +0 -1
- package/dist/repositories/users/updateUser.js +0 -110
- package/dist/repositories/users/updateUser.js.map +0 -1
- package/dist/subscribers/allEntitiesSubscriber.js +0 -53
- package/dist/subscribers/allEntitiesSubscriber.js.map +0 -1
- package/dist/subscribers/index.js +0 -3
- package/dist/subscribers/index.js.map +0 -1
- package/dist/types/acumatica.js +0 -2
- package/dist/types/acumatica.js.map +0 -1
- package/dist/types/aempToken.js +0 -2
- package/dist/types/aempToken.js.map +0 -1
- package/dist/types/alert.js +0 -2
- package/dist/types/alert.js.map +0 -1
- package/dist/types/alertTypes.js +0 -2
- package/dist/types/alertTypes.js.map +0 -1
- package/dist/types/appFeatures.js +0 -2
- package/dist/types/appFeatures.js.map +0 -1
- package/dist/types/billing.js +0 -2
- package/dist/types/billing.js.map +0 -1
- package/dist/types/blacklist.js +0 -2
- package/dist/types/blacklist.js.map +0 -1
- package/dist/types/bleMesh.js +0 -2
- package/dist/types/bleMesh.js.map +0 -1
- package/dist/types/bleMeshConfiguration.js +0 -2
- package/dist/types/bleMeshConfiguration.js.map +0 -1
- package/dist/types/boundaries.js +0 -2
- package/dist/types/boundaries.js.map +0 -1
- package/dist/types/clientAlertConfiguration.js +0 -2
- package/dist/types/clientAlertConfiguration.js.map +0 -1
- package/dist/types/clients.js +0 -35
- package/dist/types/clients.js.map +0 -1
- package/dist/types/common.js +0 -2
- package/dist/types/common.js.map +0 -1
- package/dist/types/countries.js +0 -2
- package/dist/types/countries.js.map +0 -1
- package/dist/types/dataExports.js +0 -2
- package/dist/types/dataExports.js.map +0 -1
- package/dist/types/deactivations.js +0 -2
- package/dist/types/deactivations.js.map +0 -1
- package/dist/types/deviceBehaviors.js +0 -2
- package/dist/types/deviceBehaviors.js.map +0 -1
- package/dist/types/devicePairings.js +0 -2
- package/dist/types/devicePairings.js.map +0 -1
- package/dist/types/deviceStatus.js +0 -2
- package/dist/types/deviceStatus.js.map +0 -1
- package/dist/types/deviceTypeFeature.js +0 -4
- package/dist/types/deviceTypeFeature.js.map +0 -1
- package/dist/types/devices.js +0 -25
- package/dist/types/devices.js.map +0 -1
- package/dist/types/entitiesTags.js +0 -26
- package/dist/types/entitiesTags.js.map +0 -1
- package/dist/types/enums.js +0 -109
- package/dist/types/enums.js.map +0 -1
- package/dist/types/feature.js +0 -3
- package/dist/types/feature.js.map +0 -1
- package/dist/types/firmwares.js +0 -18
- package/dist/types/firmwares.js.map +0 -1
- package/dist/types/index.js +0 -39
- package/dist/types/index.js.map +0 -1
- package/dist/types/latestUserAppInfo.js +0 -2
- package/dist/types/latestUserAppInfo.js.map +0 -1
- package/dist/types/liveLinks.js +0 -2
- package/dist/types/liveLinks.js.map +0 -1
- package/dist/types/logger.js +0 -10
- package/dist/types/logger.js.map +0 -1
- package/dist/types/notificationRecipients.js +0 -2
- package/dist/types/notificationRecipients.js.map +0 -1
- package/dist/types/position.js +0 -2
- package/dist/types/position.js.map +0 -1
- package/dist/types/promotion.js +0 -42
- package/dist/types/promotion.js.map +0 -1
- package/dist/types/security.js +0 -4
- package/dist/types/security.js.map +0 -1
- package/dist/types/tag.js +0 -15
- package/dist/types/tag.js.map +0 -1
- package/dist/types/tasks.js +0 -2
- package/dist/types/tasks.js.map +0 -1
- package/dist/types/trip.js +0 -31
- package/dist/types/trip.js.map +0 -1
- package/dist/types/user.js +0 -2
- package/dist/types/user.js.map +0 -1
- package/dist/types/userActivations.js +0 -2
- package/dist/types/userActivations.js.map +0 -1
- package/dist/types/userAppFeedback.js +0 -2
- package/dist/types/userAppFeedback.js.map +0 -1
- package/dist/types/userAppIncidents.js +0 -2
- package/dist/types/userAppIncidents.js.map +0 -1
- package/dist/types/userConfigurations.js +0 -2
- package/dist/types/userConfigurations.js.map +0 -1
- package/dist/types/userDataDeletionRequests.js +0 -2
- package/dist/types/userDataDeletionRequests.js.map +0 -1
- package/dist/types/userInvitations.js +0 -2
- package/dist/types/userInvitations.js.map +0 -1
- package/dist/types/userRatingRequests.js +0 -2
- package/dist/types/userRatingRequests.js.map +0 -1
- package/dist/types/userRegistrationAttempts.js +0 -2
- package/dist/types/userRegistrationAttempts.js.map +0 -1
- package/dist/utils/anyAttributeHasValue.js +0 -21
- package/dist/utils/anyAttributeHasValue.js.map +0 -1
- package/dist/utils/billingPlansHelper.js +0 -50
- package/dist/utils/billingPlansHelper.js.map +0 -1
- package/dist/utils/boolToNumberTransformer.js +0 -24
- package/dist/utils/boolToNumberTransformer.js.map +0 -1
- package/dist/utils/commaSeparatedTransformer.js +0 -58
- package/dist/utils/commaSeparatedTransformer.js.map +0 -1
- package/dist/utils/consoleLogger.js +0 -43
- package/dist/utils/consoleLogger.js.map +0 -1
- package/dist/utils/dateTool.js +0 -9
- package/dist/utils/dateTool.js.map +0 -1
- package/dist/utils/filterTools.js +0 -300
- package/dist/utils/filterTools.js.map +0 -1
- package/dist/utils/mapRawEntityToEntity.js +0 -13
- package/dist/utils/mapRawEntityToEntity.js.map +0 -1
- package/dist/utils/paramsValidators.js +0 -17
- package/dist/utils/paramsValidators.js.map +0 -1
- package/dist/utils/parsingTools.js +0 -22
- package/dist/utils/parsingTools.js.map +0 -1
- package/dist/utils/queryLogger.js +0 -49
- package/dist/utils/queryLogger.js.map +0 -1
- package/dist/utils/randomizer.js +0 -40
- package/dist/utils/randomizer.js.map +0 -1
- package/dist/utils/stringToDateTransformer.js +0 -17
- package/dist/utils/stringToDateTransformer.js.map +0 -1
- package/dist/utils/uuidHelpers.js +0 -31
- package/dist/utils/uuidHelpers.js.map +0 -1
- package/dist/utils/uuidTransformer.js +0 -40
- package/dist/utils/uuidTransformer.js.map +0 -1
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { UserConfiguration } from '../../entities';
|
|
2
|
-
import { uuidStringToBinaryBuffer } from '../../utils/uuidHelpers';
|
|
3
|
-
export const getUserConfigurations = async (novaDataSource, params, logger) => {
|
|
4
|
-
// userId filter is required
|
|
5
|
-
if (!params?.filters?.clientId && !params?.filters?.userId) {
|
|
6
|
-
logger.warn({ params }, 'UserConfigurationsRepository::getUserConfigurations - missing required parameters');
|
|
7
|
-
return [];
|
|
8
|
-
}
|
|
9
|
-
const userIdBinaryBuffer = uuidStringToBinaryBuffer(params?.filters?.userId);
|
|
10
|
-
if (params?.filters?.userId && !userIdBinaryBuffer) {
|
|
11
|
-
logger.warn({ params }, 'UserConfigurationsRepository::getUserConfigurations - user id should be a valid UUID');
|
|
12
|
-
return [];
|
|
13
|
-
}
|
|
14
|
-
// Force the query to run on master or slave
|
|
15
|
-
const dbQueryRunner = novaDataSource.createQueryRunnerFromParams(params);
|
|
16
|
-
return novaDataSource.safeQuery(async (dataSource, queryRunner) => {
|
|
17
|
-
const userConfigurationsRepository = dataSource.getRepository(UserConfiguration);
|
|
18
|
-
let queryBuilder = userConfigurationsRepository.createQueryBuilder('userConfiguration');
|
|
19
|
-
if (queryRunner) {
|
|
20
|
-
queryBuilder.setQueryRunner(queryRunner);
|
|
21
|
-
}
|
|
22
|
-
if (params.filters.clientId) {
|
|
23
|
-
queryBuilder = queryBuilder.innerJoin('userConfiguration.user', 'user');
|
|
24
|
-
queryBuilder = queryBuilder.andWhere('user.clientId = :clientId', {
|
|
25
|
-
clientId: params.filters.clientId,
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
if (userIdBinaryBuffer) {
|
|
29
|
-
queryBuilder = queryBuilder.andWhere('userConfiguration.userId = :userId', {
|
|
30
|
-
userId: userIdBinaryBuffer,
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
const result = await queryBuilder.getMany();
|
|
34
|
-
return result;
|
|
35
|
-
}, 'UserConfigurationsRepository::getUserConfigurations', dbQueryRunner);
|
|
36
|
-
};
|
|
37
|
-
//# sourceMappingURL=getUserConfigurations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getUserConfigurations.js","sourceRoot":"","sources":["../../../src/repositories/userConfigurations/getUserConfigurations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAIlD,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AAElE,MAAM,CAAC,MAAM,qBAAqB,GAAG,KAAK,EACxC,cAA8B,EAC9B,MAAmC,EACnC,MAAc,EACgB,EAAE;IAChC,4BAA4B;IAC5B,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,MA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f,CAAC,EACD,qDAAqD,EACrD,aAAa,CACd,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1,261 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { BaseRepository } from '../baseRepository';
|
|
3
|
-
import { bulkCreateUserAlertConfigurations } from './bulkCreateUserAlertConfigurations';
|
|
4
|
-
import { createUserAlertConfiguration } from './createUserAlertConfiguration';
|
|
5
|
-
import { createUserConfiguration } from './createUserConfiguration';
|
|
6
|
-
import { deleteUserAlertConfigurations } from './deleteUserAlertConfigurations';
|
|
7
|
-
import { deleteUserAlertNotificationsConfig } from './deleteUserAlertNotificationsConfig';
|
|
8
|
-
import { deleteUserConfiguration } from './deleteUserConfiguration';
|
|
9
|
-
import { getUserAlertConfigurations } from './getUserAlertConfigurations';
|
|
10
|
-
import { getUserAlertNotificationsConfig } from './getUserAlertNotificationsConfig';
|
|
11
|
-
import { getUserConfigurations } from './getUserConfigurations';
|
|
12
|
-
import { updateUserAlertConfigurations } from './updateUserAlertConfigurations';
|
|
13
|
-
import { updateUserAlertConfigurationById } from './updateUserAlertConfigurationsByIds';
|
|
14
|
-
import { updateUserConfiguration } from './updateUserConfiguration';
|
|
15
|
-
import { upsertUserAlertNotificationsConfig } from './upsertUserAlertNotificationsConfig';
|
|
16
|
-
export class UserConfigurationsRepository extends BaseRepository {
|
|
17
|
-
/**
|
|
18
|
-
* Get user configurations
|
|
19
|
-
* @param {GetUserConfigurationsParams} params containing information to get user configurations
|
|
20
|
-
* - filters.clientId: The client id to obtain all user configurations from that client
|
|
21
|
-
* - filters.userId: The user id to obtain all user configurations from that user
|
|
22
|
-
* @returns The user configurations
|
|
23
|
-
*/
|
|
24
|
-
async getUserConfigurations(params) {
|
|
25
|
-
this.logger.trace(params, 'UserConfigurationsRepository::getUserConfigurations started with params');
|
|
26
|
-
const novaDataSource = new NovaDataSource(this.novaDataSourceConfig, this.logger, this.replicaNovaDataSourceConfig);
|
|
27
|
-
const result = await getUserConfigurations(novaDataSource, params, this.logger);
|
|
28
|
-
this.logger.trace(result, 'UserConfigurationsRepository::getUserConfigurations result');
|
|
29
|
-
return result;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Create user configuration
|
|
33
|
-
* @param {CreateUserConfigurationParams} params containing information to create a user configuration
|
|
34
|
-
* - id: The user configuration id, optional. If not provided, it will be generated
|
|
35
|
-
* - userId: The user id, required
|
|
36
|
-
* - isMetric: Whether is metric, required
|
|
37
|
-
* - timezone: The user timezone, optional
|
|
38
|
-
* - defaultMapLayer: The user default map layer, optional
|
|
39
|
-
* - speedUnits: The user speed units, optional
|
|
40
|
-
* - distanceUnits: The user distance units, optional
|
|
41
|
-
* - alertsNotificationsOn: The user alerts notifications on, optional. If not provided, it will be true
|
|
42
|
-
* - dataSourceTypeId: The user data source type id, optional
|
|
43
|
-
* - homepage: The user homepage, optional
|
|
44
|
-
* - temperatureUnits: The user temperature units, optional
|
|
45
|
-
* - addressFormat: The user address format, optional
|
|
46
|
-
* @returns The created user configuration
|
|
47
|
-
*/
|
|
48
|
-
async createUserConfiguration(params) {
|
|
49
|
-
this.logger.trace(params, 'UserConfigurationsRepository::createUserConfiguration started with params');
|
|
50
|
-
const novaDataSource = new NovaDataSource(this.novaDataSourceConfig, this.logger, this.replicaNovaDataSourceConfig);
|
|
51
|
-
const result = await createUserConfiguration(novaDataSource, params, this.logger);
|
|
52
|
-
this.logger.trace(result, 'UserConfigurationsRepository::createUserConfiguration result');
|
|
53
|
-
return result;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Update user configuration
|
|
57
|
-
* @param {UpdateUserConfigurationParams} params containing information to update a user configuration
|
|
58
|
-
* Filters:
|
|
59
|
-
* - filters.userId: The user id to update the user configuration, required
|
|
60
|
-
* Values:
|
|
61
|
-
* One of the following values is required
|
|
62
|
-
* - values.timezone: The user timezone, optional
|
|
63
|
-
* - values.defaultMapLayer: The user default map layer, optional
|
|
64
|
-
* - values.speedUnits: The user speed units, optional
|
|
65
|
-
* - values.distanceUnits: The user distance units, optional
|
|
66
|
-
* - values.alertsNotificationsOn: The user alerts notifications on, optional
|
|
67
|
-
* - values.dataSourceTypeId: The user data source type id, optional
|
|
68
|
-
* - values.homepage: The user homepage, optional
|
|
69
|
-
* - values.temperatureUnits: The user temperature units, optional
|
|
70
|
-
* - values.addressFormat: The user address format, optional
|
|
71
|
-
* @returns Whether the user configuration was updated
|
|
72
|
-
*/
|
|
73
|
-
async updateUserConfiguration(params) {
|
|
74
|
-
this.logger.trace(params, 'UserConfigurationsRepository::updateUserConfiguration started with params');
|
|
75
|
-
const novaDataSource = new NovaDataSource(this.novaDataSourceConfig, this.logger, this.replicaNovaDataSourceConfig);
|
|
76
|
-
const result = await updateUserConfiguration(novaDataSource, params, this.logger);
|
|
77
|
-
this.logger.trace({ result }, 'UserConfigurationsRepository::updateUserConfiguration result');
|
|
78
|
-
return result;
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* Delete user configuration
|
|
82
|
-
* @param {DeleteUserConfigurationParams} params containing information to delete a user configuration
|
|
83
|
-
* - filters.userId: The user id to delete the user configuration, required
|
|
84
|
-
* @returns Whether the user configuration was deleted
|
|
85
|
-
*/
|
|
86
|
-
async deleteUserConfiguration(params) {
|
|
87
|
-
this.logger.trace(params, 'UserConfigurationsRepository::deleteUserConfiguration started with params');
|
|
88
|
-
const novaDataSource = new NovaDataSource(this.novaDataSourceConfig, this.logger, this.replicaNovaDataSourceConfig);
|
|
89
|
-
const result = await deleteUserConfiguration(novaDataSource, params, this.logger);
|
|
90
|
-
this.logger.trace({ result }, 'UserConfigurationsRepository::deleteUserConfiguration result');
|
|
91
|
-
return result;
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* Get user alert configurations
|
|
95
|
-
* @param {GetUserAlertConfigurationsParams} params containing information to get user alert configurations
|
|
96
|
-
* - filters.userId: The user id to obtain all user alert configurations from that user, required
|
|
97
|
-
* - filters.includeBeta: Whether to include beta alert types, required
|
|
98
|
-
* @returns The user alert configurations
|
|
99
|
-
*/
|
|
100
|
-
async getUserAlertConfigurations(params) {
|
|
101
|
-
this.logger.trace(params, 'UserConfigurationsRepository::getUserAlertConfigurations started with params');
|
|
102
|
-
const novaDataSource = new NovaDataSource(this.novaDataSourceConfig, this.logger, this.replicaNovaDataSourceConfig);
|
|
103
|
-
const result = await getUserAlertConfigurations(novaDataSource, params, this.logger);
|
|
104
|
-
this.logger.trace(result, 'UserConfigurationsRepository::getUserAlertConfigurations result');
|
|
105
|
-
return result;
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Bulk create user alert configurations
|
|
109
|
-
* @param {BulkCreateUserAlertConfigurationsParams} params containing information to bulk create user alert configurations
|
|
110
|
-
* - alertConfigurations: The user alert configurations to create, required
|
|
111
|
-
* Each user alert configuration should contain:
|
|
112
|
-
* - id: The user alert configuration id, optional. If not provided, it will be generated
|
|
113
|
-
* - userId: The user id, required
|
|
114
|
-
* - alertTypeId: The alert type id, required
|
|
115
|
-
* - smsNotification: The user sms notification, optional
|
|
116
|
-
* - emailNotification: The user email notification, optional
|
|
117
|
-
* - appNotification: The user app notification, optional. If not provided, it will be true
|
|
118
|
-
* - pushNotification: The user push notification, optional. If not provided, it will be true
|
|
119
|
-
* - alertValue: The user alert value, optional
|
|
120
|
-
* - alertMetadata: The user alert metadata, optional
|
|
121
|
-
* @returns Whether the user alert configurations were created
|
|
122
|
-
*/
|
|
123
|
-
async bulkCreateUserAlertConfigurations(params) {
|
|
124
|
-
this.logger.trace(params, 'UserConfigurationsRepository::bulkCreateUserAlertConfigurations started with params');
|
|
125
|
-
const novaDataSource = new NovaDataSource(this.novaDataSourceConfig, this.logger, this.replicaNovaDataSourceConfig);
|
|
126
|
-
const result = await bulkCreateUserAlertConfigurations(novaDataSource, params, this.logger);
|
|
127
|
-
this.logger.trace({ result }, 'UserConfigurationsRepository::bulkCreateUserAlertConfigurations result');
|
|
128
|
-
return result;
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* Create user alert configuration
|
|
132
|
-
* @param {CreateUserAlertConfigurationParams} params containing information to bulk create user alert configurations
|
|
133
|
-
* - alertConfigurations: The user alert configurations to create, required
|
|
134
|
-
* Each user alert configuration should contain:
|
|
135
|
-
* - id: The user alert configuration id, optional. If not provided, it will be generated
|
|
136
|
-
* - userId: The user id, required
|
|
137
|
-
* - alertTypeId: The alert type id, required
|
|
138
|
-
* - smsNotification: The user sms notification, optional
|
|
139
|
-
* - emailNotification: The user email notification, optional
|
|
140
|
-
* - appNotification: The user app notification, optional. If not provided, it will be true
|
|
141
|
-
* - pushNotification: The user push notification, optional. If not provided, it will be true
|
|
142
|
-
* - alertValue: The user alert value, optional
|
|
143
|
-
* - alertMetadata: The user alert metadata, optional
|
|
144
|
-
* - createdBy: The user created by, optional
|
|
145
|
-
* - filter: The user filter, optional
|
|
146
|
-
* - name: The user name, optional
|
|
147
|
-
* - enabled: The user enabled, optional
|
|
148
|
-
* @returns Whether the user alert configurations were created
|
|
149
|
-
*/
|
|
150
|
-
async createUserAlertConfiguration(params) {
|
|
151
|
-
this.logger.trace(params, 'UserConfigurationsRepository::createUserAlertConfiguration started with params');
|
|
152
|
-
const novaDataSource = new NovaDataSource(this.novaDataSourceConfig, this.logger, this.replicaNovaDataSourceConfig);
|
|
153
|
-
const result = await createUserAlertConfiguration(novaDataSource, params, this.logger);
|
|
154
|
-
this.logger.trace({ result }, 'UserConfigurationsRepository::createUserAlertConfiguration result');
|
|
155
|
-
return result;
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* @deprecated Use updateUserAlertConfigurationById instead
|
|
159
|
-
* Update user alert configurations
|
|
160
|
-
* @param {UpdateUserAlertConfigurationsParams} params containing information to update user alert configurations
|
|
161
|
-
* Filters:
|
|
162
|
-
* - filters.userId: The user id to update the user alert configurations, required
|
|
163
|
-
* - filters.alertTypeId: The alert type id to update the user alert configurations, optional
|
|
164
|
-
* Values:
|
|
165
|
-
* One of the following values is required
|
|
166
|
-
* - values.smsNotification: The user sms notification, optional
|
|
167
|
-
* - values.emailNotification: The user email notification, optional
|
|
168
|
-
* - values.appNotification: The user app notification, optional
|
|
169
|
-
* - values.pushNotification: The user push notification, optional
|
|
170
|
-
* - values.alertValue: The user alert value, optional
|
|
171
|
-
* - values.alertMetadata: The user alert metadata, optional
|
|
172
|
-
* @returns Whether the user alert configurations were updated
|
|
173
|
-
*/
|
|
174
|
-
async updateUserAlertConfigurations(params) {
|
|
175
|
-
this.logger.trace(params, 'UserConfigurationsRepository::updateUserAlertConfigurations started with params');
|
|
176
|
-
const novaDataSource = new NovaDataSource(this.novaDataSourceConfig, this.logger, this.replicaNovaDataSourceConfig);
|
|
177
|
-
const result = await updateUserAlertConfigurations(novaDataSource, params, this.logger);
|
|
178
|
-
this.logger.trace({ result }, 'UserConfigurationsRepository::updateUserAlertConfigurations result');
|
|
179
|
-
return result;
|
|
180
|
-
}
|
|
181
|
-
/**
|
|
182
|
-
* Update user alert configurations
|
|
183
|
-
* @param {UpdateUserAlertConfigurationsParams} params containing information to update user alert configurations
|
|
184
|
-
* Filters:
|
|
185
|
-
* - filters.userId: The user id to update the user alert configurations, required
|
|
186
|
-
* - filters.userAlertConfigurationId: The user alert configuration id to update the user alert configurations, required
|
|
187
|
-
* Values:
|
|
188
|
-
* One of the following values is required
|
|
189
|
-
* - values.smsNotification: The user sms notification, optional
|
|
190
|
-
* - values.emailNotification: The user email notification, optional
|
|
191
|
-
* - values.appNotification: The user app notification, optional
|
|
192
|
-
* - values.pushNotification: The user push notification, optional
|
|
193
|
-
* - values.alertValue: The user alert value, optional
|
|
194
|
-
* - values.alertMetadata: The user alert metadata, optional
|
|
195
|
-
* - values.createdBy: The user created by, optional
|
|
196
|
-
* - values.filter: The user filter, optional
|
|
197
|
-
* - values.name: The user name, optional
|
|
198
|
-
* - values.enabled: The user enabled, optional
|
|
199
|
-
* @returns Whether the user alert configurations were updated
|
|
200
|
-
*/
|
|
201
|
-
async updateUserAlertConfigurationById(params) {
|
|
202
|
-
this.logger.trace(params, 'UserConfigurationsRepository::updateUserAlertConfigurationsByIds started with params');
|
|
203
|
-
const novaDataSource = new NovaDataSource(this.novaDataSourceConfig, this.logger, this.replicaNovaDataSourceConfig);
|
|
204
|
-
const result = await updateUserAlertConfigurationById(novaDataSource, params, this.logger);
|
|
205
|
-
this.logger.trace({ result }, 'UserConfigurationsRepository::updateUserAlertConfigurationsByIds result');
|
|
206
|
-
return result;
|
|
207
|
-
}
|
|
208
|
-
/**
|
|
209
|
-
* Delete user alert configurations
|
|
210
|
-
* @param {DeleteUserAlertConfigurationsParams} params containing information to delete user alert configurations
|
|
211
|
-
* - filters.userId: The user id to delete the user alert configurations, required
|
|
212
|
-
* @returns Whether the user alert configurations were deleted
|
|
213
|
-
*/
|
|
214
|
-
async deleteUserAlertConfigurations(params) {
|
|
215
|
-
this.logger.trace(params, 'UserConfigurationsRepository::deleteUserAlertConfigurations started with params');
|
|
216
|
-
const novaDataSource = new NovaDataSource(this.novaDataSourceConfig, this.logger, this.replicaNovaDataSourceConfig);
|
|
217
|
-
const result = await deleteUserAlertConfigurations(novaDataSource, params, this.logger);
|
|
218
|
-
this.logger.trace({ result }, 'UserConfigurationsRepository::deleteUserAlertConfigurations result');
|
|
219
|
-
return result;
|
|
220
|
-
}
|
|
221
|
-
/**
|
|
222
|
-
* Get user alert notifications config
|
|
223
|
-
* @param {GetUserAlertNotificationsConfigParams} params containing information to get user alert notifications config
|
|
224
|
-
* - filters.userId: The user id to obtain all user alert notifications config from that user, required
|
|
225
|
-
* @returns The user alert notifications config
|
|
226
|
-
*/
|
|
227
|
-
async getUserAlertNotificationsConfig(params) {
|
|
228
|
-
this.logger.trace(params, 'UserConfigurationsRepository::getUserAlertNotificationsConfig started with params');
|
|
229
|
-
const novaDataSource = new NovaDataSource(this.novaDataSourceConfig, this.logger, this.replicaNovaDataSourceConfig);
|
|
230
|
-
const result = await getUserAlertNotificationsConfig(novaDataSource, params, this.logger);
|
|
231
|
-
this.logger.trace({ result }, 'UserConfigurationsRepository::getUserAlertNotificationsConfig result');
|
|
232
|
-
return result;
|
|
233
|
-
}
|
|
234
|
-
/**
|
|
235
|
-
* Upsert user alert notifications config
|
|
236
|
-
* @param {UpsertUserAlertNotificationsConfigParams} params containing information to upsert user alert notifications config
|
|
237
|
-
* - id: The user alert notifications config id, optional. If not provided, it will be generated
|
|
238
|
-
* - clientAlertConfigurationId: The client alert configuration id, required
|
|
239
|
-
* - userId: The user id, required
|
|
240
|
-
* - smsNotification: The user sms notification, optional
|
|
241
|
-
* - emailNotification: The user email notification, optional
|
|
242
|
-
* - appNotification: The user app notification, optional. If not provided, it will be true
|
|
243
|
-
* - pushNotification: The user push notification, optional. If not provided, it will be true
|
|
244
|
-
* @returns Whether the user alert notifications config was upserted
|
|
245
|
-
*/
|
|
246
|
-
async upsertUserAlertNotificationsConfig(params) {
|
|
247
|
-
this.logger.trace(params, 'UserConfigurationsRepository::upsertUserAlertNotificationsConfig started with params');
|
|
248
|
-
const novaDataSource = new NovaDataSource(this.novaDataSourceConfig, this.logger, this.replicaNovaDataSourceConfig);
|
|
249
|
-
const result = await upsertUserAlertNotificationsConfig(novaDataSource, params, this.logger);
|
|
250
|
-
this.logger.trace({ result }, 'UserConfigurationsRepository::upsertUserAlertNotificationsConfig result');
|
|
251
|
-
return result;
|
|
252
|
-
}
|
|
253
|
-
deleteUserAlertNotificationsConfig = async (params) => {
|
|
254
|
-
this.logger.trace(params, 'UserConfigurationsRepository::deleteUserAlertNotificationsConfig started with params');
|
|
255
|
-
const novaDataSource = new NovaDataSource(this.novaDataSourceConfig, this.logger, this.replicaNovaDataSourceConfig);
|
|
256
|
-
const result = await deleteUserAlertNotificationsConfig(novaDataSource, params, this.logger);
|
|
257
|
-
this.logger.trace({ result }, 'UserConfigurationsRepository::deleteUserAlertNotificationsConfig result');
|
|
258
|
-
return result;
|
|
259
|
-
};
|
|
260
|
-
}
|
|
261
|
-
//# sourceMappingURL=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CAAA;IACf,CAAC;IAED;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,kCAAkC,CACtC,MAAgD;QAEhD,IAAI,CAAC,MAAM,CAAC,KAAK,CACf,MAAM,EACN,sFAAsF,CACvF,CAAA;QAED,MAAM,cAAc,GAAG,IAAI,cAAc,CACvC,IAAI,CAAC,oBAAoB,EACzB,IAAI,CAAC,MAAM,EACX,IAAI,CAAC,2BAA2B,CACjC,CAAA;QAED,MAAM,MAAM,GAAG,MAAM,kCAAkC,CAAC,cAAc,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,CAAA;QAE5F,IAAI,CAAC,MAAM,CAAC,KAAK,CACf,EAAE,MAAM,EAAE,EACV,yEAAyE,CAC1E,CAAA;QAED,OAAO,MAAM,CAAA;IACf,CAAC;IAED,kCAAkC,GAAG,KAAK,EACxC,MAAgD,EAC9B,EAAE;QACpB,IAAI,CAAC,MAAM,CAAC,KAAK,CACf,MAAM,EACN,sFAAsF,CACvF,CAAA;QAED,MAAM,cAAc,GAAG,IAAI,cAAc,CACvC,IAAI,CAAC,oBAAoB,EACzB,IAAI,CAAC,MAAM,EACX,IAAI,CAAC,2BAA2B,CACjC,CAAA;QAED,MAAM,MAAM,GAAG,MAAM,kCAAkC,CAAC,cAAc,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,CAAA;QAE5F,IAAI,CAAC,MAAM,CAAC,KAAK,CACf,EAAE,MAAM,EAAE,EACV,yEAAyE,CAC1E,CAAA;QAED,OAAO,MAAM,CAAA;IACf,CAAC,CAAA;CACF"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { UserAlertConfiguration } from '../../entities';
|
|
2
|
-
import { uuidStringToBinaryBuffer } from '../../utils/uuidHelpers';
|
|
3
|
-
export const updateUserAlertConfigurations = async (novaDataSource, params, logger) => {
|
|
4
|
-
// userId filter is required
|
|
5
|
-
if (!params?.filters?.userId) {
|
|
6
|
-
logger.warn({ params }, 'UserConfigurationsRepository::updateUserAlertConfigurations - missing required parameters');
|
|
7
|
-
return false;
|
|
8
|
-
}
|
|
9
|
-
const userIdBinaryBuffer = uuidStringToBinaryBuffer(params?.filters?.userId);
|
|
10
|
-
if (!userIdBinaryBuffer) {
|
|
11
|
-
logger.warn({ userId: params?.filters?.userId }, 'UserConfigurationsRepository::updateUserAlertConfigurations - user id should be a valid UUID');
|
|
12
|
-
return false;
|
|
13
|
-
}
|
|
14
|
-
// at least one field to update is required
|
|
15
|
-
if (params?.values?.smsNotification == null &&
|
|
16
|
-
params?.values?.emailNotification == null &&
|
|
17
|
-
params?.values?.appNotification == null &&
|
|
18
|
-
params?.values?.pushNotification == null &&
|
|
19
|
-
!params?.values?.alertValue &&
|
|
20
|
-
!params?.values?.alertMetadata) {
|
|
21
|
-
logger.warn({ params }, 'UserConfigurationsRepository::updateUserAlertConfigurations - missing required parameters');
|
|
22
|
-
return false;
|
|
23
|
-
}
|
|
24
|
-
return novaDataSource.safeQuery(async (dataSource) => {
|
|
25
|
-
const userAlertConfigurationsRepository = dataSource.getRepository(UserAlertConfiguration);
|
|
26
|
-
const queryBuilder = userAlertConfigurationsRepository
|
|
27
|
-
.createQueryBuilder()
|
|
28
|
-
.update(UserAlertConfiguration)
|
|
29
|
-
.set({
|
|
30
|
-
smsNotification: params?.values?.smsNotification,
|
|
31
|
-
emailNotification: params?.values?.emailNotification,
|
|
32
|
-
appNotification: params?.values?.appNotification,
|
|
33
|
-
pushNotification: params?.values?.pushNotification,
|
|
34
|
-
alertValue: params?.values?.alertValue,
|
|
35
|
-
alertMetadata: params?.values?.alertMetadata,
|
|
36
|
-
})
|
|
37
|
-
.where('userId = :userId', { userId: userIdBinaryBuffer });
|
|
38
|
-
if (params?.filters?.alertTypeId) {
|
|
39
|
-
queryBuilder.andWhere('alertTypeId = :alertTypeId', {
|
|
40
|
-
alertTypeId: params?.filters?.alertTypeId,
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
const result = await queryBuilder.execute();
|
|
44
|
-
return result.affected > 0;
|
|
45
|
-
}, 'UserConfigurationsRepository::updateUserAlertConfiguration');
|
|
46
|
-
};
|
|
47
|
-
//# sourceMappingURL=updateUserAlertConfigurations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updateUserAlertConfigurations.js","sourceRoot":"","sources":["../../../src/repositories/userConfigurations/updateUserAlertConfigurations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAA;AAIvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AAElE,MAAM,CAAC,MAAM,6BAA6B,GAAG,KAAK,EAChD,cAA8B,EAC9B,MAA2C,EAC3C,MAAc,EACI,EAAE;IACpB,4BAA4B;IAC5B,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE;QAC5B,MAAM,CAAC,IAAI,CACT,EAAE,MAAM,EAAE,EACV,2FAA2F,CAC5F,CAAA;QACD,OAAO,KAAK,CAAA;KACb;IAED,MAAM,kBAAkB,GAAG,wBAAwB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAA;IAE5E,IAAI,CAAC,kBAAkB,EAAE;QACvB,MAAM,CAAC,IAAI,CACT,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EACnC,8FAA8F,CAC/F,CAAA;QACD,OAAO,KAAK,CAAA;KACb;IAED,2CAA2C;IAC3C,IACE,MAAM,EAAE,MAAM,EAAE,eAAe,IAAI,IAAI;QACvC,MAAM,EAAE,MAAM,EAAE,iBAAiB,IAAI,IAAI;QACzC,MAAM,EAAE,MAAM,EAAE,eAAe,IAAI,IAAI;QACvC,MAAM,EAAE,MAAM,EAAE,gBAAgB,IAAI,IAAI;QACxC,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU;QAC3B,CAAC,MAAM,EAAE,MAAM,EAAE,aAAa,EAC9B;QACA,MAAM,CAAC,IAAI,CACT,EAAE,MAAM,EAAE,EACV,2FAA2F,CAC5F,CAAA;QACD,OAAO,KAAK,CAAA;KACb;IAED,OAAO,cAAc,CAAC,SAAS,CAAC,KAAK,EAAE,UAA0B,EAAoB,EAAE;QACrF,MAAM,iCAAiC,GAAG,UAAU,CAAC,aAAa,CAAC,sBAAsB,CAAC,CAAA;QAE1F,MAAM,YAAY,GAAG,iCAAiC;aACnD,kBAAkB,EAAE;aACpB,MAAM,CAAC,sBAAsB,CAAC;aAC9B,GAAG,CAAC;YACH,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe;YAChD,iBAAiB,EAAE,MAAM,EAAE,MAAM,EAAE,iBAAiB;YACpD,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe;YAChD,gBAAgB,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB;YAClD,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU;YACtC,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa;SAC7C,CAAC;aACD,KAAK,CAAC,kBAAkB,EAAE,EAAE,MAAM,EAAE,kBAAkB,EAAE,CAAC,CAAA;QAE5D,IAAI,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE;YAChC,YAAY,CAAC,QAAQ,CAAC,4BAA4B,EAAE;gBAClD,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW;aAC1C,CAAC,CAAA;SACH;QAED,MAAM,MAAM,GAAG,MAAM,YAAY,CAAC,OAAO,EAAE,CAAA;QAE3C,OAAO,MAAM,CAAC,QAAQ,GAAG,CAAC,CAAA;IAC5B,CAAC,EAAE,4DAA4D,CAAC,CAAA;AAClE,CAAC,CAAA"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { UserAlertConfiguration } from '../../entities';
|
|
2
|
-
import { uuidStringToBinaryBuffer } from '../../utils/uuidHelpers';
|
|
3
|
-
export const updateUserAlertConfigurationById = async (novaDataSource, params, logger) => {
|
|
4
|
-
// userId filter is required
|
|
5
|
-
if (!params?.filters?.userId && !params?.filters?.userAlertConfigurationId) {
|
|
6
|
-
logger.warn({ params }, 'UserConfigurationsRepository::updateUserAlertConfigurationsByIds - missing required parameters');
|
|
7
|
-
return false;
|
|
8
|
-
}
|
|
9
|
-
const userIdBinaryBuffer = uuidStringToBinaryBuffer(params?.filters?.userId);
|
|
10
|
-
if (!userIdBinaryBuffer) {
|
|
11
|
-
logger.warn({ userId: params?.filters?.userId }, 'UserConfigurationsRepository::updateUserAlertConfigurationsByIds - user id should be a valid UUID');
|
|
12
|
-
return false;
|
|
13
|
-
}
|
|
14
|
-
// at least one field to update is required
|
|
15
|
-
if (params?.values?.smsNotification == null &&
|
|
16
|
-
params?.values?.emailNotification == null &&
|
|
17
|
-
params?.values?.appNotification == null &&
|
|
18
|
-
params?.values?.pushNotification == null &&
|
|
19
|
-
params?.values?.enabled == null &&
|
|
20
|
-
!params?.values?.alertValue &&
|
|
21
|
-
!params?.values?.alertMetadata &&
|
|
22
|
-
!params?.values?.filter &&
|
|
23
|
-
!params?.values?.name &&
|
|
24
|
-
!params?.values?.createdBy) {
|
|
25
|
-
logger.warn({ params }, 'UserConfigurationsRepository::updateUserAlertConfigurationsByIds - missing required parameters');
|
|
26
|
-
return false;
|
|
27
|
-
}
|
|
28
|
-
return novaDataSource.safeQuery(async (dataSource) => {
|
|
29
|
-
const userAlertConfigurationsRepository = dataSource.getRepository(UserAlertConfiguration);
|
|
30
|
-
const queryBuilder = userAlertConfigurationsRepository
|
|
31
|
-
.createQueryBuilder()
|
|
32
|
-
.update(UserAlertConfiguration)
|
|
33
|
-
.set({
|
|
34
|
-
smsNotification: params?.values?.smsNotification,
|
|
35
|
-
emailNotification: params?.values?.emailNotification,
|
|
36
|
-
appNotification: params?.values?.appNotification,
|
|
37
|
-
pushNotification: params?.values?.pushNotification,
|
|
38
|
-
alertValue: params?.values?.alertValue,
|
|
39
|
-
alertMetadata: params?.values?.alertMetadata,
|
|
40
|
-
createdBy: params?.values?.createdBy,
|
|
41
|
-
filter: params?.values?.filter,
|
|
42
|
-
name: params?.values?.name,
|
|
43
|
-
enabled: params?.values?.enabled,
|
|
44
|
-
})
|
|
45
|
-
.where('userId = :userId and id = :userAlertConfigurationId', {
|
|
46
|
-
userId: userIdBinaryBuffer,
|
|
47
|
-
userAlertConfigurationId: params.filters.userAlertConfigurationId,
|
|
48
|
-
});
|
|
49
|
-
const result = await queryBuilder.execute();
|
|
50
|
-
return result.affected > 0;
|
|
51
|
-
}, 'UserConfigurationsRepository::updateUserAlertConfiguration');
|
|
52
|
-
};
|
|
53
|
-
//# sourceMappingURL=updateUserAlertConfigurationsByIds.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updateUserAlertConfigurationsByIds.js","sourceRoot":"","sources":["../../../src/repositories/userConfigurations/updateUserAlertConfigurationsByIds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAA;AAIvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AAElE,MAAM,CAAC,MAAM,gCAAgC,GAAG,KAAK,EACnD,cAA8B,EAC9B,MAA8C,EAC9C,MAAc,EACI,EAAE;IACpB,4BAA4B;IAC5B,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,wBAAwB,EAAE;QAC1E,MAAM,CAAC,IAAI,CACT,EAAE,MAAM,EAAE,EACV,gGAAgG,CACjG,CAAA;QACD,OAAO,KAAK,CAAA;KACb;IAED,MAAM,kBAAkB,GAAG,wBAAwB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAA;IAE5E,IAAI,CAAC,kBAAkB,EAAE;QACvB,MAAM,CAAC,IAAI,CACT,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EACnC,mGAAmG,CACpG,CAAA;QACD,OAAO,KAAK,CAAA;KACb;IAED,2CAA2C;IAC3C,IACE,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AM,EAAE,IAAI;YAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO;SACjC,CAAC;aACD,KAAK,CAAC,qDAAqD,EAAE;YAC5D,MAAM,EAAE,kBAAkB;YAC1B,wBAAwB,EAAE,MAAM,CAAC,OAAO,CAAC,wBAAwB;SAClE,CAAC,CAAA;QAEJ,MAAM,MAAM,GAAG,MAAM,YAAY,CAAC,OAAO,EAAE,CAAA;QAE3C,OAAO,MAAM,CAAC,QAAQ,GAAG,CAAC,CAAA;IAC5B,CAAC,EAAE,4DAA4D,CAAC,CAAA;AAClE,CAAC,CAAA"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { UserConfiguration } from '../../entities/userConfiguration';
|
|
2
|
-
import { uuidStringToBinaryBuffer } from '../../utils/uuidHelpers';
|
|
3
|
-
export const updateUserConfiguration = async (novaDataSource, params, logger) => {
|
|
4
|
-
// userId filter is required
|
|
5
|
-
if (!params?.filters?.userId) {
|
|
6
|
-
logger.warn({ params }, 'UserConfigurationsRepository::updateUserConfiguration - missing required parameters');
|
|
7
|
-
return false;
|
|
8
|
-
}
|
|
9
|
-
const userIdBinaryBuffer = uuidStringToBinaryBuffer(params?.filters?.userId);
|
|
10
|
-
if (!userIdBinaryBuffer) {
|
|
11
|
-
logger.warn({ userId: params?.filters?.userId }, 'UserConfigurationsRepository::updateUserConfiguration - user id should be a valid UUID');
|
|
12
|
-
return false;
|
|
13
|
-
}
|
|
14
|
-
// at least one field to update is required
|
|
15
|
-
if (!params?.values?.timezone &&
|
|
16
|
-
!params?.values?.defaultMapLayer &&
|
|
17
|
-
!params?.values?.speedUnits &&
|
|
18
|
-
!params?.values?.distanceUnits &&
|
|
19
|
-
params?.values?.alertsNotificationsOn == null &&
|
|
20
|
-
!params?.values?.dataSourceTypeId &&
|
|
21
|
-
!params?.values?.homepage &&
|
|
22
|
-
!params?.values?.temperatureUnits &&
|
|
23
|
-
!params?.values?.addressFormat) {
|
|
24
|
-
logger.warn({ params }, 'UserConfigurationsRepository::updateUserConfiguration - missing required parameters');
|
|
25
|
-
return false;
|
|
26
|
-
}
|
|
27
|
-
return novaDataSource.safeQuery(async (dataSource) => {
|
|
28
|
-
const userConfigurationsRepository = dataSource.getRepository(UserConfiguration);
|
|
29
|
-
const now = new Date();
|
|
30
|
-
const queryBuilder = userConfigurationsRepository
|
|
31
|
-
.createQueryBuilder()
|
|
32
|
-
.update(UserConfiguration)
|
|
33
|
-
.set({
|
|
34
|
-
timezone: params.values.timezone,
|
|
35
|
-
defaultMapLayer: params.values.defaultMapLayer,
|
|
36
|
-
speedUnits: params.values.speedUnits,
|
|
37
|
-
distanceUnits: params.values.distanceUnits,
|
|
38
|
-
alertsNotificationsOn: params.values.alertsNotificationsOn,
|
|
39
|
-
dataSourceTypeId: params.values.dataSourceTypeId,
|
|
40
|
-
homepage: params.values.homepage,
|
|
41
|
-
temperatureUnits: params.values.temperatureUnits,
|
|
42
|
-
modifiedAt: now,
|
|
43
|
-
addressFormat: params.values.addressFormat,
|
|
44
|
-
})
|
|
45
|
-
.where('userId = :userId', { userId: userIdBinaryBuffer });
|
|
46
|
-
const result = await queryBuilder.execute();
|
|
47
|
-
return result.affected > 0;
|
|
48
|
-
}, 'UserConfigurationsRepository::updateUserConfiguration');
|
|
49
|
-
};
|
|
50
|
-
//# sourceMappingURL=updateUserConfiguration.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updateUserConfiguration.js","sourceRoot":"","sources":["../../../src/repositories/userConfigurations/updateUserConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AAIpE,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AAElE,MAAM,CAAC,MAAM,uBAAuB,GAAG,KAAK,EAC1C,cAA8B,EAC9B,MAAqC,EACrC,MAAc,EACI,EAAE;IACpB,4BAA4B;IAC5B,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,M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AChC,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,eAAe;YAC9C,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,UAAU;YACpC,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,aAAa;YAC1C,qBAAqB,EAAE,MAAM,CAAC,MAAM,CAAC,qBAAqB;YAC1D,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,gBAAgB;YAChD,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,QAAQ;YAChC,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,gBAAgB;YAChD,UAAU,EAAE,GAAG;YACf,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,aAAa;SAC3C,CAAC;aACD,KAAK,CAAC,kBAAkB,EAAE,EAAE,MAAM,EAAE,kBAAkB,EAAE,CAAC,CAAA;QAE5D,MAAM,MAAM,GAAG,MAAM,YAAY,CAAC,OAAO,EAAE,CAAA;QAE3C,OAAO,MAAM,CAAC,QAAQ,GAAG,CAAC,CAAA;IAC5B,CAAC,EAAE,uDAAuD,CAAC,CAAA;AAC7D,CAAC,CAAA"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { UserAlertNotificationsConfig } from '../../entities';
|
|
2
|
-
import { uuidStringToBinaryBuffer } from '../../utils/uuidHelpers';
|
|
3
|
-
export const upsertUserAlertNotificationsConfig = async (novaDataSource, params, logger) => {
|
|
4
|
-
if (!params?.userId || !params?.clientAlertConfigurationId) {
|
|
5
|
-
logger.warn({ params }, 'UserConfigurationsRepository::upsertUserAlertNotificationsConfig - missing required parameters');
|
|
6
|
-
return null;
|
|
7
|
-
}
|
|
8
|
-
return novaDataSource.safeQuery(async (dataSource) => {
|
|
9
|
-
const userAlertNotificationsConfigRepository = dataSource.getRepository(UserAlertNotificationsConfig);
|
|
10
|
-
const userIdBinaryBuffer = uuidStringToBinaryBuffer(params?.userId);
|
|
11
|
-
if (!userIdBinaryBuffer?.length) {
|
|
12
|
-
logger.warn(params, 'UserConfigurationsRepository::upsertUserAlertNotificationsConfig - User alert configuration could not be created: user id should be a valid UUID');
|
|
13
|
-
return null;
|
|
14
|
-
}
|
|
15
|
-
const newUserAlertConfiguration = {
|
|
16
|
-
id: params?.id,
|
|
17
|
-
userId: userIdBinaryBuffer,
|
|
18
|
-
clientAlertConfigurationId: params?.clientAlertConfigurationId,
|
|
19
|
-
smsNotification: params?.smsNotification ?? false,
|
|
20
|
-
emailNotification: params?.emailNotification ?? false,
|
|
21
|
-
appNotification: params?.appNotification ?? false,
|
|
22
|
-
pushNotification: params?.pushNotification ?? false,
|
|
23
|
-
};
|
|
24
|
-
const result = await userAlertNotificationsConfigRepository.upsert(newUserAlertConfiguration, {
|
|
25
|
-
conflictPaths: ['userId', 'clientAlertConfigurationId'],
|
|
26
|
-
});
|
|
27
|
-
return result?.raw?.affectedRows > 0;
|
|
28
|
-
}, 'UserConfigurationsRepository::upsertUserAlertNotificationsConfig');
|
|
29
|
-
};
|
|
30
|
-
//# sourceMappingURL=upsertUserAlertNotificationsConfig.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"upsertUserAlertNotificationsConfig.js","sourceRoot":"","sources":["../../../src/repositories/userConfigurations/upsertUserAlertNotificationsConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAA;AAI7D,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AAElE,MAAM,CAAC,MAAM,kCAAkC,GAAG,KAAK,EACrD,cAA8B,EAC9B,MAAgD,EAChD,MAAc,EACI,EAAE;IACpB,IAAI,CAAC,MAAM,EAAE,MAAM,IAAI,CAAC,MAAM,EAAE,0BAA0B,EAAE;QAC1D,MAAM,CAAC,IAAI,CACT,EAAE,MAAM,EAAE,EACV,gGAAgG,CACjG,CAAA;QACD,OAAO,IAAI,CAAA;KACZ;IAED,OAAO,cAAc,CAAC,SAAS,CAAC,KAAK,EAAE,UAA0B,EAAoB,EAAE;QACrF,MAAM,sCAAsC,GAAG,UAAU,CAAC,aAAa,CACrE,4BAA4B,CAC7B,CAAA;QAED,MAAM,kBAAkB,GAAG,wBAAwB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;QAEnE,IAAI,CAAC,kBAAkB,EAAE,MAAM,EAAE;YAC/B,MAAM,CAAC,IAAI,CACT,MAAM,EACN,kJAAkJ,CACnJ,CAAA;YACD,OAAO,IAAI,CAAA;SACZ;QAED,MAAM,yBAAyB,GAAG;YAChC,EAAE,EAAE,MAAM,EAAE,EAAE;YACd,MAAM,EAAE,kBAAkB;YAC1B,0BAA0B,EAAE,MAAM,EAAE,0BAA0B;YAC9D,eAAe,EAAE,MAAM,EAAE,eAAe,IAAI,KAAK;YACjD,iBAAiB,EAAE,MAAM,EAAE,iBAAiB,IAAI,KAAK;YACrD,eAAe,EAAE,MAAM,EAAE,eAAe,IAAI,KAAK;YACjD,gBAAgB,EAAE,MAAM,EAAE,gBAAgB,IAAI,KAAK;SACpD,CAAA;QAED,MAAM,MAAM,GAAG,MAAM,sCAAsC,CAAC,MAAM,CAAC,yBAAyB,EAAE;YAC5F,aAAa,EAAE,CAAC,QAAQ,EAAE,4BAA4B,CAAC;SACxD,CAAC,CAAA;QAEF,OAAO,MAAM,EAAE,GAAG,EAAE,YAAY,GAAG,CAAC,CAAA;IACtC,CAAC,EAAE,kEAAkE,CAAC,CAAA;AACxE,CAAC,CAAA"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { UserDataDeletionRequest } from '../../entities';
|
|
2
|
-
import { uuidStringToBinaryBuffer } from '../../utils/uuidHelpers';
|
|
3
|
-
export const createUserDataDeletionRequest = async (novaDataSource, params, logger) => {
|
|
4
|
-
if (!params?.userId || !params?.clientId || !params?.email || !params?.userSecurityRoleName) {
|
|
5
|
-
logger.warn({ params }, 'UserDataDeletionRequestsRepository::createUserDataDeletionRequest - missing required parameters');
|
|
6
|
-
return null;
|
|
7
|
-
}
|
|
8
|
-
const userIdBinaryBuffer = uuidStringToBinaryBuffer(params?.userId);
|
|
9
|
-
if (!userIdBinaryBuffer?.length) {
|
|
10
|
-
logger.warn({ userId: params?.userId }, 'UserDataDeletionRequestsRepository::createUserDataDeletionRequest - user id should be a valid UUID');
|
|
11
|
-
return null;
|
|
12
|
-
}
|
|
13
|
-
return novaDataSource.safeQuery(async (dataSource) => {
|
|
14
|
-
const userDataDeletionRequestsRepository = dataSource.getRepository(UserDataDeletionRequest);
|
|
15
|
-
const now = new Date();
|
|
16
|
-
const newUserDataDeletionRequest = {
|
|
17
|
-
id: params?.id,
|
|
18
|
-
userId: userIdBinaryBuffer,
|
|
19
|
-
clientId: params.clientId,
|
|
20
|
-
email: params.email,
|
|
21
|
-
userSecurityRoleName: params.userSecurityRoleName,
|
|
22
|
-
status: params.status,
|
|
23
|
-
createdAt: now,
|
|
24
|
-
modifiedAt: now,
|
|
25
|
-
};
|
|
26
|
-
return await userDataDeletionRequestsRepository.save(newUserDataDeletionRequest);
|
|
27
|
-
}, 'UserDataDeletionRequestsRepository::createUserDataDeletionRequest');
|
|
28
|
-
};
|
|
29
|
-
//# sourceMappingURL=createUserDataDeletionRequest.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createUserDataDeletionRequest.js","sourceRoot":"","sources":["../../../src/repositories/userDataDeletionRequests/createUserDataDeletionRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAA;AAIxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AAElE,MAAM,CAAC,MAAM,6BAA6B,GAAG,KAAK,EAChD,cAA8B,EAC9B,MAA2C,EAC3C,MAAc,EACoB,EAAE;IACpC,IAAI,CAAC,MAAM,EAAE,MAAM,IAAI,CAAC,MAAM,EAAE,QAAQ,IAAI,CAAC,MAAM,EAAE,KAAK,IAAI,CAAC,MAAM,EAAE,oBAAoB,EAAE;QAC3F,MAAM,CAAC,IAAI,CACT,EAAE,MAAM,EAAE,EACV,iGAAiG,CAClG,CAAA;QACD,OAAO,IAAI,CAAA;KACZ;IAED,MAAM,kBAAkB,GAAG,wBAAwB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAEnE,IAAI,CAAC,kBAAkB,EAAE,MAAM,EAAE;QAC/B,MAAM,CAAC,IAAI,CACT,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,EAC1B,oGAAoG,CACrG,CAAA;QACD,OAAO,IAAI,CAAA;KACZ;IAED,OAAO,cAAc,CAAC,SAAS,CAAC,KAAK,EAAE,UAA0B,EAE/D,EAAE;QACF,MAAM,kCAAkC,GAAG,UAAU,CAAC,aAAa,CAAC,uBAAuB,CAAC,CAAA;QAE5F,MAAM,GAAG,GAAG,IAAI,IAAI,EAAE,CAAA;QAEtB,MAAM,0BAA0B,GAAG;YACjC,EAAE,EAAE,MAAM,EAAE,EAAE;YACd,MAAM,EAAE,kBAAkB;YAC1B,QAAQ,EAAE,MAAM,CAAC,QAAQ;YACzB,KAAK,EAAE,MAAM,CAAC,KAAK;YACnB,oBAAoB,EAAE,MAAM,CAAC,oBAAoB;YACjD,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,SAAS,EAAE,GAAG;YACd,UAAU,EAAE,GAAG;SAChB,CAAA;QAED,OAAO,MAAM,kCAAkC,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAA;IAClF,CAAC,EAAE,mEAAmE,CAAC,CAAA;AACzE,CAAC,CAAA"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { UserDataDeletionRequest } from '../../entities';
|
|
2
|
-
import { uuidStringToBinaryBuffer } from '../../utils/uuidHelpers';
|
|
3
|
-
export const getUserDataDeletionRequest = async (novaDataSource, params, logger) => {
|
|
4
|
-
if (!params?.filters?.userId && !params?.filters?.id) {
|
|
5
|
-
logger.warn({ params }, 'UserDataDeletionRequestsRepository::getUserDataDeletionRequest - missing required parameters');
|
|
6
|
-
return null;
|
|
7
|
-
}
|
|
8
|
-
const binaryBuffer = uuidStringToBinaryBuffer(params?.filters?.userId);
|
|
9
|
-
if (params?.filters?.userId && !binaryBuffer?.length) {
|
|
10
|
-
logger.warn({ params }, 'UserDataDeletionRequestsRepository::getUserDataDeletionRequest - user id should be a valid UUID');
|
|
11
|
-
return null;
|
|
12
|
-
}
|
|
13
|
-
// Force the query to run on master or slave
|
|
14
|
-
const dbQueryRunner = novaDataSource.createQueryRunnerFromParams(params);
|
|
15
|
-
return novaDataSource.safeQuery(async (dataSource, queryRunner) => {
|
|
16
|
-
const userDataDeletionRequestsRepository = dataSource.getRepository(UserDataDeletionRequest);
|
|
17
|
-
let queryBuilder = userDataDeletionRequestsRepository.createQueryBuilder('userDataDeletionRequest');
|
|
18
|
-
if (queryRunner) {
|
|
19
|
-
queryBuilder.setQueryRunner(queryRunner);
|
|
20
|
-
}
|
|
21
|
-
if (params?.filters?.id) {
|
|
22
|
-
queryBuilder = queryBuilder.andWhere('userDataDeletionRequest.id = :id', {
|
|
23
|
-
id: params?.filters?.id,
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
if (params?.filters?.userId) {
|
|
27
|
-
queryBuilder = queryBuilder.andWhere('userDataDeletionRequest.userId = :userId', {
|
|
28
|
-
userId: binaryBuffer,
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
const result = await queryBuilder.getOne();
|
|
32
|
-
return result;
|
|
33
|
-
}, 'UserDataDeletionRequestsRepository::getUserDataDeletionRequest', dbQueryRunner);
|
|
34
|
-
};
|
|
35
|
-
//# sourceMappingURL=getUserDataDeletionRequest.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getUserDataDeletionRequest.js","sourceRoot":"","sources":["../../../src/repositories/userDataDeletionRequests/getUserDataDeletionRequest.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAA;AAIxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,y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