@bondsports/types 2.2.13 → 2.2.15
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/activities/dto/activity.dto.js.map +1 -1
- package/dist/types/customers/dto/createOrEditCustomer.dto.js.map +1 -1
- package/dist/types/entity/ProductResource.d.ts +4 -2
- package/dist/types/entity/ProductResource.js.map +1 -1
- package/dist/types/payment/types/consts/user-payment-method.consts.js.map +1 -1
- package/dist/types/roles/dto/role.dto.d.ts +27 -1
- package/dist/types/roles/dto/role.dto.js +15 -1
- package/dist/types/roles/dto/role.dto.js.map +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"activity.dto.js","sourceRoot":"","sources":["../../../../src/types/activities/dto/activity.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AAExD,MAAa,WAAW;CAMvB;AAND,kCAMC;
|
1
|
+
{"version":3,"file":"activity.dto.js","sourceRoot":"","sources":["../../../../src/types/activities/dto/activity.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AAExD,MAAa,WAAW;CAMvB;AAND,kCAMC;AAED,MAAa,qBAAsB,SAAQ,6BAAe;CAMzD;AAND,sDAMC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createOrEditCustomer.dto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/createOrEditCustomer.dto.ts"],"names":[],"mappings":";;;AAGA,MAAM,eAAe;CAwCpB;AAED,MAAa,iBAAkB,SAAQ,eAAe;CAMrD;AAND,8CAMC;AAED,MAAa,eAAgB,SAAQ,eAAe;CAAG;AAAvD,0CAAuD;
|
1
|
+
{"version":3,"file":"createOrEditCustomer.dto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/createOrEditCustomer.dto.ts"],"names":[],"mappings":";;;AAGA,MAAM,eAAe;CAwCpB;AAED,MAAa,iBAAkB,SAAQ,eAAe;CAMrD;AAND,8CAMC;AAED,MAAa,eAAgB,SAAQ,eAAe;CAAG;AAAvD,0CAAuD;AAEvD,MAAa,uBAAuB;CAEnC;AAFD,0DAEC"}
|
@@ -1,14 +1,16 @@
|
|
1
1
|
import { Product } from '../product-pricing/entities/Product';
|
2
|
-
import { ResourceNameTypeEnum } from '../services/enums.service';
|
3
|
-
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
4
2
|
import { ProgramSeason } from '../programs-seasons/entities/ProgramSeason';
|
3
|
+
import { Resource } from '../resources/entities/Resource';
|
4
|
+
import { ResourceNameTypeEnum } from '../services/enums.service';
|
5
5
|
import { Event } from './Events';
|
6
|
+
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
6
7
|
import { ProductPackage } from './ProductPackage';
|
7
8
|
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
8
9
|
productId: number;
|
9
10
|
resourceId: number;
|
10
11
|
resourceType: ResourceNameTypeEnum;
|
11
12
|
deletedAt?: Date;
|
13
|
+
resource: Resource;
|
12
14
|
programSeason: ProgramSeason;
|
13
15
|
event: Event;
|
14
16
|
product: Product;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ProductResource.js","sourceRoot":"","sources":["../../../src/types/entity/ProductResource.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"ProductResource.js","sourceRoot":"","sources":["../../../src/types/entity/ProductResource.ts"],"names":[],"mappings":";;;AAMA,yFAAsF;AAGtF,MAAa,eAAgB,SAAQ,mEAAgC;CAoBpE;AApBD,0CAoBC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"user-payment-method.consts.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/consts/user-payment-method.consts.ts"],"names":[],"mappings":";;;AAAA,
|
1
|
+
{"version":3,"file":"user-payment-method.consts.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/consts/user-payment-method.consts.ts"],"names":[],"mappings":";;;AAAA,0DAA+D;AAElD,QAAA,gCAAgC,GAAG,CAAC,qCAAqB,CAAC,GAAG,EAAE,qCAAqB,CAAC,IAAI,CAAC,CAAC"}
|
@@ -1,13 +1,39 @@
|
|
1
1
|
import { PermissionDto } from './permission.dto';
|
2
2
|
import { UserRoleDto } from './user-role.dto';
|
3
3
|
import { RoleTypeEnum } from '../types/role.enums';
|
4
|
+
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
5
|
+
import { PaginationQuery } from '../../dto/general.dto';
|
6
|
+
import { OrderByEnum, PlatformsEnum } from '../../services/enums.service';
|
7
|
+
export declare class ByRoleIdDto extends ByOrganizationIdDto {
|
8
|
+
roleId: number;
|
9
|
+
}
|
10
|
+
export declare class ByRoles {
|
11
|
+
rolesIds?: number[];
|
12
|
+
}
|
13
|
+
export declare class CreateRoleV2Dto {
|
14
|
+
name: string;
|
15
|
+
deletedAt?: Date;
|
16
|
+
isEditable?: boolean;
|
17
|
+
permissions: PermissionDto[];
|
18
|
+
usersRoles: UserRoleDto[];
|
19
|
+
}
|
4
20
|
export declare class RoleDto {
|
5
21
|
id: number;
|
6
22
|
name: string;
|
7
|
-
organizationId
|
23
|
+
organizationId?: number;
|
24
|
+
deletedAt?: Date;
|
25
|
+
isEditable?: boolean;
|
8
26
|
permissions: PermissionDto[];
|
9
27
|
usersRoles: UserRoleDto[];
|
10
28
|
}
|
29
|
+
export declare class GetRolesFiltersDto extends PaginationQuery {
|
30
|
+
platforms?: PlatformsEnum[];
|
31
|
+
search: string;
|
32
|
+
deletedAt?: Date;
|
33
|
+
isEditable?: boolean;
|
34
|
+
orderBy?: string;
|
35
|
+
order?: OrderByEnum;
|
36
|
+
}
|
11
37
|
export declare class ByOrganizationIdAndRole {
|
12
38
|
organizationId: number;
|
13
39
|
role: RoleTypeEnum;
|
@@ -1,9 +1,23 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ByOrganizationIdAndRole = exports.RoleDto = void 0;
|
3
|
+
exports.ByOrganizationIdAndRole = exports.GetRolesFiltersDto = exports.RoleDto = exports.CreateRoleV2Dto = exports.ByRoles = exports.ByRoleIdDto = void 0;
|
4
|
+
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
5
|
+
const general_dto_1 = require("../../dto/general.dto");
|
6
|
+
class ByRoleIdDto extends organization_dto_1.ByOrganizationIdDto {
|
7
|
+
}
|
8
|
+
exports.ByRoleIdDto = ByRoleIdDto;
|
9
|
+
class ByRoles {
|
10
|
+
}
|
11
|
+
exports.ByRoles = ByRoles;
|
12
|
+
class CreateRoleV2Dto {
|
13
|
+
}
|
14
|
+
exports.CreateRoleV2Dto = CreateRoleV2Dto;
|
4
15
|
class RoleDto {
|
5
16
|
}
|
6
17
|
exports.RoleDto = RoleDto;
|
18
|
+
class GetRolesFiltersDto extends general_dto_1.PaginationQuery {
|
19
|
+
}
|
20
|
+
exports.GetRolesFiltersDto = GetRolesFiltersDto;
|
7
21
|
class ByOrganizationIdAndRole {
|
8
22
|
}
|
9
23
|
exports.ByOrganizationIdAndRole = ByOrganizationIdAndRole;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"role.dto.js","sourceRoot":"","sources":["../../../../src/types/roles/dto/role.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"role.dto.js","sourceRoot":"","sources":["../../../../src/types/roles/dto/role.dto.ts"],"names":[],"mappings":";;;AAGA,8EAA8E;AAC9E,uDAAwD;AAGxD,MAAa,WAAY,SAAQ,sCAAmB;CAEnD;AAFD,kCAEC;AAED,MAAa,OAAO;CAEnB;AAFD,0BAEC;AAED,MAAa,eAAe;CAU3B;AAVD,0CAUC;AAED,MAAa,OAAO;CAcnB;AAdD,0BAcC;AAED,MAAa,kBAAmB,SAAQ,6BAAe;CAYtD;AAZD,gDAYC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC"}
|