@spytecgps/nova-orm 1.4.357 → 1.4.359

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.
@@ -1,5 +1,5 @@
1
1
  import { Relation } from 'typeorm';
2
- import type { AccountBilling, AccountDeviceSummary, AccountKind, AccountPowerProfile, AccountProfileSources, AccountStoreAccess, AccountStorePricing, AccountTier } from '../types/accountProfile';
2
+ import type { AccountBilling, AccountDeviceSummary, AccountIntendedUse, AccountKind, AccountPowerProfile, AccountProfileSources, AccountStoreAccess, AccountStorePricing, AccountTier } from '../types/accountProfile';
3
3
  import { Client } from './client';
4
4
  export declare class CustomerAttribute {
5
5
  clientId: number;
@@ -27,6 +27,9 @@ export declare class CustomerAttribute {
27
27
  overrideSetBy: string | null;
28
28
  overrideSetAt: Date | null;
29
29
  overrideReason: string | null;
30
+ intendedUse: AccountIntendedUse | null;
31
+ intendedUseAnsweredAt: Date | null;
32
+ intendedUseAnsweredBy: string | null;
30
33
  billing: AccountBilling | null;
31
34
  storeAccess: AccountStoreAccess | null;
32
35
  storePricing: AccountStorePricing | null;
@@ -1 +1 @@
1
- "use strict";var e=require("../node_modules/tslib/tslib.es6.js"),t=require("typeorm"),r=require("../utils/boolToNumberTransformer.js"),o=require("./client.js");exports.CustomerAttribute=class CustomerAttribute{clientId;client;enterprise;maintenanceModule;icp;billingMethod;customerSegment;industries;primaryUseCase;crmPersonas;crmSolutions;storeBlocked;csmOwnerId;csmOwnerEmail;hubspotCompanyId;hubspotSyncedAt;deviceSummary;activationIndustry;billingOverride;storeAccessOverride;kindOverride;personasOverride;overrideSetBy;overrideSetAt;overrideReason;billing;storeAccess;storePricing;managed;kind;tier;personas;powerProfile;profileSources;profileComputedAt},e.__decorate([t.Column("int",{primary:!0,name:"clientId"}),e.__metadata("design:type",Number)],exports.CustomerAttribute.prototype,"clientId",void 0),e.__decorate([t.OneToOne((()=>o.Client),{createForeignKeyConstraints:!1,nullable:!1}),t.JoinColumn(),e.__metadata("design:type",Object)],exports.CustomerAttribute.prototype,"client",void 0),e.__decorate([t.Column("tinyint",{name:"enterprise",width:1,default:()=>"'0'",transformer:new r.BoolToNumberTransformer}),e.__metadata("design:type",Boolean)],exports.CustomerAttribute.prototype,"enterprise",void 0),e.__decorate([t.Column("tinyint",{name:"maintenanceModule",width:1,default:()=>"'0'",transformer:new r.BoolToNumberTransformer}),e.__metadata("design:type",Boolean)],exports.CustomerAttribute.prototype,"maintenanceModule",void 0),e.__decorate([t.Column("varchar",{name:"icp",length:100,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"icp",void 0),e.__decorate([t.Column("varchar",{name:"billingMethod",length:100,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"billingMethod",void 0),e.__decorate([t.Column("varchar",{name:"customerSegment",length:100,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"customerSegment",void 0),e.__decorate([t.Column("varchar",{name:"industries",length:100,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"industries",void 0),e.__decorate([t.Column("varchar",{name:"primaryUseCase",length:255,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"primaryUseCase",void 0),e.__decorate([t.Column("varchar",{name:"crmPersonas",length:255,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"crmPersonas",void 0),e.__decorate([t.Column("varchar",{name:"crmSolutions",length:255,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"crmSolutions",void 0),e.__decorate([t.Column("tinyint",{name:"storeBlocked",width:1,default:()=>"'0'",transformer:new r.BoolToNumberTransformer}),e.__metadata("design:type",Boolean)],exports.CustomerAttribute.prototype,"storeBlocked",void 0),e.__decorate([t.Column("varchar",{name:"csmOwnerId",length:50,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"csmOwnerId",void 0),e.__decorate([t.Column("varchar",{name:"csmOwnerEmail",length:255,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"csmOwnerEmail",void 0),e.__decorate([t.Column("varchar",{name:"hubspotCompanyId",length:50,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"hubspotCompanyId",void 0),e.__decorate([t.Column("datetime",{name:"hubspotSyncedAt",nullable:!0}),e.__metadata("design:type",Date)],exports.CustomerAttribute.prototype,"hubspotSyncedAt",void 0),e.__decorate([t.Column("json",{name:"deviceSummary",nullable:!0}),e.__metadata("design:type",Object)],exports.CustomerAttribute.prototype,"deviceSummary",void 0),e.__decorate([t.Column("varchar",{name:"activationIndustry",length:100,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"activationIndustry",void 0),e.__decorate([t.Column("varchar",{name:"billingOverride",length:50,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"billingOverride",void 0),e.__decorate([t.Column("varchar",{name:"storeAccessOverride",length:50,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"storeAccessOverride",void 0),e.__decorate([t.Column("varchar",{name:"kindOverride",length:50,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"kindOverride",void 0),e.__decorate([t.Column("json",{name:"personasOverride",nullable:!0}),e.__metadata("design:type",Array)],exports.CustomerAttribute.prototype,"personasOverride",void 0),e.__decorate([t.Column("varchar",{name:"overrideSetBy",length:255,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"overrideSetBy",void 0),e.__decorate([t.Column("datetime",{name:"overrideSetAt",nullable:!0}),e.__metadata("design:type",Date)],exports.CustomerAttribute.prototype,"overrideSetAt",void 0),e.__decorate([t.Column("varchar",{name:"overrideReason",length:500,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"overrideReason",void 0),e.__decorate([t.Column("varchar",{name:"billing",length:50,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"billing",void 0),e.__decorate([t.Column("varchar",{name:"storeAccess",length:50,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"storeAccess",void 0),e.__decorate([t.Column("varchar",{name:"storePricing",length:50,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"storePricing",void 0),e.__decorate([t.Column("tinyint",{name:"managed",width:1,default:()=>"'0'",transformer:new r.BoolToNumberTransformer}),e.__metadata("design:type",Boolean)],exports.CustomerAttribute.prototype,"managed",void 0),e.__decorate([t.Column("varchar",{name:"kind",length:50,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"kind",void 0),e.__decorate([t.Column("varchar",{name:"tier",length:50,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"tier",void 0),e.__decorate([t.Column("json",{name:"personas",nullable:!0}),e.__metadata("design:type",Array)],exports.CustomerAttribute.prototype,"personas",void 0),e.__decorate([t.Column("varchar",{name:"powerProfile",length:50,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"powerProfile",void 0),e.__decorate([t.Column("json",{name:"profileSources",nullable:!0}),e.__metadata("design:type",Object)],exports.CustomerAttribute.prototype,"profileSources",void 0),e.__decorate([t.Column("datetime",{name:"profileComputedAt",nullable:!0}),e.__metadata("design:type",Date)],exports.CustomerAttribute.prototype,"profileComputedAt",void 0),exports.CustomerAttribute=e.__decorate([t.Entity("customerAttribute",{schema:"nova"})],exports.CustomerAttribute);
1
+ "use strict";var e=require("../node_modules/tslib/tslib.es6.js"),t=require("typeorm"),r=require("../utils/boolToNumberTransformer.js"),o=require("./client.js");exports.CustomerAttribute=class CustomerAttribute{clientId;client;enterprise;maintenanceModule;icp;billingMethod;customerSegment;industries;primaryUseCase;crmPersonas;crmSolutions;storeBlocked;csmOwnerId;csmOwnerEmail;hubspotCompanyId;hubspotSyncedAt;deviceSummary;activationIndustry;billingOverride;storeAccessOverride;kindOverride;personasOverride;overrideSetBy;overrideSetAt;overrideReason;intendedUse;intendedUseAnsweredAt;intendedUseAnsweredBy;billing;storeAccess;storePricing;managed;kind;tier;personas;powerProfile;profileSources;profileComputedAt},e.__decorate([t.Column("int",{primary:!0,name:"clientId"}),e.__metadata("design:type",Number)],exports.CustomerAttribute.prototype,"clientId",void 0),e.__decorate([t.OneToOne((()=>o.Client),{createForeignKeyConstraints:!1,nullable:!1}),t.JoinColumn(),e.__metadata("design:type",Object)],exports.CustomerAttribute.prototype,"client",void 0),e.__decorate([t.Column("tinyint",{name:"enterprise",width:1,default:()=>"'0'",transformer:new r.BoolToNumberTransformer}),e.__metadata("design:type",Boolean)],exports.CustomerAttribute.prototype,"enterprise",void 0),e.__decorate([t.Column("tinyint",{name:"maintenanceModule",width:1,default:()=>"'0'",transformer:new r.BoolToNumberTransformer}),e.__metadata("design:type",Boolean)],exports.CustomerAttribute.prototype,"maintenanceModule",void 0),e.__decorate([t.Column("varchar",{name:"icp",length:100,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"icp",void 0),e.__decorate([t.Column("varchar",{name:"billingMethod",length:100,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"billingMethod",void 0),e.__decorate([t.Column("varchar",{name:"customerSegment",length:100,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"customerSegment",void 0),e.__decorate([t.Column("varchar",{name:"industries",length:100,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"industries",void 0),e.__decorate([t.Column("varchar",{name:"primaryUseCase",length:255,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"primaryUseCase",void 0),e.__decorate([t.Column("varchar",{name:"crmPersonas",length:255,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"crmPersonas",void 0),e.__decorate([t.Column("varchar",{name:"crmSolutions",length:255,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"crmSolutions",void 0),e.__decorate([t.Column("tinyint",{name:"storeBlocked",width:1,default:()=>"'0'",transformer:new r.BoolToNumberTransformer}),e.__metadata("design:type",Boolean)],exports.CustomerAttribute.prototype,"storeBlocked",void 0),e.__decorate([t.Column("varchar",{name:"csmOwnerId",length:50,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"csmOwnerId",void 0),e.__decorate([t.Column("varchar",{name:"csmOwnerEmail",length:255,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"csmOwnerEmail",void 0),e.__decorate([t.Column("varchar",{name:"hubspotCompanyId",length:50,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"hubspotCompanyId",void 0),e.__decorate([t.Column("datetime",{name:"hubspotSyncedAt",nullable:!0}),e.__metadata("design:type",Date)],exports.CustomerAttribute.prototype,"hubspotSyncedAt",void 0),e.__decorate([t.Column("json",{name:"deviceSummary",nullable:!0}),e.__metadata("design:type",Object)],exports.CustomerAttribute.prototype,"deviceSummary",void 0),e.__decorate([t.Column("varchar",{name:"activationIndustry",length:100,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"activationIndustry",void 0),e.__decorate([t.Column("varchar",{name:"billingOverride",length:50,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"billingOverride",void 0),e.__decorate([t.Column("varchar",{name:"storeAccessOverride",length:50,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"storeAccessOverride",void 0),e.__decorate([t.Column("varchar",{name:"kindOverride",length:50,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"kindOverride",void 0),e.__decorate([t.Column("json",{name:"personasOverride",nullable:!0}),e.__metadata("design:type",Array)],exports.CustomerAttribute.prototype,"personasOverride",void 0),e.__decorate([t.Column("varchar",{name:"overrideSetBy",length:255,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"overrideSetBy",void 0),e.__decorate([t.Column("datetime",{name:"overrideSetAt",nullable:!0}),e.__metadata("design:type",Date)],exports.CustomerAttribute.prototype,"overrideSetAt",void 0),e.__decorate([t.Column("varchar",{name:"overrideReason",length:500,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"overrideReason",void 0),e.__decorate([t.Column("varchar",{name:"intendedUse",length:25,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"intendedUse",void 0),e.__decorate([t.Column("datetime",{name:"intendedUseAnsweredAt",nullable:!0}),e.__metadata("design:type",Date)],exports.CustomerAttribute.prototype,"intendedUseAnsweredAt",void 0),e.__decorate([t.Column("varchar",{name:"intendedUseAnsweredBy",length:255,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"intendedUseAnsweredBy",void 0),e.__decorate([t.Column("varchar",{name:"billing",length:50,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"billing",void 0),e.__decorate([t.Column("varchar",{name:"storeAccess",length:50,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"storeAccess",void 0),e.__decorate([t.Column("varchar",{name:"storePricing",length:50,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"storePricing",void 0),e.__decorate([t.Column("tinyint",{name:"managed",width:1,default:()=>"'0'",transformer:new r.BoolToNumberTransformer}),e.__metadata("design:type",Boolean)],exports.CustomerAttribute.prototype,"managed",void 0),e.__decorate([t.Column("varchar",{name:"kind",length:50,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"kind",void 0),e.__decorate([t.Column("varchar",{name:"tier",length:50,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"tier",void 0),e.__decorate([t.Column("json",{name:"personas",nullable:!0}),e.__metadata("design:type",Array)],exports.CustomerAttribute.prototype,"personas",void 0),e.__decorate([t.Column("varchar",{name:"powerProfile",length:50,nullable:!0}),e.__metadata("design:type",String)],exports.CustomerAttribute.prototype,"powerProfile",void 0),e.__decorate([t.Column("json",{name:"profileSources",nullable:!0}),e.__metadata("design:type",Object)],exports.CustomerAttribute.prototype,"profileSources",void 0),e.__decorate([t.Column("datetime",{name:"profileComputedAt",nullable:!0}),e.__metadata("design:type",Date)],exports.CustomerAttribute.prototype,"profileComputedAt",void 0),exports.CustomerAttribute=e.__decorate([t.Entity("customerAttribute",{schema:"nova"})],exports.CustomerAttribute);
@@ -1 +1 @@
1
- "use strict";var e=require("../node_modules/tslib/tslib.es6.js"),t=require("typeorm"),s=require("./securityRole.js"),r=require("./user.js");const o=["full","limited"],c=["full","can_complete","read_only","no_access"];exports.UserSecurityRole=class UserSecurityRole{clientId;userId;user;securityRole;securityRoleId;devicesAccess;boundariesAccess;minAccessDate;tasksAccess;devicesAccessNew;customSecurityRoleId;customSecurityRole},e.__decorate([t.Column("int",{name:"clientId"}),e.__metadata("design:type",Number)],exports.UserSecurityRole.prototype,"clientId",void 0),e.__decorate([t.Column("binary",{primary:!0,name:"userId",length:16}),e.__metadata("design:type",Buffer)],exports.UserSecurityRole.prototype,"userId",void 0),e.__decorate([t.ManyToOne((()=>r.User),(e=>e.userSecurityRoles),{createForeignKeyConstraints:!1}),e.__metadata("design:type",Object)],exports.UserSecurityRole.prototype,"user",void 0),e.__decorate([t.ManyToOne((()=>s.SecurityRole),(e=>e.userSecurityRoles),{createForeignKeyConstraints:!1}),e.__metadata("design:type",Object)],exports.UserSecurityRole.prototype,"securityRole",void 0),e.__decorate([t.Column("tinyint",{primary:!0,name:"securityRoleId"}),e.__metadata("design:type",Number)],exports.UserSecurityRole.prototype,"securityRoleId",void 0),e.__decorate([t.Column("enum",{name:"access",enum:o,default:"full"}),e.__metadata("design:type",String)],exports.UserSecurityRole.prototype,"devicesAccess",void 0),e.__decorate([t.Column("enum",{name:"boundariesAccess",enum:o,default:"full"}),e.__metadata("design:type",String)],exports.UserSecurityRole.prototype,"boundariesAccess",void 0),e.__decorate([t.Column("datetime",{name:"minAccessDate",nullable:!0,precision:0}),e.__metadata("design:type",Date)],exports.UserSecurityRole.prototype,"minAccessDate",void 0),e.__decorate([t.Column("enum",{name:"tasksAccess",enum:c,default:"full"}),e.__metadata("design:type",String)],exports.UserSecurityRole.prototype,"tasksAccess",void 0),e.__decorate([t.Column("enum",{name:"devicesAccess",enum:o,default:"full"}),e.__metadata("design:type",String)],exports.UserSecurityRole.prototype,"devicesAccessNew",void 0),e.__decorate([t.Column("int",{name:"customSecurityRoleId",nullable:!0}),e.__metadata("design:type",Number)],exports.UserSecurityRole.prototype,"customSecurityRoleId",void 0),exports.UserSecurityRole=e.__decorate([t.Index("ixUserSecurityRoleSecurityRoleId",["securityRoleId"],{}),t.Index("ixUserSecurityRoleClientIdAccessUserId",["clientId","devicesAccess","userId"],{}),t.Entity("userSecurityRole",{schema:"nova"})],exports.UserSecurityRole),exports.tasksAccessArray=c;
1
+ "use strict";var e=require("../node_modules/tslib/tslib.es6.js"),t=require("typeorm"),s=require("./securityRole.js"),r=require("./user.js");const o=["full","limited"],c=["full","can_complete","read_only","no_access"];exports.UserSecurityRole=class UserSecurityRole{clientId;userId;user;securityRole;securityRoleId;devicesAccess;boundariesAccess;minAccessDate;tasksAccess;devicesAccessNew;customSecurityRoleId;customSecurityRole},e.__decorate([t.Column("int",{name:"clientId"}),e.__metadata("design:type",Number)],exports.UserSecurityRole.prototype,"clientId",void 0),e.__decorate([t.Column("binary",{primary:!0,name:"userId",length:16}),e.__metadata("design:type",Buffer)],exports.UserSecurityRole.prototype,"userId",void 0),e.__decorate([t.ManyToOne((()=>r.User),(e=>e.userSecurityRoles),{createForeignKeyConstraints:!1}),e.__metadata("design:type",Object)],exports.UserSecurityRole.prototype,"user",void 0),e.__decorate([t.ManyToOne((()=>s.SecurityRole),(e=>e.userSecurityRoles),{createForeignKeyConstraints:!1}),e.__metadata("design:type",Object)],exports.UserSecurityRole.prototype,"securityRole",void 0),e.__decorate([t.Column("tinyint",{primary:!0,name:"securityRoleId"}),e.__metadata("design:type",Number)],exports.UserSecurityRole.prototype,"securityRoleId",void 0),e.__decorate([t.Column("enum",{name:"access",enum:o,default:"full"}),e.__metadata("design:type",String)],exports.UserSecurityRole.prototype,"devicesAccess",void 0),e.__decorate([t.Column("enum",{name:"boundariesAccess",enum:o,default:"full"}),e.__metadata("design:type",String)],exports.UserSecurityRole.prototype,"boundariesAccess",void 0),e.__decorate([t.Column("datetime",{name:"minAccessDate",nullable:!0,precision:0}),e.__metadata("design:type",Date)],exports.UserSecurityRole.prototype,"minAccessDate",void 0),e.__decorate([t.Column("enum",{name:"tasksAccess",enum:c,default:"full"}),e.__metadata("design:type",String)],exports.UserSecurityRole.prototype,"tasksAccess",void 0),e.__decorate([t.Column({type:"enum",name:"devicesAccess",enum:o,nullable:!0,select:!1,insert:!1,update:!1}),e.__metadata("design:type",String)],exports.UserSecurityRole.prototype,"devicesAccessNew",void 0),e.__decorate([t.Column("int",{name:"customSecurityRoleId",nullable:!0}),e.__metadata("design:type",Number)],exports.UserSecurityRole.prototype,"customSecurityRoleId",void 0),exports.UserSecurityRole=e.__decorate([t.Index("ixUserSecurityRoleSecurityRoleId",["securityRoleId"],{}),t.Index("ixUserSecurityRoleClientIdAccessUserId",["clientId","devicesAccess","userId"],{}),t.Entity("userSecurityRole",{schema:"nova"})],exports.UserSecurityRole),exports.tasksAccessArray=c;
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  var _1684483704434AddLowerCaseIndex = require('../1684483704434-addLowerCaseIndex.js');
4
- var _1684483705002UpdateSecurityUserViewsV2 = require('../1684483705002-updateSecurityUserViewsV2.js');
5
4
  var _1684483705001UpdateSecurityUserViewsV1 = require('../1684483705001-updateSecurityUserViewsV1.js');
6
5
  var _1746434400000AddQuickSearchFulltextIndexes = require('../1746434400000-addQuickSearchFulltextIndexes.js');
6
+ var _1684483705002UpdateSecurityUserViewsV2 = require('../1684483705002-updateSecurityUserViewsV2.js');
7
7
 
8
8
 
9
9
 
10
10
  exports.addLowerCaseIndex1684483704434 = _1684483704434AddLowerCaseIndex.addLowerCaseIndex1684483704434;
11
- exports.updateSecurityUserViewsV21684483705002 = _1684483705002UpdateSecurityUserViewsV2.updateSecurityUserViewsV21684483705002;
12
11
  exports.updateSecurityUserViewsV11684483705001 = _1684483705001UpdateSecurityUserViewsV1.updateSecurityUserViewsV11684483705001;
13
12
  exports.addQuickSearchFulltextIndexes1746434400000 = _1746434400000AddQuickSearchFulltextIndexes.addQuickSearchFulltextIndexes1746434400000;
13
+ exports.updateSecurityUserViewsV21684483705002 = _1684483705002UpdateSecurityUserViewsV2.updateSecurityUserViewsV21684483705002;
@@ -10,6 +10,8 @@ export declare const AccountTierValue: readonly ["kraken", "whale", "bass", "gup
10
10
  export type AccountTier = (typeof AccountTierValue)[number];
11
11
  export declare const AccountPowerProfileValue: readonly ["battery", "wired", "mixed"];
12
12
  export type AccountPowerProfile = (typeof AccountPowerProfileValue)[number];
13
+ export declare const AccountIntendedUseValue: readonly ["business", "personal"];
14
+ export type AccountIntendedUse = (typeof AccountIntendedUseValue)[number];
13
15
  export declare const AccountProfileSourceValue: readonly ["computed", "hubspot", "override"];
14
16
  export type AccountProfileSource = (typeof AccountProfileSourceValue)[number];
15
17
  export declare const AccountProfileFieldValue: readonly ["billing", "storeAccess", "storePricing", "managed", "kind", "tier", "personas", "powerProfile"];
@@ -1 +1 @@
1
- "use strict";exports.AccountBillingValue=["self-serve","invoiced"],exports.AccountKindValue=["customer","demo","internal"],exports.AccountPowerProfileValue=["battery","wired","mixed"],exports.AccountProfileFieldValue=["billing","storeAccess","storePricing","managed","kind","tier","personas","powerProfile"],exports.AccountProfileSourceValue=["computed","hubspot","override"],exports.AccountStoreAccessValue=["open","blocked","none"],exports.AccountStorePricingValue=["list","contract"],exports.AccountTierValue=["kraken","whale","bass","guppy","guppy-self-serve"];
1
+ "use strict";exports.AccountBillingValue=["self-serve","invoiced"],exports.AccountIntendedUseValue=["business","personal"],exports.AccountKindValue=["customer","demo","internal"],exports.AccountPowerProfileValue=["battery","wired","mixed"],exports.AccountProfileFieldValue=["billing","storeAccess","storePricing","managed","kind","tier","personas","powerProfile"],exports.AccountProfileSourceValue=["computed","hubspot","override"],exports.AccountStoreAccessValue=["open","blocked","none"],exports.AccountStorePricingValue=["list","contract"],exports.AccountTierValue=["kraken","whale","bass","guppy","guppy-self-serve"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spytecgps/nova-orm",
3
- "version": "1.4.357",
3
+ "version": "1.4.359",
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: 5291a0146f48db86be47c5fef1f78686
1
+ -- nova-orm-schema-checksum: 837abdfecfe32657febd6dcae26849a7
2
2
  -- Nova ORM Schema Dump
3
- -- Generated at: 2026-11-16T09:04:13.505Z
3
+ -- Generated at: 2026-11-18T06:56:47.698Z
4
4
 
5
5
  SET FOREIGN_KEY_CHECKS = 0;
6
6
 
@@ -1606,6 +1606,9 @@ CREATE TABLE `customerAttribute` (
1606
1606
  `overrideSetBy` varchar(255) DEFAULT NULL,
1607
1607
  `overrideSetAt` datetime DEFAULT NULL,
1608
1608
  `overrideReason` varchar(500) DEFAULT NULL,
1609
+ `intendedUse` varchar(25) DEFAULT NULL,
1610
+ `intendedUseAnsweredAt` datetime DEFAULT NULL,
1611
+ `intendedUseAnsweredBy` varchar(255) DEFAULT NULL,
1609
1612
  `billing` varchar(50) DEFAULT NULL,
1610
1613
  `storeAccess` varchar(50) DEFAULT NULL,
1611
1614
  `storePricing` varchar(50) DEFAULT NULL,
@@ -5035,7 +5038,7 @@ CREATE TABLE `userSecurityRole` (
5035
5038
  `boundariesAccess` enum('full','limited') NOT NULL DEFAULT 'full',
5036
5039
  `minAccessDate` datetime DEFAULT NULL,
5037
5040
  `tasksAccess` enum('full','can_complete','read_only','no_access') NOT NULL DEFAULT 'full',
5038
- `devicesAccess` enum('full','limited') NOT NULL DEFAULT 'full',
5041
+ `devicesAccess` enum('full','limited') DEFAULT NULL,
5039
5042
  `customSecurityRoleId` int DEFAULT NULL,
5040
5043
  PRIMARY KEY (`userId`,`securityRoleId`),
5041
5044
  KEY `ixUserSecurityRoleClientIdAccessUserId` (`clientId`,`access`,`userId`),