@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,70 @@
|
|
|
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 NotificationRecipient = class NotificationRecipient {
|
|
12
|
+
};
|
|
13
|
+
__decorate([
|
|
14
|
+
PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
|
|
15
|
+
__metadata("design:type", Number)
|
|
16
|
+
], NotificationRecipient.prototype, "id", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
Column('int', { name: 'clientId' }),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], NotificationRecipient.prototype, "clientId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
Column('tinyint', { name: 'notificationType' }),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], NotificationRecipient.prototype, "notificationType", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
Column('varchar', { name: 'recipient', length: 100 }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], NotificationRecipient.prototype, "recipient", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
Column('tinyint', { name: 'isEnabled', width: 1 }),
|
|
31
|
+
__metadata("design:type", Boolean)
|
|
32
|
+
], NotificationRecipient.prototype, "isEnabled", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
Column('tinyint', { name: 'isUserProfile', width: 1 }),
|
|
35
|
+
__metadata("design:type", Boolean)
|
|
36
|
+
], NotificationRecipient.prototype, "isUserProfile", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
Column('datetime', { name: 'createdAt', default: () => 'CURRENT_TIMESTAMP' }),
|
|
39
|
+
__metadata("design:type", Date)
|
|
40
|
+
], NotificationRecipient.prototype, "createdAt", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
Column('datetime', {
|
|
43
|
+
name: 'modifiedAt',
|
|
44
|
+
default: () => 'CURRENT_TIMESTAMP',
|
|
45
|
+
}),
|
|
46
|
+
__metadata("design:type", Date)
|
|
47
|
+
], NotificationRecipient.prototype, "modifiedAt", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
Column('tinyint', { name: 'dataSourceTypeId', nullable: true }),
|
|
50
|
+
__metadata("design:type", Number)
|
|
51
|
+
], NotificationRecipient.prototype, "dataSourceTypeId", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
Column('tinyint', { name: 'unsubscribed', width: 1, default: () => "'0'" }),
|
|
54
|
+
__metadata("design:type", Boolean)
|
|
55
|
+
], NotificationRecipient.prototype, "unsubscribed", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
Column('binary', { name: 'userId', nullable: true, length: 16 }),
|
|
58
|
+
__metadata("design:type", Buffer)
|
|
59
|
+
], NotificationRecipient.prototype, "userId", void 0);
|
|
60
|
+
NotificationRecipient = __decorate([
|
|
61
|
+
Index('ixuNotificationRecipientClientIdRecipientUserId', ['clientId', 'recipient', 'userId'], {
|
|
62
|
+
unique: true,
|
|
63
|
+
}),
|
|
64
|
+
Index('ixNotificationRecipientClientId', ['clientId'], {}),
|
|
65
|
+
Index('ixNotificationRecipientIsEnabled', ['isEnabled'], {}),
|
|
66
|
+
Index('ixNotificationRecipientIsUserProfile', ['isUserProfile'], {}),
|
|
67
|
+
Index('ixNotificationRecipientNotificationType', ['notificationType'], {}),
|
|
68
|
+
Entity('notificationRecipient', { schema: 'nova' })
|
|
69
|
+
], NotificationRecipient);
|
|
70
|
+
export { NotificationRecipient };
|
|
@@ -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 Organization = class Organization {
|
|
12
|
+
};
|
|
13
|
+
__decorate([
|
|
14
|
+
PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
|
|
15
|
+
__metadata("design:type", Number)
|
|
16
|
+
], Organization.prototype, "id", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
Column('varchar', { name: 'name', length: 255 }),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], Organization.prototype, "name", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
Column('varchar', { name: 'description', nullable: true, length: 500 }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], Organization.prototype, "description", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
Column('varchar', { name: 'websiteUrl', nullable: true, length: 1000 }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], Organization.prototype, "websiteUrl", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
Column('varchar', { name: 'address', nullable: true, length: 255 }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], Organization.prototype, "address", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
Column('binary', { name: 'mainContact', length: 16 }),
|
|
35
|
+
__metadata("design:type", Buffer)
|
|
36
|
+
], Organization.prototype, "mainContact", void 0);
|
|
37
|
+
Organization = __decorate([
|
|
38
|
+
Entity('organization', { schema: 'nova' })
|
|
39
|
+
], Organization);
|
|
40
|
+
export { Organization };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare class Plan {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
billingFrequencyMonths: number;
|
|
6
|
+
price: number;
|
|
7
|
+
trialPeriod: string | null;
|
|
8
|
+
discount: number | null;
|
|
9
|
+
platform: string | null;
|
|
10
|
+
planGroup: string | null;
|
|
11
|
+
gracePeriod: string | null;
|
|
12
|
+
status: string;
|
|
13
|
+
platformPrice: number | null;
|
|
14
|
+
servicePlan: string | null;
|
|
15
|
+
contractLengthMonths: number;
|
|
16
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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 } from 'typeorm';
|
|
11
|
+
let Plan = class Plan {
|
|
12
|
+
};
|
|
13
|
+
__decorate([
|
|
14
|
+
Column('varchar', { primary: true, name: 'id', length: 50 }),
|
|
15
|
+
__metadata("design:type", String)
|
|
16
|
+
], Plan.prototype, "id", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
Column('varchar', { name: 'name', length: 50 }),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], Plan.prototype, "name", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
Column('varchar', { name: 'description', length: 255 }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], Plan.prototype, "description", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
Column('tinyint', { name: 'billingFrequencyMonths' }),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], Plan.prototype, "billingFrequencyMonths", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
Column('float', { name: 'price' }),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], Plan.prototype, "price", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
Column('varchar', { name: 'trialPeriod', nullable: true, length: 25 }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], Plan.prototype, "trialPeriod", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
Column('float', { name: 'discount', nullable: true }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], Plan.prototype, "discount", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
Column('varchar', { name: 'platform', nullable: true, length: 25 }),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], Plan.prototype, "platform", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
Column('varchar', { name: 'planGroup', nullable: true, length: 25 }),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], Plan.prototype, "planGroup", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
Column('varchar', { name: 'gracePeriod', nullable: true, length: 25 }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], Plan.prototype, "gracePeriod", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
Column('char', { name: 'status', length: 1 }),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], Plan.prototype, "status", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
Column('float', { name: 'platformPrice', nullable: true }),
|
|
59
|
+
__metadata("design:type", Number)
|
|
60
|
+
], Plan.prototype, "platformPrice", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
Column('varchar', { name: 'servicePlan', nullable: true, length: 10 }),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], Plan.prototype, "servicePlan", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
Column('tinyint', { name: 'contractLengthMonths' }),
|
|
67
|
+
__metadata("design:type", Number)
|
|
68
|
+
], Plan.prototype, "contractLengthMonths", void 0);
|
|
69
|
+
Plan = __decorate([
|
|
70
|
+
Entity('plan', { schema: 'nova' })
|
|
71
|
+
], Plan);
|
|
72
|
+
export { Plan };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
export declare class Position {
|
|
3
|
+
id: string;
|
|
4
|
+
imei: string | null;
|
|
5
|
+
lat: number | null;
|
|
6
|
+
lon: number | null;
|
|
7
|
+
actualDate: Date;
|
|
8
|
+
speed: number | null;
|
|
9
|
+
odometer: number | null;
|
|
10
|
+
createdAt: Date | null;
|
|
11
|
+
messageId: Buffer;
|
|
12
|
+
fromMigration: boolean | null;
|
|
13
|
+
batteryPercentage: number | null;
|
|
14
|
+
clientId: number | null;
|
|
15
|
+
address: string | null;
|
|
16
|
+
sendTime: Date | null;
|
|
17
|
+
gpsUtcTime: Date | null;
|
|
18
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
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 Position = class Position {
|
|
12
|
+
};
|
|
13
|
+
__decorate([
|
|
14
|
+
PrimaryGeneratedColumn({ type: 'bigint', name: 'id' }),
|
|
15
|
+
__metadata("design:type", String)
|
|
16
|
+
], Position.prototype, "id", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
Column('varchar', { name: 'imei', nullable: true, length: 15 }),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], Position.prototype, "imei", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
Column('double', { name: 'lat', nullable: true }),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], Position.prototype, "lat", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
Column('double', { name: 'lon', nullable: true }),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], Position.prototype, "lon", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
Column('datetime', { name: 'actualDate' }),
|
|
31
|
+
__metadata("design:type", Date)
|
|
32
|
+
], Position.prototype, "actualDate", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
Column('float', { name: 'speed', nullable: true }),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], Position.prototype, "speed", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
Column('double', { name: 'odometer', nullable: true }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], Position.prototype, "odometer", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
Column('datetime', { name: 'createdAt', nullable: true }),
|
|
43
|
+
__metadata("design:type", Date)
|
|
44
|
+
], Position.prototype, "createdAt", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
Column('binary', { name: 'messageId', length: 16 }),
|
|
47
|
+
__metadata("design:type", Buffer)
|
|
48
|
+
], Position.prototype, "messageId", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
Column('tinyint', {
|
|
51
|
+
name: 'fromMigration',
|
|
52
|
+
nullable: true,
|
|
53
|
+
width: 1,
|
|
54
|
+
default: () => "'0'",
|
|
55
|
+
}),
|
|
56
|
+
__metadata("design:type", Boolean)
|
|
57
|
+
], Position.prototype, "fromMigration", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
Column('smallint', { name: 'batteryPercentage', nullable: true }),
|
|
60
|
+
__metadata("design:type", Number)
|
|
61
|
+
], Position.prototype, "batteryPercentage", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
Column('int', { name: 'clientId', nullable: true }),
|
|
64
|
+
__metadata("design:type", Number)
|
|
65
|
+
], Position.prototype, "clientId", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
Column('varchar', { name: 'address', nullable: true, length: 255 }),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], Position.prototype, "address", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
Column('datetime', { name: 'sendTime', nullable: true }),
|
|
72
|
+
__metadata("design:type", Date)
|
|
73
|
+
], Position.prototype, "sendTime", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
Column('datetime', { name: 'gpsUtcTime', nullable: true }),
|
|
76
|
+
__metadata("design:type", Date)
|
|
77
|
+
], Position.prototype, "gpsUtcTime", void 0);
|
|
78
|
+
Position = __decorate([
|
|
79
|
+
Index('ixPositionActualDate', ['actualDate'], {}),
|
|
80
|
+
Index('ixPositionClientId', ['clientId'], {}),
|
|
81
|
+
Index('ixPositionImei', ['imei'], {}),
|
|
82
|
+
Entity('position', { schema: 'nova' })
|
|
83
|
+
], Position);
|
|
84
|
+
export { Position };
|
|
@@ -0,0 +1,36 @@
|
|
|
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 SecurityRole = class SecurityRole {
|
|
12
|
+
};
|
|
13
|
+
__decorate([
|
|
14
|
+
PrimaryGeneratedColumn({ type: 'tinyint', name: 'id' }),
|
|
15
|
+
__metadata("design:type", Number)
|
|
16
|
+
], SecurityRole.prototype, "id", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
Column('varchar', { name: 'key', length: 25 }),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], SecurityRole.prototype, "key", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
Column('varchar', { name: 'name', length: 50 }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], SecurityRole.prototype, "name", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
Column('varchar', { name: 'description', length: 100 }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], SecurityRole.prototype, "description", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
Column('tinyint', { name: 'ordinalPosition' }),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], SecurityRole.prototype, "ordinalPosition", void 0);
|
|
33
|
+
SecurityRole = __decorate([
|
|
34
|
+
Entity('securityRole', { schema: 'nova' })
|
|
35
|
+
], SecurityRole);
|
|
36
|
+
export { SecurityRole };
|
|
@@ -0,0 +1,36 @@
|
|
|
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 ServiceProvider = class ServiceProvider {
|
|
12
|
+
};
|
|
13
|
+
__decorate([
|
|
14
|
+
PrimaryGeneratedColumn({ type: 'smallint', name: 'id' }),
|
|
15
|
+
__metadata("design:type", Number)
|
|
16
|
+
], ServiceProvider.prototype, "id", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
Column('varchar', { name: 'name', length: 100 }),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], ServiceProvider.prototype, "name", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
Column('varchar', { name: 'description', length: 1000 }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], ServiceProvider.prototype, "description", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
Column('varchar', { name: 'loginUrl', nullable: true, length: 1000 }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], ServiceProvider.prototype, "loginUrl", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
Column('varchar', { name: 'apn', nullable: true, length: 50 }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], ServiceProvider.prototype, "apn", void 0);
|
|
33
|
+
ServiceProvider = __decorate([
|
|
34
|
+
Entity('serviceProvider', { schema: 'nova' })
|
|
35
|
+
], ServiceProvider);
|
|
36
|
+
export { ServiceProvider };
|
|
@@ -0,0 +1,54 @@
|
|
|
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 ServiceProviderProduct = class ServiceProviderProduct {
|
|
12
|
+
};
|
|
13
|
+
__decorate([
|
|
14
|
+
PrimaryGeneratedColumn({ type: 'tinyint', name: 'id' }),
|
|
15
|
+
__metadata("design:type", Number)
|
|
16
|
+
], ServiceProviderProduct.prototype, "id", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
Column('varchar', { name: 'productId', length: 100 }),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], ServiceProviderProduct.prototype, "productId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
Column('varchar', { name: 'name', length: 100 }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], ServiceProviderProduct.prototype, "name", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
Column('tinyint', { name: 'serviceProviderProductTypeId', nullable: true }),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], ServiceProviderProduct.prototype, "serviceProviderProductTypeId", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
Column('tinyint', {
|
|
31
|
+
name: 'serviceProviderProductNetworkId',
|
|
32
|
+
nullable: true,
|
|
33
|
+
}),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], ServiceProviderProduct.prototype, "serviceProviderProductNetworkId", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
Column('smallint', { name: 'mbIncluded', nullable: true }),
|
|
38
|
+
__metadata("design:type", Number)
|
|
39
|
+
], ServiceProviderProduct.prototype, "mbIncluded", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
Column('decimal', {
|
|
42
|
+
name: 'bundleCost',
|
|
43
|
+
nullable: true,
|
|
44
|
+
precision: 19,
|
|
45
|
+
scale: 4,
|
|
46
|
+
}),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], ServiceProviderProduct.prototype, "bundleCost", void 0);
|
|
49
|
+
ServiceProviderProduct = __decorate([
|
|
50
|
+
Index('ixServiceProviderProductServiceProviderProductNetworkId', ['serviceProviderProductNetworkId'], {}),
|
|
51
|
+
Index('ixServiceProviderProductServiceProviderProductTypeId', ['serviceProviderProductTypeId'], {}),
|
|
52
|
+
Entity('serviceProviderProduct', { schema: 'nova' })
|
|
53
|
+
], ServiceProviderProduct);
|
|
54
|
+
export { ServiceProviderProduct };
|
|
@@ -0,0 +1,28 @@
|
|
|
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 ServiceProviderProductNetwork = class ServiceProviderProductNetwork {
|
|
12
|
+
};
|
|
13
|
+
__decorate([
|
|
14
|
+
PrimaryGeneratedColumn({ type: 'tinyint', name: 'id' }),
|
|
15
|
+
__metadata("design:type", Number)
|
|
16
|
+
], ServiceProviderProductNetwork.prototype, "id", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
Column('varchar', { name: 'name', length: 100 }),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], ServiceProviderProductNetwork.prototype, "name", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
Column('varchar', { name: 'description', length: 100 }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], ServiceProviderProductNetwork.prototype, "description", void 0);
|
|
25
|
+
ServiceProviderProductNetwork = __decorate([
|
|
26
|
+
Entity('serviceProviderProductNetwork', { schema: 'nova' })
|
|
27
|
+
], ServiceProviderProductNetwork);
|
|
28
|
+
export { ServiceProviderProductNetwork };
|
|
@@ -0,0 +1,28 @@
|
|
|
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 ServiceProviderProductType = class ServiceProviderProductType {
|
|
12
|
+
};
|
|
13
|
+
__decorate([
|
|
14
|
+
PrimaryGeneratedColumn({ type: 'tinyint', name: 'id' }),
|
|
15
|
+
__metadata("design:type", Number)
|
|
16
|
+
], ServiceProviderProductType.prototype, "id", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
Column('varchar', { name: 'name', length: 100 }),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], ServiceProviderProductType.prototype, "name", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
Column('varchar', { name: 'description', length: 100 }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], ServiceProviderProductType.prototype, "description", void 0);
|
|
25
|
+
ServiceProviderProductType = __decorate([
|
|
26
|
+
Entity('serviceProviderProductType', { schema: 'nova' })
|
|
27
|
+
], ServiceProviderProductType);
|
|
28
|
+
export { ServiceProviderProductType };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare class Sim {
|
|
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 Sim = class Sim {
|
|
12
|
+
};
|
|
13
|
+
__decorate([
|
|
14
|
+
PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
|
|
15
|
+
__metadata("design:type", Number)
|
|
16
|
+
], Sim.prototype, "id", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
Column('varchar', { name: 'imei', nullable: true, length: 15 }),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], Sim.prototype, "imei", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
Column('varchar', { name: 'iccid', nullable: true, length: 25 }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], Sim.prototype, "iccid", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
Column('tinyint', { name: 'carrier', nullable: true }),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], Sim.prototype, "carrier", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
Column('varchar', { name: 'phone', nullable: true, length: 25 }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], Sim.prototype, "phone", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
Column('smallint', { name: 'deviceTypeId', nullable: true }),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], Sim.prototype, "deviceTypeId", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
Column('tinyint', { name: 'serviceProviderProductId', nullable: true }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], Sim.prototype, "serviceProviderProductId", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
Column('tinyint', { name: 'isValid', width: 1, default: () => "'1'" }),
|
|
43
|
+
__metadata("design:type", Boolean)
|
|
44
|
+
], Sim.prototype, "isValid", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
Column('varchar', { name: 'realModel', nullable: true, length: 50 }),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], Sim.prototype, "realModel", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
Column('varchar', { name: 'po', nullable: true, length: 25 }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], Sim.prototype, "po", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
Column('tinyint', { name: 'outOfInventory', width: 1, default: () => "'0'" }),
|
|
55
|
+
__metadata("design:type", Boolean)
|
|
56
|
+
], Sim.prototype, "outOfInventory", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
Column('varchar', { name: 'apn', nullable: true, length: 50 }),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], Sim.prototype, "apn", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
Column('datetime', { name: 'createdAt', nullable: true }),
|
|
63
|
+
__metadata("design:type", Date)
|
|
64
|
+
], Sim.prototype, "createdAt", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
Column('datetime', { name: 'modifiedAt', nullable: true }),
|
|
67
|
+
__metadata("design:type", Date)
|
|
68
|
+
], Sim.prototype, "modifiedAt", void 0);
|
|
69
|
+
Sim = __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('sim', { schema: 'nova' })
|
|
77
|
+
], Sim);
|
|
78
|
+
export { Sim };
|