@solidxai/core 0.1.19 → 0.1.20-beta.1

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 (162) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/controllers/agent-hub-tag.controller.d.ts +24 -0
  3. package/dist/controllers/agent-hub-tag.controller.d.ts.map +1 -0
  4. package/dist/controllers/agent-hub-tag.controller.js +175 -0
  5. package/dist/controllers/agent-hub-tag.controller.js.map +1 -0
  6. package/dist/controllers/agent-tool-registry.controller.d.ts +18 -0
  7. package/dist/controllers/agent-tool-registry.controller.d.ts.map +1 -1
  8. package/dist/controllers/agent-tool-registry.controller.js +13 -0
  9. package/dist/controllers/agent-tool-registry.controller.js.map +1 -1
  10. package/dist/dtos/create-agent-hub-tag.dto.d.ts +16 -0
  11. package/dist/dtos/create-agent-hub-tag.dto.d.ts.map +1 -0
  12. package/dist/dtos/create-agent-hub-tag.dto.js +98 -0
  13. package/dist/dtos/create-agent-hub-tag.dto.js.map +1 -0
  14. package/dist/dtos/create-agent-registry.dto.d.ts +4 -0
  15. package/dist/dtos/create-agent-registry.dto.d.ts.map +1 -1
  16. package/dist/dtos/create-agent-registry.dto.js +24 -1
  17. package/dist/dtos/create-agent-registry.dto.js.map +1 -1
  18. package/dist/dtos/create-agent-skill-registry.dto.d.ts +4 -1
  19. package/dist/dtos/create-agent-skill-registry.dto.d.ts.map +1 -1
  20. package/dist/dtos/create-agent-skill-registry.dto.js +21 -5
  21. package/dist/dtos/create-agent-skill-registry.dto.js.map +1 -1
  22. package/dist/dtos/create-agent-tool-registry.dto.d.ts +4 -1
  23. package/dist/dtos/create-agent-tool-registry.dto.d.ts.map +1 -1
  24. package/dist/dtos/create-agent-tool-registry.dto.js +24 -8
  25. package/dist/dtos/create-agent-tool-registry.dto.js.map +1 -1
  26. package/dist/dtos/create-email-template.dto.d.ts +2 -0
  27. package/dist/dtos/create-email-template.dto.d.ts.map +1 -1
  28. package/dist/dtos/create-email-template.dto.js +13 -1
  29. package/dist/dtos/create-email-template.dto.js.map +1 -1
  30. package/dist/dtos/create-sms-template.dto.d.ts +2 -0
  31. package/dist/dtos/create-sms-template.dto.d.ts.map +1 -1
  32. package/dist/dtos/create-sms-template.dto.js +13 -1
  33. package/dist/dtos/create-sms-template.dto.js.map +1 -1
  34. package/dist/dtos/update-agent-hub-tag.dto.d.ts +17 -0
  35. package/dist/dtos/update-agent-hub-tag.dto.d.ts.map +1 -0
  36. package/dist/dtos/update-agent-hub-tag.dto.js +104 -0
  37. package/dist/dtos/update-agent-hub-tag.dto.js.map +1 -0
  38. package/dist/dtos/update-agent-registry.dto.d.ts +4 -0
  39. package/dist/dtos/update-agent-registry.dto.d.ts.map +1 -1
  40. package/dist/dtos/update-agent-registry.dto.js +24 -1
  41. package/dist/dtos/update-agent-registry.dto.js.map +1 -1
  42. package/dist/dtos/update-agent-skill-registry.dto.d.ts +4 -1
  43. package/dist/dtos/update-agent-skill-registry.dto.d.ts.map +1 -1
  44. package/dist/dtos/update-agent-skill-registry.dto.js +20 -4
  45. package/dist/dtos/update-agent-skill-registry.dto.js.map +1 -1
  46. package/dist/dtos/update-agent-tool-registry.dto.d.ts +4 -1
  47. package/dist/dtos/update-agent-tool-registry.dto.d.ts.map +1 -1
  48. package/dist/dtos/update-agent-tool-registry.dto.js +24 -8
  49. package/dist/dtos/update-agent-tool-registry.dto.js.map +1 -1
  50. package/dist/entities/agent-hub-tag.entity.d.ts +11 -0
  51. package/dist/entities/agent-hub-tag.entity.d.ts.map +1 -0
  52. package/dist/entities/agent-hub-tag.entity.js +45 -0
  53. package/dist/entities/agent-hub-tag.entity.js.map +1 -0
  54. package/dist/entities/agent-human-request.entity.d.ts.map +1 -1
  55. package/dist/entities/agent-human-request.entity.js +2 -1
  56. package/dist/entities/agent-human-request.entity.js.map +1 -1
  57. package/dist/entities/agent-job.entity.d.ts.map +1 -1
  58. package/dist/entities/agent-job.entity.js +5 -4
  59. package/dist/entities/agent-job.entity.js.map +1 -1
  60. package/dist/entities/agent-process.entity.d.ts.map +1 -1
  61. package/dist/entities/agent-process.entity.js +4 -3
  62. package/dist/entities/agent-process.entity.js.map +1 -1
  63. package/dist/entities/agent-registry.entity.d.ts +2 -0
  64. package/dist/entities/agent-registry.entity.d.ts.map +1 -1
  65. package/dist/entities/agent-registry.entity.js +7 -1
  66. package/dist/entities/agent-registry.entity.js.map +1 -1
  67. package/dist/entities/agent-session.entity.d.ts.map +1 -1
  68. package/dist/entities/agent-session.entity.js +4 -3
  69. package/dist/entities/agent-session.entity.js.map +1 -1
  70. package/dist/entities/agent-skill-registry.entity.d.ts +2 -1
  71. package/dist/entities/agent-skill-registry.entity.d.ts.map +1 -1
  72. package/dist/entities/agent-skill-registry.entity.js +5 -4
  73. package/dist/entities/agent-skill-registry.entity.js.map +1 -1
  74. package/dist/entities/agent-skill.entity.d.ts.map +1 -1
  75. package/dist/entities/agent-skill.entity.js +2 -1
  76. package/dist/entities/agent-skill.entity.js.map +1 -1
  77. package/dist/entities/agent-tool-registry.entity.d.ts +2 -1
  78. package/dist/entities/agent-tool-registry.entity.d.ts.map +1 -1
  79. package/dist/entities/agent-tool-registry.entity.js +7 -6
  80. package/dist/entities/agent-tool-registry.entity.js.map +1 -1
  81. package/dist/entities/agent-tool.entity.d.ts.map +1 -1
  82. package/dist/entities/agent-tool.entity.js +2 -1
  83. package/dist/entities/agent-tool.entity.js.map +1 -1
  84. package/dist/entities/email-template.entity.d.ts +2 -0
  85. package/dist/entities/email-template.entity.d.ts.map +1 -1
  86. package/dist/entities/email-template.entity.js +8 -1
  87. package/dist/entities/email-template.entity.js.map +1 -1
  88. package/dist/entities/secret.entity.js +1 -1
  89. package/dist/entities/secret.entity.js.map +1 -1
  90. package/dist/entities/sms-template.entity.d.ts +2 -0
  91. package/dist/entities/sms-template.entity.d.ts.map +1 -1
  92. package/dist/entities/sms-template.entity.js +8 -1
  93. package/dist/entities/sms-template.entity.js.map +1 -1
  94. package/dist/helpers/typeorm-db-helper.d.ts +1 -0
  95. package/dist/helpers/typeorm-db-helper.d.ts.map +1 -1
  96. package/dist/helpers/typeorm-db-helper.js +30 -0
  97. package/dist/helpers/typeorm-db-helper.js.map +1 -1
  98. package/dist/index.d.ts +6 -0
  99. package/dist/index.d.ts.map +1 -1
  100. package/dist/index.js +6 -0
  101. package/dist/index.js.map +1 -1
  102. package/dist/repository/agent-hub-tag.repository.d.ts +12 -0
  103. package/dist/repository/agent-hub-tag.repository.d.ts.map +1 -0
  104. package/dist/repository/agent-hub-tag.repository.js +39 -0
  105. package/dist/repository/agent-hub-tag.repository.js.map +1 -0
  106. package/dist/seeders/module-metadata-seeder.service.d.ts.map +1 -1
  107. package/dist/seeders/module-metadata-seeder.service.js +2 -0
  108. package/dist/seeders/module-metadata-seeder.service.js.map +1 -1
  109. package/dist/seeders/seed-data/solid-core-metadata.json +408 -30
  110. package/dist/services/agent-hub-tag.service.d.ts +12 -0
  111. package/dist/services/agent-hub-tag.service.d.ts.map +1 -0
  112. package/dist/services/agent-hub-tag.service.js +38 -0
  113. package/dist/services/agent-hub-tag.service.js.map +1 -0
  114. package/dist/services/agent-tool-registry.service.d.ts +23 -1
  115. package/dist/services/agent-tool-registry.service.d.ts.map +1 -1
  116. package/dist/services/agent-tool-registry.service.js +168 -4
  117. package/dist/services/agent-tool-registry.service.js.map +1 -1
  118. package/dist/services/agent-tool-registry.service.spec.js +1 -1
  119. package/dist/services/agent-tool-registry.service.spec.js.map +1 -1
  120. package/dist/services/secret.service.d.ts +1 -0
  121. package/dist/services/secret.service.d.ts.map +1 -1
  122. package/dist/services/secret.service.js +10 -0
  123. package/dist/services/secret.service.js.map +1 -1
  124. package/dist/solid-core.module.d.ts.map +1 -1
  125. package/dist/solid-core.module.js +8 -0
  126. package/dist/solid-core.module.js.map +1 -1
  127. package/package.json +1 -1
  128. package/src/controllers/agent-hub-tag.controller.ts +86 -0
  129. package/src/controllers/agent-tool-registry.controller.ts +6 -0
  130. package/src/dtos/create-agent-hub-tag.dto.ts +70 -0
  131. package/src/dtos/create-agent-registry.dto.ts +20 -0
  132. package/src/dtos/create-agent-skill-registry.dto.ts +19 -4
  133. package/src/dtos/create-agent-tool-registry.dto.ts +21 -6
  134. package/src/dtos/create-email-template.dto.ts +11 -1
  135. package/src/dtos/create-sms-template.dto.ts +11 -1
  136. package/src/dtos/update-agent-hub-tag.dto.ts +75 -0
  137. package/src/dtos/update-agent-registry.dto.ts +20 -0
  138. package/src/dtos/update-agent-skill-registry.dto.ts +17 -3
  139. package/src/dtos/update-agent-tool-registry.dto.ts +20 -6
  140. package/src/entities/agent-hub-tag.entity.ts +21 -0
  141. package/src/entities/agent-human-request.entity.ts +2 -1
  142. package/src/entities/agent-job.entity.ts +5 -4
  143. package/src/entities/agent-process.entity.ts +4 -3
  144. package/src/entities/agent-registry.entity.ts +6 -1
  145. package/src/entities/agent-session.entity.ts +4 -3
  146. package/src/entities/agent-skill-registry.entity.ts +5 -3
  147. package/src/entities/agent-skill.entity.ts +2 -1
  148. package/src/entities/agent-tool-registry.entity.ts +6 -4
  149. package/src/entities/agent-tool.entity.ts +2 -1
  150. package/src/entities/email-template.entity.ts +8 -2
  151. package/src/entities/secret.entity.ts +1 -1
  152. package/src/entities/sms-template.entity.ts +8 -2
  153. package/src/helpers/typeorm-db-helper.ts +34 -0
  154. package/src/index.ts +6 -0
  155. package/src/repository/agent-hub-tag.repository.ts +19 -0
  156. package/src/seeders/module-metadata-seeder.service.ts +6 -0
  157. package/src/seeders/seed-data/solid-core-metadata.json +408 -30
  158. package/src/services/agent-hub-tag.service.ts +19 -0
  159. package/src/services/agent-tool-registry.service.spec.ts +1 -1
  160. package/src/services/agent-tool-registry.service.ts +161 -1
  161. package/src/services/secret.service.ts +10 -0
  162. package/src/solid-core.module.ts +8 -0
@@ -1 +1 @@
1
- {"version":3,"file":"create-agent-skill-registry.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-agent-skill-registry.dto.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,qBAAa,2BAA2B;IAIpC,IAAI,EAAE,MAAM,CAAC;IAKb,IAAI,EAAE,MAAM,CAAY;IAKxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,WAAW,EAAE,MAAM,CAAC;IAKpB,IAAI,EAAE,MAAM,CAAC;IAKb,IAAI,EAAE,MAAM,CAAQ;IAOpB,WAAW,EAAE,mBAAmB,EAAE,CAAC;IAKnC,cAAc,EAAE,MAAM,EAAE,CAAC;IAKzB,kBAAkB,EAAE,MAAM,CAAC;CAC9B"}
1
+ {"version":3,"file":"create-agent-skill-registry.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-agent-skill-registry.dto.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,qBAAa,2BAA2B;IAIpC,IAAI,EAAE,MAAM,CAAC;IAKb,IAAI,EAAE,MAAM,CAAY;IAKxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,WAAW,EAAE,MAAM,CAAC;IAKpB,IAAI,EAAE,MAAM,CAAC;IAOb,IAAI,EAAE,oBAAoB,EAAE,CAAC;IAO7B,OAAO,EAAE,MAAM,EAAE,CAAC;IAKlB,WAAW,EAAE,MAAM,CAAC;IAOpB,WAAW,EAAE,mBAAmB,EAAE,CAAC;IAKnC,cAAc,EAAE,MAAM,EAAE,CAAC;IAKzB,kBAAkB,EAAE,MAAM,CAAC;CAC9B"}
@@ -16,13 +16,13 @@ const class_validator_1 = require("class-validator");
16
16
  const class_validator_2 = require("class-validator");
17
17
  const class_transformer_1 = require("class-transformer");
18
18
  const update_agent_skill_dto_1 = require("./update-agent-skill.dto");
19
+ const update_agent_hub_tag_dto_1 = require("./update-agent-hub-tag.dto");
19
20
  class CreateAgentSkillRegistryDto {
20
21
  constructor() {
21
22
  this.type = "custom";
22
- this.tags = "{}";
23
23
  }
24
24
  static _OPENAPI_METADATA_FACTORY() {
25
- return { name: { required: true, type: () => String }, type: { required: true, type: () => String, default: "custom" }, iconName: { required: false, type: () => String }, description: { required: true, type: () => String }, body: { required: true, type: () => String }, tags: { required: true, type: () => String, default: "{}" }, agentSkills: { required: true, type: () => [require("./update-agent-skill.dto").UpdateAgentSkillDto] }, agentSkillsIds: { required: true, type: () => [Number] }, agentSkillsCommand: { required: true, type: () => String } };
25
+ return { name: { required: true, type: () => String }, type: { required: true, type: () => String, default: "custom" }, iconName: { required: false, type: () => String }, description: { required: true, type: () => String }, body: { required: true, type: () => String }, tags: { required: true, type: () => [require("./update-agent-hub-tag.dto").UpdateAgentHubTagDto] }, tagsIds: { required: true, type: () => [Number] }, tagsCommand: { required: true, type: () => String }, agentSkills: { required: true, type: () => [require("./update-agent-skill.dto").UpdateAgentSkillDto] }, agentSkillsIds: { required: true, type: () => [Number] }, agentSkillsCommand: { required: true, type: () => String } };
26
26
  }
27
27
  }
28
28
  exports.CreateAgentSkillRegistryDto = CreateAgentSkillRegistryDto;
@@ -57,11 +57,27 @@ __decorate([
57
57
  __metadata("design:type", String)
58
58
  ], CreateAgentSkillRegistryDto.prototype, "body", void 0);
59
59
  __decorate([
60
- (0, class_validator_2.IsNotEmpty)(),
60
+ (0, class_validator_2.IsOptional)(),
61
+ (0, swagger_1.ApiProperty)({ required: false }),
62
+ (0, class_validator_2.IsArray)(),
63
+ (0, class_validator_2.ValidateNested)({ each: true }),
64
+ (0, class_transformer_1.Type)(() => update_agent_hub_tag_dto_1.UpdateAgentHubTagDto),
65
+ __metadata("design:type", Array)
66
+ ], CreateAgentSkillRegistryDto.prototype, "tags", void 0);
67
+ __decorate([
68
+ (0, class_validator_2.IsOptional)(),
69
+ (0, class_validator_2.IsArray)(),
70
+ (0, class_transformer_1.Type)(() => Number),
71
+ (0, class_validator_1.IsInt)({ each: true }),
72
+ (0, swagger_1.ApiProperty)({ required: false }),
73
+ __metadata("design:type", Array)
74
+ ], CreateAgentSkillRegistryDto.prototype, "tagsIds", void 0);
75
+ __decorate([
61
76
  (0, class_validator_1.IsString)(),
62
- (0, swagger_1.ApiProperty)(),
77
+ (0, class_validator_2.IsOptional)(),
78
+ (0, swagger_1.ApiProperty)({ required: false }),
63
79
  __metadata("design:type", String)
64
- ], CreateAgentSkillRegistryDto.prototype, "tags", void 0);
80
+ ], CreateAgentSkillRegistryDto.prototype, "tagsCommand", void 0);
65
81
  __decorate([
66
82
  (0, class_validator_2.IsOptional)(),
67
83
  (0, swagger_1.ApiProperty)(),
@@ -1 +1 @@
1
- {"version":3,"file":"create-agent-skill-registry.dto.js","sourceRoot":"","sources":["../../src/dtos/create-agent-skill-registry.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qDAA2C;AAC3C,qDAA0F;AAC1F,yDAAyC;AACzC,qEAA+D;AAE/D,MAAa,2BAA2B;IAAxC;QASI,SAAI,GAAW,QAAQ,CAAC;QAoBxB,SAAI,GAAW,IAAI,CAAC;KAkBvB;;;;CAAA;AA/CD,kEA+CC;AA3CG;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;yDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;yDACU;AAKxB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;6DACf;AAKlB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;gEACM;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;yDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;yDACM;AAOpB;IALC,IAAA,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,4CAAmB,CAAC;;gEACG;AAKnC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,qBAAW,GAAE;;mEACW;AAKzB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;uEACa","sourcesContent":["import { ApiProperty } from '@nestjs/swagger';\nimport { IsString } from 'class-validator';\nimport { IsNotEmpty, IsJSON, ValidateNested, IsArray, IsOptional } from 'class-validator';\nimport { Type } from 'class-transformer';\nimport { UpdateAgentSkillDto } from './update-agent-skill.dto';\n\nexport class CreateAgentSkillRegistryDto {\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n type: string = \"custom\";\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n iconName?: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n description: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n body: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n tags: string = \"{}\";\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentSkillDto)\n agentSkills: UpdateAgentSkillDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentSkillsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentSkillsCommand: string;\n}\n"]}
1
+ {"version":3,"file":"create-agent-skill-registry.dto.js","sourceRoot":"","sources":["../../src/dtos/create-agent-skill-registry.dto.ts"],"names":[],"mappings":";;;;;;;;;;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AAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;gEACb;AAOpB;IALC,IAAA,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,4CAAmB,CAAC;;gEACG;AAKnC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,qBAAW,GAAE;;mEACW;AAKzB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;uEACa","sourcesContent":["import { ApiProperty } from '@nestjs/swagger';\nimport { IsInt, IsString } from 'class-validator';\nimport { IsNotEmpty, IsJSON, ValidateNested, IsArray, IsOptional } from 'class-validator';\nimport { Type } from 'class-transformer';\nimport { UpdateAgentSkillDto } from './update-agent-skill.dto';\nimport { UpdateAgentHubTagDto } from './update-agent-hub-tag.dto';\n\nexport class CreateAgentSkillRegistryDto {\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n type: string = \"custom\";\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n iconName?: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n description: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n body: string;\n\n @IsOptional()\n @ApiProperty({ required: false })\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentHubTagDto)\n tags: UpdateAgentHubTagDto[];\n\n @IsOptional()\n @IsArray()\n @Type(() => Number)\n @IsInt({ each: true })\n @ApiProperty({ required: false })\n tagsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty({ required: false })\n tagsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentSkillDto)\n agentSkills: UpdateAgentSkillDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentSkillsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentSkillsCommand: string;\n}\n"]}
@@ -1,14 +1,17 @@
1
1
  import { UpdateAgentToolDto } from './update-agent-tool.dto';
2
+ import { UpdateAgentHubTagDto } from './update-agent-hub-tag.dto';
2
3
  export declare class CreateAgentToolRegistryDto {
3
4
  name: string;
4
5
  type: string;
5
6
  iconName?: string;
6
7
  description: string;
7
- tags: string;
8
8
  sourceCode: string;
9
9
  checksum?: string;
10
10
  status: string;
11
11
  lastLoadError: string;
12
+ tags: UpdateAgentHubTagDto[];
13
+ tagsIds: number[];
14
+ tagsCommand: string;
12
15
  agentTools: UpdateAgentToolDto[];
13
16
  agentToolsIds: number[];
14
17
  agentToolsCommand: string;
@@ -1 +1 @@
1
- {"version":3,"file":"create-agent-tool-registry.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-agent-tool-registry.dto.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,qBAAa,0BAA0B;IAInC,IAAI,EAAE,MAAM,CAAC;IAKb,IAAI,EAAE,MAAM,CAAC;IAKb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,WAAW,EAAE,MAAM,CAAC;IAKpB,IAAI,EAAE,MAAM,CAAQ;IAKpB,UAAU,EAAE,MAAM,CAAC;IAKnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,MAAM,EAAE,MAAM,CAAc;IAK5B,aAAa,EAAE,MAAM,CAAC;IAOtB,UAAU,EAAE,kBAAkB,EAAE,CAAC;IAKjC,aAAa,EAAE,MAAM,EAAE,CAAC;IAKxB,iBAAiB,EAAE,MAAM,CAAC;CAC7B"}
1
+ {"version":3,"file":"create-agent-tool-registry.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-agent-tool-registry.dto.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,qBAAa,0BAA0B;IAInC,IAAI,EAAE,MAAM,CAAC;IAKb,IAAI,EAAE,MAAM,CAAC;IAKb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,WAAW,EAAE,MAAM,CAAC;IAKpB,UAAU,EAAE,MAAM,CAAC;IAKnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,MAAM,EAAE,MAAM,CAAc;IAK5B,aAAa,EAAE,MAAM,CAAC;IAOtB,IAAI,EAAE,oBAAoB,EAAE,CAAC;IAO7B,OAAO,EAAE,MAAM,EAAE,CAAC;IAKlB,WAAW,EAAE,MAAM,CAAC;IAOpB,UAAU,EAAE,kBAAkB,EAAE,CAAC;IAKjC,aAAa,EAAE,MAAM,EAAE,CAAC;IAKxB,iBAAiB,EAAE,MAAM,CAAC;CAC7B"}
@@ -16,13 +16,13 @@ const class_validator_1 = require("class-validator");
16
16
  const class_validator_2 = require("class-validator");
17
17
  const class_transformer_1 = require("class-transformer");
18
18
  const update_agent_tool_dto_1 = require("./update-agent-tool.dto");
19
+ const update_agent_hub_tag_dto_1 = require("./update-agent-hub-tag.dto");
19
20
  class CreateAgentToolRegistryDto {
20
21
  constructor() {
21
- this.tags = "[]";
22
22
  this.status = "inactive";
23
23
  }
24
24
  static _OPENAPI_METADATA_FACTORY() {
25
- return { name: { required: true, type: () => String }, type: { required: true, type: () => String }, iconName: { required: false, type: () => String }, description: { required: true, type: () => String }, tags: { required: true, type: () => String, default: "[]" }, sourceCode: { required: true, type: () => String }, checksum: { required: false, type: () => String }, status: { required: true, type: () => String, default: "inactive" }, lastLoadError: { required: true, type: () => String }, agentTools: { required: true, type: () => [require("./update-agent-tool.dto").UpdateAgentToolDto] }, agentToolsIds: { required: true, type: () => [Number] }, agentToolsCommand: { required: true, type: () => String } };
25
+ return { name: { required: true, type: () => String }, type: { required: true, type: () => String }, iconName: { required: false, type: () => String }, description: { required: true, type: () => String }, sourceCode: { required: true, type: () => String }, checksum: { required: false, type: () => String }, status: { required: true, type: () => String, default: "inactive" }, lastLoadError: { required: true, type: () => String }, tags: { required: true, type: () => [require("./update-agent-hub-tag.dto").UpdateAgentHubTagDto] }, tagsIds: { required: true, type: () => [Number] }, tagsCommand: { required: true, type: () => String }, agentTools: { required: true, type: () => [require("./update-agent-tool.dto").UpdateAgentToolDto] }, agentToolsIds: { required: true, type: () => [Number] }, agentToolsCommand: { required: true, type: () => String } };
26
26
  }
27
27
  }
28
28
  exports.CreateAgentToolRegistryDto = CreateAgentToolRegistryDto;
@@ -50,12 +50,6 @@ __decorate([
50
50
  (0, swagger_1.ApiProperty)(),
51
51
  __metadata("design:type", String)
52
52
  ], CreateAgentToolRegistryDto.prototype, "description", void 0);
53
- __decorate([
54
- (0, class_validator_2.IsNotEmpty)(),
55
- (0, class_validator_1.IsString)(),
56
- (0, swagger_1.ApiProperty)(),
57
- __metadata("design:type", String)
58
- ], CreateAgentToolRegistryDto.prototype, "tags", void 0);
59
53
  __decorate([
60
54
  (0, class_validator_2.IsNotEmpty)(),
61
55
  (0, class_validator_1.IsString)(),
@@ -80,6 +74,28 @@ __decorate([
80
74
  (0, swagger_1.ApiProperty)(),
81
75
  __metadata("design:type", String)
82
76
  ], CreateAgentToolRegistryDto.prototype, "lastLoadError", void 0);
77
+ __decorate([
78
+ (0, class_validator_2.IsOptional)(),
79
+ (0, swagger_1.ApiProperty)({ required: false }),
80
+ (0, class_validator_2.IsArray)(),
81
+ (0, class_validator_2.ValidateNested)({ each: true }),
82
+ (0, class_transformer_1.Type)(() => update_agent_hub_tag_dto_1.UpdateAgentHubTagDto),
83
+ __metadata("design:type", Array)
84
+ ], CreateAgentToolRegistryDto.prototype, "tags", void 0);
85
+ __decorate([
86
+ (0, class_validator_2.IsOptional)(),
87
+ (0, class_validator_2.IsArray)(),
88
+ (0, class_transformer_1.Type)(() => Number),
89
+ (0, class_validator_1.IsInt)({ each: true }),
90
+ (0, swagger_1.ApiProperty)({ required: false }),
91
+ __metadata("design:type", Array)
92
+ ], CreateAgentToolRegistryDto.prototype, "tagsIds", void 0);
93
+ __decorate([
94
+ (0, class_validator_1.IsString)(),
95
+ (0, class_validator_2.IsOptional)(),
96
+ (0, swagger_1.ApiProperty)({ required: false }),
97
+ __metadata("design:type", String)
98
+ ], CreateAgentToolRegistryDto.prototype, "tagsCommand", void 0);
83
99
  __decorate([
84
100
  (0, class_validator_2.IsOptional)(),
85
101
  (0, swagger_1.ApiProperty)(),
@@ -1 +1 @@
1
- {"version":3,"file":"create-agent-tool-registry.dto.js","sourceRoot":"","sources":["../../src/dtos/create-agent-tool-registry.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qDAA2C;AAC3C,qDAAkF;AAClF,yDAAyC;AACzC,mEAA6D;AAE7D,MAAa,0BAA0B;IAAvC;QAwBI,SAAI,GAAW,IAAI,CAAC;QAepB,WAAM,GAAW,UAAU,CAAC;KAuB/B;;;;CAAA;AA9DD,gEA8DC;AA1DG;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;wDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;wDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;4DACf;AAKlB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;+DACM;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;wDACM;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;8DACK;AAKnB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;4DACf;AAKlB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;0DACc;AAK5B;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;iEACQ;AAOtB;IALC,IAAA,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,0CAAkB,CAAC;;8DACE;AAKjC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,qBAAW,GAAE;;iEACU;AAKxB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;qEACY","sourcesContent":["import { ApiProperty } from '@nestjs/swagger';\nimport { IsString } from 'class-validator';\nimport { IsNotEmpty, IsOptional, ValidateNested, IsArray } from 'class-validator';\nimport { Type } from 'class-transformer';\nimport { UpdateAgentToolDto } from './update-agent-tool.dto';\n\nexport class CreateAgentToolRegistryDto {\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n type: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n iconName?: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n description: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n tags: string = \"[]\";\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n sourceCode: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n checksum?: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n status: string = \"inactive\";\n\n @IsOptional()\n @IsString()\n @ApiProperty()\n lastLoadError: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentToolDto)\n agentTools: UpdateAgentToolDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentToolsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentToolsCommand: string;\n}\n"]}
1
+ {"version":3,"file":"create-agent-tool-registry.dto.js","sourceRoot":"","sources":["../../src/dtos/create-agent-tool-registry.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qDAAkD;AAClD,qDAAkF;AAClF,yDAAyC;AACzC,mEAA6D;AAC7D,yEAAkE;AAElE,MAAa,0BAA0B;IAAvC;QAkCI,WAAM,GAAW,UAAU,CAAC;KA0C/B;;;;CAAA;AA5ED,gEA4EC;AAxEG;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;wDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;wDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;4DACf;AAKlB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;+DACM;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;8DACK;AAKnB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAA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js/swagger';\nimport { IsInt, IsString } from 'class-validator';\nimport { IsNotEmpty, IsOptional, ValidateNested, IsArray } from 'class-validator';\nimport { Type } from 'class-transformer';\nimport { UpdateAgentToolDto } from './update-agent-tool.dto';\nimport { UpdateAgentHubTagDto } from './update-agent-hub-tag.dto';\n\nexport class CreateAgentToolRegistryDto {\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n type: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n iconName?: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n description: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n sourceCode: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n checksum?: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n status: string = \"inactive\";\n\n @IsOptional()\n @IsString()\n @ApiProperty()\n lastLoadError: string;\n\n @IsOptional()\n @ApiProperty({ required: false })\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentHubTagDto)\n tags: UpdateAgentHubTagDto[];\n\n @IsOptional()\n @IsArray()\n @Type(() => Number)\n @IsInt({ each: true })\n @ApiProperty({ required: false })\n tagsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty({ required: false })\n tagsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentToolDto)\n agentTools: UpdateAgentToolDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentToolsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentToolsCommand: string;\n}\n"]}
@@ -8,5 +8,7 @@ export declare class CreateEmailTemplateDto {
8
8
  active: boolean;
9
9
  attachments: CreateEmailAttachmentDto[];
10
10
  type: string;
11
+ moduleId?: number;
12
+ moduleUserKey?: string;
11
13
  }
12
14
  //# sourceMappingURL=create-email-template.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-email-template.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-email-template.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAIzE,qBAAa,sBAAsB;IAK/B,IAAI,EAAE,MAAM,CAAC;IAKb,WAAW,EAAE,MAAM,CAAC;IAKpB,IAAI,EAAE,MAAM,CAAC;IAKb,OAAO,EAAE,MAAM,CAAQ;IAKvB,WAAW,EAAE,MAAM,CAAC;IAKpB,MAAM,EAAE,OAAO,CAAQ;IAMvB,WAAW,EAAE,wBAAwB,EAAE,CAAC;IAKxC,IAAI,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"create-email-template.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-email-template.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAIzE,qBAAa,sBAAsB;IAK/B,IAAI,EAAE,MAAM,CAAC;IAKb,WAAW,EAAE,MAAM,CAAC;IAKpB,IAAI,EAAE,MAAM,CAAC;IAKb,OAAO,EAAE,MAAM,CAAQ;IAKvB,WAAW,EAAE,MAAM,CAAC;IAKpB,MAAM,EAAE,OAAO,CAAQ;IAMvB,WAAW,EAAE,wBAAwB,EAAE,CAAC;IAKxC,IAAI,EAAE,MAAM,CAAC;IAKb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B"}
@@ -21,7 +21,7 @@ class CreateEmailTemplateDto {
21
21
  this.active = true;
22
22
  }
23
23
  static _OPENAPI_METADATA_FACTORY() {
24
- return { name: { required: true, type: () => String, pattern: "/[a-z]+(-[a-z]+)*/" }, displayName: { required: true, type: () => String }, body: { required: true, type: () => String }, subject: { required: true, type: () => String, default: "{}" }, description: { required: true, type: () => String }, active: { required: true, type: () => Boolean, default: true }, attachments: { required: true, type: () => [require("./create-email-attachment.dto").CreateEmailAttachmentDto] }, type: { required: true, type: () => String } };
24
+ return { name: { required: true, type: () => String, pattern: "/[a-z]+(-[a-z]+)*/" }, displayName: { required: true, type: () => String }, body: { required: true, type: () => String }, subject: { required: true, type: () => String, default: "{}" }, description: { required: true, type: () => String }, active: { required: true, type: () => Boolean, default: true }, attachments: { required: true, type: () => [require("./create-email-attachment.dto").CreateEmailAttachmentDto] }, type: { required: true, type: () => String }, moduleId: { required: false, type: () => Number }, moduleUserKey: { required: false, type: () => String } };
25
25
  }
26
26
  }
27
27
  exports.CreateEmailTemplateDto = CreateEmailTemplateDto;
@@ -75,4 +75,16 @@ __decorate([
75
75
  (0, swagger_1.ApiProperty)(),
76
76
  __metadata("design:type", String)
77
77
  ], CreateEmailTemplateDto.prototype, "type", void 0);
78
+ __decorate([
79
+ (0, class_validator_1.IsOptional)(),
80
+ (0, class_validator_1.IsInt)(),
81
+ (0, swagger_1.ApiProperty)({ required: false, description: 'Related module id' }),
82
+ __metadata("design:type", Number)
83
+ ], CreateEmailTemplateDto.prototype, "moduleId", void 0);
84
+ __decorate([
85
+ (0, class_validator_1.IsOptional)(),
86
+ (0, class_validator_1.IsString)(),
87
+ (0, swagger_1.ApiProperty)({ required: false, description: 'Related module user key' }),
88
+ __metadata("design:type", String)
89
+ ], CreateEmailTemplateDto.prototype, "moduleUserKey", void 0);
78
90
  //# sourceMappingURL=create-email-template.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-email-template.dto.js","sourceRoot":"","sources":["../../src/dtos/create-email-template.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAA+I;AAC/I,+EAAyE;AACzE,yDAAyC;AACzC,6CAA8C;AAE9C,MAAa,sBAAsB;IAAnC;QAoBI,YAAO,GAAW,IAAI,CAAC;QAUvB,WAAM,GAAY,IAAI,CAAC;KAY1B;;8WAZqB,IAAI;;CAYzB;AA1CD,wDA0CC;AArCG;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,EAAC,kBAAkB,CAAC;IAC3B,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;oDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;2DACM;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;oDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;uDACS;AAKvB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;2DACM;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,qBAAW,GAAE;;sDACS;AAMvB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sDAAwB,CAAC;;2DACG;AAKxC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;oDACD","sourcesContent":["import { IsArray, IsBoolean, IsEmail, IsNotEmpty, IsOptional, MaxLength, MinLength, ValidateNested, Matches, IsString } from 'class-validator';\nimport { CreateEmailAttachmentDto } from './create-email-attachment.dto';\nimport { Type } from 'class-transformer';\nimport { ApiProperty } from '@nestjs/swagger';\n\nexport class CreateEmailTemplateDto {\n @IsNotEmpty()\n @Matches(/[a-z]+(-[a-z]+)*/)\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n displayName: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n body: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n subject: string = \"{}\";\n\n @IsOptional()\n @IsString()\n @ApiProperty()\n description: string;\n\n @IsOptional()\n @IsBoolean()\n @ApiProperty()\n active: boolean = true;\n\n @IsOptional()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => CreateEmailAttachmentDto)\n attachments: CreateEmailAttachmentDto[];\n\n @IsOptional()\n @IsString()\n @ApiProperty()\n type: string;\n}\n"]}
1
+ {"version":3,"file":"create-email-template.dto.js","sourceRoot":"","sources":["../../src/dtos/create-email-template.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAAsJ;AACtJ,+EAAyE;AACzE,yDAAyC;AACzC,6CAA8C;AAE9C,MAAa,sBAAsB;IAAnC;QAoBI,YAAO,GAAW,IAAI,CAAC;QAUvB,WAAM,GAAY,IAAI,CAAC;KAsB1B;;8WAtBqB,IAAI;;CAsBzB;AApDD,wDAoDC;AA/CG;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,EAAC,kBAAkB,CAAC;IAC3B,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;oDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;2DACM;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;oDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;uDACS;AAKvB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;2DACM;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,qBAAW,GAAE;;sDACS;AAMvB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sDAAwB,CAAC;;2DACG;AAKxC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;oDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,CAAC;;wDACjD;AAKlB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE,yBAAyB,EAAE,CAAC;;6DAClD","sourcesContent":["import { IsArray, IsBoolean, IsEmail, IsNotEmpty, IsOptional, MaxLength, MinLength, ValidateNested, Matches, IsString, IsInt } from 'class-validator';\nimport { CreateEmailAttachmentDto } from './create-email-attachment.dto';\nimport { Type } from 'class-transformer';\nimport { ApiProperty } from '@nestjs/swagger';\n\nexport class CreateEmailTemplateDto {\n @IsNotEmpty()\n @Matches(/[a-z]+(-[a-z]+)*/)\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n displayName: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n body: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n subject: string = \"{}\";\n\n @IsOptional()\n @IsString()\n @ApiProperty()\n description: string;\n\n @IsOptional()\n @IsBoolean()\n @ApiProperty()\n active: boolean = true;\n\n @IsOptional()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => CreateEmailAttachmentDto)\n attachments: CreateEmailAttachmentDto[];\n\n @IsOptional()\n @IsString()\n @ApiProperty()\n type: string;\n\n @IsOptional()\n @IsInt()\n @ApiProperty({ required: false, description: 'Related module id' })\n moduleId?: number;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false, description: 'Related module user key' })\n moduleUserKey?: string;\n}\n"]}
@@ -6,5 +6,7 @@ export declare class CreateSmsTemplateDto {
6
6
  description: string;
7
7
  active: boolean;
8
8
  type: string;
9
+ moduleId?: number;
10
+ moduleUserKey?: string;
9
11
  }
10
12
  //# sourceMappingURL=create-sms-template.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-sms-template.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-sms-template.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,oBAAoB;IAK7B,IAAI,EAAE,MAAM,CAAC;IAKb,WAAW,EAAE,MAAM,CAAC;IAKpB,IAAI,EAAE,MAAM,CAAC;IAKb,qBAAqB,EAAE,MAAM,CAAC;IAK9B,WAAW,EAAE,MAAM,CAAC;IAKpB,MAAM,EAAE,OAAO,CAAQ;IAKvB,IAAI,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"create-sms-template.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-sms-template.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,oBAAoB;IAK7B,IAAI,EAAE,MAAM,CAAC;IAKb,WAAW,EAAE,MAAM,CAAC;IAKpB,IAAI,EAAE,MAAM,CAAC;IAKb,qBAAqB,EAAE,MAAM,CAAC;IAK9B,WAAW,EAAE,MAAM,CAAC;IAKpB,MAAM,EAAE,OAAO,CAAQ;IAKvB,IAAI,EAAE,MAAM,CAAC;IAKb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B"}
@@ -18,7 +18,7 @@ class CreateSmsTemplateDto {
18
18
  this.active = true;
19
19
  }
20
20
  static _OPENAPI_METADATA_FACTORY() {
21
- return { name: { required: true, type: () => String, pattern: "/[a-z]+(-[a-z]+)*/" }, displayName: { required: true, type: () => String }, body: { required: true, type: () => String }, smsProviderTemplateId: { required: true, type: () => String }, description: { required: true, type: () => String }, active: { required: true, type: () => Boolean, default: true }, type: { required: true, type: () => String } };
21
+ return { name: { required: true, type: () => String, pattern: "/[a-z]+(-[a-z]+)*/" }, displayName: { required: true, type: () => String }, body: { required: true, type: () => String }, smsProviderTemplateId: { required: true, type: () => String }, description: { required: true, type: () => String }, active: { required: true, type: () => Boolean, default: true }, type: { required: true, type: () => String }, moduleId: { required: false, type: () => Number }, moduleUserKey: { required: false, type: () => String } };
22
22
  }
23
23
  }
24
24
  exports.CreateSmsTemplateDto = CreateSmsTemplateDto;
@@ -65,4 +65,16 @@ __decorate([
65
65
  (0, swagger_1.ApiProperty)(),
66
66
  __metadata("design:type", String)
67
67
  ], CreateSmsTemplateDto.prototype, "type", void 0);
68
+ __decorate([
69
+ (0, class_validator_1.IsOptional)(),
70
+ (0, class_validator_1.IsInt)(),
71
+ (0, swagger_1.ApiProperty)({ required: false, description: 'Related module id' }),
72
+ __metadata("design:type", Number)
73
+ ], CreateSmsTemplateDto.prototype, "moduleId", void 0);
74
+ __decorate([
75
+ (0, class_validator_1.IsOptional)(),
76
+ (0, class_validator_1.IsString)(),
77
+ (0, swagger_1.ApiProperty)({ required: false, description: 'Related module user key' }),
78
+ __metadata("design:type", String)
79
+ ], CreateSmsTemplateDto.prototype, "moduleUserKey", void 0);
68
80
  //# sourceMappingURL=create-sms-template.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-sms-template.dto.js","sourceRoot":"","sources":["../../src/dtos/create-sms-template.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAAsH;AACtH,6CAA8C;AAE9C,MAAa,oBAAoB;IAAjC;QA8BI,WAAM,GAAY,IAAI,CAAC;KAM1B;;6WANqB,IAAI;;CAMzB;AApCD,oDAoCC;AA/BG;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,EAAC,kBAAkB,CAAC;IAC3B,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;kDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;yDACM;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;kDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;mEACgB;AAK9B;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;yDACM;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,qBAAW,GAAE;;oDACS;AAKvB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;kDACD","sourcesContent":["import { IsEmail, IsNotEmpty, IsOptional, MaxLength, MinLength, IsString, Matches, IsBoolean } from 'class-validator';\nimport { ApiProperty } from '@nestjs/swagger';\n\nexport class CreateSmsTemplateDto {\n @IsNotEmpty()\n @Matches(/[a-z]+(-[a-z]+)*/)\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n displayName: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty()\n body: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty()\n smsProviderTemplateId: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty()\n description: string;\n\n @IsOptional()\n @IsBoolean()\n @ApiProperty()\n active: boolean = true;\n\n @IsOptional()\n @IsString()\n @ApiProperty()\n type: string;\n}\n"]}
1
+ {"version":3,"file":"create-sms-template.dto.js","sourceRoot":"","sources":["../../src/dtos/create-sms-template.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAA6H;AAC7H,6CAA8C;AAE9C,MAAa,oBAAoB;IAAjC;QA8BI,WAAM,GAAY,IAAI,CAAC;KAgB1B;;6WAhBqB,IAAI;;CAgBzB;AA9CD,oDA8CC;AAzCG;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,EAAC,kBAAkB,CAAC;IAC3B,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;kDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;yDACM;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;kDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;mEACgB;AAK9B;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;yDACM;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,qBAAW,GAAE;;oDACS;AAKvB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;kDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,CAAC;;sDACjD;AAKlB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE,yBAAyB,EAAE,CAAC;;2DAClD","sourcesContent":["import { IsEmail, IsNotEmpty, IsOptional, MaxLength, MinLength, IsString, Matches, IsBoolean, IsInt } from 'class-validator';\nimport { ApiProperty } from '@nestjs/swagger';\n\nexport class CreateSmsTemplateDto {\n @IsNotEmpty()\n @Matches(/[a-z]+(-[a-z]+)*/)\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsNotEmpty()\n @IsString()\n @ApiProperty()\n displayName: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty()\n body: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty()\n smsProviderTemplateId: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty()\n description: string;\n\n @IsOptional()\n @IsBoolean()\n @ApiProperty()\n active: boolean = true;\n\n @IsOptional()\n @IsString()\n @ApiProperty()\n type: string;\n\n @IsOptional()\n @IsInt()\n @ApiProperty({ required: false, description: 'Related module id' })\n moduleId?: number;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false, description: 'Related module user key' })\n moduleUserKey?: string;\n}\n"]}
@@ -0,0 +1,17 @@
1
+ import { UpdateAgentSkillRegistryDto } from './update-agent-skill-registry.dto';
2
+ import { UpdateAgentToolRegistryDto } from './update-agent-tool-registry.dto';
3
+ import { UpdateAgentRegistryDto } from './update-agent-registry.dto';
4
+ export declare class UpdateAgentHubTagDto {
5
+ id: number;
6
+ name: string;
7
+ skills: UpdateAgentSkillRegistryDto[];
8
+ skillsIds: number[];
9
+ skillsCommand: string;
10
+ tools: UpdateAgentToolRegistryDto[];
11
+ toolsIds: number[];
12
+ toolsCommand: string;
13
+ agents: UpdateAgentRegistryDto[];
14
+ agentsIds: number[];
15
+ agentsCommand: string;
16
+ }
17
+ //# sourceMappingURL=update-agent-hub-tag.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-agent-hub-tag.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-agent-hub-tag.dto.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,qBAAa,oBAAoB;IAG7B,EAAE,EAAE,MAAM,CAAC;IAMX,IAAI,EAAE,MAAM,CAAC;IAOb,MAAM,EAAE,2BAA2B,EAAE,CAAC;IAOtC,SAAS,EAAE,MAAM,EAAE,CAAC;IAKpB,aAAa,EAAE,MAAM,CAAC;IAOtB,KAAK,EAAE,0BAA0B,EAAE,CAAC;IAOpC,QAAQ,EAAE,MAAM,EAAE,CAAC;IAKnB,YAAY,EAAE,MAAM,CAAC;IAOrB,MAAM,EAAE,sBAAsB,EAAE,CAAC;IAOjC,SAAS,EAAE,MAAM,EAAE,CAAC;IAKpB,aAAa,EAAE,MAAM,CAAC;CACzB"}
@@ -0,0 +1,104 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.UpdateAgentHubTagDto = void 0;
13
+ const openapi = require("@nestjs/swagger");
14
+ const swagger_1 = require("@nestjs/swagger");
15
+ const class_transformer_1 = require("class-transformer");
16
+ const class_validator_1 = require("class-validator");
17
+ const update_agent_skill_registry_dto_1 = require("./update-agent-skill-registry.dto");
18
+ const update_agent_tool_registry_dto_1 = require("./update-agent-tool-registry.dto");
19
+ const update_agent_registry_dto_1 = require("./update-agent-registry.dto");
20
+ class UpdateAgentHubTagDto {
21
+ static _OPENAPI_METADATA_FACTORY() {
22
+ return { id: { required: true, type: () => Number }, name: { required: true, type: () => String }, skills: { required: true, type: () => [require("./update-agent-skill-registry.dto").UpdateAgentSkillRegistryDto] }, skillsIds: { required: true, type: () => [Number] }, skillsCommand: { required: true, type: () => String }, tools: { required: true, type: () => [require("./update-agent-tool-registry.dto").UpdateAgentToolRegistryDto] }, toolsIds: { required: true, type: () => [Number] }, toolsCommand: { required: true, type: () => String }, agents: { required: true, type: () => [require("./update-agent-registry.dto").UpdateAgentRegistryDto] }, agentsIds: { required: true, type: () => [Number] }, agentsCommand: { required: true, type: () => String } };
23
+ }
24
+ }
25
+ exports.UpdateAgentHubTagDto = UpdateAgentHubTagDto;
26
+ __decorate([
27
+ (0, class_validator_1.IsOptional)(),
28
+ (0, class_validator_1.IsInt)(),
29
+ __metadata("design:type", Number)
30
+ ], UpdateAgentHubTagDto.prototype, "id", void 0);
31
+ __decorate([
32
+ (0, class_validator_1.IsOptional)(),
33
+ (0, class_validator_1.IsNotEmpty)(),
34
+ (0, class_validator_1.IsString)(),
35
+ (0, swagger_1.ApiProperty)({ required: false }),
36
+ __metadata("design:type", String)
37
+ ], UpdateAgentHubTagDto.prototype, "name", void 0);
38
+ __decorate([
39
+ (0, class_validator_1.IsOptional)(),
40
+ (0, class_validator_1.IsArray)(),
41
+ (0, class_validator_1.ValidateNested)({ each: true }),
42
+ (0, class_transformer_1.Type)(() => update_agent_skill_registry_dto_1.UpdateAgentSkillRegistryDto),
43
+ (0, swagger_1.ApiProperty)({ required: false }),
44
+ __metadata("design:type", Array)
45
+ ], UpdateAgentHubTagDto.prototype, "skills", void 0);
46
+ __decorate([
47
+ (0, class_validator_1.IsOptional)(),
48
+ (0, class_validator_1.IsArray)(),
49
+ (0, class_transformer_1.Type)(() => Number),
50
+ (0, class_validator_1.IsInt)({ each: true }),
51
+ (0, swagger_1.ApiProperty)({ required: false }),
52
+ __metadata("design:type", Array)
53
+ ], UpdateAgentHubTagDto.prototype, "skillsIds", void 0);
54
+ __decorate([
55
+ (0, class_validator_1.IsOptional)(),
56
+ (0, class_validator_1.IsString)(),
57
+ (0, swagger_1.ApiProperty)({ required: false }),
58
+ __metadata("design:type", String)
59
+ ], UpdateAgentHubTagDto.prototype, "skillsCommand", void 0);
60
+ __decorate([
61
+ (0, class_validator_1.IsOptional)(),
62
+ (0, class_validator_1.IsArray)(),
63
+ (0, class_validator_1.ValidateNested)({ each: true }),
64
+ (0, class_transformer_1.Type)(() => update_agent_tool_registry_dto_1.UpdateAgentToolRegistryDto),
65
+ (0, swagger_1.ApiProperty)({ required: false }),
66
+ __metadata("design:type", Array)
67
+ ], UpdateAgentHubTagDto.prototype, "tools", void 0);
68
+ __decorate([
69
+ (0, class_validator_1.IsOptional)(),
70
+ (0, class_validator_1.IsArray)(),
71
+ (0, class_transformer_1.Type)(() => Number),
72
+ (0, class_validator_1.IsInt)({ each: true }),
73
+ (0, swagger_1.ApiProperty)({ required: false }),
74
+ __metadata("design:type", Array)
75
+ ], UpdateAgentHubTagDto.prototype, "toolsIds", void 0);
76
+ __decorate([
77
+ (0, class_validator_1.IsOptional)(),
78
+ (0, class_validator_1.IsString)(),
79
+ (0, swagger_1.ApiProperty)({ required: false }),
80
+ __metadata("design:type", String)
81
+ ], UpdateAgentHubTagDto.prototype, "toolsCommand", void 0);
82
+ __decorate([
83
+ (0, class_validator_1.IsOptional)(),
84
+ (0, class_validator_1.IsArray)(),
85
+ (0, class_validator_1.ValidateNested)({ each: true }),
86
+ (0, class_transformer_1.Type)(() => update_agent_registry_dto_1.UpdateAgentRegistryDto),
87
+ (0, swagger_1.ApiProperty)({ required: false }),
88
+ __metadata("design:type", Array)
89
+ ], UpdateAgentHubTagDto.prototype, "agents", void 0);
90
+ __decorate([
91
+ (0, class_validator_1.IsOptional)(),
92
+ (0, class_validator_1.IsArray)(),
93
+ (0, class_transformer_1.Type)(() => Number),
94
+ (0, class_validator_1.IsInt)({ each: true }),
95
+ (0, swagger_1.ApiProperty)({ required: false }),
96
+ __metadata("design:type", Array)
97
+ ], UpdateAgentHubTagDto.prototype, "agentsIds", void 0);
98
+ __decorate([
99
+ (0, class_validator_1.IsOptional)(),
100
+ (0, class_validator_1.IsString)(),
101
+ (0, swagger_1.ApiProperty)({ required: false }),
102
+ __metadata("design:type", String)
103
+ ], UpdateAgentHubTagDto.prototype, "agentsCommand", void 0);
104
+ //# sourceMappingURL=update-agent-hub-tag.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-agent-hub-tag.dto.js","sourceRoot":"","sources":["../../src/dtos/update-agent-hub-tag.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA8C;AAC9C,yDAAyC;AACzC,qDAAmG;AACnG,uFAAgF;AAChF,qFAA8E;AAC9E,2EAAqE;AAErE,MAAa,oBAAoB;;;;CAmEhC;AAnED,oDAmEC;AAhEG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;gDACG;AAMX;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;kDACpB;AAOb;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6DAA2B,CAAC;IACvC,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;oDACK;AAOtC;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACrB,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;uDACb;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;2DACX;AAOtB;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC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pty, IsOptional, IsString, ValidateNested } from 'class-validator';\nimport { UpdateAgentSkillRegistryDto } from './update-agent-skill-registry.dto';\nimport { UpdateAgentToolRegistryDto } from './update-agent-tool-registry.dto';\nimport { UpdateAgentRegistryDto } from './update-agent-registry.dto';\n\nexport class UpdateAgentHubTagDto {\n @IsOptional()\n @IsInt()\n id: number;\n\n @IsOptional()\n @IsNotEmpty()\n @IsString()\n @ApiProperty({ required: false })\n name: string;\n\n @IsOptional()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentSkillRegistryDto)\n @ApiProperty({ required: false })\n skills: UpdateAgentSkillRegistryDto[];\n\n @IsOptional()\n @IsArray()\n @Type(() => Number)\n @IsInt({ each: true })\n @ApiProperty({ required: false })\n skillsIds: number[];\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n skillsCommand: string;\n\n @IsOptional()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentToolRegistryDto)\n @ApiProperty({ required: false })\n tools: UpdateAgentToolRegistryDto[];\n\n @IsOptional()\n @IsArray()\n @Type(() => Number)\n @IsInt({ each: true })\n @ApiProperty({ required: false })\n toolsIds: number[];\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n toolsCommand: string;\n\n @IsOptional()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentRegistryDto)\n @ApiProperty({ required: false })\n agents: UpdateAgentRegistryDto[];\n\n @IsOptional()\n @IsArray()\n @Type(() => Number)\n @IsInt({ each: true })\n @ApiProperty({ required: false })\n agentsIds: number[];\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n agentsCommand: string;\n}\n"]}
@@ -5,6 +5,7 @@ import { UpdateAgentSecretDto } from './update-agent-secret.dto';
5
5
  import { UpdateAgentProcessDto } from './update-agent-process.dto';
6
6
  import { UpdateAgentSessionDto } from './update-agent-session.dto';
7
7
  import { UpdateAgentJobDto } from './update-agent-job.dto';
8
+ import { UpdateAgentHubTagDto } from './update-agent-hub-tag.dto';
8
9
  export declare class UpdateAgentRegistryDto {
9
10
  id: number;
10
11
  name: string;
@@ -20,6 +21,9 @@ export declare class UpdateAgentRegistryDto {
20
21
  turnStepLimit: number;
21
22
  costLimit: number;
22
23
  configVersion?: number;
24
+ tags: UpdateAgentHubTagDto[];
25
+ tagsIds: number[];
26
+ tagsCommand: string;
23
27
  agentTools: UpdateAgentToolDto[];
24
28
  agentToolsIds: number[];
25
29
  agentToolsCommand: string;
@@ -1 +1 @@
1
- {"version":3,"file":"update-agent-registry.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-agent-registry.dto.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,qBAAa,sBAAsB;IAG/B,EAAE,EAAE,MAAM,CAAC;IAMX,IAAI,EAAE,MAAM,CAAC;IAMb,KAAK,EAAE,MAAM,CAAC;IAKd,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAMlB,YAAY,EAAE,MAAM,CAAC;IAMrB,cAAc,EAAE,MAAM,CAAC;IAMvB,iBAAiB,EAAE,MAAM,CAAC;IAM1B,YAAY,EAAE,MAAM,CAAC;IAMrB,MAAM,EAAE,MAAM,CAAC;IAMf,SAAS,EAAE,MAAM,CAAC;IAMlB,aAAa,EAAE,MAAM,CAAC;IAMtB,SAAS,EAAE,MAAM,CAAC;IAKlB,aAAa,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AAM,CAAC;IAO9B,aAAa,EAAE,qBAAqB,EAAE,CAAC;IAKvC,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAK3B,oBAAoB,EAAE,MAAM,CAAC;IAO7B,SAAS,EAAE,iBAAiB,EAAE,CAAC;IAK/B,YAAY,EAAE,MAAM,EAAE,CAAC;IAKvB,gBAAgB,EAAE,MAAM,CAAC;CAC5B"}
@@ -21,9 +21,10 @@ const update_agent_secret_dto_1 = require("./update-agent-secret.dto");
21
21
  const update_agent_process_dto_1 = require("./update-agent-process.dto");
22
22
  const update_agent_session_dto_1 = require("./update-agent-session.dto");
23
23
  const update_agent_job_dto_1 = require("./update-agent-job.dto");
24
+ const update_agent_hub_tag_dto_1 = require("./update-agent-hub-tag.dto");
24
25
  class UpdateAgentRegistryDto {
25
26
  static _OPENAPI_METADATA_FACTORY() {
26
- return { id: { required: true, type: () => Number }, name: { required: true, type: () => String }, title: { required: true, type: () => String }, description: { required: false, type: () => String }, iconName: { required: false, type: () => String }, systemPrompt: { required: true, type: () => String }, requiredInputs: { required: true, type: () => String }, reasoningModelKey: { required: true, type: () => String }, fastModelKey: { required: true, type: () => String }, status: { required: true, type: () => String }, stepLimit: { required: true, type: () => Number }, turnStepLimit: { required: true, type: () => Number }, costLimit: { required: true, type: () => Number }, configVersion: { required: false, type: () => Number }, agentTools: { required: true, type: () => [require("./update-agent-tool.dto").UpdateAgentToolDto] }, agentToolsIds: { required: true, type: () => [Number] }, agentToolsCommand: { required: true, type: () => String }, agentSkills: { required: true, type: () => [require("./update-agent-skill.dto").UpdateAgentSkillDto] }, agentSkillsIds: { required: true, type: () => [Number] }, agentSkillsCommand: { required: true, type: () => String }, agentRoles: { required: true, type: () => [require("./update-agent-role.dto").UpdateAgentRoleDto] }, agentRolesIds: { required: true, type: () => [Number] }, agentRolesCommand: { required: true, type: () => String }, agentSecrets: { required: true, type: () => [require("./update-agent-secret.dto").UpdateAgentSecretDto] }, agentSecretsIds: { required: true, type: () => [Number] }, agentSecretsCommand: { required: true, type: () => String }, agentProcesses: { required: true, type: () => [require("./update-agent-process.dto").UpdateAgentProcessDto] }, agentProcessesIds: { required: true, type: () => [Number] }, agentProcessesCommand: { required: true, type: () => String }, agentSessions: { required: true, type: () => [require("./update-agent-session.dto").UpdateAgentSessionDto] }, agentSessionsIds: { required: true, type: () => [Number] }, agentSessionsCommand: { required: true, type: () => String }, agentJobs: { required: true, type: () => [require("./update-agent-job.dto").UpdateAgentJobDto] }, agentJobsIds: { required: true, type: () => [Number] }, agentJobsCommand: { required: true, type: () => String } };
27
+ return { id: { required: true, type: () => Number }, name: { required: true, type: () => String }, title: { required: true, type: () => String }, description: { required: false, type: () => String }, iconName: { required: false, type: () => String }, systemPrompt: { required: true, type: () => String }, requiredInputs: { required: true, type: () => String }, reasoningModelKey: { required: true, type: () => String }, fastModelKey: { required: true, type: () => String }, status: { required: true, type: () => String }, stepLimit: { required: true, type: () => Number }, turnStepLimit: { required: true, type: () => Number }, costLimit: { required: true, type: () => Number }, configVersion: { required: false, type: () => Number }, tags: { required: true, type: () => [require("./update-agent-hub-tag.dto").UpdateAgentHubTagDto] }, tagsIds: { required: true, type: () => [Number] }, tagsCommand: { required: true, type: () => String }, agentTools: { required: true, type: () => [require("./update-agent-tool.dto").UpdateAgentToolDto] }, agentToolsIds: { required: true, type: () => [Number] }, agentToolsCommand: { required: true, type: () => String }, agentSkills: { required: true, type: () => [require("./update-agent-skill.dto").UpdateAgentSkillDto] }, agentSkillsIds: { required: true, type: () => [Number] }, agentSkillsCommand: { required: true, type: () => String }, agentRoles: { required: true, type: () => [require("./update-agent-role.dto").UpdateAgentRoleDto] }, agentRolesIds: { required: true, type: () => [Number] }, agentRolesCommand: { required: true, type: () => String }, agentSecrets: { required: true, type: () => [require("./update-agent-secret.dto").UpdateAgentSecretDto] }, agentSecretsIds: { required: true, type: () => [Number] }, agentSecretsCommand: { required: true, type: () => String }, agentProcesses: { required: true, type: () => [require("./update-agent-process.dto").UpdateAgentProcessDto] }, agentProcessesIds: { required: true, type: () => [Number] }, agentProcessesCommand: { required: true, type: () => String }, agentSessions: { required: true, type: () => [require("./update-agent-session.dto").UpdateAgentSessionDto] }, agentSessionsIds: { required: true, type: () => [Number] }, agentSessionsCommand: { required: true, type: () => String }, agentJobs: { required: true, type: () => [require("./update-agent-job.dto").UpdateAgentJobDto] }, agentJobsIds: { required: true, type: () => [Number] }, agentJobsCommand: { required: true, type: () => String } };
27
28
  }
28
29
  }
29
30
  exports.UpdateAgentRegistryDto = UpdateAgentRegistryDto;
@@ -120,6 +121,28 @@ __decorate([
120
121
  (0, swagger_1.ApiProperty)({ required: false }),
121
122
  __metadata("design:type", Number)
122
123
  ], UpdateAgentRegistryDto.prototype, "configVersion", void 0);
124
+ __decorate([
125
+ (0, class_validator_1.IsOptional)(),
126
+ (0, swagger_1.ApiProperty)({ required: false }),
127
+ (0, class_validator_1.IsArray)(),
128
+ (0, class_validator_1.ValidateNested)({ each: true }),
129
+ (0, class_transformer_1.Type)(() => update_agent_hub_tag_dto_1.UpdateAgentHubTagDto),
130
+ __metadata("design:type", Array)
131
+ ], UpdateAgentRegistryDto.prototype, "tags", void 0);
132
+ __decorate([
133
+ (0, class_validator_1.IsOptional)(),
134
+ (0, class_validator_1.IsArray)(),
135
+ (0, class_transformer_1.Type)(() => Number),
136
+ (0, class_validator_1.IsInt)({ each: true }),
137
+ (0, swagger_1.ApiProperty)({ required: false }),
138
+ __metadata("design:type", Array)
139
+ ], UpdateAgentRegistryDto.prototype, "tagsIds", void 0);
140
+ __decorate([
141
+ (0, class_validator_1.IsString)(),
142
+ (0, class_validator_1.IsOptional)(),
143
+ (0, swagger_1.ApiProperty)({ required: false }),
144
+ __metadata("design:type", String)
145
+ ], UpdateAgentRegistryDto.prototype, "tagsCommand", void 0);
123
146
  __decorate([
124
147
  (0, class_validator_1.IsOptional)(),
125
148
  (0, swagger_1.ApiProperty)(),
@@ -1 +1 @@
1
- {"version":3,"file":"update-agent-registry.dto.js","sourceRoot":"","sources":["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B;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;qEACgB;AAO9B;IALC,IAAA,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,gDAAqB,CAAC;;6DACK;AAKvC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,qBAAW,GAAE;;gEACa;AAK3B;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;oEACe;AAO7B;IALC,IAAA,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,wCAAiB,CAAC;;yDACC;AAK/B;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,qBAAW,GAAE;;4DACS;AAKvB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;gEACW","sourcesContent":["import { IsInt,IsOptional, IsString, IsNotEmpty, IsJSON, IsNumber, ValidateNested, IsArray } from 'class-validator';\nimport { ApiProperty } from '@nestjs/swagger';\nimport { Type } from 'class-transformer';\nimport { UpdateAgentToolDto } from './update-agent-tool.dto';\nimport { UpdateAgentSkillDto } from './update-agent-skill.dto';\nimport { UpdateAgentRoleDto } from './update-agent-role.dto';\nimport { UpdateAgentSecretDto } from './update-agent-secret.dto';\nimport { UpdateAgentProcessDto } from './update-agent-process.dto';\nimport { UpdateAgentSessionDto } from './update-agent-session.dto';\nimport { UpdateAgentJobDto } from './update-agent-job.dto';\n\nexport class UpdateAgentRegistryDto {\n @IsOptional()\n @IsInt()\n id: number;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n title: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n description?: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n iconName?: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n systemPrompt: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n requiredInputs: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n reasoningModelKey: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n fastModelKey: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n status: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsInt()\n @ApiProperty()\n stepLimit: number;\n\n @IsNotEmpty()\n @IsOptional()\n @IsInt()\n @ApiProperty()\n turnStepLimit: number;\n\n @IsNotEmpty()\n @IsOptional()\n @IsNumber()\n @ApiProperty()\n costLimit: number;\n\n @IsOptional()\n @IsInt()\n @ApiProperty({ required: false })\n configVersion?: number;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentToolDto)\n agentTools: UpdateAgentToolDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentToolsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentToolsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentSkillDto)\n agentSkills: UpdateAgentSkillDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentSkillsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentSkillsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentRoleDto)\n agentRoles: UpdateAgentRoleDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentRolesIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentRolesCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentSecretDto)\n agentSecrets: UpdateAgentSecretDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentSecretsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentSecretsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentProcessDto)\n agentProcesses: UpdateAgentProcessDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentProcessesIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentProcessesCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentSessionDto)\n agentSessions: UpdateAgentSessionDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentSessionsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentSessionsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentJobDto)\n agentJobs: UpdateAgentJobDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentJobsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentJobsCommand: string;\n}\n"]}
1
+ {"version":3,"file":"update-agent-registry.dto.js","sourceRoot":"","sources":["../../src/dtos/update-agent-registry.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAAoH;AACpH,6CAA8C;AAC9C,yDAAyC;AACzC,mEAA6D;AAC7D,qEAA+D;AAC/D,mEAA6D;AAC7D,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GAAE;;4DACS;AAKvB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;gEACW","sourcesContent":["import { IsInt,IsOptional, IsString, IsNotEmpty, IsJSON, IsNumber, ValidateNested, IsArray } from 'class-validator';\nimport { ApiProperty } from '@nestjs/swagger';\nimport { Type } from 'class-transformer';\nimport { UpdateAgentToolDto } from './update-agent-tool.dto';\nimport { UpdateAgentSkillDto } from './update-agent-skill.dto';\nimport { UpdateAgentRoleDto } from './update-agent-role.dto';\nimport { UpdateAgentSecretDto } from './update-agent-secret.dto';\nimport { UpdateAgentProcessDto } from './update-agent-process.dto';\nimport { UpdateAgentSessionDto } from './update-agent-session.dto';\nimport { UpdateAgentJobDto } from './update-agent-job.dto';\nimport { UpdateAgentHubTagDto } from './update-agent-hub-tag.dto';\n\nexport class UpdateAgentRegistryDto {\n @IsOptional()\n @IsInt()\n id: number;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n name: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n title: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n description?: string;\n\n @IsOptional()\n @IsString()\n @ApiProperty({ required: false })\n iconName?: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n systemPrompt: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n requiredInputs: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n reasoningModelKey: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n fastModelKey: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsString()\n @ApiProperty()\n status: string;\n\n @IsNotEmpty()\n @IsOptional()\n @IsInt()\n @ApiProperty()\n stepLimit: number;\n\n @IsNotEmpty()\n @IsOptional()\n @IsInt()\n @ApiProperty()\n turnStepLimit: number;\n\n @IsNotEmpty()\n @IsOptional()\n @IsNumber()\n @ApiProperty()\n costLimit: number;\n\n @IsOptional()\n @IsInt()\n @ApiProperty({ required: false })\n configVersion?: number;\n\n @IsOptional()\n @ApiProperty({ required: false })\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentHubTagDto)\n tags: UpdateAgentHubTagDto[];\n\n @IsOptional()\n @IsArray()\n @Type(() => Number)\n @IsInt({ each: true })\n @ApiProperty({ required: false })\n tagsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty({ required: false })\n tagsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentToolDto)\n agentTools: UpdateAgentToolDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentToolsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentToolsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentSkillDto)\n agentSkills: UpdateAgentSkillDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentSkillsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentSkillsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentRoleDto)\n agentRoles: UpdateAgentRoleDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentRolesIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentRolesCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentSecretDto)\n agentSecrets: UpdateAgentSecretDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentSecretsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentSecretsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentProcessDto)\n agentProcesses: UpdateAgentProcessDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentProcessesIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentProcessesCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentSessionDto)\n agentSessions: UpdateAgentSessionDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentSessionsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentSessionsCommand: string;\n\n @IsOptional()\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n @Type(() => UpdateAgentJobDto)\n agentJobs: UpdateAgentJobDto[];\n\n @IsOptional()\n @IsArray()\n @ApiProperty()\n agentJobsIds: number[];\n\n @IsString()\n @IsOptional()\n @ApiProperty()\n agentJobsCommand: string;\n}\n"]}
@@ -1,4 +1,5 @@
1
1
  import { UpdateAgentSkillDto } from './update-agent-skill.dto';
2
+ import { UpdateAgentHubTagDto } from './update-agent-hub-tag.dto';
2
3
  export declare class UpdateAgentSkillRegistryDto {
3
4
  id: number;
4
5
  name: string;
@@ -6,7 +7,9 @@ export declare class UpdateAgentSkillRegistryDto {
6
7
  iconName?: string;
7
8
  description: string;
8
9
  body: string;
9
- tags: string;
10
+ tags: UpdateAgentHubTagDto[];
11
+ tagsIds: number[];
12
+ tagsCommand: string;
10
13
  agentSkills: UpdateAgentSkillDto[];
11
14
  agentSkillsIds: number[];
12
15
  agentSkillsCommand: string;
@@ -1 +1 @@
1
- {"version":3,"file":"update-agent-skill-registry.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-agent-skill-registry.dto.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,qBAAa,2BAA2B;IAGpC,EAAE,EAAE,MAAM,CAAC;IAMX,IAAI,EAAE,MAAM,CAAC;IAMb,IAAI,EAAE,MAAM,CAAC;IAKb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAMlB,WAAW,EAAE,MAAM,CAAC;IAMpB,IAAI,EAAE,MAAM,CAAC;IAMb,IAAI,EAAE,MAAM,CAAC;IAOb,WAAW,EAAE,mBAAmB,EAAE,CAAC;IAKnC,cAAc,EAAE,MAAM,EAAE,CAAC;IAKzB,kBAAkB,EAAE,MAAM,CAAC;CAC9B"}
1
+ {"version":3,"file":"update-agent-skill-registry.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-agent-skill-registry.dto.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,qBAAa,2BAA2B;IAGpC,EAAE,EAAE,MAAM,CAAC;IAMX,IAAI,EAAE,MAAM,CAAC;IAMb,IAAI,EAAE,MAAM,CAAC;IAKb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAMlB,WAAW,EAAE,MAAM,CAAC;IAMpB,IAAI,EAAE,MAAM,CAAC;IAOb,IAAI,EAAE,oBAAoB,EAAE,CAAC;IAO7B,OAAO,EAAE,MAAM,EAAE,CAAC;IAKlB,WAAW,EAAE,MAAM,CAAC;IAOpB,WAAW,EAAE,mBAAmB,EAAE,CAAC;IAKnC,cAAc,EAAE,MAAM,EAAE,CAAC;IAKzB,kBAAkB,EAAE,MAAM,CAAC;CAC9B"}