@bondsports/types 1.2.3 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/customers/dto/createOrEditCustomer.dto.d.ts +1 -1
- package/dist/types/customers/dto/customerResponseDto.d.ts +4 -0
- package/dist/types/customers/dto/customerResponseDto.js +7 -0
- package/dist/types/customers/dto/customerResponseDto.js.map +1 -0
- package/dist/types/customers/dto/index.d.ts +1 -1
- package/dist/types/customers/dto/index.js +1 -1
- package/dist/types/customers/dto/index.js.map +1 -1
- package/dist/types/dto/customer.dto.d.ts +2 -2
- package/dist/types/dto/customer.dto.js +1 -1
- package/dist/types/dto/customer.dto.js.map +1 -1
- package/dist/types/dto/familyAccount.dto.js.map +1 -1
- package/dist/types/entity/User.d.ts +28 -28
- package/package.json +1 -1
- package/dist/types/customers/dto/getCustomerDto.d.ts +0 -4
- package/dist/types/customers/dto/getCustomerDto.js +0 -7
- package/dist/types/customers/dto/getCustomerDto.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Customer } from '../../entity/Customer';
|
|
2
|
-
import { CustomerTypeEnum,
|
|
2
|
+
import { CustomerTypeEnum, GenderEnum, ResourceNameTypeEnum } from '../../services/enums.service';
|
|
3
3
|
export declare class CreateOrEditCustomerDto {
|
|
4
4
|
firstName?: string;
|
|
5
5
|
lastName?: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customerResponseDto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/customerResponseDto.ts"],"names":[],"mappings":";;;AAEA,MAAa,mBAAmB;CAE/B;AAFD,kDAEC"}
|
|
@@ -2,5 +2,5 @@ export * from './addFamilyMember.dto';
|
|
|
2
2
|
export * from './createFamily.dto';
|
|
3
3
|
export * from './createOrEditCustomer.dto';
|
|
4
4
|
export * from './customerOfOrganization.dto';
|
|
5
|
-
export * from './
|
|
5
|
+
export * from './customerResponseDto';
|
|
6
6
|
export * from './getCustomersListDto';
|
|
@@ -18,6 +18,6 @@ __exportStar(require("./addFamilyMember.dto"), exports);
|
|
|
18
18
|
__exportStar(require("./createFamily.dto"), exports);
|
|
19
19
|
__exportStar(require("./createOrEditCustomer.dto"), exports);
|
|
20
20
|
__exportStar(require("./customerOfOrganization.dto"), exports);
|
|
21
|
-
__exportStar(require("./
|
|
21
|
+
__exportStar(require("./customerResponseDto"), exports);
|
|
22
22
|
__exportStar(require("./getCustomersListDto"), exports);
|
|
23
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,qDAAmC;AACnC,6DAA2C;AAC3C,+DAA6C;AAC7C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,qDAAmC;AACnC,6DAA2C;AAC3C,+DAA6C;AAC7C,wDAAsC;AACtC,wDAAsC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ByOrganizationIdDto } from '../organization/dto/organization.dto';
|
|
1
2
|
import { CustomerTypeEnum } from '../services/enums.service';
|
|
2
3
|
import { PaginationQuery } from './general.dto';
|
|
3
|
-
import { ByOrganizationIdDto } from '../organization/dto/organization.dto';
|
|
4
4
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
5
5
|
membershipId: number;
|
|
6
6
|
}
|
|
@@ -31,7 +31,7 @@ export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQ
|
|
|
31
31
|
nameSearch?: string;
|
|
32
32
|
fuzzy?: string;
|
|
33
33
|
customerType?: CustomerTypeEnum;
|
|
34
|
-
customersIds?:
|
|
34
|
+
customersIds?: number[];
|
|
35
35
|
}
|
|
36
36
|
export declare class AddCustomerNotesDto {
|
|
37
37
|
customerNotes: CustomerNoteDto[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CustomerNoteDto = exports.AddCustomerNotesDto = exports.FindCustomersByOrganizationIdFiltersDto = exports.ByOrganizationIdUserIdDto = exports.ByOrganizationIdCustomerIdDto = exports.ImportRentalsFromCSV = exports.ImportDashCustomerDto = exports.ImportProgramsFileDto = exports.ImportCustomerFromCSV = exports.ImportProductsFromDB = exports.FindByMembershipIdDto = void 0;
|
|
4
|
-
const general_dto_1 = require("./general.dto");
|
|
5
4
|
const organization_dto_1 = require("../organization/dto/organization.dto");
|
|
5
|
+
const general_dto_1 = require("./general.dto");
|
|
6
6
|
class FindByMembershipIdDto extends organization_dto_1.ByOrganizationIdDto {
|
|
7
7
|
}
|
|
8
8
|
exports.FindByMembershipIdDto = FindByMembershipIdDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../../src/types/dto/customer.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../../src/types/dto/customer.dto.ts"],"names":[],"mappings":";;;AAAA,2EAA2E;AAE3E,+CAAgD;AAEhD,MAAa,qBAAsB,SAAQ,sCAAmB;CAE7D;AAFD,sDAEC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,qBAAsB,SAAQ,qBAAqB;CAE/D;AAFD,sDAEC;AAED,MAAa,qBAAsB,SAAQ,qBAAqB;CAI/D;AAJD,sDAIC;AAED,MAAa,oBAAqB,SAAQ,qBAAqB;CAE9D;AAFD,oDAEC;AAED,MAAa,6BAA8B,SAAQ,sCAAmB;CAErE;AAFD,sEAEC;AAED,MAAa,yBAA0B,SAAQ,sCAAmB;CAEjE;AAFD,8DAEC;AAED,MAAa,uCAAwC,SAAQ,6BAAe;CAQ3E;AARD,0FAQC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"familyAccount.dto.js","sourceRoot":"","sources":["../../../src/types/dto/familyAccount.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,6BAA6B;CAIzC;AAJD,sEAIC;AAED,MAAa,2BAA2B;CAEvC;AAFD,kEAEC;AAED,MAAa,sBAAsB;
|
|
1
|
+
{"version":3,"file":"familyAccount.dto.js","sourceRoot":"","sources":["../../../src/types/dto/familyAccount.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,6BAA6B;CAIzC;AAJD,sEAIC;AAED,MAAa,2BAA2B;CAEvC;AAFD,kEAEC;AAED,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,0BAA0B;CAItC;AAJD,gEAIC;AAED,MAAa,yBAAyB;CAgBrC;AAhBD,8DAgBC;AAED,MAAa,8BAA8B;CAI1C;AAJD,wEAIC"}
|
|
@@ -11,34 +11,34 @@ import { Media } from './Media';
|
|
|
11
11
|
import { SeasonAttendee } from './SeasonAttendees';
|
|
12
12
|
import { UserInFamilyAccount } from './UserInFamilyAccount';
|
|
13
13
|
export declare class User extends BondBaseEntity {
|
|
14
|
-
firstName
|
|
15
|
-
lastName
|
|
16
|
-
email
|
|
17
|
-
phoneNumber
|
|
18
|
-
about
|
|
19
|
-
password
|
|
20
|
-
passwordResetToken
|
|
21
|
-
passwordResetExpires
|
|
22
|
-
status
|
|
23
|
-
pushNotifications
|
|
24
|
-
notificationSettings
|
|
25
|
-
addressId
|
|
26
|
-
address
|
|
27
|
-
currentAddressId
|
|
28
|
-
merchantId
|
|
29
|
-
loginToken
|
|
30
|
-
gender
|
|
31
|
-
height
|
|
32
|
-
weight
|
|
33
|
-
birthDate
|
|
34
|
-
lastLogin
|
|
35
|
-
lastInteractionDay
|
|
36
|
-
createAsId
|
|
37
|
-
createAsType
|
|
38
|
-
motto
|
|
39
|
-
privateProfile
|
|
40
|
-
allowMultiSignHack
|
|
41
|
-
deletedAt
|
|
14
|
+
firstName?: string;
|
|
15
|
+
lastName?: string;
|
|
16
|
+
email?: string;
|
|
17
|
+
phoneNumber?: string;
|
|
18
|
+
about?: string;
|
|
19
|
+
password?: string;
|
|
20
|
+
passwordResetToken?: string;
|
|
21
|
+
passwordResetExpires?: Date;
|
|
22
|
+
status?: string;
|
|
23
|
+
pushNotifications?: boolean;
|
|
24
|
+
notificationSettings?: any;
|
|
25
|
+
addressId?: number;
|
|
26
|
+
address?: Address;
|
|
27
|
+
currentAddressId?: number;
|
|
28
|
+
merchantId?: number;
|
|
29
|
+
loginToken?: string;
|
|
30
|
+
gender?: GenderEnum;
|
|
31
|
+
height?: number;
|
|
32
|
+
weight?: number;
|
|
33
|
+
birthDate?: Date;
|
|
34
|
+
lastLogin?: Date;
|
|
35
|
+
lastInteractionDay?: Date;
|
|
36
|
+
createAsId?: number;
|
|
37
|
+
createAsType?: ResourceNameTypeEnum;
|
|
38
|
+
motto?: string;
|
|
39
|
+
privateProfile?: boolean;
|
|
40
|
+
allowMultiSignHack?: boolean;
|
|
41
|
+
deletedAt?: Date;
|
|
42
42
|
userInFamilyAccounts: UserInFamilyAccount[];
|
|
43
43
|
athlete: Athlete;
|
|
44
44
|
eventAttendees: EventAttendee[];
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getCustomerDto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/getCustomerDto.ts"],"names":[],"mappings":";;;AAEA,MAAa,sBAAsB;CAElC;AAFD,wDAEC"}
|