@spytecgps/nova-orm 0.0.3 → 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 +11 -11
|
@@ -0,0 +1,86 @@
|
|
|
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 Geofence = class Geofence {
|
|
12
|
+
};
|
|
13
|
+
__decorate([
|
|
14
|
+
PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
|
|
15
|
+
__metadata("design:type", Number)
|
|
16
|
+
], Geofence.prototype, "id", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
Column('varchar', { name: 'name', nullable: true, length: 255 }),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], Geofence.prototype, "name", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
Column('char', { name: 'type', nullable: true, length: 1 }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], Geofence.prototype, "type", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
Column('varchar', { name: 'buffer', nullable: true, length: 50 }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], Geofence.prototype, "buffer", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
Column('datetime', { name: 'createdAt', nullable: true }),
|
|
31
|
+
__metadata("design:type", Date)
|
|
32
|
+
], Geofence.prototype, "createdAt", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
Column('datetime', { name: 'modifiedAt', nullable: true }),
|
|
35
|
+
__metadata("design:type", Date)
|
|
36
|
+
], Geofence.prototype, "modifiedAt", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
Column('binary', { name: 'createdBy', nullable: true, length: 16 }),
|
|
39
|
+
__metadata("design:type", Buffer)
|
|
40
|
+
], Geofence.prototype, "createdBy", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
Column('binary', { name: 'modifiedBy', nullable: true, length: 16 }),
|
|
43
|
+
__metadata("design:type", Buffer)
|
|
44
|
+
], Geofence.prototype, "modifiedBy", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
Column('int', { name: 'clientId', default: () => "'0'" }),
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
|
+
], Geofence.prototype, "clientId", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
Column('varchar', { name: 'location', nullable: true, length: 255 }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], Geofence.prototype, "location", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
Column('tinyint', { name: 'status', default: () => "'1'" }),
|
|
55
|
+
__metadata("design:type", Number)
|
|
56
|
+
], Geofence.prototype, "status", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
Column('char', { name: 'radiusDisplayUnit', nullable: true, length: 2 }),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], Geofence.prototype, "radiusDisplayUnit", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
Column('tinyint', { name: 'dataSourceTypeId', nullable: true }),
|
|
63
|
+
__metadata("design:type", Number)
|
|
64
|
+
], Geofence.prototype, "dataSourceTypeId", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
Column('text', { name: 'geometry', nullable: true }),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], Geofence.prototype, "geometry", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
Column('varchar', { name: 'color', nullable: true, length: 25 }),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], Geofence.prototype, "color", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
Column('tinyint', { name: 'isUserCreated', width: 1, default: () => "'1'" }),
|
|
75
|
+
__metadata("design:type", Boolean)
|
|
76
|
+
], Geofence.prototype, "isUserCreated", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
Column('float', { name: 'area', nullable: true }),
|
|
79
|
+
__metadata("design:type", Number)
|
|
80
|
+
], Geofence.prototype, "area", void 0);
|
|
81
|
+
Geofence = __decorate([
|
|
82
|
+
Index('ixGeofenceClientIdStatus', ['clientId', 'status'], {}),
|
|
83
|
+
Index('ixGeofenceStatus', ['status'], {}),
|
|
84
|
+
Entity('geofence', { schema: 'nova' })
|
|
85
|
+
], Geofence);
|
|
86
|
+
export { Geofence };
|
|
@@ -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,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 GeofenceEvent = class GeofenceEvent {
|
|
12
|
+
};
|
|
13
|
+
__decorate([
|
|
14
|
+
PrimaryGeneratedColumn({ type: 'bigint', name: 'id' }),
|
|
15
|
+
__metadata("design:type", String)
|
|
16
|
+
], GeofenceEvent.prototype, "id", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
Column('int', { name: 'deviceId' }),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], GeofenceEvent.prototype, "deviceId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
Column('int', { name: 'geofenceId' }),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], GeofenceEvent.prototype, "geofenceId", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
Column('datetime', { name: 'inDate', nullable: true }),
|
|
27
|
+
__metadata("design:type", Date)
|
|
28
|
+
], GeofenceEvent.prototype, "inDate", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
Column('double', { name: 'inLat', nullable: true }),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], GeofenceEvent.prototype, "inLat", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
Column('double', { name: 'inLon', nullable: true }),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], GeofenceEvent.prototype, "inLon", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
Column('varchar', { name: 'inAddress', nullable: true, length: 255 }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], GeofenceEvent.prototype, "inAddress", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
Column('datetime', { name: 'outDate', nullable: true }),
|
|
43
|
+
__metadata("design:type", Date)
|
|
44
|
+
], GeofenceEvent.prototype, "outDate", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
Column('double', { name: 'outLat', nullable: true }),
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
|
+
], GeofenceEvent.prototype, "outLat", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
Column('double', { name: 'outLon', nullable: true }),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], GeofenceEvent.prototype, "outLon", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
Column('varchar', { name: 'outAddress', nullable: true, length: 255 }),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], GeofenceEvent.prototype, "outAddress", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
Column('int', { name: 'inOutDuration', nullable: true }),
|
|
59
|
+
__metadata("design:type", Number)
|
|
60
|
+
], GeofenceEvent.prototype, "inOutDuration", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
Column('datetime', { name: 'createdAt', default: () => 'CURRENT_TIMESTAMP' }),
|
|
63
|
+
__metadata("design:type", Date)
|
|
64
|
+
], GeofenceEvent.prototype, "createdAt", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
Column('datetime', {
|
|
67
|
+
name: 'modifiedAt',
|
|
68
|
+
default: () => 'CURRENT_TIMESTAMP',
|
|
69
|
+
}),
|
|
70
|
+
__metadata("design:type", Date)
|
|
71
|
+
], GeofenceEvent.prototype, "modifiedAt", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
Column('varchar', { name: 'imei', nullable: true, length: 15 }),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], GeofenceEvent.prototype, "imei", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
Column('binary', { name: 'userId', nullable: true, length: 16 }),
|
|
78
|
+
__metadata("design:type", Buffer)
|
|
79
|
+
], GeofenceEvent.prototype, "userId", void 0);
|
|
80
|
+
GeofenceEvent = __decorate([
|
|
81
|
+
Index('ixGeofenceEventDeviceId', ['deviceId'], {}),
|
|
82
|
+
Index('ixGeofenceEventGeofenceId', ['geofenceId'], {}),
|
|
83
|
+
Index('ixGeofenceEventOutAtInAt', ['outDate', 'inDate'], {}),
|
|
84
|
+
Index('ixGeofenceEventUserId', ['userId'], {}),
|
|
85
|
+
Entity('geofenceEvent', { schema: 'nova' })
|
|
86
|
+
], GeofenceEvent);
|
|
87
|
+
export { GeofenceEvent };
|
|
@@ -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,78 @@
|
|
|
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 ImeiIccidCarrier = class ImeiIccidCarrier {
|
|
12
|
+
};
|
|
13
|
+
__decorate([
|
|
14
|
+
PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
|
|
15
|
+
__metadata("design:type", Number)
|
|
16
|
+
], ImeiIccidCarrier.prototype, "id", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
Column('varchar', { name: 'imei', nullable: true, length: 15 }),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], ImeiIccidCarrier.prototype, "imei", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
Column('varchar', { name: 'iccid', nullable: true, length: 25 }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], ImeiIccidCarrier.prototype, "iccid", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
Column('tinyint', { name: 'carrier', nullable: true }),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], ImeiIccidCarrier.prototype, "carrier", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
Column('varchar', { name: 'phone', nullable: true, length: 25 }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], ImeiIccidCarrier.prototype, "phone", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
Column('smallint', { name: 'deviceTypeId', nullable: true }),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], ImeiIccidCarrier.prototype, "deviceTypeId", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
Column('tinyint', { name: 'serviceProviderProductId', nullable: true }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], ImeiIccidCarrier.prototype, "serviceProviderProductId", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
Column('tinyint', { name: 'isValid', width: 1, default: () => "'1'" }),
|
|
43
|
+
__metadata("design:type", Boolean)
|
|
44
|
+
], ImeiIccidCarrier.prototype, "isValid", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
Column('varchar', { name: 'realModel', nullable: true, length: 50 }),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], ImeiIccidCarrier.prototype, "realModel", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
Column('varchar', { name: 'po', nullable: true, length: 25 }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], ImeiIccidCarrier.prototype, "po", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
Column('tinyint', { name: 'outOfInventory', width: 1, default: () => "'0'" }),
|
|
55
|
+
__metadata("design:type", Boolean)
|
|
56
|
+
], ImeiIccidCarrier.prototype, "outOfInventory", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
Column('varchar', { name: 'apn', nullable: true, length: 50 }),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], ImeiIccidCarrier.prototype, "apn", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
Column('datetime', { name: 'createdAt', nullable: true }),
|
|
63
|
+
__metadata("design:type", Date)
|
|
64
|
+
], ImeiIccidCarrier.prototype, "createdAt", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
Column('datetime', { name: 'modifiedAt', nullable: true }),
|
|
67
|
+
__metadata("design:type", Date)
|
|
68
|
+
], ImeiIccidCarrier.prototype, "modifiedAt", void 0);
|
|
69
|
+
ImeiIccidCarrier = __decorate([
|
|
70
|
+
Index('ixImeiIccidCarrierCarrier', ['carrier'], {}),
|
|
71
|
+
Index('ixImeiIccidCarrierDeviceTypeId', ['deviceTypeId'], {}),
|
|
72
|
+
Index('ixImeiIccidCarrierIccid', ['iccid'], {}),
|
|
73
|
+
Index('ixImeiIccidCarrierImei', ['imei'], {}),
|
|
74
|
+
Index('ixImeiIccidCarrierModifiedAt', ['modifiedAt'], {}),
|
|
75
|
+
Index('ixImeiIccidCarrierProductId', ['serviceProviderProductId'], {}),
|
|
76
|
+
Entity('imeiIccidCarrier', { schema: 'nova' })
|
|
77
|
+
], ImeiIccidCarrier);
|
|
78
|
+
export { ImeiIccidCarrier };
|
|
@@ -0,0 +1,38 @@
|
|
|
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 ImeiIccidHistory = class ImeiIccidHistory {
|
|
12
|
+
};
|
|
13
|
+
__decorate([
|
|
14
|
+
PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
|
|
15
|
+
__metadata("design:type", Number)
|
|
16
|
+
], ImeiIccidHistory.prototype, "id", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
Column('varchar', { name: 'iccid', nullable: true, length: 25 }),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], ImeiIccidHistory.prototype, "iccid", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
Column('varchar', { name: 'imei', length: 15 }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], ImeiIccidHistory.prototype, "imei", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
Column('tinyint', { name: 'carrier' }),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], ImeiIccidHistory.prototype, "carrier", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
Column('datetime', { name: 'lastUpdatedAt' }),
|
|
31
|
+
__metadata("design:type", Date)
|
|
32
|
+
], ImeiIccidHistory.prototype, "lastUpdatedAt", void 0);
|
|
33
|
+
ImeiIccidHistory = __decorate([
|
|
34
|
+
Index('ixImeiIccidHistoryIccid', ['iccid'], {}),
|
|
35
|
+
Index('ixImeiIccidHistoryImei', ['imei'], {}),
|
|
36
|
+
Entity('imeiIccidHistory', { schema: 'nova' })
|
|
37
|
+
], ImeiIccidHistory);
|
|
38
|
+
export { ImeiIccidHistory };
|
|
@@ -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,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,40 @@
|
|
|
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 Industry = class Industry {
|
|
12
|
+
};
|
|
13
|
+
__decorate([
|
|
14
|
+
PrimaryGeneratedColumn({ type: 'smallint', name: 'id' }),
|
|
15
|
+
__metadata("design:type", Number)
|
|
16
|
+
], Industry.prototype, "id", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
Column('varchar', { name: 'industry', length: 100 }),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], Industry.prototype, "industry", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
Column('varchar', { name: 'mainIndustry', length: 100 }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], Industry.prototype, "mainIndustry", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
Column('varchar', { name: 'group', length: 100 }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], Industry.prototype, "group", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
Column('varchar', { name: 'sector', length: 100 }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], Industry.prototype, "sector", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
Column('varchar', { name: 'displayName', nullable: true, length: 100 }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], Industry.prototype, "displayName", void 0);
|
|
37
|
+
Industry = __decorate([
|
|
38
|
+
Entity('industry', { schema: 'nova' })
|
|
39
|
+
], Industry);
|
|
40
|
+
export { Industry };
|
|
@@ -0,0 +1,44 @@
|
|
|
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 MobileNetwork = class MobileNetwork {
|
|
12
|
+
};
|
|
13
|
+
__decorate([
|
|
14
|
+
PrimaryGeneratedColumn({ type: 'smallint', name: 'id' }),
|
|
15
|
+
__metadata("design:type", Number)
|
|
16
|
+
], MobileNetwork.prototype, "id", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
Column('tinyint', { name: 'mcc' }),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], MobileNetwork.prototype, "mcc", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
Column('tinyint', { name: 'mnc' }),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], MobileNetwork.prototype, "mnc", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
Column('varchar', { name: 'networkName', nullable: true, length: 255 }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], MobileNetwork.prototype, "networkName", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
Column('varchar', { name: 'operatorName', nullable: true, length: 100 }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], MobileNetwork.prototype, "operatorName", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
Column('varchar', { name: 'countryCode', nullable: true, length: 50 }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], MobileNetwork.prototype, "countryCode", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
Column('varchar', { name: 'countryName', nullable: true, length: 100 }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], MobileNetwork.prototype, "countryName", void 0);
|
|
41
|
+
MobileNetwork = __decorate([
|
|
42
|
+
Entity('mobileNetwork', { schema: 'nova' })
|
|
43
|
+
], MobileNetwork);
|
|
44
|
+
export { MobileNetwork };
|
|
@@ -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
|
+
}
|