{"_id":"@ai-workflow-pack/dtos","_rev":"2-ce567d5ad335b00e495d93c122df4e12","name":"@ai-workflow-pack/dtos","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@ai-workflow-pack/dtos","version":"1.0.0","keywords":["ai-workflow-pack","dtos","validation","typescript"],"author":{"name":"AI Workflow Team"},"license":"MIT","_id":"@ai-workflow-pack/dtos@1.0.0","maintainers":[{"name":"sampath1983jan","email":"sampath1983jan@gmail.com"}],"homepage":"https://github.com/ai-workflow-platform/ai-workflow-shared-dtos#readme","bugs":{"url":"https://github.com/ai-workflow-platform/ai-workflow-shared-dtos/issues"},"dist":{"shasum":"272bfee4f3bdbf65e6a10aef0ac2858e6a1e08b4","tarball":"https://registry.npmjs.org/@ai-workflow-pack/dtos/-/dtos-1.0.0.tgz","fileCount":85,"integrity":"sha512-bnlNZk8iN4ANWUZqvI3rtLBZ8wP/5x4hI5OjePKJWx0oqHKPmk60zkVhX9pMoII2JDdRQYRpxOltKRVDZFvXJA==","signatures":[{"sig":"MEUCIQDoqVd6Z6frEGgHIXt6dydNK6UKPu22rA1T9/7C7OAOMwIgOvAVeVE7rh4i0mPQRJ60g26yzjR94pRHQB9dzTO4ruc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":143475},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"npm":">=9.0.0","node":">=18.0.0"},"gitHead":"b9bc3143e79293a4e03d8fd8ebd796fa99af2778","scripts":{"lint":"eslint \"{src}/**/*.ts\"","build":"tsc","format":"prettier --write \"src/**/*.ts\"","lint:fix":"eslint \"{src}/**/*.ts\" --fix","build:watch":"tsc --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"sampath1983jan","email":"sampath1983jan@gmail.com"},"repository":{"url":"git+https://github.com/ai-workflow-platform/ai-workflow-shared-dtos.git","type":"git"},"_npmVersion":"11.6.2","description":"Data Transfer Objects (DTOs) for AI Workflow services","directories":{},"_nodeVersion":"24.11.1","dependencies":{"class-validator":"^0.14.0","class-transformer":"^0.5.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.42.0","prettier":"^3.0.0","typescript":"^5.1.3","@types/node":"^20.0.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","@typescript-eslint/parser":"^6.0.0","@typescript-eslint/eslint-plugin":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/dtos_1.0.0_1764964587170_0.38660322515480283","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@ai-workflow-pack/dtos","version":"1.0.1","description":"Data Transfer Objects (DTOs) for AI Workflow services","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","build:watch":"tsc --watch","lint":"eslint \"{src}/**/*.ts\"","lint:fix":"eslint \"{src}/**/*.ts\" --fix","format":"prettier --write \"src/**/*.ts\"","prepublishOnly":"npm run build"},"keywords":["ai-workflow-pack","dtos","validation","typescript"],"author":{"name":"AI Workflow Team"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ai-workflow-platform/ai-workflow-shared-dtos.git"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"dependencies":{"class-validator":"^0.14.0","class-transformer":"^0.5.1"},"devDependencies":{"@types/node":"^20.0.0","@typescript-eslint/eslint-plugin":"^6.0.0","@typescript-eslint/parser":"^6.0.0","eslint":"^8.42.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","prettier":"^3.0.0","typescript":"^5.1.3"},"engines":{"node":">=18.0.0","npm":">=9.0.0"},"gitHead":"b9bc3143e79293a4e03d8fd8ebd796fa99af2778","_id":"@ai-workflow-pack/dtos@1.0.1","bugs":{"url":"https://github.com/ai-workflow-platform/ai-workflow-shared-dtos/issues"},"homepage":"https://github.com/ai-workflow-platform/ai-workflow-shared-dtos#readme","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-3irteB/HisMff0g09q/+bcSxQqujii9bhlyvVWVoRo/5X4gpK8elPap9uC4yedxi8g+x3fWtZCNjO60o5rcvNw==","shasum":"e2ba69207e832fd46e7462032803aba3ce756d53","tarball":"https://registry.npmjs.org/@ai-workflow-pack/dtos/-/dtos-1.0.1.tgz","fileCount":85,"unpackedSize":143563,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIE9Bq01zRpvg2vmrezmlb8/jc93HSlVcYvwFn3hpHPm6AiBLucvQBhBAOsXZ/POVUCTBdCWGFQisFTzBP0RckHQ4og=="}]},"_npmUser":{"name":"sampath1983jan","email":"sampath1983jan@gmail.com"},"directories":{},"maintainers":[{"name":"sampath1983jan","email":"sampath1983jan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dtos_1.0.1_1764964788671_0.03847774637769241"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-05T19:56:27.053Z","modified":"2025-12-05T19:59:49.071Z","1.0.0":"2025-12-05T19:56:27.334Z","1.0.1":"2025-12-05T19:59:48.840Z"},"bugs":{"url":"https://github.com/ai-workflow-platform/ai-workflow-shared-dtos/issues"},"author":{"name":"AI Workflow Team"},"license":"MIT","homepage":"https://github.com/ai-workflow-platform/ai-workflow-shared-dtos#readme","keywords":["ai-workflow-pack","dtos","validation","typescript"],"repository":{"type":"git","url":"git+https://github.com/ai-workflow-platform/ai-workflow-shared-dtos.git"},"description":"Data Transfer Objects (DTOs) for AI Workflow services","maintainers":[{"name":"sampath1983jan","email":"sampath1983jan@gmail.com"}],"readme":"# @ai-workflow/dtos\r\n\r\nData Transfer Objects (DTOs) with validation decorators for AI Workflow microservices.\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @ai-workflow/dtos\r\n```\r\n\r\n## Usage\r\n\r\n```typescript\r\nimport { CreateWorkflowDto, UpdateWorkflowDto } from '@ai-workflow/dtos';\r\nimport { validate } from 'class-validator';\r\n\r\nconst dto = new CreateWorkflowDto();\r\ndto.name = 'My Workflow';\r\ndto.description = 'Workflow description';\r\n\r\nconst errors = await validate(dto);\r\nif (errors.length > 0) {\r\n  console.log('Validation failed:', errors);\r\n}\r\n```\r\n\r\n## Available DTOs\r\n\r\n### Auth\r\n- `LoginDto`\r\n- `RegisterDto`\r\n- `RefreshTokenDto`\r\n- `ResetPasswordDto`\r\n- `Verify2FADto`\r\n\r\n### Workflow\r\n- `CreateWorkflowDto`\r\n- `UpdateWorkflowDto`\r\n- `WorkflowStepDto`\r\n- `ExecuteWorkflowDto`\r\n- `PublishVersionDto`\r\n\r\n### Execution\r\n- `ExecutionDto`\r\n- `ExecutionLogDto`\r\n- `ExecutionFilterDto`\r\n\r\n### Integration\r\n- `CreateApiIntegrationDto`\r\n- `CreateDatabaseConnectionDto`\r\n- `TestConnectionDto`\r\n\r\n### Notification\r\n- `SendNotificationDto`\r\n- `CreateChannelDto`\r\n- `CreateTemplateDto`\r\n\r\n## Features\r\n\r\n- ✅ Built-in validation using `class-validator`\r\n- ✅ Type-safe DTOs\r\n- ✅ Automatic transformation with `class-transformer`\r\n- ✅ Consistent validation rules across services\r\n\r\n## License\r\n\r\nMIT\r\n","readmeFilename":"README.md"}