@bondsports/types 2.1.51 → 2.1.53
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/media/types/index.d.ts +1 -0
- package/dist/types/media/types/index.js +1 -0
- package/dist/types/media/types/index.js.map +1 -1
- package/dist/types/media/types/meida.interfaces.d.ts +5 -0
- package/dist/types/media/types/meida.interfaces.js +3 -0
- package/dist/types/media/types/meida.interfaces.js.map +1 -0
- package/dist/types/resources/dto/instructor.dto.d.ts +1 -0
- package/dist/types/resources/dto/instructor.dto.js.map +1 -1
- package/dist/types/resources/dto/resource.dto.d.ts +1 -0
- package/dist/types/resources/dto/resource.dto.js.map +1 -1
- package/dist/types/resources/entities/Resource.d.ts +1 -0
- package/dist/types/resources/entities/Resource.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"}
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./media.enums"), exports);
|
18
|
+
__exportStar(require("./meida.interfaces"), exports);
|
18
19
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/media/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/media/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,qDAAmC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"meida.interfaces.js","sourceRoot":"","sources":["../../../../src/types/media/types/meida.interfaces.ts"],"names":[],"mappings":""}
|
@@ -37,6 +37,7 @@ export declare class InstructorResourceDto {
|
|
37
37
|
address?: AddressDto;
|
38
38
|
programTypes?: ProgramTypesEnum[];
|
39
39
|
isBookableOnline?: boolean;
|
40
|
+
medias?: MediaDto[];
|
40
41
|
}
|
41
42
|
export declare class CreateInstructorDto extends ResourceDependenciesDto {
|
42
43
|
description?: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"instructor.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/instructor.dto.ts"],"names":[],"mappings":";;;AAeA,iDAAiG;AAEjG,MAAa,qBAAqB;
|
1
|
+
{"version":3,"file":"instructor.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/instructor.dto.ts"],"names":[],"mappings":";;;AAeA,iDAAiG;AAEjG,MAAa,qBAAqB;CA8DjC;AA9DD,sDA8DC;AAED,MAAa,mBAAoB,SAAQ,sCAAuB;CAsB/D;AAtBD,kDAsBC;AAED,MAAa,mBAAoB,SAAQ,gCAAiB;CAIzD;AAJD,kDAIC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,gBAAgB;CAY5B;AAZD,4CAYC"}
|
@@ -46,6 +46,7 @@ export declare class SpaceResourceDto extends IdAndNameDto {
|
|
46
46
|
facility?: FacilityDto;
|
47
47
|
purchasedResources?: PurchasedResourceDto[];
|
48
48
|
linkSEO: string;
|
49
|
+
medias?: MediaDto[];
|
49
50
|
}
|
50
51
|
export declare class ResourceDependenciesDto {
|
51
52
|
resourceGroupId?: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA+E;AAqB/E,8EAA8E;AAG9E,MAAa,WAAW;CAIvB;AAJD,kCAIC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD;AAEtD,MAAa,gBAAiB,SAAQ,0BAAY;
|
1
|
+
{"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA+E;AAqB/E,8EAA8E;AAG9E,MAAa,WAAW;CAIvB;AAJD,kCAIC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD;AAEtD,MAAa,gBAAiB,SAAQ,0BAAY;CA8DjD;AA9DD,4CA8DC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,+BAA+B;CAU3C;AAVD,0EAUC;AAED,MAAa,yBAA0B,SAAQ,sCAAwB;CAItE;AAJD,8DAIC;AAED,MAAa,kCAAmC,SAAQ,sCAAmB;CAE1E;AAFD,gFAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAEnE;AAFD,kEAEC;AAED,MAAa,uCAAwC,SAAQ,kCAAkC;CAE9F;AAFD,0FAEC;AAED,MAAa,6BAA8B,SAAQ,sCAAmB;CAErE;AAFD,sEAEC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,iBAAiB;CAsB7B;AAtBD,8CAsBC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Resource.js","sourceRoot":"","sources":["../../../../src/types/resources/entities/Resource.ts"],"names":[],"mappings":";;;AAuBA,oGAAiG;AAWjG,MAAa,QAAS,SAAQ,mEAAgC;
|
1
|
+
{"version":3,"file":"Resource.js","sourceRoot":"","sources":["../../../../src/types/resources/entities/Resource.ts"],"names":[],"mappings":";;;AAuBA,oGAAiG;AAWjG,MAAa,QAAS,SAAQ,mEAAgC;CA2E7D;AA3ED,4BA2EC"}
|