@bondsports/types 2.2.138 → 2.2.140

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"}
@@ -1 +1 @@
1
- {"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../src/types/dto/events.dto.ts"],"names":[],"mappings":";;;AAYA,+CAA6E;AAE7E,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,cAAc;CAsB1B;AAtBD,wCAsBC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,oCAAqC,SAAQ,mBAAmB;CAE5E;AAFD,oFAEC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AACD,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,0BA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4BC;AAED,MAAa,gBAAiB,SAAQ,mBAAK;CAI1C;AAJD,4CAIC;AAED,MAAa,sBAAuB,SAAQ,cAAc;CAIzD;AAJD,wDAIC;AACD,MAAa,sBAAuB,SAAQ,6BAAe;CAgB1D;AAhBD,wDAgBC"}
@@ -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;AAGD,MAAa,iBAAkB,SAAQ,WAAW;CAGjD;AAHD,8CAGC;AAED,MAAa,mBAAoB,SAAQ,iBAAiB;CAGzD;AAHD,kDAGC;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;CAY/D;AAZD,kEAYC"}
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"}
@@ -1 +1 @@
1
- {"version":3,"file":"OrganizationUsers.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/OrganizationUsers.ts"],"names":[],"mappings":";;;AACA,gEAA6D;AAI7D,MAAa,iBAAkB,SAAQ,+BAAc;CAkBpD;AAlBD,8CAkBC"}
1
+ {"version":3,"file":"OrganizationUsers.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/OrganizationUsers.ts"],"names":[],"mappings":";;;AACA,gEAA6D;AAI7D,MAAa,iBAAkB,SAAQ,+BAAc;CAiBpD;AAjBD,8CAiBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Permission.js","sourceRoot":"","sources":["../../../../src/types/roles/entities/Permission.ts"],"names":[],"mappings":";;;AAAA,qCAA0I;AAG1I,MAAa,UAAW,SAAQ,oBAAU;CAUzC;AAVD,gCAUC"}
1
+ {"version":3,"file":"Permission.js","sourceRoot":"","sources":["../../../../src/types/roles/entities/Permission.ts"],"names":[],"mappings":";;;AAAA,qCAUiB;AAGjB,MAAa,UAAW,SAAQ,oBAAU;CAUzC;AAVD,gCAUC"}
@@ -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.138",
3
+ "version": "2.2.140",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {