@spytecgps/nova-orm 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities/bleMeshConfiguration.d.ts +9 -0
- package/dist/entities/bleMeshConfiguration.js +57 -0
- package/dist/entities/index.d.ts +2 -1
- package/dist/entities/index.js +2 -1
- package/dist/entities/svrPairingRequest.d.ts +19 -0
- package/dist/entities/svrPairingRequest.js +144 -0
- package/dist/index.js +1 -1
- package/dist/repositories/bleMeshConfiguration/createBLEMeshConfigurationParams.d.ts +5 -0
- package/dist/repositories/bleMeshConfiguration/createBLEMeshConfigurationParams.js +18 -0
- package/dist/repositories/bleMeshConfiguration/deleteBLEMeshConfiguration.d.ts +4 -0
- package/dist/repositories/bleMeshConfiguration/deleteBLEMeshConfiguration.js +16 -0
- package/dist/repositories/bleMeshConfiguration/getBLEMeshConfiguration.d.ts +5 -0
- package/dist/repositories/bleMeshConfiguration/getBLEMeshConfiguration.js +23 -0
- package/dist/repositories/bleMeshConfiguration/index.d.ts +43 -0
- package/dist/repositories/bleMeshConfiguration/index.js +70 -0
- package/dist/repositories/bleMeshConfiguration/updateBLEMeshConfiguration.d.ts +4 -0
- package/dist/repositories/bleMeshConfiguration/updateBLEMeshConfiguration.js +30 -0
- package/dist/repositories/index.d.ts +2 -1
- package/dist/repositories/index.js +2 -1
- package/dist/types/bleMeshConfiguration.d.ts +29 -0
- package/dist/types/bleMeshConfiguration.js +1 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/types/index.js +2 -1
- package/package.json +1 -1
|
@@ -0,0 +1,57 @@
|
|
|
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 BLEMeshConfiguration = class BLEMeshConfiguration {
|
|
12
|
+
id;
|
|
13
|
+
imeiMain;
|
|
14
|
+
btmacMain;
|
|
15
|
+
bleMac;
|
|
16
|
+
connectionType;
|
|
17
|
+
createdAt;
|
|
18
|
+
modifiedAt;
|
|
19
|
+
};
|
|
20
|
+
__decorate([
|
|
21
|
+
PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], BLEMeshConfiguration.prototype, "id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
Column('varchar', { name: 'imeiMain', length: 15 }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], BLEMeshConfiguration.prototype, "imeiMain", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
Column('varchar', { name: 'btmacMain', length: 20 }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], BLEMeshConfiguration.prototype, "btmacMain", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
Column('varchar', { name: 'bleMac', length: 20 }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], BLEMeshConfiguration.prototype, "bleMac", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
Column('varchar', { name: 'connectionType', nullable: true, length: 20 }),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], BLEMeshConfiguration.prototype, "connectionType", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
Column('datetime', {
|
|
42
|
+
name: 'createdAt',
|
|
43
|
+
nullable: true,
|
|
44
|
+
default: () => 'CURRENT_TIMESTAMP',
|
|
45
|
+
}),
|
|
46
|
+
__metadata("design:type", Date)
|
|
47
|
+
], BLEMeshConfiguration.prototype, "createdAt", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
Column('datetime', { name: 'modifiedAt', nullable: true }),
|
|
50
|
+
__metadata("design:type", Date)
|
|
51
|
+
], BLEMeshConfiguration.prototype, "modifiedAt", void 0);
|
|
52
|
+
BLEMeshConfiguration = __decorate([
|
|
53
|
+
Index('ixBLEMeshConfigurationImeiMain', ['imeiMain'], {}),
|
|
54
|
+
Index('ixuBLEMeshConfigurationImeiMainBLEMac', ['imeiMain', 'bleMac'], { unique: true }),
|
|
55
|
+
Entity('bleMeshConfiguration', { schema: 'nova' })
|
|
56
|
+
], BLEMeshConfiguration);
|
|
57
|
+
export { BLEMeshConfiguration };
|
package/dist/entities/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ import { BillingStatusHistoryBraintree } from './billingStatusHistoryBraintree';
|
|
|
21
21
|
import { BillingSubscriptionBraintree } from './billingSubscriptionBraintree';
|
|
22
22
|
import { Blacklist } from './blacklist';
|
|
23
23
|
import { BlacklistType } from './blacklistType';
|
|
24
|
+
import { BLEMeshConfiguration } from './bleMeshConfiguration';
|
|
24
25
|
import { Boundary } from './boundary';
|
|
25
26
|
import { BoundaryEvent } from './boundaryEvent';
|
|
26
27
|
import { CellTower } from './cellTower';
|
|
@@ -96,4 +97,4 @@ import { UserInvitation } from './userInvitation';
|
|
|
96
97
|
import { UserRatingRequest } from './userRatingRequest';
|
|
97
98
|
import { UserRegistrationAttempt } from './userRegistrationAttempt';
|
|
98
99
|
import { UserSecurityRole } from './userSecurityRole';
|
|
99
|
-
export { AcumaticaAmazonProduct, AcumaticaImeiIccidData, AcumaticaOrderShipmentDetails, AcumaticaShipment, AcumaticaShipmentAmazon, AempToken, Alert, AlertMigration, AlertMigrationBatch, AlertTimeWindowConfiguration, AlertType, AppFeatureType, AssetCategory, Billing, BillingCustomerBraintree, BillingDeviceHistory, BillingHubspotPaymentLog, BillingKlarnaCustomer, BillingKlarnaOrder, BillingStatusHistoryBraintree, BillingSubscriptionBraintree, Blacklist, BlacklistType, Boundary, BoundaryEvent, CellTower, Client, ClientAppFeature, ClientConfiguration, ClientDeviceSetting, ClientType, Country, CustomerAttribute, DataSourceType, Deactivation, DeactivationReason, Device, DeviceAlertConfiguration, DeviceBehavior, DeviceCustomConfiguration, DeviceHistory, DeviceModelListener, DevicePairing, DevicePromotion, DeviceReplacement, DeviceTask, DeviceType, DeviceTypeEvent, DeviceTypeFeature, DeviceTypeFirmware, EntityTag, EntityType, Event, Feature, FirmwareAutoUpgradeBlacklist, FirmwareUpgradeTask, IccidStatus, ImeiIccidCarrier, ImeiIccidHistory, Industry, LatestPosition, Magento2Gps, Magento2Plan, MobileNetwork, NotificationRecipient, Organization, Plan, Position, PositionMigration, PositionMigrationBatch, Promotion, SecurityRole, ServiceProvider, ServiceProviderProduct, ServiceProviderProductNetwork, ServiceProviderProductType, Sim, Task, TaskSchedule, Trip, TripCompletionStatus, TripPosition, User, UserActivation, UserActivationDevice, UserActivationEvent, UserActivationMetric, UserAlertComplain, UserAlertConfiguration, UserAppFeedback, UserAppIncident, UserConfiguration, UserDataDeletionRequest, UserDeviceBehaviorTask, UserInvitation, UserRatingRequest, UserRegistrationAttempt, UserSecurityRole, };
|
|
100
|
+
export { AcumaticaAmazonProduct, AcumaticaImeiIccidData, AcumaticaOrderShipmentDetails, AcumaticaShipment, AcumaticaShipmentAmazon, AempToken, Alert, AlertMigration, AlertMigrationBatch, AlertTimeWindowConfiguration, AlertType, AppFeatureType, AssetCategory, Billing, BillingCustomerBraintree, BillingDeviceHistory, BillingHubspotPaymentLog, BillingKlarnaCustomer, BillingKlarnaOrder, BillingStatusHistoryBraintree, BillingSubscriptionBraintree, Blacklist, BlacklistType, BLEMeshConfiguration, Boundary, BoundaryEvent, CellTower, Client, ClientAppFeature, ClientConfiguration, ClientDeviceSetting, ClientType, Country, CustomerAttribute, DataSourceType, Deactivation, DeactivationReason, Device, DeviceAlertConfiguration, DeviceBehavior, DeviceCustomConfiguration, DeviceHistory, DeviceModelListener, DevicePairing, DevicePromotion, DeviceReplacement, DeviceTask, DeviceType, DeviceTypeEvent, DeviceTypeFeature, DeviceTypeFirmware, EntityTag, EntityType, Event, Feature, FirmwareAutoUpgradeBlacklist, FirmwareUpgradeTask, IccidStatus, ImeiIccidCarrier, ImeiIccidHistory, Industry, LatestPosition, Magento2Gps, Magento2Plan, MobileNetwork, NotificationRecipient, Organization, Plan, Position, PositionMigration, PositionMigrationBatch, Promotion, SecurityRole, ServiceProvider, ServiceProviderProduct, ServiceProviderProductNetwork, ServiceProviderProductType, Sim, Task, TaskSchedule, Trip, TripCompletionStatus, TripPosition, User, UserActivation, UserActivationDevice, UserActivationEvent, UserActivationMetric, UserAlertComplain, UserAlertConfiguration, UserAppFeedback, UserAppIncident, UserConfiguration, UserDataDeletionRequest, UserDeviceBehaviorTask, UserInvitation, UserRatingRequest, UserRegistrationAttempt, UserSecurityRole, };
|
package/dist/entities/index.js
CHANGED
|
@@ -21,6 +21,7 @@ import { BillingStatusHistoryBraintree } from './billingStatusHistoryBraintree';
|
|
|
21
21
|
import { BillingSubscriptionBraintree } from './billingSubscriptionBraintree';
|
|
22
22
|
import { Blacklist } from './blacklist';
|
|
23
23
|
import { BlacklistType } from './blacklistType';
|
|
24
|
+
import { BLEMeshConfiguration } from './bleMeshConfiguration';
|
|
24
25
|
import { Boundary } from './boundary';
|
|
25
26
|
import { BoundaryEvent } from './boundaryEvent';
|
|
26
27
|
import { CellTower } from './cellTower';
|
|
@@ -96,4 +97,4 @@ import { UserInvitation } from './userInvitation';
|
|
|
96
97
|
import { UserRatingRequest } from './userRatingRequest';
|
|
97
98
|
import { UserRegistrationAttempt } from './userRegistrationAttempt';
|
|
98
99
|
import { UserSecurityRole } from './userSecurityRole';
|
|
99
|
-
export { AcumaticaAmazonProduct, AcumaticaImeiIccidData, AcumaticaOrderShipmentDetails, AcumaticaShipment, AcumaticaShipmentAmazon, AempToken, Alert, AlertMigration, AlertMigrationBatch, AlertTimeWindowConfiguration, AlertType, AppFeatureType, AssetCategory, Billing, BillingCustomerBraintree, BillingDeviceHistory, BillingHubspotPaymentLog, BillingKlarnaCustomer, BillingKlarnaOrder, BillingStatusHistoryBraintree, BillingSubscriptionBraintree, Blacklist, BlacklistType, Boundary, BoundaryEvent, CellTower, Client, ClientAppFeature, ClientConfiguration, ClientDeviceSetting, ClientType, Country, CustomerAttribute, DataSourceType, Deactivation, DeactivationReason, Device, DeviceAlertConfiguration, DeviceBehavior, DeviceCustomConfiguration, DeviceHistory, DeviceModelListener, DevicePairing, DevicePromotion, DeviceReplacement, DeviceTask, DeviceType, DeviceTypeEvent, DeviceTypeFeature, DeviceTypeFirmware, EntityTag, EntityType, Event, Feature, FirmwareAutoUpgradeBlacklist, FirmwareUpgradeTask, IccidStatus, ImeiIccidCarrier, ImeiIccidHistory, Industry, LatestPosition, Magento2Gps, Magento2Plan, MobileNetwork, NotificationRecipient, Organization, Plan, Position, PositionMigration, PositionMigrationBatch, Promotion, SecurityRole, ServiceProvider, ServiceProviderProduct, ServiceProviderProductNetwork, ServiceProviderProductType, Sim, Task, TaskSchedule, Trip, TripCompletionStatus, TripPosition, User, UserActivation, UserActivationDevice, UserActivationEvent, UserActivationMetric, UserAlertComplain, UserAlertConfiguration, UserAppFeedback, UserAppIncident, UserConfiguration, UserDataDeletionRequest, UserDeviceBehaviorTask, UserInvitation, UserRatingRequest, UserRegistrationAttempt, UserSecurityRole, };
|
|
100
|
+
export { AcumaticaAmazonProduct, AcumaticaImeiIccidData, AcumaticaOrderShipmentDetails, AcumaticaShipment, AcumaticaShipmentAmazon, AempToken, Alert, AlertMigration, AlertMigrationBatch, AlertTimeWindowConfiguration, AlertType, AppFeatureType, AssetCategory, Billing, BillingCustomerBraintree, BillingDeviceHistory, BillingHubspotPaymentLog, BillingKlarnaCustomer, BillingKlarnaOrder, BillingStatusHistoryBraintree, BillingSubscriptionBraintree, Blacklist, BlacklistType, BLEMeshConfiguration, Boundary, BoundaryEvent, CellTower, Client, ClientAppFeature, ClientConfiguration, ClientDeviceSetting, ClientType, Country, CustomerAttribute, DataSourceType, Deactivation, DeactivationReason, Device, DeviceAlertConfiguration, DeviceBehavior, DeviceCustomConfiguration, DeviceHistory, DeviceModelListener, DevicePairing, DevicePromotion, DeviceReplacement, DeviceTask, DeviceType, DeviceTypeEvent, DeviceTypeFeature, DeviceTypeFirmware, EntityTag, EntityType, Event, Feature, FirmwareAutoUpgradeBlacklist, FirmwareUpgradeTask, IccidStatus, ImeiIccidCarrier, ImeiIccidHistory, Industry, LatestPosition, Magento2Gps, Magento2Plan, MobileNetwork, NotificationRecipient, Organization, Plan, Position, PositionMigration, PositionMigrationBatch, Promotion, SecurityRole, ServiceProvider, ServiceProviderProduct, ServiceProviderProductNetwork, ServiceProviderProductType, Sim, Task, TaskSchedule, Trip, TripCompletionStatus, TripPosition, User, UserActivation, UserActivationDevice, UserActivationEvent, UserActivationMetric, UserAlertComplain, UserAlertConfiguration, UserAppFeedback, UserAppIncident, UserConfiguration, UserDataDeletionRequest, UserDeviceBehaviorTask, UserInvitation, UserRatingRequest, UserRegistrationAttempt, UserSecurityRole, };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare class SVRPairingRequest {
|
|
2
|
+
id: number;
|
|
3
|
+
mainDeviceName: string;
|
|
4
|
+
imeiMain: string;
|
|
5
|
+
btmacMain: string;
|
|
6
|
+
imeiGhost: string;
|
|
7
|
+
btmacGhost: string;
|
|
8
|
+
ghostConfigured: boolean;
|
|
9
|
+
ghostAlreadyReported: boolean;
|
|
10
|
+
mainDeviceWithCorrectBBFW: boolean;
|
|
11
|
+
mainDeviceWithCorrectMCUFW: boolean;
|
|
12
|
+
ghostDeviceWithCorrectBBFW: boolean;
|
|
13
|
+
ghostDeviceWithCorrectMCUFW: boolean;
|
|
14
|
+
mainDevicePairCommandsQueued: boolean;
|
|
15
|
+
mainDevicePairCommandsConfirmed: boolean;
|
|
16
|
+
readyToPair: boolean;
|
|
17
|
+
paired: boolean;
|
|
18
|
+
notes: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
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
|
+
import { BoolToNumberTransformer } from '../utils/boolToNumberTransformer';
|
|
12
|
+
let SVRPairingRequest = class SVRPairingRequest {
|
|
13
|
+
id;
|
|
14
|
+
mainDeviceName;
|
|
15
|
+
imeiMain;
|
|
16
|
+
btmacMain;
|
|
17
|
+
imeiGhost;
|
|
18
|
+
btmacGhost;
|
|
19
|
+
ghostConfigured;
|
|
20
|
+
ghostAlreadyReported;
|
|
21
|
+
mainDeviceWithCorrectBBFW;
|
|
22
|
+
mainDeviceWithCorrectMCUFW;
|
|
23
|
+
ghostDeviceWithCorrectBBFW;
|
|
24
|
+
ghostDeviceWithCorrectMCUFW;
|
|
25
|
+
mainDevicePairCommandsQueued;
|
|
26
|
+
mainDevicePairCommandsConfirmed;
|
|
27
|
+
readyToPair;
|
|
28
|
+
paired;
|
|
29
|
+
notes;
|
|
30
|
+
};
|
|
31
|
+
__decorate([
|
|
32
|
+
PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], SVRPairingRequest.prototype, "id", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
Column('varchar', { name: 'mainDeviceName', length: 30 }),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], SVRPairingRequest.prototype, "mainDeviceName", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
Column('varchar', { name: 'imeiMain', length: 15 }),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], SVRPairingRequest.prototype, "imeiMain", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
Column('varchar', { name: 'btmacMain', length: 20 }),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], SVRPairingRequest.prototype, "btmacMain", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
Column('varchar', { name: 'imeiGhost', length: 15 }),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], SVRPairingRequest.prototype, "imeiGhost", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
Column('varchar', { name: 'btmacGhost', length: 20 }),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], SVRPairingRequest.prototype, "btmacGhost", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
Column('tinyint', {
|
|
57
|
+
name: 'ghostConfigured',
|
|
58
|
+
width: 1,
|
|
59
|
+
transformer: new BoolToNumberTransformer(),
|
|
60
|
+
}),
|
|
61
|
+
__metadata("design:type", Boolean)
|
|
62
|
+
], SVRPairingRequest.prototype, "ghostConfigured", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
Column('tinyint', {
|
|
65
|
+
name: 'ghostAlreadyReported',
|
|
66
|
+
width: 1,
|
|
67
|
+
transformer: new BoolToNumberTransformer(),
|
|
68
|
+
}),
|
|
69
|
+
__metadata("design:type", Boolean)
|
|
70
|
+
], SVRPairingRequest.prototype, "ghostAlreadyReported", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
Column('tinyint', {
|
|
73
|
+
name: 'mainDeviceWithCorrectBBFW',
|
|
74
|
+
width: 1,
|
|
75
|
+
transformer: new BoolToNumberTransformer(),
|
|
76
|
+
}),
|
|
77
|
+
__metadata("design:type", Boolean)
|
|
78
|
+
], SVRPairingRequest.prototype, "mainDeviceWithCorrectBBFW", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
Column('tinyint', {
|
|
81
|
+
name: 'mainDeviceWithCorrectMCUFW',
|
|
82
|
+
width: 1,
|
|
83
|
+
transformer: new BoolToNumberTransformer(),
|
|
84
|
+
}),
|
|
85
|
+
__metadata("design:type", Boolean)
|
|
86
|
+
], SVRPairingRequest.prototype, "mainDeviceWithCorrectMCUFW", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
Column('tinyint', {
|
|
89
|
+
name: 'ghostDeviceWithCorrectBBFW',
|
|
90
|
+
width: 1,
|
|
91
|
+
transformer: new BoolToNumberTransformer(),
|
|
92
|
+
}),
|
|
93
|
+
__metadata("design:type", Boolean)
|
|
94
|
+
], SVRPairingRequest.prototype, "ghostDeviceWithCorrectBBFW", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
Column('tinyint', {
|
|
97
|
+
name: 'ghostDeviceWithCorrectMCUFW',
|
|
98
|
+
width: 1,
|
|
99
|
+
transformer: new BoolToNumberTransformer(),
|
|
100
|
+
}),
|
|
101
|
+
__metadata("design:type", Boolean)
|
|
102
|
+
], SVRPairingRequest.prototype, "ghostDeviceWithCorrectMCUFW", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
Column('tinyint', {
|
|
105
|
+
name: 'mainDevicePairCommandsQueued',
|
|
106
|
+
width: 1,
|
|
107
|
+
transformer: new BoolToNumberTransformer(),
|
|
108
|
+
}),
|
|
109
|
+
__metadata("design:type", Boolean)
|
|
110
|
+
], SVRPairingRequest.prototype, "mainDevicePairCommandsQueued", void 0);
|
|
111
|
+
__decorate([
|
|
112
|
+
Column('tinyint', {
|
|
113
|
+
name: 'mainDevicePairCommandsConfirmed',
|
|
114
|
+
width: 1,
|
|
115
|
+
transformer: new BoolToNumberTransformer(),
|
|
116
|
+
}),
|
|
117
|
+
__metadata("design:type", Boolean)
|
|
118
|
+
], SVRPairingRequest.prototype, "mainDevicePairCommandsConfirmed", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
Column('tinyint', {
|
|
121
|
+
name: 'readyToPair',
|
|
122
|
+
width: 1,
|
|
123
|
+
transformer: new BoolToNumberTransformer(),
|
|
124
|
+
}),
|
|
125
|
+
__metadata("design:type", Boolean)
|
|
126
|
+
], SVRPairingRequest.prototype, "readyToPair", void 0);
|
|
127
|
+
__decorate([
|
|
128
|
+
Column('tinyint', {
|
|
129
|
+
name: 'paired',
|
|
130
|
+
width: 1,
|
|
131
|
+
transformer: new BoolToNumberTransformer(),
|
|
132
|
+
}),
|
|
133
|
+
__metadata("design:type", Boolean)
|
|
134
|
+
], SVRPairingRequest.prototype, "paired", void 0);
|
|
135
|
+
__decorate([
|
|
136
|
+
Column('varchar', { name: 'notes', nullable: true, length: 1000 }),
|
|
137
|
+
__metadata("design:type", String)
|
|
138
|
+
], SVRPairingRequest.prototype, "notes", void 0);
|
|
139
|
+
SVRPairingRequest = __decorate([
|
|
140
|
+
Index('ixSVRPairingRequestImeiGhost', ['imeiGhost'], {}),
|
|
141
|
+
Index('ixSVRPairingRequestImeiMain', ['imeiMain'], {}),
|
|
142
|
+
Entity('svrPairingRequest', { schema: 'nova' })
|
|
143
|
+
], SVRPairingRequest);
|
|
144
|
+
export { SVRPairingRequest };
|