@spytecgps/nova-orm 1.4.0 → 1.4.2
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 +29 -29
- package/dist/entities/alertType.d.ts +14 -14
- package/dist/entities/appFeatureType.d.ts +6 -6
- package/dist/entities/asinPromotion.d.ts +7 -7
- package/dist/entities/assetCategory.d.ts +5 -5
- package/dist/entities/assetProfile.d.ts +24 -24
- package/dist/entities/assetProfileCategory.d.ts +7 -7
- package/dist/entities/assetProfileCustomField.d.ts +11 -11
- package/dist/entities/assetProfileMedia.d.ts +12 -12
- package/dist/entities/assetProfileNote.d.ts +12 -12
- package/dist/entities/assetProfileType.d.ts +9 -9
- package/dist/entities/avalaraExemptCert.d.ts +7 -7
- package/dist/entities/avalaraQueue.d.ts +10 -10
- package/dist/entities/beaconBleMesh.d.ts +11 -11
- package/dist/entities/billing.d.ts +20 -20
- package/dist/entities/billingCustomerAmazon.d.ts +13 -13
- package/dist/entities/billingCustomerBraintree.d.ts +11 -11
- package/dist/entities/billingDeviceHistory.d.ts +11 -11
- package/dist/entities/billingDeviceTypePlan.d.ts +12 -12
- package/dist/entities/billingHubspotPaymentLog.d.ts +50 -50
- package/dist/entities/billingKlarnaCustomer.d.ts +14 -14
- package/dist/entities/billingKlarnaOrder.d.ts +18 -18
- package/dist/entities/billingPlanFeatures.d.ts +6 -6
- package/dist/entities/billingPlans.d.ts +22 -22
- package/dist/entities/billingStatusHistoryBraintree.d.ts +10 -10
- package/dist/entities/billingSubscriptionAmazon.d.ts +21 -21
- package/dist/entities/billingSubscriptionBraintree.d.ts +34 -34
- package/dist/entities/blacklist.d.ts +9 -9
- package/dist/entities/blacklistType.d.ts +5 -5
- package/dist/entities/bleMesh.d.ts +15 -15
- package/dist/entities/bleMeshConfiguration.d.ts +9 -9
- package/dist/entities/boundary.d.ts +23 -23
- package/dist/entities/boundaryEvent.d.ts +21 -21
- package/dist/entities/cellTower.d.ts +12 -12
- package/dist/entities/client.d.ts +34 -34
- package/dist/entities/clientAlertConfiguration.d.ts +20 -20
- package/dist/entities/clientAlertRecipient.d.ts +16 -16
- package/dist/entities/clientAppFeature.d.ts +9 -9
- package/dist/entities/clientConfiguration.d.ts +10 -10
- package/dist/entities/clientDeviceIcon.d.ts +9 -9
- package/dist/entities/clientDeviceSetting.d.ts +15 -15
- package/dist/entities/clientIngestorConfiguration.d.ts +11 -11
- package/dist/entities/clientType.d.ts +6 -6
- package/dist/entities/country.d.ts +16 -16
- package/dist/entities/customerAttribute.d.ts +15 -15
- package/dist/entities/dataExport.d.ts +17 -17
- package/dist/entities/dataSourceType.d.ts +5 -5
- package/dist/entities/deactivation.d.ts +14 -14
- package/dist/entities/deactivationReason.d.ts +6 -6
- package/dist/entities/device.d.ts +43 -43
- package/dist/entities/deviceBehavior.d.ts +26 -26
- package/dist/entities/deviceBleMesh.d.ts +14 -14
- package/dist/entities/deviceBleMeshUpdateTask.d.ts +18 -18
- package/dist/entities/deviceCameraMedia.d.ts +30 -30
- package/dist/entities/deviceCameraMediaEventType.d.ts +6 -6
- package/dist/entities/deviceCameraMediaStreamingData.d.ts +17 -17
- package/dist/entities/deviceCameraMediaSyncStatus.d.ts +14 -14
- package/dist/entities/deviceCameraRequestedPictureData.d.ts +14 -14
- package/dist/entities/deviceCameraRequestedVideoData.d.ts +19 -19
- package/dist/entities/deviceChangesHistory.d.ts +8 -8
- package/dist/entities/deviceCustomConfiguration.d.ts +13 -13
- package/dist/entities/deviceEventsTriggerConfiguration.d.ts +11 -11
- package/dist/entities/deviceHistory.d.ts +8 -8
- package/dist/entities/deviceModelListener.d.ts +8 -8
- package/dist/entities/devicePairing.d.ts +14 -14
- package/dist/entities/devicePromotion.d.ts +7 -7
- package/dist/entities/deviceReplacement.d.ts +12 -12
- package/dist/entities/deviceStatus.d.ts +13 -13
- package/dist/entities/deviceTask.d.ts +8 -8
- package/dist/entities/deviceType.d.ts +27 -27
- package/dist/entities/deviceTypeFeature.d.ts +5 -5
- package/dist/entities/deviceTypeFirmware.d.ts +28 -28
- package/dist/entities/deviceTypePromotion.d.ts +7 -7
- package/dist/entities/emailDomain.d.ts +5 -5
- package/dist/entities/entityTag.d.ts +19 -19
- package/dist/entities/entityType.d.ts +5 -5
- package/dist/entities/feature.d.ts +6 -6
- package/dist/entities/firmwareAutoUpgradeBlacklist.d.ts +6 -6
- package/dist/entities/firmwareUpgradeTask.d.ts +23 -23
- package/dist/entities/historicalBillingPlan.d.ts +22 -22
- package/dist/entities/iccidStatus.d.ts +7 -7
- package/dist/entities/imeiIccidCarrier.d.ts +23 -23
- package/dist/entities/imeiIccidHistory.d.ts +7 -7
- package/dist/entities/imeiIccidImport.d.ts +5 -5
- package/dist/entities/index.d.ts +145 -145
- package/dist/entities/industry.d.ts +8 -8
- package/dist/entities/latestPosition.d.ts +22 -22
- package/dist/entities/latestUserAppInfo.d.ts +9 -9
- package/dist/entities/liveLink.d.ts +23 -23
- package/dist/entities/liveLinkMedia.d.ts +11 -11
- package/dist/entities/m2Sync.d.ts +16 -16
- package/dist/entities/magento2Gps.d.ts +51 -51
- package/dist/entities/magento2Plan.d.ts +6 -6
- package/dist/entities/marketplacePromotion.d.ts +7 -7
- package/dist/entities/mobileNetwork.d.ts +9 -9
- package/dist/entities/notificationRecipient.d.ts +23 -23
- package/dist/entities/orderShipmentInternational.d.ts +12 -12
- package/dist/entities/organization.d.ts +10 -10
- package/dist/entities/plan.d.ts +16 -16
- package/dist/entities/position.d.ts +23 -23
- package/dist/entities/promotion.d.ts +24 -24
- package/dist/entities/promotionHistory.d.ts +12 -12
- package/dist/entities/region.d.ts +10 -10
- package/dist/entities/reportScheduleConfiguration.d.ts +17 -16
- package/dist/entities/securityRole.d.ts +10 -10
- package/dist/entities/serviceProvider.d.ts +7 -7
- package/dist/entities/serviceProviderProduct.d.ts +9 -9
- package/dist/entities/serviceProviderProductNetwork.d.ts +5 -5
- package/dist/entities/serviceProviderProductType.d.ts +5 -5
- package/dist/entities/sim.d.ts +16 -16
- package/dist/entities/tag.d.ts +13 -13
- package/dist/entities/task.d.ts +36 -36
- package/dist/entities/taskSchedule.d.ts +29 -29
- package/dist/entities/trip.d.ts +30 -30
- package/dist/entities/tripCompletionStatus.d.ts +6 -6
- package/dist/entities/tripPosition.d.ts +4 -4
- package/dist/entities/tripStatus.d.ts +6 -6
- package/dist/entities/user.d.ts +48 -48
- package/dist/entities/userActivation.d.ts +10 -10
- package/dist/entities/userActivationDevice.d.ts +28 -28
- package/dist/entities/userActivationEvent.d.ts +13 -13
- package/dist/entities/userActivationMetric.d.ts +39 -39
- package/dist/entities/userAlertComplain.d.ts +18 -18
- package/dist/entities/userAlertConfiguration.d.ts +25 -25
- package/dist/entities/userAlertNotificationsConfig.d.ts +14 -14
- package/dist/entities/userAppFeedback.d.ts +11 -11
- package/dist/entities/userAppIncident.d.ts +30 -30
- package/dist/entities/userAuthorizedBoundary.d.ts +8 -8
- package/dist/entities/userAuthorizedBoundarySecurityView.d.ts +5 -5
- package/dist/entities/userAuthorizedDevice.d.ts +8 -8
- package/dist/entities/userAuthorizedDeviceSecurityView.d.ts +5 -5
- package/dist/entities/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 +18 -18
- package/dist/entities/websocketConnection.d.ts +7 -7
- package/dist/index.d.ts +27 -28
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/migration/1684483704434-addLowerCaseIndex.d.ts +5 -5
- package/dist/migration/1684483704434-addLowerCaseIndex.js +21 -21
- package/dist/novaDataSource.d.ts +93 -93
- package/dist/repositories/acumatica/getAcumaticaImeiIccidData.d.ts +5 -5
- package/dist/repositories/acumatica/getAcumaticaShipmentAmazon.d.ts +5 -5
- package/dist/repositories/acumatica/getAcumaticaShipmentDetails.d.ts +4 -4
- package/dist/repositories/acumatica/getLastAcumaticaShipmentDetails.d.ts +4 -4
- package/dist/repositories/acumatica/getOrderShipmentInternational.d.ts +5 -5
- package/dist/repositories/acumatica/index.d.ts +47 -47
- package/dist/repositories/aempToken/createAempToken.d.ts +5 -5
- package/dist/repositories/aempToken/deleteAempTokens.d.ts +4 -4
- package/dist/repositories/aempToken/getAempTokens.d.ts +5 -5
- package/dist/repositories/aempToken/index.d.ts +33 -33
- package/dist/repositories/appFeatures/createAppFeatureType.d.ts +5 -5
- package/dist/repositories/appFeatures/createClientAppFeature.d.ts +5 -5
- package/dist/repositories/appFeatures/getClientAppFeatures.d.ts +5 -5
- package/dist/repositories/appFeatures/index.d.ts +37 -37
- package/dist/repositories/baseRepository.d.ts +21 -21
- package/dist/repositories/billing/createBilling.d.ts +5 -5
- package/dist/repositories/billing/createBillingDeviceHistory.d.ts +5 -5
- package/dist/repositories/billing/createBillingHubspotPaymentLog.d.ts +5 -5
- package/dist/repositories/billing/createBillingStatusHistoryBraintree.d.ts +5 -5
- package/dist/repositories/billing/getBillingCustomerBraintreeById.d.ts +5 -5
- package/dist/repositories/billing/getBillingDeviceTypePlans.d.ts +5 -5
- package/dist/repositories/billing/getBillingPlans.d.ts +4 -4
- package/dist/repositories/billing/getBillingSubscriptionsBraintree.d.ts +5 -5
- package/dist/repositories/billing/getBillings.d.ts +5 -5
- package/dist/repositories/billing/getBraintreePastDueSubscriptions.d.ts +4 -4
- package/dist/repositories/billing/getCanceledImeis.d.ts +4 -4
- package/dist/repositories/billing/getCanceledImeisMatchingMagentoData.d.ts +4 -4
- package/dist/repositories/billing/getChurnStatusByClientId.d.ts +4 -4
- package/dist/repositories/billing/getClientIdFromBraintreeCustomer.d.ts +4 -4
- package/dist/repositories/billing/getMagentoPlan.d.ts +5 -5
- package/dist/repositories/billing/getUserByBraintreeCustomerId.d.ts +5 -5
- package/dist/repositories/billing/index.d.ts +217 -217
- package/dist/repositories/billing/updateBilling.d.ts +4 -4
- package/dist/repositories/billing/updateBillingCustomerBraintree.d.ts +4 -4
- package/dist/repositories/billing/upsertBillingCustomerBraintree.d.ts +5 -5
- package/dist/repositories/billing/upsertBillingDeviceTypePlan.d.ts +5 -5
- package/dist/repositories/billing/upsertBillingPlans.d.ts +5 -5
- package/dist/repositories/billing/upsertBillingSubscriptionBraintree.d.ts +4 -4
- package/dist/repositories/blacklist/deleteBlackList.d.ts +4 -4
- package/dist/repositories/blacklist/getBlacklists.d.ts +5 -5
- package/dist/repositories/blacklist/index.d.ts +43 -43
- package/dist/repositories/blacklist/updateBlackList.d.ts +4 -4
- package/dist/repositories/blacklist/upsertBlackList.d.ts +5 -5
- package/dist/repositories/boundaries/createBoundary.d.ts +5 -5
- package/dist/repositories/boundaries/deleteBoundary.d.ts +4 -4
- package/dist/repositories/boundaries/getBoundariesByClientId.d.ts +5 -5
- package/dist/repositories/boundaries/getBoundariesIdsByClientId.d.ts +4 -4
- package/dist/repositories/boundaries/getBoundariesReport.d.ts +4 -4
- package/dist/repositories/boundaries/getBoundaryById.d.ts +5 -5
- package/dist/repositories/boundaries/index.d.ts +106 -106
- package/dist/repositories/boundaries/processBoundaryEvent.d.ts +4 -4
- package/dist/repositories/boundaries/updateBoundary.d.ts +4 -4
- package/dist/repositories/boundaries/upsertBoundaryEvent.d.ts +4 -4
- package/dist/repositories/clientAlertConfiguration/createClientAlertConfiguration.d.ts +5 -5
- package/dist/repositories/clientAlertConfiguration/deleteClientAlertConfiguration.d.ts +4 -4
- package/dist/repositories/clientAlertConfiguration/getClientAlertConfigurations.d.ts +5 -5
- package/dist/repositories/clientAlertConfiguration/getClientAlertRecipients.d.ts +4 -4
- package/dist/repositories/clientAlertConfiguration/getUsersDataForClientAlertConfig.d.ts +4 -4
- package/dist/repositories/clientAlertConfiguration/index.d.ts +13 -13
- package/dist/repositories/clientAlertConfiguration/isUserAllowedForAlertConfig.d.ts +4 -4
- package/dist/repositories/clientAlertConfiguration/setClientAlertRecipients.d.ts +4 -4
- package/dist/repositories/clientAlertConfiguration/updateClientAlertConfiguration.d.ts +4 -4
- package/dist/repositories/clients/createClient.d.ts +5 -5
- package/dist/repositories/clients/createClientConfiguration.d.ts +5 -5
- package/dist/repositories/clients/createClientIngestorConfiguration.d.ts +5 -5
- package/dist/repositories/clients/createCustomerAttribute.d.ts +5 -5
- package/dist/repositories/clients/deleteClientAndConfiguration.d.ts +4 -4
- package/dist/repositories/clients/getClient.d.ts +5 -5
- package/dist/repositories/clients/getClientConfiguration.d.ts +5 -5
- package/dist/repositories/clients/getClientIngestorConfigurations.d.ts +4 -4
- package/dist/repositories/clients/getClients.d.ts +5 -5
- package/dist/repositories/clients/getCustomerAttribute.d.ts +5 -5
- package/dist/repositories/clients/index.d.ts +138 -138
- package/dist/repositories/clients/updateClient.d.ts +4 -4
- package/dist/repositories/clients/updateClientConfiguration.d.ts +4 -4
- package/dist/repositories/clients/updateCustomerAttribute.d.ts +4 -4
- package/dist/repositories/countries/getCountries.d.ts +4 -4
- package/dist/repositories/countries/getCountry.d.ts +5 -5
- package/dist/repositories/countries/index.d.ts +20 -20
- package/dist/repositories/deactivations/createDeactivation.d.ts +5 -5
- package/dist/repositories/deactivations/getDeactivationReasons.d.ts +5 -5
- package/dist/repositories/deactivations/getLatestDeactivationByImei.d.ts +5 -5
- package/dist/repositories/deactivations/index.d.ts +38 -38
- package/dist/repositories/deviceBehaviors/createDeviceBehaviorTask.d.ts +5 -5
- package/dist/repositories/deviceBehaviors/getDeviceBehaviorTasks.d.ts +5 -5
- package/dist/repositories/deviceBehaviors/getDeviceBehaviors.d.ts +5 -5
- package/dist/repositories/deviceBehaviors/getDeviceBehaviorsByIds.d.ts +5 -5
- package/dist/repositories/deviceBehaviors/index.d.ts +70 -70
- package/dist/repositories/deviceBehaviors/updateDeviceBehaviorTask.d.ts +4 -4
- package/dist/repositories/deviceBehaviors/upsertDeviceBehavior.d.ts +5 -5
- package/dist/repositories/devicePairings/createDevicePairing.d.ts +5 -5
- package/dist/repositories/devicePairings/deleteDevicePairing.d.ts +4 -4
- package/dist/repositories/devicePairings/getDevicePairings.d.ts +5 -5
- package/dist/repositories/devicePairings/getDevicePairingsByClientId.d.ts +5 -5
- package/dist/repositories/devicePairings/getDevicePairingsByImei.d.ts +5 -5
- package/dist/repositories/devicePairings/index.d.ts +65 -65
- package/dist/repositories/devicePairings/updateDevicePairing.d.ts +4 -4
- package/dist/repositories/deviceStatus/extendedDeviceStatus.d.ts +12 -12
- package/dist/repositories/deviceStatus/getDeviceStatuses.d.ts +4 -4
- package/dist/repositories/deviceStatus/getDeviceStatusesCount.d.ts +4 -4
- package/dist/repositories/deviceStatus/index.d.ts +35 -35
- package/dist/repositories/deviceStatus/upsertDeviceStatuses.d.ts +4 -4
- package/dist/repositories/deviceTypeFeature/bulkCreateDeviceTypeFeature.d.ts +5 -5
- package/dist/repositories/deviceTypeFeature/deleteDeviceTypeFeature.d.ts +4 -4
- package/dist/repositories/deviceTypeFeature/getDeviceTypeFeatures.d.ts +4 -4
- package/dist/repositories/deviceTypeFeature/index.d.ts +27 -27
- package/dist/repositories/devices/addDeviceChangesHistory.d.ts +5 -5
- package/dist/repositories/devices/allImeisAreActiveForClient.d.ts +4 -4
- package/dist/repositories/devices/createClientDeviceSetting.d.ts +5 -5
- package/dist/repositories/devices/createDevice.d.ts +5 -5
- package/dist/repositories/devices/createDeviceReplacement.d.ts +5 -5
- package/dist/repositories/devices/createDeviceType.d.ts +5 -5
- package/dist/repositories/devices/createImeiIccidCarrier.d.ts +5 -5
- package/dist/repositories/devices/deleteDevice.d.ts +4 -4
- package/dist/repositories/devices/generateDeviceIdentifierKey.d.ts +4 -4
- package/dist/repositories/devices/getCanceledDevicesWithActiveSimCards.d.ts +4 -4
- package/dist/repositories/devices/getCarrierStatusUpdatedBefore.d.ts +4 -4
- package/dist/repositories/devices/getClientDeviceSetting.d.ts +5 -5
- package/dist/repositories/devices/getClientDeviceSettings.d.ts +5 -5
- package/dist/repositories/devices/getDevice.d.ts +5 -5
- package/dist/repositories/devices/getDeviceChangesHistory.d.ts +5 -5
- package/dist/repositories/devices/getDeviceChangesHistoryAssignedToValuesByClient.d.ts +4 -4
- package/dist/repositories/devices/getDeviceCustomConfig.d.ts +5 -5
- package/dist/repositories/devices/getDeviceTypeByImei.d.ts +5 -5
- package/dist/repositories/devices/getDeviceTypes.d.ts +4 -4
- package/dist/repositories/devices/getDeviceTypesModelsOrderedByDeviceCount.d.ts +3 -3
- package/dist/repositories/devices/getDeviceWithUsersInfo.d.ts +4 -4
- package/dist/repositories/devices/getDevices.d.ts +5 -5
- package/dist/repositories/devices/getDevicesCountByStatus.d.ts +4 -4
- package/dist/repositories/devices/getFilteredImeisWithStatus.d.ts +4 -4
- package/dist/repositories/devices/getIccidStatus.d.ts +5 -5
- package/dist/repositories/devices/getImeiIccidCarrier.d.ts +5 -5
- package/dist/repositories/devices/getImeiIccidCarriers.d.ts +5 -5
- package/dist/repositories/devices/getServiceProviderProduct.d.ts +5 -5
- package/dist/repositories/devices/index.d.ts +331 -331
- package/dist/repositories/devices/updateClientDeviceSetting.d.ts +4 -4
- package/dist/repositories/devices/updateDevice.d.ts +4 -4
- package/dist/repositories/devices/updateDeviceType.d.ts +4 -4
- package/dist/repositories/devices/updateIccidStatus.d.ts +4 -4
- package/dist/repositories/devices/updateImeiIccidCarrier.d.ts +4 -4
- package/dist/repositories/devices/upsertDeviceCustomConfig.d.ts +4 -4
- package/dist/repositories/devices/upsertIccidStatus.d.ts +4 -4
- package/dist/repositories/entityTags/bulkCreateEntityTag.d.ts +5 -5
- package/dist/repositories/entityTags/bulkDeleteEntityTag.d.ts +4 -4
- package/dist/repositories/entityTags/createEntityTag.d.ts +5 -5
- package/dist/repositories/entityTags/deleteEntityTag.d.ts +4 -4
- package/dist/repositories/entityTags/deleteEntityTagById.d.ts +3 -3
- package/dist/repositories/entityTags/enforceEntityTagsByEntity.d.ts +4 -4
- package/dist/repositories/entityTags/getEntityTagById.d.ts +5 -5
- package/dist/repositories/entityTags/index.d.ts +48 -48
- package/dist/repositories/entityTags/searchEntityTags.d.ts +4 -4
- package/dist/repositories/features/createFeature.d.ts +5 -5
- package/dist/repositories/features/deleteFeature.d.ts +4 -4
- package/dist/repositories/features/getFeatures.d.ts +4 -4
- package/dist/repositories/features/index.d.ts +33 -33
- package/dist/repositories/features/upsertFeature.d.ts +4 -4
- package/dist/repositories/firmwares/createDeviceFirmware.d.ts +5 -5
- package/dist/repositories/firmwares/createFirmwareAutoUpgradeBlacklist.d.ts +5 -5
- package/dist/repositories/firmwares/createFirmwareUpgradeTask.d.ts +5 -5
- package/dist/repositories/firmwares/getDeviceFirmwares.d.ts +4 -4
- package/dist/repositories/firmwares/getFirmwareAutoUpgradeBlacklist.d.ts +5 -5
- package/dist/repositories/firmwares/getFirmwareUpgradeTasks.d.ts +5 -5
- package/dist/repositories/firmwares/getFirmwareUpgradeTasksCount.d.ts +4 -4
- package/dist/repositories/firmwares/index.d.ts +132 -132
- package/dist/repositories/firmwares/updateDeviceFirmware.d.ts +4 -4
- package/dist/repositories/firmwares/updateFirmwareUpgradeTasks.d.ts +4 -4
- package/dist/repositories/index.d.ts +34 -42
- package/dist/repositories/notificationRecipients/createNotificationRecipient.d.ts +5 -5
- package/dist/repositories/notificationRecipients/deleteNotificationRecipients.d.ts +4 -4
- package/dist/repositories/notificationRecipients/deleteNotificationRecipientsByEmailOrPhone.d.ts +4 -4
- package/dist/repositories/notificationRecipients/getNotificationRecipients.d.ts +5 -5
- package/dist/repositories/notificationRecipients/index.d.ts +83 -83
- package/dist/repositories/notificationRecipients/updateNotificationRecipient.d.ts +4 -4
- package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsubscribedInfoStatus.d.ts +4 -4
- package/dist/repositories/notificationRecipients/updateUsersNotificationsUnsuscribedStatus.d.ts +4 -4
- package/dist/repositories/positions/createPosition.d.ts +6 -6
- package/dist/repositories/positions/getBatteryReportForDevice.d.ts +4 -4
- package/dist/repositories/positions/getLatestPositionByImei.d.ts +5 -5
- package/dist/repositories/positions/getPositionsByImei.d.ts +5 -5
- package/dist/repositories/positions/getPositionsReportByClient.d.ts +4 -4
- package/dist/repositories/positions/index.d.ts +69 -69
- package/dist/repositories/positions/mapping/mapToPositionReport.d.ts +5 -5
- package/dist/repositories/positions/upsertLatestPosition.d.ts +4 -4
- package/dist/repositories/promotions/bulkInsertDeviceTypePromotion.d.ts +5 -5
- package/dist/repositories/promotions/bulkInsertMarketplacePromotion.d.ts +5 -5
- package/dist/repositories/promotions/createPromotion.d.ts +5 -5
- package/dist/repositories/promotions/createPromotionHistory.d.ts +5 -5
- package/dist/repositories/promotions/deleteDeviceTypePromotion.d.ts +4 -4
- package/dist/repositories/promotions/deleteMarketplacePromotion.d.ts +4 -4
- package/dist/repositories/promotions/getDeviceTypePromotion.d.ts +5 -5
- package/dist/repositories/promotions/getMarketplacePromotion.d.ts +5 -5
- package/dist/repositories/promotions/getPromotions.d.ts +5 -5
- package/dist/repositories/promotions/index.d.ts +72 -72
- package/dist/repositories/promotions/promotionValidator.d.ts +3 -3
- package/dist/repositories/promotions/updatePromotion.d.ts +4 -4
- package/dist/repositories/security/bulkCreateUserAuthorizedBoundaries.d.ts +4 -4
- package/dist/repositories/security/bulkCreateUserAuthorizedDevices.d.ts +4 -4
- package/dist/repositories/security/bulkRemoveUserAuthorizedBoundaries.d.ts +4 -4
- package/dist/repositories/security/bulkRemoveUserAuthorizedDevices.d.ts +4 -4
- package/dist/repositories/security/createUserRole.d.ts +5 -5
- package/dist/repositories/security/getAllRoles.d.ts +3 -3
- package/dist/repositories/security/getAuthorizedBoundariesByUserId.d.ts +5 -5
- package/dist/repositories/security/getAuthorizedDevicesByUserId.d.ts +5 -5
- package/dist/repositories/security/getUserIdsByClientIdAndAuthorizedBoundaries.d.ts +4 -4
- package/dist/repositories/security/getUserIdsByClientIdAndAuthorizedDevices.d.ts +4 -4
- package/dist/repositories/security/getUserRoles.d.ts +5 -5
- package/dist/repositories/security/getUserRolesByClientId.d.ts +5 -5
- package/dist/repositories/security/index.d.ts +66 -66
- package/dist/repositories/security/removeUserRoles.d.ts +4 -4
- package/dist/repositories/security/updateUserRole.d.ts +4 -4
- package/dist/repositories/security/userIsAdminOrOwner.d.ts +4 -4
- package/dist/repositories/security/userIsInRole.d.ts +4 -4
- package/dist/repositories/tags/bulkCreateTags.d.ts +5 -5
- package/dist/repositories/tags/createTag.d.ts +5 -5
- package/dist/repositories/tags/deleteTag.d.ts +4 -4
- package/dist/repositories/tags/index.d.ts +41 -41
- package/dist/repositories/tags/searchTags.d.ts +4 -4
- package/dist/repositories/tags/searchTagsByUser.d.ts +4 -4
- package/dist/repositories/tags/updateTag.d.ts +4 -4
- package/dist/repositories/tasks/addTaskScheduleDevices.d.ts +4 -4
- package/dist/repositories/tasks/completeTask.d.ts +4 -4
- package/dist/repositories/tasks/createTask.d.ts +5 -5
- package/dist/repositories/tasks/createTaskSchedule.d.ts +5 -5
- package/dist/repositories/tasks/deleteTask.d.ts +4 -4
- package/dist/repositories/tasks/deleteTaskSchedule.d.ts +4 -4
- package/dist/repositories/tasks/deleteTaskScheduleDevices.d.ts +4 -4
- package/dist/repositories/tasks/getDeviceTasks.d.ts +5 -5
- package/dist/repositories/tasks/getTaskSchedule.d.ts +5 -5
- package/dist/repositories/tasks/getTaskSchedules.d.ts +5 -5
- package/dist/repositories/tasks/getTaskSchedulesCount.d.ts +4 -4
- package/dist/repositories/tasks/getTasks.d.ts +5 -5
- package/dist/repositories/tasks/getTasksCount.d.ts +4 -4
- package/dist/repositories/tasks/index.d.ts +325 -325
- package/dist/repositories/tasks/setTaskAsPastDue.d.ts +4 -4
- package/dist/repositories/tasks/setTaskScheduleDevices.d.ts +4 -4
- package/dist/repositories/tasks/updateTask.d.ts +4 -4
- package/dist/repositories/tasks/updateTaskSchedule.d.ts +4 -4
- package/dist/repositories/userActivations/createUserActivation.d.ts +5 -5
- package/dist/repositories/userActivations/createUserActivationDevice.d.ts +5 -5
- package/dist/repositories/userActivations/createUserActivationEvent.d.ts +5 -5
- package/dist/repositories/userActivations/createUserActivationMetric.d.ts +5 -5
- package/dist/repositories/userActivations/deleteUserActivation.d.ts +4 -4
- package/dist/repositories/userActivations/getLastActivationDevice.d.ts +5 -5
- package/dist/repositories/userActivations/getUserActivationById.d.ts +5 -5
- package/dist/repositories/userActivations/getUserActivationDevices.d.ts +5 -5
- package/dist/repositories/userActivations/getUserActivationDevicesByClientId.d.ts +5 -5
- package/dist/repositories/userActivations/getUserActivationMetrics.d.ts +5 -5
- package/dist/repositories/userActivations/getUserActivations.d.ts +5 -5
- package/dist/repositories/userActivations/index.d.ts +147 -147
- package/dist/repositories/userActivations/updateUserActivationDevice.d.ts +4 -4
- package/dist/repositories/userActivations/updateUserActivationMetrics.d.ts +4 -4
- package/dist/repositories/userAppFeedback/createUserAppFeedback.d.ts +5 -5
- package/dist/repositories/userAppFeedback/index.d.ts +17 -17
- package/dist/repositories/userAppIncidents/getUserAppIncidents.d.ts +5 -5
- package/dist/repositories/userAppIncidents/index.d.ts +50 -50
- package/dist/repositories/userAppIncidents/upsertUserAppIncident.d.ts +4 -4
- package/dist/repositories/userConfigurations/bulkCreateUserAlertConfigurations.d.ts +5 -5
- package/dist/repositories/userConfigurations/createUserAlertConfiguration.d.ts +5 -5
- package/dist/repositories/userConfigurations/createUserConfiguration.d.ts +5 -5
- package/dist/repositories/userConfigurations/deleteUserAlertConfigurations.d.ts +4 -4
- package/dist/repositories/userConfigurations/deleteUserAlertNotificationsConfig.d.ts +4 -4
- package/dist/repositories/userConfigurations/deleteUserConfiguration.d.ts +4 -4
- package/dist/repositories/userConfigurations/getUserAlertConfigurations.d.ts +5 -5
- package/dist/repositories/userConfigurations/getUserAlertNotificationsConfig.d.ts +5 -5
- package/dist/repositories/userConfigurations/getUserConfigurations.d.ts +5 -5
- package/dist/repositories/userConfigurations/index.d.ts +170 -170
- package/dist/repositories/userConfigurations/updateUserAlertConfigurations.d.ts +4 -4
- package/dist/repositories/userConfigurations/updateUserAlertConfigurationsByIds.d.ts +4 -4
- package/dist/repositories/userConfigurations/updateUserConfiguration.d.ts +4 -4
- package/dist/repositories/userConfigurations/upsertUserAlertNotificationsConfig.d.ts +4 -4
- package/dist/repositories/userDataDeletionRequests/createUserDataDeletionRequest.d.ts +5 -5
- package/dist/repositories/userDataDeletionRequests/getUserDataDeletionRequest.d.ts +5 -5
- package/dist/repositories/userDataDeletionRequests/index.d.ts +39 -39
- package/dist/repositories/userDataDeletionRequests/removeUserDataDeletionRequest.d.ts +4 -4
- package/dist/repositories/userDataDeletionRequests/updateUserDataDeletionRequest.d.ts +4 -4
- package/dist/repositories/userInvitations/createUserInvitation.d.ts +5 -5
- package/dist/repositories/userInvitations/getUserInvitationById.d.ts +5 -5
- package/dist/repositories/userInvitations/getUserInvitations.d.ts +5 -5
- package/dist/repositories/userInvitations/index.d.ts +58 -58
- package/dist/repositories/userInvitations/updateUserInvitation.d.ts +4 -4
- package/dist/repositories/userRatingRequests/createUserRatingRequest.d.ts +5 -5
- package/dist/repositories/userRatingRequests/getUserRatingRequests.d.ts +5 -5
- package/dist/repositories/userRatingRequests/index.d.ts +28 -28
- package/dist/repositories/userRegistrationAttempts/createUserRegistrationAttempt.d.ts +5 -5
- package/dist/repositories/userRegistrationAttempts/getUserRegistrationAttempts.d.ts +5 -5
- package/dist/repositories/userRegistrationAttempts/index.d.ts +50 -50
- package/dist/repositories/userRegistrationAttempts/updateUserRegistrationAttempt.d.ts +4 -4
- package/dist/repositories/users/createUser.d.ts +5 -5
- package/dist/repositories/users/deleteAccount.d.ts +4 -4
- package/dist/repositories/users/deleteUser.d.ts +4 -4
- package/dist/repositories/users/deleteUserData.d.ts +4 -4
- package/dist/repositories/users/getUserById.d.ts +5 -5
- package/dist/repositories/users/getUserClientRelatedEntitiesCount.d.ts +4 -4
- package/dist/repositories/users/getUserData.d.ts +4 -4
- package/dist/repositories/users/getUserInfoWithAmazonDevicesInfo.d.ts +4 -4
- package/dist/repositories/users/getUsers.d.ts +5 -5
- package/dist/repositories/users/getUsersConfigurationByImei.d.ts +5 -5
- package/dist/repositories/users/getUsersIdByPhoneAndCountryCode.d.ts +4 -4
- package/dist/repositories/users/getUsersInfoWithDevicesInfo.d.ts +4 -4
- package/dist/repositories/users/getUsersWithRoles.d.ts +4 -4
- package/dist/repositories/users/index.d.ts +154 -154
- package/dist/repositories/users/updateUser.d.ts +4 -4
- package/dist/subscribers/allEntitiesSubscriber.d.ts +13 -13
- package/dist/subscribers/index.d.ts +2 -2
- package/dist/types/acumatica.d.ts +42 -42
- package/dist/types/aempToken.d.ts +20 -20
- package/dist/types/alert.d.ts +87 -87
- package/dist/types/alertTypes.d.ts +6 -6
- package/dist/types/appFeatures.d.ts +24 -24
- package/dist/types/billing.d.ts +308 -308
- package/dist/types/blacklist.d.ts +32 -32
- package/dist/types/bleMesh.d.ts +157 -157
- package/dist/types/bleMeshConfiguration.d.ts +30 -30
- package/dist/types/boundaries.d.ts +125 -125
- package/dist/types/clientAlertConfiguration.d.ts +103 -103
- package/dist/types/clients.d.ts +140 -140
- package/dist/types/common.d.ts +23 -23
- package/dist/types/countries.d.ts +12 -12
- package/dist/types/dataExports.d.ts +43 -43
- package/dist/types/deactivations.d.ts +25 -25
- package/dist/types/deviceBehaviors.d.ts +97 -97
- package/dist/types/devicePairings.d.ts +56 -56
- package/dist/types/deviceStatus.d.ts +86 -86
- package/dist/types/deviceTypeFeature.d.ts +23 -23
- package/dist/types/devices.d.ts +419 -419
- package/dist/types/entitiesTags.d.ts +67 -67
- package/dist/types/enums.d.ts +224 -223
- package/dist/types/feature.d.ts +20 -20
- package/dist/types/firmwares.d.ts +132 -132
- package/dist/types/index.d.ts +39 -39
- package/dist/types/latestUserAppInfo.d.ts +12 -12
- package/dist/types/liveLinks.d.ts +92 -92
- package/dist/types/logger.d.ts +68 -68
- package/dist/types/notificationRecipients.d.ts +72 -72
- package/dist/types/position.d.ts +72 -72
- package/dist/types/promotion.d.ts +121 -121
- package/dist/types/security.d.ts +98 -98
- package/dist/types/tag.d.ts +65 -65
- package/dist/types/tasks.d.ts +228 -228
- package/dist/types/trip.d.ts +98 -98
- package/dist/types/user.d.ts +256 -256
- package/dist/types/userActivations.d.ts +143 -143
- package/dist/types/userAppFeedback.d.ts +8 -8
- package/dist/types/userAppIncidents.d.ts +35 -35
- package/dist/types/userConfigurations.d.ts +127 -127
- package/dist/types/userDataDeletionRequests.d.ts +29 -29
- package/dist/types/userInvitations.d.ts +48 -48
- package/dist/types/userRatingRequests.d.ts +18 -18
- package/dist/types/userRegistrationAttempts.d.ts +36 -36
- package/dist/utils/anyAttributeHasValue.d.ts +1 -1
- package/dist/utils/billingPlansHelper.d.ts +3 -3
- package/dist/utils/boolToNumberTransformer.d.ts +5 -5
- package/dist/utils/commaSeparatedTransformer.d.ts +9 -9
- package/dist/utils/consoleLogger.d.ts +10 -10
- package/dist/utils/createBatchesWithMapping.d.ts +1 -1
- package/dist/utils/dateTool.d.ts +2 -2
- package/dist/utils/dayjs/utc.d.ts +2 -2
- package/dist/utils/filterTools.d.ts +12 -12
- package/dist/utils/mapRawEntityToEntity.d.ts +1 -1
- package/dist/utils/paramsValidators.d.ts +3 -3
- package/dist/utils/parsingTools.d.ts +3 -3
- package/dist/utils/queryLogger.d.ts +15 -15
- package/dist/utils/randomizer.d.ts +5 -5
- package/dist/utils/stringToDateTransformer.d.ts +5 -5
- package/dist/utils/uuidHelpers.d.ts +4 -4
- package/dist/utils/uuidTransformer.d.ts +5 -5
- package/package.json +1 -1
- package/dist/repositories/alertTypes/getAlertTypes.d.ts +0 -4
- package/dist/repositories/alertTypes/index.d.ts +0 -6
- package/dist/repositories/alerts/createAlert.d.ts +0 -6
- package/dist/repositories/alerts/createUserAlertComplain.d.ts +0 -4
- package/dist/repositories/alerts/getAlertsReportByClient.d.ts +0 -7
- package/dist/repositories/alerts/getAlertsReportByUser.d.ts +0 -4
- package/dist/repositories/alerts/index.d.ts +0 -78
- package/dist/repositories/assetCategories/getAssetCategories.d.ts +0 -3
- package/dist/repositories/assetCategories/index.d.ts +0 -9
- package/dist/repositories/bleMesh/addBeaconBLEMesh.d.ts +0 -5
- package/dist/repositories/bleMesh/addDevicesToBLEMesh.d.ts +0 -5
- package/dist/repositories/bleMesh/createBLEMesh.d.ts +0 -5
- package/dist/repositories/bleMesh/createDeviceBLEMeshUpdateTask.d.ts +0 -5
- package/dist/repositories/bleMesh/getBLEMeshes.d.ts +0 -4
- package/dist/repositories/bleMesh/getBeaconBLEMeshes.d.ts +0 -4
- package/dist/repositories/bleMesh/getDeviceBLEMeshUpdateTasks.d.ts +0 -4
- package/dist/repositories/bleMesh/getDeviceBLEMeshes.d.ts +0 -4
- package/dist/repositories/bleMesh/index.d.ts +0 -157
- package/dist/repositories/bleMesh/removeBLEMesh.d.ts +0 -4
- package/dist/repositories/bleMesh/removeBeaconBLEMeshes.d.ts +0 -4
- package/dist/repositories/bleMesh/removeBeaconsFromBLEMesh.d.ts +0 -4
- package/dist/repositories/bleMesh/removeDevicesFromBLEMesh.d.ts +0 -4
- package/dist/repositories/bleMesh/updateBLEMesh.d.ts +0 -4
- package/dist/repositories/bleMesh/updateBeaconBLEMesh.d.ts +0 -4
- package/dist/repositories/bleMesh/updateDevicesBLEMesh.d.ts +0 -4
- package/dist/repositories/bleMesh/updateDevicesBLEMeshUpdateTask.d.ts +0 -4
- package/dist/repositories/bleMeshConfiguration/createBLEMeshConfigurationParams.d.ts +0 -5
- package/dist/repositories/bleMeshConfiguration/deleteBLEMeshConfiguration.d.ts +0 -4
- package/dist/repositories/bleMeshConfiguration/getBLEMeshConfiguration.d.ts +0 -5
- package/dist/repositories/bleMeshConfiguration/index.d.ts +0 -46
- package/dist/repositories/bleMeshConfiguration/updateBLEMeshConfiguration.d.ts +0 -4
- package/dist/repositories/dataExports/createDataExports.d.ts +0 -5
- package/dist/repositories/dataExports/getDataExports.d.ts +0 -4
- package/dist/repositories/dataExports/index.d.ts +0 -38
- package/dist/repositories/dataExports/updateDataExports.d.ts +0 -4
- package/dist/repositories/latestUserAppInfo/getLatestUserAppInfo.d.ts +0 -5
- package/dist/repositories/latestUserAppInfo/index.d.ts +0 -23
- package/dist/repositories/latestUserAppInfo/upsertLatestUserAppInfo.d.ts +0 -4
- package/dist/repositories/trips/createTrip.d.ts +0 -4
- package/dist/repositories/trips/getDeviceTripConfiguration.d.ts +0 -4
- package/dist/repositories/trips/getTripById.d.ts +0 -4
- package/dist/repositories/trips/getTrips.d.ts +0 -4
- package/dist/repositories/trips/index.d.ts +0 -36
- package/dist/repositories/trips/updateTripEndValues.d.ts +0 -3
- package/dist/repositories/trips/upsertTrip.d.ts +0 -3
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
import { BeaconBleMesh, BLEMesh, DeviceBleMesh, DeviceBleMeshUpdateTask } from '../../entities';
|
|
2
|
-
import { AddBeaconBLEMeshesParams, AddDevicesToBLEMeshParams, CreateBLEMeshParams, CreateDeviceBLEMeshUpdateTasksParams, GetBeaconBLEMeshesParams, GetBeaconBLEMeshesResult, GetBLEMeshesParams, GetBLEMeshesResult, GetDeviceBLEMeshesParams, GetDeviceBLEMeshesResult, GetDeviceBLEMeshUpdateTaskParams, GetDeviceBLEMeshUpdateTaskResult, RemoveBeaconBLEMeshesParams, RemoveBeaconsFromBLEMeshParams, RemoveBLEMeshParams, RemoveDevicesFromBLEMeshParams, UpdateBeaconBLEMeshParams, UpdateBLEMeshParams, UpdateDeviceBLEMeshUpdateTaskParams, UpdateDevicesBLEMeshParams } from '../../types/bleMesh';
|
|
3
|
-
import { BaseRepository } from '../baseRepository';
|
|
4
|
-
export declare class BLEMeshRepository extends BaseRepository {
|
|
5
|
-
/**
|
|
6
|
-
* Create a BLE Mesh
|
|
7
|
-
* @param params params containing information to create BLE Mesh
|
|
8
|
-
* params.name: the name of the BLE Mesh, required
|
|
9
|
-
* params.clientId: the client ID, required
|
|
10
|
-
* params.address: the address, required
|
|
11
|
-
* params.lon: the longitude, required
|
|
12
|
-
* params.lat: the latitude, required
|
|
13
|
-
* params.bleMeshGroupId: the BLE Mesh Group ID, optional
|
|
14
|
-
* @returns Promise<BLEMesh> the created BLE Mesh
|
|
15
|
-
**/
|
|
16
|
-
createBLEMesh(params: CreateBLEMeshParams): Promise<BLEMesh>;
|
|
17
|
-
/**
|
|
18
|
-
* Get BLE Meshes
|
|
19
|
-
* @param params params containing information to get BLE Mesh with filters
|
|
20
|
-
* At least one of the following filters is required:
|
|
21
|
-
* params.filters.clientId: the client ID, optional
|
|
22
|
-
* params.filters.bleMeshGroupIds: the BLE Mesh Group IDs, optional
|
|
23
|
-
* params.filters.bleMeshIds: the BLE Mesh IDs, optional
|
|
24
|
-
* params.projectionOptions.withMeshGroups: whether to include Mesh Groups, optional
|
|
25
|
-
* params.projectionOptions.withBeacons: whether to include Beacons, optional
|
|
26
|
-
* params.projectionOptions.withDevices: whether to include Devices, optional
|
|
27
|
-
* @returns Promise<GetBLEMeshesResult> the BLE Meshes result
|
|
28
|
-
**/
|
|
29
|
-
getBLEMeshes(params: GetBLEMeshesParams): Promise<GetBLEMeshesResult>;
|
|
30
|
-
/**
|
|
31
|
-
* Add BLE beacons
|
|
32
|
-
* @param params params containing information to add BLE beacons to a BLE Mesh
|
|
33
|
-
* params.clientId: the client ID, required
|
|
34
|
-
* params.bleMeshId: the BLE Mesh ID, required
|
|
35
|
-
* params.beacons: the Beacons to add, required
|
|
36
|
-
* @returns Promise<BeaconBleMesh[]> the created Beacon BLE Mesh
|
|
37
|
-
**/
|
|
38
|
-
addBeaconBLEMeshes(params: AddBeaconBLEMeshesParams): Promise<BeaconBleMesh[]>;
|
|
39
|
-
/**
|
|
40
|
-
* Add BLE devices to a BLE Mesh
|
|
41
|
-
* @param params params containing information to add BLE devices to a BLE Mesh
|
|
42
|
-
* params.clientId: the client ID, required
|
|
43
|
-
* params.devices: the Devices to add, required
|
|
44
|
-
* @returns Promise<DeviceBleMesh[]> the created Device BLE Mesh
|
|
45
|
-
**/
|
|
46
|
-
addDevicesToBLEMesh(params: AddDevicesToBLEMeshParams): Promise<DeviceBleMesh[]>;
|
|
47
|
-
/**
|
|
48
|
-
* Remove BLE beacons from a BLE Mesh
|
|
49
|
-
* @param params params containing information to remove BLE beacons from a BLE Mesh
|
|
50
|
-
* params.clientId: the client ID, required
|
|
51
|
-
* params.bleMeshId: the BLE Mesh ID, required
|
|
52
|
-
* params.beaconIds: the Beacons to remove, required
|
|
53
|
-
* @returns Promise<boolean> true if the beacons were removed
|
|
54
|
-
**/
|
|
55
|
-
removeBeaconsFromBLEMesh(params: RemoveBeaconsFromBLEMeshParams): Promise<boolean>;
|
|
56
|
-
/**
|
|
57
|
-
* Remove BLE beacons records
|
|
58
|
-
* @param params params containing information to remove BLE beacons records
|
|
59
|
-
* params.clientId: the client ID, required
|
|
60
|
-
* params.bleMacs: the Beacons to remove, required
|
|
61
|
-
* @returns Promise<boolean> true if the beacons were removed
|
|
62
|
-
**/
|
|
63
|
-
removeBeaconBLEMeshes(params: RemoveBeaconBLEMeshesParams): Promise<boolean>;
|
|
64
|
-
/**
|
|
65
|
-
* Remove BLE devices from a BLE Mesh
|
|
66
|
-
* @param params params containing information to remove BLE devices from a BLE Mesh
|
|
67
|
-
* params.clientId: the client ID, required
|
|
68
|
-
* params.deviceIds: the Devices to remove, required
|
|
69
|
-
* params.bleMeshId: the BLE Mesh ID, optional if bleMeshGroupId is provided
|
|
70
|
-
* params.bleMeshGroupId: the BLE Mesh Group ID, optional if bleMeshId is provided
|
|
71
|
-
* @returns Promise<boolean> true if the devices were removed
|
|
72
|
-
**/
|
|
73
|
-
removeDevicesFromBLEMesh(params: RemoveDevicesFromBLEMeshParams): Promise<boolean>;
|
|
74
|
-
/**
|
|
75
|
-
* Update a BLE Mesh
|
|
76
|
-
* @param params params containing information to update BLE Mesh
|
|
77
|
-
* params.filters.id: the BLE Mesh ID, required
|
|
78
|
-
* params.values.name: the name of the BLE Mesh, optional
|
|
79
|
-
* params.values.address: the address, optional
|
|
80
|
-
* params.values.lon: the longitude, optional
|
|
81
|
-
* params.values.lat: the latitude, optional
|
|
82
|
-
* params.values.bleMeshGroupId: the BLE Mesh Group ID, optional
|
|
83
|
-
* @returns Promise<boolean> true if the BLE Mesh was updated
|
|
84
|
-
**/
|
|
85
|
-
updateBLEMesh(params: UpdateBLEMeshParams): Promise<boolean>;
|
|
86
|
-
/**
|
|
87
|
-
* Update BLE devices from a BLE Mesh
|
|
88
|
-
* @param params params containing information to update BLE devices from a BLE Mesh
|
|
89
|
-
* params.filters.clientId: the client ID, required
|
|
90
|
-
* params.filters.imeis: the Devices IMEIs, required
|
|
91
|
-
* params.values.status: the status to update, required
|
|
92
|
-
* @returns Promise<boolean> true if the devices were updated
|
|
93
|
-
* */
|
|
94
|
-
updateDevicesBLEMesh(params: UpdateDevicesBLEMeshParams): Promise<boolean>;
|
|
95
|
-
/**
|
|
96
|
-
* Remove a BLE Mesh
|
|
97
|
-
* @param params params containing information to remove BLE Mesh
|
|
98
|
-
* params.id: the BLE Mesh ID, required
|
|
99
|
-
* params.clientId: the client ID, required
|
|
100
|
-
* @returns Promise<boolean> true if the BLE Mesh was removed
|
|
101
|
-
**/
|
|
102
|
-
removeBLEMesh(params: RemoveBLEMeshParams): Promise<boolean>;
|
|
103
|
-
/**
|
|
104
|
-
* Get devices with BLE Meshes
|
|
105
|
-
* @param params params containing information to get device with BLE Meshes
|
|
106
|
-
* params.filters.clientId: the client ID, required
|
|
107
|
-
* params.filters.status: the device status, optional
|
|
108
|
-
* @returns Promise<GetDeviceBLEMeshesResult> the device BLE Meshes result
|
|
109
|
-
**/
|
|
110
|
-
getDeviceBLEMeshes(params: GetDeviceBLEMeshesParams): Promise<GetDeviceBLEMeshesResult>;
|
|
111
|
-
/**
|
|
112
|
-
* Get beacons with BLE Meshes
|
|
113
|
-
* @param params params containing information to get beacons with BLE Meshes
|
|
114
|
-
* params.filters.clientId: the client ID, required
|
|
115
|
-
* params.filters.bleMeshIds: the BLE Mesh IDs, optional
|
|
116
|
-
* params.projectionOptions.withBLEMeshes: whether to include BLE Meshes, optional
|
|
117
|
-
* params.projectionOptions.withTotalCount: whether to include total count, optional
|
|
118
|
-
* @returns Promise<GetBeaconBLEMeshesResult> the beacon BLE Meshes result
|
|
119
|
-
**/
|
|
120
|
-
getBeaconBLEMeshes(params: GetBeaconBLEMeshesParams): Promise<GetBeaconBLEMeshesResult>;
|
|
121
|
-
/**
|
|
122
|
-
* Create device BLE Mesh update task
|
|
123
|
-
* @param params params containing information to create device BLE Mesh update task
|
|
124
|
-
* params.clientId: the client ID, required
|
|
125
|
-
* params.updateTasks: the update tasks, required
|
|
126
|
-
* @returns Promise<DeviceBleMeshUpdateTasks[]> the created Device BLE Mesh Update
|
|
127
|
-
* */
|
|
128
|
-
createDeviceBLEMeshUpdateTask(params: CreateDeviceBLEMeshUpdateTasksParams): Promise<DeviceBleMeshUpdateTask[]>;
|
|
129
|
-
/**
|
|
130
|
-
* Get device BLE Mesh update tasks
|
|
131
|
-
* @param params params containing information to get device BLE Mesh update tasks
|
|
132
|
-
* params.filters.clientId: the client ID, required if ids is not provided
|
|
133
|
-
* params.filters.ids: the ids, required if clientId is not provided
|
|
134
|
-
* params.filters.status: the status, optional
|
|
135
|
-
* params.filters.imeis: the IMEIs, optional
|
|
136
|
-
* params.pagingOptions: the paging options, optional
|
|
137
|
-
* @returns Promise<GetDeviceBLEMeshUpdateTaskResult> the device BLE Mesh Update tasks
|
|
138
|
-
* */
|
|
139
|
-
getDeviceBLEMeshUpdateTasks(params: GetDeviceBLEMeshUpdateTaskParams): Promise<GetDeviceBLEMeshUpdateTaskResult>;
|
|
140
|
-
/**
|
|
141
|
-
* Update devices BLE Mesh update task
|
|
142
|
-
* @param params params containing information to update devices BLE Mesh update task
|
|
143
|
-
* params.filters.id: the task Id, required
|
|
144
|
-
* params.values.status: the status to update, required
|
|
145
|
-
* @returns Promise<boolean> true if the devices were updated
|
|
146
|
-
* */
|
|
147
|
-
updateDevicesBLEMeshUpdateTask(params: UpdateDeviceBLEMeshUpdateTaskParams): Promise<boolean>;
|
|
148
|
-
/**
|
|
149
|
-
* Update beacon BLE Mesh
|
|
150
|
-
* @param params params containing information to update beacon BLE Mesh
|
|
151
|
-
* params.filters.clientId: the client ID, required
|
|
152
|
-
* params.filters.bleMac: the BLE MAC, required
|
|
153
|
-
* params.values.name: the name to update, optional
|
|
154
|
-
* @returns Promise<boolean> true if the beacon was updated
|
|
155
|
-
* */
|
|
156
|
-
updateBeaconBLEMesh(params: UpdateBeaconBLEMeshParams): Promise<boolean>;
|
|
157
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { RemoveBLEMeshParams } from '../../types/bleMesh';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const removeBLEMesh: (novaDataSource: NovaDataSource, params: RemoveBLEMeshParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { RemoveBeaconBLEMeshesParams } from '../../types/bleMesh';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const removeBeaconBLEMeshes: (novaDataSource: NovaDataSource, params: RemoveBeaconBLEMeshesParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { RemoveBeaconsFromBLEMeshParams } from '../../types/bleMesh';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const removeBeaconsFromBLEMesh: (novaDataSource: NovaDataSource, params: RemoveBeaconsFromBLEMeshParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { RemoveDevicesFromBLEMeshParams } from '../../types/bleMesh';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const removeDevicesFromBLEMesh: (novaDataSource: NovaDataSource, params: RemoveDevicesFromBLEMeshParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { UpdateBLEMeshParams } from '../../types/bleMesh';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const updateBLEMesh: (novaDataSource: NovaDataSource, params: UpdateBLEMeshParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { UpdateBeaconBLEMeshParams } from '../../types/bleMesh';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const updateBeaconBLEMesh: (novaDataSource: NovaDataSource, params: UpdateBeaconBLEMeshParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { UpdateDevicesBLEMeshParams } from '../../types/bleMesh';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const updateDevicesBLEMesh: (novaDataSource: NovaDataSource, params: UpdateDevicesBLEMeshParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { UpdateDeviceBLEMeshUpdateTaskParams } from '../../types/bleMesh';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const updateDevicesBLEMeshUpdateTask: (novaDataSource: NovaDataSource, params: UpdateDeviceBLEMeshUpdateTaskParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { BLEMeshConfiguration } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { CreateBLEMeshConfigurationParams } from '../../types/bleMeshConfiguration';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const createBLEMeshConfigurationParams: (novaDataSource: NovaDataSource, params: CreateBLEMeshConfigurationParams, logger: Logger) => Promise<BLEMeshConfiguration>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { DeleteBLEMeshConfigurationParams } from '../../types/bleMeshConfiguration';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const deleteBLEMeshConfiguration: (novaDataSource: NovaDataSource, params: DeleteBLEMeshConfigurationParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { BLEMeshConfiguration } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { GetBLEMeshConfigurationParams } from '../../types/bleMeshConfiguration';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const getBLEMeshConfiguration: (novaDataSource: NovaDataSource, params: GetBLEMeshConfigurationParams, logger: Logger) => Promise<BLEMeshConfiguration[]>;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { BLEMeshConfiguration } from '../../entities';
|
|
2
|
-
import { CreateBLEMeshConfigurationParams, DeleteBLEMeshConfigurationParams, GetBLEMeshConfigurationParams, UpdateBLEMeshConfigurationParams } from '../../types/bleMeshConfiguration';
|
|
3
|
-
import { BaseRepository } from '../baseRepository';
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated Use BLEMeshRepository instead
|
|
6
|
-
*/
|
|
7
|
-
export declare class BLEMeshConfigurationRepository extends BaseRepository {
|
|
8
|
-
/**
|
|
9
|
-
* Get ble mesh configuration
|
|
10
|
-
* @param params params containing information to get ble mesh configuration with filters
|
|
11
|
-
* At least one of the following filters is required:
|
|
12
|
-
* filters.imeiMain: the main device IMEI
|
|
13
|
-
* filters.btmacMain: the main device bluetooth MAC
|
|
14
|
-
* @returns Promise<BLEMeshConfiguration[]> the BLE Mesh configurations
|
|
15
|
-
*/
|
|
16
|
-
getBLEMeshConfiguration(params: GetBLEMeshConfigurationParams): Promise<BLEMeshConfiguration[]>;
|
|
17
|
-
/**
|
|
18
|
-
* Create a BLE mesh configuration
|
|
19
|
-
* @param params params containing information to create BLE Mesh Configuration
|
|
20
|
-
* params.imeiMain: the main device IMEI, required
|
|
21
|
-
* params.btmacMain: the main device bluetooth MAC, required
|
|
22
|
-
* params.bleMac: the BLE MAC, required
|
|
23
|
-
* params.connectionType: the connection type, optional
|
|
24
|
-
* @returns Promise<BLEMeshConfiguration> the created BLE Mesh Configuration
|
|
25
|
-
*/
|
|
26
|
-
createBLEMeshConfiguration(params: CreateBLEMeshConfigurationParams): Promise<BLEMeshConfiguration>;
|
|
27
|
-
/**
|
|
28
|
-
* Update BLE mesh configuration
|
|
29
|
-
* @param params params containing information to update BLE Mesh Configuration
|
|
30
|
-
* filters.id: the BLE Mesh Configuration id
|
|
31
|
-
* At least one of the following values is required:
|
|
32
|
-
* values.imeiMain: the main device IMEI
|
|
33
|
-
* values.btmacMain: the main device bluetooth MAC
|
|
34
|
-
* values.bleMac: the BLE MAC
|
|
35
|
-
* values.connectionType: the connection type
|
|
36
|
-
* @returns Promise<boolean> true if the BLE Mesh configuration was updated, false otherwise
|
|
37
|
-
*/
|
|
38
|
-
updateBLEMeshConfiguration(params: UpdateBLEMeshConfigurationParams): Promise<boolean>;
|
|
39
|
-
/**
|
|
40
|
-
* Delete BLE Mesh Configuration
|
|
41
|
-
* @param params params containing information to delete BLE Mesh Configuration
|
|
42
|
-
* filters.id: the BLE Mesh Configuration id
|
|
43
|
-
* @returns Promise<boolean> true if the BLE Mesh configuration was deleted, false otherwise
|
|
44
|
-
*/
|
|
45
|
-
deleteBLEMeshConfiguration(params: DeleteBLEMeshConfigurationParams): Promise<boolean>;
|
|
46
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { UpdateBLEMeshConfigurationParams } from '../../types/bleMeshConfiguration';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const updateBLEMeshConfiguration: (novaDataSource: NovaDataSource, params: UpdateBLEMeshConfigurationParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DataExport } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { CreateDataExportsParams } from '../../types/dataExports';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const createDataExports: (novaDataSource: NovaDataSource, params: CreateDataExportsParams, logger: Logger) => Promise<DataExport[]>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { GetDataExportsParams, GetDataExportsResult } from '../../types/dataExports';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const getDataExports: (novaDataSource: NovaDataSource, params: GetDataExportsParams, logger: Logger) => Promise<GetDataExportsResult>;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { DataExport } from '../../entities';
|
|
2
|
-
import { CreateDataExportsParams, GetDataExportsParams, GetDataExportsResult, UpdateDataExportParams } from '../../types/dataExports';
|
|
3
|
-
import { BaseRepository } from '../baseRepository';
|
|
4
|
-
export declare class DataExportsRepository extends BaseRepository {
|
|
5
|
-
/**
|
|
6
|
-
* Create data exports
|
|
7
|
-
* @param params Params to create data exports
|
|
8
|
-
* params.dataExports: List of data exports to create
|
|
9
|
-
* @returns The list of created data exports
|
|
10
|
-
*/
|
|
11
|
-
createDataExports(params: CreateDataExportsParams): Promise<DataExport[]>;
|
|
12
|
-
/**
|
|
13
|
-
* Get the list of data exports
|
|
14
|
-
* @param params Params to get the list of data exports
|
|
15
|
-
* params.filter.id: Filter by data export id
|
|
16
|
-
* params.filter.clientId: Filter by client id
|
|
17
|
-
* params.projectionOptions: Projection options
|
|
18
|
-
* params.projectionOptions.withClient: Include client in the projection
|
|
19
|
-
* params.projectionOptions.withDevice: Include device in the projection
|
|
20
|
-
* params.projectionOptions.withTotalCount: Include total count
|
|
21
|
-
* @returns The list of data exports with the total count if requested
|
|
22
|
-
*/
|
|
23
|
-
getDataExports(params: GetDataExportsParams): Promise<GetDataExportsResult>;
|
|
24
|
-
/**
|
|
25
|
-
* Update data export
|
|
26
|
-
* @param params Params to update data export
|
|
27
|
-
* params.filter.id: Filter by data export id
|
|
28
|
-
* params.values: Values to update
|
|
29
|
-
* params.values.completedAt: Completed at date
|
|
30
|
-
* params.values.dataType: Data export type
|
|
31
|
-
* params.values.status: Data export status
|
|
32
|
-
* params.values.parameters: Parameters
|
|
33
|
-
* params.values.exportLocation: Export location
|
|
34
|
-
* params.values.downloadLink: Download link
|
|
35
|
-
* @returns True if the data export was updated successfully
|
|
36
|
-
*/
|
|
37
|
-
updateDataExport(params: UpdateDataExportParams): Promise<boolean>;
|
|
38
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { UpdateDataExportParams } from '../../types/dataExports';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const updateDataExport: (novaDataSource: NovaDataSource, params: UpdateDataExportParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { LatestUserAppInfo } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { GetLatestUserAppInfoParams } from '../../types/latestUserAppInfo';
|
|
4
|
-
import { Logger } from '../../types/logger';
|
|
5
|
-
export declare const getLatestUserAppInfo: (novaDataSource: NovaDataSource, params: GetLatestUserAppInfoParams, logger: Logger) => Promise<LatestUserAppInfo>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { LatestUserAppInfo } from '../../entities';
|
|
2
|
-
import { GetLatestUserAppInfoParams, UpsertLatestUserAppInfoParams } from '../../types/latestUserAppInfo';
|
|
3
|
-
import { BaseRepository } from '../baseRepository';
|
|
4
|
-
export declare class LatestUserAppInfoRepository extends BaseRepository {
|
|
5
|
-
/**
|
|
6
|
-
* Upsert latest user app info
|
|
7
|
-
* @param {UpsertLatestUserAppInfoParams} params containing information to insert or update the latest user app info
|
|
8
|
-
* If no user app info exist with the same user id, a new user app info will be created.
|
|
9
|
-
* Otherwise, the existing user app info will be updated.
|
|
10
|
-
* @param params.userId the user id, a UUID string, required
|
|
11
|
-
* @param params.deviceOs the device operating system, required
|
|
12
|
-
* @param params.appVersion the app version, required
|
|
13
|
-
* @returns {Promise<boolean>} true if the user app info was successfully inserted or updated, false otherwise
|
|
14
|
-
*/
|
|
15
|
-
upsertLatestUserAppInfo(params: UpsertLatestUserAppInfoParams): Promise<boolean>;
|
|
16
|
-
/**
|
|
17
|
-
* Get latest user app info
|
|
18
|
-
* @param {GetLatestUserAppInfoParams} params containing information to get the latest user app info
|
|
19
|
-
* @param params.filters.userId the user id, a UUID string, required
|
|
20
|
-
* @returns {Promise<LatestUserAppInfo>} the latest user app info if it exists, null otherwise
|
|
21
|
-
*/
|
|
22
|
-
getLatestUserAppInfo(params: GetLatestUserAppInfoParams): Promise<LatestUserAppInfo>;
|
|
23
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { UpsertLatestUserAppInfoParams } from '../../types/latestUserAppInfo';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const upsertLatestUserAppInfo: (novaDataSource: NovaDataSource, params: UpsertLatestUserAppInfoParams, logger: Logger) => Promise<boolean>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { Logger } from '../../types/logger';
|
|
3
|
-
import { DeviceTripConfiguration, GetUserTripConfigurationParams } from '../../types/trip';
|
|
4
|
-
export declare const getDeviceTripConfiguration: (novaDataSource: NovaDataSource, params: GetUserTripConfigurationParams, logger: Logger) => Promise<DeviceTripConfiguration>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Trip } from '../../entities';
|
|
2
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
3
|
-
import { Logger } from '../../types/logger';
|
|
4
|
-
export declare const getTripById: (novaDataSource: NovaDataSource, tripGuid: string, logger: Logger, forceUseReplica?: boolean) => Promise<Trip>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NovaDataSource } from '../../novaDataSource';
|
|
2
|
-
import { Logger } from '../../types/logger';
|
|
3
|
-
import { GetTripsParams, GetTripsResult } from '../../types/trip';
|
|
4
|
-
export declare const getTrips: (novaDataSource: NovaDataSource, params: GetTripsParams, logger: Logger) => Promise<GetTripsResult>;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Trip } from '../../entities';
|
|
2
|
-
import { CreateTripParams, DeviceTripConfiguration, GetTripsParams, GetTripsResult, GetUserTripConfigurationParams, UpdateTripEndValuesParams } from '../../types/trip';
|
|
3
|
-
import { BaseRepository2 } from '../baseRepository';
|
|
4
|
-
export declare class TripRepository extends BaseRepository2 {
|
|
5
|
-
/**
|
|
6
|
-
* Create a trip
|
|
7
|
-
* @param {CreateTripParams} params containing information to create a trip
|
|
8
|
-
* @returns {Trip} the created trip
|
|
9
|
-
*/
|
|
10
|
-
createTrip(params: CreateTripParams): Promise<Trip>;
|
|
11
|
-
/**
|
|
12
|
-
* Update the end's attributes in a trip
|
|
13
|
-
* @param {UpdateTripEndValuesParams} params containing information to update the trip
|
|
14
|
-
* @returns {boolean} true if the update was successfull, false otherwise
|
|
15
|
-
*/
|
|
16
|
-
updateTripEndValues(params: UpdateTripEndValuesParams): Promise<boolean>;
|
|
17
|
-
/**
|
|
18
|
-
* Get a trip by id
|
|
19
|
-
* @param {CreateTripParams} id the trip's id
|
|
20
|
-
* @returns {Trip} the Trip associated to the passed id or null
|
|
21
|
-
*/
|
|
22
|
-
getTripById(id: string, forceUseReplica?: boolean): Promise<Trip>;
|
|
23
|
-
/**
|
|
24
|
-
* Get a trip by id
|
|
25
|
-
* @param {GetTripsParams} id the trip's filters
|
|
26
|
-
* @returns {GetTripsResult} The GetTripsResult containing the trips and the totalCount.
|
|
27
|
-
*/
|
|
28
|
-
getTrips(params: GetTripsParams): Promise<GetTripsResult>;
|
|
29
|
-
/**
|
|
30
|
-
* Upsert a trip
|
|
31
|
-
* @param {UpsertTripParams} params containing information to upsert a trip
|
|
32
|
-
* @returns {boolean} true if the event was upserted, false otherwise
|
|
33
|
-
*/
|
|
34
|
-
upsertTrip(params: CreateTripParams): Promise<boolean>;
|
|
35
|
-
getDeviceTripConfiguration(params: GetUserTripConfigurationParams): Promise<DeviceTripConfiguration | null>;
|
|
36
|
-
}
|