@bondsports/types 1.2.3 → 1.2.4

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.
@@ -1,5 +1,5 @@
1
1
  import { Customer } from '../../entity/Customer';
2
- import { CustomerTypeEnum, ResourceNameTypeEnum, GenderEnum } from '../../services/enums.service';
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,4 @@
1
+ import { Customer } from '../../entity/Customer';
2
+ export declare class CustomerResponseDto {
3
+ data: Customer;
4
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CustomerResponseDto = void 0;
4
+ class CustomerResponseDto {
5
+ }
6
+ exports.CustomerResponseDto = CustomerResponseDto;
7
+ //# sourceMappingURL=customerResponseDto.js.map
@@ -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 './getCustomerDto';
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("./getCustomerDto"), exports);
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,mDAAiC;AACjC,wDAAsC"}
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?: string;
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":";;;AACA,+CAAgD;AAChD,2EAA2E;AAG3E,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
+ {"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;CAGlC;AAHD,wDAGC;AAED,MAAa,0BAA0B;CAGtC;AAHD,gEAGC;AAED,MAAa,yBAAyB;CASrC;AATD,8DASC;AAED,MAAa,8BAA8B;CAG1C;AAHD,wEAGC"}
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: string | null;
15
- lastName: string | null;
16
- email: string | null;
17
- phoneNumber: string | null;
18
- about: string | null;
19
- password: string | null;
20
- passwordResetToken: string | null;
21
- passwordResetExpires: Date | null;
22
- status: string | null;
23
- pushNotifications: boolean | null;
24
- notificationSettings: any | null;
25
- addressId: number | null;
26
- address: Address;
27
- currentAddressId: number | null;
28
- merchantId: number | null;
29
- loginToken: string | null;
30
- gender: GenderEnum | null;
31
- height: number | null;
32
- weight: number | null;
33
- birthDate: Date | null;
34
- lastLogin: Date | null;
35
- lastInteractionDay: Date | null;
36
- createAsId: number | null;
37
- createAsType: ResourceNameTypeEnum | null;
38
- motto: string | null;
39
- privateProfile: boolean | null;
40
- allowMultiSignHack: boolean | null;
41
- deletedAt: Date | null;
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
@@ -1,4 +0,0 @@
1
- import { Customer } from "../../entity/Customer";
2
- export declare class GetCustomerResponseDto {
3
- data: Customer;
4
- }
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetCustomerResponseDto = void 0;
4
- class GetCustomerResponseDto {
5
- }
6
- exports.GetCustomerResponseDto = GetCustomerResponseDto;
7
- //# sourceMappingURL=getCustomerDto.js.map
@@ -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"}