@b2eoneauth/client-dto 1.0.4 → 1.0.6
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.
- package/{src/index.d.ts → index.d.ts} +7 -2
- package/index.d.ts.map +1 -0
- package/index.js +26 -0
- package/lib/application/create-application-response.dto.d.ts +7 -0
- package/lib/application/create-application-response.dto.d.ts.map +1 -0
- package/lib/application/create-application-response.dto.js +2 -0
- package/lib/application/create-application.dto.d.ts +7 -0
- package/lib/application/create-application.dto.d.ts.map +1 -0
- package/lib/application/create-application.dto.js +30 -0
- package/lib/application-feature/create-application-feature-response.dto.d.ts +9 -0
- package/lib/application-feature/create-application-feature-response.dto.d.ts.map +1 -0
- package/lib/application-feature/create-application-feature-response.dto.js +2 -0
- package/lib/application-feature/create-application-feature.dto.d.ts +11 -0
- package/lib/application-feature/create-application-feature.dto.d.ts.map +1 -0
- package/lib/application-feature/create-application-feature.dto.js +46 -0
- package/lib/business/create-business-response.dto.d.ts.map +1 -0
- package/lib/business/create-business-response.dto.js +2 -0
- package/lib/business/create-business.dto.d.ts +19 -0
- package/lib/business/create-business.dto.d.ts.map +1 -0
- package/lib/business/create-business.dto.js +44 -0
- package/{src/lib → lib}/client-dto.d.ts +3 -2
- package/lib/client-dto.d.ts.map +1 -0
- package/lib/client-dto.js +57 -0
- package/lib/role/create-role-response.dto.d.ts.map +1 -0
- package/lib/role/create-role-response.dto.js +2 -0
- package/lib/role/create-role.dto.d.ts.map +1 -0
- package/lib/role/create-role.dto.js +19 -0
- package/lib/role/filter-role-response.dto.d.ts +5 -0
- package/lib/role/filter-role-response.dto.d.ts.map +1 -0
- package/lib/role/filter-role-response.dto.js +2 -0
- package/lib/role/filter-role.dto.d.ts +5 -0
- package/lib/role/filter-role.dto.d.ts.map +1 -0
- package/lib/role/filter-role.dto.js +19 -0
- package/lib/tenant/create-tenant-response.dto.d.ts.map +1 -0
- package/lib/tenant/create-tenant-response.dto.js +2 -0
- package/{src/lib → lib}/tenant/create-tenant.dto.d.ts +0 -1
- package/lib/tenant/create-tenant.dto.d.ts.map +1 -0
- package/lib/tenant/create-tenant.dto.js +27 -0
- package/lib/user/create-user-response.dto.d.ts.map +1 -0
- package/lib/user/create-user-response.dto.js +2 -0
- package/lib/user/create-user-role.dto.d.ts.map +1 -0
- package/lib/user/create-user-role.dto.js +20 -0
- package/lib/user/create-user.dto.d.ts.map +1 -0
- package/lib/user/create-user.dto.js +71 -0
- package/lib/user/filter-user-response.dto.d.ts +5 -0
- package/lib/user/filter-user-response.dto.d.ts.map +1 -0
- package/lib/user/filter-user-response.dto.js +2 -0
- package/lib/user/filter-user.dto.d.ts +7 -0
- package/lib/user/filter-user.dto.d.ts.map +1 -0
- package/lib/user/filter-user.dto.js +31 -0
- package/lib/user/login-response.dto.d.ts +11 -0
- package/lib/user/login-response.dto.d.ts.map +1 -0
- package/lib/user/login-response.dto.js +2 -0
- package/lib/user/login.dto.d.ts.map +1 -0
- package/lib/user/login.dto.js +19 -0
- package/lib/user/me-info.dto.d.ts +11 -0
- package/lib/user/me-info.dto.d.ts.map +1 -0
- package/lib/user/me-info.dto.js +2 -0
- package/lib/user/update-password.dto.d.ts.map +1 -0
- package/lib/user/update-password.dto.js +20 -0
- package/lib/user/user-activation-response.dto.d.ts.map +1 -0
- package/lib/user/user-activation-response.dto.js +2 -0
- package/lib/user/user-activation.dto.d.ts.map +1 -0
- package/lib/user/user-activation.dto.js +21 -0
- package/package.json +13 -13
- package/tsconfig.lib.tsbuildinfo +1 -1
- package/src/index.d.ts.map +0 -1
- package/src/index.js +0 -18
- package/src/lib/app/create-app-response.dto.d.ts +0 -5
- package/src/lib/app/create-app-response.dto.d.ts.map +0 -1
- package/src/lib/app/create-app-response.dto.js +0 -1
- package/src/lib/app/create-app.dto.d.ts +0 -6
- package/src/lib/app/create-app.dto.d.ts.map +0 -1
- package/src/lib/app/create-app.dto.js +0 -5
- package/src/lib/business/create-business-response.dto.d.ts.map +0 -1
- package/src/lib/business/create-business-response.dto.js +0 -1
- package/src/lib/business/create-business.dto.d.ts +0 -9
- package/src/lib/business/create-business.dto.d.ts.map +0 -1
- package/src/lib/business/create-business.dto.js +0 -36
- package/src/lib/client-dto.d.ts.map +0 -1
- package/src/lib/client-dto.js +0 -58
- package/src/lib/role/create-role-response.dto.d.ts.map +0 -1
- package/src/lib/role/create-role-response.dto.js +0 -1
- package/src/lib/role/create-role.dto.d.ts.map +0 -1
- package/src/lib/role/create-role.dto.js +0 -18
- package/src/lib/role/filter-role.dto.d.ts +0 -5
- package/src/lib/role/filter-role.dto.d.ts.map +0 -1
- package/src/lib/role/filter-role.dto.js +0 -16
- package/src/lib/tenant/create-tenant-response.dto.d.ts.map +0 -1
- package/src/lib/tenant/create-tenant-response.dto.js +0 -1
- package/src/lib/tenant/create-tenant.dto.d.ts.map +0 -1
- package/src/lib/tenant/create-tenant.dto.js +0 -32
- package/src/lib/user/create-user-response.dto.d.ts.map +0 -1
- package/src/lib/user/create-user-response.dto.js +0 -1
- package/src/lib/user/create-user-role.dto.d.ts.map +0 -1
- package/src/lib/user/create-user-role.dto.js +0 -18
- package/src/lib/user/create-user.dto.d.ts.map +0 -1
- package/src/lib/user/create-user.dto.js +0 -78
- package/src/lib/user/login-response.dto.d.ts +0 -4
- package/src/lib/user/login-response.dto.d.ts.map +0 -1
- package/src/lib/user/login-response.dto.js +0 -1
- package/src/lib/user/login.dto.d.ts.map +0 -1
- package/src/lib/user/login.dto.js +0 -17
- package/src/lib/user/update-password.dto.d.ts.map +0 -1
- package/src/lib/user/update-password.dto.js +0 -18
- package/src/lib/user/user-activation-response.dto.d.ts.map +0 -1
- package/src/lib/user/user-activation-response.dto.js +0 -1
- package/src/lib/user/user-activation.dto.d.ts.map +0 -1
- package/src/lib/user/user-activation.dto.js +0 -19
- /package/{src/lib → lib}/business/create-business-response.dto.d.ts +0 -0
- /package/{src/lib → lib}/role/create-role-response.dto.d.ts +0 -0
- /package/{src/lib → lib}/role/create-role.dto.d.ts +0 -0
- /package/{src/lib → lib}/tenant/create-tenant-response.dto.d.ts +0 -0
- /package/{src/lib → lib}/user/create-user-response.dto.d.ts +0 -0
- /package/{src/lib → lib}/user/create-user-role.dto.d.ts +0 -0
- /package/{src/lib → lib}/user/create-user.dto.d.ts +0 -0
- /package/{src/lib → lib}/user/login.dto.d.ts +0 -0
- /package/{src/lib → lib}/user/update-password.dto.d.ts +0 -0
- /package/{src/lib → lib}/user/user-activation-response.dto.d.ts +0 -0
- /package/{src/lib → lib}/user/user-activation.dto.d.ts +0 -0
package/src/lib/client-dto.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { IsOptional, IsDate } from 'class-validator';
|
|
3
|
-
import { Type } from 'class-transformer';
|
|
4
|
-
export class BaseClientRequestDto {
|
|
5
|
-
createdAt;
|
|
6
|
-
createdBy;
|
|
7
|
-
updatedAt;
|
|
8
|
-
updatedBy;
|
|
9
|
-
deletedAt;
|
|
10
|
-
deletedBy;
|
|
11
|
-
}
|
|
12
|
-
__decorate([
|
|
13
|
-
IsOptional(),
|
|
14
|
-
IsDate(),
|
|
15
|
-
Type(() => Date),
|
|
16
|
-
__metadata("design:type", Date)
|
|
17
|
-
], BaseClientRequestDto.prototype, "createdAt", void 0);
|
|
18
|
-
__decorate([
|
|
19
|
-
IsOptional(),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], BaseClientRequestDto.prototype, "createdBy", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
IsOptional(),
|
|
24
|
-
IsDate(),
|
|
25
|
-
Type(() => Date),
|
|
26
|
-
__metadata("design:type", Date)
|
|
27
|
-
], BaseClientRequestDto.prototype, "updatedAt", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
IsOptional(),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], BaseClientRequestDto.prototype, "updatedBy", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
IsOptional(),
|
|
34
|
-
IsDate(),
|
|
35
|
-
Type(() => Date),
|
|
36
|
-
__metadata("design:type", Date)
|
|
37
|
-
], BaseClientRequestDto.prototype, "deletedAt", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
IsOptional(),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], BaseClientRequestDto.prototype, "deletedBy", void 0);
|
|
42
|
-
export var DefaultRoleEnum;
|
|
43
|
-
(function (DefaultRoleEnum) {
|
|
44
|
-
DefaultRoleEnum["PRODUCT_ADMIN"] = "Product Admin";
|
|
45
|
-
DefaultRoleEnum["TENANT_ADMIN"] = "Tenant Admin";
|
|
46
|
-
DefaultRoleEnum["BUSINESS_ADMIN"] = "Business Admin";
|
|
47
|
-
})(DefaultRoleEnum || (DefaultRoleEnum = {}));
|
|
48
|
-
export var ActiveStatusEnum;
|
|
49
|
-
(function (ActiveStatusEnum) {
|
|
50
|
-
ActiveStatusEnum["ACTIVE"] = "Active";
|
|
51
|
-
ActiveStatusEnum["INACTIVE"] = "Inactive";
|
|
52
|
-
ActiveStatusEnum["PENDING"] = "Pending";
|
|
53
|
-
ActiveStatusEnum["SOFT_DELETED"] = "Soft Delete";
|
|
54
|
-
ActiveStatusEnum["HARD_DELETED"] = "Hard Delete";
|
|
55
|
-
ActiveStatusEnum["SUSPENDED"] = "Suspended";
|
|
56
|
-
ActiveStatusEnum["BLOCKED"] = "Blocked";
|
|
57
|
-
ActiveStatusEnum["TEMPORARY_SUSPENDED"] = "Temporary Suspended";
|
|
58
|
-
})(ActiveStatusEnum || (ActiveStatusEnum = {}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-role-response.dto.d.ts","sourceRoot":"","sources":["../../../../../../libs/client-dto/src/lib/role/create-role-response.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,MAAM,WAAW,qBAAsB,SAAQ,qBAAqB;IAChE,YAAY,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-role.dto.d.ts","sourceRoot":"","sources":["../../../../../../libs/client-dto/src/lib/role/create-role.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAGxD,qBAAa,aAAc,SAAQ,oBAAoB;IAInD,YAAY,EAAG,MAAM,CAAC;IAItB,UAAU,EAAG,MAAM,CAAC;CAEvB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { IsString, Length } from "class-validator";
|
|
3
|
-
import { BaseClientRequestDto } from "../client-dto.js";
|
|
4
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
5
|
-
export class CreateRoleDto extends BaseClientRequestDto {
|
|
6
|
-
displayTitle;
|
|
7
|
-
businessId;
|
|
8
|
-
}
|
|
9
|
-
__decorate([
|
|
10
|
-
ApiProperty({ required: true }),
|
|
11
|
-
Length(3, 20),
|
|
12
|
-
__metadata("design:type", String)
|
|
13
|
-
], CreateRoleDto.prototype, "displayTitle", void 0);
|
|
14
|
-
__decorate([
|
|
15
|
-
ApiProperty({ required: true }),
|
|
16
|
-
IsString(),
|
|
17
|
-
__metadata("design:type", String)
|
|
18
|
-
], CreateRoleDto.prototype, "businessId", void 0);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filter-role.dto.d.ts","sourceRoot":"","sources":["../../../../../../libs/client-dto/src/lib/role/filter-role.dto.ts"],"names":[],"mappings":"AAMA,qBAAa,aAAa;IAItB,YAAY,CAAC,EAAE,MAAM,CAAC;IAItB,UAAU,CAAC,EAAE,MAAM,CAAC;CAEvB"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { IsOptional, IsString, IsUUID } from "class-validator";
|
|
3
|
-
export class FilterRoleDto {
|
|
4
|
-
displayTitle;
|
|
5
|
-
businessId;
|
|
6
|
-
}
|
|
7
|
-
__decorate([
|
|
8
|
-
IsOptional(),
|
|
9
|
-
IsString(),
|
|
10
|
-
__metadata("design:type", String)
|
|
11
|
-
], FilterRoleDto.prototype, "displayTitle", void 0);
|
|
12
|
-
__decorate([
|
|
13
|
-
IsOptional(),
|
|
14
|
-
IsUUID(),
|
|
15
|
-
__metadata("design:type", String)
|
|
16
|
-
], FilterRoleDto.prototype, "businessId", void 0);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-tenant-response.dto.d.ts","sourceRoot":"","sources":["../../../../../../libs/client-dto/src/lib/tenant/create-tenant-response.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,MAAM,WAAW,uBAAwB,SAAQ,qBAAqB;IAClE,YAAY,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-tenant.dto.d.ts","sourceRoot":"","sources":["../../../../../../libs/client-dto/src/lib/tenant/create-tenant.dto.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAExD,qBAAa,eAAgB,SAAQ,oBAAoB;IAKrD,OAAO,EAAG,MAAM,CAAC;IAIjB,SAAS,EAAG,MAAM,CAAC;IAInB,QAAQ,EAAG,MAAM,CAAC;IAIlB,MAAM,CAAC,EAAE,MAAM,CAAC;CAEnB"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { IsEmail, IsOptional, IsString } from "class-validator";
|
|
3
|
-
import { Type } from "class-transformer";
|
|
4
|
-
import { ApiProperty } from '@nestjs/swagger';
|
|
5
|
-
import { BaseClientRequestDto } from "../client-dto.js";
|
|
6
|
-
export class CreateTenantDto extends BaseClientRequestDto {
|
|
7
|
-
emailId;
|
|
8
|
-
firstName;
|
|
9
|
-
lastName;
|
|
10
|
-
domain;
|
|
11
|
-
}
|
|
12
|
-
__decorate([
|
|
13
|
-
ApiProperty({ required: true }),
|
|
14
|
-
Type(() => String),
|
|
15
|
-
IsEmail(),
|
|
16
|
-
__metadata("design:type", String)
|
|
17
|
-
], CreateTenantDto.prototype, "emailId", void 0);
|
|
18
|
-
__decorate([
|
|
19
|
-
ApiProperty({ required: true }),
|
|
20
|
-
IsString(),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], CreateTenantDto.prototype, "firstName", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
ApiProperty({ required: true }),
|
|
25
|
-
IsString(),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], CreateTenantDto.prototype, "lastName", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
ApiProperty({ required: false, nullable: true }),
|
|
30
|
-
IsOptional(),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], CreateTenantDto.prototype, "domain", void 0);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-user-response.dto.d.ts","sourceRoot":"","sources":["../../../../../../libs/client-dto/src/lib/user/create-user-response.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAE5F,MAAM,WAAW,qBAAsB,SAAQ,qBAAqB;IAChE,QAAQ,EAAE,MAAM,CAAC;IAEjB,UAAU,EAAE,MAAM,CAAC;IAEnB,OAAO,EAAE,MAAM,CAAC;IAEhB,KAAK,EAAE,MAAM,CAAC;IAEd,MAAM,EAAE,gBAAgB,CAAC;IAEzB,aAAa,EAAE,OAAO,CAAC;IAEvB,aAAa,EAAE,OAAO,CAAC;IAEvB,QAAQ,EAAE,eAAe,CAAC;CAC7B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-user-role.dto.d.ts","sourceRoot":"","sources":["../../../../../../libs/client-dto/src/lib/user/create-user-role.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAGxD,qBAAa,iBAAkB,SAAQ,oBAAoB;IAIvD,MAAM,EAAG,MAAM,CAAC;IAIhB,MAAM,EAAG,MAAM,CAAC;CAEnB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { IsString } from "class-validator";
|
|
3
|
-
import { BaseClientRequestDto } from "../client-dto.js";
|
|
4
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
5
|
-
export class CreateUserRoleDto extends BaseClientRequestDto {
|
|
6
|
-
userId;
|
|
7
|
-
roleId;
|
|
8
|
-
}
|
|
9
|
-
__decorate([
|
|
10
|
-
ApiProperty({ required: true }),
|
|
11
|
-
IsString(),
|
|
12
|
-
__metadata("design:type", String)
|
|
13
|
-
], CreateUserRoleDto.prototype, "userId", void 0);
|
|
14
|
-
__decorate([
|
|
15
|
-
ApiProperty({ required: true }),
|
|
16
|
-
IsString(),
|
|
17
|
-
__metadata("design:type", String)
|
|
18
|
-
], CreateUserRoleDto.prototype, "roleId", void 0);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-user.dto.d.ts","sourceRoot":"","sources":["../../../../../../libs/client-dto/src/lib/user/create-user.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAG3F,qBAAa,aAAc,SAAQ,oBAAoB;IAInD,OAAO,EAAG,MAAM,CAAC;IAIjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,UAAU,CAAC,EAAE,MAAM,CAAC;IAIpB,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAK1B,aAAa,CAAC,EAAE,OAAO,CAAC;IAKxB,aAAa,CAAC,EAAE,OAAO,CAAC;IAKxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,QAAQ,CAAC,EAAE,eAAe,CAAC;CAE9B"}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { IsBoolean, IsEmail, IsEnum, IsOptional, IsPhoneNumber, IsString } from "class-validator";
|
|
3
|
-
import { ActiveStatusEnum, BaseClientRequestDto, DefaultRoleEnum } from "../client-dto.js";
|
|
4
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
5
|
-
export class CreateUserDto extends BaseClientRequestDto {
|
|
6
|
-
emailId;
|
|
7
|
-
tenantId;
|
|
8
|
-
businessId;
|
|
9
|
-
firstName;
|
|
10
|
-
lastName;
|
|
11
|
-
phone;
|
|
12
|
-
status;
|
|
13
|
-
emailVerified;
|
|
14
|
-
phoneVerified;
|
|
15
|
-
password;
|
|
16
|
-
userType;
|
|
17
|
-
}
|
|
18
|
-
__decorate([
|
|
19
|
-
ApiProperty({ required: true }),
|
|
20
|
-
IsEmail(),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], CreateUserDto.prototype, "emailId", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
ApiProperty({ required: false }),
|
|
25
|
-
IsOptional(),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], CreateUserDto.prototype, "tenantId", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
ApiProperty({ required: false }),
|
|
30
|
-
IsOptional(),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], CreateUserDto.prototype, "businessId", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
ApiProperty({ required: false }),
|
|
35
|
-
IsOptional(),
|
|
36
|
-
__metadata("design:type", String)
|
|
37
|
-
], CreateUserDto.prototype, "firstName", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
ApiProperty({ required: false }),
|
|
40
|
-
IsOptional(),
|
|
41
|
-
__metadata("design:type", String)
|
|
42
|
-
], CreateUserDto.prototype, "lastName", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
ApiProperty({ required: false }),
|
|
45
|
-
IsOptional(),
|
|
46
|
-
IsPhoneNumber('IN'),
|
|
47
|
-
__metadata("design:type", String)
|
|
48
|
-
], CreateUserDto.prototype, "phone", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
ApiProperty({ required: false }),
|
|
51
|
-
IsOptional(),
|
|
52
|
-
IsEnum(ActiveStatusEnum),
|
|
53
|
-
__metadata("design:type", String)
|
|
54
|
-
], CreateUserDto.prototype, "status", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
ApiProperty({ required: false }),
|
|
57
|
-
IsOptional(),
|
|
58
|
-
IsBoolean(),
|
|
59
|
-
__metadata("design:type", Boolean)
|
|
60
|
-
], CreateUserDto.prototype, "emailVerified", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
ApiProperty({ required: false }),
|
|
63
|
-
IsOptional(),
|
|
64
|
-
IsBoolean(),
|
|
65
|
-
__metadata("design:type", Boolean)
|
|
66
|
-
], CreateUserDto.prototype, "phoneVerified", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
ApiProperty({ required: false }),
|
|
69
|
-
IsOptional(),
|
|
70
|
-
IsString(),
|
|
71
|
-
__metadata("design:type", String)
|
|
72
|
-
], CreateUserDto.prototype, "password", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
ApiProperty({ required: false }),
|
|
75
|
-
IsOptional(),
|
|
76
|
-
IsEnum(DefaultRoleEnum),
|
|
77
|
-
__metadata("design:type", String)
|
|
78
|
-
], CreateUserDto.prototype, "userType", void 0);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"login-response.dto.d.ts","sourceRoot":"","sources":["../../../../../../libs/client-dto/src/lib/user/login-response.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC7B,WAAW,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"login.dto.d.ts","sourceRoot":"","sources":["../../../../../../libs/client-dto/src/lib/user/login.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,QAAQ;IAIjB,OAAO,EAAG,MAAM,CAAC;IAIjB,QAAQ,EAAG,MAAM,CAAC;CAErB"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
3
|
-
import { IsEmail, IsString } from "class-validator";
|
|
4
|
-
export class LoginDto {
|
|
5
|
-
emailId;
|
|
6
|
-
password;
|
|
7
|
-
}
|
|
8
|
-
__decorate([
|
|
9
|
-
ApiProperty({ required: true }),
|
|
10
|
-
IsEmail(),
|
|
11
|
-
__metadata("design:type", String)
|
|
12
|
-
], LoginDto.prototype, "emailId", void 0);
|
|
13
|
-
__decorate([
|
|
14
|
-
ApiProperty({ required: true }),
|
|
15
|
-
IsString(),
|
|
16
|
-
__metadata("design:type", String)
|
|
17
|
-
], LoginDto.prototype, "password", void 0);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-password.dto.d.ts","sourceRoot":"","sources":["../../../../../../libs/client-dto/src/lib/user/update-password.dto.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAExD,qBAAa,iBAAkB,SAAQ,oBAAoB;IAIvD,OAAO,EAAG,MAAM,CAAC;IAIjB,QAAQ,EAAG,MAAM,CAAC;CACrB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
3
|
-
import { IsEmail, IsString } from "class-validator";
|
|
4
|
-
import { BaseClientRequestDto } from "../client-dto.js";
|
|
5
|
-
export class UpdatePasswordDto extends BaseClientRequestDto {
|
|
6
|
-
emailId;
|
|
7
|
-
password;
|
|
8
|
-
}
|
|
9
|
-
__decorate([
|
|
10
|
-
ApiProperty({ required: false }),
|
|
11
|
-
IsEmail(),
|
|
12
|
-
__metadata("design:type", String)
|
|
13
|
-
], UpdatePasswordDto.prototype, "emailId", void 0);
|
|
14
|
-
__decorate([
|
|
15
|
-
ApiProperty({ required: true }),
|
|
16
|
-
IsString(),
|
|
17
|
-
__metadata("design:type", String)
|
|
18
|
-
], UpdatePasswordDto.prototype, "password", void 0);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-activation-response.dto.d.ts","sourceRoot":"","sources":["../../../../../../libs/client-dto/src/lib/user/user-activation-response.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,MAAM,WAAW,yBAA0B,SAAQ,qBAAqB;IACtE,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-activation.dto.d.ts","sourceRoot":"","sources":["../../../../../../libs/client-dto/src/lib/user/user-activation.dto.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAExD,qBAAa,iBAAkB,SAAQ,oBAAoB;IAIvD,QAAQ,EAAG,MAAM,CAAC;IAKlB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
3
|
-
import { IsOptional, IsString } from "class-validator";
|
|
4
|
-
import { BaseClientRequestDto } from "../client-dto.js";
|
|
5
|
-
export class UserActivationDto extends BaseClientRequestDto {
|
|
6
|
-
password;
|
|
7
|
-
token;
|
|
8
|
-
}
|
|
9
|
-
__decorate([
|
|
10
|
-
ApiProperty({ required: true }),
|
|
11
|
-
IsString(),
|
|
12
|
-
__metadata("design:type", String)
|
|
13
|
-
], UserActivationDto.prototype, "password", void 0);
|
|
14
|
-
__decorate([
|
|
15
|
-
ApiProperty({ required: true }),
|
|
16
|
-
IsString(),
|
|
17
|
-
IsOptional(),
|
|
18
|
-
__metadata("design:type", String)
|
|
19
|
-
], UserActivationDto.prototype, "token", void 0);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|