@spytecgps/nova-orm 0.0.4 → 0.0.5
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/alert.js +118 -0
- package/dist/entities/alertType.d.ts +14 -0
- package/dist/entities/alertType.js +65 -0
- package/dist/entities/assetCategory.d.ts +5 -0
- package/dist/entities/assetCategory.js +29 -0
- package/dist/entities/billing.d.ts +15 -0
- package/dist/entities/billing.js +81 -0
- package/dist/entities/billingCustomerBraintree.d.ts +11 -0
- package/dist/entities/billingCustomerBraintree.js +53 -0
- package/dist/entities/billingDeviceHistory.d.ts +11 -0
- package/dist/entities/billingDeviceHistory.js +52 -0
- package/dist/entities/billingStatusHistoryBraintree.d.ts +10 -0
- package/dist/entities/billingStatusHistoryBraintree.js +55 -0
- package/dist/entities/billingSubscriptionBraintree.d.ts +34 -0
- package/dist/entities/billingSubscriptionBraintree.js +169 -0
- package/dist/entities/blacklist.d.ts +9 -0
- package/dist/entities/blacklist.js +44 -0
- package/dist/entities/blacklistType.d.ts +5 -0
- package/dist/entities/blacklistType.js +28 -0
- package/dist/entities/cellTower.d.ts +12 -0
- package/dist/entities/cellTower.js +56 -0
- package/dist/entities/client.d.ts +22 -0
- package/dist/entities/client.js +96 -0
- package/dist/entities/clientConfiguration.d.ts +7 -0
- package/dist/entities/clientConfiguration.js +42 -0
- package/dist/entities/clientDeviceSetting.d.ts +14 -0
- package/dist/entities/clientDeviceSetting.js +76 -0
- package/dist/entities/clientType.d.ts +6 -0
- package/dist/entities/clientType.js +32 -0
- package/dist/entities/country.d.ts +16 -0
- package/dist/entities/country.js +76 -0
- package/dist/entities/dataSourceType.d.ts +5 -0
- package/dist/entities/dataSourceType.js +28 -0
- package/dist/entities/deactivation.d.ts +12 -0
- package/dist/entities/deactivation.js +63 -0
- package/dist/entities/deactivationReason.d.ts +6 -0
- package/dist/entities/deactivationReason.js +36 -0
- package/dist/entities/device.d.ts +31 -0
- package/dist/entities/device.js +123 -0
- package/dist/entities/deviceBehavior.d.ts +22 -0
- package/dist/entities/deviceBehavior.js +105 -0
- package/dist/entities/deviceHistory.d.ts +9 -0
- package/dist/entities/deviceHistory.js +44 -0
- package/dist/entities/deviceModelListener.d.ts +8 -0
- package/dist/entities/deviceModelListener.js +40 -0
- package/dist/entities/deviceReplacement.d.ts +11 -0
- package/dist/entities/deviceReplacement.js +49 -0
- package/dist/entities/deviceType.d.ts +23 -0
- package/dist/entities/deviceType.js +100 -0
- package/dist/entities/deviceTypeEvent.d.ts +5 -0
- package/dist/entities/deviceTypeEvent.js +29 -0
- package/dist/entities/deviceTypeFeature.d.ts +5 -0
- package/dist/entities/deviceTypeFeature.js +29 -0
- package/dist/entities/deviceTypeFirmware.d.ts +11 -0
- package/dist/entities/deviceTypeFirmware.js +57 -0
- package/dist/entities/entityTag.d.ts +8 -0
- package/dist/entities/entityTag.js +42 -0
- package/dist/entities/entityType.d.ts +5 -0
- package/dist/entities/entityType.js +28 -0
- package/dist/entities/event.d.ts +6 -0
- package/dist/entities/event.js +32 -0
- package/dist/entities/feature.d.ts +6 -0
- package/dist/entities/feature.js +32 -0
- package/dist/entities/firmwareUpgradeTask.d.ts +12 -0
- package/dist/entities/firmwareUpgradeTask.js +53 -0
- package/dist/entities/geofence.d.ts +20 -0
- package/dist/entities/geofence.js +86 -0
- package/dist/entities/geofenceEvent.d.ts +19 -0
- package/dist/entities/geofenceEvent.js +87 -0
- package/dist/entities/imeiIccidCarrier.d.ts +16 -0
- package/dist/entities/imeiIccidCarrier.js +78 -0
- package/dist/entities/imeiIccidHistory.d.ts +7 -0
- package/dist/entities/imeiIccidHistory.js +38 -0
- package/dist/entities/index.d.ts +68 -0
- package/dist/entities/index.js +68 -0
- package/dist/entities/industry.d.ts +8 -0
- package/dist/entities/industry.js +40 -0
- package/dist/entities/mobileNetwork.d.ts +9 -0
- package/dist/entities/mobileNetwork.js +44 -0
- package/dist/entities/notificationRecipient.d.ts +14 -0
- package/dist/entities/notificationRecipient.js +70 -0
- package/dist/entities/organization.d.ts +9 -0
- package/dist/entities/organization.js +40 -0
- package/dist/entities/plan.d.ts +16 -0
- package/dist/entities/plan.js +72 -0
- package/dist/entities/position.d.ts +18 -0
- package/dist/entities/position.js +84 -0
- package/dist/entities/securityRole.d.ts +7 -0
- package/dist/entities/securityRole.js +36 -0
- package/dist/entities/serviceProvider.d.ts +7 -0
- package/dist/entities/serviceProvider.js +36 -0
- package/dist/entities/serviceProviderProduct.d.ts +9 -0
- package/dist/entities/serviceProviderProduct.js +54 -0
- package/dist/entities/serviceProviderProductNetwork.d.ts +5 -0
- package/dist/entities/serviceProviderProductNetwork.js +28 -0
- package/dist/entities/serviceProviderProductType.d.ts +5 -0
- package/dist/entities/serviceProviderProductType.js +28 -0
- package/dist/entities/sim.d.ts +16 -0
- package/dist/entities/sim.js +78 -0
- package/dist/entities/trip.d.ts +24 -0
- package/dist/entities/trip.js +103 -0
- package/dist/entities/tripCompletionStatus.d.ts +6 -0
- package/dist/entities/tripCompletionStatus.js +32 -0
- package/dist/entities/tripPosition.d.ts +4 -0
- package/dist/entities/tripPosition.js +24 -0
- package/dist/entities/user.d.ts +25 -0
- package/dist/entities/user.js +116 -0
- package/dist/entities/userActivation.d.ts +9 -0
- package/dist/entities/userActivation.js +45 -0
- package/dist/entities/userActivationDevice.d.ts +22 -0
- package/dist/entities/userActivationDevice.js +105 -0
- package/dist/entities/userActivationEvent.d.ts +12 -0
- package/dist/entities/userActivationEvent.js +52 -0
- package/dist/entities/userActivationMetric.d.ts +38 -0
- package/dist/entities/userActivationMetric.js +167 -0
- package/dist/entities/userAlertConfiguration.d.ts +13 -0
- package/dist/entities/userAlertConfiguration.js +68 -0
- package/dist/entities/userAppFeedback.d.ts +10 -0
- package/dist/entities/userAppFeedback.js +45 -0
- package/dist/entities/userAppIncident.d.ts +29 -0
- package/dist/entities/userAppIncident.js +131 -0
- package/dist/entities/userConfiguration.d.ts +18 -0
- package/dist/entities/userConfiguration.js +87 -0
- package/dist/entities/userDataDeletionRequest.d.ts +11 -0
- package/dist/entities/userDataDeletionRequest.js +48 -0
- package/dist/entities/userDeviceBehaviorTask.d.ts +14 -0
- package/dist/entities/userDeviceBehaviorTask.js +61 -0
- package/dist/entities/userInvitation.d.ts +17 -0
- package/dist/entities/userInvitation.js +75 -0
- package/dist/entities/userRatingRequest.d.ts +13 -0
- package/dist/entities/userRatingRequest.js +63 -0
- package/dist/entities/userRegistrationAttempt.d.ts +35 -0
- package/dist/entities/userRegistrationAttempt.js +145 -0
- package/dist/entities/userSecurityRole.d.ts +6 -0
- package/dist/entities/userSecurityRole.js +30 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -0
- package/dist/novaDataSource.d.ts +56 -0
- package/dist/novaDataSource.js +59 -0
- package/dist/repositories/baseRepository.d.ts +5 -0
- package/dist/repositories/baseRepository.js +5 -0
- package/dist/repositories/devicesRepository.d.ts +24 -0
- package/dist/repositories/devicesRepository.js +122 -0
- package/dist/repositories/index.d.ts +3 -0
- package/dist/repositories/index.js +3 -0
- package/dist/repositories/securityRepository.d.ts +21 -0
- package/dist/repositories/securityRepository.js +99 -0
- package/dist/types/enums.d.ts +9 -0
- package/dist/types/enums.js +11 -0
- package/dist/utils/uuidHelpers.d.ts +2 -0
- package/dist/utils/uuidHelpers.js +6 -0
- package/package.json +5 -5
|
@@ -0,0 +1,167 @@
|
|
|
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 UserActivationMetric = class UserActivationMetric {
|
|
12
|
+
};
|
|
13
|
+
__decorate([
|
|
14
|
+
PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
|
|
15
|
+
__metadata("design:type", Number)
|
|
16
|
+
], UserActivationMetric.prototype, "id", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
Column('binary', { name: 'userId', length: 16 }),
|
|
19
|
+
__metadata("design:type", Buffer)
|
|
20
|
+
], UserActivationMetric.prototype, "userId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
Column('text', { name: 'firstName' }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], UserActivationMetric.prototype, "firstName", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
Column('text', { name: 'lastName' }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], UserActivationMetric.prototype, "lastName", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
Column('text', { name: 'email' }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], UserActivationMetric.prototype, "email", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
Column('text', { name: 'phone', nullable: true }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], UserActivationMetric.prototype, "phone", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
Column('text', { name: 'trackingReason', nullable: true }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], UserActivationMetric.prototype, "trackingReason", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
Column('text', { name: 'companyName', nullable: true }),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], UserActivationMetric.prototype, "companyName", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
Column('text', { name: 'role', nullable: true }),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], UserActivationMetric.prototype, "role", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
Column('text', { name: 'industry', nullable: true }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], UserActivationMetric.prototype, "industry", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
Column('text', { name: 'devicesActivatingCategory', nullable: true }),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], UserActivationMetric.prototype, "devicesActivatingCategory", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
Column('text', { name: 'assetsCountRange', nullable: true }),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], UserActivationMetric.prototype, "assetsCountRange", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
Column('decimal', {
|
|
63
|
+
name: 'devicesActivatingCount',
|
|
64
|
+
nullable: true,
|
|
65
|
+
precision: 10,
|
|
66
|
+
scale: 0,
|
|
67
|
+
}),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], UserActivationMetric.prototype, "devicesActivatingCount", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
Column('text', { name: 'plan', nullable: true }),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], UserActivationMetric.prototype, "plan", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
Column('decimal', {
|
|
76
|
+
name: 'usersInvitedCount',
|
|
77
|
+
nullable: true,
|
|
78
|
+
precision: 10,
|
|
79
|
+
scale: 0,
|
|
80
|
+
}),
|
|
81
|
+
__metadata("design:type", String)
|
|
82
|
+
], UserActivationMetric.prototype, "usersInvitedCount", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
Column('tinyint', { name: 'meetingScheduled', nullable: true, width: 1 }),
|
|
85
|
+
__metadata("design:type", Boolean)
|
|
86
|
+
], UserActivationMetric.prototype, "meetingScheduled", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
Column('datetime', { name: 'createdAt' }),
|
|
89
|
+
__metadata("design:type", Date)
|
|
90
|
+
], UserActivationMetric.prototype, "createdAt", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
Column('datetime', { name: 'modifiedAt', nullable: true }),
|
|
93
|
+
__metadata("design:type", Date)
|
|
94
|
+
], UserActivationMetric.prototype, "modifiedAt", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
Column('text', { name: 'planAnnual', nullable: true }),
|
|
97
|
+
__metadata("design:type", String)
|
|
98
|
+
], UserActivationMetric.prototype, "planAnnual", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
Column('text', { name: 'planId', nullable: true }),
|
|
101
|
+
__metadata("design:type", String)
|
|
102
|
+
], UserActivationMetric.prototype, "planId", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
Column('text', { name: 'spyEnvironment', nullable: true }),
|
|
105
|
+
__metadata("design:type", String)
|
|
106
|
+
], UserActivationMetric.prototype, "spyEnvironment", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
Column('int', { name: 'jarvisScore', nullable: true }),
|
|
109
|
+
__metadata("design:type", Number)
|
|
110
|
+
], UserActivationMetric.prototype, "jarvisScore", void 0);
|
|
111
|
+
__decorate([
|
|
112
|
+
Column('text', { name: 'enrichmentCompanyDescription', nullable: true }),
|
|
113
|
+
__metadata("design:type", String)
|
|
114
|
+
], UserActivationMetric.prototype, "enrichmentCompanyDescription", void 0);
|
|
115
|
+
__decorate([
|
|
116
|
+
Column('text', { name: 'jarvisEnrichmentCompanyEin', nullable: true }),
|
|
117
|
+
__metadata("design:type", String)
|
|
118
|
+
], UserActivationMetric.prototype, "jarvisEnrichmentCompanyEin", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
Column('text', { name: 'enrichmentCompanyEmployees', nullable: true }),
|
|
121
|
+
__metadata("design:type", String)
|
|
122
|
+
], UserActivationMetric.prototype, "enrichmentCompanyEmployees", void 0);
|
|
123
|
+
__decorate([
|
|
124
|
+
Column('text', { name: 'enrichmentCompanyIndustry', nullable: true }),
|
|
125
|
+
__metadata("design:type", String)
|
|
126
|
+
], UserActivationMetric.prototype, "enrichmentCompanyIndustry", void 0);
|
|
127
|
+
__decorate([
|
|
128
|
+
Column('text', { name: 'enrichmentCompanyLocation', nullable: true }),
|
|
129
|
+
__metadata("design:type", String)
|
|
130
|
+
], UserActivationMetric.prototype, "enrichmentCompanyLocation", void 0);
|
|
131
|
+
__decorate([
|
|
132
|
+
Column('text', { name: 'enrichmentCompanyName', nullable: true }),
|
|
133
|
+
__metadata("design:type", String)
|
|
134
|
+
], UserActivationMetric.prototype, "enrichmentCompanyName", void 0);
|
|
135
|
+
__decorate([
|
|
136
|
+
Column('text', { name: 'enrichmentCompanyRevenue', nullable: true }),
|
|
137
|
+
__metadata("design:type", String)
|
|
138
|
+
], UserActivationMetric.prototype, "enrichmentCompanyRevenue", void 0);
|
|
139
|
+
__decorate([
|
|
140
|
+
Column('text', { name: 'enrichmentPrivateDomain', nullable: true }),
|
|
141
|
+
__metadata("design:type", String)
|
|
142
|
+
], UserActivationMetric.prototype, "enrichmentPrivateDomain", void 0);
|
|
143
|
+
__decorate([
|
|
144
|
+
Column('text', { name: 'enrichmentPublicTicker', nullable: true }),
|
|
145
|
+
__metadata("design:type", String)
|
|
146
|
+
], UserActivationMetric.prototype, "enrichmentPublicTicker", void 0);
|
|
147
|
+
__decorate([
|
|
148
|
+
Column('text', { name: 'enrichmentRole', nullable: true }),
|
|
149
|
+
__metadata("design:type", String)
|
|
150
|
+
], UserActivationMetric.prototype, "enrichmentRole", void 0);
|
|
151
|
+
__decorate([
|
|
152
|
+
Column('text', { name: 'enrichmentTags', nullable: true }),
|
|
153
|
+
__metadata("design:type", String)
|
|
154
|
+
], UserActivationMetric.prototype, "enrichmentTags", void 0);
|
|
155
|
+
__decorate([
|
|
156
|
+
Column('text', { name: 'jenrichmentTitle', nullable: true }),
|
|
157
|
+
__metadata("design:type", String)
|
|
158
|
+
], UserActivationMetric.prototype, "jenrichmentTitle", void 0);
|
|
159
|
+
__decorate([
|
|
160
|
+
Column('text', { name: 'enrichmentVerifiedEmployment', nullable: true }),
|
|
161
|
+
__metadata("design:type", String)
|
|
162
|
+
], UserActivationMetric.prototype, "enrichmentVerifiedEmployment", void 0);
|
|
163
|
+
UserActivationMetric = __decorate([
|
|
164
|
+
Index('ixuUserActivationMetricUserId', ['userId'], { unique: true }),
|
|
165
|
+
Entity('userActivationMetric', { schema: 'nova' })
|
|
166
|
+
], UserActivationMetric);
|
|
167
|
+
export { UserActivationMetric };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
export declare class UserAlertConfiguration {
|
|
3
|
+
id: number;
|
|
4
|
+
userId: Buffer;
|
|
5
|
+
smsNotification: boolean | null;
|
|
6
|
+
emailNotification: boolean | null;
|
|
7
|
+
alertTypeId: number;
|
|
8
|
+
alertValue: string | null;
|
|
9
|
+
appNotification: boolean | null;
|
|
10
|
+
dataSourceTypeId: number | null;
|
|
11
|
+
pushNotification: boolean;
|
|
12
|
+
alertMetadata: string | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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 };
|
|
@@ -0,0 +1,45 @@
|
|
|
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 };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
export declare class UserAppIncident {
|
|
3
|
+
id: number;
|
|
4
|
+
userId: Buffer;
|
|
5
|
+
userName: string | null;
|
|
6
|
+
userEmail: string | null;
|
|
7
|
+
deviceOs: string;
|
|
8
|
+
deviceManufacturer: string | null;
|
|
9
|
+
deviceModel: string | null;
|
|
10
|
+
stage: string;
|
|
11
|
+
appVersion: string;
|
|
12
|
+
createdAt: Date;
|
|
13
|
+
errorMessage: string | null;
|
|
14
|
+
errorFirstReceivedAt: Date | null;
|
|
15
|
+
errorReceivedAt: Date | null;
|
|
16
|
+
deviceJailbroken: boolean | null;
|
|
17
|
+
deviceOsVersion: string | null;
|
|
18
|
+
deviceFreeMemory: number | null;
|
|
19
|
+
deviceTotalMemory: number | null;
|
|
20
|
+
deviceCharging: boolean | null;
|
|
21
|
+
deviceBatteryLevel: number | null;
|
|
22
|
+
deviceNetworkAccess: string | null;
|
|
23
|
+
appActiveScreen: string | null;
|
|
24
|
+
appInForeground: boolean | null;
|
|
25
|
+
appDurationInForeground: number | null;
|
|
26
|
+
appBundleId: string | null;
|
|
27
|
+
incidentUrl: string | null;
|
|
28
|
+
errorId: string | null;
|
|
29
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
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 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
export declare class UserConfiguration {
|
|
3
|
+
id: number;
|
|
4
|
+
userId: Buffer;
|
|
5
|
+
isMetric: boolean;
|
|
6
|
+
timezone: string | null;
|
|
7
|
+
movementTripThreshold: number | null;
|
|
8
|
+
stopTripThreshold: number | null;
|
|
9
|
+
createdAt: Date | null;
|
|
10
|
+
modifiedAt: Date | null;
|
|
11
|
+
defaultMapLayer: string | null;
|
|
12
|
+
speedUnits: string | null;
|
|
13
|
+
distanceUnits: string | null;
|
|
14
|
+
alertsNotificationsOn: boolean | null;
|
|
15
|
+
dataSourceTypeId: number | null;
|
|
16
|
+
homepage: string | null;
|
|
17
|
+
temperatureUnits: string | null;
|
|
18
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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 };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
export declare class UserDataDeletionRequest {
|
|
3
|
+
id: number;
|
|
4
|
+
userId: Buffer;
|
|
5
|
+
clientId: number;
|
|
6
|
+
userSecurityRoleName: string;
|
|
7
|
+
email: string;
|
|
8
|
+
status: string | null;
|
|
9
|
+
createdAt: Date | null;
|
|
10
|
+
modifiedAt: Date | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
export declare class UserDeviceBehaviorTask {
|
|
3
|
+
id: string;
|
|
4
|
+
deviceBehaviorId: number;
|
|
5
|
+
clientId: number;
|
|
6
|
+
userId: Buffer;
|
|
7
|
+
imei: string;
|
|
8
|
+
behaviorName: string;
|
|
9
|
+
behaviorParams: object | null;
|
|
10
|
+
status: string;
|
|
11
|
+
createdAt: Date;
|
|
12
|
+
modifiedOn: Date | null;
|
|
13
|
+
extraParams: object | null;
|
|
14
|
+
}
|