@spytecgps/nova-orm 1.3.11-rc4 → 1.3.11
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/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/avalaraExemptCert.d.ts +7 -7
- 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 +125 -123
- 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/m2Sync.d.ts +16 -0
- 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 +25 -25
- 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 -9
- package/dist/entities/userAuthorizedDevice.d.ts +9 -9
- package/dist/entities/userAuthorizedDeviceV2.d.ts +8 -0
- package/dist/entities/userConfiguration.d.ts +21 -21
- package/dist/entities/userDataDeletionRequest.d.ts +12 -12
- package/dist/entities/userDeviceBehaviorTask.d.ts +16 -16
- package/dist/entities/userInvitation.d.ts +21 -21
- package/dist/entities/userRatingRequest.d.ts +14 -14
- package/dist/entities/userRegistrationAttempt.d.ts +36 -36
- package/dist/entities/userSecurityRole.d.ts +12 -12
- package/dist/{utils/index.d.ts → index.d.ts} +26 -19
- package/dist/index.js +1 -0
- 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 +6 -6
- package/dist/repositories/security/bulkCreateUserAuthorizedDevices.d.ts +6 -6
- package/dist/repositories/security/bulkRemoveUserAuthorizedBoundaries.d.ts +4 -4
- package/dist/repositories/security/bulkRemoveUserAuthorizedDevices.d.ts +4 -4
- package/dist/repositories/security/createUserRole.d.ts +5 -5
- package/dist/repositories/security/getAllRoles.d.ts +3 -3
- package/dist/repositories/security/getAuthorizedBoundariesByUserId.d.ts +5 -5
- package/dist/repositories/security/getAuthorizedDevicesByUserId.d.ts +5 -5
- package/dist/repositories/security/getUserIdsByClientIdAndAuthorizedBoundaries.d.ts +4 -4
- package/dist/repositories/security/getUserIdsByClientIdAndAuthorizedDevices.d.ts +4 -4
- package/dist/repositories/security/getUserRoles.d.ts +5 -5
- package/dist/repositories/security/getUserRolesByClientId.d.ts +5 -5
- package/dist/repositories/security/index.d.ts +70 -70
- 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 +100 -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 -85
- 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/createBatchesWithMapping.d.ts +1 -1
- package/dist/utils/dateTool.d.ts +2 -2
- package/dist/utils/dayjs/utc.d.ts +2 -2
- package/dist/utils/filterTools.d.ts +12 -12
- package/dist/utils/mapRawEntityToEntity.d.ts +1 -1
- package/dist/utils/paramsValidators.d.ts +3 -3
- package/dist/utils/parsingTools.d.ts +3 -3
- package/dist/utils/queryLogger.d.ts +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 -4
- package/dist/utils/uuidTransformer.d.ts +5 -5
- package/package.json +2 -11
- package/dist/consoleLogger.d.ts +0 -1
- package/dist/consoleLogger.js +0 -47
- package/dist/entities.js +0 -11
- package/dist/ents.d.ts +0 -2
- package/dist/enums-vPEcKjNp.js +0 -134
- package/dist/enums.d.ts +0 -2
- package/dist/enums.js +0 -7
- package/dist/index-BHDlCHC_.js +0 -9143
- package/dist/logger-7bbP0aeT.js +0 -11
- package/dist/novaDataSource.js +0 -293
- package/dist/repos.d.ts +0 -2
- package/dist/repos.js +0 -17206
- package/dist/utils.js +0 -86
- package/dist/uuidHelpers-DVc4n8Yf.js +0 -226
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { BaseSelectQueryParams } from './common';
|
|
2
|
-
export interface GetUserInvitationByIdParams extends BaseSelectQueryParams {
|
|
3
|
-
filters: {
|
|
4
|
-
id: string;
|
|
5
|
-
};
|
|
6
|
-
}
|
|
7
|
-
export interface GetUserInvitationsParams extends BaseSelectQueryParams {
|
|
8
|
-
filters: {
|
|
9
|
-
inviterClientId?: number;
|
|
10
|
-
inviteeEmails?: string[];
|
|
11
|
-
statusList?: number[];
|
|
12
|
-
tagIdListByEntityType?: {
|
|
13
|
-
userTagIdList?: number[];
|
|
14
|
-
invitationTagIdList?: number[];
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
export interface UpdateUserInvitationParams {
|
|
19
|
-
filters: {
|
|
20
|
-
id: string;
|
|
21
|
-
};
|
|
22
|
-
values: {
|
|
23
|
-
statusId?: number;
|
|
24
|
-
inviteeUserId?: string;
|
|
25
|
-
inviteeEmail?: string;
|
|
26
|
-
inviteeSecurityRoleId?: number;
|
|
27
|
-
trackerImeis?: string;
|
|
28
|
-
trackerAccess?: string;
|
|
29
|
-
minAccessDate?: Date;
|
|
30
|
-
boundaries?: string;
|
|
31
|
-
boundaryAccess?: string;
|
|
32
|
-
tasksAccess?: string;
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
export interface CreateUserInvitationParams {
|
|
36
|
-
id: string;
|
|
37
|
-
inviterClientId: number;
|
|
38
|
-
inviterUserId: string;
|
|
39
|
-
inviteeEmail: string;
|
|
40
|
-
inviteeSecurityRoleId: number;
|
|
41
|
-
statusId: number;
|
|
42
|
-
trackerImeis?: string;
|
|
43
|
-
trackerAccess?: string;
|
|
44
|
-
minAccessDate?: Date;
|
|
45
|
-
boundaries?: string;
|
|
46
|
-
boundaryAccess?: string;
|
|
47
|
-
tasksAccess?: string;
|
|
48
|
-
}
|
|
1
|
+
import { BaseSelectQueryParams } from './common';
|
|
2
|
+
export interface GetUserInvitationByIdParams extends BaseSelectQueryParams {
|
|
3
|
+
filters: {
|
|
4
|
+
id: string;
|
|
5
|
+
};
|
|
6
|
+
}
|
|
7
|
+
export interface GetUserInvitationsParams extends BaseSelectQueryParams {
|
|
8
|
+
filters: {
|
|
9
|
+
inviterClientId?: number;
|
|
10
|
+
inviteeEmails?: string[];
|
|
11
|
+
statusList?: number[];
|
|
12
|
+
tagIdListByEntityType?: {
|
|
13
|
+
userTagIdList?: number[];
|
|
14
|
+
invitationTagIdList?: number[];
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export interface UpdateUserInvitationParams {
|
|
19
|
+
filters: {
|
|
20
|
+
id: string;
|
|
21
|
+
};
|
|
22
|
+
values: {
|
|
23
|
+
statusId?: number;
|
|
24
|
+
inviteeUserId?: string;
|
|
25
|
+
inviteeEmail?: string;
|
|
26
|
+
inviteeSecurityRoleId?: number;
|
|
27
|
+
trackerImeis?: string;
|
|
28
|
+
trackerAccess?: string;
|
|
29
|
+
minAccessDate?: Date;
|
|
30
|
+
boundaries?: string;
|
|
31
|
+
boundaryAccess?: string;
|
|
32
|
+
tasksAccess?: string;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export interface CreateUserInvitationParams {
|
|
36
|
+
id: string;
|
|
37
|
+
inviterClientId: number;
|
|
38
|
+
inviterUserId: string;
|
|
39
|
+
inviteeEmail: string;
|
|
40
|
+
inviteeSecurityRoleId: number;
|
|
41
|
+
statusId: number;
|
|
42
|
+
trackerImeis?: string;
|
|
43
|
+
trackerAccess?: string;
|
|
44
|
+
minAccessDate?: Date;
|
|
45
|
+
boundaries?: string;
|
|
46
|
+
boundaryAccess?: string;
|
|
47
|
+
tasksAccess?: string;
|
|
48
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { BaseSelectQueryParams } from './common';
|
|
2
|
-
export interface GetUserRatingRequestsParams extends BaseSelectQueryParams {
|
|
3
|
-
filters: {
|
|
4
|
-
userId: string;
|
|
5
|
-
};
|
|
6
|
-
}
|
|
7
|
-
export interface CreateUserRatingRequestParams {
|
|
8
|
-
id?: number;
|
|
9
|
-
userId: string;
|
|
10
|
-
clientId: number;
|
|
11
|
-
deviceManufacturer: string;
|
|
12
|
-
deviceOs: string;
|
|
13
|
-
deviceOsVersion: string;
|
|
14
|
-
appVersion: string;
|
|
15
|
-
requestDate?: Date;
|
|
16
|
-
amazonRequestDate?: Date;
|
|
17
|
-
deviceIdentifierKey?: string;
|
|
18
|
-
}
|
|
1
|
+
import { BaseSelectQueryParams } from './common';
|
|
2
|
+
export interface GetUserRatingRequestsParams extends BaseSelectQueryParams {
|
|
3
|
+
filters: {
|
|
4
|
+
userId: string;
|
|
5
|
+
};
|
|
6
|
+
}
|
|
7
|
+
export interface CreateUserRatingRequestParams {
|
|
8
|
+
id?: number;
|
|
9
|
+
userId: string;
|
|
10
|
+
clientId: number;
|
|
11
|
+
deviceManufacturer: string;
|
|
12
|
+
deviceOs: string;
|
|
13
|
+
deviceOsVersion: string;
|
|
14
|
+
appVersion: string;
|
|
15
|
+
requestDate?: Date;
|
|
16
|
+
amazonRequestDate?: Date;
|
|
17
|
+
deviceIdentifierKey?: string;
|
|
18
|
+
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { BaseSelectQueryParams } from './common';
|
|
2
|
-
export interface GetUserRegistrationAttemptsParams extends BaseSelectQueryParams {
|
|
3
|
-
filters: {
|
|
4
|
-
id?: number;
|
|
5
|
-
tempUserId?: string;
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
export interface CreateUserRegistrationAttemptParams {
|
|
9
|
-
id?: number;
|
|
10
|
-
firstName?: string;
|
|
11
|
-
lastName?: string;
|
|
12
|
-
email?: string;
|
|
13
|
-
phoneNumber?: string;
|
|
14
|
-
phoneCode?: string;
|
|
15
|
-
phoneCodeCountryId?: string;
|
|
16
|
-
imei?: string;
|
|
17
|
-
platform?: string;
|
|
18
|
-
status?: string;
|
|
19
|
-
tempUserId?: string;
|
|
20
|
-
}
|
|
21
|
-
export interface UpdateUserRegistrationAttemptParams {
|
|
22
|
-
filters: {
|
|
23
|
-
id: number;
|
|
24
|
-
};
|
|
25
|
-
values: {
|
|
26
|
-
clientId?: number;
|
|
27
|
-
userName?: string;
|
|
28
|
-
pin?: number;
|
|
29
|
-
street?: string;
|
|
30
|
-
city?: string;
|
|
31
|
-
state?: string;
|
|
32
|
-
postalCode?: string;
|
|
33
|
-
country?: string;
|
|
34
|
-
countryCode?: string;
|
|
35
|
-
};
|
|
36
|
-
}
|
|
1
|
+
import { BaseSelectQueryParams } from './common';
|
|
2
|
+
export interface GetUserRegistrationAttemptsParams extends BaseSelectQueryParams {
|
|
3
|
+
filters: {
|
|
4
|
+
id?: number;
|
|
5
|
+
tempUserId?: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export interface CreateUserRegistrationAttemptParams {
|
|
9
|
+
id?: number;
|
|
10
|
+
firstName?: string;
|
|
11
|
+
lastName?: string;
|
|
12
|
+
email?: string;
|
|
13
|
+
phoneNumber?: string;
|
|
14
|
+
phoneCode?: string;
|
|
15
|
+
phoneCodeCountryId?: string;
|
|
16
|
+
imei?: string;
|
|
17
|
+
platform?: string;
|
|
18
|
+
status?: string;
|
|
19
|
+
tempUserId?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface UpdateUserRegistrationAttemptParams {
|
|
22
|
+
filters: {
|
|
23
|
+
id: number;
|
|
24
|
+
};
|
|
25
|
+
values: {
|
|
26
|
+
clientId?: number;
|
|
27
|
+
userName?: string;
|
|
28
|
+
pin?: number;
|
|
29
|
+
street?: string;
|
|
30
|
+
city?: string;
|
|
31
|
+
state?: string;
|
|
32
|
+
postalCode?: string;
|
|
33
|
+
country?: string;
|
|
34
|
+
countryCode?: string;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const anyAttributeHasValue: <T>(obj: T) => boolean;
|
|
1
|
+
export declare const anyAttributeHasValue: <T>(obj: T) => boolean;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const getBillingPlanTargetCustomer: (planId: string) => 'consumer' | 'enterprise' | 'any';
|
|
2
|
-
export declare const buildBillingPlanCode: (planId: string, billingFrequency: number) => string;
|
|
3
|
-
export declare const formatBillingPlanDate: (date: any) => any;
|
|
1
|
+
export declare const getBillingPlanTargetCustomer: (planId: string) => 'consumer' | 'enterprise' | 'any';
|
|
2
|
+
export declare const buildBillingPlanCode: (planId: string, billingFrequency: number) => string;
|
|
3
|
+
export declare const formatBillingPlanDate: (date: any) => any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ValueTransformer } from 'typeorm';
|
|
2
|
-
export declare class BoolToNumberTransformer implements ValueTransformer {
|
|
3
|
-
to(value: boolean | null): number | null;
|
|
4
|
-
from(value: number): boolean | null;
|
|
5
|
-
}
|
|
1
|
+
import { ValueTransformer } from 'typeorm';
|
|
2
|
+
export declare class BoolToNumberTransformer implements ValueTransformer {
|
|
3
|
+
to(value: boolean | null): number | null;
|
|
4
|
+
from(value: number): boolean | null;
|
|
5
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ValueTransformer } from 'typeorm';
|
|
2
|
-
/**
|
|
3
|
-
* Transformer to handle comma-separated strings.
|
|
4
|
-
*/
|
|
5
|
-
export declare const CommaSeparatedStringTransformer: ValueTransformer;
|
|
6
|
-
/**
|
|
7
|
-
* Transformer to handle comma-separated numbers.
|
|
8
|
-
*/
|
|
9
|
-
export declare const CommaSeparatedNumberTransformer: ValueTransformer;
|
|
1
|
+
import { ValueTransformer } from 'typeorm';
|
|
2
|
+
/**
|
|
3
|
+
* Transformer to handle comma-separated strings.
|
|
4
|
+
*/
|
|
5
|
+
export declare const CommaSeparatedStringTransformer: ValueTransformer;
|
|
6
|
+
/**
|
|
7
|
+
* Transformer to handle comma-separated numbers.
|
|
8
|
+
*/
|
|
9
|
+
export declare const CommaSeparatedNumberTransformer: ValueTransformer;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Logger, LogLevel } from '../types/logger';
|
|
2
|
-
export declare class ConsoleLogger implements Logger {
|
|
3
|
-
fatal: (msgOrObj: string | object, msg?: string, ...args: any[]) => void;
|
|
4
|
-
error: (msgOrObj: string | object, msg?: string, ...args: any[]) => void;
|
|
5
|
-
warn: (msgOrObj: string | object, msg?: string, ...args: any[]) => void;
|
|
6
|
-
info: (msgOrObj: string | object, msg?: string, ...args: any[]) => void;
|
|
7
|
-
debug: (msgOrObj: string | object, msg?: string, ...args: any[]) => void;
|
|
8
|
-
trace: (msgOrObj: string | object, msg?: string, ...args: any[]) => void;
|
|
9
|
-
log: (level: LogLevel, msgOrObj: string | object, msg?: string, ...args: any[]) => void;
|
|
10
|
-
}
|
|
1
|
+
import { Logger, LogLevel } from '../types/logger';
|
|
2
|
+
export declare class ConsoleLogger implements Logger {
|
|
3
|
+
fatal: (msgOrObj: string | object, msg?: string, ...args: any[]) => void;
|
|
4
|
+
error: (msgOrObj: string | object, msg?: string, ...args: any[]) => void;
|
|
5
|
+
warn: (msgOrObj: string | object, msg?: string, ...args: any[]) => void;
|
|
6
|
+
info: (msgOrObj: string | object, msg?: string, ...args: any[]) => void;
|
|
7
|
+
debug: (msgOrObj: string | object, msg?: string, ...args: any[]) => void;
|
|
8
|
+
trace: (msgOrObj: string | object, msg?: string, ...args: any[]) => void;
|
|
9
|
+
log: (level: LogLevel, msgOrObj: string | object, msg?: string, ...args: any[]) => void;
|
|
10
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const createBatchesWithMapping: <T, R>(elements: T[], batchSize: number, mapper: (element: T) => R) => R[][];
|
|
1
|
+
export declare const createBatchesWithMapping: <T, R>(elements: T[], batchSize: number, mapper: (element: T) => R) => R[][];
|
package/dist/utils/dateTool.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const now: () => Date;
|
|
2
|
-
export declare const addMonthsToNow: (months: number) => Date;
|
|
1
|
+
export declare const now: () => Date;
|
|
2
|
+
export declare const addMonthsToNow: (months: number) => Date;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const utcPlugin: (_option: any, Dayjs: any, dayjs: any) => void;
|
|
2
|
-
export default utcPlugin;
|
|
1
|
+
declare const utcPlugin: (_option: any, Dayjs: any, dayjs: any) => void;
|
|
2
|
+
export default utcPlugin;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { SelectQueryBuilder } from 'typeorm';
|
|
2
|
-
import { Task, TaskSchedule } from '../entities';
|
|
3
|
-
import { GetTaskSchedulesFilters, GetTasksFilters } from '../types/tasks';
|
|
4
|
-
export interface FilterMap<T1, T2> {
|
|
5
|
-
targetFieldName: keyof T1;
|
|
6
|
-
filterName: keyof T2;
|
|
7
|
-
comparisonOperator?: 'RANGE' | '=' | 'LIKE' | 'IN';
|
|
8
|
-
}
|
|
9
|
-
export declare const addFilters: <T1, T2>(queryBuilder: SelectQueryBuilder<T1>, filters: any, filterMapping: FilterMap<T2, any>[], entityName: string) => SelectQueryBuilder<T1>;
|
|
10
|
-
export declare const getTaskSchedulesFilterMapping: FilterMap<TaskSchedule, GetTaskSchedulesFilters>[];
|
|
11
|
-
export declare const tasksFilterMapping: FilterMap<Task, GetTasksFilters>[];
|
|
12
|
-
export declare const tasksFilterMappingWithSchedule: FilterMap<TaskSchedule, GetTasksFilters>[];
|
|
1
|
+
import { SelectQueryBuilder } from 'typeorm';
|
|
2
|
+
import { Task, TaskSchedule } from '../entities';
|
|
3
|
+
import { GetTaskSchedulesFilters, GetTasksFilters } from '../types/tasks';
|
|
4
|
+
export interface FilterMap<T1, T2> {
|
|
5
|
+
targetFieldName: keyof T1;
|
|
6
|
+
filterName: keyof T2;
|
|
7
|
+
comparisonOperator?: 'RANGE' | '=' | 'LIKE' | 'IN';
|
|
8
|
+
}
|
|
9
|
+
export declare const addFilters: <T1, T2>(queryBuilder: SelectQueryBuilder<T1>, filters: any, filterMapping: FilterMap<T2, any>[], entityName: string) => SelectQueryBuilder<T1>;
|
|
10
|
+
export declare const getTaskSchedulesFilterMapping: FilterMap<TaskSchedule, GetTaskSchedulesFilters>[];
|
|
11
|
+
export declare const tasksFilterMapping: FilterMap<Task, GetTasksFilters>[];
|
|
12
|
+
export declare const tasksFilterMappingWithSchedule: FilterMap<TaskSchedule, GetTasksFilters>[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const mapRawEntityToEntity: <T>(rawEntity: any, columnsPrefix?: string) => T;
|
|
1
|
+
export declare const mapRawEntityToEntity: <T>(rawEntity: any, columnsPrefix?: string) => T;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const anyAttributeIsNull: <T>(params: T, attributes: string[]) => boolean;
|
|
2
|
-
export declare const anyAttributeInArrayIsNull: <T>(params: T[], attributes: string[]) => boolean;
|
|
3
|
-
export declare const allAttributesAreNull: <T>(params: T, attributes: string[]) => boolean;
|
|
1
|
+
export declare const anyAttributeIsNull: <T>(params: T, attributes: string[]) => boolean;
|
|
2
|
+
export declare const anyAttributeInArrayIsNull: <T>(params: T[], attributes: string[]) => boolean;
|
|
3
|
+
export declare const allAttributesAreNull: <T>(params: T, attributes: string[]) => boolean;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const tryParseFloat: (valueToParse: any, defaultValue?: number | null) => number | null;
|
|
2
|
-
export declare const tryParseDate: (anyDate: any, defaultValue?: Date | null) => Date;
|
|
3
|
-
export declare const tryParseBoolean: (valueToParse: any, defaultValue?: boolean | null) => boolean | null;
|
|
1
|
+
export declare const tryParseFloat: (valueToParse: any, defaultValue?: number | null) => number | null;
|
|
2
|
+
export declare const tryParseDate: (anyDate: any, defaultValue?: Date | null) => Date;
|
|
3
|
+
export declare const tryParseBoolean: (valueToParse: any, defaultValue?: boolean | null) => boolean | null;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Logger, LoggerOptions, QueryRunner } from 'typeorm';
|
|
2
|
-
import { Logger as NovaLogger } from '../types/logger';
|
|
3
|
-
export declare class QueryLogger implements Logger {
|
|
4
|
-
protected readonly logger: NovaLogger;
|
|
5
|
-
protected readonly logging: LoggerOptions;
|
|
6
|
-
constructor(logger: NovaLogger, logging?: LoggerOptions);
|
|
7
|
-
logQuery(query: string, parameters?: any[], _queryRunner?: QueryRunner): void;
|
|
8
|
-
logQueryError(error: string | Error, query: string, parameters?: any[], _queryRunner?: QueryRunner): void;
|
|
9
|
-
logQuerySlow(time: number, query: string, parameters?: any[], _queryRunner?: QueryRunner): void;
|
|
10
|
-
logSchemaBuild(message: string, _queryRunner?: QueryRunner): void;
|
|
11
|
-
logMigration(message: string, _queryRunner?: QueryRunner): void;
|
|
12
|
-
log(level: 'warn' | 'info' | 'log', message: any, _queryRunner?: QueryRunner): void;
|
|
13
|
-
}
|
|
1
|
+
import { Logger, LoggerOptions, QueryRunner } from 'typeorm';
|
|
2
|
+
import { Logger as NovaLogger } from '../types/logger';
|
|
3
|
+
export declare class QueryLogger implements Logger {
|
|
4
|
+
protected readonly logger: NovaLogger;
|
|
5
|
+
protected readonly logging: LoggerOptions;
|
|
6
|
+
constructor(logger: NovaLogger, logging?: LoggerOptions);
|
|
7
|
+
logQuery(query: string, parameters?: any[], _queryRunner?: QueryRunner): void;
|
|
8
|
+
logQueryError(error: string | Error, query: string, parameters?: any[], _queryRunner?: QueryRunner): void;
|
|
9
|
+
logQuerySlow(time: number, query: string, parameters?: any[], _queryRunner?: QueryRunner): void;
|
|
10
|
+
logSchemaBuild(message: string, _queryRunner?: QueryRunner): void;
|
|
11
|
+
logMigration(message: string, _queryRunner?: QueryRunner): void;
|
|
12
|
+
log(level: 'warn' | 'info' | 'log', message: any, _queryRunner?: QueryRunner): void;
|
|
13
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const getRandomBoolean: () => boolean;
|
|
2
|
-
export declare const getRandomInteger: (max: number) => number;
|
|
3
|
-
export declare const getRandomString: (length: number) => string;
|
|
4
|
-
export declare const getRandomImei: (length?: number) => string;
|
|
5
|
-
export declare const getRandomDateInRange: (rangeInDays: number) => Date;
|
|
1
|
+
export declare const getRandomBoolean: () => boolean;
|
|
2
|
+
export declare const getRandomInteger: (max: number) => number;
|
|
3
|
+
export declare const getRandomString: (length: number) => string;
|
|
4
|
+
export declare const getRandomImei: (length?: number) => string;
|
|
5
|
+
export declare const getRandomDateInRange: (rangeInDays: number) => Date;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ValueTransformer } from 'typeorm';
|
|
2
|
-
export declare class StringToDateTransformer implements ValueTransformer {
|
|
3
|
-
to(value: string | null): string | null;
|
|
4
|
-
from(value: string): Date | null;
|
|
5
|
-
}
|
|
1
|
+
import { ValueTransformer } from 'typeorm';
|
|
2
|
+
export declare class StringToDateTransformer implements ValueTransformer {
|
|
3
|
+
to(value: string | null): string | null;
|
|
4
|
+
from(value: string): Date | null;
|
|
5
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
/// <reference types="node" />
|
|
3
|
-
export declare const uuidStringToBinaryBuffer: (uuidString: string) => Buffer;
|
|
4
|
-
export declare const binaryBufferToUuidString: (buffer: Buffer | null) => string;
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/// <reference types="node" />
|
|
3
|
+
export declare const uuidStringToBinaryBuffer: (uuidString: string) => Buffer;
|
|
4
|
+
export declare const binaryBufferToUuidString: (buffer: Buffer | null) => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ValueTransformer } from 'typeorm';
|
|
2
|
-
/**
|
|
3
|
-
* A reusable transformer to serialize and deserialize UUID values using the 'uuid' package.
|
|
4
|
-
*/
|
|
5
|
-
export declare const UUIDTransformer: ValueTransformer;
|
|
1
|
+
import { ValueTransformer } from 'typeorm';
|
|
2
|
+
/**
|
|
3
|
+
* A reusable transformer to serialize and deserialize UUID values using the 'uuid' package.
|
|
4
|
+
*/
|
|
5
|
+
export declare const UUIDTransformer: ValueTransformer;
|
package/package.json
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spytecgps/nova-orm",
|
|
3
|
-
"version": "1.3.11
|
|
3
|
+
"version": "1.3.11",
|
|
4
4
|
"description": "ORM with PlanetScale",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
|
-
"exports": {
|
|
8
|
-
"repos": "./dist/repos.js",
|
|
9
|
-
"enums": "./dist/enums.js",
|
|
10
|
-
"entities": "./dist/entities.js",
|
|
11
|
-
"novaDataSource": "./dist/novaDataSource.js",
|
|
12
|
-
"utils": "./dist/utils.js",
|
|
13
|
-
"consoleLogger": "./dist/consoleLogger.js"
|
|
14
|
-
},
|
|
15
7
|
"devDependencies": {
|
|
16
8
|
"@rollup/plugin-commonjs": "^23.0.2",
|
|
17
9
|
"@rollup/plugin-json": "^6.1.0",
|
|
18
|
-
"@rollup/plugin-multi-entry": "^6.0.1",
|
|
19
10
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
20
11
|
"@rollup/plugin-terser": "^0.4.4",
|
|
21
12
|
"@rollup/plugin-typescript": "^9.0.2",
|
|
@@ -68,4 +59,4 @@
|
|
|
68
59
|
"files": [
|
|
69
60
|
"dist/**/*"
|
|
70
61
|
]
|
|
71
|
-
}
|
|
62
|
+
}
|
package/dist/consoleLogger.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ConsoleLogger } from './utils/consoleLogger';
|
package/dist/consoleLogger.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var logger = require('./logger-7bbP0aeT.js');
|
|
4
|
-
|
|
5
|
-
class ConsoleLogger {
|
|
6
|
-
fatal = (msgOrObj, msg, ...args) => {
|
|
7
|
-
this.log(logger.LogLevel.FATAL, msgOrObj, msg, ...args);
|
|
8
|
-
};
|
|
9
|
-
error = (msgOrObj, msg, ...args) => {
|
|
10
|
-
this.log(logger.LogLevel.FATAL, msgOrObj, msg, ...args);
|
|
11
|
-
};
|
|
12
|
-
warn = (msgOrObj, msg, ...args) => {
|
|
13
|
-
this.log(logger.LogLevel.WARN, msgOrObj, msg, ...args);
|
|
14
|
-
};
|
|
15
|
-
info = (msgOrObj, msg, ...args) => {
|
|
16
|
-
this.log(logger.LogLevel.INFO, msgOrObj, msg, ...args);
|
|
17
|
-
};
|
|
18
|
-
debug = (msgOrObj, msg, ...args) => {
|
|
19
|
-
this.log(logger.LogLevel.DEBUG, msgOrObj, msg, ...args);
|
|
20
|
-
};
|
|
21
|
-
trace = (msgOrObj, msg, ...args) => {
|
|
22
|
-
this.log(logger.LogLevel.TRACE, msgOrObj, msg, ...args);
|
|
23
|
-
};
|
|
24
|
-
log = (level, msgOrObj, msg, ...args) => {
|
|
25
|
-
switch (level) {
|
|
26
|
-
case logger.LogLevel.FATAL:
|
|
27
|
-
case logger.LogLevel.ERROR:
|
|
28
|
-
if (typeof msgOrObj === 'string') {
|
|
29
|
-
console.error(msgOrObj, ...args);
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
console.error(msg, msgOrObj, ...args);
|
|
33
|
-
}
|
|
34
|
-
break;
|
|
35
|
-
default:
|
|
36
|
-
if (typeof msgOrObj === 'string') {
|
|
37
|
-
console.log(msgOrObj, ...args);
|
|
38
|
-
}
|
|
39
|
-
else {
|
|
40
|
-
console.log(msg, msgOrObj, ...args);
|
|
41
|
-
}
|
|
42
|
-
break;
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
exports.ConsoleLogger = ConsoleLogger;
|
package/dist/entities.js
DELETED
package/dist/ents.d.ts
DELETED
package/dist/enums-vPEcKjNp.js
DELETED
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
exports.HapnSecurityRole = void 0;
|
|
4
|
-
(function (HapnSecurityRole) {
|
|
5
|
-
HapnSecurityRole[HapnSecurityRole["Admin"] = 1] = "Admin";
|
|
6
|
-
HapnSecurityRole[HapnSecurityRole["Collaborator"] = 2] = "Collaborator";
|
|
7
|
-
HapnSecurityRole[HapnSecurityRole["Owner"] = 3] = "Owner";
|
|
8
|
-
})(exports.HapnSecurityRole || (exports.HapnSecurityRole = {}));
|
|
9
|
-
exports.DeviceStatus = void 0;
|
|
10
|
-
(function (DeviceStatus) {
|
|
11
|
-
DeviceStatus["Active"] = "A";
|
|
12
|
-
DeviceStatus["Deleted"] = "D";
|
|
13
|
-
})(exports.DeviceStatus || (exports.DeviceStatus = {}));
|
|
14
|
-
exports.BoundaryStatus = void 0;
|
|
15
|
-
(function (BoundaryStatus) {
|
|
16
|
-
BoundaryStatus[BoundaryStatus["Active"] = 1] = "Active";
|
|
17
|
-
BoundaryStatus[BoundaryStatus["Inactive"] = 2] = "Inactive";
|
|
18
|
-
BoundaryStatus[BoundaryStatus["Deleted"] = 3] = "Deleted";
|
|
19
|
-
})(exports.BoundaryStatus || (exports.BoundaryStatus = {}));
|
|
20
|
-
exports.UserStatus = void 0;
|
|
21
|
-
(function (UserStatus) {
|
|
22
|
-
UserStatus["Active"] = "A";
|
|
23
|
-
UserStatus["Deleted"] = "D";
|
|
24
|
-
})(exports.UserStatus || (exports.UserStatus = {}));
|
|
25
|
-
exports.UserInvitationStatus = void 0;
|
|
26
|
-
(function (UserInvitationStatus) {
|
|
27
|
-
UserInvitationStatus[UserInvitationStatus["Pending"] = 1] = "Pending";
|
|
28
|
-
UserInvitationStatus[UserInvitationStatus["Redeemed"] = 2] = "Redeemed";
|
|
29
|
-
UserInvitationStatus[UserInvitationStatus["Canceled"] = 3] = "Canceled";
|
|
30
|
-
})(exports.UserInvitationStatus || (exports.UserInvitationStatus = {}));
|
|
31
|
-
exports.HapnClientType = void 0;
|
|
32
|
-
(function (HapnClientType) {
|
|
33
|
-
HapnClientType[HapnClientType["b2c"] = 1] = "b2c";
|
|
34
|
-
HapnClientType[HapnClientType["b2b"] = 2] = "b2b";
|
|
35
|
-
HapnClientType[HapnClientType["test"] = 3] = "test";
|
|
36
|
-
})(exports.HapnClientType || (exports.HapnClientType = {}));
|
|
37
|
-
var DeviceBehaviorType;
|
|
38
|
-
(function (DeviceBehaviorType) {
|
|
39
|
-
DeviceBehaviorType["ReportingFrequency"] = "ReportingFrequency";
|
|
40
|
-
DeviceBehaviorType["Advanced"] = "Advanced";
|
|
41
|
-
DeviceBehaviorType["Query"] = "Query";
|
|
42
|
-
DeviceBehaviorType["General"] = "General";
|
|
43
|
-
})(DeviceBehaviorType || (DeviceBehaviorType = {}));
|
|
44
|
-
var DeviceBehaviorStatus;
|
|
45
|
-
(function (DeviceBehaviorStatus) {
|
|
46
|
-
DeviceBehaviorStatus["Active"] = "active";
|
|
47
|
-
DeviceBehaviorStatus["Inactive"] = "inactive";
|
|
48
|
-
})(DeviceBehaviorStatus || (DeviceBehaviorStatus = {}));
|
|
49
|
-
var DeviceBehaviorTaskStatus;
|
|
50
|
-
(function (DeviceBehaviorTaskStatus) {
|
|
51
|
-
DeviceBehaviorTaskStatus["InProgress"] = "InProgress";
|
|
52
|
-
DeviceBehaviorTaskStatus["Completed"] = "Completed";
|
|
53
|
-
DeviceBehaviorTaskStatus["Canceled"] = "Canceled";
|
|
54
|
-
DeviceBehaviorTaskStatus["Failed"] = "Failed";
|
|
55
|
-
})(DeviceBehaviorTaskStatus || (DeviceBehaviorTaskStatus = {}));
|
|
56
|
-
exports.NotificationRecipientType = void 0;
|
|
57
|
-
(function (NotificationRecipientType) {
|
|
58
|
-
NotificationRecipientType[NotificationRecipientType["Email"] = 1] = "Email";
|
|
59
|
-
NotificationRecipientType[NotificationRecipientType["Phone"] = 2] = "Phone";
|
|
60
|
-
})(exports.NotificationRecipientType || (exports.NotificationRecipientType = {}));
|
|
61
|
-
var BlacklistType;
|
|
62
|
-
(function (BlacklistType) {
|
|
63
|
-
BlacklistType[BlacklistType["CreditCard"] = 1] = "CreditCard";
|
|
64
|
-
BlacklistType[BlacklistType["Email"] = 2] = "Email";
|
|
65
|
-
BlacklistType[BlacklistType["Address"] = 3] = "Address";
|
|
66
|
-
BlacklistType[BlacklistType["Ip"] = 4] = "Ip";
|
|
67
|
-
BlacklistType[BlacklistType["Imei"] = 5] = "Imei";
|
|
68
|
-
BlacklistType[BlacklistType["ClientId"] = 6] = "ClientId";
|
|
69
|
-
})(BlacklistType || (BlacklistType = {}));
|
|
70
|
-
var TripType;
|
|
71
|
-
(function (TripType) {
|
|
72
|
-
TripType[TripType["Trip"] = 1] = "Trip";
|
|
73
|
-
TripType[TripType["Stop"] = 2] = "Stop";
|
|
74
|
-
})(TripType || (TripType = {}));
|
|
75
|
-
var TripCompletionStatus;
|
|
76
|
-
(function (TripCompletionStatus) {
|
|
77
|
-
TripCompletionStatus[TripCompletionStatus["Current"] = 1] = "Current";
|
|
78
|
-
TripCompletionStatus[TripCompletionStatus["Completed"] = 2] = "Completed";
|
|
79
|
-
TripCompletionStatus[TripCompletionStatus["Deleted"] = 3] = "Deleted";
|
|
80
|
-
TripCompletionStatus[TripCompletionStatus["TempCurrent"] = 10] = "TempCurrent";
|
|
81
|
-
TripCompletionStatus[TripCompletionStatus["TempCompleted"] = 20] = "TempCompleted";
|
|
82
|
-
})(TripCompletionStatus || (TripCompletionStatus = {}));
|
|
83
|
-
exports.BoundaryEventType = void 0;
|
|
84
|
-
(function (BoundaryEventType) {
|
|
85
|
-
BoundaryEventType["Enter"] = "boundaryEnter";
|
|
86
|
-
BoundaryEventType["Exit"] = "boundaryExit";
|
|
87
|
-
})(exports.BoundaryEventType || (exports.BoundaryEventType = {}));
|
|
88
|
-
exports.PromotionType = void 0;
|
|
89
|
-
(function (PromotionType) {
|
|
90
|
-
PromotionType["FreeService"] = "freeService";
|
|
91
|
-
PromotionType["Discount"] = "discount";
|
|
92
|
-
})(exports.PromotionType || (exports.PromotionType = {}));
|
|
93
|
-
var DeviceBLEMeshStatus;
|
|
94
|
-
(function (DeviceBLEMeshStatus) {
|
|
95
|
-
DeviceBLEMeshStatus["PendingSync"] = "pendingSync";
|
|
96
|
-
DeviceBLEMeshStatus["InProgress"] = "inProgress";
|
|
97
|
-
DeviceBLEMeshStatus["Synced"] = "synced";
|
|
98
|
-
})(DeviceBLEMeshStatus || (DeviceBLEMeshStatus = {}));
|
|
99
|
-
var DataExportType;
|
|
100
|
-
(function (DataExportType) {
|
|
101
|
-
DataExportType["Positions"] = "positions";
|
|
102
|
-
DataExportType["Alerts"] = "alerts";
|
|
103
|
-
DataExportType["Messages"] = "messages";
|
|
104
|
-
})(DataExportType || (DataExportType = {}));
|
|
105
|
-
var DataExportStatus;
|
|
106
|
-
(function (DataExportStatus) {
|
|
107
|
-
DataExportStatus["Started"] = "started";
|
|
108
|
-
DataExportStatus["Completed"] = "completed";
|
|
109
|
-
DataExportStatus["Failed"] = "failed";
|
|
110
|
-
})(DataExportStatus || (DataExportStatus = {}));
|
|
111
|
-
|
|
112
|
-
var enums = /*#__PURE__*/Object.freeze({
|
|
113
|
-
__proto__: null,
|
|
114
|
-
get BlacklistType () { return BlacklistType; },
|
|
115
|
-
get BoundaryEventType () { return exports.BoundaryEventType; },
|
|
116
|
-
get BoundaryStatus () { return exports.BoundaryStatus; },
|
|
117
|
-
get DataExportStatus () { return DataExportStatus; },
|
|
118
|
-
get DataExportType () { return DataExportType; },
|
|
119
|
-
get DeviceBLEMeshStatus () { return DeviceBLEMeshStatus; },
|
|
120
|
-
get DeviceBehaviorStatus () { return DeviceBehaviorStatus; },
|
|
121
|
-
get DeviceBehaviorTaskStatus () { return DeviceBehaviorTaskStatus; },
|
|
122
|
-
get DeviceBehaviorType () { return DeviceBehaviorType; },
|
|
123
|
-
get DeviceStatus () { return exports.DeviceStatus; },
|
|
124
|
-
get HapnClientType () { return exports.HapnClientType; },
|
|
125
|
-
get HapnSecurityRole () { return exports.HapnSecurityRole; },
|
|
126
|
-
get NotificationRecipientType () { return exports.NotificationRecipientType; },
|
|
127
|
-
get PromotionType () { return exports.PromotionType; },
|
|
128
|
-
get TripCompletionStatus () { return TripCompletionStatus; },
|
|
129
|
-
get TripType () { return TripType; },
|
|
130
|
-
get UserInvitationStatus () { return exports.UserInvitationStatus; },
|
|
131
|
-
get UserStatus () { return exports.UserStatus; }
|
|
132
|
-
});
|
|
133
|
-
|
|
134
|
-
exports.enums = enums;
|
package/dist/enums.d.ts
DELETED