@bondsports/types 2.1.52 → 2.1.54
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/customers/dto/addFamilyMember.dto.d.ts +2 -2
- package/dist/types/customers/dto/createOrEditCustomer.dto.d.ts +12 -4
- package/dist/types/customers/dto/createOrEditCustomer.dto.js +8 -3
- package/dist/types/customers/dto/createOrEditCustomer.dto.js.map +1 -1
- package/dist/types/import/dto/customer.dto.d.ts +2 -2
- package/dist/types/import/dto/customer.dto.js +1 -1
- package/dist/types/import/dto/customer.dto.js.map +1 -1
- package/dist/types/resources/dto/space.dto.d.ts +4 -1
- package/dist/types/resources/dto/space.dto.js.map +1 -1
- package/dist/types/resources/types/enums/resources.enums.d.ts +3 -0
- package/dist/types/resources/types/enums/resources.enums.js +3 -0
- package/dist/types/resources/types/enums/resources.enums.js.map +1 -1
- package/package.json +1 -1
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { CreateCustomerDto } from './createOrEditCustomer.dto';
|
2
2
|
export declare class AddMembersDto {
|
3
3
|
customerIds?: number[];
|
4
|
-
customers?:
|
4
|
+
customers?: CreateCustomerDto[];
|
5
5
|
}
|
6
6
|
export declare class NewFamilyMembersDto {
|
7
7
|
familyCustomerId: number;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { Customer } from '../../entity/Customer';
|
2
2
|
import { CustomerTypeEnum, GenderEnum, ResourceNameTypeEnum } from '../../services/enums.service';
|
3
|
-
|
4
|
-
firstName
|
5
|
-
lastName
|
3
|
+
declare class BaseCustomerDto {
|
4
|
+
firstName?: string;
|
5
|
+
lastName?: string;
|
6
6
|
name?: string;
|
7
7
|
entityId?: number;
|
8
8
|
entityType?: CustomerTypeEnum;
|
@@ -18,10 +18,18 @@ export declare class CreateOrEditCustomerDto {
|
|
18
18
|
creatorType?: ResourceNameTypeEnum;
|
19
19
|
userCreatorId?: number;
|
20
20
|
gender?: GenderEnum;
|
21
|
-
birthDate
|
21
|
+
birthDate?: string;
|
22
22
|
emergencyContactName?: string;
|
23
23
|
emergencyContactPhone?: string;
|
24
24
|
}
|
25
|
+
export declare class CreateCustomerDto extends BaseCustomerDto {
|
26
|
+
firstName: string;
|
27
|
+
lastName: string;
|
28
|
+
birthDate: string;
|
29
|
+
}
|
30
|
+
export declare class EditCustomerDto extends BaseCustomerDto {
|
31
|
+
}
|
25
32
|
export declare class CreateOrEditResponseDto {
|
26
33
|
data: Customer;
|
27
34
|
}
|
35
|
+
export {};
|
@@ -1,9 +1,14 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.CreateOrEditResponseDto = exports.
|
4
|
-
class
|
3
|
+
exports.CreateOrEditResponseDto = exports.EditCustomerDto = exports.CreateCustomerDto = void 0;
|
4
|
+
class BaseCustomerDto {
|
5
5
|
}
|
6
|
-
|
6
|
+
class CreateCustomerDto extends BaseCustomerDto {
|
7
|
+
}
|
8
|
+
exports.CreateCustomerDto = CreateCustomerDto;
|
9
|
+
class EditCustomerDto extends BaseCustomerDto {
|
10
|
+
}
|
11
|
+
exports.EditCustomerDto = EditCustomerDto;
|
7
12
|
class CreateOrEditResponseDto {
|
8
13
|
}
|
9
14
|
exports.CreateOrEditResponseDto = CreateOrEditResponseDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createOrEditCustomer.dto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/createOrEditCustomer.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,
|
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;AAGvD,MAAa,uBAAuB;CAEnC;AAFD,0DAEC"}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { CreateCustomerDto } from '../../customers/dto/createOrEditCustomer.dto';
|
2
2
|
import { Customer } from '../../entity/Customer';
|
3
3
|
import { User } from '../../user/entities/User';
|
4
|
-
export declare class AddImportedCustomerDto extends
|
4
|
+
export declare class AddImportedCustomerDto extends CreateCustomerDto {
|
5
5
|
importedId: string;
|
6
6
|
genderStr: string;
|
7
7
|
importedParentId?: string;
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.CustomerImportOptionsDto = exports.CustomerImportResponseDto = exports.ExistingUserDto = exports.ExistingCustomerDto = exports.CustomerImportValidationDto = exports.AddFamilyDto = exports.AddImportedCustomerDto = void 0;
|
4
4
|
const createOrEditCustomer_dto_1 = require("../../customers/dto/createOrEditCustomer.dto");
|
5
|
-
class AddImportedCustomerDto extends createOrEditCustomer_dto_1.
|
5
|
+
class AddImportedCustomerDto extends createOrEditCustomer_dto_1.CreateCustomerDto {
|
6
6
|
}
|
7
7
|
exports.AddImportedCustomerDto = AddImportedCustomerDto;
|
8
8
|
class AddFamilyDto {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/customer.dto.ts"],"names":[],"mappings":";;;AAAA,
|
1
|
+
{"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/customer.dto.ts"],"names":[],"mappings":";;;AAAA,2FAAiF;AAIjF,MAAa,sBAAuB,SAAQ,4CAAiB;CAc5D;AAdD,wDAcC;AAED,MAAa,YAAY;CAIxB;AAJD,oCAIC;AAED,MAAa,2BAA2B;CAMvC;AAND,kEAMC;AAED,oCAAoC;AACpC,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC"}
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import { BasicActivityTimesDto } from '../../dto/activityTimes.dto';
|
2
2
|
import { PaginationQuery } from '../../dto/general.dto';
|
3
|
-
import { ActivityEnum, ResourceAgesEnum, ResourceSubTypeEnum, ResourceTypeEnum, SpacePropertiesEnum, SurfacesEnum } from '../../services/enums.service';
|
3
|
+
import { ActivityEnum, OrderByEnum, ResourceAgesEnum, ResourceSubTypeEnum, ResourceTypeEnum, SpacePropertiesEnum, SurfacesEnum } from '../../services/enums.service';
|
4
4
|
import { ResourceDependenciesDto, UpdateResourceDto } from './resource.dto';
|
5
|
+
import { OrderByResourceEnum } from '../types/enums/resources.enums';
|
5
6
|
export declare class SpaceByIdDto {
|
6
7
|
spaceId: number;
|
7
8
|
}
|
@@ -49,6 +50,8 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
49
50
|
facilitiesIds?: number[];
|
50
51
|
types?: ResourceTypeEnum[];
|
51
52
|
resourcesIds?: number[];
|
53
|
+
orderBy?: OrderByResourceEnum;
|
54
|
+
order?: OrderByEnum;
|
52
55
|
}
|
53
56
|
export declare class UpdateSpaceDto extends UpdateResourceDto {
|
54
57
|
name?: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/space.dto.ts"],"names":[],"mappings":";;;AACA,uDAA+D;
|
1
|
+
{"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/space.dto.ts"],"names":[],"mappings":";;;AACA,uDAA+D;AAU/D,iDAAsG;AAGtG,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,cAAe,SAAQ,sCAAuB;CA8B1D;AA9BD,wCA8BC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AACD,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,gCAAgC;CAI5C;AAJD,4EAIC;AAED,MAAa,uBAAwB,SAAQ,6BAAe;CAY3D;AAZD,0DAYC;AAED,MAAa,cAAe,SAAQ,gCAAiB;CAkBpD;AAlBD,wCAkBC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC"}
|
@@ -7,6 +7,9 @@ var OrderByResourceEnum;
|
|
7
7
|
OrderByResourceEnum["NAME"] = "name";
|
8
8
|
OrderByResourceEnum["CREATED_AT"] = "createdAt";
|
9
9
|
OrderByResourceEnum["RESOURCE_TYPE"] = "resourceType";
|
10
|
+
OrderByResourceEnum["FIRST_NAME"] = "firstName";
|
11
|
+
OrderByResourceEnum["LAST_NAME"] = "lastName";
|
12
|
+
OrderByResourceEnum["EMAIL"] = "email";
|
10
13
|
OrderByResourceEnum["STATUS"] = "status";
|
11
14
|
})(OrderByResourceEnum = exports.OrderByResourceEnum || (exports.OrderByResourceEnum = {}));
|
12
15
|
//# sourceMappingURL=resources.enums.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"resources.enums.js","sourceRoot":"","sources":["../../../../../src/types/resources/types/enums/resources.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
1
|
+
{"version":3,"file":"resources.enums.js","sourceRoot":"","sources":["../../../../../src/types/resources/types/enums/resources.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC9B,gCAAS,CAAA;IACT,oCAAa,CAAA;IACb,+CAAwB,CAAA;IACxB,qDAA8B,CAAA;IAC9B,+CAAwB,CAAA;IACxB,6CAAsB,CAAA;IACtB,sCAAe,CAAA;IACf,wCAAiB,CAAA;AAClB,CAAC,EATW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAS9B"}
|