@bondsports/types 2.2.63 → 2.2.64
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/customer.dto.d.ts +3 -0
- package/dist/types/customers/dto/customer.dto.js.map +1 -1
- package/dist/types/entity/Customer.d.ts +1 -0
- package/dist/types/entity/Customer.js.map +1 -1
- package/dist/types/media/entities/Media.d.ts +2 -0
- package/dist/types/media/entities/Media.js.map +1 -1
- package/package.json +1 -1
@@ -1,5 +1,6 @@
|
|
1
1
|
import { Customer } from '../../entity/Customer';
|
2
2
|
import { CustomerTypeEnum, GenderEnum, ResourceNameTypeEnum } from '../../services/enums.service';
|
3
|
+
import { MediaDto } from '../../media/dto/media.dto';
|
3
4
|
declare class BaseCustomerDto {
|
4
5
|
firstName?: string;
|
5
6
|
lastName?: string;
|
@@ -26,8 +27,10 @@ export declare class CreateCustomerDto extends BaseCustomerDto {
|
|
26
27
|
firstName: string;
|
27
28
|
lastName: string;
|
28
29
|
birthDate: string;
|
30
|
+
mainMedia?: MediaDto;
|
29
31
|
}
|
30
32
|
export declare class EditCustomerDto extends BaseCustomerDto {
|
33
|
+
mainMedia?: MediaDto;
|
31
34
|
}
|
32
35
|
export declare class CreateOrEditResponseDto {
|
33
36
|
data: Customer;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/customer.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/customer.dto.ts"],"names":[],"mappings":";;;AAIA,MAAM,eAAe;CAwCpB;AAED,MAAa,iBAAkB,SAAQ,eAAe;CAQrD;AARD,8CAQC;AAED,MAAa,eAAgB,SAAQ,eAAe;CAEnD;AAFD,0CAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../src/types/entity/Customer.ts"],"names":[],"mappings":";;;AAYA,yFAAsF;AAGtF,MAAa,QAAS,SAAQ,mEAAgC;
|
1
|
+
{"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../src/types/entity/Customer.ts"],"names":[],"mappings":";;;AAYA,yFAAsF;AAGtF,MAAa,QAAS,SAAQ,mEAAgC;CA4E7D;AA5ED,4BA4EC"}
|
@@ -3,6 +3,7 @@ import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
|
3
3
|
import { User } from '../../user/entities/User';
|
4
4
|
import { Membership } from '../../entity/Membership';
|
5
5
|
import { MediaTypesEnum } from '../types/media.enums';
|
6
|
+
import { Customer } from '../../entity/Customer';
|
6
7
|
export declare class Media extends BondBaseEntity {
|
7
8
|
url: string;
|
8
9
|
name: string | null;
|
@@ -18,6 +19,7 @@ export declare class Media extends BondBaseEntity {
|
|
18
19
|
userCreatorId: number | null;
|
19
20
|
ownerId: number | null;
|
20
21
|
createdBy: number | null;
|
22
|
+
customers: Customer[];
|
21
23
|
users: User[];
|
22
24
|
programs: Program[];
|
23
25
|
memberships: Membership[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Media.js","sourceRoot":"","sources":["../../../../src/types/media/entities/Media.ts"],"names":[],"mappings":";;;AACA,gEAA6D;
|
1
|
+
{"version":3,"file":"Media.js","sourceRoot":"","sources":["../../../../src/types/media/entities/Media.ts"],"names":[],"mappings":";;;AACA,gEAA6D;AAO7D,MAAa,KAAM,SAAQ,+BAAc;CAqCxC;AArCD,sBAqCC"}
|