@spytecgps/nova-orm 0.0.5 → 0.0.7
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/index.js +2 -5
- package/dist/index.js.LICENSE.txt +41 -0
- package/dist/utils/uuidHelpers.d.ts +0 -1
- package/package.json +3 -3
- package/dist/entities/alert.js +0 -118
- package/dist/entities/alertType.js +0 -65
- package/dist/entities/assetCategory.js +0 -29
- package/dist/entities/billing.js +0 -81
- package/dist/entities/billingCustomerBraintree.js +0 -53
- package/dist/entities/billingDeviceHistory.js +0 -52
- package/dist/entities/billingStatusHistoryBraintree.js +0 -55
- package/dist/entities/billingSubscriptionBraintree.js +0 -169
- package/dist/entities/blacklist.js +0 -44
- package/dist/entities/blacklistType.js +0 -28
- package/dist/entities/cellTower.js +0 -56
- package/dist/entities/client.js +0 -96
- package/dist/entities/clientConfiguration.js +0 -42
- package/dist/entities/clientDeviceSetting.js +0 -76
- package/dist/entities/clientType.js +0 -32
- package/dist/entities/country.js +0 -76
- package/dist/entities/dataSourceType.js +0 -28
- package/dist/entities/deactivation.js +0 -63
- package/dist/entities/deactivationReason.js +0 -36
- package/dist/entities/device.js +0 -123
- package/dist/entities/deviceBehavior.js +0 -105
- package/dist/entities/deviceHistory.js +0 -44
- package/dist/entities/deviceModelListener.js +0 -40
- package/dist/entities/deviceReplacement.js +0 -49
- package/dist/entities/deviceType.js +0 -100
- package/dist/entities/deviceTypeEvent.js +0 -29
- package/dist/entities/deviceTypeFeature.js +0 -29
- package/dist/entities/deviceTypeFirmware.js +0 -57
- package/dist/entities/entityTag.js +0 -42
- package/dist/entities/entityType.js +0 -28
- package/dist/entities/event.js +0 -32
- package/dist/entities/feature.js +0 -32
- package/dist/entities/firmwareUpgradeTask.js +0 -53
- package/dist/entities/geofence.js +0 -86
- package/dist/entities/geofenceEvent.js +0 -87
- package/dist/entities/imeiIccidCarrier.js +0 -78
- package/dist/entities/imeiIccidHistory.js +0 -38
- package/dist/entities/index.js +0 -68
- package/dist/entities/industry.js +0 -40
- package/dist/entities/mobileNetwork.js +0 -44
- package/dist/entities/notificationRecipient.js +0 -70
- package/dist/entities/organization.js +0 -40
- package/dist/entities/plan.js +0 -72
- package/dist/entities/position.js +0 -84
- package/dist/entities/securityRole.js +0 -36
- package/dist/entities/serviceProvider.js +0 -36
- package/dist/entities/serviceProviderProduct.js +0 -54
- package/dist/entities/serviceProviderProductNetwork.js +0 -28
- package/dist/entities/serviceProviderProductType.js +0 -28
- package/dist/entities/sim.js +0 -78
- package/dist/entities/trip.js +0 -103
- package/dist/entities/tripCompletionStatus.js +0 -32
- package/dist/entities/tripPosition.js +0 -24
- package/dist/entities/user.js +0 -116
- package/dist/entities/userActivation.js +0 -45
- package/dist/entities/userActivationDevice.js +0 -105
- package/dist/entities/userActivationEvent.js +0 -52
- package/dist/entities/userActivationMetric.js +0 -167
- package/dist/entities/userAlertConfiguration.js +0 -68
- package/dist/entities/userAppFeedback.js +0 -45
- package/dist/entities/userAppIncident.js +0 -131
- package/dist/entities/userConfiguration.js +0 -87
- package/dist/entities/userDataDeletionRequest.js +0 -48
- package/dist/entities/userDeviceBehaviorTask.js +0 -61
- package/dist/entities/userInvitation.js +0 -75
- package/dist/entities/userRatingRequest.js +0 -63
- package/dist/entities/userRegistrationAttempt.js +0 -145
- package/dist/entities/userSecurityRole.js +0 -30
- package/dist/novaDataSource.js +0 -59
- package/dist/repositories/baseRepository.js +0 -5
- package/dist/repositories/devicesRepository.js +0 -122
- package/dist/repositories/index.js +0 -3
- package/dist/repositories/securityRepository.js +0 -99
- package/dist/types/enums.js +0 -11
- package/dist/utils/uuidHelpers.js +0 -6
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { Column, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
|
|
11
|
-
let UserAlertConfiguration = class UserAlertConfiguration {
|
|
12
|
-
};
|
|
13
|
-
__decorate([
|
|
14
|
-
PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
|
|
15
|
-
__metadata("design:type", Number)
|
|
16
|
-
], UserAlertConfiguration.prototype, "id", void 0);
|
|
17
|
-
__decorate([
|
|
18
|
-
Column('binary', { name: 'userId', length: 16 }),
|
|
19
|
-
__metadata("design:type", Buffer)
|
|
20
|
-
], UserAlertConfiguration.prototype, "userId", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
Column('tinyint', { name: 'smsNotification', nullable: true, width: 1 }),
|
|
23
|
-
__metadata("design:type", Boolean)
|
|
24
|
-
], UserAlertConfiguration.prototype, "smsNotification", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
Column('tinyint', { name: 'emailNotification', nullable: true, width: 1 }),
|
|
27
|
-
__metadata("design:type", Boolean)
|
|
28
|
-
], UserAlertConfiguration.prototype, "emailNotification", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
Column('tinyint', { name: 'alertTypeId' }),
|
|
31
|
-
__metadata("design:type", Number)
|
|
32
|
-
], UserAlertConfiguration.prototype, "alertTypeId", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
Column('varchar', { name: 'alertValue', nullable: true, length: 10 }),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], UserAlertConfiguration.prototype, "alertValue", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
Column('tinyint', {
|
|
39
|
-
name: 'appNotification',
|
|
40
|
-
nullable: true,
|
|
41
|
-
width: 1,
|
|
42
|
-
default: () => "'1'",
|
|
43
|
-
}),
|
|
44
|
-
__metadata("design:type", Boolean)
|
|
45
|
-
], UserAlertConfiguration.prototype, "appNotification", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
Column('tinyint', { name: 'dataSourceTypeId', nullable: true }),
|
|
48
|
-
__metadata("design:type", Number)
|
|
49
|
-
], UserAlertConfiguration.prototype, "dataSourceTypeId", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
Column('tinyint', {
|
|
52
|
-
name: 'pushNotification',
|
|
53
|
-
width: 1,
|
|
54
|
-
default: () => "'1'",
|
|
55
|
-
}),
|
|
56
|
-
__metadata("design:type", Boolean)
|
|
57
|
-
], UserAlertConfiguration.prototype, "pushNotification", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
Column('varchar', { name: 'alertMetadata', nullable: true, length: 255 }),
|
|
60
|
-
__metadata("design:type", String)
|
|
61
|
-
], UserAlertConfiguration.prototype, "alertMetadata", void 0);
|
|
62
|
-
UserAlertConfiguration = __decorate([
|
|
63
|
-
Index('ixuUserAlertConfigurationUserIdAlertConfigurationId', ['userId', 'alertTypeId'], {
|
|
64
|
-
unique: true,
|
|
65
|
-
}),
|
|
66
|
-
Entity('userAlertConfiguration', { schema: 'nova' })
|
|
67
|
-
], UserAlertConfiguration);
|
|
68
|
-
export { UserAlertConfiguration };
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { Column, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
|
|
11
|
-
let UserAppFeedback = class UserAppFeedback {
|
|
12
|
-
};
|
|
13
|
-
__decorate([
|
|
14
|
-
PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
|
|
15
|
-
__metadata("design:type", Number)
|
|
16
|
-
], UserAppFeedback.prototype, "id", void 0);
|
|
17
|
-
__decorate([
|
|
18
|
-
Column('binary', { name: 'userId', length: 16 }),
|
|
19
|
-
__metadata("design:type", Buffer)
|
|
20
|
-
], UserAppFeedback.prototype, "userId", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
Column('varchar', { name: 'platform', length: 25 }),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], UserAppFeedback.prototype, "platform", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
Column('varchar', { name: 'appVersion', length: 20 }),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], UserAppFeedback.prototype, "appVersion", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
Column('varchar', { name: 'feedback', nullable: true, length: 2000 }),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], UserAppFeedback.prototype, "feedback", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
Column('datetime', { name: 'createdAt', default: () => 'CURRENT_TIMESTAMP' }),
|
|
35
|
-
__metadata("design:type", Date)
|
|
36
|
-
], UserAppFeedback.prototype, "createdAt", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
Column('datetime', { name: 'amazonReviewDate', nullable: true }),
|
|
39
|
-
__metadata("design:type", Date)
|
|
40
|
-
], UserAppFeedback.prototype, "amazonReviewDate", void 0);
|
|
41
|
-
UserAppFeedback = __decorate([
|
|
42
|
-
Index('ixUserAppFeedbackUserId', ['userId'], {}),
|
|
43
|
-
Entity('userAppFeedback', { schema: 'nova' })
|
|
44
|
-
], UserAppFeedback);
|
|
45
|
-
export { UserAppFeedback };
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { Column, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
|
|
11
|
-
let UserAppIncident = class UserAppIncident {
|
|
12
|
-
};
|
|
13
|
-
__decorate([
|
|
14
|
-
PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
|
|
15
|
-
__metadata("design:type", Number)
|
|
16
|
-
], UserAppIncident.prototype, "id", void 0);
|
|
17
|
-
__decorate([
|
|
18
|
-
Column('binary', { name: 'userId', length: 16 }),
|
|
19
|
-
__metadata("design:type", Buffer)
|
|
20
|
-
], UserAppIncident.prototype, "userId", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
Column('varchar', { name: 'userName', nullable: true, length: 50 }),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], UserAppIncident.prototype, "userName", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
Column('varchar', { name: 'userEmail', nullable: true, length: 255 }),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], UserAppIncident.prototype, "userEmail", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
Column('varchar', { name: 'deviceOs', length: 15 }),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], UserAppIncident.prototype, "deviceOs", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
Column('varchar', {
|
|
35
|
-
name: 'deviceManufacturer',
|
|
36
|
-
nullable: true,
|
|
37
|
-
length: 100,
|
|
38
|
-
}),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], UserAppIncident.prototype, "deviceManufacturer", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
Column('varchar', { name: 'deviceModel', nullable: true, length: 100 }),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], UserAppIncident.prototype, "deviceModel", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
Column('varchar', { name: 'stage', length: 25 }),
|
|
47
|
-
__metadata("design:type", String)
|
|
48
|
-
], UserAppIncident.prototype, "stage", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
Column('varchar', { name: 'appVersion', length: 25 }),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], UserAppIncident.prototype, "appVersion", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
Column('datetime', { name: 'createdAt' }),
|
|
55
|
-
__metadata("design:type", Date)
|
|
56
|
-
], UserAppIncident.prototype, "createdAt", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
Column('text', { name: 'errorMessage', nullable: true }),
|
|
59
|
-
__metadata("design:type", String)
|
|
60
|
-
], UserAppIncident.prototype, "errorMessage", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
Column('datetime', { name: 'errorFirstReceivedAt', nullable: true }),
|
|
63
|
-
__metadata("design:type", Date)
|
|
64
|
-
], UserAppIncident.prototype, "errorFirstReceivedAt", void 0);
|
|
65
|
-
__decorate([
|
|
66
|
-
Column('datetime', { name: 'errorReceivedAt', nullable: true }),
|
|
67
|
-
__metadata("design:type", Date)
|
|
68
|
-
], UserAppIncident.prototype, "errorReceivedAt", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
Column('tinyint', { name: 'deviceJailbroken', nullable: true, width: 1 }),
|
|
71
|
-
__metadata("design:type", Boolean)
|
|
72
|
-
], UserAppIncident.prototype, "deviceJailbroken", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
Column('varchar', { name: 'deviceOsVersion', nullable: true, length: 20 }),
|
|
75
|
-
__metadata("design:type", String)
|
|
76
|
-
], UserAppIncident.prototype, "deviceOsVersion", void 0);
|
|
77
|
-
__decorate([
|
|
78
|
-
Column('smallint', { name: 'deviceFreeMemory', nullable: true }),
|
|
79
|
-
__metadata("design:type", Number)
|
|
80
|
-
], UserAppIncident.prototype, "deviceFreeMemory", void 0);
|
|
81
|
-
__decorate([
|
|
82
|
-
Column('smallint', { name: 'deviceTotalMemory', nullable: true }),
|
|
83
|
-
__metadata("design:type", Number)
|
|
84
|
-
], UserAppIncident.prototype, "deviceTotalMemory", void 0);
|
|
85
|
-
__decorate([
|
|
86
|
-
Column('tinyint', { name: 'deviceCharging', nullable: true, width: 1 }),
|
|
87
|
-
__metadata("design:type", Boolean)
|
|
88
|
-
], UserAppIncident.prototype, "deviceCharging", void 0);
|
|
89
|
-
__decorate([
|
|
90
|
-
Column('smallint', { name: 'deviceBatteryLevel', nullable: true }),
|
|
91
|
-
__metadata("design:type", Number)
|
|
92
|
-
], UserAppIncident.prototype, "deviceBatteryLevel", void 0);
|
|
93
|
-
__decorate([
|
|
94
|
-
Column('varchar', {
|
|
95
|
-
name: 'deviceNetworkAccess',
|
|
96
|
-
nullable: true,
|
|
97
|
-
length: 100,
|
|
98
|
-
}),
|
|
99
|
-
__metadata("design:type", String)
|
|
100
|
-
], UserAppIncident.prototype, "deviceNetworkAccess", void 0);
|
|
101
|
-
__decorate([
|
|
102
|
-
Column('varchar', { name: 'appActiveScreen', nullable: true, length: 50 }),
|
|
103
|
-
__metadata("design:type", String)
|
|
104
|
-
], UserAppIncident.prototype, "appActiveScreen", void 0);
|
|
105
|
-
__decorate([
|
|
106
|
-
Column('tinyint', { name: 'appInForeground', nullable: true, width: 1 }),
|
|
107
|
-
__metadata("design:type", Boolean)
|
|
108
|
-
], UserAppIncident.prototype, "appInForeground", void 0);
|
|
109
|
-
__decorate([
|
|
110
|
-
Column('int', { name: 'appDurationInForeground', nullable: true }),
|
|
111
|
-
__metadata("design:type", Number)
|
|
112
|
-
], UserAppIncident.prototype, "appDurationInForeground", void 0);
|
|
113
|
-
__decorate([
|
|
114
|
-
Column('varchar', { name: 'appBundleId', nullable: true, length: 500 }),
|
|
115
|
-
__metadata("design:type", String)
|
|
116
|
-
], UserAppIncident.prototype, "appBundleId", void 0);
|
|
117
|
-
__decorate([
|
|
118
|
-
Column('varchar', { name: 'incidentUrl', nullable: true, length: 1000 }),
|
|
119
|
-
__metadata("design:type", String)
|
|
120
|
-
], UserAppIncident.prototype, "incidentUrl", void 0);
|
|
121
|
-
__decorate([
|
|
122
|
-
Column('varchar', { name: 'errorId', nullable: true, length: 100 }),
|
|
123
|
-
__metadata("design:type", String)
|
|
124
|
-
], UserAppIncident.prototype, "errorId", void 0);
|
|
125
|
-
UserAppIncident = __decorate([
|
|
126
|
-
Index('ixUserAppIncidentCreatedAt', ['createdAt'], {}),
|
|
127
|
-
Index('ixUserAppIncidentErrorId', ['errorId'], {}),
|
|
128
|
-
Index('ixUserAppIncidentUserId', ['userId'], {}),
|
|
129
|
-
Entity('userAppIncident', { schema: 'nova' })
|
|
130
|
-
], UserAppIncident);
|
|
131
|
-
export { UserAppIncident };
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { Column, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
|
|
11
|
-
let UserConfiguration = class UserConfiguration {
|
|
12
|
-
};
|
|
13
|
-
__decorate([
|
|
14
|
-
PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
|
|
15
|
-
__metadata("design:type", Number)
|
|
16
|
-
], UserConfiguration.prototype, "id", void 0);
|
|
17
|
-
__decorate([
|
|
18
|
-
Column('binary', { name: 'userId', length: 16 }),
|
|
19
|
-
__metadata("design:type", Buffer)
|
|
20
|
-
], UserConfiguration.prototype, "userId", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
Column('tinyint', { name: 'isMetric', width: 1 }),
|
|
23
|
-
__metadata("design:type", Boolean)
|
|
24
|
-
], UserConfiguration.prototype, "isMetric", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
Column('varchar', {
|
|
27
|
-
name: 'timezone',
|
|
28
|
-
nullable: true,
|
|
29
|
-
length: 255,
|
|
30
|
-
default: () => "'EST'",
|
|
31
|
-
}),
|
|
32
|
-
__metadata("design:type", String)
|
|
33
|
-
], UserConfiguration.prototype, "timezone", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
Column('smallint', { name: 'movementTripThreshold', nullable: true }),
|
|
36
|
-
__metadata("design:type", Number)
|
|
37
|
-
], UserConfiguration.prototype, "movementTripThreshold", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
Column('smallint', { name: 'stopTripThreshold', nullable: true }),
|
|
40
|
-
__metadata("design:type", Number)
|
|
41
|
-
], UserConfiguration.prototype, "stopTripThreshold", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
Column('datetime', { name: 'createdAt', nullable: true }),
|
|
44
|
-
__metadata("design:type", Date)
|
|
45
|
-
], UserConfiguration.prototype, "createdAt", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
Column('datetime', { name: 'modifiedAt', nullable: true }),
|
|
48
|
-
__metadata("design:type", Date)
|
|
49
|
-
], UserConfiguration.prototype, "modifiedAt", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
Column('varchar', { name: 'defaultMapLayer', nullable: true, length: 25 }),
|
|
52
|
-
__metadata("design:type", String)
|
|
53
|
-
], UserConfiguration.prototype, "defaultMapLayer", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
Column('varchar', { name: 'speedUnits', nullable: true, length: 10 }),
|
|
56
|
-
__metadata("design:type", String)
|
|
57
|
-
], UserConfiguration.prototype, "speedUnits", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
Column('varchar', { name: 'distanceUnits', nullable: true, length: 10 }),
|
|
60
|
-
__metadata("design:type", String)
|
|
61
|
-
], UserConfiguration.prototype, "distanceUnits", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
Column('tinyint', {
|
|
64
|
-
name: 'alertsNotificationsOn',
|
|
65
|
-
nullable: true,
|
|
66
|
-
width: 1,
|
|
67
|
-
default: () => "'1'",
|
|
68
|
-
}),
|
|
69
|
-
__metadata("design:type", Boolean)
|
|
70
|
-
], UserConfiguration.prototype, "alertsNotificationsOn", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
Column('tinyint', { name: 'dataSourceTypeId', nullable: true }),
|
|
73
|
-
__metadata("design:type", Number)
|
|
74
|
-
], UserConfiguration.prototype, "dataSourceTypeId", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
Column('varchar', { name: 'homepage', nullable: true, length: 50 }),
|
|
77
|
-
__metadata("design:type", String)
|
|
78
|
-
], UserConfiguration.prototype, "homepage", void 0);
|
|
79
|
-
__decorate([
|
|
80
|
-
Column('varchar', { name: 'temperatureUnits', nullable: true, length: 10 }),
|
|
81
|
-
__metadata("design:type", String)
|
|
82
|
-
], UserConfiguration.prototype, "temperatureUnits", void 0);
|
|
83
|
-
UserConfiguration = __decorate([
|
|
84
|
-
Index('ixUserConfigurationUserId', ['userId'], {}),
|
|
85
|
-
Entity('userConfiguration', { schema: 'nova' })
|
|
86
|
-
], UserConfiguration);
|
|
87
|
-
export { UserConfiguration };
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
|
|
11
|
-
let UserDataDeletionRequest = class UserDataDeletionRequest {
|
|
12
|
-
};
|
|
13
|
-
__decorate([
|
|
14
|
-
PrimaryGeneratedColumn({ type: 'smallint', name: 'id' }),
|
|
15
|
-
__metadata("design:type", Number)
|
|
16
|
-
], UserDataDeletionRequest.prototype, "id", void 0);
|
|
17
|
-
__decorate([
|
|
18
|
-
Column('binary', { name: 'userId', length: 16 }),
|
|
19
|
-
__metadata("design:type", Buffer)
|
|
20
|
-
], UserDataDeletionRequest.prototype, "userId", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
Column('int', { name: 'clientId' }),
|
|
23
|
-
__metadata("design:type", Number)
|
|
24
|
-
], UserDataDeletionRequest.prototype, "clientId", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
Column('varchar', { name: 'userSecurityRoleName', length: 50 }),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], UserDataDeletionRequest.prototype, "userSecurityRoleName", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
Column('varchar', { name: 'email', length: 255 }),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], UserDataDeletionRequest.prototype, "email", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
Column('varchar', { name: 'status', nullable: true, length: 10 }),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], UserDataDeletionRequest.prototype, "status", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
Column('datetime', { name: 'createdAt', nullable: true }),
|
|
39
|
-
__metadata("design:type", Date)
|
|
40
|
-
], UserDataDeletionRequest.prototype, "createdAt", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
Column('datetime', { name: 'modifiedAt', nullable: true }),
|
|
43
|
-
__metadata("design:type", Date)
|
|
44
|
-
], UserDataDeletionRequest.prototype, "modifiedAt", void 0);
|
|
45
|
-
UserDataDeletionRequest = __decorate([
|
|
46
|
-
Entity('userDataDeletionRequest', { schema: 'nova' })
|
|
47
|
-
], UserDataDeletionRequest);
|
|
48
|
-
export { UserDataDeletionRequest };
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { Column, Entity, Index } from 'typeorm';
|
|
11
|
-
let UserDeviceBehaviorTask = class UserDeviceBehaviorTask {
|
|
12
|
-
};
|
|
13
|
-
__decorate([
|
|
14
|
-
Column('varchar', { primary: true, name: 'id', length: 255 }),
|
|
15
|
-
__metadata("design:type", String)
|
|
16
|
-
], UserDeviceBehaviorTask.prototype, "id", void 0);
|
|
17
|
-
__decorate([
|
|
18
|
-
Column('smallint', { name: 'deviceBehaviorId' }),
|
|
19
|
-
__metadata("design:type", Number)
|
|
20
|
-
], UserDeviceBehaviorTask.prototype, "deviceBehaviorId", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
Column('int', { name: 'clientId' }),
|
|
23
|
-
__metadata("design:type", Number)
|
|
24
|
-
], UserDeviceBehaviorTask.prototype, "clientId", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
Column('binary', { name: 'userId', length: 16 }),
|
|
27
|
-
__metadata("design:type", Buffer)
|
|
28
|
-
], UserDeviceBehaviorTask.prototype, "userId", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
Column('varchar', { name: 'imei', length: 15 }),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], UserDeviceBehaviorTask.prototype, "imei", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
Column('varchar', { name: 'behaviorName', length: 25 }),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], UserDeviceBehaviorTask.prototype, "behaviorName", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
Column('json', { name: 'behaviorParams', nullable: true }),
|
|
39
|
-
__metadata("design:type", Object)
|
|
40
|
-
], UserDeviceBehaviorTask.prototype, "behaviorParams", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
Column('varchar', { name: 'status', length: 10 }),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], UserDeviceBehaviorTask.prototype, "status", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
Column('datetime', { name: 'createdAt' }),
|
|
47
|
-
__metadata("design:type", Date)
|
|
48
|
-
], UserDeviceBehaviorTask.prototype, "createdAt", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
Column('datetime', { name: 'modifiedOn', nullable: true }),
|
|
51
|
-
__metadata("design:type", Date)
|
|
52
|
-
], UserDeviceBehaviorTask.prototype, "modifiedOn", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
Column('json', { name: 'extraParams', nullable: true }),
|
|
55
|
-
__metadata("design:type", Object)
|
|
56
|
-
], UserDeviceBehaviorTask.prototype, "extraParams", void 0);
|
|
57
|
-
UserDeviceBehaviorTask = __decorate([
|
|
58
|
-
Index('ixUserDeviceBehaviorTaskDeviceBehaviorId', ['deviceBehaviorId'], {}),
|
|
59
|
-
Entity('userDeviceBehaviorTask', { schema: 'nova' })
|
|
60
|
-
], UserDeviceBehaviorTask);
|
|
61
|
-
export { UserDeviceBehaviorTask };
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { Column, Entity, Index } from 'typeorm';
|
|
11
|
-
let UserInvitation = class UserInvitation {
|
|
12
|
-
};
|
|
13
|
-
__decorate([
|
|
14
|
-
Column('binary', { primary: true, name: 'id', length: 16 }),
|
|
15
|
-
__metadata("design:type", Buffer)
|
|
16
|
-
], UserInvitation.prototype, "id", void 0);
|
|
17
|
-
__decorate([
|
|
18
|
-
Column('bigint', { name: 'inviterClientId' }),
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], UserInvitation.prototype, "inviterClientId", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
Column('binary', { name: 'inviterUserId', length: 16 }),
|
|
23
|
-
__metadata("design:type", Buffer)
|
|
24
|
-
], UserInvitation.prototype, "inviterUserId", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
Column('varchar', { name: 'inviteeEmail', length: 255 }),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], UserInvitation.prototype, "inviteeEmail", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
Column('tinyint', { name: 'inviteeSecurityRoleId' }),
|
|
31
|
-
__metadata("design:type", Number)
|
|
32
|
-
], UserInvitation.prototype, "inviteeSecurityRoleId", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
Column('varchar', { name: 'status', length: 10 }),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], UserInvitation.prototype, "status", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
Column('datetime', { name: 'createdAt' }),
|
|
39
|
-
__metadata("design:type", Date)
|
|
40
|
-
], UserInvitation.prototype, "createdAt", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
Column('datetime', { name: 'modifiedAt' }),
|
|
43
|
-
__metadata("design:type", Date)
|
|
44
|
-
], UserInvitation.prototype, "modifiedAt", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
Column('binary', { name: 'inviteeUserId', nullable: true, length: 16 }),
|
|
47
|
-
__metadata("design:type", Buffer)
|
|
48
|
-
], UserInvitation.prototype, "inviteeUserId", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
Column('varchar', { name: 'trackerImeis', nullable: true, length: 1000 }),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], UserInvitation.prototype, "trackerImeis", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
Column('text', { name: 'trackerAccess', nullable: true }),
|
|
55
|
-
__metadata("design:type", String)
|
|
56
|
-
], UserInvitation.prototype, "trackerAccess", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
Column('datetime', { name: 'minAccessDate', nullable: true }),
|
|
59
|
-
__metadata("design:type", Date)
|
|
60
|
-
], UserInvitation.prototype, "minAccessDate", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
Column('text', { name: 'boundaries', nullable: true }),
|
|
63
|
-
__metadata("design:type", String)
|
|
64
|
-
], UserInvitation.prototype, "boundaries", void 0);
|
|
65
|
-
__decorate([
|
|
66
|
-
Column('text', { name: 'boundaryAccess', nullable: true }),
|
|
67
|
-
__metadata("design:type", String)
|
|
68
|
-
], UserInvitation.prototype, "boundaryAccess", void 0);
|
|
69
|
-
UserInvitation = __decorate([
|
|
70
|
-
Index('ixUserInvtationInviteeEmail', ['inviteeEmail'], {}),
|
|
71
|
-
Index('ixUserInvtationInviterClientId', ['inviterClientId'], {}),
|
|
72
|
-
Index('ixUserInvtationInviteeSecurityRoleId', ['inviteeSecurityRoleId'], {}),
|
|
73
|
-
Entity('userInvitation', { schema: 'nova' })
|
|
74
|
-
], UserInvitation);
|
|
75
|
-
export { UserInvitation };
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
-
};
|
|
10
|
-
import { Column, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
|
|
11
|
-
let UserRatingRequest = class UserRatingRequest {
|
|
12
|
-
};
|
|
13
|
-
__decorate([
|
|
14
|
-
PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
|
|
15
|
-
__metadata("design:type", Number)
|
|
16
|
-
], UserRatingRequest.prototype, "id", void 0);
|
|
17
|
-
__decorate([
|
|
18
|
-
Column('binary', { name: 'userId', length: 16 }),
|
|
19
|
-
__metadata("design:type", Buffer)
|
|
20
|
-
], UserRatingRequest.prototype, "userId", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
Column('int', { name: 'clientId' }),
|
|
23
|
-
__metadata("design:type", Number)
|
|
24
|
-
], UserRatingRequest.prototype, "clientId", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
Column('varchar', { name: 'deviceManufacturer', length: 500 }),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], UserRatingRequest.prototype, "deviceManufacturer", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
Column('varchar', { name: 'deviceOs', length: 50 }),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], UserRatingRequest.prototype, "deviceOs", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
Column('varchar', { name: 'deviceOsVersion', length: 20 }),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], UserRatingRequest.prototype, "deviceOsVersion", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
Column('varchar', { name: 'appVersion', length: 10 }),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], UserRatingRequest.prototype, "appVersion", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
Column('datetime', { name: 'requestDate', nullable: true }),
|
|
43
|
-
__metadata("design:type", Date)
|
|
44
|
-
], UserRatingRequest.prototype, "requestDate", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
Column('datetime', { name: 'amazonRequestDate', nullable: true }),
|
|
47
|
-
__metadata("design:type", Date)
|
|
48
|
-
], UserRatingRequest.prototype, "amazonRequestDate", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
Column('varchar', {
|
|
51
|
-
name: 'deviceIdentifierKey',
|
|
52
|
-
nullable: true,
|
|
53
|
-
length: 255,
|
|
54
|
-
}),
|
|
55
|
-
__metadata("design:type", String)
|
|
56
|
-
], UserRatingRequest.prototype, "deviceIdentifierKey", void 0);
|
|
57
|
-
UserRatingRequest = __decorate([
|
|
58
|
-
Index('ixUserRatingRequestAmazonRequestDate', ['amazonRequestDate'], {}),
|
|
59
|
-
Index('ixUserRatingRequestClientId', ['clientId'], {}),
|
|
60
|
-
Index('ixUserRatingRequestUserId', ['userId'], {}),
|
|
61
|
-
Entity('userRatingRequest', { schema: 'nova' })
|
|
62
|
-
], UserRatingRequest);
|
|
63
|
-
export { UserRatingRequest };
|