@spytecgps/nova-orm 1.0.15 → 1.0.17
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/billingDeviceTypePlan.d.ts +12 -0
- package/dist/entities/billingDeviceTypePlan.js +63 -0
- package/dist/entities/billingPlanFeatures.d.ts +6 -0
- package/dist/entities/billingPlanFeatures.js +36 -0
- package/dist/entities/billingPlans.d.ts +22 -0
- package/dist/entities/billingPlans.js +126 -0
- package/dist/entities/bleMeshConfiguration.js +0 -1
- package/dist/entities/deviceStatus.js +0 -2
- package/dist/entities/index.d.ts +4 -1
- package/dist/entities/index.js +4 -1
- package/dist/entities/userInvitation.d.ts +1 -0
- package/dist/entities/userInvitation.js +5 -0
- package/dist/index.js +1 -1
- package/dist/repositories/billing/getBillingDeviceTypePlans.d.ts +5 -0
- package/dist/repositories/billing/getBillingDeviceTypePlans.js +16 -0
- package/dist/repositories/billing/getBillingPlans.d.ts +4 -0
- package/dist/repositories/billing/getBillingPlans.js +62 -0
- package/dist/repositories/billing/index.d.ts +31 -2
- package/dist/repositories/billing/index.js +57 -0
- package/dist/repositories/billing/upsertBillingDeviceTypePlan.d.ts +5 -0
- package/dist/repositories/billing/upsertBillingDeviceTypePlan.js +66 -0
- package/dist/repositories/billing/upsertBillingPlans.d.ts +5 -0
- package/dist/repositories/billing/upsertBillingPlans.js +53 -0
- package/dist/repositories/devices/getDeviceTypes.js +34 -17
- package/dist/repositories/userInvitations/createUserInvitation.js +1 -0
- package/dist/repositories/userInvitations/updateUserInvitation.js +3 -1
- package/dist/types/billing.d.ts +64 -0
- package/dist/types/devices.d.ts +3 -0
- package/dist/types/userInvitations.d.ts +2 -0
- package/dist/utils/billingPlansHelper.d.ts +3 -0
- package/dist/utils/billingPlansHelper.js +49 -0
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Relation } from 'typeorm';
|
|
2
|
+
import { BillingPlans } from './billingPlans';
|
|
3
|
+
export declare class BillingDeviceTypePlan {
|
|
4
|
+
id: number;
|
|
5
|
+
deviceTypeId: number;
|
|
6
|
+
planId: string;
|
|
7
|
+
deviceTypeModel: string;
|
|
8
|
+
deviceType: string | null;
|
|
9
|
+
createdAt: Date;
|
|
10
|
+
status: 'active' | 'disabled' | 'draft';
|
|
11
|
+
billingPlans?: Relation<BillingPlans>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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, JoinColumn, ManyToOne, PrimaryGeneratedColumn, } from 'typeorm';
|
|
11
|
+
import { BillingPlans } from './billingPlans';
|
|
12
|
+
let BillingDeviceTypePlan = class BillingDeviceTypePlan {
|
|
13
|
+
id;
|
|
14
|
+
deviceTypeId;
|
|
15
|
+
planId;
|
|
16
|
+
deviceTypeModel;
|
|
17
|
+
deviceType;
|
|
18
|
+
createdAt;
|
|
19
|
+
status;
|
|
20
|
+
billingPlans;
|
|
21
|
+
};
|
|
22
|
+
__decorate([
|
|
23
|
+
PrimaryGeneratedColumn({ type: 'int', name: 'id' }),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], BillingDeviceTypePlan.prototype, "id", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
Column('int', { name: 'deviceTypeId' }),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], BillingDeviceTypePlan.prototype, "deviceTypeId", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
Column('varchar', { name: 'planId', length: 50 }),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], BillingDeviceTypePlan.prototype, "planId", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
Column('varchar', { name: 'deviceTypeModel', length: 50 }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], BillingDeviceTypePlan.prototype, "deviceTypeModel", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
Column('varchar', { name: 'deviceType', nullable: true, length: 50 }),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], BillingDeviceTypePlan.prototype, "deviceType", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
Column('datetime', { name: 'createdAt', precision: 0 }),
|
|
44
|
+
__metadata("design:type", Date)
|
|
45
|
+
], BillingDeviceTypePlan.prototype, "createdAt", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
Column('varchar', { name: 'status', length: 20 }),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], BillingDeviceTypePlan.prototype, "status", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
ManyToOne(() => BillingPlans, {
|
|
52
|
+
createForeignKeyConstraints: false,
|
|
53
|
+
nullable: false,
|
|
54
|
+
}),
|
|
55
|
+
JoinColumn({ name: 'planId', referencedColumnName: 'planId' }),
|
|
56
|
+
__metadata("design:type", Object)
|
|
57
|
+
], BillingDeviceTypePlan.prototype, "billingPlans", void 0);
|
|
58
|
+
BillingDeviceTypePlan = __decorate([
|
|
59
|
+
Index('ixBillingDeviceTypePlanDeviceTypeId_PlanId', ['deviceTypeId', 'planId'], {}),
|
|
60
|
+
Index('ixBillingDeviceTypePlanStatus', ['status'], {}),
|
|
61
|
+
Entity('billingDeviceTypePlan', { schema: 'nova' })
|
|
62
|
+
], BillingDeviceTypePlan);
|
|
63
|
+
export { BillingDeviceTypePlan };
|
|
@@ -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 BillingPlanFeatures = class BillingPlanFeatures {
|
|
12
|
+
featureId;
|
|
13
|
+
planId;
|
|
14
|
+
feature;
|
|
15
|
+
status;
|
|
16
|
+
};
|
|
17
|
+
__decorate([
|
|
18
|
+
PrimaryGeneratedColumn({ type: 'int', name: 'featureId' }),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], BillingPlanFeatures.prototype, "featureId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
Column('varchar', { name: 'planId', length: 50 }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], BillingPlanFeatures.prototype, "planId", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
Column('text', { name: 'feature', nullable: true }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], BillingPlanFeatures.prototype, "feature", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
Column('varchar', { name: 'status', length: 20 }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], BillingPlanFeatures.prototype, "status", void 0);
|
|
33
|
+
BillingPlanFeatures = __decorate([
|
|
34
|
+
Entity('billingPlanFeatures', { schema: 'nova' })
|
|
35
|
+
], BillingPlanFeatures);
|
|
36
|
+
export { BillingPlanFeatures };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare class BillingPlans {
|
|
2
|
+
planId: string;
|
|
3
|
+
targetCustomer: 'consumer' | 'enterprise' | 'any';
|
|
4
|
+
code: string;
|
|
5
|
+
status: 'active' | 'disabled' | 'draft';
|
|
6
|
+
platform: string;
|
|
7
|
+
billingFrequency: number;
|
|
8
|
+
contractLength: number;
|
|
9
|
+
numberOfBillingCycles: number | null;
|
|
10
|
+
description: string | null;
|
|
11
|
+
name: string;
|
|
12
|
+
price: string;
|
|
13
|
+
trialDuration: number | null;
|
|
14
|
+
trialDurationUnit: 'day' | 'month' | null;
|
|
15
|
+
trialPeriod: boolean | null;
|
|
16
|
+
createdAt: Date;
|
|
17
|
+
updatedAt: Date;
|
|
18
|
+
addOns: Record<string, any>[] | null;
|
|
19
|
+
discounts: Record<string, any>[] | null;
|
|
20
|
+
startDate: Date | null;
|
|
21
|
+
endDate: Date | null;
|
|
22
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
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, PrimaryColumn } from 'typeorm';
|
|
11
|
+
import { BoolToNumberTransformer } from '../utils/boolToNumberTransformer';
|
|
12
|
+
let BillingPlans = class BillingPlans {
|
|
13
|
+
planId;
|
|
14
|
+
targetCustomer;
|
|
15
|
+
code;
|
|
16
|
+
status;
|
|
17
|
+
platform;
|
|
18
|
+
billingFrequency;
|
|
19
|
+
contractLength;
|
|
20
|
+
numberOfBillingCycles;
|
|
21
|
+
description;
|
|
22
|
+
name;
|
|
23
|
+
price;
|
|
24
|
+
trialDuration;
|
|
25
|
+
trialDurationUnit;
|
|
26
|
+
trialPeriod;
|
|
27
|
+
createdAt;
|
|
28
|
+
updatedAt;
|
|
29
|
+
addOns;
|
|
30
|
+
discounts;
|
|
31
|
+
startDate;
|
|
32
|
+
endDate;
|
|
33
|
+
};
|
|
34
|
+
__decorate([
|
|
35
|
+
PrimaryColumn({ type: 'varchar', name: 'planId', length: 50 }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], BillingPlans.prototype, "planId", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
Column('varchar', { name: 'targetCustomer', length: 20 }),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], BillingPlans.prototype, "targetCustomer", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
Column('varchar', { name: 'code', length: 50 }),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], BillingPlans.prototype, "code", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
Column('varchar', { name: 'status', length: 20 }),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], BillingPlans.prototype, "status", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
Column('varchar', { name: 'platform', length: 255 }),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], BillingPlans.prototype, "platform", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
Column('smallint', { name: 'billingFrequency' }),
|
|
56
|
+
__metadata("design:type", Number)
|
|
57
|
+
], BillingPlans.prototype, "billingFrequency", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
Column('smallint', { name: 'contractLength' }),
|
|
60
|
+
__metadata("design:type", Number)
|
|
61
|
+
], BillingPlans.prototype, "contractLength", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
Column('smallint', { name: 'numberOfBillingCycles', nullable: true }),
|
|
64
|
+
__metadata("design:type", Number)
|
|
65
|
+
], BillingPlans.prototype, "numberOfBillingCycles", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
Column('varchar', { name: 'description', nullable: true, length: 255 }),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], BillingPlans.prototype, "description", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
Column('varchar', { name: 'name', length: 255 }),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], BillingPlans.prototype, "name", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
Column('varchar', { name: 'price', length: 50 }),
|
|
76
|
+
__metadata("design:type", String)
|
|
77
|
+
], BillingPlans.prototype, "price", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
Column('smallint', { name: 'trialDuration', nullable: true }),
|
|
80
|
+
__metadata("design:type", Number)
|
|
81
|
+
], BillingPlans.prototype, "trialDuration", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
Column('varchar', { name: 'trialDurationUnit', nullable: true, length: 20 }),
|
|
84
|
+
__metadata("design:type", String)
|
|
85
|
+
], BillingPlans.prototype, "trialDurationUnit", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
Column('tinyint', {
|
|
88
|
+
name: 'trialPeriod',
|
|
89
|
+
nullable: true,
|
|
90
|
+
width: 1,
|
|
91
|
+
transformer: new BoolToNumberTransformer(),
|
|
92
|
+
}),
|
|
93
|
+
__metadata("design:type", Boolean)
|
|
94
|
+
], BillingPlans.prototype, "trialPeriod", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
Column('datetime', { name: 'createdAt', precision: 0 }),
|
|
97
|
+
__metadata("design:type", Date)
|
|
98
|
+
], BillingPlans.prototype, "createdAt", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
Column('datetime', { name: 'updatedAt', precision: 0 }),
|
|
101
|
+
__metadata("design:type", Date)
|
|
102
|
+
], BillingPlans.prototype, "updatedAt", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
Column('json', { name: 'addOns', nullable: true }),
|
|
105
|
+
__metadata("design:type", Array)
|
|
106
|
+
], BillingPlans.prototype, "addOns", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
Column('json', { name: 'discounts', nullable: true }),
|
|
109
|
+
__metadata("design:type", Array)
|
|
110
|
+
], BillingPlans.prototype, "discounts", void 0);
|
|
111
|
+
__decorate([
|
|
112
|
+
Column('datetime', { name: 'startDate', nullable: true, precision: 0 }),
|
|
113
|
+
__metadata("design:type", Date)
|
|
114
|
+
], BillingPlans.prototype, "startDate", void 0);
|
|
115
|
+
__decorate([
|
|
116
|
+
Column('datetime', { name: 'endDate', nullable: true, precision: 0 }),
|
|
117
|
+
__metadata("design:type", Date)
|
|
118
|
+
], BillingPlans.prototype, "endDate", void 0);
|
|
119
|
+
BillingPlans = __decorate([
|
|
120
|
+
Index('ixBillingPlansPlanId', ['planId'], {}),
|
|
121
|
+
Index('ixBillingPlansStatus', ['status'], {}),
|
|
122
|
+
Index('ixBillingPlansTargetCustomer', ['targetCustomer'], {}),
|
|
123
|
+
Index('ixBillingPlansStartDate_EndDate', ['startDate', 'endDate'], {}),
|
|
124
|
+
Entity('billingPlans', { schema: 'nova' })
|
|
125
|
+
], BillingPlans);
|
|
126
|
+
export { BillingPlans };
|
|
@@ -50,7 +50,6 @@ __decorate([
|
|
|
50
50
|
__metadata("design:type", Date)
|
|
51
51
|
], BLEMeshConfiguration.prototype, "modifiedAt", void 0);
|
|
52
52
|
BLEMeshConfiguration = __decorate([
|
|
53
|
-
Index('ixBLEMeshConfigurationImeiMain', ['imeiMain'], {}),
|
|
54
53
|
Index('ixuBLEMeshConfigurationImeiMainBLEMac', ['imeiMain', 'bleMac'], { unique: true }),
|
|
55
54
|
Entity('bleMeshConfiguration', { schema: 'nova' })
|
|
56
55
|
], BLEMeshConfiguration);
|
|
@@ -52,8 +52,6 @@ __decorate([
|
|
|
52
52
|
__metadata("design:type", Client)
|
|
53
53
|
], DeviceStatus.prototype, "client", void 0);
|
|
54
54
|
DeviceStatus = __decorate([
|
|
55
|
-
Index('ixuDeviceStatusImei', ['imei'], { unique: true }),
|
|
56
|
-
Index('ixDeviceStatusClientId', ['clientId'], {}),
|
|
57
55
|
Index('ixDeviceStatusClientId_SendTime', ['clientId', 'sendTime'], {}),
|
|
58
56
|
Index('ixDeviceStatusSendTime', ['sendTime'], {}),
|
|
59
57
|
Index('ixDeviceStatusCreated', ['created'], {}),
|
package/dist/entities/index.d.ts
CHANGED
|
@@ -14,9 +14,12 @@ import { AssetCategory } from './assetCategory';
|
|
|
14
14
|
import { Billing } from './billing';
|
|
15
15
|
import { BillingCustomerBraintree } from './billingCustomerBraintree';
|
|
16
16
|
import { BillingDeviceHistory } from './billingDeviceHistory';
|
|
17
|
+
import { BillingDeviceTypePlan } from './billingDeviceTypePlan';
|
|
17
18
|
import { BillingHubspotPaymentLog } from './billingHubspotPaymentLog';
|
|
18
19
|
import { BillingKlarnaCustomer } from './billingKlarnaCustomer';
|
|
19
20
|
import { BillingKlarnaOrder } from './billingKlarnaOrder';
|
|
21
|
+
import { BillingPlanFeatures } from './billingPlanFeatures';
|
|
22
|
+
import { BillingPlans } from './billingPlans';
|
|
20
23
|
import { BillingStatusHistoryBraintree } from './billingStatusHistoryBraintree';
|
|
21
24
|
import { BillingSubscriptionBraintree } from './billingSubscriptionBraintree';
|
|
22
25
|
import { Blacklist } from './blacklist';
|
|
@@ -98,4 +101,4 @@ import { UserInvitation } from './userInvitation';
|
|
|
98
101
|
import { UserRatingRequest } from './userRatingRequest';
|
|
99
102
|
import { UserRegistrationAttempt } from './userRegistrationAttempt';
|
|
100
103
|
import { UserSecurityRole } from './userSecurityRole';
|
|
101
|
-
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, DeviceStatus, 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, };
|
|
104
|
+
export { AcumaticaAmazonProduct, AcumaticaImeiIccidData, AcumaticaOrderShipmentDetails, AcumaticaShipment, AcumaticaShipmentAmazon, AempToken, Alert, AlertMigration, AlertMigrationBatch, AlertTimeWindowConfiguration, AlertType, AppFeatureType, AssetCategory, Billing, BillingCustomerBraintree, BillingDeviceHistory, BillingHubspotPaymentLog, BillingKlarnaCustomer, BillingKlarnaOrder, BillingStatusHistoryBraintree, BillingSubscriptionBraintree, BillingPlans, BillingDeviceTypePlan, BillingPlanFeatures, 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, DeviceStatus, 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
|
@@ -14,9 +14,12 @@ import { AssetCategory } from './assetCategory';
|
|
|
14
14
|
import { Billing } from './billing';
|
|
15
15
|
import { BillingCustomerBraintree } from './billingCustomerBraintree';
|
|
16
16
|
import { BillingDeviceHistory } from './billingDeviceHistory';
|
|
17
|
+
import { BillingDeviceTypePlan } from './billingDeviceTypePlan';
|
|
17
18
|
import { BillingHubspotPaymentLog } from './billingHubspotPaymentLog';
|
|
18
19
|
import { BillingKlarnaCustomer } from './billingKlarnaCustomer';
|
|
19
20
|
import { BillingKlarnaOrder } from './billingKlarnaOrder';
|
|
21
|
+
import { BillingPlanFeatures } from './billingPlanFeatures';
|
|
22
|
+
import { BillingPlans } from './billingPlans';
|
|
20
23
|
import { BillingStatusHistoryBraintree } from './billingStatusHistoryBraintree';
|
|
21
24
|
import { BillingSubscriptionBraintree } from './billingSubscriptionBraintree';
|
|
22
25
|
import { Blacklist } from './blacklist';
|
|
@@ -98,4 +101,4 @@ import { UserInvitation } from './userInvitation';
|
|
|
98
101
|
import { UserRatingRequest } from './userRatingRequest';
|
|
99
102
|
import { UserRegistrationAttempt } from './userRegistrationAttempt';
|
|
100
103
|
import { UserSecurityRole } from './userSecurityRole';
|
|
101
|
-
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, DeviceStatus, 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, };
|
|
104
|
+
export { AcumaticaAmazonProduct, AcumaticaImeiIccidData, AcumaticaOrderShipmentDetails, AcumaticaShipment, AcumaticaShipmentAmazon, AempToken, Alert, AlertMigration, AlertMigrationBatch, AlertTimeWindowConfiguration, AlertType, AppFeatureType, AssetCategory, Billing, BillingCustomerBraintree, BillingDeviceHistory, BillingHubspotPaymentLog, BillingKlarnaCustomer, BillingKlarnaOrder, BillingStatusHistoryBraintree, BillingSubscriptionBraintree, BillingPlans, BillingDeviceTypePlan, BillingPlanFeatures, 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, DeviceStatus, 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, };
|
|
@@ -23,6 +23,7 @@ let UserInvitation = class UserInvitation {
|
|
|
23
23
|
minAccessDate;
|
|
24
24
|
boundaries;
|
|
25
25
|
boundaryAccess;
|
|
26
|
+
tasksAccess;
|
|
26
27
|
};
|
|
27
28
|
__decorate([
|
|
28
29
|
Column('binary', { primary: true, name: 'id', length: 16 }),
|
|
@@ -80,6 +81,10 @@ __decorate([
|
|
|
80
81
|
Column('text', { name: 'boundaryAccess', nullable: true }),
|
|
81
82
|
__metadata("design:type", String)
|
|
82
83
|
], UserInvitation.prototype, "boundaryAccess", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
Column('text', { name: 'tasksAccess', nullable: true }),
|
|
86
|
+
__metadata("design:type", String)
|
|
87
|
+
], UserInvitation.prototype, "tasksAccess", void 0);
|
|
83
88
|
UserInvitation = __decorate([
|
|
84
89
|
Index('ixUserInvtationInviteeEmail', ['inviteeEmail'], {}),
|
|
85
90
|
Index('ixUserInvtationInviterClientId', ['inviterClientId'], {}),
|