File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ import {
111111 UnitOfMeasure ,
112112 UpdateWatcher ,
113113 UserActivityGroupAssociations ,
114+ UserAssetGroupAssociations ,
114115 UserInspectionClassAssoc ,
115116 UserPropertyAssociation ,
116117 UserRegionAssociation ,
@@ -634,6 +635,12 @@ export class FamisClient {
634635 return this . getAll < UserPropertyAssociation > ( context , 'userpropertyassociation' ) ;
635636 }
636637
638+ async getUserAssetGroupAssociations (
639+ context : QueryContext
640+ ) : Promise < Result < UserAssetGroupAssociations > > {
641+ return this . getAll < UserAssetGroupAssociations > ( context , 'userassetgroupassociations' ) ;
642+ }
643+
637644 async getUserActivityGroupAssociations (
638645 context : QueryContext
639646 ) : Promise < Result < UserActivityGroupAssociations > > {
Original file line number Diff line number Diff line change @@ -1260,6 +1260,12 @@ export interface AssetStatus {
12601260 TabOrder : number ;
12611261}
12621262
1263+ export interface AssetGroup {
1264+ Id : number ;
1265+ Description ?: string ;
1266+ DefaultFlag ?: boolean ;
1267+ }
1268+
12631269export interface AssetMake {
12641270 Id : number ;
12651271 Description : string ;
@@ -1518,6 +1524,7 @@ export interface Asset {
15181524 AssetMake ?: AssetMake ;
15191525 ParentAssetAssociation ?: ParentAssetAssociation [ ] ;
15201526 Attachments ?: AssetAttachment [ ] ;
1527+ AssetGroups ?: AssetGroup [ ] ;
15211528}
15221529
15231530export interface AssetRank {
@@ -1921,6 +1928,7 @@ export interface FamisUser {
19211928 IsAllocatingIndividual : boolean ;
19221929 LaborEntryIds : number [ ] ;
19231930 LaborEntryComment ?: string ;
1931+ UserType ?: UserType ;
19241932}
19251933
19261934export interface UserSecurity {
@@ -2329,6 +2337,15 @@ export interface UserPropertyAssociation {
23292337 DefaultSubspaceExternalId : string ;
23302338}
23312339
2340+ export interface UserAssetGroupAssociations {
2341+ Id : number ;
2342+ UpdateDate ?: string ;
2343+ UpdatedById ?: number ;
2344+ UpdatedByExternalId ?: string ;
2345+ AssetGroupId : number ;
2346+ EmployeeId : number ;
2347+ }
2348+
23322349export interface Udf {
23332350 FieldName : string ;
23342351 Value ?: string ;
Original file line number Diff line number Diff line change 11{
22 "name" : " facility360" ,
3- "version" : " 1.1.0 " ,
3+ "version" : " 1.1.1 " ,
44 "description" : " A Node based 360Facility client SDK" ,
55 "main" : " dist/index.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments