@spytecgps/nova-orm 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/entities/alert.d.ts +25 -0
- package/dist/entities/alertType.d.ts +14 -0
- package/dist/entities/assetCategory.d.ts +5 -0
- package/dist/entities/billing.d.ts +15 -0
- package/dist/entities/billingCustomerBraintree.d.ts +11 -0
- package/dist/entities/billingDeviceHistory.d.ts +11 -0
- package/dist/entities/billingStatusHistoryBraintree.d.ts +10 -0
- package/dist/entities/billingSubscriptionBraintree.d.ts +34 -0
- package/dist/entities/blacklist.d.ts +9 -0
- package/dist/entities/blacklistType.d.ts +5 -0
- package/dist/entities/cellTower.d.ts +12 -0
- package/dist/entities/client.d.ts +22 -0
- package/dist/entities/clientConfiguration.d.ts +7 -0
- package/dist/entities/clientDeviceSetting.d.ts +14 -0
- package/dist/entities/clientType.d.ts +6 -0
- package/dist/entities/country.d.ts +16 -0
- package/dist/entities/dataSourceType.d.ts +5 -0
- package/dist/entities/deactivation.d.ts +12 -0
- package/dist/entities/deactivationReason.d.ts +6 -0
- package/dist/entities/device.d.ts +31 -0
- package/dist/entities/deviceBehavior.d.ts +22 -0
- package/dist/entities/deviceHistory.d.ts +9 -0
- package/dist/entities/deviceModelListener.d.ts +8 -0
- package/dist/entities/deviceReplacement.d.ts +11 -0
- package/dist/entities/deviceType.d.ts +23 -0
- package/dist/entities/deviceTypeEvent.d.ts +5 -0
- package/dist/entities/deviceTypeFeature.d.ts +5 -0
- package/dist/entities/deviceTypeFirmware.d.ts +11 -0
- package/dist/entities/entityTag.d.ts +8 -0
- package/dist/entities/entityType.d.ts +5 -0
- package/dist/entities/event.d.ts +6 -0
- package/dist/entities/feature.d.ts +6 -0
- package/dist/entities/firmwareUpgradeTask.d.ts +12 -0
- package/dist/entities/geofence.d.ts +20 -0
- package/dist/entities/geofenceEvent.d.ts +19 -0
- package/dist/entities/imeiIccidCarrier.d.ts +16 -0
- package/dist/entities/imeiIccidHistory.d.ts +7 -0
- package/dist/entities/index.d.ts +68 -0
- package/dist/entities/industry.d.ts +8 -0
- package/dist/entities/mobileNetwork.d.ts +9 -0
- package/dist/entities/notificationRecipient.d.ts +14 -0
- package/dist/entities/organization.d.ts +9 -0
- package/dist/entities/plan.d.ts +16 -0
- package/dist/entities/position.d.ts +18 -0
- package/dist/entities/securityRole.d.ts +7 -0
- package/dist/entities/serviceProvider.d.ts +7 -0
- package/dist/entities/serviceProviderProduct.d.ts +9 -0
- package/dist/entities/serviceProviderProductNetwork.d.ts +5 -0
- package/dist/entities/serviceProviderProductType.d.ts +5 -0
- package/dist/entities/sim.d.ts +16 -0
- package/dist/entities/trip.d.ts +24 -0
- package/dist/entities/tripCompletionStatus.d.ts +6 -0
- package/dist/entities/tripPosition.d.ts +4 -0
- package/dist/entities/user.d.ts +25 -0
- package/dist/entities/userActivation.d.ts +9 -0
- package/dist/entities/userActivationDevice.d.ts +22 -0
- package/dist/entities/userActivationEvent.d.ts +12 -0
- package/dist/entities/userActivationMetric.d.ts +38 -0
- package/dist/entities/userAlertConfiguration.d.ts +13 -0
- package/dist/entities/userAppFeedback.d.ts +10 -0
- package/dist/entities/userAppIncident.d.ts +29 -0
- package/dist/entities/userConfiguration.d.ts +18 -0
- package/dist/entities/userDataDeletionRequest.d.ts +11 -0
- package/dist/entities/userDeviceBehaviorTask.d.ts +14 -0
- package/dist/entities/userInvitation.d.ts +17 -0
- package/dist/entities/userRatingRequest.d.ts +13 -0
- package/dist/entities/userRegistrationAttempt.d.ts +35 -0
- package/dist/entities/userSecurityRole.d.ts +6 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +2 -0
- package/dist/index.js.LICENSE.txt +39 -0
- package/dist/novaDataSource.d.ts +56 -0
- package/dist/repositories/baseRepository.d.ts +5 -0
- package/dist/repositories/devicesRepository.d.ts +24 -0
- package/dist/repositories/index.d.ts +3 -0
- package/dist/repositories/securityRepository.d.ts +21 -0
- package/dist/types/enums.d.ts +9 -0
- package/dist/utils/uuidHelpers.d.ts +1 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Hapn ORM for Planet Scale
|
|
2
2
|
|
|
3
|
+
This package contains repositories and entities to connect to Planet Scale database using typeorm
|
|
4
|
+
|
|
3
5
|
# SYNC the entities definition with Planet Scale schema:
|
|
4
6
|
|
|
5
7
|
1- Modify the url value for the data source in the file data-source.ts to use the dev branch connection string
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
export declare class Alert {
|
|
3
|
+
id: string;
|
|
4
|
+
alertTypeId: number;
|
|
5
|
+
value: string | null;
|
|
6
|
+
createdAt: Date | null;
|
|
7
|
+
userId: Buffer | null;
|
|
8
|
+
messageId: Buffer;
|
|
9
|
+
geofenceId: number | null;
|
|
10
|
+
deviceId: number | null;
|
|
11
|
+
imei: string;
|
|
12
|
+
sendTime: Date;
|
|
13
|
+
lat: number | null;
|
|
14
|
+
lon: number | null;
|
|
15
|
+
address: string | null;
|
|
16
|
+
clientId: number | null;
|
|
17
|
+
fromMigration: boolean | null;
|
|
18
|
+
isBuffer: boolean | null;
|
|
19
|
+
isNotification: boolean | null;
|
|
20
|
+
eventUtcTime: Date | null;
|
|
21
|
+
gpsUtcTime: Date | null;
|
|
22
|
+
relevantAddress: string | null;
|
|
23
|
+
gpsMessageId: Buffer | null;
|
|
24
|
+
cellTowerRelevantAddress: string | null;
|
|
25
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class AlertType {
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
title: string | null;
|
|
5
|
+
description: string | null;
|
|
6
|
+
isSystem: boolean;
|
|
7
|
+
icon: string | null;
|
|
8
|
+
context: string | null;
|
|
9
|
+
identifier: string | null;
|
|
10
|
+
stage: string | null;
|
|
11
|
+
category: string | null;
|
|
12
|
+
key: string | null;
|
|
13
|
+
createdAt: Date | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare class Billing {
|
|
2
|
+
id: number;
|
|
3
|
+
deviceId: number | null;
|
|
4
|
+
imei: string | null;
|
|
5
|
+
planId: string | null;
|
|
6
|
+
subscriptionId: string | null;
|
|
7
|
+
platform: string | null;
|
|
8
|
+
status: string | null;
|
|
9
|
+
createdAt: Date | null;
|
|
10
|
+
updatedAt: Date | null;
|
|
11
|
+
subscriptionValue: string | null;
|
|
12
|
+
subscriptionPeriodMonths: number | null;
|
|
13
|
+
subscriptionValueMonthly: string | null;
|
|
14
|
+
clientId: number | null;
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class BillingCustomerBraintree {
|
|
2
|
+
id: string;
|
|
3
|
+
firstName: string | null;
|
|
4
|
+
lastName: string | null;
|
|
5
|
+
company: string | null;
|
|
6
|
+
email: string | null;
|
|
7
|
+
phone: string | null;
|
|
8
|
+
createdAt: Date | null;
|
|
9
|
+
updatedAt: Date | null;
|
|
10
|
+
churnStatus: string | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class BillingDeviceHistory {
|
|
2
|
+
id: number;
|
|
3
|
+
clientId: number | null;
|
|
4
|
+
deviceId: number | null;
|
|
5
|
+
imei: string | null;
|
|
6
|
+
planId: string | null;
|
|
7
|
+
subscriptionId: string | null;
|
|
8
|
+
platform: string | null;
|
|
9
|
+
status: string | null;
|
|
10
|
+
createdAt: Date | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare class BillingStatusHistoryBraintree {
|
|
2
|
+
id: number;
|
|
3
|
+
timestamp: string | null;
|
|
4
|
+
status: string | null;
|
|
5
|
+
balance: string | null;
|
|
6
|
+
price: string | null;
|
|
7
|
+
currencyIsoCode: string | null;
|
|
8
|
+
planId: string | null;
|
|
9
|
+
subscriptionId: string | null;
|
|
10
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare class BillingSubscriptionBraintree {
|
|
2
|
+
subscriptionId: string;
|
|
3
|
+
customerId: string | null;
|
|
4
|
+
planId: string | null;
|
|
5
|
+
createdAt: Date | null;
|
|
6
|
+
updatedAt: Date | null;
|
|
7
|
+
subscriptionStart: string | null;
|
|
8
|
+
subscriptionEnd: string | null;
|
|
9
|
+
nextBillingDate: string | null;
|
|
10
|
+
subscriptionValue: string | null;
|
|
11
|
+
status: string | null;
|
|
12
|
+
subscriptionPeriodMonths: number | null;
|
|
13
|
+
paymentInstrumentType: string | null;
|
|
14
|
+
paymentInstrumentDetails: object | null;
|
|
15
|
+
isPaused: boolean | null;
|
|
16
|
+
discountDetails: object | null;
|
|
17
|
+
addons: object | null;
|
|
18
|
+
balance: string | null;
|
|
19
|
+
currentBillingCycle: number | null;
|
|
20
|
+
daysPastDue: number | null;
|
|
21
|
+
description: string | null;
|
|
22
|
+
descriptor: object | null;
|
|
23
|
+
failureCount: number | null;
|
|
24
|
+
firstBillingDate: string | null;
|
|
25
|
+
merchantAccountId: string | null;
|
|
26
|
+
nextBillingPeriodAmount: string | null;
|
|
27
|
+
numberOfBillingCycles: number | null;
|
|
28
|
+
paidThroughDate: string | null;
|
|
29
|
+
paymentMethodToken: string | null;
|
|
30
|
+
statusHistory: object | null;
|
|
31
|
+
trialDuration: number | null;
|
|
32
|
+
trialDurationUnit: string | null;
|
|
33
|
+
trialPeriod: boolean | null;
|
|
34
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class CellTower {
|
|
2
|
+
id: number;
|
|
3
|
+
mcc: number | null;
|
|
4
|
+
mnc: number | null;
|
|
5
|
+
lac: number | null;
|
|
6
|
+
radio: string | null;
|
|
7
|
+
lon: number | null;
|
|
8
|
+
lat: number | null;
|
|
9
|
+
range: number | null;
|
|
10
|
+
createdAt: Date | null;
|
|
11
|
+
updatedAt: Date | null;
|
|
12
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
export declare class Client {
|
|
3
|
+
id: number;
|
|
4
|
+
name: string | null;
|
|
5
|
+
createdAt: Date | null;
|
|
6
|
+
modifiedAt: Date | null;
|
|
7
|
+
uuid: Buffer | null;
|
|
8
|
+
email: string | null;
|
|
9
|
+
modifiedBy: number | null;
|
|
10
|
+
createdBy: number | null;
|
|
11
|
+
dataSourceTypeId: number | null;
|
|
12
|
+
sievaUserName: string | null;
|
|
13
|
+
sievaBatchId: number | null;
|
|
14
|
+
clientTypeId: number;
|
|
15
|
+
salesforceId: string | null;
|
|
16
|
+
accumaticaId: string | null;
|
|
17
|
+
expirationDate: Date | null;
|
|
18
|
+
useType: string | null;
|
|
19
|
+
btCustomerId: string | null;
|
|
20
|
+
activationCampaign: string | null;
|
|
21
|
+
organizationId: number | null;
|
|
22
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class ClientDeviceSetting {
|
|
2
|
+
id: number;
|
|
3
|
+
clientId: number;
|
|
4
|
+
deviceId: number;
|
|
5
|
+
imei: string;
|
|
6
|
+
movingPingFrequency: number | null;
|
|
7
|
+
stoppedPingFrequency: number | null;
|
|
8
|
+
fixedStatus: string | null;
|
|
9
|
+
generateTrips: boolean;
|
|
10
|
+
stopThresholdMinutes: number | null;
|
|
11
|
+
offlineThresholdMinutes: number | null;
|
|
12
|
+
movementThresholdSpeed: number | null;
|
|
13
|
+
externalBatteryInformation: boolean | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare class Country {
|
|
2
|
+
id: number;
|
|
3
|
+
name: string | null;
|
|
4
|
+
currencies: string | null;
|
|
5
|
+
capital: string | null;
|
|
6
|
+
region: string | null;
|
|
7
|
+
subregion: string | null;
|
|
8
|
+
languages: string | null;
|
|
9
|
+
lat: number | null;
|
|
10
|
+
lon: number | null;
|
|
11
|
+
borders: string | null;
|
|
12
|
+
area: number | null;
|
|
13
|
+
internationalDirectDialing: string | null;
|
|
14
|
+
alpha2Code: string | null;
|
|
15
|
+
alpha3Code: string | null;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class Deactivation {
|
|
2
|
+
id: number;
|
|
3
|
+
imei: string;
|
|
4
|
+
deviceId: number;
|
|
5
|
+
clientId: number;
|
|
6
|
+
billingId: number;
|
|
7
|
+
deactivationReason: string | null;
|
|
8
|
+
deactivationReasonId: number | null;
|
|
9
|
+
createdBy: string;
|
|
10
|
+
createdAt: Date;
|
|
11
|
+
scheduledDate: Date | null;
|
|
12
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { DeviceType } from './deviceType';
|
|
3
|
+
import { ImeiIccidCarrier } from './imeiIccidCarrier';
|
|
4
|
+
export declare class Device {
|
|
5
|
+
id: number;
|
|
6
|
+
identifier: string;
|
|
7
|
+
identifierKey: string;
|
|
8
|
+
deviceTypeId: number;
|
|
9
|
+
imei: string;
|
|
10
|
+
clientId: number | null;
|
|
11
|
+
createdAt: Date | null;
|
|
12
|
+
brand: string | null;
|
|
13
|
+
model: string | null;
|
|
14
|
+
name: string | null;
|
|
15
|
+
status: string | null;
|
|
16
|
+
iccid: string | null;
|
|
17
|
+
modifiedAt: Date | null;
|
|
18
|
+
createdBy: Buffer | null;
|
|
19
|
+
modifiedBy: Buffer | null;
|
|
20
|
+
forward: boolean | null;
|
|
21
|
+
color: string | null;
|
|
22
|
+
icon: string | null;
|
|
23
|
+
description: string | null;
|
|
24
|
+
dataSourceTypeId: number | null;
|
|
25
|
+
sievaUserName: string | null;
|
|
26
|
+
sievaBatchId: number | null;
|
|
27
|
+
assetCategoryId: number | null;
|
|
28
|
+
usageRegion: string | null;
|
|
29
|
+
deviceType?: DeviceType;
|
|
30
|
+
iccidCarrier?: ImeiIccidCarrier;
|
|
31
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare class DeviceBehavior {
|
|
2
|
+
id: number;
|
|
3
|
+
deviceTypeId: number;
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
type: string | null;
|
|
7
|
+
status: string;
|
|
8
|
+
behaviorName: string;
|
|
9
|
+
behaviorParams: object | null;
|
|
10
|
+
extraParams: object | null;
|
|
11
|
+
pendingNotes: string | null;
|
|
12
|
+
clientId: number | null;
|
|
13
|
+
deviceId: number | null;
|
|
14
|
+
imei: string | null;
|
|
15
|
+
icon: string | null;
|
|
16
|
+
confirmationNotes: string | null;
|
|
17
|
+
ordinalPosition: number;
|
|
18
|
+
stage: string | null;
|
|
19
|
+
additionalSettings: object | null;
|
|
20
|
+
blocking: boolean | null;
|
|
21
|
+
displayType: string | null;
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare class DeviceType {
|
|
2
|
+
id: number;
|
|
3
|
+
brand: string;
|
|
4
|
+
model: string;
|
|
5
|
+
modelFamily: string;
|
|
6
|
+
description: string | null;
|
|
7
|
+
tags: string | null;
|
|
8
|
+
url: string | null;
|
|
9
|
+
name: string | null;
|
|
10
|
+
pictureUrl: string | null;
|
|
11
|
+
userManualUrl: string | null;
|
|
12
|
+
notes: string | null;
|
|
13
|
+
supported: boolean | null;
|
|
14
|
+
activatable: boolean | null;
|
|
15
|
+
selfActivatable: boolean | null;
|
|
16
|
+
port: number | null;
|
|
17
|
+
protocolMatch: string | null;
|
|
18
|
+
stage: string | null;
|
|
19
|
+
identifierType: string;
|
|
20
|
+
landingPage: string | null;
|
|
21
|
+
troubleshooting: string | null;
|
|
22
|
+
protocol: string | null;
|
|
23
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class DeviceTypeFirmware {
|
|
2
|
+
id: number;
|
|
3
|
+
deviceTypeId: number;
|
|
4
|
+
sourceFirmwareVersion: string | null;
|
|
5
|
+
firmwareVersion: string | null;
|
|
6
|
+
firmwareCode: string | null;
|
|
7
|
+
firmwareUrl: string | null;
|
|
8
|
+
releaseDate: Date | null;
|
|
9
|
+
description: string | null;
|
|
10
|
+
enabled: boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
export declare class FirmwareUpgradeTask {
|
|
3
|
+
id: Buffer;
|
|
4
|
+
deviceTypeFirmwareId: number;
|
|
5
|
+
clientId: number;
|
|
6
|
+
deviceId: number;
|
|
7
|
+
status: string;
|
|
8
|
+
behaviorName: string | null;
|
|
9
|
+
behaviorParams: object | null;
|
|
10
|
+
createdAt: Date;
|
|
11
|
+
modifiedAt: Date | null;
|
|
12
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
export declare class Geofence {
|
|
3
|
+
id: number;
|
|
4
|
+
name: string | null;
|
|
5
|
+
type: string | null;
|
|
6
|
+
buffer: string | null;
|
|
7
|
+
createdAt: Date | null;
|
|
8
|
+
modifiedAt: Date | null;
|
|
9
|
+
createdBy: Buffer | null;
|
|
10
|
+
modifiedBy: Buffer | null;
|
|
11
|
+
clientId: number;
|
|
12
|
+
location: string | null;
|
|
13
|
+
status: number;
|
|
14
|
+
radiusDisplayUnit: string | null;
|
|
15
|
+
dataSourceTypeId: number | null;
|
|
16
|
+
geometry: string | null;
|
|
17
|
+
color: string | null;
|
|
18
|
+
isUserCreated: boolean;
|
|
19
|
+
area: number | null;
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
export declare class GeofenceEvent {
|
|
3
|
+
id: string;
|
|
4
|
+
deviceId: number;
|
|
5
|
+
geofenceId: number;
|
|
6
|
+
inDate: Date | null;
|
|
7
|
+
inLat: number | null;
|
|
8
|
+
inLon: number | null;
|
|
9
|
+
inAddress: string | null;
|
|
10
|
+
outDate: Date | null;
|
|
11
|
+
outLat: number | null;
|
|
12
|
+
outLon: number | null;
|
|
13
|
+
outAddress: string | null;
|
|
14
|
+
inOutDuration: number | null;
|
|
15
|
+
createdAt: Date;
|
|
16
|
+
modifiedAt: Date;
|
|
17
|
+
imei: string | null;
|
|
18
|
+
userId: Buffer | null;
|
|
19
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare class ImeiIccidCarrier {
|
|
2
|
+
id: number;
|
|
3
|
+
imei: string | null;
|
|
4
|
+
iccid: string | null;
|
|
5
|
+
carrier: number | null;
|
|
6
|
+
phone: string | null;
|
|
7
|
+
deviceTypeId: number | null;
|
|
8
|
+
serviceProviderProductId: number | null;
|
|
9
|
+
isValid: boolean;
|
|
10
|
+
realModel: string | null;
|
|
11
|
+
po: string | null;
|
|
12
|
+
outOfInventory: boolean;
|
|
13
|
+
apn: string | null;
|
|
14
|
+
createdAt: Date | null;
|
|
15
|
+
modifiedAt: Date | null;
|
|
16
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { Alert } from './alert';
|
|
2
|
+
import { AlertType } from './alertType';
|
|
3
|
+
import { AssetCategory } from './assetCategory';
|
|
4
|
+
import { Billing } from './billing';
|
|
5
|
+
import { BillingCustomerBraintree } from './billingCustomerBraintree';
|
|
6
|
+
import { BillingDeviceHistory } from './billingDeviceHistory';
|
|
7
|
+
import { BillingStatusHistoryBraintree } from './billingStatusHistoryBraintree';
|
|
8
|
+
import { BillingSubscriptionBraintree } from './billingSubscriptionBraintree';
|
|
9
|
+
import { Blacklist } from './blacklist';
|
|
10
|
+
import { BlacklistType } from './blacklistType';
|
|
11
|
+
import { CellTower } from './cellTower';
|
|
12
|
+
import { Client } from './client';
|
|
13
|
+
import { ClientConfiguration } from './clientConfiguration';
|
|
14
|
+
import { ClientDeviceSetting } from './clientDeviceSetting';
|
|
15
|
+
import { ClientType } from './clientType';
|
|
16
|
+
import { Country } from './country';
|
|
17
|
+
import { DataSourceType } from './dataSourceType';
|
|
18
|
+
import { Deactivation } from './deactivation';
|
|
19
|
+
import { DeactivationReason } from './deactivationReason';
|
|
20
|
+
import { Device } from './device';
|
|
21
|
+
import { DeviceBehavior } from './deviceBehavior';
|
|
22
|
+
import { DeviceHistory } from './deviceHistory';
|
|
23
|
+
import { DeviceModelListener } from './deviceModelListener';
|
|
24
|
+
import { DeviceReplacement } from './deviceReplacement';
|
|
25
|
+
import { DeviceType } from './deviceType';
|
|
26
|
+
import { DeviceTypeEvent } from './deviceTypeEvent';
|
|
27
|
+
import { DeviceTypeFeature } from './deviceTypeFeature';
|
|
28
|
+
import { DeviceTypeFirmware } from './deviceTypeFirmware';
|
|
29
|
+
import { EntityTag } from './entityTag';
|
|
30
|
+
import { EntityType } from './entityType';
|
|
31
|
+
import { Event } from './event';
|
|
32
|
+
import { Feature } from './feature';
|
|
33
|
+
import { FirmwareUpgradeTask } from './firmwareUpgradeTask';
|
|
34
|
+
import { Geofence } from './geofence';
|
|
35
|
+
import { GeofenceEvent } from './geofenceEvent';
|
|
36
|
+
import { ImeiIccidCarrier } from './imeiIccidCarrier';
|
|
37
|
+
import { ImeiIccidHistory } from './imeiIccidHistory';
|
|
38
|
+
import { Industry } from './industry';
|
|
39
|
+
import { MobileNetwork } from './mobileNetwork';
|
|
40
|
+
import { NotificationRecipient } from './notificationRecipient';
|
|
41
|
+
import { Organization } from './organization';
|
|
42
|
+
import { Plan } from './plan';
|
|
43
|
+
import { Position } from './position';
|
|
44
|
+
import { SecurityRole } from './securityRole';
|
|
45
|
+
import { ServiceProvider } from './serviceProvider';
|
|
46
|
+
import { ServiceProviderProduct } from './serviceProviderProduct';
|
|
47
|
+
import { ServiceProviderProductNetwork } from './serviceProviderProductNetwork';
|
|
48
|
+
import { ServiceProviderProductType } from './serviceProviderProductType';
|
|
49
|
+
import { Sim } from './sim';
|
|
50
|
+
import { Trip } from './trip';
|
|
51
|
+
import { TripCompletionStatus } from './tripCompletionStatus';
|
|
52
|
+
import { TripPosition } from './tripPosition';
|
|
53
|
+
import { User } from './user';
|
|
54
|
+
import { UserActivation } from './userActivation';
|
|
55
|
+
import { UserActivationDevice } from './userActivationDevice';
|
|
56
|
+
import { UserActivationEvent } from './userActivationEvent';
|
|
57
|
+
import { UserActivationMetric } from './userActivationMetric';
|
|
58
|
+
import { UserAlertConfiguration } from './userAlertConfiguration';
|
|
59
|
+
import { UserAppFeedback } from './userAppFeedback';
|
|
60
|
+
import { UserAppIncident } from './userAppIncident';
|
|
61
|
+
import { UserConfiguration } from './userConfiguration';
|
|
62
|
+
import { UserDataDeletionRequest } from './userDataDeletionRequest';
|
|
63
|
+
import { UserDeviceBehaviorTask } from './userDeviceBehaviorTask';
|
|
64
|
+
import { UserInvitation } from './userInvitation';
|
|
65
|
+
import { UserRatingRequest } from './userRatingRequest';
|
|
66
|
+
import { UserRegistrationAttempt } from './userRegistrationAttempt';
|
|
67
|
+
import { UserSecurityRole } from './userSecurityRole';
|
|
68
|
+
export { Alert, AlertType, AssetCategory, Billing, BillingCustomerBraintree, BillingDeviceHistory, BillingStatusHistoryBraintree, BillingSubscriptionBraintree, Blacklist, BlacklistType, CellTower, Client, ClientConfiguration, ClientDeviceSetting, ClientType, Country, DataSourceType, Deactivation, DeactivationReason, Device, DeviceBehavior, DeviceHistory, DeviceModelListener, DeviceReplacement, DeviceType, DeviceTypeEvent, DeviceTypeFeature, DeviceTypeFirmware, EntityTag, EntityType, Event, Feature, FirmwareUpgradeTask, Geofence, GeofenceEvent, ImeiIccidCarrier, ImeiIccidHistory, Industry, MobileNetwork, NotificationRecipient, Organization, Plan, Position, SecurityRole, ServiceProvider, ServiceProviderProduct, ServiceProviderProductNetwork, ServiceProviderProductType, Sim, Trip, TripCompletionStatus, TripPosition, User, UserActivation, UserActivationDevice, UserActivationEvent, UserActivationMetric, UserAlertConfiguration, UserAppFeedback, UserAppIncident, UserConfiguration, UserDataDeletionRequest, UserDeviceBehaviorTask, UserInvitation, UserRatingRequest, UserRegistrationAttempt, UserSecurityRole, };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
export declare class NotificationRecipient {
|
|
3
|
+
id: number;
|
|
4
|
+
clientId: number;
|
|
5
|
+
notificationType: number;
|
|
6
|
+
recipient: string;
|
|
7
|
+
isEnabled: boolean;
|
|
8
|
+
isUserProfile: boolean;
|
|
9
|
+
createdAt: Date;
|
|
10
|
+
modifiedAt: Date;
|
|
11
|
+
dataSourceTypeId: number | null;
|
|
12
|
+
unsubscribed: boolean;
|
|
13
|
+
userId: Buffer | null;
|
|
14
|
+
}
|