@bondsports/types 2.4.89-a-1 → 2.4.89-a-2
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.
|
@@ -14,6 +14,7 @@ export declare class CreateGlCodeDto {
|
|
|
14
14
|
resourceType?: GlResourceTypeEnum;
|
|
15
15
|
productType?: ProductTypesEnum;
|
|
16
16
|
glTypeId: number;
|
|
17
|
+
facilitiesIds?: number[];
|
|
17
18
|
}
|
|
18
19
|
export declare class GlCodeDto extends OrganizationBaseEntityDto {
|
|
19
20
|
code: string;
|
|
@@ -67,6 +68,7 @@ export declare class UpdateGlCodeDto {
|
|
|
67
68
|
resourceType?: GlResourceTypeEnum;
|
|
68
69
|
productType?: ProductTypesEnum;
|
|
69
70
|
glTypeId?: number;
|
|
71
|
+
facilitiesIds?: number[];
|
|
70
72
|
}
|
|
71
73
|
export declare class MassActionUpdateGlCodeDto {
|
|
72
74
|
label?: string;
|
|
@@ -77,11 +79,9 @@ export declare class MassActionUpdateGlCodeDto {
|
|
|
77
79
|
}
|
|
78
80
|
export declare class UpdateGlCodesDto {
|
|
79
81
|
glCodes: UpdateGlCodeDto[];
|
|
80
|
-
facilitiesIds?: number[];
|
|
81
82
|
}
|
|
82
83
|
export declare class CreateGlCodesDto {
|
|
83
84
|
glCodes: CreateGlCodeDto[];
|
|
84
|
-
facilitiesIds?: number[];
|
|
85
85
|
}
|
|
86
86
|
export declare class MassActionGlCodesQueryDto extends MassActionFilterDto implements IGlCodesFilters {
|
|
87
87
|
labels?: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gl-code.dto.js","sourceRoot":"","sources":["../../../../src/types/gl-codes/dto/gl-code.dto.ts"],"names":[],"mappings":";;;AACA,uDAAoF;AACpF,8EAAyG;AAOzG,MAAa,WAAY,SAAQ,sCAAmB;CAEnD;AAFD,kCAEC;AAED,MAAa,eAAe;
|
|
1
|
+
{"version":3,"file":"gl-code.dto.js","sourceRoot":"","sources":["../../../../src/types/gl-codes/dto/gl-code.dto.ts"],"names":[],"mappings":";;;AACA,uDAAoF;AACpF,8EAAyG;AAOzG,MAAa,WAAY,SAAQ,sCAAmB;CAEnD;AAFD,kCAEC;AAED,MAAa,eAAe;CAc3B;AAdD,0CAcC;AAED,MAAa,SAAU,SAAQ,4CAAyB;CAoBvD;AApBD,8BAoBC;AAED,MAAa,iBAAkB,SAAQ,mBAAK;CAU3C;AAVD,8CAUC;AAED,MAAa,qBAAqB;IAAlC;QAaC,2BAAsB,GAAa,IAAI,CAAC;IAGzC,CAAC;CAAA;AAhBD,sDAgBC;AAED,MAAa,oBAAqB,SAAQ,6BAAe;CAoBxD;AApBD,oDAoBC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,eAAe;CAgB3B;AAhBD,0CAgBC;AAED,MAAa,yBAAyB;CAUrC;AAVD,8DAUC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,yBAA0B,SAAQ,iCAAmB;CAYjE;AAZD,8DAYC"}
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import { ActivityEnum, OrderByEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../../services/enums.service';
|
|
2
2
|
import { IPagination } from '../../../util/models/interfaces/general.interfaces';
|
|
3
3
|
import { CreateResourceToGlDto } from '../../dto/resource-to-gl.dto';
|
|
4
|
+
import { GlCodeToFacility } from '../../entities/gl-code-to-facility.entity';
|
|
4
5
|
import { ResourceToGL } from '../../entities/resource-to-gl';
|
|
5
6
|
import { GlCodeExpandEnum, GlCodeOrderByEnum, GlResourceTypeEnum } from '../enums/gl-code.enum';
|
|
6
7
|
export interface filterExistingGlsResult {
|
|
7
8
|
deleteResourceToGlsIds: number[];
|
|
8
9
|
newResourceToGls: CreateResourceToGlDto[];
|
|
9
10
|
}
|
|
11
|
+
export interface IGlCodeFacilityConnectionsDiff {
|
|
12
|
+
connectionIdsToRemove: number[];
|
|
13
|
+
connectionsToAdd: GlCodeToFacility[];
|
|
14
|
+
}
|
|
10
15
|
export interface IResourcesGLsResult {
|
|
11
16
|
organizationId: number;
|
|
12
17
|
resourceId: number;
|