@spytecgps/nova-orm 1.4.280 → 1.4.281

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.
@@ -21,4 +21,5 @@ export declare class ClientConfiguration {
21
21
  businessHours: BusinessHours[] | null;
22
22
  fleetUtilizationBenchmarkPercent: number;
23
23
  fleetUtilizationIdleDays: number;
24
+ cellularAssistEnabled: boolean;
24
25
  }
@@ -1 +1 @@
1
- "use strict";var e=require("../node_modules/tslib/tslib.es6.js"),t=require("typeorm"),o=require("../types/enums.js"),a=require("../utils/boolToNumberTransformer.js");exports.ClientConfiguration=class ClientConfiguration{clientId;movementTripThreshold;stopTripThreshold;mapUpdateMode;maxUsersAllowed;ssoDomain;ssoMetadata;assetProfileStatusLabels;apiKeyId;assetProfileStatusLabelsEnabled;usagePlanTier;businessHoursEnabled;businessHours;fleetUtilizationBenchmarkPercent;fleetUtilizationIdleDays},e.__decorate([t.Column("int",{primary:!0,name:"clientId"}),e.__metadata("design:type",Number)],exports.ClientConfiguration.prototype,"clientId",void 0),e.__decorate([t.Column("double",{name:"movementTripThreshold",nullable:!0}),e.__metadata("design:type",Number)],exports.ClientConfiguration.prototype,"movementTripThreshold",void 0),e.__decorate([t.Column("double",{name:"stopTripThreshold",nullable:!0}),e.__metadata("design:type",Number)],exports.ClientConfiguration.prototype,"stopTripThreshold",void 0),e.__decorate([t.Column("tinyint",{name:"mapUpdateMode",nullable:!0}),e.__metadata("design:type",Number)],exports.ClientConfiguration.prototype,"mapUpdateMode",void 0),e.__decorate([t.Column("smallint",{name:"maxUsersAllowed",default:()=>"'10'"}),e.__metadata("design:type",Number)],exports.ClientConfiguration.prototype,"maxUsersAllowed",void 0),e.__decorate([t.Column("varchar",{name:"ssoDomain",nullable:!0,length:250}),e.__metadata("design:type",String)],exports.ClientConfiguration.prototype,"ssoDomain",void 0),e.__decorate([t.Column("json",{name:"ssoMetadata",nullable:!0}),e.__metadata("design:type",Object)],exports.ClientConfiguration.prototype,"ssoMetadata",void 0),e.__decorate([t.Column("json",{name:"assetProfileStatusLabels",nullable:!0}),e.__metadata("design:type",Object)],exports.ClientConfiguration.prototype,"assetProfileStatusLabels",void 0),e.__decorate([t.Column("varchar",{name:"apiKeyId",length:64,nullable:!0}),e.__metadata("design:type",String)],exports.ClientConfiguration.prototype,"apiKeyId",void 0),e.__decorate([t.Column("tinyint",{name:"assetProfileStatusLabelsEnabled",width:1,transformer:new a.BoolToNumberTransformer,default:()=>"'1'"}),e.__metadata("design:type",Boolean)],exports.ClientConfiguration.prototype,"assetProfileStatusLabelsEnabled",void 0),e.__decorate([t.Column("enum",{name:"usagePlanTier",enum:o.UsagePlanTier,default:o.UsagePlanTier.Standard}),e.__metadata("design:type",String)],exports.ClientConfiguration.prototype,"usagePlanTier",void 0),e.__decorate([t.Column("tinyint",{name:"businessHoursEnabled",nullable:!0,width:1,transformer:new a.BoolToNumberTransformer,default:()=>"'0'"}),e.__metadata("design:type",Boolean)],exports.ClientConfiguration.prototype,"businessHoursEnabled",void 0),e.__decorate([t.Column("json",{name:"businessHours",nullable:!0}),e.__metadata("design:type",Array)],exports.ClientConfiguration.prototype,"businessHours",void 0),e.__decorate([t.Column("smallint",{name:"fleetUtilizationBenchmarkPercent",default:()=>"'40'"}),e.__metadata("design:type",Number)],exports.ClientConfiguration.prototype,"fleetUtilizationBenchmarkPercent",void 0),e.__decorate([t.Column("smallint",{name:"fleetUtilizationIdleDays",default:()=>"'5'"}),e.__metadata("design:type",Number)],exports.ClientConfiguration.prototype,"fleetUtilizationIdleDays",void 0),exports.ClientConfiguration=e.__decorate([t.Entity("clientConfiguration",{schema:"nova"}),t.Index("ssoDomain",["ssoDomain"],{unique:!0})],exports.ClientConfiguration);
1
+ "use strict";var e=require("../node_modules/tslib/tslib.es6.js"),t=require("typeorm"),o=require("../types/enums.js"),a=require("../utils/boolToNumberTransformer.js");exports.ClientConfiguration=class ClientConfiguration{clientId;movementTripThreshold;stopTripThreshold;mapUpdateMode;maxUsersAllowed;ssoDomain;ssoMetadata;assetProfileStatusLabels;apiKeyId;assetProfileStatusLabelsEnabled;usagePlanTier;businessHoursEnabled;businessHours;fleetUtilizationBenchmarkPercent;fleetUtilizationIdleDays;cellularAssistEnabled},e.__decorate([t.Column("int",{primary:!0,name:"clientId"}),e.__metadata("design:type",Number)],exports.ClientConfiguration.prototype,"clientId",void 0),e.__decorate([t.Column("double",{name:"movementTripThreshold",nullable:!0}),e.__metadata("design:type",Number)],exports.ClientConfiguration.prototype,"movementTripThreshold",void 0),e.__decorate([t.Column("double",{name:"stopTripThreshold",nullable:!0}),e.__metadata("design:type",Number)],exports.ClientConfiguration.prototype,"stopTripThreshold",void 0),e.__decorate([t.Column("tinyint",{name:"mapUpdateMode",nullable:!0}),e.__metadata("design:type",Number)],exports.ClientConfiguration.prototype,"mapUpdateMode",void 0),e.__decorate([t.Column("smallint",{name:"maxUsersAllowed",default:()=>"'10'"}),e.__metadata("design:type",Number)],exports.ClientConfiguration.prototype,"maxUsersAllowed",void 0),e.__decorate([t.Column("varchar",{name:"ssoDomain",nullable:!0,length:250}),e.__metadata("design:type",String)],exports.ClientConfiguration.prototype,"ssoDomain",void 0),e.__decorate([t.Column("json",{name:"ssoMetadata",nullable:!0}),e.__metadata("design:type",Object)],exports.ClientConfiguration.prototype,"ssoMetadata",void 0),e.__decorate([t.Column("json",{name:"assetProfileStatusLabels",nullable:!0}),e.__metadata("design:type",Object)],exports.ClientConfiguration.prototype,"assetProfileStatusLabels",void 0),e.__decorate([t.Column("varchar",{name:"apiKeyId",length:64,nullable:!0}),e.__metadata("design:type",String)],exports.ClientConfiguration.prototype,"apiKeyId",void 0),e.__decorate([t.Column("tinyint",{name:"assetProfileStatusLabelsEnabled",width:1,transformer:new a.BoolToNumberTransformer,default:()=>"'1'"}),e.__metadata("design:type",Boolean)],exports.ClientConfiguration.prototype,"assetProfileStatusLabelsEnabled",void 0),e.__decorate([t.Column("enum",{name:"usagePlanTier",enum:o.UsagePlanTier,default:o.UsagePlanTier.Standard}),e.__metadata("design:type",String)],exports.ClientConfiguration.prototype,"usagePlanTier",void 0),e.__decorate([t.Column("tinyint",{name:"businessHoursEnabled",nullable:!0,width:1,transformer:new a.BoolToNumberTransformer,default:()=>"'0'"}),e.__metadata("design:type",Boolean)],exports.ClientConfiguration.prototype,"businessHoursEnabled",void 0),e.__decorate([t.Column("json",{name:"businessHours",nullable:!0}),e.__metadata("design:type",Array)],exports.ClientConfiguration.prototype,"businessHours",void 0),e.__decorate([t.Column("smallint",{name:"fleetUtilizationBenchmarkPercent",default:()=>"'40'"}),e.__metadata("design:type",Number)],exports.ClientConfiguration.prototype,"fleetUtilizationBenchmarkPercent",void 0),e.__decorate([t.Column("smallint",{name:"fleetUtilizationIdleDays",default:()=>"'5'"}),e.__metadata("design:type",Number)],exports.ClientConfiguration.prototype,"fleetUtilizationIdleDays",void 0),e.__decorate([t.Column("tinyint",{name:"cellularAssistEnabled",width:1,transformer:new a.BoolToNumberTransformer,default:()=>"'1'"}),e.__metadata("design:type",Boolean)],exports.ClientConfiguration.prototype,"cellularAssistEnabled",void 0),exports.ClientConfiguration=e.__decorate([t.Entity("clientConfiguration",{schema:"nova"}),t.Index("ssoDomain",["ssoDomain"],{unique:!0})],exports.ClientConfiguration);
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  var _1684483704434AddLowerCaseIndex = require('../1684483704434-addLowerCaseIndex.js');
4
- var _1684483705001UpdateSecurityUserViewsV1 = require('../1684483705001-updateSecurityUserViewsV1.js');
5
4
  var _1684483705002UpdateSecurityUserViewsV2 = require('../1684483705002-updateSecurityUserViewsV2.js');
6
5
  var _1746434400000AddQuickSearchFulltextIndexes = require('../1746434400000-addQuickSearchFulltextIndexes.js');
6
+ var _1684483705001UpdateSecurityUserViewsV1 = require('../1684483705001-updateSecurityUserViewsV1.js');
7
7
 
8
8
 
9
9
 
10
10
  exports.addLowerCaseIndex1684483704434 = _1684483704434AddLowerCaseIndex.addLowerCaseIndex1684483704434;
11
- exports.updateSecurityUserViewsV11684483705001 = _1684483705001UpdateSecurityUserViewsV1.updateSecurityUserViewsV11684483705001;
12
11
  exports.updateSecurityUserViewsV21684483705002 = _1684483705002UpdateSecurityUserViewsV2.updateSecurityUserViewsV21684483705002;
13
12
  exports.addQuickSearchFulltextIndexes1746434400000 = _1746434400000AddQuickSearchFulltextIndexes.addQuickSearchFulltextIndexes1746434400000;
13
+ exports.updateSecurityUserViewsV11684483705001 = _1684483705001UpdateSecurityUserViewsV1.updateSecurityUserViewsV11684483705001;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spytecgps/nova-orm",
3
- "version": "1.4.280",
3
+ "version": "1.4.281",
4
4
  "description": "ORM with PlanetScale",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/schema.sql CHANGED
@@ -1,6 +1,6 @@
1
- -- nova-orm-schema-checksum: 2541d7ed7334099a865914c2d89dd3e5
1
+ -- nova-orm-schema-checksum: 51aa78650d5716f2f37513024c6d2dc2
2
2
  -- Nova ORM Schema Dump
3
- -- Generated at: 2026-07-30T16:02:56.249Z
3
+ -- Generated at: 2026-08-03T11:53:41.939Z
4
4
 
5
5
  SET FOREIGN_KEY_CHECKS = 0;
6
6
 
@@ -1211,6 +1211,7 @@ CREATE TABLE `clientConfiguration` (
1211
1211
  `businessHours` json DEFAULT NULL,
1212
1212
  `fleetUtilizationBenchmarkPercent` smallint NOT NULL DEFAULT '40',
1213
1213
  `fleetUtilizationIdleDays` smallint NOT NULL DEFAULT '5',
1214
+ `cellularAssistEnabled` tinyint(1) NOT NULL DEFAULT '1',
1214
1215
  PRIMARY KEY (`clientId`),
1215
1216
  UNIQUE KEY `ssoDomain` (`ssoDomain`)
1216
1217
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;