@solidstarters/solid-core 1.2.150 → 1.2.152

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 (73) hide show
  1. package/dist/dtos/create-scheduled-job.dto.d.ts +2 -0
  2. package/dist/dtos/create-scheduled-job.dto.d.ts.map +1 -1
  3. package/dist/dtos/create-scheduled-job.dto.js +13 -1
  4. package/dist/dtos/create-scheduled-job.dto.js.map +1 -1
  5. package/dist/dtos/create-user.dto.js +3 -3
  6. package/dist/dtos/create-user.dto.js.map +1 -1
  7. package/dist/dtos/update-scheduled-job.dto.d.ts +2 -0
  8. package/dist/dtos/update-scheduled-job.dto.d.ts.map +1 -1
  9. package/dist/dtos/update-scheduled-job.dto.js +13 -1
  10. package/dist/dtos/update-scheduled-job.dto.js.map +1 -1
  11. package/dist/entities/scheduled-job.entity.d.ts +2 -0
  12. package/dist/entities/scheduled-job.entity.d.ts.map +1 -1
  13. package/dist/entities/scheduled-job.entity.js +9 -1
  14. package/dist/entities/scheduled-job.entity.js.map +1 -1
  15. package/dist/index.d.ts +1 -0
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.js +1 -0
  18. package/dist/index.js.map +1 -1
  19. package/dist/jobs/database/trigger-mcp-client-subscriber-database.service.d.ts.map +1 -1
  20. package/dist/jobs/database/trigger-mcp-client-subscriber-database.service.js +4 -1
  21. package/dist/jobs/database/trigger-mcp-client-subscriber-database.service.js.map +1 -1
  22. package/dist/repository/scheduled-job.repository.d.ts +15 -0
  23. package/dist/repository/scheduled-job.repository.d.ts.map +1 -0
  24. package/dist/repository/scheduled-job.repository.js +93 -0
  25. package/dist/repository/scheduled-job.repository.js.map +1 -0
  26. package/dist/seeders/module-metadata-seeder.service.d.ts +5 -1
  27. package/dist/seeders/module-metadata-seeder.service.d.ts.map +1 -1
  28. package/dist/seeders/module-metadata-seeder.service.js +20 -2
  29. package/dist/seeders/module-metadata-seeder.service.js.map +1 -1
  30. package/dist/seeders/seed-data/solid-core-metadata.json +156 -78
  31. package/dist/services/ai-interaction.service.d.ts +1 -1
  32. package/dist/services/ai-interaction.service.d.ts.map +1 -1
  33. package/dist/services/ai-interaction.service.js +4 -3
  34. package/dist/services/ai-interaction.service.js.map +1 -1
  35. package/dist/services/computed-fields/entity/concat-entity-computed-field-provider.service.d.ts.map +1 -1
  36. package/dist/services/computed-fields/entity/concat-entity-computed-field-provider.service.js +16 -12
  37. package/dist/services/computed-fields/entity/concat-entity-computed-field-provider.service.js.map +1 -1
  38. package/dist/services/scheduled-jobs/scheduler.service.d.ts.map +1 -1
  39. package/dist/services/scheduled-jobs/scheduler.service.js +1 -1
  40. package/dist/services/scheduled-jobs/scheduler.service.js.map +1 -1
  41. package/dist/services/textract.service.d.ts +20 -0
  42. package/dist/services/textract.service.d.ts.map +1 -0
  43. package/dist/services/textract.service.js +199 -0
  44. package/dist/services/textract.service.js.map +1 -0
  45. package/dist/solid-core.module.d.ts.map +1 -1
  46. package/dist/solid-core.module.js +7 -0
  47. package/dist/solid-core.module.js.map +1 -1
  48. package/dist/subscribers/scheduled-job.subscriber.d.ts +19 -0
  49. package/dist/subscribers/scheduled-job.subscriber.d.ts.map +1 -0
  50. package/dist/subscribers/scheduled-job.subscriber.js +176 -0
  51. package/dist/subscribers/scheduled-job.subscriber.js.map +1 -0
  52. package/dist/tsconfig.tsbuildinfo +1 -1
  53. package/package.json +2 -1
  54. package/rebuild.sh +1 -1
  55. package/src/dtos/create-scheduled-job.dto.ts +8 -11
  56. package/src/dtos/create-user.dto.ts +2 -2
  57. package/src/dtos/update-scheduled-job.dto.ts +8 -12
  58. package/src/entities/scheduled-job.entity.ts +8 -2
  59. package/src/index.ts +1 -0
  60. package/src/jobs/database/trigger-mcp-client-subscriber-database.service.ts +8 -1
  61. package/src/repository/scheduled-job.repository.ts +105 -0
  62. package/src/seeders/module-metadata-seeder.service.ts +21 -1
  63. package/src/seeders/seed-data/solid-core-metadata.json +156 -78
  64. package/src/services/ai-interaction.service.ts +4 -3
  65. package/src/services/computed-fields/entity/concat-entity-computed-field-provider.service.ts +28 -18
  66. package/src/services/scheduled-jobs/scheduler.service.ts +2 -2
  67. package/src/services/textract.service.ts +189 -0
  68. package/src/solid-core.module.ts +7 -0
  69. package/src/subscribers/scheduled-job.subscriber.ts +176 -0
  70. package/src/# computed field pending issues.md +0 -3
  71. package/src/services/pending_import_issues +0 -3
  72. package/src/services/question-data-providers/test.sql +0 -1
  73. package/test.json +0 -1
@@ -11,5 +11,7 @@ export declare class CreateScheduledJobDto {
11
11
  nextRunAt: Date;
12
12
  dayOfWeek: string;
13
13
  job: string;
14
+ moduleId: number;
15
+ moduleUserKey: string;
14
16
  }
15
17
  //# sourceMappingURL=create-scheduled-job.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-scheduled-job.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-scheduled-job.dto.ts"],"names":[],"mappings":"AAIA,qBAAa,qBAAqB;IAI9B,YAAY,EAAE,MAAM,CAAC;IAKrB,QAAQ,EAAE,OAAO,CAAS;IAK1B,SAAS,EAAE,MAAM,CAAC;IAKlB,SAAS,EAAE,IAAI,CAAC;IAKhB,OAAO,EAAE,IAAI,CAAC;IAKd,SAAS,EAAE,IAAI,CAAC;IAKhB,OAAO,EAAE,IAAI,CAAC;IAKd,UAAU,EAAE,MAAM,CAAC;IAKnB,SAAS,EAAE,IAAI,CAAC;IAKhB,SAAS,EAAE,IAAI,CAAC;IAKhB,SAAS,EAAE,MAAM,CAAC;IAKlB,GAAG,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"create-scheduled-job.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-scheduled-job.dto.ts"],"names":[],"mappings":"AAIA,qBAAa,qBAAqB;IAI9B,YAAY,EAAE,MAAM,CAAC;IAIrB,QAAQ,EAAE,OAAO,CAAS;IAI1B,SAAS,EAAE,MAAM,CAAC;IAIlB,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;IAId,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;IAId,UAAU,EAAE,MAAM,CAAC;IAInB,SAAS,EAAE,IAAI,CAAC;IAIhB,SAAS,EAAE,IAAI,CAAC;IAIhB,SAAS,EAAE,MAAM,CAAC;IAIlB,GAAG,EAAE,MAAM,CAAC;IAIZ,QAAQ,EAAE,MAAM,CAAC;IAIjB,aAAa,EAAE,MAAM,CAAC;CACzB"}
@@ -19,7 +19,7 @@ class CreateScheduledJobDto {
19
19
  this.isActive = false;
20
20
  }
21
21
  static _OPENAPI_METADATA_FACTORY() {
22
- return { scheduleName: { required: true, type: () => String }, isActive: { required: true, type: () => Boolean, default: false }, frequency: { required: true, type: () => String }, startTime: { required: true, type: () => Date }, endTime: { required: true, type: () => Date }, startDate: { required: true, type: () => Date }, endDate: { required: true, type: () => Date }, dayOfMonth: { required: true, type: () => Number }, lastRunAt: { required: true, type: () => Date }, nextRunAt: { required: true, type: () => Date }, dayOfWeek: { required: true, type: () => String }, job: { required: true, type: () => String } };
22
+ return { scheduleName: { required: true, type: () => String }, isActive: { required: true, type: () => Boolean, default: false }, frequency: { required: true, type: () => String }, startTime: { required: true, type: () => Date }, endTime: { required: true, type: () => Date }, startDate: { required: true, type: () => Date }, endDate: { required: true, type: () => Date }, dayOfMonth: { required: true, type: () => Number }, lastRunAt: { required: true, type: () => Date }, nextRunAt: { required: true, type: () => Date }, dayOfWeek: { required: true, type: () => String }, job: { required: true, type: () => String }, moduleId: { required: true, type: () => Number }, moduleUserKey: { required: true, type: () => String } };
23
23
  }
24
24
  }
25
25
  exports.CreateScheduledJobDto = CreateScheduledJobDto;
@@ -95,4 +95,16 @@ __decorate([
95
95
  (0, swagger_1.ApiProperty)(),
96
96
  __metadata("design:type", String)
97
97
  ], CreateScheduledJobDto.prototype, "job", void 0);
98
+ __decorate([
99
+ (0, class_validator_2.IsOptional)(),
100
+ (0, class_validator_2.IsInt)(),
101
+ (0, swagger_1.ApiProperty)(),
102
+ __metadata("design:type", Number)
103
+ ], CreateScheduledJobDto.prototype, "moduleId", void 0);
104
+ __decorate([
105
+ (0, class_validator_1.IsString)(),
106
+ (0, class_validator_2.IsOptional)(),
107
+ (0, swagger_1.ApiProperty)(),
108
+ __metadata("design:type", String)
109
+ ], CreateScheduledJobDto.prototype, "moduleUserKey", void 0);
98
110
  //# sourceMappingURL=create-scheduled-job.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-scheduled-job.dto.js","sourceRoot":"","sources":["../../src/dtos/create-scheduled-job.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qDAA2C;AAC3C,qDAAmF;AAEnF,MAAa,qBAAqB;IAAlC;QASI,aAAQ,GAAY,KAAK,CAAC;KAmD7B;;iIAnDuB,KAAK;;CAmD5B;AA5DD,sDA4DC;AAxDG;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;2DACO;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,qBAAW,GAAE;;uDACY;AAK1B;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;wDACI;AAKlB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;8BACH,IAAI;wDAAC;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;8BACL,IAAI;sDAAC;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;8BACH,IAAI;wDAAC;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;8BACL,IAAI;sDAAC;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,GAAE;;yDACK;AAKnB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;8BACH,IAAI;wDAAC;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;8BACH,IAAI;wDAAC;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;wDACI;AAKlB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;kDACF","sourcesContent":["import { ApiProperty } from '@nestjs/swagger';\nimport { IsString } from 'class-validator';\nimport { IsNotEmpty, IsBoolean, IsDate, IsOptional, IsInt } from 'class-validator';\n\nexport class CreateScheduledJobDto {\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n scheduleName: string;\n\n @IsNotEmpty()\n @IsBoolean()\n @ApiProperty()\n isActive: boolean = false;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n frequency: string;\n\n @IsOptional()\n @IsDate()\n @ApiProperty()\n startTime: Date;\n\n @IsOptional()\n @IsDate()\n @ApiProperty()\n endTime: Date;\n\n @IsOptional()\n @IsDate()\n @ApiProperty()\n startDate: Date;\n\n @IsOptional()\n @IsDate()\n @ApiProperty()\n endDate: Date;\n\n @IsOptional()\n @IsInt()\n @ApiProperty()\n dayOfMonth: number;\n\n @IsOptional()\n @IsDate()\n @ApiProperty()\n lastRunAt: Date;\n\n @IsOptional()\n @IsDate()\n @ApiProperty()\n nextRunAt: Date;\n\n @IsOptional()\n @IsString()\n @ApiProperty()\n dayOfWeek: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n job: string;\n}"]}
1
+ {"version":3,"file":"create-scheduled-job.dto.js","sourceRoot":"","sources":["../../src/dtos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qBAAW,GAAE;;wDACI;AAIlB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;kDACF;AAIZ;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,GAAE;;uDACG;AAIjB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;4DACQ","sourcesContent":["import { ApiProperty } from '@nestjs/swagger';\nimport { IsString } from 'class-validator';\nimport { IsNotEmpty, IsBoolean, IsDate, IsOptional, IsInt } from 'class-validator';\n\nexport class CreateScheduledJobDto {\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n scheduleName: string;\n @IsNotEmpty()\n @IsBoolean()\n @ApiProperty()\n isActive: boolean = false;\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n frequency: string;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n startTime: Date;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n endTime: Date;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n startDate: Date;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n endDate: Date;\n @IsOptional()\n @IsInt()\n @ApiProperty()\n dayOfMonth: number;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n lastRunAt: Date;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n nextRunAt: Date;\n @IsOptional()\n @IsString()\n @ApiProperty()\n dayOfWeek: string;\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n job: string;\n @IsOptional()\n @IsInt()\n @ApiProperty()\n moduleId: number;\n @IsString()\n @IsOptional()\n @ApiProperty()\n moduleUserKey: string;\n}"]}
@@ -34,7 +34,7 @@ class CreateUserDto {
34
34
  this.mobileVerificationTokenOnLoginExpiresAt = new Date("1970-01-01T00:00:00.000Z");
35
35
  }
36
36
  static _OPENAPI_METADATA_FACTORY() {
37
- return { fullName: { required: true, type: () => String }, username: { required: true, type: () => String }, email: { required: true, type: () => String }, mobile: { required: true, type: () => String }, password: { required: true, type: () => String, pattern: "/^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[^\\da-zA-Z]).*$/" }, passwordConfirm: { required: true, type: () => String, pattern: "/^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[^\\da-zA-Z]).*$/" }, forcePasswordChange: { required: true, type: () => Boolean, default: true }, lastLoginProvider: { required: true, type: () => String, default: "local" }, accessCode: { required: true, type: () => String }, googleAccessToken: { required: true, type: () => String }, googleId: { required: true, type: () => String }, googleProfilePicture: { required: true, type: () => String }, active: { required: true, type: () => Boolean, default: true }, forgotPasswordConfirmedAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, verificationTokenOnForgotPassword: { required: true, type: () => String }, verificationTokenOnForgotPasswordExpiresAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, emailVerifiedOnRegistrationAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, emailVerificationTokenOnRegistration: { required: true, type: () => String }, emailVerificationTokenOnRegistrationExpiresAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, mobileVerifiedOnRegistrationAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, mobileVerificationTokenOnRegistration: { required: true, type: () => String }, mobileVerificationTokenOnRegistrationExpiresAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, emailVerifiedOnLoginAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, emailVerificationTokenOnLogin: { required: true, type: () => String }, emailVerificationTokenOnLoginExpiresAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, mobileVerifiedOnLoginAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, mobileVerificationTokenOnLogin: { required: true, type: () => String }, mobileVerificationTokenOnLoginExpiresAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, customPayload: { required: true, type: () => String }, roles: { required: true, type: () => [require("./update-role-metadata.dto").UpdateRoleMetadataDto] }, rolesIds: { required: true, type: () => [Number] }, rolesCommand: { required: true, type: () => String }, userViewMetadata: { required: true, type: () => [require("./update-user-view-metadata.dto").UpdateUserViewMetadataDto] }, userViewMetadataIds: { required: true, type: () => [Number] }, userViewMetadataCommand: { required: true, type: () => String } };
37
+ return { fullName: { required: true, type: () => String }, username: { required: true, type: () => String }, email: { required: true, type: () => String }, mobile: { required: true, type: () => String }, password: { required: true, type: () => String, pattern: "/^$|^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[^\\da-zA-Z]).*$/" }, passwordConfirm: { required: true, type: () => String, pattern: "/^$|^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[^\\da-zA-Z]).*$/" }, forcePasswordChange: { required: true, type: () => Boolean, default: true }, lastLoginProvider: { required: true, type: () => String, default: "local" }, accessCode: { required: true, type: () => String }, googleAccessToken: { required: true, type: () => String }, googleId: { required: true, type: () => String }, googleProfilePicture: { required: true, type: () => String }, active: { required: true, type: () => Boolean, default: true }, forgotPasswordConfirmedAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, verificationTokenOnForgotPassword: { required: true, type: () => String }, verificationTokenOnForgotPasswordExpiresAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, emailVerifiedOnRegistrationAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, emailVerificationTokenOnRegistration: { required: true, type: () => String }, emailVerificationTokenOnRegistrationExpiresAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, mobileVerifiedOnRegistrationAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, mobileVerificationTokenOnRegistration: { required: true, type: () => String }, mobileVerificationTokenOnRegistrationExpiresAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, emailVerifiedOnLoginAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, emailVerificationTokenOnLogin: { required: true, type: () => String }, emailVerificationTokenOnLoginExpiresAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, mobileVerifiedOnLoginAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, mobileVerificationTokenOnLogin: { required: true, type: () => String }, mobileVerificationTokenOnLoginExpiresAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, customPayload: { required: true, type: () => String }, roles: { required: true, type: () => [require("./update-role-metadata.dto").UpdateRoleMetadataDto] }, rolesIds: { required: true, type: () => [Number] }, rolesCommand: { required: true, type: () => String }, userViewMetadata: { required: true, type: () => [require("./update-user-view-metadata.dto").UpdateUserViewMetadataDto] }, userViewMetadataIds: { required: true, type: () => [Number] }, userViewMetadataCommand: { required: true, type: () => String } };
38
38
  }
39
39
  }
40
40
  exports.CreateUserDto = CreateUserDto;
@@ -64,14 +64,14 @@ __decorate([
64
64
  ], CreateUserDto.prototype, "mobile", void 0);
65
65
  __decorate([
66
66
  (0, class_validator_2.IsOptional)(),
67
- (0, class_validator_2.Matches)(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^\da-zA-Z]).*$/),
67
+ (0, class_validator_2.Matches)(/^$|^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^\da-zA-Z]).*$/),
68
68
  (0, class_validator_1.IsString)(),
69
69
  (0, swagger_1.ApiProperty)(),
70
70
  __metadata("design:type", String)
71
71
  ], CreateUserDto.prototype, "password", void 0);
72
72
  __decorate([
73
73
  (0, class_validator_2.IsOptional)(),
74
- (0, class_validator_2.Matches)(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^\da-zA-Z]).*$/),
74
+ (0, class_validator_2.Matches)(/^$|^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^\da-zA-Z]).*$/),
75
75
  (0, class_validator_1.IsString)(),
76
76
  (0, swagger_1.ApiProperty)(),
77
77
  __metadata("design:type", String)
@@ -1 +1 @@
1
- {"version":3,"file":"create-user.dto.js","sourceRoot":"","sources":["../../src/dtos/create-user.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAA2C;AAC3C,qDAA8G;AAC9G,6CAA8C;AAC9C,yDAAyC;AACzC,yEAA0E;AAC1E,mFAAmF;AAEnF,MAAa,aAAa;IAA1B;QA8BI,wBAAmB,GAAY,IAAI,CAAC;QAIpC,sBAAiB,GAAW,OAAO,CAAC;QAoBpC,WAAM,GAAY,IAAI,CAAC;QAIvB,8BAAyB,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAQvE,+CAA0C,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAIxF,kCAA6B,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAQ3E,kDAA6C,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAI3F,mCAA8B,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAQ5E,mDAA8C,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAI5F,2BAAsB,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAQpE,2CAAsC,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAIpF,4BAAuB,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAQrE,4CAAuC,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;KAiCxF;;4gBArHkC,IAAI,wWAwBjB,IAAI,4EAIY,IAAI,IAAI,CAAC,0BAA0B,CAAC,wKAQnB,IAAI,IAAI,CAAC,0BAA0B,CAAC,gFAIjD,IAAI,IAAI,CAAC,0BAA0B,CAAC,8KAQpB,IAAI,IAAI,CAAC,0BAA0B,CAAC,iFAInD,IAAI,IAAI,CAAC,0BAA0B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IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,qBAAW,GAAE;;0DACgB;AAI9B;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;8DACkB","sourcesContent":["import { IsString } from 'class-validator';\nimport { IsOptional, IsNotEmpty, Matches, IsBoolean, IsDate, ValidateNested, IsArray } from 'class-validator';\nimport { ApiProperty } from '@nestjs/swagger';\nimport { Type } from 'class-transformer';\nimport { UpdateRoleMetadataDto } from 'src/dtos/update-role-metadata.dto';\nimport { UpdateUserViewMetadataDto } from 'src/dtos/update-user-view-metadata.dto';\n\nexport class CreateUserDto {\n @IsOptional()\n @IsString()\n @ApiProperty()\n fullName: string;\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n username: string;\n @IsOptional()\n @IsString()\n @ApiProperty()\n email: string;\n @IsOptional()\n @IsString()\n @ApiProperty()\n mobile: string;\n @IsOptional()\n @Matches(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[^\\da-zA-Z]).*$/)\n @IsString()\n @ApiProperty()\n password: string;\n @IsOptional()\n @Matches(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[^\\da-zA-Z]).*$/)\n @IsString()\n @ApiProperty()\n passwordConfirm: string;\n @IsOptional()\n @IsBoolean()\n @ApiProperty()\n forcePasswordChange: boolean = true;\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n lastLoginProvider: string = \"local\";\n @IsOptional()\n @IsString()\n @ApiProperty()\n accessCode: string;\n @IsOptional()\n @IsString()\n @ApiProperty()\n googleAccessToken: string;\n @IsOptional()\n @IsString()\n @ApiProperty()\n googleId: string;\n @IsOptional()\n @IsString()\n @ApiProperty()\n googleProfilePicture: string;\n @IsNotEmpty()\n @IsBoolean()\n @ApiProperty()\n active: boolean = true;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n forgotPasswordConfirmedAt: Date = new Date(\"1970-01-01T00:00:00.000Z\");\n @IsOptional()\n @IsString()\n @ApiProperty()\n verificationTokenOnForgotPassword: string;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n verificationTokenOnForgotPasswordExpiresAt: Date = new Date(\"1970-01-01T00:00:00.000Z\");\n @IsOptional()\n @IsDate()\n @ApiProperty()\n emailVerifiedOnRegistrationAt: Date = new Date(\"1970-01-01T00:00:00.000Z\");\n @IsOptional()\n @IsString()\n @ApiProperty()\n emailVerificationTokenOnRegistration: string;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n emailVerificationTokenOnRegistrationExpiresAt: Date = new Date(\"1970-01-01T00:00:00.000Z\");\n @IsOptional()\n @IsDate()\n @ApiProperty()\n mobileVerifiedOnRegistrationAt: Date = new Date(\"1970-01-01T00:00:00.000Z\");\n @IsOptional()\n @IsString()\n @ApiProperty()\n mobileVerificationTokenOnRegistration: string;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n mobileVerificationTokenOnRegistrationExpiresAt: Date = new Date(\"1970-01-01T00:00:00.000Z\");\n @IsOptional()\n @IsDate()\n @ApiProperty()\n emailVerifiedOnLoginAt: Date = new Date(\"1970-01-01T00:00:00.000Z\");\n @IsOptional()\n @IsString()\n @ApiProperty()\n emailVerificationTokenOnLogin: string;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n emailVerificationTokenOnLoginExpiresAt: Date = new Date(\"1970-01-01T00:00:00.000Z\");\n @IsOptional()\n @IsDate()\n @ApiProperty()\n mobileVerifiedOnLoginAt: Date = new Date(\"1970-01-01T00:00:00.000Z\");\n @IsOptional()\n @IsString()\n @ApiProperty()\n mobileVerificationTokenOnLogin: string;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n mobileVerificationTokenOnLoginExpiresAt: Date = new Date(\"1970-01-01T00:00:00.000Z\");\n @IsOptional()\n @IsString()\n @ApiProperty()\n customPayload: string;\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateRoleMetadataDto)\n roles: UpdateRoleMetadataDto[];\n @IsOptional()\n @IsArray()\n @ApiProperty()\n rolesIds: number[];\n @IsString()\n @IsOptional()\n @ApiProperty()\n rolesCommand: string;\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateUserViewMetadataDto)\n userViewMetadata: UpdateUserViewMetadataDto[];\n @IsOptional()\n @IsArray()\n @ApiProperty()\n userViewMetadataIds: number[];\n @IsString()\n @IsOptional()\n @ApiProperty()\n userViewMetadataCommand: string;\n}"]}
1
+ {"version":3,"file":"create-user.dto.js","sourceRoot":"","sources":["../../src/dtos/create-user.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAA2C;AAC3C,qDAA8G;AAC9G,6CAA8C;AAC9C,yDAAyC;AACzC,yEAA0E;AAC1E,mFAAmF;AAEnF,MAAa,aAAa;IAA1B;QA8BI,wBAAmB,GAAY,IAAI,CAAC;QAIpC,sBAAiB,GAAW,OAAO,CAAC;QAoBpC,WAAM,GAAY,IAAI,CAAC;QAIvB,8BAAyB,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAQvE,+CAA0C,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAIxF,kCAA6B,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAQ3E,kDAA6C,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAI3F,mCAA8B,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAQ5E,mDAA8C,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAI5F,2BAAsB,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAQpE,2CAAsC,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAIpF,4BAAuB,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAQrE,4CAAuC,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;KAiCxF;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,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,yDAAyB,CAAC;;uDACQ;AAI9C;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,qBAAW,GAAE;;0DACgB;AAI9B;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;8DACkB","sourcesContent":["import { IsString } from 'class-validator';\nimport { IsOptional, IsNotEmpty, Matches, IsBoolean, IsDate, ValidateNested, IsArray } from 'class-validator';\nimport { ApiProperty } from '@nestjs/swagger';\nimport { Type } from 'class-transformer';\nimport { UpdateRoleMetadataDto } from 'src/dtos/update-role-metadata.dto';\nimport { UpdateUserViewMetadataDto } from 'src/dtos/update-user-view-metadata.dto';\n\nexport class CreateUserDto {\n @IsOptional()\n @IsString()\n @ApiProperty()\n fullName: string;\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n username: string;\n @IsOptional()\n @IsString()\n @ApiProperty()\n email: string;\n @IsOptional()\n @IsString()\n @ApiProperty()\n mobile: string;\n @IsOptional()\n @Matches(/^$|^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[^\\da-zA-Z]).*$/)\n @IsString()\n @ApiProperty()\n password: string;\n @IsOptional()\n @Matches(/^$|^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[^\\da-zA-Z]).*$/)\n @IsString()\n @ApiProperty()\n passwordConfirm: string;\n @IsOptional()\n @IsBoolean()\n @ApiProperty()\n forcePasswordChange: boolean = true;\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n lastLoginProvider: string = \"local\";\n @IsOptional()\n @IsString()\n @ApiProperty()\n accessCode: string;\n @IsOptional()\n @IsString()\n @ApiProperty()\n googleAccessToken: string;\n @IsOptional()\n @IsString()\n @ApiProperty()\n googleId: string;\n @IsOptional()\n @IsString()\n @ApiProperty()\n googleProfilePicture: string;\n @IsNotEmpty()\n @IsBoolean()\n @ApiProperty()\n active: boolean = true;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n forgotPasswordConfirmedAt: Date = new Date(\"1970-01-01T00:00:00.000Z\");\n @IsOptional()\n @IsString()\n @ApiProperty()\n verificationTokenOnForgotPassword: string;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n verificationTokenOnForgotPasswordExpiresAt: Date = new Date(\"1970-01-01T00:00:00.000Z\");\n @IsOptional()\n @IsDate()\n @ApiProperty()\n emailVerifiedOnRegistrationAt: Date = new Date(\"1970-01-01T00:00:00.000Z\");\n @IsOptional()\n @IsString()\n @ApiProperty()\n emailVerificationTokenOnRegistration: string;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n emailVerificationTokenOnRegistrationExpiresAt: Date = new Date(\"1970-01-01T00:00:00.000Z\");\n @IsOptional()\n @IsDate()\n @ApiProperty()\n mobileVerifiedOnRegistrationAt: Date = new Date(\"1970-01-01T00:00:00.000Z\");\n @IsOptional()\n @IsString()\n @ApiProperty()\n mobileVerificationTokenOnRegistration: string;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n mobileVerificationTokenOnRegistrationExpiresAt: Date = new Date(\"1970-01-01T00:00:00.000Z\");\n @IsOptional()\n @IsDate()\n @ApiProperty()\n emailVerifiedOnLoginAt: Date = new Date(\"1970-01-01T00:00:00.000Z\");\n @IsOptional()\n @IsString()\n @ApiProperty()\n emailVerificationTokenOnLogin: string;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n emailVerificationTokenOnLoginExpiresAt: Date = new Date(\"1970-01-01T00:00:00.000Z\");\n @IsOptional()\n @IsDate()\n @ApiProperty()\n mobileVerifiedOnLoginAt: Date = new Date(\"1970-01-01T00:00:00.000Z\");\n @IsOptional()\n @IsString()\n @ApiProperty()\n mobileVerificationTokenOnLogin: string;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n mobileVerificationTokenOnLoginExpiresAt: Date = new Date(\"1970-01-01T00:00:00.000Z\");\n @IsOptional()\n @IsString()\n @ApiProperty()\n customPayload: string;\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateRoleMetadataDto)\n roles: UpdateRoleMetadataDto[];\n @IsOptional()\n @IsArray()\n @ApiProperty()\n rolesIds: number[];\n @IsString()\n @IsOptional()\n @ApiProperty()\n rolesCommand: string;\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateUserViewMetadataDto)\n userViewMetadata: UpdateUserViewMetadataDto[];\n @IsOptional()\n @IsArray()\n @ApiProperty()\n userViewMetadataIds: number[];\n @IsString()\n @IsOptional()\n @ApiProperty()\n userViewMetadataCommand: string;\n}"]}
@@ -12,5 +12,7 @@ export declare class UpdateScheduledJobDto {
12
12
  nextRunAt: Date;
13
13
  dayOfWeek: string;
14
14
  job: string;
15
+ moduleId: number;
16
+ moduleUserKey: string;
15
17
  }
16
18
  //# sourceMappingURL=update-scheduled-job.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-scheduled-job.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-scheduled-job.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,qBAAqB;IAG9B,EAAE,EAAE,MAAM,CAAC;IAMX,YAAY,EAAE,MAAM,CAAC;IAMrB,QAAQ,EAAE,OAAO,CAAC;IAMlB,SAAS,EAAE,MAAM,CAAC;IAKlB,SAAS,EAAE,IAAI,CAAC;IAKhB,OAAO,EAAE,IAAI,CAAC;IAKd,SAAS,EAAE,IAAI,CAAC;IAKhB,OAAO,EAAE,IAAI,CAAC;IAKd,UAAU,EAAE,MAAM,CAAC;IAKnB,SAAS,EAAE,IAAI,CAAC;IAKhB,SAAS,EAAE,IAAI,CAAC;IAKhB,SAAS,EAAE,MAAM,CAAC;IAMlB,GAAG,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"update-scheduled-job.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-scheduled-job.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,qBAAqB;IAG9B,EAAE,EAAE,MAAM,CAAC;IAKX,YAAY,EAAE,MAAM,CAAC;IAKrB,QAAQ,EAAE,OAAO,CAAC;IAKlB,SAAS,EAAE,MAAM,CAAC;IAIlB,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;IAId,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;IAId,UAAU,EAAE,MAAM,CAAC;IAInB,SAAS,EAAE,IAAI,CAAC;IAIhB,SAAS,EAAE,IAAI,CAAC;IAIhB,SAAS,EAAE,MAAM,CAAC;IAKlB,GAAG,EAAE,MAAM,CAAC;IAIZ,QAAQ,EAAE,MAAM,CAAC;IAIjB,aAAa,EAAE,MAAM,CAAC;CACzB"}
@@ -15,7 +15,7 @@ const class_validator_1 = require("class-validator");
15
15
  const swagger_1 = require("@nestjs/swagger");
16
16
  class UpdateScheduledJobDto {
17
17
  static _OPENAPI_METADATA_FACTORY() {
18
- return { id: { required: true, type: () => Number }, scheduleName: { required: true, type: () => String }, isActive: { required: true, type: () => Boolean }, frequency: { required: true, type: () => String }, startTime: { required: true, type: () => Date }, endTime: { required: true, type: () => Date }, startDate: { required: true, type: () => Date }, endDate: { required: true, type: () => Date }, dayOfMonth: { required: true, type: () => Number }, lastRunAt: { required: true, type: () => Date }, nextRunAt: { required: true, type: () => Date }, dayOfWeek: { required: true, type: () => String }, job: { required: true, type: () => String } };
18
+ return { id: { required: true, type: () => Number }, scheduleName: { required: true, type: () => String }, isActive: { required: true, type: () => Boolean }, frequency: { required: true, type: () => String }, startTime: { required: true, type: () => Date }, endTime: { required: true, type: () => Date }, startDate: { required: true, type: () => Date }, endDate: { required: true, type: () => Date }, dayOfMonth: { required: true, type: () => Number }, lastRunAt: { required: true, type: () => Date }, nextRunAt: { required: true, type: () => Date }, dayOfWeek: { required: true, type: () => String }, job: { required: true, type: () => String }, moduleId: { required: true, type: () => Number }, moduleUserKey: { required: true, type: () => String } };
19
19
  }
20
20
  }
21
21
  exports.UpdateScheduledJobDto = UpdateScheduledJobDto;
@@ -100,4 +100,16 @@ __decorate([
100
100
  (0, swagger_1.ApiProperty)(),
101
101
  __metadata("design:type", String)
102
102
  ], UpdateScheduledJobDto.prototype, "job", void 0);
103
+ __decorate([
104
+ (0, class_validator_1.IsOptional)(),
105
+ (0, class_validator_1.IsInt)(),
106
+ (0, swagger_1.ApiProperty)(),
107
+ __metadata("design:type", Number)
108
+ ], UpdateScheduledJobDto.prototype, "moduleId", void 0);
109
+ __decorate([
110
+ (0, class_validator_1.IsString)(),
111
+ (0, class_validator_1.IsOptional)(),
112
+ (0, swagger_1.ApiProperty)(),
113
+ __metadata("design:type", String)
114
+ ], UpdateScheduledJobDto.prototype, "moduleUserKey", void 0);
103
115
  //# sourceMappingURL=update-scheduled-job.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-scheduled-job.dto.js","sourceRoot":"","sources":["../../src/dtos/update-scheduled-job.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAA6F;AAC7F,6CAA8C;AAE9C,MAAa,qBAAqB;;;;CAoEjC;AApED,sDAoEC;AAjEG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;iDACG;AAMX;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;2DACO;AAMrB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,qBAAW,GAAE;;uDACI;AAMlB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;wDACI;AAKlB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;8BACH,IAAI;wDAAC;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;8BACL,IAAI;sDAAC;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;8BACH,IAAI;wDAAC;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;8BACL,IAAI;sDAAC;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,GAAE;;yDACK;AAKnB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;8BACH,IAAI;wDAAC;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;8BACH,IAAI;wDAAC;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;wDACI;AAMlB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;kDACF","sourcesContent":["import { IsInt, IsOptional, IsString, IsNotEmpty, IsBoolean, IsDate } from 'class-validator';\nimport { ApiProperty } from '@nestjs/swagger';\n\nexport class UpdateScheduledJobDto {\n @IsOptional()\n @IsInt()\n id: number;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n scheduleName: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsBoolean()\n @ApiProperty()\n isActive: boolean;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n frequency: string;\n\n @IsOptional()\n @IsDate()\n @ApiProperty()\n startTime: Date;\n\n @IsOptional()\n @IsDate()\n @ApiProperty()\n endTime: Date;\n\n @IsOptional()\n @IsDate()\n @ApiProperty()\n startDate: Date;\n\n @IsOptional()\n @IsDate()\n @ApiProperty()\n endDate: Date;\n\n @IsOptional()\n @IsInt()\n @ApiProperty()\n dayOfMonth: number;\n\n @IsOptional()\n @IsDate()\n @ApiProperty()\n lastRunAt: Date;\n\n @IsOptional()\n @IsDate()\n @ApiProperty()\n nextRunAt: Date;\n\n @IsOptional()\n @IsString()\n @ApiProperty()\n dayOfWeek: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n job: string;\n}"]}
1
+ {"version":3,"file":"update-scheduled-job.dto.js","sourceRoot":"","sources":["../../src/dtos/update-scheduled-job.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAA6F;AAC7F,6CAA8C;AAE9C,MAAa,qBAAqB;;;;CAgEjC;AAhED,sDAgEC;AA7DG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;iDACG;AAKX;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;2DACO;AAKrB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,qBAAW,GAAE;;uDACI;AAKlB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;wDACI;AAIlB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;8BACH,IAAI;wDAAC;AAIhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;8BACL,IAAI;sDAAC;AAId;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;8BACH,IAAI;wDAAC;AAIhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;8BACL,IAAI;sDAAC;AAId;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,GAAE;;yDACK;AAInB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;8BACH,IAAI;wDAAC;AAIhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;8BACH,IAAI;wDAAC;AAIhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;wDACI;AAKlB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;kDACF;AAIZ;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,GAAE;;uDACG;AAIjB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;4DACQ","sourcesContent":["import { IsInt, IsOptional, IsString, IsNotEmpty, IsBoolean, IsDate } from 'class-validator';\nimport { ApiProperty } from '@nestjs/swagger';\n\nexport class UpdateScheduledJobDto {\n @IsOptional()\n @IsInt()\n id: number;\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n scheduleName: string;\n @IsNotEmpty()\n @IsOptional()\n @IsBoolean()\n @ApiProperty()\n isActive: boolean;\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n frequency: string;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n startTime: Date;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n endTime: Date;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n startDate: Date;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n endDate: Date;\n @IsOptional()\n @IsInt()\n @ApiProperty()\n dayOfMonth: number;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n lastRunAt: Date;\n @IsOptional()\n @IsDate()\n @ApiProperty()\n nextRunAt: Date;\n @IsOptional()\n @IsString()\n @ApiProperty()\n dayOfWeek: string;\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n job: string;\n @IsOptional()\n @IsInt()\n @ApiProperty()\n moduleId: number;\n @IsString()\n @IsOptional()\n @ApiProperty()\n moduleUserKey: string;\n}"]}
@@ -1,4 +1,5 @@
1
1
  import { CommonEntity } from './common.entity';
2
+ import { ModuleMetadata } from 'src/entities/module-metadata.entity';
2
3
  export declare class ScheduledJob extends CommonEntity {
3
4
  scheduleName: string;
4
5
  isActive: boolean;
@@ -12,5 +13,6 @@ export declare class ScheduledJob extends CommonEntity {
12
13
  nextRunAt: Date;
13
14
  dayOfWeek: string;
14
15
  job: string;
16
+ module: ModuleMetadata;
15
17
  }
16
18
  //# sourceMappingURL=scheduled-job.entity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scheduled-job.entity.d.ts","sourceRoot":"","sources":["../../src/entities/scheduled-job.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,qBACa,YAAa,SAAQ,YAAY;IAE1C,YAAY,EAAE,MAAM,CAAC;IAErB,QAAQ,EAAE,OAAO,CAAS;IAE1B,SAAS,EAAE,MAAM,CAAC;IAElB,SAAS,EAAE,IAAI,CAAC;IAEhB,OAAO,EAAE,IAAI,CAAC;IAEd,SAAS,EAAE,IAAI,CAAC;IAEhB,OAAO,EAAE,IAAI,CAAC;IAEd,UAAU,EAAE,MAAM,CAAC;IAEnB,SAAS,EAAE,IAAI,CAAC;IAEhB,SAAS,EAAE,IAAI,CAAC;IAEhB,SAAS,EAAE,MAAM,CAAC;IAElB,GAAG,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"scheduled-job.entity.d.ts","sourceRoot":"","sources":["../../src/entities/scheduled-job.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAErE,qBACa,YAAa,SAAQ,YAAY;IAG1C,YAAY,EAAE,MAAM,CAAC;IAErB,QAAQ,EAAE,OAAO,CAAS;IAE1B,SAAS,EAAE,MAAM,CAAC;IAElB,SAAS,EAAE,IAAI,CAAC;IAEhB,OAAO,EAAE,IAAI,CAAC;IAEd,SAAS,EAAE,IAAI,CAAC;IAEhB,OAAO,EAAE,IAAI,CAAC;IAEd,UAAU,EAAE,MAAM,CAAC;IAEnB,SAAS,EAAE,IAAI,CAAC;IAEhB,SAAS,EAAE,IAAI,CAAC;IAEhB,SAAS,EAAE,MAAM,CAAC;IAElB,GAAG,EAAE,MAAM,CAAC;IAIZ,MAAM,EAAE,cAAc,CAAC;CAC1B"}
@@ -13,17 +13,19 @@ exports.ScheduledJob = void 0;
13
13
  const openapi = require("@nestjs/swagger");
14
14
  const typeorm_1 = require("typeorm");
15
15
  const common_entity_1 = require("./common.entity");
16
+ const module_metadata_entity_1 = require("./module-metadata.entity");
16
17
  let ScheduledJob = class ScheduledJob extends common_entity_1.CommonEntity {
17
18
  constructor() {
18
19
  super(...arguments);
19
20
  this.isActive = false;
20
21
  }
21
22
  static _OPENAPI_METADATA_FACTORY() {
22
- return { scheduleName: { required: true, type: () => String }, isActive: { required: true, type: () => Boolean, default: false }, frequency: { required: true, type: () => String }, startTime: { required: true, type: () => Date }, endTime: { required: true, type: () => Date }, startDate: { required: true, type: () => Date }, endDate: { required: true, type: () => Date }, dayOfMonth: { required: true, type: () => Number }, lastRunAt: { required: true, type: () => Date }, nextRunAt: { required: true, type: () => Date }, dayOfWeek: { required: true, type: () => String }, job: { required: true, type: () => String } };
23
+ return { scheduleName: { required: true, type: () => String }, isActive: { required: true, type: () => Boolean, default: false }, frequency: { required: true, type: () => String }, startTime: { required: true, type: () => Date }, endTime: { required: true, type: () => Date }, startDate: { required: true, type: () => Date }, endDate: { required: true, type: () => Date }, dayOfMonth: { required: true, type: () => Number }, lastRunAt: { required: true, type: () => Date }, nextRunAt: { required: true, type: () => Date }, dayOfWeek: { required: true, type: () => String }, job: { required: true, type: () => String }, module: { required: true, type: () => require("./module-metadata.entity").ModuleMetadata } };
23
24
  }
24
25
  };
25
26
  exports.ScheduledJob = ScheduledJob;
26
27
  __decorate([
28
+ (0, typeorm_1.Index)({ unique: true }),
27
29
  (0, typeorm_1.Column)({ type: "varchar" }),
28
30
  __metadata("design:type", String)
29
31
  ], ScheduledJob.prototype, "scheduleName", void 0);
@@ -71,6 +73,12 @@ __decorate([
71
73
  (0, typeorm_1.Column)({ type: "varchar" }),
72
74
  __metadata("design:type", String)
73
75
  ], ScheduledJob.prototype, "job", void 0);
76
+ __decorate([
77
+ (0, typeorm_1.Index)(),
78
+ (0, typeorm_1.ManyToOne)(() => module_metadata_entity_1.ModuleMetadata, { onDelete: "CASCADE", nullable: false }),
79
+ (0, typeorm_1.JoinColumn)({ referencedColumnName: 'id' }),
80
+ __metadata("design:type", module_metadata_entity_1.ModuleMetadata)
81
+ ], ScheduledJob.prototype, "module", void 0);
74
82
  exports.ScheduledJob = ScheduledJob = __decorate([
75
83
  (0, typeorm_1.Entity)('ss_scheduled_job')
76
84
  ], ScheduledJob);
@@ -1 +1 @@
1
- {"version":3,"file":"scheduled-job.entity.js","sourceRoot":"","sources":["../../src/entities/scheduled-job.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qCAAyC;AACzC,mDAA+C;AAGxC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,4BAAY;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IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;yCAChB;uBAxBH,YAAY;IADxB,IAAA,gBAAM,EAAC,kBAAkB,CAAC;GACd,YAAY,CAyBxB","sourcesContent":["import { Entity, Column } from 'typeorm';\nimport { CommonEntity } from './common.entity';\n\n@Entity('ss_scheduled_job')\nexport class ScheduledJob extends CommonEntity {\n @Column({ type: \"varchar\" })\n scheduleName: string;\n @Column({ type: \"boolean\", default: false })\n isActive: boolean = false;\n @Column({ type: \"varchar\" })\n frequency: string;\n @Column({ type: \"time\", nullable: true })\n startTime: Date;\n @Column({ type: \"time\", nullable: true })\n endTime: Date;\n @Column({ type: \"date\", nullable: true })\n startDate: Date;\n @Column({ type: \"date\", nullable: true })\n endDate: Date;\n @Column({ type: \"integer\", nullable: true })\n dayOfMonth: number;\n @Column({ type: \"timestamp\", nullable: true })\n lastRunAt: Date;\n @Column({ type: \"timestamp\", nullable: true })\n nextRunAt: Date;\n @Column({ type: \"varchar\", nullable: true })\n dayOfWeek: string;\n @Column({ type: \"varchar\" })\n job: string;\n}"]}
1
+ {"version":3,"file":"scheduled-job.entity.js","sourceRoot":"","sources":["../../src/entities/scheduled-job.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qCAAuE;AACvE,mDAA+C;AAC/C,qEAAqE;AAG9D,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,4BAAY;IAAvC;;QAKH,aAAQ,GAAY,KAAK,CAAC;KAyB7B;;iIAzBuB,KAAK;;CAyB5B,CAAA;AA9BY,oCAAY;AAGrB;IAFC,IAAA,eAAK,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACvB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;kDACP;AAErB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;8CAClB;AAE1B;IADC,IAAA,gBAAM,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4CAAC;uBA7Bd,YAAY;IADxB,IAAA,gBAAM,EAAC,kBAAkB,CAAC;GACd,YAAY,CA8BxB","sourcesContent":["import { Entity, Column, ManyToOne, JoinColumn, Index } from 'typeorm';\nimport { CommonEntity } from './common.entity';\nimport { ModuleMetadata } from 'src/entities/module-metadata.entity';\n\n@Entity('ss_scheduled_job')\nexport class ScheduledJob extends CommonEntity {\n @Index({ unique: true })\n @Column({ type: \"varchar\" })\n scheduleName: string;\n @Column({ type: \"boolean\", default: false })\n isActive: boolean = false;\n @Column({ type: \"varchar\" })\n frequency: string;\n @Column({ type: \"time\", nullable: true })\n startTime: Date;\n @Column({ type: \"time\", nullable: true })\n endTime: Date;\n @Column({ type: \"date\", nullable: true })\n startDate: Date;\n @Column({ type: \"date\", nullable: true })\n endDate: Date;\n @Column({ type: \"integer\", nullable: true })\n dayOfMonth: number;\n @Column({ type: \"timestamp\", nullable: true })\n lastRunAt: Date;\n @Column({ type: \"timestamp\", nullable: true })\n nextRunAt: Date;\n @Column({ type: \"varchar\", nullable: true })\n dayOfWeek: string;\n @Column({ type: \"varchar\" })\n job: string;\n @Index()\n @ManyToOne(() => ModuleMetadata, { onDelete: \"CASCADE\", nullable: false })\n @JoinColumn({ referencedColumnName: 'id' })\n module: ModuleMetadata;\n}\n"]}
package/dist/index.d.ts CHANGED
@@ -200,6 +200,7 @@ export * from './services/crud.service';
200
200
  export * from './services/email-template.service';
201
201
  export * from './services/field-metadata.service';
202
202
  export * from './services/file.service';
203
+ export * from './services/textract.service';
203
204
  export * from './services/hashing.service';
204
205
  export * from './services/list-of-values.service';
205
206
  export * from './services/mail/elastic-email.service';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,kCAAkC,CAAA;AAChD,cAAc,mCAAmC,CAAA;AACjD,cAAc,kCAAkC,CAAA;AAChD,cAAc,yBAAyB,CAAA;AAEvC,c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CAAA;AAEpF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA"}
package/dist/index.js CHANGED
@@ -225,6 +225,7 @@ __exportStar(require("./services/crud.service"), exports);
225
225
  __exportStar(require("./services/email-template.service"), exports);
226
226
  __exportStar(require("./services/field-metadata.service"), exports);
227
227
  __exportStar(require("./services/file.service"), exports);
228
+ __exportStar(require("./services/textract.service"), exports);
228
229
  __exportStar(require("./services/hashing.service"), exports);
229
230
  __exportStar(require("./services/list-of-values.service"), exports);
230
231
  __exportStar(require("./services/mail/elastic-email.service"), exports);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,mEAAgD;AAChD,oEAAiD;AACjD,mEAAgD;AAChD,0DAAuC;AAEvC,8DAA2C;AAC3C,wDAA8D;AAAtD,8HAAA,OAAO,OAAgB;AAC/B,sDAAmC;AACnC,yDAAsC;AAEtC,qEAAkD;AAClD,+EAA4D;AAC5D,8DAA2C;AAC3C,iFAA8D;AAC9D,gFAA6D;AAC7D,wEAAqD;AACrD,kEAA+C;AAC/C,gEAA6C;AAC7C,+DAA4C;AAC5C,4EAAyD;AACzD,+EAA4D;AAC5D,uEAAoD;AACpD,uEAAoD;AAEpD,2DAAwC;AACxC,mEAAgD;AAChD,6DAA0C;AAC1C,qEAAkD;AAClD,oEAAiD;AACjD,qEAAkD;AAClD,mEAAgD;AAChD,mEAAgD;AAChD,mEAAgD;AAChD,oFAAiE;AACjE,0DAAuC;AACvC,uEAAoD;AACpD,4DAAyC;AACzC,mEAAgD;AAChD,oEAAiD;AACjD,qEAAkD;AAClD,+DAA4C;AAC5C,kEAA+C;AAC/C,wEAAqD;AACrD,kEAA+C;AAC/C,8DAA2C;AAC3C,iEAA8C;AAC9C,yDAAsC;AACtC,kEAA+C;AAC/C,oEAAiD;AACjD,4EAAyD;AACzD,2DAAwC;A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E,qFAAkE;AAClE,2DAAwC;AACxC,4FAAyE;AACzE,yFAAsE;AACtE,yEAAsD;AACtD,wEAAqD;AACrD,oEAAiD;AACjD,qEAAkD;AAClD,sEAAmD;AACnD,gEAA6C;AAC7C,mEAAgD;AAChD,yDAAsC;AACtC,yEAAsD;AACtD,+EAA4D;AAC5D,gFAA6D;AAC7D,+EAA4D;AAC5D,mEAAgD;AAChD,2GAAwF;AACxF,wEAAqD;AACrD,qEAAkD;AAClD,iEAA8C;AAC9C,iEAA8C;AAC9C,kEAA+C;AAC/C,4DAAyC;AACzC,kEAA+C;AAC/C,sEAAmD;AACnD,0DAAuC;AACvC,mEAAgD;AAChD,2EAAwD;AACxD,6DAA0C;AAC1C,mEAAgD;AAChD,qEAAkD;AAClD,qEAAkD;AAClD,6EAA0D;AAC1D,4DAAyC;AACzC,2EAAwD;AACxD,wEAAqD;AACrD,kFAA+D;AAC/D,2DAAwC;AACxC,yDAAsC;AACtC,8EAA2D;AAC3D,+EAA4D;AAC5D,gFAA6D;AAC7D,oEAAiD;AAGjD,2DAAwC;AAGxC,qEAAkD;AAClD,wEAAqD;AACrD,gEAA6C;AAI7C,0EAAuD;AACvD,mFAAgE;AAChE,yEAAsD;AACtD,iEAA8C;AAI9C,mEAAgD;AAChD,qEAAkD;AAClD,qEAAkD;AAElD,+DAA4C;AAE5C,8CAA2B;AAC3B,+CAA4B;AAC5B,sDAAmC;AAEnC,mDAAgC;AAChC,4EAAoF;AAA3E,4IAAA,OAAO,OAAuB;AAEvC,6DAA2D;AAAlD,gHAAA,cAAc,OAAA","sourcesContent":["export * from './commands/helper'\nexport * from './commands/refresh-model.command'\nexport * from './commands/refresh-module.command'\nexport * from './commands/remove-fields.command'\nexport * from './commands/seed.command'\n\nexport * from './config/app-builder.config'\nexport {default as commonConfig} from './config/common.config'\nexport * from './config/iam.config'\nexport * from './config/cache.options'\n\nexport * from './decorators/active-user.decorator'\nexport * from './decorators/solid-request-context.decorator'\nexport * from './decorators/auth.decorator'\nexport * from './decorators/computed-field-provider.decorator'\nexport * from './decorators/scheduled-job-provider.decorator'\nexport * from './decorators/is-not-in-enum.decorator'\nexport * from './decorators/protocol.decorator'\nexport * from './decorators/public.decorator'\nexport * from './decorators/roles.decorator'\nexport * from './decorators/selection-provider.decorator'\nexport * from './decorators/solid-database-module.decorator'\nexport * from './decorators/solid-service.decorator'\nexport * from './decorators/mail-provider.decorator'\n\nexport * from './dtos/basic-filters.dto'\nexport * from './dtos/solid-request-context.dto'\nexport * from './dtos/change-password.dto'\nexport * from './dtos/confirm-forgot-password.dto'\nexport * from './dtos/create-action-metadata.dto'\nexport * from './dtos/create-email-attachment.dto'\nexport * from './dtos/create-email-template.dto'\nexport * from './dtos/create-field-metadata.dto'\nexport * from './dtos/create-list-of-values.dto'\nexport * from './dtos/create-media-storage-provider-metadata.dto'\nexport * from './dtos/create-media.dto'\nexport * from './dtos/create-menu-item-metadata.dto'\nexport * from './dtos/create-message.dto'\nexport * from './dtos/create-model-metadata.dto'\nexport * from './dtos/create-module-metadata.dto'\nexport * from './dtos/create-mq-message-queue.dto'\nexport * from './dtos/create-mq-message.dto'\nexport * from './dtos/create-scheduled-job.dto'\nexport * from './dtos/create-permission-metadata.dto'\nexport * from './dtos/create-role-metadata.dto'\nexport * from './dtos/create-short-url.dto'\nexport * from './dtos/create-sms-template.dto'\nexport * from './dtos/create-user.dto'\nexport * from './dtos/create-view-metadata.dto'\nexport * from './dtos/create-chatter-message.dto'\nexport * from './dtos/create-chatter-message-details.dto'\nexport * from './dtos/create-locale.dto'\nexport * from './dtos/fetch-roles.dto'\nexport * from './dtos/initiate-forgot-password.dto'\nexport * from './dtos/mutate-role-permissions.dto'\nexport * from './dtos/mutate-user-roles-list.dto'\nexport * from './dtos/mutate-user-roles.dto'\nexport * from './dtos/oauth-user-dto'\nexport * from './dtos/otp-confirm-otp.dto'\nexport * from './dtos/otp-sign-in.dto'\nexport * from './dtos/otp-sign-up.dto'\nexport * from './dtos/pagination-query.dto'\nexport * from './dtos/query.dto'\nexport * from './dtos/refresh-token.dto'\nexport * from './dtos/register-private.dto'\nexport * from './dtos/selection-dynamic-query.dto'\nexport * from './dtos/sign-in.dto'\nexport * from './dtos/sign-up.dto'\nexport * from './dtos/sort-filter.dto'\nexport * from './dtos/update-action-metadata.dto'\nexport * from './dtos/update-email-template.dto'\nexport * from './dtos/update-field-metadata.dto'\nexport * from './dtos/update-media-storage-provider.dto'\nexport * from './dtos/update-media.dto'\nexport * from './dtos/update-menu-item-metadata.dto'\nexport * from './dtos/update-message.dto'\nexport * from './dtos/update-model-metadata.dto'\nexport * from './dtos/update-module-metadata.dto'\nexport * from './dtos/update-mq-message-queue.dto'\nexport * from './dtos/update-mq-message.dto'\nexport * from './dtos/update-scheduled-job.dto'\nexport * from './dtos/update-permission-metadata.dto'\nexport * from './dtos/update-role-metadata.dto'\nexport * from './dtos/update-sms-template.dto'\nexport * from './dtos/update-user.dto'\nexport * from './dtos/update-view-metadata.dto'\nexport * from './dtos/create-setting.dto'\nexport * from './dtos/update-setting.dto'\nexport * from './dtos/create-security-rule.dto'\nexport * from './dtos/update-security-rule.dto'\nexport * from './dtos/update-chatter-message.dto'\nexport * from './dtos/update-chatter-message-details.dto'\nexport * from './dtos/update-locale.dto'\nexport * from './dtos/create-user-activity-history.dto'\nexport * from './dtos/update-user-activity-history.dto'\n\nexport * from './entities/action-metadata.entity'\nexport * from './entities/common.entity'\nexport * from './entities/email-attachment.entity'\nexport * from './entities/email-template.entity'\nexport * from './entities/field-metadata.entity'\nexport * from './entities/list-of-values.entity'\nexport * from './entities/media.entity'\nexport * from './entities/media-storage-provider-metadata.entity'\nexport * from './entities/menu-item-metadata.entity'\nexport * from './entities/model-metadata.entity'\nexport * from './entities/module-metadata.entity'\nexport * from './entities/mq-message-queue.entity'\nexport * from './entities/mq-message.entity'\nexport * from './entities/scheduled-job.entity'\nexport * from './entities/permission-metadata.entity'\nexport * from './entities/role-metadata.entity'\nexport * from './entities/sms-template.entity'\nexport * from './entities/user-password-history.entity'\nexport * from './entities/user.entity'\nexport * from './entities/view-metadata.entity'\nexport * from './entities/setting.entity'\nexport * from './entities/saved-filters.entity'\nexport * from './entities/user-view-metadata.entity'\nexport * from './entities/security-rule.entity'\nexport * from './entities/saved-filters.entity'\nexport * from './entities/chatter-message.entity'\nexport * from './entities/chatter-message-details.entity'\nexport * from './entities/export-template.entity'\nexport * from './entities/export-transaction.entity'\nexport * from './entities/import-transaction.entity'\nexport * from './entities/import-transaction-error-log.entity'\nexport * from './entities/locale.entity'\nexport * from './entities/user-activity-history.entity'\nexport * from './entities/dashboard.entity'\nexport * from './entities/dashboard-variable.entity'\nexport * from './entities/dashboard-question.entity'\nexport * from './entities/dashboard-question-sql-dataset-config.entity'\nexport * from './entities/ai-interaction.entity'\n\nexport * from './enums/auth-type.enum'\n\nexport * from './filters/http-exception.filter'\n\nexport * from './guards/access-token.guard'\nexport * from './guards/authentication.guard'\nexport * from './guards/permissions.guard'\nexport * from './guards/roles.guard'\n\nexport * from './helpers/command.service'\nexport * from './helpers/module.helper'\nexport * from './helpers/schematic.service'\nexport * from './helpers/solid-registry'\nexport * from './helpers/field-crud-managers/BigIntFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/BooleanFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/ComputedFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/DateFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/DecimalFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/EmailFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/IntFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/JsonFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/LongTextFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/ManyToManyRelationFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/ManyToOneRelationFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/MediaFieldCrudManager' // Need to resolve ambiguity\nexport * from './helpers/field-crud-managers/NoOpsFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/OneToManyRelationFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/PasswordFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/RichTextFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/SelectionDynamicFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/SelectionStaticFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/ShortTextFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/UUIDFieldCrudManager' //rename\nexport * from './helpers/environment.helper'\n\nexport * from './services/crud.service'\nexport * from './interceptors/logging.interceptor'\nexport * from './interceptors/wrap-response.interceptor'\n\nexport * from './interfaces/active-user-data.interface'\nexport * from './interfaces/mq'\nexport * from './services/scheduled-jobs/scheduled-job.interface';\nexport * from './services/scheduled-jobs/scheduler.interface';\nexport * from './services/scheduled-jobs/scheduler.service';\n\nexport * from './jobs/api-email-publisher.service'\nexport * from './jobs/api-email-queue-options'\nexport * from './jobs/api-email-subscriber.service'\nexport { SmtpEmailQueuePublisherRabbitmq, SmtpEmailQueuePublisherRabbitmq as EmailQueuePublisher } from './jobs/smtp-email-publisher.service' // alias for backward compatibility\nexport * from './jobs/smtp-email-queue-options'\nexport { SmtpEmailQueueSubscriberRabbitmq, SmtpEmailQueueSubscriberRabbitmq as EmailQueueSubscriber } from './jobs/smtp-email-subscriber.service' // alias for backward compatibility\nexport * from './jobs/otp-publisher.service'\nexport * from './jobs/otp-queue-options'\nexport * from './jobs/otp-subscriber.service'\nexport * from './jobs/sms-publisher.service'\nexport * from './jobs/sms-queue-options'\nexport * from './jobs/sms-subscriber.service'\nexport * from './jobs/whatsapp-publisher.service'\nexport * from './jobs/whatsapp-queue-options'\nexport * from './jobs/whatsapp-subscriber.service'\n\nexport * from './listeners/user-registration.listener'\n\nexport * from './passport-strategies/google-oauth.strategy'\nexport * from './passport-strategies/local.strategy'\n\nexport * from './providers/list-of-values-selection-providers.service'\n\n// seed-data\nexport * from './seeders/email-template-seeder.service'\nexport * from './seeders/permission-metadata-seeder.service'\nexport * from './seeders/sms-template-seeder.service'\nexport * from './seeders/module-metadata-seeder.service'\nexport * from './seeders/user-seeder.service'\n\n// export * from './services/access-token-storage.service'\nexport * from './services/action-metadata.service'\nexport * from './services/authentication.service'\nexport * from './services/bcrypt.service'\nexport * from './services/computed-fields/uuid-external-id-computed-field-provider.service'\nexport * from './services/crud-helper.service'\nexport * from './services/crud.service'\nexport * from './services/email-template.service'\nexport * from './services/field-metadata.service'\nexport * from './services/file.service'\nexport * from './services/hashing.service'\nexport * from './services/list-of-values.service'\nexport * from './services/mail/elastic-email.service'\nexport * from './services/mail/smtp-email.service'\nexport * from './services/media-storage-provider-metadata-seeder.service'\nexport * from './services/media-storage-provider-metadata.service'\nexport * from './services/media.service'\nexport * from './services/mediaStorageProviders/file-s3-storage-provider'\nexport * from './services/mediaStorageProviders/file-storage-provider'\nexport * from './services/mediaStorageProviders/index'\nexport * from './services/menu-item-metadata.service'\nexport * from './services/model-metadata.service'\nexport * from './services/module-metadata.service'\nexport * from './services/mq-message-queue.service'\nexport * from './services/mq-message.service'\nexport * from './services/scheduled-job.service'\nexport * from './services/pdf.service'\nexport * from './services/permission-metadata.service'\nexport * from './services/queues/rabbitmq-publisher.service'\nexport * from './services/queues/rabbitmq-subscriber.service'\nexport * from './services/refresh-token-ids-storage.service'\nexport * from './services/role-metadata.service'\nexport * from './services/selection-providers/list-of-models-selection-provider.service'\nexport * from './services/short-url/tiny-url.service'\nexport * from './services/sms/Msg91BaseSMSService' //rename\nexport * from './services/sms/Msg91OTPService' //rename\nexport * from './services/sms/Msg91SMSService' //rename\nexport * from './services/sms/TwilioSMSService' //rename\nexport * from './services/poller.service'\nexport * from './services/sms-template.service'\nexport * from './services/solid-introspect.service'\nexport * from './services/user.service'\nexport * from './services/view-metadata.service'\nexport * from './services/whatsapp/Msg91WhatsappService' //rename\nexport * from './services/setting.service'\nexport * from './services/security-rule.service'\nexport * from './services/request-context.service'\nexport * from './services/chatter-message.service'\nexport * from './services/chatter-message-details.service'\nexport * from './services/locale.service'\nexport * from './services/user-activity-history.service'\nexport * from './services/import-transaction.service'\nexport * from './services/import-transaction-error-log.service'\nexport * from './services/excel.service'\nexport * from './services/csv.service'\nexport * from './services/queues/publisher-factory.service'\nexport * from './services/queues/database-publisher.service'\nexport * from './services/queues/database-subscriber.service'\nexport * from './services/ai-interaction.service'\n\n// Factories\nexport * from './factories/mail.factory'\n\n// Repositories\nexport * from './repository/solid-base.repository'\nexport * from './repository/security-rule.repository'\nexport * from './repository/field.repository'\n\n\n//softDeleteAwareEventSubscriber.subscriber.ts\nexport * from './subscribers/model-metadata.subscriber'\nexport * from './subscribers/soft-delete-aware-event.subscriber' //rename\nexport * from './subscribers/view-metadata.subscriber' //rename\nexport * from './subscribers/audit.subscriber'\n\n\n\nexport * from './transformers/array-transformer'\nexport * from './transformers/boolean-transformer'\nexport * from './transformers/integer-transformer'\n\nexport * from './validators/is-parsable-int'\n\nexport * from './constants'\nexport * from './interfaces'\nexport * from './solid-core.module'\n\nexport * from './winston.logger'\nexport { default as datetimeTransformer } from './transformers/datetime-transformer'\n\nexport { ERROR_MESSAGES } from './constants/error-messages'"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,mEAAgD;AAChD,oEAAiD;AACjD,mEAAgD;AAChD,0DAAuC;AAEvC,8DAA2C;AAC3C,wDAA8D;AAAtD,8HAAA,OAAO,OAAgB;AAC/B,sDAAmC;AACnC,yDAAsC;AAEtC,qEAAkD;AAClD,+EAA4D;AAC5D,8DAA2C;AAC3C,iFAA8D;AAC9D,gFAA6D;AAC7D,wEAAqD;AACrD,kEAA+C;AAC/C,gEAA6C;AAC7C,+DAA4C;AAC5C,4EAAyD;AACzD,+EAA4D;AAC5D,uEAAoD;AACpD,uEAAoD;AAEpD,2DAAwC;AACxC,mEAAg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AC3B,+CAA4B;AAC5B,sDAAmC;AAEnC,mDAAgC;AAChC,4EAAoF;AAA3E,4IAAA,OAAO,OAAuB;AAEvC,6DAA2D;AAAlD,gHAAA,cAAc,OAAA","sourcesContent":["export * from './commands/helper'\nexport * from './commands/refresh-model.command'\nexport * from './commands/refresh-module.command'\nexport * from './commands/remove-fields.command'\nexport * from './commands/seed.command'\n\nexport * from './config/app-builder.config'\nexport {default as commonConfig} from './config/common.config'\nexport * from './config/iam.config'\nexport * from './config/cache.options'\n\nexport * from './decorators/active-user.decorator'\nexport * from './decorators/solid-request-context.decorator'\nexport * from './decorators/auth.decorator'\nexport * from './decorators/computed-field-provider.decorator'\nexport * from './decorators/scheduled-job-provider.decorator'\nexport * from './decorators/is-not-in-enum.decorator'\nexport * from './decorators/protocol.decorator'\nexport * from './decorators/public.decorator'\nexport * from './decorators/roles.decorator'\nexport * from './decorators/selection-provider.decorator'\nexport * from './decorators/solid-database-module.decorator'\nexport * from './decorators/solid-service.decorator'\nexport * from './decorators/mail-provider.decorator'\n\nexport * from './dtos/basic-filters.dto'\nexport * from './dtos/solid-request-context.dto'\nexport * from './dtos/change-password.dto'\nexport * from './dtos/confirm-forgot-password.dto'\nexport * from './dtos/create-action-metadata.dto'\nexport * from './dtos/create-email-attachment.dto'\nexport * from './dtos/create-email-template.dto'\nexport * from './dtos/create-field-metadata.dto'\nexport * from './dtos/create-list-of-values.dto'\nexport * from './dtos/create-media-storage-provider-metadata.dto'\nexport * from './dtos/create-media.dto'\nexport * from './dtos/create-menu-item-metadata.dto'\nexport * from './dtos/create-message.dto'\nexport * from './dtos/create-model-metadata.dto'\nexport * from './dtos/create-module-metadata.dto'\nexport * from './dtos/create-mq-message-queue.dto'\nexport * from './dtos/create-mq-message.dto'\nexport * from './dtos/create-scheduled-job.dto'\nexport * from './dtos/create-permission-metadata.dto'\nexport * from './dtos/create-role-metadata.dto'\nexport * from './dtos/create-short-url.dto'\nexport * from './dtos/create-sms-template.dto'\nexport * from './dtos/create-user.dto'\nexport * from './dtos/create-view-metadata.dto'\nexport * from './dtos/create-chatter-message.dto'\nexport * from './dtos/create-chatter-message-details.dto'\nexport * from './dtos/create-locale.dto'\nexport * from './dtos/fetch-roles.dto'\nexport * from './dtos/initiate-forgot-password.dto'\nexport * from './dtos/mutate-role-permissions.dto'\nexport * from './dtos/mutate-user-roles-list.dto'\nexport * from './dtos/mutate-user-roles.dto'\nexport * from './dtos/oauth-user-dto'\nexport * from './dtos/otp-confirm-otp.dto'\nexport * from './dtos/otp-sign-in.dto'\nexport * from './dtos/otp-sign-up.dto'\nexport * from './dtos/pagination-query.dto'\nexport * from './dtos/query.dto'\nexport * from './dtos/refresh-token.dto'\nexport * from './dtos/register-private.dto'\nexport * from './dtos/selection-dynamic-query.dto'\nexport * from './dtos/sign-in.dto'\nexport * from './dtos/sign-up.dto'\nexport * from './dtos/sort-filter.dto'\nexport * from './dtos/update-action-metadata.dto'\nexport * from './dtos/update-email-template.dto'\nexport * from './dtos/update-field-metadata.dto'\nexport * from './dtos/update-media-storage-provider.dto'\nexport * from './dtos/update-media.dto'\nexport * from './dtos/update-menu-item-metadata.dto'\nexport * from './dtos/update-message.dto'\nexport * from './dtos/update-model-metadata.dto'\nexport * from './dtos/update-module-metadata.dto'\nexport * from './dtos/update-mq-message-queue.dto'\nexport * from './dtos/update-mq-message.dto'\nexport * from './dtos/update-scheduled-job.dto'\nexport * from './dtos/update-permission-metadata.dto'\nexport * from './dtos/update-role-metadata.dto'\nexport * from './dtos/update-sms-template.dto'\nexport * from './dtos/update-user.dto'\nexport * from './dtos/update-view-metadata.dto'\nexport * from './dtos/create-setting.dto'\nexport * from './dtos/update-setting.dto'\nexport * from './dtos/create-security-rule.dto'\nexport * from './dtos/update-security-rule.dto'\nexport * from './dtos/update-chatter-message.dto'\nexport * from './dtos/update-chatter-message-details.dto'\nexport * from './dtos/update-locale.dto'\nexport * from './dtos/create-user-activity-history.dto'\nexport * from './dtos/update-user-activity-history.dto'\n\nexport * from './entities/action-metadata.entity'\nexport * from './entities/common.entity'\nexport * from './entities/email-attachment.entity'\nexport * from './entities/email-template.entity'\nexport * from './entities/field-metadata.entity'\nexport * from './entities/list-of-values.entity'\nexport * from './entities/media.entity'\nexport * from './entities/media-storage-provider-metadata.entity'\nexport * from './entities/menu-item-metadata.entity'\nexport * from './entities/model-metadata.entity'\nexport * from './entities/module-metadata.entity'\nexport * from './entities/mq-message-queue.entity'\nexport * from './entities/mq-message.entity'\nexport * from './entities/scheduled-job.entity'\nexport * from './entities/permission-metadata.entity'\nexport * from './entities/role-metadata.entity'\nexport * from './entities/sms-template.entity'\nexport * from './entities/user-password-history.entity'\nexport * from './entities/user.entity'\nexport * from './entities/view-metadata.entity'\nexport * from './entities/setting.entity'\nexport * from './entities/saved-filters.entity'\nexport * from './entities/user-view-metadata.entity'\nexport * from './entities/security-rule.entity'\nexport * from './entities/saved-filters.entity'\nexport * from './entities/chatter-message.entity'\nexport * from './entities/chatter-message-details.entity'\nexport * from './entities/export-template.entity'\nexport * from './entities/export-transaction.entity'\nexport * from './entities/import-transaction.entity'\nexport * from './entities/import-transaction-error-log.entity'\nexport * from './entities/locale.entity'\nexport * from './entities/user-activity-history.entity'\nexport * from './entities/dashboard.entity'\nexport * from './entities/dashboard-variable.entity'\nexport * from './entities/dashboard-question.entity'\nexport * from './entities/dashboard-question-sql-dataset-config.entity'\nexport * from './entities/ai-interaction.entity'\n\nexport * from './enums/auth-type.enum'\n\nexport * from './filters/http-exception.filter'\n\nexport * from './guards/access-token.guard'\nexport * from './guards/authentication.guard'\nexport * from './guards/permissions.guard'\nexport * from './guards/roles.guard'\n\nexport * from './helpers/command.service'\nexport * from './helpers/module.helper'\nexport * from './helpers/schematic.service'\nexport * from './helpers/solid-registry'\nexport * from './helpers/field-crud-managers/BigIntFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/BooleanFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/ComputedFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/DateFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/DecimalFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/EmailFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/IntFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/JsonFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/LongTextFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/ManyToManyRelationFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/ManyToOneRelationFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/MediaFieldCrudManager' // Need to resolve ambiguity\nexport * from './helpers/field-crud-managers/NoOpsFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/OneToManyRelationFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/PasswordFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/RichTextFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/SelectionDynamicFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/SelectionStaticFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/ShortTextFieldCrudManager' //rename\nexport * from './helpers/field-crud-managers/UUIDFieldCrudManager' //rename\nexport * from './helpers/environment.helper'\n\nexport * from './services/crud.service'\nexport * from './interceptors/logging.interceptor'\nexport * from './interceptors/wrap-response.interceptor'\n\nexport * from './interfaces/active-user-data.interface'\nexport * from './interfaces/mq'\nexport * from './services/scheduled-jobs/scheduled-job.interface';\nexport * from './services/scheduled-jobs/scheduler.interface';\nexport * from './services/scheduled-jobs/scheduler.service';\n\nexport * from './jobs/api-email-publisher.service'\nexport * from './jobs/api-email-queue-options'\nexport * from './jobs/api-email-subscriber.service'\nexport { SmtpEmailQueuePublisherRabbitmq, SmtpEmailQueuePublisherRabbitmq as EmailQueuePublisher } from './jobs/smtp-email-publisher.service' // alias for backward compatibility\nexport * from './jobs/smtp-email-queue-options'\nexport { SmtpEmailQueueSubscriberRabbitmq, SmtpEmailQueueSubscriberRabbitmq as EmailQueueSubscriber } from './jobs/smtp-email-subscriber.service' // alias for backward compatibility\nexport * from './jobs/otp-publisher.service'\nexport * from './jobs/otp-queue-options'\nexport * from './jobs/otp-subscriber.service'\nexport * from './jobs/sms-publisher.service'\nexport * from './jobs/sms-queue-options'\nexport * from './jobs/sms-subscriber.service'\nexport * from './jobs/whatsapp-publisher.service'\nexport * from './jobs/whatsapp-queue-options'\nexport * from './jobs/whatsapp-subscriber.service'\n\nexport * from './listeners/user-registration.listener'\n\nexport * from './passport-strategies/google-oauth.strategy'\nexport * from './passport-strategies/local.strategy'\n\nexport * from './providers/list-of-values-selection-providers.service'\n\n// seed-data\nexport * from './seeders/email-template-seeder.service'\nexport * from './seeders/permission-metadata-seeder.service'\nexport * from './seeders/sms-template-seeder.service'\nexport * from './seeders/module-metadata-seeder.service'\nexport * from './seeders/user-seeder.service'\n\n// export * from './services/access-token-storage.service'\nexport * from './services/action-metadata.service'\nexport * from './services/authentication.service'\nexport * from './services/bcrypt.service'\nexport * from './services/computed-fields/uuid-external-id-computed-field-provider.service'\nexport * from './services/crud-helper.service'\nexport * from './services/crud.service'\nexport * from './services/email-template.service'\nexport * from './services/field-metadata.service'\nexport * from './services/file.service'\nexport * from './services/textract.service'\nexport * from './services/hashing.service'\nexport * from './services/list-of-values.service'\nexport * from './services/mail/elastic-email.service'\nexport * from './services/mail/smtp-email.service'\nexport * from './services/media-storage-provider-metadata-seeder.service'\nexport * from './services/media-storage-provider-metadata.service'\nexport * from './services/media.service'\nexport * from './services/mediaStorageProviders/file-s3-storage-provider'\nexport * from './services/mediaStorageProviders/file-storage-provider'\nexport * from './services/mediaStorageProviders/index'\nexport * from './services/menu-item-metadata.service'\nexport * from './services/model-metadata.service'\nexport * from './services/module-metadata.service'\nexport * from './services/mq-message-queue.service'\nexport * from './services/mq-message.service'\nexport * from './services/scheduled-job.service'\nexport * from './services/pdf.service'\nexport * from './services/permission-metadata.service'\nexport * from './services/queues/rabbitmq-publisher.service'\nexport * from './services/queues/rabbitmq-subscriber.service'\nexport * from './services/refresh-token-ids-storage.service'\nexport * from './services/role-metadata.service'\nexport * from './services/selection-providers/list-of-models-selection-provider.service'\nexport * from './services/short-url/tiny-url.service'\nexport * from './services/sms/Msg91BaseSMSService' //rename\nexport * from './services/sms/Msg91OTPService' //rename\nexport * from './services/sms/Msg91SMSService' //rename\nexport * from './services/sms/TwilioSMSService' //rename\nexport * from './services/poller.service'\nexport * from './services/sms-template.service'\nexport * from './services/solid-introspect.service'\nexport * from './services/user.service'\nexport * from './services/view-metadata.service'\nexport * from './services/whatsapp/Msg91WhatsappService' //rename\nexport * from './services/setting.service'\nexport * from './services/security-rule.service'\nexport * from './services/request-context.service'\nexport * from './services/chatter-message.service'\nexport * from './services/chatter-message-details.service'\nexport * from './services/locale.service'\nexport * from './services/user-activity-history.service'\nexport * from './services/import-transaction.service'\nexport * from './services/import-transaction-error-log.service'\nexport * from './services/excel.service'\nexport * from './services/csv.service'\nexport * from './services/queues/publisher-factory.service'\nexport * from './services/queues/database-publisher.service'\nexport * from './services/queues/database-subscriber.service'\nexport * from './services/ai-interaction.service'\n\n// Factories\nexport * from './factories/mail.factory'\n\n// Repositories\nexport * from './repository/solid-base.repository'\nexport * from './repository/security-rule.repository'\nexport * from './repository/field.repository'\n\n\n//softDeleteAwareEventSubscriber.subscriber.ts\nexport * from './subscribers/model-metadata.subscriber'\nexport * from './subscribers/soft-delete-aware-event.subscriber' //rename\nexport * from './subscribers/view-metadata.subscriber' //rename\nexport * from './subscribers/audit.subscriber'\n\n\n\nexport * from './transformers/array-transformer'\nexport * from './transformers/boolean-transformer'\nexport * from './transformers/integer-transformer'\n\nexport * from './validators/is-parsable-int'\n\nexport * from './constants'\nexport * from './interfaces'\nexport * from './solid-core.module'\n\nexport * from './winston.logger'\nexport { default as datetimeTransformer } from './transformers/datetime-transformer'\n\nexport { ERROR_MESSAGES } from './constants/error-messages'"]}
@@ -1 +1 @@
1
- {"version":3,"file":"trigger-mcp-client-subscriber-database.service.d.ts","sourceRoot":"","sources":["../../../src/jobs/database/trigger-mcp-client-subscriber-database.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAChF,OAAO,EAAE,kBAAkB,EAAE,MAAM,iDAAiD,CAAC;AAErF,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,qBACa,kCAAmC,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IAI3F,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB;IAC3C,QAAQ,CAAC,qBAAqB,EAAE,qBAAqB;IACrD,QAAQ,CAAC,MAAM,EAAE,aAAa;IAC9B,QAAQ,CAAC,oBAAoB,EAAE,oBAAoB;IANvD,OAAO,CAAC,QAAQ,CAAC,gCAAgC,CAAuD;gBAG3F,gBAAgB,EAAE,gBAAgB,EAClC,qBAAqB,EAAE,qBAAqB,EAC5C,MAAM,EAAE,aAAa,EACrB,oBAAoB,EAAE,oBAAoB;IAKvD,OAAO,IAAI,mBAAmB;IAMxB,SAAS,CAAC,OAAO,EAAE,YAAY,CAAC,uBAAuB,CAAC;CAgEjE"}
1
+ {"version":3,"file":"trigger-mcp-client-subscriber-database.service.d.ts","sourceRoot":"","sources":["../../../src/jobs/database/trigger-mcp-client-subscriber-database.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAChF,OAAO,EAAE,kBAAkB,EAAE,MAAM,iDAAiD,CAAC;AAErF,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,qBACa,kCAAmC,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IAI3F,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB;IAC3C,QAAQ,CAAC,qBAAqB,EAAE,qBAAqB;IACrD,QAAQ,CAAC,MAAM,EAAE,aAAa;IAC9B,QAAQ,CAAC,oBAAoB,EAAE,oBAAoB;IANvD,OAAO,CAAC,QAAQ,CAAC,gCAAgC,CAAuD;gBAG3F,gBAAgB,EAAE,gBAAgB,EAClC,qBAAqB,EAAE,qBAAqB,EAC5C,MAAM,EAAE,aAAa,EACrB,oBAAoB,EAAE,oBAAoB;IAKvD,OAAO,IAAI,mBAAmB;IAMxB,SAAS,CAAC,OAAO,EAAE,YAAY,CAAC,uBAAuB,CAAC;CAuEjE"}
@@ -70,7 +70,7 @@ let TriggerMcpClientSubscriberDatabase = TriggerMcpClientSubscriberDatabase_1 =
70
70
  }
71
71
  else {
72
72
  let nestedResponse = aiResponse.response.trim();
73
- await this.aiInteractionService.create({
73
+ const genAiInteraction = await this.aiInteractionService.create({
74
74
  userId: aiInteraction.user.id,
75
75
  threadId: aiInteraction.threadId,
76
76
  parentInteractionId: aiInteraction.id,
@@ -83,6 +83,9 @@ let TriggerMcpClientSubscriberDatabase = TriggerMcpClientSubscriberDatabase_1 =
83
83
  metadata: JSON.stringify(aiResponse),
84
84
  isApplied: aiInteraction.isApplied
85
85
  });
86
+ if (aiInteraction.isAutoApply) {
87
+ this.aiInteractionService.applySolidAiInteraction(genAiInteraction.id);
88
+ }
86
89
  }
87
90
  return aiResponse;
88
91
  }
@@ -1 +1 @@
1
- {"version":3,"file":"trigger-mcp-client-subscriber-database.service.js","sourceRoot":"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aAAa,CAAC,QAAQ;gBAChC,mBAAmB,EAAE,aAAa,CAAC,EAAE;gBACrC,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,cAAc;gBACvB,WAAW,EAAE,UAAU,CAAC,YAAY;gBACpC,YAAY,EAAE,EAAE;gBAChB,SAAS,EAAE,UAAU,CAAC,KAAK;gBAC3B,cAAc,EAAE,UAAU,CAAC,WAAW;gBACtC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC;gBACpC,SAAS,EAAE,aAAa,CAAC,SAAS;aACrC,CAAC,CAAC;QACP,CAAC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ,CAAA;AAlFY,gFAAkC;6CAAlC,kCAAkC;IAD9C,IAAA,mBAAU,GAAE;qCAKsB,qCAAgB;QACX,gDAAqB;QACpC,8BAAa;QACC,6CAAoB;GAP9C,kCAAkC,CAkF9C","sourcesContent":["import { Injectable, Logger } from '@nestjs/common';\n\nimport { QueueMessage } from 'src/interfaces/mq';\nimport { MqMessageService } from '../../services/mq-message.service';\nimport { MqMessageQueueService } from '../../services/mq-message-queue.service';\nimport { QueuesModuleOptions, TriggerMcpClientOptions } from \"../../interfaces\";\nimport { DatabaseSubscriber } from 'src/services/queues/database-subscriber.service';\nimport triggerMcpClientQueueOptions from \"./trigger-mcp-client-queue-options\";\nimport { AiInteractionService } from 'src/services/ai-interaction.service';\nimport { PollerService } from 'src/services/poller.service';\n\n@Injectable()\nexport class TriggerMcpClientSubscriberDatabase extends DatabaseSubscriber<TriggerMcpClientOptions> {\n private readonly triggerMcpClientSubscriberLogger = new Logger(TriggerMcpClientSubscriberDatabase.name);\n\n constructor(\n readonly mqMessageService: MqMessageService,\n readonly mqMessageQueueService: MqMessageQueueService,\n readonly poller: PollerService,\n readonly aiInteractionService: AiInteractionService,\n ) {\n super(mqMessageService, mqMessageQueueService, poller);\n }\n\n options(): QueuesModuleOptions {\n return {\n ...triggerMcpClientQueueOptions\n }\n }\n\n async subscribe(message: QueueMessage<TriggerMcpClientOptions>) {\n this.triggerMcpClientSubscriberLogger.debug(`Received message: ${JSON.stringify(message)}`);\n\n const codeGnerationOptions = message.payload;\n\n const aiInteraction = await this.aiInteractionService.findOne(codeGnerationOptions.aiInteractionId, {\n populate: ['user']\n });\n if (!aiInteraction) {\n const m = `Unable to identified the aiInteraction entry that triggered this job... using id: ${codeGnerationOptions.aiInteractionId}`\n this.triggerMcpClientSubscriberLogger.log(m);\n throw new Error(m);\n }\n\n // The message contains the users prompt.\n const prompt = aiInteraction.message;\n\n // Use this to invoke our mcp client\n const aiResponse = await this.aiInteractionService.runMcpPrompt(prompt);\n this.triggerMcpClientSubscriberLogger.log(`aiResponse: `);\n this.triggerMcpClientSubscriberLogger.log(JSON.stringify(aiResponse));\n\n if (!aiResponse.success) {\n this.triggerMcpClientSubscriberLogger.log(`Gen ai has returned with a false status code`);\n\n const errorsStr = aiResponse.errors.join('; ');\n\n await this.aiInteractionService.create({\n userId: aiInteraction.user.id,\n threadId: aiInteraction.threadId,\n parentInteractionId: aiInteraction.id,\n role: 'gen-ai',\n message: '-',\n contentType: aiResponse.content_type,\n errorMessage: errorsStr,\n modelUsed: aiResponse.model,\n responseTimeMs: aiResponse.duration_ms,\n metadata: JSON.stringify(aiResponse),\n isApplied: aiInteraction.isApplied\n });\n\n // update the job entry with failure... raising an error will lead the job to be marked as failed...\n throw new Error(errorsStr);\n }\n else {\n let nestedResponse = aiResponse.response.trim();\n\n await this.aiInteractionService.create({\n userId: aiInteraction.user.id,\n threadId: aiInteraction.threadId,\n parentInteractionId: aiInteraction.id,\n role: 'gen-ai',\n message: nestedResponse,\n contentType: aiResponse.content_type,\n errorMessage: '',\n modelUsed: aiResponse.model,\n responseTimeMs: aiResponse.duration_ms,\n metadata: JSON.stringify(aiResponse),\n isApplied: aiInteraction.isApplied\n });\n }\n\n return aiResponse;\n }\n}\n"]}
1
+ {"version":3,"file":"trigger-mcp-client-subscriber-database.service.js","sourceRoot":"","sources":["../../../src/j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,EAAE,aAAa,CAAC,QAAQ;gBAChC,mBAAmB,EAAE,aAAa,CAAC,EAAE;gBACrC,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,cAAc;gBACvB,WAAW,EAAE,UAAU,CAAC,YAAY;gBACpC,YAAY,EAAE,EAAE;gBAChB,SAAS,EAAE,UAAU,CAAC,KAAK;gBAC3B,cAAc,EAAE,UAAU,CAAC,WAAW;gBACtC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC;gBACpC,SAAS,EAAE,aAAa,CAAC,SAAS;aACrC,CAAC,CAAC;YAGH,IAAI,aAAa,CAAC,WAAW,EAAE,CAAC;gBAC5B,IAAI,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC;YAC3E,CAAC;QACL,CAAC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ,CAAA;AAzFY,gFAAkC;6CAAlC,kCAAkC;IAD9C,IAAA,mBAAU,GAAE;qCAKsB,qCAAgB;QACX,gDAAqB;QACpC,8BAAa;QACC,6CAAoB;GAP9C,kCAAkC,CAyF9C","sourcesContent":["import { Injectable, Logger } from '@nestjs/common';\n\nimport { QueueMessage } from 'src/interfaces/mq';\nimport { MqMessageService } from '../../services/mq-message.service';\nimport { MqMessageQueueService } from '../../services/mq-message-queue.service';\nimport { QueuesModuleOptions, TriggerMcpClientOptions } from \"../../interfaces\";\nimport { DatabaseSubscriber } from 'src/services/queues/database-subscriber.service';\nimport triggerMcpClientQueueOptions from \"./trigger-mcp-client-queue-options\";\nimport { AiInteractionService } from 'src/services/ai-interaction.service';\nimport { PollerService } from 'src/services/poller.service';\n\n@Injectable()\nexport class TriggerMcpClientSubscriberDatabase extends DatabaseSubscriber<TriggerMcpClientOptions> {\n private readonly triggerMcpClientSubscriberLogger = new Logger(TriggerMcpClientSubscriberDatabase.name);\n\n constructor(\n readonly mqMessageService: MqMessageService,\n readonly mqMessageQueueService: MqMessageQueueService,\n readonly poller: PollerService,\n readonly aiInteractionService: AiInteractionService,\n ) {\n super(mqMessageService, mqMessageQueueService, poller);\n }\n\n options(): QueuesModuleOptions {\n return {\n ...triggerMcpClientQueueOptions\n }\n }\n\n async subscribe(message: QueueMessage<TriggerMcpClientOptions>) {\n this.triggerMcpClientSubscriberLogger.debug(`Received message: ${JSON.stringify(message)}`);\n\n const codeGnerationOptions = message.payload;\n\n const aiInteraction = await this.aiInteractionService.findOne(codeGnerationOptions.aiInteractionId, {\n populate: ['user']\n });\n if (!aiInteraction) {\n const m = `Unable to identified the aiInteraction entry that triggered this job... using id: ${codeGnerationOptions.aiInteractionId}`\n this.triggerMcpClientSubscriberLogger.log(m);\n throw new Error(m);\n }\n\n // The message contains the users prompt.\n const prompt = aiInteraction.message;\n\n // Use this to invoke our mcp client\n // TODO: try / catch ... \n // Handle the rejection gracefully...\n const aiResponse = await this.aiInteractionService.runMcpPrompt(prompt);\n this.triggerMcpClientSubscriberLogger.log(`aiResponse: `);\n this.triggerMcpClientSubscriberLogger.log(JSON.stringify(aiResponse));\n\n if (!aiResponse.success) {\n this.triggerMcpClientSubscriberLogger.log(`Gen ai has returned with a false status code`);\n\n const errorsStr = aiResponse.errors.join('; ');\n\n await this.aiInteractionService.create({\n userId: aiInteraction.user.id,\n threadId: aiInteraction.threadId,\n parentInteractionId: aiInteraction.id,\n role: 'gen-ai',\n message: '-',\n contentType: aiResponse.content_type,\n errorMessage: errorsStr,\n modelUsed: aiResponse.model,\n responseTimeMs: aiResponse.duration_ms,\n metadata: JSON.stringify(aiResponse),\n isApplied: aiInteraction.isApplied\n });\n\n // update the job entry with failure... raising an error will lead the job to be marked as failed...\n throw new Error(errorsStr);\n }\n else {\n let nestedResponse = aiResponse.response.trim();\n\n const genAiInteraction = await this.aiInteractionService.create({\n userId: aiInteraction.user.id,\n threadId: aiInteraction.threadId,\n parentInteractionId: aiInteraction.id,\n role: 'gen-ai',\n message: nestedResponse,\n contentType: aiResponse.content_type,\n errorMessage: '',\n modelUsed: aiResponse.model,\n responseTimeMs: aiResponse.duration_ms,\n metadata: JSON.stringify(aiResponse),\n isApplied: aiInteraction.isApplied\n });\n\n // If the human interaction was with isAutoApply=true, then we can go ahead and autoApply.\n if (aiInteraction.isAutoApply) {\n this.aiInteractionService.applySolidAiInteraction(genAiInteraction.id);\n }\n }\n\n return aiResponse;\n }\n}\n"]}
@@ -0,0 +1,15 @@
1
+ import { CreateScheduledJobDto } from "src/dtos/create-scheduled-job.dto";
2
+ import { ScheduledJob } from "src/entities/scheduled-job.entity";
3
+ import { SolidRegistry } from "src/helpers/solid-registry";
4
+ import { CrudHelperService } from "src/services/crud-helper.service";
5
+ import { DataSource, Repository } from "typeorm";
6
+ export declare class ScheduledJobRepository extends Repository<ScheduledJob> {
7
+ private dataSource;
8
+ private readonly solidRegistry;
9
+ private readonly crudHelperService;
10
+ private readonly logger;
11
+ constructor(dataSource: DataSource, solidRegistry: SolidRegistry, crudHelperService: CrudHelperService);
12
+ toDto(scheduledJob: ScheduledJob): Promise<CreateScheduledJobDto>;
13
+ upsertWithDto(dto: CreateScheduledJobDto): Promise<ScheduledJob>;
14
+ }
15
+ //# sourceMappingURL=scheduled-job.repository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduled-job.repository.d.ts","sourceRoot":"","sources":["../../src/repository/scheduled-job.repository.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAE1E,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAmBjD,qBACa,sBAAuB,SAAQ,UAAU,CAAC,YAAY,CAAC;IAIhE,OAAO,CAAC,UAAU;IAClB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IALpC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2C;gBAGxD,UAAU,EAAE,UAAU,EACb,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,iBAAiB;IAQjD,KAAK,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAoCjE,aAAa,CAAC,GAAG,EAAE,qBAAqB,GAAG,OAAO,CAAC,YAAY,CAAC;CA4BvE"}