grm-shared-library 1.1.66 → 1.1.67

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.
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.CreateMobileUserDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class CreateMobileUserDto {
15
+ }
16
+ exports.CreateMobileUserDto = CreateMobileUserDto;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], CreateMobileUserDto.prototype, "name", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsEmail)(),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], CreateMobileUserDto.prototype, "email", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsString)(),
29
+ (0, class_validator_1.IsNotEmpty)(),
30
+ __metadata("design:type", String)
31
+ ], CreateMobileUserDto.prototype, "phoneNumber", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsNumber)(),
34
+ (0, class_validator_1.IsNotEmpty)(),
35
+ __metadata("design:type", Number)
36
+ ], CreateMobileUserDto.prototype, "organizationId", void 0);
37
+ //# sourceMappingURL=create-mobile-user.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-mobile-user.dto.js","sourceRoot":"","sources":["../../../../../src/modules/user/dtos/create-mobile-user.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0E;AAE1E,MAAa,mBAAmB;CAgB/B;AAhBD,kDAgBC;AAbG;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACC;AAId;IAFC,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;;kDACE;AAIf;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACQ;AAIrB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACW"}
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./dtos/create-user.dto"), exports);
18
18
  __exportStar(require("./dtos/update-user.dto"), exports);
19
+ __exportStar(require("./dtos/create-mobile-user.dto"), exports);
19
20
  __exportStar(require("./enums/user-status.enum"), exports);
20
21
  __exportStar(require("./interfaces/user"), exports);
21
22
  __exportStar(require("./interfaces/user-context"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,yDAAuC;AACvC,2DAAyC;AACzC,oDAAkC;AAClC,4DAA0C;AAC1C,4DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,yDAAuC;AACvC,gEAA8C;AAC9C,2DAAyC;AACzC,oDAAkC;AAClC,4DAA0C;AAC1C,4DAA0C"}
@@ -0,0 +1,33 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { IsEmail, IsNotEmpty, IsNumber, IsString } from "class-validator";
11
+ export class CreateMobileUserDto {
12
+ }
13
+ __decorate([
14
+ IsString(),
15
+ IsNotEmpty(),
16
+ __metadata("design:type", String)
17
+ ], CreateMobileUserDto.prototype, "name", void 0);
18
+ __decorate([
19
+ IsEmail(),
20
+ IsNotEmpty(),
21
+ __metadata("design:type", String)
22
+ ], CreateMobileUserDto.prototype, "email", void 0);
23
+ __decorate([
24
+ IsString(),
25
+ IsNotEmpty(),
26
+ __metadata("design:type", String)
27
+ ], CreateMobileUserDto.prototype, "phoneNumber", void 0);
28
+ __decorate([
29
+ IsNumber(),
30
+ IsNotEmpty(),
31
+ __metadata("design:type", Number)
32
+ ], CreateMobileUserDto.prototype, "organizationId", void 0);
33
+ //# sourceMappingURL=create-mobile-user.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-mobile-user.dto.js","sourceRoot":"","sources":["../../../../../src/modules/user/dtos/create-mobile-user.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE1E,MAAM,OAAO,mBAAmB;CAgB/B;AAbG;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;iDACC;AAId;IAFC,OAAO,EAAE;IACT,UAAU,EAAE;;kDACE;AAIf;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;wDACQ;AAIrB;IAFC,QAAQ,EAAE;IACV,UAAU,EAAE;;2DACW"}
@@ -1,5 +1,6 @@
1
1
  export * from './dtos/create-user.dto';
2
2
  export * from './dtos/update-user.dto';
3
+ export * from './dtos/create-mobile-user.dto';
3
4
  export * from './enums/user-status.enum';
4
5
  export * from './interfaces/user';
5
6
  export * from './interfaces/user-context';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/user/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/user/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC"}
@@ -0,0 +1,6 @@
1
+ export declare class CreateMobileUserDto {
2
+ name: string;
3
+ email: string;
4
+ phoneNumber: string;
5
+ organizationId: number;
6
+ }
@@ -1,5 +1,6 @@
1
1
  export * from './dtos/create-user.dto';
2
2
  export * from './dtos/update-user.dto';
3
+ export * from './dtos/create-mobile-user.dto';
3
4
  export * from './enums/user-status.enum';
4
5
  export * from './interfaces/user';
5
6
  export * from './interfaces/user-context';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grm-shared-library",
3
- "version": "1.1.66",
3
+ "version": "1.1.67",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",