@bondsports/types 2.2.139 → 2.2.141

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,6 +28,7 @@ export declare class CreateCustomerDto extends BaseCustomerDto {
28
28
  lastName: string;
29
29
  birthDate: string;
30
30
  mainMedia?: MediaDto;
31
+ gender?: GenderEnum;
31
32
  }
32
33
  export declare class EditCustomerDto extends BaseCustomerDto {
33
34
  mainMedia?: MediaDto;
@@ -1 +1 @@
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
+ {"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;CAUrD;AAVD,8CAUC;AAED,MAAa,eAAgB,SAAQ,eAAe;CAEnD;AAFD,0CAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC"}
@@ -12,6 +12,8 @@ export declare class EmployeeDto {
12
12
  id: number;
13
13
  firstName: string;
14
14
  lastName: string;
15
+ gender: GenderEnum;
16
+ birthDate?: Date;
15
17
  email?: string;
16
18
  organizationId?: number;
17
19
  referenceId?: string;
@@ -20,6 +22,7 @@ export declare class EmployeeDto {
20
22
  employmentStartDate?: Date;
21
23
  employmentEndDate?: Date;
22
24
  userId: number;
25
+ phoneNumber?: string;
23
26
  }
24
27
  export declare class EmployeeWithRoles extends EmployeeDto {
25
28
  roles?: Role[];
@@ -1 +1 @@
1
- {"version":3,"file":"employee.dto.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/employee.dto.ts"],"names":[],"mappings":";;;AAIA,uDAAwD;AAIxD,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,iBAAkB,SAAQ,WAAW;CAEjD;AAFD,8CAEC;AAED,MAAa,mBAAoB,SAAQ,iBAAiB;CAEzD;AAFD,kDAEC;AAED,MAAa,aAAa;CAMzB;AAND,sCAMC;AAED,MAAa,iBAAiB;CAoD7B;AApDD,8CAoDC;AAED,uCAAuC;AACvC,MAAa,iBAAiB;CAoD7B;AApDD,8CAoDC;AAED,MAAa,2BAA4B,SAAQ,6BAAe;CAU/D;AAVD,kEAUC"}
1
+ {"version":3,"file":"employee.dto.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/employee.dto.ts"],"names":[],"mappings":";;;AAIA,uDAAwD;AAIxD,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,WAAW;CA4BvB;AA5BD,kCA4BC;AAED,MAAa,iBAAkB,SAAQ,WAAW;CAEjD;AAFD,8CAEC;AAED,MAAa,mBAAoB,SAAQ,iBAAiB;CAEzD;AAFD,kDAEC;AAED,MAAa,aAAa;CAMzB;AAND,sCAMC;AAED,MAAa,iBAAiB;CAoD7B;AApDD,8CAoDC;AAED,uCAAuC;AACvC,MAAa,iBAAiB;CAoD7B;AApDD,8CAoDC;AAED,MAAa,2BAA4B,SAAQ,6BAAe;CAU/D;AAVD,kEAUC"}
@@ -8,7 +8,6 @@ import { IProductResource } from './porduct-resource.interfaces';
8
8
  export interface IGetCurrentPricesOptions {
9
9
  userId?: number;
10
10
  answers?: QuestionAnswersDto[];
11
- prefetchedPrices?: Price[];
12
11
  resources?: IProductResource[];
13
12
  }
14
13
  export interface IGetProductsByTypeOptions extends IPagination {
@@ -1,2 +1,3 @@
1
1
  export * from './dto';
2
2
  export * from './entities';
3
+ export * from './types';
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./dto"), exports);
18
18
  __exportStar(require("./entities"), exports);
19
+ __exportStar(require("./types"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB"}
@@ -0,0 +1 @@
1
+ export * from './user.interfaces';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./user.interfaces"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/user/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
@@ -0,0 +1,9 @@
1
+ import { GenderEnum } from '../../services/enums.service';
2
+ export interface UpdateUser {
3
+ firstName?: string;
4
+ lastName?: string;
5
+ phoneNumber?: string;
6
+ status?: string;
7
+ birthDate?: string;
8
+ gender?: GenderEnum;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=user.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.interfaces.js","sourceRoot":"","sources":["../../../../src/types/user/types/user.interfaces.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.139",
3
+ "version": "2.2.141",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {