grm-shared-library 1.1.85 → 1.1.86

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.
@@ -9,13 +9,13 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.SendOtpDto = void 0;
12
+ exports.SendOTPDto = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const class_validator_1 = require("class-validator");
15
15
  const otp_action_1 = require("../enums/otp-action");
16
- class SendOtpDto {
16
+ class SendOTPDto {
17
17
  }
18
- exports.SendOtpDto = SendOtpDto;
18
+ exports.SendOTPDto = SendOTPDto;
19
19
  __decorate([
20
20
  (0, swagger_1.ApiProperty)({
21
21
  description: 'The phone number to send the OTP to',
@@ -25,7 +25,7 @@ __decorate([
25
25
  (0, class_validator_1.IsPhoneNumber)(),
26
26
  (0, class_validator_1.IsOptional)(),
27
27
  __metadata("design:type", String)
28
- ], SendOtpDto.prototype, "phoneNumber", void 0);
28
+ ], SendOTPDto.prototype, "phoneNumber", void 0);
29
29
  __decorate([
30
30
  (0, swagger_1.ApiProperty)({
31
31
  description: 'The email address to send the OTP to',
@@ -35,7 +35,7 @@ __decorate([
35
35
  (0, class_validator_1.IsEmail)(),
36
36
  (0, class_validator_1.IsOptional)(),
37
37
  __metadata("design:type", String)
38
- ], SendOtpDto.prototype, "email", void 0);
38
+ ], SendOTPDto.prototype, "email", void 0);
39
39
  __decorate([
40
40
  (0, swagger_1.ApiProperty)({
41
41
  description: 'Action for which OTP is being requested',
@@ -45,5 +45,5 @@ __decorate([
45
45
  (0, class_validator_1.IsEnum)(otp_action_1.OtpAction),
46
46
  (0, class_validator_1.IsNotEmpty)(),
47
47
  __metadata("design:type", String)
48
- ], SendOtpDto.prototype, "action", void 0);
48
+ ], SendOTPDto.prototype, "action", void 0);
49
49
  //# sourceMappingURL=send-otp.dto.js.map
@@ -10,7 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  import { ApiProperty } from "@nestjs/swagger";
11
11
  import { IsEmail, IsEnum, IsNotEmpty, IsOptional, IsPhoneNumber } from "class-validator";
12
12
  import { OtpAction } from "../enums/otp-action";
13
- export class SendOtpDto {
13
+ export class SendOTPDto {
14
14
  }
15
15
  __decorate([
16
16
  ApiProperty({
@@ -21,7 +21,7 @@ __decorate([
21
21
  IsPhoneNumber(),
22
22
  IsOptional(),
23
23
  __metadata("design:type", String)
24
- ], SendOtpDto.prototype, "phoneNumber", void 0);
24
+ ], SendOTPDto.prototype, "phoneNumber", void 0);
25
25
  __decorate([
26
26
  ApiProperty({
27
27
  description: 'The email address to send the OTP to',
@@ -31,7 +31,7 @@ __decorate([
31
31
  IsEmail(),
32
32
  IsOptional(),
33
33
  __metadata("design:type", String)
34
- ], SendOtpDto.prototype, "email", void 0);
34
+ ], SendOTPDto.prototype, "email", void 0);
35
35
  __decorate([
36
36
  ApiProperty({
37
37
  description: 'Action for which OTP is being requested',
@@ -41,5 +41,5 @@ __decorate([
41
41
  IsEnum(OtpAction),
42
42
  IsNotEmpty(),
43
43
  __metadata("design:type", String)
44
- ], SendOtpDto.prototype, "action", void 0);
44
+ ], SendOTPDto.prototype, "action", void 0);
45
45
  //# sourceMappingURL=send-otp.dto.js.map
@@ -1,5 +1,5 @@
1
1
  import { OtpAction } from "../enums/otp-action";
2
- export declare class SendOtpDto {
2
+ export declare class SendOTPDto {
3
3
  phoneNumber?: string;
4
4
  email?: string;
5
5
  action: OtpAction;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grm-shared-library",
3
- "version": "1.1.85",
3
+ "version": "1.1.86",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",