@bondsports/types 2.1.27 → 2.1.29

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,8 @@
1
1
  import { Customer } from '../../entity/Customer';
2
2
  import { CustomerTypeEnum, GenderEnum, ResourceNameTypeEnum } from '../../services/enums.service';
3
3
  export declare class CreateOrEditCustomerDto {
4
- firstName?: string;
5
- lastName?: string;
4
+ firstName: string;
5
+ lastName: string;
6
6
  name?: string;
7
7
  entityId?: number;
8
8
  entityType?: CustomerTypeEnum;
@@ -18,7 +18,7 @@ export declare class CreateOrEditCustomerDto {
18
18
  creatorType?: ResourceNameTypeEnum;
19
19
  userCreatorId?: number;
20
20
  gender?: GenderEnum;
21
- birthDate?: string;
21
+ birthDate: string;
22
22
  emergencyContactName?: string;
23
23
  emergencyContactPhone?: string;
24
24
  }
@@ -3,8 +3,7 @@ import { Customer } from '../../entity/Customer';
3
3
  import { User } from '../../user/entities/User';
4
4
  export declare class AddImportedCustomerDto extends CreateOrEditCustomerDto {
5
5
  importedID: string;
6
- name?: string;
7
- genderStr?: string;
6
+ genderStr: string;
8
7
  parentID?: string;
9
8
  partnerID?: string;
10
9
  membershipName?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/customer.dto.ts"],"names":[],"mappings":";;;AAAA,2FAAuF;AAIvF,MAAa,sBAAuB,SAAQ,kDAAuB;CAkBlE;AAlBD,wDAkBC;AAED,MAAa,YAAY;CAIxB;AAJD,oCAIC;AAED,MAAa,2BAA2B;CAMvC;AAND,kEAMC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC"}
1
+ {"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/customer.dto.ts"],"names":[],"mappings":";;;AAAA,2FAAuF;AAIvF,MAAa,sBAAuB,SAAQ,kDAAuB;CAgBlE;AAhBD,wDAgBC;AAED,MAAa,YAAY;CAIxB;AAJD,oCAIC;AAED,MAAa,2BAA2B;CAMvC;AAND,kEAMC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC"}
@@ -29,5 +29,5 @@ export declare class ImportMembershipMembersDto extends AddImportedCustomerDto {
29
29
  membershipId: number;
30
30
  paymentMethodId?: string;
31
31
  paymentMethodType?: PaymentMethodTypeEnum;
32
- startDate?: Date;
32
+ startDate: string;
33
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.1.27",
3
+ "version": "2.1.29",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {