@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.
Files changed (114) hide show
  1. package/index.d.ts +24 -0
  2. package/index.d.ts.map +1 -0
  3. package/index.js +26 -0
  4. package/lib/application/create-application-response.dto.d.ts +7 -0
  5. package/lib/application/create-application-response.dto.d.ts.map +1 -0
  6. package/lib/application/create-application-response.dto.js +2 -0
  7. package/lib/application/create-application.dto.d.ts +7 -0
  8. package/lib/application/create-application.dto.d.ts.map +1 -0
  9. package/lib/application/create-application.dto.js +30 -0
  10. package/lib/application-feature/create-application-feature-response.dto.d.ts +9 -0
  11. package/lib/application-feature/create-application-feature-response.dto.d.ts.map +1 -0
  12. package/lib/application-feature/create-application-feature-response.dto.js +2 -0
  13. package/lib/application-feature/create-application-feature.dto.d.ts +11 -0
  14. package/lib/application-feature/create-application-feature.dto.d.ts.map +1 -0
  15. package/lib/application-feature/create-application-feature.dto.js +46 -0
  16. package/lib/business/create-business-response.dto.d.ts.map +1 -0
  17. package/lib/business/create-business-response.dto.js +2 -0
  18. package/lib/business/create-business.dto.d.ts +19 -0
  19. package/lib/business/create-business.dto.d.ts.map +1 -0
  20. package/lib/business/create-business.dto.js +44 -0
  21. package/{dist/lib → lib}/client-dto.d.ts +3 -2
  22. package/lib/client-dto.d.ts.map +1 -0
  23. package/lib/client-dto.js +57 -0
  24. package/lib/role/create-role-response.dto.d.ts.map +1 -0
  25. package/lib/role/create-role-response.dto.js +2 -0
  26. package/lib/role/create-role.dto.d.ts.map +1 -0
  27. package/lib/role/create-role.dto.js +19 -0
  28. package/lib/role/filter-role-response.dto.d.ts +5 -0
  29. package/lib/role/filter-role-response.dto.d.ts.map +1 -0
  30. package/lib/role/filter-role-response.dto.js +2 -0
  31. package/lib/role/filter-role.dto.d.ts +5 -0
  32. package/lib/role/filter-role.dto.d.ts.map +1 -0
  33. package/lib/role/filter-role.dto.js +19 -0
  34. package/lib/tenant/create-tenant-response.dto.d.ts.map +1 -0
  35. package/lib/tenant/create-tenant-response.dto.js +2 -0
  36. package/{dist/lib → lib}/tenant/create-tenant.dto.d.ts +0 -1
  37. package/lib/tenant/create-tenant.dto.d.ts.map +1 -0
  38. package/lib/tenant/create-tenant.dto.js +27 -0
  39. package/lib/user/create-user-response.dto.d.ts.map +1 -0
  40. package/lib/user/create-user-response.dto.js +2 -0
  41. package/lib/user/create-user-role.dto.d.ts.map +1 -0
  42. package/lib/user/create-user-role.dto.js +20 -0
  43. package/lib/user/create-user.dto.d.ts.map +1 -0
  44. package/lib/user/create-user.dto.js +71 -0
  45. package/lib/user/filter-user-response.dto.d.ts +5 -0
  46. package/lib/user/filter-user-response.dto.d.ts.map +1 -0
  47. package/lib/user/filter-user-response.dto.js +2 -0
  48. package/lib/user/filter-user.dto.d.ts +7 -0
  49. package/lib/user/filter-user.dto.d.ts.map +1 -0
  50. package/lib/user/filter-user.dto.js +31 -0
  51. package/lib/user/login-response.dto.d.ts +11 -0
  52. package/lib/user/login-response.dto.d.ts.map +1 -0
  53. package/lib/user/login-response.dto.js +2 -0
  54. package/lib/user/login.dto.d.ts.map +1 -0
  55. package/lib/user/login.dto.js +19 -0
  56. package/lib/user/me-info.dto.d.ts +11 -0
  57. package/lib/user/me-info.dto.d.ts.map +1 -0
  58. package/lib/user/me-info.dto.js +2 -0
  59. package/lib/user/update-password.dto.d.ts +6 -0
  60. package/lib/user/update-password.dto.d.ts.map +1 -0
  61. package/lib/user/update-password.dto.js +20 -0
  62. package/lib/user/user-activation-response.dto.d.ts +5 -0
  63. package/lib/user/user-activation-response.dto.d.ts.map +1 -0
  64. package/lib/user/user-activation-response.dto.js +2 -0
  65. package/lib/user/user-activation.dto.d.ts +6 -0
  66. package/lib/user/user-activation.dto.d.ts.map +1 -0
  67. package/lib/user/user-activation.dto.js +21 -0
  68. package/package.json +8 -17
  69. package/tsconfig.lib.tsbuildinfo +1 -0
  70. package/README.md +0 -7
  71. package/dist/index.d.ts +0 -15
  72. package/dist/index.d.ts.map +0 -1
  73. package/dist/index.js +0 -14
  74. package/dist/lib/app/create-app-response.dto.d.ts +0 -5
  75. package/dist/lib/app/create-app-response.dto.d.ts.map +0 -1
  76. package/dist/lib/app/create-app-response.dto.js +0 -1
  77. package/dist/lib/app/create-app.dto.d.ts +0 -6
  78. package/dist/lib/app/create-app.dto.d.ts.map +0 -1
  79. package/dist/lib/app/create-app.dto.js +0 -5
  80. package/dist/lib/business/create-business-response.dto.d.ts.map +0 -1
  81. package/dist/lib/business/create-business-response.dto.js +0 -1
  82. package/dist/lib/business/create-business.dto.d.ts +0 -9
  83. package/dist/lib/business/create-business.dto.d.ts.map +0 -1
  84. package/dist/lib/business/create-business.dto.js +0 -36
  85. package/dist/lib/client-dto.d.ts.map +0 -1
  86. package/dist/lib/client-dto.js +0 -58
  87. package/dist/lib/role/create-role-response.dto.d.ts.map +0 -1
  88. package/dist/lib/role/create-role-response.dto.js +0 -1
  89. package/dist/lib/role/create-role.dto.d.ts.map +0 -1
  90. package/dist/lib/role/create-role.dto.js +0 -18
  91. package/dist/lib/tenant/create-tenant-response.dto.d.ts.map +0 -1
  92. package/dist/lib/tenant/create-tenant-response.dto.js +0 -1
  93. package/dist/lib/tenant/create-tenant.dto.d.ts.map +0 -1
  94. package/dist/lib/tenant/create-tenant.dto.js +0 -32
  95. package/dist/lib/user/create-user-response.dto.d.ts.map +0 -1
  96. package/dist/lib/user/create-user-response.dto.js +0 -1
  97. package/dist/lib/user/create-user-role.dto.d.ts.map +0 -1
  98. package/dist/lib/user/create-user-role.dto.js +0 -18
  99. package/dist/lib/user/create-user.dto.d.ts.map +0 -1
  100. package/dist/lib/user/create-user.dto.js +0 -78
  101. package/dist/lib/user/login-response.dto.d.ts +0 -4
  102. package/dist/lib/user/login-response.dto.d.ts.map +0 -1
  103. package/dist/lib/user/login-response.dto.js +0 -1
  104. package/dist/lib/user/login.dto.d.ts.map +0 -1
  105. package/dist/lib/user/login.dto.js +0 -17
  106. package/dist/tsconfig.lib.tsbuildinfo +0 -1
  107. /package/{dist/lib → lib}/business/create-business-response.dto.d.ts +0 -0
  108. /package/{dist/lib → lib}/role/create-role-response.dto.d.ts +0 -0
  109. /package/{dist/lib → lib}/role/create-role.dto.d.ts +0 -0
  110. /package/{dist/lib → lib}/tenant/create-tenant-response.dto.d.ts +0 -0
  111. /package/{dist/lib → lib}/user/create-user-response.dto.d.ts +0 -0
  112. /package/{dist/lib → lib}/user/create-user-role.dto.d.ts +0 -0
  113. /package/{dist/lib → lib}/user/create-user.dto.d.ts +0 -0
  114. /package/{dist/lib → lib}/user/login.dto.d.ts +0 -0
package/index.d.ts ADDED
@@ -0,0 +1,24 @@
1
+ export * from './lib/user/create-user.dto.js';
2
+ export * from './lib/user/create-user-role.dto.js';
3
+ export * from './lib/user/create-user-response.dto.js';
4
+ export * from './lib/user/login.dto.js';
5
+ export * from './lib/user/login-response.dto.js';
6
+ export * from './lib/user/filter-user.dto.js';
7
+ export * from './lib/user/user-activation.dto.js';
8
+ export * from './lib/user/me-info.dto.js';
9
+ export * from './lib/role/create-role.dto.js';
10
+ export * from './lib/role/create-role-response.dto.js';
11
+ export * from './lib/role/filter-role-response.dto.js';
12
+ export * from './lib/role/filter-role.dto.js';
13
+ export * from './lib/application/create-application.dto.js';
14
+ export * from './lib/application/create-application-response.dto.js';
15
+ export * from './lib/application-feature/create-application-feature.dto.js';
16
+ export * from './lib/application-feature/create-application-feature-response.dto.js';
17
+ export * from './lib/tenant/create-tenant.dto.js';
18
+ export * from './lib/tenant/create-tenant-response.dto.js';
19
+ export * from './lib/business/create-business.dto.js';
20
+ export * from './lib/business/create-business-response.dto.js';
21
+ export * from './lib/client-dto.js';
22
+ export * from './lib/user/update-password.dto.js';
23
+ export * from './lib/user/user-activation-response.dto.js';
24
+ //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../libs/client-dto/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAAC;AAE1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,+BAA+B,CAAC;AAE9C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,sDAAsD,CAAC;AAErE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,sEAAsE,CAAA;AAEpF,cAAc,mCAAmC,CAAC;AAClD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,uCAAuC,CAAC;AACtD,cAAc,gDAAgD,CAAC;AAE/D,cAAc,qBAAqB,CAAC;AACpC,cAAc,mCAAmC,CAAC;AAClD,cAAc,4CAA4C,CAAC"}
package/index.js ADDED
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./lib/user/create-user.dto.js"), exports);
5
+ tslib_1.__exportStar(require("./lib/user/create-user-role.dto.js"), exports);
6
+ tslib_1.__exportStar(require("./lib/user/create-user-response.dto.js"), exports);
7
+ tslib_1.__exportStar(require("./lib/user/login.dto.js"), exports);
8
+ tslib_1.__exportStar(require("./lib/user/login-response.dto.js"), exports);
9
+ tslib_1.__exportStar(require("./lib/user/filter-user.dto.js"), exports);
10
+ tslib_1.__exportStar(require("./lib/user/user-activation.dto.js"), exports);
11
+ tslib_1.__exportStar(require("./lib/user/me-info.dto.js"), exports);
12
+ tslib_1.__exportStar(require("./lib/role/create-role.dto.js"), exports);
13
+ tslib_1.__exportStar(require("./lib/role/create-role-response.dto.js"), exports);
14
+ tslib_1.__exportStar(require("./lib/role/filter-role-response.dto.js"), exports);
15
+ tslib_1.__exportStar(require("./lib/role/filter-role.dto.js"), exports);
16
+ tslib_1.__exportStar(require("./lib/application/create-application.dto.js"), exports);
17
+ tslib_1.__exportStar(require("./lib/application/create-application-response.dto.js"), exports);
18
+ tslib_1.__exportStar(require("./lib/application-feature/create-application-feature.dto.js"), exports);
19
+ tslib_1.__exportStar(require("./lib/application-feature/create-application-feature-response.dto.js"), exports);
20
+ tslib_1.__exportStar(require("./lib/tenant/create-tenant.dto.js"), exports);
21
+ tslib_1.__exportStar(require("./lib/tenant/create-tenant-response.dto.js"), exports);
22
+ tslib_1.__exportStar(require("./lib/business/create-business.dto.js"), exports);
23
+ tslib_1.__exportStar(require("./lib/business/create-business-response.dto.js"), exports);
24
+ tslib_1.__exportStar(require("./lib/client-dto.js"), exports);
25
+ tslib_1.__exportStar(require("./lib/user/update-password.dto.js"), exports);
26
+ tslib_1.__exportStar(require("./lib/user/user-activation-response.dto.js"), exports);
@@ -0,0 +1,7 @@
1
+ import { BaseClientResponseDto } from "../client-dto.js";
2
+ export interface CreateApplicationResponseDto extends BaseClientResponseDto {
3
+ appName: string;
4
+ domainURLs: string[];
5
+ tenantId?: string;
6
+ }
7
+ //# sourceMappingURL=create-application-response.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-application-response.dto.d.ts","sourceRoot":"","sources":["../../../../../libs/client-dto/src/lib/application/create-application-response.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,MAAM,WAAW,4BAA6B,SAAQ,qBAAqB;IACzE,OAAO,EAAE,MAAM,CAAC;IAEhB,UAAU,EAAE,MAAM,EAAE,CAAC;IAErB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import { BaseClientRequestDto } from "../client-dto.js";
2
+ export declare class CreateApplicationDto extends BaseClientRequestDto {
3
+ tenantId: string;
4
+ displayTitle: string;
5
+ domainURLs: string[];
6
+ }
7
+ //# sourceMappingURL=create-application.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-application.dto.d.ts","sourceRoot":"","sources":["../../../../../libs/client-dto/src/lib/application/create-application.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAGxD,qBAAa,oBAAqB,SAAQ,oBAAoB;IAI1D,QAAQ,EAAG,MAAM,CAAC;IAIlB,YAAY,EAAG,MAAM,CAAC;IAYtB,UAAU,EAAG,MAAM,EAAE,CAAC;CACzB"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateApplicationDto = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const swagger_1 = require("@nestjs/swagger");
6
+ const client_dto_js_1 = require("../client-dto.js");
7
+ const class_validator_1 = require("class-validator");
8
+ class CreateApplicationDto extends client_dto_js_1.BaseClientRequestDto {
9
+ }
10
+ exports.CreateApplicationDto = CreateApplicationDto;
11
+ tslib_1.__decorate([
12
+ (0, swagger_1.ApiProperty)({ example: '184476fc-ee28-4539-872b-0b7c195cf3a3', required: true }),
13
+ (0, class_validator_1.IsUUID)(),
14
+ tslib_1.__metadata("design:type", String)
15
+ ], CreateApplicationDto.prototype, "tenantId", void 0);
16
+ tslib_1.__decorate([
17
+ (0, swagger_1.ApiProperty)({ example: 'Rackly - Retail inventory manager', required: true }),
18
+ (0, class_validator_1.Length)(5, 30),
19
+ tslib_1.__metadata("design:type", String)
20
+ ], CreateApplicationDto.prototype, "displayTitle", void 0);
21
+ tslib_1.__decorate([
22
+ (0, swagger_1.ApiProperty)({ type: [String], example: ['https://beginner2expert.com', 'http://localhost:4200'], required: true }),
23
+ (0, class_validator_1.IsUrl)({
24
+ protocols: ['http', 'https'],
25
+ require_protocol: true,
26
+ require_tld: false,
27
+ }, { each: true }),
28
+ (0, class_validator_1.IsArray)(),
29
+ tslib_1.__metadata("design:type", Array)
30
+ ], CreateApplicationDto.prototype, "domainURLs", void 0);
@@ -0,0 +1,9 @@
1
+ import { BaseClientResponseDto } from "../client-dto.js";
2
+ export interface CreateApplicationFeatureResponseDto extends BaseClientResponseDto {
3
+ displayTitle: string;
4
+ featureId: string;
5
+ parentFeatureId?: string;
6
+ applicationId: string;
7
+ children?: CreateApplicationFeatureResponseDto[];
8
+ }
9
+ //# sourceMappingURL=create-application-feature-response.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-application-feature-response.dto.d.ts","sourceRoot":"","sources":["../../../../../libs/client-dto/src/lib/application-feature/create-application-feature-response.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,MAAM,WAAW,mCAAoC,SAAQ,qBAAqB;IAEhF,YAAY,EAAE,MAAM,CAAC;IAErB,SAAS,EAAE,MAAM,CAAC;IAElB,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,aAAa,EAAE,MAAM,CAAC;IAEtB,QAAQ,CAAC,EAAE,mCAAmC,EAAE,CAAC;CAElD"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ import { BaseClientRequestDto } from "../client-dto.js";
2
+ export declare class CreateChildFeatureDto {
3
+ displayTitle: string;
4
+ featureId: string;
5
+ }
6
+ export declare class CreateApplicationFeatureDto extends BaseClientRequestDto {
7
+ displayTitle: string;
8
+ featureId: string;
9
+ children?: CreateChildFeatureDto[];
10
+ }
11
+ //# sourceMappingURL=create-application-feature.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-application-feature.dto.d.ts","sourceRoot":"","sources":["../../../../../libs/client-dto/src/lib/application-feature/create-application-feature.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAIxD,qBAAa,qBAAqB;IAIhC,YAAY,EAAG,MAAM,CAAC;IAKtB,SAAS,EAAG,MAAM,CAAC;CACpB;AAED,qBAAa,2BAA4B,SAAQ,oBAAoB;IAInE,YAAY,EAAG,MAAM,CAAC;IAKtB,SAAS,EAAG,MAAM,CAAC;IAOnB,QAAQ,CAAC,EAAE,qBAAqB,EAAE,CAAC;CACpC"}
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateApplicationFeatureDto = exports.CreateChildFeatureDto = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const swagger_1 = require("@nestjs/swagger");
6
+ const client_dto_js_1 = require("../client-dto.js");
7
+ const class_validator_1 = require("class-validator");
8
+ const class_transformer_1 = require("class-transformer");
9
+ class CreateChildFeatureDto {
10
+ }
11
+ exports.CreateChildFeatureDto = CreateChildFeatureDto;
12
+ tslib_1.__decorate([
13
+ (0, swagger_1.ApiProperty)({ example: 'Create' }),
14
+ (0, class_validator_1.IsString)(),
15
+ (0, class_validator_1.IsNotEmpty)(),
16
+ tslib_1.__metadata("design:type", String)
17
+ ], CreateChildFeatureDto.prototype, "displayTitle", void 0);
18
+ tslib_1.__decorate([
19
+ (0, swagger_1.ApiProperty)({ example: 'user-create' }),
20
+ (0, class_validator_1.IsString)(),
21
+ (0, class_validator_1.IsNotEmpty)(),
22
+ tslib_1.__metadata("design:type", String)
23
+ ], CreateChildFeatureDto.prototype, "featureId", void 0);
24
+ class CreateApplicationFeatureDto extends client_dto_js_1.BaseClientRequestDto {
25
+ }
26
+ exports.CreateApplicationFeatureDto = CreateApplicationFeatureDto;
27
+ tslib_1.__decorate([
28
+ (0, swagger_1.ApiProperty)({ example: 'User Management' }),
29
+ (0, class_validator_1.IsString)(),
30
+ (0, class_validator_1.IsNotEmpty)(),
31
+ tslib_1.__metadata("design:type", String)
32
+ ], CreateApplicationFeatureDto.prototype, "displayTitle", void 0);
33
+ tslib_1.__decorate([
34
+ (0, swagger_1.ApiProperty)({ example: 'user' }),
35
+ (0, class_validator_1.IsString)(),
36
+ (0, class_validator_1.IsNotEmpty)(),
37
+ tslib_1.__metadata("design:type", String)
38
+ ], CreateApplicationFeatureDto.prototype, "featureId", void 0);
39
+ tslib_1.__decorate([
40
+ (0, swagger_1.ApiPropertyOptional)({ type: [CreateChildFeatureDto] }),
41
+ (0, class_validator_1.IsArray)(),
42
+ (0, class_validator_1.IsOptional)(),
43
+ (0, class_validator_1.ValidateNested)({ each: true }),
44
+ (0, class_transformer_1.Type)(() => CreateChildFeatureDto),
45
+ tslib_1.__metadata("design:type", Array)
46
+ ], CreateApplicationFeatureDto.prototype, "children", void 0);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-business-response.dto.d.ts","sourceRoot":"","sources":["../../../../../libs/client-dto/src/lib/business/create-business-response.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,MAAM,WAAW,yBAA0B,SAAQ,qBAAqB;IAEpE,YAAY,EAAE,MAAM,CAAC;CACxB"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ import { BaseClientRequestDto } from "../client-dto.js";
2
+ export declare class CreateBusinessDto extends BaseClientRequestDto {
3
+ /**
4
+ * Don't show in swagger, bcz this info to be add from gateway from current logged-in user
5
+ */
6
+ tenantId?: string;
7
+ /**
8
+ * Don't show in swagger, bcz this info to be add from gateway from current logged-in user
9
+ */
10
+ applicationId: string;
11
+ displayTitle: string;
12
+ /**
13
+ * IsOptional is required here bcz of during tenant creation
14
+ */
15
+ firstName?: string;
16
+ lastName?: string;
17
+ emailId?: string;
18
+ }
19
+ //# sourceMappingURL=create-business.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-business.dto.d.ts","sourceRoot":"","sources":["../../../../../libs/client-dto/src/lib/business/create-business.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAGxD,qBAAa,iBAAkB,SAAQ,oBAAoB;IAEvD;;OAEG;IAGH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IAGH,aAAa,EAAG,MAAM,CAAC;IAKvB,YAAY,EAAG,MAAM,CAAC;IAEtB;;OAEG;IAIH,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,OAAO,CAAC,EAAE,MAAM,CAAC;CAEpB"}
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateBusinessDto = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const class_validator_1 = require("class-validator");
6
+ const client_dto_js_1 = require("../client-dto.js");
7
+ const swagger_1 = require("@nestjs/swagger");
8
+ class CreateBusinessDto extends client_dto_js_1.BaseClientRequestDto {
9
+ }
10
+ exports.CreateBusinessDto = CreateBusinessDto;
11
+ tslib_1.__decorate([
12
+ (0, class_validator_1.IsUUID)(),
13
+ (0, class_validator_1.IsOptional)(),
14
+ tslib_1.__metadata("design:type", String)
15
+ ], CreateBusinessDto.prototype, "tenantId", void 0);
16
+ tslib_1.__decorate([
17
+ (0, swagger_1.ApiProperty)({ example: '7b25e9a4-2baa-4dd6-aa27-88c39c54e121', required: true }),
18
+ (0, class_validator_1.IsUUID)(),
19
+ tslib_1.__metadata("design:type", String)
20
+ ], CreateBusinessDto.prototype, "applicationId", void 0);
21
+ tslib_1.__decorate([
22
+ (0, swagger_1.ApiProperty)({ example: 'Sample business', required: true }),
23
+ (0, class_validator_1.Length)(3, 30),
24
+ (0, class_validator_1.IsString)(),
25
+ tslib_1.__metadata("design:type", String)
26
+ ], CreateBusinessDto.prototype, "displayTitle", void 0);
27
+ tslib_1.__decorate([
28
+ (0, swagger_1.ApiProperty)({ example: 'Sample first name', required: true }),
29
+ (0, class_validator_1.IsString)(),
30
+ (0, class_validator_1.IsOptional)(),
31
+ tslib_1.__metadata("design:type", String)
32
+ ], CreateBusinessDto.prototype, "firstName", void 0);
33
+ tslib_1.__decorate([
34
+ (0, swagger_1.ApiProperty)({ example: 'Sample last name', required: true }),
35
+ (0, class_validator_1.IsString)(),
36
+ (0, class_validator_1.IsOptional)(),
37
+ tslib_1.__metadata("design:type", String)
38
+ ], CreateBusinessDto.prototype, "lastName", void 0);
39
+ tslib_1.__decorate([
40
+ (0, swagger_1.ApiProperty)({ example: 'sample@domain.com', required: true }),
41
+ (0, class_validator_1.IsEmail)(),
42
+ (0, class_validator_1.IsOptional)(),
43
+ tslib_1.__metadata("design:type", String)
44
+ ], CreateBusinessDto.prototype, "emailId", void 0);
@@ -15,11 +15,12 @@ export interface BaseClientResponseDto {
15
15
  deletedAt: Date;
16
16
  deletedBy: string;
17
17
  }
18
- export type DefaultRoleType = 'Product Admin' | 'Tenant Admin' | 'Business Admin';
18
+ export type DefaultRoleType = 'Product Admin' | 'Tenant Admin' | 'Business Admin' | 'Business User';
19
19
  export declare enum DefaultRoleEnum {
20
20
  PRODUCT_ADMIN = "Product Admin",
21
21
  TENANT_ADMIN = "Tenant Admin",
22
- BUSINESS_ADMIN = "Business Admin"
22
+ BUSINESS_ADMIN = "Business Admin",
23
+ BUSINESS_USER = "Business User"
23
24
  }
24
25
  export declare enum ActiveStatusEnum {
25
26
  ACTIVE = "Active",
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client-dto.d.ts","sourceRoot":"","sources":["../../../../libs/client-dto/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,GAAG,eAAe,CAAC;AAEpG,oBAAY,eAAe;IACzB,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;CAChC;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"}
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ActiveStatusEnum = exports.DefaultRoleEnum = exports.BaseClientRequestDto = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const class_validator_1 = require("class-validator");
6
+ const class_transformer_1 = require("class-transformer");
7
+ class BaseClientRequestDto {
8
+ }
9
+ exports.BaseClientRequestDto = BaseClientRequestDto;
10
+ tslib_1.__decorate([
11
+ (0, class_validator_1.IsOptional)(),
12
+ (0, class_validator_1.IsDate)(),
13
+ (0, class_transformer_1.Type)(() => Date),
14
+ tslib_1.__metadata("design:type", Date)
15
+ ], BaseClientRequestDto.prototype, "createdAt", void 0);
16
+ tslib_1.__decorate([
17
+ (0, class_validator_1.IsOptional)(),
18
+ tslib_1.__metadata("design:type", String)
19
+ ], BaseClientRequestDto.prototype, "createdBy", void 0);
20
+ tslib_1.__decorate([
21
+ (0, class_validator_1.IsOptional)(),
22
+ (0, class_validator_1.IsDate)(),
23
+ (0, class_transformer_1.Type)(() => Date),
24
+ tslib_1.__metadata("design:type", Date)
25
+ ], BaseClientRequestDto.prototype, "updatedAt", void 0);
26
+ tslib_1.__decorate([
27
+ (0, class_validator_1.IsOptional)(),
28
+ tslib_1.__metadata("design:type", String)
29
+ ], BaseClientRequestDto.prototype, "updatedBy", void 0);
30
+ tslib_1.__decorate([
31
+ (0, class_validator_1.IsOptional)(),
32
+ (0, class_validator_1.IsDate)(),
33
+ (0, class_transformer_1.Type)(() => Date),
34
+ tslib_1.__metadata("design:type", Date)
35
+ ], BaseClientRequestDto.prototype, "deletedAt", void 0);
36
+ tslib_1.__decorate([
37
+ (0, class_validator_1.IsOptional)(),
38
+ tslib_1.__metadata("design:type", String)
39
+ ], BaseClientRequestDto.prototype, "deletedBy", void 0);
40
+ var DefaultRoleEnum;
41
+ (function (DefaultRoleEnum) {
42
+ DefaultRoleEnum["PRODUCT_ADMIN"] = "Product Admin";
43
+ DefaultRoleEnum["TENANT_ADMIN"] = "Tenant Admin";
44
+ DefaultRoleEnum["BUSINESS_ADMIN"] = "Business Admin";
45
+ DefaultRoleEnum["BUSINESS_USER"] = "Business User";
46
+ })(DefaultRoleEnum || (exports.DefaultRoleEnum = DefaultRoleEnum = {}));
47
+ var ActiveStatusEnum;
48
+ (function (ActiveStatusEnum) {
49
+ ActiveStatusEnum["ACTIVE"] = "Active";
50
+ ActiveStatusEnum["INACTIVE"] = "Inactive";
51
+ ActiveStatusEnum["PENDING"] = "Pending";
52
+ ActiveStatusEnum["SOFT_DELETED"] = "Soft Delete";
53
+ ActiveStatusEnum["HARD_DELETED"] = "Hard Delete";
54
+ ActiveStatusEnum["SUSPENDED"] = "Suspended";
55
+ ActiveStatusEnum["BLOCKED"] = "Blocked";
56
+ ActiveStatusEnum["TEMPORARY_SUSPENDED"] = "Temporary Suspended";
57
+ })(ActiveStatusEnum || (exports.ActiveStatusEnum = ActiveStatusEnum = {}));
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
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;IAGtB,UAAU,EAAG,MAAM,CAAC;CAEvB"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateRoleDto = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const class_validator_1 = require("class-validator");
6
+ const client_dto_js_1 = require("../client-dto.js");
7
+ const swagger_1 = require("@nestjs/swagger");
8
+ class CreateRoleDto extends client_dto_js_1.BaseClientRequestDto {
9
+ }
10
+ exports.CreateRoleDto = CreateRoleDto;
11
+ tslib_1.__decorate([
12
+ (0, swagger_1.ApiProperty)({ required: true }),
13
+ (0, class_validator_1.Length)(3, 20),
14
+ tslib_1.__metadata("design:type", String)
15
+ ], CreateRoleDto.prototype, "displayTitle", void 0);
16
+ tslib_1.__decorate([
17
+ (0, class_validator_1.IsString)(),
18
+ tslib_1.__metadata("design:type", String)
19
+ ], CreateRoleDto.prototype, "businessId", void 0);
@@ -0,0 +1,5 @@
1
+ import { BaseClientResponseDto } from "../client-dto.js";
2
+ export interface FilterRoleResponseDto extends BaseClientResponseDto {
3
+ displayTitle: string;
4
+ }
5
+ //# sourceMappingURL=filter-role-response.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-role-response.dto.d.ts","sourceRoot":"","sources":["../../../../../libs/client-dto/src/lib/role/filter-role-response.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,MAAM,WAAW,qBAAsB,SAAQ,qBAAqB;IAEhE,YAAY,EAAE,MAAM,CAAC;CACxB"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export declare class FilterRoleDto {
2
+ displayTitle?: string;
3
+ businessId: string;
4
+ }
5
+ //# sourceMappingURL=filter-role.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-role.dto.d.ts","sourceRoot":"","sources":["../../../../../libs/client-dto/src/lib/role/filter-role.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,aAAa;IAKtB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,UAAU,EAAG,MAAM,CAAC;CAEvB"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FilterRoleDto = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const swagger_1 = require("@nestjs/swagger");
6
+ const class_validator_1 = require("class-validator");
7
+ class FilterRoleDto {
8
+ }
9
+ exports.FilterRoleDto = FilterRoleDto;
10
+ tslib_1.__decorate([
11
+ (0, swagger_1.ApiProperty)({ required: false }),
12
+ (0, class_validator_1.IsOptional)(),
13
+ (0, class_validator_1.IsString)(),
14
+ tslib_1.__metadata("design:type", String)
15
+ ], FilterRoleDto.prototype, "displayTitle", void 0);
16
+ tslib_1.__decorate([
17
+ (0, class_validator_1.IsString)(),
18
+ tslib_1.__metadata("design:type", String)
19
+ ], FilterRoleDto.prototype, "businessId", void 0);
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,6 +3,5 @@ export declare class CreateTenantDto extends BaseClientRequestDto {
3
3
  emailId: string;
4
4
  firstName: string;
5
5
  lastName: string;
6
- domain?: string;
7
6
  }
8
7
  //# sourceMappingURL=create-tenant.dto.d.ts.map
@@ -0,0 +1 @@
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;CAErB"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateTenantDto = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const class_validator_1 = require("class-validator");
6
+ const class_transformer_1 = require("class-transformer");
7
+ const swagger_1 = require("@nestjs/swagger");
8
+ const client_dto_js_1 = require("../client-dto.js");
9
+ class CreateTenantDto extends client_dto_js_1.BaseClientRequestDto {
10
+ }
11
+ exports.CreateTenantDto = CreateTenantDto;
12
+ tslib_1.__decorate([
13
+ (0, swagger_1.ApiProperty)({ required: true }),
14
+ (0, class_transformer_1.Type)(() => String),
15
+ (0, class_validator_1.IsEmail)(),
16
+ tslib_1.__metadata("design:type", String)
17
+ ], CreateTenantDto.prototype, "emailId", void 0);
18
+ tslib_1.__decorate([
19
+ (0, swagger_1.ApiProperty)({ required: true }),
20
+ (0, class_validator_1.IsString)(),
21
+ tslib_1.__metadata("design:type", String)
22
+ ], CreateTenantDto.prototype, "firstName", void 0);
23
+ tslib_1.__decorate([
24
+ (0, swagger_1.ApiProperty)({ required: true }),
25
+ (0, class_validator_1.IsString)(),
26
+ tslib_1.__metadata("design:type", String)
27
+ ], CreateTenantDto.prototype, "lastName", void 0);
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateUserRoleDto = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const class_validator_1 = require("class-validator");
6
+ const client_dto_js_1 = require("../client-dto.js");
7
+ const swagger_1 = require("@nestjs/swagger");
8
+ class CreateUserRoleDto extends client_dto_js_1.BaseClientRequestDto {
9
+ }
10
+ exports.CreateUserRoleDto = CreateUserRoleDto;
11
+ tslib_1.__decorate([
12
+ (0, swagger_1.ApiProperty)({ required: true }),
13
+ (0, class_validator_1.IsString)(),
14
+ tslib_1.__metadata("design:type", String)
15
+ ], CreateUserRoleDto.prototype, "userId", void 0);
16
+ tslib_1.__decorate([
17
+ (0, swagger_1.ApiProperty)({ required: true }),
18
+ (0, class_validator_1.IsString)(),
19
+ tslib_1.__metadata("design:type", String)
20
+ ], CreateUserRoleDto.prototype, "roleId", void 0);
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateUserDto = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const class_validator_1 = require("class-validator");
6
+ const client_dto_js_1 = require("../client-dto.js");
7
+ const swagger_1 = require("@nestjs/swagger");
8
+ class CreateUserDto extends client_dto_js_1.BaseClientRequestDto {
9
+ }
10
+ exports.CreateUserDto = CreateUserDto;
11
+ tslib_1.__decorate([
12
+ (0, swagger_1.ApiProperty)({ required: true }),
13
+ (0, class_validator_1.IsEmail)(),
14
+ tslib_1.__metadata("design:type", String)
15
+ ], CreateUserDto.prototype, "emailId", void 0);
16
+ tslib_1.__decorate([
17
+ (0, swagger_1.ApiProperty)({ required: false }),
18
+ (0, class_validator_1.IsOptional)(),
19
+ tslib_1.__metadata("design:type", String)
20
+ ], CreateUserDto.prototype, "tenantId", void 0);
21
+ tslib_1.__decorate([
22
+ (0, swagger_1.ApiProperty)({ required: false }),
23
+ (0, class_validator_1.IsOptional)(),
24
+ tslib_1.__metadata("design:type", String)
25
+ ], CreateUserDto.prototype, "businessId", void 0);
26
+ tslib_1.__decorate([
27
+ (0, swagger_1.ApiProperty)({ required: false }),
28
+ (0, class_validator_1.IsOptional)(),
29
+ tslib_1.__metadata("design:type", String)
30
+ ], CreateUserDto.prototype, "firstName", void 0);
31
+ tslib_1.__decorate([
32
+ (0, swagger_1.ApiProperty)({ required: false }),
33
+ (0, class_validator_1.IsOptional)(),
34
+ tslib_1.__metadata("design:type", String)
35
+ ], CreateUserDto.prototype, "lastName", void 0);
36
+ tslib_1.__decorate([
37
+ (0, swagger_1.ApiProperty)({ required: false }),
38
+ (0, class_validator_1.IsOptional)(),
39
+ (0, class_validator_1.IsPhoneNumber)('IN'),
40
+ tslib_1.__metadata("design:type", String)
41
+ ], CreateUserDto.prototype, "phone", void 0);
42
+ tslib_1.__decorate([
43
+ (0, swagger_1.ApiProperty)({ required: false }),
44
+ (0, class_validator_1.IsOptional)(),
45
+ (0, class_validator_1.IsEnum)(client_dto_js_1.ActiveStatusEnum),
46
+ tslib_1.__metadata("design:type", String)
47
+ ], CreateUserDto.prototype, "status", void 0);
48
+ tslib_1.__decorate([
49
+ (0, swagger_1.ApiProperty)({ required: false }),
50
+ (0, class_validator_1.IsOptional)(),
51
+ (0, class_validator_1.IsBoolean)(),
52
+ tslib_1.__metadata("design:type", Boolean)
53
+ ], CreateUserDto.prototype, "emailVerified", void 0);
54
+ tslib_1.__decorate([
55
+ (0, swagger_1.ApiProperty)({ required: false }),
56
+ (0, class_validator_1.IsOptional)(),
57
+ (0, class_validator_1.IsBoolean)(),
58
+ tslib_1.__metadata("design:type", Boolean)
59
+ ], CreateUserDto.prototype, "phoneVerified", void 0);
60
+ tslib_1.__decorate([
61
+ (0, swagger_1.ApiProperty)({ required: false }),
62
+ (0, class_validator_1.IsOptional)(),
63
+ (0, class_validator_1.IsString)(),
64
+ tslib_1.__metadata("design:type", String)
65
+ ], CreateUserDto.prototype, "password", void 0);
66
+ tslib_1.__decorate([
67
+ (0, swagger_1.ApiProperty)({ required: false }),
68
+ (0, class_validator_1.IsOptional)(),
69
+ (0, class_validator_1.IsEnum)(client_dto_js_1.DefaultRoleEnum),
70
+ tslib_1.__metadata("design:type", String)
71
+ ], CreateUserDto.prototype, "userType", void 0);
@@ -0,0 +1,5 @@
1
+ export interface FilterUserResponseDto {
2
+ emailId: string;
3
+ name: string;
4
+ }
5
+ //# sourceMappingURL=filter-user-response.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-user-response.dto.d.ts","sourceRoot":"","sources":["../../../../../libs/client-dto/src/lib/user/filter-user-response.dto.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,qBAAqB;IAElC,OAAO,EAAE,MAAM,CAAC;IAEhB,IAAI,EAAE,MAAM,CAAC;CAEhB"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ export declare class FilterUserDto {
2
+ businessId: string;
3
+ emailId?: string;
4
+ name?: string;
5
+ userId?: string;
6
+ }
7
+ //# sourceMappingURL=filter-user.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-user.dto.d.ts","sourceRoot":"","sources":["../../../../../libs/client-dto/src/lib/user/filter-user.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,aAAa;IAGtB,UAAU,EAAG,MAAM,CAAC;IAKpB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,MAAM,CAAC,EAAE,MAAM,CAAC;CAEnB"}