@bondsports/types 2.1.59 → 2.1.61

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,7 @@
1
1
  import { PaymentStatusEnum } from '../payment/types/enums/payment.enums';
2
2
  import { CustomerInMembershipTypeEnum, GenderEnum, MembershipFilterByPropertyEnum, MembershipOrderByPropertyEnum, MembershipStatusEnum, MembershipTypeEnum, OrderByEnum, SportsEnum } from '../services/enums.service';
3
3
  import { IdAndNameDto, PaginationQuery } from './general.dto';
4
- import { Membership } from '../entity/Membership';
5
- import { MembershipMember } from '../entity/MembershipMember';
4
+ import { ImportResponseDto } from '../import/dto/import.dto';
6
5
  export declare class CreateMembershipDto {
7
6
  organizationId: number;
8
7
  name: string;
@@ -83,17 +82,19 @@ export declare class SimpleMembershipDto extends IdAndNameDto {
83
82
  customerTypes: CustomerInMembershipTypeEnum[];
84
83
  activity?: SportsEnum;
85
84
  membershipType: MembershipTypeEnum;
85
+ importedId?: string;
86
86
  relatedProductsIds?: number[];
87
87
  }
88
88
  export declare class DateAndUserIdsDto {
89
89
  date: Date;
90
90
  userIds?: number[];
91
91
  }
92
- export declare class MembershipImportResponseDto {
93
- data: Membership[];
94
- problems: any[];
92
+ export declare class MembershipImportResponseDto extends ImportResponseDto<SimpleMembershipDto> {
95
93
  }
96
- export declare class MembershipMemberImportResponseDto {
97
- data: MembershipMember[];
98
- problems: any[];
94
+ export declare class MembershipMemberDto {
95
+ userId: number;
96
+ productId: number;
97
+ membershipId: number;
98
+ }
99
+ export declare class MembershipMemberImportResponseDto extends ImportResponseDto<MembershipMemberDto> {
99
100
  }
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MembershipMemberImportResponseDto = exports.MembershipImportResponseDto = exports.DateAndUserIdsDto = exports.SimpleMembershipDto = exports.GetMembershipDataQueryDto = exports.CancelMembershipDto = exports.FindMembersOptionsDto = exports.MemberIdDto = exports.MembershipIdsDto = exports.SetMembersStartDateByOrganization = exports.FindMembershipsByUserIdDto = exports.FindMembershipByFiltersDto = exports.FindMembershipsByOrganizationIdDto = exports.FindMembershipByIdDto = exports.UpdateMembershipMediaDto = exports.UpdateMembrshipDto = exports.CreateMembershipDto = void 0;
3
+ exports.MembershipMemberImportResponseDto = exports.MembershipMemberDto = exports.MembershipImportResponseDto = exports.DateAndUserIdsDto = exports.SimpleMembershipDto = exports.GetMembershipDataQueryDto = exports.CancelMembershipDto = exports.FindMembersOptionsDto = exports.MemberIdDto = exports.MembershipIdsDto = exports.SetMembersStartDateByOrganization = exports.FindMembershipsByUserIdDto = exports.FindMembershipByFiltersDto = exports.FindMembershipsByOrganizationIdDto = exports.FindMembershipByIdDto = exports.UpdateMembershipMediaDto = exports.UpdateMembrshipDto = exports.CreateMembershipDto = void 0;
4
4
  const general_dto_1 = require("./general.dto");
5
+ const import_dto_1 = require("../import/dto/import.dto");
5
6
  class CreateMembershipDto {
6
7
  }
7
8
  exports.CreateMembershipDto = CreateMembershipDto;
@@ -47,10 +48,13 @@ exports.SimpleMembershipDto = SimpleMembershipDto;
47
48
  class DateAndUserIdsDto {
48
49
  }
49
50
  exports.DateAndUserIdsDto = DateAndUserIdsDto;
50
- class MembershipImportResponseDto {
51
+ class MembershipImportResponseDto extends import_dto_1.ImportResponseDto {
51
52
  }
52
53
  exports.MembershipImportResponseDto = MembershipImportResponseDto;
53
- class MembershipMemberImportResponseDto {
54
+ class MembershipMemberDto {
55
+ }
56
+ exports.MembershipMemberDto = MembershipMemberDto;
57
+ class MembershipMemberImportResponseDto extends import_dto_1.ImportResponseDto {
54
58
  }
55
59
  exports.MembershipMemberImportResponseDto = MembershipMemberImportResponseDto;
56
60
  //# sourceMappingURL=membership.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"membership.dto.js","sourceRoot":"","sources":["../../../src/types/dto/membership.dto.ts"],"names":[],"mappings":";;;AAWA,+CAA8D;AAI9D,MAAa,mBAAmB;CA0C/B;AA1CD,kDA0CC;AAED,MAAa,kBAAmB,SAAQ,mBAAmB;CAE1D;AAFD,gDAEC;AAED,MAAa,wBAAwB;CAGpC;AAHD,4DAGC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,kCAAkC;CAE9C;AAFD,gFAEC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAoB9D;AApBD,gEAoBC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,iCAAkC,SAAQ,kCAAkC;CAExF;AAFD,8EAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,qBAAsB,SAAQ,6BAAe;CAGzD;AAHD,sDAGC;AAED,MAAa,mBAAmB;CAG/B;AAHD,kDAGC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CAU7D;AAVD,8DAUC;AAED,MAAa,mBAAoB,SAAQ,0BAAY;CAUpD;AAVD,kDAUC;AAED,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,iCAAiC;CAI7C;AAJD,8EAIC"}
1
+ {"version":3,"file":"membership.dto.js","sourceRoot":"","sources":["../../../src/types/dto/membership.dto.ts"],"names":[],"mappings":";;;AAWA,+CAAqE;AAGrE,yDAA6D;AAE7D,MAAa,mBAAmB;CA0C/B;AA1CD,kDA0CC;AAED,MAAa,kBAAmB,SAAQ,mBAAmB;CAE1D;AAFD,gDAEC;AAED,MAAa,wBAAwB;CAGpC;AAHD,4DAGC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,kCAAkC;CAE9C;AAFD,gFAEC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAoB9D;AApBD,gEAoBC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,iCAAkC,SAAQ,kCAAkC;CAExF;AAFD,8EAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,qBAAsB,SAAQ,6BAAe;CAGzD;AAHD,sDAGC;AAED,MAAa,mBAAmB;CAG/B;AAHD,kDAGC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CAU7D;AAVD,8DAUC;AAED,MAAa,mBAAoB,SAAQ,0BAAY;CAYpD;AAZD,kDAYC;AAED,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AAED,MAAa,2BAA4B,SAAQ,8BAAsC;CAAG;AAA1F,kEAA0F;AAE1F,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,iCAAkC,SAAQ,8BAAsC;CAAG;AAAhG,8EAAgG"}
@@ -1,6 +1,7 @@
1
1
  import { CreateCustomerDto } from '../../customers/dto/createOrEditCustomer.dto';
2
- import { Customer } from '../../entity/Customer';
3
2
  import { User } from '../../user/entities/User';
3
+ import { ImportResponseDto, ImportValidationResponseDto } from './import.dto';
4
+ import { CustomerDto } from '../../dto/customer.dto';
4
5
  export declare class AddImportedCustomerDto extends CreateCustomerDto {
5
6
  importedId: string;
6
7
  genderStr: string;
@@ -14,26 +15,12 @@ export declare class AddFamilyDto {
14
15
  parents: AddImportedCustomerDto[];
15
16
  children: AddImportedCustomerDto[];
16
17
  }
17
- export declare class CustomerImportValidationDto {
18
- problems: any[];
19
- existingCustomers: Customer[];
18
+ export declare class CustomerImportValidationDto extends ImportValidationResponseDto {
19
+ existingCustomers: CustomerDto[];
20
20
  existingUsers: User[];
21
21
  }
22
- export declare class ExistingCustomerDto {
23
- id: number;
24
- importedId: string;
25
- name: string;
26
- email: string;
27
- }
28
- export declare class ExistingUserDto {
29
- id: number;
30
- importedId: string;
31
- email: string;
32
- }
33
- export declare class CustomerImportResponseDto {
34
- data: Customer[];
35
- problems: any[];
36
- }
37
22
  export declare class CustomerImportOptionsDto {
38
23
  toObfuscated?: boolean;
39
24
  }
25
+ export declare class CustomerImportResponseDto extends ImportResponseDto<CustomerDto> {
26
+ }
@@ -1,27 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CustomerImportOptionsDto = exports.CustomerImportResponseDto = exports.ExistingUserDto = exports.ExistingCustomerDto = exports.CustomerImportValidationDto = exports.AddFamilyDto = exports.AddImportedCustomerDto = void 0;
3
+ exports.CustomerImportResponseDto = exports.CustomerImportOptionsDto = exports.CustomerImportValidationDto = exports.AddFamilyDto = exports.AddImportedCustomerDto = void 0;
4
4
  const createOrEditCustomer_dto_1 = require("../../customers/dto/createOrEditCustomer.dto");
5
+ const import_dto_1 = require("./import.dto");
5
6
  class AddImportedCustomerDto extends createOrEditCustomer_dto_1.CreateCustomerDto {
6
7
  }
7
8
  exports.AddImportedCustomerDto = AddImportedCustomerDto;
8
9
  class AddFamilyDto {
9
10
  }
10
11
  exports.AddFamilyDto = AddFamilyDto;
11
- class CustomerImportValidationDto {
12
+ class CustomerImportValidationDto extends import_dto_1.ImportValidationResponseDto {
12
13
  }
13
14
  exports.CustomerImportValidationDto = CustomerImportValidationDto;
14
- // TODO: Use the DTOs or remove them
15
- class ExistingCustomerDto {
16
- }
17
- exports.ExistingCustomerDto = ExistingCustomerDto;
18
- class ExistingUserDto {
19
- }
20
- exports.ExistingUserDto = ExistingUserDto;
21
- class CustomerImportResponseDto {
22
- }
23
- exports.CustomerImportResponseDto = CustomerImportResponseDto;
24
15
  class CustomerImportOptionsDto {
25
16
  }
26
17
  exports.CustomerImportOptionsDto = CustomerImportOptionsDto;
18
+ class CustomerImportResponseDto extends import_dto_1.ImportResponseDto {
19
+ }
20
+ exports.CustomerImportResponseDto = CustomerImportResponseDto;
27
21
  //# sourceMappingURL=customer.dto.js.map
@@ -1 +1 @@
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
+ {"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/customer.dto.ts"],"names":[],"mappings":";;;AAAA,2FAAiF;AAEjF,6CAA8E;AAG9E,MAAa,sBAAuB,SAAQ,4CAAiB;CAc5D;AAdD,wDAcC;AAED,MAAa,YAAY;CAIxB;AAJD,oCAIC;AAED,MAAa,2BAA4B,SAAQ,wCAA2B;CAI3E;AAJD,kEAIC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,yBAA0B,SAAQ,8BAA8B;CAAG;AAAhF,8DAAgF"}
@@ -0,0 +1,7 @@
1
+ export declare class ImportValidationResponseDto {
2
+ problems: any[];
3
+ }
4
+ export declare class ImportResponseDto<T> {
5
+ data: T[];
6
+ problems: any[];
7
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ImportResponseDto = exports.ImportValidationResponseDto = void 0;
4
+ class ImportValidationResponseDto {
5
+ }
6
+ exports.ImportValidationResponseDto = ImportValidationResponseDto;
7
+ class ImportResponseDto {
8
+ }
9
+ exports.ImportResponseDto = ImportResponseDto;
10
+ //# sourceMappingURL=import.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"import.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/import.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,2BAA2B;CAEvC;AAFD,kEAEC;AAED,MAAa,iBAAiB;CAI7B;AAJD,8CAIC"}
@@ -1,4 +1,5 @@
1
1
  export * from './customer.dto';
2
+ export * from './import.dto';
2
3
  export * from './installment.dto';
3
4
  export * from './invoices.dto';
4
5
  export * from './membership.dto';
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./customer.dto"), exports);
18
+ __exportStar(require("./import.dto"), exports);
18
19
  __exportStar(require("./installment.dto"), exports);
19
20
  __exportStar(require("./invoices.dto"), exports);
20
21
  __exportStar(require("./membership.dto"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/import/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,oDAAkC;AAClC,iDAA+B;AAC/B,mDAAiC;AACjC,gDAA8B;AAC9B,mDAAiC;AACjC,oDAAkC;AAClC,4DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/import/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,+CAA6B;AAC7B,oDAAkC;AAClC,iDAA+B;AAC/B,mDAAiC;AACjC,gDAA8B;AAC9B,mDAAiC;AACjC,oDAAkC;AAClC,4DAA0C"}
@@ -1,7 +1,5 @@
1
1
  import { FutureInstallmentDto } from '../../future-installments/dto/future-installments.dto';
2
- export declare class ImportFutureInstallmentValidationDto {
3
- problems: any[];
4
- }
2
+ import { ImportResponseDto } from './import.dto';
5
3
  export declare class ImportFutureInstallmentDto {
6
4
  importedCustomerId?: string;
7
5
  userId?: number;
@@ -11,7 +9,5 @@ export declare class ImportFutureInstallmentDto {
11
9
  price: number;
12
10
  plannedDate: string;
13
11
  }
14
- export declare class ImportFutureInstallmentResponseDto {
15
- data: FutureInstallmentDto[];
16
- problems: any[];
12
+ export declare class ImportFutureInstallmentResponseDto extends ImportResponseDto<FutureInstallmentDto> {
17
13
  }
@@ -1,13 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ImportFutureInstallmentResponseDto = exports.ImportFutureInstallmentDto = exports.ImportFutureInstallmentValidationDto = void 0;
4
- class ImportFutureInstallmentValidationDto {
5
- }
6
- exports.ImportFutureInstallmentValidationDto = ImportFutureInstallmentValidationDto;
3
+ exports.ImportFutureInstallmentResponseDto = exports.ImportFutureInstallmentDto = void 0;
4
+ const import_dto_1 = require("./import.dto");
7
5
  class ImportFutureInstallmentDto {
8
6
  }
9
7
  exports.ImportFutureInstallmentDto = ImportFutureInstallmentDto;
10
- class ImportFutureInstallmentResponseDto {
8
+ class ImportFutureInstallmentResponseDto extends import_dto_1.ImportResponseDto {
11
9
  }
12
10
  exports.ImportFutureInstallmentResponseDto = ImportFutureInstallmentResponseDto;
13
11
  //# sourceMappingURL=installment.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"installment.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/installment.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,oCAAoC;CAEhD;AAFD,oFAEC;AAED,MAAa,0BAA0B;CActC;AAdD,gEAcC;AAED,MAAa,kCAAkC;CAI9C;AAJD,gFAIC"}
1
+ {"version":3,"file":"installment.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/installment.dto.ts"],"names":[],"mappings":";;;AACA,6CAAiD;AAEjD,MAAa,0BAA0B;CActC;AAdD,gEAcC;AAED,MAAa,kCAAmC,SAAQ,8BAAuC;CAAG;AAAlG,gFAAkG"}
@@ -1,18 +1,13 @@
1
- import { CreateMembershipDto } from '../../dto/membership.dto';
1
+ import { CreateMembershipDto, SimpleMembershipDto } from '../../dto/membership.dto';
2
2
  import { PaymentMethodTypeEnum } from '../../payment/types/enums/payment.enums';
3
3
  import { AddImportedCustomerDto } from './customer.dto';
4
- export declare class MembershipImportValidationDto {
5
- problems: any[];
6
- existingMemberships: ExistingMembershipDto[];
4
+ import { ImportValidationResponseDto } from './import.dto';
5
+ export declare class MembershipImportValidationDto extends ImportValidationResponseDto {
6
+ existingMemberships: SimpleMembershipDto[];
7
7
  }
8
- export declare class MembershipMemberImportValidationDto {
9
- problems: any[];
8
+ export declare class MembershipMemberImportValidationDto extends ImportValidationResponseDto {
10
9
  existingMembers: ExistingMembersDto[];
11
10
  }
12
- export declare class ExistingMembershipDto {
13
- id: number;
14
- name: string;
15
- }
16
11
  export declare class ExistingMembersDto {
17
12
  id: number;
18
13
  userId: number;
@@ -1,17 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ImportMembershipMembersDto = exports.ImportMembershipDto = exports.ExistingMembersDto = exports.ExistingMembershipDto = exports.MembershipMemberImportValidationDto = exports.MembershipImportValidationDto = void 0;
3
+ exports.ImportMembershipMembersDto = exports.ImportMembershipDto = exports.ExistingMembersDto = exports.MembershipMemberImportValidationDto = exports.MembershipImportValidationDto = void 0;
4
4
  const membership_dto_1 = require("../../dto/membership.dto");
5
5
  const customer_dto_1 = require("./customer.dto");
6
- class MembershipImportValidationDto {
6
+ const import_dto_1 = require("./import.dto");
7
+ class MembershipImportValidationDto extends import_dto_1.ImportValidationResponseDto {
7
8
  }
8
9
  exports.MembershipImportValidationDto = MembershipImportValidationDto;
9
- class MembershipMemberImportValidationDto {
10
+ class MembershipMemberImportValidationDto extends import_dto_1.ImportValidationResponseDto {
10
11
  }
11
12
  exports.MembershipMemberImportValidationDto = MembershipMemberImportValidationDto;
12
- class ExistingMembershipDto {
13
- }
14
- exports.ExistingMembershipDto = ExistingMembershipDto;
15
13
  class ExistingMembersDto {
16
14
  }
17
15
  exports.ExistingMembersDto = ExistingMembersDto;
@@ -1 +1 @@
1
- {"version":3,"file":"membership.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/membership.dto.ts"],"names":[],"mappings":";;;AAAA,6DAA+D;AAE/D,iDAAwD;AAExD,MAAa,6BAA6B;CAIzC;AAJD,sEAIC;AAED,MAAa,mCAAmC;CAI/C;AAJD,kFAIC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,mBAAoB,SAAQ,oCAAmB;CAE3D;AAFD,kDAEC;AAED,MAAa,0BAA2B,SAAQ,qCAAsB;CA4BrE;AA5BD,gEA4BC"}
1
+ {"version":3,"file":"membership.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/membership.dto.ts"],"names":[],"mappings":";;;AAAA,6DAAoF;AAEpF,iDAAwD;AACxD,6CAA2D;AAE3D,MAAa,6BAA8B,SAAQ,wCAA2B;CAE7E;AAFD,sEAEC;AAED,MAAa,mCAAoC,SAAQ,wCAA2B;CAEnF;AAFD,kFAEC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,mBAAoB,SAAQ,oCAAmB;CAE3D;AAFD,kDAEC;AAED,MAAa,0BAA2B,SAAQ,qCAAsB;CA4BrE;AA5BD,gEA4BC"}
@@ -1,8 +1,6 @@
1
1
  import { PaymentMethodTypeEnum, SubPaymentMethodTypeEnum } from '../../payment/types/enums/payment.enums';
2
2
  import { UserPaymentMethodDto } from '../../payment/dto/payment-method.dto';
3
- export declare class ImportUserPaymentMethodValidationDto {
4
- problems: any[];
5
- }
3
+ import { ImportResponseDto } from './import.dto';
6
4
  export declare class ImportUserPaymentMethodDto {
7
5
  importedCustomerId?: string;
8
6
  userId?: number;
@@ -13,7 +11,5 @@ export declare class ImportUserPaymentMethodDto {
13
11
  last4: string;
14
12
  brand: string;
15
13
  }
16
- export declare class ImportUserPaymentMethodResponseDto {
17
- data: UserPaymentMethodDto[];
18
- problems: any[];
14
+ export declare class ImportUserPaymentMethodResponseDto extends ImportResponseDto<UserPaymentMethodDto> {
19
15
  }
@@ -1,13 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ImportUserPaymentMethodResponseDto = exports.ImportUserPaymentMethodDto = exports.ImportUserPaymentMethodValidationDto = void 0;
4
- class ImportUserPaymentMethodValidationDto {
5
- }
6
- exports.ImportUserPaymentMethodValidationDto = ImportUserPaymentMethodValidationDto;
3
+ exports.ImportUserPaymentMethodResponseDto = exports.ImportUserPaymentMethodDto = void 0;
4
+ const import_dto_1 = require("./import.dto");
7
5
  class ImportUserPaymentMethodDto {
8
6
  }
9
7
  exports.ImportUserPaymentMethodDto = ImportUserPaymentMethodDto;
10
- class ImportUserPaymentMethodResponseDto {
8
+ class ImportUserPaymentMethodResponseDto extends import_dto_1.ImportResponseDto {
11
9
  }
12
10
  exports.ImportUserPaymentMethodResponseDto = ImportUserPaymentMethodResponseDto;
13
11
  //# sourceMappingURL=user-payment-method.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"user-payment-method.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/user-payment-method.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,oCAAoC;CAEhD;AAFD,oFAEC;AAED,MAAa,0BAA0B;CAgBtC;AAhBD,gEAgBC;AAED,MAAa,kCAAkC;CAI9C;AAJD,gFAIC"}
1
+ {"version":3,"file":"user-payment-method.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/user-payment-method.dto.ts"],"names":[],"mappings":";;;AAEA,6CAAiD;AAEjD,MAAa,0BAA0B;CAgBtC;AAhBD,gEAgBC;AAED,MAAa,kCAAmC,SAAQ,8BAAuC;CAAG;AAAlG,gFAAkG"}
@@ -1,6 +1,6 @@
1
1
  import { BasicActivityTimesDto } from '../../dto/activityTimes.dto';
2
2
  import { PaginationQuery } from '../../dto/general.dto';
3
- import { ActivityEnum, OrderByEnum, ResourceAgesEnum, ResourceSubTypeEnum, ResourceTypeEnum, SpacePropertiesEnum, SurfacesEnum } from '../../services/enums.service';
3
+ import { ActivityEnum, OrderByEnum, ResourceAgesEnum, ResourceSubTypeEnum, ResourceTypeEnum, SpacePropertiesEnum, SportsEnum, SurfacesEnum } from '../../services/enums.service';
4
4
  import { ResourceDependenciesDto, UpdateResourceDto } from './resource.dto';
5
5
  import { OrderByResourceEnum } from '../types/enums/resources.enums';
6
6
  export declare class SpaceByIdDto {
@@ -52,6 +52,7 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
52
52
  resourcesIds?: number[];
53
53
  orderBy?: OrderByResourceEnum;
54
54
  order?: OrderByEnum;
55
+ sports?: SportsEnum[];
55
56
  }
56
57
  export declare class UpdateSpaceDto extends UpdateResourceDto {
57
58
  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;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"}
1
+ {"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/space.dto.ts"],"names":[],"mappings":";;;AACA,uDAA+D;AAW/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;CAc3D;AAdD,0DAcC;AAED,MAAa,cAAe,SAAQ,gCAAiB;CAkBpD;AAlBD,wCAkBC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.1.59",
3
+ "version": "2.1.61",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {