@b2eoneauth/client-dto 1.0.3 → 1.0.5
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/index.d.ts +24 -0
- 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/{dist/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/{dist/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 +6 -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 +5 -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 +6 -0
- package/lib/user/user-activation.dto.d.ts.map +1 -0
- package/lib/user/user-activation.dto.js +21 -0
- package/package.json +8 -17
- package/tsconfig.lib.tsbuildinfo +1 -0
- package/README.md +0 -7
- package/dist/index.d.ts +0 -15
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -14
- package/dist/lib/app/create-app-response.dto.d.ts +0 -5
- package/dist/lib/app/create-app-response.dto.d.ts.map +0 -1
- package/dist/lib/app/create-app-response.dto.js +0 -1
- package/dist/lib/app/create-app.dto.d.ts +0 -6
- package/dist/lib/app/create-app.dto.d.ts.map +0 -1
- package/dist/lib/app/create-app.dto.js +0 -5
- package/dist/lib/business/create-business-response.dto.d.ts.map +0 -1
- package/dist/lib/business/create-business-response.dto.js +0 -1
- package/dist/lib/business/create-business.dto.d.ts +0 -9
- package/dist/lib/business/create-business.dto.d.ts.map +0 -1
- package/dist/lib/business/create-business.dto.js +0 -36
- package/dist/lib/client-dto.d.ts.map +0 -1
- package/dist/lib/client-dto.js +0 -58
- package/dist/lib/role/create-role-response.dto.d.ts.map +0 -1
- package/dist/lib/role/create-role-response.dto.js +0 -1
- package/dist/lib/role/create-role.dto.d.ts.map +0 -1
- package/dist/lib/role/create-role.dto.js +0 -18
- package/dist/lib/tenant/create-tenant-response.dto.d.ts.map +0 -1
- package/dist/lib/tenant/create-tenant-response.dto.js +0 -1
- package/dist/lib/tenant/create-tenant.dto.d.ts.map +0 -1
- package/dist/lib/tenant/create-tenant.dto.js +0 -32
- package/dist/lib/user/create-user-response.dto.d.ts.map +0 -1
- package/dist/lib/user/create-user-response.dto.js +0 -1
- package/dist/lib/user/create-user-role.dto.d.ts.map +0 -1
- package/dist/lib/user/create-user-role.dto.js +0 -18
- package/dist/lib/user/create-user.dto.d.ts.map +0 -1
- package/dist/lib/user/create-user.dto.js +0 -78
- package/dist/lib/user/login-response.dto.d.ts +0 -4
- package/dist/lib/user/login-response.dto.d.ts.map +0 -1
- package/dist/lib/user/login-response.dto.js +0 -1
- package/dist/lib/user/login.dto.d.ts.map +0 -1
- package/dist/lib/user/login.dto.js +0 -17
- package/dist/tsconfig.lib.tsbuildinfo +0 -1
- /package/{dist/lib → lib}/business/create-business-response.dto.d.ts +0 -0
- /package/{dist/lib → lib}/role/create-role-response.dto.d.ts +0 -0
- /package/{dist/lib → lib}/role/create-role.dto.d.ts +0 -0
- /package/{dist/lib → lib}/tenant/create-tenant-response.dto.d.ts +0 -0
- /package/{dist/lib → lib}/user/create-user-response.dto.d.ts +0 -0
- /package/{dist/lib → lib}/user/create-user-role.dto.d.ts +0 -0
- /package/{dist/lib → lib}/user/create-user.dto.d.ts +0 -0
- /package/{dist/lib → lib}/user/login.dto.d.ts +0 -0
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { IsOptional, IsString, Length } from "class-validator";
|
|
3
|
-
import { BaseClientRequestDto } from "../client-dto.js";
|
|
4
|
-
import { ApiProperty } from "@nestjs/swagger";
|
|
5
|
-
export class CreateBusinessDto extends BaseClientRequestDto {
|
|
6
|
-
tenantId;
|
|
7
|
-
displayTitle;
|
|
8
|
-
gstNumber;
|
|
9
|
-
panNumber;
|
|
10
|
-
addressLine1;
|
|
11
|
-
}
|
|
12
|
-
__decorate([
|
|
13
|
-
ApiProperty({ required: true }),
|
|
14
|
-
IsString(),
|
|
15
|
-
__metadata("design:type", String)
|
|
16
|
-
], CreateBusinessDto.prototype, "tenantId", void 0);
|
|
17
|
-
__decorate([
|
|
18
|
-
ApiProperty({ required: true }),
|
|
19
|
-
Length(3, 30),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], CreateBusinessDto.prototype, "displayTitle", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
ApiProperty({ required: false }),
|
|
24
|
-
IsOptional(),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], CreateBusinessDto.prototype, "gstNumber", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
ApiProperty({ required: false }),
|
|
29
|
-
IsOptional(),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], CreateBusinessDto.prototype, "panNumber", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
ApiProperty({ required: false }),
|
|
34
|
-
IsOptional(),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], CreateBusinessDto.prototype, "addressLine1", void 0);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client-dto.d.ts","sourceRoot":"","sources":["../../src/lib/client-dto.ts"],"names":[],"mappings":"AAGA,8BAAsB,oBAAoB;IAKxC,SAAS,CAAC,EAAE,IAAI,CAAC;IAGjB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,SAAS,CAAC,EAAE,IAAI,CAAC;IAGjB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,SAAS,CAAC,EAAE,IAAI,CAAC;IAGjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAGD,MAAM,WAAW,qBAAqB;IAEpC,EAAE,EAAE,MAAM,CAAC;IAEX,SAAS,EAAE,IAAI,CAAC;IAEhB,SAAS,EAAE,MAAM,CAAC;IAElB,SAAS,EAAE,IAAI,CAAC;IAEhB,SAAS,EAAE,MAAM,CAAC;IAElB,SAAS,EAAE,IAAI,CAAC;IAEhB,SAAS,EAAE,MAAM,CAAC;CAEnB;AAED,MAAM,MAAM,eAAe,GAAG,eAAe,GAAG,cAAc,GAAG,gBAAgB,CAAC;AAElF,oBAAY,eAAe;IACzB,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,cAAc,mBAAmB;CAClC;AAED,oBAAY,gBAAgB;IAC1B,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,YAAY,gBAAgB;IAC5B,YAAY,gBAAgB;IAC5B,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,mBAAmB,wBAAwB;CAC5C;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,MAAM,CAAC"}
|
package/dist/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":["../../../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":["../../../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":"create-tenant-response.dto.d.ts","sourceRoot":"","sources":["../../../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":["../../../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":["../../../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":["../../../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":["../../../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":["../../../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":["../../../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);
|